~mefrio-g/+junk/indicator-session-pantheon-shutdown

« back to all changes in this revision

Viewing changes to configure

  • Committer: cody at elementaryos
  • Date: 2012-12-10 00:13:38 UTC
  • Revision ID: cody@elementaryos.org-20121210001338-379sxx4jo6r003d6
Initial import, version 0.3.96-0ubuntu1

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.68.
 
4
#
 
5
#
 
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
 
9
#
 
10
#
 
11
# This configure script is free software; the Free Software Foundation
 
12
# gives unlimited permission to copy, distribute and modify it.
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
 
16
 
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
20
  emulate sh
 
21
  NULLCMD=:
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
23
  # is contrary to our usage.  Disable this feature.
 
24
  alias -g '${1+"$@"}'='"$@"'
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
 
93
case $0 in #((
 
94
  *[\\/]* ) as_myself=$0 ;;
 
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
96
for as_dir in $PATH
 
97
do
 
98
  IFS=$as_save_IFS
 
99
  test -z "$as_dir" && as_dir=.
 
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
101
  done
 
102
IFS=$as_save_IFS
 
103
 
 
104
     ;;
 
105
esac
 
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
107
# in which case we are not to be found in the path.
 
108
if test "x$as_myself" = x; then
 
109
  as_myself=$0
 
110
fi
 
111
if test ! -f "$as_myself"; then
 
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
113
  exit 1
 
114
fi
 
115
 
 
116
# Unset variables that we do not need and which cause bugs (e.g. in
 
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
118
# suppresses any "Segmentation fault" message there.  '((' could
 
119
# trigger a bug in pdksh 5.2.14.
 
120
for as_var in BASH_ENV ENV MAIL MAILPATH
 
121
do eval test x\${$as_var+set} = xset \
 
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
123
done
 
124
PS1='$ '
 
125
PS2='> '
 
126
PS4='+ '
 
127
 
 
128
# NLS nuisances.
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
 
133
 
 
134
# CDPATH.
 
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
136
 
 
137
if test "x$CONFIG_SHELL" = x; then
 
138
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
139
  emulate sh
 
140
  NULLCMD=:
 
141
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
142
  # is contrary to our usage.  Disable this feature.
 
143
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
144
  setopt NO_GLOB_SUBST
 
145
else
 
146
  case \`(set -o) 2>/dev/null\` in #(
 
147
  *posix*) :
 
148
    set -o posix ;; #(
 
149
  *) :
 
150
     ;;
 
151
esac
 
152
fi
 
153
"
 
154
  as_required="as_fn_return () { (exit \$1); }
 
155
as_fn_success () { as_fn_return 0; }
 
156
as_fn_failure () { as_fn_return 1; }
 
157
as_fn_ret_success () { return 0; }
 
158
as_fn_ret_failure () { return 1; }
 
159
 
 
160
exitcode=0
 
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
166
 
 
167
else
 
168
  exitcode=1; echo positional parameters were not saved.
 
169
fi
 
170
test x\$exitcode = x0 || exit 1"
 
171
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
175
test \$(( 1 + 1 )) = 2 || exit 1
 
176
 
 
177
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
178
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    PATH=/empty FPATH=/empty; export PATH FPATH
 
182
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
183
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
184
  if (eval "$as_required") 2>/dev/null; then :
 
185
  as_have_required=yes
 
186
else
 
187
  as_have_required=no
 
188
fi
 
189
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
190
 
 
191
else
 
192
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
193
as_found=false
 
194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
195
do
 
196
  IFS=$as_save_IFS
 
197
  test -z "$as_dir" && as_dir=.
 
198
  as_found=:
 
199
  case $as_dir in #(
 
200
         /*)
 
201
           for as_base in sh bash ksh sh5; do
 
202
             # Try only shells that exist, to save several forks.
 
203
             as_shell=$as_dir/$as_base
 
204
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
205
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$as_shell as_have_required=yes
 
207
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  break 2
 
209
fi
 
210
fi
 
211
           done;;
 
212
       esac
 
213
  as_found=false
 
214
done
 
215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
216
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
217
  CONFIG_SHELL=$SHELL as_have_required=yes
 
218
fi; }
 
219
IFS=$as_save_IFS
 
220
 
 
221
 
 
222
      if test "x$CONFIG_SHELL" != x; then :
 
223
  # We cannot yet assume a decent shell, so we have to provide a
 
224
        # neutralization value for shells without unset; and this also
 
225
        # works around shells that cannot unset nonexistent variables.
 
226
        # Preserve -v and -x to the replacement shell.
 
227
        BASH_ENV=/dev/null
 
228
        ENV=/dev/null
 
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
230
        export CONFIG_SHELL
 
231
        case $- in # ((((
 
232
          *v*x* | *x*v* ) as_opts=-vx ;;
 
233
          *v* ) as_opts=-v ;;
 
234
          *x* ) as_opts=-x ;;
 
235
          * ) as_opts= ;;
 
236
        esac
 
237
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
238
fi
 
239
 
 
240
    if test x$as_have_required = xno; then :
 
241
  $as_echo "$0: This script requires a shell more modern than all"
 
242
  $as_echo "$0: the shells that I found on your system."
 
243
  if test x${ZSH_VERSION+set} = xset ; then
 
244
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
245
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
246
  else
 
247
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
248
$0: including any error possibly output before this
 
249
$0: message. Then install a modern shell, or manually run
 
250
$0: the script under such a shell if you do have one."
 
251
  fi
 
252
  exit 1
 
253
fi
 
254
fi
 
255
fi
 
256
SHELL=${CONFIG_SHELL-/bin/sh}
 
257
export SHELL
 
258
# Unset more variables known to interfere with behavior of common tools.
 
259
CLICOLOR_FORCE= GREP_OPTIONS=
 
260
unset CLICOLOR_FORCE GREP_OPTIONS
 
261
 
 
262
## --------------------- ##
 
263
## M4sh Shell Functions. ##
 
264
## --------------------- ##
 
265
# as_fn_unset VAR
 
266
# ---------------
 
267
# Portably unset VAR.
 
268
as_fn_unset ()
 
269
{
 
270
  { eval $1=; unset $1;}
 
271
}
 
272
as_unset=as_fn_unset
 
273
 
 
274
# as_fn_set_status STATUS
 
275
# -----------------------
 
276
# Set $? to STATUS, without forking.
 
277
as_fn_set_status ()
 
278
{
 
279
  return $1
 
280
} # as_fn_set_status
 
281
 
 
282
# as_fn_exit STATUS
 
283
# -----------------
 
284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
285
as_fn_exit ()
 
286
{
 
287
  set +e
 
288
  as_fn_set_status $1
 
289
  exit $1
 
290
} # as_fn_exit
 
291
 
 
292
# as_fn_mkdir_p
 
293
# -------------
 
294
# Create "$as_dir" as a directory, including parents if necessary.
 
295
as_fn_mkdir_p ()
 
296
{
 
297
 
 
298
  case $as_dir in #(
 
299
  -*) as_dir=./$as_dir;;
 
300
  esac
 
301
  test -d "$as_dir" || eval $as_mkdir_p || {
 
302
    as_dirs=
 
303
    while :; do
 
304
      case $as_dir in #(
 
305
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
306
      *) as_qdir=$as_dir;;
 
307
      esac
 
308
      as_dirs="'$as_qdir' $as_dirs"
 
309
      as_dir=`$as_dirname -- "$as_dir" ||
 
310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
311
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
312
         X"$as_dir" : 'X\(//\)$' \| \
 
313
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
314
$as_echo X"$as_dir" |
 
315
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)[^/].*/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\/\)$/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          /^X\(\/\).*/{
 
328
            s//\1/
 
329
            q
 
330
          }
 
331
          s/.*/./; q'`
 
332
      test -d "$as_dir" && break
 
333
    done
 
334
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
335
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
336
 
 
337
 
 
338
} # as_fn_mkdir_p
 
339
# as_fn_append VAR VALUE
 
340
# ----------------------
 
341
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
342
# advantage of any shell optimizations that allow amortized linear growth over
 
343
# repeated appends, instead of the typical quadratic growth present in naive
 
344
# implementations.
 
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
346
  eval 'as_fn_append ()
 
347
  {
 
348
    eval $1+=\$2
 
349
  }'
 
350
else
 
351
  as_fn_append ()
 
352
  {
 
353
    eval $1=\$$1\$2
 
354
  }
 
355
fi # as_fn_append
 
356
 
 
357
# as_fn_arith ARG...
 
358
# ------------------
 
359
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
361
# must be portable across $(()) and expr.
 
362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
363
  eval 'as_fn_arith ()
 
364
  {
 
365
    as_val=$(( $* ))
 
366
  }'
 
367
else
 
368
  as_fn_arith ()
 
369
  {
 
370
    as_val=`expr "$@" || test $? -eq 1`
 
371
  }
 
372
fi # as_fn_arith
 
373
 
 
374
 
 
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
376
# ----------------------------------------
 
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
379
# script with STATUS, using 1 if that was 0.
 
380
as_fn_error ()
 
381
{
 
382
  as_status=$1; test $as_status -eq 0 && as_status=1
 
383
  if test "$4"; then
 
384
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
385
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
386
  fi
 
387
  $as_echo "$as_me: error: $2" >&2
 
388
  as_fn_exit $as_status
 
389
} # as_fn_error
 
390
 
 
391
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
392
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
393
  as_expr=expr
 
394
else
 
395
  as_expr=false
 
396
fi
 
397
 
 
398
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
399
  as_basename=basename
 
400
else
 
401
  as_basename=false
 
402
fi
 
403
 
 
404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
405
  as_dirname=dirname
 
406
else
 
407
  as_dirname=false
 
408
fi
 
409
 
 
410
as_me=`$as_basename -- "$0" ||
 
411
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
412
         X"$0" : 'X\(//\)$' \| \
 
413
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
414
$as_echo X/"$0" |
 
415
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\/\)$/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          /^X\/\(\/\).*/{
 
424
            s//\1/
 
425
            q
 
426
          }
 
427
          s/.*/./; q'`
 
428
 
 
429
# Avoid depending upon Character Ranges.
 
430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
433
as_cr_digits='0123456789'
 
434
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
435
 
 
436
 
 
437
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
438
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
439
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
440
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
441
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
442
  sed -n '
 
443
    p
 
444
    /[$]LINENO/=
 
445
  ' <$as_myself |
 
446
    sed '
 
447
      s/[$]LINENO.*/&-/
 
448
      t lineno
 
449
      b
 
450
      :lineno
 
451
      N
 
452
      :loop
 
453
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
454
      t loop
 
455
      s/-\n.*//
 
456
    ' >$as_me.lineno &&
 
457
  chmod +x "$as_me.lineno" ||
 
458
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
459
 
 
460
  # Don't try to exec as it changes $[0], causing all sort of problems
 
461
  # (the dirname of $[0] is not the place where we might find the
 
462
  # original and so on.  Autoconf is especially sensitive to this).
 
463
  . "./$as_me.lineno"
 
464
  # Exit status is that of the last command.
 
465
  exit
 
466
}
 
467
 
 
468
ECHO_C= ECHO_N= ECHO_T=
 
469
case `echo -n x` in #(((((
 
470
-n*)
 
471
  case `echo 'xy\c'` in
 
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
473
  xy)  ECHO_C='\c';;
 
474
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
475
       ECHO_T=' ';;
 
476
  esac;;
 
477
*)
 
478
  ECHO_N='-n';;
 
479
esac
 
480
 
 
481
rm -f conf$$ conf$$.exe conf$$.file
 
482
if test -d conf$$.dir; then
 
483
  rm -f conf$$.dir/conf$$.file
 
484
else
 
485
  rm -f conf$$.dir
 
486
  mkdir conf$$.dir 2>/dev/null
 
487
fi
 
488
if (echo >conf$$.file) 2>/dev/null; then
 
489
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
490
    as_ln_s='ln -s'
 
491
    # ... but there are two gotchas:
 
492
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
493
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
494
    # In both cases, we have to default to `cp -p'.
 
495
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
496
      as_ln_s='cp -p'
 
497
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
498
    as_ln_s=ln
 
499
  else
 
500
    as_ln_s='cp -p'
 
501
  fi
 
502
else
 
503
  as_ln_s='cp -p'
 
504
fi
 
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
506
rmdir conf$$.dir 2>/dev/null
 
507
 
 
508
if mkdir -p . 2>/dev/null; then
 
509
  as_mkdir_p='mkdir -p "$as_dir"'
 
510
else
 
511
  test -d ./-p && rmdir ./-p
 
512
  as_mkdir_p=false
 
513
fi
 
514
 
 
515
if test -x / >/dev/null 2>&1; then
 
516
  as_test_x='test -x'
 
517
else
 
518
  if ls -dL / >/dev/null 2>&1; then
 
519
    as_ls_L_option=L
 
520
  else
 
521
    as_ls_L_option=
 
522
  fi
 
523
  as_test_x='
 
524
    eval sh -c '\''
 
525
      if test -d "$1"; then
 
526
        test -d "$1/.";
 
527
      else
 
528
        case $1 in #(
 
529
        -*)set "./$1";;
 
530
        esac;
 
531
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
532
        ???[sx]*):;;*)false;;esac;fi
 
533
    '\'' sh
 
534
  '
 
535
fi
 
536
as_executable_p=$as_test_x
 
537
 
 
538
# Sed expression to map a string onto a valid CPP name.
 
539
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
540
 
 
541
# Sed expression to map a string onto a valid variable name.
 
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
543
 
 
544
SHELL=${CONFIG_SHELL-/bin/sh}
 
545
 
 
546
 
 
547
test -n "$DJDIR" || exec 7<&0 </dev/null
 
548
exec 6>&1
 
549
 
 
550
# Name of the host.
 
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
552
# so uname gets run too.
 
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
554
 
 
555
#
 
556
# Initializations.
 
557
#
 
558
ac_default_prefix=/usr/local
 
559
ac_clean_files=
 
560
ac_config_libobj_dir=.
 
561
LIBOBJS=
 
562
cross_compiling=no
 
563
subdirs=
 
564
MFLAGS=
 
565
MAKEFLAGS=
 
566
 
 
567
# Identity of this package.
 
568
PACKAGE_NAME=
 
569
PACKAGE_TARNAME=
 
570
PACKAGE_VERSION=
 
571
PACKAGE_STRING=
 
572
PACKAGE_BUGREPORT=
 
573
PACKAGE_URL=
 
574
 
 
575
ac_unique_file="src/indicator-session.c"
 
576
# Factoring default headers for most tests.
 
577
ac_includes_default="\
 
578
#include <stdio.h>
 
579
#ifdef HAVE_SYS_TYPES_H
 
580
# include <sys/types.h>
 
581
#endif
 
582
#ifdef HAVE_SYS_STAT_H
 
583
# include <sys/stat.h>
 
584
#endif
 
585
#ifdef STDC_HEADERS
 
586
# include <stdlib.h>
 
587
# include <stddef.h>
 
588
#else
 
589
# ifdef HAVE_STDLIB_H
 
590
#  include <stdlib.h>
 
591
# endif
 
592
#endif
 
593
#ifdef HAVE_STRING_H
 
594
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
595
#  include <memory.h>
 
596
# endif
 
597
# include <string.h>
 
598
#endif
 
599
#ifdef HAVE_STRINGS_H
 
600
# include <strings.h>
 
601
#endif
 
602
#ifdef HAVE_INTTYPES_H
 
603
# include <inttypes.h>
 
604
#endif
 
605
#ifdef HAVE_STDINT_H
 
606
# include <stdint.h>
 
607
#endif
 
608
#ifdef HAVE_UNISTD_H
 
609
# include <unistd.h>
 
610
#endif"
 
611
 
 
612
ac_subst_vars='am__EXEEXT_FALSE
 
613
am__EXEEXT_TRUE
 
614
LTLIBOBJS
 
615
LIBOBJS
 
616
HAS_GUDEV_FALSE
 
617
HAS_GUDEV_TRUE
 
618
COVERAGE_LDFLAGS
 
619
COVERAGE_CFLAGS
 
620
HAVE_GCOVR_FALSE
 
621
HAVE_GCOVR_TRUE
 
622
HAVE_LCOV_FALSE
 
623
HAVE_LCOV_TRUE
 
624
HAVE_GCOV_FALSE
 
625
HAVE_GCOV_TRUE
 
626
GCOVR
 
627
GENHTML
 
628
LCOV
 
629
SHTOOL
 
630
MKINSTALLDIRS
 
631
POSUB
 
632
POFILES
 
633
PO_IN_DATADIR_FALSE
 
634
PO_IN_DATADIR_TRUE
 
635
INTLLIBS
 
636
INSTOBJEXT
 
637
GMOFILES
 
638
CATOBJEXT
 
639
CATALOGS
 
640
MSGFMT_OPTS
 
641
GNOMELOCALEDIR
 
642
GETTEXT_PACKAGE
 
643
DBUSSERVICEDIR
 
644
INDICATORICONSDIR
 
645
INDICATORDIR
 
646
BUILD_APT_FALSE
 
647
BUILD_APT_TRUE
 
648
BUILD_GTKLOGOUTHELPER_FALSE
 
649
BUILD_GTKLOGOUTHELPER_TRUE
 
650
GTKLOGOUTHELPER_LIBS
 
651
GTKLOGOUTHELPER_CFLAGS
 
652
USE_GTK3_FALSE
 
653
USE_GTK3_TRUE
 
654
GUDEV_LIBS
 
655
GUDEV_CFLAGS
 
656
SESSIONERVICE_LIBS
 
657
SESSIONERVICE_CFLAGS
 
658
SESSIONSERVICE_LIBS
 
659
SESSIONSERVICE_CFLAGS
 
660
APPLET_LIBS
 
661
APPLET_CFLAGS
 
662
AM_BACKSLASH
 
663
AM_DEFAULT_V
 
664
AM_V
 
665
OTOOL64
 
666
OTOOL
 
667
LIPO
 
668
NMEDIT
 
669
DSYMUTIL
 
670
MANIFEST_TOOL
 
671
RANLIB
 
672
ac_ct_AR
 
673
AR
 
674
DLLTOOL
 
675
OBJDUMP
 
676
LN_S
 
677
NM
 
678
ac_ct_DUMPBIN
 
679
DUMPBIN
 
680
LD
 
681
FGREP
 
682
SED
 
683
host_os
 
684
host_vendor
 
685
host_cpu
 
686
host
 
687
build_os
 
688
build_vendor
 
689
build_cpu
 
690
build
 
691
LIBTOOL
 
692
EGREP
 
693
GREP
 
694
CPP
 
695
DATADIRNAME
 
696
am__fastdepCC_FALSE
 
697
am__fastdepCC_TRUE
 
698
CCDEPMODE
 
699
am__nodep
 
700
AMDEPBACKSLASH
 
701
AMDEP_FALSE
 
702
AMDEP_TRUE
 
703
am__quote
 
704
am__include
 
705
DEPDIR
 
706
OBJEXT
 
707
EXEEXT
 
708
ac_ct_CC
 
709
CPPFLAGS
 
710
LDFLAGS
 
711
CFLAGS
 
712
CC
 
713
ALL_LINGUAS
 
714
INTLTOOL_PERL
 
715
GMSGFMT
 
716
MSGFMT
 
717
MSGMERGE
 
718
XGETTEXT
 
719
INTLTOOL_POLICY_RULE
 
720
INTLTOOL_SERVICE_RULE
 
721
INTLTOOL_THEME_RULE
 
722
INTLTOOL_SCHEMAS_RULE
 
723
INTLTOOL_CAVES_RULE
 
724
INTLTOOL_XML_NOMERGE_RULE
 
725
INTLTOOL_XML_RULE
 
726
INTLTOOL_KBD_RULE
 
727
INTLTOOL_XAM_RULE
 
728
INTLTOOL_UI_RULE
 
729
INTLTOOL_SOUNDLIST_RULE
 
730
INTLTOOL_SHEET_RULE
 
731
INTLTOOL_SERVER_RULE
 
732
INTLTOOL_PONG_RULE
 
733
INTLTOOL_OAF_RULE
 
734
INTLTOOL_PROP_RULE
 
735
INTLTOOL_KEYS_RULE
 
736
INTLTOOL_DIRECTORY_RULE
 
737
INTLTOOL_DESKTOP_RULE
 
738
intltool__v_merge_options_0
 
739
intltool__v_merge_options_
 
740
INTLTOOL_V_MERGE_OPTIONS
 
741
INTLTOOL__v_MERGE_0
 
742
INTLTOOL__v_MERGE_
 
743
INTLTOOL_V_MERGE
 
744
AM_DEFAULT_VERBOSITY
 
745
INTLTOOL_EXTRACT
 
746
INTLTOOL_MERGE
 
747
INTLTOOL_UPDATE
 
748
USE_NLS
 
749
GSETTINGS_RULES
 
750
GLIB_COMPILE_SCHEMAS
 
751
gsettingsschemadir
 
752
PKG_CONFIG_LIBDIR
 
753
PKG_CONFIG_PATH
 
754
PKG_CONFIG
 
755
GSETTINGS_DISABLE_SCHEMAS_COMPILE
 
756
MAINT
 
757
MAINTAINER_MODE_FALSE
 
758
MAINTAINER_MODE_TRUE
 
759
am__untar
 
760
am__tar
 
761
AMTAR
 
762
am__leading_dot
 
763
SET_MAKE
 
764
AWK
 
765
mkdir_p
 
766
MKDIR_P
 
767
INSTALL_STRIP_PROGRAM
 
768
STRIP
 
769
install_sh
 
770
MAKEINFO
 
771
AUTOHEADER
 
772
AUTOMAKE
 
773
AUTOCONF
 
774
ACLOCAL
 
775
VERSION
 
776
PACKAGE
 
777
CYGPATH_W
 
778
am__isrc
 
779
INSTALL_DATA
 
780
INSTALL_SCRIPT
 
781
INSTALL_PROGRAM
 
782
target_alias
 
783
host_alias
 
784
build_alias
 
785
LIBS
 
786
ECHO_T
 
787
ECHO_N
 
788
ECHO_C
 
789
DEFS
 
790
mandir
 
791
localedir
 
792
libdir
 
793
psdir
 
794
pdfdir
 
795
dvidir
 
796
htmldir
 
797
infodir
 
798
docdir
 
799
oldincludedir
 
800
includedir
 
801
localstatedir
 
802
sharedstatedir
 
803
sysconfdir
 
804
datadir
 
805
datarootdir
 
806
libexecdir
 
807
sbindir
 
808
bindir
 
809
program_transform_name
 
810
prefix
 
811
exec_prefix
 
812
PACKAGE_URL
 
813
PACKAGE_BUGREPORT
 
814
PACKAGE_STRING
 
815
PACKAGE_VERSION
 
816
PACKAGE_TARNAME
 
817
PACKAGE_NAME
 
818
PATH_SEPARATOR
 
819
SHELL'
 
820
ac_subst_files=''
 
821
ac_user_opts='
 
822
enable_option_checking
 
823
enable_maintainer_mode
 
824
enable_schemas_compile
 
825
enable_nls
 
826
enable_dependency_tracking
 
827
enable_shared
 
828
enable_static
 
829
with_pic
 
830
enable_fast_install
 
831
with_gnu_ld
 
832
with_sysroot
 
833
enable_libtool_lock
 
834
enable_silent_rules
 
835
with_gtk
 
836
enable_gtklogouthelper
 
837
enable_apt
 
838
enable_localinstall
 
839
enable_gcov
 
840
'
 
841
      ac_precious_vars='build_alias
 
842
host_alias
 
843
target_alias
 
844
PKG_CONFIG
 
845
PKG_CONFIG_PATH
 
846
PKG_CONFIG_LIBDIR
 
847
CC
 
848
CFLAGS
 
849
LDFLAGS
 
850
LIBS
 
851
CPPFLAGS
 
852
CPP
 
853
APPLET_CFLAGS
 
854
APPLET_LIBS
 
855
SESSIONSERVICE_CFLAGS
 
856
SESSIONSERVICE_LIBS
 
857
GUDEV_CFLAGS
 
858
GUDEV_LIBS
 
859
GTKLOGOUTHELPER_CFLAGS
 
860
GTKLOGOUTHELPER_LIBS'
 
861
 
 
862
 
 
863
# Initialize some variables set by options.
 
864
ac_init_help=
 
865
ac_init_version=false
 
866
ac_unrecognized_opts=
 
867
ac_unrecognized_sep=
 
868
# The variables have the same names as the options, with
 
869
# dashes changed to underlines.
 
870
cache_file=/dev/null
 
871
exec_prefix=NONE
 
872
no_create=
 
873
no_recursion=
 
874
prefix=NONE
 
875
program_prefix=NONE
 
876
program_suffix=NONE
 
877
program_transform_name=s,x,x,
 
878
silent=
 
879
site=
 
880
srcdir=
 
881
verbose=
 
882
x_includes=NONE
 
883
x_libraries=NONE
 
884
 
 
885
# Installation directory options.
 
886
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
887
# and all the variables that are supposed to be based on exec_prefix
 
888
# by default will actually change.
 
889
# Use braces instead of parens because sh, perl, etc. also accept them.
 
890
# (The list follows the same order as the GNU Coding Standards.)
 
891
bindir='${exec_prefix}/bin'
 
892
sbindir='${exec_prefix}/sbin'
 
893
libexecdir='${exec_prefix}/libexec'
 
894
datarootdir='${prefix}/share'
 
895
datadir='${datarootdir}'
 
896
sysconfdir='${prefix}/etc'
 
897
sharedstatedir='${prefix}/com'
 
898
localstatedir='${prefix}/var'
 
899
includedir='${prefix}/include'
 
900
oldincludedir='/usr/include'
 
901
docdir='${datarootdir}/doc/${PACKAGE}'
 
902
infodir='${datarootdir}/info'
 
903
htmldir='${docdir}'
 
904
dvidir='${docdir}'
 
905
pdfdir='${docdir}'
 
906
psdir='${docdir}'
 
907
libdir='${exec_prefix}/lib'
 
908
localedir='${datarootdir}/locale'
 
909
mandir='${datarootdir}/man'
 
910
 
 
911
ac_prev=
 
912
ac_dashdash=
 
913
for ac_option
 
914
do
 
915
  # If the previous option needs an argument, assign it.
 
916
  if test -n "$ac_prev"; then
 
917
    eval $ac_prev=\$ac_option
 
918
    ac_prev=
 
919
    continue
 
920
  fi
 
921
 
 
922
  case $ac_option in
 
923
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
924
  *=)   ac_optarg= ;;
 
925
  *)    ac_optarg=yes ;;
 
926
  esac
 
927
 
 
928
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
929
 
 
930
  case $ac_dashdash$ac_option in
 
931
  --)
 
932
    ac_dashdash=yes ;;
 
933
 
 
934
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
935
    ac_prev=bindir ;;
 
936
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
937
    bindir=$ac_optarg ;;
 
938
 
 
939
  -build | --build | --buil | --bui | --bu)
 
940
    ac_prev=build_alias ;;
 
941
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
942
    build_alias=$ac_optarg ;;
 
943
 
 
944
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
945
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
946
    ac_prev=cache_file ;;
 
947
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
948
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
949
    cache_file=$ac_optarg ;;
 
950
 
 
951
  --config-cache | -C)
 
952
    cache_file=config.cache ;;
 
953
 
 
954
  -datadir | --datadir | --datadi | --datad)
 
955
    ac_prev=datadir ;;
 
956
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
957
    datadir=$ac_optarg ;;
 
958
 
 
959
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
960
  | --dataroo | --dataro | --datar)
 
961
    ac_prev=datarootdir ;;
 
962
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
963
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
964
    datarootdir=$ac_optarg ;;
 
965
 
 
966
  -disable-* | --disable-*)
 
967
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
968
    # Reject names that are not valid shell variable names.
 
969
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
970
      as_fn_error $? "invalid feature name: $ac_useropt"
 
971
    ac_useropt_orig=$ac_useropt
 
972
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
973
    case $ac_user_opts in
 
974
      *"
 
975
"enable_$ac_useropt"
 
976
"*) ;;
 
977
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
978
         ac_unrecognized_sep=', ';;
 
979
    esac
 
980
    eval enable_$ac_useropt=no ;;
 
981
 
 
982
  -docdir | --docdir | --docdi | --doc | --do)
 
983
    ac_prev=docdir ;;
 
984
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
985
    docdir=$ac_optarg ;;
 
986
 
 
987
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
988
    ac_prev=dvidir ;;
 
989
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
990
    dvidir=$ac_optarg ;;
 
991
 
 
992
  -enable-* | --enable-*)
 
993
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
994
    # Reject names that are not valid shell variable names.
 
995
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
996
      as_fn_error $? "invalid feature name: $ac_useropt"
 
997
    ac_useropt_orig=$ac_useropt
 
998
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
999
    case $ac_user_opts in
 
1000
      *"
 
1001
"enable_$ac_useropt"
 
1002
"*) ;;
 
1003
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1004
         ac_unrecognized_sep=', ';;
 
1005
    esac
 
1006
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1007
 
 
1008
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1009
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1010
  | --exec | --exe | --ex)
 
1011
    ac_prev=exec_prefix ;;
 
1012
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1013
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1014
  | --exec=* | --exe=* | --ex=*)
 
1015
    exec_prefix=$ac_optarg ;;
 
1016
 
 
1017
  -gas | --gas | --ga | --g)
 
1018
    # Obsolete; use --with-gas.
 
1019
    with_gas=yes ;;
 
1020
 
 
1021
  -help | --help | --hel | --he | -h)
 
1022
    ac_init_help=long ;;
 
1023
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1024
    ac_init_help=recursive ;;
 
1025
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1026
    ac_init_help=short ;;
 
1027
 
 
1028
  -host | --host | --hos | --ho)
 
1029
    ac_prev=host_alias ;;
 
1030
  -host=* | --host=* | --hos=* | --ho=*)
 
1031
    host_alias=$ac_optarg ;;
 
1032
 
 
1033
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1034
    ac_prev=htmldir ;;
 
1035
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1036
  | --ht=*)
 
1037
    htmldir=$ac_optarg ;;
 
1038
 
 
1039
  -includedir | --includedir | --includedi | --included | --include \
 
1040
  | --includ | --inclu | --incl | --inc)
 
1041
    ac_prev=includedir ;;
 
1042
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1043
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1044
    includedir=$ac_optarg ;;
 
1045
 
 
1046
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1047
    ac_prev=infodir ;;
 
1048
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1049
    infodir=$ac_optarg ;;
 
1050
 
 
1051
  -libdir | --libdir | --libdi | --libd)
 
1052
    ac_prev=libdir ;;
 
1053
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1054
    libdir=$ac_optarg ;;
 
1055
 
 
1056
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1057
  | --libexe | --libex | --libe)
 
1058
    ac_prev=libexecdir ;;
 
1059
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1060
  | --libexe=* | --libex=* | --libe=*)
 
1061
    libexecdir=$ac_optarg ;;
 
1062
 
 
1063
  -localedir | --localedir | --localedi | --localed | --locale)
 
1064
    ac_prev=localedir ;;
 
1065
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1066
    localedir=$ac_optarg ;;
 
1067
 
 
1068
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1069
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1070
    ac_prev=localstatedir ;;
 
1071
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1072
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1073
    localstatedir=$ac_optarg ;;
 
1074
 
 
1075
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1076
    ac_prev=mandir ;;
 
1077
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1078
    mandir=$ac_optarg ;;
 
1079
 
 
1080
  -nfp | --nfp | --nf)
 
1081
    # Obsolete; use --without-fp.
 
1082
    with_fp=no ;;
 
1083
 
 
1084
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1085
  | --no-cr | --no-c | -n)
 
1086
    no_create=yes ;;
 
1087
 
 
1088
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1089
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1090
    no_recursion=yes ;;
 
1091
 
 
1092
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1093
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1094
  | --oldin | --oldi | --old | --ol | --o)
 
1095
    ac_prev=oldincludedir ;;
 
1096
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1097
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1098
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1099
    oldincludedir=$ac_optarg ;;
 
1100
 
 
1101
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1102
    ac_prev=prefix ;;
 
1103
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1104
    prefix=$ac_optarg ;;
 
1105
 
 
1106
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1107
  | --program-pre | --program-pr | --program-p)
 
1108
    ac_prev=program_prefix ;;
 
1109
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1110
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1111
    program_prefix=$ac_optarg ;;
 
1112
 
 
1113
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1114
  | --program-suf | --program-su | --program-s)
 
1115
    ac_prev=program_suffix ;;
 
1116
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1117
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1118
    program_suffix=$ac_optarg ;;
 
1119
 
 
1120
  -program-transform-name | --program-transform-name \
 
1121
  | --program-transform-nam | --program-transform-na \
 
1122
  | --program-transform-n | --program-transform- \
 
1123
  | --program-transform | --program-transfor \
 
1124
  | --program-transfo | --program-transf \
 
1125
  | --program-trans | --program-tran \
 
1126
  | --progr-tra | --program-tr | --program-t)
 
1127
    ac_prev=program_transform_name ;;
 
1128
  -program-transform-name=* | --program-transform-name=* \
 
1129
  | --program-transform-nam=* | --program-transform-na=* \
 
1130
  | --program-transform-n=* | --program-transform-=* \
 
1131
  | --program-transform=* | --program-transfor=* \
 
1132
  | --program-transfo=* | --program-transf=* \
 
1133
  | --program-trans=* | --program-tran=* \
 
1134
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1135
    program_transform_name=$ac_optarg ;;
 
1136
 
 
1137
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1138
    ac_prev=pdfdir ;;
 
1139
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1140
    pdfdir=$ac_optarg ;;
 
1141
 
 
1142
  -psdir | --psdir | --psdi | --psd | --ps)
 
1143
    ac_prev=psdir ;;
 
1144
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1145
    psdir=$ac_optarg ;;
 
1146
 
 
1147
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1148
  | -silent | --silent | --silen | --sile | --sil)
 
1149
    silent=yes ;;
 
1150
 
 
1151
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1152
    ac_prev=sbindir ;;
 
1153
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1154
  | --sbi=* | --sb=*)
 
1155
    sbindir=$ac_optarg ;;
 
1156
 
 
1157
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1158
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1159
  | --sharedst | --shareds | --shared | --share | --shar \
 
1160
  | --sha | --sh)
 
1161
    ac_prev=sharedstatedir ;;
 
1162
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1163
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1164
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1165
  | --sha=* | --sh=*)
 
1166
    sharedstatedir=$ac_optarg ;;
 
1167
 
 
1168
  -site | --site | --sit)
 
1169
    ac_prev=site ;;
 
1170
  -site=* | --site=* | --sit=*)
 
1171
    site=$ac_optarg ;;
 
1172
 
 
1173
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1174
    ac_prev=srcdir ;;
 
1175
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1176
    srcdir=$ac_optarg ;;
 
1177
 
 
1178
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1179
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1180
    ac_prev=sysconfdir ;;
 
1181
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1182
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1183
    sysconfdir=$ac_optarg ;;
 
1184
 
 
1185
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1186
    ac_prev=target_alias ;;
 
1187
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1188
    target_alias=$ac_optarg ;;
 
1189
 
 
1190
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1191
    verbose=yes ;;
 
1192
 
 
1193
  -version | --version | --versio | --versi | --vers | -V)
 
1194
    ac_init_version=: ;;
 
1195
 
 
1196
  -with-* | --with-*)
 
1197
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1198
    # Reject names that are not valid shell variable names.
 
1199
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1200
      as_fn_error $? "invalid package name: $ac_useropt"
 
1201
    ac_useropt_orig=$ac_useropt
 
1202
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1203
    case $ac_user_opts in
 
1204
      *"
 
1205
"with_$ac_useropt"
 
1206
"*) ;;
 
1207
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1208
         ac_unrecognized_sep=', ';;
 
1209
    esac
 
1210
    eval with_$ac_useropt=\$ac_optarg ;;
 
1211
 
 
1212
  -without-* | --without-*)
 
1213
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1214
    # Reject names that are not valid shell variable names.
 
1215
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1216
      as_fn_error $? "invalid package name: $ac_useropt"
 
1217
    ac_useropt_orig=$ac_useropt
 
1218
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1219
    case $ac_user_opts in
 
1220
      *"
 
1221
"with_$ac_useropt"
 
1222
"*) ;;
 
1223
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1224
         ac_unrecognized_sep=', ';;
 
1225
    esac
 
1226
    eval with_$ac_useropt=no ;;
 
1227
 
 
1228
  --x)
 
1229
    # Obsolete; use --with-x.
 
1230
    with_x=yes ;;
 
1231
 
 
1232
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1233
  | --x-incl | --x-inc | --x-in | --x-i)
 
1234
    ac_prev=x_includes ;;
 
1235
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1236
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1237
    x_includes=$ac_optarg ;;
 
1238
 
 
1239
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1240
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1241
    ac_prev=x_libraries ;;
 
1242
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1243
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1244
    x_libraries=$ac_optarg ;;
 
1245
 
 
1246
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1247
Try \`$0 --help' for more information"
 
1248
    ;;
 
1249
 
 
1250
  *=*)
 
1251
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1252
    # Reject names that are not valid shell variable names.
 
1253
    case $ac_envvar in #(
 
1254
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1255
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1256
    esac
 
1257
    eval $ac_envvar=\$ac_optarg
 
1258
    export $ac_envvar ;;
 
1259
 
 
1260
  *)
 
1261
    # FIXME: should be removed in autoconf 3.0.
 
1262
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1263
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1264
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1265
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1266
    ;;
 
1267
 
 
1268
  esac
 
1269
done
 
1270
 
 
1271
if test -n "$ac_prev"; then
 
1272
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1273
  as_fn_error $? "missing argument to $ac_option"
 
1274
fi
 
1275
 
 
1276
if test -n "$ac_unrecognized_opts"; then
 
1277
  case $enable_option_checking in
 
1278
    no) ;;
 
1279
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1280
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1281
  esac
 
1282
fi
 
1283
 
 
1284
# Check all directory arguments for consistency.
 
1285
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1286
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1287
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1288
                libdir localedir mandir
 
1289
do
 
1290
  eval ac_val=\$$ac_var
 
1291
  # Remove trailing slashes.
 
1292
  case $ac_val in
 
1293
    */ )
 
1294
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1295
      eval $ac_var=\$ac_val;;
 
1296
  esac
 
1297
  # Be sure to have absolute directory names.
 
1298
  case $ac_val in
 
1299
    [\\/$]* | ?:[\\/]* )  continue;;
 
1300
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1301
  esac
 
1302
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1303
done
 
1304
 
 
1305
# There might be people who depend on the old broken behavior: `$host'
 
1306
# used to hold the argument of --host etc.
 
1307
# FIXME: To remove some day.
 
1308
build=$build_alias
 
1309
host=$host_alias
 
1310
target=$target_alias
 
1311
 
 
1312
# FIXME: To remove some day.
 
1313
if test "x$host_alias" != x; then
 
1314
  if test "x$build_alias" = x; then
 
1315
    cross_compiling=maybe
 
1316
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1317
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1318
  elif test "x$build_alias" != "x$host_alias"; then
 
1319
    cross_compiling=yes
 
1320
  fi
 
1321
fi
 
1322
 
 
1323
ac_tool_prefix=
 
1324
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1325
 
 
1326
test "$silent" = yes && exec 6>/dev/null
 
1327
 
 
1328
 
 
1329
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1330
ac_ls_di=`ls -di .` &&
 
1331
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1332
  as_fn_error $? "working directory cannot be determined"
 
1333
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1334
  as_fn_error $? "pwd does not report name of working directory"
 
1335
 
 
1336
 
 
1337
# Find the source files, if location was not specified.
 
1338
if test -z "$srcdir"; then
 
1339
  ac_srcdir_defaulted=yes
 
1340
  # Try the directory containing this script, then the parent directory.
 
1341
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1342
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1343
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1344
         X"$as_myself" : 'X\(//\)$' \| \
 
1345
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1346
$as_echo X"$as_myself" |
 
1347
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1348
            s//\1/
 
1349
            q
 
1350
          }
 
1351
          /^X\(\/\/\)[^/].*/{
 
1352
            s//\1/
 
1353
            q
 
1354
          }
 
1355
          /^X\(\/\/\)$/{
 
1356
            s//\1/
 
1357
            q
 
1358
          }
 
1359
          /^X\(\/\).*/{
 
1360
            s//\1/
 
1361
            q
 
1362
          }
 
1363
          s/.*/./; q'`
 
1364
  srcdir=$ac_confdir
 
1365
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1366
    srcdir=..
 
1367
  fi
 
1368
else
 
1369
  ac_srcdir_defaulted=no
 
1370
fi
 
1371
if test ! -r "$srcdir/$ac_unique_file"; then
 
1372
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1373
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1374
fi
 
1375
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1376
ac_abs_confdir=`(
 
1377
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1378
        pwd)`
 
1379
# When building in place, set srcdir=.
 
1380
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1381
  srcdir=.
 
1382
fi
 
1383
# Remove unnecessary trailing slashes from srcdir.
 
1384
# Double slashes in file names in object file debugging info
 
1385
# mess up M-x gdb in Emacs.
 
1386
case $srcdir in
 
1387
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1388
esac
 
1389
for ac_var in $ac_precious_vars; do
 
1390
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1391
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1392
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1393
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1394
done
 
1395
 
 
1396
#
 
1397
# Report the --help message.
 
1398
#
 
1399
if test "$ac_init_help" = "long"; then
 
1400
  # Omit some internal or obsolete options to make the list less imposing.
 
1401
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1402
  cat <<_ACEOF
 
1403
\`configure' configures this package to adapt to many kinds of systems.
 
1404
 
 
1405
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1406
 
 
1407
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1408
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1409
 
 
1410
Defaults for the options are specified in brackets.
 
1411
 
 
1412
Configuration:
 
1413
  -h, --help              display this help and exit
 
1414
      --help=short        display options specific to this package
 
1415
      --help=recursive    display the short help of all the included packages
 
1416
  -V, --version           display version information and exit
 
1417
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1418
      --cache-file=FILE   cache test results in FILE [disabled]
 
1419
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1420
  -n, --no-create         do not create output files
 
1421
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1422
 
 
1423
Installation directories:
 
1424
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1425
                          [$ac_default_prefix]
 
1426
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1427
                          [PREFIX]
 
1428
 
 
1429
By default, \`make install' will install all the files in
 
1430
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1431
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1432
for instance \`--prefix=\$HOME'.
 
1433
 
 
1434
For better control, use the options below.
 
1435
 
 
1436
Fine tuning of the installation directories:
 
1437
  --bindir=DIR            user executables [EPREFIX/bin]
 
1438
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1439
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1440
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1441
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1442
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1443
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1444
  --includedir=DIR        C header files [PREFIX/include]
 
1445
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1446
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1447
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1448
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1449
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1450
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1451
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1452
  --htmldir=DIR           html documentation [DOCDIR]
 
1453
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1454
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1455
  --psdir=DIR             ps documentation [DOCDIR]
 
1456
_ACEOF
 
1457
 
 
1458
  cat <<\_ACEOF
 
1459
 
 
1460
Program names:
 
1461
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1462
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1463
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1464
 
 
1465
System types:
 
1466
  --build=BUILD     configure for building on BUILD [guessed]
 
1467
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1468
_ACEOF
 
1469
fi
 
1470
 
 
1471
if test -n "$ac_init_help"; then
 
1472
 
 
1473
  cat <<\_ACEOF
 
1474
 
 
1475
Optional Features:
 
1476
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1477
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1478
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1479
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1480
                          (and sometimes confusing) to the casual installer
 
1481
  --disable-schemas-compile
 
1482
                          Disable regeneration of gschemas.compiled on install
 
1483
  --disable-nls           do not use Native Language Support
 
1484
  --disable-dependency-tracking  speeds up one-time build
 
1485
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1486
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1487
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1488
  --enable-fast-install[=PKGS]
 
1489
                          optimize for fast installation [default=yes]
 
1490
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1491
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1492
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1493
  --enable-gtklogouthelper
 
1494
                          enable GTK Logout Helper
 
1495
  --disable-apt           disable APT support
 
1496
  --enable-localinstall   install all of the files localy instead of system
 
1497
                          directories (for distcheck)
 
1498
  --enable-gcov           enable coverage testing with gcov
 
1499
 
 
1500
Optional Packages:
 
1501
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1502
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1503
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1504
                          both]
 
1505
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1506
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1507
                        (or the compiler's sysroot if not specified).
 
1508
  --with-gtk              Which version of gtk to use for the indicator
 
1509
                          [default=3]
 
1510
 
 
1511
Some influential environment variables:
 
1512
  PKG_CONFIG  path to pkg-config utility
 
1513
  PKG_CONFIG_PATH
 
1514
              directories to add to pkg-config's search path
 
1515
  PKG_CONFIG_LIBDIR
 
1516
              path overriding pkg-config's built-in search path
 
1517
  CC          C compiler command
 
1518
  CFLAGS      C compiler flags
 
1519
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1520
              nonstandard directory <lib dir>
 
1521
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1522
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1523
              you have headers in a nonstandard directory <include dir>
 
1524
  CPP         C preprocessor
 
1525
  APPLET_CFLAGS
 
1526
              C compiler flags for APPLET, overriding pkg-config
 
1527
  APPLET_LIBS linker flags for APPLET, overriding pkg-config
 
1528
  SESSIONSERVICE_CFLAGS
 
1529
              C compiler flags for SESSIONSERVICE, overriding pkg-config
 
1530
  SESSIONSERVICE_LIBS
 
1531
              linker flags for SESSIONSERVICE, overriding pkg-config
 
1532
  GUDEV_CFLAGS
 
1533
              C compiler flags for GUDEV, overriding pkg-config
 
1534
  GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
 
1535
  GTKLOGOUTHELPER_CFLAGS
 
1536
              C compiler flags for GTKLOGOUTHELPER, overriding pkg-config
 
1537
  GTKLOGOUTHELPER_LIBS
 
1538
              linker flags for GTKLOGOUTHELPER, overriding pkg-config
 
1539
 
 
1540
Use these variables to override the choices made by `configure' or to help
 
1541
it to find libraries and programs with nonstandard names/locations.
 
1542
 
 
1543
Report bugs to the package provider.
 
1544
_ACEOF
 
1545
ac_status=$?
 
1546
fi
 
1547
 
 
1548
if test "$ac_init_help" = "recursive"; then
 
1549
  # If there are subdirs, report their specific --help.
 
1550
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1551
    test -d "$ac_dir" ||
 
1552
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1553
      continue
 
1554
    ac_builddir=.
 
1555
 
 
1556
case "$ac_dir" in
 
1557
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1558
*)
 
1559
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1560
  # A ".." for each directory in $ac_dir_suffix.
 
1561
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1562
  case $ac_top_builddir_sub in
 
1563
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1564
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1565
  esac ;;
 
1566
esac
 
1567
ac_abs_top_builddir=$ac_pwd
 
1568
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1569
# for backward compatibility:
 
1570
ac_top_builddir=$ac_top_build_prefix
 
1571
 
 
1572
case $srcdir in
 
1573
  .)  # We are building in place.
 
1574
    ac_srcdir=.
 
1575
    ac_top_srcdir=$ac_top_builddir_sub
 
1576
    ac_abs_top_srcdir=$ac_pwd ;;
 
1577
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1578
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1579
    ac_top_srcdir=$srcdir
 
1580
    ac_abs_top_srcdir=$srcdir ;;
 
1581
  *) # Relative name.
 
1582
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1583
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1584
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1585
esac
 
1586
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1587
 
 
1588
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1589
    # Check for guested configure.
 
1590
    if test -f "$ac_srcdir/configure.gnu"; then
 
1591
      echo &&
 
1592
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1593
    elif test -f "$ac_srcdir/configure"; then
 
1594
      echo &&
 
1595
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1596
    else
 
1597
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1598
    fi || ac_status=$?
 
1599
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1600
  done
 
1601
fi
 
1602
 
 
1603
test -n "$ac_init_help" && exit $ac_status
 
1604
if $ac_init_version; then
 
1605
  cat <<\_ACEOF
 
1606
configure
 
1607
generated by GNU Autoconf 2.68
 
1608
 
 
1609
Copyright (C) 2010 Free Software Foundation, Inc.
 
1610
This configure script is free software; the Free Software Foundation
 
1611
gives unlimited permission to copy, distribute and modify it.
 
1612
_ACEOF
 
1613
  exit
 
1614
fi
 
1615
 
 
1616
## ------------------------ ##
 
1617
## Autoconf initialization. ##
 
1618
## ------------------------ ##
 
1619
 
 
1620
# ac_fn_c_try_compile LINENO
 
1621
# --------------------------
 
1622
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1623
ac_fn_c_try_compile ()
 
1624
{
 
1625
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1626
  rm -f conftest.$ac_objext
 
1627
  if { { ac_try="$ac_compile"
 
1628
case "(($ac_try" in
 
1629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1630
  *) ac_try_echo=$ac_try;;
 
1631
esac
 
1632
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1633
$as_echo "$ac_try_echo"; } >&5
 
1634
  (eval "$ac_compile") 2>conftest.err
 
1635
  ac_status=$?
 
1636
  if test -s conftest.err; then
 
1637
    grep -v '^ *+' conftest.err >conftest.er1
 
1638
    cat conftest.er1 >&5
 
1639
    mv -f conftest.er1 conftest.err
 
1640
  fi
 
1641
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1642
  test $ac_status = 0; } && {
 
1643
         test -z "$ac_c_werror_flag" ||
 
1644
         test ! -s conftest.err
 
1645
       } && test -s conftest.$ac_objext; then :
 
1646
  ac_retval=0
 
1647
else
 
1648
  $as_echo "$as_me: failed program was:" >&5
 
1649
sed 's/^/| /' conftest.$ac_ext >&5
 
1650
 
 
1651
        ac_retval=1
 
1652
fi
 
1653
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1654
  as_fn_set_status $ac_retval
 
1655
 
 
1656
} # ac_fn_c_try_compile
 
1657
 
 
1658
# ac_fn_c_try_link LINENO
 
1659
# -----------------------
 
1660
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1661
ac_fn_c_try_link ()
 
1662
{
 
1663
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1664
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1665
  if { { ac_try="$ac_link"
 
1666
case "(($ac_try" in
 
1667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1668
  *) ac_try_echo=$ac_try;;
 
1669
esac
 
1670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1671
$as_echo "$ac_try_echo"; } >&5
 
1672
  (eval "$ac_link") 2>conftest.err
 
1673
  ac_status=$?
 
1674
  if test -s conftest.err; then
 
1675
    grep -v '^ *+' conftest.err >conftest.er1
 
1676
    cat conftest.er1 >&5
 
1677
    mv -f conftest.er1 conftest.err
 
1678
  fi
 
1679
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1680
  test $ac_status = 0; } && {
 
1681
         test -z "$ac_c_werror_flag" ||
 
1682
         test ! -s conftest.err
 
1683
       } && test -s conftest$ac_exeext && {
 
1684
         test "$cross_compiling" = yes ||
 
1685
         $as_test_x conftest$ac_exeext
 
1686
       }; then :
 
1687
  ac_retval=0
 
1688
else
 
1689
  $as_echo "$as_me: failed program was:" >&5
 
1690
sed 's/^/| /' conftest.$ac_ext >&5
 
1691
 
 
1692
        ac_retval=1
 
1693
fi
 
1694
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1695
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1696
  # interfere with the next link command; also delete a directory that is
 
1697
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1698
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1699
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1700
  as_fn_set_status $ac_retval
 
1701
 
 
1702
} # ac_fn_c_try_link
 
1703
 
 
1704
# ac_fn_c_check_func LINENO FUNC VAR
 
1705
# ----------------------------------
 
1706
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1707
ac_fn_c_check_func ()
 
1708
{
 
1709
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1710
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1711
$as_echo_n "checking for $2... " >&6; }
 
1712
if eval \${$3+:} false; then :
 
1713
  $as_echo_n "(cached) " >&6
 
1714
else
 
1715
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1716
/* end confdefs.h.  */
 
1717
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1718
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1719
#define $2 innocuous_$2
 
1720
 
 
1721
/* System header to define __stub macros and hopefully few prototypes,
 
1722
    which can conflict with char $2 (); below.
 
1723
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1724
    <limits.h> exists even on freestanding compilers.  */
 
1725
 
 
1726
#ifdef __STDC__
 
1727
# include <limits.h>
 
1728
#else
 
1729
# include <assert.h>
 
1730
#endif
 
1731
 
 
1732
#undef $2
 
1733
 
 
1734
/* Override any GCC internal prototype to avoid an error.
 
1735
   Use char because int might match the return type of a GCC
 
1736
   builtin and then its argument prototype would still apply.  */
 
1737
#ifdef __cplusplus
 
1738
extern "C"
 
1739
#endif
 
1740
char $2 ();
 
1741
/* The GNU C library defines this for functions which it implements
 
1742
    to always fail with ENOSYS.  Some functions are actually named
 
1743
    something starting with __ and the normal name is an alias.  */
 
1744
#if defined __stub_$2 || defined __stub___$2
 
1745
choke me
 
1746
#endif
 
1747
 
 
1748
int
 
1749
main ()
 
1750
{
 
1751
return $2 ();
 
1752
  ;
 
1753
  return 0;
 
1754
}
 
1755
_ACEOF
 
1756
if ac_fn_c_try_link "$LINENO"; then :
 
1757
  eval "$3=yes"
 
1758
else
 
1759
  eval "$3=no"
 
1760
fi
 
1761
rm -f core conftest.err conftest.$ac_objext \
 
1762
    conftest$ac_exeext conftest.$ac_ext
 
1763
fi
 
1764
eval ac_res=\$$3
 
1765
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1766
$as_echo "$ac_res" >&6; }
 
1767
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1768
 
 
1769
} # ac_fn_c_check_func
 
1770
 
 
1771
# ac_fn_c_try_cpp LINENO
 
1772
# ----------------------
 
1773
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1774
ac_fn_c_try_cpp ()
 
1775
{
 
1776
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1777
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1778
case "(($ac_try" in
 
1779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1780
  *) ac_try_echo=$ac_try;;
 
1781
esac
 
1782
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1783
$as_echo "$ac_try_echo"; } >&5
 
1784
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1785
  ac_status=$?
 
1786
  if test -s conftest.err; then
 
1787
    grep -v '^ *+' conftest.err >conftest.er1
 
1788
    cat conftest.er1 >&5
 
1789
    mv -f conftest.er1 conftest.err
 
1790
  fi
 
1791
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1792
  test $ac_status = 0; } > conftest.i && {
 
1793
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1794
         test ! -s conftest.err
 
1795
       }; then :
 
1796
  ac_retval=0
 
1797
else
 
1798
  $as_echo "$as_me: failed program was:" >&5
 
1799
sed 's/^/| /' conftest.$ac_ext >&5
 
1800
 
 
1801
    ac_retval=1
 
1802
fi
 
1803
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1804
  as_fn_set_status $ac_retval
 
1805
 
 
1806
} # ac_fn_c_try_cpp
 
1807
 
 
1808
# ac_fn_c_try_run LINENO
 
1809
# ----------------------
 
1810
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1811
# that executables *can* be run.
 
1812
ac_fn_c_try_run ()
 
1813
{
 
1814
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1815
  if { { ac_try="$ac_link"
 
1816
case "(($ac_try" in
 
1817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1818
  *) ac_try_echo=$ac_try;;
 
1819
esac
 
1820
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1821
$as_echo "$ac_try_echo"; } >&5
 
1822
  (eval "$ac_link") 2>&5
 
1823
  ac_status=$?
 
1824
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1825
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1826
  { { case "(($ac_try" in
 
1827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1828
  *) ac_try_echo=$ac_try;;
 
1829
esac
 
1830
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1831
$as_echo "$ac_try_echo"; } >&5
 
1832
  (eval "$ac_try") 2>&5
 
1833
  ac_status=$?
 
1834
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1835
  test $ac_status = 0; }; }; then :
 
1836
  ac_retval=0
 
1837
else
 
1838
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1839
       $as_echo "$as_me: failed program was:" >&5
 
1840
sed 's/^/| /' conftest.$ac_ext >&5
 
1841
 
 
1842
       ac_retval=$ac_status
 
1843
fi
 
1844
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1845
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1846
  as_fn_set_status $ac_retval
 
1847
 
 
1848
} # ac_fn_c_try_run
 
1849
 
 
1850
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1851
# -------------------------------------------------------
 
1852
# Tests whether HEADER exists and can be compiled using the include files in
 
1853
# INCLUDES, setting the cache variable VAR accordingly.
 
1854
ac_fn_c_check_header_compile ()
 
1855
{
 
1856
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1857
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1858
$as_echo_n "checking for $2... " >&6; }
 
1859
if eval \${$3+:} false; then :
 
1860
  $as_echo_n "(cached) " >&6
 
1861
else
 
1862
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1863
/* end confdefs.h.  */
 
1864
$4
 
1865
#include <$2>
 
1866
_ACEOF
 
1867
if ac_fn_c_try_compile "$LINENO"; then :
 
1868
  eval "$3=yes"
 
1869
else
 
1870
  eval "$3=no"
 
1871
fi
 
1872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1873
fi
 
1874
eval ac_res=\$$3
 
1875
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1876
$as_echo "$ac_res" >&6; }
 
1877
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1878
 
 
1879
} # ac_fn_c_check_header_compile
 
1880
 
 
1881
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1882
# -------------------------------------------------------
 
1883
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1884
# the include files in INCLUDES and setting the cache variable VAR
 
1885
# accordingly.
 
1886
ac_fn_c_check_header_mongrel ()
 
1887
{
 
1888
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1889
  if eval \${$3+:} false; then :
 
1890
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1891
$as_echo_n "checking for $2... " >&6; }
 
1892
if eval \${$3+:} false; then :
 
1893
  $as_echo_n "(cached) " >&6
 
1894
fi
 
1895
eval ac_res=\$$3
 
1896
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1897
$as_echo "$ac_res" >&6; }
 
1898
else
 
1899
  # Is the header compilable?
 
1900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1901
$as_echo_n "checking $2 usability... " >&6; }
 
1902
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1903
/* end confdefs.h.  */
 
1904
$4
 
1905
#include <$2>
 
1906
_ACEOF
 
1907
if ac_fn_c_try_compile "$LINENO"; then :
 
1908
  ac_header_compiler=yes
 
1909
else
 
1910
  ac_header_compiler=no
 
1911
fi
 
1912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1914
$as_echo "$ac_header_compiler" >&6; }
 
1915
 
 
1916
# Is the header present?
 
1917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1918
$as_echo_n "checking $2 presence... " >&6; }
 
1919
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1920
/* end confdefs.h.  */
 
1921
#include <$2>
 
1922
_ACEOF
 
1923
if ac_fn_c_try_cpp "$LINENO"; then :
 
1924
  ac_header_preproc=yes
 
1925
else
 
1926
  ac_header_preproc=no
 
1927
fi
 
1928
rm -f conftest.err conftest.i conftest.$ac_ext
 
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1930
$as_echo "$ac_header_preproc" >&6; }
 
1931
 
 
1932
# So?  What about this header?
 
1933
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1934
  yes:no: )
 
1935
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1936
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1937
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1938
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1939
    ;;
 
1940
  no:yes:* )
 
1941
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1942
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1943
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1944
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1945
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1946
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1947
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1948
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1949
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1950
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1951
    ;;
 
1952
esac
 
1953
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1954
$as_echo_n "checking for $2... " >&6; }
 
1955
if eval \${$3+:} false; then :
 
1956
  $as_echo_n "(cached) " >&6
 
1957
else
 
1958
  eval "$3=\$ac_header_compiler"
 
1959
fi
 
1960
eval ac_res=\$$3
 
1961
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1962
$as_echo "$ac_res" >&6; }
 
1963
fi
 
1964
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1965
 
 
1966
} # ac_fn_c_check_header_mongrel
 
1967
cat >config.log <<_ACEOF
 
1968
This file contains any messages produced by compilers while
 
1969
running configure, to aid debugging if configure makes a mistake.
 
1970
 
 
1971
It was created by $as_me, which was
 
1972
generated by GNU Autoconf 2.68.  Invocation command line was
 
1973
 
 
1974
  $ $0 $@
 
1975
 
 
1976
_ACEOF
 
1977
exec 5>>config.log
 
1978
{
 
1979
cat <<_ASUNAME
 
1980
## --------- ##
 
1981
## Platform. ##
 
1982
## --------- ##
 
1983
 
 
1984
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1985
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1986
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1987
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1988
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1989
 
 
1990
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1991
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1992
 
 
1993
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1994
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1995
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1996
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1997
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1998
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1999
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2000
 
 
2001
_ASUNAME
 
2002
 
 
2003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2004
for as_dir in $PATH
 
2005
do
 
2006
  IFS=$as_save_IFS
 
2007
  test -z "$as_dir" && as_dir=.
 
2008
    $as_echo "PATH: $as_dir"
 
2009
  done
 
2010
IFS=$as_save_IFS
 
2011
 
 
2012
} >&5
 
2013
 
 
2014
cat >&5 <<_ACEOF
 
2015
 
 
2016
 
 
2017
## ----------- ##
 
2018
## Core tests. ##
 
2019
## ----------- ##
 
2020
 
 
2021
_ACEOF
 
2022
 
 
2023
 
 
2024
# Keep a trace of the command line.
 
2025
# Strip out --no-create and --no-recursion so they do not pile up.
 
2026
# Strip out --silent because we don't want to record it for future runs.
 
2027
# Also quote any args containing shell meta-characters.
 
2028
# Make two passes to allow for proper duplicate-argument suppression.
 
2029
ac_configure_args=
 
2030
ac_configure_args0=
 
2031
ac_configure_args1=
 
2032
ac_must_keep_next=false
 
2033
for ac_pass in 1 2
 
2034
do
 
2035
  for ac_arg
 
2036
  do
 
2037
    case $ac_arg in
 
2038
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2039
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2040
    | -silent | --silent | --silen | --sile | --sil)
 
2041
      continue ;;
 
2042
    *\'*)
 
2043
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2044
    esac
 
2045
    case $ac_pass in
 
2046
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2047
    2)
 
2048
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2049
      if test $ac_must_keep_next = true; then
 
2050
        ac_must_keep_next=false # Got value, back to normal.
 
2051
      else
 
2052
        case $ac_arg in
 
2053
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2054
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2055
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2056
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2057
            case "$ac_configure_args0 " in
 
2058
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2059
            esac
 
2060
            ;;
 
2061
          -* ) ac_must_keep_next=true ;;
 
2062
        esac
 
2063
      fi
 
2064
      as_fn_append ac_configure_args " '$ac_arg'"
 
2065
      ;;
 
2066
    esac
 
2067
  done
 
2068
done
 
2069
{ ac_configure_args0=; unset ac_configure_args0;}
 
2070
{ ac_configure_args1=; unset ac_configure_args1;}
 
2071
 
 
2072
# When interrupted or exit'd, cleanup temporary files, and complete
 
2073
# config.log.  We remove comments because anyway the quotes in there
 
2074
# would cause problems or look ugly.
 
2075
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2076
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2077
trap 'exit_status=$?
 
2078
  # Save into config.log some information that might help in debugging.
 
2079
  {
 
2080
    echo
 
2081
 
 
2082
    $as_echo "## ---------------- ##
 
2083
## Cache variables. ##
 
2084
## ---------------- ##"
 
2085
    echo
 
2086
    # The following way of writing the cache mishandles newlines in values,
 
2087
(
 
2088
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2089
    eval ac_val=\$$ac_var
 
2090
    case $ac_val in #(
 
2091
    *${as_nl}*)
 
2092
      case $ac_var in #(
 
2093
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2094
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2095
      esac
 
2096
      case $ac_var in #(
 
2097
      _ | IFS | as_nl) ;; #(
 
2098
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2099
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2100
      esac ;;
 
2101
    esac
 
2102
  done
 
2103
  (set) 2>&1 |
 
2104
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2105
    *${as_nl}ac_space=\ *)
 
2106
      sed -n \
 
2107
        "s/'\''/'\''\\\\'\'''\''/g;
 
2108
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2109
      ;; #(
 
2110
    *)
 
2111
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2112
      ;;
 
2113
    esac |
 
2114
    sort
 
2115
)
 
2116
    echo
 
2117
 
 
2118
    $as_echo "## ----------------- ##
 
2119
## Output variables. ##
 
2120
## ----------------- ##"
 
2121
    echo
 
2122
    for ac_var in $ac_subst_vars
 
2123
    do
 
2124
      eval ac_val=\$$ac_var
 
2125
      case $ac_val in
 
2126
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2127
      esac
 
2128
      $as_echo "$ac_var='\''$ac_val'\''"
 
2129
    done | sort
 
2130
    echo
 
2131
 
 
2132
    if test -n "$ac_subst_files"; then
 
2133
      $as_echo "## ------------------- ##
 
2134
## File substitutions. ##
 
2135
## ------------------- ##"
 
2136
      echo
 
2137
      for ac_var in $ac_subst_files
 
2138
      do
 
2139
        eval ac_val=\$$ac_var
 
2140
        case $ac_val in
 
2141
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2142
        esac
 
2143
        $as_echo "$ac_var='\''$ac_val'\''"
 
2144
      done | sort
 
2145
      echo
 
2146
    fi
 
2147
 
 
2148
    if test -s confdefs.h; then
 
2149
      $as_echo "## ----------- ##
 
2150
## confdefs.h. ##
 
2151
## ----------- ##"
 
2152
      echo
 
2153
      cat confdefs.h
 
2154
      echo
 
2155
    fi
 
2156
    test "$ac_signal" != 0 &&
 
2157
      $as_echo "$as_me: caught signal $ac_signal"
 
2158
    $as_echo "$as_me: exit $exit_status"
 
2159
  } >&5
 
2160
  rm -f core *.core core.conftest.* &&
 
2161
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2162
    exit $exit_status
 
2163
' 0
 
2164
for ac_signal in 1 2 13 15; do
 
2165
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2166
done
 
2167
ac_signal=0
 
2168
 
 
2169
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2170
rm -f -r conftest* confdefs.h
 
2171
 
 
2172
$as_echo "/* confdefs.h */" > confdefs.h
 
2173
 
 
2174
# Predefined preprocessor variables.
 
2175
 
 
2176
cat >>confdefs.h <<_ACEOF
 
2177
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2178
_ACEOF
 
2179
 
 
2180
cat >>confdefs.h <<_ACEOF
 
2181
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2182
_ACEOF
 
2183
 
 
2184
cat >>confdefs.h <<_ACEOF
 
2185
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2186
_ACEOF
 
2187
 
 
2188
cat >>confdefs.h <<_ACEOF
 
2189
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2190
_ACEOF
 
2191
 
 
2192
cat >>confdefs.h <<_ACEOF
 
2193
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2194
_ACEOF
 
2195
 
 
2196
cat >>confdefs.h <<_ACEOF
 
2197
#define PACKAGE_URL "$PACKAGE_URL"
 
2198
_ACEOF
 
2199
 
 
2200
 
 
2201
# Let the site file select an alternate cache file if it wants to.
 
2202
# Prefer an explicitly selected file to automatically selected ones.
 
2203
ac_site_file1=NONE
 
2204
ac_site_file2=NONE
 
2205
if test -n "$CONFIG_SITE"; then
 
2206
  # We do not want a PATH search for config.site.
 
2207
  case $CONFIG_SITE in #((
 
2208
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2209
    */*) ac_site_file1=$CONFIG_SITE;;
 
2210
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2211
  esac
 
2212
elif test "x$prefix" != xNONE; then
 
2213
  ac_site_file1=$prefix/share/config.site
 
2214
  ac_site_file2=$prefix/etc/config.site
 
2215
else
 
2216
  ac_site_file1=$ac_default_prefix/share/config.site
 
2217
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2218
fi
 
2219
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2220
do
 
2221
  test "x$ac_site_file" = xNONE && continue
 
2222
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2223
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2224
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2225
    sed 's/^/| /' "$ac_site_file" >&5
 
2226
    . "$ac_site_file" \
 
2227
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2228
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2229
as_fn_error $? "failed to load site script $ac_site_file
 
2230
See \`config.log' for more details" "$LINENO" 5; }
 
2231
  fi
 
2232
done
 
2233
 
 
2234
if test -r "$cache_file"; then
 
2235
  # Some versions of bash will fail to source /dev/null (special files
 
2236
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2237
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2238
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2239
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2240
    case $cache_file in
 
2241
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2242
      *)                      . "./$cache_file";;
 
2243
    esac
 
2244
  fi
 
2245
else
 
2246
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2247
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2248
  >$cache_file
 
2249
fi
 
2250
 
 
2251
# Check that the precious variables saved in the cache have kept the same
 
2252
# value.
 
2253
ac_cache_corrupted=false
 
2254
for ac_var in $ac_precious_vars; do
 
2255
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2256
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2257
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2258
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2259
  case $ac_old_set,$ac_new_set in
 
2260
    set,)
 
2261
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2262
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2263
      ac_cache_corrupted=: ;;
 
2264
    ,set)
 
2265
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2266
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2267
      ac_cache_corrupted=: ;;
 
2268
    ,);;
 
2269
    *)
 
2270
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2271
        # differences in whitespace do not lead to failure.
 
2272
        ac_old_val_w=`echo x $ac_old_val`
 
2273
        ac_new_val_w=`echo x $ac_new_val`
 
2274
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2275
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2276
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2277
          ac_cache_corrupted=:
 
2278
        else
 
2279
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2280
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2281
          eval $ac_var=\$ac_old_val
 
2282
        fi
 
2283
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2284
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2285
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2286
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2287
      fi;;
 
2288
  esac
 
2289
  # Pass precious variables to config.status.
 
2290
  if test "$ac_new_set" = set; then
 
2291
    case $ac_new_val in
 
2292
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2293
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2294
    esac
 
2295
    case " $ac_configure_args " in
 
2296
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2297
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2298
    esac
 
2299
  fi
 
2300
done
 
2301
if $ac_cache_corrupted; then
 
2302
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2303
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2304
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2305
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2306
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2307
fi
 
2308
## -------------------- ##
 
2309
## Main body of script. ##
 
2310
## -------------------- ##
 
2311
 
 
2312
ac_ext=c
 
2313
ac_cpp='$CPP $CPPFLAGS'
 
2314
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2315
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2316
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2317
 
 
2318
 
 
2319
 
 
2320
 
 
2321
 
 
2322
ac_config_headers="$ac_config_headers config.h"
 
2323
 
 
2324
am__api_version='1.11'
 
2325
 
 
2326
ac_aux_dir=
 
2327
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2328
  if test -f "$ac_dir/install-sh"; then
 
2329
    ac_aux_dir=$ac_dir
 
2330
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2331
    break
 
2332
  elif test -f "$ac_dir/install.sh"; then
 
2333
    ac_aux_dir=$ac_dir
 
2334
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2335
    break
 
2336
  elif test -f "$ac_dir/shtool"; then
 
2337
    ac_aux_dir=$ac_dir
 
2338
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2339
    break
 
2340
  fi
 
2341
done
 
2342
if test -z "$ac_aux_dir"; then
 
2343
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2344
fi
 
2345
 
 
2346
# These three variables are undocumented and unsupported,
 
2347
# and are intended to be withdrawn in a future Autoconf release.
 
2348
# They can cause serious problems if a builder's source tree is in a directory
 
2349
# whose full name contains unusual characters.
 
2350
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2351
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2352
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2353
 
 
2354
 
 
2355
# Find a good install program.  We prefer a C program (faster),
 
2356
# so one script is as good as another.  But avoid the broken or
 
2357
# incompatible versions:
 
2358
# SysV /etc/install, /usr/sbin/install
 
2359
# SunOS /usr/etc/install
 
2360
# IRIX /sbin/install
 
2361
# AIX /bin/install
 
2362
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2363
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2364
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2365
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2366
# OS/2's system install, which has a completely different semantic
 
2367
# ./install, which can be erroneously created by make from ./install.sh.
 
2368
# Reject install programs that cannot install multiple files.
 
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2370
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2371
if test -z "$INSTALL"; then
 
2372
if ${ac_cv_path_install+:} false; then :
 
2373
  $as_echo_n "(cached) " >&6
 
2374
else
 
2375
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2376
for as_dir in $PATH
 
2377
do
 
2378
  IFS=$as_save_IFS
 
2379
  test -z "$as_dir" && as_dir=.
 
2380
    # Account for people who put trailing slashes in PATH elements.
 
2381
case $as_dir/ in #((
 
2382
  ./ | .// | /[cC]/* | \
 
2383
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2384
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2385
  /usr/ucb/* ) ;;
 
2386
  *)
 
2387
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2388
    # Don't use installbsd from OSF since it installs stuff as root
 
2389
    # by default.
 
2390
    for ac_prog in ginstall scoinst install; do
 
2391
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2392
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2393
          if test $ac_prog = install &&
 
2394
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2395
            # AIX install.  It has an incompatible calling convention.
 
2396
            :
 
2397
          elif test $ac_prog = install &&
 
2398
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2399
            # program-specific install script used by HP pwplus--don't use.
 
2400
            :
 
2401
          else
 
2402
            rm -rf conftest.one conftest.two conftest.dir
 
2403
            echo one > conftest.one
 
2404
            echo two > conftest.two
 
2405
            mkdir conftest.dir
 
2406
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2407
              test -s conftest.one && test -s conftest.two &&
 
2408
              test -s conftest.dir/conftest.one &&
 
2409
              test -s conftest.dir/conftest.two
 
2410
            then
 
2411
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2412
              break 3
 
2413
            fi
 
2414
          fi
 
2415
        fi
 
2416
      done
 
2417
    done
 
2418
    ;;
 
2419
esac
 
2420
 
 
2421
  done
 
2422
IFS=$as_save_IFS
 
2423
 
 
2424
rm -rf conftest.one conftest.two conftest.dir
 
2425
 
 
2426
fi
 
2427
  if test "${ac_cv_path_install+set}" = set; then
 
2428
    INSTALL=$ac_cv_path_install
 
2429
  else
 
2430
    # As a last resort, use the slow shell script.  Don't cache a
 
2431
    # value for INSTALL within a source directory, because that will
 
2432
    # break other packages using the cache if that directory is
 
2433
    # removed, or if the value is a relative name.
 
2434
    INSTALL=$ac_install_sh
 
2435
  fi
 
2436
fi
 
2437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2438
$as_echo "$INSTALL" >&6; }
 
2439
 
 
2440
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2441
# It thinks the first close brace ends the variable substitution.
 
2442
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2443
 
 
2444
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2445
 
 
2446
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2447
 
 
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2449
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2450
# Just in case
 
2451
sleep 1
 
2452
echo timestamp > conftest.file
 
2453
# Reject unsafe characters in $srcdir or the absolute working directory
 
2454
# name.  Accept space and tab only in the latter.
 
2455
am_lf='
 
2456
'
 
2457
case `pwd` in
 
2458
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2459
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2460
esac
 
2461
case $srcdir in
 
2462
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2463
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2464
esac
 
2465
 
 
2466
# Do `set' in a subshell so we don't clobber the current shell's
 
2467
# arguments.  Must try -L first in case configure is actually a
 
2468
# symlink; some systems play weird games with the mod time of symlinks
 
2469
# (eg FreeBSD returns the mod time of the symlink's containing
 
2470
# directory).
 
2471
if (
 
2472
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2473
   if test "$*" = "X"; then
 
2474
      # -L didn't work.
 
2475
      set X `ls -t "$srcdir/configure" conftest.file`
 
2476
   fi
 
2477
   rm -f conftest.file
 
2478
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2479
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2480
 
 
2481
      # If neither matched, then we have a broken ls.  This can happen
 
2482
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2483
      # broken ls alias from the environment.  This has actually
 
2484
      # happened.  Such a system could not be considered "sane".
 
2485
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2486
alias in your environment" "$LINENO" 5
 
2487
   fi
 
2488
 
 
2489
   test "$2" = conftest.file
 
2490
   )
 
2491
then
 
2492
   # Ok.
 
2493
   :
 
2494
else
 
2495
   as_fn_error $? "newly created file is older than distributed files!
 
2496
Check your system clock" "$LINENO" 5
 
2497
fi
 
2498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2499
$as_echo "yes" >&6; }
 
2500
test "$program_prefix" != NONE &&
 
2501
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2502
# Use a double $ so make ignores it.
 
2503
test "$program_suffix" != NONE &&
 
2504
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2505
# Double any \ or $.
 
2506
# By default was `s,x,x', remove it if useless.
 
2507
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2508
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2509
 
 
2510
# expand $ac_aux_dir to an absolute path
 
2511
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2512
 
 
2513
if test x"${MISSING+set}" != xset; then
 
2514
  case $am_aux_dir in
 
2515
  *\ * | *\     *)
 
2516
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2517
  *)
 
2518
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2519
  esac
 
2520
fi
 
2521
# Use eval to expand $SHELL
 
2522
if eval "$MISSING --run true"; then
 
2523
  am_missing_run="$MISSING --run "
 
2524
else
 
2525
  am_missing_run=
 
2526
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2527
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2528
fi
 
2529
 
 
2530
if test x"${install_sh}" != xset; then
 
2531
  case $am_aux_dir in
 
2532
  *\ * | *\     *)
 
2533
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2534
  *)
 
2535
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2536
  esac
 
2537
fi
 
2538
 
 
2539
# Installed binaries are usually stripped using `strip' when the user
 
2540
# run `make install-strip'.  However `strip' might not be the right
 
2541
# tool to use in cross-compilation environments, therefore Automake
 
2542
# will honor the `STRIP' environment variable to overrule this program.
 
2543
if test "$cross_compiling" != no; then
 
2544
  if test -n "$ac_tool_prefix"; then
 
2545
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2546
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2548
$as_echo_n "checking for $ac_word... " >&6; }
 
2549
if ${ac_cv_prog_STRIP+:} false; then :
 
2550
  $as_echo_n "(cached) " >&6
 
2551
else
 
2552
  if test -n "$STRIP"; then
 
2553
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2554
else
 
2555
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2556
for as_dir in $PATH
 
2557
do
 
2558
  IFS=$as_save_IFS
 
2559
  test -z "$as_dir" && as_dir=.
 
2560
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2561
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2562
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2563
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2564
    break 2
 
2565
  fi
 
2566
done
 
2567
  done
 
2568
IFS=$as_save_IFS
 
2569
 
 
2570
fi
 
2571
fi
 
2572
STRIP=$ac_cv_prog_STRIP
 
2573
if test -n "$STRIP"; then
 
2574
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2575
$as_echo "$STRIP" >&6; }
 
2576
else
 
2577
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2578
$as_echo "no" >&6; }
 
2579
fi
 
2580
 
 
2581
 
 
2582
fi
 
2583
if test -z "$ac_cv_prog_STRIP"; then
 
2584
  ac_ct_STRIP=$STRIP
 
2585
  # Extract the first word of "strip", so it can be a program name with args.
 
2586
set dummy strip; ac_word=$2
 
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2588
$as_echo_n "checking for $ac_word... " >&6; }
 
2589
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2590
  $as_echo_n "(cached) " >&6
 
2591
else
 
2592
  if test -n "$ac_ct_STRIP"; then
 
2593
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2594
else
 
2595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2596
for as_dir in $PATH
 
2597
do
 
2598
  IFS=$as_save_IFS
 
2599
  test -z "$as_dir" && as_dir=.
 
2600
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2602
    ac_cv_prog_ac_ct_STRIP="strip"
 
2603
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2604
    break 2
 
2605
  fi
 
2606
done
 
2607
  done
 
2608
IFS=$as_save_IFS
 
2609
 
 
2610
fi
 
2611
fi
 
2612
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2613
if test -n "$ac_ct_STRIP"; then
 
2614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2615
$as_echo "$ac_ct_STRIP" >&6; }
 
2616
else
 
2617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2618
$as_echo "no" >&6; }
 
2619
fi
 
2620
 
 
2621
  if test "x$ac_ct_STRIP" = x; then
 
2622
    STRIP=":"
 
2623
  else
 
2624
    case $cross_compiling:$ac_tool_warned in
 
2625
yes:)
 
2626
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2627
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2628
ac_tool_warned=yes ;;
 
2629
esac
 
2630
    STRIP=$ac_ct_STRIP
 
2631
  fi
 
2632
else
 
2633
  STRIP="$ac_cv_prog_STRIP"
 
2634
fi
 
2635
 
 
2636
fi
 
2637
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2638
 
 
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2640
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2641
if test -z "$MKDIR_P"; then
 
2642
  if ${ac_cv_path_mkdir+:} false; then :
 
2643
  $as_echo_n "(cached) " >&6
 
2644
else
 
2645
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2646
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2647
do
 
2648
  IFS=$as_save_IFS
 
2649
  test -z "$as_dir" && as_dir=.
 
2650
    for ac_prog in mkdir gmkdir; do
 
2651
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2652
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2653
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2654
             'mkdir (GNU coreutils) '* | \
 
2655
             'mkdir (coreutils) '* | \
 
2656
             'mkdir (fileutils) '4.1*)
 
2657
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2658
               break 3;;
 
2659
           esac
 
2660
         done
 
2661
       done
 
2662
  done
 
2663
IFS=$as_save_IFS
 
2664
 
 
2665
fi
 
2666
 
 
2667
  test -d ./--version && rmdir ./--version
 
2668
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2669
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2670
  else
 
2671
    # As a last resort, use the slow shell script.  Don't cache a
 
2672
    # value for MKDIR_P within a source directory, because that will
 
2673
    # break other packages using the cache if that directory is
 
2674
    # removed, or if the value is a relative name.
 
2675
    MKDIR_P="$ac_install_sh -d"
 
2676
  fi
 
2677
fi
 
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2679
$as_echo "$MKDIR_P" >&6; }
 
2680
 
 
2681
mkdir_p="$MKDIR_P"
 
2682
case $mkdir_p in
 
2683
  [\\/$]* | ?:[\\/]*) ;;
 
2684
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2685
esac
 
2686
 
 
2687
for ac_prog in gawk mawk nawk awk
 
2688
do
 
2689
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2690
set dummy $ac_prog; ac_word=$2
 
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2692
$as_echo_n "checking for $ac_word... " >&6; }
 
2693
if ${ac_cv_prog_AWK+:} false; then :
 
2694
  $as_echo_n "(cached) " >&6
 
2695
else
 
2696
  if test -n "$AWK"; then
 
2697
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2698
else
 
2699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2700
for as_dir in $PATH
 
2701
do
 
2702
  IFS=$as_save_IFS
 
2703
  test -z "$as_dir" && as_dir=.
 
2704
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2705
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2706
    ac_cv_prog_AWK="$ac_prog"
 
2707
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2708
    break 2
 
2709
  fi
 
2710
done
 
2711
  done
 
2712
IFS=$as_save_IFS
 
2713
 
 
2714
fi
 
2715
fi
 
2716
AWK=$ac_cv_prog_AWK
 
2717
if test -n "$AWK"; then
 
2718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2719
$as_echo "$AWK" >&6; }
 
2720
else
 
2721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2722
$as_echo "no" >&6; }
 
2723
fi
 
2724
 
 
2725
 
 
2726
  test -n "$AWK" && break
 
2727
done
 
2728
 
 
2729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2730
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2731
set x ${MAKE-make}
 
2732
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2733
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2734
  $as_echo_n "(cached) " >&6
 
2735
else
 
2736
  cat >conftest.make <<\_ACEOF
 
2737
SHELL = /bin/sh
 
2738
all:
 
2739
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2740
_ACEOF
 
2741
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2742
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2743
  *@@@%%%=?*=@@@%%%*)
 
2744
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2745
  *)
 
2746
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2747
esac
 
2748
rm -f conftest.make
 
2749
fi
 
2750
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2752
$as_echo "yes" >&6; }
 
2753
  SET_MAKE=
 
2754
else
 
2755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2756
$as_echo "no" >&6; }
 
2757
  SET_MAKE="MAKE=${MAKE-make}"
 
2758
fi
 
2759
 
 
2760
rm -rf .tst 2>/dev/null
 
2761
mkdir .tst 2>/dev/null
 
2762
if test -d .tst; then
 
2763
  am__leading_dot=.
 
2764
else
 
2765
  am__leading_dot=_
 
2766
fi
 
2767
rmdir .tst 2>/dev/null
 
2768
 
 
2769
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2770
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2771
  # is not polluted with repeated "-I."
 
2772
  am__isrc=' -I$(srcdir)'
 
2773
  # test to see if srcdir already configured
 
2774
  if test -f $srcdir/config.status; then
 
2775
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2776
  fi
 
2777
fi
 
2778
 
 
2779
# test whether we have cygpath
 
2780
if test -z "$CYGPATH_W"; then
 
2781
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2782
    CYGPATH_W='cygpath -w'
 
2783
  else
 
2784
    CYGPATH_W=echo
 
2785
  fi
 
2786
fi
 
2787
 
 
2788
 
 
2789
# Define the identity of the package.
 
2790
 PACKAGE=indicator-session
 
2791
 VERSION=0.3.96
 
2792
 
 
2793
 
 
2794
cat >>confdefs.h <<_ACEOF
 
2795
#define PACKAGE "$PACKAGE"
 
2796
_ACEOF
 
2797
 
 
2798
 
 
2799
cat >>confdefs.h <<_ACEOF
 
2800
#define VERSION "$VERSION"
 
2801
_ACEOF
 
2802
 
 
2803
# Some tools Automake needs.
 
2804
 
 
2805
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2806
 
 
2807
 
 
2808
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2809
 
 
2810
 
 
2811
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2812
 
 
2813
 
 
2814
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2815
 
 
2816
 
 
2817
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2818
 
 
2819
# We need awk for the "check" target.  The system "awk" is bad on
 
2820
# some platforms.
 
2821
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2822
# in the wild :-(  We should find a proper way to deprecate it ...
 
2823
AMTAR='$${TAR-tar}'
 
2824
 
 
2825
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
2826
 
 
2827
 
 
2828
 
 
2829
 
 
2830
 
 
2831
 
 
2832
 
 
2833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2834
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2835
    # Check whether --enable-maintainer-mode was given.
 
2836
if test "${enable_maintainer_mode+set}" = set; then :
 
2837
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2838
else
 
2839
  USE_MAINTAINER_MODE=no
 
2840
fi
 
2841
 
 
2842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2843
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2844
   if test $USE_MAINTAINER_MODE = yes; then
 
2845
  MAINTAINER_MODE_TRUE=
 
2846
  MAINTAINER_MODE_FALSE='#'
 
2847
else
 
2848
  MAINTAINER_MODE_TRUE='#'
 
2849
  MAINTAINER_MODE_FALSE=
 
2850
fi
 
2851
 
 
2852
  MAINT=$MAINTAINER_MODE_TRUE
 
2853
 
 
2854
 
 
2855
 
 
2856
 
 
2857
 
 
2858
  # Check whether --enable-schemas-compile was given.
 
2859
if test "${enable_schemas_compile+set}" = set; then :
 
2860
  enableval=$enable_schemas_compile; case ${enableval} in
 
2861
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
2862
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
2863
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
 
2864
                 esac
 
2865
fi
 
2866
 
 
2867
 
 
2868
 
 
2869
 
 
2870
 
 
2871
 
 
2872
 
 
2873
 
 
2874
 
 
2875
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
2876
        if test -n "$ac_tool_prefix"; then
 
2877
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
2878
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
2879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2880
$as_echo_n "checking for $ac_word... " >&6; }
 
2881
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
2882
  $as_echo_n "(cached) " >&6
 
2883
else
 
2884
  case $PKG_CONFIG in
 
2885
  [\\/]* | ?:[\\/]*)
 
2886
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
2887
  ;;
 
2888
  *)
 
2889
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2890
for as_dir in $PATH
 
2891
do
 
2892
  IFS=$as_save_IFS
 
2893
  test -z "$as_dir" && as_dir=.
 
2894
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2896
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
2897
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2898
    break 2
 
2899
  fi
 
2900
done
 
2901
  done
 
2902
IFS=$as_save_IFS
 
2903
 
 
2904
  ;;
 
2905
esac
 
2906
fi
 
2907
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
2908
if test -n "$PKG_CONFIG"; then
 
2909
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
2910
$as_echo "$PKG_CONFIG" >&6; }
 
2911
else
 
2912
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2913
$as_echo "no" >&6; }
 
2914
fi
 
2915
 
 
2916
 
 
2917
fi
 
2918
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
2919
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
2920
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
2921
set dummy pkg-config; ac_word=$2
 
2922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2923
$as_echo_n "checking for $ac_word... " >&6; }
 
2924
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
2925
  $as_echo_n "(cached) " >&6
 
2926
else
 
2927
  case $ac_pt_PKG_CONFIG in
 
2928
  [\\/]* | ?:[\\/]*)
 
2929
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
2930
  ;;
 
2931
  *)
 
2932
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2933
for as_dir in $PATH
 
2934
do
 
2935
  IFS=$as_save_IFS
 
2936
  test -z "$as_dir" && as_dir=.
 
2937
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2938
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2939
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
2940
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2941
    break 2
 
2942
  fi
 
2943
done
 
2944
  done
 
2945
IFS=$as_save_IFS
 
2946
 
 
2947
  ;;
 
2948
esac
 
2949
fi
 
2950
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
2951
if test -n "$ac_pt_PKG_CONFIG"; then
 
2952
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
2953
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
2954
else
 
2955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2956
$as_echo "no" >&6; }
 
2957
fi
 
2958
 
 
2959
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
2960
    PKG_CONFIG=""
 
2961
  else
 
2962
    case $cross_compiling:$ac_tool_warned in
 
2963
yes:)
 
2964
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2965
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2966
ac_tool_warned=yes ;;
 
2967
esac
 
2968
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
2969
  fi
 
2970
else
 
2971
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
2972
fi
 
2973
 
 
2974
fi
 
2975
if test -n "$PKG_CONFIG"; then
 
2976
        _pkg_min_version=0.16
 
2977
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
2978
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
2979
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
2980
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2981
$as_echo "yes" >&6; }
 
2982
        else
 
2983
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2984
$as_echo "no" >&6; }
 
2985
                PKG_CONFIG=""
 
2986
        fi
 
2987
fi
 
2988
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
2989
 
 
2990
  if test x$cross_compiling != xyes; then
 
2991
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
2992
  else
 
2993
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
2994
set dummy glib-compile-schemas; ac_word=$2
 
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2996
$as_echo_n "checking for $ac_word... " >&6; }
 
2997
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
 
2998
  $as_echo_n "(cached) " >&6
 
2999
else
 
3000
  case $GLIB_COMPILE_SCHEMAS in
 
3001
  [\\/]* | ?:[\\/]*)
 
3002
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
3003
  ;;
 
3004
  *)
 
3005
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3006
for as_dir in $PATH
 
3007
do
 
3008
  IFS=$as_save_IFS
 
3009
  test -z "$as_dir" && as_dir=.
 
3010
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3011
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3012
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
3013
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3014
    break 2
 
3015
  fi
 
3016
done
 
3017
  done
 
3018
IFS=$as_save_IFS
 
3019
 
 
3020
  ;;
 
3021
esac
 
3022
fi
 
3023
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
3024
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
3025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
3026
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
3027
else
 
3028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3029
$as_echo "no" >&6; }
 
3030
fi
 
3031
 
 
3032
 
 
3033
  fi
 
3034
 
 
3035
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
3036
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
 
3037
  else
 
3038
    :
 
3039
  fi
 
3040
 
 
3041
  GSETTINGS_RULES='
 
3042
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
3043
 
 
3044
mostlyclean-am: clean-gsettings-schemas
 
3045
 
 
3046
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
3047
 
 
3048
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
3049
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
 
3050
 
 
3051
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
3052
uninstall-am: uninstall-gsettings-schemas
 
3053
install-data-am: install-gsettings-schemas
 
3054
 
 
3055
.SECONDARY: $(gsettings_SCHEMAS)
 
3056
 
 
3057
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
3058
        @$(NORMAL_INSTALL)
 
3059
        if test -n "$^"; then \
 
3060
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
3061
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
3062
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
3063
        fi
 
3064
 
 
3065
uninstall-gsettings-schemas:
 
3066
        @$(NORMAL_UNINSTALL)
 
3067
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
3068
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
3069
        test -n "$$files" || exit 0; \
 
3070
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
3071
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
3072
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
3073
 
 
3074
clean-gsettings-schemas:
 
3075
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
3076
 
 
3077
ifdef gsettings_ENUM_NAMESPACE
 
3078
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
3079
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
 
3080
endif
 
3081
'
 
3082
 
 
3083
 
 
3084
 
 
3085
 
 
3086
 
 
3087
 
 
3088
 
 
3089
 
 
3090
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
3091
$as_echo_n "checking whether NLS is requested... " >&6; }
 
3092
    # Check whether --enable-nls was given.
 
3093
if test "${enable_nls+set}" = set; then :
 
3094
  enableval=$enable_nls; USE_NLS=$enableval
 
3095
else
 
3096
  USE_NLS=yes
 
3097
fi
 
3098
 
 
3099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
3100
$as_echo "$USE_NLS" >&6; }
 
3101
 
 
3102
 
 
3103
DEPDIR="${am__leading_dot}deps"
 
3104
 
 
3105
ac_config_commands="$ac_config_commands depfiles"
 
3106
 
 
3107
 
 
3108
am_make=${MAKE-make}
 
3109
cat > confinc << 'END'
 
3110
am__doit:
 
3111
        @echo this is the am__doit target
 
3112
.PHONY: am__doit
 
3113
END
 
3114
# If we don't find an include directive, just comment out the code.
 
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3116
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3117
am__include="#"
 
3118
am__quote=
 
3119
_am_result=none
 
3120
# First try GNU make style include.
 
3121
echo "include confinc" > confmf
 
3122
# Ignore all kinds of additional output from `make'.
 
3123
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3124
*the\ am__doit\ target*)
 
3125
  am__include=include
 
3126
  am__quote=
 
3127
  _am_result=GNU
 
3128
  ;;
 
3129
esac
 
3130
# Now try BSD make style include.
 
3131
if test "$am__include" = "#"; then
 
3132
   echo '.include "confinc"' > confmf
 
3133
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3134
   *the\ am__doit\ target*)
 
3135
     am__include=.include
 
3136
     am__quote="\""
 
3137
     _am_result=BSD
 
3138
     ;;
 
3139
   esac
 
3140
fi
 
3141
 
 
3142
 
 
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3144
$as_echo "$_am_result" >&6; }
 
3145
rm -f confinc confmf
 
3146
 
 
3147
# Check whether --enable-dependency-tracking was given.
 
3148
if test "${enable_dependency_tracking+set}" = set; then :
 
3149
  enableval=$enable_dependency_tracking;
 
3150
fi
 
3151
 
 
3152
if test "x$enable_dependency_tracking" != xno; then
 
3153
  am_depcomp="$ac_aux_dir/depcomp"
 
3154
  AMDEPBACKSLASH='\'
 
3155
  am__nodep='_no'
 
3156
fi
 
3157
 if test "x$enable_dependency_tracking" != xno; then
 
3158
  AMDEP_TRUE=
 
3159
  AMDEP_FALSE='#'
 
3160
else
 
3161
  AMDEP_TRUE='#'
 
3162
  AMDEP_FALSE=
 
3163
fi
 
3164
 
 
3165
 
 
3166
ac_ext=c
 
3167
ac_cpp='$CPP $CPPFLAGS'
 
3168
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3169
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3170
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3171
if test -n "$ac_tool_prefix"; then
 
3172
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3173
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3175
$as_echo_n "checking for $ac_word... " >&6; }
 
3176
if ${ac_cv_prog_CC+:} false; then :
 
3177
  $as_echo_n "(cached) " >&6
 
3178
else
 
3179
  if test -n "$CC"; then
 
3180
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3181
else
 
3182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3183
for as_dir in $PATH
 
3184
do
 
3185
  IFS=$as_save_IFS
 
3186
  test -z "$as_dir" && as_dir=.
 
3187
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3189
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3190
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3191
    break 2
 
3192
  fi
 
3193
done
 
3194
  done
 
3195
IFS=$as_save_IFS
 
3196
 
 
3197
fi
 
3198
fi
 
3199
CC=$ac_cv_prog_CC
 
3200
if test -n "$CC"; then
 
3201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3202
$as_echo "$CC" >&6; }
 
3203
else
 
3204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3205
$as_echo "no" >&6; }
 
3206
fi
 
3207
 
 
3208
 
 
3209
fi
 
3210
if test -z "$ac_cv_prog_CC"; then
 
3211
  ac_ct_CC=$CC
 
3212
  # Extract the first word of "gcc", so it can be a program name with args.
 
3213
set dummy gcc; ac_word=$2
 
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3215
$as_echo_n "checking for $ac_word... " >&6; }
 
3216
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3217
  $as_echo_n "(cached) " >&6
 
3218
else
 
3219
  if test -n "$ac_ct_CC"; then
 
3220
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3221
else
 
3222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3223
for as_dir in $PATH
 
3224
do
 
3225
  IFS=$as_save_IFS
 
3226
  test -z "$as_dir" && as_dir=.
 
3227
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3228
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3229
    ac_cv_prog_ac_ct_CC="gcc"
 
3230
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3231
    break 2
 
3232
  fi
 
3233
done
 
3234
  done
 
3235
IFS=$as_save_IFS
 
3236
 
 
3237
fi
 
3238
fi
 
3239
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3240
if test -n "$ac_ct_CC"; then
 
3241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3242
$as_echo "$ac_ct_CC" >&6; }
 
3243
else
 
3244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3245
$as_echo "no" >&6; }
 
3246
fi
 
3247
 
 
3248
  if test "x$ac_ct_CC" = x; then
 
3249
    CC=""
 
3250
  else
 
3251
    case $cross_compiling:$ac_tool_warned in
 
3252
yes:)
 
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3254
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3255
ac_tool_warned=yes ;;
 
3256
esac
 
3257
    CC=$ac_ct_CC
 
3258
  fi
 
3259
else
 
3260
  CC="$ac_cv_prog_CC"
 
3261
fi
 
3262
 
 
3263
if test -z "$CC"; then
 
3264
          if test -n "$ac_tool_prefix"; then
 
3265
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3266
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3268
$as_echo_n "checking for $ac_word... " >&6; }
 
3269
if ${ac_cv_prog_CC+:} false; then :
 
3270
  $as_echo_n "(cached) " >&6
 
3271
else
 
3272
  if test -n "$CC"; then
 
3273
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3274
else
 
3275
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3276
for as_dir in $PATH
 
3277
do
 
3278
  IFS=$as_save_IFS
 
3279
  test -z "$as_dir" && as_dir=.
 
3280
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3281
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3282
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3283
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3284
    break 2
 
3285
  fi
 
3286
done
 
3287
  done
 
3288
IFS=$as_save_IFS
 
3289
 
 
3290
fi
 
3291
fi
 
3292
CC=$ac_cv_prog_CC
 
3293
if test -n "$CC"; then
 
3294
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3295
$as_echo "$CC" >&6; }
 
3296
else
 
3297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3298
$as_echo "no" >&6; }
 
3299
fi
 
3300
 
 
3301
 
 
3302
  fi
 
3303
fi
 
3304
if test -z "$CC"; then
 
3305
  # Extract the first word of "cc", so it can be a program name with args.
 
3306
set dummy cc; ac_word=$2
 
3307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3308
$as_echo_n "checking for $ac_word... " >&6; }
 
3309
if ${ac_cv_prog_CC+:} false; then :
 
3310
  $as_echo_n "(cached) " >&6
 
3311
else
 
3312
  if test -n "$CC"; then
 
3313
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3314
else
 
3315
  ac_prog_rejected=no
 
3316
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3317
for as_dir in $PATH
 
3318
do
 
3319
  IFS=$as_save_IFS
 
3320
  test -z "$as_dir" && as_dir=.
 
3321
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3322
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3323
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3324
       ac_prog_rejected=yes
 
3325
       continue
 
3326
     fi
 
3327
    ac_cv_prog_CC="cc"
 
3328
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3329
    break 2
 
3330
  fi
 
3331
done
 
3332
  done
 
3333
IFS=$as_save_IFS
 
3334
 
 
3335
if test $ac_prog_rejected = yes; then
 
3336
  # We found a bogon in the path, so make sure we never use it.
 
3337
  set dummy $ac_cv_prog_CC
 
3338
  shift
 
3339
  if test $# != 0; then
 
3340
    # We chose a different compiler from the bogus one.
 
3341
    # However, it has the same basename, so the bogon will be chosen
 
3342
    # first if we set CC to just the basename; use the full file name.
 
3343
    shift
 
3344
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3345
  fi
 
3346
fi
 
3347
fi
 
3348
fi
 
3349
CC=$ac_cv_prog_CC
 
3350
if test -n "$CC"; then
 
3351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3352
$as_echo "$CC" >&6; }
 
3353
else
 
3354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3355
$as_echo "no" >&6; }
 
3356
fi
 
3357
 
 
3358
 
 
3359
fi
 
3360
if test -z "$CC"; then
 
3361
  if test -n "$ac_tool_prefix"; then
 
3362
  for ac_prog in cl.exe
 
3363
  do
 
3364
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3365
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3367
$as_echo_n "checking for $ac_word... " >&6; }
 
3368
if ${ac_cv_prog_CC+:} false; then :
 
3369
  $as_echo_n "(cached) " >&6
 
3370
else
 
3371
  if test -n "$CC"; then
 
3372
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3373
else
 
3374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3375
for as_dir in $PATH
 
3376
do
 
3377
  IFS=$as_save_IFS
 
3378
  test -z "$as_dir" && as_dir=.
 
3379
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3381
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3382
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3383
    break 2
 
3384
  fi
 
3385
done
 
3386
  done
 
3387
IFS=$as_save_IFS
 
3388
 
 
3389
fi
 
3390
fi
 
3391
CC=$ac_cv_prog_CC
 
3392
if test -n "$CC"; then
 
3393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3394
$as_echo "$CC" >&6; }
 
3395
else
 
3396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3397
$as_echo "no" >&6; }
 
3398
fi
 
3399
 
 
3400
 
 
3401
    test -n "$CC" && break
 
3402
  done
 
3403
fi
 
3404
if test -z "$CC"; then
 
3405
  ac_ct_CC=$CC
 
3406
  for ac_prog in cl.exe
 
3407
do
 
3408
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3409
set dummy $ac_prog; ac_word=$2
 
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3411
$as_echo_n "checking for $ac_word... " >&6; }
 
3412
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3413
  $as_echo_n "(cached) " >&6
 
3414
else
 
3415
  if test -n "$ac_ct_CC"; then
 
3416
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3417
else
 
3418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3419
for as_dir in $PATH
 
3420
do
 
3421
  IFS=$as_save_IFS
 
3422
  test -z "$as_dir" && as_dir=.
 
3423
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3424
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3425
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3426
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3427
    break 2
 
3428
  fi
 
3429
done
 
3430
  done
 
3431
IFS=$as_save_IFS
 
3432
 
 
3433
fi
 
3434
fi
 
3435
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3436
if test -n "$ac_ct_CC"; then
 
3437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3438
$as_echo "$ac_ct_CC" >&6; }
 
3439
else
 
3440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3441
$as_echo "no" >&6; }
 
3442
fi
 
3443
 
 
3444
 
 
3445
  test -n "$ac_ct_CC" && break
 
3446
done
 
3447
 
 
3448
  if test "x$ac_ct_CC" = x; then
 
3449
    CC=""
 
3450
  else
 
3451
    case $cross_compiling:$ac_tool_warned in
 
3452
yes:)
 
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3454
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3455
ac_tool_warned=yes ;;
 
3456
esac
 
3457
    CC=$ac_ct_CC
 
3458
  fi
 
3459
fi
 
3460
 
 
3461
fi
 
3462
 
 
3463
 
 
3464
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3465
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3466
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3467
See \`config.log' for more details" "$LINENO" 5; }
 
3468
 
 
3469
# Provide some information about the compiler.
 
3470
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3471
set X $ac_compile
 
3472
ac_compiler=$2
 
3473
for ac_option in --version -v -V -qversion; do
 
3474
  { { ac_try="$ac_compiler $ac_option >&5"
 
3475
case "(($ac_try" in
 
3476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3477
  *) ac_try_echo=$ac_try;;
 
3478
esac
 
3479
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3480
$as_echo "$ac_try_echo"; } >&5
 
3481
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3482
  ac_status=$?
 
3483
  if test -s conftest.err; then
 
3484
    sed '10a\
 
3485
... rest of stderr output deleted ...
 
3486
         10q' conftest.err >conftest.er1
 
3487
    cat conftest.er1 >&5
 
3488
  fi
 
3489
  rm -f conftest.er1 conftest.err
 
3490
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3491
  test $ac_status = 0; }
 
3492
done
 
3493
 
 
3494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3495
/* end confdefs.h.  */
 
3496
 
 
3497
int
 
3498
main ()
 
3499
{
 
3500
 
 
3501
  ;
 
3502
  return 0;
 
3503
}
 
3504
_ACEOF
 
3505
ac_clean_files_save=$ac_clean_files
 
3506
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3507
# Try to create an executable without -o first, disregard a.out.
 
3508
# It will help us diagnose broken compilers, and finding out an intuition
 
3509
# of exeext.
 
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3511
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3512
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3513
 
 
3514
# The possible output files:
 
3515
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3516
 
 
3517
ac_rmfiles=
 
3518
for ac_file in $ac_files
 
3519
do
 
3520
  case $ac_file in
 
3521
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3522
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3523
  esac
 
3524
done
 
3525
rm -f $ac_rmfiles
 
3526
 
 
3527
if { { ac_try="$ac_link_default"
 
3528
case "(($ac_try" in
 
3529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3530
  *) ac_try_echo=$ac_try;;
 
3531
esac
 
3532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3533
$as_echo "$ac_try_echo"; } >&5
 
3534
  (eval "$ac_link_default") 2>&5
 
3535
  ac_status=$?
 
3536
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3537
  test $ac_status = 0; }; then :
 
3538
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3539
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3540
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3541
# so that the user can short-circuit this test for compilers unknown to
 
3542
# Autoconf.
 
3543
for ac_file in $ac_files ''
 
3544
do
 
3545
  test -f "$ac_file" || continue
 
3546
  case $ac_file in
 
3547
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3548
        ;;
 
3549
    [ab].out )
 
3550
        # We found the default executable, but exeext='' is most
 
3551
        # certainly right.
 
3552
        break;;
 
3553
    *.* )
 
3554
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3555
        then :; else
 
3556
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3557
        fi
 
3558
        # We set ac_cv_exeext here because the later test for it is not
 
3559
        # safe: cross compilers may not add the suffix if given an `-o'
 
3560
        # argument, so we may need to know it at that point already.
 
3561
        # Even if this section looks crufty: it has the advantage of
 
3562
        # actually working.
 
3563
        break;;
 
3564
    * )
 
3565
        break;;
 
3566
  esac
 
3567
done
 
3568
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3569
 
 
3570
else
 
3571
  ac_file=''
 
3572
fi
 
3573
if test -z "$ac_file"; then :
 
3574
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3575
$as_echo "no" >&6; }
 
3576
$as_echo "$as_me: failed program was:" >&5
 
3577
sed 's/^/| /' conftest.$ac_ext >&5
 
3578
 
 
3579
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3580
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3581
as_fn_error 77 "C compiler cannot create executables
 
3582
See \`config.log' for more details" "$LINENO" 5; }
 
3583
else
 
3584
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3585
$as_echo "yes" >&6; }
 
3586
fi
 
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3588
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3590
$as_echo "$ac_file" >&6; }
 
3591
ac_exeext=$ac_cv_exeext
 
3592
 
 
3593
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3594
ac_clean_files=$ac_clean_files_save
 
3595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3596
$as_echo_n "checking for suffix of executables... " >&6; }
 
3597
if { { ac_try="$ac_link"
 
3598
case "(($ac_try" in
 
3599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3600
  *) ac_try_echo=$ac_try;;
 
3601
esac
 
3602
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3603
$as_echo "$ac_try_echo"; } >&5
 
3604
  (eval "$ac_link") 2>&5
 
3605
  ac_status=$?
 
3606
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3607
  test $ac_status = 0; }; then :
 
3608
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3609
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3610
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3611
# `rm'.
 
3612
for ac_file in conftest.exe conftest conftest.*; do
 
3613
  test -f "$ac_file" || continue
 
3614
  case $ac_file in
 
3615
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3616
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3617
          break;;
 
3618
    * ) break;;
 
3619
  esac
 
3620
done
 
3621
else
 
3622
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3623
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3624
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3625
See \`config.log' for more details" "$LINENO" 5; }
 
3626
fi
 
3627
rm -f conftest conftest$ac_cv_exeext
 
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3629
$as_echo "$ac_cv_exeext" >&6; }
 
3630
 
 
3631
rm -f conftest.$ac_ext
 
3632
EXEEXT=$ac_cv_exeext
 
3633
ac_exeext=$EXEEXT
 
3634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3635
/* end confdefs.h.  */
 
3636
#include <stdio.h>
 
3637
int
 
3638
main ()
 
3639
{
 
3640
FILE *f = fopen ("conftest.out", "w");
 
3641
 return ferror (f) || fclose (f) != 0;
 
3642
 
 
3643
  ;
 
3644
  return 0;
 
3645
}
 
3646
_ACEOF
 
3647
ac_clean_files="$ac_clean_files conftest.out"
 
3648
# Check that the compiler produces executables we can run.  If not, either
 
3649
# the compiler is broken, or we cross compile.
 
3650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3651
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3652
if test "$cross_compiling" != yes; then
 
3653
  { { ac_try="$ac_link"
 
3654
case "(($ac_try" in
 
3655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3656
  *) ac_try_echo=$ac_try;;
 
3657
esac
 
3658
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3659
$as_echo "$ac_try_echo"; } >&5
 
3660
  (eval "$ac_link") 2>&5
 
3661
  ac_status=$?
 
3662
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3663
  test $ac_status = 0; }
 
3664
  if { ac_try='./conftest$ac_cv_exeext'
 
3665
  { { case "(($ac_try" in
 
3666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3667
  *) ac_try_echo=$ac_try;;
 
3668
esac
 
3669
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3670
$as_echo "$ac_try_echo"; } >&5
 
3671
  (eval "$ac_try") 2>&5
 
3672
  ac_status=$?
 
3673
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3674
  test $ac_status = 0; }; }; then
 
3675
    cross_compiling=no
 
3676
  else
 
3677
    if test "$cross_compiling" = maybe; then
 
3678
        cross_compiling=yes
 
3679
    else
 
3680
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3681
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3682
as_fn_error $? "cannot run C compiled programs.
 
3683
If you meant to cross compile, use \`--host'.
 
3684
See \`config.log' for more details" "$LINENO" 5; }
 
3685
    fi
 
3686
  fi
 
3687
fi
 
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3689
$as_echo "$cross_compiling" >&6; }
 
3690
 
 
3691
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3692
ac_clean_files=$ac_clean_files_save
 
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3694
$as_echo_n "checking for suffix of object files... " >&6; }
 
3695
if ${ac_cv_objext+:} false; then :
 
3696
  $as_echo_n "(cached) " >&6
 
3697
else
 
3698
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3699
/* end confdefs.h.  */
 
3700
 
 
3701
int
 
3702
main ()
 
3703
{
 
3704
 
 
3705
  ;
 
3706
  return 0;
 
3707
}
 
3708
_ACEOF
 
3709
rm -f conftest.o conftest.obj
 
3710
if { { ac_try="$ac_compile"
 
3711
case "(($ac_try" in
 
3712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3713
  *) ac_try_echo=$ac_try;;
 
3714
esac
 
3715
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3716
$as_echo "$ac_try_echo"; } >&5
 
3717
  (eval "$ac_compile") 2>&5
 
3718
  ac_status=$?
 
3719
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3720
  test $ac_status = 0; }; then :
 
3721
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3722
  test -f "$ac_file" || continue;
 
3723
  case $ac_file in
 
3724
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3725
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3726
       break;;
 
3727
  esac
 
3728
done
 
3729
else
 
3730
  $as_echo "$as_me: failed program was:" >&5
 
3731
sed 's/^/| /' conftest.$ac_ext >&5
 
3732
 
 
3733
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3734
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3735
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3736
See \`config.log' for more details" "$LINENO" 5; }
 
3737
fi
 
3738
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3739
fi
 
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3741
$as_echo "$ac_cv_objext" >&6; }
 
3742
OBJEXT=$ac_cv_objext
 
3743
ac_objext=$OBJEXT
 
3744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3745
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3746
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3747
  $as_echo_n "(cached) " >&6
 
3748
else
 
3749
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3750
/* end confdefs.h.  */
 
3751
 
 
3752
int
 
3753
main ()
 
3754
{
 
3755
#ifndef __GNUC__
 
3756
       choke me
 
3757
#endif
 
3758
 
 
3759
  ;
 
3760
  return 0;
 
3761
}
 
3762
_ACEOF
 
3763
if ac_fn_c_try_compile "$LINENO"; then :
 
3764
  ac_compiler_gnu=yes
 
3765
else
 
3766
  ac_compiler_gnu=no
 
3767
fi
 
3768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3769
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3770
 
 
3771
fi
 
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3773
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3774
if test $ac_compiler_gnu = yes; then
 
3775
  GCC=yes
 
3776
else
 
3777
  GCC=
 
3778
fi
 
3779
ac_test_CFLAGS=${CFLAGS+set}
 
3780
ac_save_CFLAGS=$CFLAGS
 
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3782
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3783
if ${ac_cv_prog_cc_g+:} false; then :
 
3784
  $as_echo_n "(cached) " >&6
 
3785
else
 
3786
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3787
   ac_c_werror_flag=yes
 
3788
   ac_cv_prog_cc_g=no
 
3789
   CFLAGS="-g"
 
3790
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3791
/* end confdefs.h.  */
 
3792
 
 
3793
int
 
3794
main ()
 
3795
{
 
3796
 
 
3797
  ;
 
3798
  return 0;
 
3799
}
 
3800
_ACEOF
 
3801
if ac_fn_c_try_compile "$LINENO"; then :
 
3802
  ac_cv_prog_cc_g=yes
 
3803
else
 
3804
  CFLAGS=""
 
3805
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3806
/* end confdefs.h.  */
 
3807
 
 
3808
int
 
3809
main ()
 
3810
{
 
3811
 
 
3812
  ;
 
3813
  return 0;
 
3814
}
 
3815
_ACEOF
 
3816
if ac_fn_c_try_compile "$LINENO"; then :
 
3817
 
 
3818
else
 
3819
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3820
         CFLAGS="-g"
 
3821
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3822
/* end confdefs.h.  */
 
3823
 
 
3824
int
 
3825
main ()
 
3826
{
 
3827
 
 
3828
  ;
 
3829
  return 0;
 
3830
}
 
3831
_ACEOF
 
3832
if ac_fn_c_try_compile "$LINENO"; then :
 
3833
  ac_cv_prog_cc_g=yes
 
3834
fi
 
3835
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3836
fi
 
3837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3838
fi
 
3839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3840
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3841
fi
 
3842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3843
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3844
if test "$ac_test_CFLAGS" = set; then
 
3845
  CFLAGS=$ac_save_CFLAGS
 
3846
elif test $ac_cv_prog_cc_g = yes; then
 
3847
  if test "$GCC" = yes; then
 
3848
    CFLAGS="-g -O2"
 
3849
  else
 
3850
    CFLAGS="-g"
 
3851
  fi
 
3852
else
 
3853
  if test "$GCC" = yes; then
 
3854
    CFLAGS="-O2"
 
3855
  else
 
3856
    CFLAGS=
 
3857
  fi
 
3858
fi
 
3859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3860
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3861
if ${ac_cv_prog_cc_c89+:} false; then :
 
3862
  $as_echo_n "(cached) " >&6
 
3863
else
 
3864
  ac_cv_prog_cc_c89=no
 
3865
ac_save_CC=$CC
 
3866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3867
/* end confdefs.h.  */
 
3868
#include <stdarg.h>
 
3869
#include <stdio.h>
 
3870
#include <sys/types.h>
 
3871
#include <sys/stat.h>
 
3872
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3873
struct buf { int x; };
 
3874
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3875
static char *e (p, i)
 
3876
     char **p;
 
3877
     int i;
 
3878
{
 
3879
  return p[i];
 
3880
}
 
3881
static char *f (char * (*g) (char **, int), char **p, ...)
 
3882
{
 
3883
  char *s;
 
3884
  va_list v;
 
3885
  va_start (v,p);
 
3886
  s = g (p, va_arg (v,int));
 
3887
  va_end (v);
 
3888
  return s;
 
3889
}
 
3890
 
 
3891
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3892
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3893
   These don't provoke an error unfortunately, instead are silently treated
 
3894
   as 'x'.  The following induces an error, until -std is added to get
 
3895
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3896
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3897
   that's true only with -std.  */
 
3898
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3899
 
 
3900
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3901
   inside strings and character constants.  */
 
3902
#define FOO(x) 'x'
 
3903
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3904
 
 
3905
int test (int i, double x);
 
3906
struct s1 {int (*f) (int a);};
 
3907
struct s2 {int (*f) (double a);};
 
3908
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3909
int argc;
 
3910
char **argv;
 
3911
int
 
3912
main ()
 
3913
{
 
3914
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3915
  ;
 
3916
  return 0;
 
3917
}
 
3918
_ACEOF
 
3919
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3920
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3921
do
 
3922
  CC="$ac_save_CC $ac_arg"
 
3923
  if ac_fn_c_try_compile "$LINENO"; then :
 
3924
  ac_cv_prog_cc_c89=$ac_arg
 
3925
fi
 
3926
rm -f core conftest.err conftest.$ac_objext
 
3927
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3928
done
 
3929
rm -f conftest.$ac_ext
 
3930
CC=$ac_save_CC
 
3931
 
 
3932
fi
 
3933
# AC_CACHE_VAL
 
3934
case "x$ac_cv_prog_cc_c89" in
 
3935
  x)
 
3936
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3937
$as_echo "none needed" >&6; } ;;
 
3938
  xno)
 
3939
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3940
$as_echo "unsupported" >&6; } ;;
 
3941
  *)
 
3942
    CC="$CC $ac_cv_prog_cc_c89"
 
3943
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3944
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3945
esac
 
3946
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3947
 
 
3948
fi
 
3949
 
 
3950
ac_ext=c
 
3951
ac_cpp='$CPP $CPPFLAGS'
 
3952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3955
 
 
3956
depcc="$CC"   am_compiler_list=
 
3957
 
 
3958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3959
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3960
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3961
  $as_echo_n "(cached) " >&6
 
3962
else
 
3963
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3964
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3965
  # making bogus files that we don't know about and never remove.  For
 
3966
  # instance it was reported that on HP-UX the gcc test will end up
 
3967
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3968
  # in D'.
 
3969
  rm -rf conftest.dir
 
3970
  mkdir conftest.dir
 
3971
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3972
  # using a relative directory.
 
3973
  cp "$am_depcomp" conftest.dir
 
3974
  cd conftest.dir
 
3975
  # We will build objects and dependencies in a subdirectory because
 
3976
  # it helps to detect inapplicable dependency modes.  For instance
 
3977
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3978
  # side effect of compilation, but ICC will put the dependencies in
 
3979
  # the current directory while Tru64 will put them in the object
 
3980
  # directory.
 
3981
  mkdir sub
 
3982
 
 
3983
  am_cv_CC_dependencies_compiler_type=none
 
3984
  if test "$am_compiler_list" = ""; then
 
3985
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3986
  fi
 
3987
  am__universal=false
 
3988
  case " $depcc " in #(
 
3989
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3990
     esac
 
3991
 
 
3992
  for depmode in $am_compiler_list; do
 
3993
    # Setup a source with many dependencies, because some compilers
 
3994
    # like to wrap large dependency lists on column 80 (with \), and
 
3995
    # we should not choose a depcomp mode which is confused by this.
 
3996
    #
 
3997
    # We need to recreate these files for each test, as the compiler may
 
3998
    # overwrite some of them when testing with obscure command lines.
 
3999
    # This happens at least with the AIX C compiler.
 
4000
    : > sub/conftest.c
 
4001
    for i in 1 2 3 4 5 6; do
 
4002
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4003
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4004
      # Solaris 8's {/usr,}/bin/sh.
 
4005
      touch sub/conftst$i.h
 
4006
    done
 
4007
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4008
 
 
4009
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4010
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4011
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4012
    # versions had trouble with output in subdirs
 
4013
    am__obj=sub/conftest.${OBJEXT-o}
 
4014
    am__minus_obj="-o $am__obj"
 
4015
    case $depmode in
 
4016
    gcc)
 
4017
      # This depmode causes a compiler race in universal mode.
 
4018
      test "$am__universal" = false || continue
 
4019
      ;;
 
4020
    nosideeffect)
 
4021
      # after this tag, mechanisms are not by side-effect, so they'll
 
4022
      # only be used when explicitly requested
 
4023
      if test "x$enable_dependency_tracking" = xyes; then
 
4024
        continue
 
4025
      else
 
4026
        break
 
4027
      fi
 
4028
      ;;
 
4029
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4030
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4031
      # not run yet.  These depmodes are late enough in the game, and
 
4032
      # so weak that their functioning should not be impacted.
 
4033
      am__obj=conftest.${OBJEXT-o}
 
4034
      am__minus_obj=
 
4035
      ;;
 
4036
    none) break ;;
 
4037
    esac
 
4038
    if depmode=$depmode \
 
4039
       source=sub/conftest.c object=$am__obj \
 
4040
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4041
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4042
         >/dev/null 2>conftest.err &&
 
4043
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4044
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4045
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4046
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4047
      # icc doesn't choke on unknown options, it will just issue warnings
 
4048
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4049
      # that says an option was ignored or not supported.
 
4050
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4051
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4052
      # The diagnosis changed in icc 8.0:
 
4053
      #   icc: Command line remark: option '-MP' not supported
 
4054
      if (grep 'ignoring option' conftest.err ||
 
4055
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4056
        am_cv_CC_dependencies_compiler_type=$depmode
 
4057
        break
 
4058
      fi
 
4059
    fi
 
4060
  done
 
4061
 
 
4062
  cd ..
 
4063
  rm -rf conftest.dir
 
4064
else
 
4065
  am_cv_CC_dependencies_compiler_type=none
 
4066
fi
 
4067
 
 
4068
fi
 
4069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4070
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4071
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4072
 
 
4073
 if
 
4074
  test "x$enable_dependency_tracking" != xno \
 
4075
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4076
  am__fastdepCC_TRUE=
 
4077
  am__fastdepCC_FALSE='#'
 
4078
else
 
4079
  am__fastdepCC_TRUE='#'
 
4080
  am__fastdepCC_FALSE=
 
4081
fi
 
4082
 
 
4083
 
 
4084
 
 
4085
 
 
4086
 
 
4087
case "$am__api_version" in
 
4088
    1.01234)
 
4089
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
4090
    ;;
 
4091
    *)
 
4092
    ;;
 
4093
esac
 
4094
 
 
4095
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4096
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
4097
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4098
if test -n "0.35.0"; then
 
4099
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
4100
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
4101
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4102
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
4103
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
4104
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
4105
fi
 
4106
 
 
4107
# Extract the first word of "intltool-update", so it can be a program name with args.
 
4108
set dummy intltool-update; ac_word=$2
 
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4110
$as_echo_n "checking for $ac_word... " >&6; }
 
4111
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
4112
  $as_echo_n "(cached) " >&6
 
4113
else
 
4114
  case $INTLTOOL_UPDATE in
 
4115
  [\\/]* | ?:[\\/]*)
 
4116
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
4117
  ;;
 
4118
  *)
 
4119
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4120
for as_dir in $PATH
 
4121
do
 
4122
  IFS=$as_save_IFS
 
4123
  test -z "$as_dir" && as_dir=.
 
4124
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4126
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
4127
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4128
    break 2
 
4129
  fi
 
4130
done
 
4131
  done
 
4132
IFS=$as_save_IFS
 
4133
 
 
4134
  ;;
 
4135
esac
 
4136
fi
 
4137
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
4138
if test -n "$INTLTOOL_UPDATE"; then
 
4139
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
4140
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
4141
else
 
4142
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4143
$as_echo "no" >&6; }
 
4144
fi
 
4145
 
 
4146
 
 
4147
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
4148
set dummy intltool-merge; ac_word=$2
 
4149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4150
$as_echo_n "checking for $ac_word... " >&6; }
 
4151
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
4152
  $as_echo_n "(cached) " >&6
 
4153
else
 
4154
  case $INTLTOOL_MERGE in
 
4155
  [\\/]* | ?:[\\/]*)
 
4156
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
4157
  ;;
 
4158
  *)
 
4159
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4160
for as_dir in $PATH
 
4161
do
 
4162
  IFS=$as_save_IFS
 
4163
  test -z "$as_dir" && as_dir=.
 
4164
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4166
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
4167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4168
    break 2
 
4169
  fi
 
4170
done
 
4171
  done
 
4172
IFS=$as_save_IFS
 
4173
 
 
4174
  ;;
 
4175
esac
 
4176
fi
 
4177
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
4178
if test -n "$INTLTOOL_MERGE"; then
 
4179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
4180
$as_echo "$INTLTOOL_MERGE" >&6; }
 
4181
else
 
4182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4183
$as_echo "no" >&6; }
 
4184
fi
 
4185
 
 
4186
 
 
4187
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
4188
set dummy intltool-extract; ac_word=$2
 
4189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4190
$as_echo_n "checking for $ac_word... " >&6; }
 
4191
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
4192
  $as_echo_n "(cached) " >&6
 
4193
else
 
4194
  case $INTLTOOL_EXTRACT in
 
4195
  [\\/]* | ?:[\\/]*)
 
4196
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
4197
  ;;
 
4198
  *)
 
4199
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4200
for as_dir in $PATH
 
4201
do
 
4202
  IFS=$as_save_IFS
 
4203
  test -z "$as_dir" && as_dir=.
 
4204
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4206
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
4207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4208
    break 2
 
4209
  fi
 
4210
done
 
4211
  done
 
4212
IFS=$as_save_IFS
 
4213
 
 
4214
  ;;
 
4215
esac
 
4216
fi
 
4217
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
4218
if test -n "$INTLTOOL_EXTRACT"; then
 
4219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
4220
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
4221
else
 
4222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4223
$as_echo "no" >&6; }
 
4224
fi
 
4225
 
 
4226
 
 
4227
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
4228
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
4229
fi
 
4230
 
 
4231
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
4232
  AM_DEFAULT_VERBOSITY=1
 
4233
fi
 
4234
 
 
4235
 
 
4236
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
4237
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
4238
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
 
4239
 
 
4240
 
 
4241
 
 
4242
 
 
4243
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
4244
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
4245
intltool__v_merge_options_0='-q'
 
4246
 
 
4247
 
 
4248
 
 
4249
 
 
4250
  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 $< $@'
 
4251
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 $< $@'
 
4252
     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 $< $@'
 
4253
     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 $< $@'
 
4254
      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 $< $@'
 
4255
     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 $< $@'
 
4256
   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 $< $@'
 
4257
    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 $< $@'
 
4258
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 $< $@'
 
4259
       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 $< $@'
 
4260
      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 $< $@'
 
4261
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
4262
      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 $< $@'
 
4263
else
 
4264
      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'
 
4265
fi
 
4266
      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 $< $@'
 
4267
      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 $< $@'
 
4268
    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 $< $@'
 
4269
  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 $< $@'
 
4270
    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 $< $@'
 
4271
    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 $< $@'
 
4272
   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 $< $@'
 
4273
 
 
4274
 
 
4275
 
 
4276
 
 
4277
 
 
4278
 
 
4279
 
 
4280
 
 
4281
 
 
4282
 
 
4283
 
 
4284
 
 
4285
 
 
4286
 
 
4287
 
 
4288
 
 
4289
 
 
4290
 
 
4291
 
 
4292
 
 
4293
 
 
4294
 
 
4295
 
 
4296
 
 
4297
 
 
4298
 
 
4299
 
 
4300
 
 
4301
 
 
4302
 
 
4303
 
 
4304
 
 
4305
 
 
4306
 
 
4307
 
 
4308
 
 
4309
 
 
4310
 
 
4311
 
 
4312
 
 
4313
 
 
4314
 
 
4315
 
 
4316
 
 
4317
 
 
4318
 
 
4319
 
 
4320
 
 
4321
 
 
4322
 
 
4323
 
 
4324
 
 
4325
 
 
4326
 
 
4327
 
 
4328
 
 
4329
 
 
4330
 
 
4331
 
 
4332
 
 
4333
 
 
4334
 
 
4335
 
 
4336
 
 
4337
 
 
4338
 
 
4339
 
 
4340
 
 
4341
 
 
4342
 
 
4343
 
 
4344
 
 
4345
 
 
4346
 
 
4347
 
 
4348
 
 
4349
 
 
4350
 
 
4351
 
 
4352
 
 
4353
 
 
4354
 
 
4355
 
 
4356
 
 
4357
 
 
4358
 
 
4359
 
 
4360
 
 
4361
 
 
4362
 
 
4363
 
 
4364
 
 
4365
 
 
4366
 
 
4367
 
 
4368
 
 
4369
 
 
4370
# Check the gettext tools to make sure they are GNU
 
4371
# Extract the first word of "xgettext", so it can be a program name with args.
 
4372
set dummy xgettext; ac_word=$2
 
4373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4374
$as_echo_n "checking for $ac_word... " >&6; }
 
4375
if ${ac_cv_path_XGETTEXT+:} false; then :
 
4376
  $as_echo_n "(cached) " >&6
 
4377
else
 
4378
  case $XGETTEXT in
 
4379
  [\\/]* | ?:[\\/]*)
 
4380
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
4381
  ;;
 
4382
  *)
 
4383
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4384
for as_dir in $PATH
 
4385
do
 
4386
  IFS=$as_save_IFS
 
4387
  test -z "$as_dir" && as_dir=.
 
4388
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4390
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
4391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4392
    break 2
 
4393
  fi
 
4394
done
 
4395
  done
 
4396
IFS=$as_save_IFS
 
4397
 
 
4398
  ;;
 
4399
esac
 
4400
fi
 
4401
XGETTEXT=$ac_cv_path_XGETTEXT
 
4402
if test -n "$XGETTEXT"; then
 
4403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
4404
$as_echo "$XGETTEXT" >&6; }
 
4405
else
 
4406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4407
$as_echo "no" >&6; }
 
4408
fi
 
4409
 
 
4410
 
 
4411
# Extract the first word of "msgmerge", so it can be a program name with args.
 
4412
set dummy msgmerge; ac_word=$2
 
4413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4414
$as_echo_n "checking for $ac_word... " >&6; }
 
4415
if ${ac_cv_path_MSGMERGE+:} false; then :
 
4416
  $as_echo_n "(cached) " >&6
 
4417
else
 
4418
  case $MSGMERGE in
 
4419
  [\\/]* | ?:[\\/]*)
 
4420
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
4421
  ;;
 
4422
  *)
 
4423
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4424
for as_dir in $PATH
 
4425
do
 
4426
  IFS=$as_save_IFS
 
4427
  test -z "$as_dir" && as_dir=.
 
4428
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4429
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4430
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
4431
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4432
    break 2
 
4433
  fi
 
4434
done
 
4435
  done
 
4436
IFS=$as_save_IFS
 
4437
 
 
4438
  ;;
 
4439
esac
 
4440
fi
 
4441
MSGMERGE=$ac_cv_path_MSGMERGE
 
4442
if test -n "$MSGMERGE"; then
 
4443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
4444
$as_echo "$MSGMERGE" >&6; }
 
4445
else
 
4446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4447
$as_echo "no" >&6; }
 
4448
fi
 
4449
 
 
4450
 
 
4451
# Extract the first word of "msgfmt", so it can be a program name with args.
 
4452
set dummy msgfmt; ac_word=$2
 
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4454
$as_echo_n "checking for $ac_word... " >&6; }
 
4455
if ${ac_cv_path_MSGFMT+:} false; then :
 
4456
  $as_echo_n "(cached) " >&6
 
4457
else
 
4458
  case $MSGFMT in
 
4459
  [\\/]* | ?:[\\/]*)
 
4460
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
4461
  ;;
 
4462
  *)
 
4463
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4464
for as_dir in $PATH
 
4465
do
 
4466
  IFS=$as_save_IFS
 
4467
  test -z "$as_dir" && as_dir=.
 
4468
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4469
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4470
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4471
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4472
    break 2
 
4473
  fi
 
4474
done
 
4475
  done
 
4476
IFS=$as_save_IFS
 
4477
 
 
4478
  ;;
 
4479
esac
 
4480
fi
 
4481
MSGFMT=$ac_cv_path_MSGFMT
 
4482
if test -n "$MSGFMT"; then
 
4483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
4484
$as_echo "$MSGFMT" >&6; }
 
4485
else
 
4486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4487
$as_echo "no" >&6; }
 
4488
fi
 
4489
 
 
4490
 
 
4491
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
4492
set dummy gmsgfmt; ac_word=$2
 
4493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4494
$as_echo_n "checking for $ac_word... " >&6; }
 
4495
if ${ac_cv_path_GMSGFMT+:} false; then :
 
4496
  $as_echo_n "(cached) " >&6
 
4497
else
 
4498
  case $GMSGFMT in
 
4499
  [\\/]* | ?:[\\/]*)
 
4500
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
4501
  ;;
 
4502
  *)
 
4503
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4504
for as_dir in $PATH
 
4505
do
 
4506
  IFS=$as_save_IFS
 
4507
  test -z "$as_dir" && as_dir=.
 
4508
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4509
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4510
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4511
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4512
    break 2
 
4513
  fi
 
4514
done
 
4515
  done
 
4516
IFS=$as_save_IFS
 
4517
 
 
4518
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
4519
  ;;
 
4520
esac
 
4521
fi
 
4522
GMSGFMT=$ac_cv_path_GMSGFMT
 
4523
if test -n "$GMSGFMT"; then
 
4524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
4525
$as_echo "$GMSGFMT" >&6; }
 
4526
else
 
4527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4528
$as_echo "no" >&6; }
 
4529
fi
 
4530
 
 
4531
 
 
4532
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
4533
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4534
fi
 
4535
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
4536
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
4537
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
4538
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
4539
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4540
fi
 
4541
 
 
4542
# Extract the first word of "perl", so it can be a program name with args.
 
4543
set dummy perl; ac_word=$2
 
4544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4545
$as_echo_n "checking for $ac_word... " >&6; }
 
4546
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
4547
  $as_echo_n "(cached) " >&6
 
4548
else
 
4549
  case $INTLTOOL_PERL in
 
4550
  [\\/]* | ?:[\\/]*)
 
4551
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
4552
  ;;
 
4553
  *)
 
4554
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4555
for as_dir in $PATH
 
4556
do
 
4557
  IFS=$as_save_IFS
 
4558
  test -z "$as_dir" && as_dir=.
 
4559
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4560
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4561
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
4562
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4563
    break 2
 
4564
  fi
 
4565
done
 
4566
  done
 
4567
IFS=$as_save_IFS
 
4568
 
 
4569
  ;;
 
4570
esac
 
4571
fi
 
4572
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
4573
if test -n "$INTLTOOL_PERL"; then
 
4574
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
4575
$as_echo "$INTLTOOL_PERL" >&6; }
 
4576
else
 
4577
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4578
$as_echo "no" >&6; }
 
4579
fi
 
4580
 
 
4581
 
 
4582
if test -z "$INTLTOOL_PERL"; then
 
4583
   as_fn_error $? "perl not found" "$LINENO" 5
 
4584
fi
 
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
4586
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
4587
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
4588
if test $? -ne 0; then
 
4589
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
4590
else
 
4591
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
 
4592
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
4593
$as_echo "$IT_PERL_VERSION" >&6; }
 
4594
fi
 
4595
if test "x" != "xno-xml"; then
 
4596
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
4597
$as_echo_n "checking for XML::Parser... " >&6; }
 
4598
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
4599
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
4600
$as_echo "ok" >&6; }
 
4601
   else
 
4602
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
4603
   fi
 
4604
fi
 
4605
 
 
4606
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
4607
 
 
4608
 
 
4609
# Set DATADIRNAME correctly if it is not set yet
 
4610
# (copied from glib-gettext.m4)
 
4611
if test -z "$DATADIRNAME"; then
 
4612
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4613
/* end confdefs.h.  */
 
4614
 
 
4615
int
 
4616
main ()
 
4617
{
 
4618
extern int _nl_msg_cat_cntr;
 
4619
                       return _nl_msg_cat_cntr
 
4620
  ;
 
4621
  return 0;
 
4622
}
 
4623
_ACEOF
 
4624
if ac_fn_c_try_link "$LINENO"; then :
 
4625
  DATADIRNAME=share
 
4626
else
 
4627
  case $host in
 
4628
    *-*-solaris*)
 
4629
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4630
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
4631
  DATADIRNAME=share
 
4632
else
 
4633
  DATADIRNAME=lib
 
4634
fi
 
4635
 
 
4636
    ;;
 
4637
    *)
 
4638
    DATADIRNAME=lib
 
4639
    ;;
 
4640
    esac
 
4641
fi
 
4642
rm -f core conftest.err conftest.$ac_objext \
 
4643
    conftest$ac_exeext conftest.$ac_ext
 
4644
fi
 
4645
 
 
4646
 
 
4647
 
 
4648
 
 
4649
 
 
4650
 
 
4651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
4652
$as_echo_n "checking for library containing strerror... " >&6; }
 
4653
if ${ac_cv_search_strerror+:} false; then :
 
4654
  $as_echo_n "(cached) " >&6
 
4655
else
 
4656
  ac_func_search_save_LIBS=$LIBS
 
4657
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4658
/* end confdefs.h.  */
 
4659
 
 
4660
/* Override any GCC internal prototype to avoid an error.
 
4661
   Use char because int might match the return type of a GCC
 
4662
   builtin and then its argument prototype would still apply.  */
 
4663
#ifdef __cplusplus
 
4664
extern "C"
 
4665
#endif
 
4666
char strerror ();
 
4667
int
 
4668
main ()
 
4669
{
 
4670
return strerror ();
 
4671
  ;
 
4672
  return 0;
 
4673
}
 
4674
_ACEOF
 
4675
for ac_lib in '' cposix; do
 
4676
  if test -z "$ac_lib"; then
 
4677
    ac_res="none required"
 
4678
  else
 
4679
    ac_res=-l$ac_lib
 
4680
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
4681
  fi
 
4682
  if ac_fn_c_try_link "$LINENO"; then :
 
4683
  ac_cv_search_strerror=$ac_res
 
4684
fi
 
4685
rm -f core conftest.err conftest.$ac_objext \
 
4686
    conftest$ac_exeext
 
4687
  if ${ac_cv_search_strerror+:} false; then :
 
4688
  break
 
4689
fi
 
4690
done
 
4691
if ${ac_cv_search_strerror+:} false; then :
 
4692
 
 
4693
else
 
4694
  ac_cv_search_strerror=no
 
4695
fi
 
4696
rm conftest.$ac_ext
 
4697
LIBS=$ac_func_search_save_LIBS
 
4698
fi
 
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
4700
$as_echo "$ac_cv_search_strerror" >&6; }
 
4701
ac_res=$ac_cv_search_strerror
 
4702
if test "$ac_res" != no; then :
 
4703
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
4704
 
 
4705
fi
 
4706
 
 
4707
ac_ext=c
 
4708
ac_cpp='$CPP $CPPFLAGS'
 
4709
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4710
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4711
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4712
if test -n "$ac_tool_prefix"; then
 
4713
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4714
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4716
$as_echo_n "checking for $ac_word... " >&6; }
 
4717
if ${ac_cv_prog_CC+:} false; then :
 
4718
  $as_echo_n "(cached) " >&6
 
4719
else
 
4720
  if test -n "$CC"; then
 
4721
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4722
else
 
4723
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4724
for as_dir in $PATH
 
4725
do
 
4726
  IFS=$as_save_IFS
 
4727
  test -z "$as_dir" && as_dir=.
 
4728
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4729
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4730
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4731
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4732
    break 2
 
4733
  fi
 
4734
done
 
4735
  done
 
4736
IFS=$as_save_IFS
 
4737
 
 
4738
fi
 
4739
fi
 
4740
CC=$ac_cv_prog_CC
 
4741
if test -n "$CC"; then
 
4742
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4743
$as_echo "$CC" >&6; }
 
4744
else
 
4745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4746
$as_echo "no" >&6; }
 
4747
fi
 
4748
 
 
4749
 
 
4750
fi
 
4751
if test -z "$ac_cv_prog_CC"; then
 
4752
  ac_ct_CC=$CC
 
4753
  # Extract the first word of "gcc", so it can be a program name with args.
 
4754
set dummy gcc; ac_word=$2
 
4755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4756
$as_echo_n "checking for $ac_word... " >&6; }
 
4757
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4758
  $as_echo_n "(cached) " >&6
 
4759
else
 
4760
  if test -n "$ac_ct_CC"; then
 
4761
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4762
else
 
4763
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4764
for as_dir in $PATH
 
4765
do
 
4766
  IFS=$as_save_IFS
 
4767
  test -z "$as_dir" && as_dir=.
 
4768
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4769
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4770
    ac_cv_prog_ac_ct_CC="gcc"
 
4771
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4772
    break 2
 
4773
  fi
 
4774
done
 
4775
  done
 
4776
IFS=$as_save_IFS
 
4777
 
 
4778
fi
 
4779
fi
 
4780
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4781
if test -n "$ac_ct_CC"; then
 
4782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4783
$as_echo "$ac_ct_CC" >&6; }
 
4784
else
 
4785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4786
$as_echo "no" >&6; }
 
4787
fi
 
4788
 
 
4789
  if test "x$ac_ct_CC" = x; then
 
4790
    CC=""
 
4791
  else
 
4792
    case $cross_compiling:$ac_tool_warned in
 
4793
yes:)
 
4794
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4795
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4796
ac_tool_warned=yes ;;
 
4797
esac
 
4798
    CC=$ac_ct_CC
 
4799
  fi
 
4800
else
 
4801
  CC="$ac_cv_prog_CC"
 
4802
fi
 
4803
 
 
4804
if test -z "$CC"; then
 
4805
          if test -n "$ac_tool_prefix"; then
 
4806
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4807
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4809
$as_echo_n "checking for $ac_word... " >&6; }
 
4810
if ${ac_cv_prog_CC+:} false; then :
 
4811
  $as_echo_n "(cached) " >&6
 
4812
else
 
4813
  if test -n "$CC"; then
 
4814
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4815
else
 
4816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4817
for as_dir in $PATH
 
4818
do
 
4819
  IFS=$as_save_IFS
 
4820
  test -z "$as_dir" && as_dir=.
 
4821
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4823
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4824
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4825
    break 2
 
4826
  fi
 
4827
done
 
4828
  done
 
4829
IFS=$as_save_IFS
 
4830
 
 
4831
fi
 
4832
fi
 
4833
CC=$ac_cv_prog_CC
 
4834
if test -n "$CC"; then
 
4835
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4836
$as_echo "$CC" >&6; }
 
4837
else
 
4838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4839
$as_echo "no" >&6; }
 
4840
fi
 
4841
 
 
4842
 
 
4843
  fi
 
4844
fi
 
4845
if test -z "$CC"; then
 
4846
  # Extract the first word of "cc", so it can be a program name with args.
 
4847
set dummy cc; ac_word=$2
 
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4849
$as_echo_n "checking for $ac_word... " >&6; }
 
4850
if ${ac_cv_prog_CC+:} false; then :
 
4851
  $as_echo_n "(cached) " >&6
 
4852
else
 
4853
  if test -n "$CC"; then
 
4854
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4855
else
 
4856
  ac_prog_rejected=no
 
4857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4858
for as_dir in $PATH
 
4859
do
 
4860
  IFS=$as_save_IFS
 
4861
  test -z "$as_dir" && as_dir=.
 
4862
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4863
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4864
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4865
       ac_prog_rejected=yes
 
4866
       continue
 
4867
     fi
 
4868
    ac_cv_prog_CC="cc"
 
4869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4870
    break 2
 
4871
  fi
 
4872
done
 
4873
  done
 
4874
IFS=$as_save_IFS
 
4875
 
 
4876
if test $ac_prog_rejected = yes; then
 
4877
  # We found a bogon in the path, so make sure we never use it.
 
4878
  set dummy $ac_cv_prog_CC
 
4879
  shift
 
4880
  if test $# != 0; then
 
4881
    # We chose a different compiler from the bogus one.
 
4882
    # However, it has the same basename, so the bogon will be chosen
 
4883
    # first if we set CC to just the basename; use the full file name.
 
4884
    shift
 
4885
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4886
  fi
 
4887
fi
 
4888
fi
 
4889
fi
 
4890
CC=$ac_cv_prog_CC
 
4891
if test -n "$CC"; then
 
4892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4893
$as_echo "$CC" >&6; }
 
4894
else
 
4895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4896
$as_echo "no" >&6; }
 
4897
fi
 
4898
 
 
4899
 
 
4900
fi
 
4901
if test -z "$CC"; then
 
4902
  if test -n "$ac_tool_prefix"; then
 
4903
  for ac_prog in cl.exe
 
4904
  do
 
4905
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4906
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4908
$as_echo_n "checking for $ac_word... " >&6; }
 
4909
if ${ac_cv_prog_CC+:} false; then :
 
4910
  $as_echo_n "(cached) " >&6
 
4911
else
 
4912
  if test -n "$CC"; then
 
4913
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4914
else
 
4915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4916
for as_dir in $PATH
 
4917
do
 
4918
  IFS=$as_save_IFS
 
4919
  test -z "$as_dir" && as_dir=.
 
4920
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4921
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4922
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4923
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4924
    break 2
 
4925
  fi
 
4926
done
 
4927
  done
 
4928
IFS=$as_save_IFS
 
4929
 
 
4930
fi
 
4931
fi
 
4932
CC=$ac_cv_prog_CC
 
4933
if test -n "$CC"; then
 
4934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4935
$as_echo "$CC" >&6; }
 
4936
else
 
4937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4938
$as_echo "no" >&6; }
 
4939
fi
 
4940
 
 
4941
 
 
4942
    test -n "$CC" && break
 
4943
  done
 
4944
fi
 
4945
if test -z "$CC"; then
 
4946
  ac_ct_CC=$CC
 
4947
  for ac_prog in cl.exe
 
4948
do
 
4949
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4950
set dummy $ac_prog; ac_word=$2
 
4951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4952
$as_echo_n "checking for $ac_word... " >&6; }
 
4953
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4954
  $as_echo_n "(cached) " >&6
 
4955
else
 
4956
  if test -n "$ac_ct_CC"; then
 
4957
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4958
else
 
4959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4960
for as_dir in $PATH
 
4961
do
 
4962
  IFS=$as_save_IFS
 
4963
  test -z "$as_dir" && as_dir=.
 
4964
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4965
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4966
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4967
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4968
    break 2
 
4969
  fi
 
4970
done
 
4971
  done
 
4972
IFS=$as_save_IFS
 
4973
 
 
4974
fi
 
4975
fi
 
4976
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4977
if test -n "$ac_ct_CC"; then
 
4978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4979
$as_echo "$ac_ct_CC" >&6; }
 
4980
else
 
4981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4982
$as_echo "no" >&6; }
 
4983
fi
 
4984
 
 
4985
 
 
4986
  test -n "$ac_ct_CC" && break
 
4987
done
 
4988
 
 
4989
  if test "x$ac_ct_CC" = x; then
 
4990
    CC=""
 
4991
  else
 
4992
    case $cross_compiling:$ac_tool_warned in
 
4993
yes:)
 
4994
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4995
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4996
ac_tool_warned=yes ;;
 
4997
esac
 
4998
    CC=$ac_ct_CC
 
4999
  fi
 
5000
fi
 
5001
 
 
5002
fi
 
5003
 
 
5004
 
 
5005
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5006
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5007
as_fn_error $? "no acceptable C compiler found in \$PATH
 
5008
See \`config.log' for more details" "$LINENO" 5; }
 
5009
 
 
5010
# Provide some information about the compiler.
 
5011
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
5012
set X $ac_compile
 
5013
ac_compiler=$2
 
5014
for ac_option in --version -v -V -qversion; do
 
5015
  { { ac_try="$ac_compiler $ac_option >&5"
 
5016
case "(($ac_try" in
 
5017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5018
  *) ac_try_echo=$ac_try;;
 
5019
esac
 
5020
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5021
$as_echo "$ac_try_echo"; } >&5
 
5022
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5023
  ac_status=$?
 
5024
  if test -s conftest.err; then
 
5025
    sed '10a\
 
5026
... rest of stderr output deleted ...
 
5027
         10q' conftest.err >conftest.er1
 
5028
    cat conftest.er1 >&5
 
5029
  fi
 
5030
  rm -f conftest.er1 conftest.err
 
5031
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5032
  test $ac_status = 0; }
 
5033
done
 
5034
 
 
5035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
5036
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
5037
if ${ac_cv_c_compiler_gnu+:} false; then :
 
5038
  $as_echo_n "(cached) " >&6
 
5039
else
 
5040
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5041
/* end confdefs.h.  */
 
5042
 
 
5043
int
 
5044
main ()
 
5045
{
 
5046
#ifndef __GNUC__
 
5047
       choke me
 
5048
#endif
 
5049
 
 
5050
  ;
 
5051
  return 0;
 
5052
}
 
5053
_ACEOF
 
5054
if ac_fn_c_try_compile "$LINENO"; then :
 
5055
  ac_compiler_gnu=yes
 
5056
else
 
5057
  ac_compiler_gnu=no
 
5058
fi
 
5059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5060
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
5061
 
 
5062
fi
 
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
5064
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5065
if test $ac_compiler_gnu = yes; then
 
5066
  GCC=yes
 
5067
else
 
5068
  GCC=
 
5069
fi
 
5070
ac_test_CFLAGS=${CFLAGS+set}
 
5071
ac_save_CFLAGS=$CFLAGS
 
5072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
5073
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
5074
if ${ac_cv_prog_cc_g+:} false; then :
 
5075
  $as_echo_n "(cached) " >&6
 
5076
else
 
5077
  ac_save_c_werror_flag=$ac_c_werror_flag
 
5078
   ac_c_werror_flag=yes
 
5079
   ac_cv_prog_cc_g=no
 
5080
   CFLAGS="-g"
 
5081
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5082
/* end confdefs.h.  */
 
5083
 
 
5084
int
 
5085
main ()
 
5086
{
 
5087
 
 
5088
  ;
 
5089
  return 0;
 
5090
}
 
5091
_ACEOF
 
5092
if ac_fn_c_try_compile "$LINENO"; then :
 
5093
  ac_cv_prog_cc_g=yes
 
5094
else
 
5095
  CFLAGS=""
 
5096
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5097
/* end confdefs.h.  */
 
5098
 
 
5099
int
 
5100
main ()
 
5101
{
 
5102
 
 
5103
  ;
 
5104
  return 0;
 
5105
}
 
5106
_ACEOF
 
5107
if ac_fn_c_try_compile "$LINENO"; then :
 
5108
 
 
5109
else
 
5110
  ac_c_werror_flag=$ac_save_c_werror_flag
 
5111
         CFLAGS="-g"
 
5112
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5113
/* end confdefs.h.  */
 
5114
 
 
5115
int
 
5116
main ()
 
5117
{
 
5118
 
 
5119
  ;
 
5120
  return 0;
 
5121
}
 
5122
_ACEOF
 
5123
if ac_fn_c_try_compile "$LINENO"; then :
 
5124
  ac_cv_prog_cc_g=yes
 
5125
fi
 
5126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5127
fi
 
5128
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5129
fi
 
5130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5131
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5132
fi
 
5133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
5134
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
5135
if test "$ac_test_CFLAGS" = set; then
 
5136
  CFLAGS=$ac_save_CFLAGS
 
5137
elif test $ac_cv_prog_cc_g = yes; then
 
5138
  if test "$GCC" = yes; then
 
5139
    CFLAGS="-g -O2"
 
5140
  else
 
5141
    CFLAGS="-g"
 
5142
  fi
 
5143
else
 
5144
  if test "$GCC" = yes; then
 
5145
    CFLAGS="-O2"
 
5146
  else
 
5147
    CFLAGS=
 
5148
  fi
 
5149
fi
 
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5151
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5152
if ${ac_cv_prog_cc_c89+:} false; then :
 
5153
  $as_echo_n "(cached) " >&6
 
5154
else
 
5155
  ac_cv_prog_cc_c89=no
 
5156
ac_save_CC=$CC
 
5157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5158
/* end confdefs.h.  */
 
5159
#include <stdarg.h>
 
5160
#include <stdio.h>
 
5161
#include <sys/types.h>
 
5162
#include <sys/stat.h>
 
5163
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5164
struct buf { int x; };
 
5165
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5166
static char *e (p, i)
 
5167
     char **p;
 
5168
     int i;
 
5169
{
 
5170
  return p[i];
 
5171
}
 
5172
static char *f (char * (*g) (char **, int), char **p, ...)
 
5173
{
 
5174
  char *s;
 
5175
  va_list v;
 
5176
  va_start (v,p);
 
5177
  s = g (p, va_arg (v,int));
 
5178
  va_end (v);
 
5179
  return s;
 
5180
}
 
5181
 
 
5182
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5183
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5184
   These don't provoke an error unfortunately, instead are silently treated
 
5185
   as 'x'.  The following induces an error, until -std is added to get
 
5186
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5187
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5188
   that's true only with -std.  */
 
5189
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5190
 
 
5191
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5192
   inside strings and character constants.  */
 
5193
#define FOO(x) 'x'
 
5194
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5195
 
 
5196
int test (int i, double x);
 
5197
struct s1 {int (*f) (int a);};
 
5198
struct s2 {int (*f) (double a);};
 
5199
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5200
int argc;
 
5201
char **argv;
 
5202
int
 
5203
main ()
 
5204
{
 
5205
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5206
  ;
 
5207
  return 0;
 
5208
}
 
5209
_ACEOF
 
5210
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5211
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5212
do
 
5213
  CC="$ac_save_CC $ac_arg"
 
5214
  if ac_fn_c_try_compile "$LINENO"; then :
 
5215
  ac_cv_prog_cc_c89=$ac_arg
 
5216
fi
 
5217
rm -f core conftest.err conftest.$ac_objext
 
5218
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5219
done
 
5220
rm -f conftest.$ac_ext
 
5221
CC=$ac_save_CC
 
5222
 
 
5223
fi
 
5224
# AC_CACHE_VAL
 
5225
case "x$ac_cv_prog_cc_c89" in
 
5226
  x)
 
5227
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5228
$as_echo "none needed" >&6; } ;;
 
5229
  xno)
 
5230
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5231
$as_echo "unsupported" >&6; } ;;
 
5232
  *)
 
5233
    CC="$CC $ac_cv_prog_cc_c89"
 
5234
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5235
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5236
esac
 
5237
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5238
 
 
5239
fi
 
5240
 
 
5241
ac_ext=c
 
5242
ac_cpp='$CPP $CPPFLAGS'
 
5243
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5244
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5245
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5246
 
 
5247
depcc="$CC"   am_compiler_list=
 
5248
 
 
5249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5250
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5251
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
5252
  $as_echo_n "(cached) " >&6
 
5253
else
 
5254
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5255
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5256
  # making bogus files that we don't know about and never remove.  For
 
5257
  # instance it was reported that on HP-UX the gcc test will end up
 
5258
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5259
  # in D'.
 
5260
  rm -rf conftest.dir
 
5261
  mkdir conftest.dir
 
5262
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5263
  # using a relative directory.
 
5264
  cp "$am_depcomp" conftest.dir
 
5265
  cd conftest.dir
 
5266
  # We will build objects and dependencies in a subdirectory because
 
5267
  # it helps to detect inapplicable dependency modes.  For instance
 
5268
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5269
  # side effect of compilation, but ICC will put the dependencies in
 
5270
  # the current directory while Tru64 will put them in the object
 
5271
  # directory.
 
5272
  mkdir sub
 
5273
 
 
5274
  am_cv_CC_dependencies_compiler_type=none
 
5275
  if test "$am_compiler_list" = ""; then
 
5276
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5277
  fi
 
5278
  am__universal=false
 
5279
  case " $depcc " in #(
 
5280
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5281
     esac
 
5282
 
 
5283
  for depmode in $am_compiler_list; do
 
5284
    # Setup a source with many dependencies, because some compilers
 
5285
    # like to wrap large dependency lists on column 80 (with \), and
 
5286
    # we should not choose a depcomp mode which is confused by this.
 
5287
    #
 
5288
    # We need to recreate these files for each test, as the compiler may
 
5289
    # overwrite some of them when testing with obscure command lines.
 
5290
    # This happens at least with the AIX C compiler.
 
5291
    : > sub/conftest.c
 
5292
    for i in 1 2 3 4 5 6; do
 
5293
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5294
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5295
      # Solaris 8's {/usr,}/bin/sh.
 
5296
      touch sub/conftst$i.h
 
5297
    done
 
5298
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5299
 
 
5300
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5301
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5302
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5303
    # versions had trouble with output in subdirs
 
5304
    am__obj=sub/conftest.${OBJEXT-o}
 
5305
    am__minus_obj="-o $am__obj"
 
5306
    case $depmode in
 
5307
    gcc)
 
5308
      # This depmode causes a compiler race in universal mode.
 
5309
      test "$am__universal" = false || continue
 
5310
      ;;
 
5311
    nosideeffect)
 
5312
      # after this tag, mechanisms are not by side-effect, so they'll
 
5313
      # only be used when explicitly requested
 
5314
      if test "x$enable_dependency_tracking" = xyes; then
 
5315
        continue
 
5316
      else
 
5317
        break
 
5318
      fi
 
5319
      ;;
 
5320
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
5321
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5322
      # not run yet.  These depmodes are late enough in the game, and
 
5323
      # so weak that their functioning should not be impacted.
 
5324
      am__obj=conftest.${OBJEXT-o}
 
5325
      am__minus_obj=
 
5326
      ;;
 
5327
    none) break ;;
 
5328
    esac
 
5329
    if depmode=$depmode \
 
5330
       source=sub/conftest.c object=$am__obj \
 
5331
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5332
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
5333
         >/dev/null 2>conftest.err &&
 
5334
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5335
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5336
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
5337
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5338
      # icc doesn't choke on unknown options, it will just issue warnings
 
5339
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5340
      # that says an option was ignored or not supported.
 
5341
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5342
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5343
      # The diagnosis changed in icc 8.0:
 
5344
      #   icc: Command line remark: option '-MP' not supported
 
5345
      if (grep 'ignoring option' conftest.err ||
 
5346
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5347
        am_cv_CC_dependencies_compiler_type=$depmode
 
5348
        break
 
5349
      fi
 
5350
    fi
 
5351
  done
 
5352
 
 
5353
  cd ..
 
5354
  rm -rf conftest.dir
 
5355
else
 
5356
  am_cv_CC_dependencies_compiler_type=none
 
5357
fi
 
5358
 
 
5359
fi
 
5360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5361
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5362
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5363
 
 
5364
 if
 
5365
  test "x$enable_dependency_tracking" != xno \
 
5366
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5367
  am__fastdepCC_TRUE=
 
5368
  am__fastdepCC_FALSE='#'
 
5369
else
 
5370
  am__fastdepCC_TRUE='#'
 
5371
  am__fastdepCC_FALSE=
 
5372
fi
 
5373
 
 
5374
 
 
5375
if test "x$CC" != xcc; then
 
5376
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
5377
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
5378
else
 
5379
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
5380
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
5381
fi
 
5382
set dummy $CC; ac_cc=`$as_echo "$2" |
 
5383
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5384
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
5385
  $as_echo_n "(cached) " >&6
 
5386
else
 
5387
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5388
/* end confdefs.h.  */
 
5389
 
 
5390
int
 
5391
main ()
 
5392
{
 
5393
 
 
5394
  ;
 
5395
  return 0;
 
5396
}
 
5397
_ACEOF
 
5398
# Make sure it works both with $CC and with simple cc.
 
5399
# We do the test twice because some compilers refuse to overwrite an
 
5400
# existing .o file with -o, though they will create one.
 
5401
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5402
rm -f conftest2.*
 
5403
if { { case "(($ac_try" in
 
5404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5405
  *) ac_try_echo=$ac_try;;
 
5406
esac
 
5407
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5408
$as_echo "$ac_try_echo"; } >&5
 
5409
  (eval "$ac_try") 2>&5
 
5410
  ac_status=$?
 
5411
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5412
  test $ac_status = 0; } &&
 
5413
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5415
  *) ac_try_echo=$ac_try;;
 
5416
esac
 
5417
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5418
$as_echo "$ac_try_echo"; } >&5
 
5419
  (eval "$ac_try") 2>&5
 
5420
  ac_status=$?
 
5421
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5422
  test $ac_status = 0; };
 
5423
then
 
5424
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
5425
  if test "x$CC" != xcc; then
 
5426
    # Test first that cc exists at all.
 
5427
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
5428
  { { case "(($ac_try" in
 
5429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5430
  *) ac_try_echo=$ac_try;;
 
5431
esac
 
5432
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5433
$as_echo "$ac_try_echo"; } >&5
 
5434
  (eval "$ac_try") 2>&5
 
5435
  ac_status=$?
 
5436
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5437
  test $ac_status = 0; }; }; then
 
5438
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5439
      rm -f conftest2.*
 
5440
      if { { case "(($ac_try" in
 
5441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5442
  *) ac_try_echo=$ac_try;;
 
5443
esac
 
5444
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5445
$as_echo "$ac_try_echo"; } >&5
 
5446
  (eval "$ac_try") 2>&5
 
5447
  ac_status=$?
 
5448
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5449
  test $ac_status = 0; } &&
 
5450
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5452
  *) ac_try_echo=$ac_try;;
 
5453
esac
 
5454
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5455
$as_echo "$ac_try_echo"; } >&5
 
5456
  (eval "$ac_try") 2>&5
 
5457
  ac_status=$?
 
5458
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5459
  test $ac_status = 0; };
 
5460
      then
 
5461
        # cc works too.
 
5462
        :
 
5463
      else
 
5464
        # cc exists but doesn't like -o.
 
5465
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5466
      fi
 
5467
    fi
 
5468
  fi
 
5469
else
 
5470
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5471
fi
 
5472
rm -f core conftest*
 
5473
 
 
5474
fi
 
5475
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
5476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5477
$as_echo "yes" >&6; }
 
5478
else
 
5479
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5480
$as_echo "no" >&6; }
 
5481
 
 
5482
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
5483
 
 
5484
fi
 
5485
 
 
5486
# FIXME: we rely on the cache variable name because
 
5487
# there is no other way.
 
5488
set dummy $CC
 
5489
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5490
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
5491
if test "$am_t" != yes; then
 
5492
   # Losing compiler, so override with the script.
 
5493
   # FIXME: It is wrong to rewrite CC.
 
5494
   # But if we don't then we get into trouble of one sort or another.
 
5495
   # A longer-term fix would be to have automake use am__CC in this case,
 
5496
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
5497
   CC="$am_aux_dir/compile $CC"
 
5498
fi
 
5499
 
 
5500
 
 
5501
ac_ext=c
 
5502
ac_cpp='$CPP $CPPFLAGS'
 
5503
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5504
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5505
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
5507
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
5508
# On Suns, sometimes $CPP names a directory.
 
5509
if test -n "$CPP" && test -d "$CPP"; then
 
5510
  CPP=
 
5511
fi
 
5512
if test -z "$CPP"; then
 
5513
  if ${ac_cv_prog_CPP+:} false; then :
 
5514
  $as_echo_n "(cached) " >&6
 
5515
else
 
5516
      # Double quotes because CPP needs to be expanded
 
5517
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
5518
    do
 
5519
      ac_preproc_ok=false
 
5520
for ac_c_preproc_warn_flag in '' yes
 
5521
do
 
5522
  # Use a header file that comes with gcc, so configuring glibc
 
5523
  # with a fresh cross-compiler works.
 
5524
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5525
  # <limits.h> exists even on freestanding compilers.
 
5526
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5527
  # not just through cpp. "Syntax error" is here to catch this case.
 
5528
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5529
/* end confdefs.h.  */
 
5530
#ifdef __STDC__
 
5531
# include <limits.h>
 
5532
#else
 
5533
# include <assert.h>
 
5534
#endif
 
5535
                     Syntax error
 
5536
_ACEOF
 
5537
if ac_fn_c_try_cpp "$LINENO"; then :
 
5538
 
 
5539
else
 
5540
  # Broken: fails on valid input.
 
5541
continue
 
5542
fi
 
5543
rm -f conftest.err conftest.i conftest.$ac_ext
 
5544
 
 
5545
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5546
  # can be detected and how.
 
5547
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5548
/* end confdefs.h.  */
 
5549
#include <ac_nonexistent.h>
 
5550
_ACEOF
 
5551
if ac_fn_c_try_cpp "$LINENO"; then :
 
5552
  # Broken: success on invalid input.
 
5553
continue
 
5554
else
 
5555
  # Passes both tests.
 
5556
ac_preproc_ok=:
 
5557
break
 
5558
fi
 
5559
rm -f conftest.err conftest.i conftest.$ac_ext
 
5560
 
 
5561
done
 
5562
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5563
rm -f conftest.i conftest.err conftest.$ac_ext
 
5564
if $ac_preproc_ok; then :
 
5565
  break
 
5566
fi
 
5567
 
 
5568
    done
 
5569
    ac_cv_prog_CPP=$CPP
 
5570
 
 
5571
fi
 
5572
  CPP=$ac_cv_prog_CPP
 
5573
else
 
5574
  ac_cv_prog_CPP=$CPP
 
5575
fi
 
5576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
5577
$as_echo "$CPP" >&6; }
 
5578
ac_preproc_ok=false
 
5579
for ac_c_preproc_warn_flag in '' yes
 
5580
do
 
5581
  # Use a header file that comes with gcc, so configuring glibc
 
5582
  # with a fresh cross-compiler works.
 
5583
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5584
  # <limits.h> exists even on freestanding compilers.
 
5585
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5586
  # not just through cpp. "Syntax error" is here to catch this case.
 
5587
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5588
/* end confdefs.h.  */
 
5589
#ifdef __STDC__
 
5590
# include <limits.h>
 
5591
#else
 
5592
# include <assert.h>
 
5593
#endif
 
5594
                     Syntax error
 
5595
_ACEOF
 
5596
if ac_fn_c_try_cpp "$LINENO"; then :
 
5597
 
 
5598
else
 
5599
  # Broken: fails on valid input.
 
5600
continue
 
5601
fi
 
5602
rm -f conftest.err conftest.i conftest.$ac_ext
 
5603
 
 
5604
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5605
  # can be detected and how.
 
5606
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5607
/* end confdefs.h.  */
 
5608
#include <ac_nonexistent.h>
 
5609
_ACEOF
 
5610
if ac_fn_c_try_cpp "$LINENO"; then :
 
5611
  # Broken: success on invalid input.
 
5612
continue
 
5613
else
 
5614
  # Passes both tests.
 
5615
ac_preproc_ok=:
 
5616
break
 
5617
fi
 
5618
rm -f conftest.err conftest.i conftest.$ac_ext
 
5619
 
 
5620
done
 
5621
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5622
rm -f conftest.i conftest.err conftest.$ac_ext
 
5623
if $ac_preproc_ok; then :
 
5624
 
 
5625
else
 
5626
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5627
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5628
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5629
See \`config.log' for more details" "$LINENO" 5; }
 
5630
fi
 
5631
 
 
5632
ac_ext=c
 
5633
ac_cpp='$CPP $CPPFLAGS'
 
5634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5635
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5636
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5637
 
 
5638
 
 
5639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5640
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5641
if ${ac_cv_path_GREP+:} false; then :
 
5642
  $as_echo_n "(cached) " >&6
 
5643
else
 
5644
  if test -z "$GREP"; then
 
5645
  ac_path_GREP_found=false
 
5646
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5647
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5648
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5649
do
 
5650
  IFS=$as_save_IFS
 
5651
  test -z "$as_dir" && as_dir=.
 
5652
    for ac_prog in grep ggrep; do
 
5653
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5654
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5655
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5656
# Check for GNU ac_path_GREP and select it if it is found.
 
5657
  # Check for GNU $ac_path_GREP
 
5658
case `"$ac_path_GREP" --version 2>&1` in
 
5659
*GNU*)
 
5660
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5661
*)
 
5662
  ac_count=0
 
5663
  $as_echo_n 0123456789 >"conftest.in"
 
5664
  while :
 
5665
  do
 
5666
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5667
    mv "conftest.tmp" "conftest.in"
 
5668
    cp "conftest.in" "conftest.nl"
 
5669
    $as_echo 'GREP' >> "conftest.nl"
 
5670
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5671
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5672
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5673
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5674
      # Best one so far, save it but keep looking for a better one
 
5675
      ac_cv_path_GREP="$ac_path_GREP"
 
5676
      ac_path_GREP_max=$ac_count
 
5677
    fi
 
5678
    # 10*(2^10) chars as input seems more than enough
 
5679
    test $ac_count -gt 10 && break
 
5680
  done
 
5681
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5682
esac
 
5683
 
 
5684
      $ac_path_GREP_found && break 3
 
5685
    done
 
5686
  done
 
5687
  done
 
5688
IFS=$as_save_IFS
 
5689
  if test -z "$ac_cv_path_GREP"; then
 
5690
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5691
  fi
 
5692
else
 
5693
  ac_cv_path_GREP=$GREP
 
5694
fi
 
5695
 
 
5696
fi
 
5697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5698
$as_echo "$ac_cv_path_GREP" >&6; }
 
5699
 GREP="$ac_cv_path_GREP"
 
5700
 
 
5701
 
 
5702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5703
$as_echo_n "checking for egrep... " >&6; }
 
5704
if ${ac_cv_path_EGREP+:} false; then :
 
5705
  $as_echo_n "(cached) " >&6
 
5706
else
 
5707
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5708
   then ac_cv_path_EGREP="$GREP -E"
 
5709
   else
 
5710
     if test -z "$EGREP"; then
 
5711
  ac_path_EGREP_found=false
 
5712
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5713
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5714
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5715
do
 
5716
  IFS=$as_save_IFS
 
5717
  test -z "$as_dir" && as_dir=.
 
5718
    for ac_prog in egrep; do
 
5719
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5720
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5721
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5722
# Check for GNU ac_path_EGREP and select it if it is found.
 
5723
  # Check for GNU $ac_path_EGREP
 
5724
case `"$ac_path_EGREP" --version 2>&1` in
 
5725
*GNU*)
 
5726
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5727
*)
 
5728
  ac_count=0
 
5729
  $as_echo_n 0123456789 >"conftest.in"
 
5730
  while :
 
5731
  do
 
5732
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5733
    mv "conftest.tmp" "conftest.in"
 
5734
    cp "conftest.in" "conftest.nl"
 
5735
    $as_echo 'EGREP' >> "conftest.nl"
 
5736
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5737
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5738
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5739
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5740
      # Best one so far, save it but keep looking for a better one
 
5741
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5742
      ac_path_EGREP_max=$ac_count
 
5743
    fi
 
5744
    # 10*(2^10) chars as input seems more than enough
 
5745
    test $ac_count -gt 10 && break
 
5746
  done
 
5747
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5748
esac
 
5749
 
 
5750
      $ac_path_EGREP_found && break 3
 
5751
    done
 
5752
  done
 
5753
  done
 
5754
IFS=$as_save_IFS
 
5755
  if test -z "$ac_cv_path_EGREP"; then
 
5756
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5757
  fi
 
5758
else
 
5759
  ac_cv_path_EGREP=$EGREP
 
5760
fi
 
5761
 
 
5762
   fi
 
5763
fi
 
5764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5765
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5766
 EGREP="$ac_cv_path_EGREP"
 
5767
 
 
5768
 
 
5769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5770
$as_echo_n "checking for ANSI C header files... " >&6; }
 
5771
if ${ac_cv_header_stdc+:} false; then :
 
5772
  $as_echo_n "(cached) " >&6
 
5773
else
 
5774
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5775
/* end confdefs.h.  */
 
5776
#include <stdlib.h>
 
5777
#include <stdarg.h>
 
5778
#include <string.h>
 
5779
#include <float.h>
 
5780
 
 
5781
int
 
5782
main ()
 
5783
{
 
5784
 
 
5785
  ;
 
5786
  return 0;
 
5787
}
 
5788
_ACEOF
 
5789
if ac_fn_c_try_compile "$LINENO"; then :
 
5790
  ac_cv_header_stdc=yes
 
5791
else
 
5792
  ac_cv_header_stdc=no
 
5793
fi
 
5794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5795
 
 
5796
if test $ac_cv_header_stdc = yes; then
 
5797
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
5798
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5799
/* end confdefs.h.  */
 
5800
#include <string.h>
 
5801
 
 
5802
_ACEOF
 
5803
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5804
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5805
 
 
5806
else
 
5807
  ac_cv_header_stdc=no
 
5808
fi
 
5809
rm -f conftest*
 
5810
 
 
5811
fi
 
5812
 
 
5813
if test $ac_cv_header_stdc = yes; then
 
5814
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
5815
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5816
/* end confdefs.h.  */
 
5817
#include <stdlib.h>
 
5818
 
 
5819
_ACEOF
 
5820
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5821
  $EGREP "free" >/dev/null 2>&1; then :
 
5822
 
 
5823
else
 
5824
  ac_cv_header_stdc=no
 
5825
fi
 
5826
rm -f conftest*
 
5827
 
 
5828
fi
 
5829
 
 
5830
if test $ac_cv_header_stdc = yes; then
 
5831
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
5832
  if test "$cross_compiling" = yes; then :
 
5833
  :
 
5834
else
 
5835
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5836
/* end confdefs.h.  */
 
5837
#include <ctype.h>
 
5838
#include <stdlib.h>
 
5839
#if ((' ' & 0x0FF) == 0x020)
 
5840
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
5841
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
5842
#else
 
5843
# define ISLOWER(c) \
 
5844
                   (('a' <= (c) && (c) <= 'i') \
 
5845
                     || ('j' <= (c) && (c) <= 'r') \
 
5846
                     || ('s' <= (c) && (c) <= 'z'))
 
5847
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
5848
#endif
 
5849
 
 
5850
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
5851
int
 
5852
main ()
 
5853
{
 
5854
  int i;
 
5855
  for (i = 0; i < 256; i++)
 
5856
    if (XOR (islower (i), ISLOWER (i))
 
5857
        || toupper (i) != TOUPPER (i))
 
5858
      return 2;
 
5859
  return 0;
 
5860
}
 
5861
_ACEOF
 
5862
if ac_fn_c_try_run "$LINENO"; then :
 
5863
 
 
5864
else
 
5865
  ac_cv_header_stdc=no
 
5866
fi
 
5867
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5868
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5869
fi
 
5870
 
 
5871
fi
 
5872
fi
 
5873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5874
$as_echo "$ac_cv_header_stdc" >&6; }
 
5875
if test $ac_cv_header_stdc = yes; then
 
5876
 
 
5877
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
5878
 
 
5879
fi
 
5880
 
 
5881
case `pwd` in
 
5882
  *\ * | *\     *)
 
5883
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5884
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5885
esac
 
5886
 
 
5887
 
 
5888
 
 
5889
macro_version='2.4.2'
 
5890
macro_revision='1.3337'
 
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
 
 
5896
 
 
5897
 
 
5898
 
 
5899
 
 
5900
 
 
5901
 
 
5902
 
 
5903
 
 
5904
ltmain="$ac_aux_dir/ltmain.sh"
 
5905
 
 
5906
# Make sure we can run config.sub.
 
5907
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
5908
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
5909
 
 
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
5911
$as_echo_n "checking build system type... " >&6; }
 
5912
if ${ac_cv_build+:} false; then :
 
5913
  $as_echo_n "(cached) " >&6
 
5914
else
 
5915
  ac_build_alias=$build_alias
 
5916
test "x$ac_build_alias" = x &&
 
5917
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
5918
test "x$ac_build_alias" = x &&
 
5919
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
5920
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
5921
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
5922
 
 
5923
fi
 
5924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
5925
$as_echo "$ac_cv_build" >&6; }
 
5926
case $ac_cv_build in
 
5927
*-*-*) ;;
 
5928
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
5929
esac
 
5930
build=$ac_cv_build
 
5931
ac_save_IFS=$IFS; IFS='-'
 
5932
set x $ac_cv_build
 
5933
shift
 
5934
build_cpu=$1
 
5935
build_vendor=$2
 
5936
shift; shift
 
5937
# Remember, the first character of IFS is used to create $*,
 
5938
# except with old shells:
 
5939
build_os=$*
 
5940
IFS=$ac_save_IFS
 
5941
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
5942
 
 
5943
 
 
5944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
5945
$as_echo_n "checking host system type... " >&6; }
 
5946
if ${ac_cv_host+:} false; then :
 
5947
  $as_echo_n "(cached) " >&6
 
5948
else
 
5949
  if test "x$host_alias" = x; then
 
5950
  ac_cv_host=$ac_cv_build
 
5951
else
 
5952
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
5953
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
5954
fi
 
5955
 
 
5956
fi
 
5957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
5958
$as_echo "$ac_cv_host" >&6; }
 
5959
case $ac_cv_host in
 
5960
*-*-*) ;;
 
5961
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
5962
esac
 
5963
host=$ac_cv_host
 
5964
ac_save_IFS=$IFS; IFS='-'
 
5965
set x $ac_cv_host
 
5966
shift
 
5967
host_cpu=$1
 
5968
host_vendor=$2
 
5969
shift; shift
 
5970
# Remember, the first character of IFS is used to create $*,
 
5971
# except with old shells:
 
5972
host_os=$*
 
5973
IFS=$ac_save_IFS
 
5974
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
5975
 
 
5976
 
 
5977
# Backslashify metacharacters that are still active within
 
5978
# double-quoted strings.
 
5979
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5980
 
 
5981
# Same as above, but do not quote variable references.
 
5982
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5983
 
 
5984
# Sed substitution to delay expansion of an escaped shell variable in a
 
5985
# double_quote_subst'ed string.
 
5986
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5987
 
 
5988
# Sed substitution to delay expansion of an escaped single quote.
 
5989
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5990
 
 
5991
# Sed substitution to avoid accidental globbing in evaled expressions
 
5992
no_glob_subst='s/\*/\\\*/g'
 
5993
 
 
5994
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5995
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5996
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5997
 
 
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5999
$as_echo_n "checking how to print strings... " >&6; }
 
6000
# Test print first, because it will be a builtin if present.
 
6001
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
6002
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6003
  ECHO='print -r --'
 
6004
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6005
  ECHO='printf %s\n'
 
6006
else
 
6007
  # Use this function as a fallback that always works.
 
6008
  func_fallback_echo ()
 
6009
  {
 
6010
    eval 'cat <<_LTECHO_EOF
 
6011
$1
 
6012
_LTECHO_EOF'
 
6013
  }
 
6014
  ECHO='func_fallback_echo'
 
6015
fi
 
6016
 
 
6017
# func_echo_all arg...
 
6018
# Invoke $ECHO with all args, space-separated.
 
6019
func_echo_all ()
 
6020
{
 
6021
    $ECHO ""
 
6022
}
 
6023
 
 
6024
case "$ECHO" in
 
6025
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
6026
$as_echo "printf" >&6; } ;;
 
6027
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
6028
$as_echo "print -r" >&6; } ;;
 
6029
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
6030
$as_echo "cat" >&6; } ;;
 
6031
esac
 
6032
 
 
6033
 
 
6034
 
 
6035
 
 
6036
 
 
6037
 
 
6038
 
 
6039
 
 
6040
 
 
6041
 
 
6042
 
 
6043
 
 
6044
 
 
6045
 
 
6046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
6047
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
6048
if ${ac_cv_path_SED+:} false; then :
 
6049
  $as_echo_n "(cached) " >&6
 
6050
else
 
6051
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
6052
     for ac_i in 1 2 3 4 5 6 7; do
 
6053
       ac_script="$ac_script$as_nl$ac_script"
 
6054
     done
 
6055
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
6056
     { ac_script=; unset ac_script;}
 
6057
     if test -z "$SED"; then
 
6058
  ac_path_SED_found=false
 
6059
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6060
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6061
for as_dir in $PATH
 
6062
do
 
6063
  IFS=$as_save_IFS
 
6064
  test -z "$as_dir" && as_dir=.
 
6065
    for ac_prog in sed gsed; do
 
6066
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6067
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6068
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
6069
# Check for GNU ac_path_SED and select it if it is found.
 
6070
  # Check for GNU $ac_path_SED
 
6071
case `"$ac_path_SED" --version 2>&1` in
 
6072
*GNU*)
 
6073
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
6074
*)
 
6075
  ac_count=0
 
6076
  $as_echo_n 0123456789 >"conftest.in"
 
6077
  while :
 
6078
  do
 
6079
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6080
    mv "conftest.tmp" "conftest.in"
 
6081
    cp "conftest.in" "conftest.nl"
 
6082
    $as_echo '' >> "conftest.nl"
 
6083
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6084
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6085
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6086
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
6087
      # Best one so far, save it but keep looking for a better one
 
6088
      ac_cv_path_SED="$ac_path_SED"
 
6089
      ac_path_SED_max=$ac_count
 
6090
    fi
 
6091
    # 10*(2^10) chars as input seems more than enough
 
6092
    test $ac_count -gt 10 && break
 
6093
  done
 
6094
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6095
esac
 
6096
 
 
6097
      $ac_path_SED_found && break 3
 
6098
    done
 
6099
  done
 
6100
  done
 
6101
IFS=$as_save_IFS
 
6102
  if test -z "$ac_cv_path_SED"; then
 
6103
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
6104
  fi
 
6105
else
 
6106
  ac_cv_path_SED=$SED
 
6107
fi
 
6108
 
 
6109
fi
 
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
6111
$as_echo "$ac_cv_path_SED" >&6; }
 
6112
 SED="$ac_cv_path_SED"
 
6113
  rm -f conftest.sed
 
6114
 
 
6115
test -z "$SED" && SED=sed
 
6116
Xsed="$SED -e 1s/^X//"
 
6117
 
 
6118
 
 
6119
 
 
6120
 
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
 
6126
 
 
6127
 
 
6128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
6129
$as_echo_n "checking for fgrep... " >&6; }
 
6130
if ${ac_cv_path_FGREP+:} false; then :
 
6131
  $as_echo_n "(cached) " >&6
 
6132
else
 
6133
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6134
   then ac_cv_path_FGREP="$GREP -F"
 
6135
   else
 
6136
     if test -z "$FGREP"; then
 
6137
  ac_path_FGREP_found=false
 
6138
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6139
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6140
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6141
do
 
6142
  IFS=$as_save_IFS
 
6143
  test -z "$as_dir" && as_dir=.
 
6144
    for ac_prog in fgrep; do
 
6145
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6146
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6147
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6148
# Check for GNU ac_path_FGREP and select it if it is found.
 
6149
  # Check for GNU $ac_path_FGREP
 
6150
case `"$ac_path_FGREP" --version 2>&1` in
 
6151
*GNU*)
 
6152
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6153
*)
 
6154
  ac_count=0
 
6155
  $as_echo_n 0123456789 >"conftest.in"
 
6156
  while :
 
6157
  do
 
6158
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6159
    mv "conftest.tmp" "conftest.in"
 
6160
    cp "conftest.in" "conftest.nl"
 
6161
    $as_echo 'FGREP' >> "conftest.nl"
 
6162
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6163
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6164
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6165
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6166
      # Best one so far, save it but keep looking for a better one
 
6167
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6168
      ac_path_FGREP_max=$ac_count
 
6169
    fi
 
6170
    # 10*(2^10) chars as input seems more than enough
 
6171
    test $ac_count -gt 10 && break
 
6172
  done
 
6173
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6174
esac
 
6175
 
 
6176
      $ac_path_FGREP_found && break 3
 
6177
    done
 
6178
  done
 
6179
  done
 
6180
IFS=$as_save_IFS
 
6181
  if test -z "$ac_cv_path_FGREP"; then
 
6182
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6183
  fi
 
6184
else
 
6185
  ac_cv_path_FGREP=$FGREP
 
6186
fi
 
6187
 
 
6188
   fi
 
6189
fi
 
6190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
6191
$as_echo "$ac_cv_path_FGREP" >&6; }
 
6192
 FGREP="$ac_cv_path_FGREP"
 
6193
 
 
6194
 
 
6195
test -z "$GREP" && GREP=grep
 
6196
 
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
 
 
6203
 
 
6204
 
 
6205
 
 
6206
 
 
6207
 
 
6208
 
 
6209
 
 
6210
 
 
6211
 
 
6212
 
 
6213
 
 
6214
 
 
6215
# Check whether --with-gnu-ld was given.
 
6216
if test "${with_gnu_ld+set}" = set; then :
 
6217
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
6218
else
 
6219
  with_gnu_ld=no
 
6220
fi
 
6221
 
 
6222
ac_prog=ld
 
6223
if test "$GCC" = yes; then
 
6224
  # Check if gcc -print-prog-name=ld gives a path.
 
6225
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
6226
$as_echo_n "checking for ld used by $CC... " >&6; }
 
6227
  case $host in
 
6228
  *-*-mingw*)
 
6229
    # gcc leaves a trailing carriage return which upsets mingw
 
6230
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
6231
  *)
 
6232
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
6233
  esac
 
6234
  case $ac_prog in
 
6235
    # Accept absolute paths.
 
6236
    [\\/]* | ?:[\\/]*)
 
6237
      re_direlt='/[^/][^/]*/\.\./'
 
6238
      # Canonicalize the pathname of ld
 
6239
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6240
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6241
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
6242
      done
 
6243
      test -z "$LD" && LD="$ac_prog"
 
6244
      ;;
 
6245
  "")
 
6246
    # If it fails, then pretend we aren't using GCC.
 
6247
    ac_prog=ld
 
6248
    ;;
 
6249
  *)
 
6250
    # If it is relative, then search for the first ld in PATH.
 
6251
    with_gnu_ld=unknown
 
6252
    ;;
 
6253
  esac
 
6254
elif test "$with_gnu_ld" = yes; then
 
6255
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
6256
$as_echo_n "checking for GNU ld... " >&6; }
 
6257
else
 
6258
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
6259
$as_echo_n "checking for non-GNU ld... " >&6; }
 
6260
fi
 
6261
if ${lt_cv_path_LD+:} false; then :
 
6262
  $as_echo_n "(cached) " >&6
 
6263
else
 
6264
  if test -z "$LD"; then
 
6265
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6266
  for ac_dir in $PATH; do
 
6267
    IFS="$lt_save_ifs"
 
6268
    test -z "$ac_dir" && ac_dir=.
 
6269
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
6270
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
6271
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
6272
      # but apparently some variants of GNU ld only accept -v.
 
6273
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
6274
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
6275
      *GNU* | *'with BFD'*)
 
6276
        test "$with_gnu_ld" != no && break
 
6277
        ;;
 
6278
      *)
 
6279
        test "$with_gnu_ld" != yes && break
 
6280
        ;;
 
6281
      esac
 
6282
    fi
 
6283
  done
 
6284
  IFS="$lt_save_ifs"
 
6285
else
 
6286
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
6287
fi
 
6288
fi
 
6289
 
 
6290
LD="$lt_cv_path_LD"
 
6291
if test -n "$LD"; then
 
6292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
6293
$as_echo "$LD" >&6; }
 
6294
else
 
6295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6296
$as_echo "no" >&6; }
 
6297
fi
 
6298
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
6300
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
6301
if ${lt_cv_prog_gnu_ld+:} false; then :
 
6302
  $as_echo_n "(cached) " >&6
 
6303
else
 
6304
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
6305
case `$LD -v 2>&1 </dev/null` in
 
6306
*GNU* | *'with BFD'*)
 
6307
  lt_cv_prog_gnu_ld=yes
 
6308
  ;;
 
6309
*)
 
6310
  lt_cv_prog_gnu_ld=no
 
6311
  ;;
 
6312
esac
 
6313
fi
 
6314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
6315
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
6316
with_gnu_ld=$lt_cv_prog_gnu_ld
 
6317
 
 
6318
 
 
6319
 
 
6320
 
 
6321
 
 
6322
 
 
6323
 
 
6324
 
 
6325
 
 
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6327
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6328
if ${lt_cv_path_NM+:} false; then :
 
6329
  $as_echo_n "(cached) " >&6
 
6330
else
 
6331
  if test -n "$NM"; then
 
6332
  # Let the user override the test.
 
6333
  lt_cv_path_NM="$NM"
 
6334
else
 
6335
  lt_nm_to_check="${ac_tool_prefix}nm"
 
6336
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
6337
    lt_nm_to_check="$lt_nm_to_check nm"
 
6338
  fi
 
6339
  for lt_tmp_nm in $lt_nm_to_check; do
 
6340
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6341
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
6342
      IFS="$lt_save_ifs"
 
6343
      test -z "$ac_dir" && ac_dir=.
 
6344
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
6345
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
6346
        # Check to see if the nm accepts a BSD-compat flag.
 
6347
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
6348
        #   nm: unknown option "B" ignored
 
6349
        # Tru64's nm complains that /dev/null is an invalid object file
 
6350
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
6351
        */dev/null* | *'Invalid file or object type'*)
 
6352
          lt_cv_path_NM="$tmp_nm -B"
 
6353
          break
 
6354
          ;;
 
6355
        *)
 
6356
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
6357
          */dev/null*)
 
6358
            lt_cv_path_NM="$tmp_nm -p"
 
6359
            break
 
6360
            ;;
 
6361
          *)
 
6362
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
6363
            continue # so that we can try to find one that supports BSD flags
 
6364
            ;;
 
6365
          esac
 
6366
          ;;
 
6367
        esac
 
6368
      fi
 
6369
    done
 
6370
    IFS="$lt_save_ifs"
 
6371
  done
 
6372
  : ${lt_cv_path_NM=no}
 
6373
fi
 
6374
fi
 
6375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
6376
$as_echo "$lt_cv_path_NM" >&6; }
 
6377
if test "$lt_cv_path_NM" != "no"; then
 
6378
  NM="$lt_cv_path_NM"
 
6379
else
 
6380
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6381
  if test -n "$DUMPBIN"; then :
 
6382
    # Let the user override the test.
 
6383
  else
 
6384
    if test -n "$ac_tool_prefix"; then
 
6385
  for ac_prog in dumpbin "link -dump"
 
6386
  do
 
6387
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6388
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6390
$as_echo_n "checking for $ac_word... " >&6; }
 
6391
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
6392
  $as_echo_n "(cached) " >&6
 
6393
else
 
6394
  if test -n "$DUMPBIN"; then
 
6395
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6396
else
 
6397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6398
for as_dir in $PATH
 
6399
do
 
6400
  IFS=$as_save_IFS
 
6401
  test -z "$as_dir" && as_dir=.
 
6402
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6404
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6405
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6406
    break 2
 
6407
  fi
 
6408
done
 
6409
  done
 
6410
IFS=$as_save_IFS
 
6411
 
 
6412
fi
 
6413
fi
 
6414
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6415
if test -n "$DUMPBIN"; then
 
6416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
6417
$as_echo "$DUMPBIN" >&6; }
 
6418
else
 
6419
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6420
$as_echo "no" >&6; }
 
6421
fi
 
6422
 
 
6423
 
 
6424
    test -n "$DUMPBIN" && break
 
6425
  done
 
6426
fi
 
6427
if test -z "$DUMPBIN"; then
 
6428
  ac_ct_DUMPBIN=$DUMPBIN
 
6429
  for ac_prog in dumpbin "link -dump"
 
6430
do
 
6431
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6432
set dummy $ac_prog; ac_word=$2
 
6433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6434
$as_echo_n "checking for $ac_word... " >&6; }
 
6435
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
6436
  $as_echo_n "(cached) " >&6
 
6437
else
 
6438
  if test -n "$ac_ct_DUMPBIN"; then
 
6439
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6440
else
 
6441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6442
for as_dir in $PATH
 
6443
do
 
6444
  IFS=$as_save_IFS
 
6445
  test -z "$as_dir" && as_dir=.
 
6446
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6447
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6448
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6449
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6450
    break 2
 
6451
  fi
 
6452
done
 
6453
  done
 
6454
IFS=$as_save_IFS
 
6455
 
 
6456
fi
 
6457
fi
 
6458
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6459
if test -n "$ac_ct_DUMPBIN"; then
 
6460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6461
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6462
else
 
6463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6464
$as_echo "no" >&6; }
 
6465
fi
 
6466
 
 
6467
 
 
6468
  test -n "$ac_ct_DUMPBIN" && break
 
6469
done
 
6470
 
 
6471
  if test "x$ac_ct_DUMPBIN" = x; then
 
6472
    DUMPBIN=":"
 
6473
  else
 
6474
    case $cross_compiling:$ac_tool_warned in
 
6475
yes:)
 
6476
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6477
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6478
ac_tool_warned=yes ;;
 
6479
esac
 
6480
    DUMPBIN=$ac_ct_DUMPBIN
 
6481
  fi
 
6482
fi
 
6483
 
 
6484
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6485
    *COFF*)
 
6486
      DUMPBIN="$DUMPBIN -symbols"
 
6487
      ;;
 
6488
    *)
 
6489
      DUMPBIN=:
 
6490
      ;;
 
6491
    esac
 
6492
  fi
 
6493
 
 
6494
  if test "$DUMPBIN" != ":"; then
 
6495
    NM="$DUMPBIN"
 
6496
  fi
 
6497
fi
 
6498
test -z "$NM" && NM=nm
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6506
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6507
if ${lt_cv_nm_interface+:} false; then :
 
6508
  $as_echo_n "(cached) " >&6
 
6509
else
 
6510
  lt_cv_nm_interface="BSD nm"
 
6511
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6512
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
6513
  (eval "$ac_compile" 2>conftest.err)
 
6514
  cat conftest.err >&5
 
6515
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6516
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6517
  cat conftest.err >&5
 
6518
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
6519
  cat conftest.out >&5
 
6520
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6521
    lt_cv_nm_interface="MS dumpbin"
 
6522
  fi
 
6523
  rm -f conftest*
 
6524
fi
 
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6526
$as_echo "$lt_cv_nm_interface" >&6; }
 
6527
 
 
6528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
6529
$as_echo_n "checking whether ln -s works... " >&6; }
 
6530
LN_S=$as_ln_s
 
6531
if test "$LN_S" = "ln -s"; then
 
6532
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6533
$as_echo "yes" >&6; }
 
6534
else
 
6535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
6536
$as_echo "no, using $LN_S" >&6; }
 
6537
fi
 
6538
 
 
6539
# find the maximum length of command line arguments
 
6540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6541
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6542
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
6543
  $as_echo_n "(cached) " >&6
 
6544
else
 
6545
    i=0
 
6546
  teststring="ABCD"
 
6547
 
 
6548
  case $build_os in
 
6549
  msdosdjgpp*)
 
6550
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6551
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6552
    # during glob expansion).  Even if it were fixed, the result of this
 
6553
    # check would be larger than it should be.
 
6554
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6555
    ;;
 
6556
 
 
6557
  gnu*)
 
6558
    # Under GNU Hurd, this test is not required because there is
 
6559
    # no limit to the length of command line arguments.
 
6560
    # Libtool will interpret -1 as no limit whatsoever
 
6561
    lt_cv_sys_max_cmd_len=-1;
 
6562
    ;;
 
6563
 
 
6564
  cygwin* | mingw* | cegcc*)
 
6565
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6566
    # about 5 minutes as the teststring grows exponentially.
 
6567
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6568
    # you end up with a "frozen" computer, even though with patience
 
6569
    # the test eventually succeeds (with a max line length of 256k).
 
6570
    # Instead, let's just punt: use the minimum linelength reported by
 
6571
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6572
    lt_cv_sys_max_cmd_len=8192;
 
6573
    ;;
 
6574
 
 
6575
  mint*)
 
6576
    # On MiNT this can take a long time and run out of memory.
 
6577
    lt_cv_sys_max_cmd_len=8192;
 
6578
    ;;
 
6579
 
 
6580
  amigaos*)
 
6581
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6582
    # So we just punt and use a minimum line length of 8192.
 
6583
    lt_cv_sys_max_cmd_len=8192;
 
6584
    ;;
 
6585
 
 
6586
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6587
    # This has been around since 386BSD, at least.  Likely further.
 
6588
    if test -x /sbin/sysctl; then
 
6589
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6590
    elif test -x /usr/sbin/sysctl; then
 
6591
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6592
    else
 
6593
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6594
    fi
 
6595
    # And add a safety zone
 
6596
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6597
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6598
    ;;
 
6599
 
 
6600
  interix*)
 
6601
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6602
    lt_cv_sys_max_cmd_len=196608
 
6603
    ;;
 
6604
 
 
6605
  os2*)
 
6606
    # The test takes a long time on OS/2.
 
6607
    lt_cv_sys_max_cmd_len=8192
 
6608
    ;;
 
6609
 
 
6610
  osf*)
 
6611
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6612
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6613
    # nice to cause kernel panics so lets avoid the loop below.
 
6614
    # First set a reasonable default.
 
6615
    lt_cv_sys_max_cmd_len=16384
 
6616
    #
 
6617
    if test -x /sbin/sysconfig; then
 
6618
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6619
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6620
      esac
 
6621
    fi
 
6622
    ;;
 
6623
  sco3.2v5*)
 
6624
    lt_cv_sys_max_cmd_len=102400
 
6625
    ;;
 
6626
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6627
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6628
    if test -n "$kargmax"; then
 
6629
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6630
    else
 
6631
      lt_cv_sys_max_cmd_len=32768
 
6632
    fi
 
6633
    ;;
 
6634
  *)
 
6635
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6636
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6637
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6638
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6639
    else
 
6640
      # Make teststring a little bigger before we do anything with it.
 
6641
      # a 1K string should be a reasonable start.
 
6642
      for i in 1 2 3 4 5 6 7 8 ; do
 
6643
        teststring=$teststring$teststring
 
6644
      done
 
6645
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6646
      # If test is not a shell built-in, we'll probably end up computing a
 
6647
      # maximum length that is only half of the actual maximum length, but
 
6648
      # we can't tell.
 
6649
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
6650
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
6651
              test $i != 17 # 1/2 MB should be enough
 
6652
      do
 
6653
        i=`expr $i + 1`
 
6654
        teststring=$teststring$teststring
 
6655
      done
 
6656
      # Only check the string length outside the loop.
 
6657
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6658
      teststring=
 
6659
      # Add a significant safety factor because C++ compilers can tack on
 
6660
      # massive amounts of additional arguments before passing them to the
 
6661
      # linker.  It appears as though 1/2 is a usable value.
 
6662
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6663
    fi
 
6664
    ;;
 
6665
  esac
 
6666
 
 
6667
fi
 
6668
 
 
6669
if test -n $lt_cv_sys_max_cmd_len ; then
 
6670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6671
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6672
else
 
6673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6674
$as_echo "none" >&6; }
 
6675
fi
 
6676
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6677
 
 
6678
 
 
6679
 
 
6680
 
 
6681
 
 
6682
 
 
6683
: ${CP="cp -f"}
 
6684
: ${MV="mv -f"}
 
6685
: ${RM="rm -f"}
 
6686
 
 
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6688
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6689
# Try some XSI features
 
6690
xsi_shell=no
 
6691
( _lt_dummy="a/b/c"
 
6692
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6693
      = c,a/b,b/c, \
 
6694
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6695
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6696
  && xsi_shell=yes
 
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6698
$as_echo "$xsi_shell" >&6; }
 
6699
 
 
6700
 
 
6701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6702
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6703
lt_shell_append=no
 
6704
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6705
    >/dev/null 2>&1 \
 
6706
  && lt_shell_append=yes
 
6707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6708
$as_echo "$lt_shell_append" >&6; }
 
6709
 
 
6710
 
 
6711
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6712
  lt_unset=unset
 
6713
else
 
6714
  lt_unset=false
 
6715
fi
 
6716
 
 
6717
 
 
6718
 
 
6719
 
 
6720
 
 
6721
# test EBCDIC or ASCII
 
6722
case `echo X|tr X '\101'` in
 
6723
 A) # ASCII based system
 
6724
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6725
  lt_SP2NL='tr \040 \012'
 
6726
  lt_NL2SP='tr \015\012 \040\040'
 
6727
  ;;
 
6728
 *) # EBCDIC based system
 
6729
  lt_SP2NL='tr \100 \n'
 
6730
  lt_NL2SP='tr \r\n \100\100'
 
6731
  ;;
 
6732
esac
 
6733
 
 
6734
 
 
6735
 
 
6736
 
 
6737
 
 
6738
 
 
6739
 
 
6740
 
 
6741
 
 
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6743
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6744
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6745
  $as_echo_n "(cached) " >&6
 
6746
else
 
6747
  case $host in
 
6748
  *-*-mingw* )
 
6749
    case $build in
 
6750
      *-*-mingw* ) # actually msys
 
6751
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6752
        ;;
 
6753
      *-*-cygwin* )
 
6754
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6755
        ;;
 
6756
      * ) # otherwise, assume *nix
 
6757
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6758
        ;;
 
6759
    esac
 
6760
    ;;
 
6761
  *-*-cygwin* )
 
6762
    case $build in
 
6763
      *-*-mingw* ) # actually msys
 
6764
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6765
        ;;
 
6766
      *-*-cygwin* )
 
6767
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6768
        ;;
 
6769
      * ) # otherwise, assume *nix
 
6770
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6771
        ;;
 
6772
    esac
 
6773
    ;;
 
6774
  * ) # unhandled hosts (and "normal" native builds)
 
6775
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6776
    ;;
 
6777
esac
 
6778
 
 
6779
fi
 
6780
 
 
6781
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6783
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6784
 
 
6785
 
 
6786
 
 
6787
 
 
6788
 
 
6789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6790
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6791
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6792
  $as_echo_n "(cached) " >&6
 
6793
else
 
6794
  #assume ordinary cross tools, or native build.
 
6795
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6796
case $host in
 
6797
  *-*-mingw* )
 
6798
    case $build in
 
6799
      *-*-mingw* ) # actually msys
 
6800
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6801
        ;;
 
6802
    esac
 
6803
    ;;
 
6804
esac
 
6805
 
 
6806
fi
 
6807
 
 
6808
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6810
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6817
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6818
if ${lt_cv_ld_reload_flag+:} false; then :
 
6819
  $as_echo_n "(cached) " >&6
 
6820
else
 
6821
  lt_cv_ld_reload_flag='-r'
 
6822
fi
 
6823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6824
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6825
reload_flag=$lt_cv_ld_reload_flag
 
6826
case $reload_flag in
 
6827
"" | " "*) ;;
 
6828
*) reload_flag=" $reload_flag" ;;
 
6829
esac
 
6830
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6831
case $host_os in
 
6832
  cygwin* | mingw* | pw32* | cegcc*)
 
6833
    if test "$GCC" != yes; then
 
6834
      reload_cmds=false
 
6835
    fi
 
6836
    ;;
 
6837
  darwin*)
 
6838
    if test "$GCC" = yes; then
 
6839
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6840
    else
 
6841
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6842
    fi
 
6843
    ;;
 
6844
esac
 
6845
 
 
6846
 
 
6847
 
 
6848
 
 
6849
 
 
6850
 
 
6851
 
 
6852
 
 
6853
 
 
6854
if test -n "$ac_tool_prefix"; then
 
6855
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6856
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6858
$as_echo_n "checking for $ac_word... " >&6; }
 
6859
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
6860
  $as_echo_n "(cached) " >&6
 
6861
else
 
6862
  if test -n "$OBJDUMP"; then
 
6863
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6864
else
 
6865
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6866
for as_dir in $PATH
 
6867
do
 
6868
  IFS=$as_save_IFS
 
6869
  test -z "$as_dir" && as_dir=.
 
6870
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6871
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6872
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6873
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6874
    break 2
 
6875
  fi
 
6876
done
 
6877
  done
 
6878
IFS=$as_save_IFS
 
6879
 
 
6880
fi
 
6881
fi
 
6882
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6883
if test -n "$OBJDUMP"; then
 
6884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6885
$as_echo "$OBJDUMP" >&6; }
 
6886
else
 
6887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6888
$as_echo "no" >&6; }
 
6889
fi
 
6890
 
 
6891
 
 
6892
fi
 
6893
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6894
  ac_ct_OBJDUMP=$OBJDUMP
 
6895
  # Extract the first word of "objdump", so it can be a program name with args.
 
6896
set dummy objdump; ac_word=$2
 
6897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6898
$as_echo_n "checking for $ac_word... " >&6; }
 
6899
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
6900
  $as_echo_n "(cached) " >&6
 
6901
else
 
6902
  if test -n "$ac_ct_OBJDUMP"; then
 
6903
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6904
else
 
6905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6906
for as_dir in $PATH
 
6907
do
 
6908
  IFS=$as_save_IFS
 
6909
  test -z "$as_dir" && as_dir=.
 
6910
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6911
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6912
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6913
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6914
    break 2
 
6915
  fi
 
6916
done
 
6917
  done
 
6918
IFS=$as_save_IFS
 
6919
 
 
6920
fi
 
6921
fi
 
6922
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6923
if test -n "$ac_ct_OBJDUMP"; then
 
6924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6925
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6926
else
 
6927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6928
$as_echo "no" >&6; }
 
6929
fi
 
6930
 
 
6931
  if test "x$ac_ct_OBJDUMP" = x; then
 
6932
    OBJDUMP="false"
 
6933
  else
 
6934
    case $cross_compiling:$ac_tool_warned in
 
6935
yes:)
 
6936
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6937
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6938
ac_tool_warned=yes ;;
 
6939
esac
 
6940
    OBJDUMP=$ac_ct_OBJDUMP
 
6941
  fi
 
6942
else
 
6943
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6944
fi
 
6945
 
 
6946
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6947
 
 
6948
 
 
6949
 
 
6950
 
 
6951
 
 
6952
 
 
6953
 
 
6954
 
 
6955
 
 
6956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6957
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6958
if ${lt_cv_deplibs_check_method+:} false; then :
 
6959
  $as_echo_n "(cached) " >&6
 
6960
else
 
6961
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
6962
lt_cv_file_magic_test_file=
 
6963
lt_cv_deplibs_check_method='unknown'
 
6964
# Need to set the preceding variable on all platforms that support
 
6965
# interlibrary dependencies.
 
6966
# 'none' -- dependencies not supported.
 
6967
# `unknown' -- same as none, but documents that we really don't know.
 
6968
# 'pass_all' -- all dependencies passed with no checks.
 
6969
# 'test_compile' -- check by making test program.
 
6970
# 'file_magic [[regex]]' -- check by looking for files in library path
 
6971
# which responds to the $file_magic_cmd with a given extended regex.
 
6972
# If you have `file' or equivalent on your system and you're not sure
 
6973
# whether `pass_all' will *always* work, you probably want this one.
 
6974
 
 
6975
case $host_os in
 
6976
aix[4-9]*)
 
6977
  lt_cv_deplibs_check_method=pass_all
 
6978
  ;;
 
6979
 
 
6980
beos*)
 
6981
  lt_cv_deplibs_check_method=pass_all
 
6982
  ;;
 
6983
 
 
6984
bsdi[45]*)
 
6985
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
6986
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
6987
  lt_cv_file_magic_test_file=/shlib/libc.so
 
6988
  ;;
 
6989
 
 
6990
cygwin*)
 
6991
  # func_win32_libid is a shell function defined in ltmain.sh
 
6992
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6993
  lt_cv_file_magic_cmd='func_win32_libid'
 
6994
  ;;
 
6995
 
 
6996
mingw* | pw32*)
 
6997
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
6998
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6999
  # unless we find 'file', for example because we are cross-compiling.
 
7000
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
7001
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
7002
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7003
    lt_cv_file_magic_cmd='func_win32_libid'
 
7004
  else
 
7005
    # Keep this pattern in sync with the one in func_win32_libid.
 
7006
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
7007
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7008
  fi
 
7009
  ;;
 
7010
 
 
7011
cegcc*)
 
7012
  # use the weaker test based on 'objdump'. See mingw*.
 
7013
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7014
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7015
  ;;
 
7016
 
 
7017
darwin* | rhapsody*)
 
7018
  lt_cv_deplibs_check_method=pass_all
 
7019
  ;;
 
7020
 
 
7021
freebsd* | dragonfly*)
 
7022
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7023
    case $host_cpu in
 
7024
    i*86 )
 
7025
      # Not sure whether the presence of OpenBSD here was a mistake.
 
7026
      # Let's accept both of them until this is cleared up.
 
7027
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
7028
      lt_cv_file_magic_cmd=/usr/bin/file
 
7029
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7030
      ;;
 
7031
    esac
 
7032
  else
 
7033
    lt_cv_deplibs_check_method=pass_all
 
7034
  fi
 
7035
  ;;
 
7036
 
 
7037
gnu*)
 
7038
  lt_cv_deplibs_check_method=pass_all
 
7039
  ;;
 
7040
 
 
7041
haiku*)
 
7042
  lt_cv_deplibs_check_method=pass_all
 
7043
  ;;
 
7044
 
 
7045
hpux10.20* | hpux11*)
 
7046
  lt_cv_file_magic_cmd=/usr/bin/file
 
7047
  case $host_cpu in
 
7048
  ia64*)
 
7049
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
7050
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7051
    ;;
 
7052
  hppa*64*)
 
7053
    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]'
 
7054
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7055
    ;;
 
7056
  *)
 
7057
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
7058
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7059
    ;;
 
7060
  esac
 
7061
  ;;
 
7062
 
 
7063
interix[3-9]*)
 
7064
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
7065
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
7066
  ;;
 
7067
 
 
7068
irix5* | irix6* | nonstopux*)
 
7069
  case $LD in
 
7070
  *-32|*"-32 ") libmagic=32-bit;;
 
7071
  *-n32|*"-n32 ") libmagic=N32;;
 
7072
  *-64|*"-64 ") libmagic=64-bit;;
 
7073
  *) libmagic=never-match;;
 
7074
  esac
 
7075
  lt_cv_deplibs_check_method=pass_all
 
7076
  ;;
 
7077
 
 
7078
# This must be glibc/ELF.
 
7079
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7080
  lt_cv_deplibs_check_method=pass_all
 
7081
  ;;
 
7082
 
 
7083
netbsd* | netbsdelf*-gnu)
 
7084
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7085
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7086
  else
 
7087
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
7088
  fi
 
7089
  ;;
 
7090
 
 
7091
newos6*)
 
7092
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
7093
  lt_cv_file_magic_cmd=/usr/bin/file
 
7094
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7095
  ;;
 
7096
 
 
7097
*nto* | *qnx*)
 
7098
  lt_cv_deplibs_check_method=pass_all
 
7099
  ;;
 
7100
 
 
7101
openbsd*)
 
7102
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7103
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
7104
  else
 
7105
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7106
  fi
 
7107
  ;;
 
7108
 
 
7109
osf3* | osf4* | osf5*)
 
7110
  lt_cv_deplibs_check_method=pass_all
 
7111
  ;;
 
7112
 
 
7113
rdos*)
 
7114
  lt_cv_deplibs_check_method=pass_all
 
7115
  ;;
 
7116
 
 
7117
solaris*)
 
7118
  lt_cv_deplibs_check_method=pass_all
 
7119
  ;;
 
7120
 
 
7121
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7122
  lt_cv_deplibs_check_method=pass_all
 
7123
  ;;
 
7124
 
 
7125
sysv4 | sysv4.3*)
 
7126
  case $host_vendor in
 
7127
  motorola)
 
7128
    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]'
 
7129
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
7130
    ;;
 
7131
  ncr)
 
7132
    lt_cv_deplibs_check_method=pass_all
 
7133
    ;;
 
7134
  sequent)
 
7135
    lt_cv_file_magic_cmd='/bin/file'
 
7136
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
7137
    ;;
 
7138
  sni)
 
7139
    lt_cv_file_magic_cmd='/bin/file'
 
7140
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
7141
    lt_cv_file_magic_test_file=/lib/libc.so
 
7142
    ;;
 
7143
  siemens)
 
7144
    lt_cv_deplibs_check_method=pass_all
 
7145
    ;;
 
7146
  pc)
 
7147
    lt_cv_deplibs_check_method=pass_all
 
7148
    ;;
 
7149
  esac
 
7150
  ;;
 
7151
 
 
7152
tpf*)
 
7153
  lt_cv_deplibs_check_method=pass_all
 
7154
  ;;
 
7155
esac
 
7156
 
 
7157
fi
 
7158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
7159
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7160
 
 
7161
file_magic_glob=
 
7162
want_nocaseglob=no
 
7163
if test "$build" = "$host"; then
 
7164
  case $host_os in
 
7165
  mingw* | pw32*)
 
7166
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7167
      want_nocaseglob=yes
 
7168
    else
 
7169
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7170
    fi
 
7171
    ;;
 
7172
  esac
 
7173
fi
 
7174
 
 
7175
file_magic_cmd=$lt_cv_file_magic_cmd
 
7176
deplibs_check_method=$lt_cv_deplibs_check_method
 
7177
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
 
7192
 
 
7193
 
 
7194
 
 
7195
 
 
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
if test -n "$ac_tool_prefix"; then
 
7201
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7202
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7204
$as_echo_n "checking for $ac_word... " >&6; }
 
7205
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7206
  $as_echo_n "(cached) " >&6
 
7207
else
 
7208
  if test -n "$DLLTOOL"; then
 
7209
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7210
else
 
7211
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7212
for as_dir in $PATH
 
7213
do
 
7214
  IFS=$as_save_IFS
 
7215
  test -z "$as_dir" && as_dir=.
 
7216
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7218
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7220
    break 2
 
7221
  fi
 
7222
done
 
7223
  done
 
7224
IFS=$as_save_IFS
 
7225
 
 
7226
fi
 
7227
fi
 
7228
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7229
if test -n "$DLLTOOL"; then
 
7230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7231
$as_echo "$DLLTOOL" >&6; }
 
7232
else
 
7233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7234
$as_echo "no" >&6; }
 
7235
fi
 
7236
 
 
7237
 
 
7238
fi
 
7239
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7240
  ac_ct_DLLTOOL=$DLLTOOL
 
7241
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7242
set dummy dlltool; ac_word=$2
 
7243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7244
$as_echo_n "checking for $ac_word... " >&6; }
 
7245
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7246
  $as_echo_n "(cached) " >&6
 
7247
else
 
7248
  if test -n "$ac_ct_DLLTOOL"; then
 
7249
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7250
else
 
7251
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7252
for as_dir in $PATH
 
7253
do
 
7254
  IFS=$as_save_IFS
 
7255
  test -z "$as_dir" && as_dir=.
 
7256
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7258
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7259
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7260
    break 2
 
7261
  fi
 
7262
done
 
7263
  done
 
7264
IFS=$as_save_IFS
 
7265
 
 
7266
fi
 
7267
fi
 
7268
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7269
if test -n "$ac_ct_DLLTOOL"; then
 
7270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7271
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7272
else
 
7273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7274
$as_echo "no" >&6; }
 
7275
fi
 
7276
 
 
7277
  if test "x$ac_ct_DLLTOOL" = x; then
 
7278
    DLLTOOL="false"
 
7279
  else
 
7280
    case $cross_compiling:$ac_tool_warned in
 
7281
yes:)
 
7282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7283
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7284
ac_tool_warned=yes ;;
 
7285
esac
 
7286
    DLLTOOL=$ac_ct_DLLTOOL
 
7287
  fi
 
7288
else
 
7289
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7290
fi
 
7291
 
 
7292
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7304
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7305
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7306
  $as_echo_n "(cached) " >&6
 
7307
else
 
7308
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7309
 
 
7310
case $host_os in
 
7311
cygwin* | mingw* | pw32* | cegcc*)
 
7312
  # two different shell functions defined in ltmain.sh
 
7313
  # decide which to use based on capabilities of $DLLTOOL
 
7314
  case `$DLLTOOL --help 2>&1` in
 
7315
  *--identify-strict*)
 
7316
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7317
    ;;
 
7318
  *)
 
7319
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7320
    ;;
 
7321
  esac
 
7322
  ;;
 
7323
*)
 
7324
  # fallback: assume linklib IS sharedlib
 
7325
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7326
  ;;
 
7327
esac
 
7328
 
 
7329
fi
 
7330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7331
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7332
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7333
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7334
 
 
7335
 
 
7336
 
 
7337
 
 
7338
 
 
7339
 
 
7340
 
 
7341
if test -n "$ac_tool_prefix"; then
 
7342
  for ac_prog in ar
 
7343
  do
 
7344
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7345
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7347
$as_echo_n "checking for $ac_word... " >&6; }
 
7348
if ${ac_cv_prog_AR+:} false; then :
 
7349
  $as_echo_n "(cached) " >&6
 
7350
else
 
7351
  if test -n "$AR"; then
 
7352
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7353
else
 
7354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7355
for as_dir in $PATH
 
7356
do
 
7357
  IFS=$as_save_IFS
 
7358
  test -z "$as_dir" && as_dir=.
 
7359
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7360
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7361
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
7362
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7363
    break 2
 
7364
  fi
 
7365
done
 
7366
  done
 
7367
IFS=$as_save_IFS
 
7368
 
 
7369
fi
 
7370
fi
 
7371
AR=$ac_cv_prog_AR
 
7372
if test -n "$AR"; then
 
7373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7374
$as_echo "$AR" >&6; }
 
7375
else
 
7376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7377
$as_echo "no" >&6; }
 
7378
fi
 
7379
 
 
7380
 
 
7381
    test -n "$AR" && break
 
7382
  done
 
7383
fi
 
7384
if test -z "$AR"; then
 
7385
  ac_ct_AR=$AR
 
7386
  for ac_prog in ar
 
7387
do
 
7388
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7389
set dummy $ac_prog; ac_word=$2
 
7390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7391
$as_echo_n "checking for $ac_word... " >&6; }
 
7392
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
7393
  $as_echo_n "(cached) " >&6
 
7394
else
 
7395
  if test -n "$ac_ct_AR"; then
 
7396
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7397
else
 
7398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7399
for as_dir in $PATH
 
7400
do
 
7401
  IFS=$as_save_IFS
 
7402
  test -z "$as_dir" && as_dir=.
 
7403
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7404
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7405
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
7406
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7407
    break 2
 
7408
  fi
 
7409
done
 
7410
  done
 
7411
IFS=$as_save_IFS
 
7412
 
 
7413
fi
 
7414
fi
 
7415
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7416
if test -n "$ac_ct_AR"; then
 
7417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
7418
$as_echo "$ac_ct_AR" >&6; }
 
7419
else
 
7420
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7421
$as_echo "no" >&6; }
 
7422
fi
 
7423
 
 
7424
 
 
7425
  test -n "$ac_ct_AR" && break
 
7426
done
 
7427
 
 
7428
  if test "x$ac_ct_AR" = x; then
 
7429
    AR="false"
 
7430
  else
 
7431
    case $cross_compiling:$ac_tool_warned in
 
7432
yes:)
 
7433
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7434
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7435
ac_tool_warned=yes ;;
 
7436
esac
 
7437
    AR=$ac_ct_AR
 
7438
  fi
 
7439
fi
 
7440
 
 
7441
: ${AR=ar}
 
7442
: ${AR_FLAGS=cru}
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7455
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7456
if ${lt_cv_ar_at_file+:} false; then :
 
7457
  $as_echo_n "(cached) " >&6
 
7458
else
 
7459
  lt_cv_ar_at_file=no
 
7460
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7461
/* end confdefs.h.  */
 
7462
 
 
7463
int
 
7464
main ()
 
7465
{
 
7466
 
 
7467
  ;
 
7468
  return 0;
 
7469
}
 
7470
_ACEOF
 
7471
if ac_fn_c_try_compile "$LINENO"; then :
 
7472
  echo conftest.$ac_objext > conftest.lst
 
7473
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7474
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7475
  (eval $lt_ar_try) 2>&5
 
7476
  ac_status=$?
 
7477
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7478
  test $ac_status = 0; }
 
7479
      if test "$ac_status" -eq 0; then
 
7480
        # Ensure the archiver fails upon bogus file names.
 
7481
        rm -f conftest.$ac_objext libconftest.a
 
7482
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7483
  (eval $lt_ar_try) 2>&5
 
7484
  ac_status=$?
 
7485
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7486
  test $ac_status = 0; }
 
7487
        if test "$ac_status" -ne 0; then
 
7488
          lt_cv_ar_at_file=@
 
7489
        fi
 
7490
      fi
 
7491
      rm -f conftest.* libconftest.a
 
7492
 
 
7493
fi
 
7494
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7495
 
 
7496
fi
 
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7498
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7499
 
 
7500
if test "x$lt_cv_ar_at_file" = xno; then
 
7501
  archiver_list_spec=
 
7502
else
 
7503
  archiver_list_spec=$lt_cv_ar_at_file
 
7504
fi
 
7505
 
 
7506
 
 
7507
 
 
7508
 
 
7509
 
 
7510
 
 
7511
 
 
7512
if test -n "$ac_tool_prefix"; then
 
7513
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7514
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7516
$as_echo_n "checking for $ac_word... " >&6; }
 
7517
if ${ac_cv_prog_STRIP+:} false; then :
 
7518
  $as_echo_n "(cached) " >&6
 
7519
else
 
7520
  if test -n "$STRIP"; then
 
7521
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7522
else
 
7523
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7524
for as_dir in $PATH
 
7525
do
 
7526
  IFS=$as_save_IFS
 
7527
  test -z "$as_dir" && as_dir=.
 
7528
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7529
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7530
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7531
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7532
    break 2
 
7533
  fi
 
7534
done
 
7535
  done
 
7536
IFS=$as_save_IFS
 
7537
 
 
7538
fi
 
7539
fi
 
7540
STRIP=$ac_cv_prog_STRIP
 
7541
if test -n "$STRIP"; then
 
7542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
7543
$as_echo "$STRIP" >&6; }
 
7544
else
 
7545
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7546
$as_echo "no" >&6; }
 
7547
fi
 
7548
 
 
7549
 
 
7550
fi
 
7551
if test -z "$ac_cv_prog_STRIP"; then
 
7552
  ac_ct_STRIP=$STRIP
 
7553
  # Extract the first word of "strip", so it can be a program name with args.
 
7554
set dummy strip; ac_word=$2
 
7555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7556
$as_echo_n "checking for $ac_word... " >&6; }
 
7557
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
7558
  $as_echo_n "(cached) " >&6
 
7559
else
 
7560
  if test -n "$ac_ct_STRIP"; then
 
7561
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7562
else
 
7563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7564
for as_dir in $PATH
 
7565
do
 
7566
  IFS=$as_save_IFS
 
7567
  test -z "$as_dir" && as_dir=.
 
7568
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7570
    ac_cv_prog_ac_ct_STRIP="strip"
 
7571
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7572
    break 2
 
7573
  fi
 
7574
done
 
7575
  done
 
7576
IFS=$as_save_IFS
 
7577
 
 
7578
fi
 
7579
fi
 
7580
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7581
if test -n "$ac_ct_STRIP"; then
 
7582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
7583
$as_echo "$ac_ct_STRIP" >&6; }
 
7584
else
 
7585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7586
$as_echo "no" >&6; }
 
7587
fi
 
7588
 
 
7589
  if test "x$ac_ct_STRIP" = x; then
 
7590
    STRIP=":"
 
7591
  else
 
7592
    case $cross_compiling:$ac_tool_warned in
 
7593
yes:)
 
7594
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7595
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7596
ac_tool_warned=yes ;;
 
7597
esac
 
7598
    STRIP=$ac_ct_STRIP
 
7599
  fi
 
7600
else
 
7601
  STRIP="$ac_cv_prog_STRIP"
 
7602
fi
 
7603
 
 
7604
test -z "$STRIP" && STRIP=:
 
7605
 
 
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
 
 
7611
if test -n "$ac_tool_prefix"; then
 
7612
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7613
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7615
$as_echo_n "checking for $ac_word... " >&6; }
 
7616
if ${ac_cv_prog_RANLIB+:} false; then :
 
7617
  $as_echo_n "(cached) " >&6
 
7618
else
 
7619
  if test -n "$RANLIB"; then
 
7620
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7621
else
 
7622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7623
for as_dir in $PATH
 
7624
do
 
7625
  IFS=$as_save_IFS
 
7626
  test -z "$as_dir" && as_dir=.
 
7627
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7628
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7629
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7630
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7631
    break 2
 
7632
  fi
 
7633
done
 
7634
  done
 
7635
IFS=$as_save_IFS
 
7636
 
 
7637
fi
 
7638
fi
 
7639
RANLIB=$ac_cv_prog_RANLIB
 
7640
if test -n "$RANLIB"; then
 
7641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
7642
$as_echo "$RANLIB" >&6; }
 
7643
else
 
7644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7645
$as_echo "no" >&6; }
 
7646
fi
 
7647
 
 
7648
 
 
7649
fi
 
7650
if test -z "$ac_cv_prog_RANLIB"; then
 
7651
  ac_ct_RANLIB=$RANLIB
 
7652
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7653
set dummy ranlib; ac_word=$2
 
7654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7655
$as_echo_n "checking for $ac_word... " >&6; }
 
7656
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
7657
  $as_echo_n "(cached) " >&6
 
7658
else
 
7659
  if test -n "$ac_ct_RANLIB"; then
 
7660
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7661
else
 
7662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7663
for as_dir in $PATH
 
7664
do
 
7665
  IFS=$as_save_IFS
 
7666
  test -z "$as_dir" && as_dir=.
 
7667
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7668
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7669
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7670
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7671
    break 2
 
7672
  fi
 
7673
done
 
7674
  done
 
7675
IFS=$as_save_IFS
 
7676
 
 
7677
fi
 
7678
fi
 
7679
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7680
if test -n "$ac_ct_RANLIB"; then
 
7681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
7682
$as_echo "$ac_ct_RANLIB" >&6; }
 
7683
else
 
7684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7685
$as_echo "no" >&6; }
 
7686
fi
 
7687
 
 
7688
  if test "x$ac_ct_RANLIB" = x; then
 
7689
    RANLIB=":"
 
7690
  else
 
7691
    case $cross_compiling:$ac_tool_warned in
 
7692
yes:)
 
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7694
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7695
ac_tool_warned=yes ;;
 
7696
esac
 
7697
    RANLIB=$ac_ct_RANLIB
 
7698
  fi
 
7699
else
 
7700
  RANLIB="$ac_cv_prog_RANLIB"
 
7701
fi
 
7702
 
 
7703
test -z "$RANLIB" && RANLIB=:
 
7704
 
 
7705
 
 
7706
 
 
7707
 
 
7708
 
 
7709
 
 
7710
# Determine commands to create old-style static archives.
 
7711
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7712
old_postinstall_cmds='chmod 644 $oldlib'
 
7713
old_postuninstall_cmds=
 
7714
 
 
7715
if test -n "$RANLIB"; then
 
7716
  case $host_os in
 
7717
  openbsd*)
 
7718
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
7719
    ;;
 
7720
  *)
 
7721
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
7722
    ;;
 
7723
  esac
 
7724
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
7725
fi
 
7726
 
 
7727
case $host_os in
 
7728
  darwin*)
 
7729
    lock_old_archive_extraction=yes ;;
 
7730
  *)
 
7731
    lock_old_archive_extraction=no ;;
 
7732
esac
 
7733
 
 
7734
 
 
7735
 
 
7736
 
 
7737
 
 
7738
 
 
7739
 
 
7740
 
 
7741
 
 
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
# If no C compiler was specified, use CC.
 
7773
LTCC=${LTCC-"$CC"}
 
7774
 
 
7775
# If no C compiler flags were specified, use CFLAGS.
 
7776
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7777
 
 
7778
# Allow CC to be a program name with arguments.
 
7779
compiler=$CC
 
7780
 
 
7781
 
 
7782
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
7783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
7784
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
7785
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
7786
  $as_echo_n "(cached) " >&6
 
7787
else
 
7788
 
 
7789
# These are sane defaults that work on at least a few old systems.
 
7790
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
7791
 
 
7792
# Character class describing NM global symbol codes.
 
7793
symcode='[BCDEGRST]'
 
7794
 
 
7795
# Regexp to match symbols that can be accessed directly from C.
 
7796
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
7797
 
 
7798
# Define system-specific variables.
 
7799
case $host_os in
 
7800
aix*)
 
7801
  symcode='[BCDT]'
 
7802
  ;;
 
7803
cygwin* | mingw* | pw32* | cegcc*)
 
7804
  symcode='[ABCDGISTW]'
 
7805
  ;;
 
7806
hpux*)
 
7807
  if test "$host_cpu" = ia64; then
 
7808
    symcode='[ABCDEGRST]'
 
7809
  fi
 
7810
  ;;
 
7811
irix* | nonstopux*)
 
7812
  symcode='[BCDEGRST]'
 
7813
  ;;
 
7814
osf*)
 
7815
  symcode='[BCDEGQRST]'
 
7816
  ;;
 
7817
solaris*)
 
7818
  symcode='[BDRT]'
 
7819
  ;;
 
7820
sco3.2v5*)
 
7821
  symcode='[DT]'
 
7822
  ;;
 
7823
sysv4.2uw2*)
 
7824
  symcode='[DT]'
 
7825
  ;;
 
7826
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
7827
  symcode='[ABDT]'
 
7828
  ;;
 
7829
sysv4)
 
7830
  symcode='[DFNSTU]'
 
7831
  ;;
 
7832
esac
 
7833
 
 
7834
# If we're using GNU nm, then use its standard symbol codes.
 
7835
case `$NM -V 2>&1` in
 
7836
*GNU* | *'with BFD'*)
 
7837
  symcode='[ABCDGIRSTW]' ;;
 
7838
esac
 
7839
 
 
7840
# Transform an extracted symbol line into a proper C declaration.
 
7841
# Some systems (esp. on ia64) link data and code symbols differently,
 
7842
# so use this general approach.
 
7843
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7844
 
 
7845
# Transform an extracted symbol line into symbol name and symbol address
 
7846
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7847
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'"
 
7848
 
 
7849
# Handle CRLF in mingw tool chain
 
7850
opt_cr=
 
7851
case $build_os in
 
7852
mingw*)
 
7853
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7854
  ;;
 
7855
esac
 
7856
 
 
7857
# Try without a prefix underscore, then with it.
 
7858
for ac_symprfx in "" "_"; do
 
7859
 
 
7860
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
7861
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
7862
 
 
7863
  # Write the raw and C identifiers.
 
7864
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7865
    # Fake it for dumpbin and say T for any non-static function
 
7866
    # and D for any global variable.
 
7867
    # Also find C++ and __fastcall symbols from MSVC++,
 
7868
    # which start with @ or ?.
 
7869
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7870
"     {last_section=section; section=\$ 3};"\
 
7871
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
7872
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7873
"     \$ 0!~/External *\|/{next};"\
 
7874
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7875
"     {if(hide[section]) next};"\
 
7876
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7877
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7878
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7879
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7880
"     ' prfx=^$ac_symprfx"
 
7881
  else
 
7882
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7883
  fi
 
7884
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
7885
 
 
7886
  # Check to see that the pipe works correctly.
 
7887
  pipe_works=no
 
7888
 
 
7889
  rm -f conftest*
 
7890
  cat > conftest.$ac_ext <<_LT_EOF
 
7891
#ifdef __cplusplus
 
7892
extern "C" {
 
7893
#endif
 
7894
char nm_test_var;
 
7895
void nm_test_func(void);
 
7896
void nm_test_func(void){}
 
7897
#ifdef __cplusplus
 
7898
}
 
7899
#endif
 
7900
int main(){nm_test_var='a';nm_test_func();return(0);}
 
7901
_LT_EOF
 
7902
 
 
7903
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7904
  (eval $ac_compile) 2>&5
 
7905
  ac_status=$?
 
7906
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7907
  test $ac_status = 0; }; then
 
7908
    # Now try to grab the symbols.
 
7909
    nlist=conftest.nm
 
7910
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7911
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
7912
  ac_status=$?
 
7913
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7914
  test $ac_status = 0; } && test -s "$nlist"; then
 
7915
      # Try sorting and uniquifying the output.
 
7916
      if sort "$nlist" | uniq > "$nlist"T; then
 
7917
        mv -f "$nlist"T "$nlist"
 
7918
      else
 
7919
        rm -f "$nlist"T
 
7920
      fi
 
7921
 
 
7922
      # Make sure that we snagged all the symbols we need.
 
7923
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7924
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7925
          cat <<_LT_EOF > conftest.$ac_ext
 
7926
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7927
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7928
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7929
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7930
# define LT_DLSYM_CONST
 
7931
#elif defined(__osf__)
 
7932
/* This system does not cope well with relocations in const data.  */
 
7933
# define LT_DLSYM_CONST
 
7934
#else
 
7935
# define LT_DLSYM_CONST const
 
7936
#endif
 
7937
 
 
7938
#ifdef __cplusplus
 
7939
extern "C" {
 
7940
#endif
 
7941
 
 
7942
_LT_EOF
 
7943
          # Now generate the symbol file.
 
7944
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7945
 
 
7946
          cat <<_LT_EOF >> conftest.$ac_ext
 
7947
 
 
7948
/* The mapping between symbol names and symbols.  */
 
7949
LT_DLSYM_CONST struct {
 
7950
  const char *name;
 
7951
  void       *address;
 
7952
}
 
7953
lt__PROGRAM__LTX_preloaded_symbols[] =
 
7954
{
 
7955
  { "@PROGRAM@", (void *) 0 },
 
7956
_LT_EOF
 
7957
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7958
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7959
  {0, (void *) 0}
 
7960
};
 
7961
 
 
7962
/* This works around a problem in FreeBSD linker */
 
7963
#ifdef FREEBSD_WORKAROUND
 
7964
static const void *lt_preloaded_setup() {
 
7965
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7966
}
 
7967
#endif
 
7968
 
 
7969
#ifdef __cplusplus
 
7970
}
 
7971
#endif
 
7972
_LT_EOF
 
7973
          # Now try linking the two files.
 
7974
          mv conftest.$ac_objext conftstm.$ac_objext
 
7975
          lt_globsym_save_LIBS=$LIBS
 
7976
          lt_globsym_save_CFLAGS=$CFLAGS
 
7977
          LIBS="conftstm.$ac_objext"
 
7978
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
7979
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
7980
  (eval $ac_link) 2>&5
 
7981
  ac_status=$?
 
7982
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7983
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
7984
            pipe_works=yes
 
7985
          fi
 
7986
          LIBS=$lt_globsym_save_LIBS
 
7987
          CFLAGS=$lt_globsym_save_CFLAGS
 
7988
        else
 
7989
          echo "cannot find nm_test_func in $nlist" >&5
 
7990
        fi
 
7991
      else
 
7992
        echo "cannot find nm_test_var in $nlist" >&5
 
7993
      fi
 
7994
    else
 
7995
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
7996
    fi
 
7997
  else
 
7998
    echo "$progname: failed program was:" >&5
 
7999
    cat conftest.$ac_ext >&5
 
8000
  fi
 
8001
  rm -rf conftest* conftst*
 
8002
 
 
8003
  # Do not use the global_symbol_pipe unless it works.
 
8004
  if test "$pipe_works" = yes; then
 
8005
    break
 
8006
  else
 
8007
    lt_cv_sys_global_symbol_pipe=
 
8008
  fi
 
8009
done
 
8010
 
 
8011
fi
 
8012
 
 
8013
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8014
  lt_cv_sys_global_symbol_to_cdecl=
 
8015
fi
 
8016
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
8017
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
8018
$as_echo "failed" >&6; }
 
8019
else
 
8020
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
8021
$as_echo "ok" >&6; }
 
8022
fi
 
8023
 
 
8024
# Response file support.
 
8025
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8026
  nm_file_list_spec='@'
 
8027
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
8028
  nm_file_list_spec='@'
 
8029
fi
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
 
 
8040
 
 
8041
 
 
8042
 
 
8043
 
 
8044
 
 
8045
 
 
8046
 
 
8047
 
 
8048
 
 
8049
 
 
8050
 
 
8051
 
 
8052
 
 
8053
 
 
8054
 
 
8055
 
 
8056
 
 
8057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
8058
$as_echo_n "checking for sysroot... " >&6; }
 
8059
 
 
8060
# Check whether --with-sysroot was given.
 
8061
if test "${with_sysroot+set}" = set; then :
 
8062
  withval=$with_sysroot;
 
8063
else
 
8064
  with_sysroot=no
 
8065
fi
 
8066
 
 
8067
 
 
8068
lt_sysroot=
 
8069
case ${with_sysroot} in #(
 
8070
 yes)
 
8071
   if test "$GCC" = yes; then
 
8072
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
8073
   fi
 
8074
   ;; #(
 
8075
 /*)
 
8076
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
8077
   ;; #(
 
8078
 no|'')
 
8079
   ;; #(
 
8080
 *)
 
8081
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8082
$as_echo "${with_sysroot}" >&6; }
 
8083
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8084
   ;;
 
8085
esac
 
8086
 
 
8087
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8088
$as_echo "${lt_sysroot:-no}" >&6; }
 
8089
 
 
8090
 
 
8091
 
 
8092
 
 
8093
 
 
8094
# Check whether --enable-libtool-lock was given.
 
8095
if test "${enable_libtool_lock+set}" = set; then :
 
8096
  enableval=$enable_libtool_lock;
 
8097
fi
 
8098
 
 
8099
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8100
 
 
8101
# Some flags need to be propagated to the compiler or linker for good
 
8102
# libtool support.
 
8103
case $host in
 
8104
ia64-*-hpux*)
 
8105
  # Find out which ABI we are using.
 
8106
  echo 'int i;' > conftest.$ac_ext
 
8107
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8108
  (eval $ac_compile) 2>&5
 
8109
  ac_status=$?
 
8110
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8111
  test $ac_status = 0; }; then
 
8112
    case `/usr/bin/file conftest.$ac_objext` in
 
8113
      *ELF-32*)
 
8114
        HPUX_IA64_MODE="32"
 
8115
        ;;
 
8116
      *ELF-64*)
 
8117
        HPUX_IA64_MODE="64"
 
8118
        ;;
 
8119
    esac
 
8120
  fi
 
8121
  rm -rf conftest*
 
8122
  ;;
 
8123
*-*-irix6*)
 
8124
  # Find out which ABI we are using.
 
8125
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
8126
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8127
  (eval $ac_compile) 2>&5
 
8128
  ac_status=$?
 
8129
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8130
  test $ac_status = 0; }; then
 
8131
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8132
      case `/usr/bin/file conftest.$ac_objext` in
 
8133
        *32-bit*)
 
8134
          LD="${LD-ld} -melf32bsmip"
 
8135
          ;;
 
8136
        *N32*)
 
8137
          LD="${LD-ld} -melf32bmipn32"
 
8138
          ;;
 
8139
        *64-bit*)
 
8140
          LD="${LD-ld} -melf64bmip"
 
8141
        ;;
 
8142
      esac
 
8143
    else
 
8144
      case `/usr/bin/file conftest.$ac_objext` in
 
8145
        *32-bit*)
 
8146
          LD="${LD-ld} -32"
 
8147
          ;;
 
8148
        *N32*)
 
8149
          LD="${LD-ld} -n32"
 
8150
          ;;
 
8151
        *64-bit*)
 
8152
          LD="${LD-ld} -64"
 
8153
          ;;
 
8154
      esac
 
8155
    fi
 
8156
  fi
 
8157
  rm -rf conftest*
 
8158
  ;;
 
8159
 
 
8160
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8161
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8162
  # Find out which ABI we are using.
 
8163
  echo 'int i;' > conftest.$ac_ext
 
8164
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8165
  (eval $ac_compile) 2>&5
 
8166
  ac_status=$?
 
8167
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8168
  test $ac_status = 0; }; then
 
8169
    case `/usr/bin/file conftest.o` in
 
8170
      *32-bit*)
 
8171
        case $host in
 
8172
          x86_64-*kfreebsd*-gnu)
 
8173
            LD="${LD-ld} -m elf_i386_fbsd"
 
8174
            ;;
 
8175
          x86_64-*linux*)
 
8176
            LD="${LD-ld} -m elf_i386"
 
8177
            ;;
 
8178
          ppc64-*linux*|powerpc64-*linux*)
 
8179
            LD="${LD-ld} -m elf32ppclinux"
 
8180
            ;;
 
8181
          s390x-*linux*)
 
8182
            LD="${LD-ld} -m elf_s390"
 
8183
            ;;
 
8184
          sparc64-*linux*)
 
8185
            LD="${LD-ld} -m elf32_sparc"
 
8186
            ;;
 
8187
        esac
 
8188
        ;;
 
8189
      *64-bit*)
 
8190
        case $host in
 
8191
          x86_64-*kfreebsd*-gnu)
 
8192
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8193
            ;;
 
8194
          x86_64-*linux*)
 
8195
            LD="${LD-ld} -m elf_x86_64"
 
8196
            ;;
 
8197
          ppc*-*linux*|powerpc*-*linux*)
 
8198
            LD="${LD-ld} -m elf64ppc"
 
8199
            ;;
 
8200
          s390*-*linux*|s390*-*tpf*)
 
8201
            LD="${LD-ld} -m elf64_s390"
 
8202
            ;;
 
8203
          sparc*-*linux*)
 
8204
            LD="${LD-ld} -m elf64_sparc"
 
8205
            ;;
 
8206
        esac
 
8207
        ;;
 
8208
    esac
 
8209
  fi
 
8210
  rm -rf conftest*
 
8211
  ;;
 
8212
 
 
8213
*-*-sco3.2v5*)
 
8214
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8215
  SAVE_CFLAGS="$CFLAGS"
 
8216
  CFLAGS="$CFLAGS -belf"
 
8217
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
8218
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8219
if ${lt_cv_cc_needs_belf+:} false; then :
 
8220
  $as_echo_n "(cached) " >&6
 
8221
else
 
8222
  ac_ext=c
 
8223
ac_cpp='$CPP $CPPFLAGS'
 
8224
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8225
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8226
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8227
 
 
8228
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8229
/* end confdefs.h.  */
 
8230
 
 
8231
int
 
8232
main ()
 
8233
{
 
8234
 
 
8235
  ;
 
8236
  return 0;
 
8237
}
 
8238
_ACEOF
 
8239
if ac_fn_c_try_link "$LINENO"; then :
 
8240
  lt_cv_cc_needs_belf=yes
 
8241
else
 
8242
  lt_cv_cc_needs_belf=no
 
8243
fi
 
8244
rm -f core conftest.err conftest.$ac_objext \
 
8245
    conftest$ac_exeext conftest.$ac_ext
 
8246
     ac_ext=c
 
8247
ac_cpp='$CPP $CPPFLAGS'
 
8248
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8249
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8250
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8251
 
 
8252
fi
 
8253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
8254
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8255
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8256
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8257
    CFLAGS="$SAVE_CFLAGS"
 
8258
  fi
 
8259
  ;;
 
8260
*-*solaris*)
 
8261
  # Find out which ABI we are using.
 
8262
  echo 'int i;' > conftest.$ac_ext
 
8263
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8264
  (eval $ac_compile) 2>&5
 
8265
  ac_status=$?
 
8266
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8267
  test $ac_status = 0; }; then
 
8268
    case `/usr/bin/file conftest.o` in
 
8269
    *64-bit*)
 
8270
      case $lt_cv_prog_gnu_ld in
 
8271
      yes*)
 
8272
        case $host in
 
8273
        i?86-*-solaris*)
 
8274
          LD="${LD-ld} -m elf_x86_64"
 
8275
          ;;
 
8276
        sparc*-*-solaris*)
 
8277
          LD="${LD-ld} -m elf64_sparc"
 
8278
          ;;
 
8279
        esac
 
8280
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
8281
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
8282
          LD="${LD-ld}_sol2"
 
8283
        fi
 
8284
        ;;
 
8285
      *)
 
8286
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8287
          LD="${LD-ld} -64"
 
8288
        fi
 
8289
        ;;
 
8290
      esac
 
8291
      ;;
 
8292
    esac
 
8293
  fi
 
8294
  rm -rf conftest*
 
8295
  ;;
 
8296
esac
 
8297
 
 
8298
need_locks="$enable_libtool_lock"
 
8299
 
 
8300
if test -n "$ac_tool_prefix"; then
 
8301
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8302
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8304
$as_echo_n "checking for $ac_word... " >&6; }
 
8305
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8306
  $as_echo_n "(cached) " >&6
 
8307
else
 
8308
  if test -n "$MANIFEST_TOOL"; then
 
8309
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8310
else
 
8311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8312
for as_dir in $PATH
 
8313
do
 
8314
  IFS=$as_save_IFS
 
8315
  test -z "$as_dir" && as_dir=.
 
8316
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8317
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8318
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8319
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8320
    break 2
 
8321
  fi
 
8322
done
 
8323
  done
 
8324
IFS=$as_save_IFS
 
8325
 
 
8326
fi
 
8327
fi
 
8328
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8329
if test -n "$MANIFEST_TOOL"; then
 
8330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8331
$as_echo "$MANIFEST_TOOL" >&6; }
 
8332
else
 
8333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8334
$as_echo "no" >&6; }
 
8335
fi
 
8336
 
 
8337
 
 
8338
fi
 
8339
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8340
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8341
  # Extract the first word of "mt", so it can be a program name with args.
 
8342
set dummy mt; ac_word=$2
 
8343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8344
$as_echo_n "checking for $ac_word... " >&6; }
 
8345
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8346
  $as_echo_n "(cached) " >&6
 
8347
else
 
8348
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8349
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8350
else
 
8351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8352
for as_dir in $PATH
 
8353
do
 
8354
  IFS=$as_save_IFS
 
8355
  test -z "$as_dir" && as_dir=.
 
8356
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8357
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8358
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8359
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8360
    break 2
 
8361
  fi
 
8362
done
 
8363
  done
 
8364
IFS=$as_save_IFS
 
8365
 
 
8366
fi
 
8367
fi
 
8368
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8369
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8371
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8372
else
 
8373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8374
$as_echo "no" >&6; }
 
8375
fi
 
8376
 
 
8377
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8378
    MANIFEST_TOOL=":"
 
8379
  else
 
8380
    case $cross_compiling:$ac_tool_warned in
 
8381
yes:)
 
8382
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8383
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8384
ac_tool_warned=yes ;;
 
8385
esac
 
8386
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8387
  fi
 
8388
else
 
8389
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8390
fi
 
8391
 
 
8392
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8394
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8395
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8396
  $as_echo_n "(cached) " >&6
 
8397
else
 
8398
  lt_cv_path_mainfest_tool=no
 
8399
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8400
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8401
  cat conftest.err >&5
 
8402
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8403
    lt_cv_path_mainfest_tool=yes
 
8404
  fi
 
8405
  rm -f conftest*
 
8406
fi
 
8407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8408
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8409
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8410
  MANIFEST_TOOL=:
 
8411
fi
 
8412
 
 
8413
 
 
8414
 
 
8415
 
 
8416
 
 
8417
 
 
8418
  case $host_os in
 
8419
    rhapsody* | darwin*)
 
8420
    if test -n "$ac_tool_prefix"; then
 
8421
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8422
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8424
$as_echo_n "checking for $ac_word... " >&6; }
 
8425
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
8426
  $as_echo_n "(cached) " >&6
 
8427
else
 
8428
  if test -n "$DSYMUTIL"; then
 
8429
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8430
else
 
8431
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8432
for as_dir in $PATH
 
8433
do
 
8434
  IFS=$as_save_IFS
 
8435
  test -z "$as_dir" && as_dir=.
 
8436
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8437
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8438
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8439
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8440
    break 2
 
8441
  fi
 
8442
done
 
8443
  done
 
8444
IFS=$as_save_IFS
 
8445
 
 
8446
fi
 
8447
fi
 
8448
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8449
if test -n "$DSYMUTIL"; then
 
8450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
8451
$as_echo "$DSYMUTIL" >&6; }
 
8452
else
 
8453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8454
$as_echo "no" >&6; }
 
8455
fi
 
8456
 
 
8457
 
 
8458
fi
 
8459
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8460
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8461
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8462
set dummy dsymutil; ac_word=$2
 
8463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8464
$as_echo_n "checking for $ac_word... " >&6; }
 
8465
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
8466
  $as_echo_n "(cached) " >&6
 
8467
else
 
8468
  if test -n "$ac_ct_DSYMUTIL"; then
 
8469
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8470
else
 
8471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8472
for as_dir in $PATH
 
8473
do
 
8474
  IFS=$as_save_IFS
 
8475
  test -z "$as_dir" && as_dir=.
 
8476
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8477
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8478
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8479
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8480
    break 2
 
8481
  fi
 
8482
done
 
8483
  done
 
8484
IFS=$as_save_IFS
 
8485
 
 
8486
fi
 
8487
fi
 
8488
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8489
if test -n "$ac_ct_DSYMUTIL"; then
 
8490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
8491
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
8492
else
 
8493
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8494
$as_echo "no" >&6; }
 
8495
fi
 
8496
 
 
8497
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8498
    DSYMUTIL=":"
 
8499
  else
 
8500
    case $cross_compiling:$ac_tool_warned in
 
8501
yes:)
 
8502
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8503
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8504
ac_tool_warned=yes ;;
 
8505
esac
 
8506
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8507
  fi
 
8508
else
 
8509
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8510
fi
 
8511
 
 
8512
    if test -n "$ac_tool_prefix"; then
 
8513
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8514
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8516
$as_echo_n "checking for $ac_word... " >&6; }
 
8517
if ${ac_cv_prog_NMEDIT+:} false; then :
 
8518
  $as_echo_n "(cached) " >&6
 
8519
else
 
8520
  if test -n "$NMEDIT"; then
 
8521
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8522
else
 
8523
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8524
for as_dir in $PATH
 
8525
do
 
8526
  IFS=$as_save_IFS
 
8527
  test -z "$as_dir" && as_dir=.
 
8528
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8529
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8530
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8531
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8532
    break 2
 
8533
  fi
 
8534
done
 
8535
  done
 
8536
IFS=$as_save_IFS
 
8537
 
 
8538
fi
 
8539
fi
 
8540
NMEDIT=$ac_cv_prog_NMEDIT
 
8541
if test -n "$NMEDIT"; then
 
8542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
8543
$as_echo "$NMEDIT" >&6; }
 
8544
else
 
8545
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8546
$as_echo "no" >&6; }
 
8547
fi
 
8548
 
 
8549
 
 
8550
fi
 
8551
if test -z "$ac_cv_prog_NMEDIT"; then
 
8552
  ac_ct_NMEDIT=$NMEDIT
 
8553
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8554
set dummy nmedit; ac_word=$2
 
8555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8556
$as_echo_n "checking for $ac_word... " >&6; }
 
8557
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
8558
  $as_echo_n "(cached) " >&6
 
8559
else
 
8560
  if test -n "$ac_ct_NMEDIT"; then
 
8561
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8562
else
 
8563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8564
for as_dir in $PATH
 
8565
do
 
8566
  IFS=$as_save_IFS
 
8567
  test -z "$as_dir" && as_dir=.
 
8568
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8570
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8571
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8572
    break 2
 
8573
  fi
 
8574
done
 
8575
  done
 
8576
IFS=$as_save_IFS
 
8577
 
 
8578
fi
 
8579
fi
 
8580
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8581
if test -n "$ac_ct_NMEDIT"; then
 
8582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
8583
$as_echo "$ac_ct_NMEDIT" >&6; }
 
8584
else
 
8585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8586
$as_echo "no" >&6; }
 
8587
fi
 
8588
 
 
8589
  if test "x$ac_ct_NMEDIT" = x; then
 
8590
    NMEDIT=":"
 
8591
  else
 
8592
    case $cross_compiling:$ac_tool_warned in
 
8593
yes:)
 
8594
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8595
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8596
ac_tool_warned=yes ;;
 
8597
esac
 
8598
    NMEDIT=$ac_ct_NMEDIT
 
8599
  fi
 
8600
else
 
8601
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8602
fi
 
8603
 
 
8604
    if test -n "$ac_tool_prefix"; then
 
8605
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8606
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8608
$as_echo_n "checking for $ac_word... " >&6; }
 
8609
if ${ac_cv_prog_LIPO+:} false; then :
 
8610
  $as_echo_n "(cached) " >&6
 
8611
else
 
8612
  if test -n "$LIPO"; then
 
8613
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8614
else
 
8615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8616
for as_dir in $PATH
 
8617
do
 
8618
  IFS=$as_save_IFS
 
8619
  test -z "$as_dir" && as_dir=.
 
8620
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8621
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8622
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8623
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8624
    break 2
 
8625
  fi
 
8626
done
 
8627
  done
 
8628
IFS=$as_save_IFS
 
8629
 
 
8630
fi
 
8631
fi
 
8632
LIPO=$ac_cv_prog_LIPO
 
8633
if test -n "$LIPO"; then
 
8634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8635
$as_echo "$LIPO" >&6; }
 
8636
else
 
8637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8638
$as_echo "no" >&6; }
 
8639
fi
 
8640
 
 
8641
 
 
8642
fi
 
8643
if test -z "$ac_cv_prog_LIPO"; then
 
8644
  ac_ct_LIPO=$LIPO
 
8645
  # Extract the first word of "lipo", so it can be a program name with args.
 
8646
set dummy lipo; ac_word=$2
 
8647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8648
$as_echo_n "checking for $ac_word... " >&6; }
 
8649
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
8650
  $as_echo_n "(cached) " >&6
 
8651
else
 
8652
  if test -n "$ac_ct_LIPO"; then
 
8653
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8654
else
 
8655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8656
for as_dir in $PATH
 
8657
do
 
8658
  IFS=$as_save_IFS
 
8659
  test -z "$as_dir" && as_dir=.
 
8660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8662
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8664
    break 2
 
8665
  fi
 
8666
done
 
8667
  done
 
8668
IFS=$as_save_IFS
 
8669
 
 
8670
fi
 
8671
fi
 
8672
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8673
if test -n "$ac_ct_LIPO"; then
 
8674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
8675
$as_echo "$ac_ct_LIPO" >&6; }
 
8676
else
 
8677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8678
$as_echo "no" >&6; }
 
8679
fi
 
8680
 
 
8681
  if test "x$ac_ct_LIPO" = x; then
 
8682
    LIPO=":"
 
8683
  else
 
8684
    case $cross_compiling:$ac_tool_warned in
 
8685
yes:)
 
8686
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8687
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8688
ac_tool_warned=yes ;;
 
8689
esac
 
8690
    LIPO=$ac_ct_LIPO
 
8691
  fi
 
8692
else
 
8693
  LIPO="$ac_cv_prog_LIPO"
 
8694
fi
 
8695
 
 
8696
    if test -n "$ac_tool_prefix"; then
 
8697
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8698
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8700
$as_echo_n "checking for $ac_word... " >&6; }
 
8701
if ${ac_cv_prog_OTOOL+:} false; then :
 
8702
  $as_echo_n "(cached) " >&6
 
8703
else
 
8704
  if test -n "$OTOOL"; then
 
8705
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8706
else
 
8707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8708
for as_dir in $PATH
 
8709
do
 
8710
  IFS=$as_save_IFS
 
8711
  test -z "$as_dir" && as_dir=.
 
8712
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8713
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8714
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8715
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8716
    break 2
 
8717
  fi
 
8718
done
 
8719
  done
 
8720
IFS=$as_save_IFS
 
8721
 
 
8722
fi
 
8723
fi
 
8724
OTOOL=$ac_cv_prog_OTOOL
 
8725
if test -n "$OTOOL"; then
 
8726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
8727
$as_echo "$OTOOL" >&6; }
 
8728
else
 
8729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8730
$as_echo "no" >&6; }
 
8731
fi
 
8732
 
 
8733
 
 
8734
fi
 
8735
if test -z "$ac_cv_prog_OTOOL"; then
 
8736
  ac_ct_OTOOL=$OTOOL
 
8737
  # Extract the first word of "otool", so it can be a program name with args.
 
8738
set dummy otool; ac_word=$2
 
8739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8740
$as_echo_n "checking for $ac_word... " >&6; }
 
8741
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
8742
  $as_echo_n "(cached) " >&6
 
8743
else
 
8744
  if test -n "$ac_ct_OTOOL"; then
 
8745
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8746
else
 
8747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8748
for as_dir in $PATH
 
8749
do
 
8750
  IFS=$as_save_IFS
 
8751
  test -z "$as_dir" && as_dir=.
 
8752
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8754
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8756
    break 2
 
8757
  fi
 
8758
done
 
8759
  done
 
8760
IFS=$as_save_IFS
 
8761
 
 
8762
fi
 
8763
fi
 
8764
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8765
if test -n "$ac_ct_OTOOL"; then
 
8766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
8767
$as_echo "$ac_ct_OTOOL" >&6; }
 
8768
else
 
8769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8770
$as_echo "no" >&6; }
 
8771
fi
 
8772
 
 
8773
  if test "x$ac_ct_OTOOL" = x; then
 
8774
    OTOOL=":"
 
8775
  else
 
8776
    case $cross_compiling:$ac_tool_warned in
 
8777
yes:)
 
8778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8780
ac_tool_warned=yes ;;
 
8781
esac
 
8782
    OTOOL=$ac_ct_OTOOL
 
8783
  fi
 
8784
else
 
8785
  OTOOL="$ac_cv_prog_OTOOL"
 
8786
fi
 
8787
 
 
8788
    if test -n "$ac_tool_prefix"; then
 
8789
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8790
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8792
$as_echo_n "checking for $ac_word... " >&6; }
 
8793
if ${ac_cv_prog_OTOOL64+:} false; then :
 
8794
  $as_echo_n "(cached) " >&6
 
8795
else
 
8796
  if test -n "$OTOOL64"; then
 
8797
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8798
else
 
8799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8800
for as_dir in $PATH
 
8801
do
 
8802
  IFS=$as_save_IFS
 
8803
  test -z "$as_dir" && as_dir=.
 
8804
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8805
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8806
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8807
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8808
    break 2
 
8809
  fi
 
8810
done
 
8811
  done
 
8812
IFS=$as_save_IFS
 
8813
 
 
8814
fi
 
8815
fi
 
8816
OTOOL64=$ac_cv_prog_OTOOL64
 
8817
if test -n "$OTOOL64"; then
 
8818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
8819
$as_echo "$OTOOL64" >&6; }
 
8820
else
 
8821
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8822
$as_echo "no" >&6; }
 
8823
fi
 
8824
 
 
8825
 
 
8826
fi
 
8827
if test -z "$ac_cv_prog_OTOOL64"; then
 
8828
  ac_ct_OTOOL64=$OTOOL64
 
8829
  # Extract the first word of "otool64", so it can be a program name with args.
 
8830
set dummy otool64; ac_word=$2
 
8831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8832
$as_echo_n "checking for $ac_word... " >&6; }
 
8833
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
8834
  $as_echo_n "(cached) " >&6
 
8835
else
 
8836
  if test -n "$ac_ct_OTOOL64"; then
 
8837
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8838
else
 
8839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8840
for as_dir in $PATH
 
8841
do
 
8842
  IFS=$as_save_IFS
 
8843
  test -z "$as_dir" && as_dir=.
 
8844
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8846
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8847
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8848
    break 2
 
8849
  fi
 
8850
done
 
8851
  done
 
8852
IFS=$as_save_IFS
 
8853
 
 
8854
fi
 
8855
fi
 
8856
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8857
if test -n "$ac_ct_OTOOL64"; then
 
8858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
8859
$as_echo "$ac_ct_OTOOL64" >&6; }
 
8860
else
 
8861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8862
$as_echo "no" >&6; }
 
8863
fi
 
8864
 
 
8865
  if test "x$ac_ct_OTOOL64" = x; then
 
8866
    OTOOL64=":"
 
8867
  else
 
8868
    case $cross_compiling:$ac_tool_warned in
 
8869
yes:)
 
8870
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8871
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8872
ac_tool_warned=yes ;;
 
8873
esac
 
8874
    OTOOL64=$ac_ct_OTOOL64
 
8875
  fi
 
8876
else
 
8877
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8878
fi
 
8879
 
 
8880
 
 
8881
 
 
8882
 
 
8883
 
 
8884
 
 
8885
 
 
8886
 
 
8887
 
 
8888
 
 
8889
 
 
8890
 
 
8891
 
 
8892
 
 
8893
 
 
8894
 
 
8895
 
 
8896
 
 
8897
 
 
8898
 
 
8899
 
 
8900
 
 
8901
 
 
8902
 
 
8903
 
 
8904
 
 
8905
 
 
8906
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
8907
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
8908
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
8909
  $as_echo_n "(cached) " >&6
 
8910
else
 
8911
  lt_cv_apple_cc_single_mod=no
 
8912
      if test -z "${LT_MULTI_MODULE}"; then
 
8913
        # By default we will add the -single_module flag. You can override
 
8914
        # by either setting the environment variable LT_MULTI_MODULE
 
8915
        # non-empty at configure time, or by adding -multi_module to the
 
8916
        # link flags.
 
8917
        rm -rf libconftest.dylib*
 
8918
        echo "int foo(void){return 1;}" > conftest.c
 
8919
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8920
-dynamiclib -Wl,-single_module conftest.c" >&5
 
8921
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8922
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8923
        _lt_result=$?
 
8924
        # If there is a non-empty error log, and "single_module"
 
8925
        # appears in it, assume the flag caused a linker warning
 
8926
        if test -s conftest.err && $GREP single_module conftest.err; then
 
8927
          cat conftest.err >&5
 
8928
        # Otherwise, if the output was created with a 0 exit code from
 
8929
        # the compiler, it worked.
 
8930
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
8931
          lt_cv_apple_cc_single_mod=yes
 
8932
        else
 
8933
          cat conftest.err >&5
 
8934
        fi
 
8935
        rm -rf libconftest.dylib*
 
8936
        rm -f conftest.*
 
8937
      fi
 
8938
fi
 
8939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
8940
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8941
 
 
8942
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
8943
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
8944
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
8945
  $as_echo_n "(cached) " >&6
 
8946
else
 
8947
  lt_cv_ld_exported_symbols_list=no
 
8948
      save_LDFLAGS=$LDFLAGS
 
8949
      echo "_main" > conftest.sym
 
8950
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8951
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8952
/* end confdefs.h.  */
 
8953
 
 
8954
int
 
8955
main ()
 
8956
{
 
8957
 
 
8958
  ;
 
8959
  return 0;
 
8960
}
 
8961
_ACEOF
 
8962
if ac_fn_c_try_link "$LINENO"; then :
 
8963
  lt_cv_ld_exported_symbols_list=yes
 
8964
else
 
8965
  lt_cv_ld_exported_symbols_list=no
 
8966
fi
 
8967
rm -f core conftest.err conftest.$ac_objext \
 
8968
    conftest$ac_exeext conftest.$ac_ext
 
8969
        LDFLAGS="$save_LDFLAGS"
 
8970
 
 
8971
fi
 
8972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
8973
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8974
 
 
8975
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8976
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8977
if ${lt_cv_ld_force_load+:} false; then :
 
8978
  $as_echo_n "(cached) " >&6
 
8979
else
 
8980
  lt_cv_ld_force_load=no
 
8981
      cat > conftest.c << _LT_EOF
 
8982
int forced_loaded() { return 2;}
 
8983
_LT_EOF
 
8984
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8985
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8986
      echo "$AR cru libconftest.a conftest.o" >&5
 
8987
      $AR cru libconftest.a conftest.o 2>&5
 
8988
      echo "$RANLIB libconftest.a" >&5
 
8989
      $RANLIB libconftest.a 2>&5
 
8990
      cat > conftest.c << _LT_EOF
 
8991
int main() { return 0;}
 
8992
_LT_EOF
 
8993
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8994
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8995
      _lt_result=$?
 
8996
      if test -s conftest.err && $GREP force_load conftest.err; then
 
8997
        cat conftest.err >&5
 
8998
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
8999
        lt_cv_ld_force_load=yes
 
9000
      else
 
9001
        cat conftest.err >&5
 
9002
      fi
 
9003
        rm -f conftest.err libconftest.a conftest conftest.c
 
9004
        rm -rf conftest.dSYM
 
9005
 
 
9006
fi
 
9007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
9008
$as_echo "$lt_cv_ld_force_load" >&6; }
 
9009
    case $host_os in
 
9010
    rhapsody* | darwin1.[012])
 
9011
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9012
    darwin1.*)
 
9013
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9014
    darwin*) # darwin 5.x on
 
9015
      # if running on 10.5 or later, the deployment target defaults
 
9016
      # to the OS version, if on x86, and 10.4, the deployment
 
9017
      # target defaults to 10.4. Don't you love it?
 
9018
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9019
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9020
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9021
        10.[012]*)
 
9022
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9023
        10.*)
 
9024
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9025
      esac
 
9026
    ;;
 
9027
  esac
 
9028
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9029
      _lt_dar_single_mod='$single_module'
 
9030
    fi
 
9031
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9032
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9033
    else
 
9034
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9035
    fi
 
9036
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
9037
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9038
    else
 
9039
      _lt_dsymutil=
 
9040
    fi
 
9041
    ;;
 
9042
  esac
 
9043
 
 
9044
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
9045
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
9046
                  inttypes.h stdint.h unistd.h
 
9047
do :
 
9048
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9049
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
9050
"
 
9051
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
9052
  cat >>confdefs.h <<_ACEOF
 
9053
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9054
_ACEOF
 
9055
 
 
9056
fi
 
9057
 
 
9058
done
 
9059
 
 
9060
 
 
9061
for ac_header in dlfcn.h
 
9062
do :
 
9063
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
9064
"
 
9065
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
9066
  cat >>confdefs.h <<_ACEOF
 
9067
#define HAVE_DLFCN_H 1
 
9068
_ACEOF
 
9069
 
 
9070
fi
 
9071
 
 
9072
done
 
9073
 
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
# Set options
 
9079
 
 
9080
 
 
9081
 
 
9082
        enable_dlopen=no
 
9083
 
 
9084
 
 
9085
  enable_win32_dll=no
 
9086
 
 
9087
 
 
9088
            # Check whether --enable-shared was given.
 
9089
if test "${enable_shared+set}" = set; then :
 
9090
  enableval=$enable_shared; p=${PACKAGE-default}
 
9091
    case $enableval in
 
9092
    yes) enable_shared=yes ;;
 
9093
    no) enable_shared=no ;;
 
9094
    *)
 
9095
      enable_shared=no
 
9096
      # Look at the argument we got.  We use all the common list separators.
 
9097
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9098
      for pkg in $enableval; do
 
9099
        IFS="$lt_save_ifs"
 
9100
        if test "X$pkg" = "X$p"; then
 
9101
          enable_shared=yes
 
9102
        fi
 
9103
      done
 
9104
      IFS="$lt_save_ifs"
 
9105
      ;;
 
9106
    esac
 
9107
else
 
9108
  enable_shared=yes
 
9109
fi
 
9110
 
 
9111
 
 
9112
 
 
9113
 
 
9114
 
 
9115
 
 
9116
 
 
9117
 
 
9118
 
 
9119
  # Check whether --enable-static was given.
 
9120
if test "${enable_static+set}" = set; then :
 
9121
  enableval=$enable_static; p=${PACKAGE-default}
 
9122
    case $enableval in
 
9123
    yes) enable_static=yes ;;
 
9124
    no) enable_static=no ;;
 
9125
    *)
 
9126
     enable_static=no
 
9127
      # Look at the argument we got.  We use all the common list separators.
 
9128
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9129
      for pkg in $enableval; do
 
9130
        IFS="$lt_save_ifs"
 
9131
        if test "X$pkg" = "X$p"; then
 
9132
          enable_static=yes
 
9133
        fi
 
9134
      done
 
9135
      IFS="$lt_save_ifs"
 
9136
      ;;
 
9137
    esac
 
9138
else
 
9139
  enable_static=yes
 
9140
fi
 
9141
 
 
9142
 
 
9143
 
 
9144
 
 
9145
 
 
9146
 
 
9147
 
 
9148
 
 
9149
 
 
9150
 
 
9151
# Check whether --with-pic was given.
 
9152
if test "${with_pic+set}" = set; then :
 
9153
  withval=$with_pic; lt_p=${PACKAGE-default}
 
9154
    case $withval in
 
9155
    yes|no) pic_mode=$withval ;;
 
9156
    *)
 
9157
      pic_mode=default
 
9158
      # Look at the argument we got.  We use all the common list separators.
 
9159
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9160
      for lt_pkg in $withval; do
 
9161
        IFS="$lt_save_ifs"
 
9162
        if test "X$lt_pkg" = "X$lt_p"; then
 
9163
          pic_mode=yes
 
9164
        fi
 
9165
      done
 
9166
      IFS="$lt_save_ifs"
 
9167
      ;;
 
9168
    esac
 
9169
else
 
9170
  pic_mode=default
 
9171
fi
 
9172
 
 
9173
 
 
9174
test -z "$pic_mode" && pic_mode=default
 
9175
 
 
9176
 
 
9177
 
 
9178
 
 
9179
 
 
9180
 
 
9181
 
 
9182
  # Check whether --enable-fast-install was given.
 
9183
if test "${enable_fast_install+set}" = set; then :
 
9184
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9185
    case $enableval in
 
9186
    yes) enable_fast_install=yes ;;
 
9187
    no) enable_fast_install=no ;;
 
9188
    *)
 
9189
      enable_fast_install=no
 
9190
      # Look at the argument we got.  We use all the common list separators.
 
9191
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9192
      for pkg in $enableval; do
 
9193
        IFS="$lt_save_ifs"
 
9194
        if test "X$pkg" = "X$p"; then
 
9195
          enable_fast_install=yes
 
9196
        fi
 
9197
      done
 
9198
      IFS="$lt_save_ifs"
 
9199
      ;;
 
9200
    esac
 
9201
else
 
9202
  enable_fast_install=yes
 
9203
fi
 
9204
 
 
9205
 
 
9206
 
 
9207
 
 
9208
 
 
9209
 
 
9210
 
 
9211
 
 
9212
 
 
9213
 
 
9214
 
 
9215
# This can be used to rebuild libtool when needed
 
9216
LIBTOOL_DEPS="$ltmain"
 
9217
 
 
9218
# Always use our own libtool.
 
9219
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
9220
 
 
9221
 
 
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
 
 
9228
 
 
9229
 
 
9230
 
 
9231
 
 
9232
 
 
9233
 
 
9234
 
 
9235
 
 
9236
 
 
9237
 
 
9238
 
 
9239
 
 
9240
 
 
9241
 
 
9242
 
 
9243
 
 
9244
 
 
9245
 
 
9246
 
 
9247
 
 
9248
 
 
9249
 
 
9250
test -z "$LN_S" && LN_S="ln -s"
 
9251
 
 
9252
 
 
9253
 
 
9254
 
 
9255
 
 
9256
 
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
 
9262
 
 
9263
 
 
9264
 
 
9265
if test -n "${ZSH_VERSION+set}" ; then
 
9266
   setopt NO_GLOB_SUBST
 
9267
fi
 
9268
 
 
9269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9270
$as_echo_n "checking for objdir... " >&6; }
 
9271
if ${lt_cv_objdir+:} false; then :
 
9272
  $as_echo_n "(cached) " >&6
 
9273
else
 
9274
  rm -f .libs 2>/dev/null
 
9275
mkdir .libs 2>/dev/null
 
9276
if test -d .libs; then
 
9277
  lt_cv_objdir=.libs
 
9278
else
 
9279
  # MS-DOS does not allow filenames that begin with a dot.
 
9280
  lt_cv_objdir=_libs
 
9281
fi
 
9282
rmdir .libs 2>/dev/null
 
9283
fi
 
9284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9285
$as_echo "$lt_cv_objdir" >&6; }
 
9286
objdir=$lt_cv_objdir
 
9287
 
 
9288
 
 
9289
 
 
9290
 
 
9291
 
 
9292
cat >>confdefs.h <<_ACEOF
 
9293
#define LT_OBJDIR "$lt_cv_objdir/"
 
9294
_ACEOF
 
9295
 
 
9296
 
 
9297
 
 
9298
 
 
9299
case $host_os in
 
9300
aix3*)
 
9301
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
9302
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
9303
  # vanish in a puff of smoke.
 
9304
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
9305
    COLLECT_NAMES=
 
9306
    export COLLECT_NAMES
 
9307
  fi
 
9308
  ;;
 
9309
esac
 
9310
 
 
9311
# Global variables:
 
9312
ofile=libtool
 
9313
can_build_shared=yes
 
9314
 
 
9315
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9316
# which needs '.lib').
 
9317
libext=a
 
9318
 
 
9319
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9320
 
 
9321
old_CC="$CC"
 
9322
old_CFLAGS="$CFLAGS"
 
9323
 
 
9324
# Set sane defaults for various variables
 
9325
test -z "$CC" && CC=cc
 
9326
test -z "$LTCC" && LTCC=$CC
 
9327
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
9328
test -z "$LD" && LD=ld
 
9329
test -z "$ac_objext" && ac_objext=o
 
9330
 
 
9331
for cc_temp in $compiler""; do
 
9332
  case $cc_temp in
 
9333
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9334
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9335
    \-*) ;;
 
9336
    *) break;;
 
9337
  esac
 
9338
done
 
9339
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9340
 
 
9341
 
 
9342
# Only perform the check for file, if the check method requires it
 
9343
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9344
case $deplibs_check_method in
 
9345
file_magic*)
 
9346
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9347
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9348
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9349
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9350
  $as_echo_n "(cached) " >&6
 
9351
else
 
9352
  case $MAGIC_CMD in
 
9353
[\\/*] |  ?:[\\/]*)
 
9354
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9355
  ;;
 
9356
*)
 
9357
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9358
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9359
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9360
  for ac_dir in $ac_dummy; do
 
9361
    IFS="$lt_save_ifs"
 
9362
    test -z "$ac_dir" && ac_dir=.
 
9363
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9364
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9365
      if test -n "$file_magic_test_file"; then
 
9366
        case $deplibs_check_method in
 
9367
        "file_magic "*)
 
9368
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9369
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9370
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9371
            $EGREP "$file_magic_regex" > /dev/null; then
 
9372
            :
 
9373
          else
 
9374
            cat <<_LT_EOF 1>&2
 
9375
 
 
9376
*** Warning: the command libtool uses to detect shared libraries,
 
9377
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9378
*** The result is that libtool may fail to recognize shared libraries
 
9379
*** as such.  This will affect the creation of libtool libraries that
 
9380
*** depend on shared libraries, but programs linked with such libtool
 
9381
*** libraries will work regardless of this problem.  Nevertheless, you
 
9382
*** may want to report the problem to your system manager and/or to
 
9383
*** bug-libtool@gnu.org
 
9384
 
 
9385
_LT_EOF
 
9386
          fi ;;
 
9387
        esac
 
9388
      fi
 
9389
      break
 
9390
    fi
 
9391
  done
 
9392
  IFS="$lt_save_ifs"
 
9393
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9394
  ;;
 
9395
esac
 
9396
fi
 
9397
 
 
9398
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9399
if test -n "$MAGIC_CMD"; then
 
9400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9401
$as_echo "$MAGIC_CMD" >&6; }
 
9402
else
 
9403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9404
$as_echo "no" >&6; }
 
9405
fi
 
9406
 
 
9407
 
 
9408
 
 
9409
 
 
9410
 
 
9411
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
9412
  if test -n "$ac_tool_prefix"; then
 
9413
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9414
$as_echo_n "checking for file... " >&6; }
 
9415
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9416
  $as_echo_n "(cached) " >&6
 
9417
else
 
9418
  case $MAGIC_CMD in
 
9419
[\\/*] |  ?:[\\/]*)
 
9420
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9421
  ;;
 
9422
*)
 
9423
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9424
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9425
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9426
  for ac_dir in $ac_dummy; do
 
9427
    IFS="$lt_save_ifs"
 
9428
    test -z "$ac_dir" && ac_dir=.
 
9429
    if test -f $ac_dir/file; then
 
9430
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
9431
      if test -n "$file_magic_test_file"; then
 
9432
        case $deplibs_check_method in
 
9433
        "file_magic "*)
 
9434
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9435
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9436
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9437
            $EGREP "$file_magic_regex" > /dev/null; then
 
9438
            :
 
9439
          else
 
9440
            cat <<_LT_EOF 1>&2
 
9441
 
 
9442
*** Warning: the command libtool uses to detect shared libraries,
 
9443
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9444
*** The result is that libtool may fail to recognize shared libraries
 
9445
*** as such.  This will affect the creation of libtool libraries that
 
9446
*** depend on shared libraries, but programs linked with such libtool
 
9447
*** libraries will work regardless of this problem.  Nevertheless, you
 
9448
*** may want to report the problem to your system manager and/or to
 
9449
*** bug-libtool@gnu.org
 
9450
 
 
9451
_LT_EOF
 
9452
          fi ;;
 
9453
        esac
 
9454
      fi
 
9455
      break
 
9456
    fi
 
9457
  done
 
9458
  IFS="$lt_save_ifs"
 
9459
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9460
  ;;
 
9461
esac
 
9462
fi
 
9463
 
 
9464
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9465
if test -n "$MAGIC_CMD"; then
 
9466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9467
$as_echo "$MAGIC_CMD" >&6; }
 
9468
else
 
9469
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9470
$as_echo "no" >&6; }
 
9471
fi
 
9472
 
 
9473
 
 
9474
  else
 
9475
    MAGIC_CMD=:
 
9476
  fi
 
9477
fi
 
9478
 
 
9479
  fi
 
9480
  ;;
 
9481
esac
 
9482
 
 
9483
# Use C for the default configuration in the libtool script
 
9484
 
 
9485
lt_save_CC="$CC"
 
9486
ac_ext=c
 
9487
ac_cpp='$CPP $CPPFLAGS'
 
9488
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9489
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9490
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9491
 
 
9492
 
 
9493
# Source file extension for C test sources.
 
9494
ac_ext=c
 
9495
 
 
9496
# Object file extension for compiled C test sources.
 
9497
objext=o
 
9498
objext=$objext
 
9499
 
 
9500
# Code to be used in simple compile tests
 
9501
lt_simple_compile_test_code="int some_variable = 0;"
 
9502
 
 
9503
# Code to be used in simple link tests
 
9504
lt_simple_link_test_code='int main(){return(0);}'
 
9505
 
 
9506
 
 
9507
 
 
9508
 
 
9509
 
 
9510
 
 
9511
 
 
9512
# If no C compiler was specified, use CC.
 
9513
LTCC=${LTCC-"$CC"}
 
9514
 
 
9515
# If no C compiler flags were specified, use CFLAGS.
 
9516
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
9517
 
 
9518
# Allow CC to be a program name with arguments.
 
9519
compiler=$CC
 
9520
 
 
9521
# Save the default compiler, since it gets overwritten when the other
 
9522
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9523
compiler_DEFAULT=$CC
 
9524
 
 
9525
# save warnings/boilerplate of simple test code
 
9526
ac_outfile=conftest.$ac_objext
 
9527
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
9528
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9529
_lt_compiler_boilerplate=`cat conftest.err`
 
9530
$RM conftest*
 
9531
 
 
9532
ac_outfile=conftest.$ac_objext
 
9533
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
9534
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9535
_lt_linker_boilerplate=`cat conftest.err`
 
9536
$RM -r conftest*
 
9537
 
 
9538
 
 
9539
## CAVEAT EMPTOR:
 
9540
## There is no encapsulation within the following macros, do not change
 
9541
## the running order or otherwise move them around unless you know exactly
 
9542
## what you are doing...
 
9543
if test -n "$compiler"; then
 
9544
 
 
9545
lt_prog_compiler_no_builtin_flag=
 
9546
 
 
9547
if test "$GCC" = yes; then
 
9548
  case $cc_basename in
 
9549
  nvcc*)
 
9550
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9551
  *)
 
9552
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9553
  esac
 
9554
 
 
9555
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9556
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
9557
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
9558
  $as_echo_n "(cached) " >&6
 
9559
else
 
9560
  lt_cv_prog_compiler_rtti_exceptions=no
 
9561
   ac_outfile=conftest.$ac_objext
 
9562
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9563
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
9564
   # Insert the option either (1) after the last *FLAGS variable, or
 
9565
   # (2) before a word containing "conftest.", or (3) at the end.
 
9566
   # Note that $ac_compile itself does not contain backslashes and begins
 
9567
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9568
   # The option is referenced via a variable to avoid confusing sed.
 
9569
   lt_compile=`echo "$ac_compile" | $SED \
 
9570
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9571
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9572
   -e 's:$: $lt_compiler_flag:'`
 
9573
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9574
   (eval "$lt_compile" 2>conftest.err)
 
9575
   ac_status=$?
 
9576
   cat conftest.err >&5
 
9577
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9578
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
9579
     # The compiler can only warn and ignore the option if not recognized
 
9580
     # So say no if there are warnings other than the usual output.
 
9581
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
9582
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9583
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
9584
       lt_cv_prog_compiler_rtti_exceptions=yes
 
9585
     fi
 
9586
   fi
 
9587
   $RM conftest*
 
9588
 
 
9589
fi
 
9590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9591
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9592
 
 
9593
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
9594
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
9595
else
 
9596
    :
 
9597
fi
 
9598
 
 
9599
fi
 
9600
 
 
9601
 
 
9602
 
 
9603
 
 
9604
 
 
9605
 
 
9606
  lt_prog_compiler_wl=
 
9607
lt_prog_compiler_pic=
 
9608
lt_prog_compiler_static=
 
9609
 
 
9610
 
 
9611
  if test "$GCC" = yes; then
 
9612
    lt_prog_compiler_wl='-Wl,'
 
9613
    lt_prog_compiler_static='-static'
 
9614
 
 
9615
    case $host_os in
 
9616
      aix*)
 
9617
      # All AIX code is PIC.
 
9618
      if test "$host_cpu" = ia64; then
 
9619
        # AIX 5 now supports IA64 processor
 
9620
        lt_prog_compiler_static='-Bstatic'
 
9621
      fi
 
9622
      ;;
 
9623
 
 
9624
    amigaos*)
 
9625
      case $host_cpu in
 
9626
      powerpc)
 
9627
            # see comment about AmigaOS4 .so support
 
9628
            lt_prog_compiler_pic='-fPIC'
 
9629
        ;;
 
9630
      m68k)
 
9631
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9632
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9633
            # like `-m68040'.
 
9634
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9635
        ;;
 
9636
      esac
 
9637
      ;;
 
9638
 
 
9639
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
9640
      # PIC is the default for these OSes.
 
9641
      ;;
 
9642
 
 
9643
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9644
      # This hack is so that the source file can tell whether it is being
 
9645
      # built for inclusion in a dll (and should export symbols for example).
 
9646
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
9647
      # (--disable-auto-import) libraries
 
9648
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
9649
      ;;
 
9650
 
 
9651
    darwin* | rhapsody*)
 
9652
      # PIC is the default on this platform
 
9653
      # Common symbols not allowed in MH_DYLIB files
 
9654
      lt_prog_compiler_pic='-fno-common'
 
9655
      ;;
 
9656
 
 
9657
    haiku*)
 
9658
      # PIC is the default for Haiku.
 
9659
      # The "-static" flag exists, but is broken.
 
9660
      lt_prog_compiler_static=
 
9661
      ;;
 
9662
 
 
9663
    hpux*)
 
9664
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9665
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9666
      # sets the default TLS model and affects inlining.
 
9667
      case $host_cpu in
 
9668
      hppa*64*)
 
9669
        # +Z the default
 
9670
        ;;
 
9671
      *)
 
9672
        lt_prog_compiler_pic='-fPIC'
 
9673
        ;;
 
9674
      esac
 
9675
      ;;
 
9676
 
 
9677
    interix[3-9]*)
 
9678
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
9679
      # Instead, we relocate shared libraries at runtime.
 
9680
      ;;
 
9681
 
 
9682
    msdosdjgpp*)
 
9683
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
9684
      # on systems that don't support them.
 
9685
      lt_prog_compiler_can_build_shared=no
 
9686
      enable_shared=no
 
9687
      ;;
 
9688
 
 
9689
    *nto* | *qnx*)
 
9690
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9691
      # it will coredump.
 
9692
      lt_prog_compiler_pic='-fPIC -shared'
 
9693
      ;;
 
9694
 
 
9695
    sysv4*MP*)
 
9696
      if test -d /usr/nec; then
 
9697
        lt_prog_compiler_pic=-Kconform_pic
 
9698
      fi
 
9699
      ;;
 
9700
 
 
9701
    *)
 
9702
      lt_prog_compiler_pic='-fPIC'
 
9703
      ;;
 
9704
    esac
 
9705
 
 
9706
    case $cc_basename in
 
9707
    nvcc*) # Cuda Compiler Driver 2.2
 
9708
      lt_prog_compiler_wl='-Xlinker '
 
9709
      if test -n "$lt_prog_compiler_pic"; then
 
9710
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
9711
      fi
 
9712
      ;;
 
9713
    esac
 
9714
  else
 
9715
    # PORTME Check for flag to pass linker flags through the system compiler.
 
9716
    case $host_os in
 
9717
    aix*)
 
9718
      lt_prog_compiler_wl='-Wl,'
 
9719
      if test "$host_cpu" = ia64; then
 
9720
        # AIX 5 now supports IA64 processor
 
9721
        lt_prog_compiler_static='-Bstatic'
 
9722
      else
 
9723
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
9724
      fi
 
9725
      ;;
 
9726
 
 
9727
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9728
      # This hack is so that the source file can tell whether it is being
 
9729
      # built for inclusion in a dll (and should export symbols for example).
 
9730
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
9731
      ;;
 
9732
 
 
9733
    hpux9* | hpux10* | hpux11*)
 
9734
      lt_prog_compiler_wl='-Wl,'
 
9735
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
9736
      # not for PA HP-UX.
 
9737
      case $host_cpu in
 
9738
      hppa*64*|ia64*)
 
9739
        # +Z the default
 
9740
        ;;
 
9741
      *)
 
9742
        lt_prog_compiler_pic='+Z'
 
9743
        ;;
 
9744
      esac
 
9745
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
9746
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
9747
      ;;
 
9748
 
 
9749
    irix5* | irix6* | nonstopux*)
 
9750
      lt_prog_compiler_wl='-Wl,'
 
9751
      # PIC (with -KPIC) is the default.
 
9752
      lt_prog_compiler_static='-non_shared'
 
9753
      ;;
 
9754
 
 
9755
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
9756
      case $cc_basename in
 
9757
      # old Intel for x86_64 which still supported -KPIC.
 
9758
      ecc*)
 
9759
        lt_prog_compiler_wl='-Wl,'
 
9760
        lt_prog_compiler_pic='-KPIC'
 
9761
        lt_prog_compiler_static='-static'
 
9762
        ;;
 
9763
      # icc used to be incompatible with GCC.
 
9764
      # ICC 10 doesn't accept -KPIC any more.
 
9765
      icc* | ifort*)
 
9766
        lt_prog_compiler_wl='-Wl,'
 
9767
        lt_prog_compiler_pic='-fPIC'
 
9768
        lt_prog_compiler_static='-static'
 
9769
        ;;
 
9770
      # Lahey Fortran 8.1.
 
9771
      lf95*)
 
9772
        lt_prog_compiler_wl='-Wl,'
 
9773
        lt_prog_compiler_pic='--shared'
 
9774
        lt_prog_compiler_static='--static'
 
9775
        ;;
 
9776
      nagfor*)
 
9777
        # NAG Fortran compiler
 
9778
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9779
        lt_prog_compiler_pic='-PIC'
 
9780
        lt_prog_compiler_static='-Bstatic'
 
9781
        ;;
 
9782
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
9783
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
9784
        # which looks to be a dead project)
 
9785
        lt_prog_compiler_wl='-Wl,'
 
9786
        lt_prog_compiler_pic='-fpic'
 
9787
        lt_prog_compiler_static='-Bstatic'
 
9788
        ;;
 
9789
      ccc*)
 
9790
        lt_prog_compiler_wl='-Wl,'
 
9791
        # All Alpha code is PIC.
 
9792
        lt_prog_compiler_static='-non_shared'
 
9793
        ;;
 
9794
      xl* | bgxl* | bgf* | mpixl*)
 
9795
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
9796
        lt_prog_compiler_wl='-Wl,'
 
9797
        lt_prog_compiler_pic='-qpic'
 
9798
        lt_prog_compiler_static='-qstaticlink'
 
9799
        ;;
 
9800
      *)
 
9801
        case `$CC -V 2>&1 | sed 5q` in
 
9802
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
9803
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9804
          lt_prog_compiler_pic='-KPIC'
 
9805
          lt_prog_compiler_static='-Bstatic'
 
9806
          lt_prog_compiler_wl=''
 
9807
          ;;
 
9808
        *Sun\ F* | *Sun*Fortran*)
 
9809
          lt_prog_compiler_pic='-KPIC'
 
9810
          lt_prog_compiler_static='-Bstatic'
 
9811
          lt_prog_compiler_wl='-Qoption ld '
 
9812
          ;;
 
9813
        *Sun\ C*)
 
9814
          # Sun C 5.9
 
9815
          lt_prog_compiler_pic='-KPIC'
 
9816
          lt_prog_compiler_static='-Bstatic'
 
9817
          lt_prog_compiler_wl='-Wl,'
 
9818
          ;;
 
9819
        *Intel*\ [CF]*Compiler*)
 
9820
          lt_prog_compiler_wl='-Wl,'
 
9821
          lt_prog_compiler_pic='-fPIC'
 
9822
          lt_prog_compiler_static='-static'
 
9823
          ;;
 
9824
        *Portland\ Group*)
 
9825
          lt_prog_compiler_wl='-Wl,'
 
9826
          lt_prog_compiler_pic='-fpic'
 
9827
          lt_prog_compiler_static='-Bstatic'
 
9828
          ;;
 
9829
        esac
 
9830
        ;;
 
9831
      esac
 
9832
      ;;
 
9833
 
 
9834
    newsos6)
 
9835
      lt_prog_compiler_pic='-KPIC'
 
9836
      lt_prog_compiler_static='-Bstatic'
 
9837
      ;;
 
9838
 
 
9839
    *nto* | *qnx*)
 
9840
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9841
      # it will coredump.
 
9842
      lt_prog_compiler_pic='-fPIC -shared'
 
9843
      ;;
 
9844
 
 
9845
    osf3* | osf4* | osf5*)
 
9846
      lt_prog_compiler_wl='-Wl,'
 
9847
      # All OSF/1 code is PIC.
 
9848
      lt_prog_compiler_static='-non_shared'
 
9849
      ;;
 
9850
 
 
9851
    rdos*)
 
9852
      lt_prog_compiler_static='-non_shared'
 
9853
      ;;
 
9854
 
 
9855
    solaris*)
 
9856
      lt_prog_compiler_pic='-KPIC'
 
9857
      lt_prog_compiler_static='-Bstatic'
 
9858
      case $cc_basename in
 
9859
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
9860
        lt_prog_compiler_wl='-Qoption ld ';;
 
9861
      *)
 
9862
        lt_prog_compiler_wl='-Wl,';;
 
9863
      esac
 
9864
      ;;
 
9865
 
 
9866
    sunos4*)
 
9867
      lt_prog_compiler_wl='-Qoption ld '
 
9868
      lt_prog_compiler_pic='-PIC'
 
9869
      lt_prog_compiler_static='-Bstatic'
 
9870
      ;;
 
9871
 
 
9872
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
9873
      lt_prog_compiler_wl='-Wl,'
 
9874
      lt_prog_compiler_pic='-KPIC'
 
9875
      lt_prog_compiler_static='-Bstatic'
 
9876
      ;;
 
9877
 
 
9878
    sysv4*MP*)
 
9879
      if test -d /usr/nec ;then
 
9880
        lt_prog_compiler_pic='-Kconform_pic'
 
9881
        lt_prog_compiler_static='-Bstatic'
 
9882
      fi
 
9883
      ;;
 
9884
 
 
9885
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
9886
      lt_prog_compiler_wl='-Wl,'
 
9887
      lt_prog_compiler_pic='-KPIC'
 
9888
      lt_prog_compiler_static='-Bstatic'
 
9889
      ;;
 
9890
 
 
9891
    unicos*)
 
9892
      lt_prog_compiler_wl='-Wl,'
 
9893
      lt_prog_compiler_can_build_shared=no
 
9894
      ;;
 
9895
 
 
9896
    uts4*)
 
9897
      lt_prog_compiler_pic='-pic'
 
9898
      lt_prog_compiler_static='-Bstatic'
 
9899
      ;;
 
9900
 
 
9901
    *)
 
9902
      lt_prog_compiler_can_build_shared=no
 
9903
      ;;
 
9904
    esac
 
9905
  fi
 
9906
 
 
9907
case $host_os in
 
9908
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9909
  *djgpp*)
 
9910
    lt_prog_compiler_pic=
 
9911
    ;;
 
9912
  *)
 
9913
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9914
    ;;
 
9915
esac
 
9916
 
 
9917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9918
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9919
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9920
  $as_echo_n "(cached) " >&6
 
9921
else
 
9922
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9923
fi
 
9924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9925
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9926
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
9927
 
 
9928
#
 
9929
# Check to make sure the PIC flag actually works.
 
9930
#
 
9931
if test -n "$lt_prog_compiler_pic"; then
 
9932
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9933
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9934
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
9935
  $as_echo_n "(cached) " >&6
 
9936
else
 
9937
  lt_cv_prog_compiler_pic_works=no
 
9938
   ac_outfile=conftest.$ac_objext
 
9939
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9940
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
9941
   # Insert the option either (1) after the last *FLAGS variable, or
 
9942
   # (2) before a word containing "conftest.", or (3) at the end.
 
9943
   # Note that $ac_compile itself does not contain backslashes and begins
 
9944
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9945
   # The option is referenced via a variable to avoid confusing sed.
 
9946
   lt_compile=`echo "$ac_compile" | $SED \
 
9947
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9948
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9949
   -e 's:$: $lt_compiler_flag:'`
 
9950
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9951
   (eval "$lt_compile" 2>conftest.err)
 
9952
   ac_status=$?
 
9953
   cat conftest.err >&5
 
9954
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9955
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
9956
     # The compiler can only warn and ignore the option if not recognized
 
9957
     # So say no if there are warnings other than the usual output.
 
9958
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
9959
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9960
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
9961
       lt_cv_prog_compiler_pic_works=yes
 
9962
     fi
 
9963
   fi
 
9964
   $RM conftest*
 
9965
 
 
9966
fi
 
9967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9968
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
9969
 
 
9970
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
9971
    case $lt_prog_compiler_pic in
 
9972
     "" | " "*) ;;
 
9973
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
9974
     esac
 
9975
else
 
9976
    lt_prog_compiler_pic=
 
9977
     lt_prog_compiler_can_build_shared=no
 
9978
fi
 
9979
 
 
9980
fi
 
9981
 
 
9982
 
 
9983
 
 
9984
 
 
9985
 
 
9986
 
 
9987
 
 
9988
 
 
9989
 
 
9990
 
 
9991
 
 
9992
#
 
9993
# Check to make sure the static flag actually works.
 
9994
#
 
9995
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
9996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9997
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9998
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
9999
  $as_echo_n "(cached) " >&6
 
10000
else
 
10001
  lt_cv_prog_compiler_static_works=no
 
10002
   save_LDFLAGS="$LDFLAGS"
 
10003
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10004
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10005
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10006
     # The linker can only warn and ignore the option if not recognized
 
10007
     # So say no if there are warnings
 
10008
     if test -s conftest.err; then
 
10009
       # Append any errors to the config.log.
 
10010
       cat conftest.err 1>&5
 
10011
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10012
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10013
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10014
         lt_cv_prog_compiler_static_works=yes
 
10015
       fi
 
10016
     else
 
10017
       lt_cv_prog_compiler_static_works=yes
 
10018
     fi
 
10019
   fi
 
10020
   $RM -r conftest*
 
10021
   LDFLAGS="$save_LDFLAGS"
 
10022
 
 
10023
fi
 
10024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10025
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10026
 
 
10027
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10028
    :
 
10029
else
 
10030
    lt_prog_compiler_static=
 
10031
fi
 
10032
 
 
10033
 
 
10034
 
 
10035
 
 
10036
 
 
10037
 
 
10038
 
 
10039
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10040
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10041
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10042
  $as_echo_n "(cached) " >&6
 
10043
else
 
10044
  lt_cv_prog_compiler_c_o=no
 
10045
   $RM -r conftest 2>/dev/null
 
10046
   mkdir conftest
 
10047
   cd conftest
 
10048
   mkdir out
 
10049
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10050
 
 
10051
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10052
   # Insert the option either (1) after the last *FLAGS variable, or
 
10053
   # (2) before a word containing "conftest.", or (3) at the end.
 
10054
   # Note that $ac_compile itself does not contain backslashes and begins
 
10055
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10056
   lt_compile=`echo "$ac_compile" | $SED \
 
10057
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10058
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10059
   -e 's:$: $lt_compiler_flag:'`
 
10060
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10061
   (eval "$lt_compile" 2>out/conftest.err)
 
10062
   ac_status=$?
 
10063
   cat out/conftest.err >&5
 
10064
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10065
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10066
   then
 
10067
     # The compiler can only warn and ignore the option if not recognized
 
10068
     # So say no if there are warnings
 
10069
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10070
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10071
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10072
       lt_cv_prog_compiler_c_o=yes
 
10073
     fi
 
10074
   fi
 
10075
   chmod u+w . 2>&5
 
10076
   $RM conftest*
 
10077
   # SGI C++ compiler will create directory out/ii_files/ for
 
10078
   # template instantiation
 
10079
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10080
   $RM out/* && rmdir out
 
10081
   cd ..
 
10082
   $RM -r conftest
 
10083
   $RM conftest*
 
10084
 
 
10085
fi
 
10086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10087
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10088
 
 
10089
 
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10095
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10096
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10097
  $as_echo_n "(cached) " >&6
 
10098
else
 
10099
  lt_cv_prog_compiler_c_o=no
 
10100
   $RM -r conftest 2>/dev/null
 
10101
   mkdir conftest
 
10102
   cd conftest
 
10103
   mkdir out
 
10104
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10105
 
 
10106
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10107
   # Insert the option either (1) after the last *FLAGS variable, or
 
10108
   # (2) before a word containing "conftest.", or (3) at the end.
 
10109
   # Note that $ac_compile itself does not contain backslashes and begins
 
10110
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10111
   lt_compile=`echo "$ac_compile" | $SED \
 
10112
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10113
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10114
   -e 's:$: $lt_compiler_flag:'`
 
10115
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10116
   (eval "$lt_compile" 2>out/conftest.err)
 
10117
   ac_status=$?
 
10118
   cat out/conftest.err >&5
 
10119
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10120
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10121
   then
 
10122
     # The compiler can only warn and ignore the option if not recognized
 
10123
     # So say no if there are warnings
 
10124
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10125
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10126
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10127
       lt_cv_prog_compiler_c_o=yes
 
10128
     fi
 
10129
   fi
 
10130
   chmod u+w . 2>&5
 
10131
   $RM conftest*
 
10132
   # SGI C++ compiler will create directory out/ii_files/ for
 
10133
   # template instantiation
 
10134
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10135
   $RM out/* && rmdir out
 
10136
   cd ..
 
10137
   $RM -r conftest
 
10138
   $RM conftest*
 
10139
 
 
10140
fi
 
10141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10142
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
hard_links="nottested"
 
10148
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10149
  # do not overwrite the value of need_locks provided by the user
 
10150
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10151
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
10152
  hard_links=yes
 
10153
  $RM conftest*
 
10154
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10155
  touch conftest.a
 
10156
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
10157
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10159
$as_echo "$hard_links" >&6; }
 
10160
  if test "$hard_links" = no; then
 
10161
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10162
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10163
    need_locks=warn
 
10164
  fi
 
10165
else
 
10166
  need_locks=no
 
10167
fi
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10175
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
10176
 
 
10177
  runpath_var=
 
10178
  allow_undefined_flag=
 
10179
  always_export_symbols=no
 
10180
  archive_cmds=
 
10181
  archive_expsym_cmds=
 
10182
  compiler_needs_object=no
 
10183
  enable_shared_with_static_runtimes=no
 
10184
  export_dynamic_flag_spec=
 
10185
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10186
  hardcode_automatic=no
 
10187
  hardcode_direct=no
 
10188
  hardcode_direct_absolute=no
 
10189
  hardcode_libdir_flag_spec=
 
10190
  hardcode_libdir_separator=
 
10191
  hardcode_minus_L=no
 
10192
  hardcode_shlibpath_var=unsupported
 
10193
  inherit_rpath=no
 
10194
  link_all_deplibs=unknown
 
10195
  module_cmds=
 
10196
  module_expsym_cmds=
 
10197
  old_archive_from_new_cmds=
 
10198
  old_archive_from_expsyms_cmds=
 
10199
  thread_safe_flag_spec=
 
10200
  whole_archive_flag_spec=
 
10201
  # include_expsyms should be a list of space-separated symbols to be *always*
 
10202
  # included in the symbol list
 
10203
  include_expsyms=
 
10204
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10205
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10206
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10207
  # as well as any symbol that contains `d'.
 
10208
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
10209
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10210
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10211
  # the symbol is explicitly referenced.  Since portable code cannot
 
10212
  # rely on this symbol name, it's probably fine to never include it in
 
10213
  # preloaded symbol tables.
 
10214
  # Exclude shared library initialization/finalization symbols.
 
10215
  extract_expsyms_cmds=
 
10216
 
 
10217
  case $host_os in
 
10218
  cygwin* | mingw* | pw32* | cegcc*)
 
10219
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10220
    # When not using gcc, we currently assume that we are using
 
10221
    # Microsoft Visual C++.
 
10222
    if test "$GCC" != yes; then
 
10223
      with_gnu_ld=no
 
10224
    fi
 
10225
    ;;
 
10226
  interix*)
 
10227
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
10228
    with_gnu_ld=yes
 
10229
    ;;
 
10230
  openbsd*)
 
10231
    with_gnu_ld=no
 
10232
    ;;
 
10233
  linux* | k*bsd*-gnu | gnu*)
 
10234
    link_all_deplibs=no
 
10235
    ;;
 
10236
  esac
 
10237
 
 
10238
  ld_shlibs=yes
 
10239
 
 
10240
  # On some targets, GNU ld is compatible enough with the native linker
 
10241
  # that we're better off using the native interface for both.
 
10242
  lt_use_gnu_ld_interface=no
 
10243
  if test "$with_gnu_ld" = yes; then
 
10244
    case $host_os in
 
10245
      aix*)
 
10246
        # The AIX port of GNU ld has always aspired to compatibility
 
10247
        # with the native linker.  However, as the warning in the GNU ld
 
10248
        # block says, versions before 2.19.5* couldn't really create working
 
10249
        # shared libraries, regardless of the interface used.
 
10250
        case `$LD -v 2>&1` in
 
10251
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10252
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10253
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10254
          *)
 
10255
            lt_use_gnu_ld_interface=yes
 
10256
            ;;
 
10257
        esac
 
10258
        ;;
 
10259
      *)
 
10260
        lt_use_gnu_ld_interface=yes
 
10261
        ;;
 
10262
    esac
 
10263
  fi
 
10264
 
 
10265
  if test "$lt_use_gnu_ld_interface" = yes; then
 
10266
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
10267
    wlarc='${wl}'
 
10268
 
 
10269
    # Set some defaults for GNU ld with shared library support. These
 
10270
    # are reset later if shared libraries are not supported. Putting them
 
10271
    # here allows them to be overridden if necessary.
 
10272
    runpath_var=LD_RUN_PATH
 
10273
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10274
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
10275
    # ancient GNU ld didn't support --whole-archive et. al.
 
10276
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
10277
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10278
    else
 
10279
      whole_archive_flag_spec=
 
10280
    fi
 
10281
    supports_anon_versioning=no
 
10282
    case `$LD -v 2>&1` in
 
10283
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
10284
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
10285
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
10286
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
10287
      *\ 2.11.*) ;; # other 2.11 versions
 
10288
      *) supports_anon_versioning=yes ;;
 
10289
    esac
 
10290
 
 
10291
    # See if GNU ld supports shared libraries.
 
10292
    case $host_os in
 
10293
    aix[3-9]*)
 
10294
      # On AIX/PPC, the GNU linker is very broken
 
10295
      if test "$host_cpu" != ia64; then
 
10296
        ld_shlibs=no
 
10297
        cat <<_LT_EOF 1>&2
 
10298
 
 
10299
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
10300
*** to be unable to reliably create shared libraries on AIX.
 
10301
*** Therefore, libtool is disabling shared libraries support.  If you
 
10302
*** really care for shared libraries, you may want to install binutils
 
10303
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10304
*** You will then need to restart the configuration process.
 
10305
 
 
10306
_LT_EOF
 
10307
      fi
 
10308
      ;;
 
10309
 
 
10310
    amigaos*)
 
10311
      case $host_cpu in
 
10312
      powerpc)
 
10313
            # see comment about AmigaOS4 .so support
 
10314
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10315
            archive_expsym_cmds=''
 
10316
        ;;
 
10317
      m68k)
 
10318
            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)'
 
10319
            hardcode_libdir_flag_spec='-L$libdir'
 
10320
            hardcode_minus_L=yes
 
10321
        ;;
 
10322
      esac
 
10323
      ;;
 
10324
 
 
10325
    beos*)
 
10326
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10327
        allow_undefined_flag=unsupported
 
10328
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10329
        # support --undefined.  This deserves some investigation.  FIXME
 
10330
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10331
      else
 
10332
        ld_shlibs=no
 
10333
      fi
 
10334
      ;;
 
10335
 
 
10336
    cygwin* | mingw* | pw32* | cegcc*)
 
10337
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
10338
      # as there is no search path for DLLs.
 
10339
      hardcode_libdir_flag_spec='-L$libdir'
 
10340
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
10341
      allow_undefined_flag=unsupported
 
10342
      always_export_symbols=no
 
10343
      enable_shared_with_static_runtimes=yes
 
10344
      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'
 
10345
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
10346
 
 
10347
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
10348
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10349
        # If the export-symbols file already is a .def file (1st line
 
10350
        # is EXPORTS), use it as is; otherwise, prepend...
 
10351
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10352
          cp $export_symbols $output_objdir/$soname.def;
 
10353
        else
 
10354
          echo EXPORTS > $output_objdir/$soname.def;
 
10355
          cat $export_symbols >> $output_objdir/$soname.def;
 
10356
        fi~
 
10357
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10358
      else
 
10359
        ld_shlibs=no
 
10360
      fi
 
10361
      ;;
 
10362
 
 
10363
    haiku*)
 
10364
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10365
      link_all_deplibs=yes
 
10366
      ;;
 
10367
 
 
10368
    interix[3-9]*)
 
10369
      hardcode_direct=no
 
10370
      hardcode_shlibpath_var=no
 
10371
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10372
      export_dynamic_flag_spec='${wl}-E'
 
10373
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
10374
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
10375
      # default) and relocated if they conflict, which is a slow very memory
 
10376
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
10377
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
10378
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
10379
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
10380
      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'
 
10381
      ;;
 
10382
 
 
10383
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
10384
      tmp_diet=no
 
10385
      if test "$host_os" = linux-dietlibc; then
 
10386
        case $cc_basename in
 
10387
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10388
        esac
 
10389
      fi
 
10390
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
10391
         && test "$tmp_diet" = no
 
10392
      then
 
10393
        tmp_addflag=' $pic_flag'
 
10394
        tmp_sharedflag='-shared'
 
10395
        case $cc_basename,$host_cpu in
 
10396
        pgcc*)                          # Portland Group C compiler
 
10397
          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'
 
10398
          tmp_addflag=' $pic_flag'
 
10399
          ;;
 
10400
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10401
                                        # Portland Group f77 and f90 compilers
 
10402
          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'
 
10403
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
10404
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
10405
          tmp_addflag=' -i_dynamic' ;;
 
10406
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
10407
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
10408
        ifc* | ifort*)                  # Intel Fortran compiler
 
10409
          tmp_addflag=' -nofor_main' ;;
 
10410
        lf95*)                          # Lahey Fortran 8.1
 
10411
          whole_archive_flag_spec=
 
10412
          tmp_sharedflag='--shared' ;;
 
10413
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
10414
          tmp_sharedflag='-qmkshrobj'
 
10415
          tmp_addflag= ;;
 
10416
        nvcc*)  # Cuda Compiler Driver 2.2
 
10417
          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'
 
10418
          compiler_needs_object=yes
 
10419
          ;;
 
10420
        esac
 
10421
        case `$CC -V 2>&1 | sed 5q` in
 
10422
        *Sun\ C*)                       # Sun C 5.9
 
10423
          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'
 
10424
          compiler_needs_object=yes
 
10425
          tmp_sharedflag='-G' ;;
 
10426
        *Sun\ F*)                       # Sun Fortran 8.3
 
10427
          tmp_sharedflag='-G' ;;
 
10428
        esac
 
10429
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10430
 
 
10431
        if test "x$supports_anon_versioning" = xyes; then
 
10432
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10433
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10434
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10435
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10436
        fi
 
10437
 
 
10438
        case $cc_basename in
 
10439
        xlf* | bgf* | bgxlf* | mpixlf*)
 
10440
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10441
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10442
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10443
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
10444
          if test "x$supports_anon_versioning" = xyes; then
 
10445
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10446
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10447
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
10448
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10449
          fi
 
10450
          ;;
 
10451
        esac
 
10452
      else
 
10453
        ld_shlibs=no
 
10454
      fi
 
10455
      ;;
 
10456
 
 
10457
    netbsd* | netbsdelf*-gnu)
 
10458
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10459
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
10460
        wlarc=
 
10461
      else
 
10462
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10463
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10464
      fi
 
10465
      ;;
 
10466
 
 
10467
    solaris*)
 
10468
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
10469
        ld_shlibs=no
 
10470
        cat <<_LT_EOF 1>&2
 
10471
 
 
10472
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
10473
*** create shared libraries on Solaris systems.  Therefore, libtool
 
10474
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10475
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
10476
*** your PATH or compiler configuration so that the native linker is
 
10477
*** used, and then restart.
 
10478
 
 
10479
_LT_EOF
 
10480
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10481
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10482
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10483
      else
 
10484
        ld_shlibs=no
 
10485
      fi
 
10486
      ;;
 
10487
 
 
10488
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
10489
      case `$LD -v 2>&1` in
 
10490
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
10491
        ld_shlibs=no
 
10492
        cat <<_LT_EOF 1>&2
 
10493
 
 
10494
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
10495
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
10496
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10497
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
10498
*** your PATH or compiler configuration so that the native linker is
 
10499
*** used, and then restart.
 
10500
 
 
10501
_LT_EOF
 
10502
        ;;
 
10503
        *)
 
10504
          # For security reasons, it is highly recommended that you always
 
10505
          # use absolute paths for naming shared libraries, and exclude the
 
10506
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
10507
          # requires that you compile everything twice, which is a pain.
 
10508
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10509
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10510
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10511
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10512
          else
 
10513
            ld_shlibs=no
 
10514
          fi
 
10515
        ;;
 
10516
      esac
 
10517
      ;;
 
10518
 
 
10519
    sunos4*)
 
10520
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10521
      wlarc=
 
10522
      hardcode_direct=yes
 
10523
      hardcode_shlibpath_var=no
 
10524
      ;;
 
10525
 
 
10526
    *)
 
10527
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10528
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10529
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10530
      else
 
10531
        ld_shlibs=no
 
10532
      fi
 
10533
      ;;
 
10534
    esac
 
10535
 
 
10536
    if test "$ld_shlibs" = no; then
 
10537
      runpath_var=
 
10538
      hardcode_libdir_flag_spec=
 
10539
      export_dynamic_flag_spec=
 
10540
      whole_archive_flag_spec=
 
10541
    fi
 
10542
  else
 
10543
    # PORTME fill in a description of your system's linker (not GNU ld)
 
10544
    case $host_os in
 
10545
    aix3*)
 
10546
      allow_undefined_flag=unsupported
 
10547
      always_export_symbols=yes
 
10548
      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'
 
10549
      # Note: this linker hardcodes the directories in LIBPATH if there
 
10550
      # are no directories specified by -L.
 
10551
      hardcode_minus_L=yes
 
10552
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
10553
        # Neither direct hardcoding nor static linking is supported with a
 
10554
        # broken collect2.
 
10555
        hardcode_direct=unsupported
 
10556
      fi
 
10557
      ;;
 
10558
 
 
10559
    aix[4-9]*)
 
10560
      if test "$host_cpu" = ia64; then
 
10561
        # On IA64, the linker does run time linking by default, so we don't
 
10562
        # have to do anything special.
 
10563
        aix_use_runtimelinking=no
 
10564
        exp_sym_flag='-Bexport'
 
10565
        no_entry_flag=""
 
10566
      else
 
10567
        # If we're using GNU nm, then we don't want the "-C" option.
 
10568
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10569
        # Also, AIX nm treats weak defined symbols like other global
 
10570
        # defined symbols, whereas GNU nm marks them as "W".
 
10571
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10572
          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'
 
10573
        else
 
10574
          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'
 
10575
        fi
 
10576
        aix_use_runtimelinking=no
 
10577
 
 
10578
        # Test if we are trying to use run time linking or normal
 
10579
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
10580
        # need to do runtime linking.
 
10581
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
10582
          for ld_flag in $LDFLAGS; do
 
10583
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10584
            aix_use_runtimelinking=yes
 
10585
            break
 
10586
          fi
 
10587
          done
 
10588
          ;;
 
10589
        esac
 
10590
 
 
10591
        exp_sym_flag='-bexport'
 
10592
        no_entry_flag='-bnoentry'
 
10593
      fi
 
10594
 
 
10595
      # When large executables or shared objects are built, AIX ld can
 
10596
      # have problems creating the table of contents.  If linking a library
 
10597
      # or program results in "error TOC overflow" add -mminimal-toc to
 
10598
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
10599
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
10600
 
 
10601
      archive_cmds=''
 
10602
      hardcode_direct=yes
 
10603
      hardcode_direct_absolute=yes
 
10604
      hardcode_libdir_separator=':'
 
10605
      link_all_deplibs=yes
 
10606
      file_list_spec='${wl}-f,'
 
10607
 
 
10608
      if test "$GCC" = yes; then
 
10609
        case $host_os in aix4.[012]|aix4.[012].*)
 
10610
        # We only want to do this on AIX 4.2 and lower, the check
 
10611
        # below for broken collect2 doesn't work under 4.3+
 
10612
          collect2name=`${CC} -print-prog-name=collect2`
 
10613
          if test -f "$collect2name" &&
 
10614
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
10615
          then
 
10616
          # We have reworked collect2
 
10617
          :
 
10618
          else
 
10619
          # We have old collect2
 
10620
          hardcode_direct=unsupported
 
10621
          # It fails to find uninstalled libraries when the uninstalled
 
10622
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10623
          # to unsupported forces relinking
 
10624
          hardcode_minus_L=yes
 
10625
          hardcode_libdir_flag_spec='-L$libdir'
 
10626
          hardcode_libdir_separator=
 
10627
          fi
 
10628
          ;;
 
10629
        esac
 
10630
        shared_flag='-shared'
 
10631
        if test "$aix_use_runtimelinking" = yes; then
 
10632
          shared_flag="$shared_flag "'${wl}-G'
 
10633
        fi
 
10634
        link_all_deplibs=no
 
10635
      else
 
10636
        # not using gcc
 
10637
        if test "$host_cpu" = ia64; then
 
10638
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10639
        # chokes on -Wl,-G. The following line is correct:
 
10640
          shared_flag='-G'
 
10641
        else
 
10642
          if test "$aix_use_runtimelinking" = yes; then
 
10643
            shared_flag='${wl}-G'
 
10644
          else
 
10645
            shared_flag='${wl}-bM:SRE'
 
10646
          fi
 
10647
        fi
 
10648
      fi
 
10649
 
 
10650
      export_dynamic_flag_spec='${wl}-bexpall'
 
10651
      # It seems that -bexpall does not export symbols beginning with
 
10652
      # underscore (_), so it is better to generate a list of symbols to export.
 
10653
      always_export_symbols=yes
 
10654
      if test "$aix_use_runtimelinking" = yes; then
 
10655
        # Warning - without using the other runtime loading flags (-brtl),
 
10656
        # -berok will link without error, but may produce a broken library.
 
10657
        allow_undefined_flag='-berok'
 
10658
        # Determine the default libpath from the value encoded in an
 
10659
        # empty executable.
 
10660
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10661
  aix_libpath=$lt_cv_aix_libpath
 
10662
else
 
10663
  if ${lt_cv_aix_libpath_+:} false; then :
 
10664
  $as_echo_n "(cached) " >&6
 
10665
else
 
10666
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10667
/* end confdefs.h.  */
 
10668
 
 
10669
int
 
10670
main ()
 
10671
{
 
10672
 
 
10673
  ;
 
10674
  return 0;
 
10675
}
 
10676
_ACEOF
 
10677
if ac_fn_c_try_link "$LINENO"; then :
 
10678
 
 
10679
  lt_aix_libpath_sed='
 
10680
      /Import File Strings/,/^$/ {
 
10681
          /^0/ {
 
10682
              s/^0  *\([^ ]*\) *$/\1/
 
10683
              p
 
10684
          }
 
10685
      }'
 
10686
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10687
  # Check for a 64-bit object if we didn't find anything.
 
10688
  if test -z "$lt_cv_aix_libpath_"; then
 
10689
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10690
  fi
 
10691
fi
 
10692
rm -f core conftest.err conftest.$ac_objext \
 
10693
    conftest$ac_exeext conftest.$ac_ext
 
10694
  if test -z "$lt_cv_aix_libpath_"; then
 
10695
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10696
  fi
 
10697
 
 
10698
fi
 
10699
 
 
10700
  aix_libpath=$lt_cv_aix_libpath_
 
10701
fi
 
10702
 
 
10703
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10704
        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"
 
10705
      else
 
10706
        if test "$host_cpu" = ia64; then
 
10707
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
10708
          allow_undefined_flag="-z nodefs"
 
10709
          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"
 
10710
        else
 
10711
         # Determine the default libpath from the value encoded in an
 
10712
         # empty executable.
 
10713
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10714
  aix_libpath=$lt_cv_aix_libpath
 
10715
else
 
10716
  if ${lt_cv_aix_libpath_+:} false; then :
 
10717
  $as_echo_n "(cached) " >&6
 
10718
else
 
10719
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10720
/* end confdefs.h.  */
 
10721
 
 
10722
int
 
10723
main ()
 
10724
{
 
10725
 
 
10726
  ;
 
10727
  return 0;
 
10728
}
 
10729
_ACEOF
 
10730
if ac_fn_c_try_link "$LINENO"; then :
 
10731
 
 
10732
  lt_aix_libpath_sed='
 
10733
      /Import File Strings/,/^$/ {
 
10734
          /^0/ {
 
10735
              s/^0  *\([^ ]*\) *$/\1/
 
10736
              p
 
10737
          }
 
10738
      }'
 
10739
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10740
  # Check for a 64-bit object if we didn't find anything.
 
10741
  if test -z "$lt_cv_aix_libpath_"; then
 
10742
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10743
  fi
 
10744
fi
 
10745
rm -f core conftest.err conftest.$ac_objext \
 
10746
    conftest$ac_exeext conftest.$ac_ext
 
10747
  if test -z "$lt_cv_aix_libpath_"; then
 
10748
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10749
  fi
 
10750
 
 
10751
fi
 
10752
 
 
10753
  aix_libpath=$lt_cv_aix_libpath_
 
10754
fi
 
10755
 
 
10756
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10757
          # Warning - without using the other run time loading flags,
 
10758
          # -berok will link without error, but may produce a broken library.
 
10759
          no_undefined_flag=' ${wl}-bernotok'
 
10760
          allow_undefined_flag=' ${wl}-berok'
 
10761
          if test "$with_gnu_ld" = yes; then
 
10762
            # We only use this code for GNU lds that support --whole-archive.
 
10763
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10764
          else
 
10765
            # Exported symbols can be pulled into shared objects from archives
 
10766
            whole_archive_flag_spec='$convenience'
 
10767
          fi
 
10768
          archive_cmds_need_lc=yes
 
10769
          # This is similar to how AIX traditionally builds its shared libraries.
 
10770
          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'
 
10771
        fi
 
10772
      fi
 
10773
      ;;
 
10774
 
 
10775
    amigaos*)
 
10776
      case $host_cpu in
 
10777
      powerpc)
 
10778
            # see comment about AmigaOS4 .so support
 
10779
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10780
            archive_expsym_cmds=''
 
10781
        ;;
 
10782
      m68k)
 
10783
            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)'
 
10784
            hardcode_libdir_flag_spec='-L$libdir'
 
10785
            hardcode_minus_L=yes
 
10786
        ;;
 
10787
      esac
 
10788
      ;;
 
10789
 
 
10790
    bsdi[45]*)
 
10791
      export_dynamic_flag_spec=-rdynamic
 
10792
      ;;
 
10793
 
 
10794
    cygwin* | mingw* | pw32* | cegcc*)
 
10795
      # When not using gcc, we currently assume that we are using
 
10796
      # Microsoft Visual C++.
 
10797
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
10798
      # no search path for DLLs.
 
10799
      case $cc_basename in
 
10800
      cl*)
 
10801
        # Native MSVC
 
10802
        hardcode_libdir_flag_spec=' '
 
10803
        allow_undefined_flag=unsupported
 
10804
        always_export_symbols=yes
 
10805
        file_list_spec='@'
 
10806
        # Tell ltmain to make .lib files, not .a files.
 
10807
        libext=lib
 
10808
        # Tell ltmain to make .dll files, not .so files.
 
10809
        shrext_cmds=".dll"
 
10810
        # FIXME: Setting linknames here is a bad hack.
 
10811
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10812
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10813
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10814
          else
 
10815
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10816
          fi~
 
10817
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10818
          linknames='
 
10819
        # The linker will not automatically build a static lib if we build a DLL.
 
10820
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10821
        enable_shared_with_static_runtimes=yes
 
10822
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
10823
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10824
        # Don't use ranlib
 
10825
        old_postinstall_cmds='chmod 644 $oldlib'
 
10826
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10827
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10828
          case $lt_outputfile in
 
10829
            *.exe|*.EXE) ;;
 
10830
            *)
 
10831
              lt_outputfile="$lt_outputfile.exe"
 
10832
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10833
              ;;
 
10834
          esac~
 
10835
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10836
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10837
            $RM "$lt_outputfile.manifest";
 
10838
          fi'
 
10839
        ;;
 
10840
      *)
 
10841
        # Assume MSVC wrapper
 
10842
        hardcode_libdir_flag_spec=' '
 
10843
        allow_undefined_flag=unsupported
 
10844
        # Tell ltmain to make .lib files, not .a files.
 
10845
        libext=lib
 
10846
        # Tell ltmain to make .dll files, not .so files.
 
10847
        shrext_cmds=".dll"
 
10848
        # FIXME: Setting linknames here is a bad hack.
 
10849
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10850
        # The linker will automatically build a .lib file if we build a DLL.
 
10851
        old_archive_from_new_cmds='true'
 
10852
        # FIXME: Should let the user specify the lib program.
 
10853
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10854
        enable_shared_with_static_runtimes=yes
 
10855
        ;;
 
10856
      esac
 
10857
      ;;
 
10858
 
 
10859
    darwin* | rhapsody*)
 
10860
 
 
10861
 
 
10862
  archive_cmds_need_lc=no
 
10863
  hardcode_direct=no
 
10864
  hardcode_automatic=yes
 
10865
  hardcode_shlibpath_var=unsupported
 
10866
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10867
    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\"`'
 
10868
 
 
10869
  else
 
10870
    whole_archive_flag_spec=''
 
10871
  fi
 
10872
  link_all_deplibs=yes
 
10873
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10874
  case $cc_basename in
 
10875
     ifort*) _lt_dar_can_shared=yes ;;
 
10876
     *) _lt_dar_can_shared=$GCC ;;
 
10877
  esac
 
10878
  if test "$_lt_dar_can_shared" = "yes"; then
 
10879
    output_verbose_link_cmd=func_echo_all
 
10880
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10881
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10882
    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}"
 
10883
    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}"
 
10884
 
 
10885
  else
 
10886
  ld_shlibs=no
 
10887
  fi
 
10888
 
 
10889
      ;;
 
10890
 
 
10891
    dgux*)
 
10892
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10893
      hardcode_libdir_flag_spec='-L$libdir'
 
10894
      hardcode_shlibpath_var=no
 
10895
      ;;
 
10896
 
 
10897
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
10898
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
10899
    # does not break anything, and helps significantly (at the cost of a little
 
10900
    # extra space).
 
10901
    freebsd2.2*)
 
10902
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
10903
      hardcode_libdir_flag_spec='-R$libdir'
 
10904
      hardcode_direct=yes
 
10905
      hardcode_shlibpath_var=no
 
10906
      ;;
 
10907
 
 
10908
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
10909
    freebsd2.*)
 
10910
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10911
      hardcode_direct=yes
 
10912
      hardcode_minus_L=yes
 
10913
      hardcode_shlibpath_var=no
 
10914
      ;;
 
10915
 
 
10916
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
10917
    freebsd* | dragonfly*)
 
10918
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10919
      hardcode_libdir_flag_spec='-R$libdir'
 
10920
      hardcode_direct=yes
 
10921
      hardcode_shlibpath_var=no
 
10922
      ;;
 
10923
 
 
10924
    hpux9*)
 
10925
      if test "$GCC" = yes; then
 
10926
        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'
 
10927
      else
 
10928
        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'
 
10929
      fi
 
10930
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10931
      hardcode_libdir_separator=:
 
10932
      hardcode_direct=yes
 
10933
 
 
10934
      # hardcode_minus_L: Not really in the search PATH,
 
10935
      # but as the default location of the library.
 
10936
      hardcode_minus_L=yes
 
10937
      export_dynamic_flag_spec='${wl}-E'
 
10938
      ;;
 
10939
 
 
10940
    hpux10*)
 
10941
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10942
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10943
      else
 
10944
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10945
      fi
 
10946
      if test "$with_gnu_ld" = no; then
 
10947
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10948
        hardcode_libdir_separator=:
 
10949
        hardcode_direct=yes
 
10950
        hardcode_direct_absolute=yes
 
10951
        export_dynamic_flag_spec='${wl}-E'
 
10952
        # hardcode_minus_L: Not really in the search PATH,
 
10953
        # but as the default location of the library.
 
10954
        hardcode_minus_L=yes
 
10955
      fi
 
10956
      ;;
 
10957
 
 
10958
    hpux11*)
 
10959
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10960
        case $host_cpu in
 
10961
        hppa*64*)
 
10962
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10963
          ;;
 
10964
        ia64*)
 
10965
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10966
          ;;
 
10967
        *)
 
10968
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10969
          ;;
 
10970
        esac
 
10971
      else
 
10972
        case $host_cpu in
 
10973
        hppa*64*)
 
10974
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10975
          ;;
 
10976
        ia64*)
 
10977
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10978
          ;;
 
10979
        *)
 
10980
 
 
10981
          # Older versions of the 11.00 compiler do not understand -b yet
 
10982
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
10983
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
10984
$as_echo_n "checking if $CC understands -b... " >&6; }
 
10985
if ${lt_cv_prog_compiler__b+:} false; then :
 
10986
  $as_echo_n "(cached) " >&6
 
10987
else
 
10988
  lt_cv_prog_compiler__b=no
 
10989
   save_LDFLAGS="$LDFLAGS"
 
10990
   LDFLAGS="$LDFLAGS -b"
 
10991
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10992
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10993
     # The linker can only warn and ignore the option if not recognized
 
10994
     # So say no if there are warnings
 
10995
     if test -s conftest.err; then
 
10996
       # Append any errors to the config.log.
 
10997
       cat conftest.err 1>&5
 
10998
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10999
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11000
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11001
         lt_cv_prog_compiler__b=yes
 
11002
       fi
 
11003
     else
 
11004
       lt_cv_prog_compiler__b=yes
 
11005
     fi
 
11006
   fi
 
11007
   $RM -r conftest*
 
11008
   LDFLAGS="$save_LDFLAGS"
 
11009
 
 
11010
fi
 
11011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11012
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11013
 
 
11014
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11015
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11016
else
 
11017
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11018
fi
 
11019
 
 
11020
          ;;
 
11021
        esac
 
11022
      fi
 
11023
      if test "$with_gnu_ld" = no; then
 
11024
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11025
        hardcode_libdir_separator=:
 
11026
 
 
11027
        case $host_cpu in
 
11028
        hppa*64*|ia64*)
 
11029
          hardcode_direct=no
 
11030
          hardcode_shlibpath_var=no
 
11031
          ;;
 
11032
        *)
 
11033
          hardcode_direct=yes
 
11034
          hardcode_direct_absolute=yes
 
11035
          export_dynamic_flag_spec='${wl}-E'
 
11036
 
 
11037
          # hardcode_minus_L: Not really in the search PATH,
 
11038
          # but as the default location of the library.
 
11039
          hardcode_minus_L=yes
 
11040
          ;;
 
11041
        esac
 
11042
      fi
 
11043
      ;;
 
11044
 
 
11045
    irix5* | irix6* | nonstopux*)
 
11046
      if test "$GCC" = yes; then
 
11047
        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'
 
11048
        # Try to use the -exported_symbol ld option, if it does not
 
11049
        # work, assume that -exports_file does not work either and
 
11050
        # implicitly export all symbols.
 
11051
        # This should be the same for all languages, so no per-tag cache variable.
 
11052
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11053
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11054
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11055
  $as_echo_n "(cached) " >&6
 
11056
else
 
11057
  save_LDFLAGS="$LDFLAGS"
 
11058
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11059
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11060
/* end confdefs.h.  */
 
11061
int foo (void) { return 0; }
 
11062
_ACEOF
 
11063
if ac_fn_c_try_link "$LINENO"; then :
 
11064
  lt_cv_irix_exported_symbol=yes
 
11065
else
 
11066
  lt_cv_irix_exported_symbol=no
 
11067
fi
 
11068
rm -f core conftest.err conftest.$ac_objext \
 
11069
    conftest$ac_exeext conftest.$ac_ext
 
11070
           LDFLAGS="$save_LDFLAGS"
 
11071
fi
 
11072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11073
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11074
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11075
          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'
 
11076
        fi
 
11077
      else
 
11078
        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'
 
11079
        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'
 
11080
      fi
 
11081
      archive_cmds_need_lc='no'
 
11082
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11083
      hardcode_libdir_separator=:
 
11084
      inherit_rpath=yes
 
11085
      link_all_deplibs=yes
 
11086
      ;;
 
11087
 
 
11088
    netbsd* | netbsdelf*-gnu)
 
11089
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11090
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11091
      else
 
11092
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11093
      fi
 
11094
      hardcode_libdir_flag_spec='-R$libdir'
 
11095
      hardcode_direct=yes
 
11096
      hardcode_shlibpath_var=no
 
11097
      ;;
 
11098
 
 
11099
    newsos6)
 
11100
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11101
      hardcode_direct=yes
 
11102
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11103
      hardcode_libdir_separator=:
 
11104
      hardcode_shlibpath_var=no
 
11105
      ;;
 
11106
 
 
11107
    *nto* | *qnx*)
 
11108
      ;;
 
11109
 
 
11110
    openbsd*)
 
11111
      if test -f /usr/libexec/ld.so; then
 
11112
        hardcode_direct=yes
 
11113
        hardcode_shlibpath_var=no
 
11114
        hardcode_direct_absolute=yes
 
11115
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11116
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11117
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11118
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11119
          export_dynamic_flag_spec='${wl}-E'
 
11120
        else
 
11121
          case $host_os in
 
11122
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11123
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11124
             hardcode_libdir_flag_spec='-R$libdir'
 
11125
             ;;
 
11126
           *)
 
11127
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11128
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11129
             ;;
 
11130
          esac
 
11131
        fi
 
11132
      else
 
11133
        ld_shlibs=no
 
11134
      fi
 
11135
      ;;
 
11136
 
 
11137
    os2*)
 
11138
      hardcode_libdir_flag_spec='-L$libdir'
 
11139
      hardcode_minus_L=yes
 
11140
      allow_undefined_flag=unsupported
 
11141
      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'
 
11142
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11143
      ;;
 
11144
 
 
11145
    osf3*)
 
11146
      if test "$GCC" = yes; then
 
11147
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11148
        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'
 
11149
      else
 
11150
        allow_undefined_flag=' -expect_unresolved \*'
 
11151
        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'
 
11152
      fi
 
11153
      archive_cmds_need_lc='no'
 
11154
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11155
      hardcode_libdir_separator=:
 
11156
      ;;
 
11157
 
 
11158
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
11159
      if test "$GCC" = yes; then
 
11160
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11161
        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'
 
11162
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11163
      else
 
11164
        allow_undefined_flag=' -expect_unresolved \*'
 
11165
        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'
 
11166
        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~
 
11167
        $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'
 
11168
 
 
11169
        # Both c and cxx compiler support -rpath directly
 
11170
        hardcode_libdir_flag_spec='-rpath $libdir'
 
11171
      fi
 
11172
      archive_cmds_need_lc='no'
 
11173
      hardcode_libdir_separator=:
 
11174
      ;;
 
11175
 
 
11176
    solaris*)
 
11177
      no_undefined_flag=' -z defs'
 
11178
      if test "$GCC" = yes; then
 
11179
        wlarc='${wl}'
 
11180
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11181
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11182
          $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'
 
11183
      else
 
11184
        case `$CC -V 2>&1` in
 
11185
        *"Compilers 5.0"*)
 
11186
          wlarc=''
 
11187
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11188
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11189
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11190
          ;;
 
11191
        *)
 
11192
          wlarc='${wl}'
 
11193
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11194
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11195
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11196
          ;;
 
11197
        esac
 
11198
      fi
 
11199
      hardcode_libdir_flag_spec='-R$libdir'
 
11200
      hardcode_shlibpath_var=no
 
11201
      case $host_os in
 
11202
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11203
      *)
 
11204
        # The compiler driver will combine and reorder linker options,
 
11205
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11206
        # but is careful enough not to reorder.
 
11207
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11208
        if test "$GCC" = yes; then
 
11209
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11210
        else
 
11211
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11212
        fi
 
11213
        ;;
 
11214
      esac
 
11215
      link_all_deplibs=yes
 
11216
      ;;
 
11217
 
 
11218
    sunos4*)
 
11219
      if test "x$host_vendor" = xsequent; then
 
11220
        # Use $CC to link under sequent, because it throws in some extra .o
 
11221
        # files that make .init and .fini sections work.
 
11222
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11223
      else
 
11224
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11225
      fi
 
11226
      hardcode_libdir_flag_spec='-L$libdir'
 
11227
      hardcode_direct=yes
 
11228
      hardcode_minus_L=yes
 
11229
      hardcode_shlibpath_var=no
 
11230
      ;;
 
11231
 
 
11232
    sysv4)
 
11233
      case $host_vendor in
 
11234
        sni)
 
11235
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11236
          hardcode_direct=yes # is this really true???
 
11237
        ;;
 
11238
        siemens)
 
11239
          ## LD is ld it makes a PLAMLIB
 
11240
          ## CC just makes a GrossModule.
 
11241
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11242
          reload_cmds='$CC -r -o $output$reload_objs'
 
11243
          hardcode_direct=no
 
11244
        ;;
 
11245
        motorola)
 
11246
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11247
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
11248
        ;;
 
11249
      esac
 
11250
      runpath_var='LD_RUN_PATH'
 
11251
      hardcode_shlibpath_var=no
 
11252
      ;;
 
11253
 
 
11254
    sysv4.3*)
 
11255
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11256
      hardcode_shlibpath_var=no
 
11257
      export_dynamic_flag_spec='-Bexport'
 
11258
      ;;
 
11259
 
 
11260
    sysv4*MP*)
 
11261
      if test -d /usr/nec; then
 
11262
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11263
        hardcode_shlibpath_var=no
 
11264
        runpath_var=LD_RUN_PATH
 
11265
        hardcode_runpath_var=yes
 
11266
        ld_shlibs=yes
 
11267
      fi
 
11268
      ;;
 
11269
 
 
11270
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11271
      no_undefined_flag='${wl}-z,text'
 
11272
      archive_cmds_need_lc=no
 
11273
      hardcode_shlibpath_var=no
 
11274
      runpath_var='LD_RUN_PATH'
 
11275
 
 
11276
      if test "$GCC" = yes; then
 
11277
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11278
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11279
      else
 
11280
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11281
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11282
      fi
 
11283
      ;;
 
11284
 
 
11285
    sysv5* | sco3.2v5* | sco5v6*)
 
11286
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11287
      # link with -lc, and that would cause any symbols used from libc to
 
11288
      # always be unresolved, which means just about no library would
 
11289
      # ever link correctly.  If we're not using GNU ld we use -z text
 
11290
      # though, which does catch some bad symbols but isn't as heavy-handed
 
11291
      # as -z defs.
 
11292
      no_undefined_flag='${wl}-z,text'
 
11293
      allow_undefined_flag='${wl}-z,nodefs'
 
11294
      archive_cmds_need_lc=no
 
11295
      hardcode_shlibpath_var=no
 
11296
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11297
      hardcode_libdir_separator=':'
 
11298
      link_all_deplibs=yes
 
11299
      export_dynamic_flag_spec='${wl}-Bexport'
 
11300
      runpath_var='LD_RUN_PATH'
 
11301
 
 
11302
      if test "$GCC" = yes; then
 
11303
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11304
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11305
      else
 
11306
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11307
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11308
      fi
 
11309
      ;;
 
11310
 
 
11311
    uts4*)
 
11312
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11313
      hardcode_libdir_flag_spec='-L$libdir'
 
11314
      hardcode_shlibpath_var=no
 
11315
      ;;
 
11316
 
 
11317
    *)
 
11318
      ld_shlibs=no
 
11319
      ;;
 
11320
    esac
 
11321
 
 
11322
    if test x$host_vendor = xsni; then
 
11323
      case $host in
 
11324
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11325
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
11326
        ;;
 
11327
      esac
 
11328
    fi
 
11329
  fi
 
11330
 
 
11331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11332
$as_echo "$ld_shlibs" >&6; }
 
11333
test "$ld_shlibs" = no && can_build_shared=no
 
11334
 
 
11335
with_gnu_ld=$with_gnu_ld
 
11336
 
 
11337
 
 
11338
 
 
11339
 
 
11340
 
 
11341
 
 
11342
 
 
11343
 
 
11344
 
 
11345
 
 
11346
 
 
11347
 
 
11348
 
 
11349
 
 
11350
 
 
11351
#
 
11352
# Do we need to explicitly link libc?
 
11353
#
 
11354
case "x$archive_cmds_need_lc" in
 
11355
x|xyes)
 
11356
  # Assume -lc should be added
 
11357
  archive_cmds_need_lc=yes
 
11358
 
 
11359
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
11360
    case $archive_cmds in
 
11361
    *'~'*)
 
11362
      # FIXME: we may have to deal with multi-command sequences.
 
11363
      ;;
 
11364
    '$CC '*)
 
11365
      # Test whether the compiler implicitly links with -lc since on some
 
11366
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
11367
      # to ld, don't add -lc before -lgcc.
 
11368
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11369
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
11370
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11371
  $as_echo_n "(cached) " >&6
 
11372
else
 
11373
  $RM conftest*
 
11374
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11375
 
 
11376
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11377
  (eval $ac_compile) 2>&5
 
11378
  ac_status=$?
 
11379
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11380
  test $ac_status = 0; } 2>conftest.err; then
 
11381
          soname=conftest
 
11382
          lib=conftest
 
11383
          libobjs=conftest.$ac_objext
 
11384
          deplibs=
 
11385
          wl=$lt_prog_compiler_wl
 
11386
          pic_flag=$lt_prog_compiler_pic
 
11387
          compiler_flags=-v
 
11388
          linker_flags=-v
 
11389
          verstring=
 
11390
          output_objdir=.
 
11391
          libname=conftest
 
11392
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11393
          allow_undefined_flag=
 
11394
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11395
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
11396
  ac_status=$?
 
11397
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11398
  test $ac_status = 0; }
 
11399
          then
 
11400
            lt_cv_archive_cmds_need_lc=no
 
11401
          else
 
11402
            lt_cv_archive_cmds_need_lc=yes
 
11403
          fi
 
11404
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11405
        else
 
11406
          cat conftest.err 1>&5
 
11407
        fi
 
11408
        $RM conftest*
 
11409
 
 
11410
fi
 
11411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11412
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11413
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
11414
      ;;
 
11415
    esac
 
11416
  fi
 
11417
  ;;
 
11418
esac
 
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
 
 
11429
 
 
11430
 
 
11431
 
 
11432
 
 
11433
 
 
11434
 
 
11435
 
 
11436
 
 
11437
 
 
11438
 
 
11439
 
 
11440
 
 
11441
 
 
11442
 
 
11443
 
 
11444
 
 
11445
 
 
11446
 
 
11447
 
 
11448
 
 
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
 
11454
 
 
11455
 
 
11456
 
 
11457
 
 
11458
 
 
11459
 
 
11460
 
 
11461
 
 
11462
 
 
11463
 
 
11464
 
 
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
 
 
11471
 
 
11472
 
 
11473
 
 
11474
 
 
11475
 
 
11476
 
 
11477
 
 
11478
 
 
11479
 
 
11480
 
 
11481
 
 
11482
 
 
11483
 
 
11484
 
 
11485
 
 
11486
 
 
11487
 
 
11488
 
 
11489
 
 
11490
 
 
11491
 
 
11492
 
 
11493
 
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
 
11505
 
 
11506
 
 
11507
 
 
11508
 
 
11509
 
 
11510
 
 
11511
 
 
11512
 
 
11513
 
 
11514
 
 
11515
 
 
11516
 
 
11517
 
 
11518
 
 
11519
 
 
11520
 
 
11521
 
 
11522
 
 
11523
 
 
11524
 
 
11525
 
 
11526
 
 
11527
 
 
11528
 
 
11529
 
 
11530
 
 
11531
 
 
11532
 
 
11533
 
 
11534
 
 
11535
 
 
11536
 
 
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
 
11542
 
 
11543
 
 
11544
 
 
11545
 
 
11546
 
 
11547
 
 
11548
 
 
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
 
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
 
 
11562
 
 
11563
 
 
11564
 
 
11565
 
 
11566
 
 
11567
 
 
11568
 
 
11569
 
 
11570
 
 
11571
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
11572
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
11573
 
 
11574
if test "$GCC" = yes; then
 
11575
  case $host_os in
 
11576
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
11577
    *) lt_awk_arg="/^libraries:/" ;;
 
11578
  esac
 
11579
  case $host_os in
 
11580
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11581
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11582
  esac
 
11583
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11584
  case $lt_search_path_spec in
 
11585
  *\;*)
 
11586
    # if the path contains ";" then we assume it to be the separator
 
11587
    # otherwise default to the standard path separator (i.e. ":") - it is
 
11588
    # assumed that no part of a normal pathname contains ";" but that should
 
11589
    # okay in the real world where ";" in dirpaths is itself problematic.
 
11590
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11591
    ;;
 
11592
  *)
 
11593
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11594
    ;;
 
11595
  esac
 
11596
  # Ok, now we have the path, separated by spaces, we can step through it
 
11597
  # and add multilib dir if necessary.
 
11598
  lt_tmp_lt_search_path_spec=
 
11599
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
11600
  for lt_sys_path in $lt_search_path_spec; do
 
11601
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
11602
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
11603
    else
 
11604
      test -d "$lt_sys_path" && \
 
11605
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
11606
    fi
 
11607
  done
 
11608
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
11609
BEGIN {RS=" "; FS="/|\n";} {
 
11610
  lt_foo="";
 
11611
  lt_count=0;
 
11612
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
11613
    if ($lt_i != "" && $lt_i != ".") {
 
11614
      if ($lt_i == "..") {
 
11615
        lt_count++;
 
11616
      } else {
 
11617
        if (lt_count == 0) {
 
11618
          lt_foo="/" $lt_i lt_foo;
 
11619
        } else {
 
11620
          lt_count--;
 
11621
        }
 
11622
      }
 
11623
    }
 
11624
  }
 
11625
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
11626
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
11627
}'`
 
11628
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11629
  # for these hosts.
 
11630
  case $host_os in
 
11631
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11632
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11633
  esac
 
11634
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
11635
else
 
11636
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
11637
fi
 
11638
library_names_spec=
 
11639
libname_spec='lib$name'
 
11640
soname_spec=
 
11641
shrext_cmds=".so"
 
11642
postinstall_cmds=
 
11643
postuninstall_cmds=
 
11644
finish_cmds=
 
11645
finish_eval=
 
11646
shlibpath_var=
 
11647
shlibpath_overrides_runpath=unknown
 
11648
version_type=none
 
11649
dynamic_linker="$host_os ld.so"
 
11650
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
11651
need_lib_prefix=unknown
 
11652
hardcode_into_libs=no
 
11653
 
 
11654
# when you set need_version to no, make sure it does not cause -set_version
 
11655
# flags to be left without arguments
 
11656
need_version=unknown
 
11657
 
 
11658
case $host_os in
 
11659
aix3*)
 
11660
  version_type=linux # correct to gnu/linux during the next big refactor
 
11661
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
11662
  shlibpath_var=LIBPATH
 
11663
 
 
11664
  # AIX 3 has no versioning support, so we append a major version to the name.
 
11665
  soname_spec='${libname}${release}${shared_ext}$major'
 
11666
  ;;
 
11667
 
 
11668
aix[4-9]*)
 
11669
  version_type=linux # correct to gnu/linux during the next big refactor
 
11670
  need_lib_prefix=no
 
11671
  need_version=no
 
11672
  hardcode_into_libs=yes
 
11673
  if test "$host_cpu" = ia64; then
 
11674
    # AIX 5 supports IA64
 
11675
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
11676
    shlibpath_var=LD_LIBRARY_PATH
 
11677
  else
 
11678
    # With GCC up to 2.95.x, collect2 would create an import file
 
11679
    # for dependence libraries.  The import file would start with
 
11680
    # the line `#! .'.  This would cause the generated library to
 
11681
    # depend on `.', always an invalid library.  This was fixed in
 
11682
    # development snapshots of GCC prior to 3.0.
 
11683
    case $host_os in
 
11684
      aix4 | aix4.[01] | aix4.[01].*)
 
11685
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
11686
           echo ' yes '
 
11687
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
11688
        :
 
11689
      else
 
11690
        can_build_shared=no
 
11691
      fi
 
11692
      ;;
 
11693
    esac
 
11694
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
11695
    # soname into executable. Probably we can add versioning support to
 
11696
    # collect2, so additional links can be useful in future.
 
11697
    if test "$aix_use_runtimelinking" = yes; then
 
11698
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
11699
      # instead of lib<name>.a to let people know that these are not
 
11700
      # typical AIX shared libraries.
 
11701
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11702
    else
 
11703
      # We preserve .a as extension for shared libraries through AIX4.2
 
11704
      # and later when we are not doing run time linking.
 
11705
      library_names_spec='${libname}${release}.a $libname.a'
 
11706
      soname_spec='${libname}${release}${shared_ext}$major'
 
11707
    fi
 
11708
    shlibpath_var=LIBPATH
 
11709
  fi
 
11710
  ;;
 
11711
 
 
11712
amigaos*)
 
11713
  case $host_cpu in
 
11714
  powerpc)
 
11715
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11716
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11717
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11718
    ;;
 
11719
  m68k)
 
11720
    library_names_spec='$libname.ixlibrary $libname.a'
 
11721
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11722
    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'
 
11723
    ;;
 
11724
  esac
 
11725
  ;;
 
11726
 
 
11727
beos*)
 
11728
  library_names_spec='${libname}${shared_ext}'
 
11729
  dynamic_linker="$host_os ld.so"
 
11730
  shlibpath_var=LIBRARY_PATH
 
11731
  ;;
 
11732
 
 
11733
bsdi[45]*)
 
11734
  version_type=linux # correct to gnu/linux during the next big refactor
 
11735
  need_version=no
 
11736
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11737
  soname_spec='${libname}${release}${shared_ext}$major'
 
11738
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
11739
  shlibpath_var=LD_LIBRARY_PATH
 
11740
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
11741
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
11742
  # the default ld.so.conf also contains /usr/contrib/lib and
 
11743
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
11744
  # libtool to hard-code these into programs
 
11745
  ;;
 
11746
 
 
11747
cygwin* | mingw* | pw32* | cegcc*)
 
11748
  version_type=windows
 
11749
  shrext_cmds=".dll"
 
11750
  need_version=no
 
11751
  need_lib_prefix=no
 
11752
 
 
11753
  case $GCC,$cc_basename in
 
11754
  yes,*)
 
11755
    # gcc
 
11756
    library_names_spec='$libname.dll.a'
 
11757
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11758
    postinstall_cmds='base_file=`basename \${file}`~
 
11759
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11760
      dldir=$destdir/`dirname \$dlpath`~
 
11761
      test -d \$dldir || mkdir -p \$dldir~
 
11762
      $install_prog $dir/$dlname \$dldir/$dlname~
 
11763
      chmod a+x \$dldir/$dlname~
 
11764
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11765
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11766
      fi'
 
11767
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11768
      dlpath=$dir/\$dldll~
 
11769
       $RM \$dlpath'
 
11770
    shlibpath_overrides_runpath=yes
 
11771
 
 
11772
    case $host_os in
 
11773
    cygwin*)
 
11774
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
11775
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11776
 
 
11777
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
11778
      ;;
 
11779
    mingw* | cegcc*)
 
11780
      # MinGW DLLs use traditional 'lib' prefix
 
11781
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11782
      ;;
 
11783
    pw32*)
 
11784
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
11785
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11786
      ;;
 
11787
    esac
 
11788
    dynamic_linker='Win32 ld.exe'
 
11789
    ;;
 
11790
 
 
11791
  *,cl*)
 
11792
    # Native MSVC
 
11793
    libname_spec='$name'
 
11794
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11795
    library_names_spec='${libname}.dll.lib'
 
11796
 
 
11797
    case $build_os in
 
11798
    mingw*)
 
11799
      sys_lib_search_path_spec=
 
11800
      lt_save_ifs=$IFS
 
11801
      IFS=';'
 
11802
      for lt_path in $LIB
 
11803
      do
 
11804
        IFS=$lt_save_ifs
 
11805
        # Let DOS variable expansion print the short 8.3 style file name.
 
11806
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11807
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11808
      done
 
11809
      IFS=$lt_save_ifs
 
11810
      # Convert to MSYS style.
 
11811
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11812
      ;;
 
11813
    cygwin*)
 
11814
      # Convert to unix form, then to dos form, then back to unix form
 
11815
      # but this time dos style (no spaces!) so that the unix form looks
 
11816
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11817
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11818
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11819
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11820
      ;;
 
11821
    *)
 
11822
      sys_lib_search_path_spec="$LIB"
 
11823
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11824
        # It is most probably a Windows format PATH.
 
11825
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11826
      else
 
11827
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11828
      fi
 
11829
      # FIXME: find the short name or the path components, as spaces are
 
11830
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11831
      ;;
 
11832
    esac
 
11833
 
 
11834
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11835
    postinstall_cmds='base_file=`basename \${file}`~
 
11836
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11837
      dldir=$destdir/`dirname \$dlpath`~
 
11838
      test -d \$dldir || mkdir -p \$dldir~
 
11839
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11840
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11841
      dlpath=$dir/\$dldll~
 
11842
       $RM \$dlpath'
 
11843
    shlibpath_overrides_runpath=yes
 
11844
    dynamic_linker='Win32 link.exe'
 
11845
    ;;
 
11846
 
 
11847
  *)
 
11848
    # Assume MSVC wrapper
 
11849
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11850
    dynamic_linker='Win32 ld.exe'
 
11851
    ;;
 
11852
  esac
 
11853
  # FIXME: first we should search . and the directory the executable is in
 
11854
  shlibpath_var=PATH
 
11855
  ;;
 
11856
 
 
11857
darwin* | rhapsody*)
 
11858
  dynamic_linker="$host_os dyld"
 
11859
  version_type=darwin
 
11860
  need_lib_prefix=no
 
11861
  need_version=no
 
11862
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11863
  soname_spec='${libname}${release}${major}$shared_ext'
 
11864
  shlibpath_overrides_runpath=yes
 
11865
  shlibpath_var=DYLD_LIBRARY_PATH
 
11866
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
11867
 
 
11868
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
11869
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
11870
  ;;
 
11871
 
 
11872
dgux*)
 
11873
  version_type=linux # correct to gnu/linux during the next big refactor
 
11874
  need_lib_prefix=no
 
11875
  need_version=no
 
11876
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
11877
  soname_spec='${libname}${release}${shared_ext}$major'
 
11878
  shlibpath_var=LD_LIBRARY_PATH
 
11879
  ;;
 
11880
 
 
11881
freebsd* | dragonfly*)
 
11882
  # DragonFly does not have aout.  When/if they implement a new
 
11883
  # versioning mechanism, adjust this.
 
11884
  if test -x /usr/bin/objformat; then
 
11885
    objformat=`/usr/bin/objformat`
 
11886
  else
 
11887
    case $host_os in
 
11888
    freebsd[23].*) objformat=aout ;;
 
11889
    *) objformat=elf ;;
 
11890
    esac
 
11891
  fi
 
11892
  version_type=freebsd-$objformat
 
11893
  case $version_type in
 
11894
    freebsd-elf*)
 
11895
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11896
      need_version=no
 
11897
      need_lib_prefix=no
 
11898
      ;;
 
11899
    freebsd-*)
 
11900
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
11901
      need_version=yes
 
11902
      ;;
 
11903
  esac
 
11904
  shlibpath_var=LD_LIBRARY_PATH
 
11905
  case $host_os in
 
11906
  freebsd2.*)
 
11907
    shlibpath_overrides_runpath=yes
 
11908
    ;;
 
11909
  freebsd3.[01]* | freebsdelf3.[01]*)
 
11910
    shlibpath_overrides_runpath=yes
 
11911
    hardcode_into_libs=yes
 
11912
    ;;
 
11913
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
11914
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
11915
    shlibpath_overrides_runpath=no
 
11916
    hardcode_into_libs=yes
 
11917
    ;;
 
11918
  *) # from 4.6 on, and DragonFly
 
11919
    shlibpath_overrides_runpath=yes
 
11920
    hardcode_into_libs=yes
 
11921
    ;;
 
11922
  esac
 
11923
  ;;
 
11924
 
 
11925
gnu*)
 
11926
  version_type=linux # correct to gnu/linux during the next big refactor
 
11927
  need_lib_prefix=no
 
11928
  need_version=no
 
11929
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11930
  soname_spec='${libname}${release}${shared_ext}$major'
 
11931
  shlibpath_var=LD_LIBRARY_PATH
 
11932
  shlibpath_overrides_runpath=no
 
11933
  hardcode_into_libs=yes
 
11934
  ;;
 
11935
 
 
11936
haiku*)
 
11937
  version_type=linux # correct to gnu/linux during the next big refactor
 
11938
  need_lib_prefix=no
 
11939
  need_version=no
 
11940
  dynamic_linker="$host_os runtime_loader"
 
11941
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11942
  soname_spec='${libname}${release}${shared_ext}$major'
 
11943
  shlibpath_var=LIBRARY_PATH
 
11944
  shlibpath_overrides_runpath=yes
 
11945
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
11946
  hardcode_into_libs=yes
 
11947
  ;;
 
11948
 
 
11949
hpux9* | hpux10* | hpux11*)
 
11950
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
11951
  # link against other versions.
 
11952
  version_type=sunos
 
11953
  need_lib_prefix=no
 
11954
  need_version=no
 
11955
  case $host_cpu in
 
11956
  ia64*)
 
11957
    shrext_cmds='.so'
 
11958
    hardcode_into_libs=yes
 
11959
    dynamic_linker="$host_os dld.so"
 
11960
    shlibpath_var=LD_LIBRARY_PATH
 
11961
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11962
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11963
    soname_spec='${libname}${release}${shared_ext}$major'
 
11964
    if test "X$HPUX_IA64_MODE" = X32; then
 
11965
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
11966
    else
 
11967
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
11968
    fi
 
11969
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11970
    ;;
 
11971
  hppa*64*)
 
11972
    shrext_cmds='.sl'
 
11973
    hardcode_into_libs=yes
 
11974
    dynamic_linker="$host_os dld.sl"
 
11975
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11976
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11977
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11978
    soname_spec='${libname}${release}${shared_ext}$major'
 
11979
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11980
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11981
    ;;
 
11982
  *)
 
11983
    shrext_cmds='.sl'
 
11984
    dynamic_linker="$host_os dld.sl"
 
11985
    shlibpath_var=SHLIB_PATH
 
11986
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
11987
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11988
    soname_spec='${libname}${release}${shared_ext}$major'
 
11989
    ;;
 
11990
  esac
 
11991
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
11992
  postinstall_cmds='chmod 555 $lib'
 
11993
  # or fails outright, so override atomically:
 
11994
  install_override_mode=555
 
11995
  ;;
 
11996
 
 
11997
interix[3-9]*)
 
11998
  version_type=linux # correct to gnu/linux during the next big refactor
 
11999
  need_lib_prefix=no
 
12000
  need_version=no
 
12001
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12002
  soname_spec='${libname}${release}${shared_ext}$major'
 
12003
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12004
  shlibpath_var=LD_LIBRARY_PATH
 
12005
  shlibpath_overrides_runpath=no
 
12006
  hardcode_into_libs=yes
 
12007
  ;;
 
12008
 
 
12009
irix5* | irix6* | nonstopux*)
 
12010
  case $host_os in
 
12011
    nonstopux*) version_type=nonstopux ;;
 
12012
    *)
 
12013
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12014
                version_type=linux # correct to gnu/linux during the next big refactor
 
12015
        else
 
12016
                version_type=irix
 
12017
        fi ;;
 
12018
  esac
 
12019
  need_lib_prefix=no
 
12020
  need_version=no
 
12021
  soname_spec='${libname}${release}${shared_ext}$major'
 
12022
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12023
  case $host_os in
 
12024
  irix5* | nonstopux*)
 
12025
    libsuff= shlibsuff=
 
12026
    ;;
 
12027
  *)
 
12028
    case $LD in # libtool.m4 will add one of these switches to LD
 
12029
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12030
      libsuff= shlibsuff= libmagic=32-bit;;
 
12031
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12032
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12033
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12034
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12035
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12036
    esac
 
12037
    ;;
 
12038
  esac
 
12039
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12040
  shlibpath_overrides_runpath=no
 
12041
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12042
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12043
  hardcode_into_libs=yes
 
12044
  ;;
 
12045
 
 
12046
# No shared lib support for Linux oldld, aout, or coff.
 
12047
linux*oldld* | linux*aout* | linux*coff*)
 
12048
  dynamic_linker=no
 
12049
  ;;
 
12050
 
 
12051
# This must be glibc/ELF.
 
12052
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12053
  version_type=linux # correct to gnu/linux during the next big refactor
 
12054
  need_lib_prefix=no
 
12055
  need_version=no
 
12056
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12057
  soname_spec='${libname}${release}${shared_ext}$major'
 
12058
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12059
  shlibpath_var=LD_LIBRARY_PATH
 
12060
  shlibpath_overrides_runpath=no
 
12061
 
 
12062
  # Some binutils ld are patched to set DT_RUNPATH
 
12063
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12064
  $as_echo_n "(cached) " >&6
 
12065
else
 
12066
  lt_cv_shlibpath_overrides_runpath=no
 
12067
    save_LDFLAGS=$LDFLAGS
 
12068
    save_libdir=$libdir
 
12069
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12070
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12071
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12072
/* end confdefs.h.  */
 
12073
 
 
12074
int
 
12075
main ()
 
12076
{
 
12077
 
 
12078
  ;
 
12079
  return 0;
 
12080
}
 
12081
_ACEOF
 
12082
if ac_fn_c_try_link "$LINENO"; then :
 
12083
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
12084
  lt_cv_shlibpath_overrides_runpath=yes
 
12085
fi
 
12086
fi
 
12087
rm -f core conftest.err conftest.$ac_objext \
 
12088
    conftest$ac_exeext conftest.$ac_ext
 
12089
    LDFLAGS=$save_LDFLAGS
 
12090
    libdir=$save_libdir
 
12091
 
 
12092
fi
 
12093
 
 
12094
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
12095
 
 
12096
  # This implies no fast_install, which is unacceptable.
 
12097
  # Some rework will be needed to allow for fast_install
 
12098
  # before this can be enabled.
 
12099
  hardcode_into_libs=yes
 
12100
 
 
12101
  # Append ld.so.conf contents to the search path
 
12102
  if test -f /etc/ld.so.conf; then
 
12103
    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' ' '`
 
12104
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12105
  fi
 
12106
 
 
12107
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
12108
  # powerpc, because MkLinux only supported shared libraries with the
 
12109
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
12110
  # most powerpc-linux boxes support dynamic linking these days and
 
12111
  # people can always --disable-shared, the test was removed, and we
 
12112
  # assume the GNU/Linux dynamic linker is in use.
 
12113
  dynamic_linker='GNU/Linux ld.so'
 
12114
  ;;
 
12115
 
 
12116
netbsdelf*-gnu)
 
12117
  version_type=linux
 
12118
  need_lib_prefix=no
 
12119
  need_version=no
 
12120
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12121
  soname_spec='${libname}${release}${shared_ext}$major'
 
12122
  shlibpath_var=LD_LIBRARY_PATH
 
12123
  shlibpath_overrides_runpath=no
 
12124
  hardcode_into_libs=yes
 
12125
  dynamic_linker='NetBSD ld.elf_so'
 
12126
  ;;
 
12127
 
 
12128
netbsd*)
 
12129
  version_type=sunos
 
12130
  need_lib_prefix=no
 
12131
  need_version=no
 
12132
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12133
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12134
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12135
    dynamic_linker='NetBSD (a.out) ld.so'
 
12136
  else
 
12137
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12138
    soname_spec='${libname}${release}${shared_ext}$major'
 
12139
    dynamic_linker='NetBSD ld.elf_so'
 
12140
  fi
 
12141
  shlibpath_var=LD_LIBRARY_PATH
 
12142
  shlibpath_overrides_runpath=yes
 
12143
  hardcode_into_libs=yes
 
12144
  ;;
 
12145
 
 
12146
newsos6)
 
12147
  version_type=linux # correct to gnu/linux during the next big refactor
 
12148
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12149
  shlibpath_var=LD_LIBRARY_PATH
 
12150
  shlibpath_overrides_runpath=yes
 
12151
  ;;
 
12152
 
 
12153
*nto* | *qnx*)
 
12154
  version_type=qnx
 
12155
  need_lib_prefix=no
 
12156
  need_version=no
 
12157
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12158
  soname_spec='${libname}${release}${shared_ext}$major'
 
12159
  shlibpath_var=LD_LIBRARY_PATH
 
12160
  shlibpath_overrides_runpath=no
 
12161
  hardcode_into_libs=yes
 
12162
  dynamic_linker='ldqnx.so'
 
12163
  ;;
 
12164
 
 
12165
openbsd*)
 
12166
  version_type=sunos
 
12167
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12168
  need_lib_prefix=no
 
12169
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12170
  case $host_os in
 
12171
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
12172
    *)                          need_version=no  ;;
 
12173
  esac
 
12174
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12175
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12176
  shlibpath_var=LD_LIBRARY_PATH
 
12177
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12178
    case $host_os in
 
12179
      openbsd2.[89] | openbsd2.[89].*)
 
12180
        shlibpath_overrides_runpath=no
 
12181
        ;;
 
12182
      *)
 
12183
        shlibpath_overrides_runpath=yes
 
12184
        ;;
 
12185
      esac
 
12186
  else
 
12187
    shlibpath_overrides_runpath=yes
 
12188
  fi
 
12189
  ;;
 
12190
 
 
12191
os2*)
 
12192
  libname_spec='$name'
 
12193
  shrext_cmds=".dll"
 
12194
  need_lib_prefix=no
 
12195
  library_names_spec='$libname${shared_ext} $libname.a'
 
12196
  dynamic_linker='OS/2 ld.exe'
 
12197
  shlibpath_var=LIBPATH
 
12198
  ;;
 
12199
 
 
12200
osf3* | osf4* | osf5*)
 
12201
  version_type=osf
 
12202
  need_lib_prefix=no
 
12203
  need_version=no
 
12204
  soname_spec='${libname}${release}${shared_ext}$major'
 
12205
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12206
  shlibpath_var=LD_LIBRARY_PATH
 
12207
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
12208
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12209
  ;;
 
12210
 
 
12211
rdos*)
 
12212
  dynamic_linker=no
 
12213
  ;;
 
12214
 
 
12215
solaris*)
 
12216
  version_type=linux # correct to gnu/linux during the next big refactor
 
12217
  need_lib_prefix=no
 
12218
  need_version=no
 
12219
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12220
  soname_spec='${libname}${release}${shared_ext}$major'
 
12221
  shlibpath_var=LD_LIBRARY_PATH
 
12222
  shlibpath_overrides_runpath=yes
 
12223
  hardcode_into_libs=yes
 
12224
  # ldd complains unless libraries are executable
 
12225
  postinstall_cmds='chmod +x $lib'
 
12226
  ;;
 
12227
 
 
12228
sunos4*)
 
12229
  version_type=sunos
 
12230
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12231
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
12232
  shlibpath_var=LD_LIBRARY_PATH
 
12233
  shlibpath_overrides_runpath=yes
 
12234
  if test "$with_gnu_ld" = yes; then
 
12235
    need_lib_prefix=no
 
12236
  fi
 
12237
  need_version=yes
 
12238
  ;;
 
12239
 
 
12240
sysv4 | sysv4.3*)
 
12241
  version_type=linux # correct to gnu/linux during the next big refactor
 
12242
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12243
  soname_spec='${libname}${release}${shared_ext}$major'
 
12244
  shlibpath_var=LD_LIBRARY_PATH
 
12245
  case $host_vendor in
 
12246
    sni)
 
12247
      shlibpath_overrides_runpath=no
 
12248
      need_lib_prefix=no
 
12249
      runpath_var=LD_RUN_PATH
 
12250
      ;;
 
12251
    siemens)
 
12252
      need_lib_prefix=no
 
12253
      ;;
 
12254
    motorola)
 
12255
      need_lib_prefix=no
 
12256
      need_version=no
 
12257
      shlibpath_overrides_runpath=no
 
12258
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
12259
      ;;
 
12260
  esac
 
12261
  ;;
 
12262
 
 
12263
sysv4*MP*)
 
12264
  if test -d /usr/nec ;then
 
12265
    version_type=linux # correct to gnu/linux during the next big refactor
 
12266
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
12267
    soname_spec='$libname${shared_ext}.$major'
 
12268
    shlibpath_var=LD_LIBRARY_PATH
 
12269
  fi
 
12270
  ;;
 
12271
 
 
12272
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12273
  version_type=freebsd-elf
 
12274
  need_lib_prefix=no
 
12275
  need_version=no
 
12276
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12277
  soname_spec='${libname}${release}${shared_ext}$major'
 
12278
  shlibpath_var=LD_LIBRARY_PATH
 
12279
  shlibpath_overrides_runpath=yes
 
12280
  hardcode_into_libs=yes
 
12281
  if test "$with_gnu_ld" = yes; then
 
12282
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12283
  else
 
12284
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12285
    case $host_os in
 
12286
      sco3.2v5*)
 
12287
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12288
        ;;
 
12289
    esac
 
12290
  fi
 
12291
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12292
  ;;
 
12293
 
 
12294
tpf*)
 
12295
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
12296
  version_type=linux # correct to gnu/linux during the next big refactor
 
12297
  need_lib_prefix=no
 
12298
  need_version=no
 
12299
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12300
  shlibpath_var=LD_LIBRARY_PATH
 
12301
  shlibpath_overrides_runpath=no
 
12302
  hardcode_into_libs=yes
 
12303
  ;;
 
12304
 
 
12305
uts4*)
 
12306
  version_type=linux # correct to gnu/linux during the next big refactor
 
12307
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12308
  soname_spec='${libname}${release}${shared_ext}$major'
 
12309
  shlibpath_var=LD_LIBRARY_PATH
 
12310
  ;;
 
12311
 
 
12312
*)
 
12313
  dynamic_linker=no
 
12314
  ;;
 
12315
esac
 
12316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12317
$as_echo "$dynamic_linker" >&6; }
 
12318
test "$dynamic_linker" = no && can_build_shared=no
 
12319
 
 
12320
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12321
if test "$GCC" = yes; then
 
12322
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12323
fi
 
12324
 
 
12325
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12326
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12327
fi
 
12328
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12329
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12330
fi
 
12331
 
 
12332
 
 
12333
 
 
12334
 
 
12335
 
 
12336
 
 
12337
 
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
 
 
12343
 
 
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
 
 
12352
 
 
12353
 
 
12354
 
 
12355
 
 
12356
 
 
12357
 
 
12358
 
 
12359
 
 
12360
 
 
12361
 
 
12362
 
 
12363
 
 
12364
 
 
12365
 
 
12366
 
 
12367
 
 
12368
 
 
12369
 
 
12370
 
 
12371
 
 
12372
 
 
12373
 
 
12374
 
 
12375
 
 
12376
 
 
12377
 
 
12378
 
 
12379
 
 
12380
 
 
12381
 
 
12382
 
 
12383
 
 
12384
 
 
12385
 
 
12386
 
 
12387
 
 
12388
 
 
12389
 
 
12390
 
 
12391
 
 
12392
 
 
12393
 
 
12394
 
 
12395
 
 
12396
 
 
12397
 
 
12398
 
 
12399
 
 
12400
 
 
12401
 
 
12402
 
 
12403
 
 
12404
 
 
12405
 
 
12406
 
 
12407
 
 
12408
 
 
12409
 
 
12410
 
 
12411
 
 
12412
 
 
12413
 
 
12414
 
 
12415
 
 
12416
 
 
12417
 
 
12418
 
 
12419
 
 
12420
 
 
12421
 
 
12422
 
 
12423
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
12424
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
12425
hardcode_action=
 
12426
if test -n "$hardcode_libdir_flag_spec" ||
 
12427
   test -n "$runpath_var" ||
 
12428
   test "X$hardcode_automatic" = "Xyes" ; then
 
12429
 
 
12430
  # We can hardcode non-existent directories.
 
12431
  if test "$hardcode_direct" != no &&
 
12432
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
12433
     # have to relink, otherwise we might link with an installed library
 
12434
     # when we should be linking with a yet-to-be-installed one
 
12435
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
12436
     test "$hardcode_minus_L" != no; then
 
12437
    # Linking always hardcodes the temporary library directory.
 
12438
    hardcode_action=relink
 
12439
  else
 
12440
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
12441
    hardcode_action=immediate
 
12442
  fi
 
12443
else
 
12444
  # We cannot hardcode anything, or else we can only hardcode existing
 
12445
  # directories.
 
12446
  hardcode_action=unsupported
 
12447
fi
 
12448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
12449
$as_echo "$hardcode_action" >&6; }
 
12450
 
 
12451
if test "$hardcode_action" = relink ||
 
12452
   test "$inherit_rpath" = yes; then
 
12453
  # Fast installation is not supported
 
12454
  enable_fast_install=no
 
12455
elif test "$shlibpath_overrides_runpath" = yes ||
 
12456
     test "$enable_shared" = no; then
 
12457
  # Fast installation is not necessary
 
12458
  enable_fast_install=needless
 
12459
fi
 
12460
 
 
12461
 
 
12462
 
 
12463
 
 
12464
 
 
12465
 
 
12466
  if test "x$enable_dlopen" != xyes; then
 
12467
  enable_dlopen=unknown
 
12468
  enable_dlopen_self=unknown
 
12469
  enable_dlopen_self_static=unknown
 
12470
else
 
12471
  lt_cv_dlopen=no
 
12472
  lt_cv_dlopen_libs=
 
12473
 
 
12474
  case $host_os in
 
12475
  beos*)
 
12476
    lt_cv_dlopen="load_add_on"
 
12477
    lt_cv_dlopen_libs=
 
12478
    lt_cv_dlopen_self=yes
 
12479
    ;;
 
12480
 
 
12481
  mingw* | pw32* | cegcc*)
 
12482
    lt_cv_dlopen="LoadLibrary"
 
12483
    lt_cv_dlopen_libs=
 
12484
    ;;
 
12485
 
 
12486
  cygwin*)
 
12487
    lt_cv_dlopen="dlopen"
 
12488
    lt_cv_dlopen_libs=
 
12489
    ;;
 
12490
 
 
12491
  darwin*)
 
12492
  # if libdl is installed we need to link against it
 
12493
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12494
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12495
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
12496
  $as_echo_n "(cached) " >&6
 
12497
else
 
12498
  ac_check_lib_save_LIBS=$LIBS
 
12499
LIBS="-ldl  $LIBS"
 
12500
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12501
/* end confdefs.h.  */
 
12502
 
 
12503
/* Override any GCC internal prototype to avoid an error.
 
12504
   Use char because int might match the return type of a GCC
 
12505
   builtin and then its argument prototype would still apply.  */
 
12506
#ifdef __cplusplus
 
12507
extern "C"
 
12508
#endif
 
12509
char dlopen ();
 
12510
int
 
12511
main ()
 
12512
{
 
12513
return dlopen ();
 
12514
  ;
 
12515
  return 0;
 
12516
}
 
12517
_ACEOF
 
12518
if ac_fn_c_try_link "$LINENO"; then :
 
12519
  ac_cv_lib_dl_dlopen=yes
 
12520
else
 
12521
  ac_cv_lib_dl_dlopen=no
 
12522
fi
 
12523
rm -f core conftest.err conftest.$ac_objext \
 
12524
    conftest$ac_exeext conftest.$ac_ext
 
12525
LIBS=$ac_check_lib_save_LIBS
 
12526
fi
 
12527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12528
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12529
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
12530
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12531
else
 
12532
 
 
12533
    lt_cv_dlopen="dyld"
 
12534
    lt_cv_dlopen_libs=
 
12535
    lt_cv_dlopen_self=yes
 
12536
 
 
12537
fi
 
12538
 
 
12539
    ;;
 
12540
 
 
12541
  *)
 
12542
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
12543
if test "x$ac_cv_func_shl_load" = xyes; then :
 
12544
  lt_cv_dlopen="shl_load"
 
12545
else
 
12546
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
12547
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
12548
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
12549
  $as_echo_n "(cached) " >&6
 
12550
else
 
12551
  ac_check_lib_save_LIBS=$LIBS
 
12552
LIBS="-ldld  $LIBS"
 
12553
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12554
/* end confdefs.h.  */
 
12555
 
 
12556
/* Override any GCC internal prototype to avoid an error.
 
12557
   Use char because int might match the return type of a GCC
 
12558
   builtin and then its argument prototype would still apply.  */
 
12559
#ifdef __cplusplus
 
12560
extern "C"
 
12561
#endif
 
12562
char shl_load ();
 
12563
int
 
12564
main ()
 
12565
{
 
12566
return shl_load ();
 
12567
  ;
 
12568
  return 0;
 
12569
}
 
12570
_ACEOF
 
12571
if ac_fn_c_try_link "$LINENO"; then :
 
12572
  ac_cv_lib_dld_shl_load=yes
 
12573
else
 
12574
  ac_cv_lib_dld_shl_load=no
 
12575
fi
 
12576
rm -f core conftest.err conftest.$ac_objext \
 
12577
    conftest$ac_exeext conftest.$ac_ext
 
12578
LIBS=$ac_check_lib_save_LIBS
 
12579
fi
 
12580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
12581
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12582
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
12583
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
12584
else
 
12585
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
12586
if test "x$ac_cv_func_dlopen" = xyes; then :
 
12587
  lt_cv_dlopen="dlopen"
 
12588
else
 
12589
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12590
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12591
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
12592
  $as_echo_n "(cached) " >&6
 
12593
else
 
12594
  ac_check_lib_save_LIBS=$LIBS
 
12595
LIBS="-ldl  $LIBS"
 
12596
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12597
/* end confdefs.h.  */
 
12598
 
 
12599
/* Override any GCC internal prototype to avoid an error.
 
12600
   Use char because int might match the return type of a GCC
 
12601
   builtin and then its argument prototype would still apply.  */
 
12602
#ifdef __cplusplus
 
12603
extern "C"
 
12604
#endif
 
12605
char dlopen ();
 
12606
int
 
12607
main ()
 
12608
{
 
12609
return dlopen ();
 
12610
  ;
 
12611
  return 0;
 
12612
}
 
12613
_ACEOF
 
12614
if ac_fn_c_try_link "$LINENO"; then :
 
12615
  ac_cv_lib_dl_dlopen=yes
 
12616
else
 
12617
  ac_cv_lib_dl_dlopen=no
 
12618
fi
 
12619
rm -f core conftest.err conftest.$ac_objext \
 
12620
    conftest$ac_exeext conftest.$ac_ext
 
12621
LIBS=$ac_check_lib_save_LIBS
 
12622
fi
 
12623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12624
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12625
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
12626
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12627
else
 
12628
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
12629
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
12630
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
12631
  $as_echo_n "(cached) " >&6
 
12632
else
 
12633
  ac_check_lib_save_LIBS=$LIBS
 
12634
LIBS="-lsvld  $LIBS"
 
12635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12636
/* end confdefs.h.  */
 
12637
 
 
12638
/* Override any GCC internal prototype to avoid an error.
 
12639
   Use char because int might match the return type of a GCC
 
12640
   builtin and then its argument prototype would still apply.  */
 
12641
#ifdef __cplusplus
 
12642
extern "C"
 
12643
#endif
 
12644
char dlopen ();
 
12645
int
 
12646
main ()
 
12647
{
 
12648
return dlopen ();
 
12649
  ;
 
12650
  return 0;
 
12651
}
 
12652
_ACEOF
 
12653
if ac_fn_c_try_link "$LINENO"; then :
 
12654
  ac_cv_lib_svld_dlopen=yes
 
12655
else
 
12656
  ac_cv_lib_svld_dlopen=no
 
12657
fi
 
12658
rm -f core conftest.err conftest.$ac_objext \
 
12659
    conftest$ac_exeext conftest.$ac_ext
 
12660
LIBS=$ac_check_lib_save_LIBS
 
12661
fi
 
12662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
12663
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12664
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
12665
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
12666
else
 
12667
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
12668
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
12669
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
12670
  $as_echo_n "(cached) " >&6
 
12671
else
 
12672
  ac_check_lib_save_LIBS=$LIBS
 
12673
LIBS="-ldld  $LIBS"
 
12674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12675
/* end confdefs.h.  */
 
12676
 
 
12677
/* Override any GCC internal prototype to avoid an error.
 
12678
   Use char because int might match the return type of a GCC
 
12679
   builtin and then its argument prototype would still apply.  */
 
12680
#ifdef __cplusplus
 
12681
extern "C"
 
12682
#endif
 
12683
char dld_link ();
 
12684
int
 
12685
main ()
 
12686
{
 
12687
return dld_link ();
 
12688
  ;
 
12689
  return 0;
 
12690
}
 
12691
_ACEOF
 
12692
if ac_fn_c_try_link "$LINENO"; then :
 
12693
  ac_cv_lib_dld_dld_link=yes
 
12694
else
 
12695
  ac_cv_lib_dld_dld_link=no
 
12696
fi
 
12697
rm -f core conftest.err conftest.$ac_objext \
 
12698
    conftest$ac_exeext conftest.$ac_ext
 
12699
LIBS=$ac_check_lib_save_LIBS
 
12700
fi
 
12701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
12702
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12703
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
12704
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
12705
fi
 
12706
 
 
12707
 
 
12708
fi
 
12709
 
 
12710
 
 
12711
fi
 
12712
 
 
12713
 
 
12714
fi
 
12715
 
 
12716
 
 
12717
fi
 
12718
 
 
12719
 
 
12720
fi
 
12721
 
 
12722
    ;;
 
12723
  esac
 
12724
 
 
12725
  if test "x$lt_cv_dlopen" != xno; then
 
12726
    enable_dlopen=yes
 
12727
  else
 
12728
    enable_dlopen=no
 
12729
  fi
 
12730
 
 
12731
  case $lt_cv_dlopen in
 
12732
  dlopen)
 
12733
    save_CPPFLAGS="$CPPFLAGS"
 
12734
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
12735
 
 
12736
    save_LDFLAGS="$LDFLAGS"
 
12737
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
12738
 
 
12739
    save_LIBS="$LIBS"
 
12740
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
12741
 
 
12742
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
12743
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
12744
if ${lt_cv_dlopen_self+:} false; then :
 
12745
  $as_echo_n "(cached) " >&6
 
12746
else
 
12747
          if test "$cross_compiling" = yes; then :
 
12748
  lt_cv_dlopen_self=cross
 
12749
else
 
12750
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12751
  lt_status=$lt_dlunknown
 
12752
  cat > conftest.$ac_ext <<_LT_EOF
 
12753
#line $LINENO "configure"
 
12754
#include "confdefs.h"
 
12755
 
 
12756
#if HAVE_DLFCN_H
 
12757
#include <dlfcn.h>
 
12758
#endif
 
12759
 
 
12760
#include <stdio.h>
 
12761
 
 
12762
#ifdef RTLD_GLOBAL
 
12763
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12764
#else
 
12765
#  ifdef DL_GLOBAL
 
12766
#    define LT_DLGLOBAL         DL_GLOBAL
 
12767
#  else
 
12768
#    define LT_DLGLOBAL         0
 
12769
#  endif
 
12770
#endif
 
12771
 
 
12772
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12773
   find out it does not work in some platform. */
 
12774
#ifndef LT_DLLAZY_OR_NOW
 
12775
#  ifdef RTLD_LAZY
 
12776
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12777
#  else
 
12778
#    ifdef DL_LAZY
 
12779
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12780
#    else
 
12781
#      ifdef RTLD_NOW
 
12782
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12783
#      else
 
12784
#        ifdef DL_NOW
 
12785
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12786
#        else
 
12787
#          define LT_DLLAZY_OR_NOW      0
 
12788
#        endif
 
12789
#      endif
 
12790
#    endif
 
12791
#  endif
 
12792
#endif
 
12793
 
 
12794
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12795
   correspondingly for the symbols needed.  */
 
12796
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12797
int fnord () __attribute__((visibility("default")));
 
12798
#endif
 
12799
 
 
12800
int fnord () { return 42; }
 
12801
int main ()
 
12802
{
 
12803
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12804
  int status = $lt_dlunknown;
 
12805
 
 
12806
  if (self)
 
12807
    {
 
12808
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12809
      else
 
12810
        {
 
12811
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12812
          else puts (dlerror ());
 
12813
        }
 
12814
      /* dlclose (self); */
 
12815
    }
 
12816
  else
 
12817
    puts (dlerror ());
 
12818
 
 
12819
  return status;
 
12820
}
 
12821
_LT_EOF
 
12822
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12823
  (eval $ac_link) 2>&5
 
12824
  ac_status=$?
 
12825
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12826
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12827
    (./conftest; exit; ) >&5 2>/dev/null
 
12828
    lt_status=$?
 
12829
    case x$lt_status in
 
12830
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
12831
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
12832
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
12833
    esac
 
12834
  else :
 
12835
    # compilation failed
 
12836
    lt_cv_dlopen_self=no
 
12837
  fi
 
12838
fi
 
12839
rm -fr conftest*
 
12840
 
 
12841
 
 
12842
fi
 
12843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
12844
$as_echo "$lt_cv_dlopen_self" >&6; }
 
12845
 
 
12846
    if test "x$lt_cv_dlopen_self" = xyes; then
 
12847
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
12848
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
12849
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
12850
if ${lt_cv_dlopen_self_static+:} false; then :
 
12851
  $as_echo_n "(cached) " >&6
 
12852
else
 
12853
          if test "$cross_compiling" = yes; then :
 
12854
  lt_cv_dlopen_self_static=cross
 
12855
else
 
12856
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12857
  lt_status=$lt_dlunknown
 
12858
  cat > conftest.$ac_ext <<_LT_EOF
 
12859
#line $LINENO "configure"
 
12860
#include "confdefs.h"
 
12861
 
 
12862
#if HAVE_DLFCN_H
 
12863
#include <dlfcn.h>
 
12864
#endif
 
12865
 
 
12866
#include <stdio.h>
 
12867
 
 
12868
#ifdef RTLD_GLOBAL
 
12869
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12870
#else
 
12871
#  ifdef DL_GLOBAL
 
12872
#    define LT_DLGLOBAL         DL_GLOBAL
 
12873
#  else
 
12874
#    define LT_DLGLOBAL         0
 
12875
#  endif
 
12876
#endif
 
12877
 
 
12878
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12879
   find out it does not work in some platform. */
 
12880
#ifndef LT_DLLAZY_OR_NOW
 
12881
#  ifdef RTLD_LAZY
 
12882
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12883
#  else
 
12884
#    ifdef DL_LAZY
 
12885
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12886
#    else
 
12887
#      ifdef RTLD_NOW
 
12888
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12889
#      else
 
12890
#        ifdef DL_NOW
 
12891
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12892
#        else
 
12893
#          define LT_DLLAZY_OR_NOW      0
 
12894
#        endif
 
12895
#      endif
 
12896
#    endif
 
12897
#  endif
 
12898
#endif
 
12899
 
 
12900
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12901
   correspondingly for the symbols needed.  */
 
12902
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12903
int fnord () __attribute__((visibility("default")));
 
12904
#endif
 
12905
 
 
12906
int fnord () { return 42; }
 
12907
int main ()
 
12908
{
 
12909
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12910
  int status = $lt_dlunknown;
 
12911
 
 
12912
  if (self)
 
12913
    {
 
12914
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12915
      else
 
12916
        {
 
12917
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12918
          else puts (dlerror ());
 
12919
        }
 
12920
      /* dlclose (self); */
 
12921
    }
 
12922
  else
 
12923
    puts (dlerror ());
 
12924
 
 
12925
  return status;
 
12926
}
 
12927
_LT_EOF
 
12928
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12929
  (eval $ac_link) 2>&5
 
12930
  ac_status=$?
 
12931
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12932
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12933
    (./conftest; exit; ) >&5 2>/dev/null
 
12934
    lt_status=$?
 
12935
    case x$lt_status in
 
12936
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
12937
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
12938
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
12939
    esac
 
12940
  else :
 
12941
    # compilation failed
 
12942
    lt_cv_dlopen_self_static=no
 
12943
  fi
 
12944
fi
 
12945
rm -fr conftest*
 
12946
 
 
12947
 
 
12948
fi
 
12949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
12950
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
12951
    fi
 
12952
 
 
12953
    CPPFLAGS="$save_CPPFLAGS"
 
12954
    LDFLAGS="$save_LDFLAGS"
 
12955
    LIBS="$save_LIBS"
 
12956
    ;;
 
12957
  esac
 
12958
 
 
12959
  case $lt_cv_dlopen_self in
 
12960
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
12961
  *) enable_dlopen_self=unknown ;;
 
12962
  esac
 
12963
 
 
12964
  case $lt_cv_dlopen_self_static in
 
12965
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
12966
  *) enable_dlopen_self_static=unknown ;;
 
12967
  esac
 
12968
fi
 
12969
 
 
12970
 
 
12971
 
 
12972
 
 
12973
 
 
12974
 
 
12975
 
 
12976
 
 
12977
 
 
12978
 
 
12979
 
 
12980
 
 
12981
 
 
12982
 
 
12983
 
 
12984
 
 
12985
 
 
12986
striplib=
 
12987
old_striplib=
 
12988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12989
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12990
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12991
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12992
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12994
$as_echo "yes" >&6; }
 
12995
else
 
12996
# FIXME - insert some real tests, host_os isn't really good enough
 
12997
  case $host_os in
 
12998
  darwin*)
 
12999
    if test -n "$STRIP" ; then
 
13000
      striplib="$STRIP -x"
 
13001
      old_striplib="$STRIP -S"
 
13002
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13003
$as_echo "yes" >&6; }
 
13004
    else
 
13005
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13006
$as_echo "no" >&6; }
 
13007
    fi
 
13008
    ;;
 
13009
  *)
 
13010
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13011
$as_echo "no" >&6; }
 
13012
    ;;
 
13013
  esac
 
13014
fi
 
13015
 
 
13016
 
 
13017
 
 
13018
 
 
13019
 
 
13020
 
 
13021
 
 
13022
 
 
13023
 
 
13024
 
 
13025
 
 
13026
 
 
13027
  # Report which library types will actually be built
 
13028
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
13029
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
13031
$as_echo "$can_build_shared" >&6; }
 
13032
 
 
13033
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
13034
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13035
  test "$can_build_shared" = "no" && enable_shared=no
 
13036
 
 
13037
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13038
  # are all built from PIC.
 
13039
  case $host_os in
 
13040
  aix3*)
 
13041
    test "$enable_shared" = yes && enable_static=no
 
13042
    if test -n "$RANLIB"; then
 
13043
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13044
      postinstall_cmds='$RANLIB $lib'
 
13045
    fi
 
13046
    ;;
 
13047
 
 
13048
  aix[4-9]*)
 
13049
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13050
      test "$enable_shared" = yes && enable_static=no
 
13051
    fi
 
13052
    ;;
 
13053
  esac
 
13054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
13055
$as_echo "$enable_shared" >&6; }
 
13056
 
 
13057
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
13058
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13059
  # Make sure either enable_shared or enable_static is yes.
 
13060
  test "$enable_shared" = yes || enable_static=yes
 
13061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
13062
$as_echo "$enable_static" >&6; }
 
13063
 
 
13064
 
 
13065
 
 
13066
 
 
13067
fi
 
13068
ac_ext=c
 
13069
ac_cpp='$CPP $CPPFLAGS'
 
13070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13073
 
 
13074
CC="$lt_save_CC"
 
13075
 
 
13076
 
 
13077
 
 
13078
 
 
13079
 
 
13080
 
 
13081
 
 
13082
 
 
13083
 
 
13084
 
 
13085
 
 
13086
 
 
13087
 
 
13088
 
 
13089
 
 
13090
        ac_config_commands="$ac_config_commands libtool"
 
13091
 
 
13092
 
 
13093
 
 
13094
 
 
13095
# Only expand once:
 
13096
 
 
13097
 
 
13098
 
 
13099
 
 
13100
 
 
13101
 
 
13102
# Check whether --enable-silent-rules was given.
 
13103
if test "${enable_silent_rules+set}" = set; then :
 
13104
  enableval=$enable_silent_rules;
 
13105
fi
 
13106
 
 
13107
case $enable_silent_rules in
 
13108
yes) AM_DEFAULT_VERBOSITY=0;;
 
13109
no)  AM_DEFAULT_VERBOSITY=1;;
 
13110
*)   AM_DEFAULT_VERBOSITY=0;;
 
13111
esac
 
13112
am_make=${MAKE-make}
 
13113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
13114
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
13115
if ${am_cv_make_support_nested_variables+:} false; then :
 
13116
  $as_echo_n "(cached) " >&6
 
13117
else
 
13118
  if $as_echo 'TRUE=$(BAR$(V))
 
13119
BAR0=false
 
13120
BAR1=true
 
13121
V=1
 
13122
am__doit:
 
13123
        @$(TRUE)
 
13124
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
13125
  am_cv_make_support_nested_variables=yes
 
13126
else
 
13127
  am_cv_make_support_nested_variables=no
 
13128
fi
 
13129
fi
 
13130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
13131
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
13132
if test $am_cv_make_support_nested_variables = yes; then
 
13133
    AM_V='$(V)'
 
13134
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
13135
else
 
13136
  AM_V=$AM_DEFAULT_VERBOSITY
 
13137
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
13138
fi
 
13139
AM_BACKSLASH='\'
 
13140
 
 
13141
 
 
13142
###########################
 
13143
# Dependencies
 
13144
###########################
 
13145
 
 
13146
GTK_REQUIRED_VERSION=2.12
 
13147
GTK3_REQUIRED_VERSION=3.0
 
13148
INDICATOR_REQUIRED_VERSION=0.3.19
 
13149
DBUSMENUGTK_REQUIRED_VERSION=0.5.90
 
13150
POLKIT_REQUIRED_VERSION=0.92
 
13151
 
 
13152
 
 
13153
# Check whether --with-gtk was given.
 
13154
if test "${with_gtk+set}" = set; then :
 
13155
  withval=$with_gtk;
 
13156
else
 
13157
  with_gtk=3
 
13158
fi
 
13159
 
 
13160
 
 
13161
if test "x$with_gtk" = x3; then :
 
13162
 
 
13163
pkg_failed=no
 
13164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
 
13165
$as_echo_n "checking for APPLET... " >&6; }
 
13166
 
 
13167
if test -n "$APPLET_CFLAGS"; then
 
13168
    pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
 
13169
 elif test -n "$PKG_CONFIG"; then
 
13170
    if test -n "$PKG_CONFIG" && \
 
13171
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
 
13172
                                   indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13173
                                   dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
 
13174
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13175
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13176
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
 
13177
  ac_status=$?
 
13178
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13179
  test $ac_status = 0; }; then
 
13180
  pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13181
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13182
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
 
13183
                      test "x$?" != "x0" && pkg_failed=yes
 
13184
else
 
13185
  pkg_failed=yes
 
13186
fi
 
13187
 else
 
13188
    pkg_failed=untried
 
13189
fi
 
13190
if test -n "$APPLET_LIBS"; then
 
13191
    pkg_cv_APPLET_LIBS="$APPLET_LIBS"
 
13192
 elif test -n "$PKG_CONFIG"; then
 
13193
    if test -n "$PKG_CONFIG" && \
 
13194
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
 
13195
                                   indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13196
                                   dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
 
13197
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13198
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13199
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
 
13200
  ac_status=$?
 
13201
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13202
  test $ac_status = 0; }; then
 
13203
  pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13204
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13205
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
 
13206
                      test "x$?" != "x0" && pkg_failed=yes
 
13207
else
 
13208
  pkg_failed=yes
 
13209
fi
 
13210
 else
 
13211
    pkg_failed=untried
 
13212
fi
 
13213
 
 
13214
 
 
13215
 
 
13216
if test $pkg_failed = yes; then
 
13217
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13218
$as_echo "no" >&6; }
 
13219
 
 
13220
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13221
        _pkg_short_errors_supported=yes
 
13222
else
 
13223
        _pkg_short_errors_supported=no
 
13224
fi
 
13225
        if test $_pkg_short_errors_supported = yes; then
 
13226
                APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13227
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13228
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
 
13229
        else
 
13230
                APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13231
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13232
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
 
13233
        fi
 
13234
        # Put the nasty error message in config.log where it belongs
 
13235
        echo "$APPLET_PKG_ERRORS" >&5
 
13236
 
 
13237
        as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13238
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13239
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met:
 
13240
 
 
13241
$APPLET_PKG_ERRORS
 
13242
 
 
13243
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13244
installed software in a non-standard prefix.
 
13245
 
 
13246
Alternatively, you may set the environment variables APPLET_CFLAGS
 
13247
and APPLET_LIBS to avoid the need to call pkg-config.
 
13248
See the pkg-config man page for more details." "$LINENO" 5
 
13249
elif test $pkg_failed = untried; then
 
13250
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13251
$as_echo "no" >&6; }
 
13252
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13253
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13254
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13255
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13256
path to pkg-config.
 
13257
 
 
13258
Alternatively, you may set the environment variables APPLET_CFLAGS
 
13259
and APPLET_LIBS to avoid the need to call pkg-config.
 
13260
See the pkg-config man page for more details.
 
13261
 
 
13262
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13263
See \`config.log' for more details" "$LINENO" 5; }
 
13264
else
 
13265
        APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
 
13266
        APPLET_LIBS=$pkg_cv_APPLET_LIBS
 
13267
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13268
$as_echo "yes" >&6; }
 
13269
 
 
13270
fi
 
13271
 
 
13272
elif test "x$with_gtk" = x2; then :
 
13273
 
 
13274
pkg_failed=no
 
13275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
 
13276
$as_echo_n "checking for APPLET... " >&6; }
 
13277
 
 
13278
if test -n "$APPLET_CFLAGS"; then
 
13279
    pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
 
13280
 elif test -n "$PKG_CONFIG"; then
 
13281
    if test -n "$PKG_CONFIG" && \
 
13282
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
13283
                                    indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13284
                                    dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
 
13285
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13286
                                    indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13287
                                    dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
 
13288
  ac_status=$?
 
13289
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13290
  test $ac_status = 0; }; then
 
13291
  pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13292
                                    indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13293
                                    dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
 
13294
                      test "x$?" != "x0" && pkg_failed=yes
 
13295
else
 
13296
  pkg_failed=yes
 
13297
fi
 
13298
 else
 
13299
    pkg_failed=untried
 
13300
fi
 
13301
if test -n "$APPLET_LIBS"; then
 
13302
    pkg_cv_APPLET_LIBS="$APPLET_LIBS"
 
13303
 elif test -n "$PKG_CONFIG"; then
 
13304
    if test -n "$PKG_CONFIG" && \
 
13305
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
13306
                                    indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13307
                                    dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
 
13308
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13309
                                    indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13310
                                    dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
 
13311
  ac_status=$?
 
13312
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13313
  test $ac_status = 0; }; then
 
13314
  pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13315
                                    indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13316
                                    dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
 
13317
                      test "x$?" != "x0" && pkg_failed=yes
 
13318
else
 
13319
  pkg_failed=yes
 
13320
fi
 
13321
 else
 
13322
    pkg_failed=untried
 
13323
fi
 
13324
 
 
13325
 
 
13326
 
 
13327
if test $pkg_failed = yes; then
 
13328
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13329
$as_echo "no" >&6; }
 
13330
 
 
13331
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13332
        _pkg_short_errors_supported=yes
 
13333
else
 
13334
        _pkg_short_errors_supported=no
 
13335
fi
 
13336
        if test $_pkg_short_errors_supported = yes; then
 
13337
                APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13338
                                    indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13339
                                    dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
 
13340
        else
 
13341
                APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13342
                                    indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13343
                                    dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
 
13344
        fi
 
13345
        # Put the nasty error message in config.log where it belongs
 
13346
        echo "$APPLET_PKG_ERRORS" >&5
 
13347
 
 
13348
        as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13349
                                    indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13350
                                    dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met:
 
13351
 
 
13352
$APPLET_PKG_ERRORS
 
13353
 
 
13354
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13355
installed software in a non-standard prefix.
 
13356
 
 
13357
Alternatively, you may set the environment variables APPLET_CFLAGS
 
13358
and APPLET_LIBS to avoid the need to call pkg-config.
 
13359
See the pkg-config man page for more details." "$LINENO" 5
 
13360
elif test $pkg_failed = untried; then
 
13361
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13362
$as_echo "no" >&6; }
 
13363
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13364
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13365
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13366
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13367
path to pkg-config.
 
13368
 
 
13369
Alternatively, you may set the environment variables APPLET_CFLAGS
 
13370
and APPLET_LIBS to avoid the need to call pkg-config.
 
13371
See the pkg-config man page for more details.
 
13372
 
 
13373
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13374
See \`config.log' for more details" "$LINENO" 5; }
 
13375
else
 
13376
        APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
 
13377
        APPLET_LIBS=$pkg_cv_APPLET_LIBS
 
13378
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13379
$as_echo "yes" >&6; }
 
13380
 
 
13381
fi
 
13382
 
 
13383
else
 
13384
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13385
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13386
as_fn_error $? "Value for --with-indicator-gtk was neither 2 nor 3
 
13387
See \`config.log' for more details" "$LINENO" 5; }
 
13388
 
 
13389
fi
 
13390
 
 
13391
 
 
13392
 
 
13393
 
 
13394
DBUSMENUGLIB_REQUIRED_VERSION=0.1.1
 
13395
 
 
13396
if test "x$with_gtk" = x3; then :
 
13397
 
 
13398
pkg_failed=no
 
13399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SESSIONSERVICE" >&5
 
13400
$as_echo_n "checking for SESSIONSERVICE... " >&6; }
 
13401
 
 
13402
if test -n "$SESSIONSERVICE_CFLAGS"; then
 
13403
    pkg_cv_SESSIONSERVICE_CFLAGS="$SESSIONSERVICE_CFLAGS"
 
13404
 elif test -n "$PKG_CONFIG"; then
 
13405
    if test -n "$PKG_CONFIG" && \
 
13406
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
 
13407
                                       dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
 
13408
                                       dbus-glib-1
 
13409
                                       gio-unix-2.0
 
13410
                                       indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13411
                                       packagekit-glib2\""; } >&5
 
13412
  ($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13413
                                       dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13414
                                       dbus-glib-1
 
13415
                                       gio-unix-2.0
 
13416
                                       indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13417
                                       packagekit-glib2") 2>&5
 
13418
  ac_status=$?
 
13419
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13420
  test $ac_status = 0; }; then
 
13421
  pkg_cv_SESSIONSERVICE_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13422
                                       dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13423
                                       dbus-glib-1
 
13424
                                       gio-unix-2.0
 
13425
                                       indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13426
                                       packagekit-glib2" 2>/dev/null`
 
13427
                      test "x$?" != "x0" && pkg_failed=yes
 
13428
else
 
13429
  pkg_failed=yes
 
13430
fi
 
13431
 else
 
13432
    pkg_failed=untried
 
13433
fi
 
13434
if test -n "$SESSIONSERVICE_LIBS"; then
 
13435
    pkg_cv_SESSIONSERVICE_LIBS="$SESSIONSERVICE_LIBS"
 
13436
 elif test -n "$PKG_CONFIG"; then
 
13437
    if test -n "$PKG_CONFIG" && \
 
13438
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
 
13439
                                       dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
 
13440
                                       dbus-glib-1
 
13441
                                       gio-unix-2.0
 
13442
                                       indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13443
                                       packagekit-glib2\""; } >&5
 
13444
  ($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13445
                                       dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13446
                                       dbus-glib-1
 
13447
                                       gio-unix-2.0
 
13448
                                       indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13449
                                       packagekit-glib2") 2>&5
 
13450
  ac_status=$?
 
13451
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13452
  test $ac_status = 0; }; then
 
13453
  pkg_cv_SESSIONSERVICE_LIBS=`$PKG_CONFIG --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13454
                                       dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13455
                                       dbus-glib-1
 
13456
                                       gio-unix-2.0
 
13457
                                       indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13458
                                       packagekit-glib2" 2>/dev/null`
 
13459
                      test "x$?" != "x0" && pkg_failed=yes
 
13460
else
 
13461
  pkg_failed=yes
 
13462
fi
 
13463
 else
 
13464
    pkg_failed=untried
 
13465
fi
 
13466
 
 
13467
 
 
13468
 
 
13469
if test $pkg_failed = yes; then
 
13470
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13471
$as_echo "no" >&6; }
 
13472
 
 
13473
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13474
        _pkg_short_errors_supported=yes
 
13475
else
 
13476
        _pkg_short_errors_supported=no
 
13477
fi
 
13478
        if test $_pkg_short_errors_supported = yes; then
 
13479
                SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13480
                                       dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13481
                                       dbus-glib-1
 
13482
                                       gio-unix-2.0
 
13483
                                       indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13484
                                       packagekit-glib2" 2>&1`
 
13485
        else
 
13486
                SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13487
                                       dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13488
                                       dbus-glib-1
 
13489
                                       gio-unix-2.0
 
13490
                                       indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13491
                                       packagekit-glib2" 2>&1`
 
13492
        fi
 
13493
        # Put the nasty error message in config.log where it belongs
 
13494
        echo "$SESSIONSERVICE_PKG_ERRORS" >&5
 
13495
 
 
13496
        as_fn_error $? "Package requirements (dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13497
                                       dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13498
                                       dbus-glib-1
 
13499
                                       gio-unix-2.0
 
13500
                                       indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13501
                                       packagekit-glib2) were not met:
 
13502
 
 
13503
$SESSIONSERVICE_PKG_ERRORS
 
13504
 
 
13505
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13506
installed software in a non-standard prefix.
 
13507
 
 
13508
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
 
13509
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
 
13510
See the pkg-config man page for more details." "$LINENO" 5
 
13511
elif test $pkg_failed = untried; then
 
13512
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13513
$as_echo "no" >&6; }
 
13514
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13515
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13516
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13517
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13518
path to pkg-config.
 
13519
 
 
13520
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
 
13521
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
 
13522
See the pkg-config man page for more details.
 
13523
 
 
13524
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13525
See \`config.log' for more details" "$LINENO" 5; }
 
13526
else
 
13527
        SESSIONSERVICE_CFLAGS=$pkg_cv_SESSIONSERVICE_CFLAGS
 
13528
        SESSIONSERVICE_LIBS=$pkg_cv_SESSIONSERVICE_LIBS
 
13529
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13530
$as_echo "yes" >&6; }
 
13531
 
 
13532
fi
 
13533
 
 
13534
elif test "x$with_gtk" = x2; then :
 
13535
 
 
13536
pkg_failed=no
 
13537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SESSIONSERVICE" >&5
 
13538
$as_echo_n "checking for SESSIONSERVICE... " >&6; }
 
13539
 
 
13540
if test -n "$SESSIONSERVICE_CFLAGS"; then
 
13541
    pkg_cv_SESSIONSERVICE_CFLAGS="$SESSIONSERVICE_CFLAGS"
 
13542
 elif test -n "$PKG_CONFIG"; then
 
13543
    if test -n "$PKG_CONFIG" && \
 
13544
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
 
13545
                                       dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
 
13546
                                       dbus-glib-1
 
13547
                                       gio-unix-2.0
 
13548
                                       indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13549
                                       packagekit-glib2\""; } >&5
 
13550
  ($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13551
                                       dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13552
                                       dbus-glib-1
 
13553
                                       gio-unix-2.0
 
13554
                                       indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13555
                                       packagekit-glib2") 2>&5
 
13556
  ac_status=$?
 
13557
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13558
  test $ac_status = 0; }; then
 
13559
  pkg_cv_SESSIONSERVICE_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13560
                                       dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13561
                                       dbus-glib-1
 
13562
                                       gio-unix-2.0
 
13563
                                       indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13564
                                       packagekit-glib2" 2>/dev/null`
 
13565
                      test "x$?" != "x0" && pkg_failed=yes
 
13566
else
 
13567
  pkg_failed=yes
 
13568
fi
 
13569
 else
 
13570
    pkg_failed=untried
 
13571
fi
 
13572
if test -n "$SESSIONSERVICE_LIBS"; then
 
13573
    pkg_cv_SESSIONSERVICE_LIBS="$SESSIONSERVICE_LIBS"
 
13574
 elif test -n "$PKG_CONFIG"; then
 
13575
    if test -n "$PKG_CONFIG" && \
 
13576
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
 
13577
                                       dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
 
13578
                                       dbus-glib-1
 
13579
                                       gio-unix-2.0
 
13580
                                       indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
 
13581
                                       packagekit-glib2\""; } >&5
 
13582
  ($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13583
                                       dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13584
                                       dbus-glib-1
 
13585
                                       gio-unix-2.0
 
13586
                                       indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13587
                                       packagekit-glib2") 2>&5
 
13588
  ac_status=$?
 
13589
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13590
  test $ac_status = 0; }; then
 
13591
  pkg_cv_SESSIONSERVICE_LIBS=`$PKG_CONFIG --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13592
                                       dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13593
                                       dbus-glib-1
 
13594
                                       gio-unix-2.0
 
13595
                                       indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13596
                                       packagekit-glib2" 2>/dev/null`
 
13597
                      test "x$?" != "x0" && pkg_failed=yes
 
13598
else
 
13599
  pkg_failed=yes
 
13600
fi
 
13601
 else
 
13602
    pkg_failed=untried
 
13603
fi
 
13604
 
 
13605
 
 
13606
 
 
13607
if test $pkg_failed = yes; then
 
13608
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13609
$as_echo "no" >&6; }
 
13610
 
 
13611
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13612
        _pkg_short_errors_supported=yes
 
13613
else
 
13614
        _pkg_short_errors_supported=no
 
13615
fi
 
13616
        if test $_pkg_short_errors_supported = yes; then
 
13617
                SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13618
                                       dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13619
                                       dbus-glib-1
 
13620
                                       gio-unix-2.0
 
13621
                                       indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13622
                                       packagekit-glib2" 2>&1`
 
13623
        else
 
13624
                SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13625
                                       dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13626
                                       dbus-glib-1
 
13627
                                       gio-unix-2.0
 
13628
                                       indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13629
                                       packagekit-glib2" 2>&1`
 
13630
        fi
 
13631
        # Put the nasty error message in config.log where it belongs
 
13632
        echo "$SESSIONSERVICE_PKG_ERRORS" >&5
 
13633
 
 
13634
        as_fn_error $? "Package requirements (dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
 
13635
                                       dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
13636
                                       dbus-glib-1
 
13637
                                       gio-unix-2.0
 
13638
                                       indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
 
13639
                                       packagekit-glib2) were not met:
 
13640
 
 
13641
$SESSIONSERVICE_PKG_ERRORS
 
13642
 
 
13643
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13644
installed software in a non-standard prefix.
 
13645
 
 
13646
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
 
13647
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
 
13648
See the pkg-config man page for more details." "$LINENO" 5
 
13649
elif test $pkg_failed = untried; then
 
13650
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13651
$as_echo "no" >&6; }
 
13652
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13654
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13655
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13656
path to pkg-config.
 
13657
 
 
13658
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
 
13659
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
 
13660
See the pkg-config man page for more details.
 
13661
 
 
13662
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13663
See \`config.log' for more details" "$LINENO" 5; }
 
13664
else
 
13665
        SESSIONSERVICE_CFLAGS=$pkg_cv_SESSIONSERVICE_CFLAGS
 
13666
        SESSIONSERVICE_LIBS=$pkg_cv_SESSIONSERVICE_LIBS
 
13667
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13668
$as_echo "yes" >&6; }
 
13669
 
 
13670
fi
 
13671
 
 
13672
 
 
13673
fi
 
13674
 
 
13675
 
 
13676
 
 
13677
 
 
13678
 
 
13679
pkg_failed=no
 
13680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
 
13681
$as_echo_n "checking for GUDEV... " >&6; }
 
13682
 
 
13683
if test -n "$GUDEV_CFLAGS"; then
 
13684
    pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
 
13685
 elif test -n "$PKG_CONFIG"; then
 
13686
    if test -n "$PKG_CONFIG" && \
 
13687
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
 
13688
  ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
 
13689
  ac_status=$?
 
13690
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13691
  test $ac_status = 0; }; then
 
13692
  pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
 
13693
                      test "x$?" != "x0" && pkg_failed=yes
 
13694
else
 
13695
  pkg_failed=yes
 
13696
fi
 
13697
 else
 
13698
    pkg_failed=untried
 
13699
fi
 
13700
if test -n "$GUDEV_LIBS"; then
 
13701
    pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
 
13702
 elif test -n "$PKG_CONFIG"; then
 
13703
    if test -n "$PKG_CONFIG" && \
 
13704
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
 
13705
  ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
 
13706
  ac_status=$?
 
13707
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13708
  test $ac_status = 0; }; then
 
13709
  pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
 
13710
                      test "x$?" != "x0" && pkg_failed=yes
 
13711
else
 
13712
  pkg_failed=yes
 
13713
fi
 
13714
 else
 
13715
    pkg_failed=untried
 
13716
fi
 
13717
 
 
13718
 
 
13719
 
 
13720
if test $pkg_failed = yes; then
 
13721
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13722
$as_echo "no" >&6; }
 
13723
 
 
13724
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13725
        _pkg_short_errors_supported=yes
 
13726
else
 
13727
        _pkg_short_errors_supported=no
 
13728
fi
 
13729
        if test $_pkg_short_errors_supported = yes; then
 
13730
                GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0" 2>&1`
 
13731
        else
 
13732
                GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0" 2>&1`
 
13733
        fi
 
13734
        # Put the nasty error message in config.log where it belongs
 
13735
        echo "$GUDEV_PKG_ERRORS" >&5
 
13736
 
 
13737
        has_gudev=false
 
13738
elif test $pkg_failed = untried; then
 
13739
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13740
$as_echo "no" >&6; }
 
13741
        has_gudev=false
 
13742
else
 
13743
        GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
 
13744
        GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
 
13745
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13746
$as_echo "yes" >&6; }
 
13747
        has_gudev=true
 
13748
fi
 
13749
 
 
13750
 
 
13751
 
 
13752
 if test "x$with_gtk" = "x3"; then
 
13753
  USE_GTK3_TRUE=
 
13754
  USE_GTK3_FALSE='#'
 
13755
else
 
13756
  USE_GTK3_TRUE='#'
 
13757
  USE_GTK3_FALSE=
 
13758
fi
 
13759
 
 
13760
if test "x$with_gtk" = x3; then :
 
13761
 
 
13762
 
 
13763
$as_echo "#define HAVE_GTK3 1" >>confdefs.h
 
13764
 
 
13765
 
 
13766
fi
 
13767
 
 
13768
###########################
 
13769
# GTK Logout Helper
 
13770
###########################
 
13771
 
 
13772
# Check whether --enable-gtklogouthelper was given.
 
13773
if test "${enable_gtklogouthelper+set}" = set; then :
 
13774
  enableval=$enable_gtklogouthelper;
 
13775
else
 
13776
  enable_gtklogouthelper=auto
 
13777
fi
 
13778
 
 
13779
 
 
13780
if test x"$enable_gtklogouthelper" != x"no" ; then
 
13781
   if test "x$with_gtk" = x3; then :
 
13782
 
 
13783
pkg_failed=no
 
13784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKLOGOUTHELPER" >&5
 
13785
$as_echo_n "checking for GTKLOGOUTHELPER... " >&6; }
 
13786
 
 
13787
if test -n "$GTKLOGOUTHELPER_CFLAGS"; then
 
13788
    pkg_cv_GTKLOGOUTHELPER_CFLAGS="$GTKLOGOUTHELPER_CFLAGS"
 
13789
 elif test -n "$PKG_CONFIG"; then
 
13790
    if test -n "$PKG_CONFIG" && \
 
13791
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
 
13792
                                           polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
 
13793
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13794
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
 
13795
  ac_status=$?
 
13796
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13797
  test $ac_status = 0; }; then
 
13798
  pkg_cv_GTKLOGOUTHELPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13799
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
 
13800
                      test "x$?" != "x0" && pkg_failed=yes
 
13801
else
 
13802
  pkg_failed=yes
 
13803
fi
 
13804
 else
 
13805
    pkg_failed=untried
 
13806
fi
 
13807
if test -n "$GTKLOGOUTHELPER_LIBS"; then
 
13808
    pkg_cv_GTKLOGOUTHELPER_LIBS="$GTKLOGOUTHELPER_LIBS"
 
13809
 elif test -n "$PKG_CONFIG"; then
 
13810
    if test -n "$PKG_CONFIG" && \
 
13811
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
 
13812
                                           polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
 
13813
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13814
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
 
13815
  ac_status=$?
 
13816
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13817
  test $ac_status = 0; }; then
 
13818
  pkg_cv_GTKLOGOUTHELPER_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13819
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
 
13820
                      test "x$?" != "x0" && pkg_failed=yes
 
13821
else
 
13822
  pkg_failed=yes
 
13823
fi
 
13824
 else
 
13825
    pkg_failed=untried
 
13826
fi
 
13827
 
 
13828
 
 
13829
 
 
13830
if test $pkg_failed = yes; then
 
13831
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13832
$as_echo "no" >&6; }
 
13833
 
 
13834
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13835
        _pkg_short_errors_supported=yes
 
13836
else
 
13837
        _pkg_short_errors_supported=no
 
13838
fi
 
13839
        if test $_pkg_short_errors_supported = yes; then
 
13840
                GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13841
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
 
13842
        else
 
13843
                GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
 
13844
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
 
13845
        fi
 
13846
        # Put the nasty error message in config.log where it belongs
 
13847
        echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
 
13848
 
 
13849
        have_gtklogouthelper=no
 
13850
elif test $pkg_failed = untried; then
 
13851
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13852
$as_echo "no" >&6; }
 
13853
        have_gtklogouthelper=no
 
13854
else
 
13855
        GTKLOGOUTHELPER_CFLAGS=$pkg_cv_GTKLOGOUTHELPER_CFLAGS
 
13856
        GTKLOGOUTHELPER_LIBS=$pkg_cv_GTKLOGOUTHELPER_LIBS
 
13857
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13858
$as_echo "yes" >&6; }
 
13859
        have_gtklogouthelper=yes
 
13860
fi
 
13861
 
 
13862
elif test "x$with_gtk" = x2; then :
 
13863
 
 
13864
pkg_failed=no
 
13865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKLOGOUTHELPER" >&5
 
13866
$as_echo_n "checking for GTKLOGOUTHELPER... " >&6; }
 
13867
 
 
13868
if test -n "$GTKLOGOUTHELPER_CFLAGS"; then
 
13869
    pkg_cv_GTKLOGOUTHELPER_CFLAGS="$GTKLOGOUTHELPER_CFLAGS"
 
13870
 elif test -n "$PKG_CONFIG"; then
 
13871
    if test -n "$PKG_CONFIG" && \
 
13872
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
13873
                                           polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
 
13874
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13875
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
 
13876
  ac_status=$?
 
13877
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13878
  test $ac_status = 0; }; then
 
13879
  pkg_cv_GTKLOGOUTHELPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13880
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
 
13881
                      test "x$?" != "x0" && pkg_failed=yes
 
13882
else
 
13883
  pkg_failed=yes
 
13884
fi
 
13885
 else
 
13886
    pkg_failed=untried
 
13887
fi
 
13888
if test -n "$GTKLOGOUTHELPER_LIBS"; then
 
13889
    pkg_cv_GTKLOGOUTHELPER_LIBS="$GTKLOGOUTHELPER_LIBS"
 
13890
 elif test -n "$PKG_CONFIG"; then
 
13891
    if test -n "$PKG_CONFIG" && \
 
13892
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
 
13893
                                           polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
 
13894
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13895
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
 
13896
  ac_status=$?
 
13897
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13898
  test $ac_status = 0; }; then
 
13899
  pkg_cv_GTKLOGOUTHELPER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13900
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
 
13901
                      test "x$?" != "x0" && pkg_failed=yes
 
13902
else
 
13903
  pkg_failed=yes
 
13904
fi
 
13905
 else
 
13906
    pkg_failed=untried
 
13907
fi
 
13908
 
 
13909
 
 
13910
 
 
13911
if test $pkg_failed = yes; then
 
13912
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13913
$as_echo "no" >&6; }
 
13914
 
 
13915
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13916
        _pkg_short_errors_supported=yes
 
13917
else
 
13918
        _pkg_short_errors_supported=no
 
13919
fi
 
13920
        if test $_pkg_short_errors_supported = yes; then
 
13921
                GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13922
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
 
13923
        else
 
13924
                GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
 
13925
                                           polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
 
13926
        fi
 
13927
        # Put the nasty error message in config.log where it belongs
 
13928
        echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
 
13929
 
 
13930
        have_gtklogouthelper=no
 
13931
elif test $pkg_failed = untried; then
 
13932
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13933
$as_echo "no" >&6; }
 
13934
        have_gtklogouthelper=no
 
13935
else
 
13936
        GTKLOGOUTHELPER_CFLAGS=$pkg_cv_GTKLOGOUTHELPER_CFLAGS
 
13937
        GTKLOGOUTHELPER_LIBS=$pkg_cv_GTKLOGOUTHELPER_LIBS
 
13938
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13939
$as_echo "yes" >&6; }
 
13940
        have_gtklogouthelper=yes
 
13941
fi
 
13942
 
 
13943
 
 
13944
fi
 
13945
   if test x${have_gtklogouthelper} = xyes; then
 
13946
 
 
13947
$as_echo "#define HAVE_GTKLOGOUTHELPER 1" >>confdefs.h
 
13948
 
 
13949
   fi
 
13950
   if test x${enable_gtklogouthelper} = xyes && test x${have_gtklogouthelper} = xno; then
 
13951
     as_fn_error $? "GTK Logout Helper configured but polkit-gobject not found" "$LINENO" 5
 
13952
   fi
 
13953
else
 
13954
   have_gtklogouthelper=no
 
13955
fi
 
13956
 if test x${have_gtklogouthelper} = xyes; then
 
13957
  BUILD_GTKLOGOUTHELPER_TRUE=
 
13958
  BUILD_GTKLOGOUTHELPER_FALSE='#'
 
13959
else
 
13960
  BUILD_GTKLOGOUTHELPER_TRUE='#'
 
13961
  BUILD_GTKLOGOUTHELPER_FALSE=
 
13962
fi
 
13963
 
 
13964
 
 
13965
 
 
13966
 
 
13967
 
 
13968
###########################
 
13969
# APT support
 
13970
###########################
 
13971
# Check whether --enable-apt was given.
 
13972
if test "${enable_apt+set}" = set; then :
 
13973
  enableval=$enable_apt;
 
13974
else
 
13975
  enable_apt=yes
 
13976
fi
 
13977
 
 
13978
 if test "x$enable_apt" != "xno"; then
 
13979
  BUILD_APT_TRUE=
 
13980
  BUILD_APT_FALSE='#'
 
13981
else
 
13982
  BUILD_APT_TRUE='#'
 
13983
  BUILD_APT_FALSE=
 
13984
fi
 
13985
 
 
13986
 
 
13987
if test "x$enable_apt" != "xno"; then
 
13988
 
 
13989
$as_echo "#define HAVE_APT 1" >>confdefs.h
 
13990
 
 
13991
fi
 
13992
 
 
13993
###########################
 
13994
# Check to see if we're local
 
13995
###########################
 
13996
 
 
13997
with_localinstall="no"
 
13998
# Check whether --enable-localinstall was given.
 
13999
if test "${enable_localinstall+set}" = set; then :
 
14000
  enableval=$enable_localinstall; with_localinstall=$enableval
 
14001
else
 
14002
  with_localinstall=no
 
14003
fi
 
14004
 
 
14005
 
 
14006
###########################
 
14007
# Indicator Info
 
14008
###########################
 
14009
 
 
14010
if test "x$with_localinstall" = "xyes"; then
 
14011
        INDICATORDIR="${libdir}/indicators/2/"
 
14012
        INDICATORICONSDIR="${datadir}/indicator-applet/icons/"
 
14013
elif test "x$with_gtk" = x2; then
 
14014
        INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator-0.4`
 
14015
        INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator-0.4`
 
14016
else
 
14017
        INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3-0.4`
 
14018
        INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator3-0.4`
 
14019
fi
 
14020
 
 
14021
 
 
14022
 
 
14023
###########################
 
14024
# DBus Service Info
 
14025
###########################
 
14026
 
 
14027
if test "x$with_localinstall" = "xyes"; then
 
14028
        DBUSSERVICEDIR="${datadir}/dbus-1/services/"
 
14029
else
 
14030
        DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
 
14031
fi
 
14032
 
 
14033
 
 
14034
##############################
 
14035
# Custom Junk
 
14036
##############################
 
14037
 
 
14038
 
 
14039
 
 
14040
###########################
 
14041
# Internationalization
 
14042
###########################
 
14043
 
 
14044
GETTEXT_PACKAGE=indicator-session
 
14045
 
 
14046
 
 
14047
cat >>confdefs.h <<_ACEOF
 
14048
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
14049
_ACEOF
 
14050
 
 
14051
 
 
14052
        test "x$prefix" = xNONE && prefix="$ac_default_prefix"
 
14053
        test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
14054
        ac_define_path=`eval echo $"${datadir}/locale"`
 
14055
        ac_define_path=`eval echo $ac_define_path`
 
14056
        GNOMELOCALEDIR="$ac_define_path"
 
14057
 
 
14058
 
 
14059
cat >>confdefs.h <<_ACEOF
 
14060
#define GNOMELOCALEDIR "$ac_define_path"
 
14061
_ACEOF
 
14062
 
 
14063
 
 
14064
 
 
14065
 
 
14066
   for ac_header in locale.h
 
14067
do :
 
14068
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
14069
if test "x$ac_cv_header_locale_h" = xyes; then :
 
14070
  cat >>confdefs.h <<_ACEOF
 
14071
#define HAVE_LOCALE_H 1
 
14072
_ACEOF
 
14073
 
 
14074
fi
 
14075
 
 
14076
done
 
14077
 
 
14078
    if test $ac_cv_header_locale_h = yes; then
 
14079
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
14080
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
14081
if ${am_cv_val_LC_MESSAGES+:} false; then :
 
14082
  $as_echo_n "(cached) " >&6
 
14083
else
 
14084
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14085
/* end confdefs.h.  */
 
14086
#include <locale.h>
 
14087
int
 
14088
main ()
 
14089
{
 
14090
return LC_MESSAGES
 
14091
  ;
 
14092
  return 0;
 
14093
}
 
14094
_ACEOF
 
14095
if ac_fn_c_try_link "$LINENO"; then :
 
14096
  am_cv_val_LC_MESSAGES=yes
 
14097
else
 
14098
  am_cv_val_LC_MESSAGES=no
 
14099
fi
 
14100
rm -f core conftest.err conftest.$ac_objext \
 
14101
    conftest$ac_exeext conftest.$ac_ext
 
14102
fi
 
14103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
14104
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
14105
    if test $am_cv_val_LC_MESSAGES = yes; then
 
14106
 
 
14107
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
14108
 
 
14109
    fi
 
14110
  fi
 
14111
     USE_NLS=yes
 
14112
 
 
14113
 
 
14114
    gt_cv_have_gettext=no
 
14115
 
 
14116
    CATOBJEXT=NONE
 
14117
    XGETTEXT=:
 
14118
    INTLLIBS=
 
14119
 
 
14120
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
14121
if test "x$ac_cv_header_libintl_h" = xyes; then :
 
14122
  gt_cv_func_dgettext_libintl="no"
 
14123
      libintl_extra_libs=""
 
14124
 
 
14125
      #
 
14126
      # First check in libc
 
14127
      #
 
14128
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
14129
$as_echo_n "checking for ngettext in libc... " >&6; }
 
14130
if ${gt_cv_func_ngettext_libc+:} false; then :
 
14131
  $as_echo_n "(cached) " >&6
 
14132
else
 
14133
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14134
/* end confdefs.h.  */
 
14135
 
 
14136
#include <libintl.h>
 
14137
 
 
14138
int
 
14139
main ()
 
14140
{
 
14141
return !ngettext ("","", 1)
 
14142
  ;
 
14143
  return 0;
 
14144
}
 
14145
_ACEOF
 
14146
if ac_fn_c_try_link "$LINENO"; then :
 
14147
  gt_cv_func_ngettext_libc=yes
 
14148
else
 
14149
  gt_cv_func_ngettext_libc=no
 
14150
fi
 
14151
rm -f core conftest.err conftest.$ac_objext \
 
14152
    conftest$ac_exeext conftest.$ac_ext
 
14153
 
 
14154
fi
 
14155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
14156
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
14157
 
 
14158
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
14159
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
14160
$as_echo_n "checking for dgettext in libc... " >&6; }
 
14161
if ${gt_cv_func_dgettext_libc+:} false; then :
 
14162
  $as_echo_n "(cached) " >&6
 
14163
else
 
14164
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14165
/* end confdefs.h.  */
 
14166
 
 
14167
#include <libintl.h>
 
14168
 
 
14169
int
 
14170
main ()
 
14171
{
 
14172
return !dgettext ("","")
 
14173
  ;
 
14174
  return 0;
 
14175
}
 
14176
_ACEOF
 
14177
if ac_fn_c_try_link "$LINENO"; then :
 
14178
  gt_cv_func_dgettext_libc=yes
 
14179
else
 
14180
  gt_cv_func_dgettext_libc=no
 
14181
fi
 
14182
rm -f core conftest.err conftest.$ac_objext \
 
14183
    conftest$ac_exeext conftest.$ac_ext
 
14184
 
 
14185
fi
 
14186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
14187
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
14188
      fi
 
14189
 
 
14190
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
14191
        for ac_func in bind_textdomain_codeset
 
14192
do :
 
14193
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14194
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14195
  cat >>confdefs.h <<_ACEOF
 
14196
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
14197
_ACEOF
 
14198
 
 
14199
fi
 
14200
done
 
14201
 
 
14202
      fi
 
14203
 
 
14204
      #
 
14205
      # If we don't have everything we want, check in libintl
 
14206
      #
 
14207
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
14208
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
14209
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
14210
 
 
14211
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
14212
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
14213
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
 
14214
  $as_echo_n "(cached) " >&6
 
14215
else
 
14216
  ac_check_lib_save_LIBS=$LIBS
 
14217
LIBS="-lintl  $LIBS"
 
14218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14219
/* end confdefs.h.  */
 
14220
 
 
14221
/* Override any GCC internal prototype to avoid an error.
 
14222
   Use char because int might match the return type of a GCC
 
14223
   builtin and then its argument prototype would still apply.  */
 
14224
#ifdef __cplusplus
 
14225
extern "C"
 
14226
#endif
 
14227
char bindtextdomain ();
 
14228
int
 
14229
main ()
 
14230
{
 
14231
return bindtextdomain ();
 
14232
  ;
 
14233
  return 0;
 
14234
}
 
14235
_ACEOF
 
14236
if ac_fn_c_try_link "$LINENO"; then :
 
14237
  ac_cv_lib_intl_bindtextdomain=yes
 
14238
else
 
14239
  ac_cv_lib_intl_bindtextdomain=no
 
14240
fi
 
14241
rm -f core conftest.err conftest.$ac_objext \
 
14242
    conftest$ac_exeext conftest.$ac_ext
 
14243
LIBS=$ac_check_lib_save_LIBS
 
14244
fi
 
14245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
14246
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
14247
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
14248
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
14249
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
14250
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
14251
  $as_echo_n "(cached) " >&6
 
14252
else
 
14253
  ac_check_lib_save_LIBS=$LIBS
 
14254
LIBS="-lintl  $LIBS"
 
14255
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14256
/* end confdefs.h.  */
 
14257
 
 
14258
/* Override any GCC internal prototype to avoid an error.
 
14259
   Use char because int might match the return type of a GCC
 
14260
   builtin and then its argument prototype would still apply.  */
 
14261
#ifdef __cplusplus
 
14262
extern "C"
 
14263
#endif
 
14264
char ngettext ();
 
14265
int
 
14266
main ()
 
14267
{
 
14268
return ngettext ();
 
14269
  ;
 
14270
  return 0;
 
14271
}
 
14272
_ACEOF
 
14273
if ac_fn_c_try_link "$LINENO"; then :
 
14274
  ac_cv_lib_intl_ngettext=yes
 
14275
else
 
14276
  ac_cv_lib_intl_ngettext=no
 
14277
fi
 
14278
rm -f core conftest.err conftest.$ac_objext \
 
14279
    conftest$ac_exeext conftest.$ac_ext
 
14280
LIBS=$ac_check_lib_save_LIBS
 
14281
fi
 
14282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
14283
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
14284
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
14285
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
14286
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
14287
if ${ac_cv_lib_intl_dgettext+:} false; then :
 
14288
  $as_echo_n "(cached) " >&6
 
14289
else
 
14290
  ac_check_lib_save_LIBS=$LIBS
 
14291
LIBS="-lintl  $LIBS"
 
14292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14293
/* end confdefs.h.  */
 
14294
 
 
14295
/* Override any GCC internal prototype to avoid an error.
 
14296
   Use char because int might match the return type of a GCC
 
14297
   builtin and then its argument prototype would still apply.  */
 
14298
#ifdef __cplusplus
 
14299
extern "C"
 
14300
#endif
 
14301
char dgettext ();
 
14302
int
 
14303
main ()
 
14304
{
 
14305
return dgettext ();
 
14306
  ;
 
14307
  return 0;
 
14308
}
 
14309
_ACEOF
 
14310
if ac_fn_c_try_link "$LINENO"; then :
 
14311
  ac_cv_lib_intl_dgettext=yes
 
14312
else
 
14313
  ac_cv_lib_intl_dgettext=no
 
14314
fi
 
14315
rm -f core conftest.err conftest.$ac_objext \
 
14316
    conftest$ac_exeext conftest.$ac_ext
 
14317
LIBS=$ac_check_lib_save_LIBS
 
14318
fi
 
14319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
14320
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
14321
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
 
14322
  gt_cv_func_dgettext_libintl=yes
 
14323
fi
 
14324
 
 
14325
fi
 
14326
 
 
14327
fi
 
14328
 
 
14329
 
 
14330
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
14331
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
14332
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
14333
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
14334
$as_echo "" >&6; }
 
14335
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
14336
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
14337
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
14338
  $as_echo_n "(cached) " >&6
 
14339
else
 
14340
  ac_check_lib_save_LIBS=$LIBS
 
14341
LIBS="-lintl -liconv $LIBS"
 
14342
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14343
/* end confdefs.h.  */
 
14344
 
 
14345
/* Override any GCC internal prototype to avoid an error.
 
14346
   Use char because int might match the return type of a GCC
 
14347
   builtin and then its argument prototype would still apply.  */
 
14348
#ifdef __cplusplus
 
14349
extern "C"
 
14350
#endif
 
14351
char ngettext ();
 
14352
int
 
14353
main ()
 
14354
{
 
14355
return ngettext ();
 
14356
  ;
 
14357
  return 0;
 
14358
}
 
14359
_ACEOF
 
14360
if ac_fn_c_try_link "$LINENO"; then :
 
14361
  ac_cv_lib_intl_ngettext=yes
 
14362
else
 
14363
  ac_cv_lib_intl_ngettext=no
 
14364
fi
 
14365
rm -f core conftest.err conftest.$ac_objext \
 
14366
    conftest$ac_exeext conftest.$ac_ext
 
14367
LIBS=$ac_check_lib_save_LIBS
 
14368
fi
 
14369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
14370
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
14371
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
14372
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
14373
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
14374
if ${ac_cv_lib_intl_dcgettext+:} false; then :
 
14375
  $as_echo_n "(cached) " >&6
 
14376
else
 
14377
  ac_check_lib_save_LIBS=$LIBS
 
14378
LIBS="-lintl -liconv $LIBS"
 
14379
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14380
/* end confdefs.h.  */
 
14381
 
 
14382
/* Override any GCC internal prototype to avoid an error.
 
14383
   Use char because int might match the return type of a GCC
 
14384
   builtin and then its argument prototype would still apply.  */
 
14385
#ifdef __cplusplus
 
14386
extern "C"
 
14387
#endif
 
14388
char dcgettext ();
 
14389
int
 
14390
main ()
 
14391
{
 
14392
return dcgettext ();
 
14393
  ;
 
14394
  return 0;
 
14395
}
 
14396
_ACEOF
 
14397
if ac_fn_c_try_link "$LINENO"; then :
 
14398
  ac_cv_lib_intl_dcgettext=yes
 
14399
else
 
14400
  ac_cv_lib_intl_dcgettext=no
 
14401
fi
 
14402
rm -f core conftest.err conftest.$ac_objext \
 
14403
    conftest$ac_exeext conftest.$ac_ext
 
14404
LIBS=$ac_check_lib_save_LIBS
 
14405
fi
 
14406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
14407
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
14408
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
 
14409
  gt_cv_func_dgettext_libintl=yes
 
14410
                        libintl_extra_libs=-liconv
 
14411
else
 
14412
  :
 
14413
fi
 
14414
 
 
14415
else
 
14416
  :
 
14417
fi
 
14418
 
 
14419
        fi
 
14420
 
 
14421
        #
 
14422
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
14423
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
14424
        # and both have dgettext and ngettext
 
14425
        #
 
14426
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
14427
          glib_save_LIBS="$LIBS"
 
14428
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
14429
          unset ac_cv_func_bind_textdomain_codeset
 
14430
          for ac_func in bind_textdomain_codeset
 
14431
do :
 
14432
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14433
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14434
  cat >>confdefs.h <<_ACEOF
 
14435
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
14436
_ACEOF
 
14437
 
 
14438
fi
 
14439
done
 
14440
 
 
14441
          LIBS="$glib_save_LIBS"
 
14442
 
 
14443
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
14444
            gt_cv_func_dgettext_libc=no
 
14445
          else
 
14446
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
14447
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
14448
              gt_cv_func_dgettext_libintl=no
 
14449
            fi
 
14450
          fi
 
14451
        fi
 
14452
      fi
 
14453
 
 
14454
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
14455
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
14456
        gt_cv_have_gettext=yes
 
14457
      fi
 
14458
 
 
14459
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
14460
        INTLLIBS="-lintl $libintl_extra_libs"
 
14461
      fi
 
14462
 
 
14463
      if test "$gt_cv_have_gettext" = "yes"; then
 
14464
 
 
14465
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
14466
 
 
14467
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
14468
set dummy msgfmt; ac_word=$2
 
14469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14470
$as_echo_n "checking for $ac_word... " >&6; }
 
14471
if ${ac_cv_path_MSGFMT+:} false; then :
 
14472
  $as_echo_n "(cached) " >&6
 
14473
else
 
14474
  case "$MSGFMT" in
 
14475
  /*)
 
14476
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
14477
  ;;
 
14478
  *)
 
14479
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
14480
  for ac_dir in $PATH; do
 
14481
    test -z "$ac_dir" && ac_dir=.
 
14482
    if test -f $ac_dir/$ac_word; then
 
14483
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
14484
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
14485
        break
 
14486
      fi
 
14487
    fi
 
14488
  done
 
14489
  IFS="$ac_save_ifs"
 
14490
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
14491
  ;;
 
14492
esac
 
14493
fi
 
14494
MSGFMT="$ac_cv_path_MSGFMT"
 
14495
if test "$MSGFMT" != "no"; then
 
14496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
14497
$as_echo "$MSGFMT" >&6; }
 
14498
else
 
14499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14500
$as_echo "no" >&6; }
 
14501
fi
 
14502
        if test "$MSGFMT" != "no"; then
 
14503
          glib_save_LIBS="$LIBS"
 
14504
          LIBS="$LIBS $INTLLIBS"
 
14505
          for ac_func in dcgettext
 
14506
do :
 
14507
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
14508
if test "x$ac_cv_func_dcgettext" = xyes; then :
 
14509
  cat >>confdefs.h <<_ACEOF
 
14510
#define HAVE_DCGETTEXT 1
 
14511
_ACEOF
 
14512
 
 
14513
fi
 
14514
done
 
14515
 
 
14516
          MSGFMT_OPTS=
 
14517
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
14518
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
14519
          cat >conftest.foo <<_ACEOF
 
14520
 
 
14521
msgid ""
 
14522
msgstr ""
 
14523
"Content-Type: text/plain; charset=UTF-8\n"
 
14524
"Project-Id-Version: test 1.0\n"
 
14525
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
14526
"Last-Translator: test <foo@bar.xx>\n"
 
14527
"Language-Team: C <LL@li.org>\n"
 
14528
"MIME-Version: 1.0\n"
 
14529
"Content-Transfer-Encoding: 8bit\n"
 
14530
 
 
14531
_ACEOF
 
14532
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
14533
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
14534
  ac_status=$?
 
14535
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14536
  test $ac_status = 0; }; then
 
14537
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14538
$as_echo "yes" >&6; }
 
14539
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14540
$as_echo "no" >&6; }
 
14541
echo "$as_me: failed input was:" >&5
 
14542
sed 's/^/| /' conftest.foo >&5
 
14543
fi
 
14544
 
 
14545
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
14546
set dummy gmsgfmt; ac_word=$2
 
14547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14548
$as_echo_n "checking for $ac_word... " >&6; }
 
14549
if ${ac_cv_path_GMSGFMT+:} false; then :
 
14550
  $as_echo_n "(cached) " >&6
 
14551
else
 
14552
  case $GMSGFMT in
 
14553
  [\\/]* | ?:[\\/]*)
 
14554
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
14555
  ;;
 
14556
  *)
 
14557
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14558
for as_dir in $PATH
 
14559
do
 
14560
  IFS=$as_save_IFS
 
14561
  test -z "$as_dir" && as_dir=.
 
14562
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14563
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14564
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
14565
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14566
    break 2
 
14567
  fi
 
14568
done
 
14569
  done
 
14570
IFS=$as_save_IFS
 
14571
 
 
14572
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
14573
  ;;
 
14574
esac
 
14575
fi
 
14576
GMSGFMT=$ac_cv_path_GMSGFMT
 
14577
if test -n "$GMSGFMT"; then
 
14578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
14579
$as_echo "$GMSGFMT" >&6; }
 
14580
else
 
14581
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14582
$as_echo "no" >&6; }
 
14583
fi
 
14584
 
 
14585
 
 
14586
          # Extract the first word of "xgettext", so it can be a program name with args.
 
14587
set dummy xgettext; ac_word=$2
 
14588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14589
$as_echo_n "checking for $ac_word... " >&6; }
 
14590
if ${ac_cv_path_XGETTEXT+:} false; then :
 
14591
  $as_echo_n "(cached) " >&6
 
14592
else
 
14593
  case "$XGETTEXT" in
 
14594
  /*)
 
14595
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
14596
  ;;
 
14597
  *)
 
14598
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
14599
  for ac_dir in $PATH; do
 
14600
    test -z "$ac_dir" && ac_dir=.
 
14601
    if test -f $ac_dir/$ac_word; then
 
14602
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
14603
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
14604
        break
 
14605
      fi
 
14606
    fi
 
14607
  done
 
14608
  IFS="$ac_save_ifs"
 
14609
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
14610
  ;;
 
14611
esac
 
14612
fi
 
14613
XGETTEXT="$ac_cv_path_XGETTEXT"
 
14614
if test "$XGETTEXT" != ":"; then
 
14615
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
14616
$as_echo "$XGETTEXT" >&6; }
 
14617
else
 
14618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14619
$as_echo "no" >&6; }
 
14620
fi
 
14621
 
 
14622
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14623
/* end confdefs.h.  */
 
14624
 
 
14625
int
 
14626
main ()
 
14627
{
 
14628
extern int _nl_msg_cat_cntr;
 
14629
                         return _nl_msg_cat_cntr
 
14630
  ;
 
14631
  return 0;
 
14632
}
 
14633
_ACEOF
 
14634
if ac_fn_c_try_link "$LINENO"; then :
 
14635
  CATOBJEXT=.gmo
 
14636
             DATADIRNAME=share
 
14637
else
 
14638
  case $host in
 
14639
            *-*-solaris*)
 
14640
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14641
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14642
  CATOBJEXT=.gmo
 
14643
               DATADIRNAME=share
 
14644
else
 
14645
  CATOBJEXT=.mo
 
14646
               DATADIRNAME=lib
 
14647
fi
 
14648
 
 
14649
            ;;
 
14650
            *-*-openbsd*)
 
14651
            CATOBJEXT=.mo
 
14652
            DATADIRNAME=share
 
14653
            ;;
 
14654
            *)
 
14655
            CATOBJEXT=.mo
 
14656
            DATADIRNAME=lib
 
14657
            ;;
 
14658
            esac
 
14659
fi
 
14660
rm -f core conftest.err conftest.$ac_objext \
 
14661
    conftest$ac_exeext conftest.$ac_ext
 
14662
          LIBS="$glib_save_LIBS"
 
14663
          INSTOBJEXT=.mo
 
14664
        else
 
14665
          gt_cv_have_gettext=no
 
14666
        fi
 
14667
      fi
 
14668
 
 
14669
fi
 
14670
 
 
14671
 
 
14672
 
 
14673
    if test "$gt_cv_have_gettext" = "yes" ; then
 
14674
 
 
14675
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
14676
 
 
14677
    fi
 
14678
 
 
14679
        if test "$XGETTEXT" != ":"; then
 
14680
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
14681
        : ;
 
14682
      else
 
14683
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
14684
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
14685
        XGETTEXT=":"
 
14686
      fi
 
14687
    fi
 
14688
 
 
14689
    # We need to process the po/ directory.
 
14690
    POSUB=po
 
14691
 
 
14692
    ac_config_commands="$ac_config_commands default-1"
 
14693
 
 
14694
 
 
14695
                for lang in $ALL_LINGUAS; do
 
14696
      GMOFILES="$GMOFILES $lang.gmo"
 
14697
      POFILES="$POFILES $lang.po"
 
14698
    done
 
14699
 
 
14700
 
 
14701
 
 
14702
 
 
14703
 
 
14704
 
 
14705
 
 
14706
 
 
14707
 
 
14708
 
 
14709
 
 
14710
 
 
14711
 
 
14712
   if test "$gt_cv_have_gettext" = "yes"; then
 
14713
     if test "x$ALL_LINGUAS" = "x"; then
 
14714
       LINGUAS=
 
14715
     else
 
14716
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
14717
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
14718
       NEW_LINGUAS=
 
14719
       for presentlang in $ALL_LINGUAS; do
 
14720
         useit=no
 
14721
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
14722
           desiredlanguages="$LINGUAS"
 
14723
         else
 
14724
           desiredlanguages="$ALL_LINGUAS"
 
14725
         fi
 
14726
         for desiredlang in $desiredlanguages; do
 
14727
           # Use the presentlang catalog if desiredlang is
 
14728
           #   a. equal to presentlang, or
 
14729
           #   b. a variant of presentlang (because in this case,
 
14730
           #      presentlang can be used as a fallback for messages
 
14731
           #      which are not translated in the desiredlang catalog).
 
14732
           case "$desiredlang" in
 
14733
             "$presentlang"*) useit=yes;;
 
14734
           esac
 
14735
         done
 
14736
         if test $useit = yes; then
 
14737
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
14738
         fi
 
14739
       done
 
14740
       LINGUAS=$NEW_LINGUAS
 
14741
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
14742
$as_echo "$LINGUAS" >&6; }
 
14743
     fi
 
14744
 
 
14745
          if test -n "$LINGUAS"; then
 
14746
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
14747
     fi
 
14748
   fi
 
14749
 
 
14750
            MKINSTALLDIRS=
 
14751
   if test -n "$ac_aux_dir"; then
 
14752
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
14753
   fi
 
14754
   if test -z "$MKINSTALLDIRS"; then
 
14755
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
14756
   fi
 
14757
 
 
14758
 
 
14759
         test -d po || mkdir po
 
14760
   if test "x$srcdir" != "x."; then
 
14761
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
14762
       posrcprefix="$srcdir/"
 
14763
     else
 
14764
       posrcprefix="../$srcdir/"
 
14765
     fi
 
14766
   else
 
14767
     posrcprefix="../"
 
14768
   fi
 
14769
   rm -f po/POTFILES
 
14770
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
14771
        < $srcdir/po/POTFILES.in > po/POTFILES
 
14772
 
 
14773
 
 
14774
###########################
 
14775
# gcov coverage reporting
 
14776
###########################
 
14777
 
 
14778
# Checks for existence of coverage tools:
 
14779
#  * gcov
 
14780
#  * lcov
 
14781
#  * genhtml
 
14782
#  * gcovr
 
14783
#
 
14784
# Sets ac_cv_check_gcov to yes if tooling is present
 
14785
# and reports the executables to the variables LCOV, GCOVR and GENHTML.
 
14786
 # AC_TDD_GCOV
 
14787
 
 
14788
 
 
14789
  # Check whether --enable-gcov was given.
 
14790
if test "${enable_gcov+set}" = set; then :
 
14791
  enableval=$enable_gcov; use_gcov=$enableval
 
14792
else
 
14793
  use_gcov=no
 
14794
fi
 
14795
 
 
14796
 
 
14797
  if test "x$use_gcov" = "xyes"; then
 
14798
  # we need gcc:
 
14799
  if test "$GCC" != "yes"; then
 
14800
    as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
 
14801
  fi
 
14802
 
 
14803
  # Check if ccache is being used
 
14804
  # Extract the first word of "shtool", so it can be a program name with args.
 
14805
set dummy shtool; ac_word=$2
 
14806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14807
$as_echo_n "checking for $ac_word... " >&6; }
 
14808
if ${ac_cv_prog_SHTOOL+:} false; then :
 
14809
  $as_echo_n "(cached) " >&6
 
14810
else
 
14811
  if test -n "$SHTOOL"; then
 
14812
  ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
 
14813
else
 
14814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14815
for as_dir in $PATH
 
14816
do
 
14817
  IFS=$as_save_IFS
 
14818
  test -z "$as_dir" && as_dir=.
 
14819
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14820
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14821
    ac_cv_prog_SHTOOL="shtool"
 
14822
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14823
    break 2
 
14824
  fi
 
14825
done
 
14826
  done
 
14827
IFS=$as_save_IFS
 
14828
 
 
14829
fi
 
14830
fi
 
14831
SHTOOL=$ac_cv_prog_SHTOOL
 
14832
if test -n "$SHTOOL"; then
 
14833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
 
14834
$as_echo "$SHTOOL" >&6; }
 
14835
else
 
14836
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14837
$as_echo "no" >&6; }
 
14838
fi
 
14839
 
 
14840
 
 
14841
  case `$SHTOOL path $CC` in
 
14842
    *ccache*) gcc_ccache=yes;;
 
14843
    *) gcc_ccache=no;;
 
14844
  esac
 
14845
 
 
14846
  if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
 
14847
    as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
 
14848
  fi
 
14849
 
 
14850
  lcov_version_list="1.6 1.7 1.8 1.9"
 
14851
  # Extract the first word of "lcov", so it can be a program name with args.
 
14852
set dummy lcov; ac_word=$2
 
14853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14854
$as_echo_n "checking for $ac_word... " >&6; }
 
14855
if ${ac_cv_prog_LCOV+:} false; then :
 
14856
  $as_echo_n "(cached) " >&6
 
14857
else
 
14858
  if test -n "$LCOV"; then
 
14859
  ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
 
14860
else
 
14861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14862
for as_dir in $PATH
 
14863
do
 
14864
  IFS=$as_save_IFS
 
14865
  test -z "$as_dir" && as_dir=.
 
14866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14868
    ac_cv_prog_LCOV="lcov"
 
14869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14870
    break 2
 
14871
  fi
 
14872
done
 
14873
  done
 
14874
IFS=$as_save_IFS
 
14875
 
 
14876
fi
 
14877
fi
 
14878
LCOV=$ac_cv_prog_LCOV
 
14879
if test -n "$LCOV"; then
 
14880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
 
14881
$as_echo "$LCOV" >&6; }
 
14882
else
 
14883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14884
$as_echo "no" >&6; }
 
14885
fi
 
14886
 
 
14887
 
 
14888
  # Extract the first word of "genhtml", so it can be a program name with args.
 
14889
set dummy genhtml; ac_word=$2
 
14890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14891
$as_echo_n "checking for $ac_word... " >&6; }
 
14892
if ${ac_cv_prog_GENHTML+:} false; then :
 
14893
  $as_echo_n "(cached) " >&6
 
14894
else
 
14895
  if test -n "$GENHTML"; then
 
14896
  ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
 
14897
else
 
14898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14899
for as_dir in $PATH
 
14900
do
 
14901
  IFS=$as_save_IFS
 
14902
  test -z "$as_dir" && as_dir=.
 
14903
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14904
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14905
    ac_cv_prog_GENHTML="genhtml"
 
14906
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14907
    break 2
 
14908
  fi
 
14909
done
 
14910
  done
 
14911
IFS=$as_save_IFS
 
14912
 
 
14913
fi
 
14914
fi
 
14915
GENHTML=$ac_cv_prog_GENHTML
 
14916
if test -n "$GENHTML"; then
 
14917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
 
14918
$as_echo "$GENHTML" >&6; }
 
14919
else
 
14920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14921
$as_echo "no" >&6; }
 
14922
fi
 
14923
 
 
14924
 
 
14925
 
 
14926
  if test "$LCOV"; then
 
14927
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
 
14928
$as_echo_n "checking for lcov version... " >&6; }
 
14929
if ${glib_cv_lcov_version+:} false; then :
 
14930
  $as_echo_n "(cached) " >&6
 
14931
else
 
14932
 
 
14933
      glib_cv_lcov_version=invalid
 
14934
      lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
 
14935
      for lcov_check_version in $lcov_version_list; do
 
14936
        if test "$lcov_version" = "$lcov_check_version"; then
 
14937
          glib_cv_lcov_version="$lcov_check_version (ok)"
 
14938
        fi
 
14939
      done
 
14940
 
 
14941
fi
 
14942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_lcov_version" >&5
 
14943
$as_echo "$glib_cv_lcov_version" >&6; }
 
14944
  else
 
14945
    lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
 
14946
    as_fn_error $? "$lcov_msg" "$LINENO" 5
 
14947
  fi
 
14948
 
 
14949
  case $glib_cv_lcov_version in
 
14950
    ""|invalid)
 
14951
      lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
 
14952
      as_fn_error $? "$lcov_msg" "$LINENO" 5
 
14953
      LCOV="exit 0;"
 
14954
      ;;
 
14955
  esac
 
14956
 
 
14957
  if test -z "$GENHTML"; then
 
14958
    as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
 
14959
  fi
 
14960
 
 
14961
  ac_cv_check_gcov=yes
 
14962
  ac_cv_check_lcov=yes
 
14963
 
 
14964
  # Remove all optimization flags from CFLAGS
 
14965
 
 
14966
  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
 
14967
 
 
14968
 
 
14969
  # Add the special gcc flags
 
14970
  COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
 
14971
  COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
 
14972
  COVERAGE_LDFLAGS="-lgcov"
 
14973
 
 
14974
  # Check availability of gcovr
 
14975
  # Extract the first word of "gcovr", so it can be a program name with args.
 
14976
set dummy gcovr; ac_word=$2
 
14977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14978
$as_echo_n "checking for $ac_word... " >&6; }
 
14979
if ${ac_cv_prog_GCOVR+:} false; then :
 
14980
  $as_echo_n "(cached) " >&6
 
14981
else
 
14982
  if test -n "$GCOVR"; then
 
14983
  ac_cv_prog_GCOVR="$GCOVR" # Let the user override the test.
 
14984
else
 
14985
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14986
for as_dir in $PATH
 
14987
do
 
14988
  IFS=$as_save_IFS
 
14989
  test -z "$as_dir" && as_dir=.
 
14990
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14991
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14992
    ac_cv_prog_GCOVR="gcovr"
 
14993
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14994
    break 2
 
14995
  fi
 
14996
done
 
14997
  done
 
14998
IFS=$as_save_IFS
 
14999
 
 
15000
fi
 
15001
fi
 
15002
GCOVR=$ac_cv_prog_GCOVR
 
15003
if test -n "$GCOVR"; then
 
15004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOVR" >&5
 
15005
$as_echo "$GCOVR" >&6; }
 
15006
else
 
15007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15008
$as_echo "no" >&6; }
 
15009
fi
 
15010
 
 
15011
 
 
15012
  if test -z "$GCOVR"; then
 
15013
    ac_cv_check_gcovr=no
 
15014
  else
 
15015
    ac_cv_check_gcovr=yes
 
15016
  fi
 
15017
 
 
15018
fi
 
15019
 
 
15020
 if test "x$ac_cv_check_gcov" = xyes; then
 
15021
  HAVE_GCOV_TRUE=
 
15022
  HAVE_GCOV_FALSE='#'
 
15023
else
 
15024
  HAVE_GCOV_TRUE='#'
 
15025
  HAVE_GCOV_FALSE=
 
15026
fi
 
15027
 
 
15028
 if test "x$ac_cv_check_lcov" = xyes; then
 
15029
  HAVE_LCOV_TRUE=
 
15030
  HAVE_LCOV_FALSE='#'
 
15031
else
 
15032
  HAVE_LCOV_TRUE='#'
 
15033
  HAVE_LCOV_FALSE=
 
15034
fi
 
15035
 
 
15036
 if test "x$ac_cv_check_gcovr" = xyes; then
 
15037
  HAVE_GCOVR_TRUE=
 
15038
  HAVE_GCOVR_FALSE='#'
 
15039
else
 
15040
  HAVE_GCOVR_TRUE='#'
 
15041
  HAVE_GCOVR_FALSE=
 
15042
fi
 
15043
 
 
15044
 
 
15045
 
 
15046
 
 
15047
###########################
 
15048
# Files
 
15049
###########################
 
15050
 
 
15051
 if test "x$has_gudev" = "xtrue"; then
 
15052
  HAS_GUDEV_TRUE=
 
15053
  HAS_GUDEV_FALSE='#'
 
15054
else
 
15055
  HAS_GUDEV_TRUE='#'
 
15056
  HAS_GUDEV_FALSE=
 
15057
fi
 
15058
 
 
15059
 
 
15060
ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/16x16/actions/Makefile data/icons/16x16/status/Makefile data/icons/22x22/Makefile data/icons/22x22/actions/Makefile data/icons/22x22/status/Makefile data/icons/24x24/Makefile data/icons/24x24/actions/Makefile data/icons/24x24/status/Makefile data/icons/32x32/Makefile data/icons/32x32/actions/Makefile data/icons/32x32/status/Makefile data/icons/scalable/Makefile data/icons/scalable/actions/Makefile data/icons/scalable/status/Makefile data/extra-sessions/Makefile po/Makefile.in"
 
15061
 
 
15062
 
 
15063
cat >confcache <<\_ACEOF
 
15064
# This file is a shell script that caches the results of configure
 
15065
# tests run on this system so they can be shared between configure
 
15066
# scripts and configure runs, see configure's option --config-cache.
 
15067
# It is not useful on other systems.  If it contains results you don't
 
15068
# want to keep, you may remove or edit it.
 
15069
#
 
15070
# config.status only pays attention to the cache file if you give it
 
15071
# the --recheck option to rerun configure.
 
15072
#
 
15073
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
15074
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
15075
# following values.
 
15076
 
 
15077
_ACEOF
 
15078
 
 
15079
# The following way of writing the cache mishandles newlines in values,
 
15080
# but we know of no workaround that is simple, portable, and efficient.
 
15081
# So, we kill variables containing newlines.
 
15082
# Ultrix sh set writes to stderr and can't be redirected directly,
 
15083
# and sets the high bit in the cache file unless we assign to the vars.
 
15084
(
 
15085
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
15086
    eval ac_val=\$$ac_var
 
15087
    case $ac_val in #(
 
15088
    *${as_nl}*)
 
15089
      case $ac_var in #(
 
15090
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
15091
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
15092
      esac
 
15093
      case $ac_var in #(
 
15094
      _ | IFS | as_nl) ;; #(
 
15095
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
15096
      *) { eval $ac_var=; unset $ac_var;} ;;
 
15097
      esac ;;
 
15098
    esac
 
15099
  done
 
15100
 
 
15101
  (set) 2>&1 |
 
15102
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
15103
    *${as_nl}ac_space=\ *)
 
15104
      # `set' does not quote correctly, so add quotes: double-quote
 
15105
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
15106
      sed -n \
 
15107
        "s/'/'\\\\''/g;
 
15108
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
15109
      ;; #(
 
15110
    *)
 
15111
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
15112
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
15113
      ;;
 
15114
    esac |
 
15115
    sort
 
15116
) |
 
15117
  sed '
 
15118
     /^ac_cv_env_/b end
 
15119
     t clear
 
15120
     :clear
 
15121
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
15122
     t end
 
15123
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
15124
     :end' >>confcache
 
15125
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
15126
  if test -w "$cache_file"; then
 
15127
    if test "x$cache_file" != "x/dev/null"; then
 
15128
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
15129
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
15130
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15131
        cat confcache >"$cache_file"
 
15132
      else
 
15133
        case $cache_file in #(
 
15134
        */* | ?:*)
 
15135
          mv -f confcache "$cache_file"$$ &&
 
15136
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15137
        *)
 
15138
          mv -f confcache "$cache_file" ;;
 
15139
        esac
 
15140
      fi
 
15141
    fi
 
15142
  else
 
15143
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
15144
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
15145
  fi
 
15146
fi
 
15147
rm -f confcache
 
15148
 
 
15149
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
15150
# Let make expand exec_prefix.
 
15151
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
15152
 
 
15153
DEFS=-DHAVE_CONFIG_H
 
15154
 
 
15155
ac_libobjs=
 
15156
ac_ltlibobjs=
 
15157
U=
 
15158
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
15159
  # 1. Remove the extension, and $U if already installed.
 
15160
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
15161
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
15162
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
15163
  #    will be set to the directory where LIBOBJS objects are built.
 
15164
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
15165
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
15166
done
 
15167
LIBOBJS=$ac_libobjs
 
15168
 
 
15169
LTLIBOBJS=$ac_ltlibobjs
 
15170
 
 
15171
 
 
15172
 if test -n "$EXEEXT"; then
 
15173
  am__EXEEXT_TRUE=
 
15174
  am__EXEEXT_FALSE='#'
 
15175
else
 
15176
  am__EXEEXT_TRUE='#'
 
15177
  am__EXEEXT_FALSE=
 
15178
fi
 
15179
 
 
15180
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
15181
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
15182
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15183
fi
 
15184
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
15185
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15186
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15187
fi
 
15188
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15189
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15190
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15191
fi
 
15192
 
 
15193
  ac_config_commands="$ac_config_commands po/stamp-it"
 
15194
 
 
15195
 
 
15196
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15197
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15198
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15199
fi
 
15200
if test -z "${USE_GTK3_TRUE}" && test -z "${USE_GTK3_FALSE}"; then
 
15201
  as_fn_error $? "conditional \"USE_GTK3\" was never defined.
 
15202
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15203
fi
 
15204
if test -z "${BUILD_GTKLOGOUTHELPER_TRUE}" && test -z "${BUILD_GTKLOGOUTHELPER_FALSE}"; then
 
15205
  as_fn_error $? "conditional \"BUILD_GTKLOGOUTHELPER\" was never defined.
 
15206
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15207
fi
 
15208
if test -z "${BUILD_APT_TRUE}" && test -z "${BUILD_APT_FALSE}"; then
 
15209
  as_fn_error $? "conditional \"BUILD_APT\" was never defined.
 
15210
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15211
fi
 
15212
if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
 
15213
  as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
 
15214
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15215
fi
 
15216
if test -z "${HAVE_LCOV_TRUE}" && test -z "${HAVE_LCOV_FALSE}"; then
 
15217
  as_fn_error $? "conditional \"HAVE_LCOV\" was never defined.
 
15218
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15219
fi
 
15220
if test -z "${HAVE_GCOVR_TRUE}" && test -z "${HAVE_GCOVR_FALSE}"; then
 
15221
  as_fn_error $? "conditional \"HAVE_GCOVR\" was never defined.
 
15222
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15223
fi
 
15224
if test -z "${HAS_GUDEV_TRUE}" && test -z "${HAS_GUDEV_FALSE}"; then
 
15225
  as_fn_error $? "conditional \"HAS_GUDEV\" was never defined.
 
15226
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15227
fi
 
15228
 
 
15229
: "${CONFIG_STATUS=./config.status}"
 
15230
ac_write_fail=0
 
15231
ac_clean_files_save=$ac_clean_files
 
15232
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
15233
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
15234
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
15235
as_write_fail=0
 
15236
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
15237
#! $SHELL
 
15238
# Generated by $as_me.
 
15239
# Run this file to recreate the current configuration.
 
15240
# Compiler output produced by configure, useful for debugging
 
15241
# configure, is in config.log if it exists.
 
15242
 
 
15243
debug=false
 
15244
ac_cs_recheck=false
 
15245
ac_cs_silent=false
 
15246
 
 
15247
SHELL=\${CONFIG_SHELL-$SHELL}
 
15248
export SHELL
 
15249
_ASEOF
 
15250
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15251
## -------------------- ##
 
15252
## M4sh Initialization. ##
 
15253
## -------------------- ##
 
15254
 
 
15255
# Be more Bourne compatible
 
15256
DUALCASE=1; export DUALCASE # for MKS sh
 
15257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
15258
  emulate sh
 
15259
  NULLCMD=:
 
15260
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
15261
  # is contrary to our usage.  Disable this feature.
 
15262
  alias -g '${1+"$@"}'='"$@"'
 
15263
  setopt NO_GLOB_SUBST
 
15264
else
 
15265
  case `(set -o) 2>/dev/null` in #(
 
15266
  *posix*) :
 
15267
    set -o posix ;; #(
 
15268
  *) :
 
15269
     ;;
 
15270
esac
 
15271
fi
 
15272
 
 
15273
 
 
15274
as_nl='
 
15275
'
 
15276
export as_nl
 
15277
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
15278
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
15279
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
15280
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
15281
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15282
# but without wasting forks for bash or zsh.
 
15283
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15284
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15285
  as_echo='print -r --'
 
15286
  as_echo_n='print -rn --'
 
15287
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15288
  as_echo='printf %s\n'
 
15289
  as_echo_n='printf %s'
 
15290
else
 
15291
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
15292
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
15293
    as_echo_n='/usr/ucb/echo -n'
 
15294
  else
 
15295
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
15296
    as_echo_n_body='eval
 
15297
      arg=$1;
 
15298
      case $arg in #(
 
15299
      *"$as_nl"*)
 
15300
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
15301
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
15302
      esac;
 
15303
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
15304
    '
 
15305
    export as_echo_n_body
 
15306
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
15307
  fi
 
15308
  export as_echo_body
 
15309
  as_echo='sh -c $as_echo_body as_echo'
 
15310
fi
 
15311
 
 
15312
# The user is always right.
 
15313
if test "${PATH_SEPARATOR+set}" != set; then
 
15314
  PATH_SEPARATOR=:
 
15315
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
15316
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
15317
      PATH_SEPARATOR=';'
 
15318
  }
 
15319
fi
 
15320
 
 
15321
 
 
15322
# IFS
 
15323
# We need space, tab and new line, in precisely that order.  Quoting is
 
15324
# there to prevent editors from complaining about space-tab.
 
15325
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
15326
# splitting by setting IFS to empty value.)
 
15327
IFS=" ""        $as_nl"
 
15328
 
 
15329
# Find who we are.  Look in the path if we contain no directory separator.
 
15330
as_myself=
 
15331
case $0 in #((
 
15332
  *[\\/]* ) as_myself=$0 ;;
 
15333
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15334
for as_dir in $PATH
 
15335
do
 
15336
  IFS=$as_save_IFS
 
15337
  test -z "$as_dir" && as_dir=.
 
15338
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15339
  done
 
15340
IFS=$as_save_IFS
 
15341
 
 
15342
     ;;
 
15343
esac
 
15344
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
15345
# in which case we are not to be found in the path.
 
15346
if test "x$as_myself" = x; then
 
15347
  as_myself=$0
 
15348
fi
 
15349
if test ! -f "$as_myself"; then
 
15350
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
15351
  exit 1
 
15352
fi
 
15353
 
 
15354
# Unset variables that we do not need and which cause bugs (e.g. in
 
15355
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15356
# suppresses any "Segmentation fault" message there.  '((' could
 
15357
# trigger a bug in pdksh 5.2.14.
 
15358
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15359
do eval test x\${$as_var+set} = xset \
 
15360
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
15361
done
 
15362
PS1='$ '
 
15363
PS2='> '
 
15364
PS4='+ '
 
15365
 
 
15366
# NLS nuisances.
 
15367
LC_ALL=C
 
15368
export LC_ALL
 
15369
LANGUAGE=C
 
15370
export LANGUAGE
 
15371
 
 
15372
# CDPATH.
 
15373
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15374
 
 
15375
 
 
15376
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15377
# ----------------------------------------
 
15378
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15379
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15380
# script with STATUS, using 1 if that was 0.
 
15381
as_fn_error ()
 
15382
{
 
15383
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15384
  if test "$4"; then
 
15385
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15386
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
15387
  fi
 
15388
  $as_echo "$as_me: error: $2" >&2
 
15389
  as_fn_exit $as_status
 
15390
} # as_fn_error
 
15391
 
 
15392
 
 
15393
# as_fn_set_status STATUS
 
15394
# -----------------------
 
15395
# Set $? to STATUS, without forking.
 
15396
as_fn_set_status ()
 
15397
{
 
15398
  return $1
 
15399
} # as_fn_set_status
 
15400
 
 
15401
# as_fn_exit STATUS
 
15402
# -----------------
 
15403
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15404
as_fn_exit ()
 
15405
{
 
15406
  set +e
 
15407
  as_fn_set_status $1
 
15408
  exit $1
 
15409
} # as_fn_exit
 
15410
 
 
15411
# as_fn_unset VAR
 
15412
# ---------------
 
15413
# Portably unset VAR.
 
15414
as_fn_unset ()
 
15415
{
 
15416
  { eval $1=; unset $1;}
 
15417
}
 
15418
as_unset=as_fn_unset
 
15419
# as_fn_append VAR VALUE
 
15420
# ----------------------
 
15421
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
15422
# advantage of any shell optimizations that allow amortized linear growth over
 
15423
# repeated appends, instead of the typical quadratic growth present in naive
 
15424
# implementations.
 
15425
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15426
  eval 'as_fn_append ()
 
15427
  {
 
15428
    eval $1+=\$2
 
15429
  }'
 
15430
else
 
15431
  as_fn_append ()
 
15432
  {
 
15433
    eval $1=\$$1\$2
 
15434
  }
 
15435
fi # as_fn_append
 
15436
 
 
15437
# as_fn_arith ARG...
 
15438
# ------------------
 
15439
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
15440
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
15441
# must be portable across $(()) and expr.
 
15442
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15443
  eval 'as_fn_arith ()
 
15444
  {
 
15445
    as_val=$(( $* ))
 
15446
  }'
 
15447
else
 
15448
  as_fn_arith ()
 
15449
  {
 
15450
    as_val=`expr "$@" || test $? -eq 1`
 
15451
  }
 
15452
fi # as_fn_arith
 
15453
 
 
15454
 
 
15455
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
15456
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
15457
  as_expr=expr
 
15458
else
 
15459
  as_expr=false
 
15460
fi
 
15461
 
 
15462
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
15463
  as_basename=basename
 
15464
else
 
15465
  as_basename=false
 
15466
fi
 
15467
 
 
15468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15469
  as_dirname=dirname
 
15470
else
 
15471
  as_dirname=false
 
15472
fi
 
15473
 
 
15474
as_me=`$as_basename -- "$0" ||
 
15475
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
15476
         X"$0" : 'X\(//\)$' \| \
 
15477
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
15478
$as_echo X/"$0" |
 
15479
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
15480
            s//\1/
 
15481
            q
 
15482
          }
 
15483
          /^X\/\(\/\/\)$/{
 
15484
            s//\1/
 
15485
            q
 
15486
          }
 
15487
          /^X\/\(\/\).*/{
 
15488
            s//\1/
 
15489
            q
 
15490
          }
 
15491
          s/.*/./; q'`
 
15492
 
 
15493
# Avoid depending upon Character Ranges.
 
15494
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15495
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15496
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15497
as_cr_digits='0123456789'
 
15498
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
15499
 
 
15500
ECHO_C= ECHO_N= ECHO_T=
 
15501
case `echo -n x` in #(((((
 
15502
-n*)
 
15503
  case `echo 'xy\c'` in
 
15504
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
15505
  xy)  ECHO_C='\c';;
 
15506
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15507
       ECHO_T=' ';;
 
15508
  esac;;
 
15509
*)
 
15510
  ECHO_N='-n';;
 
15511
esac
 
15512
 
 
15513
rm -f conf$$ conf$$.exe conf$$.file
 
15514
if test -d conf$$.dir; then
 
15515
  rm -f conf$$.dir/conf$$.file
 
15516
else
 
15517
  rm -f conf$$.dir
 
15518
  mkdir conf$$.dir 2>/dev/null
 
15519
fi
 
15520
if (echo >conf$$.file) 2>/dev/null; then
 
15521
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
15522
    as_ln_s='ln -s'
 
15523
    # ... but there are two gotchas:
 
15524
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
15525
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
15526
    # In both cases, we have to default to `cp -p'.
 
15527
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
15528
      as_ln_s='cp -p'
 
15529
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
15530
    as_ln_s=ln
 
15531
  else
 
15532
    as_ln_s='cp -p'
 
15533
  fi
 
15534
else
 
15535
  as_ln_s='cp -p'
 
15536
fi
 
15537
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
15538
rmdir conf$$.dir 2>/dev/null
 
15539
 
 
15540
 
 
15541
# as_fn_mkdir_p
 
15542
# -------------
 
15543
# Create "$as_dir" as a directory, including parents if necessary.
 
15544
as_fn_mkdir_p ()
 
15545
{
 
15546
 
 
15547
  case $as_dir in #(
 
15548
  -*) as_dir=./$as_dir;;
 
15549
  esac
 
15550
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15551
    as_dirs=
 
15552
    while :; do
 
15553
      case $as_dir in #(
 
15554
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15555
      *) as_qdir=$as_dir;;
 
15556
      esac
 
15557
      as_dirs="'$as_qdir' $as_dirs"
 
15558
      as_dir=`$as_dirname -- "$as_dir" ||
 
15559
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15560
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15561
         X"$as_dir" : 'X\(//\)$' \| \
 
15562
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15563
$as_echo X"$as_dir" |
 
15564
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15565
            s//\1/
 
15566
            q
 
15567
          }
 
15568
          /^X\(\/\/\)[^/].*/{
 
15569
            s//\1/
 
15570
            q
 
15571
          }
 
15572
          /^X\(\/\/\)$/{
 
15573
            s//\1/
 
15574
            q
 
15575
          }
 
15576
          /^X\(\/\).*/{
 
15577
            s//\1/
 
15578
            q
 
15579
          }
 
15580
          s/.*/./; q'`
 
15581
      test -d "$as_dir" && break
 
15582
    done
 
15583
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15584
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
15585
 
 
15586
 
 
15587
} # as_fn_mkdir_p
 
15588
if mkdir -p . 2>/dev/null; then
 
15589
  as_mkdir_p='mkdir -p "$as_dir"'
 
15590
else
 
15591
  test -d ./-p && rmdir ./-p
 
15592
  as_mkdir_p=false
 
15593
fi
 
15594
 
 
15595
if test -x / >/dev/null 2>&1; then
 
15596
  as_test_x='test -x'
 
15597
else
 
15598
  if ls -dL / >/dev/null 2>&1; then
 
15599
    as_ls_L_option=L
 
15600
  else
 
15601
    as_ls_L_option=
 
15602
  fi
 
15603
  as_test_x='
 
15604
    eval sh -c '\''
 
15605
      if test -d "$1"; then
 
15606
        test -d "$1/.";
 
15607
      else
 
15608
        case $1 in #(
 
15609
        -*)set "./$1";;
 
15610
        esac;
 
15611
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
15612
        ???[sx]*):;;*)false;;esac;fi
 
15613
    '\'' sh
 
15614
  '
 
15615
fi
 
15616
as_executable_p=$as_test_x
 
15617
 
 
15618
# Sed expression to map a string onto a valid CPP name.
 
15619
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
15620
 
 
15621
# Sed expression to map a string onto a valid variable name.
 
15622
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
15623
 
 
15624
 
 
15625
exec 6>&1
 
15626
## ----------------------------------- ##
 
15627
## Main body of $CONFIG_STATUS script. ##
 
15628
## ----------------------------------- ##
 
15629
_ASEOF
 
15630
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
15631
 
 
15632
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15633
# Save the log message, to keep $0 and so on meaningful, and to
 
15634
# report actual input values of CONFIG_FILES etc. instead of their
 
15635
# values after options handling.
 
15636
ac_log="
 
15637
This file was extended by $as_me, which was
 
15638
generated by GNU Autoconf 2.68.  Invocation command line was
 
15639
 
 
15640
  CONFIG_FILES    = $CONFIG_FILES
 
15641
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
15642
  CONFIG_LINKS    = $CONFIG_LINKS
 
15643
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
15644
  $ $0 $@
 
15645
 
 
15646
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
15647
"
 
15648
 
 
15649
_ACEOF
 
15650
 
 
15651
case $ac_config_files in *"
 
15652
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
15653
esac
 
15654
 
 
15655
case $ac_config_headers in *"
 
15656
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
15657
esac
 
15658
 
 
15659
 
 
15660
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15661
# Files that config.status was made for.
 
15662
config_files="$ac_config_files"
 
15663
config_headers="$ac_config_headers"
 
15664
config_commands="$ac_config_commands"
 
15665
 
 
15666
_ACEOF
 
15667
 
 
15668
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15669
ac_cs_usage="\
 
15670
\`$as_me' instantiates files and other configuration actions
 
15671
from templates according to the current configuration.  Unless the files
 
15672
and actions are specified as TAGs, all are instantiated by default.
 
15673
 
 
15674
Usage: $0 [OPTION]... [TAG]...
 
15675
 
 
15676
  -h, --help       print this help, then exit
 
15677
  -V, --version    print version number and configuration settings, then exit
 
15678
      --config     print configuration, then exit
 
15679
  -q, --quiet, --silent
 
15680
                   do not print progress messages
 
15681
  -d, --debug      don't remove temporary files
 
15682
      --recheck    update $as_me by reconfiguring in the same conditions
 
15683
      --file=FILE[:TEMPLATE]
 
15684
                   instantiate the configuration file FILE
 
15685
      --header=FILE[:TEMPLATE]
 
15686
                   instantiate the configuration header FILE
 
15687
 
 
15688
Configuration files:
 
15689
$config_files
 
15690
 
 
15691
Configuration headers:
 
15692
$config_headers
 
15693
 
 
15694
Configuration commands:
 
15695
$config_commands
 
15696
 
 
15697
Report bugs to the package provider."
 
15698
 
 
15699
_ACEOF
 
15700
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15701
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
15702
ac_cs_version="\\
 
15703
config.status
 
15704
configured by $0, generated by GNU Autoconf 2.68,
 
15705
  with options \\"\$ac_cs_config\\"
 
15706
 
 
15707
Copyright (C) 2010 Free Software Foundation, Inc.
 
15708
This config.status script is free software; the Free Software Foundation
 
15709
gives unlimited permission to copy, distribute and modify it."
 
15710
 
 
15711
ac_pwd='$ac_pwd'
 
15712
srcdir='$srcdir'
 
15713
INSTALL='$INSTALL'
 
15714
MKDIR_P='$MKDIR_P'
 
15715
AWK='$AWK'
 
15716
test -n "\$AWK" || AWK=awk
 
15717
_ACEOF
 
15718
 
 
15719
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15720
# The default lists apply if the user does not specify any file.
 
15721
ac_need_defaults=:
 
15722
while test $# != 0
 
15723
do
 
15724
  case $1 in
 
15725
  --*=?*)
 
15726
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15727
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
15728
    ac_shift=:
 
15729
    ;;
 
15730
  --*=)
 
15731
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15732
    ac_optarg=
 
15733
    ac_shift=:
 
15734
    ;;
 
15735
  *)
 
15736
    ac_option=$1
 
15737
    ac_optarg=$2
 
15738
    ac_shift=shift
 
15739
    ;;
 
15740
  esac
 
15741
 
 
15742
  case $ac_option in
 
15743
  # Handling of the options.
 
15744
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
15745
    ac_cs_recheck=: ;;
 
15746
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
15747
    $as_echo "$ac_cs_version"; exit ;;
 
15748
  --config | --confi | --conf | --con | --co | --c )
 
15749
    $as_echo "$ac_cs_config"; exit ;;
 
15750
  --debug | --debu | --deb | --de | --d | -d )
 
15751
    debug=: ;;
 
15752
  --file | --fil | --fi | --f )
 
15753
    $ac_shift
 
15754
    case $ac_optarg in
 
15755
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15756
    '') as_fn_error $? "missing file argument" ;;
 
15757
    esac
 
15758
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
15759
    ac_need_defaults=false;;
 
15760
  --header | --heade | --head | --hea )
 
15761
    $ac_shift
 
15762
    case $ac_optarg in
 
15763
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15764
    esac
 
15765
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
15766
    ac_need_defaults=false;;
 
15767
  --he | --h)
 
15768
    # Conflict between --help and --header
 
15769
    as_fn_error $? "ambiguous option: \`$1'
 
15770
Try \`$0 --help' for more information.";;
 
15771
  --help | --hel | -h )
 
15772
    $as_echo "$ac_cs_usage"; exit ;;
 
15773
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
15774
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
15775
    ac_cs_silent=: ;;
 
15776
 
 
15777
  # This is an error.
 
15778
  -*) as_fn_error $? "unrecognized option: \`$1'
 
15779
Try \`$0 --help' for more information." ;;
 
15780
 
 
15781
  *) as_fn_append ac_config_targets " $1"
 
15782
     ac_need_defaults=false ;;
 
15783
 
 
15784
  esac
 
15785
  shift
 
15786
done
 
15787
 
 
15788
ac_configure_extra_args=
 
15789
 
 
15790
if $ac_cs_silent; then
 
15791
  exec 6>/dev/null
 
15792
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
15793
fi
 
15794
 
 
15795
_ACEOF
 
15796
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15797
if \$ac_cs_recheck; then
 
15798
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
15799
  shift
 
15800
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
15801
  CONFIG_SHELL='$SHELL'
 
15802
  export CONFIG_SHELL
 
15803
  exec "\$@"
 
15804
fi
 
15805
 
 
15806
_ACEOF
 
15807
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15808
exec 5>>config.log
 
15809
{
 
15810
  echo
 
15811
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
15812
## Running $as_me. ##
 
15813
_ASBOX
 
15814
  $as_echo "$ac_log"
 
15815
} >&5
 
15816
 
 
15817
_ACEOF
 
15818
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15819
#
 
15820
# INIT-COMMANDS
 
15821
#
 
15822
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
15823
 
 
15824
 
 
15825
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
15826
# if CDPATH is set.
 
15827
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15828
 
 
15829
sed_quote_subst='$sed_quote_subst'
 
15830
double_quote_subst='$double_quote_subst'
 
15831
delay_variable_subst='$delay_variable_subst'
 
15832
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15833
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15834
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15835
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15836
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15837
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15838
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15839
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15840
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
15841
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15842
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15843
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15844
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15845
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15846
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15847
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15848
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15849
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15850
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15851
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15852
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15853
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15854
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15855
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15856
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15857
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15858
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15859
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15860
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15861
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15862
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15863
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15864
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15865
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15866
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15867
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15868
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15869
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15870
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15871
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15872
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15873
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15874
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15875
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15876
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15877
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15878
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15879
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15880
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15881
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15882
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15883
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15884
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15885
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15886
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15887
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15888
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"`'
 
15889
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15890
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15891
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15892
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15893
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15894
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15895
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15896
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15897
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15898
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15899
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15900
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15901
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15902
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15903
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15904
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15905
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15906
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15907
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15908
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15909
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15910
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15911
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15912
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15913
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15914
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15915
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15916
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15917
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15918
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15919
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15920
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15921
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15922
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15923
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15924
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15925
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15926
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15927
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15928
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15929
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15930
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15931
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15932
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15933
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15934
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15935
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15936
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15937
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15938
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15939
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15940
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15941
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15942
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15943
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15944
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15945
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15946
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15947
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15948
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15949
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15950
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15951
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15952
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15953
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15954
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15955
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15956
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15957
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15958
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15959
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15960
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15961
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
15962
 
 
15963
LTCC='$LTCC'
 
15964
LTCFLAGS='$LTCFLAGS'
 
15965
compiler='$compiler_DEFAULT'
 
15966
 
 
15967
# A function that is used when there is no print builtin or printf.
 
15968
func_fallback_echo ()
 
15969
{
 
15970
  eval 'cat <<_LTECHO_EOF
 
15971
\$1
 
15972
_LTECHO_EOF'
 
15973
}
 
15974
 
 
15975
# Quote evaled strings.
 
15976
for var in SHELL \
 
15977
ECHO \
 
15978
PATH_SEPARATOR \
 
15979
SED \
 
15980
GREP \
 
15981
EGREP \
 
15982
FGREP \
 
15983
LD \
 
15984
NM \
 
15985
LN_S \
 
15986
lt_SP2NL \
 
15987
lt_NL2SP \
 
15988
reload_flag \
 
15989
OBJDUMP \
 
15990
deplibs_check_method \
 
15991
file_magic_cmd \
 
15992
file_magic_glob \
 
15993
want_nocaseglob \
 
15994
DLLTOOL \
 
15995
sharedlib_from_linklib_cmd \
 
15996
AR \
 
15997
AR_FLAGS \
 
15998
archiver_list_spec \
 
15999
STRIP \
 
16000
RANLIB \
 
16001
CC \
 
16002
CFLAGS \
 
16003
compiler \
 
16004
lt_cv_sys_global_symbol_pipe \
 
16005
lt_cv_sys_global_symbol_to_cdecl \
 
16006
lt_cv_sys_global_symbol_to_c_name_address \
 
16007
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16008
nm_file_list_spec \
 
16009
lt_prog_compiler_no_builtin_flag \
 
16010
lt_prog_compiler_pic \
 
16011
lt_prog_compiler_wl \
 
16012
lt_prog_compiler_static \
 
16013
lt_cv_prog_compiler_c_o \
 
16014
need_locks \
 
16015
MANIFEST_TOOL \
 
16016
DSYMUTIL \
 
16017
NMEDIT \
 
16018
LIPO \
 
16019
OTOOL \
 
16020
OTOOL64 \
 
16021
shrext_cmds \
 
16022
export_dynamic_flag_spec \
 
16023
whole_archive_flag_spec \
 
16024
compiler_needs_object \
 
16025
with_gnu_ld \
 
16026
allow_undefined_flag \
 
16027
no_undefined_flag \
 
16028
hardcode_libdir_flag_spec \
 
16029
hardcode_libdir_separator \
 
16030
exclude_expsyms \
 
16031
include_expsyms \
 
16032
file_list_spec \
 
16033
variables_saved_for_relink \
 
16034
libname_spec \
 
16035
library_names_spec \
 
16036
soname_spec \
 
16037
install_override_mode \
 
16038
finish_eval \
 
16039
old_striplib \
 
16040
striplib; do
 
16041
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16042
    *[\\\\\\\`\\"\\\$]*)
 
16043
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16044
      ;;
 
16045
    *)
 
16046
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16047
      ;;
 
16048
    esac
 
16049
done
 
16050
 
 
16051
# Double-quote double-evaled strings.
 
16052
for var in reload_cmds \
 
16053
old_postinstall_cmds \
 
16054
old_postuninstall_cmds \
 
16055
old_archive_cmds \
 
16056
extract_expsyms_cmds \
 
16057
old_archive_from_new_cmds \
 
16058
old_archive_from_expsyms_cmds \
 
16059
archive_cmds \
 
16060
archive_expsym_cmds \
 
16061
module_cmds \
 
16062
module_expsym_cmds \
 
16063
export_symbols_cmds \
 
16064
prelink_cmds \
 
16065
postlink_cmds \
 
16066
postinstall_cmds \
 
16067
postuninstall_cmds \
 
16068
finish_cmds \
 
16069
sys_lib_search_path_spec \
 
16070
sys_lib_dlsearch_path_spec; do
 
16071
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16072
    *[\\\\\\\`\\"\\\$]*)
 
16073
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16074
      ;;
 
16075
    *)
 
16076
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16077
      ;;
 
16078
    esac
 
16079
done
 
16080
 
 
16081
ac_aux_dir='$ac_aux_dir'
 
16082
xsi_shell='$xsi_shell'
 
16083
lt_shell_append='$lt_shell_append'
 
16084
 
 
16085
# See if we are running on zsh, and set the options which allow our
 
16086
# commands through without removal of \ escapes INIT.
 
16087
if test -n "\${ZSH_VERSION+set}" ; then
 
16088
   setopt NO_GLOB_SUBST
 
16089
fi
 
16090
 
 
16091
 
 
16092
    PACKAGE='$PACKAGE'
 
16093
    VERSION='$VERSION'
 
16094
    TIMESTAMP='$TIMESTAMP'
 
16095
    RM='$RM'
 
16096
    ofile='$ofile'
 
16097
 
 
16098
 
 
16099
 
 
16100
 
 
16101
 
 
16102
_ACEOF
 
16103
 
 
16104
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16105
 
 
16106
# Handling of arguments.
 
16107
for ac_config_target in $ac_config_targets
 
16108
do
 
16109
  case $ac_config_target in
 
16110
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
16111
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
16112
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
16113
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
16114
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
16115
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
16116
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
16117
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
 
16118
    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
 
16119
    "data/icons/16x16/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/actions/Makefile" ;;
 
16120
    "data/icons/16x16/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/status/Makefile" ;;
 
16121
    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
 
16122
    "data/icons/22x22/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/actions/Makefile" ;;
 
16123
    "data/icons/22x22/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/status/Makefile" ;;
 
16124
    "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
 
16125
    "data/icons/24x24/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/actions/Makefile" ;;
 
16126
    "data/icons/24x24/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/status/Makefile" ;;
 
16127
    "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
 
16128
    "data/icons/32x32/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/actions/Makefile" ;;
 
16129
    "data/icons/32x32/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/status/Makefile" ;;
 
16130
    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
 
16131
    "data/icons/scalable/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/actions/Makefile" ;;
 
16132
    "data/icons/scalable/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/status/Makefile" ;;
 
16133
    "data/extra-sessions/Makefile") CONFIG_FILES="$CONFIG_FILES data/extra-sessions/Makefile" ;;
 
16134
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
16135
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
16136
 
 
16137
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16138
  esac
 
16139
done
 
16140
 
 
16141
 
 
16142
# If the user did not use the arguments to specify the items to instantiate,
 
16143
# then the envvar interface is used.  Set only those that are not.
 
16144
# We use the long form for the default assignment because of an extremely
 
16145
# bizarre bug on SunOS 4.1.3.
 
16146
if $ac_need_defaults; then
 
16147
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
16148
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
16149
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
16150
fi
 
16151
 
 
16152
# Have a temporary directory for convenience.  Make it in the build tree
 
16153
# simply because there is no reason against having it here, and in addition,
 
16154
# creating and moving files from /tmp can sometimes cause problems.
 
16155
# Hook for its removal unless debugging.
 
16156
# Note that there is a small window in which the directory will not be cleaned:
 
16157
# after its creation but before its name has been assigned to `$tmp'.
 
16158
$debug ||
 
16159
{
 
16160
  tmp= ac_tmp=
 
16161
  trap 'exit_status=$?
 
16162
  : "${ac_tmp:=$tmp}"
 
16163
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
16164
' 0
 
16165
  trap 'as_fn_exit 1' 1 2 13 15
 
16166
}
 
16167
# Create a (secure) tmp directory for tmp files.
 
16168
 
 
16169
{
 
16170
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
16171
  test -d "$tmp"
 
16172
}  ||
 
16173
{
 
16174
  tmp=./conf$$-$RANDOM
 
16175
  (umask 077 && mkdir "$tmp")
 
16176
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16177
ac_tmp=$tmp
 
16178
 
 
16179
# Set up the scripts for CONFIG_FILES section.
 
16180
# No need to generate them if there are no CONFIG_FILES.
 
16181
# This happens for instance with `./config.status config.h'.
 
16182
if test -n "$CONFIG_FILES"; then
 
16183
 
 
16184
 
 
16185
ac_cr=`echo X | tr X '\015'`
 
16186
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
16187
# But we know of no other shell where ac_cr would be empty at this
 
16188
# point, so we can use a bashism as a fallback.
 
16189
if test "x$ac_cr" = x; then
 
16190
  eval ac_cr=\$\'\\r\'
 
16191
fi
 
16192
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
16193
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
16194
  ac_cs_awk_cr='\\r'
 
16195
else
 
16196
  ac_cs_awk_cr=$ac_cr
 
16197
fi
 
16198
 
 
16199
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
16200
_ACEOF
 
16201
 
 
16202
 
 
16203
{
 
16204
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
16205
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
16206
  echo "_ACEOF"
 
16207
} >conf$$subs.sh ||
 
16208
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16209
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
16210
ac_delim='%!_!# '
 
16211
for ac_last_try in false false false false false :; do
 
16212
  . ./conf$$subs.sh ||
 
16213
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16214
 
 
16215
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
16216
  if test $ac_delim_n = $ac_delim_num; then
 
16217
    break
 
16218
  elif $ac_last_try; then
 
16219
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16220
  else
 
16221
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16222
  fi
 
16223
done
 
16224
rm -f conf$$subs.sh
 
16225
 
 
16226
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16227
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
16228
_ACEOF
 
16229
sed -n '
 
16230
h
 
16231
s/^/S["/; s/!.*/"]=/
 
16232
p
 
16233
g
 
16234
s/^[^!]*!//
 
16235
:repl
 
16236
t repl
 
16237
s/'"$ac_delim"'$//
 
16238
t delim
 
16239
:nl
 
16240
h
 
16241
s/\(.\{148\}\)..*/\1/
 
16242
t more1
 
16243
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
16244
p
 
16245
n
 
16246
b repl
 
16247
:more1
 
16248
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16249
p
 
16250
g
 
16251
s/.\{148\}//
 
16252
t nl
 
16253
:delim
 
16254
h
 
16255
s/\(.\{148\}\)..*/\1/
 
16256
t more2
 
16257
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
16258
p
 
16259
b
 
16260
:more2
 
16261
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16262
p
 
16263
g
 
16264
s/.\{148\}//
 
16265
t delim
 
16266
' <conf$$subs.awk | sed '
 
16267
/^[^""]/{
 
16268
  N
 
16269
  s/\n//
 
16270
}
 
16271
' >>$CONFIG_STATUS || ac_write_fail=1
 
16272
rm -f conf$$subs.awk
 
16273
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16274
_ACAWK
 
16275
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
16276
  for (key in S) S_is_set[key] = 1
 
16277
  FS = ""
 
16278
 
 
16279
}
 
16280
{
 
16281
  line = $ 0
 
16282
  nfields = split(line, field, "@")
 
16283
  substed = 0
 
16284
  len = length(field[1])
 
16285
  for (i = 2; i < nfields; i++) {
 
16286
    key = field[i]
 
16287
    keylen = length(key)
 
16288
    if (S_is_set[key]) {
 
16289
      value = S[key]
 
16290
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
16291
      len += length(value) + length(field[++i])
 
16292
      substed = 1
 
16293
    } else
 
16294
      len += 1 + keylen
 
16295
  }
 
16296
 
 
16297
  print line
 
16298
}
 
16299
 
 
16300
_ACAWK
 
16301
_ACEOF
 
16302
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16303
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
16304
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
16305
else
 
16306
  cat
 
16307
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16308
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
16309
_ACEOF
 
16310
 
 
16311
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16312
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
16313
# trailing colons and then remove the whole line if VPATH becomes empty
 
16314
# (actually we leave an empty line to preserve line numbers).
 
16315
if test "x$srcdir" = x.; then
 
16316
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16317
h
 
16318
s///
 
16319
s/^/:/
 
16320
s/[      ]*$/:/
 
16321
s/:\$(srcdir):/:/g
 
16322
s/:\${srcdir}:/:/g
 
16323
s/:@srcdir@:/:/g
 
16324
s/^:*//
 
16325
s/:*$//
 
16326
x
 
16327
s/\(=[   ]*\).*/\1/
 
16328
G
 
16329
s/\n//
 
16330
s/^[^=]*=[       ]*$//
 
16331
}'
 
16332
fi
 
16333
 
 
16334
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16335
fi # test -n "$CONFIG_FILES"
 
16336
 
 
16337
# Set up the scripts for CONFIG_HEADERS section.
 
16338
# No need to generate them if there are no CONFIG_HEADERS.
 
16339
# This happens for instance with `./config.status Makefile'.
 
16340
if test -n "$CONFIG_HEADERS"; then
 
16341
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
16342
BEGIN {
 
16343
_ACEOF
 
16344
 
 
16345
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
16346
# here-document in config.status, that substitutes the proper values into
 
16347
# config.h.in to produce config.h.
 
16348
 
 
16349
# Create a delimiter string that does not exist in confdefs.h, to ease
 
16350
# handling of long lines.
 
16351
ac_delim='%!_!# '
 
16352
for ac_last_try in false false :; do
 
16353
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16354
  if test -z "$ac_tt"; then
 
16355
    break
 
16356
  elif $ac_last_try; then
 
16357
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16358
  else
 
16359
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16360
  fi
 
16361
done
 
16362
 
 
16363
# For the awk script, D is an array of macro values keyed by name,
 
16364
# likewise P contains macro parameters if any.  Preserve backslash
 
16365
# newline sequences.
 
16366
 
 
16367
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
16368
sed -n '
 
16369
s/.\{148\}/&'"$ac_delim"'/g
 
16370
t rset
 
16371
:rset
 
16372
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
16373
t def
 
16374
d
 
16375
:def
 
16376
s/\\$//
 
16377
t bsnl
 
16378
s/["\\]/\\&/g
 
16379
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16380
D["\1"]=" \3"/p
 
16381
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
16382
d
 
16383
:bsnl
 
16384
s/["\\]/\\&/g
 
16385
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16386
D["\1"]=" \3\\\\\\n"\\/p
 
16387
t cont
 
16388
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
16389
t cont
 
16390
d
 
16391
:cont
 
16392
n
 
16393
s/.\{148\}/&'"$ac_delim"'/g
 
16394
t clear
 
16395
:clear
 
16396
s/\\$//
 
16397
t bsnlc
 
16398
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
16399
d
 
16400
:bsnlc
 
16401
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
16402
b cont
 
16403
' <confdefs.h | sed '
 
16404
s/'"$ac_delim"'/"\\\
 
16405
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
16406
 
 
16407
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16408
  for (key in D) D_is_set[key] = 1
 
16409
  FS = ""
 
16410
}
 
16411
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
16412
  line = \$ 0
 
16413
  split(line, arg, " ")
 
16414
  if (arg[1] == "#") {
 
16415
    defundef = arg[2]
 
16416
    mac1 = arg[3]
 
16417
  } else {
 
16418
    defundef = substr(arg[1], 2)
 
16419
    mac1 = arg[2]
 
16420
  }
 
16421
  split(mac1, mac2, "(") #)
 
16422
  macro = mac2[1]
 
16423
  prefix = substr(line, 1, index(line, defundef) - 1)
 
16424
  if (D_is_set[macro]) {
 
16425
    # Preserve the white space surrounding the "#".
 
16426
    print prefix "define", macro P[macro] D[macro]
 
16427
    next
 
16428
  } else {
 
16429
    # Replace #undef with comments.  This is necessary, for example,
 
16430
    # in the case of _POSIX_SOURCE, which is predefined and required
 
16431
    # on some systems where configure will not decide to define it.
 
16432
    if (defundef == "undef") {
 
16433
      print "/*", prefix defundef, macro, "*/"
 
16434
      next
 
16435
    }
 
16436
  }
 
16437
}
 
16438
{ print }
 
16439
_ACAWK
 
16440
_ACEOF
 
16441
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16442
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
16443
fi # test -n "$CONFIG_HEADERS"
 
16444
 
 
16445
 
 
16446
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
16447
shift
 
16448
for ac_tag
 
16449
do
 
16450
  case $ac_tag in
 
16451
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
16452
  esac
 
16453
  case $ac_mode$ac_tag in
 
16454
  :[FHL]*:*);;
 
16455
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16456
  :[FH]-) ac_tag=-:-;;
 
16457
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
16458
  esac
 
16459
  ac_save_IFS=$IFS
 
16460
  IFS=:
 
16461
  set x $ac_tag
 
16462
  IFS=$ac_save_IFS
 
16463
  shift
 
16464
  ac_file=$1
 
16465
  shift
 
16466
 
 
16467
  case $ac_mode in
 
16468
  :L) ac_source=$1;;
 
16469
  :[FH])
 
16470
    ac_file_inputs=
 
16471
    for ac_f
 
16472
    do
 
16473
      case $ac_f in
 
16474
      -) ac_f="$ac_tmp/stdin";;
 
16475
      *) # Look for the file first in the build tree, then in the source tree
 
16476
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
16477
         # because $ac_f cannot contain `:'.
 
16478
         test -f "$ac_f" ||
 
16479
           case $ac_f in
 
16480
           [\\/$]*) false;;
 
16481
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
16482
           esac ||
 
16483
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16484
      esac
 
16485
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
16486
      as_fn_append ac_file_inputs " '$ac_f'"
 
16487
    done
 
16488
 
 
16489
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
16490
    # use $as_me), people would be surprised to read:
 
16491
    #    /* config.h.  Generated by config.status.  */
 
16492
    configure_input='Generated from '`
 
16493
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
16494
        `' by configure.'
 
16495
    if test x"$ac_file" != x-; then
 
16496
      configure_input="$ac_file.  $configure_input"
 
16497
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
16498
$as_echo "$as_me: creating $ac_file" >&6;}
 
16499
    fi
 
16500
    # Neutralize special characters interpreted by sed in replacement strings.
 
16501
    case $configure_input in #(
 
16502
    *\&* | *\|* | *\\* )
 
16503
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
16504
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
16505
    *) ac_sed_conf_input=$configure_input;;
 
16506
    esac
 
16507
 
 
16508
    case $ac_tag in
 
16509
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16510
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
16511
    esac
 
16512
    ;;
 
16513
  esac
 
16514
 
 
16515
  ac_dir=`$as_dirname -- "$ac_file" ||
 
16516
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16517
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
16518
         X"$ac_file" : 'X\(//\)$' \| \
 
16519
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
16520
$as_echo X"$ac_file" |
 
16521
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16522
            s//\1/
 
16523
            q
 
16524
          }
 
16525
          /^X\(\/\/\)[^/].*/{
 
16526
            s//\1/
 
16527
            q
 
16528
          }
 
16529
          /^X\(\/\/\)$/{
 
16530
            s//\1/
 
16531
            q
 
16532
          }
 
16533
          /^X\(\/\).*/{
 
16534
            s//\1/
 
16535
            q
 
16536
          }
 
16537
          s/.*/./; q'`
 
16538
  as_dir="$ac_dir"; as_fn_mkdir_p
 
16539
  ac_builddir=.
 
16540
 
 
16541
case "$ac_dir" in
 
16542
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16543
*)
 
16544
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
16545
  # A ".." for each directory in $ac_dir_suffix.
 
16546
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
16547
  case $ac_top_builddir_sub in
 
16548
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16549
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
16550
  esac ;;
 
16551
esac
 
16552
ac_abs_top_builddir=$ac_pwd
 
16553
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
16554
# for backward compatibility:
 
16555
ac_top_builddir=$ac_top_build_prefix
 
16556
 
 
16557
case $srcdir in
 
16558
  .)  # We are building in place.
 
16559
    ac_srcdir=.
 
16560
    ac_top_srcdir=$ac_top_builddir_sub
 
16561
    ac_abs_top_srcdir=$ac_pwd ;;
 
16562
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
16563
    ac_srcdir=$srcdir$ac_dir_suffix;
 
16564
    ac_top_srcdir=$srcdir
 
16565
    ac_abs_top_srcdir=$srcdir ;;
 
16566
  *) # Relative name.
 
16567
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
16568
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
16569
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
16570
esac
 
16571
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
16572
 
 
16573
 
 
16574
  case $ac_mode in
 
16575
  :F)
 
16576
  #
 
16577
  # CONFIG_FILE
 
16578
  #
 
16579
 
 
16580
  case $INSTALL in
 
16581
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
16582
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
16583
  esac
 
16584
  ac_MKDIR_P=$MKDIR_P
 
16585
  case $MKDIR_P in
 
16586
  [\\/$]* | ?:[\\/]* ) ;;
 
16587
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
16588
  esac
 
16589
_ACEOF
 
16590
 
 
16591
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16592
# If the template does not know about datarootdir, expand it.
 
16593
# FIXME: This hack should be removed a few years after 2.60.
 
16594
ac_datarootdir_hack=; ac_datarootdir_seen=
 
16595
ac_sed_dataroot='
 
16596
/datarootdir/ {
 
16597
  p
 
16598
  q
 
16599
}
 
16600
/@datadir@/p
 
16601
/@docdir@/p
 
16602
/@infodir@/p
 
16603
/@localedir@/p
 
16604
/@mandir@/p'
 
16605
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
16606
*datarootdir*) ac_datarootdir_seen=yes;;
 
16607
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
16608
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
16609
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
16610
_ACEOF
 
16611
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16612
  ac_datarootdir_hack='
 
16613
  s&@datadir@&$datadir&g
 
16614
  s&@docdir@&$docdir&g
 
16615
  s&@infodir@&$infodir&g
 
16616
  s&@localedir@&$localedir&g
 
16617
  s&@mandir@&$mandir&g
 
16618
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
16619
esac
 
16620
_ACEOF
 
16621
 
 
16622
# Neutralize VPATH when `$srcdir' = `.'.
 
16623
# Shell code in configure.ac might set extrasub.
 
16624
# FIXME: do we really want to maintain this feature?
 
16625
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16626
ac_sed_extra="$ac_vpsub
 
16627
$extrasub
 
16628
_ACEOF
 
16629
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16630
:t
 
16631
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
16632
s|@configure_input@|$ac_sed_conf_input|;t t
 
16633
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
16634
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
16635
s&@srcdir@&$ac_srcdir&;t t
 
16636
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
16637
s&@top_srcdir@&$ac_top_srcdir&;t t
 
16638
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
16639
s&@builddir@&$ac_builddir&;t t
 
16640
s&@abs_builddir@&$ac_abs_builddir&;t t
 
16641
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
16642
s&@INSTALL@&$ac_INSTALL&;t t
 
16643
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
16644
$ac_datarootdir_hack
 
16645
"
 
16646
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16647
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16648
 
 
16649
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
16650
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16651
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16652
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
16653
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16654
which seems to be undefined.  Please make sure it is defined" >&5
 
16655
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16656
which seems to be undefined.  Please make sure it is defined" >&2;}
 
16657
 
 
16658
  rm -f "$ac_tmp/stdin"
 
16659
  case $ac_file in
 
16660
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16661
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
16662
  esac \
 
16663
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16664
 ;;
 
16665
  :H)
 
16666
  #
 
16667
  # CONFIG_HEADER
 
16668
  #
 
16669
  if test x"$ac_file" != x-; then
 
16670
    {
 
16671
      $as_echo "/* $configure_input  */" \
 
16672
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16673
    } >"$ac_tmp/config.h" \
 
16674
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16675
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
16676
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
16677
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
16678
    else
 
16679
      rm -f "$ac_file"
 
16680
      mv "$ac_tmp/config.h" "$ac_file" \
 
16681
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16682
    fi
 
16683
  else
 
16684
    $as_echo "/* $configure_input  */" \
 
16685
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
16686
      || as_fn_error $? "could not create -" "$LINENO" 5
 
16687
  fi
 
16688
# Compute "$ac_file"'s index in $config_headers.
 
16689
_am_arg="$ac_file"
 
16690
_am_stamp_count=1
 
16691
for _am_header in $config_headers :; do
 
16692
  case $_am_header in
 
16693
    $_am_arg | $_am_arg:* )
 
16694
      break ;;
 
16695
    * )
 
16696
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
16697
  esac
 
16698
done
 
16699
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
16700
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16701
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
16702
         X"$_am_arg" : 'X\(//\)$' \| \
 
16703
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
16704
$as_echo X"$_am_arg" |
 
16705
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16706
            s//\1/
 
16707
            q
 
16708
          }
 
16709
          /^X\(\/\/\)[^/].*/{
 
16710
            s//\1/
 
16711
            q
 
16712
          }
 
16713
          /^X\(\/\/\)$/{
 
16714
            s//\1/
 
16715
            q
 
16716
          }
 
16717
          /^X\(\/\).*/{
 
16718
            s//\1/
 
16719
            q
 
16720
          }
 
16721
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
16722
 ;;
 
16723
 
 
16724
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
16725
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
16726
 ;;
 
16727
  esac
 
16728
 
 
16729
 
 
16730
  case $ac_file$ac_mode in
 
16731
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
16732
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
16733
  # are listed without --file.  Let's play safe and only enable the eval
 
16734
  # if we detect the quoting.
 
16735
  case $CONFIG_FILES in
 
16736
  *\'*) eval set x "$CONFIG_FILES" ;;
 
16737
  *)   set x $CONFIG_FILES ;;
 
16738
  esac
 
16739
  shift
 
16740
  for mf
 
16741
  do
 
16742
    # Strip MF so we end up with the name of the file.
 
16743
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
16744
    # Check whether this is an Automake generated Makefile or not.
 
16745
    # We used to match only the files named `Makefile.in', but
 
16746
    # some people rename them; so instead we look at the file content.
 
16747
    # Grep'ing the first line is not enough: some people post-process
 
16748
    # each Makefile.in and add a new line on top of each file to say so.
 
16749
    # Grep'ing the whole file is not good either: AIX grep has a line
 
16750
    # limit of 2048, but all sed's we know have understand at least 4000.
 
16751
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
16752
      dirpart=`$as_dirname -- "$mf" ||
 
16753
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16754
         X"$mf" : 'X\(//\)[^/]' \| \
 
16755
         X"$mf" : 'X\(//\)$' \| \
 
16756
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
16757
$as_echo X"$mf" |
 
16758
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16759
            s//\1/
 
16760
            q
 
16761
          }
 
16762
          /^X\(\/\/\)[^/].*/{
 
16763
            s//\1/
 
16764
            q
 
16765
          }
 
16766
          /^X\(\/\/\)$/{
 
16767
            s//\1/
 
16768
            q
 
16769
          }
 
16770
          /^X\(\/\).*/{
 
16771
            s//\1/
 
16772
            q
 
16773
          }
 
16774
          s/.*/./; q'`
 
16775
    else
 
16776
      continue
 
16777
    fi
 
16778
    # Extract the definition of DEPDIR, am__include, and am__quote
 
16779
    # from the Makefile without running `make'.
 
16780
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
16781
    test -z "$DEPDIR" && continue
 
16782
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
16783
    test -z "am__include" && continue
 
16784
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
16785
    # When using ansi2knr, U may be empty or an underscore; expand it
 
16786
    U=`sed -n 's/^U = //p' < "$mf"`
 
16787
    # Find all dependency output files, they are included files with
 
16788
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
16789
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
16790
    # expansion.
 
16791
    for file in `sed -n "
 
16792
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
16793
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
16794
      # Make sure the directory exists.
 
16795
      test -f "$dirpart/$file" && continue
 
16796
      fdir=`$as_dirname -- "$file" ||
 
16797
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16798
         X"$file" : 'X\(//\)[^/]' \| \
 
16799
         X"$file" : 'X\(//\)$' \| \
 
16800
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
16801
$as_echo X"$file" |
 
16802
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16803
            s//\1/
 
16804
            q
 
16805
          }
 
16806
          /^X\(\/\/\)[^/].*/{
 
16807
            s//\1/
 
16808
            q
 
16809
          }
 
16810
          /^X\(\/\/\)$/{
 
16811
            s//\1/
 
16812
            q
 
16813
          }
 
16814
          /^X\(\/\).*/{
 
16815
            s//\1/
 
16816
            q
 
16817
          }
 
16818
          s/.*/./; q'`
 
16819
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
16820
      # echo "creating $dirpart/$file"
 
16821
      echo '# dummy' > "$dirpart/$file"
 
16822
    done
 
16823
  done
 
16824
}
 
16825
 ;;
 
16826
    "libtool":C)
 
16827
 
 
16828
    # See if we are running on zsh, and set the options which allow our
 
16829
    # commands through without removal of \ escapes.
 
16830
    if test -n "${ZSH_VERSION+set}" ; then
 
16831
      setopt NO_GLOB_SUBST
 
16832
    fi
 
16833
 
 
16834
    cfgfile="${ofile}T"
 
16835
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
16836
    $RM "$cfgfile"
 
16837
 
 
16838
    cat <<_LT_EOF >> "$cfgfile"
 
16839
#! $SHELL
 
16840
 
 
16841
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
16842
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
16843
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16844
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
16845
#
 
16846
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
16847
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
16848
#                 Foundation, Inc.
 
16849
#   Written by Gordon Matzigkeit, 1996
 
16850
#
 
16851
#   This file is part of GNU Libtool.
 
16852
#
 
16853
# GNU Libtool is free software; you can redistribute it and/or
 
16854
# modify it under the terms of the GNU General Public License as
 
16855
# published by the Free Software Foundation; either version 2 of
 
16856
# the License, or (at your option) any later version.
 
16857
#
 
16858
# As a special exception to the GNU General Public License,
 
16859
# if you distribute this file as part of a program or library that
 
16860
# is built using GNU Libtool, you may include this file under the
 
16861
# same distribution terms that you use for the rest of that program.
 
16862
#
 
16863
# GNU Libtool is distributed in the hope that it will be useful,
 
16864
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16865
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16866
# GNU General Public License for more details.
 
16867
#
 
16868
# You should have received a copy of the GNU General Public License
 
16869
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
16870
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
16871
# obtained by writing to the Free Software Foundation, Inc.,
 
16872
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
16873
 
 
16874
 
 
16875
# The names of the tagged configurations supported by this script.
 
16876
available_tags=""
 
16877
 
 
16878
# ### BEGIN LIBTOOL CONFIG
 
16879
 
 
16880
# Which release of libtool.m4 was used?
 
16881
macro_version=$macro_version
 
16882
macro_revision=$macro_revision
 
16883
 
 
16884
# Whether or not to build shared libraries.
 
16885
build_libtool_libs=$enable_shared
 
16886
 
 
16887
# Whether or not to build static libraries.
 
16888
build_old_libs=$enable_static
 
16889
 
 
16890
# What type of objects to build.
 
16891
pic_mode=$pic_mode
 
16892
 
 
16893
# Whether or not to optimize for fast installation.
 
16894
fast_install=$enable_fast_install
 
16895
 
 
16896
# Shell to use when invoking shell scripts.
 
16897
SHELL=$lt_SHELL
 
16898
 
 
16899
# An echo program that protects backslashes.
 
16900
ECHO=$lt_ECHO
 
16901
 
 
16902
# The PATH separator for the build system.
 
16903
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
16904
 
 
16905
# The host system.
 
16906
host_alias=$host_alias
 
16907
host=$host
 
16908
host_os=$host_os
 
16909
 
 
16910
# The build system.
 
16911
build_alias=$build_alias
 
16912
build=$build
 
16913
build_os=$build_os
 
16914
 
 
16915
# A sed program that does not truncate output.
 
16916
SED=$lt_SED
 
16917
 
 
16918
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
16919
Xsed="\$SED -e 1s/^X//"
 
16920
 
 
16921
# A grep program that handles long lines.
 
16922
GREP=$lt_GREP
 
16923
 
 
16924
# An ERE matcher.
 
16925
EGREP=$lt_EGREP
 
16926
 
 
16927
# A literal string matcher.
 
16928
FGREP=$lt_FGREP
 
16929
 
 
16930
# A BSD- or MS-compatible name lister.
 
16931
NM=$lt_NM
 
16932
 
 
16933
# Whether we need soft or hard links.
 
16934
LN_S=$lt_LN_S
 
16935
 
 
16936
# What is the maximum length of a command?
 
16937
max_cmd_len=$max_cmd_len
 
16938
 
 
16939
# Object file suffix (normally "o").
 
16940
objext=$ac_objext
 
16941
 
 
16942
# Executable file suffix (normally "").
 
16943
exeext=$exeext
 
16944
 
 
16945
# whether the shell understands "unset".
 
16946
lt_unset=$lt_unset
 
16947
 
 
16948
# turn spaces into newlines.
 
16949
SP2NL=$lt_lt_SP2NL
 
16950
 
 
16951
# turn newlines into spaces.
 
16952
NL2SP=$lt_lt_NL2SP
 
16953
 
 
16954
# convert \$build file names to \$host format.
 
16955
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16956
 
 
16957
# convert \$build files to toolchain format.
 
16958
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
16959
 
 
16960
# An object symbol dumper.
 
16961
OBJDUMP=$lt_OBJDUMP
 
16962
 
 
16963
# Method to check whether dependent libraries are shared objects.
 
16964
deplibs_check_method=$lt_deplibs_check_method
 
16965
 
 
16966
# Command to use when deplibs_check_method = "file_magic".
 
16967
file_magic_cmd=$lt_file_magic_cmd
 
16968
 
 
16969
# How to find potential files when deplibs_check_method = "file_magic".
 
16970
file_magic_glob=$lt_file_magic_glob
 
16971
 
 
16972
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16973
want_nocaseglob=$lt_want_nocaseglob
 
16974
 
 
16975
# DLL creation program.
 
16976
DLLTOOL=$lt_DLLTOOL
 
16977
 
 
16978
# Command to associate shared and link libraries.
 
16979
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16980
 
 
16981
# The archiver.
 
16982
AR=$lt_AR
 
16983
 
 
16984
# Flags to create an archive.
 
16985
AR_FLAGS=$lt_AR_FLAGS
 
16986
 
 
16987
# How to feed a file listing to the archiver.
 
16988
archiver_list_spec=$lt_archiver_list_spec
 
16989
 
 
16990
# A symbol stripping program.
 
16991
STRIP=$lt_STRIP
 
16992
 
 
16993
# Commands used to install an old-style archive.
 
16994
RANLIB=$lt_RANLIB
 
16995
old_postinstall_cmds=$lt_old_postinstall_cmds
 
16996
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
16997
 
 
16998
# Whether to use a lock for old archive extraction.
 
16999
lock_old_archive_extraction=$lock_old_archive_extraction
 
17000
 
 
17001
# A C compiler.
 
17002
LTCC=$lt_CC
 
17003
 
 
17004
# LTCC compiler flags.
 
17005
LTCFLAGS=$lt_CFLAGS
 
17006
 
 
17007
# Take the output of nm and produce a listing of raw symbols and C names.
 
17008
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17009
 
 
17010
# Transform the output of nm in a proper C declaration.
 
17011
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17012
 
 
17013
# Transform the output of nm in a C name address pair.
 
17014
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17015
 
 
17016
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17017
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17018
 
 
17019
# Specify filename containing input files for \$NM.
 
17020
nm_file_list_spec=$lt_nm_file_list_spec
 
17021
 
 
17022
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
17023
lt_sysroot=$lt_sysroot
 
17024
 
 
17025
# The name of the directory that contains temporary libtool files.
 
17026
objdir=$objdir
 
17027
 
 
17028
# Used to examine libraries when file_magic_cmd begins with "file".
 
17029
MAGIC_CMD=$MAGIC_CMD
 
17030
 
 
17031
# Must we lock files when doing compilation?
 
17032
need_locks=$lt_need_locks
 
17033
 
 
17034
# Manifest tool.
 
17035
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
17036
 
 
17037
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17038
DSYMUTIL=$lt_DSYMUTIL
 
17039
 
 
17040
# Tool to change global to local symbols on Mac OS X.
 
17041
NMEDIT=$lt_NMEDIT
 
17042
 
 
17043
# Tool to manipulate fat objects and archives on Mac OS X.
 
17044
LIPO=$lt_LIPO
 
17045
 
 
17046
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17047
OTOOL=$lt_OTOOL
 
17048
 
 
17049
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17050
OTOOL64=$lt_OTOOL64
 
17051
 
 
17052
# Old archive suffix (normally "a").
 
17053
libext=$libext
 
17054
 
 
17055
# Shared library suffix (normally ".so").
 
17056
shrext_cmds=$lt_shrext_cmds
 
17057
 
 
17058
# The commands to extract the exported symbol list from a shared archive.
 
17059
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17060
 
 
17061
# Variables whose values should be saved in libtool wrapper scripts and
 
17062
# restored at link time.
 
17063
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17064
 
 
17065
# Do we need the "lib" prefix for modules?
 
17066
need_lib_prefix=$need_lib_prefix
 
17067
 
 
17068
# Do we need a version for libraries?
 
17069
need_version=$need_version
 
17070
 
 
17071
# Library versioning type.
 
17072
version_type=$version_type
 
17073
 
 
17074
# Shared library runtime path variable.
 
17075
runpath_var=$runpath_var
 
17076
 
 
17077
# Shared library path variable.
 
17078
shlibpath_var=$shlibpath_var
 
17079
 
 
17080
# Is shlibpath searched before the hard-coded library search path?
 
17081
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17082
 
 
17083
# Format of library name prefix.
 
17084
libname_spec=$lt_libname_spec
 
17085
 
 
17086
# List of archive names.  First name is the real one, the rest are links.
 
17087
# The last name is the one that the linker finds with -lNAME
 
17088
library_names_spec=$lt_library_names_spec
 
17089
 
 
17090
# The coded name of the library, if different from the real name.
 
17091
soname_spec=$lt_soname_spec
 
17092
 
 
17093
# Permission mode override for installation of shared libraries.
 
17094
install_override_mode=$lt_install_override_mode
 
17095
 
 
17096
# Command to use after installation of a shared archive.
 
17097
postinstall_cmds=$lt_postinstall_cmds
 
17098
 
 
17099
# Command to use after uninstallation of a shared archive.
 
17100
postuninstall_cmds=$lt_postuninstall_cmds
 
17101
 
 
17102
# Commands used to finish a libtool library installation in a directory.
 
17103
finish_cmds=$lt_finish_cmds
 
17104
 
 
17105
# As "finish_cmds", except a single script fragment to be evaled but
 
17106
# not shown.
 
17107
finish_eval=$lt_finish_eval
 
17108
 
 
17109
# Whether we should hardcode library paths into libraries.
 
17110
hardcode_into_libs=$hardcode_into_libs
 
17111
 
 
17112
# Compile-time system search path for libraries.
 
17113
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17114
 
 
17115
# Run-time system search path for libraries.
 
17116
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17117
 
 
17118
# Whether dlopen is supported.
 
17119
dlopen_support=$enable_dlopen
 
17120
 
 
17121
# Whether dlopen of programs is supported.
 
17122
dlopen_self=$enable_dlopen_self
 
17123
 
 
17124
# Whether dlopen of statically linked programs is supported.
 
17125
dlopen_self_static=$enable_dlopen_self_static
 
17126
 
 
17127
# Commands to strip libraries.
 
17128
old_striplib=$lt_old_striplib
 
17129
striplib=$lt_striplib
 
17130
 
 
17131
 
 
17132
# The linker used to build libraries.
 
17133
LD=$lt_LD
 
17134
 
 
17135
# How to create reloadable object files.
 
17136
reload_flag=$lt_reload_flag
 
17137
reload_cmds=$lt_reload_cmds
 
17138
 
 
17139
# Commands used to build an old-style archive.
 
17140
old_archive_cmds=$lt_old_archive_cmds
 
17141
 
 
17142
# A language specific compiler.
 
17143
CC=$lt_compiler
 
17144
 
 
17145
# Is the compiler the GNU compiler?
 
17146
with_gcc=$GCC
 
17147
 
 
17148
# Compiler flag to turn off builtin functions.
 
17149
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
17150
 
 
17151
# Additional compiler flags for building library objects.
 
17152
pic_flag=$lt_lt_prog_compiler_pic
 
17153
 
 
17154
# How to pass a linker flag through the compiler.
 
17155
wl=$lt_lt_prog_compiler_wl
 
17156
 
 
17157
# Compiler flag to prevent dynamic linking.
 
17158
link_static_flag=$lt_lt_prog_compiler_static
 
17159
 
 
17160
# Does compiler simultaneously support -c and -o options?
 
17161
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
17162
 
 
17163
# Whether or not to add -lc for building shared libraries.
 
17164
build_libtool_need_lc=$archive_cmds_need_lc
 
17165
 
 
17166
# Whether or not to disallow shared libs when runtime libs are static.
 
17167
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
17168
 
 
17169
# Compiler flag to allow reflexive dlopens.
 
17170
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
17171
 
 
17172
# Compiler flag to generate shared objects directly from archives.
 
17173
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
17174
 
 
17175
# Whether the compiler copes with passing no objects directly.
 
17176
compiler_needs_object=$lt_compiler_needs_object
 
17177
 
 
17178
# Create an old-style archive from a shared archive.
 
17179
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
17180
 
 
17181
# Create a temporary old-style archive to link instead of a shared archive.
 
17182
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
17183
 
 
17184
# Commands used to build a shared archive.
 
17185
archive_cmds=$lt_archive_cmds
 
17186
archive_expsym_cmds=$lt_archive_expsym_cmds
 
17187
 
 
17188
# Commands used to build a loadable module if different from building
 
17189
# a shared archive.
 
17190
module_cmds=$lt_module_cmds
 
17191
module_expsym_cmds=$lt_module_expsym_cmds
 
17192
 
 
17193
# Whether we are building with GNU ld or not.
 
17194
with_gnu_ld=$lt_with_gnu_ld
 
17195
 
 
17196
# Flag that allows shared libraries with undefined symbols to be built.
 
17197
allow_undefined_flag=$lt_allow_undefined_flag
 
17198
 
 
17199
# Flag that enforces no undefined symbols.
 
17200
no_undefined_flag=$lt_no_undefined_flag
 
17201
 
 
17202
# Flag to hardcode \$libdir into a binary during linking.
 
17203
# This must work even if \$libdir does not exist
 
17204
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
17205
 
 
17206
# Whether we need a single "-rpath" flag with a separated argument.
 
17207
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
17208
 
 
17209
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17210
# DIR into the resulting binary.
 
17211
hardcode_direct=$hardcode_direct
 
17212
 
 
17213
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17214
# DIR into the resulting binary and the resulting library dependency is
 
17215
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17216
# library is relocated.
 
17217
hardcode_direct_absolute=$hardcode_direct_absolute
 
17218
 
 
17219
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17220
# into the resulting binary.
 
17221
hardcode_minus_L=$hardcode_minus_L
 
17222
 
 
17223
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17224
# into the resulting binary.
 
17225
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
17226
 
 
17227
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17228
# into the library and all subsequent libraries and executables linked
 
17229
# against it.
 
17230
hardcode_automatic=$hardcode_automatic
 
17231
 
 
17232
# Set to yes if linker adds runtime paths of dependent libraries
 
17233
# to runtime path list.
 
17234
inherit_rpath=$inherit_rpath
 
17235
 
 
17236
# Whether libtool must link a program against all its dependency libraries.
 
17237
link_all_deplibs=$link_all_deplibs
 
17238
 
 
17239
# Set to "yes" if exported symbols are required.
 
17240
always_export_symbols=$always_export_symbols
 
17241
 
 
17242
# The commands to list exported symbols.
 
17243
export_symbols_cmds=$lt_export_symbols_cmds
 
17244
 
 
17245
# Symbols that should not be listed in the preloaded symbols.
 
17246
exclude_expsyms=$lt_exclude_expsyms
 
17247
 
 
17248
# Symbols that must always be exported.
 
17249
include_expsyms=$lt_include_expsyms
 
17250
 
 
17251
# Commands necessary for linking programs (against libraries) with templates.
 
17252
prelink_cmds=$lt_prelink_cmds
 
17253
 
 
17254
# Commands necessary for finishing linking programs.
 
17255
postlink_cmds=$lt_postlink_cmds
 
17256
 
 
17257
# Specify filename containing input files.
 
17258
file_list_spec=$lt_file_list_spec
 
17259
 
 
17260
# How to hardcode a shared library path into an executable.
 
17261
hardcode_action=$hardcode_action
 
17262
 
 
17263
# ### END LIBTOOL CONFIG
 
17264
 
 
17265
_LT_EOF
 
17266
 
 
17267
  case $host_os in
 
17268
  aix3*)
 
17269
    cat <<\_LT_EOF >> "$cfgfile"
 
17270
# AIX sometimes has problems with the GCC collect2 program.  For some
 
17271
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17272
# vanish in a puff of smoke.
 
17273
if test "X${COLLECT_NAMES+set}" != Xset; then
 
17274
  COLLECT_NAMES=
 
17275
  export COLLECT_NAMES
 
17276
fi
 
17277
_LT_EOF
 
17278
    ;;
 
17279
  esac
 
17280
 
 
17281
 
 
17282
ltmain="$ac_aux_dir/ltmain.sh"
 
17283
 
 
17284
 
 
17285
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17286
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17287
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17288
  # is reportedly fixed, but why not run on old versions too?
 
17289
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17290
     || (rm -f "$cfgfile"; exit 1)
 
17291
 
 
17292
  if test x"$xsi_shell" = xyes; then
 
17293
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17294
func_dirname ()\
 
17295
{\
 
17296
\    case ${1} in\
 
17297
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17298
\      *  ) func_dirname_result="${3}" ;;\
 
17299
\    esac\
 
17300
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17301
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17302
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17303
test 0 -eq $? || _lt_function_replace_fail=:
 
17304
 
 
17305
 
 
17306
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17307
func_basename ()\
 
17308
{\
 
17309
\    func_basename_result="${1##*/}"\
 
17310
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17311
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17312
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17313
test 0 -eq $? || _lt_function_replace_fail=:
 
17314
 
 
17315
 
 
17316
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17317
func_dirname_and_basename ()\
 
17318
{\
 
17319
\    case ${1} in\
 
17320
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17321
\      *  ) func_dirname_result="${3}" ;;\
 
17322
\    esac\
 
17323
\    func_basename_result="${1##*/}"\
 
17324
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17325
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17326
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17327
test 0 -eq $? || _lt_function_replace_fail=:
 
17328
 
 
17329
 
 
17330
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17331
func_stripname ()\
 
17332
{\
 
17333
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17334
\    # positional parameters, so assign one to ordinary parameter first.\
 
17335
\    func_stripname_result=${3}\
 
17336
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17337
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17338
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17339
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17340
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17341
test 0 -eq $? || _lt_function_replace_fail=:
 
17342
 
 
17343
 
 
17344
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17345
func_split_long_opt ()\
 
17346
{\
 
17347
\    func_split_long_opt_name=${1%%=*}\
 
17348
\    func_split_long_opt_arg=${1#*=}\
 
17349
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17350
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17351
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17352
test 0 -eq $? || _lt_function_replace_fail=:
 
17353
 
 
17354
 
 
17355
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17356
func_split_short_opt ()\
 
17357
{\
 
17358
\    func_split_short_opt_arg=${1#??}\
 
17359
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17360
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17361
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17362
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17363
test 0 -eq $? || _lt_function_replace_fail=:
 
17364
 
 
17365
 
 
17366
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17367
func_lo2o ()\
 
17368
{\
 
17369
\    case ${1} in\
 
17370
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17371
\      *)    func_lo2o_result=${1} ;;\
 
17372
\    esac\
 
17373
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17374
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17375
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17376
test 0 -eq $? || _lt_function_replace_fail=:
 
17377
 
 
17378
 
 
17379
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17380
func_xform ()\
 
17381
{\
 
17382
    func_xform_result=${1%.*}.lo\
 
17383
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17384
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17385
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17386
test 0 -eq $? || _lt_function_replace_fail=:
 
17387
 
 
17388
 
 
17389
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17390
func_arith ()\
 
17391
{\
 
17392
    func_arith_result=$(( $* ))\
 
17393
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17394
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17395
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17396
test 0 -eq $? || _lt_function_replace_fail=:
 
17397
 
 
17398
 
 
17399
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17400
func_len ()\
 
17401
{\
 
17402
    func_len_result=${#1}\
 
17403
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17404
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17405
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17406
test 0 -eq $? || _lt_function_replace_fail=:
 
17407
 
 
17408
fi
 
17409
 
 
17410
if test x"$lt_shell_append" = xyes; then
 
17411
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17412
func_append ()\
 
17413
{\
 
17414
    eval "${1}+=\\${2}"\
 
17415
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17416
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17417
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17418
test 0 -eq $? || _lt_function_replace_fail=:
 
17419
 
 
17420
 
 
17421
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17422
func_append_quoted ()\
 
17423
{\
 
17424
\    func_quote_for_eval "${2}"\
 
17425
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17426
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17427
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17428
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17429
test 0 -eq $? || _lt_function_replace_fail=:
 
17430
 
 
17431
 
 
17432
  # Save a `func_append' function call where possible by direct use of '+='
 
17433
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17434
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17435
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17436
  test 0 -eq $? || _lt_function_replace_fail=:
 
17437
else
 
17438
  # Save a `func_append' function call even when '+=' is not available
 
17439
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17440
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17441
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17442
  test 0 -eq $? || _lt_function_replace_fail=:
 
17443
fi
 
17444
 
 
17445
if test x"$_lt_function_replace_fail" = x":"; then
 
17446
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17447
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17448
fi
 
17449
 
 
17450
 
 
17451
   mv -f "$cfgfile" "$ofile" ||
 
17452
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17453
  chmod +x "$ofile"
 
17454
 
 
17455
 ;;
 
17456
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
17457
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
17458
      esac ;;
 
17459
    "po/stamp-it":C)
 
17460
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
17461
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
17462
    fi
 
17463
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
17464
    >"po/stamp-it.tmp"
 
17465
    sed '/^#/d
 
17466
         s/^[[].*] *//
 
17467
         /^[    ]*$/d
 
17468
        '"s|^|  $ac_top_srcdir/|" \
 
17469
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
17470
 
 
17471
    sed '/^POTFILES =/,/[^\\]$/ {
 
17472
                /^POTFILES =/!d
 
17473
                r po/POTFILES
 
17474
          }
 
17475
         ' "po/Makefile.in" >"po/Makefile"
 
17476
    rm -f "po/Makefile.tmp"
 
17477
    mv "po/stamp-it.tmp" "po/stamp-it"
 
17478
   ;;
 
17479
 
 
17480
  esac
 
17481
done # for ac_tag
 
17482
 
 
17483
 
 
17484
as_fn_exit 0
 
17485
_ACEOF
 
17486
ac_clean_files=$ac_clean_files_save
 
17487
 
 
17488
test $ac_write_fail = 0 ||
 
17489
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17490
 
 
17491
 
 
17492
# configure is writing to config.log, and then calls config.status.
 
17493
# config.status does its own redirection, appending to config.log.
 
17494
# Unfortunately, on DOS this fails, as config.log is still kept open
 
17495
# by configure, so config.status won't be able to write to it; its
 
17496
# output is simply discarded.  So we exec the FD to /dev/null,
 
17497
# effectively closing config.log, so it can be properly (re)opened and
 
17498
# appended to by config.status.  When coming back to configure, we
 
17499
# need to make the FD available again.
 
17500
if test "$no_create" != yes; then
 
17501
  ac_cs_success=:
 
17502
  ac_config_status_args=
 
17503
  test "$silent" = yes &&
 
17504
    ac_config_status_args="$ac_config_status_args --quiet"
 
17505
  exec 5>/dev/null
 
17506
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
17507
  exec 5>>config.log
 
17508
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
17509
  # would make configure fail if this is the last instruction.
 
17510
  $ac_cs_success || as_fn_exit 1
 
17511
fi
 
17512
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
17513
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
17514
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
17515
fi
 
17516
 
 
17517
 
 
17518
###########################
 
17519
# Results
 
17520
###########################
 
17521
 
 
17522
{ $as_echo "$as_me:${as_lineno-$LINENO}:
 
17523
 
 
17524
SUS Indicator Configuration:
 
17525
 
 
17526
        Prefix:             $prefix
 
17527
        Indicator Dir:      $INDICATORDIR
 
17528
        Indicator GTK:      $with_gtk
 
17529
        Logout Helper:      $have_gtklogouthelper
 
17530
        APT support:        $enable_apt
 
17531
        Coverage reporting: $use_gcov
 
17532
" >&5
 
17533
$as_echo "$as_me:
 
17534
 
 
17535
SUS Indicator Configuration:
 
17536
 
 
17537
        Prefix:             $prefix
 
17538
        Indicator Dir:      $INDICATORDIR
 
17539
        Indicator GTK:      $with_gtk
 
17540
        Logout Helper:      $have_gtklogouthelper
 
17541
        APT support:        $enable_apt
 
17542
        Coverage reporting: $use_gcov
 
17543
" >&6;}