~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-08-26 21:07:39 UTC
  • Revision ID: james.westby@ubuntu.com-20090826210739-gyjuuqezrzuluao4
Tags: upstream-2.0.8.1
ImportĀ upstreamĀ versionĀ 2.0.8.1

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.64 for cairo-dock-plugins 2.0.8.
 
4
#
 
5
# Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# Foundation, Inc.
 
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
case $0 in #((
 
93
  *[\\/]* ) as_myself=$0 ;;
 
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
95
for as_dir in $PATH
 
96
do
 
97
  IFS=$as_save_IFS
 
98
  test -z "$as_dir" && as_dir=.
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
 
101
IFS=$as_save_IFS
 
102
 
 
103
     ;;
 
104
esac
 
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
106
# in which case we are not to be found in the path.
 
107
if test "x$as_myself" = x; then
 
108
  as_myself=$0
 
109
fi
 
110
if test ! -f "$as_myself"; then
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
 
113
fi
 
114
 
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
122
done
 
123
PS1='$ '
 
124
PS2='> '
 
125
PS4='+ '
 
126
 
 
127
# NLS nuisances.
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
 
132
 
 
133
# CDPATH.
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
135
 
 
136
if test "x$CONFIG_SHELL" = x; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
 
176
  as_have_required=yes
 
177
else
 
178
  as_have_required=no
 
179
fi
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
 
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
186
do
 
187
  IFS=$as_save_IFS
 
188
  test -z "$as_dir" && as_dir=.
 
189
  as_found=:
 
190
  case $as_dir in #(
 
191
         /*)
 
192
           for as_base in sh bash ksh sh5; do
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
 
202
           done;;
 
203
       esac
 
204
  as_found=false
 
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
 
210
IFS=$as_save_IFS
 
211
 
 
212
 
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
220
        export CONFIG_SHELL
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
222
fi
 
223
 
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
230
  else
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org and Fabrice Rey
 
232
$0: (fabounet@users.berlios.de) about your system,
 
233
$0: including any error possibly output before this
 
234
$0: message. Then install a modern shell, or manually run
 
235
$0: the script under such a shell if you do have one."
 
236
  fi
 
237
  exit 1
 
238
fi
 
239
fi
 
240
fi
 
241
SHELL=${CONFIG_SHELL-/bin/sh}
 
242
export SHELL
 
243
# Unset more variables known to interfere with behavior of common tools.
 
244
CLICOLOR_FORCE= GREP_OPTIONS=
 
245
unset CLICOLOR_FORCE GREP_OPTIONS
 
246
 
 
247
## --------------------- ##
 
248
## M4sh Shell Functions. ##
 
249
## --------------------- ##
 
250
# as_fn_unset VAR
 
251
# ---------------
 
252
# Portably unset VAR.
 
253
as_fn_unset ()
 
254
{
 
255
  { eval $1=; unset $1;}
 
256
}
 
257
as_unset=as_fn_unset
 
258
 
 
259
# as_fn_set_status STATUS
 
260
# -----------------------
 
261
# Set $? to STATUS, without forking.
 
262
as_fn_set_status ()
 
263
{
 
264
  return $1
 
265
} # as_fn_set_status
 
266
 
 
267
# as_fn_exit STATUS
 
268
# -----------------
 
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
270
as_fn_exit ()
 
271
{
 
272
  set +e
 
273
  as_fn_set_status $1
 
274
  exit $1
 
275
} # as_fn_exit
 
276
 
 
277
# as_fn_mkdir_p
 
278
# -------------
 
279
# Create "$as_dir" as a directory, including parents if necessary.
 
280
as_fn_mkdir_p ()
 
281
{
 
282
 
 
283
  case $as_dir in #(
 
284
  -*) as_dir=./$as_dir;;
 
285
  esac
 
286
  test -d "$as_dir" || eval $as_mkdir_p || {
 
287
    as_dirs=
 
288
    while :; do
 
289
      case $as_dir in #(
 
290
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
291
      *) as_qdir=$as_dir;;
 
292
      esac
 
293
      as_dirs="'$as_qdir' $as_dirs"
 
294
      as_dir=`$as_dirname -- "$as_dir" ||
 
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
296
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
297
         X"$as_dir" : 'X\(//\)$' \| \
 
298
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
299
$as_echo X"$as_dir" |
 
300
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
301
            s//\1/
 
302
            q
 
303
          }
 
304
          /^X\(\/\/\)[^/].*/{
 
305
            s//\1/
 
306
            q
 
307
          }
 
308
          /^X\(\/\/\)$/{
 
309
            s//\1/
 
310
            q
 
311
          }
 
312
          /^X\(\/\).*/{
 
313
            s//\1/
 
314
            q
 
315
          }
 
316
          s/.*/./; q'`
 
317
      test -d "$as_dir" && break
 
318
    done
 
319
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
320
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
321
 
 
322
 
 
323
} # as_fn_mkdir_p
 
324
# as_fn_append VAR VALUE
 
325
# ----------------------
 
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
327
# advantage of any shell optimizations that allow amortized linear growth over
 
328
# repeated appends, instead of the typical quadratic growth present in naive
 
329
# implementations.
 
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
331
  eval 'as_fn_append ()
 
332
  {
 
333
    eval $1+=\$2
 
334
  }'
 
335
else
 
336
  as_fn_append ()
 
337
  {
 
338
    eval $1=\$$1\$2
 
339
  }
 
340
fi # as_fn_append
 
341
 
 
342
# as_fn_arith ARG...
 
343
# ------------------
 
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
346
# must be portable across $(()) and expr.
 
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
348
  eval 'as_fn_arith ()
 
349
  {
 
350
    as_val=$(( $* ))
 
351
  }'
 
352
else
 
353
  as_fn_arith ()
 
354
  {
 
355
    as_val=`expr "$@" || test $? -eq 1`
 
356
  }
 
357
fi # as_fn_arith
 
358
 
 
359
 
 
360
# as_fn_error ERROR [LINENO LOG_FD]
 
361
# ---------------------------------
 
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
364
# script with status $?, using 1 if that was 0.
 
365
as_fn_error ()
 
366
{
 
367
  as_status=$?; test $as_status -eq 0 && as_status=1
 
368
  if test "$3"; then
 
369
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
370
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
371
  fi
 
372
  $as_echo "$as_me: error: $1" >&2
 
373
  as_fn_exit $as_status
 
374
} # as_fn_error
 
375
 
 
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
377
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
378
  as_expr=expr
 
379
else
 
380
  as_expr=false
 
381
fi
 
382
 
 
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
384
  as_basename=basename
 
385
else
 
386
  as_basename=false
 
387
fi
 
388
 
 
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
390
  as_dirname=dirname
 
391
else
 
392
  as_dirname=false
 
393
fi
 
394
 
 
395
as_me=`$as_basename -- "$0" ||
 
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
397
         X"$0" : 'X\(//\)$' \| \
 
398
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
399
$as_echo X/"$0" |
 
400
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
401
            s//\1/
 
402
            q
 
403
          }
 
404
          /^X\/\(\/\/\)$/{
 
405
            s//\1/
 
406
            q
 
407
          }
 
408
          /^X\/\(\/\).*/{
 
409
            s//\1/
 
410
            q
 
411
          }
 
412
          s/.*/./; q'`
 
413
 
 
414
# Avoid depending upon Character Ranges.
 
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
418
as_cr_digits='0123456789'
 
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
420
 
 
421
 
 
422
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
423
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
424
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
425
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
426
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
427
  sed -n '
 
428
    p
 
429
    /[$]LINENO/=
 
430
  ' <$as_myself |
 
431
    sed '
 
432
      s/[$]LINENO.*/&-/
 
433
      t lineno
 
434
      b
 
435
      :lineno
 
436
      N
 
437
      :loop
 
438
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
439
      t loop
 
440
      s/-\n.*//
 
441
    ' >$as_me.lineno &&
 
442
  chmod +x "$as_me.lineno" ||
 
443
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
444
 
 
445
  # Don't try to exec as it changes $[0], causing all sort of problems
 
446
  # (the dirname of $[0] is not the place where we might find the
 
447
  # original and so on.  Autoconf is especially sensitive to this).
 
448
  . "./$as_me.lineno"
 
449
  # Exit status is that of the last command.
 
450
  exit
 
451
}
 
452
 
 
453
ECHO_C= ECHO_N= ECHO_T=
 
454
case `echo -n x` in #(((((
 
455
-n*)
 
456
  case `echo 'xy\c'` in
 
457
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
458
  xy)  ECHO_C='\c';;
 
459
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
460
       ECHO_T=' ';;
 
461
  esac;;
 
462
*)
 
463
  ECHO_N='-n';;
 
464
esac
 
465
 
 
466
rm -f conf$$ conf$$.exe conf$$.file
 
467
if test -d conf$$.dir; then
 
468
  rm -f conf$$.dir/conf$$.file
 
469
else
 
470
  rm -f conf$$.dir
 
471
  mkdir conf$$.dir 2>/dev/null
 
472
fi
 
473
if (echo >conf$$.file) 2>/dev/null; then
 
474
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
475
    as_ln_s='ln -s'
 
476
    # ... but there are two gotchas:
 
477
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
478
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
479
    # In both cases, we have to default to `cp -p'.
 
480
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
481
      as_ln_s='cp -p'
 
482
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
483
    as_ln_s=ln
 
484
  else
 
485
    as_ln_s='cp -p'
 
486
  fi
 
487
else
 
488
  as_ln_s='cp -p'
 
489
fi
 
490
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
491
rmdir conf$$.dir 2>/dev/null
 
492
 
 
493
if mkdir -p . 2>/dev/null; then
 
494
  as_mkdir_p='mkdir -p "$as_dir"'
 
495
else
 
496
  test -d ./-p && rmdir ./-p
 
497
  as_mkdir_p=false
 
498
fi
 
499
 
 
500
if test -x / >/dev/null 2>&1; then
 
501
  as_test_x='test -x'
 
502
else
 
503
  if ls -dL / >/dev/null 2>&1; then
 
504
    as_ls_L_option=L
 
505
  else
 
506
    as_ls_L_option=
 
507
  fi
 
508
  as_test_x='
 
509
    eval sh -c '\''
 
510
      if test -d "$1"; then
 
511
        test -d "$1/.";
 
512
      else
 
513
        case $1 in #(
 
514
        -*)set "./$1";;
 
515
        esac;
 
516
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
517
        ???[sx]*):;;*)false;;esac;fi
 
518
    '\'' sh
 
519
  '
 
520
fi
 
521
as_executable_p=$as_test_x
 
522
 
 
523
# Sed expression to map a string onto a valid CPP name.
 
524
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
525
 
 
526
# Sed expression to map a string onto a valid variable name.
 
527
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
528
 
 
529
 
 
530
 
 
531
# Check that we are running under the correct shell.
 
532
SHELL=${CONFIG_SHELL-/bin/sh}
 
533
 
 
534
case X$lt_ECHO in
 
535
X*--fallback-echo)
 
536
  # Remove one level of quotation (which was required for Make).
 
537
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
538
  ;;
 
539
esac
 
540
 
 
541
ECHO=${lt_ECHO-echo}
 
542
if test "X$1" = X--no-reexec; then
 
543
  # Discard the --no-reexec flag, and continue.
 
544
  shift
 
545
elif test "X$1" = X--fallback-echo; then
 
546
  # Avoid inline document here, it may be left over
 
547
  :
 
548
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
549
  # Yippee, $ECHO works!
 
550
  :
 
551
else
 
552
  # Restart under the correct shell.
 
553
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
554
fi
 
555
 
 
556
if test "X$1" = X--fallback-echo; then
 
557
  # used as fallback echo
 
558
  shift
 
559
  cat <<_LT_EOF
 
560
$*
 
561
_LT_EOF
 
562
  exit 0
 
563
fi
 
564
 
 
565
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
566
# if CDPATH is set.
 
567
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
568
 
 
569
if test -z "$lt_ECHO"; then
 
570
  if test "X${echo_test_string+set}" != Xset; then
 
571
    # find a string as large as possible, as long as the shell can cope with it
 
572
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
573
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
574
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
575
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
576
      then
 
577
        break
 
578
      fi
 
579
    done
 
580
  fi
 
581
 
 
582
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
583
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
584
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
585
    :
 
586
  else
 
587
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
588
    # backslashes.  This makes it impossible to quote backslashes using
 
589
    #   echo "$something" | sed 's/\\/\\\\/g'
 
590
    #
 
591
    # So, first we look for a working echo in the user's PATH.
 
592
 
 
593
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
594
    for dir in $PATH /usr/ucb; do
 
595
      IFS="$lt_save_ifs"
 
596
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
597
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
598
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
599
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
600
        ECHO="$dir/echo"
 
601
        break
 
602
      fi
 
603
    done
 
604
    IFS="$lt_save_ifs"
 
605
 
 
606
    if test "X$ECHO" = Xecho; then
 
607
      # We didn't find a better echo, so look for alternatives.
 
608
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
609
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
610
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
611
        # This shell has a builtin print -r that does the trick.
 
612
        ECHO='print -r'
 
613
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
614
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
615
        # If we have ksh, try running configure again with it.
 
616
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
617
        export ORIGINAL_CONFIG_SHELL
 
618
        CONFIG_SHELL=/bin/ksh
 
619
        export CONFIG_SHELL
 
620
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
621
      else
 
622
        # Try using printf.
 
623
        ECHO='printf %s\n'
 
624
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
625
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
626
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
627
          # Cool, printf works
 
628
          :
 
629
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
630
             test "X$echo_testing_string" = 'X\t' &&
 
631
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
632
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
633
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
634
          export CONFIG_SHELL
 
635
          SHELL="$CONFIG_SHELL"
 
636
          export SHELL
 
637
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
638
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
639
             test "X$echo_testing_string" = 'X\t' &&
 
640
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
641
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
642
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
643
        else
 
644
          # maybe with a smaller string...
 
645
          prev=:
 
646
 
 
647
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
648
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
649
            then
 
650
              break
 
651
            fi
 
652
            prev="$cmd"
 
653
          done
 
654
 
 
655
          if test "$prev" != 'sed 50q "$0"'; then
 
656
            echo_test_string=`eval $prev`
 
657
            export echo_test_string
 
658
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
659
          else
 
660
            # Oops.  We lost completely, so just stick with echo.
 
661
            ECHO=echo
 
662
          fi
 
663
        fi
 
664
      fi
 
665
    fi
 
666
  fi
 
667
fi
 
668
 
 
669
# Copy echo and quote the copy suitably for passing to libtool from
 
670
# the Makefile, instead of quoting the original, which is used later.
 
671
lt_ECHO=$ECHO
 
672
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
673
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
674
fi
 
675
 
 
676
 
 
677
 
 
678
 
 
679
exec 7<&0 </dev/null 6>&1
 
680
 
 
681
# Name of the host.
 
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
683
# so uname gets run too.
 
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
685
 
 
686
#
 
687
# Initializations.
 
688
#
 
689
ac_default_prefix=/usr/local
 
690
ac_clean_files=
 
691
ac_config_libobj_dir=.
 
692
LIBOBJS=
 
693
cross_compiling=no
 
694
subdirs=
 
695
MFLAGS=
 
696
MAKEFLAGS=
 
697
 
 
698
# Identity of this package.
 
699
PACKAGE_NAME='cairo-dock-plugins'
 
700
PACKAGE_TARNAME='cairo-dock-plugins'
 
701
PACKAGE_VERSION='2.0.8'
 
702
PACKAGE_STRING='cairo-dock-plugins 2.0.8'
 
703
PACKAGE_BUGREPORT='Fabrice Rey (fabounet@users.berlios.de)'
 
704
PACKAGE_URL=''
 
705
 
 
706
ac_unique_file="config.h.in"
 
707
# Factoring default headers for most tests.
 
708
ac_includes_default="\
 
709
#include <stdio.h>
 
710
#ifdef HAVE_SYS_TYPES_H
 
711
# include <sys/types.h>
 
712
#endif
 
713
#ifdef HAVE_SYS_STAT_H
 
714
# include <sys/stat.h>
 
715
#endif
 
716
#ifdef STDC_HEADERS
 
717
# include <stdlib.h>
 
718
# include <stddef.h>
 
719
#else
 
720
# ifdef HAVE_STDLIB_H
 
721
#  include <stdlib.h>
 
722
# endif
 
723
#endif
 
724
#ifdef HAVE_STRING_H
 
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
726
#  include <memory.h>
 
727
# endif
 
728
# include <string.h>
 
729
#endif
 
730
#ifdef HAVE_STRINGS_H
 
731
# include <strings.h>
 
732
#endif
 
733
#ifdef HAVE_INTTYPES_H
 
734
# include <inttypes.h>
 
735
#endif
 
736
#ifdef HAVE_STDINT_H
 
737
# include <stdint.h>
 
738
#endif
 
739
#ifdef HAVE_UNISTD_H
 
740
# include <unistd.h>
 
741
#endif"
 
742
 
 
743
ac_subst_vars='LTLIBOBJS
 
744
LIBOBJS
 
745
webletsdatadir
 
746
PACKAGE_WEBLETS
 
747
VERSION_WEBLETS
 
748
GETTEXT_WEBLETS
 
749
xmmsdatadir
 
750
PACKAGE_XMMS
 
751
VERSION_XMMS
 
752
GETTEXT_XMMS
 
753
xgammadatadir
 
754
PACKAGE_XGAMMA
 
755
VERSION_XGAMMA
 
756
GETTEXT_XGAMMA
 
757
xfce_integrationdatadir
 
758
PACKAGE_XFCE_INTEGRATION
 
759
VERSION_XFCE_INTEGRATION
 
760
wifidatadir
 
761
PACKAGE_WIFI
 
762
VERSION_WIFI
 
763
GETTEXT_WIFI
 
764
weatheruserdirname
 
765
weatherdatadir
 
766
PACKAGE_WEATHER
 
767
VERSION_WEATHER
 
768
GETTEXT_WEATHER
 
769
toonsuserdirname
 
770
toonsdatadir
 
771
PACKAGE_TOONS
 
772
VERSION_TOONS
 
773
GETTEXT_TOONS
 
774
tomboydatadir
 
775
PACKAGE_TOMBOY
 
776
VERSION_TOMBOY
 
777
GETTEXT_TOMBOY
 
778
terminaldatadir
 
779
PACKAGE_TERMINAL
 
780
VERSION_TERMINAL
 
781
GETTEXT_TERMINAL
 
782
systraydatadir
 
783
PACKAGE_SYSTRAY
 
784
VERSION_SYSTRAY
 
785
GETTEXT_SYSTRAY
 
786
switcherdatadir
 
787
PACKAGE_SWITCHER
 
788
VERSION_SWITCHER
 
789
GETTEXT_SWITCHER
 
790
stackdatadir
 
791
PACKAGE_STACK
 
792
VERSION_STACK
 
793
GETTEXT_STACK
 
794
sliderdatadir
 
795
PACKAGE_SLIDER
 
796
VERSION_SLIDER
 
797
GETTEXT_SLIDER
 
798
show_mousedatadir
 
799
PACKAGE_SHOW_MOUSE
 
800
VERSION_SHOW_MOUSE
 
801
GETTEXT_SHOW_MOUSE
 
802
show_desktopdatadir
 
803
PACKAGE_SHOW_DESKTOP
 
804
VERSION_SHOW_DESKTOP
 
805
GETTEXT_SHOW_DESKTOP
 
806
show_deskletsdatadir
 
807
PACKAGE_SHOW_DESKLETS
 
808
VERSION_SHOW_DESKLETS
 
809
GETTEXT_SHOW_DESKLETS
 
810
shortcutsdatadir
 
811
PACKAGE_SHORTCUTS
 
812
VERSION_SHORTCUTS
 
813
GETTEXT_SHORTCUTS
 
814
rhythmboxdatadir
 
815
PACKAGE_RHYTHMBOX
 
816
VERSION_RHYTHMBOX
 
817
GETTEXT_RHYTHMBOX
 
818
quick_browserdatadir
 
819
PACKAGE_QUICK_BROWSER
 
820
VERSION_QUICK_BROWSER
 
821
GETTEXT_QUICK_BROWSER
 
822
dialog_renderingdatadir
 
823
PACKAGE_DIALOG_RENDERING
 
824
VERSION_DIALOG_RENDERING
 
825
GETTEXT_DIALOG_RENDERING
 
826
desklet_renderingdatadir
 
827
PACKAGE_DESKLET_RENDERING
 
828
VERSION_DESKLET_RENDERING
 
829
GETTEXT_DESKLET_RENDERING
 
830
renderingdatadir
 
831
PACKAGE_RENDERING
 
832
VERSION_RENDERING
 
833
GETTEXT_RENDERING
 
834
ramedatadir
 
835
PACKAGE_RAME
 
836
VERSION_RAME
 
837
GETTEXT_RAME
 
838
powermanagerdatadir
 
839
PACKAGE_POWERMANAGER
 
840
VERSION_POWERMANAGER
 
841
GETTEXT_POWERMANAGER
 
842
nvidiadatadir
 
843
PACKAGE_NVIDIA
 
844
VERSION_NVIDIA
 
845
GETTEXT_NVIDIA
 
846
netspeeddatadir
 
847
PACKAGE_NETSPEED
 
848
VERSION_NETSPEED
 
849
GETTEXT_NETSPEED
 
850
motion_blurdatadir
 
851
PACKAGE_MOTION_BLUR
 
852
VERSION_MOTION_BLUR
 
853
GETTEXT_MOTION_BLUR
 
854
maildatadir
 
855
PACKAGE_MAIL
 
856
VERSION_MAIL
 
857
GETTEXT_MAIL
 
858
logoutdatadir
 
859
PACKAGE_LOGOUT
 
860
VERSION_LOGOUT
 
861
GETTEXT_LOGOUT
 
862
keyboard_indicatordatadir
 
863
PACKAGE_KEYBOARD_INDICATOR
 
864
VERSION_KEYBOARD_INDICATOR
 
865
GETTEXT_KEYBOARD_INDICATOR
 
866
illusiondatadir
 
867
PACKAGE_ILLUSION
 
868
VERSION_ILLUSION
 
869
GETTEXT_ILLUSION
 
870
icon_effectsdatadir
 
871
PACKAGE_ICON_EFFECTS
 
872
VERSION_ICON_EFFECTS
 
873
GETTEXT_ICON_EFFECTS
 
874
gnome_integration_olddatadir
 
875
PACKAGE_GNOME_INTEGRATION_OLD
 
876
VERSION_GNOME_INTEGRATION_OLD
 
877
gnome_integrationdatadir
 
878
PACKAGE_GNOME_INTEGRATION
 
879
VERSION_GNOME_INTEGRATION
 
880
gmenudatadir
 
881
PACKAGE_GMENU
 
882
VERSION_GMENU
 
883
GETTEXT_GMENU
 
884
dustbindatadir
 
885
dustbinuserdirname
 
886
PACKAGE_DUSTBIN
 
887
VERSION_DUSTBIN
 
888
GETTEXT_DUSTBIN
 
889
drop_indicatordatadir
 
890
PACKAGE_DROP_INDICATOR
 
891
VERSION_DROP_INDICATOR
 
892
GETTEXT_DROP_INDICATOR
 
893
dbusdatadir
 
894
PACKAGE_DBUS
 
895
VERSION_DBUS
 
896
GETTEXT_DBUS
 
897
cpusagedatadir
 
898
PACKAGE_CPUSAGE
 
899
VERSION_CPUSAGE
 
900
GETTEXT_CPUSAGE
 
901
compiz_icondatadir
 
902
PACKAGE_COMPIZ_ICON
 
903
VERSION_COMPIZ_ICON
 
904
GETTEXT_COMPIZ_ICON
 
905
clockdatadir
 
906
clockuserdirname
 
907
PACKAGE_CLOCK
 
908
VERSION_CLOCK
 
909
GETTEXT_CLOCK
 
910
cairo_penguindatadir
 
911
cairo_penguinuserdirname
 
912
PACKAGE_CAIRO_PENGUIN
 
913
VERSION_CAIRO_PENGUIN
 
914
GETTEXT_CAIRO_PENGUIN
 
915
Clipperdatadir
 
916
PACKAGE_CLIPPER
 
917
VERSION_CLIPPER
 
918
GETTEXT_CLIPPER
 
919
animated_iconsdatadir
 
920
PACKAGE_ANIMATED_ICONS
 
921
VERSION_ANIMATED_ICONS
 
922
GETTEXT_ANIMATED_ICONS
 
923
alsa_mixerdatadir
 
924
PACKAGE_ALSA_MIXER
 
925
VERSION_ALSA_MIXER
 
926
GETTEXT_ALSA_MIXER
 
927
WITH_KEYBOARD_INDICATOR_FALSE
 
928
WITH_KEYBOARD_INDICATOR_TRUE
 
929
WITH_EXIF_FALSE
 
930
WITH_EXIF_TRUE
 
931
WITH_WEBLETS_FALSE
 
932
WITH_WEBLETS_TRUE
 
933
WITH_MAIL_FALSE
 
934
WITH_MAIL_TRUE
 
935
WITH_GIO_IN_GMENU_FALSE
 
936
WITH_GIO_IN_GMENU_TRUE
 
937
WITH_GMENU_FALSE
 
938
WITH_GMENU_TRUE
 
939
WITH_XGAMMA_FALSE
 
940
WITH_XGAMMA_TRUE
 
941
WITH_COMPIZ_ICON_FALSE
 
942
WITH_COMPIZ_ICON_TRUE
 
943
WITH_NVIDIA_FALSE
 
944
WITH_NVIDIA_TRUE
 
945
WITH_RHYTHMBOX_FALSE
 
946
WITH_RHYTHMBOX_TRUE
 
947
WITH_TOMBOY_FALSE
 
948
WITH_TOMBOY_TRUE
 
949
WITH_WIFI_FALSE
 
950
WITH_WIFI_TRUE
 
951
WITH_POWERMANAGER_FALSE
 
952
WITH_POWERMANAGER_TRUE
 
953
WITH_TERMINAL_FALSE
 
954
WITH_TERMINAL_TRUE
 
955
WITH_ALSA_MIXER_FALSE
 
956
WITH_ALSA_MIXER_TRUE
 
957
WITH_XFCE_SUPPORT_FALSE
 
958
WITH_XFCE_SUPPORT_TRUE
 
959
WITH_GNOME_SUPPORT_FALSE
 
960
WITH_GNOME_SUPPORT_TRUE
 
961
WITH_OLD_GNOME_SUPPORT_FALSE
 
962
WITH_OLD_GNOME_SUPPORT_TRUE
 
963
CXXCPP
 
964
am__fastdepCXX_FALSE
 
965
am__fastdepCXX_TRUE
 
966
CXXDEPMODE
 
967
ac_ct_CXX
 
968
CXXFLAGS
 
969
CXX
 
970
KEYBOARD_INDICATOR_PACKAGE_LIBS
 
971
KEYBOARD_INDICATOR_PACKAGE_CFLAGS
 
972
EXIF_LIBS
 
973
EXIF_CFLAGS
 
974
WEBKIT_LIBS
 
975
WEBKIT_CFLAGS
 
976
GMENU_GIO_LIBS
 
977
GMENU_GIO_CFLAGS
 
978
GMENU_PACKAGE_LIBS
 
979
GMENU_PACKAGE_CFLAGS
 
980
XGAMMA_PACKAGE_LIBS
 
981
XGAMMA_PACKAGE_CFLAGS
 
982
TERMINAL_PACKAGE_LIBS
 
983
TERMINAL_PACKAGE_CFLAGS
 
984
ALSA_MIXER_PACKAGE_LIBS
 
985
ALSA_MIXER_PACKAGE_CFLAGS
 
986
XFCE_INTEGRATION_LIBS
 
987
XFCE_INTEGRATION_CFLAGS
 
988
GNOME_INTEGRATION_LIBS
 
989
GNOME_INTEGRATION_CFLAGS
 
990
OLD_GNOME_INTEGRATION_LIBS
 
991
OLD_GNOME_INTEGRATION_CFLAGS
 
992
PACKAGE_LIBS
 
993
PACKAGE_CFLAGS
 
994
PKG_CONFIG
 
995
top_builddir
 
996
top_srcdir
 
997
srcdir
 
998
pkgdatadir
 
999
GETTEXT_PACKAGE
 
1000
MKINSTALLDIRS
 
1001
POSUB
 
1002
POFILES
 
1003
PO_IN_DATADIR_FALSE
 
1004
PO_IN_DATADIR_TRUE
 
1005
INTLLIBS
 
1006
INSTOBJEXT
 
1007
GMOFILES
 
1008
CATOBJEXT
 
1009
CATALOGS
 
1010
MSGFMT_OPTS
 
1011
DATADIRNAME
 
1012
ALL_LINGUAS
 
1013
INTLTOOL_PERL
 
1014
GMSGFMT
 
1015
MSGFMT
 
1016
MSGMERGE
 
1017
XGETTEXT
 
1018
INTLTOOL_POLICY_RULE
 
1019
INTLTOOL_SERVICE_RULE
 
1020
INTLTOOL_THEME_RULE
 
1021
INTLTOOL_SCHEMAS_RULE
 
1022
INTLTOOL_CAVES_RULE
 
1023
INTLTOOL_XML_NOMERGE_RULE
 
1024
INTLTOOL_XML_RULE
 
1025
INTLTOOL_KBD_RULE
 
1026
INTLTOOL_XAM_RULE
 
1027
INTLTOOL_UI_RULE
 
1028
INTLTOOL_SOUNDLIST_RULE
 
1029
INTLTOOL_SHEET_RULE
 
1030
INTLTOOL_SERVER_RULE
 
1031
INTLTOOL_PONG_RULE
 
1032
INTLTOOL_OAF_RULE
 
1033
INTLTOOL_PROP_RULE
 
1034
INTLTOOL_KEYS_RULE
 
1035
INTLTOOL_DIRECTORY_RULE
 
1036
INTLTOOL_DESKTOP_RULE
 
1037
INTLTOOL_EXTRACT
 
1038
INTLTOOL_MERGE
 
1039
INTLTOOL_UPDATE
 
1040
USE_NLS
 
1041
CPP
 
1042
OTOOL64
 
1043
OTOOL
 
1044
LIPO
 
1045
NMEDIT
 
1046
DSYMUTIL
 
1047
lt_ECHO
 
1048
RANLIB
 
1049
AR
 
1050
OBJDUMP
 
1051
LN_S
 
1052
NM
 
1053
ac_ct_DUMPBIN
 
1054
DUMPBIN
 
1055
LD
 
1056
FGREP
 
1057
EGREP
 
1058
GREP
 
1059
SED
 
1060
am__fastdepCC_FALSE
 
1061
am__fastdepCC_TRUE
 
1062
CCDEPMODE
 
1063
AMDEPBACKSLASH
 
1064
AMDEP_FALSE
 
1065
AMDEP_TRUE
 
1066
am__quote
 
1067
am__include
 
1068
DEPDIR
 
1069
OBJEXT
 
1070
EXEEXT
 
1071
ac_ct_CC
 
1072
CPPFLAGS
 
1073
LDFLAGS
 
1074
CFLAGS
 
1075
CC
 
1076
host_os
 
1077
host_vendor
 
1078
host_cpu
 
1079
host
 
1080
build_os
 
1081
build_vendor
 
1082
build_cpu
 
1083
build
 
1084
LIBTOOL
 
1085
am__untar
 
1086
am__tar
 
1087
AMTAR
 
1088
am__leading_dot
 
1089
SET_MAKE
 
1090
AWK
 
1091
mkdir_p
 
1092
MKDIR_P
 
1093
INSTALL_STRIP_PROGRAM
 
1094
STRIP
 
1095
install_sh
 
1096
MAKEINFO
 
1097
AUTOHEADER
 
1098
AUTOMAKE
 
1099
AUTOCONF
 
1100
ACLOCAL
 
1101
VERSION
 
1102
PACKAGE
 
1103
CYGPATH_W
 
1104
am__isrc
 
1105
INSTALL_DATA
 
1106
INSTALL_SCRIPT
 
1107
INSTALL_PROGRAM
 
1108
target_alias
 
1109
host_alias
 
1110
build_alias
 
1111
LIBS
 
1112
ECHO_T
 
1113
ECHO_N
 
1114
ECHO_C
 
1115
DEFS
 
1116
mandir
 
1117
localedir
 
1118
libdir
 
1119
psdir
 
1120
pdfdir
 
1121
dvidir
 
1122
htmldir
 
1123
infodir
 
1124
docdir
 
1125
oldincludedir
 
1126
includedir
 
1127
localstatedir
 
1128
sharedstatedir
 
1129
sysconfdir
 
1130
datadir
 
1131
datarootdir
 
1132
libexecdir
 
1133
sbindir
 
1134
bindir
 
1135
program_transform_name
 
1136
prefix
 
1137
exec_prefix
 
1138
PACKAGE_URL
 
1139
PACKAGE_BUGREPORT
 
1140
PACKAGE_STRING
 
1141
PACKAGE_VERSION
 
1142
PACKAGE_TARNAME
 
1143
PACKAGE_NAME
 
1144
PATH_SEPARATOR
 
1145
SHELL'
 
1146
ac_subst_files=''
 
1147
ac_user_opts='
 
1148
enable_option_checking
 
1149
enable_static
 
1150
enable_shared
 
1151
with_pic
 
1152
enable_fast_install
 
1153
enable_dependency_tracking
 
1154
with_gnu_ld
 
1155
enable_libtool_lock
 
1156
enable_nls
 
1157
enable_old_gnome_integration
 
1158
enable_gnome_integration
 
1159
enable_xfce_integration
 
1160
enable_alsa_mixer
 
1161
enable_terminal
 
1162
enable_powermanager
 
1163
enable_wifi
 
1164
enable_tomboy
 
1165
enable_rhythmbox
 
1166
enable_nvidia
 
1167
enable_compiz_icon
 
1168
enable_xgamma
 
1169
enable_gmenu
 
1170
enable_gio_in_gmenu
 
1171
enable_mail
 
1172
enable_weblets
 
1173
enable_exif
 
1174
enable_keyboard_indicator
 
1175
'
 
1176
      ac_precious_vars='build_alias
 
1177
host_alias
 
1178
target_alias
 
1179
CC
 
1180
CFLAGS
 
1181
LDFLAGS
 
1182
LIBS
 
1183
CPPFLAGS
 
1184
CPP
 
1185
PKG_CONFIG
 
1186
PACKAGE_CFLAGS
 
1187
PACKAGE_LIBS
 
1188
OLD_GNOME_INTEGRATION_CFLAGS
 
1189
OLD_GNOME_INTEGRATION_LIBS
 
1190
GNOME_INTEGRATION_CFLAGS
 
1191
GNOME_INTEGRATION_LIBS
 
1192
XFCE_INTEGRATION_CFLAGS
 
1193
XFCE_INTEGRATION_LIBS
 
1194
ALSA_MIXER_PACKAGE_CFLAGS
 
1195
ALSA_MIXER_PACKAGE_LIBS
 
1196
TERMINAL_PACKAGE_CFLAGS
 
1197
TERMINAL_PACKAGE_LIBS
 
1198
XGAMMA_PACKAGE_CFLAGS
 
1199
XGAMMA_PACKAGE_LIBS
 
1200
GMENU_PACKAGE_CFLAGS
 
1201
GMENU_PACKAGE_LIBS
 
1202
GMENU_GIO_CFLAGS
 
1203
GMENU_GIO_LIBS
 
1204
WEBKIT_CFLAGS
 
1205
WEBKIT_LIBS
 
1206
EXIF_CFLAGS
 
1207
EXIF_LIBS
 
1208
KEYBOARD_INDICATOR_PACKAGE_CFLAGS
 
1209
KEYBOARD_INDICATOR_PACKAGE_LIBS
 
1210
CXX
 
1211
CXXFLAGS
 
1212
CCC
 
1213
CXXCPP'
 
1214
 
 
1215
 
 
1216
# Initialize some variables set by options.
 
1217
ac_init_help=
 
1218
ac_init_version=false
 
1219
ac_unrecognized_opts=
 
1220
ac_unrecognized_sep=
 
1221
# The variables have the same names as the options, with
 
1222
# dashes changed to underlines.
 
1223
cache_file=/dev/null
 
1224
exec_prefix=NONE
 
1225
no_create=
 
1226
no_recursion=
 
1227
prefix=NONE
 
1228
program_prefix=NONE
 
1229
program_suffix=NONE
 
1230
program_transform_name=s,x,x,
 
1231
silent=
 
1232
site=
 
1233
srcdir=
 
1234
verbose=
 
1235
x_includes=NONE
 
1236
x_libraries=NONE
 
1237
 
 
1238
# Installation directory options.
 
1239
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
1240
# and all the variables that are supposed to be based on exec_prefix
 
1241
# by default will actually change.
 
1242
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1243
# (The list follows the same order as the GNU Coding Standards.)
 
1244
bindir='${exec_prefix}/bin'
 
1245
sbindir='${exec_prefix}/sbin'
 
1246
libexecdir='${exec_prefix}/libexec'
 
1247
datarootdir='${prefix}/share'
 
1248
datadir='${datarootdir}'
 
1249
sysconfdir='${prefix}/etc'
 
1250
sharedstatedir='${prefix}/com'
 
1251
localstatedir='${prefix}/var'
 
1252
includedir='${prefix}/include'
 
1253
oldincludedir='/usr/include'
 
1254
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1255
infodir='${datarootdir}/info'
 
1256
htmldir='${docdir}'
 
1257
dvidir='${docdir}'
 
1258
pdfdir='${docdir}'
 
1259
psdir='${docdir}'
 
1260
libdir='${exec_prefix}/lib'
 
1261
localedir='${datarootdir}/locale'
 
1262
mandir='${datarootdir}/man'
 
1263
 
 
1264
ac_prev=
 
1265
ac_dashdash=
 
1266
for ac_option
 
1267
do
 
1268
  # If the previous option needs an argument, assign it.
 
1269
  if test -n "$ac_prev"; then
 
1270
    eval $ac_prev=\$ac_option
 
1271
    ac_prev=
 
1272
    continue
 
1273
  fi
 
1274
 
 
1275
  case $ac_option in
 
1276
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1277
  *)    ac_optarg=yes ;;
 
1278
  esac
 
1279
 
 
1280
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1281
 
 
1282
  case $ac_dashdash$ac_option in
 
1283
  --)
 
1284
    ac_dashdash=yes ;;
 
1285
 
 
1286
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1287
    ac_prev=bindir ;;
 
1288
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1289
    bindir=$ac_optarg ;;
 
1290
 
 
1291
  -build | --build | --buil | --bui | --bu)
 
1292
    ac_prev=build_alias ;;
 
1293
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1294
    build_alias=$ac_optarg ;;
 
1295
 
 
1296
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1297
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1298
    ac_prev=cache_file ;;
 
1299
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1300
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1301
    cache_file=$ac_optarg ;;
 
1302
 
 
1303
  --config-cache | -C)
 
1304
    cache_file=config.cache ;;
 
1305
 
 
1306
  -datadir | --datadir | --datadi | --datad)
 
1307
    ac_prev=datadir ;;
 
1308
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1309
    datadir=$ac_optarg ;;
 
1310
 
 
1311
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1312
  | --dataroo | --dataro | --datar)
 
1313
    ac_prev=datarootdir ;;
 
1314
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1315
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1316
    datarootdir=$ac_optarg ;;
 
1317
 
 
1318
  -disable-* | --disable-*)
 
1319
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1320
    # Reject names that are not valid shell variable names.
 
1321
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1322
      as_fn_error "invalid feature name: $ac_useropt"
 
1323
    ac_useropt_orig=$ac_useropt
 
1324
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1325
    case $ac_user_opts in
 
1326
      *"
 
1327
"enable_$ac_useropt"
 
1328
"*) ;;
 
1329
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1330
         ac_unrecognized_sep=', ';;
 
1331
    esac
 
1332
    eval enable_$ac_useropt=no ;;
 
1333
 
 
1334
  -docdir | --docdir | --docdi | --doc | --do)
 
1335
    ac_prev=docdir ;;
 
1336
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1337
    docdir=$ac_optarg ;;
 
1338
 
 
1339
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1340
    ac_prev=dvidir ;;
 
1341
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1342
    dvidir=$ac_optarg ;;
 
1343
 
 
1344
  -enable-* | --enable-*)
 
1345
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1346
    # Reject names that are not valid shell variable names.
 
1347
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1348
      as_fn_error "invalid feature name: $ac_useropt"
 
1349
    ac_useropt_orig=$ac_useropt
 
1350
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1351
    case $ac_user_opts in
 
1352
      *"
 
1353
"enable_$ac_useropt"
 
1354
"*) ;;
 
1355
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1356
         ac_unrecognized_sep=', ';;
 
1357
    esac
 
1358
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1359
 
 
1360
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1361
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1362
  | --exec | --exe | --ex)
 
1363
    ac_prev=exec_prefix ;;
 
1364
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1365
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1366
  | --exec=* | --exe=* | --ex=*)
 
1367
    exec_prefix=$ac_optarg ;;
 
1368
 
 
1369
  -gas | --gas | --ga | --g)
 
1370
    # Obsolete; use --with-gas.
 
1371
    with_gas=yes ;;
 
1372
 
 
1373
  -help | --help | --hel | --he | -h)
 
1374
    ac_init_help=long ;;
 
1375
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1376
    ac_init_help=recursive ;;
 
1377
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1378
    ac_init_help=short ;;
 
1379
 
 
1380
  -host | --host | --hos | --ho)
 
1381
    ac_prev=host_alias ;;
 
1382
  -host=* | --host=* | --hos=* | --ho=*)
 
1383
    host_alias=$ac_optarg ;;
 
1384
 
 
1385
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1386
    ac_prev=htmldir ;;
 
1387
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1388
  | --ht=*)
 
1389
    htmldir=$ac_optarg ;;
 
1390
 
 
1391
  -includedir | --includedir | --includedi | --included | --include \
 
1392
  | --includ | --inclu | --incl | --inc)
 
1393
    ac_prev=includedir ;;
 
1394
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1395
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1396
    includedir=$ac_optarg ;;
 
1397
 
 
1398
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1399
    ac_prev=infodir ;;
 
1400
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1401
    infodir=$ac_optarg ;;
 
1402
 
 
1403
  -libdir | --libdir | --libdi | --libd)
 
1404
    ac_prev=libdir ;;
 
1405
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1406
    libdir=$ac_optarg ;;
 
1407
 
 
1408
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1409
  | --libexe | --libex | --libe)
 
1410
    ac_prev=libexecdir ;;
 
1411
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1412
  | --libexe=* | --libex=* | --libe=*)
 
1413
    libexecdir=$ac_optarg ;;
 
1414
 
 
1415
  -localedir | --localedir | --localedi | --localed | --locale)
 
1416
    ac_prev=localedir ;;
 
1417
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1418
    localedir=$ac_optarg ;;
 
1419
 
 
1420
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1421
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1422
    ac_prev=localstatedir ;;
 
1423
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1424
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1425
    localstatedir=$ac_optarg ;;
 
1426
 
 
1427
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1428
    ac_prev=mandir ;;
 
1429
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1430
    mandir=$ac_optarg ;;
 
1431
 
 
1432
  -nfp | --nfp | --nf)
 
1433
    # Obsolete; use --without-fp.
 
1434
    with_fp=no ;;
 
1435
 
 
1436
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1437
  | --no-cr | --no-c | -n)
 
1438
    no_create=yes ;;
 
1439
 
 
1440
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1441
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1442
    no_recursion=yes ;;
 
1443
 
 
1444
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1445
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1446
  | --oldin | --oldi | --old | --ol | --o)
 
1447
    ac_prev=oldincludedir ;;
 
1448
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1449
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1450
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1451
    oldincludedir=$ac_optarg ;;
 
1452
 
 
1453
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1454
    ac_prev=prefix ;;
 
1455
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1456
    prefix=$ac_optarg ;;
 
1457
 
 
1458
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1459
  | --program-pre | --program-pr | --program-p)
 
1460
    ac_prev=program_prefix ;;
 
1461
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1462
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1463
    program_prefix=$ac_optarg ;;
 
1464
 
 
1465
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1466
  | --program-suf | --program-su | --program-s)
 
1467
    ac_prev=program_suffix ;;
 
1468
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1469
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1470
    program_suffix=$ac_optarg ;;
 
1471
 
 
1472
  -program-transform-name | --program-transform-name \
 
1473
  | --program-transform-nam | --program-transform-na \
 
1474
  | --program-transform-n | --program-transform- \
 
1475
  | --program-transform | --program-transfor \
 
1476
  | --program-transfo | --program-transf \
 
1477
  | --program-trans | --program-tran \
 
1478
  | --progr-tra | --program-tr | --program-t)
 
1479
    ac_prev=program_transform_name ;;
 
1480
  -program-transform-name=* | --program-transform-name=* \
 
1481
  | --program-transform-nam=* | --program-transform-na=* \
 
1482
  | --program-transform-n=* | --program-transform-=* \
 
1483
  | --program-transform=* | --program-transfor=* \
 
1484
  | --program-transfo=* | --program-transf=* \
 
1485
  | --program-trans=* | --program-tran=* \
 
1486
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1487
    program_transform_name=$ac_optarg ;;
 
1488
 
 
1489
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1490
    ac_prev=pdfdir ;;
 
1491
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1492
    pdfdir=$ac_optarg ;;
 
1493
 
 
1494
  -psdir | --psdir | --psdi | --psd | --ps)
 
1495
    ac_prev=psdir ;;
 
1496
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1497
    psdir=$ac_optarg ;;
 
1498
 
 
1499
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1500
  | -silent | --silent | --silen | --sile | --sil)
 
1501
    silent=yes ;;
 
1502
 
 
1503
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1504
    ac_prev=sbindir ;;
 
1505
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1506
  | --sbi=* | --sb=*)
 
1507
    sbindir=$ac_optarg ;;
 
1508
 
 
1509
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1510
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1511
  | --sharedst | --shareds | --shared | --share | --shar \
 
1512
  | --sha | --sh)
 
1513
    ac_prev=sharedstatedir ;;
 
1514
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1515
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1516
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1517
  | --sha=* | --sh=*)
 
1518
    sharedstatedir=$ac_optarg ;;
 
1519
 
 
1520
  -site | --site | --sit)
 
1521
    ac_prev=site ;;
 
1522
  -site=* | --site=* | --sit=*)
 
1523
    site=$ac_optarg ;;
 
1524
 
 
1525
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1526
    ac_prev=srcdir ;;
 
1527
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1528
    srcdir=$ac_optarg ;;
 
1529
 
 
1530
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1531
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1532
    ac_prev=sysconfdir ;;
 
1533
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1534
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1535
    sysconfdir=$ac_optarg ;;
 
1536
 
 
1537
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1538
    ac_prev=target_alias ;;
 
1539
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1540
    target_alias=$ac_optarg ;;
 
1541
 
 
1542
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1543
    verbose=yes ;;
 
1544
 
 
1545
  -version | --version | --versio | --versi | --vers | -V)
 
1546
    ac_init_version=: ;;
 
1547
 
 
1548
  -with-* | --with-*)
 
1549
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1550
    # Reject names that are not valid shell variable names.
 
1551
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1552
      as_fn_error "invalid package name: $ac_useropt"
 
1553
    ac_useropt_orig=$ac_useropt
 
1554
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1555
    case $ac_user_opts in
 
1556
      *"
 
1557
"with_$ac_useropt"
 
1558
"*) ;;
 
1559
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1560
         ac_unrecognized_sep=', ';;
 
1561
    esac
 
1562
    eval with_$ac_useropt=\$ac_optarg ;;
 
1563
 
 
1564
  -without-* | --without-*)
 
1565
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1566
    # Reject names that are not valid shell variable names.
 
1567
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1568
      as_fn_error "invalid package name: $ac_useropt"
 
1569
    ac_useropt_orig=$ac_useropt
 
1570
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1571
    case $ac_user_opts in
 
1572
      *"
 
1573
"with_$ac_useropt"
 
1574
"*) ;;
 
1575
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1576
         ac_unrecognized_sep=', ';;
 
1577
    esac
 
1578
    eval with_$ac_useropt=no ;;
 
1579
 
 
1580
  --x)
 
1581
    # Obsolete; use --with-x.
 
1582
    with_x=yes ;;
 
1583
 
 
1584
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1585
  | --x-incl | --x-inc | --x-in | --x-i)
 
1586
    ac_prev=x_includes ;;
 
1587
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1588
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1589
    x_includes=$ac_optarg ;;
 
1590
 
 
1591
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1592
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1593
    ac_prev=x_libraries ;;
 
1594
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1595
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1596
    x_libraries=$ac_optarg ;;
 
1597
 
 
1598
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1599
Try \`$0 --help' for more information."
 
1600
    ;;
 
1601
 
 
1602
  *=*)
 
1603
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1604
    # Reject names that are not valid shell variable names.
 
1605
    case $ac_envvar in #(
 
1606
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1607
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1608
    esac
 
1609
    eval $ac_envvar=\$ac_optarg
 
1610
    export $ac_envvar ;;
 
1611
 
 
1612
  *)
 
1613
    # FIXME: should be removed in autoconf 3.0.
 
1614
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1615
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1616
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1617
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1618
    ;;
 
1619
 
 
1620
  esac
 
1621
done
 
1622
 
 
1623
if test -n "$ac_prev"; then
 
1624
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1625
  as_fn_error "missing argument to $ac_option"
 
1626
fi
 
1627
 
 
1628
if test -n "$ac_unrecognized_opts"; then
 
1629
  case $enable_option_checking in
 
1630
    no) ;;
 
1631
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1632
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1633
  esac
 
1634
fi
 
1635
 
 
1636
# Check all directory arguments for consistency.
 
1637
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1638
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1639
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1640
                libdir localedir mandir
 
1641
do
 
1642
  eval ac_val=\$$ac_var
 
1643
  # Remove trailing slashes.
 
1644
  case $ac_val in
 
1645
    */ )
 
1646
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1647
      eval $ac_var=\$ac_val;;
 
1648
  esac
 
1649
  # Be sure to have absolute directory names.
 
1650
  case $ac_val in
 
1651
    [\\/$]* | ?:[\\/]* )  continue;;
 
1652
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1653
  esac
 
1654
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1655
done
 
1656
 
 
1657
# There might be people who depend on the old broken behavior: `$host'
 
1658
# used to hold the argument of --host etc.
 
1659
# FIXME: To remove some day.
 
1660
build=$build_alias
 
1661
host=$host_alias
 
1662
target=$target_alias
 
1663
 
 
1664
# FIXME: To remove some day.
 
1665
if test "x$host_alias" != x; then
 
1666
  if test "x$build_alias" = x; then
 
1667
    cross_compiling=maybe
 
1668
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1669
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1670
  elif test "x$build_alias" != "x$host_alias"; then
 
1671
    cross_compiling=yes
 
1672
  fi
 
1673
fi
 
1674
 
 
1675
ac_tool_prefix=
 
1676
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1677
 
 
1678
test "$silent" = yes && exec 6>/dev/null
 
1679
 
 
1680
 
 
1681
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1682
ac_ls_di=`ls -di .` &&
 
1683
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1684
  as_fn_error "working directory cannot be determined"
 
1685
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1686
  as_fn_error "pwd does not report name of working directory"
 
1687
 
 
1688
 
 
1689
# Find the source files, if location was not specified.
 
1690
if test -z "$srcdir"; then
 
1691
  ac_srcdir_defaulted=yes
 
1692
  # Try the directory containing this script, then the parent directory.
 
1693
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1694
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1695
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1696
         X"$as_myself" : 'X\(//\)$' \| \
 
1697
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1698
$as_echo X"$as_myself" |
 
1699
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1700
            s//\1/
 
1701
            q
 
1702
          }
 
1703
          /^X\(\/\/\)[^/].*/{
 
1704
            s//\1/
 
1705
            q
 
1706
          }
 
1707
          /^X\(\/\/\)$/{
 
1708
            s//\1/
 
1709
            q
 
1710
          }
 
1711
          /^X\(\/\).*/{
 
1712
            s//\1/
 
1713
            q
 
1714
          }
 
1715
          s/.*/./; q'`
 
1716
  srcdir=$ac_confdir
 
1717
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1718
    srcdir=..
 
1719
  fi
 
1720
else
 
1721
  ac_srcdir_defaulted=no
 
1722
fi
 
1723
if test ! -r "$srcdir/$ac_unique_file"; then
 
1724
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1725
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1726
fi
 
1727
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1728
ac_abs_confdir=`(
 
1729
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1730
        pwd)`
 
1731
# When building in place, set srcdir=.
 
1732
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1733
  srcdir=.
 
1734
fi
 
1735
# Remove unnecessary trailing slashes from srcdir.
 
1736
# Double slashes in file names in object file debugging info
 
1737
# mess up M-x gdb in Emacs.
 
1738
case $srcdir in
 
1739
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1740
esac
 
1741
for ac_var in $ac_precious_vars; do
 
1742
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1743
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1744
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1745
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1746
done
 
1747
 
 
1748
#
 
1749
# Report the --help message.
 
1750
#
 
1751
if test "$ac_init_help" = "long"; then
 
1752
  # Omit some internal or obsolete options to make the list less imposing.
 
1753
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1754
  cat <<_ACEOF
 
1755
\`configure' configures cairo-dock-plugins 2.0.8 to adapt to many kinds of systems.
 
1756
 
 
1757
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1758
 
 
1759
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1760
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1761
 
 
1762
Defaults for the options are specified in brackets.
 
1763
 
 
1764
Configuration:
 
1765
  -h, --help              display this help and exit
 
1766
      --help=short        display options specific to this package
 
1767
      --help=recursive    display the short help of all the included packages
 
1768
  -V, --version           display version information and exit
 
1769
  -q, --quiet, --silent   do not print \`checking...' messages
 
1770
      --cache-file=FILE   cache test results in FILE [disabled]
 
1771
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1772
  -n, --no-create         do not create output files
 
1773
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1774
 
 
1775
Installation directories:
 
1776
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1777
                          [$ac_default_prefix]
 
1778
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1779
                          [PREFIX]
 
1780
 
 
1781
By default, \`make install' will install all the files in
 
1782
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1783
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1784
for instance \`--prefix=\$HOME'.
 
1785
 
 
1786
For better control, use the options below.
 
1787
 
 
1788
Fine tuning of the installation directories:
 
1789
  --bindir=DIR            user executables [EPREFIX/bin]
 
1790
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1791
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1792
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1793
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1794
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1795
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1796
  --includedir=DIR        C header files [PREFIX/include]
 
1797
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1798
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1799
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1800
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1801
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1802
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1803
  --docdir=DIR            documentation root
 
1804
                          [DATAROOTDIR/doc/cairo-dock-plugins]
 
1805
  --htmldir=DIR           html documentation [DOCDIR]
 
1806
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1807
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1808
  --psdir=DIR             ps documentation [DOCDIR]
 
1809
_ACEOF
 
1810
 
 
1811
  cat <<\_ACEOF
 
1812
 
 
1813
Program names:
 
1814
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1815
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1816
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1817
 
 
1818
System types:
 
1819
  --build=BUILD     configure for building on BUILD [guessed]
 
1820
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1821
_ACEOF
 
1822
fi
 
1823
 
 
1824
if test -n "$ac_init_help"; then
 
1825
  case $ac_init_help in
 
1826
     short | recursive ) echo "Configuration of cairo-dock-plugins 2.0.8:";;
 
1827
   esac
 
1828
  cat <<\_ACEOF
 
1829
 
 
1830
Optional Features:
 
1831
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1832
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1833
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1834
  --enable-static[=PKGS]  build static libraries [default=no]
 
1835
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1836
  --enable-fast-install[=PKGS]
 
1837
                          optimize for fast installation [default=yes]
 
1838
  --disable-dependency-tracking  speeds up one-time build
 
1839
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1840
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1841
  --disable-nls           do not use Native Language Support
 
1842
  --enable-old-gnome-integration : Enable Gnome<2.22 integration (default=yes)
 
1843
  --enable-gnome-integration : Enable Gnome>=2.22 integration (default=yes)
 
1844
  --enable-xfce-integration : Enable XFCE integration (default=yes)
 
1845
  --enable-alsa-mixer : Enable Alsa-Mixer applet (default=yes)
 
1846
  --enable-terminal : Enable Terminal applet (default=yes)
 
1847
  --enable-powermanager : Enable PowerManager applet (default=yes)
 
1848
  --enable-wifi : Enable Wifi applet (default=yes)
 
1849
  --enable-tomboy : Enable Tomboy applet (default=yes)
 
1850
  --enable-rhythmbox : Enable Rhythmbox applet (default=yes)
 
1851
  --enable-nvidia: Enable nVidia applet (default=yes)
 
1852
  --enable-compiz-icon : Enable Compiz-Icon applet (default=yes)
 
1853
  --enable-xgamma : Enable Xgamma applet (default=yes)
 
1854
  --enable-gmenu : Enable GMenu applet (default=yes)
 
1855
  --enable-gio-in-gmenu : Use gio in GMenu (default=no)
 
1856
  --enable-mail : Enable Mail applet (default=no)
 
1857
  --enable-weblets : Enable Weblets applet (default=yes)
 
1858
  --enable-exif : for auto-rotating pictures in Slider (default=yes)
 
1859
  --enable-keyboard-indicator : Enable keyboard-indicator applet (default=yes)
 
1860
 
 
1861
Optional Packages:
 
1862
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1863
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1864
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1865
                          both]
 
1866
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1867
 
 
1868
Some influential environment variables:
 
1869
  CC          C compiler command
 
1870
  CFLAGS      C compiler flags
 
1871
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1872
              nonstandard directory <lib dir>
 
1873
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1874
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1875
              you have headers in a nonstandard directory <include dir>
 
1876
  CPP         C preprocessor
 
1877
  PKG_CONFIG  path to pkg-config utility
 
1878
  PACKAGE_CFLAGS
 
1879
              C compiler flags for PACKAGE, overriding pkg-config
 
1880
  PACKAGE_LIBS
 
1881
              linker flags for PACKAGE, overriding pkg-config
 
1882
  OLD_GNOME_INTEGRATION_CFLAGS
 
1883
              C compiler flags for OLD_GNOME_INTEGRATION, overriding
 
1884
              pkg-config
 
1885
  OLD_GNOME_INTEGRATION_LIBS
 
1886
              linker flags for OLD_GNOME_INTEGRATION, overriding pkg-config
 
1887
  GNOME_INTEGRATION_CFLAGS
 
1888
              C compiler flags for GNOME_INTEGRATION, overriding pkg-config
 
1889
  GNOME_INTEGRATION_LIBS
 
1890
              linker flags for GNOME_INTEGRATION, overriding pkg-config
 
1891
  XFCE_INTEGRATION_CFLAGS
 
1892
              C compiler flags for XFCE_INTEGRATION, overriding pkg-config
 
1893
  XFCE_INTEGRATION_LIBS
 
1894
              linker flags for XFCE_INTEGRATION, overriding pkg-config
 
1895
  ALSA_MIXER_PACKAGE_CFLAGS
 
1896
              C compiler flags for ALSA_MIXER_PACKAGE, overriding pkg-config
 
1897
  ALSA_MIXER_PACKAGE_LIBS
 
1898
              linker flags for ALSA_MIXER_PACKAGE, overriding pkg-config
 
1899
  TERMINAL_PACKAGE_CFLAGS
 
1900
              C compiler flags for TERMINAL_PACKAGE, overriding pkg-config
 
1901
  TERMINAL_PACKAGE_LIBS
 
1902
              linker flags for TERMINAL_PACKAGE, overriding pkg-config
 
1903
  XGAMMA_PACKAGE_CFLAGS
 
1904
              C compiler flags for XGAMMA_PACKAGE, overriding pkg-config
 
1905
  XGAMMA_PACKAGE_LIBS
 
1906
              linker flags for XGAMMA_PACKAGE, overriding pkg-config
 
1907
  GMENU_PACKAGE_CFLAGS
 
1908
              C compiler flags for GMENU_PACKAGE, overriding pkg-config
 
1909
  GMENU_PACKAGE_LIBS
 
1910
              linker flags for GMENU_PACKAGE, overriding pkg-config
 
1911
  GMENU_GIO_CFLAGS
 
1912
              C compiler flags for GMENU_GIO, overriding pkg-config
 
1913
  GMENU_GIO_LIBS
 
1914
              linker flags for GMENU_GIO, overriding pkg-config
 
1915
  WEBKIT_CFLAGS
 
1916
              C compiler flags for WEBKIT, overriding pkg-config
 
1917
  WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
 
1918
  EXIF_CFLAGS C compiler flags for EXIF, overriding pkg-config
 
1919
  EXIF_LIBS   linker flags for EXIF, overriding pkg-config
 
1920
  KEYBOARD_INDICATOR_PACKAGE_CFLAGS
 
1921
              C compiler flags for KEYBOARD_INDICATOR_PACKAGE, overriding
 
1922
              pkg-config
 
1923
  KEYBOARD_INDICATOR_PACKAGE_LIBS
 
1924
              linker flags for KEYBOARD_INDICATOR_PACKAGE, overriding
 
1925
              pkg-config
 
1926
  CXX         C++ compiler command
 
1927
  CXXFLAGS    C++ compiler flags
 
1928
  CXXCPP      C++ preprocessor
 
1929
 
 
1930
Use these variables to override the choices made by `configure' or to help
 
1931
it to find libraries and programs with nonstandard names/locations.
 
1932
 
 
1933
Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
 
1934
_ACEOF
 
1935
ac_status=$?
 
1936
fi
 
1937
 
 
1938
if test "$ac_init_help" = "recursive"; then
 
1939
  # If there are subdirs, report their specific --help.
 
1940
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1941
    test -d "$ac_dir" ||
 
1942
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1943
      continue
 
1944
    ac_builddir=.
 
1945
 
 
1946
case "$ac_dir" in
 
1947
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1948
*)
 
1949
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1950
  # A ".." for each directory in $ac_dir_suffix.
 
1951
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1952
  case $ac_top_builddir_sub in
 
1953
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1954
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1955
  esac ;;
 
1956
esac
 
1957
ac_abs_top_builddir=$ac_pwd
 
1958
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1959
# for backward compatibility:
 
1960
ac_top_builddir=$ac_top_build_prefix
 
1961
 
 
1962
case $srcdir in
 
1963
  .)  # We are building in place.
 
1964
    ac_srcdir=.
 
1965
    ac_top_srcdir=$ac_top_builddir_sub
 
1966
    ac_abs_top_srcdir=$ac_pwd ;;
 
1967
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1968
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1969
    ac_top_srcdir=$srcdir
 
1970
    ac_abs_top_srcdir=$srcdir ;;
 
1971
  *) # Relative name.
 
1972
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1973
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1974
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1975
esac
 
1976
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1977
 
 
1978
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1979
    # Check for guested configure.
 
1980
    if test -f "$ac_srcdir/configure.gnu"; then
 
1981
      echo &&
 
1982
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1983
    elif test -f "$ac_srcdir/configure"; then
 
1984
      echo &&
 
1985
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1986
    else
 
1987
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1988
    fi || ac_status=$?
 
1989
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1990
  done
 
1991
fi
 
1992
 
 
1993
test -n "$ac_init_help" && exit $ac_status
 
1994
if $ac_init_version; then
 
1995
  cat <<\_ACEOF
 
1996
cairo-dock-plugins configure 2.0.8
 
1997
generated by GNU Autoconf 2.64
 
1998
 
 
1999
Copyright (C) 2009 Free Software Foundation, Inc.
 
2000
This configure script is free software; the Free Software Foundation
 
2001
gives unlimited permission to copy, distribute and modify it.
 
2002
_ACEOF
 
2003
  exit
 
2004
fi
 
2005
 
 
2006
## ------------------------ ##
 
2007
## Autoconf initialization. ##
 
2008
## ------------------------ ##
 
2009
 
 
2010
# ac_fn_c_try_compile LINENO
 
2011
# --------------------------
 
2012
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
2013
ac_fn_c_try_compile ()
 
2014
{
 
2015
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2016
  rm -f conftest.$ac_objext
 
2017
  if { { ac_try="$ac_compile"
 
2018
case "(($ac_try" in
 
2019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2020
  *) ac_try_echo=$ac_try;;
 
2021
esac
 
2022
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2023
$as_echo "$ac_try_echo"; } >&5
 
2024
  (eval "$ac_compile") 2>conftest.err
 
2025
  ac_status=$?
 
2026
  if test -s conftest.err; then
 
2027
    grep -v '^ *+' conftest.err >conftest.er1
 
2028
    cat conftest.er1 >&5
 
2029
    mv -f conftest.er1 conftest.err
 
2030
  fi
 
2031
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2032
  test $ac_status = 0; } && {
 
2033
         test -z "$ac_c_werror_flag" ||
 
2034
         test ! -s conftest.err
 
2035
       } && test -s conftest.$ac_objext; then :
 
2036
  ac_retval=0
 
2037
else
 
2038
  $as_echo "$as_me: failed program was:" >&5
 
2039
sed 's/^/| /' conftest.$ac_ext >&5
 
2040
 
 
2041
        ac_retval=1
 
2042
fi
 
2043
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2044
  return $ac_retval
 
2045
 
 
2046
} # ac_fn_c_try_compile
 
2047
 
 
2048
# ac_fn_c_try_link LINENO
 
2049
# -----------------------
 
2050
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2051
ac_fn_c_try_link ()
 
2052
{
 
2053
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2054
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2055
  if { { ac_try="$ac_link"
 
2056
case "(($ac_try" in
 
2057
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2058
  *) ac_try_echo=$ac_try;;
 
2059
esac
 
2060
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2061
$as_echo "$ac_try_echo"; } >&5
 
2062
  (eval "$ac_link") 2>conftest.err
 
2063
  ac_status=$?
 
2064
  if test -s conftest.err; then
 
2065
    grep -v '^ *+' conftest.err >conftest.er1
 
2066
    cat conftest.er1 >&5
 
2067
    mv -f conftest.er1 conftest.err
 
2068
  fi
 
2069
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2070
  test $ac_status = 0; } && {
 
2071
         test -z "$ac_c_werror_flag" ||
 
2072
         test ! -s conftest.err
 
2073
       } && test -s conftest$ac_exeext && {
 
2074
         test "$cross_compiling" = yes ||
 
2075
         $as_test_x conftest$ac_exeext
 
2076
       }; then :
 
2077
  ac_retval=0
 
2078
else
 
2079
  $as_echo "$as_me: failed program was:" >&5
 
2080
sed 's/^/| /' conftest.$ac_ext >&5
 
2081
 
 
2082
        ac_retval=1
 
2083
fi
 
2084
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2085
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2086
  # interfere with the next link command; also delete a directory that is
 
2087
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2088
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2089
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2090
  return $ac_retval
 
2091
 
 
2092
} # ac_fn_c_try_link
 
2093
 
 
2094
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
2095
# -------------------------------------------------------
 
2096
# Tests whether HEADER exists and can be compiled using the include files in
 
2097
# INCLUDES, setting the cache variable VAR accordingly.
 
2098
ac_fn_c_check_header_compile ()
 
2099
{
 
2100
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2101
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2102
$as_echo_n "checking for $2... " >&6; }
 
2103
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2104
  $as_echo_n "(cached) " >&6
 
2105
else
 
2106
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2107
/* end confdefs.h.  */
 
2108
$4
 
2109
#include <$2>
 
2110
_ACEOF
 
2111
if ac_fn_c_try_compile "$LINENO"; then :
 
2112
  eval "$3=yes"
 
2113
else
 
2114
  eval "$3=no"
 
2115
fi
 
2116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2117
fi
 
2118
eval ac_res=\$$3
 
2119
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2120
$as_echo "$ac_res" >&6; }
 
2121
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2122
 
 
2123
} # ac_fn_c_check_header_compile
 
2124
 
 
2125
# ac_fn_c_try_cpp LINENO
 
2126
# ----------------------
 
2127
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2128
ac_fn_c_try_cpp ()
 
2129
{
 
2130
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2131
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2132
case "(($ac_try" in
 
2133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2134
  *) ac_try_echo=$ac_try;;
 
2135
esac
 
2136
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2137
$as_echo "$ac_try_echo"; } >&5
 
2138
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2139
  ac_status=$?
 
2140
  if test -s conftest.err; then
 
2141
    grep -v '^ *+' conftest.err >conftest.er1
 
2142
    cat conftest.er1 >&5
 
2143
    mv -f conftest.er1 conftest.err
 
2144
  fi
 
2145
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2146
  test $ac_status = 0; } >/dev/null && {
 
2147
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
2148
         test ! -s conftest.err
 
2149
       }; then :
 
2150
  ac_retval=0
 
2151
else
 
2152
  $as_echo "$as_me: failed program was:" >&5
 
2153
sed 's/^/| /' conftest.$ac_ext >&5
 
2154
 
 
2155
    ac_retval=1
 
2156
fi
 
2157
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2158
  return $ac_retval
 
2159
 
 
2160
} # ac_fn_c_try_cpp
 
2161
 
 
2162
# ac_fn_c_try_run LINENO
 
2163
# ----------------------
 
2164
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2165
# that executables *can* be run.
 
2166
ac_fn_c_try_run ()
 
2167
{
 
2168
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2169
  if { { ac_try="$ac_link"
 
2170
case "(($ac_try" in
 
2171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2172
  *) ac_try_echo=$ac_try;;
 
2173
esac
 
2174
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2175
$as_echo "$ac_try_echo"; } >&5
 
2176
  (eval "$ac_link") 2>&5
 
2177
  ac_status=$?
 
2178
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2179
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2180
  { { case "(($ac_try" in
 
2181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2182
  *) ac_try_echo=$ac_try;;
 
2183
esac
 
2184
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2185
$as_echo "$ac_try_echo"; } >&5
 
2186
  (eval "$ac_try") 2>&5
 
2187
  ac_status=$?
 
2188
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2189
  test $ac_status = 0; }; }; then :
 
2190
  ac_retval=0
 
2191
else
 
2192
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2193
       $as_echo "$as_me: failed program was:" >&5
 
2194
sed 's/^/| /' conftest.$ac_ext >&5
 
2195
 
 
2196
       ac_retval=$ac_status
 
2197
fi
 
2198
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2199
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2200
  return $ac_retval
 
2201
 
 
2202
} # ac_fn_c_try_run
 
2203
 
 
2204
# ac_fn_c_check_func LINENO FUNC VAR
 
2205
# ----------------------------------
 
2206
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2207
ac_fn_c_check_func ()
 
2208
{
 
2209
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2210
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2211
$as_echo_n "checking for $2... " >&6; }
 
2212
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2213
  $as_echo_n "(cached) " >&6
 
2214
else
 
2215
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2216
/* end confdefs.h.  */
 
2217
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2218
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2219
#define $2 innocuous_$2
 
2220
 
 
2221
/* System header to define __stub macros and hopefully few prototypes,
 
2222
    which can conflict with char $2 (); below.
 
2223
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2224
    <limits.h> exists even on freestanding compilers.  */
 
2225
 
 
2226
#ifdef __STDC__
 
2227
# include <limits.h>
 
2228
#else
 
2229
# include <assert.h>
 
2230
#endif
 
2231
 
 
2232
#undef $2
 
2233
 
 
2234
/* Override any GCC internal prototype to avoid an error.
 
2235
   Use char because int might match the return type of a GCC
 
2236
   builtin and then its argument prototype would still apply.  */
 
2237
#ifdef __cplusplus
 
2238
extern "C"
 
2239
#endif
 
2240
char $2 ();
 
2241
/* The GNU C library defines this for functions which it implements
 
2242
    to always fail with ENOSYS.  Some functions are actually named
 
2243
    something starting with __ and the normal name is an alias.  */
 
2244
#if defined __stub_$2 || defined __stub___$2
 
2245
choke me
 
2246
#endif
 
2247
 
 
2248
int
 
2249
main ()
 
2250
{
 
2251
return $2 ();
 
2252
  ;
 
2253
  return 0;
 
2254
}
 
2255
_ACEOF
 
2256
if ac_fn_c_try_link "$LINENO"; then :
 
2257
  eval "$3=yes"
 
2258
else
 
2259
  eval "$3=no"
 
2260
fi
 
2261
rm -f core conftest.err conftest.$ac_objext \
 
2262
    conftest$ac_exeext conftest.$ac_ext
 
2263
fi
 
2264
eval ac_res=\$$3
 
2265
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2266
$as_echo "$ac_res" >&6; }
 
2267
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2268
 
 
2269
} # ac_fn_c_check_func
 
2270
 
 
2271
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2272
# -------------------------------------------------------
 
2273
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2274
# the include files in INCLUDES and setting the cache variable VAR
 
2275
# accordingly.
 
2276
ac_fn_c_check_header_mongrel ()
 
2277
{
 
2278
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2279
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2280
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2281
$as_echo_n "checking for $2... " >&6; }
 
2282
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2283
  $as_echo_n "(cached) " >&6
 
2284
fi
 
2285
eval ac_res=\$$3
 
2286
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2287
$as_echo "$ac_res" >&6; }
 
2288
else
 
2289
  # Is the header compilable?
 
2290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2291
$as_echo_n "checking $2 usability... " >&6; }
 
2292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2293
/* end confdefs.h.  */
 
2294
$4
 
2295
#include <$2>
 
2296
_ACEOF
 
2297
if ac_fn_c_try_compile "$LINENO"; then :
 
2298
  ac_header_compiler=yes
 
2299
else
 
2300
  ac_header_compiler=no
 
2301
fi
 
2302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2304
$as_echo "$ac_header_compiler" >&6; }
 
2305
 
 
2306
# Is the header present?
 
2307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2308
$as_echo_n "checking $2 presence... " >&6; }
 
2309
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2310
/* end confdefs.h.  */
 
2311
#include <$2>
 
2312
_ACEOF
 
2313
if ac_fn_c_try_cpp "$LINENO"; then :
 
2314
  ac_header_preproc=yes
 
2315
else
 
2316
  ac_header_preproc=no
 
2317
fi
 
2318
rm -f conftest.err conftest.$ac_ext
 
2319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2320
$as_echo "$ac_header_preproc" >&6; }
 
2321
 
 
2322
# So?  What about this header?
 
2323
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2324
  yes:no: )
 
2325
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2326
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2327
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2328
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2329
    ;;
 
2330
  no:yes:* )
 
2331
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2332
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2333
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2334
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2335
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2336
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2337
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2338
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2339
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2340
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2341
( cat <<\_ASBOX
 
2342
## ------------------------------------------------------ ##
 
2343
## Report this to Fabrice Rey (fabounet@users.berlios.de) ##
 
2344
## ------------------------------------------------------ ##
 
2345
_ASBOX
 
2346
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2347
    ;;
 
2348
esac
 
2349
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2350
$as_echo_n "checking for $2... " >&6; }
 
2351
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2352
  $as_echo_n "(cached) " >&6
 
2353
else
 
2354
  eval "$3=\$ac_header_compiler"
 
2355
fi
 
2356
eval ac_res=\$$3
 
2357
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2358
$as_echo "$ac_res" >&6; }
 
2359
fi
 
2360
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2361
 
 
2362
} # ac_fn_c_check_header_mongrel
 
2363
 
 
2364
# ac_fn_cxx_try_compile LINENO
 
2365
# ----------------------------
 
2366
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
2367
ac_fn_cxx_try_compile ()
 
2368
{
 
2369
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2370
  rm -f conftest.$ac_objext
 
2371
  if { { ac_try="$ac_compile"
 
2372
case "(($ac_try" in
 
2373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2374
  *) ac_try_echo=$ac_try;;
 
2375
esac
 
2376
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2377
$as_echo "$ac_try_echo"; } >&5
 
2378
  (eval "$ac_compile") 2>conftest.err
 
2379
  ac_status=$?
 
2380
  if test -s conftest.err; then
 
2381
    grep -v '^ *+' conftest.err >conftest.er1
 
2382
    cat conftest.er1 >&5
 
2383
    mv -f conftest.er1 conftest.err
 
2384
  fi
 
2385
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2386
  test $ac_status = 0; } && {
 
2387
         test -z "$ac_cxx_werror_flag" ||
 
2388
         test ! -s conftest.err
 
2389
       } && test -s conftest.$ac_objext; then :
 
2390
  ac_retval=0
 
2391
else
 
2392
  $as_echo "$as_me: failed program was:" >&5
 
2393
sed 's/^/| /' conftest.$ac_ext >&5
 
2394
 
 
2395
        ac_retval=1
 
2396
fi
 
2397
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2398
  return $ac_retval
 
2399
 
 
2400
} # ac_fn_cxx_try_compile
 
2401
 
 
2402
# ac_fn_cxx_try_cpp LINENO
 
2403
# ------------------------
 
2404
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2405
ac_fn_cxx_try_cpp ()
 
2406
{
 
2407
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2408
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2409
case "(($ac_try" in
 
2410
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2411
  *) ac_try_echo=$ac_try;;
 
2412
esac
 
2413
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2414
$as_echo "$ac_try_echo"; } >&5
 
2415
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2416
  ac_status=$?
 
2417
  if test -s conftest.err; then
 
2418
    grep -v '^ *+' conftest.err >conftest.er1
 
2419
    cat conftest.er1 >&5
 
2420
    mv -f conftest.er1 conftest.err
 
2421
  fi
 
2422
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2423
  test $ac_status = 0; } >/dev/null && {
 
2424
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2425
         test ! -s conftest.err
 
2426
       }; then :
 
2427
  ac_retval=0
 
2428
else
 
2429
  $as_echo "$as_me: failed program was:" >&5
 
2430
sed 's/^/| /' conftest.$ac_ext >&5
 
2431
 
 
2432
    ac_retval=1
 
2433
fi
 
2434
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2435
  return $ac_retval
 
2436
 
 
2437
} # ac_fn_cxx_try_cpp
 
2438
 
 
2439
# ac_fn_cxx_try_link LINENO
 
2440
# -------------------------
 
2441
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2442
ac_fn_cxx_try_link ()
 
2443
{
 
2444
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2445
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2446
  if { { ac_try="$ac_link"
 
2447
case "(($ac_try" in
 
2448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2449
  *) ac_try_echo=$ac_try;;
 
2450
esac
 
2451
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2452
$as_echo "$ac_try_echo"; } >&5
 
2453
  (eval "$ac_link") 2>conftest.err
 
2454
  ac_status=$?
 
2455
  if test -s conftest.err; then
 
2456
    grep -v '^ *+' conftest.err >conftest.er1
 
2457
    cat conftest.er1 >&5
 
2458
    mv -f conftest.er1 conftest.err
 
2459
  fi
 
2460
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2461
  test $ac_status = 0; } && {
 
2462
         test -z "$ac_cxx_werror_flag" ||
 
2463
         test ! -s conftest.err
 
2464
       } && test -s conftest$ac_exeext && {
 
2465
         test "$cross_compiling" = yes ||
 
2466
         $as_test_x conftest$ac_exeext
 
2467
       }; then :
 
2468
  ac_retval=0
 
2469
else
 
2470
  $as_echo "$as_me: failed program was:" >&5
 
2471
sed 's/^/| /' conftest.$ac_ext >&5
 
2472
 
 
2473
        ac_retval=1
 
2474
fi
 
2475
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2476
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2477
  # interfere with the next link command; also delete a directory that is
 
2478
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2479
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2480
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2481
  return $ac_retval
 
2482
 
 
2483
} # ac_fn_cxx_try_link
 
2484
cat >config.log <<_ACEOF
 
2485
This file contains any messages produced by compilers while
 
2486
running configure, to aid debugging if configure makes a mistake.
 
2487
 
 
2488
It was created by cairo-dock-plugins $as_me 2.0.8, which was
 
2489
generated by GNU Autoconf 2.64.  Invocation command line was
 
2490
 
 
2491
  $ $0 $@
 
2492
 
 
2493
_ACEOF
 
2494
exec 5>>config.log
 
2495
{
 
2496
cat <<_ASUNAME
 
2497
## --------- ##
 
2498
## Platform. ##
 
2499
## --------- ##
 
2500
 
 
2501
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2502
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2503
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2504
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2505
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2506
 
 
2507
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2508
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2509
 
 
2510
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2511
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2512
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2513
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2514
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2515
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2516
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2517
 
 
2518
_ASUNAME
 
2519
 
 
2520
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2521
for as_dir in $PATH
 
2522
do
 
2523
  IFS=$as_save_IFS
 
2524
  test -z "$as_dir" && as_dir=.
 
2525
    $as_echo "PATH: $as_dir"
 
2526
  done
 
2527
IFS=$as_save_IFS
 
2528
 
 
2529
} >&5
 
2530
 
 
2531
cat >&5 <<_ACEOF
 
2532
 
 
2533
 
 
2534
## ----------- ##
 
2535
## Core tests. ##
 
2536
## ----------- ##
 
2537
 
 
2538
_ACEOF
 
2539
 
 
2540
 
 
2541
# Keep a trace of the command line.
 
2542
# Strip out --no-create and --no-recursion so they do not pile up.
 
2543
# Strip out --silent because we don't want to record it for future runs.
 
2544
# Also quote any args containing shell meta-characters.
 
2545
# Make two passes to allow for proper duplicate-argument suppression.
 
2546
ac_configure_args=
 
2547
ac_configure_args0=
 
2548
ac_configure_args1=
 
2549
ac_must_keep_next=false
 
2550
for ac_pass in 1 2
 
2551
do
 
2552
  for ac_arg
 
2553
  do
 
2554
    case $ac_arg in
 
2555
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2556
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2557
    | -silent | --silent | --silen | --sile | --sil)
 
2558
      continue ;;
 
2559
    *\'*)
 
2560
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2561
    esac
 
2562
    case $ac_pass in
 
2563
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2564
    2)
 
2565
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2566
      if test $ac_must_keep_next = true; then
 
2567
        ac_must_keep_next=false # Got value, back to normal.
 
2568
      else
 
2569
        case $ac_arg in
 
2570
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2571
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2572
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2573
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2574
            case "$ac_configure_args0 " in
 
2575
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2576
            esac
 
2577
            ;;
 
2578
          -* ) ac_must_keep_next=true ;;
 
2579
        esac
 
2580
      fi
 
2581
      as_fn_append ac_configure_args " '$ac_arg'"
 
2582
      ;;
 
2583
    esac
 
2584
  done
 
2585
done
 
2586
{ ac_configure_args0=; unset ac_configure_args0;}
 
2587
{ ac_configure_args1=; unset ac_configure_args1;}
 
2588
 
 
2589
# When interrupted or exit'd, cleanup temporary files, and complete
 
2590
# config.log.  We remove comments because anyway the quotes in there
 
2591
# would cause problems or look ugly.
 
2592
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2593
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2594
trap 'exit_status=$?
 
2595
  # Save into config.log some information that might help in debugging.
 
2596
  {
 
2597
    echo
 
2598
 
 
2599
    cat <<\_ASBOX
 
2600
## ---------------- ##
 
2601
## Cache variables. ##
 
2602
## ---------------- ##
 
2603
_ASBOX
 
2604
    echo
 
2605
    # The following way of writing the cache mishandles newlines in values,
 
2606
(
 
2607
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2608
    eval ac_val=\$$ac_var
 
2609
    case $ac_val in #(
 
2610
    *${as_nl}*)
 
2611
      case $ac_var in #(
 
2612
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2613
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2614
      esac
 
2615
      case $ac_var in #(
 
2616
      _ | IFS | as_nl) ;; #(
 
2617
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2618
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2619
      esac ;;
 
2620
    esac
 
2621
  done
 
2622
  (set) 2>&1 |
 
2623
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2624
    *${as_nl}ac_space=\ *)
 
2625
      sed -n \
 
2626
        "s/'\''/'\''\\\\'\'''\''/g;
 
2627
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2628
      ;; #(
 
2629
    *)
 
2630
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2631
      ;;
 
2632
    esac |
 
2633
    sort
 
2634
)
 
2635
    echo
 
2636
 
 
2637
    cat <<\_ASBOX
 
2638
## ----------------- ##
 
2639
## Output variables. ##
 
2640
## ----------------- ##
 
2641
_ASBOX
 
2642
    echo
 
2643
    for ac_var in $ac_subst_vars
 
2644
    do
 
2645
      eval ac_val=\$$ac_var
 
2646
      case $ac_val in
 
2647
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2648
      esac
 
2649
      $as_echo "$ac_var='\''$ac_val'\''"
 
2650
    done | sort
 
2651
    echo
 
2652
 
 
2653
    if test -n "$ac_subst_files"; then
 
2654
      cat <<\_ASBOX
 
2655
## ------------------- ##
 
2656
## File substitutions. ##
 
2657
## ------------------- ##
 
2658
_ASBOX
 
2659
      echo
 
2660
      for ac_var in $ac_subst_files
 
2661
      do
 
2662
        eval ac_val=\$$ac_var
 
2663
        case $ac_val in
 
2664
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2665
        esac
 
2666
        $as_echo "$ac_var='\''$ac_val'\''"
 
2667
      done | sort
 
2668
      echo
 
2669
    fi
 
2670
 
 
2671
    if test -s confdefs.h; then
 
2672
      cat <<\_ASBOX
 
2673
## ----------- ##
 
2674
## confdefs.h. ##
 
2675
## ----------- ##
 
2676
_ASBOX
 
2677
      echo
 
2678
      cat confdefs.h
 
2679
      echo
 
2680
    fi
 
2681
    test "$ac_signal" != 0 &&
 
2682
      $as_echo "$as_me: caught signal $ac_signal"
 
2683
    $as_echo "$as_me: exit $exit_status"
 
2684
  } >&5
 
2685
  rm -f core *.core core.conftest.* &&
 
2686
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2687
    exit $exit_status
 
2688
' 0
 
2689
for ac_signal in 1 2 13 15; do
 
2690
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2691
done
 
2692
ac_signal=0
 
2693
 
 
2694
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2695
rm -f -r conftest* confdefs.h
 
2696
 
 
2697
$as_echo "/* confdefs.h */" > confdefs.h
 
2698
 
 
2699
# Predefined preprocessor variables.
 
2700
 
 
2701
cat >>confdefs.h <<_ACEOF
 
2702
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2703
_ACEOF
 
2704
 
 
2705
cat >>confdefs.h <<_ACEOF
 
2706
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2707
_ACEOF
 
2708
 
 
2709
cat >>confdefs.h <<_ACEOF
 
2710
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2711
_ACEOF
 
2712
 
 
2713
cat >>confdefs.h <<_ACEOF
 
2714
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2715
_ACEOF
 
2716
 
 
2717
cat >>confdefs.h <<_ACEOF
 
2718
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2719
_ACEOF
 
2720
 
 
2721
cat >>confdefs.h <<_ACEOF
 
2722
#define PACKAGE_URL "$PACKAGE_URL"
 
2723
_ACEOF
 
2724
 
 
2725
 
 
2726
# Let the site file select an alternate cache file if it wants to.
 
2727
# Prefer an explicitly selected file to automatically selected ones.
 
2728
ac_site_file1=NONE
 
2729
ac_site_file2=NONE
 
2730
if test -n "$CONFIG_SITE"; then
 
2731
  ac_site_file1=$CONFIG_SITE
 
2732
elif test "x$prefix" != xNONE; then
 
2733
  ac_site_file1=$prefix/share/config.site
 
2734
  ac_site_file2=$prefix/etc/config.site
 
2735
else
 
2736
  ac_site_file1=$ac_default_prefix/share/config.site
 
2737
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2738
fi
 
2739
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2740
do
 
2741
  test "x$ac_site_file" = xNONE && continue
 
2742
  if test -r "$ac_site_file"; then
 
2743
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2744
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2745
    sed 's/^/| /' "$ac_site_file" >&5
 
2746
    . "$ac_site_file"
 
2747
  fi
 
2748
done
 
2749
 
 
2750
if test -r "$cache_file"; then
 
2751
  # Some versions of bash will fail to source /dev/null (special
 
2752
  # files actually), so we avoid doing that.
 
2753
  if test -f "$cache_file"; then
 
2754
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2755
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2756
    case $cache_file in
 
2757
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2758
      *)                      . "./$cache_file";;
 
2759
    esac
 
2760
  fi
 
2761
else
 
2762
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2763
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2764
  >$cache_file
 
2765
fi
 
2766
 
 
2767
# Check that the precious variables saved in the cache have kept the same
 
2768
# value.
 
2769
ac_cache_corrupted=false
 
2770
for ac_var in $ac_precious_vars; do
 
2771
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2772
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2773
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2774
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2775
  case $ac_old_set,$ac_new_set in
 
2776
    set,)
 
2777
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2778
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2779
      ac_cache_corrupted=: ;;
 
2780
    ,set)
 
2781
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2782
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2783
      ac_cache_corrupted=: ;;
 
2784
    ,);;
 
2785
    *)
 
2786
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2787
        # differences in whitespace do not lead to failure.
 
2788
        ac_old_val_w=`echo x $ac_old_val`
 
2789
        ac_new_val_w=`echo x $ac_new_val`
 
2790
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2791
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2792
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2793
          ac_cache_corrupted=:
 
2794
        else
 
2795
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2796
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2797
          eval $ac_var=\$ac_old_val
 
2798
        fi
 
2799
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2800
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2801
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2802
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2803
      fi;;
 
2804
  esac
 
2805
  # Pass precious variables to config.status.
 
2806
  if test "$ac_new_set" = set; then
 
2807
    case $ac_new_val in
 
2808
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2809
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2810
    esac
 
2811
    case " $ac_configure_args " in
 
2812
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2813
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2814
    esac
 
2815
  fi
 
2816
done
 
2817
if $ac_cache_corrupted; then
 
2818
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2820
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2821
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2822
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2823
fi
 
2824
## -------------------- ##
 
2825
## Main body of script. ##
 
2826
## -------------------- ##
 
2827
 
 
2828
ac_ext=c
 
2829
ac_cpp='$CPP $CPPFLAGS'
 
2830
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2831
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2832
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2833
 
 
2834
 
 
2835
 
 
2836
ac_config_headers="$ac_config_headers config.h"
 
2837
 
 
2838
 
 
2839
am__api_version='1.10'
 
2840
 
 
2841
ac_aux_dir=
 
2842
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2843
  for ac_t in install-sh install.sh shtool; do
 
2844
    if test -f "$ac_dir/$ac_t"; then
 
2845
      ac_aux_dir=$ac_dir
 
2846
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2847
      break 2
 
2848
    fi
 
2849
  done
 
2850
done
 
2851
if test -z "$ac_aux_dir"; then
 
2852
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2853
fi
 
2854
 
 
2855
# These three variables are undocumented and unsupported,
 
2856
# and are intended to be withdrawn in a future Autoconf release.
 
2857
# They can cause serious problems if a builder's source tree is in a directory
 
2858
# whose full name contains unusual characters.
 
2859
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2860
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2861
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2862
 
 
2863
 
 
2864
# Find a good install program.  We prefer a C program (faster),
 
2865
# so one script is as good as another.  But avoid the broken or
 
2866
# incompatible versions:
 
2867
# SysV /etc/install, /usr/sbin/install
 
2868
# SunOS /usr/etc/install
 
2869
# IRIX /sbin/install
 
2870
# AIX /bin/install
 
2871
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2872
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2873
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2874
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2875
# OS/2's system install, which has a completely different semantic
 
2876
# ./install, which can be erroneously created by make from ./install.sh.
 
2877
# Reject install programs that cannot install multiple files.
 
2878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2879
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2880
if test -z "$INSTALL"; then
 
2881
if test "${ac_cv_path_install+set}" = set; then :
 
2882
  $as_echo_n "(cached) " >&6
 
2883
else
 
2884
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2885
for as_dir in $PATH
 
2886
do
 
2887
  IFS=$as_save_IFS
 
2888
  test -z "$as_dir" && as_dir=.
 
2889
    # Account for people who put trailing slashes in PATH elements.
 
2890
case $as_dir/ in #((
 
2891
  ./ | .// | /[cC]/* | \
 
2892
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2893
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2894
  /usr/ucb/* ) ;;
 
2895
  *)
 
2896
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2897
    # Don't use installbsd from OSF since it installs stuff as root
 
2898
    # by default.
 
2899
    for ac_prog in ginstall scoinst install; do
 
2900
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2901
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2902
          if test $ac_prog = install &&
 
2903
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2904
            # AIX install.  It has an incompatible calling convention.
 
2905
            :
 
2906
          elif test $ac_prog = install &&
 
2907
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2908
            # program-specific install script used by HP pwplus--don't use.
 
2909
            :
 
2910
          else
 
2911
            rm -rf conftest.one conftest.two conftest.dir
 
2912
            echo one > conftest.one
 
2913
            echo two > conftest.two
 
2914
            mkdir conftest.dir
 
2915
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2916
              test -s conftest.one && test -s conftest.two &&
 
2917
              test -s conftest.dir/conftest.one &&
 
2918
              test -s conftest.dir/conftest.two
 
2919
            then
 
2920
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2921
              break 3
 
2922
            fi
 
2923
          fi
 
2924
        fi
 
2925
      done
 
2926
    done
 
2927
    ;;
 
2928
esac
 
2929
 
 
2930
  done
 
2931
IFS=$as_save_IFS
 
2932
 
 
2933
rm -rf conftest.one conftest.two conftest.dir
 
2934
 
 
2935
fi
 
2936
  if test "${ac_cv_path_install+set}" = set; then
 
2937
    INSTALL=$ac_cv_path_install
 
2938
  else
 
2939
    # As a last resort, use the slow shell script.  Don't cache a
 
2940
    # value for INSTALL within a source directory, because that will
 
2941
    # break other packages using the cache if that directory is
 
2942
    # removed, or if the value is a relative name.
 
2943
    INSTALL=$ac_install_sh
 
2944
  fi
 
2945
fi
 
2946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2947
$as_echo "$INSTALL" >&6; }
 
2948
 
 
2949
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2950
# It thinks the first close brace ends the variable substitution.
 
2951
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2952
 
 
2953
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2954
 
 
2955
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2956
 
 
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2958
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2959
# Just in case
 
2960
sleep 1
 
2961
echo timestamp > conftest.file
 
2962
# Do `set' in a subshell so we don't clobber the current shell's
 
2963
# arguments.  Must try -L first in case configure is actually a
 
2964
# symlink; some systems play weird games with the mod time of symlinks
 
2965
# (eg FreeBSD returns the mod time of the symlink's containing
 
2966
# directory).
 
2967
if (
 
2968
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2969
   if test "$*" = "X"; then
 
2970
      # -L didn't work.
 
2971
      set X `ls -t $srcdir/configure conftest.file`
 
2972
   fi
 
2973
   rm -f conftest.file
 
2974
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2975
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2976
 
 
2977
      # If neither matched, then we have a broken ls.  This can happen
 
2978
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2979
      # broken ls alias from the environment.  This has actually
 
2980
      # happened.  Such a system could not be considered "sane".
 
2981
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2982
alias in your environment" "$LINENO" 5
 
2983
   fi
 
2984
 
 
2985
   test "$2" = conftest.file
 
2986
   )
 
2987
then
 
2988
   # Ok.
 
2989
   :
 
2990
else
 
2991
   as_fn_error "newly created file is older than distributed files!
 
2992
Check your system clock" "$LINENO" 5
 
2993
fi
 
2994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2995
$as_echo "yes" >&6; }
 
2996
test "$program_prefix" != NONE &&
 
2997
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2998
# Use a double $ so make ignores it.
 
2999
test "$program_suffix" != NONE &&
 
3000
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
3001
# Double any \ or $.
 
3002
# By default was `s,x,x', remove it if useless.
 
3003
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
3004
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
3005
 
 
3006
# expand $ac_aux_dir to an absolute path
 
3007
am_aux_dir=`cd $ac_aux_dir && pwd`
 
3008
 
 
3009
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
3010
# Use eval to expand $SHELL
 
3011
if eval "$MISSING --run true"; then
 
3012
  am_missing_run="$MISSING --run "
 
3013
else
 
3014
  am_missing_run=
 
3015
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
3016
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
3017
fi
 
3018
 
 
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3020
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
3021
if test -z "$MKDIR_P"; then
 
3022
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3023
  $as_echo_n "(cached) " >&6
 
3024
else
 
3025
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3026
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
3027
do
 
3028
  IFS=$as_save_IFS
 
3029
  test -z "$as_dir" && as_dir=.
 
3030
    for ac_prog in mkdir gmkdir; do
 
3031
         for ac_exec_ext in '' $ac_executable_extensions; do
 
3032
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
3033
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
3034
             'mkdir (GNU coreutils) '* | \
 
3035
             'mkdir (coreutils) '* | \
 
3036
             'mkdir (fileutils) '4.1*)
 
3037
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
3038
               break 3;;
 
3039
           esac
 
3040
         done
 
3041
       done
 
3042
  done
 
3043
IFS=$as_save_IFS
 
3044
 
 
3045
fi
 
3046
 
 
3047
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3048
    MKDIR_P="$ac_cv_path_mkdir -p"
 
3049
  else
 
3050
    # As a last resort, use the slow shell script.  Don't cache a
 
3051
    # value for MKDIR_P within a source directory, because that will
 
3052
    # break other packages using the cache if that directory is
 
3053
    # removed, or if the value is a relative name.
 
3054
    test -d ./--version && rmdir ./--version
 
3055
    MKDIR_P="$ac_install_sh -d"
 
3056
  fi
 
3057
fi
 
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3059
$as_echo "$MKDIR_P" >&6; }
 
3060
 
 
3061
mkdir_p="$MKDIR_P"
 
3062
case $mkdir_p in
 
3063
  [\\/$]* | ?:[\\/]*) ;;
 
3064
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
3065
esac
 
3066
 
 
3067
for ac_prog in gawk mawk nawk awk
 
3068
do
 
3069
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3070
set dummy $ac_prog; ac_word=$2
 
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3072
$as_echo_n "checking for $ac_word... " >&6; }
 
3073
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3074
  $as_echo_n "(cached) " >&6
 
3075
else
 
3076
  if test -n "$AWK"; then
 
3077
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
3078
else
 
3079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3080
for as_dir in $PATH
 
3081
do
 
3082
  IFS=$as_save_IFS
 
3083
  test -z "$as_dir" && as_dir=.
 
3084
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3086
    ac_cv_prog_AWK="$ac_prog"
 
3087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3088
    break 2
 
3089
  fi
 
3090
done
 
3091
  done
 
3092
IFS=$as_save_IFS
 
3093
 
 
3094
fi
 
3095
fi
 
3096
AWK=$ac_cv_prog_AWK
 
3097
if test -n "$AWK"; then
 
3098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3099
$as_echo "$AWK" >&6; }
 
3100
else
 
3101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3102
$as_echo "no" >&6; }
 
3103
fi
 
3104
 
 
3105
 
 
3106
  test -n "$AWK" && break
 
3107
done
 
3108
 
 
3109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3110
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3111
set x ${MAKE-make}
 
3112
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3113
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3114
  $as_echo_n "(cached) " >&6
 
3115
else
 
3116
  cat >conftest.make <<\_ACEOF
 
3117
SHELL = /bin/sh
 
3118
all:
 
3119
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3120
_ACEOF
 
3121
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3122
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3123
  *@@@%%%=?*=@@@%%%*)
 
3124
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3125
  *)
 
3126
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3127
esac
 
3128
rm -f conftest.make
 
3129
fi
 
3130
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3132
$as_echo "yes" >&6; }
 
3133
  SET_MAKE=
 
3134
else
 
3135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3136
$as_echo "no" >&6; }
 
3137
  SET_MAKE="MAKE=${MAKE-make}"
 
3138
fi
 
3139
 
 
3140
rm -rf .tst 2>/dev/null
 
3141
mkdir .tst 2>/dev/null
 
3142
if test -d .tst; then
 
3143
  am__leading_dot=.
 
3144
else
 
3145
  am__leading_dot=_
 
3146
fi
 
3147
rmdir .tst 2>/dev/null
 
3148
 
 
3149
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3150
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3151
  # is not polluted with repeated "-I."
 
3152
  am__isrc=' -I$(srcdir)'
 
3153
  # test to see if srcdir already configured
 
3154
  if test -f $srcdir/config.status; then
 
3155
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3156
  fi
 
3157
fi
 
3158
 
 
3159
# test whether we have cygpath
 
3160
if test -z "$CYGPATH_W"; then
 
3161
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3162
    CYGPATH_W='cygpath -w'
 
3163
  else
 
3164
    CYGPATH_W=echo
 
3165
  fi
 
3166
fi
 
3167
 
 
3168
 
 
3169
# Define the identity of the package.
 
3170
 PACKAGE='cairo-dock-plugins'
 
3171
 VERSION='2.0.8'
 
3172
 
 
3173
 
 
3174
cat >>confdefs.h <<_ACEOF
 
3175
#define PACKAGE "$PACKAGE"
 
3176
_ACEOF
 
3177
 
 
3178
 
 
3179
cat >>confdefs.h <<_ACEOF
 
3180
#define VERSION "$VERSION"
 
3181
_ACEOF
 
3182
 
 
3183
# Some tools Automake needs.
 
3184
 
 
3185
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3186
 
 
3187
 
 
3188
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3189
 
 
3190
 
 
3191
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3192
 
 
3193
 
 
3194
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3195
 
 
3196
 
 
3197
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3198
 
 
3199
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
3200
 
 
3201
# Installed binaries are usually stripped using `strip' when the user
 
3202
# run `make install-strip'.  However `strip' might not be the right
 
3203
# tool to use in cross-compilation environments, therefore Automake
 
3204
# will honor the `STRIP' environment variable to overrule this program.
 
3205
if test "$cross_compiling" != no; then
 
3206
  if test -n "$ac_tool_prefix"; then
 
3207
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3208
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3210
$as_echo_n "checking for $ac_word... " >&6; }
 
3211
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3212
  $as_echo_n "(cached) " >&6
 
3213
else
 
3214
  if test -n "$STRIP"; then
 
3215
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3216
else
 
3217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3218
for as_dir in $PATH
 
3219
do
 
3220
  IFS=$as_save_IFS
 
3221
  test -z "$as_dir" && as_dir=.
 
3222
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3223
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3224
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3225
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3226
    break 2
 
3227
  fi
 
3228
done
 
3229
  done
 
3230
IFS=$as_save_IFS
 
3231
 
 
3232
fi
 
3233
fi
 
3234
STRIP=$ac_cv_prog_STRIP
 
3235
if test -n "$STRIP"; then
 
3236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3237
$as_echo "$STRIP" >&6; }
 
3238
else
 
3239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3240
$as_echo "no" >&6; }
 
3241
fi
 
3242
 
 
3243
 
 
3244
fi
 
3245
if test -z "$ac_cv_prog_STRIP"; then
 
3246
  ac_ct_STRIP=$STRIP
 
3247
  # Extract the first word of "strip", so it can be a program name with args.
 
3248
set dummy strip; ac_word=$2
 
3249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3250
$as_echo_n "checking for $ac_word... " >&6; }
 
3251
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3252
  $as_echo_n "(cached) " >&6
 
3253
else
 
3254
  if test -n "$ac_ct_STRIP"; then
 
3255
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3256
else
 
3257
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3258
for as_dir in $PATH
 
3259
do
 
3260
  IFS=$as_save_IFS
 
3261
  test -z "$as_dir" && as_dir=.
 
3262
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3263
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3264
    ac_cv_prog_ac_ct_STRIP="strip"
 
3265
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3266
    break 2
 
3267
  fi
 
3268
done
 
3269
  done
 
3270
IFS=$as_save_IFS
 
3271
 
 
3272
fi
 
3273
fi
 
3274
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3275
if test -n "$ac_ct_STRIP"; then
 
3276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3277
$as_echo "$ac_ct_STRIP" >&6; }
 
3278
else
 
3279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3280
$as_echo "no" >&6; }
 
3281
fi
 
3282
 
 
3283
  if test "x$ac_ct_STRIP" = x; then
 
3284
    STRIP=":"
 
3285
  else
 
3286
    case $cross_compiling:$ac_tool_warned in
 
3287
yes:)
 
3288
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3289
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3290
ac_tool_warned=yes ;;
 
3291
esac
 
3292
    STRIP=$ac_ct_STRIP
 
3293
  fi
 
3294
else
 
3295
  STRIP="$ac_cv_prog_STRIP"
 
3296
fi
 
3297
 
 
3298
fi
 
3299
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3300
 
 
3301
# We need awk for the "check" target.  The system "awk" is bad on
 
3302
# some platforms.
 
3303
# Always define AMTAR for backward compatibility.
 
3304
 
 
3305
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
3306
 
 
3307
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3308
 
 
3309
 
 
3310
 
 
3311
 
 
3312
 
 
3313
# Check whether --enable-static was given.
 
3314
if test "${enable_static+set}" = set; then :
 
3315
  enableval=$enable_static; p=${PACKAGE-default}
 
3316
    case $enableval in
 
3317
    yes) enable_static=yes ;;
 
3318
    no) enable_static=no ;;
 
3319
    *)
 
3320
     enable_static=no
 
3321
      # Look at the argument we got.  We use all the common list separators.
 
3322
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
3323
      for pkg in $enableval; do
 
3324
        IFS="$lt_save_ifs"
 
3325
        if test "X$pkg" = "X$p"; then
 
3326
          enable_static=yes
 
3327
        fi
 
3328
      done
 
3329
      IFS="$lt_save_ifs"
 
3330
      ;;
 
3331
    esac
 
3332
else
 
3333
  enable_static=no
 
3334
fi
 
3335
 
 
3336
 
 
3337
 
 
3338
 
 
3339
 
 
3340
 
 
3341
 
 
3342
 
 
3343
 
 
3344
case `pwd` in
 
3345
  *\ * | *\     *)
 
3346
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3347
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3348
esac
 
3349
 
 
3350
 
 
3351
 
 
3352
macro_version='2.2.6'
 
3353
macro_revision='1.3012'
 
3354
 
 
3355
 
 
3356
 
 
3357
 
 
3358
 
 
3359
 
 
3360
 
 
3361
 
 
3362
 
 
3363
 
 
3364
 
 
3365
 
 
3366
 
 
3367
ltmain="$ac_aux_dir/ltmain.sh"
 
3368
 
 
3369
# Make sure we can run config.sub.
 
3370
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3371
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
3372
 
 
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
3374
$as_echo_n "checking build system type... " >&6; }
 
3375
if test "${ac_cv_build+set}" = set; then :
 
3376
  $as_echo_n "(cached) " >&6
 
3377
else
 
3378
  ac_build_alias=$build_alias
 
3379
test "x$ac_build_alias" = x &&
 
3380
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3381
test "x$ac_build_alias" = x &&
 
3382
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
3383
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3384
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
3385
 
 
3386
fi
 
3387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
3388
$as_echo "$ac_cv_build" >&6; }
 
3389
case $ac_cv_build in
 
3390
*-*-*) ;;
 
3391
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
3392
esac
 
3393
build=$ac_cv_build
 
3394
ac_save_IFS=$IFS; IFS='-'
 
3395
set x $ac_cv_build
 
3396
shift
 
3397
build_cpu=$1
 
3398
build_vendor=$2
 
3399
shift; shift
 
3400
# Remember, the first character of IFS is used to create $*,
 
3401
# except with old shells:
 
3402
build_os=$*
 
3403
IFS=$ac_save_IFS
 
3404
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3405
 
 
3406
 
 
3407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
3408
$as_echo_n "checking host system type... " >&6; }
 
3409
if test "${ac_cv_host+set}" = set; then :
 
3410
  $as_echo_n "(cached) " >&6
 
3411
else
 
3412
  if test "x$host_alias" = x; then
 
3413
  ac_cv_host=$ac_cv_build
 
3414
else
 
3415
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3416
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
3417
fi
 
3418
 
 
3419
fi
 
3420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
3421
$as_echo "$ac_cv_host" >&6; }
 
3422
case $ac_cv_host in
 
3423
*-*-*) ;;
 
3424
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
3425
esac
 
3426
host=$ac_cv_host
 
3427
ac_save_IFS=$IFS; IFS='-'
 
3428
set x $ac_cv_host
 
3429
shift
 
3430
host_cpu=$1
 
3431
host_vendor=$2
 
3432
shift; shift
 
3433
# Remember, the first character of IFS is used to create $*,
 
3434
# except with old shells:
 
3435
host_os=$*
 
3436
IFS=$ac_save_IFS
 
3437
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3438
 
 
3439
 
 
3440
DEPDIR="${am__leading_dot}deps"
 
3441
 
 
3442
ac_config_commands="$ac_config_commands depfiles"
 
3443
 
 
3444
 
 
3445
am_make=${MAKE-make}
 
3446
cat > confinc << 'END'
 
3447
am__doit:
 
3448
        @echo done
 
3449
.PHONY: am__doit
 
3450
END
 
3451
# If we don't find an include directive, just comment out the code.
 
3452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3453
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3454
am__include="#"
 
3455
am__quote=
 
3456
_am_result=none
 
3457
# First try GNU make style include.
 
3458
echo "include confinc" > confmf
 
3459
# We grep out `Entering directory' and `Leaving directory'
 
3460
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3461
# In particular we don't look at `^make:' because GNU make might
 
3462
# be invoked under some other name (usually "gmake"), in which
 
3463
# case it prints its new name instead of `make'.
 
3464
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3465
   am__include=include
 
3466
   am__quote=
 
3467
   _am_result=GNU
 
3468
fi
 
3469
# Now try BSD make style include.
 
3470
if test "$am__include" = "#"; then
 
3471
   echo '.include "confinc"' > confmf
 
3472
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3473
      am__include=.include
 
3474
      am__quote="\""
 
3475
      _am_result=BSD
 
3476
   fi
 
3477
fi
 
3478
 
 
3479
 
 
3480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3481
$as_echo "$_am_result" >&6; }
 
3482
rm -f confinc confmf
 
3483
 
 
3484
# Check whether --enable-dependency-tracking was given.
 
3485
if test "${enable_dependency_tracking+set}" = set; then :
 
3486
  enableval=$enable_dependency_tracking;
 
3487
fi
 
3488
 
 
3489
if test "x$enable_dependency_tracking" != xno; then
 
3490
  am_depcomp="$ac_aux_dir/depcomp"
 
3491
  AMDEPBACKSLASH='\'
 
3492
fi
 
3493
 if test "x$enable_dependency_tracking" != xno; then
 
3494
  AMDEP_TRUE=
 
3495
  AMDEP_FALSE='#'
 
3496
else
 
3497
  AMDEP_TRUE='#'
 
3498
  AMDEP_FALSE=
 
3499
fi
 
3500
 
 
3501
 
 
3502
ac_ext=c
 
3503
ac_cpp='$CPP $CPPFLAGS'
 
3504
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3505
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3506
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3507
if test -n "$ac_tool_prefix"; then
 
3508
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3509
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3511
$as_echo_n "checking for $ac_word... " >&6; }
 
3512
if test "${ac_cv_prog_CC+set}" = set; then :
 
3513
  $as_echo_n "(cached) " >&6
 
3514
else
 
3515
  if test -n "$CC"; then
 
3516
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3517
else
 
3518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3519
for as_dir in $PATH
 
3520
do
 
3521
  IFS=$as_save_IFS
 
3522
  test -z "$as_dir" && as_dir=.
 
3523
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3524
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3525
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3526
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3527
    break 2
 
3528
  fi
 
3529
done
 
3530
  done
 
3531
IFS=$as_save_IFS
 
3532
 
 
3533
fi
 
3534
fi
 
3535
CC=$ac_cv_prog_CC
 
3536
if test -n "$CC"; then
 
3537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3538
$as_echo "$CC" >&6; }
 
3539
else
 
3540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3541
$as_echo "no" >&6; }
 
3542
fi
 
3543
 
 
3544
 
 
3545
fi
 
3546
if test -z "$ac_cv_prog_CC"; then
 
3547
  ac_ct_CC=$CC
 
3548
  # Extract the first word of "gcc", so it can be a program name with args.
 
3549
set dummy gcc; ac_word=$2
 
3550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3551
$as_echo_n "checking for $ac_word... " >&6; }
 
3552
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3553
  $as_echo_n "(cached) " >&6
 
3554
else
 
3555
  if test -n "$ac_ct_CC"; then
 
3556
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3557
else
 
3558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3559
for as_dir in $PATH
 
3560
do
 
3561
  IFS=$as_save_IFS
 
3562
  test -z "$as_dir" && as_dir=.
 
3563
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3564
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3565
    ac_cv_prog_ac_ct_CC="gcc"
 
3566
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3567
    break 2
 
3568
  fi
 
3569
done
 
3570
  done
 
3571
IFS=$as_save_IFS
 
3572
 
 
3573
fi
 
3574
fi
 
3575
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3576
if test -n "$ac_ct_CC"; then
 
3577
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3578
$as_echo "$ac_ct_CC" >&6; }
 
3579
else
 
3580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3581
$as_echo "no" >&6; }
 
3582
fi
 
3583
 
 
3584
  if test "x$ac_ct_CC" = x; then
 
3585
    CC=""
 
3586
  else
 
3587
    case $cross_compiling:$ac_tool_warned in
 
3588
yes:)
 
3589
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3590
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3591
ac_tool_warned=yes ;;
 
3592
esac
 
3593
    CC=$ac_ct_CC
 
3594
  fi
 
3595
else
 
3596
  CC="$ac_cv_prog_CC"
 
3597
fi
 
3598
 
 
3599
if test -z "$CC"; then
 
3600
          if test -n "$ac_tool_prefix"; then
 
3601
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3602
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3604
$as_echo_n "checking for $ac_word... " >&6; }
 
3605
if test "${ac_cv_prog_CC+set}" = set; then :
 
3606
  $as_echo_n "(cached) " >&6
 
3607
else
 
3608
  if test -n "$CC"; then
 
3609
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3610
else
 
3611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3612
for as_dir in $PATH
 
3613
do
 
3614
  IFS=$as_save_IFS
 
3615
  test -z "$as_dir" && as_dir=.
 
3616
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3617
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3618
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3619
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3620
    break 2
 
3621
  fi
 
3622
done
 
3623
  done
 
3624
IFS=$as_save_IFS
 
3625
 
 
3626
fi
 
3627
fi
 
3628
CC=$ac_cv_prog_CC
 
3629
if test -n "$CC"; then
 
3630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3631
$as_echo "$CC" >&6; }
 
3632
else
 
3633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3634
$as_echo "no" >&6; }
 
3635
fi
 
3636
 
 
3637
 
 
3638
  fi
 
3639
fi
 
3640
if test -z "$CC"; then
 
3641
  # Extract the first word of "cc", so it can be a program name with args.
 
3642
set dummy cc; ac_word=$2
 
3643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3644
$as_echo_n "checking for $ac_word... " >&6; }
 
3645
if test "${ac_cv_prog_CC+set}" = set; then :
 
3646
  $as_echo_n "(cached) " >&6
 
3647
else
 
3648
  if test -n "$CC"; then
 
3649
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3650
else
 
3651
  ac_prog_rejected=no
 
3652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3653
for as_dir in $PATH
 
3654
do
 
3655
  IFS=$as_save_IFS
 
3656
  test -z "$as_dir" && as_dir=.
 
3657
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3659
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3660
       ac_prog_rejected=yes
 
3661
       continue
 
3662
     fi
 
3663
    ac_cv_prog_CC="cc"
 
3664
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3665
    break 2
 
3666
  fi
 
3667
done
 
3668
  done
 
3669
IFS=$as_save_IFS
 
3670
 
 
3671
if test $ac_prog_rejected = yes; then
 
3672
  # We found a bogon in the path, so make sure we never use it.
 
3673
  set dummy $ac_cv_prog_CC
 
3674
  shift
 
3675
  if test $# != 0; then
 
3676
    # We chose a different compiler from the bogus one.
 
3677
    # However, it has the same basename, so the bogon will be chosen
 
3678
    # first if we set CC to just the basename; use the full file name.
 
3679
    shift
 
3680
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3681
  fi
 
3682
fi
 
3683
fi
 
3684
fi
 
3685
CC=$ac_cv_prog_CC
 
3686
if test -n "$CC"; then
 
3687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3688
$as_echo "$CC" >&6; }
 
3689
else
 
3690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3691
$as_echo "no" >&6; }
 
3692
fi
 
3693
 
 
3694
 
 
3695
fi
 
3696
if test -z "$CC"; then
 
3697
  if test -n "$ac_tool_prefix"; then
 
3698
  for ac_prog in cl.exe
 
3699
  do
 
3700
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3701
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3703
$as_echo_n "checking for $ac_word... " >&6; }
 
3704
if test "${ac_cv_prog_CC+set}" = set; then :
 
3705
  $as_echo_n "(cached) " >&6
 
3706
else
 
3707
  if test -n "$CC"; then
 
3708
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3709
else
 
3710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3711
for as_dir in $PATH
 
3712
do
 
3713
  IFS=$as_save_IFS
 
3714
  test -z "$as_dir" && as_dir=.
 
3715
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3716
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3717
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3718
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3719
    break 2
 
3720
  fi
 
3721
done
 
3722
  done
 
3723
IFS=$as_save_IFS
 
3724
 
 
3725
fi
 
3726
fi
 
3727
CC=$ac_cv_prog_CC
 
3728
if test -n "$CC"; then
 
3729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3730
$as_echo "$CC" >&6; }
 
3731
else
 
3732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3733
$as_echo "no" >&6; }
 
3734
fi
 
3735
 
 
3736
 
 
3737
    test -n "$CC" && break
 
3738
  done
 
3739
fi
 
3740
if test -z "$CC"; then
 
3741
  ac_ct_CC=$CC
 
3742
  for ac_prog in cl.exe
 
3743
do
 
3744
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3745
set dummy $ac_prog; ac_word=$2
 
3746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3747
$as_echo_n "checking for $ac_word... " >&6; }
 
3748
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3749
  $as_echo_n "(cached) " >&6
 
3750
else
 
3751
  if test -n "$ac_ct_CC"; then
 
3752
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3753
else
 
3754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3755
for as_dir in $PATH
 
3756
do
 
3757
  IFS=$as_save_IFS
 
3758
  test -z "$as_dir" && as_dir=.
 
3759
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3761
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3762
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3763
    break 2
 
3764
  fi
 
3765
done
 
3766
  done
 
3767
IFS=$as_save_IFS
 
3768
 
 
3769
fi
 
3770
fi
 
3771
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3772
if test -n "$ac_ct_CC"; then
 
3773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3774
$as_echo "$ac_ct_CC" >&6; }
 
3775
else
 
3776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3777
$as_echo "no" >&6; }
 
3778
fi
 
3779
 
 
3780
 
 
3781
  test -n "$ac_ct_CC" && break
 
3782
done
 
3783
 
 
3784
  if test "x$ac_ct_CC" = x; then
 
3785
    CC=""
 
3786
  else
 
3787
    case $cross_compiling:$ac_tool_warned in
 
3788
yes:)
 
3789
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3790
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3791
ac_tool_warned=yes ;;
 
3792
esac
 
3793
    CC=$ac_ct_CC
 
3794
  fi
 
3795
fi
 
3796
 
 
3797
fi
 
3798
 
 
3799
 
 
3800
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3801
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3802
as_fn_error "no acceptable C compiler found in \$PATH
 
3803
See \`config.log' for more details." "$LINENO" 5; }
 
3804
 
 
3805
# Provide some information about the compiler.
 
3806
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3807
set X $ac_compile
 
3808
ac_compiler=$2
 
3809
for ac_option in --version -v -V -qversion; do
 
3810
  { { ac_try="$ac_compiler $ac_option >&5"
 
3811
case "(($ac_try" in
 
3812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3813
  *) ac_try_echo=$ac_try;;
 
3814
esac
 
3815
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3816
$as_echo "$ac_try_echo"; } >&5
 
3817
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3818
  ac_status=$?
 
3819
  if test -s conftest.err; then
 
3820
    sed '10a\
 
3821
... rest of stderr output deleted ...
 
3822
         10q' conftest.err >conftest.er1
 
3823
    cat conftest.er1 >&5
 
3824
    rm -f conftest.er1 conftest.err
 
3825
  fi
 
3826
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3827
  test $ac_status = 0; }
 
3828
done
 
3829
 
 
3830
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3831
/* end confdefs.h.  */
 
3832
#include <stdio.h>
 
3833
int
 
3834
main ()
 
3835
{
 
3836
FILE *f = fopen ("conftest.out", "w");
 
3837
 return ferror (f) || fclose (f) != 0;
 
3838
 
 
3839
  ;
 
3840
  return 0;
 
3841
}
 
3842
_ACEOF
 
3843
ac_clean_files_save=$ac_clean_files
 
3844
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3845
# Try to create an executable without -o first, disregard a.out.
 
3846
# It will help us diagnose broken compilers, and finding out an intuition
 
3847
# of exeext.
 
3848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3849
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3850
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3851
 
 
3852
# The possible output files:
 
3853
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3854
 
 
3855
ac_rmfiles=
 
3856
for ac_file in $ac_files
 
3857
do
 
3858
  case $ac_file in
 
3859
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3860
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3861
  esac
 
3862
done
 
3863
rm -f $ac_rmfiles
 
3864
 
 
3865
if { { ac_try="$ac_link_default"
 
3866
case "(($ac_try" in
 
3867
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3868
  *) ac_try_echo=$ac_try;;
 
3869
esac
 
3870
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3871
$as_echo "$ac_try_echo"; } >&5
 
3872
  (eval "$ac_link_default") 2>&5
 
3873
  ac_status=$?
 
3874
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3875
  test $ac_status = 0; }; then :
 
3876
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3877
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3878
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3879
# so that the user can short-circuit this test for compilers unknown to
 
3880
# Autoconf.
 
3881
for ac_file in $ac_files ''
 
3882
do
 
3883
  test -f "$ac_file" || continue
 
3884
  case $ac_file in
 
3885
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3886
        ;;
 
3887
    [ab].out )
 
3888
        # We found the default executable, but exeext='' is most
 
3889
        # certainly right.
 
3890
        break;;
 
3891
    *.* )
 
3892
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3893
        then :; else
 
3894
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3895
        fi
 
3896
        # We set ac_cv_exeext here because the later test for it is not
 
3897
        # safe: cross compilers may not add the suffix if given an `-o'
 
3898
        # argument, so we may need to know it at that point already.
 
3899
        # Even if this section looks crufty: it has the advantage of
 
3900
        # actually working.
 
3901
        break;;
 
3902
    * )
 
3903
        break;;
 
3904
  esac
 
3905
done
 
3906
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3907
 
 
3908
else
 
3909
  ac_file=''
 
3910
fi
 
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3912
$as_echo "$ac_file" >&6; }
 
3913
if test -z "$ac_file"; then :
 
3914
  $as_echo "$as_me: failed program was:" >&5
 
3915
sed 's/^/| /' conftest.$ac_ext >&5
 
3916
 
 
3917
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3918
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3919
{ as_fn_set_status 77
 
3920
as_fn_error "C compiler cannot create executables
 
3921
See \`config.log' for more details." "$LINENO" 5; }; }
 
3922
fi
 
3923
ac_exeext=$ac_cv_exeext
 
3924
 
 
3925
# Check that the compiler produces executables we can run.  If not, either
 
3926
# the compiler is broken, or we cross compile.
 
3927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3928
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3929
# If not cross compiling, check that we can run a simple program.
 
3930
if test "$cross_compiling" != yes; then
 
3931
  if { ac_try='./$ac_file'
 
3932
  { { case "(($ac_try" in
 
3933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3934
  *) ac_try_echo=$ac_try;;
 
3935
esac
 
3936
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3937
$as_echo "$ac_try_echo"; } >&5
 
3938
  (eval "$ac_try") 2>&5
 
3939
  ac_status=$?
 
3940
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3941
  test $ac_status = 0; }; }; then
 
3942
    cross_compiling=no
 
3943
  else
 
3944
    if test "$cross_compiling" = maybe; then
 
3945
        cross_compiling=yes
 
3946
    else
 
3947
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3948
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3949
as_fn_error "cannot run C compiled programs.
 
3950
If you meant to cross compile, use \`--host'.
 
3951
See \`config.log' for more details." "$LINENO" 5; }
 
3952
    fi
 
3953
  fi
 
3954
fi
 
3955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3956
$as_echo "yes" >&6; }
 
3957
 
 
3958
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3959
ac_clean_files=$ac_clean_files_save
 
3960
# Check that the compiler produces executables we can run.  If not, either
 
3961
# the compiler is broken, or we cross compile.
 
3962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3963
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3965
$as_echo "$cross_compiling" >&6; }
 
3966
 
 
3967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3968
$as_echo_n "checking for suffix of executables... " >&6; }
 
3969
if { { ac_try="$ac_link"
 
3970
case "(($ac_try" in
 
3971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3972
  *) ac_try_echo=$ac_try;;
 
3973
esac
 
3974
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3975
$as_echo "$ac_try_echo"; } >&5
 
3976
  (eval "$ac_link") 2>&5
 
3977
  ac_status=$?
 
3978
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3979
  test $ac_status = 0; }; then :
 
3980
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3981
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3982
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3983
# `rm'.
 
3984
for ac_file in conftest.exe conftest conftest.*; do
 
3985
  test -f "$ac_file" || continue
 
3986
  case $ac_file in
 
3987
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3988
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3989
          break;;
 
3990
    * ) break;;
 
3991
  esac
 
3992
done
 
3993
else
 
3994
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3995
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3996
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3997
See \`config.log' for more details." "$LINENO" 5; }
 
3998
fi
 
3999
rm -f conftest$ac_cv_exeext
 
4000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
4001
$as_echo "$ac_cv_exeext" >&6; }
 
4002
 
 
4003
rm -f conftest.$ac_ext
 
4004
EXEEXT=$ac_cv_exeext
 
4005
ac_exeext=$EXEEXT
 
4006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
4007
$as_echo_n "checking for suffix of object files... " >&6; }
 
4008
if test "${ac_cv_objext+set}" = set; then :
 
4009
  $as_echo_n "(cached) " >&6
 
4010
else
 
4011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4012
/* end confdefs.h.  */
 
4013
 
 
4014
int
 
4015
main ()
 
4016
{
 
4017
 
 
4018
  ;
 
4019
  return 0;
 
4020
}
 
4021
_ACEOF
 
4022
rm -f conftest.o conftest.obj
 
4023
if { { ac_try="$ac_compile"
 
4024
case "(($ac_try" in
 
4025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4026
  *) ac_try_echo=$ac_try;;
 
4027
esac
 
4028
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4029
$as_echo "$ac_try_echo"; } >&5
 
4030
  (eval "$ac_compile") 2>&5
 
4031
  ac_status=$?
 
4032
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4033
  test $ac_status = 0; }; then :
 
4034
  for ac_file in conftest.o conftest.obj conftest.*; do
 
4035
  test -f "$ac_file" || continue;
 
4036
  case $ac_file in
 
4037
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
4038
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
4039
       break;;
 
4040
  esac
 
4041
done
 
4042
else
 
4043
  $as_echo "$as_me: failed program was:" >&5
 
4044
sed 's/^/| /' conftest.$ac_ext >&5
 
4045
 
 
4046
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4047
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4048
as_fn_error "cannot compute suffix of object files: cannot compile
 
4049
See \`config.log' for more details." "$LINENO" 5; }
 
4050
fi
 
4051
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
4052
fi
 
4053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
4054
$as_echo "$ac_cv_objext" >&6; }
 
4055
OBJEXT=$ac_cv_objext
 
4056
ac_objext=$OBJEXT
 
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4058
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4059
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4060
  $as_echo_n "(cached) " >&6
 
4061
else
 
4062
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4063
/* end confdefs.h.  */
 
4064
 
 
4065
int
 
4066
main ()
 
4067
{
 
4068
#ifndef __GNUC__
 
4069
       choke me
 
4070
#endif
 
4071
 
 
4072
  ;
 
4073
  return 0;
 
4074
}
 
4075
_ACEOF
 
4076
if ac_fn_c_try_compile "$LINENO"; then :
 
4077
  ac_compiler_gnu=yes
 
4078
else
 
4079
  ac_compiler_gnu=no
 
4080
fi
 
4081
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4082
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4083
 
 
4084
fi
 
4085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4086
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4087
if test $ac_compiler_gnu = yes; then
 
4088
  GCC=yes
 
4089
else
 
4090
  GCC=
 
4091
fi
 
4092
ac_test_CFLAGS=${CFLAGS+set}
 
4093
ac_save_CFLAGS=$CFLAGS
 
4094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4095
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4096
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4097
  $as_echo_n "(cached) " >&6
 
4098
else
 
4099
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4100
   ac_c_werror_flag=yes
 
4101
   ac_cv_prog_cc_g=no
 
4102
   CFLAGS="-g"
 
4103
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4104
/* end confdefs.h.  */
 
4105
 
 
4106
int
 
4107
main ()
 
4108
{
 
4109
 
 
4110
  ;
 
4111
  return 0;
 
4112
}
 
4113
_ACEOF
 
4114
if ac_fn_c_try_compile "$LINENO"; then :
 
4115
  ac_cv_prog_cc_g=yes
 
4116
else
 
4117
  CFLAGS=""
 
4118
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4119
/* end confdefs.h.  */
 
4120
 
 
4121
int
 
4122
main ()
 
4123
{
 
4124
 
 
4125
  ;
 
4126
  return 0;
 
4127
}
 
4128
_ACEOF
 
4129
if ac_fn_c_try_compile "$LINENO"; then :
 
4130
 
 
4131
else
 
4132
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4133
         CFLAGS="-g"
 
4134
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4135
/* end confdefs.h.  */
 
4136
 
 
4137
int
 
4138
main ()
 
4139
{
 
4140
 
 
4141
  ;
 
4142
  return 0;
 
4143
}
 
4144
_ACEOF
 
4145
if ac_fn_c_try_compile "$LINENO"; then :
 
4146
  ac_cv_prog_cc_g=yes
 
4147
fi
 
4148
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4149
fi
 
4150
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4151
fi
 
4152
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4153
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4154
fi
 
4155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4156
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4157
if test "$ac_test_CFLAGS" = set; then
 
4158
  CFLAGS=$ac_save_CFLAGS
 
4159
elif test $ac_cv_prog_cc_g = yes; then
 
4160
  if test "$GCC" = yes; then
 
4161
    CFLAGS="-g -O2"
 
4162
  else
 
4163
    CFLAGS="-g"
 
4164
  fi
 
4165
else
 
4166
  if test "$GCC" = yes; then
 
4167
    CFLAGS="-O2"
 
4168
  else
 
4169
    CFLAGS=
 
4170
  fi
 
4171
fi
 
4172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4173
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4174
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4175
  $as_echo_n "(cached) " >&6
 
4176
else
 
4177
  ac_cv_prog_cc_c89=no
 
4178
ac_save_CC=$CC
 
4179
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4180
/* end confdefs.h.  */
 
4181
#include <stdarg.h>
 
4182
#include <stdio.h>
 
4183
#include <sys/types.h>
 
4184
#include <sys/stat.h>
 
4185
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4186
struct buf { int x; };
 
4187
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4188
static char *e (p, i)
 
4189
     char **p;
 
4190
     int i;
 
4191
{
 
4192
  return p[i];
 
4193
}
 
4194
static char *f (char * (*g) (char **, int), char **p, ...)
 
4195
{
 
4196
  char *s;
 
4197
  va_list v;
 
4198
  va_start (v,p);
 
4199
  s = g (p, va_arg (v,int));
 
4200
  va_end (v);
 
4201
  return s;
 
4202
}
 
4203
 
 
4204
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4205
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4206
   These don't provoke an error unfortunately, instead are silently treated
 
4207
   as 'x'.  The following induces an error, until -std is added to get
 
4208
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4209
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4210
   that's true only with -std.  */
 
4211
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4212
 
 
4213
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4214
   inside strings and character constants.  */
 
4215
#define FOO(x) 'x'
 
4216
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4217
 
 
4218
int test (int i, double x);
 
4219
struct s1 {int (*f) (int a);};
 
4220
struct s2 {int (*f) (double a);};
 
4221
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4222
int argc;
 
4223
char **argv;
 
4224
int
 
4225
main ()
 
4226
{
 
4227
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4228
  ;
 
4229
  return 0;
 
4230
}
 
4231
_ACEOF
 
4232
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4233
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4234
do
 
4235
  CC="$ac_save_CC $ac_arg"
 
4236
  if ac_fn_c_try_compile "$LINENO"; then :
 
4237
  ac_cv_prog_cc_c89=$ac_arg
 
4238
fi
 
4239
rm -f core conftest.err conftest.$ac_objext
 
4240
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4241
done
 
4242
rm -f conftest.$ac_ext
 
4243
CC=$ac_save_CC
 
4244
 
 
4245
fi
 
4246
# AC_CACHE_VAL
 
4247
case "x$ac_cv_prog_cc_c89" in
 
4248
  x)
 
4249
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4250
$as_echo "none needed" >&6; } ;;
 
4251
  xno)
 
4252
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4253
$as_echo "unsupported" >&6; } ;;
 
4254
  *)
 
4255
    CC="$CC $ac_cv_prog_cc_c89"
 
4256
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4257
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4258
esac
 
4259
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4260
 
 
4261
fi
 
4262
 
 
4263
ac_ext=c
 
4264
ac_cpp='$CPP $CPPFLAGS'
 
4265
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4266
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4267
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4268
 
 
4269
depcc="$CC"   am_compiler_list=
 
4270
 
 
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4272
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4273
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4274
  $as_echo_n "(cached) " >&6
 
4275
else
 
4276
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4277
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4278
  # making bogus files that we don't know about and never remove.  For
 
4279
  # instance it was reported that on HP-UX the gcc test will end up
 
4280
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4281
  # in D'.
 
4282
  mkdir conftest.dir
 
4283
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4284
  # using a relative directory.
 
4285
  cp "$am_depcomp" conftest.dir
 
4286
  cd conftest.dir
 
4287
  # We will build objects and dependencies in a subdirectory because
 
4288
  # it helps to detect inapplicable dependency modes.  For instance
 
4289
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4290
  # side effect of compilation, but ICC will put the dependencies in
 
4291
  # the current directory while Tru64 will put them in the object
 
4292
  # directory.
 
4293
  mkdir sub
 
4294
 
 
4295
  am_cv_CC_dependencies_compiler_type=none
 
4296
  if test "$am_compiler_list" = ""; then
 
4297
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4298
  fi
 
4299
  for depmode in $am_compiler_list; do
 
4300
    # Setup a source with many dependencies, because some compilers
 
4301
    # like to wrap large dependency lists on column 80 (with \), and
 
4302
    # we should not choose a depcomp mode which is confused by this.
 
4303
    #
 
4304
    # We need to recreate these files for each test, as the compiler may
 
4305
    # overwrite some of them when testing with obscure command lines.
 
4306
    # This happens at least with the AIX C compiler.
 
4307
    : > sub/conftest.c
 
4308
    for i in 1 2 3 4 5 6; do
 
4309
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4310
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4311
      # Solaris 8's {/usr,}/bin/sh.
 
4312
      touch sub/conftst$i.h
 
4313
    done
 
4314
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4315
 
 
4316
    case $depmode in
 
4317
    nosideeffect)
 
4318
      # after this tag, mechanisms are not by side-effect, so they'll
 
4319
      # only be used when explicitly requested
 
4320
      if test "x$enable_dependency_tracking" = xyes; then
 
4321
        continue
 
4322
      else
 
4323
        break
 
4324
      fi
 
4325
      ;;
 
4326
    none) break ;;
 
4327
    esac
 
4328
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4329
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4330
    # handle `-M -o', and we need to detect this.
 
4331
    if depmode=$depmode \
 
4332
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4333
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4334
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4335
         >/dev/null 2>conftest.err &&
 
4336
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4337
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4338
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4339
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4340
      # icc doesn't choke on unknown options, it will just issue warnings
 
4341
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4342
      # that says an option was ignored or not supported.
 
4343
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4344
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4345
      # The diagnosis changed in icc 8.0:
 
4346
      #   icc: Command line remark: option '-MP' not supported
 
4347
      if (grep 'ignoring option' conftest.err ||
 
4348
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4349
        am_cv_CC_dependencies_compiler_type=$depmode
 
4350
        break
 
4351
      fi
 
4352
    fi
 
4353
  done
 
4354
 
 
4355
  cd ..
 
4356
  rm -rf conftest.dir
 
4357
else
 
4358
  am_cv_CC_dependencies_compiler_type=none
 
4359
fi
 
4360
 
 
4361
fi
 
4362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4363
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4364
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4365
 
 
4366
 if
 
4367
  test "x$enable_dependency_tracking" != xno \
 
4368
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4369
  am__fastdepCC_TRUE=
 
4370
  am__fastdepCC_FALSE='#'
 
4371
else
 
4372
  am__fastdepCC_TRUE='#'
 
4373
  am__fastdepCC_FALSE=
 
4374
fi
 
4375
 
 
4376
 
 
4377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4378
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4379
if test "${ac_cv_path_SED+set}" = set; then :
 
4380
  $as_echo_n "(cached) " >&6
 
4381
else
 
4382
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4383
     for ac_i in 1 2 3 4 5 6 7; do
 
4384
       ac_script="$ac_script$as_nl$ac_script"
 
4385
     done
 
4386
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4387
     { ac_script=; unset ac_script;}
 
4388
     if test -z "$SED"; then
 
4389
  ac_path_SED_found=false
 
4390
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4391
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4392
for as_dir in $PATH
 
4393
do
 
4394
  IFS=$as_save_IFS
 
4395
  test -z "$as_dir" && as_dir=.
 
4396
    for ac_prog in sed gsed; do
 
4397
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4398
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4399
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4400
# Check for GNU ac_path_SED and select it if it is found.
 
4401
  # Check for GNU $ac_path_SED
 
4402
case `"$ac_path_SED" --version 2>&1` in
 
4403
*GNU*)
 
4404
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4405
*)
 
4406
  ac_count=0
 
4407
  $as_echo_n 0123456789 >"conftest.in"
 
4408
  while :
 
4409
  do
 
4410
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4411
    mv "conftest.tmp" "conftest.in"
 
4412
    cp "conftest.in" "conftest.nl"
 
4413
    $as_echo '' >> "conftest.nl"
 
4414
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4415
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4416
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4417
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4418
      # Best one so far, save it but keep looking for a better one
 
4419
      ac_cv_path_SED="$ac_path_SED"
 
4420
      ac_path_SED_max=$ac_count
 
4421
    fi
 
4422
    # 10*(2^10) chars as input seems more than enough
 
4423
    test $ac_count -gt 10 && break
 
4424
  done
 
4425
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4426
esac
 
4427
 
 
4428
      $ac_path_SED_found && break 3
 
4429
    done
 
4430
  done
 
4431
  done
 
4432
IFS=$as_save_IFS
 
4433
  if test -z "$ac_cv_path_SED"; then
 
4434
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4435
  fi
 
4436
else
 
4437
  ac_cv_path_SED=$SED
 
4438
fi
 
4439
 
 
4440
fi
 
4441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4442
$as_echo "$ac_cv_path_SED" >&6; }
 
4443
 SED="$ac_cv_path_SED"
 
4444
  rm -f conftest.sed
 
4445
 
 
4446
test -z "$SED" && SED=sed
 
4447
Xsed="$SED -e 1s/^X//"
 
4448
 
 
4449
 
 
4450
 
 
4451
 
 
4452
 
 
4453
 
 
4454
 
 
4455
 
 
4456
 
 
4457
 
 
4458
 
 
4459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4460
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4461
if test "${ac_cv_path_GREP+set}" = set; then :
 
4462
  $as_echo_n "(cached) " >&6
 
4463
else
 
4464
  if test -z "$GREP"; then
 
4465
  ac_path_GREP_found=false
 
4466
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4467
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4468
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4469
do
 
4470
  IFS=$as_save_IFS
 
4471
  test -z "$as_dir" && as_dir=.
 
4472
    for ac_prog in grep ggrep; do
 
4473
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4474
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4475
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4476
# Check for GNU ac_path_GREP and select it if it is found.
 
4477
  # Check for GNU $ac_path_GREP
 
4478
case `"$ac_path_GREP" --version 2>&1` in
 
4479
*GNU*)
 
4480
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4481
*)
 
4482
  ac_count=0
 
4483
  $as_echo_n 0123456789 >"conftest.in"
 
4484
  while :
 
4485
  do
 
4486
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4487
    mv "conftest.tmp" "conftest.in"
 
4488
    cp "conftest.in" "conftest.nl"
 
4489
    $as_echo 'GREP' >> "conftest.nl"
 
4490
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4491
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4492
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4493
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4494
      # Best one so far, save it but keep looking for a better one
 
4495
      ac_cv_path_GREP="$ac_path_GREP"
 
4496
      ac_path_GREP_max=$ac_count
 
4497
    fi
 
4498
    # 10*(2^10) chars as input seems more than enough
 
4499
    test $ac_count -gt 10 && break
 
4500
  done
 
4501
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4502
esac
 
4503
 
 
4504
      $ac_path_GREP_found && break 3
 
4505
    done
 
4506
  done
 
4507
  done
 
4508
IFS=$as_save_IFS
 
4509
  if test -z "$ac_cv_path_GREP"; then
 
4510
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4511
  fi
 
4512
else
 
4513
  ac_cv_path_GREP=$GREP
 
4514
fi
 
4515
 
 
4516
fi
 
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4518
$as_echo "$ac_cv_path_GREP" >&6; }
 
4519
 GREP="$ac_cv_path_GREP"
 
4520
 
 
4521
 
 
4522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4523
$as_echo_n "checking for egrep... " >&6; }
 
4524
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4525
  $as_echo_n "(cached) " >&6
 
4526
else
 
4527
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4528
   then ac_cv_path_EGREP="$GREP -E"
 
4529
   else
 
4530
     if test -z "$EGREP"; then
 
4531
  ac_path_EGREP_found=false
 
4532
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4533
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4534
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4535
do
 
4536
  IFS=$as_save_IFS
 
4537
  test -z "$as_dir" && as_dir=.
 
4538
    for ac_prog in egrep; do
 
4539
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4540
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4541
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4542
# Check for GNU ac_path_EGREP and select it if it is found.
 
4543
  # Check for GNU $ac_path_EGREP
 
4544
case `"$ac_path_EGREP" --version 2>&1` in
 
4545
*GNU*)
 
4546
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4547
*)
 
4548
  ac_count=0
 
4549
  $as_echo_n 0123456789 >"conftest.in"
 
4550
  while :
 
4551
  do
 
4552
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4553
    mv "conftest.tmp" "conftest.in"
 
4554
    cp "conftest.in" "conftest.nl"
 
4555
    $as_echo 'EGREP' >> "conftest.nl"
 
4556
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4557
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4558
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4559
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4560
      # Best one so far, save it but keep looking for a better one
 
4561
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4562
      ac_path_EGREP_max=$ac_count
 
4563
    fi
 
4564
    # 10*(2^10) chars as input seems more than enough
 
4565
    test $ac_count -gt 10 && break
 
4566
  done
 
4567
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4568
esac
 
4569
 
 
4570
      $ac_path_EGREP_found && break 3
 
4571
    done
 
4572
  done
 
4573
  done
 
4574
IFS=$as_save_IFS
 
4575
  if test -z "$ac_cv_path_EGREP"; then
 
4576
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4577
  fi
 
4578
else
 
4579
  ac_cv_path_EGREP=$EGREP
 
4580
fi
 
4581
 
 
4582
   fi
 
4583
fi
 
4584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4585
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4586
 EGREP="$ac_cv_path_EGREP"
 
4587
 
 
4588
 
 
4589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4590
$as_echo_n "checking for fgrep... " >&6; }
 
4591
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4592
  $as_echo_n "(cached) " >&6
 
4593
else
 
4594
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4595
   then ac_cv_path_FGREP="$GREP -F"
 
4596
   else
 
4597
     if test -z "$FGREP"; then
 
4598
  ac_path_FGREP_found=false
 
4599
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4600
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4601
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4602
do
 
4603
  IFS=$as_save_IFS
 
4604
  test -z "$as_dir" && as_dir=.
 
4605
    for ac_prog in fgrep; do
 
4606
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4607
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4608
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4609
# Check for GNU ac_path_FGREP and select it if it is found.
 
4610
  # Check for GNU $ac_path_FGREP
 
4611
case `"$ac_path_FGREP" --version 2>&1` in
 
4612
*GNU*)
 
4613
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4614
*)
 
4615
  ac_count=0
 
4616
  $as_echo_n 0123456789 >"conftest.in"
 
4617
  while :
 
4618
  do
 
4619
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4620
    mv "conftest.tmp" "conftest.in"
 
4621
    cp "conftest.in" "conftest.nl"
 
4622
    $as_echo 'FGREP' >> "conftest.nl"
 
4623
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4624
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4625
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4626
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4627
      # Best one so far, save it but keep looking for a better one
 
4628
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4629
      ac_path_FGREP_max=$ac_count
 
4630
    fi
 
4631
    # 10*(2^10) chars as input seems more than enough
 
4632
    test $ac_count -gt 10 && break
 
4633
  done
 
4634
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4635
esac
 
4636
 
 
4637
      $ac_path_FGREP_found && break 3
 
4638
    done
 
4639
  done
 
4640
  done
 
4641
IFS=$as_save_IFS
 
4642
  if test -z "$ac_cv_path_FGREP"; then
 
4643
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4644
  fi
 
4645
else
 
4646
  ac_cv_path_FGREP=$FGREP
 
4647
fi
 
4648
 
 
4649
   fi
 
4650
fi
 
4651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4652
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4653
 FGREP="$ac_cv_path_FGREP"
 
4654
 
 
4655
 
 
4656
test -z "$GREP" && GREP=grep
 
4657
 
 
4658
 
 
4659
 
 
4660
 
 
4661
 
 
4662
 
 
4663
 
 
4664
 
 
4665
 
 
4666
 
 
4667
 
 
4668
 
 
4669
 
 
4670
 
 
4671
 
 
4672
 
 
4673
 
 
4674
 
 
4675
 
 
4676
# Check whether --with-gnu-ld was given.
 
4677
if test "${with_gnu_ld+set}" = set; then :
 
4678
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4679
else
 
4680
  with_gnu_ld=no
 
4681
fi
 
4682
 
 
4683
ac_prog=ld
 
4684
if test "$GCC" = yes; then
 
4685
  # Check if gcc -print-prog-name=ld gives a path.
 
4686
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4687
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4688
  case $host in
 
4689
  *-*-mingw*)
 
4690
    # gcc leaves a trailing carriage return which upsets mingw
 
4691
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4692
  *)
 
4693
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4694
  esac
 
4695
  case $ac_prog in
 
4696
    # Accept absolute paths.
 
4697
    [\\/]* | ?:[\\/]*)
 
4698
      re_direlt='/[^/][^/]*/\.\./'
 
4699
      # Canonicalize the pathname of ld
 
4700
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4701
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4702
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4703
      done
 
4704
      test -z "$LD" && LD="$ac_prog"
 
4705
      ;;
 
4706
  "")
 
4707
    # If it fails, then pretend we aren't using GCC.
 
4708
    ac_prog=ld
 
4709
    ;;
 
4710
  *)
 
4711
    # If it is relative, then search for the first ld in PATH.
 
4712
    with_gnu_ld=unknown
 
4713
    ;;
 
4714
  esac
 
4715
elif test "$with_gnu_ld" = yes; then
 
4716
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4717
$as_echo_n "checking for GNU ld... " >&6; }
 
4718
else
 
4719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4720
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4721
fi
 
4722
if test "${lt_cv_path_LD+set}" = set; then :
 
4723
  $as_echo_n "(cached) " >&6
 
4724
else
 
4725
  if test -z "$LD"; then
 
4726
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4727
  for ac_dir in $PATH; do
 
4728
    IFS="$lt_save_ifs"
 
4729
    test -z "$ac_dir" && ac_dir=.
 
4730
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4731
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4732
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4733
      # but apparently some variants of GNU ld only accept -v.
 
4734
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4735
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4736
      *GNU* | *'with BFD'*)
 
4737
        test "$with_gnu_ld" != no && break
 
4738
        ;;
 
4739
      *)
 
4740
        test "$with_gnu_ld" != yes && break
 
4741
        ;;
 
4742
      esac
 
4743
    fi
 
4744
  done
 
4745
  IFS="$lt_save_ifs"
 
4746
else
 
4747
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4748
fi
 
4749
fi
 
4750
 
 
4751
LD="$lt_cv_path_LD"
 
4752
if test -n "$LD"; then
 
4753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4754
$as_echo "$LD" >&6; }
 
4755
else
 
4756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4757
$as_echo "no" >&6; }
 
4758
fi
 
4759
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4761
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4762
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4763
  $as_echo_n "(cached) " >&6
 
4764
else
 
4765
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4766
case `$LD -v 2>&1 </dev/null` in
 
4767
*GNU* | *'with BFD'*)
 
4768
  lt_cv_prog_gnu_ld=yes
 
4769
  ;;
 
4770
*)
 
4771
  lt_cv_prog_gnu_ld=no
 
4772
  ;;
 
4773
esac
 
4774
fi
 
4775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4776
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4777
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4778
 
 
4779
 
 
4780
 
 
4781
 
 
4782
 
 
4783
 
 
4784
 
 
4785
 
 
4786
 
 
4787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4788
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4789
if test "${lt_cv_path_NM+set}" = set; then :
 
4790
  $as_echo_n "(cached) " >&6
 
4791
else
 
4792
  if test -n "$NM"; then
 
4793
  # Let the user override the test.
 
4794
  lt_cv_path_NM="$NM"
 
4795
else
 
4796
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4797
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4798
    lt_nm_to_check="$lt_nm_to_check nm"
 
4799
  fi
 
4800
  for lt_tmp_nm in $lt_nm_to_check; do
 
4801
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4802
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4803
      IFS="$lt_save_ifs"
 
4804
      test -z "$ac_dir" && ac_dir=.
 
4805
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4806
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4807
        # Check to see if the nm accepts a BSD-compat flag.
 
4808
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4809
        #   nm: unknown option "B" ignored
 
4810
        # Tru64's nm complains that /dev/null is an invalid object file
 
4811
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4812
        */dev/null* | *'Invalid file or object type'*)
 
4813
          lt_cv_path_NM="$tmp_nm -B"
 
4814
          break
 
4815
          ;;
 
4816
        *)
 
4817
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4818
          */dev/null*)
 
4819
            lt_cv_path_NM="$tmp_nm -p"
 
4820
            break
 
4821
            ;;
 
4822
          *)
 
4823
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4824
            continue # so that we can try to find one that supports BSD flags
 
4825
            ;;
 
4826
          esac
 
4827
          ;;
 
4828
        esac
 
4829
      fi
 
4830
    done
 
4831
    IFS="$lt_save_ifs"
 
4832
  done
 
4833
  : ${lt_cv_path_NM=no}
 
4834
fi
 
4835
fi
 
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
4837
$as_echo "$lt_cv_path_NM" >&6; }
 
4838
if test "$lt_cv_path_NM" != "no"; then
 
4839
  NM="$lt_cv_path_NM"
 
4840
else
 
4841
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4842
  if test -n "$ac_tool_prefix"; then
 
4843
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4844
  do
 
4845
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4846
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4848
$as_echo_n "checking for $ac_word... " >&6; }
 
4849
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4850
  $as_echo_n "(cached) " >&6
 
4851
else
 
4852
  if test -n "$DUMPBIN"; then
 
4853
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4854
else
 
4855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4856
for as_dir in $PATH
 
4857
do
 
4858
  IFS=$as_save_IFS
 
4859
  test -z "$as_dir" && as_dir=.
 
4860
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4862
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4864
    break 2
 
4865
  fi
 
4866
done
 
4867
  done
 
4868
IFS=$as_save_IFS
 
4869
 
 
4870
fi
 
4871
fi
 
4872
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4873
if test -n "$DUMPBIN"; then
 
4874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4875
$as_echo "$DUMPBIN" >&6; }
 
4876
else
 
4877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4878
$as_echo "no" >&6; }
 
4879
fi
 
4880
 
 
4881
 
 
4882
    test -n "$DUMPBIN" && break
 
4883
  done
 
4884
fi
 
4885
if test -z "$DUMPBIN"; then
 
4886
  ac_ct_DUMPBIN=$DUMPBIN
 
4887
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4888
do
 
4889
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4890
set dummy $ac_prog; ac_word=$2
 
4891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4892
$as_echo_n "checking for $ac_word... " >&6; }
 
4893
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4894
  $as_echo_n "(cached) " >&6
 
4895
else
 
4896
  if test -n "$ac_ct_DUMPBIN"; then
 
4897
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4898
else
 
4899
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4900
for as_dir in $PATH
 
4901
do
 
4902
  IFS=$as_save_IFS
 
4903
  test -z "$as_dir" && as_dir=.
 
4904
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4906
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4908
    break 2
 
4909
  fi
 
4910
done
 
4911
  done
 
4912
IFS=$as_save_IFS
 
4913
 
 
4914
fi
 
4915
fi
 
4916
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4917
if test -n "$ac_ct_DUMPBIN"; then
 
4918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4919
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4920
else
 
4921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4922
$as_echo "no" >&6; }
 
4923
fi
 
4924
 
 
4925
 
 
4926
  test -n "$ac_ct_DUMPBIN" && break
 
4927
done
 
4928
 
 
4929
  if test "x$ac_ct_DUMPBIN" = x; then
 
4930
    DUMPBIN=":"
 
4931
  else
 
4932
    case $cross_compiling:$ac_tool_warned in
 
4933
yes:)
 
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4935
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4936
ac_tool_warned=yes ;;
 
4937
esac
 
4938
    DUMPBIN=$ac_ct_DUMPBIN
 
4939
  fi
 
4940
fi
 
4941
 
 
4942
 
 
4943
  if test "$DUMPBIN" != ":"; then
 
4944
    NM="$DUMPBIN"
 
4945
  fi
 
4946
fi
 
4947
test -z "$NM" && NM=nm
 
4948
 
 
4949
 
 
4950
 
 
4951
 
 
4952
 
 
4953
 
 
4954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
4955
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4956
if test "${lt_cv_nm_interface+set}" = set; then :
 
4957
  $as_echo_n "(cached) " >&6
 
4958
else
 
4959
  lt_cv_nm_interface="BSD nm"
 
4960
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4961
  (eval echo "\"\$as_me:4961: $ac_compile\"" >&5)
 
4962
  (eval "$ac_compile" 2>conftest.err)
 
4963
  cat conftest.err >&5
 
4964
  (eval echo "\"\$as_me:4964: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4965
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4966
  cat conftest.err >&5
 
4967
  (eval echo "\"\$as_me:4967: output\"" >&5)
 
4968
  cat conftest.out >&5
 
4969
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4970
    lt_cv_nm_interface="MS dumpbin"
 
4971
  fi
 
4972
  rm -f conftest*
 
4973
fi
 
4974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
4975
$as_echo "$lt_cv_nm_interface" >&6; }
 
4976
 
 
4977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
4978
$as_echo_n "checking whether ln -s works... " >&6; }
 
4979
LN_S=$as_ln_s
 
4980
if test "$LN_S" = "ln -s"; then
 
4981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4982
$as_echo "yes" >&6; }
 
4983
else
 
4984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
4985
$as_echo "no, using $LN_S" >&6; }
 
4986
fi
 
4987
 
 
4988
# find the maximum length of command line arguments
 
4989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
4990
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4991
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4992
  $as_echo_n "(cached) " >&6
 
4993
else
 
4994
    i=0
 
4995
  teststring="ABCD"
 
4996
 
 
4997
  case $build_os in
 
4998
  msdosdjgpp*)
 
4999
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5000
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5001
    # during glob expansion).  Even if it were fixed, the result of this
 
5002
    # check would be larger than it should be.
 
5003
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5004
    ;;
 
5005
 
 
5006
  gnu*)
 
5007
    # Under GNU Hurd, this test is not required because there is
 
5008
    # no limit to the length of command line arguments.
 
5009
    # Libtool will interpret -1 as no limit whatsoever
 
5010
    lt_cv_sys_max_cmd_len=-1;
 
5011
    ;;
 
5012
 
 
5013
  cygwin* | mingw* | cegcc*)
 
5014
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5015
    # about 5 minutes as the teststring grows exponentially.
 
5016
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5017
    # you end up with a "frozen" computer, even though with patience
 
5018
    # the test eventually succeeds (with a max line length of 256k).
 
5019
    # Instead, let's just punt: use the minimum linelength reported by
 
5020
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5021
    lt_cv_sys_max_cmd_len=8192;
 
5022
    ;;
 
5023
 
 
5024
  amigaos*)
 
5025
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5026
    # So we just punt and use a minimum line length of 8192.
 
5027
    lt_cv_sys_max_cmd_len=8192;
 
5028
    ;;
 
5029
 
 
5030
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5031
    # This has been around since 386BSD, at least.  Likely further.
 
5032
    if test -x /sbin/sysctl; then
 
5033
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5034
    elif test -x /usr/sbin/sysctl; then
 
5035
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5036
    else
 
5037
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5038
    fi
 
5039
    # And add a safety zone
 
5040
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5041
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5042
    ;;
 
5043
 
 
5044
  interix*)
 
5045
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5046
    lt_cv_sys_max_cmd_len=196608
 
5047
    ;;
 
5048
 
 
5049
  osf*)
 
5050
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5051
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5052
    # nice to cause kernel panics so lets avoid the loop below.
 
5053
    # First set a reasonable default.
 
5054
    lt_cv_sys_max_cmd_len=16384
 
5055
    #
 
5056
    if test -x /sbin/sysconfig; then
 
5057
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5058
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5059
      esac
 
5060
    fi
 
5061
    ;;
 
5062
  sco3.2v5*)
 
5063
    lt_cv_sys_max_cmd_len=102400
 
5064
    ;;
 
5065
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5066
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5067
    if test -n "$kargmax"; then
 
5068
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5069
    else
 
5070
      lt_cv_sys_max_cmd_len=32768
 
5071
    fi
 
5072
    ;;
 
5073
  *)
 
5074
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5075
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5076
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5077
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5078
    else
 
5079
      # Make teststring a little bigger before we do anything with it.
 
5080
      # a 1K string should be a reasonable start.
 
5081
      for i in 1 2 3 4 5 6 7 8 ; do
 
5082
        teststring=$teststring$teststring
 
5083
      done
 
5084
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5085
      # If test is not a shell built-in, we'll probably end up computing a
 
5086
      # maximum length that is only half of the actual maximum length, but
 
5087
      # we can't tell.
 
5088
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5089
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5090
              test $i != 17 # 1/2 MB should be enough
 
5091
      do
 
5092
        i=`expr $i + 1`
 
5093
        teststring=$teststring$teststring
 
5094
      done
 
5095
      # Only check the string length outside the loop.
 
5096
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5097
      teststring=
 
5098
      # Add a significant safety factor because C++ compilers can tack on
 
5099
      # massive amounts of additional arguments before passing them to the
 
5100
      # linker.  It appears as though 1/2 is a usable value.
 
5101
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5102
    fi
 
5103
    ;;
 
5104
  esac
 
5105
 
 
5106
fi
 
5107
 
 
5108
if test -n $lt_cv_sys_max_cmd_len ; then
 
5109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5110
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5111
else
 
5112
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5113
$as_echo "none" >&6; }
 
5114
fi
 
5115
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5116
 
 
5117
 
 
5118
 
 
5119
 
 
5120
 
 
5121
 
 
5122
: ${CP="cp -f"}
 
5123
: ${MV="mv -f"}
 
5124
: ${RM="rm -f"}
 
5125
 
 
5126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5127
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5128
# Try some XSI features
 
5129
xsi_shell=no
 
5130
( _lt_dummy="a/b/c"
 
5131
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5132
      = c,a/b,, \
 
5133
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5134
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5135
  && xsi_shell=yes
 
5136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5137
$as_echo "$xsi_shell" >&6; }
 
5138
 
 
5139
 
 
5140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5141
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5142
lt_shell_append=no
 
5143
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5144
    >/dev/null 2>&1 \
 
5145
  && lt_shell_append=yes
 
5146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5147
$as_echo "$lt_shell_append" >&6; }
 
5148
 
 
5149
 
 
5150
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5151
  lt_unset=unset
 
5152
else
 
5153
  lt_unset=false
 
5154
fi
 
5155
 
 
5156
 
 
5157
 
 
5158
 
 
5159
 
 
5160
# test EBCDIC or ASCII
 
5161
case `echo X|tr X '\101'` in
 
5162
 A) # ASCII based system
 
5163
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5164
  lt_SP2NL='tr \040 \012'
 
5165
  lt_NL2SP='tr \015\012 \040\040'
 
5166
  ;;
 
5167
 *) # EBCDIC based system
 
5168
  lt_SP2NL='tr \100 \n'
 
5169
  lt_NL2SP='tr \r\n \100\100'
 
5170
  ;;
 
5171
esac
 
5172
 
 
5173
 
 
5174
 
 
5175
 
 
5176
 
 
5177
 
 
5178
 
 
5179
 
 
5180
 
 
5181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5182
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5183
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5184
  $as_echo_n "(cached) " >&6
 
5185
else
 
5186
  lt_cv_ld_reload_flag='-r'
 
5187
fi
 
5188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5189
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5190
reload_flag=$lt_cv_ld_reload_flag
 
5191
case $reload_flag in
 
5192
"" | " "*) ;;
 
5193
*) reload_flag=" $reload_flag" ;;
 
5194
esac
 
5195
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5196
case $host_os in
 
5197
  darwin*)
 
5198
    if test "$GCC" = yes; then
 
5199
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5200
    else
 
5201
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5202
    fi
 
5203
    ;;
 
5204
esac
 
5205
 
 
5206
 
 
5207
 
 
5208
 
 
5209
 
 
5210
 
 
5211
 
 
5212
 
 
5213
 
 
5214
if test -n "$ac_tool_prefix"; then
 
5215
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5216
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5218
$as_echo_n "checking for $ac_word... " >&6; }
 
5219
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5220
  $as_echo_n "(cached) " >&6
 
5221
else
 
5222
  if test -n "$OBJDUMP"; then
 
5223
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5224
else
 
5225
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5226
for as_dir in $PATH
 
5227
do
 
5228
  IFS=$as_save_IFS
 
5229
  test -z "$as_dir" && as_dir=.
 
5230
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5231
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5232
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5233
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5234
    break 2
 
5235
  fi
 
5236
done
 
5237
  done
 
5238
IFS=$as_save_IFS
 
5239
 
 
5240
fi
 
5241
fi
 
5242
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5243
if test -n "$OBJDUMP"; then
 
5244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5245
$as_echo "$OBJDUMP" >&6; }
 
5246
else
 
5247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5248
$as_echo "no" >&6; }
 
5249
fi
 
5250
 
 
5251
 
 
5252
fi
 
5253
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5254
  ac_ct_OBJDUMP=$OBJDUMP
 
5255
  # Extract the first word of "objdump", so it can be a program name with args.
 
5256
set dummy objdump; ac_word=$2
 
5257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5258
$as_echo_n "checking for $ac_word... " >&6; }
 
5259
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5260
  $as_echo_n "(cached) " >&6
 
5261
else
 
5262
  if test -n "$ac_ct_OBJDUMP"; then
 
5263
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5264
else
 
5265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5266
for as_dir in $PATH
 
5267
do
 
5268
  IFS=$as_save_IFS
 
5269
  test -z "$as_dir" && as_dir=.
 
5270
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5271
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5272
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5273
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5274
    break 2
 
5275
  fi
 
5276
done
 
5277
  done
 
5278
IFS=$as_save_IFS
 
5279
 
 
5280
fi
 
5281
fi
 
5282
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5283
if test -n "$ac_ct_OBJDUMP"; then
 
5284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5285
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5286
else
 
5287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5288
$as_echo "no" >&6; }
 
5289
fi
 
5290
 
 
5291
  if test "x$ac_ct_OBJDUMP" = x; then
 
5292
    OBJDUMP="false"
 
5293
  else
 
5294
    case $cross_compiling:$ac_tool_warned in
 
5295
yes:)
 
5296
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5297
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5298
ac_tool_warned=yes ;;
 
5299
esac
 
5300
    OBJDUMP=$ac_ct_OBJDUMP
 
5301
  fi
 
5302
else
 
5303
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5304
fi
 
5305
 
 
5306
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5307
 
 
5308
 
 
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
 
 
5314
 
 
5315
 
 
5316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5317
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5318
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5319
  $as_echo_n "(cached) " >&6
 
5320
else
 
5321
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5322
lt_cv_file_magic_test_file=
 
5323
lt_cv_deplibs_check_method='unknown'
 
5324
# Need to set the preceding variable on all platforms that support
 
5325
# interlibrary dependencies.
 
5326
# 'none' -- dependencies not supported.
 
5327
# `unknown' -- same as none, but documents that we really don't know.
 
5328
# 'pass_all' -- all dependencies passed with no checks.
 
5329
# 'test_compile' -- check by making test program.
 
5330
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5331
# which responds to the $file_magic_cmd with a given extended regex.
 
5332
# If you have `file' or equivalent on your system and you're not sure
 
5333
# whether `pass_all' will *always* work, you probably want this one.
 
5334
 
 
5335
case $host_os in
 
5336
aix[4-9]*)
 
5337
  lt_cv_deplibs_check_method=pass_all
 
5338
  ;;
 
5339
 
 
5340
beos*)
 
5341
  lt_cv_deplibs_check_method=pass_all
 
5342
  ;;
 
5343
 
 
5344
bsdi[45]*)
 
5345
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5346
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5347
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5348
  ;;
 
5349
 
 
5350
cygwin*)
 
5351
  # func_win32_libid is a shell function defined in ltmain.sh
 
5352
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5353
  lt_cv_file_magic_cmd='func_win32_libid'
 
5354
  ;;
 
5355
 
 
5356
mingw* | pw32*)
 
5357
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5358
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5359
  # unless we find 'file', for example because we are cross-compiling.
 
5360
  if ( file / ) >/dev/null 2>&1; then
 
5361
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5362
    lt_cv_file_magic_cmd='func_win32_libid'
 
5363
  else
 
5364
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5365
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5366
  fi
 
5367
  ;;
 
5368
 
 
5369
cegcc)
 
5370
  # use the weaker test based on 'objdump'. See mingw*.
 
5371
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5372
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5373
  ;;
 
5374
 
 
5375
darwin* | rhapsody*)
 
5376
  lt_cv_deplibs_check_method=pass_all
 
5377
  ;;
 
5378
 
 
5379
freebsd* | dragonfly*)
 
5380
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5381
    case $host_cpu in
 
5382
    i*86 )
 
5383
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5384
      # Let's accept both of them until this is cleared up.
 
5385
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5386
      lt_cv_file_magic_cmd=/usr/bin/file
 
5387
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5388
      ;;
 
5389
    esac
 
5390
  else
 
5391
    lt_cv_deplibs_check_method=pass_all
 
5392
  fi
 
5393
  ;;
 
5394
 
 
5395
gnu*)
 
5396
  lt_cv_deplibs_check_method=pass_all
 
5397
  ;;
 
5398
 
 
5399
hpux10.20* | hpux11*)
 
5400
  lt_cv_file_magic_cmd=/usr/bin/file
 
5401
  case $host_cpu in
 
5402
  ia64*)
 
5403
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5404
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5405
    ;;
 
5406
  hppa*64*)
 
5407
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
5408
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5409
    ;;
 
5410
  *)
 
5411
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5412
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5413
    ;;
 
5414
  esac
 
5415
  ;;
 
5416
 
 
5417
interix[3-9]*)
 
5418
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5419
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5420
  ;;
 
5421
 
 
5422
irix5* | irix6* | nonstopux*)
 
5423
  case $LD in
 
5424
  *-32|*"-32 ") libmagic=32-bit;;
 
5425
  *-n32|*"-n32 ") libmagic=N32;;
 
5426
  *-64|*"-64 ") libmagic=64-bit;;
 
5427
  *) libmagic=never-match;;
 
5428
  esac
 
5429
  lt_cv_deplibs_check_method=pass_all
 
5430
  ;;
 
5431
 
 
5432
# This must be Linux ELF.
 
5433
linux* | k*bsd*-gnu)
 
5434
  lt_cv_deplibs_check_method=pass_all
 
5435
  ;;
 
5436
 
 
5437
netbsd* | netbsdelf*-gnu)
 
5438
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5439
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5440
  else
 
5441
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5442
  fi
 
5443
  ;;
 
5444
 
 
5445
newos6*)
 
5446
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5447
  lt_cv_file_magic_cmd=/usr/bin/file
 
5448
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5449
  ;;
 
5450
 
 
5451
*nto* | *qnx*)
 
5452
  lt_cv_deplibs_check_method=pass_all
 
5453
  ;;
 
5454
 
 
5455
openbsd*)
 
5456
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5457
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5458
  else
 
5459
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5460
  fi
 
5461
  ;;
 
5462
 
 
5463
osf3* | osf4* | osf5*)
 
5464
  lt_cv_deplibs_check_method=pass_all
 
5465
  ;;
 
5466
 
 
5467
rdos*)
 
5468
  lt_cv_deplibs_check_method=pass_all
 
5469
  ;;
 
5470
 
 
5471
solaris*)
 
5472
  lt_cv_deplibs_check_method=pass_all
 
5473
  ;;
 
5474
 
 
5475
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5476
  lt_cv_deplibs_check_method=pass_all
 
5477
  ;;
 
5478
 
 
5479
sysv4 | sysv4.3*)
 
5480
  case $host_vendor in
 
5481
  motorola)
 
5482
    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]'
 
5483
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5484
    ;;
 
5485
  ncr)
 
5486
    lt_cv_deplibs_check_method=pass_all
 
5487
    ;;
 
5488
  sequent)
 
5489
    lt_cv_file_magic_cmd='/bin/file'
 
5490
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5491
    ;;
 
5492
  sni)
 
5493
    lt_cv_file_magic_cmd='/bin/file'
 
5494
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5495
    lt_cv_file_magic_test_file=/lib/libc.so
 
5496
    ;;
 
5497
  siemens)
 
5498
    lt_cv_deplibs_check_method=pass_all
 
5499
    ;;
 
5500
  pc)
 
5501
    lt_cv_deplibs_check_method=pass_all
 
5502
    ;;
 
5503
  esac
 
5504
  ;;
 
5505
 
 
5506
tpf*)
 
5507
  lt_cv_deplibs_check_method=pass_all
 
5508
  ;;
 
5509
esac
 
5510
 
 
5511
fi
 
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5513
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5514
file_magic_cmd=$lt_cv_file_magic_cmd
 
5515
deplibs_check_method=$lt_cv_deplibs_check_method
 
5516
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
if test -n "$ac_tool_prefix"; then
 
5530
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5531
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5533
$as_echo_n "checking for $ac_word... " >&6; }
 
5534
if test "${ac_cv_prog_AR+set}" = set; then :
 
5535
  $as_echo_n "(cached) " >&6
 
5536
else
 
5537
  if test -n "$AR"; then
 
5538
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5539
else
 
5540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5541
for as_dir in $PATH
 
5542
do
 
5543
  IFS=$as_save_IFS
 
5544
  test -z "$as_dir" && as_dir=.
 
5545
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5546
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5547
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5548
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5549
    break 2
 
5550
  fi
 
5551
done
 
5552
  done
 
5553
IFS=$as_save_IFS
 
5554
 
 
5555
fi
 
5556
fi
 
5557
AR=$ac_cv_prog_AR
 
5558
if test -n "$AR"; then
 
5559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5560
$as_echo "$AR" >&6; }
 
5561
else
 
5562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5563
$as_echo "no" >&6; }
 
5564
fi
 
5565
 
 
5566
 
 
5567
fi
 
5568
if test -z "$ac_cv_prog_AR"; then
 
5569
  ac_ct_AR=$AR
 
5570
  # Extract the first word of "ar", so it can be a program name with args.
 
5571
set dummy ar; ac_word=$2
 
5572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5573
$as_echo_n "checking for $ac_word... " >&6; }
 
5574
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5575
  $as_echo_n "(cached) " >&6
 
5576
else
 
5577
  if test -n "$ac_ct_AR"; then
 
5578
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5579
else
 
5580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5581
for as_dir in $PATH
 
5582
do
 
5583
  IFS=$as_save_IFS
 
5584
  test -z "$as_dir" && as_dir=.
 
5585
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5586
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5587
    ac_cv_prog_ac_ct_AR="ar"
 
5588
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5589
    break 2
 
5590
  fi
 
5591
done
 
5592
  done
 
5593
IFS=$as_save_IFS
 
5594
 
 
5595
fi
 
5596
fi
 
5597
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5598
if test -n "$ac_ct_AR"; then
 
5599
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5600
$as_echo "$ac_ct_AR" >&6; }
 
5601
else
 
5602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5603
$as_echo "no" >&6; }
 
5604
fi
 
5605
 
 
5606
  if test "x$ac_ct_AR" = x; then
 
5607
    AR="false"
 
5608
  else
 
5609
    case $cross_compiling:$ac_tool_warned in
 
5610
yes:)
 
5611
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5612
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5613
ac_tool_warned=yes ;;
 
5614
esac
 
5615
    AR=$ac_ct_AR
 
5616
  fi
 
5617
else
 
5618
  AR="$ac_cv_prog_AR"
 
5619
fi
 
5620
 
 
5621
test -z "$AR" && AR=ar
 
5622
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5623
 
 
5624
 
 
5625
 
 
5626
 
 
5627
 
 
5628
 
 
5629
 
 
5630
 
 
5631
 
 
5632
 
 
5633
 
 
5634
if test -n "$ac_tool_prefix"; then
 
5635
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5636
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5638
$as_echo_n "checking for $ac_word... " >&6; }
 
5639
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5640
  $as_echo_n "(cached) " >&6
 
5641
else
 
5642
  if test -n "$STRIP"; then
 
5643
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5644
else
 
5645
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5646
for as_dir in $PATH
 
5647
do
 
5648
  IFS=$as_save_IFS
 
5649
  test -z "$as_dir" && as_dir=.
 
5650
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5651
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5652
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5653
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5654
    break 2
 
5655
  fi
 
5656
done
 
5657
  done
 
5658
IFS=$as_save_IFS
 
5659
 
 
5660
fi
 
5661
fi
 
5662
STRIP=$ac_cv_prog_STRIP
 
5663
if test -n "$STRIP"; then
 
5664
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5665
$as_echo "$STRIP" >&6; }
 
5666
else
 
5667
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5668
$as_echo "no" >&6; }
 
5669
fi
 
5670
 
 
5671
 
 
5672
fi
 
5673
if test -z "$ac_cv_prog_STRIP"; then
 
5674
  ac_ct_STRIP=$STRIP
 
5675
  # Extract the first word of "strip", so it can be a program name with args.
 
5676
set dummy strip; ac_word=$2
 
5677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5678
$as_echo_n "checking for $ac_word... " >&6; }
 
5679
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5680
  $as_echo_n "(cached) " >&6
 
5681
else
 
5682
  if test -n "$ac_ct_STRIP"; then
 
5683
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5684
else
 
5685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5686
for as_dir in $PATH
 
5687
do
 
5688
  IFS=$as_save_IFS
 
5689
  test -z "$as_dir" && as_dir=.
 
5690
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5691
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5692
    ac_cv_prog_ac_ct_STRIP="strip"
 
5693
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5694
    break 2
 
5695
  fi
 
5696
done
 
5697
  done
 
5698
IFS=$as_save_IFS
 
5699
 
 
5700
fi
 
5701
fi
 
5702
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5703
if test -n "$ac_ct_STRIP"; then
 
5704
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5705
$as_echo "$ac_ct_STRIP" >&6; }
 
5706
else
 
5707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5708
$as_echo "no" >&6; }
 
5709
fi
 
5710
 
 
5711
  if test "x$ac_ct_STRIP" = x; then
 
5712
    STRIP=":"
 
5713
  else
 
5714
    case $cross_compiling:$ac_tool_warned in
 
5715
yes:)
 
5716
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5717
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5718
ac_tool_warned=yes ;;
 
5719
esac
 
5720
    STRIP=$ac_ct_STRIP
 
5721
  fi
 
5722
else
 
5723
  STRIP="$ac_cv_prog_STRIP"
 
5724
fi
 
5725
 
 
5726
test -z "$STRIP" && STRIP=:
 
5727
 
 
5728
 
 
5729
 
 
5730
 
 
5731
 
 
5732
 
 
5733
if test -n "$ac_tool_prefix"; then
 
5734
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5735
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5737
$as_echo_n "checking for $ac_word... " >&6; }
 
5738
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5739
  $as_echo_n "(cached) " >&6
 
5740
else
 
5741
  if test -n "$RANLIB"; then
 
5742
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5743
else
 
5744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5745
for as_dir in $PATH
 
5746
do
 
5747
  IFS=$as_save_IFS
 
5748
  test -z "$as_dir" && as_dir=.
 
5749
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5750
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5751
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5752
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5753
    break 2
 
5754
  fi
 
5755
done
 
5756
  done
 
5757
IFS=$as_save_IFS
 
5758
 
 
5759
fi
 
5760
fi
 
5761
RANLIB=$ac_cv_prog_RANLIB
 
5762
if test -n "$RANLIB"; then
 
5763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
5764
$as_echo "$RANLIB" >&6; }
 
5765
else
 
5766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5767
$as_echo "no" >&6; }
 
5768
fi
 
5769
 
 
5770
 
 
5771
fi
 
5772
if test -z "$ac_cv_prog_RANLIB"; then
 
5773
  ac_ct_RANLIB=$RANLIB
 
5774
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5775
set dummy ranlib; ac_word=$2
 
5776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5777
$as_echo_n "checking for $ac_word... " >&6; }
 
5778
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5779
  $as_echo_n "(cached) " >&6
 
5780
else
 
5781
  if test -n "$ac_ct_RANLIB"; then
 
5782
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5783
else
 
5784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5785
for as_dir in $PATH
 
5786
do
 
5787
  IFS=$as_save_IFS
 
5788
  test -z "$as_dir" && as_dir=.
 
5789
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5790
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5791
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5792
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5793
    break 2
 
5794
  fi
 
5795
done
 
5796
  done
 
5797
IFS=$as_save_IFS
 
5798
 
 
5799
fi
 
5800
fi
 
5801
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5802
if test -n "$ac_ct_RANLIB"; then
 
5803
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
5804
$as_echo "$ac_ct_RANLIB" >&6; }
 
5805
else
 
5806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5807
$as_echo "no" >&6; }
 
5808
fi
 
5809
 
 
5810
  if test "x$ac_ct_RANLIB" = x; then
 
5811
    RANLIB=":"
 
5812
  else
 
5813
    case $cross_compiling:$ac_tool_warned in
 
5814
yes:)
 
5815
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5816
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5817
ac_tool_warned=yes ;;
 
5818
esac
 
5819
    RANLIB=$ac_ct_RANLIB
 
5820
  fi
 
5821
else
 
5822
  RANLIB="$ac_cv_prog_RANLIB"
 
5823
fi
 
5824
 
 
5825
test -z "$RANLIB" && RANLIB=:
 
5826
 
 
5827
 
 
5828
 
 
5829
 
 
5830
 
 
5831
 
 
5832
# Determine commands to create old-style static archives.
 
5833
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5834
old_postinstall_cmds='chmod 644 $oldlib'
 
5835
old_postuninstall_cmds=
 
5836
 
 
5837
if test -n "$RANLIB"; then
 
5838
  case $host_os in
 
5839
  openbsd*)
 
5840
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5841
    ;;
 
5842
  *)
 
5843
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5844
    ;;
 
5845
  esac
 
5846
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5847
fi
 
5848
 
 
5849
 
 
5850
 
 
5851
 
 
5852
 
 
5853
 
 
5854
 
 
5855
 
 
5856
 
 
5857
 
 
5858
 
 
5859
 
 
5860
 
 
5861
 
 
5862
 
 
5863
 
 
5864
 
 
5865
 
 
5866
 
 
5867
 
 
5868
 
 
5869
 
 
5870
 
 
5871
 
 
5872
 
 
5873
 
 
5874
 
 
5875
 
 
5876
 
 
5877
 
 
5878
 
 
5879
 
 
5880
 
 
5881
 
 
5882
# If no C compiler was specified, use CC.
 
5883
LTCC=${LTCC-"$CC"}
 
5884
 
 
5885
# If no C compiler flags were specified, use CFLAGS.
 
5886
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5887
 
 
5888
# Allow CC to be a program name with arguments.
 
5889
compiler=$CC
 
5890
 
 
5891
 
 
5892
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
5893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
5894
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
5895
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5896
  $as_echo_n "(cached) " >&6
 
5897
else
 
5898
 
 
5899
# These are sane defaults that work on at least a few old systems.
 
5900
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
5901
 
 
5902
# Character class describing NM global symbol codes.
 
5903
symcode='[BCDEGRST]'
 
5904
 
 
5905
# Regexp to match symbols that can be accessed directly from C.
 
5906
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
5907
 
 
5908
# Define system-specific variables.
 
5909
case $host_os in
 
5910
aix*)
 
5911
  symcode='[BCDT]'
 
5912
  ;;
 
5913
cygwin* | mingw* | pw32* | cegcc*)
 
5914
  symcode='[ABCDGISTW]'
 
5915
  ;;
 
5916
hpux*)
 
5917
  if test "$host_cpu" = ia64; then
 
5918
    symcode='[ABCDEGRST]'
 
5919
  fi
 
5920
  ;;
 
5921
irix* | nonstopux*)
 
5922
  symcode='[BCDEGRST]'
 
5923
  ;;
 
5924
osf*)
 
5925
  symcode='[BCDEGQRST]'
 
5926
  ;;
 
5927
solaris*)
 
5928
  symcode='[BDRT]'
 
5929
  ;;
 
5930
sco3.2v5*)
 
5931
  symcode='[DT]'
 
5932
  ;;
 
5933
sysv4.2uw2*)
 
5934
  symcode='[DT]'
 
5935
  ;;
 
5936
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
5937
  symcode='[ABDT]'
 
5938
  ;;
 
5939
sysv4)
 
5940
  symcode='[DFNSTU]'
 
5941
  ;;
 
5942
esac
 
5943
 
 
5944
# If we're using GNU nm, then use its standard symbol codes.
 
5945
case `$NM -V 2>&1` in
 
5946
*GNU* | *'with BFD'*)
 
5947
  symcode='[ABCDGIRSTW]' ;;
 
5948
esac
 
5949
 
 
5950
# Transform an extracted symbol line into a proper C declaration.
 
5951
# Some systems (esp. on ia64) link data and code symbols differently,
 
5952
# so use this general approach.
 
5953
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5954
 
 
5955
# Transform an extracted symbol line into symbol name and symbol address
 
5956
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5957
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'"
 
5958
 
 
5959
# Handle CRLF in mingw tool chain
 
5960
opt_cr=
 
5961
case $build_os in
 
5962
mingw*)
 
5963
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5964
  ;;
 
5965
esac
 
5966
 
 
5967
# Try without a prefix underscore, then with it.
 
5968
for ac_symprfx in "" "_"; do
 
5969
 
 
5970
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
5971
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
5972
 
 
5973
  # Write the raw and C identifiers.
 
5974
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5975
    # Fake it for dumpbin and say T for any non-static function
 
5976
    # and D for any global variable.
 
5977
    # Also find C++ and __fastcall symbols from MSVC++,
 
5978
    # which start with @ or ?.
 
5979
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5980
"     {last_section=section; section=\$ 3};"\
 
5981
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5982
"     \$ 0!~/External *\|/{next};"\
 
5983
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5984
"     {if(hide[section]) next};"\
 
5985
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5986
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5987
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5988
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5989
"     ' prfx=^$ac_symprfx"
 
5990
  else
 
5991
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5992
  fi
 
5993
 
 
5994
  # Check to see that the pipe works correctly.
 
5995
  pipe_works=no
 
5996
 
 
5997
  rm -f conftest*
 
5998
  cat > conftest.$ac_ext <<_LT_EOF
 
5999
#ifdef __cplusplus
 
6000
extern "C" {
 
6001
#endif
 
6002
char nm_test_var;
 
6003
void nm_test_func(void);
 
6004
void nm_test_func(void){}
 
6005
#ifdef __cplusplus
 
6006
}
 
6007
#endif
 
6008
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6009
_LT_EOF
 
6010
 
 
6011
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6012
  (eval $ac_compile) 2>&5
 
6013
  ac_status=$?
 
6014
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6015
  test $ac_status = 0; }; then
 
6016
    # Now try to grab the symbols.
 
6017
    nlist=conftest.nm
 
6018
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
6019
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6020
  ac_status=$?
 
6021
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6022
  test $ac_status = 0; } && test -s "$nlist"; then
 
6023
      # Try sorting and uniquifying the output.
 
6024
      if sort "$nlist" | uniq > "$nlist"T; then
 
6025
        mv -f "$nlist"T "$nlist"
 
6026
      else
 
6027
        rm -f "$nlist"T
 
6028
      fi
 
6029
 
 
6030
      # Make sure that we snagged all the symbols we need.
 
6031
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6032
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6033
          cat <<_LT_EOF > conftest.$ac_ext
 
6034
#ifdef __cplusplus
 
6035
extern "C" {
 
6036
#endif
 
6037
 
 
6038
_LT_EOF
 
6039
          # Now generate the symbol file.
 
6040
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6041
 
 
6042
          cat <<_LT_EOF >> conftest.$ac_ext
 
6043
 
 
6044
/* The mapping between symbol names and symbols.  */
 
6045
const struct {
 
6046
  const char *name;
 
6047
  void       *address;
 
6048
}
 
6049
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6050
{
 
6051
  { "@PROGRAM@", (void *) 0 },
 
6052
_LT_EOF
 
6053
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6054
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6055
  {0, (void *) 0}
 
6056
};
 
6057
 
 
6058
/* This works around a problem in FreeBSD linker */
 
6059
#ifdef FREEBSD_WORKAROUND
 
6060
static const void *lt_preloaded_setup() {
 
6061
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6062
}
 
6063
#endif
 
6064
 
 
6065
#ifdef __cplusplus
 
6066
}
 
6067
#endif
 
6068
_LT_EOF
 
6069
          # Now try linking the two files.
 
6070
          mv conftest.$ac_objext conftstm.$ac_objext
 
6071
          lt_save_LIBS="$LIBS"
 
6072
          lt_save_CFLAGS="$CFLAGS"
 
6073
          LIBS="conftstm.$ac_objext"
 
6074
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6075
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6076
  (eval $ac_link) 2>&5
 
6077
  ac_status=$?
 
6078
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6079
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6080
            pipe_works=yes
 
6081
          fi
 
6082
          LIBS="$lt_save_LIBS"
 
6083
          CFLAGS="$lt_save_CFLAGS"
 
6084
        else
 
6085
          echo "cannot find nm_test_func in $nlist" >&5
 
6086
        fi
 
6087
      else
 
6088
        echo "cannot find nm_test_var in $nlist" >&5
 
6089
      fi
 
6090
    else
 
6091
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6092
    fi
 
6093
  else
 
6094
    echo "$progname: failed program was:" >&5
 
6095
    cat conftest.$ac_ext >&5
 
6096
  fi
 
6097
  rm -rf conftest* conftst*
 
6098
 
 
6099
  # Do not use the global_symbol_pipe unless it works.
 
6100
  if test "$pipe_works" = yes; then
 
6101
    break
 
6102
  else
 
6103
    lt_cv_sys_global_symbol_pipe=
 
6104
  fi
 
6105
done
 
6106
 
 
6107
fi
 
6108
 
 
6109
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6110
  lt_cv_sys_global_symbol_to_cdecl=
 
6111
fi
 
6112
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6114
$as_echo "failed" >&6; }
 
6115
else
 
6116
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6117
$as_echo "ok" >&6; }
 
6118
fi
 
6119
 
 
6120
 
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
 
6126
 
 
6127
 
 
6128
 
 
6129
 
 
6130
 
 
6131
 
 
6132
 
 
6133
 
 
6134
 
 
6135
 
 
6136
 
 
6137
 
 
6138
 
 
6139
 
 
6140
 
 
6141
 
 
6142
# Check whether --enable-libtool-lock was given.
 
6143
if test "${enable_libtool_lock+set}" = set; then :
 
6144
  enableval=$enable_libtool_lock;
 
6145
fi
 
6146
 
 
6147
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6148
 
 
6149
# Some flags need to be propagated to the compiler or linker for good
 
6150
# libtool support.
 
6151
case $host in
 
6152
ia64-*-hpux*)
 
6153
  # Find out which ABI we are using.
 
6154
  echo 'int i;' > conftest.$ac_ext
 
6155
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6156
  (eval $ac_compile) 2>&5
 
6157
  ac_status=$?
 
6158
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6159
  test $ac_status = 0; }; then
 
6160
    case `/usr/bin/file conftest.$ac_objext` in
 
6161
      *ELF-32*)
 
6162
        HPUX_IA64_MODE="32"
 
6163
        ;;
 
6164
      *ELF-64*)
 
6165
        HPUX_IA64_MODE="64"
 
6166
        ;;
 
6167
    esac
 
6168
  fi
 
6169
  rm -rf conftest*
 
6170
  ;;
 
6171
*-*-irix6*)
 
6172
  # Find out which ABI we are using.
 
6173
  echo '#line 6173 "configure"' > conftest.$ac_ext
 
6174
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6175
  (eval $ac_compile) 2>&5
 
6176
  ac_status=$?
 
6177
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6178
  test $ac_status = 0; }; then
 
6179
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6180
      case `/usr/bin/file conftest.$ac_objext` in
 
6181
        *32-bit*)
 
6182
          LD="${LD-ld} -melf32bsmip"
 
6183
          ;;
 
6184
        *N32*)
 
6185
          LD="${LD-ld} -melf32bmipn32"
 
6186
          ;;
 
6187
        *64-bit*)
 
6188
          LD="${LD-ld} -melf64bmip"
 
6189
        ;;
 
6190
      esac
 
6191
    else
 
6192
      case `/usr/bin/file conftest.$ac_objext` in
 
6193
        *32-bit*)
 
6194
          LD="${LD-ld} -32"
 
6195
          ;;
 
6196
        *N32*)
 
6197
          LD="${LD-ld} -n32"
 
6198
          ;;
 
6199
        *64-bit*)
 
6200
          LD="${LD-ld} -64"
 
6201
          ;;
 
6202
      esac
 
6203
    fi
 
6204
  fi
 
6205
  rm -rf conftest*
 
6206
  ;;
 
6207
 
 
6208
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6209
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6210
  # Find out which ABI we are using.
 
6211
  echo 'int i;' > conftest.$ac_ext
 
6212
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6213
  (eval $ac_compile) 2>&5
 
6214
  ac_status=$?
 
6215
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6216
  test $ac_status = 0; }; then
 
6217
    case `/usr/bin/file conftest.o` in
 
6218
      *32-bit*)
 
6219
        case $host in
 
6220
          x86_64-*kfreebsd*-gnu)
 
6221
            LD="${LD-ld} -m elf_i386_fbsd"
 
6222
            ;;
 
6223
          x86_64-*linux*)
 
6224
            LD="${LD-ld} -m elf_i386"
 
6225
            ;;
 
6226
          ppc64-*linux*|powerpc64-*linux*)
 
6227
            LD="${LD-ld} -m elf32ppclinux"
 
6228
            ;;
 
6229
          s390x-*linux*)
 
6230
            LD="${LD-ld} -m elf_s390"
 
6231
            ;;
 
6232
          sparc64-*linux*)
 
6233
            LD="${LD-ld} -m elf32_sparc"
 
6234
            ;;
 
6235
        esac
 
6236
        ;;
 
6237
      *64-bit*)
 
6238
        case $host in
 
6239
          x86_64-*kfreebsd*-gnu)
 
6240
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6241
            ;;
 
6242
          x86_64-*linux*)
 
6243
            LD="${LD-ld} -m elf_x86_64"
 
6244
            ;;
 
6245
          ppc*-*linux*|powerpc*-*linux*)
 
6246
            LD="${LD-ld} -m elf64ppc"
 
6247
            ;;
 
6248
          s390*-*linux*|s390*-*tpf*)
 
6249
            LD="${LD-ld} -m elf64_s390"
 
6250
            ;;
 
6251
          sparc*-*linux*)
 
6252
            LD="${LD-ld} -m elf64_sparc"
 
6253
            ;;
 
6254
        esac
 
6255
        ;;
 
6256
    esac
 
6257
  fi
 
6258
  rm -rf conftest*
 
6259
  ;;
 
6260
 
 
6261
*-*-sco3.2v5*)
 
6262
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6263
  SAVE_CFLAGS="$CFLAGS"
 
6264
  CFLAGS="$CFLAGS -belf"
 
6265
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6266
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6267
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6268
  $as_echo_n "(cached) " >&6
 
6269
else
 
6270
  ac_ext=c
 
6271
ac_cpp='$CPP $CPPFLAGS'
 
6272
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6273
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6274
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6275
 
 
6276
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6277
/* end confdefs.h.  */
 
6278
 
 
6279
int
 
6280
main ()
 
6281
{
 
6282
 
 
6283
  ;
 
6284
  return 0;
 
6285
}
 
6286
_ACEOF
 
6287
if ac_fn_c_try_link "$LINENO"; then :
 
6288
  lt_cv_cc_needs_belf=yes
 
6289
else
 
6290
  lt_cv_cc_needs_belf=no
 
6291
fi
 
6292
rm -f core conftest.err conftest.$ac_objext \
 
6293
    conftest$ac_exeext conftest.$ac_ext
 
6294
     ac_ext=c
 
6295
ac_cpp='$CPP $CPPFLAGS'
 
6296
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6297
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6298
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6299
 
 
6300
fi
 
6301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6302
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6303
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6304
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6305
    CFLAGS="$SAVE_CFLAGS"
 
6306
  fi
 
6307
  ;;
 
6308
sparc*-*solaris*)
 
6309
  # Find out which ABI we are using.
 
6310
  echo 'int i;' > conftest.$ac_ext
 
6311
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6312
  (eval $ac_compile) 2>&5
 
6313
  ac_status=$?
 
6314
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6315
  test $ac_status = 0; }; then
 
6316
    case `/usr/bin/file conftest.o` in
 
6317
    *64-bit*)
 
6318
      case $lt_cv_prog_gnu_ld in
 
6319
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6320
      *)
 
6321
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6322
          LD="${LD-ld} -64"
 
6323
        fi
 
6324
        ;;
 
6325
      esac
 
6326
      ;;
 
6327
    esac
 
6328
  fi
 
6329
  rm -rf conftest*
 
6330
  ;;
 
6331
esac
 
6332
 
 
6333
need_locks="$enable_libtool_lock"
 
6334
 
 
6335
 
 
6336
  case $host_os in
 
6337
    rhapsody* | darwin*)
 
6338
    if test -n "$ac_tool_prefix"; then
 
6339
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6340
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6342
$as_echo_n "checking for $ac_word... " >&6; }
 
6343
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6344
  $as_echo_n "(cached) " >&6
 
6345
else
 
6346
  if test -n "$DSYMUTIL"; then
 
6347
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6348
else
 
6349
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6350
for as_dir in $PATH
 
6351
do
 
6352
  IFS=$as_save_IFS
 
6353
  test -z "$as_dir" && as_dir=.
 
6354
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6355
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6356
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6357
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6358
    break 2
 
6359
  fi
 
6360
done
 
6361
  done
 
6362
IFS=$as_save_IFS
 
6363
 
 
6364
fi
 
6365
fi
 
6366
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6367
if test -n "$DSYMUTIL"; then
 
6368
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6369
$as_echo "$DSYMUTIL" >&6; }
 
6370
else
 
6371
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6372
$as_echo "no" >&6; }
 
6373
fi
 
6374
 
 
6375
 
 
6376
fi
 
6377
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6378
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6379
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6380
set dummy dsymutil; ac_word=$2
 
6381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6382
$as_echo_n "checking for $ac_word... " >&6; }
 
6383
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6384
  $as_echo_n "(cached) " >&6
 
6385
else
 
6386
  if test -n "$ac_ct_DSYMUTIL"; then
 
6387
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6388
else
 
6389
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6390
for as_dir in $PATH
 
6391
do
 
6392
  IFS=$as_save_IFS
 
6393
  test -z "$as_dir" && as_dir=.
 
6394
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6395
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6396
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6397
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6398
    break 2
 
6399
  fi
 
6400
done
 
6401
  done
 
6402
IFS=$as_save_IFS
 
6403
 
 
6404
fi
 
6405
fi
 
6406
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6407
if test -n "$ac_ct_DSYMUTIL"; then
 
6408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6409
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6410
else
 
6411
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6412
$as_echo "no" >&6; }
 
6413
fi
 
6414
 
 
6415
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6416
    DSYMUTIL=":"
 
6417
  else
 
6418
    case $cross_compiling:$ac_tool_warned in
 
6419
yes:)
 
6420
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6421
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6422
ac_tool_warned=yes ;;
 
6423
esac
 
6424
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6425
  fi
 
6426
else
 
6427
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6428
fi
 
6429
 
 
6430
    if test -n "$ac_tool_prefix"; then
 
6431
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6432
set dummy ${ac_tool_prefix}nmedit; 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 test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6436
  $as_echo_n "(cached) " >&6
 
6437
else
 
6438
  if test -n "$NMEDIT"; then
 
6439
  ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
 
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
NMEDIT=$ac_cv_prog_NMEDIT
 
6459
if test -n "$NMEDIT"; then
 
6460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6461
$as_echo "$NMEDIT" >&6; }
 
6462
else
 
6463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6464
$as_echo "no" >&6; }
 
6465
fi
 
6466
 
 
6467
 
 
6468
fi
 
6469
if test -z "$ac_cv_prog_NMEDIT"; then
 
6470
  ac_ct_NMEDIT=$NMEDIT
 
6471
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6472
set dummy nmedit; ac_word=$2
 
6473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6474
$as_echo_n "checking for $ac_word... " >&6; }
 
6475
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6476
  $as_echo_n "(cached) " >&6
 
6477
else
 
6478
  if test -n "$ac_ct_NMEDIT"; then
 
6479
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6480
else
 
6481
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6482
for as_dir in $PATH
 
6483
do
 
6484
  IFS=$as_save_IFS
 
6485
  test -z "$as_dir" && as_dir=.
 
6486
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6487
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6488
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6489
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6490
    break 2
 
6491
  fi
 
6492
done
 
6493
  done
 
6494
IFS=$as_save_IFS
 
6495
 
 
6496
fi
 
6497
fi
 
6498
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6499
if test -n "$ac_ct_NMEDIT"; then
 
6500
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6501
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6502
else
 
6503
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6504
$as_echo "no" >&6; }
 
6505
fi
 
6506
 
 
6507
  if test "x$ac_ct_NMEDIT" = x; then
 
6508
    NMEDIT=":"
 
6509
  else
 
6510
    case $cross_compiling:$ac_tool_warned in
 
6511
yes:)
 
6512
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6513
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6514
ac_tool_warned=yes ;;
 
6515
esac
 
6516
    NMEDIT=$ac_ct_NMEDIT
 
6517
  fi
 
6518
else
 
6519
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6520
fi
 
6521
 
 
6522
    if test -n "$ac_tool_prefix"; then
 
6523
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6524
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6526
$as_echo_n "checking for $ac_word... " >&6; }
 
6527
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6528
  $as_echo_n "(cached) " >&6
 
6529
else
 
6530
  if test -n "$LIPO"; then
 
6531
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6532
else
 
6533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6534
for as_dir in $PATH
 
6535
do
 
6536
  IFS=$as_save_IFS
 
6537
  test -z "$as_dir" && as_dir=.
 
6538
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6540
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6541
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6542
    break 2
 
6543
  fi
 
6544
done
 
6545
  done
 
6546
IFS=$as_save_IFS
 
6547
 
 
6548
fi
 
6549
fi
 
6550
LIPO=$ac_cv_prog_LIPO
 
6551
if test -n "$LIPO"; then
 
6552
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6553
$as_echo "$LIPO" >&6; }
 
6554
else
 
6555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6556
$as_echo "no" >&6; }
 
6557
fi
 
6558
 
 
6559
 
 
6560
fi
 
6561
if test -z "$ac_cv_prog_LIPO"; then
 
6562
  ac_ct_LIPO=$LIPO
 
6563
  # Extract the first word of "lipo", so it can be a program name with args.
 
6564
set dummy lipo; ac_word=$2
 
6565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6566
$as_echo_n "checking for $ac_word... " >&6; }
 
6567
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6568
  $as_echo_n "(cached) " >&6
 
6569
else
 
6570
  if test -n "$ac_ct_LIPO"; then
 
6571
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6572
else
 
6573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6574
for as_dir in $PATH
 
6575
do
 
6576
  IFS=$as_save_IFS
 
6577
  test -z "$as_dir" && as_dir=.
 
6578
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6579
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6580
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6581
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6582
    break 2
 
6583
  fi
 
6584
done
 
6585
  done
 
6586
IFS=$as_save_IFS
 
6587
 
 
6588
fi
 
6589
fi
 
6590
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6591
if test -n "$ac_ct_LIPO"; then
 
6592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6593
$as_echo "$ac_ct_LIPO" >&6; }
 
6594
else
 
6595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6596
$as_echo "no" >&6; }
 
6597
fi
 
6598
 
 
6599
  if test "x$ac_ct_LIPO" = x; then
 
6600
    LIPO=":"
 
6601
  else
 
6602
    case $cross_compiling:$ac_tool_warned in
 
6603
yes:)
 
6604
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6605
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6606
ac_tool_warned=yes ;;
 
6607
esac
 
6608
    LIPO=$ac_ct_LIPO
 
6609
  fi
 
6610
else
 
6611
  LIPO="$ac_cv_prog_LIPO"
 
6612
fi
 
6613
 
 
6614
    if test -n "$ac_tool_prefix"; then
 
6615
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6616
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6618
$as_echo_n "checking for $ac_word... " >&6; }
 
6619
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6620
  $as_echo_n "(cached) " >&6
 
6621
else
 
6622
  if test -n "$OTOOL"; then
 
6623
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6624
else
 
6625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6626
for as_dir in $PATH
 
6627
do
 
6628
  IFS=$as_save_IFS
 
6629
  test -z "$as_dir" && as_dir=.
 
6630
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6632
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6633
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6634
    break 2
 
6635
  fi
 
6636
done
 
6637
  done
 
6638
IFS=$as_save_IFS
 
6639
 
 
6640
fi
 
6641
fi
 
6642
OTOOL=$ac_cv_prog_OTOOL
 
6643
if test -n "$OTOOL"; then
 
6644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6645
$as_echo "$OTOOL" >&6; }
 
6646
else
 
6647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6648
$as_echo "no" >&6; }
 
6649
fi
 
6650
 
 
6651
 
 
6652
fi
 
6653
if test -z "$ac_cv_prog_OTOOL"; then
 
6654
  ac_ct_OTOOL=$OTOOL
 
6655
  # Extract the first word of "otool", so it can be a program name with args.
 
6656
set dummy otool; ac_word=$2
 
6657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6658
$as_echo_n "checking for $ac_word... " >&6; }
 
6659
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6660
  $as_echo_n "(cached) " >&6
 
6661
else
 
6662
  if test -n "$ac_ct_OTOOL"; then
 
6663
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6664
else
 
6665
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6666
for as_dir in $PATH
 
6667
do
 
6668
  IFS=$as_save_IFS
 
6669
  test -z "$as_dir" && as_dir=.
 
6670
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6671
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6672
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6673
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6674
    break 2
 
6675
  fi
 
6676
done
 
6677
  done
 
6678
IFS=$as_save_IFS
 
6679
 
 
6680
fi
 
6681
fi
 
6682
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6683
if test -n "$ac_ct_OTOOL"; then
 
6684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6685
$as_echo "$ac_ct_OTOOL" >&6; }
 
6686
else
 
6687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6688
$as_echo "no" >&6; }
 
6689
fi
 
6690
 
 
6691
  if test "x$ac_ct_OTOOL" = x; then
 
6692
    OTOOL=":"
 
6693
  else
 
6694
    case $cross_compiling:$ac_tool_warned in
 
6695
yes:)
 
6696
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6697
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6698
ac_tool_warned=yes ;;
 
6699
esac
 
6700
    OTOOL=$ac_ct_OTOOL
 
6701
  fi
 
6702
else
 
6703
  OTOOL="$ac_cv_prog_OTOOL"
 
6704
fi
 
6705
 
 
6706
    if test -n "$ac_tool_prefix"; then
 
6707
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6708
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6710
$as_echo_n "checking for $ac_word... " >&6; }
 
6711
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6712
  $as_echo_n "(cached) " >&6
 
6713
else
 
6714
  if test -n "$OTOOL64"; then
 
6715
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6716
else
 
6717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6718
for as_dir in $PATH
 
6719
do
 
6720
  IFS=$as_save_IFS
 
6721
  test -z "$as_dir" && as_dir=.
 
6722
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6724
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6725
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6726
    break 2
 
6727
  fi
 
6728
done
 
6729
  done
 
6730
IFS=$as_save_IFS
 
6731
 
 
6732
fi
 
6733
fi
 
6734
OTOOL64=$ac_cv_prog_OTOOL64
 
6735
if test -n "$OTOOL64"; then
 
6736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
6737
$as_echo "$OTOOL64" >&6; }
 
6738
else
 
6739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6740
$as_echo "no" >&6; }
 
6741
fi
 
6742
 
 
6743
 
 
6744
fi
 
6745
if test -z "$ac_cv_prog_OTOOL64"; then
 
6746
  ac_ct_OTOOL64=$OTOOL64
 
6747
  # Extract the first word of "otool64", so it can be a program name with args.
 
6748
set dummy otool64; ac_word=$2
 
6749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6750
$as_echo_n "checking for $ac_word... " >&6; }
 
6751
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6752
  $as_echo_n "(cached) " >&6
 
6753
else
 
6754
  if test -n "$ac_ct_OTOOL64"; then
 
6755
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6756
else
 
6757
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6758
for as_dir in $PATH
 
6759
do
 
6760
  IFS=$as_save_IFS
 
6761
  test -z "$as_dir" && as_dir=.
 
6762
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6763
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6764
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6765
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6766
    break 2
 
6767
  fi
 
6768
done
 
6769
  done
 
6770
IFS=$as_save_IFS
 
6771
 
 
6772
fi
 
6773
fi
 
6774
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6775
if test -n "$ac_ct_OTOOL64"; then
 
6776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
6777
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6778
else
 
6779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6780
$as_echo "no" >&6; }
 
6781
fi
 
6782
 
 
6783
  if test "x$ac_ct_OTOOL64" = x; then
 
6784
    OTOOL64=":"
 
6785
  else
 
6786
    case $cross_compiling:$ac_tool_warned in
 
6787
yes:)
 
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6789
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6790
ac_tool_warned=yes ;;
 
6791
esac
 
6792
    OTOOL64=$ac_ct_OTOOL64
 
6793
  fi
 
6794
else
 
6795
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6796
fi
 
6797
 
 
6798
 
 
6799
 
 
6800
 
 
6801
 
 
6802
 
 
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
 
 
6810
 
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
 
 
6817
 
 
6818
 
 
6819
 
 
6820
 
 
6821
 
 
6822
 
 
6823
 
 
6824
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
6825
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6826
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6827
  $as_echo_n "(cached) " >&6
 
6828
else
 
6829
  lt_cv_apple_cc_single_mod=no
 
6830
      if test -z "${LT_MULTI_MODULE}"; then
 
6831
        # By default we will add the -single_module flag. You can override
 
6832
        # by either setting the environment variable LT_MULTI_MODULE
 
6833
        # non-empty at configure time, or by adding -multi_module to the
 
6834
        # link flags.
 
6835
        rm -rf libconftest.dylib*
 
6836
        echo "int foo(void){return 1;}" > conftest.c
 
6837
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6838
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6839
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6840
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6841
        _lt_result=$?
 
6842
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6843
          lt_cv_apple_cc_single_mod=yes
 
6844
        else
 
6845
          cat conftest.err >&5
 
6846
        fi
 
6847
        rm -rf libconftest.dylib*
 
6848
        rm -f conftest.*
 
6849
      fi
 
6850
fi
 
6851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
6852
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6853
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
6854
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6855
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6856
  $as_echo_n "(cached) " >&6
 
6857
else
 
6858
  lt_cv_ld_exported_symbols_list=no
 
6859
      save_LDFLAGS=$LDFLAGS
 
6860
      echo "_main" > conftest.sym
 
6861
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
6862
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6863
/* end confdefs.h.  */
 
6864
 
 
6865
int
 
6866
main ()
 
6867
{
 
6868
 
 
6869
  ;
 
6870
  return 0;
 
6871
}
 
6872
_ACEOF
 
6873
if ac_fn_c_try_link "$LINENO"; then :
 
6874
  lt_cv_ld_exported_symbols_list=yes
 
6875
else
 
6876
  lt_cv_ld_exported_symbols_list=no
 
6877
fi
 
6878
rm -f core conftest.err conftest.$ac_objext \
 
6879
    conftest$ac_exeext conftest.$ac_ext
 
6880
        LDFLAGS="$save_LDFLAGS"
 
6881
 
 
6882
fi
 
6883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
6884
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6885
    case $host_os in
 
6886
    rhapsody* | darwin1.[012])
 
6887
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
6888
    darwin1.*)
 
6889
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6890
    darwin*) # darwin 5.x on
 
6891
      # if running on 10.5 or later, the deployment target defaults
 
6892
      # to the OS version, if on x86, and 10.4, the deployment
 
6893
      # target defaults to 10.4. Don't you love it?
 
6894
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
6895
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6896
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6897
        10.[012]*)
 
6898
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6899
        10.*)
 
6900
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6901
      esac
 
6902
    ;;
 
6903
  esac
 
6904
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
6905
      _lt_dar_single_mod='$single_module'
 
6906
    fi
 
6907
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
6908
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
6909
    else
 
6910
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6911
    fi
 
6912
    if test "$DSYMUTIL" != ":"; then
 
6913
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
6914
    else
 
6915
      _lt_dsymutil=
 
6916
    fi
 
6917
    ;;
 
6918
  esac
 
6919
 
 
6920
ac_ext=c
 
6921
ac_cpp='$CPP $CPPFLAGS'
 
6922
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6923
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6924
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
6926
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6927
# On Suns, sometimes $CPP names a directory.
 
6928
if test -n "$CPP" && test -d "$CPP"; then
 
6929
  CPP=
 
6930
fi
 
6931
if test -z "$CPP"; then
 
6932
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
6933
  $as_echo_n "(cached) " >&6
 
6934
else
 
6935
      # Double quotes because CPP needs to be expanded
 
6936
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6937
    do
 
6938
      ac_preproc_ok=false
 
6939
for ac_c_preproc_warn_flag in '' yes
 
6940
do
 
6941
  # Use a header file that comes with gcc, so configuring glibc
 
6942
  # with a fresh cross-compiler works.
 
6943
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6944
  # <limits.h> exists even on freestanding compilers.
 
6945
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6946
  # not just through cpp. "Syntax error" is here to catch this case.
 
6947
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6948
/* end confdefs.h.  */
 
6949
#ifdef __STDC__
 
6950
# include <limits.h>
 
6951
#else
 
6952
# include <assert.h>
 
6953
#endif
 
6954
                     Syntax error
 
6955
_ACEOF
 
6956
if ac_fn_c_try_cpp "$LINENO"; then :
 
6957
 
 
6958
else
 
6959
  # Broken: fails on valid input.
 
6960
continue
 
6961
fi
 
6962
rm -f conftest.err conftest.$ac_ext
 
6963
 
 
6964
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6965
  # can be detected and how.
 
6966
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6967
/* end confdefs.h.  */
 
6968
#include <ac_nonexistent.h>
 
6969
_ACEOF
 
6970
if ac_fn_c_try_cpp "$LINENO"; then :
 
6971
  # Broken: success on invalid input.
 
6972
continue
 
6973
else
 
6974
  # Passes both tests.
 
6975
ac_preproc_ok=:
 
6976
break
 
6977
fi
 
6978
rm -f conftest.err conftest.$ac_ext
 
6979
 
 
6980
done
 
6981
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6982
rm -f conftest.err conftest.$ac_ext
 
6983
if $ac_preproc_ok; then :
 
6984
  break
 
6985
fi
 
6986
 
 
6987
    done
 
6988
    ac_cv_prog_CPP=$CPP
 
6989
 
 
6990
fi
 
6991
  CPP=$ac_cv_prog_CPP
 
6992
else
 
6993
  ac_cv_prog_CPP=$CPP
 
6994
fi
 
6995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
6996
$as_echo "$CPP" >&6; }
 
6997
ac_preproc_ok=false
 
6998
for ac_c_preproc_warn_flag in '' yes
 
6999
do
 
7000
  # Use a header file that comes with gcc, so configuring glibc
 
7001
  # with a fresh cross-compiler works.
 
7002
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7003
  # <limits.h> exists even on freestanding compilers.
 
7004
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7005
  # not just through cpp. "Syntax error" is here to catch this case.
 
7006
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7007
/* end confdefs.h.  */
 
7008
#ifdef __STDC__
 
7009
# include <limits.h>
 
7010
#else
 
7011
# include <assert.h>
 
7012
#endif
 
7013
                     Syntax error
 
7014
_ACEOF
 
7015
if ac_fn_c_try_cpp "$LINENO"; then :
 
7016
 
 
7017
else
 
7018
  # Broken: fails on valid input.
 
7019
continue
 
7020
fi
 
7021
rm -f conftest.err conftest.$ac_ext
 
7022
 
 
7023
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7024
  # can be detected and how.
 
7025
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7026
/* end confdefs.h.  */
 
7027
#include <ac_nonexistent.h>
 
7028
_ACEOF
 
7029
if ac_fn_c_try_cpp "$LINENO"; then :
 
7030
  # Broken: success on invalid input.
 
7031
continue
 
7032
else
 
7033
  # Passes both tests.
 
7034
ac_preproc_ok=:
 
7035
break
 
7036
fi
 
7037
rm -f conftest.err conftest.$ac_ext
 
7038
 
 
7039
done
 
7040
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7041
rm -f conftest.err conftest.$ac_ext
 
7042
if $ac_preproc_ok; then :
 
7043
 
 
7044
else
 
7045
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7046
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7047
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7048
See \`config.log' for more details." "$LINENO" 5; }
 
7049
fi
 
7050
 
 
7051
ac_ext=c
 
7052
ac_cpp='$CPP $CPPFLAGS'
 
7053
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7054
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7055
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7056
 
 
7057
 
 
7058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7059
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7060
if test "${ac_cv_header_stdc+set}" = set; then :
 
7061
  $as_echo_n "(cached) " >&6
 
7062
else
 
7063
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7064
/* end confdefs.h.  */
 
7065
#include <stdlib.h>
 
7066
#include <stdarg.h>
 
7067
#include <string.h>
 
7068
#include <float.h>
 
7069
 
 
7070
int
 
7071
main ()
 
7072
{
 
7073
 
 
7074
  ;
 
7075
  return 0;
 
7076
}
 
7077
_ACEOF
 
7078
if ac_fn_c_try_compile "$LINENO"; then :
 
7079
  ac_cv_header_stdc=yes
 
7080
else
 
7081
  ac_cv_header_stdc=no
 
7082
fi
 
7083
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7084
 
 
7085
if test $ac_cv_header_stdc = yes; then
 
7086
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7087
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7088
/* end confdefs.h.  */
 
7089
#include <string.h>
 
7090
 
 
7091
_ACEOF
 
7092
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7093
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7094
 
 
7095
else
 
7096
  ac_cv_header_stdc=no
 
7097
fi
 
7098
rm -f conftest*
 
7099
 
 
7100
fi
 
7101
 
 
7102
if test $ac_cv_header_stdc = yes; then
 
7103
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7104
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7105
/* end confdefs.h.  */
 
7106
#include <stdlib.h>
 
7107
 
 
7108
_ACEOF
 
7109
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7110
  $EGREP "free" >/dev/null 2>&1; then :
 
7111
 
 
7112
else
 
7113
  ac_cv_header_stdc=no
 
7114
fi
 
7115
rm -f conftest*
 
7116
 
 
7117
fi
 
7118
 
 
7119
if test $ac_cv_header_stdc = yes; then
 
7120
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7121
  if test "$cross_compiling" = yes; then :
 
7122
  :
 
7123
else
 
7124
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7125
/* end confdefs.h.  */
 
7126
#include <ctype.h>
 
7127
#include <stdlib.h>
 
7128
#if ((' ' & 0x0FF) == 0x020)
 
7129
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7130
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7131
#else
 
7132
# define ISLOWER(c) \
 
7133
                   (('a' <= (c) && (c) <= 'i') \
 
7134
                     || ('j' <= (c) && (c) <= 'r') \
 
7135
                     || ('s' <= (c) && (c) <= 'z'))
 
7136
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7137
#endif
 
7138
 
 
7139
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7140
int
 
7141
main ()
 
7142
{
 
7143
  int i;
 
7144
  for (i = 0; i < 256; i++)
 
7145
    if (XOR (islower (i), ISLOWER (i))
 
7146
        || toupper (i) != TOUPPER (i))
 
7147
      return 2;
 
7148
  return 0;
 
7149
}
 
7150
_ACEOF
 
7151
if ac_fn_c_try_run "$LINENO"; then :
 
7152
 
 
7153
else
 
7154
  ac_cv_header_stdc=no
 
7155
fi
 
7156
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7157
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7158
fi
 
7159
 
 
7160
fi
 
7161
fi
 
7162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7163
$as_echo "$ac_cv_header_stdc" >&6; }
 
7164
if test $ac_cv_header_stdc = yes; then
 
7165
 
 
7166
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7167
 
 
7168
fi
 
7169
 
 
7170
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7171
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7172
                  inttypes.h stdint.h unistd.h
 
7173
do :
 
7174
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7175
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7176
"
 
7177
eval as_val=\$$as_ac_Header
 
7178
   if test "x$as_val" = x""yes; then :
 
7179
  cat >>confdefs.h <<_ACEOF
 
7180
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7181
_ACEOF
 
7182
 
 
7183
fi
 
7184
 
 
7185
done
 
7186
 
 
7187
 
 
7188
for ac_header in dlfcn.h
 
7189
do :
 
7190
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7191
"
 
7192
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7193
  cat >>confdefs.h <<_ACEOF
 
7194
#define HAVE_DLFCN_H 1
 
7195
_ACEOF
 
7196
 
 
7197
fi
 
7198
 
 
7199
done
 
7200
 
 
7201
 
 
7202
 
 
7203
# Set options
 
7204
 
 
7205
 
 
7206
 
 
7207
        enable_dlopen=no
 
7208
 
 
7209
 
 
7210
  enable_win32_dll=no
 
7211
 
 
7212
 
 
7213
            # Check whether --enable-shared was given.
 
7214
if test "${enable_shared+set}" = set; then :
 
7215
  enableval=$enable_shared; p=${PACKAGE-default}
 
7216
    case $enableval in
 
7217
    yes) enable_shared=yes ;;
 
7218
    no) enable_shared=no ;;
 
7219
    *)
 
7220
      enable_shared=no
 
7221
      # Look at the argument we got.  We use all the common list separators.
 
7222
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7223
      for pkg in $enableval; do
 
7224
        IFS="$lt_save_ifs"
 
7225
        if test "X$pkg" = "X$p"; then
 
7226
          enable_shared=yes
 
7227
        fi
 
7228
      done
 
7229
      IFS="$lt_save_ifs"
 
7230
      ;;
 
7231
    esac
 
7232
else
 
7233
  enable_shared=yes
 
7234
fi
 
7235
 
 
7236
 
 
7237
 
 
7238
 
 
7239
 
 
7240
 
 
7241
 
 
7242
 
 
7243
 
 
7244
 
 
7245
 
 
7246
# Check whether --with-pic was given.
 
7247
if test "${with_pic+set}" = set; then :
 
7248
  withval=$with_pic; pic_mode="$withval"
 
7249
else
 
7250
  pic_mode=default
 
7251
fi
 
7252
 
 
7253
 
 
7254
test -z "$pic_mode" && pic_mode=default
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
  # Check whether --enable-fast-install was given.
 
7263
if test "${enable_fast_install+set}" = set; then :
 
7264
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7265
    case $enableval in
 
7266
    yes) enable_fast_install=yes ;;
 
7267
    no) enable_fast_install=no ;;
 
7268
    *)
 
7269
      enable_fast_install=no
 
7270
      # Look at the argument we got.  We use all the common list separators.
 
7271
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7272
      for pkg in $enableval; do
 
7273
        IFS="$lt_save_ifs"
 
7274
        if test "X$pkg" = "X$p"; then
 
7275
          enable_fast_install=yes
 
7276
        fi
 
7277
      done
 
7278
      IFS="$lt_save_ifs"
 
7279
      ;;
 
7280
    esac
 
7281
else
 
7282
  enable_fast_install=yes
 
7283
fi
 
7284
 
 
7285
 
 
7286
 
 
7287
 
 
7288
 
 
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
# This can be used to rebuild libtool when needed
 
7296
LIBTOOL_DEPS="$ltmain"
 
7297
 
 
7298
# Always use our own libtool.
 
7299
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7300
 
 
7301
 
 
7302
 
 
7303
 
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
test -z "$LN_S" && LN_S="ln -s"
 
7326
 
 
7327
 
 
7328
 
 
7329
 
 
7330
 
 
7331
 
 
7332
 
 
7333
 
 
7334
 
 
7335
 
 
7336
 
 
7337
 
 
7338
 
 
7339
 
 
7340
if test -n "${ZSH_VERSION+set}" ; then
 
7341
   setopt NO_GLOB_SUBST
 
7342
fi
 
7343
 
 
7344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7345
$as_echo_n "checking for objdir... " >&6; }
 
7346
if test "${lt_cv_objdir+set}" = set; then :
 
7347
  $as_echo_n "(cached) " >&6
 
7348
else
 
7349
  rm -f .libs 2>/dev/null
 
7350
mkdir .libs 2>/dev/null
 
7351
if test -d .libs; then
 
7352
  lt_cv_objdir=.libs
 
7353
else
 
7354
  # MS-DOS does not allow filenames that begin with a dot.
 
7355
  lt_cv_objdir=_libs
 
7356
fi
 
7357
rmdir .libs 2>/dev/null
 
7358
fi
 
7359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7360
$as_echo "$lt_cv_objdir" >&6; }
 
7361
objdir=$lt_cv_objdir
 
7362
 
 
7363
 
 
7364
 
 
7365
 
 
7366
 
 
7367
cat >>confdefs.h <<_ACEOF
 
7368
#define LT_OBJDIR "$lt_cv_objdir/"
 
7369
_ACEOF
 
7370
 
 
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
 
 
7377
 
 
7378
 
 
7379
 
 
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
case $host_os in
 
7388
aix3*)
 
7389
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7390
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7391
  # vanish in a puff of smoke.
 
7392
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7393
    COLLECT_NAMES=
 
7394
    export COLLECT_NAMES
 
7395
  fi
 
7396
  ;;
 
7397
esac
 
7398
 
 
7399
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7400
# metacharacters that are still active within double-quoted strings.
 
7401
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7402
 
 
7403
# Same as above, but do not quote variable references.
 
7404
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7405
 
 
7406
# Sed substitution to delay expansion of an escaped shell variable in a
 
7407
# double_quote_subst'ed string.
 
7408
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7409
 
 
7410
# Sed substitution to delay expansion of an escaped single quote.
 
7411
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7412
 
 
7413
# Sed substitution to avoid accidental globbing in evaled expressions
 
7414
no_glob_subst='s/\*/\\\*/g'
 
7415
 
 
7416
# Global variables:
 
7417
ofile=libtool
 
7418
can_build_shared=yes
 
7419
 
 
7420
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7421
# which needs '.lib').
 
7422
libext=a
 
7423
 
 
7424
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7425
 
 
7426
old_CC="$CC"
 
7427
old_CFLAGS="$CFLAGS"
 
7428
 
 
7429
# Set sane defaults for various variables
 
7430
test -z "$CC" && CC=cc
 
7431
test -z "$LTCC" && LTCC=$CC
 
7432
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7433
test -z "$LD" && LD=ld
 
7434
test -z "$ac_objext" && ac_objext=o
 
7435
 
 
7436
for cc_temp in $compiler""; do
 
7437
  case $cc_temp in
 
7438
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7439
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7440
    \-*) ;;
 
7441
    *) break;;
 
7442
  esac
 
7443
done
 
7444
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7445
 
 
7446
 
 
7447
# Only perform the check for file, if the check method requires it
 
7448
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7449
case $deplibs_check_method in
 
7450
file_magic*)
 
7451
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7452
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7453
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7454
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7455
  $as_echo_n "(cached) " >&6
 
7456
else
 
7457
  case $MAGIC_CMD in
 
7458
[\\/*] |  ?:[\\/]*)
 
7459
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7460
  ;;
 
7461
*)
 
7462
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7463
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7464
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7465
  for ac_dir in $ac_dummy; do
 
7466
    IFS="$lt_save_ifs"
 
7467
    test -z "$ac_dir" && ac_dir=.
 
7468
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7469
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7470
      if test -n "$file_magic_test_file"; then
 
7471
        case $deplibs_check_method in
 
7472
        "file_magic "*)
 
7473
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7474
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7475
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7476
            $EGREP "$file_magic_regex" > /dev/null; then
 
7477
            :
 
7478
          else
 
7479
            cat <<_LT_EOF 1>&2
 
7480
 
 
7481
*** Warning: the command libtool uses to detect shared libraries,
 
7482
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7483
*** The result is that libtool may fail to recognize shared libraries
 
7484
*** as such.  This will affect the creation of libtool libraries that
 
7485
*** depend on shared libraries, but programs linked with such libtool
 
7486
*** libraries will work regardless of this problem.  Nevertheless, you
 
7487
*** may want to report the problem to your system manager and/or to
 
7488
*** bug-libtool@gnu.org
 
7489
 
 
7490
_LT_EOF
 
7491
          fi ;;
 
7492
        esac
 
7493
      fi
 
7494
      break
 
7495
    fi
 
7496
  done
 
7497
  IFS="$lt_save_ifs"
 
7498
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7499
  ;;
 
7500
esac
 
7501
fi
 
7502
 
 
7503
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7504
if test -n "$MAGIC_CMD"; then
 
7505
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7506
$as_echo "$MAGIC_CMD" >&6; }
 
7507
else
 
7508
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7509
$as_echo "no" >&6; }
 
7510
fi
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7517
  if test -n "$ac_tool_prefix"; then
 
7518
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7519
$as_echo_n "checking for file... " >&6; }
 
7520
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7521
  $as_echo_n "(cached) " >&6
 
7522
else
 
7523
  case $MAGIC_CMD in
 
7524
[\\/*] |  ?:[\\/]*)
 
7525
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7526
  ;;
 
7527
*)
 
7528
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7529
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7530
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7531
  for ac_dir in $ac_dummy; do
 
7532
    IFS="$lt_save_ifs"
 
7533
    test -z "$ac_dir" && ac_dir=.
 
7534
    if test -f $ac_dir/file; then
 
7535
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7536
      if test -n "$file_magic_test_file"; then
 
7537
        case $deplibs_check_method in
 
7538
        "file_magic "*)
 
7539
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7540
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7541
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7542
            $EGREP "$file_magic_regex" > /dev/null; then
 
7543
            :
 
7544
          else
 
7545
            cat <<_LT_EOF 1>&2
 
7546
 
 
7547
*** Warning: the command libtool uses to detect shared libraries,
 
7548
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7549
*** The result is that libtool may fail to recognize shared libraries
 
7550
*** as such.  This will affect the creation of libtool libraries that
 
7551
*** depend on shared libraries, but programs linked with such libtool
 
7552
*** libraries will work regardless of this problem.  Nevertheless, you
 
7553
*** may want to report the problem to your system manager and/or to
 
7554
*** bug-libtool@gnu.org
 
7555
 
 
7556
_LT_EOF
 
7557
          fi ;;
 
7558
        esac
 
7559
      fi
 
7560
      break
 
7561
    fi
 
7562
  done
 
7563
  IFS="$lt_save_ifs"
 
7564
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7565
  ;;
 
7566
esac
 
7567
fi
 
7568
 
 
7569
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7570
if test -n "$MAGIC_CMD"; then
 
7571
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7572
$as_echo "$MAGIC_CMD" >&6; }
 
7573
else
 
7574
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7575
$as_echo "no" >&6; }
 
7576
fi
 
7577
 
 
7578
 
 
7579
  else
 
7580
    MAGIC_CMD=:
 
7581
  fi
 
7582
fi
 
7583
 
 
7584
  fi
 
7585
  ;;
 
7586
esac
 
7587
 
 
7588
# Use C for the default configuration in the libtool script
 
7589
 
 
7590
lt_save_CC="$CC"
 
7591
ac_ext=c
 
7592
ac_cpp='$CPP $CPPFLAGS'
 
7593
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7594
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7595
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7596
 
 
7597
 
 
7598
# Source file extension for C test sources.
 
7599
ac_ext=c
 
7600
 
 
7601
# Object file extension for compiled C test sources.
 
7602
objext=o
 
7603
objext=$objext
 
7604
 
 
7605
# Code to be used in simple compile tests
 
7606
lt_simple_compile_test_code="int some_variable = 0;"
 
7607
 
 
7608
# Code to be used in simple link tests
 
7609
lt_simple_link_test_code='int main(){return(0);}'
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
 
 
7615
 
 
7616
 
 
7617
# If no C compiler was specified, use CC.
 
7618
LTCC=${LTCC-"$CC"}
 
7619
 
 
7620
# If no C compiler flags were specified, use CFLAGS.
 
7621
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7622
 
 
7623
# Allow CC to be a program name with arguments.
 
7624
compiler=$CC
 
7625
 
 
7626
# Save the default compiler, since it gets overwritten when the other
 
7627
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7628
compiler_DEFAULT=$CC
 
7629
 
 
7630
# save warnings/boilerplate of simple test code
 
7631
ac_outfile=conftest.$ac_objext
 
7632
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7633
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7634
_lt_compiler_boilerplate=`cat conftest.err`
 
7635
$RM conftest*
 
7636
 
 
7637
ac_outfile=conftest.$ac_objext
 
7638
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7639
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7640
_lt_linker_boilerplate=`cat conftest.err`
 
7641
$RM -r conftest*
 
7642
 
 
7643
 
 
7644
if test -n "$compiler"; then
 
7645
 
 
7646
lt_prog_compiler_no_builtin_flag=
 
7647
 
 
7648
if test "$GCC" = yes; then
 
7649
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7650
 
 
7651
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7652
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
7653
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7654
  $as_echo_n "(cached) " >&6
 
7655
else
 
7656
  lt_cv_prog_compiler_rtti_exceptions=no
 
7657
   ac_outfile=conftest.$ac_objext
 
7658
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7659
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
7660
   # Insert the option either (1) after the last *FLAGS variable, or
 
7661
   # (2) before a word containing "conftest.", or (3) at the end.
 
7662
   # Note that $ac_compile itself does not contain backslashes and begins
 
7663
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7664
   # The option is referenced via a variable to avoid confusing sed.
 
7665
   lt_compile=`echo "$ac_compile" | $SED \
 
7666
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7667
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7668
   -e 's:$: $lt_compiler_flag:'`
 
7669
   (eval echo "\"\$as_me:7669: $lt_compile\"" >&5)
 
7670
   (eval "$lt_compile" 2>conftest.err)
 
7671
   ac_status=$?
 
7672
   cat conftest.err >&5
 
7673
   echo "$as_me:7673: \$? = $ac_status" >&5
 
7674
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
7675
     # The compiler can only warn and ignore the option if not recognized
 
7676
     # So say no if there are warnings other than the usual output.
 
7677
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7678
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7679
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
7680
       lt_cv_prog_compiler_rtti_exceptions=yes
 
7681
     fi
 
7682
   fi
 
7683
   $RM conftest*
 
7684
 
 
7685
fi
 
7686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7687
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7688
 
 
7689
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
7690
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
7691
else
 
7692
    :
 
7693
fi
 
7694
 
 
7695
fi
 
7696
 
 
7697
 
 
7698
 
 
7699
 
 
7700
 
 
7701
 
 
7702
  lt_prog_compiler_wl=
 
7703
lt_prog_compiler_pic=
 
7704
lt_prog_compiler_static=
 
7705
 
 
7706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
7707
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
7708
 
 
7709
  if test "$GCC" = yes; then
 
7710
    lt_prog_compiler_wl='-Wl,'
 
7711
    lt_prog_compiler_static='-static'
 
7712
 
 
7713
    case $host_os in
 
7714
      aix*)
 
7715
      # All AIX code is PIC.
 
7716
      if test "$host_cpu" = ia64; then
 
7717
        # AIX 5 now supports IA64 processor
 
7718
        lt_prog_compiler_static='-Bstatic'
 
7719
      fi
 
7720
      ;;
 
7721
 
 
7722
    amigaos*)
 
7723
      case $host_cpu in
 
7724
      powerpc)
 
7725
            # see comment about AmigaOS4 .so support
 
7726
            lt_prog_compiler_pic='-fPIC'
 
7727
        ;;
 
7728
      m68k)
 
7729
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7730
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7731
            # like `-m68040'.
 
7732
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7733
        ;;
 
7734
      esac
 
7735
      ;;
 
7736
 
 
7737
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7738
      # PIC is the default for these OSes.
 
7739
      ;;
 
7740
 
 
7741
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7742
      # This hack is so that the source file can tell whether it is being
 
7743
      # built for inclusion in a dll (and should export symbols for example).
 
7744
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7745
      # (--disable-auto-import) libraries
 
7746
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7747
      ;;
 
7748
 
 
7749
    darwin* | rhapsody*)
 
7750
      # PIC is the default on this platform
 
7751
      # Common symbols not allowed in MH_DYLIB files
 
7752
      lt_prog_compiler_pic='-fno-common'
 
7753
      ;;
 
7754
 
 
7755
    hpux*)
 
7756
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7757
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7758
      # sets the default TLS model and affects inlining.
 
7759
      case $host_cpu in
 
7760
      hppa*64*)
 
7761
        # +Z the default
 
7762
        ;;
 
7763
      *)
 
7764
        lt_prog_compiler_pic='-fPIC'
 
7765
        ;;
 
7766
      esac
 
7767
      ;;
 
7768
 
 
7769
    interix[3-9]*)
 
7770
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7771
      # Instead, we relocate shared libraries at runtime.
 
7772
      ;;
 
7773
 
 
7774
    msdosdjgpp*)
 
7775
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
7776
      # on systems that don't support them.
 
7777
      lt_prog_compiler_can_build_shared=no
 
7778
      enable_shared=no
 
7779
      ;;
 
7780
 
 
7781
    *nto* | *qnx*)
 
7782
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7783
      # it will coredump.
 
7784
      lt_prog_compiler_pic='-fPIC -shared'
 
7785
      ;;
 
7786
 
 
7787
    sysv4*MP*)
 
7788
      if test -d /usr/nec; then
 
7789
        lt_prog_compiler_pic=-Kconform_pic
 
7790
      fi
 
7791
      ;;
 
7792
 
 
7793
    *)
 
7794
      lt_prog_compiler_pic='-fPIC'
 
7795
      ;;
 
7796
    esac
 
7797
  else
 
7798
    # PORTME Check for flag to pass linker flags through the system compiler.
 
7799
    case $host_os in
 
7800
    aix*)
 
7801
      lt_prog_compiler_wl='-Wl,'
 
7802
      if test "$host_cpu" = ia64; then
 
7803
        # AIX 5 now supports IA64 processor
 
7804
        lt_prog_compiler_static='-Bstatic'
 
7805
      else
 
7806
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
7807
      fi
 
7808
      ;;
 
7809
 
 
7810
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7811
      # This hack is so that the source file can tell whether it is being
 
7812
      # built for inclusion in a dll (and should export symbols for example).
 
7813
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7814
      ;;
 
7815
 
 
7816
    hpux9* | hpux10* | hpux11*)
 
7817
      lt_prog_compiler_wl='-Wl,'
 
7818
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
7819
      # not for PA HP-UX.
 
7820
      case $host_cpu in
 
7821
      hppa*64*|ia64*)
 
7822
        # +Z the default
 
7823
        ;;
 
7824
      *)
 
7825
        lt_prog_compiler_pic='+Z'
 
7826
        ;;
 
7827
      esac
 
7828
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
7829
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
7830
      ;;
 
7831
 
 
7832
    irix5* | irix6* | nonstopux*)
 
7833
      lt_prog_compiler_wl='-Wl,'
 
7834
      # PIC (with -KPIC) is the default.
 
7835
      lt_prog_compiler_static='-non_shared'
 
7836
      ;;
 
7837
 
 
7838
    linux* | k*bsd*-gnu)
 
7839
      case $cc_basename in
 
7840
      # old Intel for x86_64 which still supported -KPIC.
 
7841
      ecc*)
 
7842
        lt_prog_compiler_wl='-Wl,'
 
7843
        lt_prog_compiler_pic='-KPIC'
 
7844
        lt_prog_compiler_static='-static'
 
7845
        ;;
 
7846
      # icc used to be incompatible with GCC.
 
7847
      # ICC 10 doesn't accept -KPIC any more.
 
7848
      icc* | ifort*)
 
7849
        lt_prog_compiler_wl='-Wl,'
 
7850
        lt_prog_compiler_pic='-fPIC'
 
7851
        lt_prog_compiler_static='-static'
 
7852
        ;;
 
7853
      # Lahey Fortran 8.1.
 
7854
      lf95*)
 
7855
        lt_prog_compiler_wl='-Wl,'
 
7856
        lt_prog_compiler_pic='--shared'
 
7857
        lt_prog_compiler_static='--static'
 
7858
        ;;
 
7859
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7860
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7861
        # which looks to be a dead project)
 
7862
        lt_prog_compiler_wl='-Wl,'
 
7863
        lt_prog_compiler_pic='-fpic'
 
7864
        lt_prog_compiler_static='-Bstatic'
 
7865
        ;;
 
7866
      ccc*)
 
7867
        lt_prog_compiler_wl='-Wl,'
 
7868
        # All Alpha code is PIC.
 
7869
        lt_prog_compiler_static='-non_shared'
 
7870
        ;;
 
7871
      xl*)
 
7872
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7873
        lt_prog_compiler_wl='-Wl,'
 
7874
        lt_prog_compiler_pic='-qpic'
 
7875
        lt_prog_compiler_static='-qstaticlink'
 
7876
        ;;
 
7877
      *)
 
7878
        case `$CC -V 2>&1 | sed 5q` in
 
7879
        *Sun\ C*)
 
7880
          # Sun C 5.9
 
7881
          lt_prog_compiler_pic='-KPIC'
 
7882
          lt_prog_compiler_static='-Bstatic'
 
7883
          lt_prog_compiler_wl='-Wl,'
 
7884
          ;;
 
7885
        *Sun\ F*)
 
7886
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7887
          lt_prog_compiler_pic='-KPIC'
 
7888
          lt_prog_compiler_static='-Bstatic'
 
7889
          lt_prog_compiler_wl=''
 
7890
          ;;
 
7891
        esac
 
7892
        ;;
 
7893
      esac
 
7894
      ;;
 
7895
 
 
7896
    newsos6)
 
7897
      lt_prog_compiler_pic='-KPIC'
 
7898
      lt_prog_compiler_static='-Bstatic'
 
7899
      ;;
 
7900
 
 
7901
    *nto* | *qnx*)
 
7902
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7903
      # it will coredump.
 
7904
      lt_prog_compiler_pic='-fPIC -shared'
 
7905
      ;;
 
7906
 
 
7907
    osf3* | osf4* | osf5*)
 
7908
      lt_prog_compiler_wl='-Wl,'
 
7909
      # All OSF/1 code is PIC.
 
7910
      lt_prog_compiler_static='-non_shared'
 
7911
      ;;
 
7912
 
 
7913
    rdos*)
 
7914
      lt_prog_compiler_static='-non_shared'
 
7915
      ;;
 
7916
 
 
7917
    solaris*)
 
7918
      lt_prog_compiler_pic='-KPIC'
 
7919
      lt_prog_compiler_static='-Bstatic'
 
7920
      case $cc_basename in
 
7921
      f77* | f90* | f95*)
 
7922
        lt_prog_compiler_wl='-Qoption ld ';;
 
7923
      *)
 
7924
        lt_prog_compiler_wl='-Wl,';;
 
7925
      esac
 
7926
      ;;
 
7927
 
 
7928
    sunos4*)
 
7929
      lt_prog_compiler_wl='-Qoption ld '
 
7930
      lt_prog_compiler_pic='-PIC'
 
7931
      lt_prog_compiler_static='-Bstatic'
 
7932
      ;;
 
7933
 
 
7934
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
7935
      lt_prog_compiler_wl='-Wl,'
 
7936
      lt_prog_compiler_pic='-KPIC'
 
7937
      lt_prog_compiler_static='-Bstatic'
 
7938
      ;;
 
7939
 
 
7940
    sysv4*MP*)
 
7941
      if test -d /usr/nec ;then
 
7942
        lt_prog_compiler_pic='-Kconform_pic'
 
7943
        lt_prog_compiler_static='-Bstatic'
 
7944
      fi
 
7945
      ;;
 
7946
 
 
7947
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7948
      lt_prog_compiler_wl='-Wl,'
 
7949
      lt_prog_compiler_pic='-KPIC'
 
7950
      lt_prog_compiler_static='-Bstatic'
 
7951
      ;;
 
7952
 
 
7953
    unicos*)
 
7954
      lt_prog_compiler_wl='-Wl,'
 
7955
      lt_prog_compiler_can_build_shared=no
 
7956
      ;;
 
7957
 
 
7958
    uts4*)
 
7959
      lt_prog_compiler_pic='-pic'
 
7960
      lt_prog_compiler_static='-Bstatic'
 
7961
      ;;
 
7962
 
 
7963
    *)
 
7964
      lt_prog_compiler_can_build_shared=no
 
7965
      ;;
 
7966
    esac
 
7967
  fi
 
7968
 
 
7969
case $host_os in
 
7970
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7971
  *djgpp*)
 
7972
    lt_prog_compiler_pic=
 
7973
    ;;
 
7974
  *)
 
7975
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7976
    ;;
 
7977
esac
 
7978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
7979
$as_echo "$lt_prog_compiler_pic" >&6; }
 
7980
 
 
7981
 
 
7982
 
 
7983
 
 
7984
 
 
7985
 
 
7986
#
 
7987
# Check to make sure the PIC flag actually works.
 
7988
#
 
7989
if test -n "$lt_prog_compiler_pic"; then
 
7990
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7991
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7992
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
7993
  $as_echo_n "(cached) " >&6
 
7994
else
 
7995
  lt_cv_prog_compiler_pic_works=no
 
7996
   ac_outfile=conftest.$ac_objext
 
7997
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7998
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
7999
   # Insert the option either (1) after the last *FLAGS variable, or
 
8000
   # (2) before a word containing "conftest.", or (3) at the end.
 
8001
   # Note that $ac_compile itself does not contain backslashes and begins
 
8002
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8003
   # The option is referenced via a variable to avoid confusing sed.
 
8004
   lt_compile=`echo "$ac_compile" | $SED \
 
8005
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8006
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8007
   -e 's:$: $lt_compiler_flag:'`
 
8008
   (eval echo "\"\$as_me:8008: $lt_compile\"" >&5)
 
8009
   (eval "$lt_compile" 2>conftest.err)
 
8010
   ac_status=$?
 
8011
   cat conftest.err >&5
 
8012
   echo "$as_me:8012: \$? = $ac_status" >&5
 
8013
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8014
     # The compiler can only warn and ignore the option if not recognized
 
8015
     # So say no if there are warnings other than the usual output.
 
8016
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8017
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8018
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8019
       lt_cv_prog_compiler_pic_works=yes
 
8020
     fi
 
8021
   fi
 
8022
   $RM conftest*
 
8023
 
 
8024
fi
 
8025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8026
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8027
 
 
8028
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8029
    case $lt_prog_compiler_pic in
 
8030
     "" | " "*) ;;
 
8031
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8032
     esac
 
8033
else
 
8034
    lt_prog_compiler_pic=
 
8035
     lt_prog_compiler_can_build_shared=no
 
8036
fi
 
8037
 
 
8038
fi
 
8039
 
 
8040
 
 
8041
 
 
8042
 
 
8043
 
 
8044
 
 
8045
#
 
8046
# Check to make sure the static flag actually works.
 
8047
#
 
8048
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8050
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8051
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8052
  $as_echo_n "(cached) " >&6
 
8053
else
 
8054
  lt_cv_prog_compiler_static_works=no
 
8055
   save_LDFLAGS="$LDFLAGS"
 
8056
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8057
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8058
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8059
     # The linker can only warn and ignore the option if not recognized
 
8060
     # So say no if there are warnings
 
8061
     if test -s conftest.err; then
 
8062
       # Append any errors to the config.log.
 
8063
       cat conftest.err 1>&5
 
8064
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8065
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8066
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8067
         lt_cv_prog_compiler_static_works=yes
 
8068
       fi
 
8069
     else
 
8070
       lt_cv_prog_compiler_static_works=yes
 
8071
     fi
 
8072
   fi
 
8073
   $RM -r conftest*
 
8074
   LDFLAGS="$save_LDFLAGS"
 
8075
 
 
8076
fi
 
8077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8078
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8079
 
 
8080
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8081
    :
 
8082
else
 
8083
    lt_prog_compiler_static=
 
8084
fi
 
8085
 
 
8086
 
 
8087
 
 
8088
 
 
8089
 
 
8090
 
 
8091
 
 
8092
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8093
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8094
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8095
  $as_echo_n "(cached) " >&6
 
8096
else
 
8097
  lt_cv_prog_compiler_c_o=no
 
8098
   $RM -r conftest 2>/dev/null
 
8099
   mkdir conftest
 
8100
   cd conftest
 
8101
   mkdir out
 
8102
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8103
 
 
8104
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8105
   # Insert the option either (1) after the last *FLAGS variable, or
 
8106
   # (2) before a word containing "conftest.", or (3) at the end.
 
8107
   # Note that $ac_compile itself does not contain backslashes and begins
 
8108
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8109
   lt_compile=`echo "$ac_compile" | $SED \
 
8110
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8111
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8112
   -e 's:$: $lt_compiler_flag:'`
 
8113
   (eval echo "\"\$as_me:8113: $lt_compile\"" >&5)
 
8114
   (eval "$lt_compile" 2>out/conftest.err)
 
8115
   ac_status=$?
 
8116
   cat out/conftest.err >&5
 
8117
   echo "$as_me:8117: \$? = $ac_status" >&5
 
8118
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8119
   then
 
8120
     # The compiler can only warn and ignore the option if not recognized
 
8121
     # So say no if there are warnings
 
8122
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8123
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8124
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8125
       lt_cv_prog_compiler_c_o=yes
 
8126
     fi
 
8127
   fi
 
8128
   chmod u+w . 2>&5
 
8129
   $RM conftest*
 
8130
   # SGI C++ compiler will create directory out/ii_files/ for
 
8131
   # template instantiation
 
8132
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8133
   $RM out/* && rmdir out
 
8134
   cd ..
 
8135
   $RM -r conftest
 
8136
   $RM conftest*
 
8137
 
 
8138
fi
 
8139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8140
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8141
 
 
8142
 
 
8143
 
 
8144
 
 
8145
 
 
8146
 
 
8147
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8148
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8149
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8150
  $as_echo_n "(cached) " >&6
 
8151
else
 
8152
  lt_cv_prog_compiler_c_o=no
 
8153
   $RM -r conftest 2>/dev/null
 
8154
   mkdir conftest
 
8155
   cd conftest
 
8156
   mkdir out
 
8157
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8158
 
 
8159
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8160
   # Insert the option either (1) after the last *FLAGS variable, or
 
8161
   # (2) before a word containing "conftest.", or (3) at the end.
 
8162
   # Note that $ac_compile itself does not contain backslashes and begins
 
8163
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8164
   lt_compile=`echo "$ac_compile" | $SED \
 
8165
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8166
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8167
   -e 's:$: $lt_compiler_flag:'`
 
8168
   (eval echo "\"\$as_me:8168: $lt_compile\"" >&5)
 
8169
   (eval "$lt_compile" 2>out/conftest.err)
 
8170
   ac_status=$?
 
8171
   cat out/conftest.err >&5
 
8172
   echo "$as_me:8172: \$? = $ac_status" >&5
 
8173
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8174
   then
 
8175
     # The compiler can only warn and ignore the option if not recognized
 
8176
     # So say no if there are warnings
 
8177
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8178
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8179
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8180
       lt_cv_prog_compiler_c_o=yes
 
8181
     fi
 
8182
   fi
 
8183
   chmod u+w . 2>&5
 
8184
   $RM conftest*
 
8185
   # SGI C++ compiler will create directory out/ii_files/ for
 
8186
   # template instantiation
 
8187
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8188
   $RM out/* && rmdir out
 
8189
   cd ..
 
8190
   $RM -r conftest
 
8191
   $RM conftest*
 
8192
 
 
8193
fi
 
8194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8195
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
hard_links="nottested"
 
8201
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8202
  # do not overwrite the value of need_locks provided by the user
 
8203
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
8204
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8205
  hard_links=yes
 
8206
  $RM conftest*
 
8207
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8208
  touch conftest.a
 
8209
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8210
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
8212
$as_echo "$hard_links" >&6; }
 
8213
  if test "$hard_links" = no; then
 
8214
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8215
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8216
    need_locks=warn
 
8217
  fi
 
8218
else
 
8219
  need_locks=no
 
8220
fi
 
8221
 
 
8222
 
 
8223
 
 
8224
 
 
8225
 
 
8226
 
 
8227
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8228
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8229
 
 
8230
  runpath_var=
 
8231
  allow_undefined_flag=
 
8232
  always_export_symbols=no
 
8233
  archive_cmds=
 
8234
  archive_expsym_cmds=
 
8235
  compiler_needs_object=no
 
8236
  enable_shared_with_static_runtimes=no
 
8237
  export_dynamic_flag_spec=
 
8238
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8239
  hardcode_automatic=no
 
8240
  hardcode_direct=no
 
8241
  hardcode_direct_absolute=no
 
8242
  hardcode_libdir_flag_spec=
 
8243
  hardcode_libdir_flag_spec_ld=
 
8244
  hardcode_libdir_separator=
 
8245
  hardcode_minus_L=no
 
8246
  hardcode_shlibpath_var=unsupported
 
8247
  inherit_rpath=no
 
8248
  link_all_deplibs=unknown
 
8249
  module_cmds=
 
8250
  module_expsym_cmds=
 
8251
  old_archive_from_new_cmds=
 
8252
  old_archive_from_expsyms_cmds=
 
8253
  thread_safe_flag_spec=
 
8254
  whole_archive_flag_spec=
 
8255
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8256
  # included in the symbol list
 
8257
  include_expsyms=
 
8258
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8259
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8260
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8261
  # as well as any symbol that contains `d'.
 
8262
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8263
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8264
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8265
  # the symbol is explicitly referenced.  Since portable code cannot
 
8266
  # rely on this symbol name, it's probably fine to never include it in
 
8267
  # preloaded symbol tables.
 
8268
  # Exclude shared library initialization/finalization symbols.
 
8269
  extract_expsyms_cmds=
 
8270
 
 
8271
  case $host_os in
 
8272
  cygwin* | mingw* | pw32* | cegcc*)
 
8273
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8274
    # When not using gcc, we currently assume that we are using
 
8275
    # Microsoft Visual C++.
 
8276
    if test "$GCC" != yes; then
 
8277
      with_gnu_ld=no
 
8278
    fi
 
8279
    ;;
 
8280
  interix*)
 
8281
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8282
    with_gnu_ld=yes
 
8283
    ;;
 
8284
  openbsd*)
 
8285
    with_gnu_ld=no
 
8286
    ;;
 
8287
  linux* | k*bsd*-gnu)
 
8288
    link_all_deplibs=no
 
8289
    ;;
 
8290
  esac
 
8291
 
 
8292
  ld_shlibs=yes
 
8293
  if test "$with_gnu_ld" = yes; then
 
8294
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8295
    wlarc='${wl}'
 
8296
 
 
8297
    # Set some defaults for GNU ld with shared library support. These
 
8298
    # are reset later if shared libraries are not supported. Putting them
 
8299
    # here allows them to be overridden if necessary.
 
8300
    runpath_var=LD_RUN_PATH
 
8301
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8302
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8303
    # ancient GNU ld didn't support --whole-archive et. al.
 
8304
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8305
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8306
    else
 
8307
      whole_archive_flag_spec=
 
8308
    fi
 
8309
    supports_anon_versioning=no
 
8310
    case `$LD -v 2>&1` in
 
8311
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8312
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8313
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8314
      *\ 2.11.*) ;; # other 2.11 versions
 
8315
      *) supports_anon_versioning=yes ;;
 
8316
    esac
 
8317
 
 
8318
    # See if GNU ld supports shared libraries.
 
8319
    case $host_os in
 
8320
    aix[3-9]*)
 
8321
      # On AIX/PPC, the GNU linker is very broken
 
8322
      if test "$host_cpu" != ia64; then
 
8323
        ld_shlibs=no
 
8324
        cat <<_LT_EOF 1>&2
 
8325
 
 
8326
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8327
*** to be unable to reliably create shared libraries on AIX.
 
8328
*** Therefore, libtool is disabling shared libraries support.  If you
 
8329
*** really care for shared libraries, you may want to modify your PATH
 
8330
*** so that a non-GNU linker is found, and then restart.
 
8331
 
 
8332
_LT_EOF
 
8333
      fi
 
8334
      ;;
 
8335
 
 
8336
    amigaos*)
 
8337
      case $host_cpu in
 
8338
      powerpc)
 
8339
            # see comment about AmigaOS4 .so support
 
8340
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8341
            archive_expsym_cmds=''
 
8342
        ;;
 
8343
      m68k)
 
8344
            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)'
 
8345
            hardcode_libdir_flag_spec='-L$libdir'
 
8346
            hardcode_minus_L=yes
 
8347
        ;;
 
8348
      esac
 
8349
      ;;
 
8350
 
 
8351
    beos*)
 
8352
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8353
        allow_undefined_flag=unsupported
 
8354
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8355
        # support --undefined.  This deserves some investigation.  FIXME
 
8356
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8357
      else
 
8358
        ld_shlibs=no
 
8359
      fi
 
8360
      ;;
 
8361
 
 
8362
    cygwin* | mingw* | pw32* | cegcc*)
 
8363
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8364
      # as there is no search path for DLLs.
 
8365
      hardcode_libdir_flag_spec='-L$libdir'
 
8366
      allow_undefined_flag=unsupported
 
8367
      always_export_symbols=no
 
8368
      enable_shared_with_static_runtimes=yes
 
8369
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8370
 
 
8371
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8372
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8373
        # If the export-symbols file already is a .def file (1st line
 
8374
        # is EXPORTS), use it as is; otherwise, prepend...
 
8375
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8376
          cp $export_symbols $output_objdir/$soname.def;
 
8377
        else
 
8378
          echo EXPORTS > $output_objdir/$soname.def;
 
8379
          cat $export_symbols >> $output_objdir/$soname.def;
 
8380
        fi~
 
8381
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8382
      else
 
8383
        ld_shlibs=no
 
8384
      fi
 
8385
      ;;
 
8386
 
 
8387
    interix[3-9]*)
 
8388
      hardcode_direct=no
 
8389
      hardcode_shlibpath_var=no
 
8390
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8391
      export_dynamic_flag_spec='${wl}-E'
 
8392
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8393
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8394
      # default) and relocated if they conflict, which is a slow very memory
 
8395
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8396
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8397
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8398
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8399
      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'
 
8400
      ;;
 
8401
 
 
8402
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8403
      tmp_diet=no
 
8404
      if test "$host_os" = linux-dietlibc; then
 
8405
        case $cc_basename in
 
8406
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8407
        esac
 
8408
      fi
 
8409
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8410
         && test "$tmp_diet" = no
 
8411
      then
 
8412
        tmp_addflag=
 
8413
        tmp_sharedflag='-shared'
 
8414
        case $cc_basename,$host_cpu in
 
8415
        pgcc*)                          # Portland Group C compiler
 
8416
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8417
          tmp_addflag=' $pic_flag'
 
8418
          ;;
 
8419
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8420
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8421
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8422
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
8423
          tmp_addflag=' -i_dynamic' ;;
 
8424
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8425
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8426
        ifc* | ifort*)                  # Intel Fortran compiler
 
8427
          tmp_addflag=' -nofor_main' ;;
 
8428
        lf95*)                          # Lahey Fortran 8.1
 
8429
          whole_archive_flag_spec=
 
8430
          tmp_sharedflag='--shared' ;;
 
8431
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8432
          tmp_sharedflag='-qmkshrobj'
 
8433
          tmp_addflag= ;;
 
8434
        esac
 
8435
        case `$CC -V 2>&1 | sed 5q` in
 
8436
        *Sun\ C*)                       # Sun C 5.9
 
8437
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8438
          compiler_needs_object=yes
 
8439
          tmp_sharedflag='-G' ;;
 
8440
        *Sun\ F*)                       # Sun Fortran 8.3
 
8441
          tmp_sharedflag='-G' ;;
 
8442
        esac
 
8443
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8444
 
 
8445
        if test "x$supports_anon_versioning" = xyes; then
 
8446
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8447
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8448
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8449
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8450
        fi
 
8451
 
 
8452
        case $cc_basename in
 
8453
        xlf*)
 
8454
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8455
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8456
          hardcode_libdir_flag_spec=
 
8457
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8458
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8459
          if test "x$supports_anon_versioning" = xyes; then
 
8460
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8461
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8462
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8463
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8464
          fi
 
8465
          ;;
 
8466
        esac
 
8467
      else
 
8468
        ld_shlibs=no
 
8469
      fi
 
8470
      ;;
 
8471
 
 
8472
    netbsd* | netbsdelf*-gnu)
 
8473
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8474
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8475
        wlarc=
 
8476
      else
 
8477
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8478
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8479
      fi
 
8480
      ;;
 
8481
 
 
8482
    solaris*)
 
8483
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8484
        ld_shlibs=no
 
8485
        cat <<_LT_EOF 1>&2
 
8486
 
 
8487
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8488
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8489
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8490
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8491
*** your PATH or compiler configuration so that the native linker is
 
8492
*** used, and then restart.
 
8493
 
 
8494
_LT_EOF
 
8495
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8496
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8497
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8498
      else
 
8499
        ld_shlibs=no
 
8500
      fi
 
8501
      ;;
 
8502
 
 
8503
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8504
      case `$LD -v 2>&1` in
 
8505
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8506
        ld_shlibs=no
 
8507
        cat <<_LT_EOF 1>&2
 
8508
 
 
8509
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8510
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8511
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8512
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8513
*** your PATH or compiler configuration so that the native linker is
 
8514
*** used, and then restart.
 
8515
 
 
8516
_LT_EOF
 
8517
        ;;
 
8518
        *)
 
8519
          # For security reasons, it is highly recommended that you always
 
8520
          # use absolute paths for naming shared libraries, and exclude the
 
8521
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8522
          # requires that you compile everything twice, which is a pain.
 
8523
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8524
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8525
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8526
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8527
          else
 
8528
            ld_shlibs=no
 
8529
          fi
 
8530
        ;;
 
8531
      esac
 
8532
      ;;
 
8533
 
 
8534
    sunos4*)
 
8535
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8536
      wlarc=
 
8537
      hardcode_direct=yes
 
8538
      hardcode_shlibpath_var=no
 
8539
      ;;
 
8540
 
 
8541
    *)
 
8542
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8543
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8544
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8545
      else
 
8546
        ld_shlibs=no
 
8547
      fi
 
8548
      ;;
 
8549
    esac
 
8550
 
 
8551
    if test "$ld_shlibs" = no; then
 
8552
      runpath_var=
 
8553
      hardcode_libdir_flag_spec=
 
8554
      export_dynamic_flag_spec=
 
8555
      whole_archive_flag_spec=
 
8556
    fi
 
8557
  else
 
8558
    # PORTME fill in a description of your system's linker (not GNU ld)
 
8559
    case $host_os in
 
8560
    aix3*)
 
8561
      allow_undefined_flag=unsupported
 
8562
      always_export_symbols=yes
 
8563
      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'
 
8564
      # Note: this linker hardcodes the directories in LIBPATH if there
 
8565
      # are no directories specified by -L.
 
8566
      hardcode_minus_L=yes
 
8567
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8568
        # Neither direct hardcoding nor static linking is supported with a
 
8569
        # broken collect2.
 
8570
        hardcode_direct=unsupported
 
8571
      fi
 
8572
      ;;
 
8573
 
 
8574
    aix[4-9]*)
 
8575
      if test "$host_cpu" = ia64; then
 
8576
        # On IA64, the linker does run time linking by default, so we don't
 
8577
        # have to do anything special.
 
8578
        aix_use_runtimelinking=no
 
8579
        exp_sym_flag='-Bexport'
 
8580
        no_entry_flag=""
 
8581
      else
 
8582
        # If we're using GNU nm, then we don't want the "-C" option.
 
8583
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8584
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8585
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
8586
        else
 
8587
          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'
 
8588
        fi
 
8589
        aix_use_runtimelinking=no
 
8590
 
 
8591
        # Test if we are trying to use run time linking or normal
 
8592
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8593
        # need to do runtime linking.
 
8594
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
8595
          for ld_flag in $LDFLAGS; do
 
8596
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8597
            aix_use_runtimelinking=yes
 
8598
            break
 
8599
          fi
 
8600
          done
 
8601
          ;;
 
8602
        esac
 
8603
 
 
8604
        exp_sym_flag='-bexport'
 
8605
        no_entry_flag='-bnoentry'
 
8606
      fi
 
8607
 
 
8608
      # When large executables or shared objects are built, AIX ld can
 
8609
      # have problems creating the table of contents.  If linking a library
 
8610
      # or program results in "error TOC overflow" add -mminimal-toc to
 
8611
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8612
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8613
 
 
8614
      archive_cmds=''
 
8615
      hardcode_direct=yes
 
8616
      hardcode_direct_absolute=yes
 
8617
      hardcode_libdir_separator=':'
 
8618
      link_all_deplibs=yes
 
8619
      file_list_spec='${wl}-f,'
 
8620
 
 
8621
      if test "$GCC" = yes; then
 
8622
        case $host_os in aix4.[012]|aix4.[012].*)
 
8623
        # We only want to do this on AIX 4.2 and lower, the check
 
8624
        # below for broken collect2 doesn't work under 4.3+
 
8625
          collect2name=`${CC} -print-prog-name=collect2`
 
8626
          if test -f "$collect2name" &&
 
8627
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
8628
          then
 
8629
          # We have reworked collect2
 
8630
          :
 
8631
          else
 
8632
          # We have old collect2
 
8633
          hardcode_direct=unsupported
 
8634
          # It fails to find uninstalled libraries when the uninstalled
 
8635
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8636
          # to unsupported forces relinking
 
8637
          hardcode_minus_L=yes
 
8638
          hardcode_libdir_flag_spec='-L$libdir'
 
8639
          hardcode_libdir_separator=
 
8640
          fi
 
8641
          ;;
 
8642
        esac
 
8643
        shared_flag='-shared'
 
8644
        if test "$aix_use_runtimelinking" = yes; then
 
8645
          shared_flag="$shared_flag "'${wl}-G'
 
8646
        fi
 
8647
        link_all_deplibs=no
 
8648
      else
 
8649
        # not using gcc
 
8650
        if test "$host_cpu" = ia64; then
 
8651
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8652
        # chokes on -Wl,-G. The following line is correct:
 
8653
          shared_flag='-G'
 
8654
        else
 
8655
          if test "$aix_use_runtimelinking" = yes; then
 
8656
            shared_flag='${wl}-G'
 
8657
          else
 
8658
            shared_flag='${wl}-bM:SRE'
 
8659
          fi
 
8660
        fi
 
8661
      fi
 
8662
 
 
8663
      export_dynamic_flag_spec='${wl}-bexpall'
 
8664
      # It seems that -bexpall does not export symbols beginning with
 
8665
      # underscore (_), so it is better to generate a list of symbols to export.
 
8666
      always_export_symbols=yes
 
8667
      if test "$aix_use_runtimelinking" = yes; then
 
8668
        # Warning - without using the other runtime loading flags (-brtl),
 
8669
        # -berok will link without error, but may produce a broken library.
 
8670
        allow_undefined_flag='-berok'
 
8671
        # Determine the default libpath from the value encoded in an
 
8672
        # empty executable.
 
8673
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8674
/* end confdefs.h.  */
 
8675
 
 
8676
int
 
8677
main ()
 
8678
{
 
8679
 
 
8680
  ;
 
8681
  return 0;
 
8682
}
 
8683
_ACEOF
 
8684
if ac_fn_c_try_link "$LINENO"; then :
 
8685
 
 
8686
lt_aix_libpath_sed='
 
8687
    /Import File Strings/,/^$/ {
 
8688
        /^0/ {
 
8689
            s/^0  *\(.*\)$/\1/
 
8690
            p
 
8691
        }
 
8692
    }'
 
8693
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8694
# Check for a 64-bit object if we didn't find anything.
 
8695
if test -z "$aix_libpath"; then
 
8696
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8697
fi
 
8698
fi
 
8699
rm -f core conftest.err conftest.$ac_objext \
 
8700
    conftest$ac_exeext conftest.$ac_ext
 
8701
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8702
 
 
8703
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8704
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8705
      else
 
8706
        if test "$host_cpu" = ia64; then
 
8707
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
8708
          allow_undefined_flag="-z nodefs"
 
8709
          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"
 
8710
        else
 
8711
         # Determine the default libpath from the value encoded in an
 
8712
         # empty executable.
 
8713
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8714
/* end confdefs.h.  */
 
8715
 
 
8716
int
 
8717
main ()
 
8718
{
 
8719
 
 
8720
  ;
 
8721
  return 0;
 
8722
}
 
8723
_ACEOF
 
8724
if ac_fn_c_try_link "$LINENO"; then :
 
8725
 
 
8726
lt_aix_libpath_sed='
 
8727
    /Import File Strings/,/^$/ {
 
8728
        /^0/ {
 
8729
            s/^0  *\(.*\)$/\1/
 
8730
            p
 
8731
        }
 
8732
    }'
 
8733
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8734
# Check for a 64-bit object if we didn't find anything.
 
8735
if test -z "$aix_libpath"; then
 
8736
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8737
fi
 
8738
fi
 
8739
rm -f core conftest.err conftest.$ac_objext \
 
8740
    conftest$ac_exeext conftest.$ac_ext
 
8741
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8742
 
 
8743
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8744
          # Warning - without using the other run time loading flags,
 
8745
          # -berok will link without error, but may produce a broken library.
 
8746
          no_undefined_flag=' ${wl}-bernotok'
 
8747
          allow_undefined_flag=' ${wl}-berok'
 
8748
          # Exported symbols can be pulled into shared objects from archives
 
8749
          whole_archive_flag_spec='$convenience'
 
8750
          archive_cmds_need_lc=yes
 
8751
          # This is similar to how AIX traditionally builds its shared libraries.
 
8752
          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'
 
8753
        fi
 
8754
      fi
 
8755
      ;;
 
8756
 
 
8757
    amigaos*)
 
8758
      case $host_cpu in
 
8759
      powerpc)
 
8760
            # see comment about AmigaOS4 .so support
 
8761
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8762
            archive_expsym_cmds=''
 
8763
        ;;
 
8764
      m68k)
 
8765
            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)'
 
8766
            hardcode_libdir_flag_spec='-L$libdir'
 
8767
            hardcode_minus_L=yes
 
8768
        ;;
 
8769
      esac
 
8770
      ;;
 
8771
 
 
8772
    bsdi[45]*)
 
8773
      export_dynamic_flag_spec=-rdynamic
 
8774
      ;;
 
8775
 
 
8776
    cygwin* | mingw* | pw32* | cegcc*)
 
8777
      # When not using gcc, we currently assume that we are using
 
8778
      # Microsoft Visual C++.
 
8779
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
8780
      # no search path for DLLs.
 
8781
      hardcode_libdir_flag_spec=' '
 
8782
      allow_undefined_flag=unsupported
 
8783
      # Tell ltmain to make .lib files, not .a files.
 
8784
      libext=lib
 
8785
      # Tell ltmain to make .dll files, not .so files.
 
8786
      shrext_cmds=".dll"
 
8787
      # FIXME: Setting linknames here is a bad hack.
 
8788
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8789
      # The linker will automatically build a .lib file if we build a DLL.
 
8790
      old_archive_from_new_cmds='true'
 
8791
      # FIXME: Should let the user specify the lib program.
 
8792
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
8793
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
8794
      enable_shared_with_static_runtimes=yes
 
8795
      ;;
 
8796
 
 
8797
    darwin* | rhapsody*)
 
8798
 
 
8799
 
 
8800
  archive_cmds_need_lc=no
 
8801
  hardcode_direct=no
 
8802
  hardcode_automatic=yes
 
8803
  hardcode_shlibpath_var=unsupported
 
8804
  whole_archive_flag_spec=''
 
8805
  link_all_deplibs=yes
 
8806
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8807
  case $cc_basename in
 
8808
     ifort*) _lt_dar_can_shared=yes ;;
 
8809
     *) _lt_dar_can_shared=$GCC ;;
 
8810
  esac
 
8811
  if test "$_lt_dar_can_shared" = "yes"; then
 
8812
    output_verbose_link_cmd=echo
 
8813
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8814
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8815
    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}"
 
8816
    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}"
 
8817
 
 
8818
  else
 
8819
  ld_shlibs=no
 
8820
  fi
 
8821
 
 
8822
      ;;
 
8823
 
 
8824
    dgux*)
 
8825
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8826
      hardcode_libdir_flag_spec='-L$libdir'
 
8827
      hardcode_shlibpath_var=no
 
8828
      ;;
 
8829
 
 
8830
    freebsd1*)
 
8831
      ld_shlibs=no
 
8832
      ;;
 
8833
 
 
8834
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
8835
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
8836
    # does not break anything, and helps significantly (at the cost of a little
 
8837
    # extra space).
 
8838
    freebsd2.2*)
 
8839
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
8840
      hardcode_libdir_flag_spec='-R$libdir'
 
8841
      hardcode_direct=yes
 
8842
      hardcode_shlibpath_var=no
 
8843
      ;;
 
8844
 
 
8845
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
8846
    freebsd2*)
 
8847
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8848
      hardcode_direct=yes
 
8849
      hardcode_minus_L=yes
 
8850
      hardcode_shlibpath_var=no
 
8851
      ;;
 
8852
 
 
8853
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
8854
    freebsd* | dragonfly*)
 
8855
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
8856
      hardcode_libdir_flag_spec='-R$libdir'
 
8857
      hardcode_direct=yes
 
8858
      hardcode_shlibpath_var=no
 
8859
      ;;
 
8860
 
 
8861
    hpux9*)
 
8862
      if test "$GCC" = yes; then
 
8863
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
8864
      else
 
8865
        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'
 
8866
      fi
 
8867
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8868
      hardcode_libdir_separator=:
 
8869
      hardcode_direct=yes
 
8870
 
 
8871
      # hardcode_minus_L: Not really in the search PATH,
 
8872
      # but as the default location of the library.
 
8873
      hardcode_minus_L=yes
 
8874
      export_dynamic_flag_spec='${wl}-E'
 
8875
      ;;
 
8876
 
 
8877
    hpux10*)
 
8878
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8879
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8880
      else
 
8881
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8882
      fi
 
8883
      if test "$with_gnu_ld" = no; then
 
8884
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8885
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
8886
        hardcode_libdir_separator=:
 
8887
        hardcode_direct=yes
 
8888
        hardcode_direct_absolute=yes
 
8889
        export_dynamic_flag_spec='${wl}-E'
 
8890
        # hardcode_minus_L: Not really in the search PATH,
 
8891
        # but as the default location of the library.
 
8892
        hardcode_minus_L=yes
 
8893
      fi
 
8894
      ;;
 
8895
 
 
8896
    hpux11*)
 
8897
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8898
        case $host_cpu in
 
8899
        hppa*64*)
 
8900
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8901
          ;;
 
8902
        ia64*)
 
8903
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8904
          ;;
 
8905
        *)
 
8906
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8907
          ;;
 
8908
        esac
 
8909
      else
 
8910
        case $host_cpu in
 
8911
        hppa*64*)
 
8912
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8913
          ;;
 
8914
        ia64*)
 
8915
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8916
          ;;
 
8917
        *)
 
8918
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8919
          ;;
 
8920
        esac
 
8921
      fi
 
8922
      if test "$with_gnu_ld" = no; then
 
8923
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8924
        hardcode_libdir_separator=:
 
8925
 
 
8926
        case $host_cpu in
 
8927
        hppa*64*|ia64*)
 
8928
          hardcode_direct=no
 
8929
          hardcode_shlibpath_var=no
 
8930
          ;;
 
8931
        *)
 
8932
          hardcode_direct=yes
 
8933
          hardcode_direct_absolute=yes
 
8934
          export_dynamic_flag_spec='${wl}-E'
 
8935
 
 
8936
          # hardcode_minus_L: Not really in the search PATH,
 
8937
          # but as the default location of the library.
 
8938
          hardcode_minus_L=yes
 
8939
          ;;
 
8940
        esac
 
8941
      fi
 
8942
      ;;
 
8943
 
 
8944
    irix5* | irix6* | nonstopux*)
 
8945
      if test "$GCC" = yes; then
 
8946
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
8947
        # Try to use the -exported_symbol ld option, if it does not
 
8948
        # work, assume that -exports_file does not work either and
 
8949
        # implicitly export all symbols.
 
8950
        save_LDFLAGS="$LDFLAGS"
 
8951
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8952
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8953
/* end confdefs.h.  */
 
8954
int foo(void) {}
 
8955
_ACEOF
 
8956
if ac_fn_c_try_link "$LINENO"; then :
 
8957
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
8958
 
 
8959
fi
 
8960
rm -f core conftest.err conftest.$ac_objext \
 
8961
    conftest$ac_exeext conftest.$ac_ext
 
8962
        LDFLAGS="$save_LDFLAGS"
 
8963
      else
 
8964
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
8965
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
8966
      fi
 
8967
      archive_cmds_need_lc='no'
 
8968
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8969
      hardcode_libdir_separator=:
 
8970
      inherit_rpath=yes
 
8971
      link_all_deplibs=yes
 
8972
      ;;
 
8973
 
 
8974
    netbsd* | netbsdelf*-gnu)
 
8975
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8976
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
8977
      else
 
8978
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
8979
      fi
 
8980
      hardcode_libdir_flag_spec='-R$libdir'
 
8981
      hardcode_direct=yes
 
8982
      hardcode_shlibpath_var=no
 
8983
      ;;
 
8984
 
 
8985
    newsos6)
 
8986
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8987
      hardcode_direct=yes
 
8988
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8989
      hardcode_libdir_separator=:
 
8990
      hardcode_shlibpath_var=no
 
8991
      ;;
 
8992
 
 
8993
    *nto* | *qnx*)
 
8994
      ;;
 
8995
 
 
8996
    openbsd*)
 
8997
      if test -f /usr/libexec/ld.so; then
 
8998
        hardcode_direct=yes
 
8999
        hardcode_shlibpath_var=no
 
9000
        hardcode_direct_absolute=yes
 
9001
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9002
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9003
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9004
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9005
          export_dynamic_flag_spec='${wl}-E'
 
9006
        else
 
9007
          case $host_os in
 
9008
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9009
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9010
             hardcode_libdir_flag_spec='-R$libdir'
 
9011
             ;;
 
9012
           *)
 
9013
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9014
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9015
             ;;
 
9016
          esac
 
9017
        fi
 
9018
      else
 
9019
        ld_shlibs=no
 
9020
      fi
 
9021
      ;;
 
9022
 
 
9023
    os2*)
 
9024
      hardcode_libdir_flag_spec='-L$libdir'
 
9025
      hardcode_minus_L=yes
 
9026
      allow_undefined_flag=unsupported
 
9027
      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'
 
9028
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9029
      ;;
 
9030
 
 
9031
    osf3*)
 
9032
      if test "$GCC" = yes; then
 
9033
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9034
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9035
      else
 
9036
        allow_undefined_flag=' -expect_unresolved \*'
 
9037
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9038
      fi
 
9039
      archive_cmds_need_lc='no'
 
9040
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9041
      hardcode_libdir_separator=:
 
9042
      ;;
 
9043
 
 
9044
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9045
      if test "$GCC" = yes; then
 
9046
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9047
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9048
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9049
      else
 
9050
        allow_undefined_flag=' -expect_unresolved \*'
 
9051
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9052
        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~
 
9053
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9054
 
 
9055
        # Both c and cxx compiler support -rpath directly
 
9056
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9057
      fi
 
9058
      archive_cmds_need_lc='no'
 
9059
      hardcode_libdir_separator=:
 
9060
      ;;
 
9061
 
 
9062
    solaris*)
 
9063
      no_undefined_flag=' -z defs'
 
9064
      if test "$GCC" = yes; then
 
9065
        wlarc='${wl}'
 
9066
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9067
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9068
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9069
      else
 
9070
        case `$CC -V 2>&1` in
 
9071
        *"Compilers 5.0"*)
 
9072
          wlarc=''
 
9073
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9074
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9075
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9076
          ;;
 
9077
        *)
 
9078
          wlarc='${wl}'
 
9079
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9080
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9081
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9082
          ;;
 
9083
        esac
 
9084
      fi
 
9085
      hardcode_libdir_flag_spec='-R$libdir'
 
9086
      hardcode_shlibpath_var=no
 
9087
      case $host_os in
 
9088
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9089
      *)
 
9090
        # The compiler driver will combine and reorder linker options,
 
9091
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9092
        # but is careful enough not to reorder.
 
9093
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9094
        if test "$GCC" = yes; then
 
9095
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9096
        else
 
9097
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9098
        fi
 
9099
        ;;
 
9100
      esac
 
9101
      link_all_deplibs=yes
 
9102
      ;;
 
9103
 
 
9104
    sunos4*)
 
9105
      if test "x$host_vendor" = xsequent; then
 
9106
        # Use $CC to link under sequent, because it throws in some extra .o
 
9107
        # files that make .init and .fini sections work.
 
9108
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9109
      else
 
9110
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9111
      fi
 
9112
      hardcode_libdir_flag_spec='-L$libdir'
 
9113
      hardcode_direct=yes
 
9114
      hardcode_minus_L=yes
 
9115
      hardcode_shlibpath_var=no
 
9116
      ;;
 
9117
 
 
9118
    sysv4)
 
9119
      case $host_vendor in
 
9120
        sni)
 
9121
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9122
          hardcode_direct=yes # is this really true???
 
9123
        ;;
 
9124
        siemens)
 
9125
          ## LD is ld it makes a PLAMLIB
 
9126
          ## CC just makes a GrossModule.
 
9127
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9128
          reload_cmds='$CC -r -o $output$reload_objs'
 
9129
          hardcode_direct=no
 
9130
        ;;
 
9131
        motorola)
 
9132
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9133
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9134
        ;;
 
9135
      esac
 
9136
      runpath_var='LD_RUN_PATH'
 
9137
      hardcode_shlibpath_var=no
 
9138
      ;;
 
9139
 
 
9140
    sysv4.3*)
 
9141
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9142
      hardcode_shlibpath_var=no
 
9143
      export_dynamic_flag_spec='-Bexport'
 
9144
      ;;
 
9145
 
 
9146
    sysv4*MP*)
 
9147
      if test -d /usr/nec; then
 
9148
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9149
        hardcode_shlibpath_var=no
 
9150
        runpath_var=LD_RUN_PATH
 
9151
        hardcode_runpath_var=yes
 
9152
        ld_shlibs=yes
 
9153
      fi
 
9154
      ;;
 
9155
 
 
9156
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9157
      no_undefined_flag='${wl}-z,text'
 
9158
      archive_cmds_need_lc=no
 
9159
      hardcode_shlibpath_var=no
 
9160
      runpath_var='LD_RUN_PATH'
 
9161
 
 
9162
      if test "$GCC" = yes; then
 
9163
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9164
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9165
      else
 
9166
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9167
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9168
      fi
 
9169
      ;;
 
9170
 
 
9171
    sysv5* | sco3.2v5* | sco5v6*)
 
9172
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9173
      # link with -lc, and that would cause any symbols used from libc to
 
9174
      # always be unresolved, which means just about no library would
 
9175
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9176
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9177
      # as -z defs.
 
9178
      no_undefined_flag='${wl}-z,text'
 
9179
      allow_undefined_flag='${wl}-z,nodefs'
 
9180
      archive_cmds_need_lc=no
 
9181
      hardcode_shlibpath_var=no
 
9182
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9183
      hardcode_libdir_separator=':'
 
9184
      link_all_deplibs=yes
 
9185
      export_dynamic_flag_spec='${wl}-Bexport'
 
9186
      runpath_var='LD_RUN_PATH'
 
9187
 
 
9188
      if test "$GCC" = yes; then
 
9189
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9190
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9191
      else
 
9192
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9193
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9194
      fi
 
9195
      ;;
 
9196
 
 
9197
    uts4*)
 
9198
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9199
      hardcode_libdir_flag_spec='-L$libdir'
 
9200
      hardcode_shlibpath_var=no
 
9201
      ;;
 
9202
 
 
9203
    *)
 
9204
      ld_shlibs=no
 
9205
      ;;
 
9206
    esac
 
9207
 
 
9208
    if test x$host_vendor = xsni; then
 
9209
      case $host in
 
9210
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9211
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9212
        ;;
 
9213
      esac
 
9214
    fi
 
9215
  fi
 
9216
 
 
9217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
9218
$as_echo "$ld_shlibs" >&6; }
 
9219
test "$ld_shlibs" = no && can_build_shared=no
 
9220
 
 
9221
with_gnu_ld=$with_gnu_ld
 
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
 
 
9228
 
 
9229
 
 
9230
 
 
9231
 
 
9232
 
 
9233
 
 
9234
 
 
9235
 
 
9236
 
 
9237
#
 
9238
# Do we need to explicitly link libc?
 
9239
#
 
9240
case "x$archive_cmds_need_lc" in
 
9241
x|xyes)
 
9242
  # Assume -lc should be added
 
9243
  archive_cmds_need_lc=yes
 
9244
 
 
9245
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9246
    case $archive_cmds in
 
9247
    *'~'*)
 
9248
      # FIXME: we may have to deal with multi-command sequences.
 
9249
      ;;
 
9250
    '$CC '*)
 
9251
      # Test whether the compiler implicitly links with -lc since on some
 
9252
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9253
      # to ld, don't add -lc before -lgcc.
 
9254
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
9255
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9256
      $RM conftest*
 
9257
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9258
 
 
9259
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9260
  (eval $ac_compile) 2>&5
 
9261
  ac_status=$?
 
9262
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9263
  test $ac_status = 0; } 2>conftest.err; then
 
9264
        soname=conftest
 
9265
        lib=conftest
 
9266
        libobjs=conftest.$ac_objext
 
9267
        deplibs=
 
9268
        wl=$lt_prog_compiler_wl
 
9269
        pic_flag=$lt_prog_compiler_pic
 
9270
        compiler_flags=-v
 
9271
        linker_flags=-v
 
9272
        verstring=
 
9273
        output_objdir=.
 
9274
        libname=conftest
 
9275
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
9276
        allow_undefined_flag=
 
9277
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9278
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9279
  ac_status=$?
 
9280
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9281
  test $ac_status = 0; }
 
9282
        then
 
9283
          archive_cmds_need_lc=no
 
9284
        else
 
9285
          archive_cmds_need_lc=yes
 
9286
        fi
 
9287
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
9288
      else
 
9289
        cat conftest.err 1>&5
 
9290
      fi
 
9291
      $RM conftest*
 
9292
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
9293
$as_echo "$archive_cmds_need_lc" >&6; }
 
9294
      ;;
 
9295
    esac
 
9296
  fi
 
9297
  ;;
 
9298
esac
 
9299
 
 
9300
 
 
9301
 
 
9302
 
 
9303
 
 
9304
 
 
9305
 
 
9306
 
 
9307
 
 
9308
 
 
9309
 
 
9310
 
 
9311
 
 
9312
 
 
9313
 
 
9314
 
 
9315
 
 
9316
 
 
9317
 
 
9318
 
 
9319
 
 
9320
 
 
9321
 
 
9322
 
 
9323
 
 
9324
 
 
9325
 
 
9326
 
 
9327
 
 
9328
 
 
9329
 
 
9330
 
 
9331
 
 
9332
 
 
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
 
 
9338
 
 
9339
 
 
9340
 
 
9341
 
 
9342
 
 
9343
 
 
9344
 
 
9345
 
 
9346
 
 
9347
 
 
9348
 
 
9349
 
 
9350
 
 
9351
 
 
9352
 
 
9353
 
 
9354
 
 
9355
 
 
9356
 
 
9357
 
 
9358
 
 
9359
 
 
9360
 
 
9361
 
 
9362
 
 
9363
 
 
9364
 
 
9365
 
 
9366
 
 
9367
 
 
9368
 
 
9369
 
 
9370
 
 
9371
 
 
9372
 
 
9373
 
 
9374
 
 
9375
 
 
9376
 
 
9377
 
 
9378
 
 
9379
 
 
9380
 
 
9381
 
 
9382
 
 
9383
 
 
9384
 
 
9385
 
 
9386
 
 
9387
 
 
9388
 
 
9389
 
 
9390
 
 
9391
 
 
9392
 
 
9393
 
 
9394
 
 
9395
 
 
9396
 
 
9397
 
 
9398
 
 
9399
 
 
9400
 
 
9401
 
 
9402
 
 
9403
 
 
9404
 
 
9405
 
 
9406
 
 
9407
 
 
9408
 
 
9409
 
 
9410
 
 
9411
 
 
9412
 
 
9413
 
 
9414
 
 
9415
 
 
9416
 
 
9417
 
 
9418
 
 
9419
 
 
9420
 
 
9421
 
 
9422
 
 
9423
 
 
9424
 
 
9425
 
 
9426
 
 
9427
 
 
9428
 
 
9429
 
 
9430
 
 
9431
 
 
9432
 
 
9433
 
 
9434
 
 
9435
 
 
9436
 
 
9437
 
 
9438
 
 
9439
 
 
9440
 
 
9441
 
 
9442
 
 
9443
 
 
9444
 
 
9445
 
 
9446
 
 
9447
 
 
9448
 
 
9449
 
 
9450
 
 
9451
 
 
9452
 
 
9453
 
 
9454
 
 
9455
 
 
9456
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
9457
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9458
 
 
9459
if test "$GCC" = yes; then
 
9460
  case $host_os in
 
9461
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9462
    *) lt_awk_arg="/^libraries:/" ;;
 
9463
  esac
 
9464
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9465
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9466
    # if the path contains ";" then we assume it to be the separator
 
9467
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9468
    # assumed that no part of a normal pathname contains ";" but that should
 
9469
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9470
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9471
  else
 
9472
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9473
  fi
 
9474
  # Ok, now we have the path, separated by spaces, we can step through it
 
9475
  # and add multilib dir if necessary.
 
9476
  lt_tmp_lt_search_path_spec=
 
9477
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9478
  for lt_sys_path in $lt_search_path_spec; do
 
9479
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9480
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9481
    else
 
9482
      test -d "$lt_sys_path" && \
 
9483
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9484
    fi
 
9485
  done
 
9486
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9487
BEGIN {RS=" "; FS="/|\n";} {
 
9488
  lt_foo="";
 
9489
  lt_count=0;
 
9490
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9491
    if ($lt_i != "" && $lt_i != ".") {
 
9492
      if ($lt_i == "..") {
 
9493
        lt_count++;
 
9494
      } else {
 
9495
        if (lt_count == 0) {
 
9496
          lt_foo="/" $lt_i lt_foo;
 
9497
        } else {
 
9498
          lt_count--;
 
9499
        }
 
9500
      }
 
9501
    }
 
9502
  }
 
9503
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9504
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9505
}'`
 
9506
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9507
else
 
9508
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9509
fi
 
9510
library_names_spec=
 
9511
libname_spec='lib$name'
 
9512
soname_spec=
 
9513
shrext_cmds=".so"
 
9514
postinstall_cmds=
 
9515
postuninstall_cmds=
 
9516
finish_cmds=
 
9517
finish_eval=
 
9518
shlibpath_var=
 
9519
shlibpath_overrides_runpath=unknown
 
9520
version_type=none
 
9521
dynamic_linker="$host_os ld.so"
 
9522
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9523
need_lib_prefix=unknown
 
9524
hardcode_into_libs=no
 
9525
 
 
9526
# when you set need_version to no, make sure it does not cause -set_version
 
9527
# flags to be left without arguments
 
9528
need_version=unknown
 
9529
 
 
9530
case $host_os in
 
9531
aix3*)
 
9532
  version_type=linux
 
9533
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
9534
  shlibpath_var=LIBPATH
 
9535
 
 
9536
  # AIX 3 has no versioning support, so we append a major version to the name.
 
9537
  soname_spec='${libname}${release}${shared_ext}$major'
 
9538
  ;;
 
9539
 
 
9540
aix[4-9]*)
 
9541
  version_type=linux
 
9542
  need_lib_prefix=no
 
9543
  need_version=no
 
9544
  hardcode_into_libs=yes
 
9545
  if test "$host_cpu" = ia64; then
 
9546
    # AIX 5 supports IA64
 
9547
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
9548
    shlibpath_var=LD_LIBRARY_PATH
 
9549
  else
 
9550
    # With GCC up to 2.95.x, collect2 would create an import file
 
9551
    # for dependence libraries.  The import file would start with
 
9552
    # the line `#! .'.  This would cause the generated library to
 
9553
    # depend on `.', always an invalid library.  This was fixed in
 
9554
    # development snapshots of GCC prior to 3.0.
 
9555
    case $host_os in
 
9556
      aix4 | aix4.[01] | aix4.[01].*)
 
9557
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
9558
           echo ' yes '
 
9559
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
9560
        :
 
9561
      else
 
9562
        can_build_shared=no
 
9563
      fi
 
9564
      ;;
 
9565
    esac
 
9566
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
9567
    # soname into executable. Probably we can add versioning support to
 
9568
    # collect2, so additional links can be useful in future.
 
9569
    if test "$aix_use_runtimelinking" = yes; then
 
9570
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
9571
      # instead of lib<name>.a to let people know that these are not
 
9572
      # typical AIX shared libraries.
 
9573
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9574
    else
 
9575
      # We preserve .a as extension for shared libraries through AIX4.2
 
9576
      # and later when we are not doing run time linking.
 
9577
      library_names_spec='${libname}${release}.a $libname.a'
 
9578
      soname_spec='${libname}${release}${shared_ext}$major'
 
9579
    fi
 
9580
    shlibpath_var=LIBPATH
 
9581
  fi
 
9582
  ;;
 
9583
 
 
9584
amigaos*)
 
9585
  case $host_cpu in
 
9586
  powerpc)
 
9587
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9588
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9589
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9590
    ;;
 
9591
  m68k)
 
9592
    library_names_spec='$libname.ixlibrary $libname.a'
 
9593
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9594
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9595
    ;;
 
9596
  esac
 
9597
  ;;
 
9598
 
 
9599
beos*)
 
9600
  library_names_spec='${libname}${shared_ext}'
 
9601
  dynamic_linker="$host_os ld.so"
 
9602
  shlibpath_var=LIBRARY_PATH
 
9603
  ;;
 
9604
 
 
9605
bsdi[45]*)
 
9606
  version_type=linux
 
9607
  need_version=no
 
9608
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9609
  soname_spec='${libname}${release}${shared_ext}$major'
 
9610
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
9611
  shlibpath_var=LD_LIBRARY_PATH
 
9612
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
9613
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
9614
  # the default ld.so.conf also contains /usr/contrib/lib and
 
9615
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
9616
  # libtool to hard-code these into programs
 
9617
  ;;
 
9618
 
 
9619
cygwin* | mingw* | pw32* | cegcc*)
 
9620
  version_type=windows
 
9621
  shrext_cmds=".dll"
 
9622
  need_version=no
 
9623
  need_lib_prefix=no
 
9624
 
 
9625
  case $GCC,$host_os in
 
9626
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
9627
    library_names_spec='$libname.dll.a'
 
9628
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9629
    postinstall_cmds='base_file=`basename \${file}`~
 
9630
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
9631
      dldir=$destdir/`dirname \$dlpath`~
 
9632
      test -d \$dldir || mkdir -p \$dldir~
 
9633
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9634
      chmod a+x \$dldir/$dlname~
 
9635
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9636
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9637
      fi'
 
9638
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9639
      dlpath=$dir/\$dldll~
 
9640
       $RM \$dlpath'
 
9641
    shlibpath_overrides_runpath=yes
 
9642
 
 
9643
    case $host_os in
 
9644
    cygwin*)
 
9645
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
9646
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9647
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9648
      ;;
 
9649
    mingw* | cegcc*)
 
9650
      # MinGW DLLs use traditional 'lib' prefix
 
9651
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9652
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9653
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
9654
        # It is most probably a Windows format PATH printed by
 
9655
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
9656
        # path with ; separators, and with drive letters. We can handle the
 
9657
        # drive letters (cygwin fileutils understands them), so leave them,
 
9658
        # especially as we might pass files found there to a mingw objdump,
 
9659
        # which wouldn't understand a cygwinified path. Ahh.
 
9660
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9661
      else
 
9662
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9663
      fi
 
9664
      ;;
 
9665
    pw32*)
 
9666
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
9667
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9668
      ;;
 
9669
    esac
 
9670
    ;;
 
9671
 
 
9672
  *)
 
9673
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
9674
    ;;
 
9675
  esac
 
9676
  dynamic_linker='Win32 ld.exe'
 
9677
  # FIXME: first we should search . and the directory the executable is in
 
9678
  shlibpath_var=PATH
 
9679
  ;;
 
9680
 
 
9681
darwin* | rhapsody*)
 
9682
  dynamic_linker="$host_os dyld"
 
9683
  version_type=darwin
 
9684
  need_lib_prefix=no
 
9685
  need_version=no
 
9686
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9687
  soname_spec='${libname}${release}${major}$shared_ext'
 
9688
  shlibpath_overrides_runpath=yes
 
9689
  shlibpath_var=DYLD_LIBRARY_PATH
 
9690
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
9691
 
 
9692
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
9693
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
9694
  ;;
 
9695
 
 
9696
dgux*)
 
9697
  version_type=linux
 
9698
  need_lib_prefix=no
 
9699
  need_version=no
 
9700
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
9701
  soname_spec='${libname}${release}${shared_ext}$major'
 
9702
  shlibpath_var=LD_LIBRARY_PATH
 
9703
  ;;
 
9704
 
 
9705
freebsd1*)
 
9706
  dynamic_linker=no
 
9707
  ;;
 
9708
 
 
9709
freebsd* | dragonfly*)
 
9710
  # DragonFly does not have aout.  When/if they implement a new
 
9711
  # versioning mechanism, adjust this.
 
9712
  if test -x /usr/bin/objformat; then
 
9713
    objformat=`/usr/bin/objformat`
 
9714
  else
 
9715
    case $host_os in
 
9716
    freebsd[123]*) objformat=aout ;;
 
9717
    *) objformat=elf ;;
 
9718
    esac
 
9719
  fi
 
9720
  version_type=freebsd-$objformat
 
9721
  case $version_type in
 
9722
    freebsd-elf*)
 
9723
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9724
      need_version=no
 
9725
      need_lib_prefix=no
 
9726
      ;;
 
9727
    freebsd-*)
 
9728
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
9729
      need_version=yes
 
9730
      ;;
 
9731
  esac
 
9732
  shlibpath_var=LD_LIBRARY_PATH
 
9733
  case $host_os in
 
9734
  freebsd2*)
 
9735
    shlibpath_overrides_runpath=yes
 
9736
    ;;
 
9737
  freebsd3.[01]* | freebsdelf3.[01]*)
 
9738
    shlibpath_overrides_runpath=yes
 
9739
    hardcode_into_libs=yes
 
9740
    ;;
 
9741
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9742
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
9743
    shlibpath_overrides_runpath=no
 
9744
    hardcode_into_libs=yes
 
9745
    ;;
 
9746
  *) # from 4.6 on, and DragonFly
 
9747
    shlibpath_overrides_runpath=yes
 
9748
    hardcode_into_libs=yes
 
9749
    ;;
 
9750
  esac
 
9751
  ;;
 
9752
 
 
9753
gnu*)
 
9754
  version_type=linux
 
9755
  need_lib_prefix=no
 
9756
  need_version=no
 
9757
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9758
  soname_spec='${libname}${release}${shared_ext}$major'
 
9759
  shlibpath_var=LD_LIBRARY_PATH
 
9760
  hardcode_into_libs=yes
 
9761
  ;;
 
9762
 
 
9763
hpux9* | hpux10* | hpux11*)
 
9764
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
9765
  # link against other versions.
 
9766
  version_type=sunos
 
9767
  need_lib_prefix=no
 
9768
  need_version=no
 
9769
  case $host_cpu in
 
9770
  ia64*)
 
9771
    shrext_cmds='.so'
 
9772
    hardcode_into_libs=yes
 
9773
    dynamic_linker="$host_os dld.so"
 
9774
    shlibpath_var=LD_LIBRARY_PATH
 
9775
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9776
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9777
    soname_spec='${libname}${release}${shared_ext}$major'
 
9778
    if test "X$HPUX_IA64_MODE" = X32; then
 
9779
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
9780
    else
 
9781
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
9782
    fi
 
9783
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9784
    ;;
 
9785
  hppa*64*)
 
9786
    shrext_cmds='.sl'
 
9787
    hardcode_into_libs=yes
 
9788
    dynamic_linker="$host_os dld.sl"
 
9789
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9790
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9791
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9792
    soname_spec='${libname}${release}${shared_ext}$major'
 
9793
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9794
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9795
    ;;
 
9796
  *)
 
9797
    shrext_cmds='.sl'
 
9798
    dynamic_linker="$host_os dld.sl"
 
9799
    shlibpath_var=SHLIB_PATH
 
9800
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
9801
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9802
    soname_spec='${libname}${release}${shared_ext}$major'
 
9803
    ;;
 
9804
  esac
 
9805
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9806
  postinstall_cmds='chmod 555 $lib'
 
9807
  ;;
 
9808
 
 
9809
interix[3-9]*)
 
9810
  version_type=linux
 
9811
  need_lib_prefix=no
 
9812
  need_version=no
 
9813
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9814
  soname_spec='${libname}${release}${shared_ext}$major'
 
9815
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9816
  shlibpath_var=LD_LIBRARY_PATH
 
9817
  shlibpath_overrides_runpath=no
 
9818
  hardcode_into_libs=yes
 
9819
  ;;
 
9820
 
 
9821
irix5* | irix6* | nonstopux*)
 
9822
  case $host_os in
 
9823
    nonstopux*) version_type=nonstopux ;;
 
9824
    *)
 
9825
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
9826
                version_type=linux
 
9827
        else
 
9828
                version_type=irix
 
9829
        fi ;;
 
9830
  esac
 
9831
  need_lib_prefix=no
 
9832
  need_version=no
 
9833
  soname_spec='${libname}${release}${shared_ext}$major'
 
9834
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9835
  case $host_os in
 
9836
  irix5* | nonstopux*)
 
9837
    libsuff= shlibsuff=
 
9838
    ;;
 
9839
  *)
 
9840
    case $LD in # libtool.m4 will add one of these switches to LD
 
9841
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
9842
      libsuff= shlibsuff= libmagic=32-bit;;
 
9843
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
9844
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
9845
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
9846
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
9847
    *) libsuff= shlibsuff= libmagic=never-match;;
 
9848
    esac
 
9849
    ;;
 
9850
  esac
 
9851
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
9852
  shlibpath_overrides_runpath=no
 
9853
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
9854
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
9855
  hardcode_into_libs=yes
 
9856
  ;;
 
9857
 
 
9858
# No shared lib support for Linux oldld, aout, or coff.
 
9859
linux*oldld* | linux*aout* | linux*coff*)
 
9860
  dynamic_linker=no
 
9861
  ;;
 
9862
 
 
9863
# This must be Linux ELF.
 
9864
linux* | k*bsd*-gnu)
 
9865
  version_type=linux
 
9866
  need_lib_prefix=no
 
9867
  need_version=no
 
9868
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9869
  soname_spec='${libname}${release}${shared_ext}$major'
 
9870
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
9871
  shlibpath_var=LD_LIBRARY_PATH
 
9872
  shlibpath_overrides_runpath=no
 
9873
  # Some binutils ld are patched to set DT_RUNPATH
 
9874
  save_LDFLAGS=$LDFLAGS
 
9875
  save_libdir=$libdir
 
9876
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9877
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9878
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9879
/* end confdefs.h.  */
 
9880
 
 
9881
int
 
9882
main ()
 
9883
{
 
9884
 
 
9885
  ;
 
9886
  return 0;
 
9887
}
 
9888
_ACEOF
 
9889
if ac_fn_c_try_link "$LINENO"; then :
 
9890
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
9891
  shlibpath_overrides_runpath=yes
 
9892
fi
 
9893
fi
 
9894
rm -f core conftest.err conftest.$ac_objext \
 
9895
    conftest$ac_exeext conftest.$ac_ext
 
9896
  LDFLAGS=$save_LDFLAGS
 
9897
  libdir=$save_libdir
 
9898
 
 
9899
  # This implies no fast_install, which is unacceptable.
 
9900
  # Some rework will be needed to allow for fast_install
 
9901
  # before this can be enabled.
 
9902
  hardcode_into_libs=yes
 
9903
 
 
9904
  # Append ld.so.conf contents to the search path
 
9905
  if test -f /etc/ld.so.conf; then
 
9906
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9907
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
9908
  fi
 
9909
 
 
9910
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
9911
  # powerpc, because MkLinux only supported shared libraries with the
 
9912
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
9913
  # most powerpc-linux boxes support dynamic linking these days and
 
9914
  # people can always --disable-shared, the test was removed, and we
 
9915
  # assume the GNU/Linux dynamic linker is in use.
 
9916
  dynamic_linker='GNU/Linux ld.so'
 
9917
  ;;
 
9918
 
 
9919
netbsdelf*-gnu)
 
9920
  version_type=linux
 
9921
  need_lib_prefix=no
 
9922
  need_version=no
 
9923
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9924
  soname_spec='${libname}${release}${shared_ext}$major'
 
9925
  shlibpath_var=LD_LIBRARY_PATH
 
9926
  shlibpath_overrides_runpath=no
 
9927
  hardcode_into_libs=yes
 
9928
  dynamic_linker='NetBSD ld.elf_so'
 
9929
  ;;
 
9930
 
 
9931
netbsd*)
 
9932
  version_type=sunos
 
9933
  need_lib_prefix=no
 
9934
  need_version=no
 
9935
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9936
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9937
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9938
    dynamic_linker='NetBSD (a.out) ld.so'
 
9939
  else
 
9940
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9941
    soname_spec='${libname}${release}${shared_ext}$major'
 
9942
    dynamic_linker='NetBSD ld.elf_so'
 
9943
  fi
 
9944
  shlibpath_var=LD_LIBRARY_PATH
 
9945
  shlibpath_overrides_runpath=yes
 
9946
  hardcode_into_libs=yes
 
9947
  ;;
 
9948
 
 
9949
newsos6)
 
9950
  version_type=linux
 
9951
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9952
  shlibpath_var=LD_LIBRARY_PATH
 
9953
  shlibpath_overrides_runpath=yes
 
9954
  ;;
 
9955
 
 
9956
*nto* | *qnx*)
 
9957
  version_type=qnx
 
9958
  need_lib_prefix=no
 
9959
  need_version=no
 
9960
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9961
  soname_spec='${libname}${release}${shared_ext}$major'
 
9962
  shlibpath_var=LD_LIBRARY_PATH
 
9963
  shlibpath_overrides_runpath=no
 
9964
  hardcode_into_libs=yes
 
9965
  dynamic_linker='ldqnx.so'
 
9966
  ;;
 
9967
 
 
9968
openbsd*)
 
9969
  version_type=sunos
 
9970
  sys_lib_dlsearch_path_spec="/usr/lib"
 
9971
  need_lib_prefix=no
 
9972
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9973
  case $host_os in
 
9974
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
9975
    *)                          need_version=no  ;;
 
9976
  esac
 
9977
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9978
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9979
  shlibpath_var=LD_LIBRARY_PATH
 
9980
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9981
    case $host_os in
 
9982
      openbsd2.[89] | openbsd2.[89].*)
 
9983
        shlibpath_overrides_runpath=no
 
9984
        ;;
 
9985
      *)
 
9986
        shlibpath_overrides_runpath=yes
 
9987
        ;;
 
9988
      esac
 
9989
  else
 
9990
    shlibpath_overrides_runpath=yes
 
9991
  fi
 
9992
  ;;
 
9993
 
 
9994
os2*)
 
9995
  libname_spec='$name'
 
9996
  shrext_cmds=".dll"
 
9997
  need_lib_prefix=no
 
9998
  library_names_spec='$libname${shared_ext} $libname.a'
 
9999
  dynamic_linker='OS/2 ld.exe'
 
10000
  shlibpath_var=LIBPATH
 
10001
  ;;
 
10002
 
 
10003
osf3* | osf4* | osf5*)
 
10004
  version_type=osf
 
10005
  need_lib_prefix=no
 
10006
  need_version=no
 
10007
  soname_spec='${libname}${release}${shared_ext}$major'
 
10008
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10009
  shlibpath_var=LD_LIBRARY_PATH
 
10010
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10011
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10012
  ;;
 
10013
 
 
10014
rdos*)
 
10015
  dynamic_linker=no
 
10016
  ;;
 
10017
 
 
10018
solaris*)
 
10019
  version_type=linux
 
10020
  need_lib_prefix=no
 
10021
  need_version=no
 
10022
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10023
  soname_spec='${libname}${release}${shared_ext}$major'
 
10024
  shlibpath_var=LD_LIBRARY_PATH
 
10025
  shlibpath_overrides_runpath=yes
 
10026
  hardcode_into_libs=yes
 
10027
  # ldd complains unless libraries are executable
 
10028
  postinstall_cmds='chmod +x $lib'
 
10029
  ;;
 
10030
 
 
10031
sunos4*)
 
10032
  version_type=sunos
 
10033
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10034
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10035
  shlibpath_var=LD_LIBRARY_PATH
 
10036
  shlibpath_overrides_runpath=yes
 
10037
  if test "$with_gnu_ld" = yes; then
 
10038
    need_lib_prefix=no
 
10039
  fi
 
10040
  need_version=yes
 
10041
  ;;
 
10042
 
 
10043
sysv4 | sysv4.3*)
 
10044
  version_type=linux
 
10045
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10046
  soname_spec='${libname}${release}${shared_ext}$major'
 
10047
  shlibpath_var=LD_LIBRARY_PATH
 
10048
  case $host_vendor in
 
10049
    sni)
 
10050
      shlibpath_overrides_runpath=no
 
10051
      need_lib_prefix=no
 
10052
      runpath_var=LD_RUN_PATH
 
10053
      ;;
 
10054
    siemens)
 
10055
      need_lib_prefix=no
 
10056
      ;;
 
10057
    motorola)
 
10058
      need_lib_prefix=no
 
10059
      need_version=no
 
10060
      shlibpath_overrides_runpath=no
 
10061
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10062
      ;;
 
10063
  esac
 
10064
  ;;
 
10065
 
 
10066
sysv4*MP*)
 
10067
  if test -d /usr/nec ;then
 
10068
    version_type=linux
 
10069
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10070
    soname_spec='$libname${shared_ext}.$major'
 
10071
    shlibpath_var=LD_LIBRARY_PATH
 
10072
  fi
 
10073
  ;;
 
10074
 
 
10075
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10076
  version_type=freebsd-elf
 
10077
  need_lib_prefix=no
 
10078
  need_version=no
 
10079
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10080
  soname_spec='${libname}${release}${shared_ext}$major'
 
10081
  shlibpath_var=LD_LIBRARY_PATH
 
10082
  shlibpath_overrides_runpath=yes
 
10083
  hardcode_into_libs=yes
 
10084
  if test "$with_gnu_ld" = yes; then
 
10085
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10086
  else
 
10087
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10088
    case $host_os in
 
10089
      sco3.2v5*)
 
10090
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10091
        ;;
 
10092
    esac
 
10093
  fi
 
10094
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10095
  ;;
 
10096
 
 
10097
tpf*)
 
10098
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10099
  version_type=linux
 
10100
  need_lib_prefix=no
 
10101
  need_version=no
 
10102
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10103
  shlibpath_var=LD_LIBRARY_PATH
 
10104
  shlibpath_overrides_runpath=no
 
10105
  hardcode_into_libs=yes
 
10106
  ;;
 
10107
 
 
10108
uts4*)
 
10109
  version_type=linux
 
10110
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10111
  soname_spec='${libname}${release}${shared_ext}$major'
 
10112
  shlibpath_var=LD_LIBRARY_PATH
 
10113
  ;;
 
10114
 
 
10115
*)
 
10116
  dynamic_linker=no
 
10117
  ;;
 
10118
esac
 
10119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10120
$as_echo "$dynamic_linker" >&6; }
 
10121
test "$dynamic_linker" = no && can_build_shared=no
 
10122
 
 
10123
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10124
if test "$GCC" = yes; then
 
10125
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10126
fi
 
10127
 
 
10128
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10129
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10130
fi
 
10131
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10132
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10133
fi
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
 
 
10196
 
 
10197
 
 
10198
 
 
10199
 
 
10200
 
 
10201
 
 
10202
 
 
10203
 
 
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
10222
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
10223
hardcode_action=
 
10224
if test -n "$hardcode_libdir_flag_spec" ||
 
10225
   test -n "$runpath_var" ||
 
10226
   test "X$hardcode_automatic" = "Xyes" ; then
 
10227
 
 
10228
  # We can hardcode non-existent directories.
 
10229
  if test "$hardcode_direct" != no &&
 
10230
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
10231
     # have to relink, otherwise we might link with an installed library
 
10232
     # when we should be linking with a yet-to-be-installed one
 
10233
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10234
     test "$hardcode_minus_L" != no; then
 
10235
    # Linking always hardcodes the temporary library directory.
 
10236
    hardcode_action=relink
 
10237
  else
 
10238
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
10239
    hardcode_action=immediate
 
10240
  fi
 
10241
else
 
10242
  # We cannot hardcode anything, or else we can only hardcode existing
 
10243
  # directories.
 
10244
  hardcode_action=unsupported
 
10245
fi
 
10246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
10247
$as_echo "$hardcode_action" >&6; }
 
10248
 
 
10249
if test "$hardcode_action" = relink ||
 
10250
   test "$inherit_rpath" = yes; then
 
10251
  # Fast installation is not supported
 
10252
  enable_fast_install=no
 
10253
elif test "$shlibpath_overrides_runpath" = yes ||
 
10254
     test "$enable_shared" = no; then
 
10255
  # Fast installation is not necessary
 
10256
  enable_fast_install=needless
 
10257
fi
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
  if test "x$enable_dlopen" != xyes; then
 
10265
  enable_dlopen=unknown
 
10266
  enable_dlopen_self=unknown
 
10267
  enable_dlopen_self_static=unknown
 
10268
else
 
10269
  lt_cv_dlopen=no
 
10270
  lt_cv_dlopen_libs=
 
10271
 
 
10272
  case $host_os in
 
10273
  beos*)
 
10274
    lt_cv_dlopen="load_add_on"
 
10275
    lt_cv_dlopen_libs=
 
10276
    lt_cv_dlopen_self=yes
 
10277
    ;;
 
10278
 
 
10279
  mingw* | pw32* | cegcc*)
 
10280
    lt_cv_dlopen="LoadLibrary"
 
10281
    lt_cv_dlopen_libs=
 
10282
    ;;
 
10283
 
 
10284
  cygwin*)
 
10285
    lt_cv_dlopen="dlopen"
 
10286
    lt_cv_dlopen_libs=
 
10287
    ;;
 
10288
 
 
10289
  darwin*)
 
10290
  # if libdl is installed we need to link against it
 
10291
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10292
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10293
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10294
  $as_echo_n "(cached) " >&6
 
10295
else
 
10296
  ac_check_lib_save_LIBS=$LIBS
 
10297
LIBS="-ldl  $LIBS"
 
10298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10299
/* end confdefs.h.  */
 
10300
 
 
10301
/* Override any GCC internal prototype to avoid an error.
 
10302
   Use char because int might match the return type of a GCC
 
10303
   builtin and then its argument prototype would still apply.  */
 
10304
#ifdef __cplusplus
 
10305
extern "C"
 
10306
#endif
 
10307
char dlopen ();
 
10308
int
 
10309
main ()
 
10310
{
 
10311
return dlopen ();
 
10312
  ;
 
10313
  return 0;
 
10314
}
 
10315
_ACEOF
 
10316
if ac_fn_c_try_link "$LINENO"; then :
 
10317
  ac_cv_lib_dl_dlopen=yes
 
10318
else
 
10319
  ac_cv_lib_dl_dlopen=no
 
10320
fi
 
10321
rm -f core conftest.err conftest.$ac_objext \
 
10322
    conftest$ac_exeext conftest.$ac_ext
 
10323
LIBS=$ac_check_lib_save_LIBS
 
10324
fi
 
10325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10326
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10327
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10328
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10329
else
 
10330
 
 
10331
    lt_cv_dlopen="dyld"
 
10332
    lt_cv_dlopen_libs=
 
10333
    lt_cv_dlopen_self=yes
 
10334
 
 
10335
fi
 
10336
 
 
10337
    ;;
 
10338
 
 
10339
  *)
 
10340
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10341
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10342
  lt_cv_dlopen="shl_load"
 
10343
else
 
10344
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
10345
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
10346
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10347
  $as_echo_n "(cached) " >&6
 
10348
else
 
10349
  ac_check_lib_save_LIBS=$LIBS
 
10350
LIBS="-ldld  $LIBS"
 
10351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10352
/* end confdefs.h.  */
 
10353
 
 
10354
/* Override any GCC internal prototype to avoid an error.
 
10355
   Use char because int might match the return type of a GCC
 
10356
   builtin and then its argument prototype would still apply.  */
 
10357
#ifdef __cplusplus
 
10358
extern "C"
 
10359
#endif
 
10360
char shl_load ();
 
10361
int
 
10362
main ()
 
10363
{
 
10364
return shl_load ();
 
10365
  ;
 
10366
  return 0;
 
10367
}
 
10368
_ACEOF
 
10369
if ac_fn_c_try_link "$LINENO"; then :
 
10370
  ac_cv_lib_dld_shl_load=yes
 
10371
else
 
10372
  ac_cv_lib_dld_shl_load=no
 
10373
fi
 
10374
rm -f core conftest.err conftest.$ac_objext \
 
10375
    conftest$ac_exeext conftest.$ac_ext
 
10376
LIBS=$ac_check_lib_save_LIBS
 
10377
fi
 
10378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
10379
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10380
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10381
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
10382
else
 
10383
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10384
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10385
  lt_cv_dlopen="dlopen"
 
10386
else
 
10387
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10388
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10389
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10390
  $as_echo_n "(cached) " >&6
 
10391
else
 
10392
  ac_check_lib_save_LIBS=$LIBS
 
10393
LIBS="-ldl  $LIBS"
 
10394
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10395
/* end confdefs.h.  */
 
10396
 
 
10397
/* Override any GCC internal prototype to avoid an error.
 
10398
   Use char because int might match the return type of a GCC
 
10399
   builtin and then its argument prototype would still apply.  */
 
10400
#ifdef __cplusplus
 
10401
extern "C"
 
10402
#endif
 
10403
char dlopen ();
 
10404
int
 
10405
main ()
 
10406
{
 
10407
return dlopen ();
 
10408
  ;
 
10409
  return 0;
 
10410
}
 
10411
_ACEOF
 
10412
if ac_fn_c_try_link "$LINENO"; then :
 
10413
  ac_cv_lib_dl_dlopen=yes
 
10414
else
 
10415
  ac_cv_lib_dl_dlopen=no
 
10416
fi
 
10417
rm -f core conftest.err conftest.$ac_objext \
 
10418
    conftest$ac_exeext conftest.$ac_ext
 
10419
LIBS=$ac_check_lib_save_LIBS
 
10420
fi
 
10421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10422
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10423
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10424
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10425
else
 
10426
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
10427
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
10428
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10429
  $as_echo_n "(cached) " >&6
 
10430
else
 
10431
  ac_check_lib_save_LIBS=$LIBS
 
10432
LIBS="-lsvld  $LIBS"
 
10433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10434
/* end confdefs.h.  */
 
10435
 
 
10436
/* Override any GCC internal prototype to avoid an error.
 
10437
   Use char because int might match the return type of a GCC
 
10438
   builtin and then its argument prototype would still apply.  */
 
10439
#ifdef __cplusplus
 
10440
extern "C"
 
10441
#endif
 
10442
char dlopen ();
 
10443
int
 
10444
main ()
 
10445
{
 
10446
return dlopen ();
 
10447
  ;
 
10448
  return 0;
 
10449
}
 
10450
_ACEOF
 
10451
if ac_fn_c_try_link "$LINENO"; then :
 
10452
  ac_cv_lib_svld_dlopen=yes
 
10453
else
 
10454
  ac_cv_lib_svld_dlopen=no
 
10455
fi
 
10456
rm -f core conftest.err conftest.$ac_objext \
 
10457
    conftest$ac_exeext conftest.$ac_ext
 
10458
LIBS=$ac_check_lib_save_LIBS
 
10459
fi
 
10460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
10461
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10462
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10463
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
10464
else
 
10465
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
10466
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
10467
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10468
  $as_echo_n "(cached) " >&6
 
10469
else
 
10470
  ac_check_lib_save_LIBS=$LIBS
 
10471
LIBS="-ldld  $LIBS"
 
10472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10473
/* end confdefs.h.  */
 
10474
 
 
10475
/* Override any GCC internal prototype to avoid an error.
 
10476
   Use char because int might match the return type of a GCC
 
10477
   builtin and then its argument prototype would still apply.  */
 
10478
#ifdef __cplusplus
 
10479
extern "C"
 
10480
#endif
 
10481
char dld_link ();
 
10482
int
 
10483
main ()
 
10484
{
 
10485
return dld_link ();
 
10486
  ;
 
10487
  return 0;
 
10488
}
 
10489
_ACEOF
 
10490
if ac_fn_c_try_link "$LINENO"; then :
 
10491
  ac_cv_lib_dld_dld_link=yes
 
10492
else
 
10493
  ac_cv_lib_dld_dld_link=no
 
10494
fi
 
10495
rm -f core conftest.err conftest.$ac_objext \
 
10496
    conftest$ac_exeext conftest.$ac_ext
 
10497
LIBS=$ac_check_lib_save_LIBS
 
10498
fi
 
10499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
10500
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10501
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10502
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
10503
fi
 
10504
 
 
10505
 
 
10506
fi
 
10507
 
 
10508
 
 
10509
fi
 
10510
 
 
10511
 
 
10512
fi
 
10513
 
 
10514
 
 
10515
fi
 
10516
 
 
10517
 
 
10518
fi
 
10519
 
 
10520
    ;;
 
10521
  esac
 
10522
 
 
10523
  if test "x$lt_cv_dlopen" != xno; then
 
10524
    enable_dlopen=yes
 
10525
  else
 
10526
    enable_dlopen=no
 
10527
  fi
 
10528
 
 
10529
  case $lt_cv_dlopen in
 
10530
  dlopen)
 
10531
    save_CPPFLAGS="$CPPFLAGS"
 
10532
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
10533
 
 
10534
    save_LDFLAGS="$LDFLAGS"
 
10535
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10536
 
 
10537
    save_LIBS="$LIBS"
 
10538
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
10539
 
 
10540
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
10541
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
10542
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10543
  $as_echo_n "(cached) " >&6
 
10544
else
 
10545
          if test "$cross_compiling" = yes; then :
 
10546
  lt_cv_dlopen_self=cross
 
10547
else
 
10548
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10549
  lt_status=$lt_dlunknown
 
10550
  cat > conftest.$ac_ext <<_LT_EOF
 
10551
#line 10551 "configure"
 
10552
#include "confdefs.h"
 
10553
 
 
10554
#if HAVE_DLFCN_H
 
10555
#include <dlfcn.h>
 
10556
#endif
 
10557
 
 
10558
#include <stdio.h>
 
10559
 
 
10560
#ifdef RTLD_GLOBAL
 
10561
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10562
#else
 
10563
#  ifdef DL_GLOBAL
 
10564
#    define LT_DLGLOBAL         DL_GLOBAL
 
10565
#  else
 
10566
#    define LT_DLGLOBAL         0
 
10567
#  endif
 
10568
#endif
 
10569
 
 
10570
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10571
   find out it does not work in some platform. */
 
10572
#ifndef LT_DLLAZY_OR_NOW
 
10573
#  ifdef RTLD_LAZY
 
10574
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10575
#  else
 
10576
#    ifdef DL_LAZY
 
10577
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10578
#    else
 
10579
#      ifdef RTLD_NOW
 
10580
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10581
#      else
 
10582
#        ifdef DL_NOW
 
10583
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10584
#        else
 
10585
#          define LT_DLLAZY_OR_NOW      0
 
10586
#        endif
 
10587
#      endif
 
10588
#    endif
 
10589
#  endif
 
10590
#endif
 
10591
 
 
10592
void fnord() { int i=42;}
 
10593
int main ()
 
10594
{
 
10595
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10596
  int status = $lt_dlunknown;
 
10597
 
 
10598
  if (self)
 
10599
    {
 
10600
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10601
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10602
      /* dlclose (self); */
 
10603
    }
 
10604
  else
 
10605
    puts (dlerror ());
 
10606
 
 
10607
  return status;
 
10608
}
 
10609
_LT_EOF
 
10610
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
10611
  (eval $ac_link) 2>&5
 
10612
  ac_status=$?
 
10613
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10614
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10615
    (./conftest; exit; ) >&5 2>/dev/null
 
10616
    lt_status=$?
 
10617
    case x$lt_status in
 
10618
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
10619
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
10620
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
10621
    esac
 
10622
  else :
 
10623
    # compilation failed
 
10624
    lt_cv_dlopen_self=no
 
10625
  fi
 
10626
fi
 
10627
rm -fr conftest*
 
10628
 
 
10629
 
 
10630
fi
 
10631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
10632
$as_echo "$lt_cv_dlopen_self" >&6; }
 
10633
 
 
10634
    if test "x$lt_cv_dlopen_self" = xyes; then
 
10635
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10636
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
10637
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
10638
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
10639
  $as_echo_n "(cached) " >&6
 
10640
else
 
10641
          if test "$cross_compiling" = yes; then :
 
10642
  lt_cv_dlopen_self_static=cross
 
10643
else
 
10644
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10645
  lt_status=$lt_dlunknown
 
10646
  cat > conftest.$ac_ext <<_LT_EOF
 
10647
#line 10647 "configure"
 
10648
#include "confdefs.h"
 
10649
 
 
10650
#if HAVE_DLFCN_H
 
10651
#include <dlfcn.h>
 
10652
#endif
 
10653
 
 
10654
#include <stdio.h>
 
10655
 
 
10656
#ifdef RTLD_GLOBAL
 
10657
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10658
#else
 
10659
#  ifdef DL_GLOBAL
 
10660
#    define LT_DLGLOBAL         DL_GLOBAL
 
10661
#  else
 
10662
#    define LT_DLGLOBAL         0
 
10663
#  endif
 
10664
#endif
 
10665
 
 
10666
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10667
   find out it does not work in some platform. */
 
10668
#ifndef LT_DLLAZY_OR_NOW
 
10669
#  ifdef RTLD_LAZY
 
10670
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10671
#  else
 
10672
#    ifdef DL_LAZY
 
10673
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10674
#    else
 
10675
#      ifdef RTLD_NOW
 
10676
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10677
#      else
 
10678
#        ifdef DL_NOW
 
10679
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10680
#        else
 
10681
#          define LT_DLLAZY_OR_NOW      0
 
10682
#        endif
 
10683
#      endif
 
10684
#    endif
 
10685
#  endif
 
10686
#endif
 
10687
 
 
10688
void fnord() { int i=42;}
 
10689
int main ()
 
10690
{
 
10691
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10692
  int status = $lt_dlunknown;
 
10693
 
 
10694
  if (self)
 
10695
    {
 
10696
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10697
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10698
      /* dlclose (self); */
 
10699
    }
 
10700
  else
 
10701
    puts (dlerror ());
 
10702
 
 
10703
  return status;
 
10704
}
 
10705
_LT_EOF
 
10706
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
10707
  (eval $ac_link) 2>&5
 
10708
  ac_status=$?
 
10709
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10710
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10711
    (./conftest; exit; ) >&5 2>/dev/null
 
10712
    lt_status=$?
 
10713
    case x$lt_status in
 
10714
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
10715
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
10716
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
10717
    esac
 
10718
  else :
 
10719
    # compilation failed
 
10720
    lt_cv_dlopen_self_static=no
 
10721
  fi
 
10722
fi
 
10723
rm -fr conftest*
 
10724
 
 
10725
 
 
10726
fi
 
10727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
10728
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
10729
    fi
 
10730
 
 
10731
    CPPFLAGS="$save_CPPFLAGS"
 
10732
    LDFLAGS="$save_LDFLAGS"
 
10733
    LIBS="$save_LIBS"
 
10734
    ;;
 
10735
  esac
 
10736
 
 
10737
  case $lt_cv_dlopen_self in
 
10738
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
10739
  *) enable_dlopen_self=unknown ;;
 
10740
  esac
 
10741
 
 
10742
  case $lt_cv_dlopen_self_static in
 
10743
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
10744
  *) enable_dlopen_self_static=unknown ;;
 
10745
  esac
 
10746
fi
 
10747
 
 
10748
 
 
10749
 
 
10750
 
 
10751
 
 
10752
 
 
10753
 
 
10754
 
 
10755
 
 
10756
 
 
10757
 
 
10758
 
 
10759
 
 
10760
 
 
10761
 
 
10762
 
 
10763
 
 
10764
striplib=
 
10765
old_striplib=
 
10766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
10767
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
10768
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
10769
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10770
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10772
$as_echo "yes" >&6; }
 
10773
else
 
10774
# FIXME - insert some real tests, host_os isn't really good enough
 
10775
  case $host_os in
 
10776
  darwin*)
 
10777
    if test -n "$STRIP" ; then
 
10778
      striplib="$STRIP -x"
 
10779
      old_striplib="$STRIP -S"
 
10780
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10781
$as_echo "yes" >&6; }
 
10782
    else
 
10783
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10784
$as_echo "no" >&6; }
 
10785
    fi
 
10786
    ;;
 
10787
  *)
 
10788
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10789
$as_echo "no" >&6; }
 
10790
    ;;
 
10791
  esac
 
10792
fi
 
10793
 
 
10794
 
 
10795
 
 
10796
 
 
10797
 
 
10798
 
 
10799
 
 
10800
 
 
10801
 
 
10802
 
 
10803
 
 
10804
 
 
10805
  # Report which library types will actually be built
 
10806
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
10807
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
10808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
10809
$as_echo "$can_build_shared" >&6; }
 
10810
 
 
10811
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
10812
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
10813
  test "$can_build_shared" = "no" && enable_shared=no
 
10814
 
 
10815
  # On AIX, shared libraries and static libraries use the same namespace, and
 
10816
  # are all built from PIC.
 
10817
  case $host_os in
 
10818
  aix3*)
 
10819
    test "$enable_shared" = yes && enable_static=no
 
10820
    if test -n "$RANLIB"; then
 
10821
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10822
      postinstall_cmds='$RANLIB $lib'
 
10823
    fi
 
10824
    ;;
 
10825
 
 
10826
  aix[4-9]*)
 
10827
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10828
      test "$enable_shared" = yes && enable_static=no
 
10829
    fi
 
10830
    ;;
 
10831
  esac
 
10832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
10833
$as_echo "$enable_shared" >&6; }
 
10834
 
 
10835
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
10836
$as_echo_n "checking whether to build static libraries... " >&6; }
 
10837
  # Make sure either enable_shared or enable_static is yes.
 
10838
  test "$enable_shared" = yes || enable_static=yes
 
10839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
10840
$as_echo "$enable_static" >&6; }
 
10841
 
 
10842
 
 
10843
 
 
10844
 
 
10845
fi
 
10846
ac_ext=c
 
10847
ac_cpp='$CPP $CPPFLAGS'
 
10848
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10849
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10850
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10851
 
 
10852
CC="$lt_save_CC"
 
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
 
 
10859
 
 
10860
 
 
10861
 
 
10862
 
 
10863
 
 
10864
 
 
10865
 
 
10866
        ac_config_commands="$ac_config_commands libtool"
 
10867
 
 
10868
 
 
10869
 
 
10870
 
 
10871
# Only expand once:
 
10872
 
 
10873
 
 
10874
 
 
10875
 
 
10876
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
10877
$as_echo_n "checking whether NLS is requested... " >&6; }
 
10878
    # Check whether --enable-nls was given.
 
10879
if test "${enable_nls+set}" = set; then :
 
10880
  enableval=$enable_nls; USE_NLS=$enableval
 
10881
else
 
10882
  USE_NLS=yes
 
10883
fi
 
10884
 
 
10885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
10886
$as_echo "$USE_NLS" >&6; }
 
10887
 
 
10888
 
 
10889
 
 
10890
 
 
10891
case "$am__api_version" in
 
10892
    1.01234)
 
10893
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
10894
    ;;
 
10895
    *)
 
10896
    ;;
 
10897
esac
 
10898
 
 
10899
if test -n ""; then
 
10900
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
 
10901
$as_echo_n "checking for intltool >= ... " >&6; }
 
10902
 
 
10903
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
10904
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
10905
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
10906
 
 
10907
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
10908
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
10909
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
10910
        as_fn_error "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
 
10911
fi
 
10912
 
 
10913
# Extract the first word of "intltool-update", so it can be a program name with args.
 
10914
set dummy intltool-update; ac_word=$2
 
10915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10916
$as_echo_n "checking for $ac_word... " >&6; }
 
10917
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
10918
  $as_echo_n "(cached) " >&6
 
10919
else
 
10920
  case $INTLTOOL_UPDATE in
 
10921
  [\\/]* | ?:[\\/]*)
 
10922
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
10923
  ;;
 
10924
  *)
 
10925
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10926
for as_dir in $PATH
 
10927
do
 
10928
  IFS=$as_save_IFS
 
10929
  test -z "$as_dir" && as_dir=.
 
10930
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10931
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10932
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
10933
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10934
    break 2
 
10935
  fi
 
10936
done
 
10937
  done
 
10938
IFS=$as_save_IFS
 
10939
 
 
10940
  ;;
 
10941
esac
 
10942
fi
 
10943
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
10944
if test -n "$INTLTOOL_UPDATE"; then
 
10945
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
10946
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
10947
else
 
10948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10949
$as_echo "no" >&6; }
 
10950
fi
 
10951
 
 
10952
 
 
10953
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
10954
set dummy intltool-merge; ac_word=$2
 
10955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10956
$as_echo_n "checking for $ac_word... " >&6; }
 
10957
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
10958
  $as_echo_n "(cached) " >&6
 
10959
else
 
10960
  case $INTLTOOL_MERGE in
 
10961
  [\\/]* | ?:[\\/]*)
 
10962
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
10963
  ;;
 
10964
  *)
 
10965
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10966
for as_dir in $PATH
 
10967
do
 
10968
  IFS=$as_save_IFS
 
10969
  test -z "$as_dir" && as_dir=.
 
10970
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10971
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10972
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
10973
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10974
    break 2
 
10975
  fi
 
10976
done
 
10977
  done
 
10978
IFS=$as_save_IFS
 
10979
 
 
10980
  ;;
 
10981
esac
 
10982
fi
 
10983
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
10984
if test -n "$INTLTOOL_MERGE"; then
 
10985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
10986
$as_echo "$INTLTOOL_MERGE" >&6; }
 
10987
else
 
10988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10989
$as_echo "no" >&6; }
 
10990
fi
 
10991
 
 
10992
 
 
10993
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
10994
set dummy intltool-extract; ac_word=$2
 
10995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10996
$as_echo_n "checking for $ac_word... " >&6; }
 
10997
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
10998
  $as_echo_n "(cached) " >&6
 
10999
else
 
11000
  case $INTLTOOL_EXTRACT in
 
11001
  [\\/]* | ?:[\\/]*)
 
11002
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
11003
  ;;
 
11004
  *)
 
11005
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11006
for as_dir in $PATH
 
11007
do
 
11008
  IFS=$as_save_IFS
 
11009
  test -z "$as_dir" && as_dir=.
 
11010
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11011
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11012
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
11013
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11014
    break 2
 
11015
  fi
 
11016
done
 
11017
  done
 
11018
IFS=$as_save_IFS
 
11019
 
 
11020
  ;;
 
11021
esac
 
11022
fi
 
11023
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
11024
if test -n "$INTLTOOL_EXTRACT"; then
 
11025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
11026
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
11027
else
 
11028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11029
$as_echo "no" >&6; }
 
11030
fi
 
11031
 
 
11032
 
 
11033
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
11034
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
11035
fi
 
11036
 
 
11037
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11038
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11039
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11040
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11041
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
11042
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11043
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11044
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11045
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11046
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11047
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11048
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
11049
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11050
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11051
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11052
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11053
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11054
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11055
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
# Check the gettext tools to make sure they are GNU
 
11154
# Extract the first word of "xgettext", so it can be a program name with args.
 
11155
set dummy xgettext; ac_word=$2
 
11156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11157
$as_echo_n "checking for $ac_word... " >&6; }
 
11158
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
11159
  $as_echo_n "(cached) " >&6
 
11160
else
 
11161
  case $XGETTEXT in
 
11162
  [\\/]* | ?:[\\/]*)
 
11163
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
11164
  ;;
 
11165
  *)
 
11166
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11167
for as_dir in $PATH
 
11168
do
 
11169
  IFS=$as_save_IFS
 
11170
  test -z "$as_dir" && as_dir=.
 
11171
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11172
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11173
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
11174
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11175
    break 2
 
11176
  fi
 
11177
done
 
11178
  done
 
11179
IFS=$as_save_IFS
 
11180
 
 
11181
  ;;
 
11182
esac
 
11183
fi
 
11184
XGETTEXT=$ac_cv_path_XGETTEXT
 
11185
if test -n "$XGETTEXT"; then
 
11186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
11187
$as_echo "$XGETTEXT" >&6; }
 
11188
else
 
11189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11190
$as_echo "no" >&6; }
 
11191
fi
 
11192
 
 
11193
 
 
11194
# Extract the first word of "msgmerge", so it can be a program name with args.
 
11195
set dummy msgmerge; ac_word=$2
 
11196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11197
$as_echo_n "checking for $ac_word... " >&6; }
 
11198
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
11199
  $as_echo_n "(cached) " >&6
 
11200
else
 
11201
  case $MSGMERGE in
 
11202
  [\\/]* | ?:[\\/]*)
 
11203
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
11204
  ;;
 
11205
  *)
 
11206
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11207
for as_dir in $PATH
 
11208
do
 
11209
  IFS=$as_save_IFS
 
11210
  test -z "$as_dir" && as_dir=.
 
11211
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11212
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11213
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
11214
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11215
    break 2
 
11216
  fi
 
11217
done
 
11218
  done
 
11219
IFS=$as_save_IFS
 
11220
 
 
11221
  ;;
 
11222
esac
 
11223
fi
 
11224
MSGMERGE=$ac_cv_path_MSGMERGE
 
11225
if test -n "$MSGMERGE"; then
 
11226
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
11227
$as_echo "$MSGMERGE" >&6; }
 
11228
else
 
11229
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11230
$as_echo "no" >&6; }
 
11231
fi
 
11232
 
 
11233
 
 
11234
# Extract the first word of "msgfmt", so it can be a program name with args.
 
11235
set dummy msgfmt; ac_word=$2
 
11236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11237
$as_echo_n "checking for $ac_word... " >&6; }
 
11238
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
11239
  $as_echo_n "(cached) " >&6
 
11240
else
 
11241
  case $MSGFMT in
 
11242
  [\\/]* | ?:[\\/]*)
 
11243
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
11244
  ;;
 
11245
  *)
 
11246
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11247
for as_dir in $PATH
 
11248
do
 
11249
  IFS=$as_save_IFS
 
11250
  test -z "$as_dir" && as_dir=.
 
11251
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11253
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11254
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11255
    break 2
 
11256
  fi
 
11257
done
 
11258
  done
 
11259
IFS=$as_save_IFS
 
11260
 
 
11261
  ;;
 
11262
esac
 
11263
fi
 
11264
MSGFMT=$ac_cv_path_MSGFMT
 
11265
if test -n "$MSGFMT"; then
 
11266
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
11267
$as_echo "$MSGFMT" >&6; }
 
11268
else
 
11269
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11270
$as_echo "no" >&6; }
 
11271
fi
 
11272
 
 
11273
 
 
11274
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
11275
set dummy gmsgfmt; ac_word=$2
 
11276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11277
$as_echo_n "checking for $ac_word... " >&6; }
 
11278
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
11279
  $as_echo_n "(cached) " >&6
 
11280
else
 
11281
  case $GMSGFMT in
 
11282
  [\\/]* | ?:[\\/]*)
 
11283
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
11284
  ;;
 
11285
  *)
 
11286
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11287
for as_dir in $PATH
 
11288
do
 
11289
  IFS=$as_save_IFS
 
11290
  test -z "$as_dir" && as_dir=.
 
11291
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11293
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11294
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11295
    break 2
 
11296
  fi
 
11297
done
 
11298
  done
 
11299
IFS=$as_save_IFS
 
11300
 
 
11301
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
11302
  ;;
 
11303
esac
 
11304
fi
 
11305
GMSGFMT=$ac_cv_path_GMSGFMT
 
11306
if test -n "$GMSGFMT"; then
 
11307
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
11308
$as_echo "$GMSGFMT" >&6; }
 
11309
else
 
11310
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11311
$as_echo "no" >&6; }
 
11312
fi
 
11313
 
 
11314
 
 
11315
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
11316
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
11317
fi
 
11318
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
11319
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
11320
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
11321
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
11322
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
11323
fi
 
11324
 
 
11325
# Extract the first word of "perl", so it can be a program name with args.
 
11326
set dummy perl; ac_word=$2
 
11327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11328
$as_echo_n "checking for $ac_word... " >&6; }
 
11329
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
11330
  $as_echo_n "(cached) " >&6
 
11331
else
 
11332
  case $INTLTOOL_PERL in
 
11333
  [\\/]* | ?:[\\/]*)
 
11334
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
11335
  ;;
 
11336
  *)
 
11337
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11338
for as_dir in $PATH
 
11339
do
 
11340
  IFS=$as_save_IFS
 
11341
  test -z "$as_dir" && as_dir=.
 
11342
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11343
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11344
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
11345
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11346
    break 2
 
11347
  fi
 
11348
done
 
11349
  done
 
11350
IFS=$as_save_IFS
 
11351
 
 
11352
  ;;
 
11353
esac
 
11354
fi
 
11355
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
11356
if test -n "$INTLTOOL_PERL"; then
 
11357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
11358
$as_echo "$INTLTOOL_PERL" >&6; }
 
11359
else
 
11360
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11361
$as_echo "no" >&6; }
 
11362
fi
 
11363
 
 
11364
 
 
11365
if test -z "$INTLTOOL_PERL"; then
 
11366
   as_fn_error "perl not found" "$LINENO" 5
 
11367
fi
 
11368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
11369
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
11370
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
11371
if test $? -ne 0; then
 
11372
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
11373
else
 
11374
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
11375
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
11376
$as_echo "$IT_PERL_VERSION" >&6; }
 
11377
fi
 
11378
if test "x" != "xno-xml"; then
 
11379
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
11380
$as_echo_n "checking for XML::Parser... " >&6; }
 
11381
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
11382
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
11383
$as_echo "ok" >&6; }
 
11384
   else
 
11385
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
11386
   fi
 
11387
fi
 
11388
 
 
11389
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
11390
 
 
11391
 
 
11392
# Set DATADIRNAME correctly if it is not set yet
 
11393
# (copied from glib-gettext.m4)
 
11394
if test -z "$DATADIRNAME"; then
 
11395
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11396
/* end confdefs.h.  */
 
11397
 
 
11398
int
 
11399
main ()
 
11400
{
 
11401
extern int _nl_msg_cat_cntr;
 
11402
                       return _nl_msg_cat_cntr
 
11403
  ;
 
11404
  return 0;
 
11405
}
 
11406
_ACEOF
 
11407
if ac_fn_c_try_link "$LINENO"; then :
 
11408
  DATADIRNAME=share
 
11409
else
 
11410
  case $host in
 
11411
    *-*-solaris*)
 
11412
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11413
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11414
  DATADIRNAME=share
 
11415
else
 
11416
  DATADIRNAME=lib
 
11417
fi
 
11418
 
 
11419
    ;;
 
11420
    *)
 
11421
    DATADIRNAME=lib
 
11422
    ;;
 
11423
    esac
 
11424
fi
 
11425
rm -f core conftest.err conftest.$ac_objext \
 
11426
    conftest$ac_exeext conftest.$ac_ext
 
11427
fi
 
11428
 
 
11429
 
 
11430
 
 
11431
 
 
11432
 
 
11433
 
 
11434
 
 
11435
   for ac_header in locale.h
 
11436
do :
 
11437
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
11438
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
11439
  cat >>confdefs.h <<_ACEOF
 
11440
#define HAVE_LOCALE_H 1
 
11441
_ACEOF
 
11442
 
 
11443
fi
 
11444
 
 
11445
done
 
11446
 
 
11447
    if test $ac_cv_header_locale_h = yes; then
 
11448
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
11449
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
11450
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
11451
  $as_echo_n "(cached) " >&6
 
11452
else
 
11453
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11454
/* end confdefs.h.  */
 
11455
#include <locale.h>
 
11456
int
 
11457
main ()
 
11458
{
 
11459
return LC_MESSAGES
 
11460
  ;
 
11461
  return 0;
 
11462
}
 
11463
_ACEOF
 
11464
if ac_fn_c_try_link "$LINENO"; then :
 
11465
  am_cv_val_LC_MESSAGES=yes
 
11466
else
 
11467
  am_cv_val_LC_MESSAGES=no
 
11468
fi
 
11469
rm -f core conftest.err conftest.$ac_objext \
 
11470
    conftest$ac_exeext conftest.$ac_ext
 
11471
fi
 
11472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
11473
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
11474
    if test $am_cv_val_LC_MESSAGES = yes; then
 
11475
 
 
11476
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
11477
 
 
11478
    fi
 
11479
  fi
 
11480
     USE_NLS=yes
 
11481
 
 
11482
 
 
11483
    gt_cv_have_gettext=no
 
11484
 
 
11485
    CATOBJEXT=NONE
 
11486
    XGETTEXT=:
 
11487
    INTLLIBS=
 
11488
 
 
11489
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
11490
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
11491
  gt_cv_func_dgettext_libintl="no"
 
11492
      libintl_extra_libs=""
 
11493
 
 
11494
      #
 
11495
      # First check in libc
 
11496
      #
 
11497
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
11498
$as_echo_n "checking for ngettext in libc... " >&6; }
 
11499
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
11500
  $as_echo_n "(cached) " >&6
 
11501
else
 
11502
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11503
/* end confdefs.h.  */
 
11504
 
 
11505
#include <libintl.h>
 
11506
 
 
11507
int
 
11508
main ()
 
11509
{
 
11510
return !ngettext ("","", 1)
 
11511
  ;
 
11512
  return 0;
 
11513
}
 
11514
_ACEOF
 
11515
if ac_fn_c_try_link "$LINENO"; then :
 
11516
  gt_cv_func_ngettext_libc=yes
 
11517
else
 
11518
  gt_cv_func_ngettext_libc=no
 
11519
fi
 
11520
rm -f core conftest.err conftest.$ac_objext \
 
11521
    conftest$ac_exeext conftest.$ac_ext
 
11522
 
 
11523
fi
 
11524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
11525
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
11526
 
 
11527
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
11528
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
11529
$as_echo_n "checking for dgettext in libc... " >&6; }
 
11530
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
11531
  $as_echo_n "(cached) " >&6
 
11532
else
 
11533
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11534
/* end confdefs.h.  */
 
11535
 
 
11536
#include <libintl.h>
 
11537
 
 
11538
int
 
11539
main ()
 
11540
{
 
11541
return !dgettext ("","")
 
11542
  ;
 
11543
  return 0;
 
11544
}
 
11545
_ACEOF
 
11546
if ac_fn_c_try_link "$LINENO"; then :
 
11547
  gt_cv_func_dgettext_libc=yes
 
11548
else
 
11549
  gt_cv_func_dgettext_libc=no
 
11550
fi
 
11551
rm -f core conftest.err conftest.$ac_objext \
 
11552
    conftest$ac_exeext conftest.$ac_ext
 
11553
 
 
11554
fi
 
11555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
11556
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
11557
      fi
 
11558
 
 
11559
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
11560
        for ac_func in bind_textdomain_codeset
 
11561
do :
 
11562
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11563
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11564
  cat >>confdefs.h <<_ACEOF
 
11565
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
11566
_ACEOF
 
11567
 
 
11568
fi
 
11569
done
 
11570
 
 
11571
      fi
 
11572
 
 
11573
      #
 
11574
      # If we don't have everything we want, check in libintl
 
11575
      #
 
11576
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
11577
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
11578
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
11579
 
 
11580
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
11581
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
11582
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
11583
  $as_echo_n "(cached) " >&6
 
11584
else
 
11585
  ac_check_lib_save_LIBS=$LIBS
 
11586
LIBS="-lintl  $LIBS"
 
11587
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11588
/* end confdefs.h.  */
 
11589
 
 
11590
/* Override any GCC internal prototype to avoid an error.
 
11591
   Use char because int might match the return type of a GCC
 
11592
   builtin and then its argument prototype would still apply.  */
 
11593
#ifdef __cplusplus
 
11594
extern "C"
 
11595
#endif
 
11596
char bindtextdomain ();
 
11597
int
 
11598
main ()
 
11599
{
 
11600
return bindtextdomain ();
 
11601
  ;
 
11602
  return 0;
 
11603
}
 
11604
_ACEOF
 
11605
if ac_fn_c_try_link "$LINENO"; then :
 
11606
  ac_cv_lib_intl_bindtextdomain=yes
 
11607
else
 
11608
  ac_cv_lib_intl_bindtextdomain=no
 
11609
fi
 
11610
rm -f core conftest.err conftest.$ac_objext \
 
11611
    conftest$ac_exeext conftest.$ac_ext
 
11612
LIBS=$ac_check_lib_save_LIBS
 
11613
fi
 
11614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
11615
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
11616
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
11617
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
11618
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
11619
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11620
  $as_echo_n "(cached) " >&6
 
11621
else
 
11622
  ac_check_lib_save_LIBS=$LIBS
 
11623
LIBS="-lintl  $LIBS"
 
11624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11625
/* end confdefs.h.  */
 
11626
 
 
11627
/* Override any GCC internal prototype to avoid an error.
 
11628
   Use char because int might match the return type of a GCC
 
11629
   builtin and then its argument prototype would still apply.  */
 
11630
#ifdef __cplusplus
 
11631
extern "C"
 
11632
#endif
 
11633
char ngettext ();
 
11634
int
 
11635
main ()
 
11636
{
 
11637
return ngettext ();
 
11638
  ;
 
11639
  return 0;
 
11640
}
 
11641
_ACEOF
 
11642
if ac_fn_c_try_link "$LINENO"; then :
 
11643
  ac_cv_lib_intl_ngettext=yes
 
11644
else
 
11645
  ac_cv_lib_intl_ngettext=no
 
11646
fi
 
11647
rm -f core conftest.err conftest.$ac_objext \
 
11648
    conftest$ac_exeext conftest.$ac_ext
 
11649
LIBS=$ac_check_lib_save_LIBS
 
11650
fi
 
11651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
11652
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
11653
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11654
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
11655
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
11656
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
11657
  $as_echo_n "(cached) " >&6
 
11658
else
 
11659
  ac_check_lib_save_LIBS=$LIBS
 
11660
LIBS="-lintl  $LIBS"
 
11661
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11662
/* end confdefs.h.  */
 
11663
 
 
11664
/* Override any GCC internal prototype to avoid an error.
 
11665
   Use char because int might match the return type of a GCC
 
11666
   builtin and then its argument prototype would still apply.  */
 
11667
#ifdef __cplusplus
 
11668
extern "C"
 
11669
#endif
 
11670
char dgettext ();
 
11671
int
 
11672
main ()
 
11673
{
 
11674
return dgettext ();
 
11675
  ;
 
11676
  return 0;
 
11677
}
 
11678
_ACEOF
 
11679
if ac_fn_c_try_link "$LINENO"; then :
 
11680
  ac_cv_lib_intl_dgettext=yes
 
11681
else
 
11682
  ac_cv_lib_intl_dgettext=no
 
11683
fi
 
11684
rm -f core conftest.err conftest.$ac_objext \
 
11685
    conftest$ac_exeext conftest.$ac_ext
 
11686
LIBS=$ac_check_lib_save_LIBS
 
11687
fi
 
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
11689
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
11690
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
11691
  gt_cv_func_dgettext_libintl=yes
 
11692
fi
 
11693
 
 
11694
fi
 
11695
 
 
11696
fi
 
11697
 
 
11698
 
 
11699
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
11700
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
11701
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
11702
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
11703
$as_echo "" >&6; }
 
11704
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
11705
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
11706
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11707
  $as_echo_n "(cached) " >&6
 
11708
else
 
11709
  ac_check_lib_save_LIBS=$LIBS
 
11710
LIBS="-lintl -liconv $LIBS"
 
11711
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11712
/* end confdefs.h.  */
 
11713
 
 
11714
/* Override any GCC internal prototype to avoid an error.
 
11715
   Use char because int might match the return type of a GCC
 
11716
   builtin and then its argument prototype would still apply.  */
 
11717
#ifdef __cplusplus
 
11718
extern "C"
 
11719
#endif
 
11720
char ngettext ();
 
11721
int
 
11722
main ()
 
11723
{
 
11724
return ngettext ();
 
11725
  ;
 
11726
  return 0;
 
11727
}
 
11728
_ACEOF
 
11729
if ac_fn_c_try_link "$LINENO"; then :
 
11730
  ac_cv_lib_intl_ngettext=yes
 
11731
else
 
11732
  ac_cv_lib_intl_ngettext=no
 
11733
fi
 
11734
rm -f core conftest.err conftest.$ac_objext \
 
11735
    conftest$ac_exeext conftest.$ac_ext
 
11736
LIBS=$ac_check_lib_save_LIBS
 
11737
fi
 
11738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
11739
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
11740
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11741
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
11742
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
11743
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
11744
  $as_echo_n "(cached) " >&6
 
11745
else
 
11746
  ac_check_lib_save_LIBS=$LIBS
 
11747
LIBS="-lintl -liconv $LIBS"
 
11748
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11749
/* end confdefs.h.  */
 
11750
 
 
11751
/* Override any GCC internal prototype to avoid an error.
 
11752
   Use char because int might match the return type of a GCC
 
11753
   builtin and then its argument prototype would still apply.  */
 
11754
#ifdef __cplusplus
 
11755
extern "C"
 
11756
#endif
 
11757
char dcgettext ();
 
11758
int
 
11759
main ()
 
11760
{
 
11761
return dcgettext ();
 
11762
  ;
 
11763
  return 0;
 
11764
}
 
11765
_ACEOF
 
11766
if ac_fn_c_try_link "$LINENO"; then :
 
11767
  ac_cv_lib_intl_dcgettext=yes
 
11768
else
 
11769
  ac_cv_lib_intl_dcgettext=no
 
11770
fi
 
11771
rm -f core conftest.err conftest.$ac_objext \
 
11772
    conftest$ac_exeext conftest.$ac_ext
 
11773
LIBS=$ac_check_lib_save_LIBS
 
11774
fi
 
11775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
11776
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
11777
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
11778
  gt_cv_func_dgettext_libintl=yes
 
11779
                        libintl_extra_libs=-liconv
 
11780
else
 
11781
  :
 
11782
fi
 
11783
 
 
11784
else
 
11785
  :
 
11786
fi
 
11787
 
 
11788
        fi
 
11789
 
 
11790
        #
 
11791
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
11792
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
11793
        # and both have dgettext and ngettext
 
11794
        #
 
11795
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
11796
          glib_save_LIBS="$LIBS"
 
11797
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
11798
          unset ac_cv_func_bind_textdomain_codeset
 
11799
          for ac_func in bind_textdomain_codeset
 
11800
do :
 
11801
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11802
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11803
  cat >>confdefs.h <<_ACEOF
 
11804
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
11805
_ACEOF
 
11806
 
 
11807
fi
 
11808
done
 
11809
 
 
11810
          LIBS="$glib_save_LIBS"
 
11811
 
 
11812
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
11813
            gt_cv_func_dgettext_libc=no
 
11814
          else
 
11815
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
11816
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
11817
              gt_cv_func_dgettext_libintl=no
 
11818
            fi
 
11819
          fi
 
11820
        fi
 
11821
      fi
 
11822
 
 
11823
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
11824
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
11825
        gt_cv_have_gettext=yes
 
11826
      fi
 
11827
 
 
11828
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
11829
        INTLLIBS="-lintl $libintl_extra_libs"
 
11830
      fi
 
11831
 
 
11832
      if test "$gt_cv_have_gettext" = "yes"; then
 
11833
 
 
11834
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
11835
 
 
11836
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
11837
set dummy msgfmt; ac_word=$2
 
11838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11839
$as_echo_n "checking for $ac_word... " >&6; }
 
11840
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
11841
  $as_echo_n "(cached) " >&6
 
11842
else
 
11843
  case "$MSGFMT" in
 
11844
  /*)
 
11845
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
11846
  ;;
 
11847
  *)
 
11848
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
11849
  for ac_dir in $PATH; do
 
11850
    test -z "$ac_dir" && ac_dir=.
 
11851
    if test -f $ac_dir/$ac_word; then
 
11852
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
11853
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
11854
        break
 
11855
      fi
 
11856
    fi
 
11857
  done
 
11858
  IFS="$ac_save_ifs"
 
11859
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
11860
  ;;
 
11861
esac
 
11862
fi
 
11863
MSGFMT="$ac_cv_path_MSGFMT"
 
11864
if test "$MSGFMT" != "no"; then
 
11865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
11866
$as_echo "$MSGFMT" >&6; }
 
11867
else
 
11868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11869
$as_echo "no" >&6; }
 
11870
fi
 
11871
        if test "$MSGFMT" != "no"; then
 
11872
          glib_save_LIBS="$LIBS"
 
11873
          LIBS="$LIBS $INTLLIBS"
 
11874
          for ac_func in dcgettext
 
11875
do :
 
11876
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
11877
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
11878
  cat >>confdefs.h <<_ACEOF
 
11879
#define HAVE_DCGETTEXT 1
 
11880
_ACEOF
 
11881
 
 
11882
fi
 
11883
done
 
11884
 
 
11885
          MSGFMT_OPTS=
 
11886
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
11887
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
11888
          cat >conftest.foo <<_ACEOF
 
11889
 
 
11890
msgid ""
 
11891
msgstr ""
 
11892
"Content-Type: text/plain; charset=UTF-8\n"
 
11893
"Project-Id-Version: test 1.0\n"
 
11894
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
11895
"Last-Translator: test <foo@bar.xx>\n"
 
11896
"Language-Team: C <LL@li.org>\n"
 
11897
"MIME-Version: 1.0\n"
 
11898
"Content-Transfer-Encoding: 8bit\n"
 
11899
 
 
11900
_ACEOF
 
11901
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
11902
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
11903
  ac_status=$?
 
11904
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11905
  test $ac_status = 0; }; then
 
11906
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11907
$as_echo "yes" >&6; }
 
11908
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11909
$as_echo "no" >&6; }
 
11910
echo "$as_me: failed input was:" >&5
 
11911
sed 's/^/| /' conftest.foo >&5
 
11912
fi
 
11913
 
 
11914
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
11915
set dummy gmsgfmt; ac_word=$2
 
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11917
$as_echo_n "checking for $ac_word... " >&6; }
 
11918
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
11919
  $as_echo_n "(cached) " >&6
 
11920
else
 
11921
  case $GMSGFMT in
 
11922
  [\\/]* | ?:[\\/]*)
 
11923
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
11924
  ;;
 
11925
  *)
 
11926
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11927
for as_dir in $PATH
 
11928
do
 
11929
  IFS=$as_save_IFS
 
11930
  test -z "$as_dir" && as_dir=.
 
11931
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11933
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
11934
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11935
    break 2
 
11936
  fi
 
11937
done
 
11938
  done
 
11939
IFS=$as_save_IFS
 
11940
 
 
11941
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
11942
  ;;
 
11943
esac
 
11944
fi
 
11945
GMSGFMT=$ac_cv_path_GMSGFMT
 
11946
if test -n "$GMSGFMT"; then
 
11947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
11948
$as_echo "$GMSGFMT" >&6; }
 
11949
else
 
11950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11951
$as_echo "no" >&6; }
 
11952
fi
 
11953
 
 
11954
 
 
11955
          # Extract the first word of "xgettext", so it can be a program name with args.
 
11956
set dummy xgettext; ac_word=$2
 
11957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11958
$as_echo_n "checking for $ac_word... " >&6; }
 
11959
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
11960
  $as_echo_n "(cached) " >&6
 
11961
else
 
11962
  case "$XGETTEXT" in
 
11963
  /*)
 
11964
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
11965
  ;;
 
11966
  *)
 
11967
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
11968
  for ac_dir in $PATH; do
 
11969
    test -z "$ac_dir" && ac_dir=.
 
11970
    if test -f $ac_dir/$ac_word; then
 
11971
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
11972
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
11973
        break
 
11974
      fi
 
11975
    fi
 
11976
  done
 
11977
  IFS="$ac_save_ifs"
 
11978
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
11979
  ;;
 
11980
esac
 
11981
fi
 
11982
XGETTEXT="$ac_cv_path_XGETTEXT"
 
11983
if test "$XGETTEXT" != ":"; then
 
11984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
11985
$as_echo "$XGETTEXT" >&6; }
 
11986
else
 
11987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11988
$as_echo "no" >&6; }
 
11989
fi
 
11990
 
 
11991
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11992
/* end confdefs.h.  */
 
11993
 
 
11994
int
 
11995
main ()
 
11996
{
 
11997
extern int _nl_msg_cat_cntr;
 
11998
                         return _nl_msg_cat_cntr
 
11999
  ;
 
12000
  return 0;
 
12001
}
 
12002
_ACEOF
 
12003
if ac_fn_c_try_link "$LINENO"; then :
 
12004
  CATOBJEXT=.gmo
 
12005
             DATADIRNAME=share
 
12006
else
 
12007
  case $host in
 
12008
            *-*-solaris*)
 
12009
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12010
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12011
  CATOBJEXT=.gmo
 
12012
               DATADIRNAME=share
 
12013
else
 
12014
  CATOBJEXT=.mo
 
12015
               DATADIRNAME=lib
 
12016
fi
 
12017
 
 
12018
            ;;
 
12019
            *)
 
12020
            CATOBJEXT=.mo
 
12021
            DATADIRNAME=lib
 
12022
            ;;
 
12023
            esac
 
12024
fi
 
12025
rm -f core conftest.err conftest.$ac_objext \
 
12026
    conftest$ac_exeext conftest.$ac_ext
 
12027
          LIBS="$glib_save_LIBS"
 
12028
          INSTOBJEXT=.mo
 
12029
        else
 
12030
          gt_cv_have_gettext=no
 
12031
        fi
 
12032
      fi
 
12033
 
 
12034
fi
 
12035
 
 
12036
 
 
12037
 
 
12038
    if test "$gt_cv_have_gettext" = "yes" ; then
 
12039
 
 
12040
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
12041
 
 
12042
    fi
 
12043
 
 
12044
        if test "$XGETTEXT" != ":"; then
 
12045
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
12046
        : ;
 
12047
      else
 
12048
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
12049
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
12050
        XGETTEXT=":"
 
12051
      fi
 
12052
    fi
 
12053
 
 
12054
    # We need to process the po/ directory.
 
12055
    POSUB=po
 
12056
 
 
12057
    ac_config_commands="$ac_config_commands default-1"
 
12058
 
 
12059
 
 
12060
                for lang in $ALL_LINGUAS; do
 
12061
      GMOFILES="$GMOFILES $lang.gmo"
 
12062
      POFILES="$POFILES $lang.po"
 
12063
    done
 
12064
 
 
12065
 
 
12066
 
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
 
12072
 
 
12073
 
 
12074
 
 
12075
 
 
12076
 
 
12077
   if test "$gt_cv_have_gettext" = "yes"; then
 
12078
     if test "x$ALL_LINGUAS" = "x"; then
 
12079
       LINGUAS=
 
12080
     else
 
12081
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
12082
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
12083
       NEW_LINGUAS=
 
12084
       for presentlang in $ALL_LINGUAS; do
 
12085
         useit=no
 
12086
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
12087
           desiredlanguages="$LINGUAS"
 
12088
         else
 
12089
           desiredlanguages="$ALL_LINGUAS"
 
12090
         fi
 
12091
         for desiredlang in $desiredlanguages; do
 
12092
           # Use the presentlang catalog if desiredlang is
 
12093
           #   a. equal to presentlang, or
 
12094
           #   b. a variant of presentlang (because in this case,
 
12095
           #      presentlang can be used as a fallback for messages
 
12096
           #      which are not translated in the desiredlang catalog).
 
12097
           case "$desiredlang" in
 
12098
             "$presentlang"*) useit=yes;;
 
12099
           esac
 
12100
         done
 
12101
         if test $useit = yes; then
 
12102
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
12103
         fi
 
12104
       done
 
12105
       LINGUAS=$NEW_LINGUAS
 
12106
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
12107
$as_echo "$LINGUAS" >&6; }
 
12108
     fi
 
12109
 
 
12110
          if test -n "$LINGUAS"; then
 
12111
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
12112
     fi
 
12113
   fi
 
12114
 
 
12115
            MKINSTALLDIRS=
 
12116
   if test -n "$ac_aux_dir"; then
 
12117
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
12118
   fi
 
12119
   if test -z "$MKINSTALLDIRS"; then
 
12120
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
12121
   fi
 
12122
 
 
12123
 
 
12124
         test -d po || mkdir po
 
12125
   if test "x$srcdir" != "x."; then
 
12126
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
12127
       posrcprefix="$srcdir/"
 
12128
     else
 
12129
       posrcprefix="../$srcdir/"
 
12130
     fi
 
12131
   else
 
12132
     posrcprefix="../"
 
12133
   fi
 
12134
   rm -f po/POTFILES
 
12135
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
12136
        < $srcdir/po/POTFILES.in > po/POTFILES
 
12137
 
 
12138
 
 
12139
 
 
12140
############# PACKAGEĀ CAIRO-DOCK #################
 
12141
GETTEXT_PACKAGE=cairo-dock-plugins
 
12142
 
 
12143
cat >>confdefs.h <<_ACEOF
 
12144
#define GETTEXT_PACKAGE "GETTEXT_PACKAGE"
 
12145
_ACEOF
 
12146
 
 
12147
 
 
12148
 
 
12149
pkgdatadir=`pkg-config cairo-dock --variable=pluginsdatadir`
 
12150
 
 
12151
libdir=`pkg-config cairo-dock --variable=pluginsdir`
 
12152
 
 
12153
 
 
12154
srcdir="."
 
12155
 
 
12156
top_srcdir=".."
 
12157
 
 
12158
top_builddir=".."
 
12159
 
 
12160
 
 
12161
 
 
12162
 
 
12163
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
12164
        if test -n "$ac_tool_prefix"; then
 
12165
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
12166
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
12167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12168
$as_echo_n "checking for $ac_word... " >&6; }
 
12169
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
12170
  $as_echo_n "(cached) " >&6
 
12171
else
 
12172
  case $PKG_CONFIG in
 
12173
  [\\/]* | ?:[\\/]*)
 
12174
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
12175
  ;;
 
12176
  *)
 
12177
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12178
for as_dir in $PATH
 
12179
do
 
12180
  IFS=$as_save_IFS
 
12181
  test -z "$as_dir" && as_dir=.
 
12182
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12183
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12184
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
12185
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12186
    break 2
 
12187
  fi
 
12188
done
 
12189
  done
 
12190
IFS=$as_save_IFS
 
12191
 
 
12192
  ;;
 
12193
esac
 
12194
fi
 
12195
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
12196
if test -n "$PKG_CONFIG"; then
 
12197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
12198
$as_echo "$PKG_CONFIG" >&6; }
 
12199
else
 
12200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12201
$as_echo "no" >&6; }
 
12202
fi
 
12203
 
 
12204
 
 
12205
fi
 
12206
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
12207
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
12208
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
12209
set dummy pkg-config; ac_word=$2
 
12210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12211
$as_echo_n "checking for $ac_word... " >&6; }
 
12212
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
12213
  $as_echo_n "(cached) " >&6
 
12214
else
 
12215
  case $ac_pt_PKG_CONFIG in
 
12216
  [\\/]* | ?:[\\/]*)
 
12217
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
12218
  ;;
 
12219
  *)
 
12220
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12221
for as_dir in $PATH
 
12222
do
 
12223
  IFS=$as_save_IFS
 
12224
  test -z "$as_dir" && as_dir=.
 
12225
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12227
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
12228
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12229
    break 2
 
12230
  fi
 
12231
done
 
12232
  done
 
12233
IFS=$as_save_IFS
 
12234
 
 
12235
  ;;
 
12236
esac
 
12237
fi
 
12238
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
12239
if test -n "$ac_pt_PKG_CONFIG"; then
 
12240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
12241
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
12242
else
 
12243
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12244
$as_echo "no" >&6; }
 
12245
fi
 
12246
 
 
12247
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
12248
    PKG_CONFIG=""
 
12249
  else
 
12250
    case $cross_compiling:$ac_tool_warned in
 
12251
yes:)
 
12252
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
12253
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12254
ac_tool_warned=yes ;;
 
12255
esac
 
12256
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
12257
  fi
 
12258
else
 
12259
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
12260
fi
 
12261
 
 
12262
fi
 
12263
if test -n "$PKG_CONFIG"; then
 
12264
        _pkg_min_version=0.9.0
 
12265
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
12266
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
12267
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
12268
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12269
$as_echo "yes" >&6; }
 
12270
        else
 
12271
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12272
$as_echo "no" >&6; }
 
12273
                PKG_CONFIG=""
 
12274
        fi
 
12275
 
 
12276
fi
 
12277
 
 
12278
pkg_failed=no
 
12279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
 
12280
$as_echo_n "checking for PACKAGE... " >&6; }
 
12281
 
 
12282
if test -n "$PKG_CONFIG"; then
 
12283
    if test -n "$PACKAGE_CFLAGS"; then
 
12284
        pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
 
12285
    else
 
12286
        if test -n "$PKG_CONFIG" && \
 
12287
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0\"\""; } >&5
 
12288
  ($PKG_CONFIG --exists --print-errors ""cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0"") 2>&5
 
12289
  ac_status=$?
 
12290
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12291
  test $ac_status = 0; }; then
 
12292
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags ""cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0"" 2>/dev/null`
 
12293
else
 
12294
  pkg_failed=yes
 
12295
fi
 
12296
    fi
 
12297
else
 
12298
        pkg_failed=untried
 
12299
fi
 
12300
if test -n "$PKG_CONFIG"; then
 
12301
    if test -n "$PACKAGE_LIBS"; then
 
12302
        pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
 
12303
    else
 
12304
        if test -n "$PKG_CONFIG" && \
 
12305
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0\"\""; } >&5
 
12306
  ($PKG_CONFIG --exists --print-errors ""cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0"") 2>&5
 
12307
  ac_status=$?
 
12308
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12309
  test $ac_status = 0; }; then
 
12310
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs ""cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0"" 2>/dev/null`
 
12311
else
 
12312
  pkg_failed=yes
 
12313
fi
 
12314
    fi
 
12315
else
 
12316
        pkg_failed=untried
 
12317
fi
 
12318
 
 
12319
 
 
12320
 
 
12321
if test $pkg_failed = yes; then
 
12322
 
 
12323
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12324
        _pkg_short_errors_supported=yes
 
12325
else
 
12326
        _pkg_short_errors_supported=no
 
12327
fi
 
12328
        if test $_pkg_short_errors_supported = yes; then
 
12329
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0""`
 
12330
        else
 
12331
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0""`
 
12332
        fi
 
12333
        # Put the nasty error message in config.log where it belongs
 
12334
        echo "$PACKAGE_PKG_ERRORS" >&5
 
12335
 
 
12336
        as_fn_error "Package requirements (\"cairo-dock gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0\") were not met:
 
12337
 
 
12338
$PACKAGE_PKG_ERRORS
 
12339
 
 
12340
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12341
installed software in a non-standard prefix.
 
12342
 
 
12343
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
12344
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
12345
See the pkg-config man page for more details.
 
12346
" "$LINENO" 5
 
12347
elif test $pkg_failed = untried; then
 
12348
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12349
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12350
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12351
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12352
path to pkg-config.
 
12353
 
 
12354
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
12355
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
12356
See the pkg-config man page for more details.
 
12357
 
 
12358
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12359
See \`config.log' for more details." "$LINENO" 5; }
 
12360
else
 
12361
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
 
12362
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
 
12363
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12364
$as_echo "yes" >&6; }
 
12365
        :
 
12366
fi
 
12367
 
 
12368
 
 
12369
############# COMPILATION CONDITIONNELLE #################
 
12370
# Check whether --enable-old-gnome-integration was given.
 
12371
if test "${enable_old_gnome_integration+set}" = set; then :
 
12372
  enableval=$enable_old_gnome_integration;  with_old_gnome_support=${enableval}
 
12373
else
 
12374
   with_old_gnome_support=yes
 
12375
fi
 
12376
 
 
12377
# Check whether --enable-gnome-integration was given.
 
12378
if test "${enable_gnome_integration+set}" = set; then :
 
12379
  enableval=$enable_gnome_integration;  with_gnome_support=${enableval}
 
12380
else
 
12381
   with_gnome_support=yes
 
12382
fi
 
12383
 
 
12384
# Check whether --enable-xfce-integration was given.
 
12385
if test "${enable_xfce_integration+set}" = set; then :
 
12386
  enableval=$enable_xfce_integration;  with_xfce_support=${enableval}
 
12387
else
 
12388
   with_xfce_support=yes
 
12389
fi
 
12390
 
 
12391
# Check whether --enable-alsa-mixer was given.
 
12392
if test "${enable_alsa_mixer+set}" = set; then :
 
12393
  enableval=$enable_alsa_mixer;  with_alsa_mixer=${enableval}
 
12394
else
 
12395
   with_alsa_mixer=yes
 
12396
fi
 
12397
 
 
12398
# Check whether --enable-terminal was given.
 
12399
if test "${enable_terminal+set}" = set; then :
 
12400
  enableval=$enable_terminal;  with_terminal=${enableval}
 
12401
else
 
12402
   with_terminal=yes
 
12403
fi
 
12404
 
 
12405
# Check whether --enable-powermanager was given.
 
12406
if test "${enable_powermanager+set}" = set; then :
 
12407
  enableval=$enable_powermanager;  with_powermanager=${enableval}
 
12408
else
 
12409
   with_powermanager=yes
 
12410
fi
 
12411
 
 
12412
# Check whether --enable-wifi was given.
 
12413
if test "${enable_wifi+set}" = set; then :
 
12414
  enableval=$enable_wifi;  with_wifi=${enableval}
 
12415
else
 
12416
   with_wifi=yes
 
12417
fi
 
12418
 
 
12419
# Check whether --enable-tomboy was given.
 
12420
if test "${enable_tomboy+set}" = set; then :
 
12421
  enableval=$enable_tomboy;  with_tomboy=${enableval}
 
12422
else
 
12423
   with_tomboy=yes
 
12424
fi
 
12425
 
 
12426
# Check whether --enable-rhythmbox was given.
 
12427
if test "${enable_rhythmbox+set}" = set; then :
 
12428
  enableval=$enable_rhythmbox;  with_rhythmbox=${enableval}
 
12429
else
 
12430
   with_rhythmbox=yes
 
12431
fi
 
12432
 
 
12433
# Check whether --enable-nvidia was given.
 
12434
if test "${enable_nvidia+set}" = set; then :
 
12435
  enableval=$enable_nvidia;  with_nvidia=${enableval}
 
12436
else
 
12437
   with_nvidia=yes
 
12438
fi
 
12439
 
 
12440
# Check whether --enable-compiz-icon was given.
 
12441
if test "${enable_compiz_icon+set}" = set; then :
 
12442
  enableval=$enable_compiz_icon;  with_compiz_icon=${enableval}
 
12443
else
 
12444
   with_compiz_icon=yes
 
12445
fi
 
12446
 
 
12447
# Check whether --enable-xgamma was given.
 
12448
if test "${enable_xgamma+set}" = set; then :
 
12449
  enableval=$enable_xgamma;  with_xgamma=${enableval}
 
12450
else
 
12451
   with_xgamma=yes
 
12452
fi
 
12453
 
 
12454
# Check whether --enable-gmenu was given.
 
12455
if test "${enable_gmenu+set}" = set; then :
 
12456
  enableval=$enable_gmenu;  with_gmenu=${enableval}
 
12457
else
 
12458
   with_gmenu=yes
 
12459
fi
 
12460
 
 
12461
# Check whether --enable-gio-in-gmenu was given.
 
12462
if test "${enable_gio_in_gmenu+set}" = set; then :
 
12463
  enableval=$enable_gio_in_gmenu;  with_gio_in_gmenu=${enableval}
 
12464
else
 
12465
   with_gio_in_gmenu=no
 
12466
fi
 
12467
 
 
12468
# Check whether --enable-mail was given.
 
12469
if test "${enable_mail+set}" = set; then :
 
12470
  enableval=$enable_mail;  with_mail=${enableval}
 
12471
else
 
12472
   with_mail=no
 
12473
fi
 
12474
 
 
12475
# Check whether --enable-weblets was given.
 
12476
if test "${enable_weblets+set}" = set; then :
 
12477
  enableval=$enable_weblets;  with_weblets=${enableval}
 
12478
else
 
12479
   with_weblets=yes
 
12480
fi
 
12481
 
 
12482
# Check whether --enable-exif was given.
 
12483
if test "${enable_exif+set}" = set; then :
 
12484
  enableval=$enable_exif;  with_exif=${enableval}
 
12485
else
 
12486
   with_exif=yes
 
12487
fi
 
12488
 
 
12489
# Check whether --enable-keyboard-indicator was given.
 
12490
if test "${enable_keyboard_indicator+set}" = set; then :
 
12491
  enableval=$enable_keyboard_indicator;  with_keyboard_indicator=${enableval}
 
12492
else
 
12493
   with_keyboard_indicator=yes
 
12494
fi
 
12495
 
 
12496
 
 
12497
############# PACKAGESĀ ADDITIONNELS #################
 
12498
if test "$with_old_gnome_support" = "yes" ; then
 
12499
 
 
12500
pkg_failed=no
 
12501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OLD_GNOME_INTEGRATION" >&5
 
12502
$as_echo_n "checking for OLD_GNOME_INTEGRATION... " >&6; }
 
12503
 
 
12504
if test -n "$PKG_CONFIG"; then
 
12505
    if test -n "$OLD_GNOME_INTEGRATION_CFLAGS"; then
 
12506
        pkg_cv_OLD_GNOME_INTEGRATION_CFLAGS="$OLD_GNOME_INTEGRATION_CFLAGS"
 
12507
    else
 
12508
        if test -n "$PKG_CONFIG" && \
 
12509
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 libgnomeui-2.0\""; } >&5
 
12510
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 libgnomeui-2.0") 2>&5
 
12511
  ac_status=$?
 
12512
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12513
  test $ac_status = 0; }; then
 
12514
  pkg_cv_OLD_GNOME_INTEGRATION_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 libgnomeui-2.0" 2>/dev/null`
 
12515
else
 
12516
  pkg_failed=yes
 
12517
fi
 
12518
    fi
 
12519
else
 
12520
        pkg_failed=untried
 
12521
fi
 
12522
if test -n "$PKG_CONFIG"; then
 
12523
    if test -n "$OLD_GNOME_INTEGRATION_LIBS"; then
 
12524
        pkg_cv_OLD_GNOME_INTEGRATION_LIBS="$OLD_GNOME_INTEGRATION_LIBS"
 
12525
    else
 
12526
        if test -n "$PKG_CONFIG" && \
 
12527
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 libgnomeui-2.0\""; } >&5
 
12528
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 libgnomeui-2.0") 2>&5
 
12529
  ac_status=$?
 
12530
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12531
  test $ac_status = 0; }; then
 
12532
  pkg_cv_OLD_GNOME_INTEGRATION_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 libgnomeui-2.0" 2>/dev/null`
 
12533
else
 
12534
  pkg_failed=yes
 
12535
fi
 
12536
    fi
 
12537
else
 
12538
        pkg_failed=untried
 
12539
fi
 
12540
 
 
12541
 
 
12542
 
 
12543
if test $pkg_failed = yes; then
 
12544
 
 
12545
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12546
        _pkg_short_errors_supported=yes
 
12547
else
 
12548
        _pkg_short_errors_supported=no
 
12549
fi
 
12550
        if test $_pkg_short_errors_supported = yes; then
 
12551
                OLD_GNOME_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 libgnomeui-2.0"`
 
12552
        else
 
12553
                OLD_GNOME_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 libgnomeui-2.0"`
 
12554
        fi
 
12555
        # Put the nasty error message in config.log where it belongs
 
12556
        echo "$OLD_GNOME_INTEGRATION_PKG_ERRORS" >&5
 
12557
 
 
12558
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12559
$as_echo "no" >&6; }
 
12560
                 with_old_gnome_support=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find gnome-vfs and/or gnomeui; Cairo-Dock won't be built with Gnome<2.22 support." >&5
 
12561
$as_echo "$as_me: WARNING: Could not find gnome-vfs and/or gnomeui; Cairo-Dock won't be built with Gnome<2.22 support." >&2;}
 
12562
elif test $pkg_failed = untried; then
 
12563
         with_old_gnome_support=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find gnome-vfs and/or gnomeui; Cairo-Dock won't be built with Gnome<2.22 support." >&5
 
12564
$as_echo "$as_me: WARNING: Could not find gnome-vfs and/or gnomeui; Cairo-Dock won't be built with Gnome<2.22 support." >&2;}
 
12565
else
 
12566
        OLD_GNOME_INTEGRATION_CFLAGS=$pkg_cv_OLD_GNOME_INTEGRATION_CFLAGS
 
12567
        OLD_GNOME_INTEGRATION_LIBS=$pkg_cv_OLD_GNOME_INTEGRATION_LIBS
 
12568
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12569
$as_echo "yes" >&6; }
 
12570
        :
 
12571
fi
 
12572
 
 
12573
 
 
12574
fi
 
12575
if test "$with_gnome_support" = "yes" ; then
 
12576
 
 
12577
pkg_failed=no
 
12578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_INTEGRATION" >&5
 
12579
$as_echo_n "checking for GNOME_INTEGRATION... " >&6; }
 
12580
 
 
12581
if test -n "$PKG_CONFIG"; then
 
12582
    if test -n "$GNOME_INTEGRATION_CFLAGS"; then
 
12583
        pkg_cv_GNOME_INTEGRATION_CFLAGS="$GNOME_INTEGRATION_CFLAGS"
 
12584
    else
 
12585
        if test -n "$PKG_CONFIG" && \
 
12586
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
 
12587
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
 
12588
  ac_status=$?
 
12589
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12590
  test $ac_status = 0; }; then
 
12591
  pkg_cv_GNOME_INTEGRATION_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
 
12592
else
 
12593
  pkg_failed=yes
 
12594
fi
 
12595
    fi
 
12596
else
 
12597
        pkg_failed=untried
 
12598
fi
 
12599
if test -n "$PKG_CONFIG"; then
 
12600
    if test -n "$GNOME_INTEGRATION_LIBS"; then
 
12601
        pkg_cv_GNOME_INTEGRATION_LIBS="$GNOME_INTEGRATION_LIBS"
 
12602
    else
 
12603
        if test -n "$PKG_CONFIG" && \
 
12604
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
 
12605
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
 
12606
  ac_status=$?
 
12607
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12608
  test $ac_status = 0; }; then
 
12609
  pkg_cv_GNOME_INTEGRATION_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
 
12610
else
 
12611
  pkg_failed=yes
 
12612
fi
 
12613
    fi
 
12614
else
 
12615
        pkg_failed=untried
 
12616
fi
 
12617
 
 
12618
 
 
12619
 
 
12620
if test $pkg_failed = yes; then
 
12621
 
 
12622
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12623
        _pkg_short_errors_supported=yes
 
12624
else
 
12625
        _pkg_short_errors_supported=no
 
12626
fi
 
12627
        if test $_pkg_short_errors_supported = yes; then
 
12628
                GNOME_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0"`
 
12629
        else
 
12630
                GNOME_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0"`
 
12631
        fi
 
12632
        # Put the nasty error message in config.log where it belongs
 
12633
        echo "$GNOME_INTEGRATION_PKG_ERRORS" >&5
 
12634
 
 
12635
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12636
$as_echo "no" >&6; }
 
12637
                 with_gnome_support=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find gio; Cairo-Dock won't be built with Gnome>=2.22 support." >&5
 
12638
$as_echo "$as_me: WARNING: Could not find gio; Cairo-Dock won't be built with Gnome>=2.22 support." >&2;}
 
12639
elif test $pkg_failed = untried; then
 
12640
         with_gnome_support=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find gio; Cairo-Dock won't be built with Gnome>=2.22 support." >&5
 
12641
$as_echo "$as_me: WARNING: Could not find gio; Cairo-Dock won't be built with Gnome>=2.22 support." >&2;}
 
12642
else
 
12643
        GNOME_INTEGRATION_CFLAGS=$pkg_cv_GNOME_INTEGRATION_CFLAGS
 
12644
        GNOME_INTEGRATION_LIBS=$pkg_cv_GNOME_INTEGRATION_LIBS
 
12645
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12646
$as_echo "yes" >&6; }
 
12647
        :
 
12648
fi
 
12649
 
 
12650
 
 
12651
fi
 
12652
if test "$with_xfce_support" = "yes" ; then
 
12653
 
 
12654
pkg_failed=no
 
12655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFCE_INTEGRATION" >&5
 
12656
$as_echo_n "checking for XFCE_INTEGRATION... " >&6; }
 
12657
 
 
12658
if test -n "$PKG_CONFIG"; then
 
12659
    if test -n "$XFCE_INTEGRATION_CFLAGS"; then
 
12660
        pkg_cv_XFCE_INTEGRATION_CFLAGS="$XFCE_INTEGRATION_CFLAGS"
 
12661
    else
 
12662
        if test -n "$PKG_CONFIG" && \
 
12663
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"thunar-vfs-1\""; } >&5
 
12664
  ($PKG_CONFIG --exists --print-errors "thunar-vfs-1") 2>&5
 
12665
  ac_status=$?
 
12666
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12667
  test $ac_status = 0; }; then
 
12668
  pkg_cv_XFCE_INTEGRATION_CFLAGS=`$PKG_CONFIG --cflags "thunar-vfs-1" 2>/dev/null`
 
12669
else
 
12670
  pkg_failed=yes
 
12671
fi
 
12672
    fi
 
12673
else
 
12674
        pkg_failed=untried
 
12675
fi
 
12676
if test -n "$PKG_CONFIG"; then
 
12677
    if test -n "$XFCE_INTEGRATION_LIBS"; then
 
12678
        pkg_cv_XFCE_INTEGRATION_LIBS="$XFCE_INTEGRATION_LIBS"
 
12679
    else
 
12680
        if test -n "$PKG_CONFIG" && \
 
12681
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"thunar-vfs-1\""; } >&5
 
12682
  ($PKG_CONFIG --exists --print-errors "thunar-vfs-1") 2>&5
 
12683
  ac_status=$?
 
12684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12685
  test $ac_status = 0; }; then
 
12686
  pkg_cv_XFCE_INTEGRATION_LIBS=`$PKG_CONFIG --libs "thunar-vfs-1" 2>/dev/null`
 
12687
else
 
12688
  pkg_failed=yes
 
12689
fi
 
12690
    fi
 
12691
else
 
12692
        pkg_failed=untried
 
12693
fi
 
12694
 
 
12695
 
 
12696
 
 
12697
if test $pkg_failed = yes; then
 
12698
 
 
12699
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12700
        _pkg_short_errors_supported=yes
 
12701
else
 
12702
        _pkg_short_errors_supported=no
 
12703
fi
 
12704
        if test $_pkg_short_errors_supported = yes; then
 
12705
                XFCE_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "thunar-vfs-1"`
 
12706
        else
 
12707
                XFCE_INTEGRATION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "thunar-vfs-1"`
 
12708
        fi
 
12709
        # Put the nasty error message in config.log where it belongs
 
12710
        echo "$XFCE_INTEGRATION_PKG_ERRORS" >&5
 
12711
 
 
12712
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12713
$as_echo "no" >&6; }
 
12714
                 with_xfce_support=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find thunar-vfs; Cairo-Dock won't be built with XFCE support." >&5
 
12715
$as_echo "$as_me: WARNING: Could not find thunar-vfs; Cairo-Dock won't be built with XFCE support." >&2;}
 
12716
elif test $pkg_failed = untried; then
 
12717
         with_xfce_support=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find thunar-vfs; Cairo-Dock won't be built with XFCE support." >&5
 
12718
$as_echo "$as_me: WARNING: Could not find thunar-vfs; Cairo-Dock won't be built with XFCE support." >&2;}
 
12719
else
 
12720
        XFCE_INTEGRATION_CFLAGS=$pkg_cv_XFCE_INTEGRATION_CFLAGS
 
12721
        XFCE_INTEGRATION_LIBS=$pkg_cv_XFCE_INTEGRATION_LIBS
 
12722
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12723
$as_echo "yes" >&6; }
 
12724
        :
 
12725
fi
 
12726
 
 
12727
 
 
12728
fi
 
12729
if test "$with_alsa_mixer" = "yes" ; then
 
12730
 
 
12731
pkg_failed=no
 
12732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA_MIXER_PACKAGE" >&5
 
12733
$as_echo_n "checking for ALSA_MIXER_PACKAGE... " >&6; }
 
12734
 
 
12735
if test -n "$PKG_CONFIG"; then
 
12736
    if test -n "$ALSA_MIXER_PACKAGE_CFLAGS"; then
 
12737
        pkg_cv_ALSA_MIXER_PACKAGE_CFLAGS="$ALSA_MIXER_PACKAGE_CFLAGS"
 
12738
    else
 
12739
        if test -n "$PKG_CONFIG" && \
 
12740
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
 
12741
  ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 
12742
  ac_status=$?
 
12743
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12744
  test $ac_status = 0; }; then
 
12745
  pkg_cv_ALSA_MIXER_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
 
12746
else
 
12747
  pkg_failed=yes
 
12748
fi
 
12749
    fi
 
12750
else
 
12751
        pkg_failed=untried
 
12752
fi
 
12753
if test -n "$PKG_CONFIG"; then
 
12754
    if test -n "$ALSA_MIXER_PACKAGE_LIBS"; then
 
12755
        pkg_cv_ALSA_MIXER_PACKAGE_LIBS="$ALSA_MIXER_PACKAGE_LIBS"
 
12756
    else
 
12757
        if test -n "$PKG_CONFIG" && \
 
12758
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
 
12759
  ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 
12760
  ac_status=$?
 
12761
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12762
  test $ac_status = 0; }; then
 
12763
  pkg_cv_ALSA_MIXER_PACKAGE_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
 
12764
else
 
12765
  pkg_failed=yes
 
12766
fi
 
12767
    fi
 
12768
else
 
12769
        pkg_failed=untried
 
12770
fi
 
12771
 
 
12772
 
 
12773
 
 
12774
if test $pkg_failed = yes; then
 
12775
 
 
12776
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12777
        _pkg_short_errors_supported=yes
 
12778
else
 
12779
        _pkg_short_errors_supported=no
 
12780
fi
 
12781
        if test $_pkg_short_errors_supported = yes; then
 
12782
                ALSA_MIXER_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`
 
12783
        else
 
12784
                ALSA_MIXER_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`
 
12785
        fi
 
12786
        # Put the nasty error message in config.log where it belongs
 
12787
        echo "$ALSA_MIXER_PACKAGE_PKG_ERRORS" >&5
 
12788
 
 
12789
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12790
$as_echo "no" >&6; }
 
12791
                 with_alsa_mixer=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find alsa; Cairo-Dock won't be built with AlsaMixer applet." >&5
 
12792
$as_echo "$as_me: WARNING: Could not find alsa; Cairo-Dock won't be built with AlsaMixer applet." >&2;}
 
12793
elif test $pkg_failed = untried; then
 
12794
         with_alsa_mixer=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find alsa; Cairo-Dock won't be built with AlsaMixer applet." >&5
 
12795
$as_echo "$as_me: WARNING: Could not find alsa; Cairo-Dock won't be built with AlsaMixer applet." >&2;}
 
12796
else
 
12797
        ALSA_MIXER_PACKAGE_CFLAGS=$pkg_cv_ALSA_MIXER_PACKAGE_CFLAGS
 
12798
        ALSA_MIXER_PACKAGE_LIBS=$pkg_cv_ALSA_MIXER_PACKAGE_LIBS
 
12799
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12800
$as_echo "yes" >&6; }
 
12801
        :
 
12802
fi
 
12803
 
 
12804
 
 
12805
fi
 
12806
if test "$with_terminal" = "yes" ; then
 
12807
 
 
12808
pkg_failed=no
 
12809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TERMINAL_PACKAGE" >&5
 
12810
$as_echo_n "checking for TERMINAL_PACKAGE... " >&6; }
 
12811
 
 
12812
if test -n "$PKG_CONFIG"; then
 
12813
    if test -n "$TERMINAL_PACKAGE_CFLAGS"; then
 
12814
        pkg_cv_TERMINAL_PACKAGE_CFLAGS="$TERMINAL_PACKAGE_CFLAGS"
 
12815
    else
 
12816
        if test -n "$PKG_CONFIG" && \
 
12817
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte\""; } >&5
 
12818
  ($PKG_CONFIG --exists --print-errors "vte") 2>&5
 
12819
  ac_status=$?
 
12820
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12821
  test $ac_status = 0; }; then
 
12822
  pkg_cv_TERMINAL_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "vte" 2>/dev/null`
 
12823
else
 
12824
  pkg_failed=yes
 
12825
fi
 
12826
    fi
 
12827
else
 
12828
        pkg_failed=untried
 
12829
fi
 
12830
if test -n "$PKG_CONFIG"; then
 
12831
    if test -n "$TERMINAL_PACKAGE_LIBS"; then
 
12832
        pkg_cv_TERMINAL_PACKAGE_LIBS="$TERMINAL_PACKAGE_LIBS"
 
12833
    else
 
12834
        if test -n "$PKG_CONFIG" && \
 
12835
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte\""; } >&5
 
12836
  ($PKG_CONFIG --exists --print-errors "vte") 2>&5
 
12837
  ac_status=$?
 
12838
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12839
  test $ac_status = 0; }; then
 
12840
  pkg_cv_TERMINAL_PACKAGE_LIBS=`$PKG_CONFIG --libs "vte" 2>/dev/null`
 
12841
else
 
12842
  pkg_failed=yes
 
12843
fi
 
12844
    fi
 
12845
else
 
12846
        pkg_failed=untried
 
12847
fi
 
12848
 
 
12849
 
 
12850
 
 
12851
if test $pkg_failed = yes; then
 
12852
 
 
12853
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12854
        _pkg_short_errors_supported=yes
 
12855
else
 
12856
        _pkg_short_errors_supported=no
 
12857
fi
 
12858
        if test $_pkg_short_errors_supported = yes; then
 
12859
                TERMINAL_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vte"`
 
12860
        else
 
12861
                TERMINAL_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vte"`
 
12862
        fi
 
12863
        # Put the nasty error message in config.log where it belongs
 
12864
        echo "$TERMINAL_PACKAGE_PKG_ERRORS" >&5
 
12865
 
 
12866
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12867
$as_echo "no" >&6; }
 
12868
                 with_terminal=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find vte; Cairo-Dock won't be built with Terminal applet." >&5
 
12869
$as_echo "$as_me: WARNING: Could not find vte; Cairo-Dock won't be built with Terminal applet." >&2;}
 
12870
elif test $pkg_failed = untried; then
 
12871
         with_terminal=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find vte; Cairo-Dock won't be built with Terminal applet." >&5
 
12872
$as_echo "$as_me: WARNING: Could not find vte; Cairo-Dock won't be built with Terminal applet." >&2;}
 
12873
else
 
12874
        TERMINAL_PACKAGE_CFLAGS=$pkg_cv_TERMINAL_PACKAGE_CFLAGS
 
12875
        TERMINAL_PACKAGE_LIBS=$pkg_cv_TERMINAL_PACKAGE_LIBS
 
12876
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12877
$as_echo "yes" >&6; }
 
12878
        :
 
12879
fi
 
12880
 
 
12881
 
 
12882
fi
 
12883
if test "$with_xgamma" = "yes" ; then
 
12884
 
 
12885
pkg_failed=no
 
12886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGAMMA_PACKAGE" >&5
 
12887
$as_echo_n "checking for XGAMMA_PACKAGE... " >&6; }
 
12888
 
 
12889
if test -n "$PKG_CONFIG"; then
 
12890
    if test -n "$XGAMMA_PACKAGE_CFLAGS"; then
 
12891
        pkg_cv_XGAMMA_PACKAGE_CFLAGS="$XGAMMA_PACKAGE_CFLAGS"
 
12892
    else
 
12893
        if test -n "$PKG_CONFIG" && \
 
12894
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xxf86vm\""; } >&5
 
12895
  ($PKG_CONFIG --exists --print-errors "x11 xxf86vm") 2>&5
 
12896
  ac_status=$?
 
12897
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12898
  test $ac_status = 0; }; then
 
12899
  pkg_cv_XGAMMA_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "x11 xxf86vm" 2>/dev/null`
 
12900
else
 
12901
  pkg_failed=yes
 
12902
fi
 
12903
    fi
 
12904
else
 
12905
        pkg_failed=untried
 
12906
fi
 
12907
if test -n "$PKG_CONFIG"; then
 
12908
    if test -n "$XGAMMA_PACKAGE_LIBS"; then
 
12909
        pkg_cv_XGAMMA_PACKAGE_LIBS="$XGAMMA_PACKAGE_LIBS"
 
12910
    else
 
12911
        if test -n "$PKG_CONFIG" && \
 
12912
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xxf86vm\""; } >&5
 
12913
  ($PKG_CONFIG --exists --print-errors "x11 xxf86vm") 2>&5
 
12914
  ac_status=$?
 
12915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12916
  test $ac_status = 0; }; then
 
12917
  pkg_cv_XGAMMA_PACKAGE_LIBS=`$PKG_CONFIG --libs "x11 xxf86vm" 2>/dev/null`
 
12918
else
 
12919
  pkg_failed=yes
 
12920
fi
 
12921
    fi
 
12922
else
 
12923
        pkg_failed=untried
 
12924
fi
 
12925
 
 
12926
 
 
12927
 
 
12928
if test $pkg_failed = yes; then
 
12929
 
 
12930
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12931
        _pkg_short_errors_supported=yes
 
12932
else
 
12933
        _pkg_short_errors_supported=no
 
12934
fi
 
12935
        if test $_pkg_short_errors_supported = yes; then
 
12936
                XGAMMA_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xxf86vm"`
 
12937
        else
 
12938
                XGAMMA_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xxf86vm"`
 
12939
        fi
 
12940
        # Put the nasty error message in config.log where it belongs
 
12941
        echo "$XGAMMA_PACKAGE_PKG_ERRORS" >&5
 
12942
 
 
12943
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12944
$as_echo "no" >&6; }
 
12945
                 with_xgamma=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find xxf86vm; Cairo-Dock won't be built with Xgamma applet." >&5
 
12946
$as_echo "$as_me: WARNING: Could not find xxf86vm; Cairo-Dock won't be built with Xgamma applet." >&2;}
 
12947
elif test $pkg_failed = untried; then
 
12948
         with_xgamma=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find xxf86vm; Cairo-Dock won't be built with Xgamma applet." >&5
 
12949
$as_echo "$as_me: WARNING: Could not find xxf86vm; Cairo-Dock won't be built with Xgamma applet." >&2;}
 
12950
else
 
12951
        XGAMMA_PACKAGE_CFLAGS=$pkg_cv_XGAMMA_PACKAGE_CFLAGS
 
12952
        XGAMMA_PACKAGE_LIBS=$pkg_cv_XGAMMA_PACKAGE_LIBS
 
12953
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12954
$as_echo "yes" >&6; }
 
12955
        :
 
12956
fi
 
12957
 
 
12958
 
 
12959
fi
 
12960
if test "$with_gmenu" = "yes" ; then
 
12961
 
 
12962
pkg_failed=no
 
12963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMENU_PACKAGE" >&5
 
12964
$as_echo_n "checking for GMENU_PACKAGE... " >&6; }
 
12965
 
 
12966
if test -n "$PKG_CONFIG"; then
 
12967
    if test -n "$GMENU_PACKAGE_CFLAGS"; then
 
12968
        pkg_cv_GMENU_PACKAGE_CFLAGS="$GMENU_PACKAGE_CFLAGS"
 
12969
    else
 
12970
        if test -n "$PKG_CONFIG" && \
 
12971
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-menu\""; } >&5
 
12972
  ($PKG_CONFIG --exists --print-errors "libgnome-menu") 2>&5
 
12973
  ac_status=$?
 
12974
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12975
  test $ac_status = 0; }; then
 
12976
  pkg_cv_GMENU_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "libgnome-menu" 2>/dev/null`
 
12977
else
 
12978
  pkg_failed=yes
 
12979
fi
 
12980
    fi
 
12981
else
 
12982
        pkg_failed=untried
 
12983
fi
 
12984
if test -n "$PKG_CONFIG"; then
 
12985
    if test -n "$GMENU_PACKAGE_LIBS"; then
 
12986
        pkg_cv_GMENU_PACKAGE_LIBS="$GMENU_PACKAGE_LIBS"
 
12987
    else
 
12988
        if test -n "$PKG_CONFIG" && \
 
12989
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-menu\""; } >&5
 
12990
  ($PKG_CONFIG --exists --print-errors "libgnome-menu") 2>&5
 
12991
  ac_status=$?
 
12992
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12993
  test $ac_status = 0; }; then
 
12994
  pkg_cv_GMENU_PACKAGE_LIBS=`$PKG_CONFIG --libs "libgnome-menu" 2>/dev/null`
 
12995
else
 
12996
  pkg_failed=yes
 
12997
fi
 
12998
    fi
 
12999
else
 
13000
        pkg_failed=untried
 
13001
fi
 
13002
 
 
13003
 
 
13004
 
 
13005
if test $pkg_failed = yes; then
 
13006
 
 
13007
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13008
        _pkg_short_errors_supported=yes
 
13009
else
 
13010
        _pkg_short_errors_supported=no
 
13011
fi
 
13012
        if test $_pkg_short_errors_supported = yes; then
 
13013
                GMENU_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-menu"`
 
13014
        else
 
13015
                GMENU_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-menu"`
 
13016
        fi
 
13017
        # Put the nasty error message in config.log where it belongs
 
13018
        echo "$GMENU_PACKAGE_PKG_ERRORS" >&5
 
13019
 
 
13020
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13021
$as_echo "no" >&6; }
 
13022
                 with_gmenu=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libgnome-menu; Cairo-Dock won't be built with GMenu applet." >&5
 
13023
$as_echo "$as_me: WARNING: Could not find libgnome-menu; Cairo-Dock won't be built with GMenu applet." >&2;}
 
13024
elif test $pkg_failed = untried; then
 
13025
         with_gmenu=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libgnome-menu; Cairo-Dock won't be built with GMenu applet." >&5
 
13026
$as_echo "$as_me: WARNING: Could not find libgnome-menu; Cairo-Dock won't be built with GMenu applet." >&2;}
 
13027
else
 
13028
        GMENU_PACKAGE_CFLAGS=$pkg_cv_GMENU_PACKAGE_CFLAGS
 
13029
        GMENU_PACKAGE_LIBS=$pkg_cv_GMENU_PACKAGE_LIBS
 
13030
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13031
$as_echo "yes" >&6; }
 
13032
        :
 
13033
fi
 
13034
 
 
13035
 
 
13036
fi
 
13037
if test "$with_gio_in_gmenu" = "yes" ; then
 
13038
 
 
13039
pkg_failed=no
 
13040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMENU_GIO" >&5
 
13041
$as_echo_n "checking for GMENU_GIO... " >&6; }
 
13042
 
 
13043
if test -n "$PKG_CONFIG"; then
 
13044
    if test -n "$GMENU_GIO_CFLAGS"; then
 
13045
        pkg_cv_GMENU_GIO_CFLAGS="$GMENU_GIO_CFLAGS"
 
13046
    else
 
13047
        if test -n "$PKG_CONFIG" && \
 
13048
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
 
13049
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
 
13050
  ac_status=$?
 
13051
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13052
  test $ac_status = 0; }; then
 
13053
  pkg_cv_GMENU_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
 
13054
else
 
13055
  pkg_failed=yes
 
13056
fi
 
13057
    fi
 
13058
else
 
13059
        pkg_failed=untried
 
13060
fi
 
13061
if test -n "$PKG_CONFIG"; then
 
13062
    if test -n "$GMENU_GIO_LIBS"; then
 
13063
        pkg_cv_GMENU_GIO_LIBS="$GMENU_GIO_LIBS"
 
13064
    else
 
13065
        if test -n "$PKG_CONFIG" && \
 
13066
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
 
13067
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
 
13068
  ac_status=$?
 
13069
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13070
  test $ac_status = 0; }; then
 
13071
  pkg_cv_GMENU_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
 
13072
else
 
13073
  pkg_failed=yes
 
13074
fi
 
13075
    fi
 
13076
else
 
13077
        pkg_failed=untried
 
13078
fi
 
13079
 
 
13080
 
 
13081
 
 
13082
if test $pkg_failed = yes; then
 
13083
 
 
13084
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13085
        _pkg_short_errors_supported=yes
 
13086
else
 
13087
        _pkg_short_errors_supported=no
 
13088
fi
 
13089
        if test $_pkg_short_errors_supported = yes; then
 
13090
                GMENU_GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0"`
 
13091
        else
 
13092
                GMENU_GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0"`
 
13093
        fi
 
13094
        # Put the nasty error message in config.log where it belongs
 
13095
        echo "$GMENU_GIO_PKG_ERRORS" >&5
 
13096
 
 
13097
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13098
$as_echo "no" >&6; }
 
13099
                 with_gio_in_gmenu=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find gio-2.0; the GMenu applet won't be built with. Depending on libgnome-menu" >&5
 
13100
$as_echo "$as_me: WARNING: Could not find gio-2.0; the GMenu applet won't be built with. Depending on libgnome-menu" >&2;}
 
13101
elif test $pkg_failed = untried; then
 
13102
         with_gio_in_gmenu=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find gio-2.0; the GMenu applet won't be built with. Depending on libgnome-menu" >&5
 
13103
$as_echo "$as_me: WARNING: Could not find gio-2.0; the GMenu applet won't be built with. Depending on libgnome-menu" >&2;}
 
13104
else
 
13105
        GMENU_GIO_CFLAGS=$pkg_cv_GMENU_GIO_CFLAGS
 
13106
        GMENU_GIO_LIBS=$pkg_cv_GMENU_GIO_LIBS
 
13107
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13108
$as_echo "yes" >&6; }
 
13109
        :
 
13110
fi
 
13111
 
 
13112
 
 
13113
fi
 
13114
if test "$with_mail" = "yes" ; then
 
13115
        for ac_header in errno.h fcntl.h math.h netdb.h netinet/in.h signal.h stddef.h string.h sys/select.h sys/socket.h sys/stat.h sys/types.h sys/wait.h time.h unistd.h
 
13116
do :
 
13117
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
13118
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
13119
eval as_val=\$$as_ac_Header
 
13120
   if test "x$as_val" = x""yes; then :
 
13121
  cat >>confdefs.h <<_ACEOF
 
13122
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13123
_ACEOF
 
13124
 
 
13125
fi
 
13126
 
 
13127
done
 
13128
 
 
13129
        for ac_func in mmap sigaction srandom
 
13130
do :
 
13131
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
13132
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
13133
eval as_val=\$$as_ac_var
 
13134
   if test "x$as_val" = x""yes; then :
 
13135
  cat >>confdefs.h <<_ACEOF
 
13136
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13137
_ACEOF
 
13138
 
 
13139
fi
 
13140
done
 
13141
 
 
13142
 
 
13143
        # Checks for crypt library
 
13144
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for encrypt in -lcrypt" >&5
 
13145
$as_echo_n "checking for encrypt in -lcrypt... " >&6; }
 
13146
if test "${ac_cv_lib_crypt_encrypt+set}" = set; then :
 
13147
  $as_echo_n "(cached) " >&6
 
13148
else
 
13149
  ac_check_lib_save_LIBS=$LIBS
 
13150
LIBS="-lcrypt  $LIBS"
 
13151
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13152
/* end confdefs.h.  */
 
13153
 
 
13154
/* Override any GCC internal prototype to avoid an error.
 
13155
   Use char because int might match the return type of a GCC
 
13156
   builtin and then its argument prototype would still apply.  */
 
13157
#ifdef __cplusplus
 
13158
extern "C"
 
13159
#endif
 
13160
char encrypt ();
 
13161
int
 
13162
main ()
 
13163
{
 
13164
return encrypt ();
 
13165
  ;
 
13166
  return 0;
 
13167
}
 
13168
_ACEOF
 
13169
if ac_fn_c_try_link "$LINENO"; then :
 
13170
  ac_cv_lib_crypt_encrypt=yes
 
13171
else
 
13172
  ac_cv_lib_crypt_encrypt=no
 
13173
fi
 
13174
rm -f core conftest.err conftest.$ac_objext \
 
13175
    conftest$ac_exeext conftest.$ac_ext
 
13176
LIBS=$ac_check_lib_save_LIBS
 
13177
fi
 
13178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_encrypt" >&5
 
13179
$as_echo "$ac_cv_lib_crypt_encrypt" >&6; }
 
13180
if test "x$ac_cv_lib_crypt_encrypt" = x""yes; then :
 
13181
  cat >>confdefs.h <<_ACEOF
 
13182
#define HAVE_LIBCRYPT 1
 
13183
_ACEOF
 
13184
 
 
13185
  LIBS="-lcrypt $LIBS"
 
13186
 
 
13187
fi
 
13188
 
 
13189
fi
 
13190
if test "$with_weblets" = "yes" ; then
 
13191
 
 
13192
pkg_failed=no
 
13193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
 
13194
$as_echo_n "checking for WEBKIT... " >&6; }
 
13195
 
 
13196
if test -n "$PKG_CONFIG"; then
 
13197
    if test -n "$WEBKIT_CFLAGS"; then
 
13198
        pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
 
13199
    else
 
13200
        if test -n "$PKG_CONFIG" && \
 
13201
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
 
13202
  ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
 
13203
  ac_status=$?
 
13204
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13205
  test $ac_status = 0; }; then
 
13206
  pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
 
13207
else
 
13208
  pkg_failed=yes
 
13209
fi
 
13210
    fi
 
13211
else
 
13212
        pkg_failed=untried
 
13213
fi
 
13214
if test -n "$PKG_CONFIG"; then
 
13215
    if test -n "$WEBKIT_LIBS"; then
 
13216
        pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
 
13217
    else
 
13218
        if test -n "$PKG_CONFIG" && \
 
13219
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
 
13220
  ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
 
13221
  ac_status=$?
 
13222
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13223
  test $ac_status = 0; }; then
 
13224
  pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
 
13225
else
 
13226
  pkg_failed=yes
 
13227
fi
 
13228
    fi
 
13229
else
 
13230
        pkg_failed=untried
 
13231
fi
 
13232
 
 
13233
 
 
13234
 
 
13235
if test $pkg_failed = yes; then
 
13236
 
 
13237
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13238
        _pkg_short_errors_supported=yes
 
13239
else
 
13240
        _pkg_short_errors_supported=no
 
13241
fi
 
13242
        if test $_pkg_short_errors_supported = yes; then
 
13243
                WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
 
13244
        else
 
13245
                WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
 
13246
        fi
 
13247
        # Put the nasty error message in config.log where it belongs
 
13248
        echo "$WEBKIT_PKG_ERRORS" >&5
 
13249
 
 
13250
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13251
$as_echo "no" >&6; }
 
13252
                 with_weblets=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find webkit-1.0; Cairo-Dock won't be built with Weblets applet." >&5
 
13253
$as_echo "$as_me: WARNING: Could not find webkit-1.0; Cairo-Dock won't be built with Weblets applet." >&2;}
 
13254
elif test $pkg_failed = untried; then
 
13255
         with_weblets=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find webkit-1.0; Cairo-Dock won't be built with Weblets applet." >&5
 
13256
$as_echo "$as_me: WARNING: Could not find webkit-1.0; Cairo-Dock won't be built with Weblets applet." >&2;}
 
13257
else
 
13258
        WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
 
13259
        WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
 
13260
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13261
$as_echo "yes" >&6; }
 
13262
        :
 
13263
fi
 
13264
 
 
13265
 
 
13266
fi
 
13267
if test "$with_exif" = "yes" ; then
 
13268
 
 
13269
pkg_failed=no
 
13270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIF" >&5
 
13271
$as_echo_n "checking for EXIF... " >&6; }
 
13272
 
 
13273
if test -n "$PKG_CONFIG"; then
 
13274
    if test -n "$EXIF_CFLAGS"; then
 
13275
        pkg_cv_EXIF_CFLAGS="$EXIF_CFLAGS"
 
13276
    else
 
13277
        if test -n "$PKG_CONFIG" && \
 
13278
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif\""; } >&5
 
13279
  ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
 
13280
  ac_status=$?
 
13281
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13282
  test $ac_status = 0; }; then
 
13283
  pkg_cv_EXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif" 2>/dev/null`
 
13284
else
 
13285
  pkg_failed=yes
 
13286
fi
 
13287
    fi
 
13288
else
 
13289
        pkg_failed=untried
 
13290
fi
 
13291
if test -n "$PKG_CONFIG"; then
 
13292
    if test -n "$EXIF_LIBS"; then
 
13293
        pkg_cv_EXIF_LIBS="$EXIF_LIBS"
 
13294
    else
 
13295
        if test -n "$PKG_CONFIG" && \
 
13296
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif\""; } >&5
 
13297
  ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
 
13298
  ac_status=$?
 
13299
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13300
  test $ac_status = 0; }; then
 
13301
  pkg_cv_EXIF_LIBS=`$PKG_CONFIG --libs "libexif" 2>/dev/null`
 
13302
else
 
13303
  pkg_failed=yes
 
13304
fi
 
13305
    fi
 
13306
else
 
13307
        pkg_failed=untried
 
13308
fi
 
13309
 
 
13310
 
 
13311
 
 
13312
if test $pkg_failed = yes; then
 
13313
 
 
13314
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13315
        _pkg_short_errors_supported=yes
 
13316
else
 
13317
        _pkg_short_errors_supported=no
 
13318
fi
 
13319
        if test $_pkg_short_errors_supported = yes; then
 
13320
                EXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libexif"`
 
13321
        else
 
13322
                EXIF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libexif"`
 
13323
        fi
 
13324
        # Put the nasty error message in config.log where it belongs
 
13325
        echo "$EXIF_PKG_ERRORS" >&5
 
13326
 
 
13327
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13328
$as_echo "no" >&6; }
 
13329
                 with_exif=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libexif; Slider won't be built with exif capbilities." >&5
 
13330
$as_echo "$as_me: WARNING: Could not find libexif; Slider won't be built with exif capbilities." >&2;}
 
13331
elif test $pkg_failed = untried; then
 
13332
         with_exif=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libexif; Slider won't be built with exif capbilities." >&5
 
13333
$as_echo "$as_me: WARNING: Could not find libexif; Slider won't be built with exif capbilities." >&2;}
 
13334
else
 
13335
        EXIF_CFLAGS=$pkg_cv_EXIF_CFLAGS
 
13336
        EXIF_LIBS=$pkg_cv_EXIF_LIBS
 
13337
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13338
$as_echo "yes" >&6; }
 
13339
        :
 
13340
fi
 
13341
 
 
13342
 
 
13343
fi
 
13344
if test "$with_keyboard_indicator" = "yes" ; then
 
13345
 
 
13346
pkg_failed=no
 
13347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KEYBOARD_INDICATOR_PACKAGE" >&5
 
13348
$as_echo_n "checking for KEYBOARD_INDICATOR_PACKAGE... " >&6; }
 
13349
 
 
13350
if test -n "$PKG_CONFIG"; then
 
13351
    if test -n "$KEYBOARD_INDICATOR_PACKAGE_CFLAGS"; then
 
13352
        pkg_cv_KEYBOARD_INDICATOR_PACKAGE_CFLAGS="$KEYBOARD_INDICATOR_PACKAGE_CFLAGS"
 
13353
    else
 
13354
        if test -n "$PKG_CONFIG" && \
 
13355
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxklavier\""; } >&5
 
13356
  ($PKG_CONFIG --exists --print-errors "libxklavier") 2>&5
 
13357
  ac_status=$?
 
13358
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13359
  test $ac_status = 0; }; then
 
13360
  pkg_cv_KEYBOARD_INDICATOR_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "libxklavier" 2>/dev/null`
 
13361
else
 
13362
  pkg_failed=yes
 
13363
fi
 
13364
    fi
 
13365
else
 
13366
        pkg_failed=untried
 
13367
fi
 
13368
if test -n "$PKG_CONFIG"; then
 
13369
    if test -n "$KEYBOARD_INDICATOR_PACKAGE_LIBS"; then
 
13370
        pkg_cv_KEYBOARD_INDICATOR_PACKAGE_LIBS="$KEYBOARD_INDICATOR_PACKAGE_LIBS"
 
13371
    else
 
13372
        if test -n "$PKG_CONFIG" && \
 
13373
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxklavier\""; } >&5
 
13374
  ($PKG_CONFIG --exists --print-errors "libxklavier") 2>&5
 
13375
  ac_status=$?
 
13376
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13377
  test $ac_status = 0; }; then
 
13378
  pkg_cv_KEYBOARD_INDICATOR_PACKAGE_LIBS=`$PKG_CONFIG --libs "libxklavier" 2>/dev/null`
 
13379
else
 
13380
  pkg_failed=yes
 
13381
fi
 
13382
    fi
 
13383
else
 
13384
        pkg_failed=untried
 
13385
fi
 
13386
 
 
13387
 
 
13388
 
 
13389
if test $pkg_failed = yes; then
 
13390
 
 
13391
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13392
        _pkg_short_errors_supported=yes
 
13393
else
 
13394
        _pkg_short_errors_supported=no
 
13395
fi
 
13396
        if test $_pkg_short_errors_supported = yes; then
 
13397
                KEYBOARD_INDICATOR_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxklavier"`
 
13398
        else
 
13399
                KEYBOARD_INDICATOR_PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxklavier"`
 
13400
        fi
 
13401
        # Put the nasty error message in config.log where it belongs
 
13402
        echo "$KEYBOARD_INDICATOR_PACKAGE_PKG_ERRORS" >&5
 
13403
 
 
13404
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13405
$as_echo "no" >&6; }
 
13406
                 with_keyboard_indicator=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libxklavier; Cairo-Dock won't be built with keyboard-indicator applet." >&5
 
13407
$as_echo "$as_me: WARNING: Could not find libxklavier; Cairo-Dock won't be built with keyboard-indicator applet." >&2;}
 
13408
elif test $pkg_failed = untried; then
 
13409
         with_keyboard_indicator=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find libxklavier; Cairo-Dock won't be built with keyboard-indicator applet." >&5
 
13410
$as_echo "$as_me: WARNING: Could not find libxklavier; Cairo-Dock won't be built with keyboard-indicator applet." >&2;}
 
13411
else
 
13412
        KEYBOARD_INDICATOR_PACKAGE_CFLAGS=$pkg_cv_KEYBOARD_INDICATOR_PACKAGE_CFLAGS
 
13413
        KEYBOARD_INDICATOR_PACKAGE_LIBS=$pkg_cv_KEYBOARD_INDICATOR_PACKAGE_LIBS
 
13414
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13415
$as_echo "yes" >&6; }
 
13416
        :
 
13417
fi
 
13418
 
 
13419
 
 
13420
fi
 
13421
 
 
13422
ac_ext=cpp
 
13423
ac_cpp='$CXXCPP $CPPFLAGS'
 
13424
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13425
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13426
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
13427
if test -z "$CXX"; then
 
13428
  if test -n "$CCC"; then
 
13429
    CXX=$CCC
 
13430
  else
 
13431
    if test -n "$ac_tool_prefix"; then
 
13432
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
13433
  do
 
13434
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
13435
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
13436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13437
$as_echo_n "checking for $ac_word... " >&6; }
 
13438
if test "${ac_cv_prog_CXX+set}" = set; then :
 
13439
  $as_echo_n "(cached) " >&6
 
13440
else
 
13441
  if test -n "$CXX"; then
 
13442
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
13443
else
 
13444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13445
for as_dir in $PATH
 
13446
do
 
13447
  IFS=$as_save_IFS
 
13448
  test -z "$as_dir" && as_dir=.
 
13449
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13450
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13451
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
13452
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13453
    break 2
 
13454
  fi
 
13455
done
 
13456
  done
 
13457
IFS=$as_save_IFS
 
13458
 
 
13459
fi
 
13460
fi
 
13461
CXX=$ac_cv_prog_CXX
 
13462
if test -n "$CXX"; then
 
13463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
13464
$as_echo "$CXX" >&6; }
 
13465
else
 
13466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13467
$as_echo "no" >&6; }
 
13468
fi
 
13469
 
 
13470
 
 
13471
    test -n "$CXX" && break
 
13472
  done
 
13473
fi
 
13474
if test -z "$CXX"; then
 
13475
  ac_ct_CXX=$CXX
 
13476
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
13477
do
 
13478
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
13479
set dummy $ac_prog; ac_word=$2
 
13480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13481
$as_echo_n "checking for $ac_word... " >&6; }
 
13482
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
13483
  $as_echo_n "(cached) " >&6
 
13484
else
 
13485
  if test -n "$ac_ct_CXX"; then
 
13486
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
13487
else
 
13488
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13489
for as_dir in $PATH
 
13490
do
 
13491
  IFS=$as_save_IFS
 
13492
  test -z "$as_dir" && as_dir=.
 
13493
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13494
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13495
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
13496
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13497
    break 2
 
13498
  fi
 
13499
done
 
13500
  done
 
13501
IFS=$as_save_IFS
 
13502
 
 
13503
fi
 
13504
fi
 
13505
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
13506
if test -n "$ac_ct_CXX"; then
 
13507
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
13508
$as_echo "$ac_ct_CXX" >&6; }
 
13509
else
 
13510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13511
$as_echo "no" >&6; }
 
13512
fi
 
13513
 
 
13514
 
 
13515
  test -n "$ac_ct_CXX" && break
 
13516
done
 
13517
 
 
13518
  if test "x$ac_ct_CXX" = x; then
 
13519
    CXX="g++"
 
13520
  else
 
13521
    case $cross_compiling:$ac_tool_warned in
 
13522
yes:)
 
13523
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
13524
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13525
ac_tool_warned=yes ;;
 
13526
esac
 
13527
    CXX=$ac_ct_CXX
 
13528
  fi
 
13529
fi
 
13530
 
 
13531
  fi
 
13532
fi
 
13533
# Provide some information about the compiler.
 
13534
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
13535
set X $ac_compile
 
13536
ac_compiler=$2
 
13537
for ac_option in --version -v -V -qversion; do
 
13538
  { { ac_try="$ac_compiler $ac_option >&5"
 
13539
case "(($ac_try" in
 
13540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13541
  *) ac_try_echo=$ac_try;;
 
13542
esac
 
13543
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
13544
$as_echo "$ac_try_echo"; } >&5
 
13545
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
13546
  ac_status=$?
 
13547
  if test -s conftest.err; then
 
13548
    sed '10a\
 
13549
... rest of stderr output deleted ...
 
13550
         10q' conftest.err >conftest.er1
 
13551
    cat conftest.er1 >&5
 
13552
    rm -f conftest.er1 conftest.err
 
13553
  fi
 
13554
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13555
  test $ac_status = 0; }
 
13556
done
 
13557
 
 
13558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
13559
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
13560
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
13561
  $as_echo_n "(cached) " >&6
 
13562
else
 
13563
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13564
/* end confdefs.h.  */
 
13565
 
 
13566
int
 
13567
main ()
 
13568
{
 
13569
#ifndef __GNUC__
 
13570
       choke me
 
13571
#endif
 
13572
 
 
13573
  ;
 
13574
  return 0;
 
13575
}
 
13576
_ACEOF
 
13577
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13578
  ac_compiler_gnu=yes
 
13579
else
 
13580
  ac_compiler_gnu=no
 
13581
fi
 
13582
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13583
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
13584
 
 
13585
fi
 
13586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
13587
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
13588
if test $ac_compiler_gnu = yes; then
 
13589
  GXX=yes
 
13590
else
 
13591
  GXX=
 
13592
fi
 
13593
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
13594
ac_save_CXXFLAGS=$CXXFLAGS
 
13595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
13596
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
13597
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
13598
  $as_echo_n "(cached) " >&6
 
13599
else
 
13600
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
13601
   ac_cxx_werror_flag=yes
 
13602
   ac_cv_prog_cxx_g=no
 
13603
   CXXFLAGS="-g"
 
13604
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13605
/* end confdefs.h.  */
 
13606
 
 
13607
int
 
13608
main ()
 
13609
{
 
13610
 
 
13611
  ;
 
13612
  return 0;
 
13613
}
 
13614
_ACEOF
 
13615
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13616
  ac_cv_prog_cxx_g=yes
 
13617
else
 
13618
  CXXFLAGS=""
 
13619
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13620
/* end confdefs.h.  */
 
13621
 
 
13622
int
 
13623
main ()
 
13624
{
 
13625
 
 
13626
  ;
 
13627
  return 0;
 
13628
}
 
13629
_ACEOF
 
13630
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13631
 
 
13632
else
 
13633
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
13634
         CXXFLAGS="-g"
 
13635
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13636
/* end confdefs.h.  */
 
13637
 
 
13638
int
 
13639
main ()
 
13640
{
 
13641
 
 
13642
  ;
 
13643
  return 0;
 
13644
}
 
13645
_ACEOF
 
13646
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13647
  ac_cv_prog_cxx_g=yes
 
13648
fi
 
13649
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13650
fi
 
13651
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13652
fi
 
13653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13654
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
13655
fi
 
13656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
13657
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
13658
if test "$ac_test_CXXFLAGS" = set; then
 
13659
  CXXFLAGS=$ac_save_CXXFLAGS
 
13660
elif test $ac_cv_prog_cxx_g = yes; then
 
13661
  if test "$GXX" = yes; then
 
13662
    CXXFLAGS="-g -O2"
 
13663
  else
 
13664
    CXXFLAGS="-g"
 
13665
  fi
 
13666
else
 
13667
  if test "$GXX" = yes; then
 
13668
    CXXFLAGS="-O2"
 
13669
  else
 
13670
    CXXFLAGS=
 
13671
  fi
 
13672
fi
 
13673
ac_ext=c
 
13674
ac_cpp='$CPP $CPPFLAGS'
 
13675
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13676
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13677
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13678
 
 
13679
depcc="$CXX"  am_compiler_list=
 
13680
 
 
13681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
13682
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
13683
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
13684
  $as_echo_n "(cached) " >&6
 
13685
else
 
13686
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
13687
  # We make a subdir and do the tests there.  Otherwise we can end up
 
13688
  # making bogus files that we don't know about and never remove.  For
 
13689
  # instance it was reported that on HP-UX the gcc test will end up
 
13690
  # making a dummy file named `D' -- because `-MD' means `put the output
 
13691
  # in D'.
 
13692
  mkdir conftest.dir
 
13693
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
13694
  # using a relative directory.
 
13695
  cp "$am_depcomp" conftest.dir
 
13696
  cd conftest.dir
 
13697
  # We will build objects and dependencies in a subdirectory because
 
13698
  # it helps to detect inapplicable dependency modes.  For instance
 
13699
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
13700
  # side effect of compilation, but ICC will put the dependencies in
 
13701
  # the current directory while Tru64 will put them in the object
 
13702
  # directory.
 
13703
  mkdir sub
 
13704
 
 
13705
  am_cv_CXX_dependencies_compiler_type=none
 
13706
  if test "$am_compiler_list" = ""; then
 
13707
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
13708
  fi
 
13709
  for depmode in $am_compiler_list; do
 
13710
    # Setup a source with many dependencies, because some compilers
 
13711
    # like to wrap large dependency lists on column 80 (with \), and
 
13712
    # we should not choose a depcomp mode which is confused by this.
 
13713
    #
 
13714
    # We need to recreate these files for each test, as the compiler may
 
13715
    # overwrite some of them when testing with obscure command lines.
 
13716
    # This happens at least with the AIX C compiler.
 
13717
    : > sub/conftest.c
 
13718
    for i in 1 2 3 4 5 6; do
 
13719
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
13720
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
13721
      # Solaris 8's {/usr,}/bin/sh.
 
13722
      touch sub/conftst$i.h
 
13723
    done
 
13724
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
13725
 
 
13726
    case $depmode in
 
13727
    nosideeffect)
 
13728
      # after this tag, mechanisms are not by side-effect, so they'll
 
13729
      # only be used when explicitly requested
 
13730
      if test "x$enable_dependency_tracking" = xyes; then
 
13731
        continue
 
13732
      else
 
13733
        break
 
13734
      fi
 
13735
      ;;
 
13736
    none) break ;;
 
13737
    esac
 
13738
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
13739
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
13740
    # handle `-M -o', and we need to detect this.
 
13741
    if depmode=$depmode \
 
13742
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
13743
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
13744
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
13745
         >/dev/null 2>conftest.err &&
 
13746
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
13747
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
13748
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
13749
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
13750
      # icc doesn't choke on unknown options, it will just issue warnings
 
13751
      # or remarks (even with -Werror).  So we grep stderr for any message
 
13752
      # that says an option was ignored or not supported.
 
13753
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
13754
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
13755
      # The diagnosis changed in icc 8.0:
 
13756
      #   icc: Command line remark: option '-MP' not supported
 
13757
      if (grep 'ignoring option' conftest.err ||
 
13758
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
13759
        am_cv_CXX_dependencies_compiler_type=$depmode
 
13760
        break
 
13761
      fi
 
13762
    fi
 
13763
  done
 
13764
 
 
13765
  cd ..
 
13766
  rm -rf conftest.dir
 
13767
else
 
13768
  am_cv_CXX_dependencies_compiler_type=none
 
13769
fi
 
13770
 
 
13771
fi
 
13772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
13773
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
13774
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
13775
 
 
13776
 if
 
13777
  test "x$enable_dependency_tracking" != xno \
 
13778
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
13779
  am__fastdepCXX_TRUE=
 
13780
  am__fastdepCXX_FALSE='#'
 
13781
else
 
13782
  am__fastdepCXX_TRUE='#'
 
13783
  am__fastdepCXX_FALSE=
 
13784
fi
 
13785
 
 
13786
 
 
13787
 
 
13788
ac_ext=cpp
 
13789
ac_cpp='$CXXCPP $CPPFLAGS'
 
13790
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13791
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13792
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
13793
if test -z "$CXX"; then
 
13794
  if test -n "$CCC"; then
 
13795
    CXX=$CCC
 
13796
  else
 
13797
    if test -n "$ac_tool_prefix"; then
 
13798
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
13799
  do
 
13800
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
13801
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
13802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13803
$as_echo_n "checking for $ac_word... " >&6; }
 
13804
if test "${ac_cv_prog_CXX+set}" = set; then :
 
13805
  $as_echo_n "(cached) " >&6
 
13806
else
 
13807
  if test -n "$CXX"; then
 
13808
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
13809
else
 
13810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13811
for as_dir in $PATH
 
13812
do
 
13813
  IFS=$as_save_IFS
 
13814
  test -z "$as_dir" && as_dir=.
 
13815
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13816
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13817
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
13818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13819
    break 2
 
13820
  fi
 
13821
done
 
13822
  done
 
13823
IFS=$as_save_IFS
 
13824
 
 
13825
fi
 
13826
fi
 
13827
CXX=$ac_cv_prog_CXX
 
13828
if test -n "$CXX"; then
 
13829
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
13830
$as_echo "$CXX" >&6; }
 
13831
else
 
13832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13833
$as_echo "no" >&6; }
 
13834
fi
 
13835
 
 
13836
 
 
13837
    test -n "$CXX" && break
 
13838
  done
 
13839
fi
 
13840
if test -z "$CXX"; then
 
13841
  ac_ct_CXX=$CXX
 
13842
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
13843
do
 
13844
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
13845
set dummy $ac_prog; ac_word=$2
 
13846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13847
$as_echo_n "checking for $ac_word... " >&6; }
 
13848
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
13849
  $as_echo_n "(cached) " >&6
 
13850
else
 
13851
  if test -n "$ac_ct_CXX"; then
 
13852
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
13853
else
 
13854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13855
for as_dir in $PATH
 
13856
do
 
13857
  IFS=$as_save_IFS
 
13858
  test -z "$as_dir" && as_dir=.
 
13859
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13860
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13861
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
13862
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13863
    break 2
 
13864
  fi
 
13865
done
 
13866
  done
 
13867
IFS=$as_save_IFS
 
13868
 
 
13869
fi
 
13870
fi
 
13871
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
13872
if test -n "$ac_ct_CXX"; then
 
13873
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
13874
$as_echo "$ac_ct_CXX" >&6; }
 
13875
else
 
13876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13877
$as_echo "no" >&6; }
 
13878
fi
 
13879
 
 
13880
 
 
13881
  test -n "$ac_ct_CXX" && break
 
13882
done
 
13883
 
 
13884
  if test "x$ac_ct_CXX" = x; then
 
13885
    CXX="g++"
 
13886
  else
 
13887
    case $cross_compiling:$ac_tool_warned in
 
13888
yes:)
 
13889
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
13890
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13891
ac_tool_warned=yes ;;
 
13892
esac
 
13893
    CXX=$ac_ct_CXX
 
13894
  fi
 
13895
fi
 
13896
 
 
13897
  fi
 
13898
fi
 
13899
# Provide some information about the compiler.
 
13900
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
13901
set X $ac_compile
 
13902
ac_compiler=$2
 
13903
for ac_option in --version -v -V -qversion; do
 
13904
  { { ac_try="$ac_compiler $ac_option >&5"
 
13905
case "(($ac_try" in
 
13906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13907
  *) ac_try_echo=$ac_try;;
 
13908
esac
 
13909
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
13910
$as_echo "$ac_try_echo"; } >&5
 
13911
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
13912
  ac_status=$?
 
13913
  if test -s conftest.err; then
 
13914
    sed '10a\
 
13915
... rest of stderr output deleted ...
 
13916
         10q' conftest.err >conftest.er1
 
13917
    cat conftest.er1 >&5
 
13918
    rm -f conftest.er1 conftest.err
 
13919
  fi
 
13920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13921
  test $ac_status = 0; }
 
13922
done
 
13923
 
 
13924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
13925
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
13926
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
13927
  $as_echo_n "(cached) " >&6
 
13928
else
 
13929
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13930
/* end confdefs.h.  */
 
13931
 
 
13932
int
 
13933
main ()
 
13934
{
 
13935
#ifndef __GNUC__
 
13936
       choke me
 
13937
#endif
 
13938
 
 
13939
  ;
 
13940
  return 0;
 
13941
}
 
13942
_ACEOF
 
13943
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13944
  ac_compiler_gnu=yes
 
13945
else
 
13946
  ac_compiler_gnu=no
 
13947
fi
 
13948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13949
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
13950
 
 
13951
fi
 
13952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
13953
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
13954
if test $ac_compiler_gnu = yes; then
 
13955
  GXX=yes
 
13956
else
 
13957
  GXX=
 
13958
fi
 
13959
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
13960
ac_save_CXXFLAGS=$CXXFLAGS
 
13961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
13962
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
13963
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
13964
  $as_echo_n "(cached) " >&6
 
13965
else
 
13966
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
13967
   ac_cxx_werror_flag=yes
 
13968
   ac_cv_prog_cxx_g=no
 
13969
   CXXFLAGS="-g"
 
13970
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13971
/* end confdefs.h.  */
 
13972
 
 
13973
int
 
13974
main ()
 
13975
{
 
13976
 
 
13977
  ;
 
13978
  return 0;
 
13979
}
 
13980
_ACEOF
 
13981
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13982
  ac_cv_prog_cxx_g=yes
 
13983
else
 
13984
  CXXFLAGS=""
 
13985
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13986
/* end confdefs.h.  */
 
13987
 
 
13988
int
 
13989
main ()
 
13990
{
 
13991
 
 
13992
  ;
 
13993
  return 0;
 
13994
}
 
13995
_ACEOF
 
13996
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13997
 
 
13998
else
 
13999
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
14000
         CXXFLAGS="-g"
 
14001
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14002
/* end confdefs.h.  */
 
14003
 
 
14004
int
 
14005
main ()
 
14006
{
 
14007
 
 
14008
  ;
 
14009
  return 0;
 
14010
}
 
14011
_ACEOF
 
14012
if ac_fn_cxx_try_compile "$LINENO"; then :
 
14013
  ac_cv_prog_cxx_g=yes
 
14014
fi
 
14015
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14016
fi
 
14017
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14018
fi
 
14019
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14020
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
14021
fi
 
14022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
14023
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
14024
if test "$ac_test_CXXFLAGS" = set; then
 
14025
  CXXFLAGS=$ac_save_CXXFLAGS
 
14026
elif test $ac_cv_prog_cxx_g = yes; then
 
14027
  if test "$GXX" = yes; then
 
14028
    CXXFLAGS="-g -O2"
 
14029
  else
 
14030
    CXXFLAGS="-g"
 
14031
  fi
 
14032
else
 
14033
  if test "$GXX" = yes; then
 
14034
    CXXFLAGS="-O2"
 
14035
  else
 
14036
    CXXFLAGS=
 
14037
  fi
 
14038
fi
 
14039
ac_ext=c
 
14040
ac_cpp='$CPP $CPPFLAGS'
 
14041
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14042
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14043
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14044
 
 
14045
depcc="$CXX"  am_compiler_list=
 
14046
 
 
14047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
14048
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
14049
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
14050
  $as_echo_n "(cached) " >&6
 
14051
else
 
14052
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
14053
  # We make a subdir and do the tests there.  Otherwise we can end up
 
14054
  # making bogus files that we don't know about and never remove.  For
 
14055
  # instance it was reported that on HP-UX the gcc test will end up
 
14056
  # making a dummy file named `D' -- because `-MD' means `put the output
 
14057
  # in D'.
 
14058
  mkdir conftest.dir
 
14059
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
14060
  # using a relative directory.
 
14061
  cp "$am_depcomp" conftest.dir
 
14062
  cd conftest.dir
 
14063
  # We will build objects and dependencies in a subdirectory because
 
14064
  # it helps to detect inapplicable dependency modes.  For instance
 
14065
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
14066
  # side effect of compilation, but ICC will put the dependencies in
 
14067
  # the current directory while Tru64 will put them in the object
 
14068
  # directory.
 
14069
  mkdir sub
 
14070
 
 
14071
  am_cv_CXX_dependencies_compiler_type=none
 
14072
  if test "$am_compiler_list" = ""; then
 
14073
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
14074
  fi
 
14075
  for depmode in $am_compiler_list; do
 
14076
    # Setup a source with many dependencies, because some compilers
 
14077
    # like to wrap large dependency lists on column 80 (with \), and
 
14078
    # we should not choose a depcomp mode which is confused by this.
 
14079
    #
 
14080
    # We need to recreate these files for each test, as the compiler may
 
14081
    # overwrite some of them when testing with obscure command lines.
 
14082
    # This happens at least with the AIX C compiler.
 
14083
    : > sub/conftest.c
 
14084
    for i in 1 2 3 4 5 6; do
 
14085
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
14086
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
14087
      # Solaris 8's {/usr,}/bin/sh.
 
14088
      touch sub/conftst$i.h
 
14089
    done
 
14090
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
14091
 
 
14092
    case $depmode in
 
14093
    nosideeffect)
 
14094
      # after this tag, mechanisms are not by side-effect, so they'll
 
14095
      # only be used when explicitly requested
 
14096
      if test "x$enable_dependency_tracking" = xyes; then
 
14097
        continue
 
14098
      else
 
14099
        break
 
14100
      fi
 
14101
      ;;
 
14102
    none) break ;;
 
14103
    esac
 
14104
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
14105
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
14106
    # handle `-M -o', and we need to detect this.
 
14107
    if depmode=$depmode \
 
14108
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
14109
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
14110
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
14111
         >/dev/null 2>conftest.err &&
 
14112
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
14113
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
14114
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
14115
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
14116
      # icc doesn't choke on unknown options, it will just issue warnings
 
14117
      # or remarks (even with -Werror).  So we grep stderr for any message
 
14118
      # that says an option was ignored or not supported.
 
14119
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
14120
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
14121
      # The diagnosis changed in icc 8.0:
 
14122
      #   icc: Command line remark: option '-MP' not supported
 
14123
      if (grep 'ignoring option' conftest.err ||
 
14124
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
14125
        am_cv_CXX_dependencies_compiler_type=$depmode
 
14126
        break
 
14127
      fi
 
14128
    fi
 
14129
  done
 
14130
 
 
14131
  cd ..
 
14132
  rm -rf conftest.dir
 
14133
else
 
14134
  am_cv_CXX_dependencies_compiler_type=none
 
14135
fi
 
14136
 
 
14137
fi
 
14138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
14139
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
14140
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
14141
 
 
14142
 if
 
14143
  test "x$enable_dependency_tracking" != xno \
 
14144
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
14145
  am__fastdepCXX_TRUE=
 
14146
  am__fastdepCXX_FALSE='#'
 
14147
else
 
14148
  am__fastdepCXX_TRUE='#'
 
14149
  am__fastdepCXX_FALSE=
 
14150
fi
 
14151
 
 
14152
 
 
14153
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
14154
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
14155
    (test "X$CXX" != "Xg++"))) ; then
 
14156
  ac_ext=cpp
 
14157
ac_cpp='$CXXCPP $CPPFLAGS'
 
14158
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14159
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14160
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
14162
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
14163
if test -z "$CXXCPP"; then
 
14164
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
14165
  $as_echo_n "(cached) " >&6
 
14166
else
 
14167
      # Double quotes because CXXCPP needs to be expanded
 
14168
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
14169
    do
 
14170
      ac_preproc_ok=false
 
14171
for ac_cxx_preproc_warn_flag in '' yes
 
14172
do
 
14173
  # Use a header file that comes with gcc, so configuring glibc
 
14174
  # with a fresh cross-compiler works.
 
14175
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14176
  # <limits.h> exists even on freestanding compilers.
 
14177
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
14178
  # not just through cpp. "Syntax error" is here to catch this case.
 
14179
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14180
/* end confdefs.h.  */
 
14181
#ifdef __STDC__
 
14182
# include <limits.h>
 
14183
#else
 
14184
# include <assert.h>
 
14185
#endif
 
14186
                     Syntax error
 
14187
_ACEOF
 
14188
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14189
 
 
14190
else
 
14191
  # Broken: fails on valid input.
 
14192
continue
 
14193
fi
 
14194
rm -f conftest.err conftest.$ac_ext
 
14195
 
 
14196
  # OK, works on sane cases.  Now check whether nonexistent headers
 
14197
  # can be detected and how.
 
14198
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14199
/* end confdefs.h.  */
 
14200
#include <ac_nonexistent.h>
 
14201
_ACEOF
 
14202
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14203
  # Broken: success on invalid input.
 
14204
continue
 
14205
else
 
14206
  # Passes both tests.
 
14207
ac_preproc_ok=:
 
14208
break
 
14209
fi
 
14210
rm -f conftest.err conftest.$ac_ext
 
14211
 
 
14212
done
 
14213
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
14214
rm -f conftest.err conftest.$ac_ext
 
14215
if $ac_preproc_ok; then :
 
14216
  break
 
14217
fi
 
14218
 
 
14219
    done
 
14220
    ac_cv_prog_CXXCPP=$CXXCPP
 
14221
 
 
14222
fi
 
14223
  CXXCPP=$ac_cv_prog_CXXCPP
 
14224
else
 
14225
  ac_cv_prog_CXXCPP=$CXXCPP
 
14226
fi
 
14227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
14228
$as_echo "$CXXCPP" >&6; }
 
14229
ac_preproc_ok=false
 
14230
for ac_cxx_preproc_warn_flag in '' yes
 
14231
do
 
14232
  # Use a header file that comes with gcc, so configuring glibc
 
14233
  # with a fresh cross-compiler works.
 
14234
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14235
  # <limits.h> exists even on freestanding compilers.
 
14236
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
14237
  # not just through cpp. "Syntax error" is here to catch this case.
 
14238
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14239
/* end confdefs.h.  */
 
14240
#ifdef __STDC__
 
14241
# include <limits.h>
 
14242
#else
 
14243
# include <assert.h>
 
14244
#endif
 
14245
                     Syntax error
 
14246
_ACEOF
 
14247
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14248
 
 
14249
else
 
14250
  # Broken: fails on valid input.
 
14251
continue
 
14252
fi
 
14253
rm -f conftest.err conftest.$ac_ext
 
14254
 
 
14255
  # OK, works on sane cases.  Now check whether nonexistent headers
 
14256
  # can be detected and how.
 
14257
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14258
/* end confdefs.h.  */
 
14259
#include <ac_nonexistent.h>
 
14260
_ACEOF
 
14261
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14262
  # Broken: success on invalid input.
 
14263
continue
 
14264
else
 
14265
  # Passes both tests.
 
14266
ac_preproc_ok=:
 
14267
break
 
14268
fi
 
14269
rm -f conftest.err conftest.$ac_ext
 
14270
 
 
14271
done
 
14272
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
14273
rm -f conftest.err conftest.$ac_ext
 
14274
if $ac_preproc_ok; then :
 
14275
 
 
14276
else
 
14277
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14278
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14279
_lt_caught_CXX_error=yes; }
 
14280
fi
 
14281
 
 
14282
ac_ext=c
 
14283
ac_cpp='$CPP $CPPFLAGS'
 
14284
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14285
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14286
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14287
 
 
14288
else
 
14289
  _lt_caught_CXX_error=yes
 
14290
fi
 
14291
 
 
14292
 
 
14293
 
 
14294
 
 
14295
ac_ext=cpp
 
14296
ac_cpp='$CXXCPP $CPPFLAGS'
 
14297
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14298
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14299
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14300
 
 
14301
archive_cmds_need_lc_CXX=no
 
14302
allow_undefined_flag_CXX=
 
14303
always_export_symbols_CXX=no
 
14304
archive_expsym_cmds_CXX=
 
14305
compiler_needs_object_CXX=no
 
14306
export_dynamic_flag_spec_CXX=
 
14307
hardcode_direct_CXX=no
 
14308
hardcode_direct_absolute_CXX=no
 
14309
hardcode_libdir_flag_spec_CXX=
 
14310
hardcode_libdir_flag_spec_ld_CXX=
 
14311
hardcode_libdir_separator_CXX=
 
14312
hardcode_minus_L_CXX=no
 
14313
hardcode_shlibpath_var_CXX=unsupported
 
14314
hardcode_automatic_CXX=no
 
14315
inherit_rpath_CXX=no
 
14316
module_cmds_CXX=
 
14317
module_expsym_cmds_CXX=
 
14318
link_all_deplibs_CXX=unknown
 
14319
old_archive_cmds_CXX=$old_archive_cmds
 
14320
no_undefined_flag_CXX=
 
14321
whole_archive_flag_spec_CXX=
 
14322
enable_shared_with_static_runtimes_CXX=no
 
14323
 
 
14324
# Source file extension for C++ test sources.
 
14325
ac_ext=cpp
 
14326
 
 
14327
# Object file extension for compiled C++ test sources.
 
14328
objext=o
 
14329
objext_CXX=$objext
 
14330
 
 
14331
# No sense in running all these tests if we already determined that
 
14332
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
14333
# are currently assumed to apply to all compilers on this platform,
 
14334
# and will be corrupted by setting them based on a non-working compiler.
 
14335
if test "$_lt_caught_CXX_error" != yes; then
 
14336
  # Code to be used in simple compile tests
 
14337
  lt_simple_compile_test_code="int some_variable = 0;"
 
14338
 
 
14339
  # Code to be used in simple link tests
 
14340
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
14341
 
 
14342
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
14343
 
 
14344
 
 
14345
 
 
14346
 
 
14347
 
 
14348
 
 
14349
# If no C compiler was specified, use CC.
 
14350
LTCC=${LTCC-"$CC"}
 
14351
 
 
14352
# If no C compiler flags were specified, use CFLAGS.
 
14353
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14354
 
 
14355
# Allow CC to be a program name with arguments.
 
14356
compiler=$CC
 
14357
 
 
14358
 
 
14359
  # save warnings/boilerplate of simple test code
 
14360
  ac_outfile=conftest.$ac_objext
 
14361
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14362
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14363
_lt_compiler_boilerplate=`cat conftest.err`
 
14364
$RM conftest*
 
14365
 
 
14366
  ac_outfile=conftest.$ac_objext
 
14367
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
14368
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14369
_lt_linker_boilerplate=`cat conftest.err`
 
14370
$RM -r conftest*
 
14371
 
 
14372
 
 
14373
  # Allow CC to be a program name with arguments.
 
14374
  lt_save_CC=$CC
 
14375
  lt_save_LD=$LD
 
14376
  lt_save_GCC=$GCC
 
14377
  GCC=$GXX
 
14378
  lt_save_with_gnu_ld=$with_gnu_ld
 
14379
  lt_save_path_LD=$lt_cv_path_LD
 
14380
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
14381
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
14382
  else
 
14383
    $as_unset lt_cv_prog_gnu_ld
 
14384
  fi
 
14385
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
14386
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
14387
  else
 
14388
    $as_unset lt_cv_path_LD
 
14389
  fi
 
14390
  test -z "${LDCXX+set}" || LD=$LDCXX
 
14391
  CC=${CXX-"c++"}
 
14392
  compiler=$CC
 
14393
  compiler_CXX=$CC
 
14394
  for cc_temp in $compiler""; do
 
14395
  case $cc_temp in
 
14396
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14397
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14398
    \-*) ;;
 
14399
    *) break;;
 
14400
  esac
 
14401
done
 
14402
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14403
 
 
14404
 
 
14405
  if test -n "$compiler"; then
 
14406
    # We don't want -fno-exception when compiling C++ code, so set the
 
14407
    # no_builtin_flag separately
 
14408
    if test "$GXX" = yes; then
 
14409
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
14410
    else
 
14411
      lt_prog_compiler_no_builtin_flag_CXX=
 
14412
    fi
 
14413
 
 
14414
    if test "$GXX" = yes; then
 
14415
      # Set up default GNU C++ configuration
 
14416
 
 
14417
 
 
14418
 
 
14419
# Check whether --with-gnu-ld was given.
 
14420
if test "${with_gnu_ld+set}" = set; then :
 
14421
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
14422
else
 
14423
  with_gnu_ld=no
 
14424
fi
 
14425
 
 
14426
ac_prog=ld
 
14427
if test "$GCC" = yes; then
 
14428
  # Check if gcc -print-prog-name=ld gives a path.
 
14429
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
14430
$as_echo_n "checking for ld used by $CC... " >&6; }
 
14431
  case $host in
 
14432
  *-*-mingw*)
 
14433
    # gcc leaves a trailing carriage return which upsets mingw
 
14434
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
14435
  *)
 
14436
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
14437
  esac
 
14438
  case $ac_prog in
 
14439
    # Accept absolute paths.
 
14440
    [\\/]* | ?:[\\/]*)
 
14441
      re_direlt='/[^/][^/]*/\.\./'
 
14442
      # Canonicalize the pathname of ld
 
14443
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
14444
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
14445
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
14446
      done
 
14447
      test -z "$LD" && LD="$ac_prog"
 
14448
      ;;
 
14449
  "")
 
14450
    # If it fails, then pretend we aren't using GCC.
 
14451
    ac_prog=ld
 
14452
    ;;
 
14453
  *)
 
14454
    # If it is relative, then search for the first ld in PATH.
 
14455
    with_gnu_ld=unknown
 
14456
    ;;
 
14457
  esac
 
14458
elif test "$with_gnu_ld" = yes; then
 
14459
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
14460
$as_echo_n "checking for GNU ld... " >&6; }
 
14461
else
 
14462
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
14463
$as_echo_n "checking for non-GNU ld... " >&6; }
 
14464
fi
 
14465
if test "${lt_cv_path_LD+set}" = set; then :
 
14466
  $as_echo_n "(cached) " >&6
 
14467
else
 
14468
  if test -z "$LD"; then
 
14469
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
14470
  for ac_dir in $PATH; do
 
14471
    IFS="$lt_save_ifs"
 
14472
    test -z "$ac_dir" && ac_dir=.
 
14473
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
14474
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
14475
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
14476
      # but apparently some variants of GNU ld only accept -v.
 
14477
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
14478
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
14479
      *GNU* | *'with BFD'*)
 
14480
        test "$with_gnu_ld" != no && break
 
14481
        ;;
 
14482
      *)
 
14483
        test "$with_gnu_ld" != yes && break
 
14484
        ;;
 
14485
      esac
 
14486
    fi
 
14487
  done
 
14488
  IFS="$lt_save_ifs"
 
14489
else
 
14490
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
14491
fi
 
14492
fi
 
14493
 
 
14494
LD="$lt_cv_path_LD"
 
14495
if test -n "$LD"; then
 
14496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
14497
$as_echo "$LD" >&6; }
 
14498
else
 
14499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14500
$as_echo "no" >&6; }
 
14501
fi
 
14502
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
14503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
14504
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
14505
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
14506
  $as_echo_n "(cached) " >&6
 
14507
else
 
14508
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
14509
case `$LD -v 2>&1 </dev/null` in
 
14510
*GNU* | *'with BFD'*)
 
14511
  lt_cv_prog_gnu_ld=yes
 
14512
  ;;
 
14513
*)
 
14514
  lt_cv_prog_gnu_ld=no
 
14515
  ;;
 
14516
esac
 
14517
fi
 
14518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
14519
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
14520
with_gnu_ld=$lt_cv_prog_gnu_ld
 
14521
 
 
14522
 
 
14523
 
 
14524
 
 
14525
 
 
14526
 
 
14527
 
 
14528
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
14529
      # archiving commands below assume that GNU ld is being used.
 
14530
      if test "$with_gnu_ld" = yes; then
 
14531
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14532
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
14533
 
 
14534
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
14535
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
14536
 
 
14537
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
14538
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
14539
        #     investigate it a little bit more. (MM)
 
14540
        wlarc='${wl}'
 
14541
 
 
14542
        # ancient GNU ld didn't support --whole-archive et. al.
 
14543
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
14544
          $GREP 'no-whole-archive' > /dev/null; then
 
14545
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14546
        else
 
14547
          whole_archive_flag_spec_CXX=
 
14548
        fi
 
14549
      else
 
14550
        with_gnu_ld=no
 
14551
        wlarc=
 
14552
 
 
14553
        # A generic and very simple default shared library creation
 
14554
        # command for GNU C++ for the case where it uses the native
 
14555
        # linker, instead of GNU ld.  If possible, this setting should
 
14556
        # overridden to take advantage of the native linker features on
 
14557
        # the platform it is being used on.
 
14558
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
14559
      fi
 
14560
 
 
14561
      # Commands to make compiler produce verbose output that lists
 
14562
      # what "hidden" libraries, object files and flags are used when
 
14563
      # linking a shared library.
 
14564
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14565
 
 
14566
    else
 
14567
      GXX=no
 
14568
      with_gnu_ld=no
 
14569
      wlarc=
 
14570
    fi
 
14571
 
 
14572
    # PORTME: fill in a description of your system's C++ link characteristics
 
14573
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14574
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
14575
    ld_shlibs_CXX=yes
 
14576
    case $host_os in
 
14577
      aix3*)
 
14578
        # FIXME: insert proper C++ library support
 
14579
        ld_shlibs_CXX=no
 
14580
        ;;
 
14581
      aix[4-9]*)
 
14582
        if test "$host_cpu" = ia64; then
 
14583
          # On IA64, the linker does run time linking by default, so we don't
 
14584
          # have to do anything special.
 
14585
          aix_use_runtimelinking=no
 
14586
          exp_sym_flag='-Bexport'
 
14587
          no_entry_flag=""
 
14588
        else
 
14589
          aix_use_runtimelinking=no
 
14590
 
 
14591
          # Test if we are trying to use run time linking or normal
 
14592
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
14593
          # need to do runtime linking.
 
14594
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
14595
            for ld_flag in $LDFLAGS; do
 
14596
              case $ld_flag in
 
14597
              *-brtl*)
 
14598
                aix_use_runtimelinking=yes
 
14599
                break
 
14600
                ;;
 
14601
              esac
 
14602
            done
 
14603
            ;;
 
14604
          esac
 
14605
 
 
14606
          exp_sym_flag='-bexport'
 
14607
          no_entry_flag='-bnoentry'
 
14608
        fi
 
14609
 
 
14610
        # When large executables or shared objects are built, AIX ld can
 
14611
        # have problems creating the table of contents.  If linking a library
 
14612
        # or program results in "error TOC overflow" add -mminimal-toc to
 
14613
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
14614
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
14615
 
 
14616
        archive_cmds_CXX=''
 
14617
        hardcode_direct_CXX=yes
 
14618
        hardcode_direct_absolute_CXX=yes
 
14619
        hardcode_libdir_separator_CXX=':'
 
14620
        link_all_deplibs_CXX=yes
 
14621
        file_list_spec_CXX='${wl}-f,'
 
14622
 
 
14623
        if test "$GXX" = yes; then
 
14624
          case $host_os in aix4.[012]|aix4.[012].*)
 
14625
          # We only want to do this on AIX 4.2 and lower, the check
 
14626
          # below for broken collect2 doesn't work under 4.3+
 
14627
          collect2name=`${CC} -print-prog-name=collect2`
 
14628
          if test -f "$collect2name" &&
 
14629
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
14630
          then
 
14631
            # We have reworked collect2
 
14632
            :
 
14633
          else
 
14634
            # We have old collect2
 
14635
            hardcode_direct_CXX=unsupported
 
14636
            # It fails to find uninstalled libraries when the uninstalled
 
14637
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
14638
            # to unsupported forces relinking
 
14639
            hardcode_minus_L_CXX=yes
 
14640
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
14641
            hardcode_libdir_separator_CXX=
 
14642
          fi
 
14643
          esac
 
14644
          shared_flag='-shared'
 
14645
          if test "$aix_use_runtimelinking" = yes; then
 
14646
            shared_flag="$shared_flag "'${wl}-G'
 
14647
          fi
 
14648
        else
 
14649
          # not using gcc
 
14650
          if test "$host_cpu" = ia64; then
 
14651
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
14652
          # chokes on -Wl,-G. The following line is correct:
 
14653
          shared_flag='-G'
 
14654
          else
 
14655
            if test "$aix_use_runtimelinking" = yes; then
 
14656
              shared_flag='${wl}-G'
 
14657
            else
 
14658
              shared_flag='${wl}-bM:SRE'
 
14659
            fi
 
14660
          fi
 
14661
        fi
 
14662
 
 
14663
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
14664
        # It seems that -bexpall does not export symbols beginning with
 
14665
        # underscore (_), so it is better to generate a list of symbols to
 
14666
        # export.
 
14667
        always_export_symbols_CXX=yes
 
14668
        if test "$aix_use_runtimelinking" = yes; then
 
14669
          # Warning - without using the other runtime loading flags (-brtl),
 
14670
          # -berok will link without error, but may produce a broken library.
 
14671
          allow_undefined_flag_CXX='-berok'
 
14672
          # Determine the default libpath from the value encoded in an empty
 
14673
          # executable.
 
14674
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14675
/* end confdefs.h.  */
 
14676
 
 
14677
int
 
14678
main ()
 
14679
{
 
14680
 
 
14681
  ;
 
14682
  return 0;
 
14683
}
 
14684
_ACEOF
 
14685
if ac_fn_cxx_try_link "$LINENO"; then :
 
14686
 
 
14687
lt_aix_libpath_sed='
 
14688
    /Import File Strings/,/^$/ {
 
14689
        /^0/ {
 
14690
            s/^0  *\(.*\)$/\1/
 
14691
            p
 
14692
        }
 
14693
    }'
 
14694
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14695
# Check for a 64-bit object if we didn't find anything.
 
14696
if test -z "$aix_libpath"; then
 
14697
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14698
fi
 
14699
fi
 
14700
rm -f core conftest.err conftest.$ac_objext \
 
14701
    conftest$ac_exeext conftest.$ac_ext
 
14702
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
14703
 
 
14704
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
14705
 
 
14706
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
14707
        else
 
14708
          if test "$host_cpu" = ia64; then
 
14709
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
14710
            allow_undefined_flag_CXX="-z nodefs"
 
14711
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
14712
          else
 
14713
            # Determine the default libpath from the value encoded in an
 
14714
            # empty executable.
 
14715
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14716
/* end confdefs.h.  */
 
14717
 
 
14718
int
 
14719
main ()
 
14720
{
 
14721
 
 
14722
  ;
 
14723
  return 0;
 
14724
}
 
14725
_ACEOF
 
14726
if ac_fn_cxx_try_link "$LINENO"; then :
 
14727
 
 
14728
lt_aix_libpath_sed='
 
14729
    /Import File Strings/,/^$/ {
 
14730
        /^0/ {
 
14731
            s/^0  *\(.*\)$/\1/
 
14732
            p
 
14733
        }
 
14734
    }'
 
14735
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14736
# Check for a 64-bit object if we didn't find anything.
 
14737
if test -z "$aix_libpath"; then
 
14738
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14739
fi
 
14740
fi
 
14741
rm -f core conftest.err conftest.$ac_objext \
 
14742
    conftest$ac_exeext conftest.$ac_ext
 
14743
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
14744
 
 
14745
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
14746
            # Warning - without using the other run time loading flags,
 
14747
            # -berok will link without error, but may produce a broken library.
 
14748
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
14749
            allow_undefined_flag_CXX=' ${wl}-berok'
 
14750
            # Exported symbols can be pulled into shared objects from archives
 
14751
            whole_archive_flag_spec_CXX='$convenience'
 
14752
            archive_cmds_need_lc_CXX=yes
 
14753
            # This is similar to how AIX traditionally builds its shared
 
14754
            # libraries.
 
14755
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
14756
          fi
 
14757
        fi
 
14758
        ;;
 
14759
 
 
14760
      beos*)
 
14761
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
14762
          allow_undefined_flag_CXX=unsupported
 
14763
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
14764
          # support --undefined.  This deserves some investigation.  FIXME
 
14765
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14766
        else
 
14767
          ld_shlibs_CXX=no
 
14768
        fi
 
14769
        ;;
 
14770
 
 
14771
      chorus*)
 
14772
        case $cc_basename in
 
14773
          *)
 
14774
          # FIXME: insert proper C++ library support
 
14775
          ld_shlibs_CXX=no
 
14776
          ;;
 
14777
        esac
 
14778
        ;;
 
14779
 
 
14780
      cygwin* | mingw* | pw32* | cegcc*)
 
14781
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
14782
        # as there is no search path for DLLs.
 
14783
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
14784
        allow_undefined_flag_CXX=unsupported
 
14785
        always_export_symbols_CXX=no
 
14786
        enable_shared_with_static_runtimes_CXX=yes
 
14787
 
 
14788
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
14789
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
14790
          # If the export-symbols file already is a .def file (1st line
 
14791
          # is EXPORTS), use it as is; otherwise, prepend...
 
14792
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
14793
            cp $export_symbols $output_objdir/$soname.def;
 
14794
          else
 
14795
            echo EXPORTS > $output_objdir/$soname.def;
 
14796
            cat $export_symbols >> $output_objdir/$soname.def;
 
14797
          fi~
 
14798
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
14799
        else
 
14800
          ld_shlibs_CXX=no
 
14801
        fi
 
14802
        ;;
 
14803
      darwin* | rhapsody*)
 
14804
 
 
14805
 
 
14806
  archive_cmds_need_lc_CXX=no
 
14807
  hardcode_direct_CXX=no
 
14808
  hardcode_automatic_CXX=yes
 
14809
  hardcode_shlibpath_var_CXX=unsupported
 
14810
  whole_archive_flag_spec_CXX=''
 
14811
  link_all_deplibs_CXX=yes
 
14812
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
14813
  case $cc_basename in
 
14814
     ifort*) _lt_dar_can_shared=yes ;;
 
14815
     *) _lt_dar_can_shared=$GCC ;;
 
14816
  esac
 
14817
  if test "$_lt_dar_can_shared" = "yes"; then
 
14818
    output_verbose_link_cmd=echo
 
14819
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
14820
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
14821
    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
14822
    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
14823
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
14824
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
14825
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
14826
    fi
 
14827
 
 
14828
  else
 
14829
  ld_shlibs_CXX=no
 
14830
  fi
 
14831
 
 
14832
        ;;
 
14833
 
 
14834
      dgux*)
 
14835
        case $cc_basename in
 
14836
          ec++*)
 
14837
            # FIXME: insert proper C++ library support
 
14838
            ld_shlibs_CXX=no
 
14839
            ;;
 
14840
          ghcx*)
 
14841
            # Green Hills C++ Compiler
 
14842
            # FIXME: insert proper C++ library support
 
14843
            ld_shlibs_CXX=no
 
14844
            ;;
 
14845
          *)
 
14846
            # FIXME: insert proper C++ library support
 
14847
            ld_shlibs_CXX=no
 
14848
            ;;
 
14849
        esac
 
14850
        ;;
 
14851
 
 
14852
      freebsd[12]*)
 
14853
        # C++ shared libraries reported to be fairly broken before
 
14854
        # switch to ELF
 
14855
        ld_shlibs_CXX=no
 
14856
        ;;
 
14857
 
 
14858
      freebsd-elf*)
 
14859
        archive_cmds_need_lc_CXX=no
 
14860
        ;;
 
14861
 
 
14862
      freebsd* | dragonfly*)
 
14863
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
14864
        # conventions
 
14865
        ld_shlibs_CXX=yes
 
14866
        ;;
 
14867
 
 
14868
      gnu*)
 
14869
        ;;
 
14870
 
 
14871
      hpux9*)
 
14872
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
14873
        hardcode_libdir_separator_CXX=:
 
14874
        export_dynamic_flag_spec_CXX='${wl}-E'
 
14875
        hardcode_direct_CXX=yes
 
14876
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
14877
                                             # but as the default
 
14878
                                             # location of the library.
 
14879
 
 
14880
        case $cc_basename in
 
14881
          CC*)
 
14882
            # FIXME: insert proper C++ library support
 
14883
            ld_shlibs_CXX=no
 
14884
            ;;
 
14885
          aCC*)
 
14886
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
14887
            # Commands to make compiler produce verbose output that lists
 
14888
            # what "hidden" libraries, object files and flags are used when
 
14889
            # linking a shared library.
 
14890
            #
 
14891
            # There doesn't appear to be a way to prevent this compiler from
 
14892
            # explicitly linking system object files so we need to strip them
 
14893
            # from the output so that they don't get included in the library
 
14894
            # dependencies.
 
14895
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14896
            ;;
 
14897
          *)
 
14898
            if test "$GXX" = yes; then
 
14899
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
14900
            else
 
14901
              # FIXME: insert proper C++ library support
 
14902
              ld_shlibs_CXX=no
 
14903
            fi
 
14904
            ;;
 
14905
        esac
 
14906
        ;;
 
14907
 
 
14908
      hpux10*|hpux11*)
 
14909
        if test $with_gnu_ld = no; then
 
14910
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
14911
          hardcode_libdir_separator_CXX=:
 
14912
 
 
14913
          case $host_cpu in
 
14914
            hppa*64*|ia64*)
 
14915
              ;;
 
14916
            *)
 
14917
              export_dynamic_flag_spec_CXX='${wl}-E'
 
14918
              ;;
 
14919
          esac
 
14920
        fi
 
14921
        case $host_cpu in
 
14922
          hppa*64*|ia64*)
 
14923
            hardcode_direct_CXX=no
 
14924
            hardcode_shlibpath_var_CXX=no
 
14925
            ;;
 
14926
          *)
 
14927
            hardcode_direct_CXX=yes
 
14928
            hardcode_direct_absolute_CXX=yes
 
14929
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
14930
                                                 # but as the default
 
14931
                                                 # location of the library.
 
14932
            ;;
 
14933
        esac
 
14934
 
 
14935
        case $cc_basename in
 
14936
          CC*)
 
14937
            # FIXME: insert proper C++ library support
 
14938
            ld_shlibs_CXX=no
 
14939
            ;;
 
14940
          aCC*)
 
14941
            case $host_cpu in
 
14942
              hppa*64*)
 
14943
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14944
                ;;
 
14945
              ia64*)
 
14946
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14947
                ;;
 
14948
              *)
 
14949
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14950
                ;;
 
14951
            esac
 
14952
            # Commands to make compiler produce verbose output that lists
 
14953
            # what "hidden" libraries, object files and flags are used when
 
14954
            # linking a shared library.
 
14955
            #
 
14956
            # There doesn't appear to be a way to prevent this compiler from
 
14957
            # explicitly linking system object files so we need to strip them
 
14958
            # from the output so that they don't get included in the library
 
14959
            # dependencies.
 
14960
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14961
            ;;
 
14962
          *)
 
14963
            if test "$GXX" = yes; then
 
14964
              if test $with_gnu_ld = no; then
 
14965
                case $host_cpu in
 
14966
                  hppa*64*)
 
14967
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14968
                    ;;
 
14969
                  ia64*)
 
14970
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14971
                    ;;
 
14972
                  *)
 
14973
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14974
                    ;;
 
14975
                esac
 
14976
              fi
 
14977
            else
 
14978
              # FIXME: insert proper C++ library support
 
14979
              ld_shlibs_CXX=no
 
14980
            fi
 
14981
            ;;
 
14982
        esac
 
14983
        ;;
 
14984
 
 
14985
      interix[3-9]*)
 
14986
        hardcode_direct_CXX=no
 
14987
        hardcode_shlibpath_var_CXX=no
 
14988
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
14989
        export_dynamic_flag_spec_CXX='${wl}-E'
 
14990
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
14991
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
14992
        # default) and relocated if they conflict, which is a slow very memory
 
14993
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
14994
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
14995
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
14996
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
14997
        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
14998
        ;;
 
14999
      irix5* | irix6*)
 
15000
        case $cc_basename in
 
15001
          CC*)
 
15002
            # SGI C++
 
15003
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
15004
 
 
15005
            # Archives containing C++ object files must be created using
 
15006
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
15007
            # necessary to make sure instantiated templates are included
 
15008
            # in the archive.
 
15009
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
15010
            ;;
 
15011
          *)
 
15012
            if test "$GXX" = yes; then
 
15013
              if test "$with_gnu_ld" = no; then
 
15014
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
15015
              else
 
15016
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
15017
              fi
 
15018
            fi
 
15019
            link_all_deplibs_CXX=yes
 
15020
            ;;
 
15021
        esac
 
15022
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15023
        hardcode_libdir_separator_CXX=:
 
15024
        inherit_rpath_CXX=yes
 
15025
        ;;
 
15026
 
 
15027
      linux* | k*bsd*-gnu)
 
15028
        case $cc_basename in
 
15029
          KCC*)
 
15030
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15031
 
 
15032
            # KCC will only create a shared library if the output file
 
15033
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15034
            # to its proper name (with version) after linking.
 
15035
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
15036
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
15037
            # Commands to make compiler produce verbose output that lists
 
15038
            # what "hidden" libraries, object files and flags are used when
 
15039
            # linking a shared library.
 
15040
            #
 
15041
            # There doesn't appear to be a way to prevent this compiler from
 
15042
            # explicitly linking system object files so we need to strip them
 
15043
            # from the output so that they don't get included in the library
 
15044
            # dependencies.
 
15045
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
15046
 
 
15047
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15048
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15049
 
 
15050
            # Archives containing C++ object files must be created using
 
15051
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
15052
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
15053
            ;;
 
15054
          icpc* | ecpc* )
 
15055
            # Intel C++
 
15056
            with_gnu_ld=yes
 
15057
            # version 8.0 and above of icpc choke on multiply defined symbols
 
15058
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
15059
            # earlier do not add the objects themselves.
 
15060
            case `$CC -V 2>&1` in
 
15061
              *"Version 7."*)
 
15062
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15063
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15064
                ;;
 
15065
              *)  # Version 8.0 or newer
 
15066
                tmp_idyn=
 
15067
                case $host_cpu in
 
15068
                  ia64*) tmp_idyn=' -i_dynamic';;
 
15069
                esac
 
15070
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15071
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15072
                ;;
 
15073
            esac
 
15074
            archive_cmds_need_lc_CXX=no
 
15075
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15076
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15077
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
15078
            ;;
 
15079
          pgCC* | pgcpp*)
 
15080
            # Portland Group C++ compiler
 
15081
            case `$CC -V` in
 
15082
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
15083
              prelink_cmds_CXX='tpldir=Template.dir~
 
15084
                rm -rf $tpldir~
 
15085
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
15086
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
15087
              old_archive_cmds_CXX='tpldir=Template.dir~
 
15088
                rm -rf $tpldir~
 
15089
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
15090
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
15091
                $RANLIB $oldlib'
 
15092
              archive_cmds_CXX='tpldir=Template.dir~
 
15093
                rm -rf $tpldir~
 
15094
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15095
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15096
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
15097
                rm -rf $tpldir~
 
15098
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15099
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
15100
              ;;
 
15101
            *) # Version 6 will use weak symbols
 
15102
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15103
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
15104
              ;;
 
15105
            esac
 
15106
 
 
15107
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
15108
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15109
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
15110
            ;;
 
15111
          cxx*)
 
15112
            # Compaq C++
 
15113
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15114
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
15115
 
 
15116
            runpath_var=LD_RUN_PATH
 
15117
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15118
            hardcode_libdir_separator_CXX=:
 
15119
 
 
15120
            # Commands to make compiler produce verbose output that lists
 
15121
            # what "hidden" libraries, object files and flags are used when
 
15122
            # linking a shared library.
 
15123
            #
 
15124
            # There doesn't appear to be a way to prevent this compiler from
 
15125
            # explicitly linking system object files so we need to strip them
 
15126
            # from the output so that they don't get included in the library
 
15127
            # dependencies.
 
15128
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
15129
            ;;
 
15130
          xl*)
 
15131
            # IBM XL 8.0 on PPC, with GNU ld
 
15132
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15133
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15134
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15135
            if test "x$supports_anon_versioning" = xyes; then
 
15136
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
15137
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15138
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
15139
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15140
            fi
 
15141
            ;;
 
15142
          *)
 
15143
            case `$CC -V 2>&1 | sed 5q` in
 
15144
            *Sun\ C*)
 
15145
              # Sun C++ 5.9
 
15146
              no_undefined_flag_CXX=' -zdefs'
 
15147
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15148
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
15149
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15150
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
15151
              compiler_needs_object_CXX=yes
 
15152
 
 
15153
              # Not sure whether something based on
 
15154
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
15155
              # would be better.
 
15156
              output_verbose_link_cmd='echo'
 
15157
 
 
15158
              # Archives containing C++ object files must be created using
 
15159
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15160
              # necessary to make sure instantiated templates are included
 
15161
              # in the archive.
 
15162
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15163
              ;;
 
15164
            esac
 
15165
            ;;
 
15166
        esac
 
15167
        ;;
 
15168
 
 
15169
      lynxos*)
 
15170
        # FIXME: insert proper C++ library support
 
15171
        ld_shlibs_CXX=no
 
15172
        ;;
 
15173
 
 
15174
      m88k*)
 
15175
        # FIXME: insert proper C++ library support
 
15176
        ld_shlibs_CXX=no
 
15177
        ;;
 
15178
 
 
15179
      mvs*)
 
15180
        case $cc_basename in
 
15181
          cxx*)
 
15182
            # FIXME: insert proper C++ library support
 
15183
            ld_shlibs_CXX=no
 
15184
            ;;
 
15185
          *)
 
15186
            # FIXME: insert proper C++ library support
 
15187
            ld_shlibs_CXX=no
 
15188
            ;;
 
15189
        esac
 
15190
        ;;
 
15191
 
 
15192
      netbsd*)
 
15193
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
15194
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
15195
          wlarc=
 
15196
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15197
          hardcode_direct_CXX=yes
 
15198
          hardcode_shlibpath_var_CXX=no
 
15199
        fi
 
15200
        # Workaround some broken pre-1.5 toolchains
 
15201
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
15202
        ;;
 
15203
 
 
15204
      *nto* | *qnx*)
 
15205
        ld_shlibs_CXX=yes
 
15206
        ;;
 
15207
 
 
15208
      openbsd2*)
 
15209
        # C++ shared libraries are fairly broken
 
15210
        ld_shlibs_CXX=no
 
15211
        ;;
 
15212
 
 
15213
      openbsd*)
 
15214
        if test -f /usr/libexec/ld.so; then
 
15215
          hardcode_direct_CXX=yes
 
15216
          hardcode_shlibpath_var_CXX=no
 
15217
          hardcode_direct_absolute_CXX=yes
 
15218
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
15219
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15220
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15221
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
15222
            export_dynamic_flag_spec_CXX='${wl}-E'
 
15223
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15224
          fi
 
15225
          output_verbose_link_cmd=echo
 
15226
        else
 
15227
          ld_shlibs_CXX=no
 
15228
        fi
 
15229
        ;;
 
15230
 
 
15231
      osf3* | osf4* | osf5*)
 
15232
        case $cc_basename in
 
15233
          KCC*)
 
15234
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15235
 
 
15236
            # KCC will only create a shared library if the output file
 
15237
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15238
            # to its proper name (with version) after linking.
 
15239
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
15240
 
 
15241
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15242
            hardcode_libdir_separator_CXX=:
 
15243
 
 
15244
            # Archives containing C++ object files must be created using
 
15245
            # the KAI C++ compiler.
 
15246
            case $host in
 
15247
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
15248
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
15249
            esac
 
15250
            ;;
 
15251
          RCC*)
 
15252
            # Rational C++ 2.4.1
 
15253
            # FIXME: insert proper C++ library support
 
15254
            ld_shlibs_CXX=no
 
15255
            ;;
 
15256
          cxx*)
 
15257
            case $host in
 
15258
              osf3*)
 
15259
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15260
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
15261
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15262
                ;;
 
15263
              *)
 
15264
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
15265
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
15266
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
15267
                  echo "-hidden">> $lib.exp~
 
15268
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
15269
                  $RM $lib.exp'
 
15270
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15271
                ;;
 
15272
            esac
 
15273
 
 
15274
            hardcode_libdir_separator_CXX=:
 
15275
 
 
15276
            # Commands to make compiler produce verbose output that lists
 
15277
            # what "hidden" libraries, object files and flags are used when
 
15278
            # linking a shared library.
 
15279
            #
 
15280
            # There doesn't appear to be a way to prevent this compiler from
 
15281
            # explicitly linking system object files so we need to strip them
 
15282
            # from the output so that they don't get included in the library
 
15283
            # dependencies.
 
15284
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
15285
            ;;
 
15286
          *)
 
15287
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15288
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15289
              case $host in
 
15290
                osf3*)
 
15291
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
15292
                  ;;
 
15293
                *)
 
15294
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
15295
                  ;;
 
15296
              esac
 
15297
 
 
15298
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15299
              hardcode_libdir_separator_CXX=:
 
15300
 
 
15301
              # Commands to make compiler produce verbose output that lists
 
15302
              # what "hidden" libraries, object files and flags are used when
 
15303
              # linking a shared library.
 
15304
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15305
 
 
15306
            else
 
15307
              # FIXME: insert proper C++ library support
 
15308
              ld_shlibs_CXX=no
 
15309
            fi
 
15310
            ;;
 
15311
        esac
 
15312
        ;;
 
15313
 
 
15314
      psos*)
 
15315
        # FIXME: insert proper C++ library support
 
15316
        ld_shlibs_CXX=no
 
15317
        ;;
 
15318
 
 
15319
      sunos4*)
 
15320
        case $cc_basename in
 
15321
          CC*)
 
15322
            # Sun C++ 4.x
 
15323
            # FIXME: insert proper C++ library support
 
15324
            ld_shlibs_CXX=no
 
15325
            ;;
 
15326
          lcc*)
 
15327
            # Lucid
 
15328
            # FIXME: insert proper C++ library support
 
15329
            ld_shlibs_CXX=no
 
15330
            ;;
 
15331
          *)
 
15332
            # FIXME: insert proper C++ library support
 
15333
            ld_shlibs_CXX=no
 
15334
            ;;
 
15335
        esac
 
15336
        ;;
 
15337
 
 
15338
      solaris*)
 
15339
        case $cc_basename in
 
15340
          CC*)
 
15341
            # Sun C++ 4.2, 5.x and Centerline C++
 
15342
            archive_cmds_need_lc_CXX=yes
 
15343
            no_undefined_flag_CXX=' -zdefs'
 
15344
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15345
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15346
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15347
 
 
15348
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15349
            hardcode_shlibpath_var_CXX=no
 
15350
            case $host_os in
 
15351
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15352
              *)
 
15353
                # The compiler driver will combine and reorder linker options,
 
15354
                # but understands `-z linker_flag'.
 
15355
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15356
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
15357
                ;;
 
15358
            esac
 
15359
            link_all_deplibs_CXX=yes
 
15360
 
 
15361
            output_verbose_link_cmd='echo'
 
15362
 
 
15363
            # Archives containing C++ object files must be created using
 
15364
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15365
            # necessary to make sure instantiated templates are included
 
15366
            # in the archive.
 
15367
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15368
            ;;
 
15369
          gcx*)
 
15370
            # Green Hills C++ Compiler
 
15371
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15372
 
 
15373
            # The C++ compiler must be used to create the archive.
 
15374
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
15375
            ;;
 
15376
          *)
 
15377
            # GNU C++ compiler with Solaris linker
 
15378
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15379
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
15380
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
15381
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15382
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15383
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15384
 
 
15385
                # Commands to make compiler produce verbose output that lists
 
15386
                # what "hidden" libraries, object files and flags are used when
 
15387
                # linking a shared library.
 
15388
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15389
              else
 
15390
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
15391
                # platform.
 
15392
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15393
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15394
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15395
 
 
15396
                # Commands to make compiler produce verbose output that lists
 
15397
                # what "hidden" libraries, object files and flags are used when
 
15398
                # linking a shared library.
 
15399
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15400
              fi
 
15401
 
 
15402
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
15403
              case $host_os in
 
15404
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15405
                *)
 
15406
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15407
                  ;;
 
15408
              esac
 
15409
            fi
 
15410
            ;;
 
15411
        esac
 
15412
        ;;
 
15413
 
 
15414
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
15415
      no_undefined_flag_CXX='${wl}-z,text'
 
15416
      archive_cmds_need_lc_CXX=no
 
15417
      hardcode_shlibpath_var_CXX=no
 
15418
      runpath_var='LD_RUN_PATH'
 
15419
 
 
15420
      case $cc_basename in
 
15421
        CC*)
 
15422
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15423
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15424
          ;;
 
15425
        *)
 
15426
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15427
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15428
          ;;
 
15429
      esac
 
15430
      ;;
 
15431
 
 
15432
      sysv5* | sco3.2v5* | sco5v6*)
 
15433
        # Note: We can NOT use -z defs as we might desire, because we do not
 
15434
        # link with -lc, and that would cause any symbols used from libc to
 
15435
        # always be unresolved, which means just about no library would
 
15436
        # ever link correctly.  If we're not using GNU ld we use -z text
 
15437
        # though, which does catch some bad symbols but isn't as heavy-handed
 
15438
        # as -z defs.
 
15439
        no_undefined_flag_CXX='${wl}-z,text'
 
15440
        allow_undefined_flag_CXX='${wl}-z,nodefs'
 
15441
        archive_cmds_need_lc_CXX=no
 
15442
        hardcode_shlibpath_var_CXX=no
 
15443
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
15444
        hardcode_libdir_separator_CXX=':'
 
15445
        link_all_deplibs_CXX=yes
 
15446
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
15447
        runpath_var='LD_RUN_PATH'
 
15448
 
 
15449
        case $cc_basename in
 
15450
          CC*)
 
15451
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15452
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15453
            ;;
 
15454
          *)
 
15455
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15456
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15457
            ;;
 
15458
        esac
 
15459
      ;;
 
15460
 
 
15461
      tandem*)
 
15462
        case $cc_basename in
 
15463
          NCC*)
 
15464
            # NonStop-UX NCC 3.20
 
15465
            # FIXME: insert proper C++ library support
 
15466
            ld_shlibs_CXX=no
 
15467
            ;;
 
15468
          *)
 
15469
            # FIXME: insert proper C++ library support
 
15470
            ld_shlibs_CXX=no
 
15471
            ;;
 
15472
        esac
 
15473
        ;;
 
15474
 
 
15475
      vxworks*)
 
15476
        # FIXME: insert proper C++ library support
 
15477
        ld_shlibs_CXX=no
 
15478
        ;;
 
15479
 
 
15480
      *)
 
15481
        # FIXME: insert proper C++ library support
 
15482
        ld_shlibs_CXX=no
 
15483
        ;;
 
15484
    esac
 
15485
 
 
15486
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
15487
$as_echo "$ld_shlibs_CXX" >&6; }
 
15488
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
15489
 
 
15490
    GCC_CXX="$GXX"
 
15491
    LD_CXX="$LD"
 
15492
 
 
15493
    ## CAVEAT EMPTOR:
 
15494
    ## There is no encapsulation within the following macros, do not change
 
15495
    ## the running order or otherwise move them around unless you know exactly
 
15496
    ## what you are doing...
 
15497
    # Dependencies to place before and after the object being linked:
 
15498
predep_objects_CXX=
 
15499
postdep_objects_CXX=
 
15500
predeps_CXX=
 
15501
postdeps_CXX=
 
15502
compiler_lib_search_path_CXX=
 
15503
 
 
15504
cat > conftest.$ac_ext <<_LT_EOF
 
15505
class Foo
 
15506
{
 
15507
public:
 
15508
  Foo (void) { a = 0; }
 
15509
private:
 
15510
  int a;
 
15511
};
 
15512
_LT_EOF
 
15513
 
 
15514
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
15515
  (eval $ac_compile) 2>&5
 
15516
  ac_status=$?
 
15517
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15518
  test $ac_status = 0; }; then
 
15519
  # Parse the compiler output and extract the necessary
 
15520
  # objects, libraries and library flags.
 
15521
 
 
15522
  # Sentinel used to keep track of whether or not we are before
 
15523
  # the conftest object file.
 
15524
  pre_test_object_deps_done=no
 
15525
 
 
15526
  for p in `eval "$output_verbose_link_cmd"`; do
 
15527
    case $p in
 
15528
 
 
15529
    -L* | -R* | -l*)
 
15530
       # Some compilers place space between "-{L,R}" and the path.
 
15531
       # Remove the space.
 
15532
       if test $p = "-L" ||
 
15533
          test $p = "-R"; then
 
15534
         prev=$p
 
15535
         continue
 
15536
       else
 
15537
         prev=
 
15538
       fi
 
15539
 
 
15540
       if test "$pre_test_object_deps_done" = no; then
 
15541
         case $p in
 
15542
         -L* | -R*)
 
15543
           # Internal compiler library paths should come after those
 
15544
           # provided the user.  The postdeps already come after the
 
15545
           # user supplied libs so there is no need to process them.
 
15546
           if test -z "$compiler_lib_search_path_CXX"; then
 
15547
             compiler_lib_search_path_CXX="${prev}${p}"
 
15548
           else
 
15549
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
15550
           fi
 
15551
           ;;
 
15552
         # The "-l" case would never come before the object being
 
15553
         # linked, so don't bother handling this case.
 
15554
         esac
 
15555
       else
 
15556
         if test -z "$postdeps_CXX"; then
 
15557
           postdeps_CXX="${prev}${p}"
 
15558
         else
 
15559
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
15560
         fi
 
15561
       fi
 
15562
       ;;
 
15563
 
 
15564
    *.$objext)
 
15565
       # This assumes that the test object file only shows up
 
15566
       # once in the compiler output.
 
15567
       if test "$p" = "conftest.$objext"; then
 
15568
         pre_test_object_deps_done=yes
 
15569
         continue
 
15570
       fi
 
15571
 
 
15572
       if test "$pre_test_object_deps_done" = no; then
 
15573
         if test -z "$predep_objects_CXX"; then
 
15574
           predep_objects_CXX="$p"
 
15575
         else
 
15576
           predep_objects_CXX="$predep_objects_CXX $p"
 
15577
         fi
 
15578
       else
 
15579
         if test -z "$postdep_objects_CXX"; then
 
15580
           postdep_objects_CXX="$p"
 
15581
         else
 
15582
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
15583
         fi
 
15584
       fi
 
15585
       ;;
 
15586
 
 
15587
    *) ;; # Ignore the rest.
 
15588
 
 
15589
    esac
 
15590
  done
 
15591
 
 
15592
  # Clean up.
 
15593
  rm -f a.out a.exe
 
15594
else
 
15595
  echo "libtool.m4: error: problem compiling CXX test program"
 
15596
fi
 
15597
 
 
15598
$RM -f confest.$objext
 
15599
 
 
15600
# PORTME: override above test on systems where it is broken
 
15601
case $host_os in
 
15602
interix[3-9]*)
 
15603
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
15604
  # hack all around it, let's just trust "g++" to DTRT.
 
15605
  predep_objects_CXX=
 
15606
  postdep_objects_CXX=
 
15607
  postdeps_CXX=
 
15608
  ;;
 
15609
 
 
15610
linux*)
 
15611
  case `$CC -V 2>&1 | sed 5q` in
 
15612
  *Sun\ C*)
 
15613
    # Sun C++ 5.9
 
15614
 
 
15615
    # The more standards-conforming stlport4 library is
 
15616
    # incompatible with the Cstd library. Avoid specifying
 
15617
    # it if it's in CXXFLAGS. Ignore libCrun as
 
15618
    # -library=stlport4 depends on it.
 
15619
    case " $CXX $CXXFLAGS " in
 
15620
    *" -library=stlport4 "*)
 
15621
      solaris_use_stlport4=yes
 
15622
      ;;
 
15623
    esac
 
15624
 
 
15625
    if test "$solaris_use_stlport4" != yes; then
 
15626
      postdeps_CXX='-library=Cstd -library=Crun'
 
15627
    fi
 
15628
    ;;
 
15629
  esac
 
15630
  ;;
 
15631
 
 
15632
solaris*)
 
15633
  case $cc_basename in
 
15634
  CC*)
 
15635
    # The more standards-conforming stlport4 library is
 
15636
    # incompatible with the Cstd library. Avoid specifying
 
15637
    # it if it's in CXXFLAGS. Ignore libCrun as
 
15638
    # -library=stlport4 depends on it.
 
15639
    case " $CXX $CXXFLAGS " in
 
15640
    *" -library=stlport4 "*)
 
15641
      solaris_use_stlport4=yes
 
15642
      ;;
 
15643
    esac
 
15644
 
 
15645
    # Adding this requires a known-good setup of shared libraries for
 
15646
    # Sun compiler versions before 5.6, else PIC objects from an old
 
15647
    # archive will be linked into the output, leading to subtle bugs.
 
15648
    if test "$solaris_use_stlport4" != yes; then
 
15649
      postdeps_CXX='-library=Cstd -library=Crun'
 
15650
    fi
 
15651
    ;;
 
15652
  esac
 
15653
  ;;
 
15654
esac
 
15655
 
 
15656
 
 
15657
case " $postdeps_CXX " in
 
15658
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
15659
esac
 
15660
 compiler_lib_search_dirs_CXX=
 
15661
if test -n "${compiler_lib_search_path_CXX}"; then
 
15662
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
15663
fi
 
15664
 
 
15665
 
 
15666
 
 
15667
 
 
15668
 
 
15669
 
 
15670
 
 
15671
 
 
15672
 
 
15673
 
 
15674
 
 
15675
 
 
15676
 
 
15677
 
 
15678
 
 
15679
 
 
15680
 
 
15681
 
 
15682
 
 
15683
 
 
15684
 
 
15685
 
 
15686
 
 
15687
 
 
15688
 
 
15689
 
 
15690
 
 
15691
 
 
15692
 
 
15693
 
 
15694
 
 
15695
    lt_prog_compiler_wl_CXX=
 
15696
lt_prog_compiler_pic_CXX=
 
15697
lt_prog_compiler_static_CXX=
 
15698
 
 
15699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
15700
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
15701
 
 
15702
  # C++ specific cases for pic, static, wl, etc.
 
15703
  if test "$GXX" = yes; then
 
15704
    lt_prog_compiler_wl_CXX='-Wl,'
 
15705
    lt_prog_compiler_static_CXX='-static'
 
15706
 
 
15707
    case $host_os in
 
15708
    aix*)
 
15709
      # All AIX code is PIC.
 
15710
      if test "$host_cpu" = ia64; then
 
15711
        # AIX 5 now supports IA64 processor
 
15712
        lt_prog_compiler_static_CXX='-Bstatic'
 
15713
      fi
 
15714
      ;;
 
15715
 
 
15716
    amigaos*)
 
15717
      case $host_cpu in
 
15718
      powerpc)
 
15719
            # see comment about AmigaOS4 .so support
 
15720
            lt_prog_compiler_pic_CXX='-fPIC'
 
15721
        ;;
 
15722
      m68k)
 
15723
            # FIXME: we need at least 68020 code to build shared libraries, but
 
15724
            # adding the `-m68020' flag to GCC prevents building anything better,
 
15725
            # like `-m68040'.
 
15726
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
15727
        ;;
 
15728
      esac
 
15729
      ;;
 
15730
 
 
15731
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15732
      # PIC is the default for these OSes.
 
15733
      ;;
 
15734
    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
15735
      # This hack is so that the source file can tell whether it is being
 
15736
      # built for inclusion in a dll (and should export symbols for example).
 
15737
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
15738
      # (--disable-auto-import) libraries
 
15739
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
15740
      ;;
 
15741
    darwin* | rhapsody*)
 
15742
      # PIC is the default on this platform
 
15743
      # Common symbols not allowed in MH_DYLIB files
 
15744
      lt_prog_compiler_pic_CXX='-fno-common'
 
15745
      ;;
 
15746
    *djgpp*)
 
15747
      # DJGPP does not support shared libraries at all
 
15748
      lt_prog_compiler_pic_CXX=
 
15749
      ;;
 
15750
    interix[3-9]*)
 
15751
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
15752
      # Instead, we relocate shared libraries at runtime.
 
15753
      ;;
 
15754
    sysv4*MP*)
 
15755
      if test -d /usr/nec; then
 
15756
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
15757
      fi
 
15758
      ;;
 
15759
    hpux*)
 
15760
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
15761
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
15762
      # sets the default TLS model and affects inlining.
 
15763
      case $host_cpu in
 
15764
      hppa*64*)
 
15765
        ;;
 
15766
      *)
 
15767
        lt_prog_compiler_pic_CXX='-fPIC'
 
15768
        ;;
 
15769
      esac
 
15770
      ;;
 
15771
    *qnx* | *nto*)
 
15772
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
15773
      # it will coredump.
 
15774
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
15775
      ;;
 
15776
    *)
 
15777
      lt_prog_compiler_pic_CXX='-fPIC'
 
15778
      ;;
 
15779
    esac
 
15780
  else
 
15781
    case $host_os in
 
15782
      aix[4-9]*)
 
15783
        # All AIX code is PIC.
 
15784
        if test "$host_cpu" = ia64; then
 
15785
          # AIX 5 now supports IA64 processor
 
15786
          lt_prog_compiler_static_CXX='-Bstatic'
 
15787
        else
 
15788
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
15789
        fi
 
15790
        ;;
 
15791
      chorus*)
 
15792
        case $cc_basename in
 
15793
        cxch68*)
 
15794
          # Green Hills C++ Compiler
 
15795
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
15796
          ;;
 
15797
        esac
 
15798
        ;;
 
15799
      dgux*)
 
15800
        case $cc_basename in
 
15801
          ec++*)
 
15802
            lt_prog_compiler_pic_CXX='-KPIC'
 
15803
            ;;
 
15804
          ghcx*)
 
15805
            # Green Hills C++ Compiler
 
15806
            lt_prog_compiler_pic_CXX='-pic'
 
15807
            ;;
 
15808
          *)
 
15809
            ;;
 
15810
        esac
 
15811
        ;;
 
15812
      freebsd* | dragonfly*)
 
15813
        # FreeBSD uses GNU C++
 
15814
        ;;
 
15815
      hpux9* | hpux10* | hpux11*)
 
15816
        case $cc_basename in
 
15817
          CC*)
 
15818
            lt_prog_compiler_wl_CXX='-Wl,'
 
15819
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
15820
            if test "$host_cpu" != ia64; then
 
15821
              lt_prog_compiler_pic_CXX='+Z'
 
15822
            fi
 
15823
            ;;
 
15824
          aCC*)
 
15825
            lt_prog_compiler_wl_CXX='-Wl,'
 
15826
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
15827
            case $host_cpu in
 
15828
            hppa*64*|ia64*)
 
15829
              # +Z the default
 
15830
              ;;
 
15831
            *)
 
15832
              lt_prog_compiler_pic_CXX='+Z'
 
15833
              ;;
 
15834
            esac
 
15835
            ;;
 
15836
          *)
 
15837
            ;;
 
15838
        esac
 
15839
        ;;
 
15840
      interix*)
 
15841
        # This is c89, which is MS Visual C++ (no shared libs)
 
15842
        # Anyone wants to do a port?
 
15843
        ;;
 
15844
      irix5* | irix6* | nonstopux*)
 
15845
        case $cc_basename in
 
15846
          CC*)
 
15847
            lt_prog_compiler_wl_CXX='-Wl,'
 
15848
            lt_prog_compiler_static_CXX='-non_shared'
 
15849
            # CC pic flag -KPIC is the default.
 
15850
            ;;
 
15851
          *)
 
15852
            ;;
 
15853
        esac
 
15854
        ;;
 
15855
      linux* | k*bsd*-gnu)
 
15856
        case $cc_basename in
 
15857
          KCC*)
 
15858
            # KAI C++ Compiler
 
15859
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
15860
            lt_prog_compiler_pic_CXX='-fPIC'
 
15861
            ;;
 
15862
          ecpc* )
 
15863
            # old Intel C++ for x86_64 which still supported -KPIC.
 
15864
            lt_prog_compiler_wl_CXX='-Wl,'
 
15865
            lt_prog_compiler_pic_CXX='-KPIC'
 
15866
            lt_prog_compiler_static_CXX='-static'
 
15867
            ;;
 
15868
          icpc* )
 
15869
            # Intel C++, used to be incompatible with GCC.
 
15870
            # ICC 10 doesn't accept -KPIC any more.
 
15871
            lt_prog_compiler_wl_CXX='-Wl,'
 
15872
            lt_prog_compiler_pic_CXX='-fPIC'
 
15873
            lt_prog_compiler_static_CXX='-static'
 
15874
            ;;
 
15875
          pgCC* | pgcpp*)
 
15876
            # Portland Group C++ compiler
 
15877
            lt_prog_compiler_wl_CXX='-Wl,'
 
15878
            lt_prog_compiler_pic_CXX='-fpic'
 
15879
            lt_prog_compiler_static_CXX='-Bstatic'
 
15880
            ;;
 
15881
          cxx*)
 
15882
            # Compaq C++
 
15883
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
15884
            # Linux and Compaq Tru64 Unix objects are PIC.
 
15885
            lt_prog_compiler_pic_CXX=
 
15886
            lt_prog_compiler_static_CXX='-non_shared'
 
15887
            ;;
 
15888
          xlc* | xlC*)
 
15889
            # IBM XL 8.0 on PPC
 
15890
            lt_prog_compiler_wl_CXX='-Wl,'
 
15891
            lt_prog_compiler_pic_CXX='-qpic'
 
15892
            lt_prog_compiler_static_CXX='-qstaticlink'
 
15893
            ;;
 
15894
          *)
 
15895
            case `$CC -V 2>&1 | sed 5q` in
 
15896
            *Sun\ C*)
 
15897
              # Sun C++ 5.9
 
15898
              lt_prog_compiler_pic_CXX='-KPIC'
 
15899
              lt_prog_compiler_static_CXX='-Bstatic'
 
15900
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
15901
              ;;
 
15902
            esac
 
15903
            ;;
 
15904
        esac
 
15905
        ;;
 
15906
      lynxos*)
 
15907
        ;;
 
15908
      m88k*)
 
15909
        ;;
 
15910
      mvs*)
 
15911
        case $cc_basename in
 
15912
          cxx*)
 
15913
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
15914
            ;;
 
15915
          *)
 
15916
            ;;
 
15917
        esac
 
15918
        ;;
 
15919
      netbsd* | netbsdelf*-gnu)
 
15920
        ;;
 
15921
      *qnx* | *nto*)
 
15922
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
15923
        # it will coredump.
 
15924
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
15925
        ;;
 
15926
      osf3* | osf4* | osf5*)
 
15927
        case $cc_basename in
 
15928
          KCC*)
 
15929
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
15930
            ;;
 
15931
          RCC*)
 
15932
            # Rational C++ 2.4.1
 
15933
            lt_prog_compiler_pic_CXX='-pic'
 
15934
            ;;
 
15935
          cxx*)
 
15936
            # Digital/Compaq C++
 
15937
            lt_prog_compiler_wl_CXX='-Wl,'
 
15938
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
15939
            # Linux and Compaq Tru64 Unix objects are PIC.
 
15940
            lt_prog_compiler_pic_CXX=
 
15941
            lt_prog_compiler_static_CXX='-non_shared'
 
15942
            ;;
 
15943
          *)
 
15944
            ;;
 
15945
        esac
 
15946
        ;;
 
15947
      psos*)
 
15948
        ;;
 
15949
      solaris*)
 
15950
        case $cc_basename in
 
15951
          CC*)
 
15952
            # Sun C++ 4.2, 5.x and Centerline C++
 
15953
            lt_prog_compiler_pic_CXX='-KPIC'
 
15954
            lt_prog_compiler_static_CXX='-Bstatic'
 
15955
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
15956
            ;;
 
15957
          gcx*)
 
15958
            # Green Hills C++ Compiler
 
15959
            lt_prog_compiler_pic_CXX='-PIC'
 
15960
            ;;
 
15961
          *)
 
15962
            ;;
 
15963
        esac
 
15964
        ;;
 
15965
      sunos4*)
 
15966
        case $cc_basename in
 
15967
          CC*)
 
15968
            # Sun C++ 4.x
 
15969
            lt_prog_compiler_pic_CXX='-pic'
 
15970
            lt_prog_compiler_static_CXX='-Bstatic'
 
15971
            ;;
 
15972
          lcc*)
 
15973
            # Lucid
 
15974
            lt_prog_compiler_pic_CXX='-pic'
 
15975
            ;;
 
15976
          *)
 
15977
            ;;
 
15978
        esac
 
15979
        ;;
 
15980
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
15981
        case $cc_basename in
 
15982
          CC*)
 
15983
            lt_prog_compiler_wl_CXX='-Wl,'
 
15984
            lt_prog_compiler_pic_CXX='-KPIC'
 
15985
            lt_prog_compiler_static_CXX='-Bstatic'
 
15986
            ;;
 
15987
        esac
 
15988
        ;;
 
15989
      tandem*)
 
15990
        case $cc_basename in
 
15991
          NCC*)
 
15992
            # NonStop-UX NCC 3.20
 
15993
            lt_prog_compiler_pic_CXX='-KPIC'
 
15994
            ;;
 
15995
          *)
 
15996
            ;;
 
15997
        esac
 
15998
        ;;
 
15999
      vxworks*)
 
16000
        ;;
 
16001
      *)
 
16002
        lt_prog_compiler_can_build_shared_CXX=no
 
16003
        ;;
 
16004
    esac
 
16005
  fi
 
16006
 
 
16007
case $host_os in
 
16008
  # For platforms which do not support PIC, -DPIC is meaningless:
 
16009
  *djgpp*)
 
16010
    lt_prog_compiler_pic_CXX=
 
16011
    ;;
 
16012
  *)
 
16013
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
16014
    ;;
 
16015
esac
 
16016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
16017
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
16018
 
 
16019
 
 
16020
 
 
16021
#
 
16022
# Check to make sure the PIC flag actually works.
 
16023
#
 
16024
if test -n "$lt_prog_compiler_pic_CXX"; then
 
16025
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
16026
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
16027
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
16028
  $as_echo_n "(cached) " >&6
 
16029
else
 
16030
  lt_cv_prog_compiler_pic_works_CXX=no
 
16031
   ac_outfile=conftest.$ac_objext
 
16032
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16033
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
16034
   # Insert the option either (1) after the last *FLAGS variable, or
 
16035
   # (2) before a word containing "conftest.", or (3) at the end.
 
16036
   # Note that $ac_compile itself does not contain backslashes and begins
 
16037
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16038
   # The option is referenced via a variable to avoid confusing sed.
 
16039
   lt_compile=`echo "$ac_compile" | $SED \
 
16040
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16041
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16042
   -e 's:$: $lt_compiler_flag:'`
 
16043
   (eval echo "\"\$as_me:16043: $lt_compile\"" >&5)
 
16044
   (eval "$lt_compile" 2>conftest.err)
 
16045
   ac_status=$?
 
16046
   cat conftest.err >&5
 
16047
   echo "$as_me:16047: \$? = $ac_status" >&5
 
16048
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
16049
     # The compiler can only warn and ignore the option if not recognized
 
16050
     # So say no if there are warnings other than the usual output.
 
16051
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16052
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16053
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
16054
       lt_cv_prog_compiler_pic_works_CXX=yes
 
16055
     fi
 
16056
   fi
 
16057
   $RM conftest*
 
16058
 
 
16059
fi
 
16060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
16061
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
16062
 
 
16063
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
16064
    case $lt_prog_compiler_pic_CXX in
 
16065
     "" | " "*) ;;
 
16066
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
16067
     esac
 
16068
else
 
16069
    lt_prog_compiler_pic_CXX=
 
16070
     lt_prog_compiler_can_build_shared_CXX=no
 
16071
fi
 
16072
 
 
16073
fi
 
16074
 
 
16075
 
 
16076
 
 
16077
#
 
16078
# Check to make sure the static flag actually works.
 
16079
#
 
16080
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
16081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16082
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
16083
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
16084
  $as_echo_n "(cached) " >&6
 
16085
else
 
16086
  lt_cv_prog_compiler_static_works_CXX=no
 
16087
   save_LDFLAGS="$LDFLAGS"
 
16088
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
16089
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
16090
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
16091
     # The linker can only warn and ignore the option if not recognized
 
16092
     # So say no if there are warnings
 
16093
     if test -s conftest.err; then
 
16094
       # Append any errors to the config.log.
 
16095
       cat conftest.err 1>&5
 
16096
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16097
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16098
       if diff conftest.exp conftest.er2 >/dev/null; then
 
16099
         lt_cv_prog_compiler_static_works_CXX=yes
 
16100
       fi
 
16101
     else
 
16102
       lt_cv_prog_compiler_static_works_CXX=yes
 
16103
     fi
 
16104
   fi
 
16105
   $RM -r conftest*
 
16106
   LDFLAGS="$save_LDFLAGS"
 
16107
 
 
16108
fi
 
16109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
16110
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
16111
 
 
16112
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
16113
    :
 
16114
else
 
16115
    lt_prog_compiler_static_CXX=
 
16116
fi
 
16117
 
 
16118
 
 
16119
 
 
16120
 
 
16121
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16122
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16123
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
16124
  $as_echo_n "(cached) " >&6
 
16125
else
 
16126
  lt_cv_prog_compiler_c_o_CXX=no
 
16127
   $RM -r conftest 2>/dev/null
 
16128
   mkdir conftest
 
16129
   cd conftest
 
16130
   mkdir out
 
16131
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16132
 
 
16133
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16134
   # Insert the option either (1) after the last *FLAGS variable, or
 
16135
   # (2) before a word containing "conftest.", or (3) at the end.
 
16136
   # Note that $ac_compile itself does not contain backslashes and begins
 
16137
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16138
   lt_compile=`echo "$ac_compile" | $SED \
 
16139
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16140
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16141
   -e 's:$: $lt_compiler_flag:'`
 
16142
   (eval echo "\"\$as_me:16142: $lt_compile\"" >&5)
 
16143
   (eval "$lt_compile" 2>out/conftest.err)
 
16144
   ac_status=$?
 
16145
   cat out/conftest.err >&5
 
16146
   echo "$as_me:16146: \$? = $ac_status" >&5
 
16147
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16148
   then
 
16149
     # The compiler can only warn and ignore the option if not recognized
 
16150
     # So say no if there are warnings
 
16151
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16152
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16153
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16154
       lt_cv_prog_compiler_c_o_CXX=yes
 
16155
     fi
 
16156
   fi
 
16157
   chmod u+w . 2>&5
 
16158
   $RM conftest*
 
16159
   # SGI C++ compiler will create directory out/ii_files/ for
 
16160
   # template instantiation
 
16161
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16162
   $RM out/* && rmdir out
 
16163
   cd ..
 
16164
   $RM -r conftest
 
16165
   $RM conftest*
 
16166
 
 
16167
fi
 
16168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16169
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16170
 
 
16171
 
 
16172
 
 
16173
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16174
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16175
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
16176
  $as_echo_n "(cached) " >&6
 
16177
else
 
16178
  lt_cv_prog_compiler_c_o_CXX=no
 
16179
   $RM -r conftest 2>/dev/null
 
16180
   mkdir conftest
 
16181
   cd conftest
 
16182
   mkdir out
 
16183
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16184
 
 
16185
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16186
   # Insert the option either (1) after the last *FLAGS variable, or
 
16187
   # (2) before a word containing "conftest.", or (3) at the end.
 
16188
   # Note that $ac_compile itself does not contain backslashes and begins
 
16189
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16190
   lt_compile=`echo "$ac_compile" | $SED \
 
16191
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16192
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16193
   -e 's:$: $lt_compiler_flag:'`
 
16194
   (eval echo "\"\$as_me:16194: $lt_compile\"" >&5)
 
16195
   (eval "$lt_compile" 2>out/conftest.err)
 
16196
   ac_status=$?
 
16197
   cat out/conftest.err >&5
 
16198
   echo "$as_me:16198: \$? = $ac_status" >&5
 
16199
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16200
   then
 
16201
     # The compiler can only warn and ignore the option if not recognized
 
16202
     # So say no if there are warnings
 
16203
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16204
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16205
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16206
       lt_cv_prog_compiler_c_o_CXX=yes
 
16207
     fi
 
16208
   fi
 
16209
   chmod u+w . 2>&5
 
16210
   $RM conftest*
 
16211
   # SGI C++ compiler will create directory out/ii_files/ for
 
16212
   # template instantiation
 
16213
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16214
   $RM out/* && rmdir out
 
16215
   cd ..
 
16216
   $RM -r conftest
 
16217
   $RM conftest*
 
16218
 
 
16219
fi
 
16220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16221
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16222
 
 
16223
 
 
16224
 
 
16225
 
 
16226
hard_links="nottested"
 
16227
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
16228
  # do not overwrite the value of need_locks provided by the user
 
16229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
16230
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
16231
  hard_links=yes
 
16232
  $RM conftest*
 
16233
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
16234
  touch conftest.a
 
16235
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
16236
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
16237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
16238
$as_echo "$hard_links" >&6; }
 
16239
  if test "$hard_links" = no; then
 
16240
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
16241
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
16242
    need_locks=warn
 
16243
  fi
 
16244
else
 
16245
  need_locks=no
 
16246
fi
 
16247
 
 
16248
 
 
16249
 
 
16250
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16251
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
16252
 
 
16253
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
16254
  case $host_os in
 
16255
  aix[4-9]*)
 
16256
    # If we're using GNU nm, then we don't want the "-C" option.
 
16257
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
16258
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
16259
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
16260
    else
 
16261
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
16262
    fi
 
16263
    ;;
 
16264
  pw32*)
 
16265
    export_symbols_cmds_CXX="$ltdll_cmds"
 
16266
  ;;
 
16267
  cygwin* | mingw* | cegcc*)
 
16268
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
16269
  ;;
 
16270
  linux* | k*bsd*-gnu)
 
16271
    link_all_deplibs_CXX=no
 
16272
  ;;
 
16273
  *)
 
16274
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
16275
  ;;
 
16276
  esac
 
16277
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
16278
 
 
16279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
16280
$as_echo "$ld_shlibs_CXX" >&6; }
 
16281
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
16282
 
 
16283
with_gnu_ld_CXX=$with_gnu_ld
 
16284
 
 
16285
 
 
16286
 
 
16287
 
 
16288
 
 
16289
 
 
16290
#
 
16291
# Do we need to explicitly link libc?
 
16292
#
 
16293
case "x$archive_cmds_need_lc_CXX" in
 
16294
x|xyes)
 
16295
  # Assume -lc should be added
 
16296
  archive_cmds_need_lc_CXX=yes
 
16297
 
 
16298
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
16299
    case $archive_cmds_CXX in
 
16300
    *'~'*)
 
16301
      # FIXME: we may have to deal with multi-command sequences.
 
16302
      ;;
 
16303
    '$CC '*)
 
16304
      # Test whether the compiler implicitly links with -lc since on some
 
16305
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
16306
      # to ld, don't add -lc before -lgcc.
 
16307
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
16308
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
16309
      $RM conftest*
 
16310
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16311
 
 
16312
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
16313
  (eval $ac_compile) 2>&5
 
16314
  ac_status=$?
 
16315
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16316
  test $ac_status = 0; } 2>conftest.err; then
 
16317
        soname=conftest
 
16318
        lib=conftest
 
16319
        libobjs=conftest.$ac_objext
 
16320
        deplibs=
 
16321
        wl=$lt_prog_compiler_wl_CXX
 
16322
        pic_flag=$lt_prog_compiler_pic_CXX
 
16323
        compiler_flags=-v
 
16324
        linker_flags=-v
 
16325
        verstring=
 
16326
        output_objdir=.
 
16327
        libname=conftest
 
16328
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
16329
        allow_undefined_flag_CXX=
 
16330
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
16331
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
16332
  ac_status=$?
 
16333
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16334
  test $ac_status = 0; }
 
16335
        then
 
16336
          archive_cmds_need_lc_CXX=no
 
16337
        else
 
16338
          archive_cmds_need_lc_CXX=yes
 
16339
        fi
 
16340
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
16341
      else
 
16342
        cat conftest.err 1>&5
 
16343
      fi
 
16344
      $RM conftest*
 
16345
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
16346
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
16347
      ;;
 
16348
    esac
 
16349
  fi
 
16350
  ;;
 
16351
esac
 
16352
 
 
16353
 
 
16354
 
 
16355
 
 
16356
 
 
16357
 
 
16358
 
 
16359
 
 
16360
 
 
16361
 
 
16362
 
 
16363
 
 
16364
 
 
16365
 
 
16366
 
 
16367
 
 
16368
 
 
16369
 
 
16370
 
 
16371
 
 
16372
 
 
16373
 
 
16374
 
 
16375
 
 
16376
 
 
16377
 
 
16378
 
 
16379
 
 
16380
 
 
16381
 
 
16382
 
 
16383
 
 
16384
 
 
16385
 
 
16386
 
 
16387
 
 
16388
 
 
16389
 
 
16390
 
 
16391
 
 
16392
 
 
16393
 
 
16394
 
 
16395
 
 
16396
 
 
16397
 
 
16398
 
 
16399
 
 
16400
 
 
16401
 
 
16402
 
 
16403
 
 
16404
 
 
16405
 
 
16406
 
 
16407
 
 
16408
 
 
16409
 
 
16410
 
 
16411
 
 
16412
 
 
16413
 
 
16414
 
 
16415
 
 
16416
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
16417
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
16418
 
 
16419
library_names_spec=
 
16420
libname_spec='lib$name'
 
16421
soname_spec=
 
16422
shrext_cmds=".so"
 
16423
postinstall_cmds=
 
16424
postuninstall_cmds=
 
16425
finish_cmds=
 
16426
finish_eval=
 
16427
shlibpath_var=
 
16428
shlibpath_overrides_runpath=unknown
 
16429
version_type=none
 
16430
dynamic_linker="$host_os ld.so"
 
16431
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
16432
need_lib_prefix=unknown
 
16433
hardcode_into_libs=no
 
16434
 
 
16435
# when you set need_version to no, make sure it does not cause -set_version
 
16436
# flags to be left without arguments
 
16437
need_version=unknown
 
16438
 
 
16439
case $host_os in
 
16440
aix3*)
 
16441
  version_type=linux
 
16442
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
16443
  shlibpath_var=LIBPATH
 
16444
 
 
16445
  # AIX 3 has no versioning support, so we append a major version to the name.
 
16446
  soname_spec='${libname}${release}${shared_ext}$major'
 
16447
  ;;
 
16448
 
 
16449
aix[4-9]*)
 
16450
  version_type=linux
 
16451
  need_lib_prefix=no
 
16452
  need_version=no
 
16453
  hardcode_into_libs=yes
 
16454
  if test "$host_cpu" = ia64; then
 
16455
    # AIX 5 supports IA64
 
16456
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
16457
    shlibpath_var=LD_LIBRARY_PATH
 
16458
  else
 
16459
    # With GCC up to 2.95.x, collect2 would create an import file
 
16460
    # for dependence libraries.  The import file would start with
 
16461
    # the line `#! .'.  This would cause the generated library to
 
16462
    # depend on `.', always an invalid library.  This was fixed in
 
16463
    # development snapshots of GCC prior to 3.0.
 
16464
    case $host_os in
 
16465
      aix4 | aix4.[01] | aix4.[01].*)
 
16466
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
16467
           echo ' yes '
 
16468
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
16469
        :
 
16470
      else
 
16471
        can_build_shared=no
 
16472
      fi
 
16473
      ;;
 
16474
    esac
 
16475
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
16476
    # soname into executable. Probably we can add versioning support to
 
16477
    # collect2, so additional links can be useful in future.
 
16478
    if test "$aix_use_runtimelinking" = yes; then
 
16479
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
16480
      # instead of lib<name>.a to let people know that these are not
 
16481
      # typical AIX shared libraries.
 
16482
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16483
    else
 
16484
      # We preserve .a as extension for shared libraries through AIX4.2
 
16485
      # and later when we are not doing run time linking.
 
16486
      library_names_spec='${libname}${release}.a $libname.a'
 
16487
      soname_spec='${libname}${release}${shared_ext}$major'
 
16488
    fi
 
16489
    shlibpath_var=LIBPATH
 
16490
  fi
 
16491
  ;;
 
16492
 
 
16493
amigaos*)
 
16494
  case $host_cpu in
 
16495
  powerpc)
 
16496
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
16497
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
16498
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16499
    ;;
 
16500
  m68k)
 
16501
    library_names_spec='$libname.ixlibrary $libname.a'
 
16502
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
16503
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
16504
    ;;
 
16505
  esac
 
16506
  ;;
 
16507
 
 
16508
beos*)
 
16509
  library_names_spec='${libname}${shared_ext}'
 
16510
  dynamic_linker="$host_os ld.so"
 
16511
  shlibpath_var=LIBRARY_PATH
 
16512
  ;;
 
16513
 
 
16514
bsdi[45]*)
 
16515
  version_type=linux
 
16516
  need_version=no
 
16517
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16518
  soname_spec='${libname}${release}${shared_ext}$major'
 
16519
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
16520
  shlibpath_var=LD_LIBRARY_PATH
 
16521
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
16522
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
16523
  # the default ld.so.conf also contains /usr/contrib/lib and
 
16524
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
16525
  # libtool to hard-code these into programs
 
16526
  ;;
 
16527
 
 
16528
cygwin* | mingw* | pw32* | cegcc*)
 
16529
  version_type=windows
 
16530
  shrext_cmds=".dll"
 
16531
  need_version=no
 
16532
  need_lib_prefix=no
 
16533
 
 
16534
  case $GCC,$host_os in
 
16535
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
16536
    library_names_spec='$libname.dll.a'
 
16537
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
16538
    postinstall_cmds='base_file=`basename \${file}`~
 
16539
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
16540
      dldir=$destdir/`dirname \$dlpath`~
 
16541
      test -d \$dldir || mkdir -p \$dldir~
 
16542
      $install_prog $dir/$dlname \$dldir/$dlname~
 
16543
      chmod a+x \$dldir/$dlname~
 
16544
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
16545
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
16546
      fi'
 
16547
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
16548
      dlpath=$dir/\$dldll~
 
16549
       $RM \$dlpath'
 
16550
    shlibpath_overrides_runpath=yes
 
16551
 
 
16552
    case $host_os in
 
16553
    cygwin*)
 
16554
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
16555
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16556
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
16557
      ;;
 
16558
    mingw* | cegcc*)
 
16559
      # MinGW DLLs use traditional 'lib' prefix
 
16560
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16561
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
16562
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
16563
        # It is most probably a Windows format PATH printed by
 
16564
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
16565
        # path with ; separators, and with drive letters. We can handle the
 
16566
        # drive letters (cygwin fileutils understands them), so leave them,
 
16567
        # especially as we might pass files found there to a mingw objdump,
 
16568
        # which wouldn't understand a cygwinified path. Ahh.
 
16569
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16570
      else
 
16571
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
16572
      fi
 
16573
      ;;
 
16574
    pw32*)
 
16575
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
16576
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16577
      ;;
 
16578
    esac
 
16579
    ;;
 
16580
 
 
16581
  *)
 
16582
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
16583
    ;;
 
16584
  esac
 
16585
  dynamic_linker='Win32 ld.exe'
 
16586
  # FIXME: first we should search . and the directory the executable is in
 
16587
  shlibpath_var=PATH
 
16588
  ;;
 
16589
 
 
16590
darwin* | rhapsody*)
 
16591
  dynamic_linker="$host_os dyld"
 
16592
  version_type=darwin
 
16593
  need_lib_prefix=no
 
16594
  need_version=no
 
16595
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
16596
  soname_spec='${libname}${release}${major}$shared_ext'
 
16597
  shlibpath_overrides_runpath=yes
 
16598
  shlibpath_var=DYLD_LIBRARY_PATH
 
16599
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
16600
 
 
16601
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
16602
  ;;
 
16603
 
 
16604
dgux*)
 
16605
  version_type=linux
 
16606
  need_lib_prefix=no
 
16607
  need_version=no
 
16608
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
16609
  soname_spec='${libname}${release}${shared_ext}$major'
 
16610
  shlibpath_var=LD_LIBRARY_PATH
 
16611
  ;;
 
16612
 
 
16613
freebsd1*)
 
16614
  dynamic_linker=no
 
16615
  ;;
 
16616
 
 
16617
freebsd* | dragonfly*)
 
16618
  # DragonFly does not have aout.  When/if they implement a new
 
16619
  # versioning mechanism, adjust this.
 
16620
  if test -x /usr/bin/objformat; then
 
16621
    objformat=`/usr/bin/objformat`
 
16622
  else
 
16623
    case $host_os in
 
16624
    freebsd[123]*) objformat=aout ;;
 
16625
    *) objformat=elf ;;
 
16626
    esac
 
16627
  fi
 
16628
  version_type=freebsd-$objformat
 
16629
  case $version_type in
 
16630
    freebsd-elf*)
 
16631
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16632
      need_version=no
 
16633
      need_lib_prefix=no
 
16634
      ;;
 
16635
    freebsd-*)
 
16636
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
16637
      need_version=yes
 
16638
      ;;
 
16639
  esac
 
16640
  shlibpath_var=LD_LIBRARY_PATH
 
16641
  case $host_os in
 
16642
  freebsd2*)
 
16643
    shlibpath_overrides_runpath=yes
 
16644
    ;;
 
16645
  freebsd3.[01]* | freebsdelf3.[01]*)
 
16646
    shlibpath_overrides_runpath=yes
 
16647
    hardcode_into_libs=yes
 
16648
    ;;
 
16649
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
16650
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
16651
    shlibpath_overrides_runpath=no
 
16652
    hardcode_into_libs=yes
 
16653
    ;;
 
16654
  *) # from 4.6 on, and DragonFly
 
16655
    shlibpath_overrides_runpath=yes
 
16656
    hardcode_into_libs=yes
 
16657
    ;;
 
16658
  esac
 
16659
  ;;
 
16660
 
 
16661
gnu*)
 
16662
  version_type=linux
 
16663
  need_lib_prefix=no
 
16664
  need_version=no
 
16665
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
16666
  soname_spec='${libname}${release}${shared_ext}$major'
 
16667
  shlibpath_var=LD_LIBRARY_PATH
 
16668
  hardcode_into_libs=yes
 
16669
  ;;
 
16670
 
 
16671
hpux9* | hpux10* | hpux11*)
 
16672
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
16673
  # link against other versions.
 
16674
  version_type=sunos
 
16675
  need_lib_prefix=no
 
16676
  need_version=no
 
16677
  case $host_cpu in
 
16678
  ia64*)
 
16679
    shrext_cmds='.so'
 
16680
    hardcode_into_libs=yes
 
16681
    dynamic_linker="$host_os dld.so"
 
16682
    shlibpath_var=LD_LIBRARY_PATH
 
16683
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
16684
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16685
    soname_spec='${libname}${release}${shared_ext}$major'
 
16686
    if test "X$HPUX_IA64_MODE" = X32; then
 
16687
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
16688
    else
 
16689
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
16690
    fi
 
16691
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
16692
    ;;
 
16693
  hppa*64*)
 
16694
    shrext_cmds='.sl'
 
16695
    hardcode_into_libs=yes
 
16696
    dynamic_linker="$host_os dld.sl"
 
16697
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
16698
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
16699
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16700
    soname_spec='${libname}${release}${shared_ext}$major'
 
16701
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
16702
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
16703
    ;;
 
16704
  *)
 
16705
    shrext_cmds='.sl'
 
16706
    dynamic_linker="$host_os dld.sl"
 
16707
    shlibpath_var=SHLIB_PATH
 
16708
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
16709
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16710
    soname_spec='${libname}${release}${shared_ext}$major'
 
16711
    ;;
 
16712
  esac
 
16713
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
16714
  postinstall_cmds='chmod 555 $lib'
 
16715
  ;;
 
16716
 
 
16717
interix[3-9]*)
 
16718
  version_type=linux
 
16719
  need_lib_prefix=no
 
16720
  need_version=no
 
16721
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16722
  soname_spec='${libname}${release}${shared_ext}$major'
 
16723
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
16724
  shlibpath_var=LD_LIBRARY_PATH
 
16725
  shlibpath_overrides_runpath=no
 
16726
  hardcode_into_libs=yes
 
16727
  ;;
 
16728
 
 
16729
irix5* | irix6* | nonstopux*)
 
16730
  case $host_os in
 
16731
    nonstopux*) version_type=nonstopux ;;
 
16732
    *)
 
16733
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
16734
                version_type=linux
 
16735
        else
 
16736
                version_type=irix
 
16737
        fi ;;
 
16738
  esac
 
16739
  need_lib_prefix=no
 
16740
  need_version=no
 
16741
  soname_spec='${libname}${release}${shared_ext}$major'
 
16742
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16743
  case $host_os in
 
16744
  irix5* | nonstopux*)
 
16745
    libsuff= shlibsuff=
 
16746
    ;;
 
16747
  *)
 
16748
    case $LD in # libtool.m4 will add one of these switches to LD
 
16749
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
16750
      libsuff= shlibsuff= libmagic=32-bit;;
 
16751
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
16752
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
16753
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
16754
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
16755
    *) libsuff= shlibsuff= libmagic=never-match;;
 
16756
    esac
 
16757
    ;;
 
16758
  esac
 
16759
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
16760
  shlibpath_overrides_runpath=no
 
16761
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
16762
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
16763
  hardcode_into_libs=yes
 
16764
  ;;
 
16765
 
 
16766
# No shared lib support for Linux oldld, aout, or coff.
 
16767
linux*oldld* | linux*aout* | linux*coff*)
 
16768
  dynamic_linker=no
 
16769
  ;;
 
16770
 
 
16771
# This must be Linux ELF.
 
16772
linux* | k*bsd*-gnu)
 
16773
  version_type=linux
 
16774
  need_lib_prefix=no
 
16775
  need_version=no
 
16776
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16777
  soname_spec='${libname}${release}${shared_ext}$major'
 
16778
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
16779
  shlibpath_var=LD_LIBRARY_PATH
 
16780
  shlibpath_overrides_runpath=no
 
16781
  # Some binutils ld are patched to set DT_RUNPATH
 
16782
  save_LDFLAGS=$LDFLAGS
 
16783
  save_libdir=$libdir
 
16784
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
16785
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
16786
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16787
/* end confdefs.h.  */
 
16788
 
 
16789
int
 
16790
main ()
 
16791
{
 
16792
 
 
16793
  ;
 
16794
  return 0;
 
16795
}
 
16796
_ACEOF
 
16797
if ac_fn_cxx_try_link "$LINENO"; then :
 
16798
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
16799
  shlibpath_overrides_runpath=yes
 
16800
fi
 
16801
fi
 
16802
rm -f core conftest.err conftest.$ac_objext \
 
16803
    conftest$ac_exeext conftest.$ac_ext
 
16804
  LDFLAGS=$save_LDFLAGS
 
16805
  libdir=$save_libdir
 
16806
 
 
16807
  # This implies no fast_install, which is unacceptable.
 
16808
  # Some rework will be needed to allow for fast_install
 
16809
  # before this can be enabled.
 
16810
  hardcode_into_libs=yes
 
16811
 
 
16812
  # Append ld.so.conf contents to the search path
 
16813
  if test -f /etc/ld.so.conf; then
 
16814
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16815
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
16816
  fi
 
16817
 
 
16818
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
16819
  # powerpc, because MkLinux only supported shared libraries with the
 
16820
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
16821
  # most powerpc-linux boxes support dynamic linking these days and
 
16822
  # people can always --disable-shared, the test was removed, and we
 
16823
  # assume the GNU/Linux dynamic linker is in use.
 
16824
  dynamic_linker='GNU/Linux ld.so'
 
16825
  ;;
 
16826
 
 
16827
netbsdelf*-gnu)
 
16828
  version_type=linux
 
16829
  need_lib_prefix=no
 
16830
  need_version=no
 
16831
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16832
  soname_spec='${libname}${release}${shared_ext}$major'
 
16833
  shlibpath_var=LD_LIBRARY_PATH
 
16834
  shlibpath_overrides_runpath=no
 
16835
  hardcode_into_libs=yes
 
16836
  dynamic_linker='NetBSD ld.elf_so'
 
16837
  ;;
 
16838
 
 
16839
netbsd*)
 
16840
  version_type=sunos
 
16841
  need_lib_prefix=no
 
16842
  need_version=no
 
16843
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
16844
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16845
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
16846
    dynamic_linker='NetBSD (a.out) ld.so'
 
16847
  else
 
16848
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16849
    soname_spec='${libname}${release}${shared_ext}$major'
 
16850
    dynamic_linker='NetBSD ld.elf_so'
 
16851
  fi
 
16852
  shlibpath_var=LD_LIBRARY_PATH
 
16853
  shlibpath_overrides_runpath=yes
 
16854
  hardcode_into_libs=yes
 
16855
  ;;
 
16856
 
 
16857
newsos6)
 
16858
  version_type=linux
 
16859
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16860
  shlibpath_var=LD_LIBRARY_PATH
 
16861
  shlibpath_overrides_runpath=yes
 
16862
  ;;
 
16863
 
 
16864
*nto* | *qnx*)
 
16865
  version_type=qnx
 
16866
  need_lib_prefix=no
 
16867
  need_version=no
 
16868
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16869
  soname_spec='${libname}${release}${shared_ext}$major'
 
16870
  shlibpath_var=LD_LIBRARY_PATH
 
16871
  shlibpath_overrides_runpath=no
 
16872
  hardcode_into_libs=yes
 
16873
  dynamic_linker='ldqnx.so'
 
16874
  ;;
 
16875
 
 
16876
openbsd*)
 
16877
  version_type=sunos
 
16878
  sys_lib_dlsearch_path_spec="/usr/lib"
 
16879
  need_lib_prefix=no
 
16880
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16881
  case $host_os in
 
16882
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
16883
    *)                          need_version=no  ;;
 
16884
  esac
 
16885
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16886
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
16887
  shlibpath_var=LD_LIBRARY_PATH
 
16888
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16889
    case $host_os in
 
16890
      openbsd2.[89] | openbsd2.[89].*)
 
16891
        shlibpath_overrides_runpath=no
 
16892
        ;;
 
16893
      *)
 
16894
        shlibpath_overrides_runpath=yes
 
16895
        ;;
 
16896
      esac
 
16897
  else
 
16898
    shlibpath_overrides_runpath=yes
 
16899
  fi
 
16900
  ;;
 
16901
 
 
16902
os2*)
 
16903
  libname_spec='$name'
 
16904
  shrext_cmds=".dll"
 
16905
  need_lib_prefix=no
 
16906
  library_names_spec='$libname${shared_ext} $libname.a'
 
16907
  dynamic_linker='OS/2 ld.exe'
 
16908
  shlibpath_var=LIBPATH
 
16909
  ;;
 
16910
 
 
16911
osf3* | osf4* | osf5*)
 
16912
  version_type=osf
 
16913
  need_lib_prefix=no
 
16914
  need_version=no
 
16915
  soname_spec='${libname}${release}${shared_ext}$major'
 
16916
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16917
  shlibpath_var=LD_LIBRARY_PATH
 
16918
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
16919
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
16920
  ;;
 
16921
 
 
16922
rdos*)
 
16923
  dynamic_linker=no
 
16924
  ;;
 
16925
 
 
16926
solaris*)
 
16927
  version_type=linux
 
16928
  need_lib_prefix=no
 
16929
  need_version=no
 
16930
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16931
  soname_spec='${libname}${release}${shared_ext}$major'
 
16932
  shlibpath_var=LD_LIBRARY_PATH
 
16933
  shlibpath_overrides_runpath=yes
 
16934
  hardcode_into_libs=yes
 
16935
  # ldd complains unless libraries are executable
 
16936
  postinstall_cmds='chmod +x $lib'
 
16937
  ;;
 
16938
 
 
16939
sunos4*)
 
16940
  version_type=sunos
 
16941
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16942
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
16943
  shlibpath_var=LD_LIBRARY_PATH
 
16944
  shlibpath_overrides_runpath=yes
 
16945
  if test "$with_gnu_ld" = yes; then
 
16946
    need_lib_prefix=no
 
16947
  fi
 
16948
  need_version=yes
 
16949
  ;;
 
16950
 
 
16951
sysv4 | sysv4.3*)
 
16952
  version_type=linux
 
16953
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16954
  soname_spec='${libname}${release}${shared_ext}$major'
 
16955
  shlibpath_var=LD_LIBRARY_PATH
 
16956
  case $host_vendor in
 
16957
    sni)
 
16958
      shlibpath_overrides_runpath=no
 
16959
      need_lib_prefix=no
 
16960
      runpath_var=LD_RUN_PATH
 
16961
      ;;
 
16962
    siemens)
 
16963
      need_lib_prefix=no
 
16964
      ;;
 
16965
    motorola)
 
16966
      need_lib_prefix=no
 
16967
      need_version=no
 
16968
      shlibpath_overrides_runpath=no
 
16969
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
16970
      ;;
 
16971
  esac
 
16972
  ;;
 
16973
 
 
16974
sysv4*MP*)
 
16975
  if test -d /usr/nec ;then
 
16976
    version_type=linux
 
16977
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
16978
    soname_spec='$libname${shared_ext}.$major'
 
16979
    shlibpath_var=LD_LIBRARY_PATH
 
16980
  fi
 
16981
  ;;
 
16982
 
 
16983
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16984
  version_type=freebsd-elf
 
16985
  need_lib_prefix=no
 
16986
  need_version=no
 
16987
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16988
  soname_spec='${libname}${release}${shared_ext}$major'
 
16989
  shlibpath_var=LD_LIBRARY_PATH
 
16990
  shlibpath_overrides_runpath=yes
 
16991
  hardcode_into_libs=yes
 
16992
  if test "$with_gnu_ld" = yes; then
 
16993
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16994
  else
 
16995
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16996
    case $host_os in
 
16997
      sco3.2v5*)
 
16998
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16999
        ;;
 
17000
    esac
 
17001
  fi
 
17002
  sys_lib_dlsearch_path_spec='/usr/lib'
 
17003
  ;;
 
17004
 
 
17005
tpf*)
 
17006
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
17007
  version_type=linux
 
17008
  need_lib_prefix=no
 
17009
  need_version=no
 
17010
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17011
  shlibpath_var=LD_LIBRARY_PATH
 
17012
  shlibpath_overrides_runpath=no
 
17013
  hardcode_into_libs=yes
 
17014
  ;;
 
17015
 
 
17016
uts4*)
 
17017
  version_type=linux
 
17018
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17019
  soname_spec='${libname}${release}${shared_ext}$major'
 
17020
  shlibpath_var=LD_LIBRARY_PATH
 
17021
  ;;
 
17022
 
 
17023
*)
 
17024
  dynamic_linker=no
 
17025
  ;;
 
17026
esac
 
17027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
17028
$as_echo "$dynamic_linker" >&6; }
 
17029
test "$dynamic_linker" = no && can_build_shared=no
 
17030
 
 
17031
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
17032
if test "$GCC" = yes; then
 
17033
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
17034
fi
 
17035
 
 
17036
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17037
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17038
fi
 
17039
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17040
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17041
fi
 
17042
 
 
17043
 
 
17044
 
 
17045
 
 
17046
 
 
17047
 
 
17048
 
 
17049
 
 
17050
 
 
17051
 
 
17052
 
 
17053
 
 
17054
 
 
17055
 
 
17056
 
 
17057
 
 
17058
 
 
17059
 
 
17060
 
 
17061
 
 
17062
 
 
17063
 
 
17064
 
 
17065
 
 
17066
 
 
17067
 
 
17068
 
 
17069
 
 
17070
 
 
17071
 
 
17072
 
 
17073
 
 
17074
 
 
17075
 
 
17076
 
 
17077
 
 
17078
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
17079
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
17080
hardcode_action_CXX=
 
17081
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
17082
   test -n "$runpath_var_CXX" ||
 
17083
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
17084
 
 
17085
  # We can hardcode non-existent directories.
 
17086
  if test "$hardcode_direct_CXX" != no &&
 
17087
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
17088
     # have to relink, otherwise we might link with an installed library
 
17089
     # when we should be linking with a yet-to-be-installed one
 
17090
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
17091
     test "$hardcode_minus_L_CXX" != no; then
 
17092
    # Linking always hardcodes the temporary library directory.
 
17093
    hardcode_action_CXX=relink
 
17094
  else
 
17095
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
17096
    hardcode_action_CXX=immediate
 
17097
  fi
 
17098
else
 
17099
  # We cannot hardcode anything, or else we can only hardcode existing
 
17100
  # directories.
 
17101
  hardcode_action_CXX=unsupported
 
17102
fi
 
17103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
17104
$as_echo "$hardcode_action_CXX" >&6; }
 
17105
 
 
17106
if test "$hardcode_action_CXX" = relink ||
 
17107
   test "$inherit_rpath_CXX" = yes; then
 
17108
  # Fast installation is not supported
 
17109
  enable_fast_install=no
 
17110
elif test "$shlibpath_overrides_runpath" = yes ||
 
17111
     test "$enable_shared" = no; then
 
17112
  # Fast installation is not necessary
 
17113
  enable_fast_install=needless
 
17114
fi
 
17115
 
 
17116
 
 
17117
 
 
17118
 
 
17119
 
 
17120
 
 
17121
 
 
17122
  fi # test -n "$compiler"
 
17123
 
 
17124
  CC=$lt_save_CC
 
17125
  LDCXX=$LD
 
17126
  LD=$lt_save_LD
 
17127
  GCC=$lt_save_GCC
 
17128
  with_gnu_ld=$lt_save_with_gnu_ld
 
17129
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
17130
  lt_cv_path_LD=$lt_save_path_LD
 
17131
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
17132
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
17133
fi # test "$_lt_caught_CXX_error" != yes
 
17134
 
 
17135
ac_ext=c
 
17136
ac_cpp='$CPP $CPPFLAGS'
 
17137
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17138
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17139
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
17140
 
 
17141
 
 
17142
 
 
17143
 if test "$with_old_gnome_support" = "yes" ; then
 
17144
  WITH_OLD_GNOME_SUPPORT_TRUE=
 
17145
  WITH_OLD_GNOME_SUPPORT_FALSE='#'
 
17146
else
 
17147
  WITH_OLD_GNOME_SUPPORT_TRUE='#'
 
17148
  WITH_OLD_GNOME_SUPPORT_FALSE=
 
17149
fi
 
17150
 
 
17151
 if test "$with_gnome_support" = "yes" ; then
 
17152
  WITH_GNOME_SUPPORT_TRUE=
 
17153
  WITH_GNOME_SUPPORT_FALSE='#'
 
17154
else
 
17155
  WITH_GNOME_SUPPORT_TRUE='#'
 
17156
  WITH_GNOME_SUPPORT_FALSE=
 
17157
fi
 
17158
 
 
17159
 if test "$with_xfce_support" = "yes" ; then
 
17160
  WITH_XFCE_SUPPORT_TRUE=
 
17161
  WITH_XFCE_SUPPORT_FALSE='#'
 
17162
else
 
17163
  WITH_XFCE_SUPPORT_TRUE='#'
 
17164
  WITH_XFCE_SUPPORT_FALSE=
 
17165
fi
 
17166
 
 
17167
 if test "$with_alsa_mixer" = "yes" ; then
 
17168
  WITH_ALSA_MIXER_TRUE=
 
17169
  WITH_ALSA_MIXER_FALSE='#'
 
17170
else
 
17171
  WITH_ALSA_MIXER_TRUE='#'
 
17172
  WITH_ALSA_MIXER_FALSE=
 
17173
fi
 
17174
 
 
17175
 if test "$with_terminal" = "yes" ; then
 
17176
  WITH_TERMINAL_TRUE=
 
17177
  WITH_TERMINAL_FALSE='#'
 
17178
else
 
17179
  WITH_TERMINAL_TRUE='#'
 
17180
  WITH_TERMINAL_FALSE=
 
17181
fi
 
17182
 
 
17183
 if test "$with_powermanager" = "yes" ; then
 
17184
  WITH_POWERMANAGER_TRUE=
 
17185
  WITH_POWERMANAGER_FALSE='#'
 
17186
else
 
17187
  WITH_POWERMANAGER_TRUE='#'
 
17188
  WITH_POWERMANAGER_FALSE=
 
17189
fi
 
17190
 
 
17191
 if test "$with_wifi" = "yes" ; then
 
17192
  WITH_WIFI_TRUE=
 
17193
  WITH_WIFI_FALSE='#'
 
17194
else
 
17195
  WITH_WIFI_TRUE='#'
 
17196
  WITH_WIFI_FALSE=
 
17197
fi
 
17198
 
 
17199
 if test "$with_tomboy" = "yes" ; then
 
17200
  WITH_TOMBOY_TRUE=
 
17201
  WITH_TOMBOY_FALSE='#'
 
17202
else
 
17203
  WITH_TOMBOY_TRUE='#'
 
17204
  WITH_TOMBOY_FALSE=
 
17205
fi
 
17206
 
 
17207
 if test "$with_rhythmbox" = "yes" ; then
 
17208
  WITH_RHYTHMBOX_TRUE=
 
17209
  WITH_RHYTHMBOX_FALSE='#'
 
17210
else
 
17211
  WITH_RHYTHMBOX_TRUE='#'
 
17212
  WITH_RHYTHMBOX_FALSE=
 
17213
fi
 
17214
 
 
17215
 if test "$with_nvidia" = "yes" ; then
 
17216
  WITH_NVIDIA_TRUE=
 
17217
  WITH_NVIDIA_FALSE='#'
 
17218
else
 
17219
  WITH_NVIDIA_TRUE='#'
 
17220
  WITH_NVIDIA_FALSE=
 
17221
fi
 
17222
 
 
17223
 if test "$with_compiz_icon" = "yes" ; then
 
17224
  WITH_COMPIZ_ICON_TRUE=
 
17225
  WITH_COMPIZ_ICON_FALSE='#'
 
17226
else
 
17227
  WITH_COMPIZ_ICON_TRUE='#'
 
17228
  WITH_COMPIZ_ICON_FALSE=
 
17229
fi
 
17230
 
 
17231
 if test "$with_xgamma" = "yes" ; then
 
17232
  WITH_XGAMMA_TRUE=
 
17233
  WITH_XGAMMA_FALSE='#'
 
17234
else
 
17235
  WITH_XGAMMA_TRUE='#'
 
17236
  WITH_XGAMMA_FALSE=
 
17237
fi
 
17238
 
 
17239
 if test "$with_gmenu" = "yes" ; then
 
17240
  WITH_GMENU_TRUE=
 
17241
  WITH_GMENU_FALSE='#'
 
17242
else
 
17243
  WITH_GMENU_TRUE='#'
 
17244
  WITH_GMENU_FALSE=
 
17245
fi
 
17246
 
 
17247
 if test "$with_gio_in_gmenu" = "yes" ; then
 
17248
  WITH_GIO_IN_GMENU_TRUE=
 
17249
  WITH_GIO_IN_GMENU_FALSE='#'
 
17250
else
 
17251
  WITH_GIO_IN_GMENU_TRUE='#'
 
17252
  WITH_GIO_IN_GMENU_FALSE=
 
17253
fi
 
17254
 
 
17255
 if test "$with_mail" = "yes" ; then
 
17256
  WITH_MAIL_TRUE=
 
17257
  WITH_MAIL_FALSE='#'
 
17258
else
 
17259
  WITH_MAIL_TRUE='#'
 
17260
  WITH_MAIL_FALSE=
 
17261
fi
 
17262
 
 
17263
 if test "$with_weblets" = "yes" ; then
 
17264
  WITH_WEBLETS_TRUE=
 
17265
  WITH_WEBLETS_FALSE='#'
 
17266
else
 
17267
  WITH_WEBLETS_TRUE='#'
 
17268
  WITH_WEBLETS_FALSE=
 
17269
fi
 
17270
 
 
17271
 if test "$with_exif" = "yes" ; then
 
17272
  WITH_EXIF_TRUE=
 
17273
  WITH_EXIF_FALSE='#'
 
17274
else
 
17275
  WITH_EXIF_TRUE='#'
 
17276
  WITH_EXIF_FALSE=
 
17277
fi
 
17278
 
 
17279
 if test "$with_keyboard_indicator" = "yes" ; then
 
17280
  WITH_KEYBOARD_INDICATOR_TRUE=
 
17281
  WITH_KEYBOARD_INDICATOR_FALSE='#'
 
17282
else
 
17283
  WITH_KEYBOARD_INDICATOR_TRUE='#'
 
17284
  WITH_KEYBOARD_INDICATOR_FALSE=
 
17285
fi
 
17286
 
 
17287
 
 
17288
############# ALSA_MIXER #################
 
17289
ALSA_MIXER_PACKAGE="cd-AlsaMixer"
 
17290
GETTEXT_ALSA_MIXER="$ALSA_MIXER_PACKAGE"
 
17291
 
 
17292
 
 
17293
VERSION_ALSA_MIXER="1.0.8"
 
17294
 
 
17295
PACKAGE_ALSA_MIXER="$ALSA_MIXER_PACKAGE"
 
17296
 
 
17297
 
 
17298
alsa_mixerdatadir="${pkgdatadir}/AlsaMixer"
 
17299
 
 
17300
 
 
17301
############# ANIMATED ICONS #################
 
17302
ANIMATED_ICONS_PACKAGE=cd-Animated-icons
 
17303
GETTEXT_ANIMATED_ICONS="$ANIMATED_ICONS_PACKAGE"
 
17304
 
 
17305
 
 
17306
VERSION_ANIMATED_ICONS="1.0.3"
 
17307
 
 
17308
PACKAGE_ANIMATED_ICONS="$ANIMATED_ICONS_PACKAGE"
 
17309
 
 
17310
 
 
17311
animated_iconsdatadir="${pkgdatadir}/Animated-icons"
 
17312
 
 
17313
 
 
17314
############# CLIPPER #################
 
17315
CLIPPER_PACKAGE="cd-Clipper"
 
17316
GETTEXT_CLIPPER="$CLIPPER_PACKAGE"
 
17317
 
 
17318
 
 
17319
VERSION_CLIPPER="1.0.3"
 
17320
 
 
17321
PACKAGE_CLIPPER="$CLIPPER_PACKAGE"
 
17322
 
 
17323
 
 
17324
Clipperdatadir="${pkgdatadir}/Clipper"
 
17325
 
 
17326
 
 
17327
############# CAIRO_PENGUIN #################
 
17328
CAIRO_PENGUIN_PACKAGE="cd-Cairo-Penguin"
 
17329
GETTEXT_CAIRO_PENGUIN="$CAIRO_PENGUIN_PACKAGE"
 
17330
 
 
17331
 
 
17332
VERSION_CAIRO_PENGUIN="1.1.4"
 
17333
 
 
17334
PACKAGE_CAIRO_PENGUIN="$CAIRO_PENGUIN_PACKAGE"
 
17335
 
 
17336
cairo_penguinuserdirname="Cairo-Penguin"
 
17337
 
 
17338
 
 
17339
cairo_penguindatadir="${pkgdatadir}/Cairo-Penguin"
 
17340
 
 
17341
 
 
17342
############# CLOCK #################
 
17343
CLOCK_PACKAGE="cd-clock"
 
17344
GETTEXT_CLOCK="$CLOCK_PACKAGE"
 
17345
 
 
17346
 
 
17347
VERSION_CLOCK="2.0.4"
 
17348
 
 
17349
PACKAGE_CLOCK="$CLOCK_PACKAGE"
 
17350
 
 
17351
clockuserdirname="clock"
 
17352
clockuserdirname="clock"
 
17353
 
 
17354
 
 
17355
clockdatadir="${pkgdatadir}/clock"
 
17356
 
 
17357
 
 
17358
############# COMPIZ_ICON #################
 
17359
COMPIZ_ICON_PACKAGE="cd-compiz-icon"
 
17360
GETTEXT_COMPIZ_ICON="$COMPIZ_ICON_PACKAGE"
 
17361
 
 
17362
 
 
17363
VERSION_COMPIZ_ICON="1.1.2"
 
17364
 
 
17365
PACKAGE_COMPIZ_ICON="$COMPIZ_ICON_PACKAGE"
 
17366
 
 
17367
 
 
17368
compiz_icondatadir="${pkgdatadir}/compiz-icon"
 
17369
 
 
17370
 
 
17371
############# CPUSAGE #################
 
17372
CPUSAGE_PACKAGE="cd-cpusage"
 
17373
GETTEXT_CPUSAGE="$CPUSAGE_PACKAGE"
 
17374
 
 
17375
 
 
17376
VERSION_CPUSAGE="1.3.0"
 
17377
 
 
17378
PACKAGE_CPUSAGE="$CPUSAGE_PACKAGE"
 
17379
 
 
17380
 
 
17381
cpusagedatadir="${pkgdatadir}/cpusage"
 
17382
 
 
17383
 
 
17384
############# DBUS #################
 
17385
DBUS_PACKAGE="cd-Dbus"
 
17386
GETTEXT_DBUS="$DBUS_PACKAGE"
 
17387
 
 
17388
 
 
17389
VERSION_DBUS="0.5.0"
 
17390
 
 
17391
PACKAGE_DBUS="$DBUS_PACKAGE"
 
17392
 
 
17393
 
 
17394
dbusdatadir="${pkgdatadir}/Dbus"
 
17395
 
 
17396
 
 
17397
############# DROP INDICATOR #################
 
17398
DROP_INDICATOR_PACKAGE=cd-drop_indicator
 
17399
GETTEXT_DROP_INDICATOR="$DROP_INDICATOR_PACKAGE"
 
17400
 
 
17401
 
 
17402
VERSION_DROP_INDICATOR="1.1.0"
 
17403
 
 
17404
PACKAGE_DROP_INDICATOR="$DROP_INDICATOR_PACKAGE"
 
17405
 
 
17406
 
 
17407
drop_indicatordatadir="${pkgdatadir}/drop-indicator"
 
17408
 
 
17409
 
 
17410
############# DUSTBIN #################
 
17411
DUSTBIN_PACKAGE=cd-dustbin
 
17412
GETTEXT_DUSTBIN="$DUSTBIN_PACKAGE"
 
17413
 
 
17414
 
 
17415
VERSION_DUSTBIN="2.2.3"
 
17416
 
 
17417
PACKAGE_DUSTBIN="$DUSTBIN_PACKAGE"
 
17418
 
 
17419
dustbinuserdirname="dustbin"
 
17420
 
 
17421
 
 
17422
 
 
17423
dustbindatadir="${pkgdatadir}/dustbin"
 
17424
 
 
17425
 
 
17426
############# GMENU #################
 
17427
GMENU_PACKAGE=cd-GMenu
 
17428
GETTEXT_GMENU="$GMENU_PACKAGE"
 
17429
 
 
17430
 
 
17431
VERSION_GMENU="1.1.2"
 
17432
 
 
17433
PACKAGE_GMENU="$GMENU_PACKAGE"
 
17434
 
 
17435
 
 
17436
gmenudatadir="${pkgdatadir}/GMenu"
 
17437
 
 
17438
 
 
17439
############# GNOME-INTEGRATION #################
 
17440
GNOME_INTEGRATION_PACKAGE=cd-gnome-integration
 
17441
 
 
17442
VERSION_GNOME_INTEGRATION="1.0.1"
 
17443
 
 
17444
PACKAGE_GNOME_INTEGRATION="$GNOME_INTEGRATION_PACKAGE"
 
17445
 
 
17446
 
 
17447
gnome_integrationdatadir="${pkgdatadir}/gnome-integration"
 
17448
 
 
17449
 
 
17450
############# GNOME-INTEGRATION-OLD #################
 
17451
GNOME_INTEGRATION_OLD_PACKAGE=cd-gnome-integration-old
 
17452
 
 
17453
VERSION_GNOME_INTEGRATION_OLD="1.0.2"
 
17454
 
 
17455
PACKAGE_GNOME_INTEGRATION_OLD="$GNOME_INTEGRATION_OLD_PACKAGE"
 
17456
 
 
17457
 
 
17458
gnome_integration_olddatadir="${pkgdatadir}/gnome-integration-old"
 
17459
 
 
17460
 
 
17461
############# ICON EFFECT #################
 
17462
ICON_EFFECTS_PACKAGE=cd-icon-effect
 
17463
GETTEXT_ICON_EFFECTS="$ICON_EFFECTS_PACKAGE"
 
17464
 
 
17465
 
 
17466
VERSION_ICON_EFFECTS="1.1.3"
 
17467
 
 
17468
PACKAGE_ICON_EFFECTS="$ICON_EFFECTS_PACKAGE"
 
17469
 
 
17470
 
 
17471
icon_effectsdatadir="${pkgdatadir}/icon-effect"
 
17472
 
 
17473
 
 
17474
############# ILLUSION #################
 
17475
ILLUSION_PACKAGE=cd-illusion
 
17476
GETTEXT_ILLUSION="$ILLUSION_PACKAGE"
 
17477
 
 
17478
 
 
17479
VERSION_ILLUSION="1.0.2"
 
17480
 
 
17481
PACKAGE_ILLUSION="$ILLUSION_PACKAGE"
 
17482
 
 
17483
 
 
17484
illusiondatadir="${pkgdatadir}/illusion"
 
17485
 
 
17486
 
 
17487
############# KEYBOARD_INDICATOR #################
 
17488
KEYBOARD_INDICATOR_PACKAGE="cd-keyboard-indicator"
 
17489
GETTEXT_KEYBOARD_INDICATOR="$KEYBOARD_INDICATOR_PACKAGE"
 
17490
 
 
17491
 
 
17492
VERSION_KEYBOARD_INDICATOR="1.0.2"
 
17493
 
 
17494
PACKAGE_KEYBOARD_INDICATOR="$KEYBOARD_INDICATOR_PACKAGE"
 
17495
 
 
17496
 
 
17497
keyboard_indicatordatadir="${pkgdatadir}/keyboard-indicator"
 
17498
 
 
17499
 
 
17500
############# LOGOUT #################
 
17501
LOGOUT_PACKAGE=cd-logout
 
17502
GETTEXT_LOGOUT="$LOGOUT_PACKAGE"
 
17503
 
 
17504
 
 
17505
VERSION_LOGOUT="1.2.6"
 
17506
 
 
17507
PACKAGE_LOGOUT="$LOGOUT_PACKAGE"
 
17508
 
 
17509
 
 
17510
logoutdatadir="${pkgdatadir}/logout"
 
17511
 
 
17512
 
 
17513
############# MAIL #################
 
17514
MAIL_PACKAGE=cd-mail
 
17515
GETTEXT_MAIL="$MAIL_PACKAGE"
 
17516
 
 
17517
 
 
17518
VERSION_MAIL="1.0.4"
 
17519
 
 
17520
PACKAGE_MAIL="$MAIL_PACKAGE"
 
17521
 
 
17522
 
 
17523
maildatadir="${pkgdatadir}/mail"
 
17524
 
 
17525
 
 
17526
############# MOTION BLUR #################
 
17527
MOTION_BLUR_PACKAGE=cd-motion_blur
 
17528
GETTEXT_MOTION_BLUR="$MOTION_BLUR_PACKAGE"
 
17529
 
 
17530
 
 
17531
VERSION_MOTION_BLUR="1.0.2"
 
17532
 
 
17533
PACKAGE_MOTION_BLUR="$MOTION_BLUR_PACKAGE"
 
17534
 
 
17535
 
 
17536
motion_blurdatadir="${pkgdatadir}/motion-blur"
 
17537
 
 
17538
 
 
17539
############# NETSPEED #################
 
17540
NETSPEED_PACKAGE=cd-netspeed
 
17541
GETTEXT_NETSPEED="$NETSPEED_PACKAGE"
 
17542
 
 
17543
 
 
17544
VERSION_NETSPEED="1.2.0"
 
17545
 
 
17546
PACKAGE_NETSPEED="$NETSPEED_PACKAGE"
 
17547
 
 
17548
 
 
17549
netspeeddatadir="${pkgdatadir}/netspeed"
 
17550
 
 
17551
 
 
17552
############# NVIDIA #################
 
17553
NVIDIA_PACKAGE=cd-nVidia
 
17554
GETTEXT_NVIDIA="$NVIDIA_PACKAGE"
 
17555
 
 
17556
 
 
17557
VERSION_NVIDIA="1.1.1"
 
17558
 
 
17559
PACKAGE_NVIDIA="$NVIDIA_PACKAGE"
 
17560
 
 
17561
 
 
17562
nvidiadatadir="${pkgdatadir}/nVidia"
 
17563
 
 
17564
 
 
17565
############# POWERMANAGER #################
 
17566
POWERMANAGER_PACKAGE=cd-powermanager
 
17567
GETTEXT_POWERMANAGER="$POWERMANAGER_PACKAGE"
 
17568
 
 
17569
 
 
17570
VERSION_POWERMANAGER="1.2.17"
 
17571
 
 
17572
PACKAGE_POWERMANAGER="$POWERMANAGER_PACKAGE"
 
17573
 
 
17574
 
 
17575
powermanagerdatadir="${pkgdatadir}/powermanager"
 
17576
 
 
17577
 
 
17578
############# RAME #################
 
17579
RAME_PACKAGE=cd-rame
 
17580
GETTEXT_RAME="$RAME_PACKAGE"
 
17581
 
 
17582
 
 
17583
VERSION_RAME="1.2.0"
 
17584
 
 
17585
PACKAGE_RAME="$RAME_PACKAGE"
 
17586
 
 
17587
 
 
17588
ramedatadir="${pkgdatadir}/rame"
 
17589
 
 
17590
 
 
17591
############# RENDERING #################
 
17592
RENDERING_PACKAGE=cd-rendering
 
17593
GETTEXT_RENDERING="$RENDERING_PACKAGE"
 
17594
 
 
17595
 
 
17596
VERSION_RENDERING="1.5.5"
 
17597
 
 
17598
PACKAGE_RENDERING="$RENDERING_PACKAGE"
 
17599
 
 
17600
 
 
17601
renderingdatadir="${pkgdatadir}/rendering"
 
17602
 
 
17603
 
 
17604
############# DESKLET_RENDERING #################
 
17605
DESKLET_RENDERING_PACKAGE=cd-desklet-rendering
 
17606
GETTEXT_DESKLET_RENDERING="$DESKLET_RENDERING_PACKAGE"
 
17607
 
 
17608
 
 
17609
VERSION_DESKLET_RENDERING="1.5.3"
 
17610
 
 
17611
PACKAGE_DESKLET_RENDERING="$DESKLET_RENDERING_PACKAGE"
 
17612
 
 
17613
 
 
17614
desklet_renderingdatadir="${pkgdatadir}/desklet-rendering"
 
17615
 
 
17616
 
 
17617
############# DIALOG_RENDERING #################
 
17618
DIALOG_RENDERING_PACKAGE=cd-dialog-rendering
 
17619
GETTEXT_DIALOG_RENDERING="$DIALOG_RENDERING_PACKAGE"
 
17620
 
 
17621
 
 
17622
VERSION_DIALOG_RENDERING="0.4.2"
 
17623
 
 
17624
PACKAGE_DIALOG_RENDERING="$DIALOG_RENDERING_PACKAGE"
 
17625
 
 
17626
 
 
17627
dialog_renderingdatadir="${pkgdatadir}/dialog-rendering"
 
17628
 
 
17629
 
 
17630
############# QUICK BROWSER #################
 
17631
QUICK_BROWSER_PACKAGE=cd-quick-browser
 
17632
GETTEXT_QUICK_BROWSER="$QUICK_BROWSER_PACKAGE"
 
17633
 
 
17634
 
 
17635
VERSION_QUICK_BROWSER="1.0.2"
 
17636
 
 
17637
PACKAGE_QUICK_BROWSER="$QUICK_BROWSER_PACKAGE"
 
17638
 
 
17639
 
 
17640
quick_browserdatadir="${pkgdatadir}/quick_browser"
 
17641
 
 
17642
 
 
17643
############# RHYTHMBOX #################
 
17644
RHYTHMBOX_PACKAGE=cd-rhythmbox
 
17645
GETTEXT_RHYTHMBOX="$RHYTHMBOX_PACKAGE"
 
17646
 
 
17647
 
 
17648
VERSION_RHYTHMBOX="1.2.6"
 
17649
 
 
17650
PACKAGE_RHYTHMBOX="$RHYTHMBOX_PACKAGE"
 
17651
 
 
17652
 
 
17653
rhythmboxdatadir="${pkgdatadir}/rhythmbox"
 
17654
 
 
17655
 
 
17656
############# SHORTCUTS #################
 
17657
SHORTCUTS_PACKAGE=cd-shortcuts
 
17658
GETTEXT_SHORTCUTS="$SHORTCUTS_PACKAGE"
 
17659
 
 
17660
 
 
17661
VERSION_SHORTCUTS="1.2.1"
 
17662
 
 
17663
PACKAGE_SHORTCUTS="$SHORTCUTS_PACKAGE"
 
17664
 
 
17665
 
 
17666
shortcutsdatadir="${pkgdatadir}/shortcuts"
 
17667
 
 
17668
 
 
17669
############# SHOW DESKLETS #################
 
17670
SHOW_DESKLETS_PACKAGE=cd-showDesklets
 
17671
GETTEXT_SHOW_DESKLETS="$SHOW_DESKLETS_PACKAGE"
 
17672
 
 
17673
 
 
17674
VERSION_SHOW_DESKLETS="1.0.4"
 
17675
 
 
17676
PACKAGE_SHOW_DESKLETS="$SHOW_DESKLETS_PACKAGE"
 
17677
 
 
17678
 
 
17679
show_deskletsdatadir="${pkgdatadir}/showDesklets"
 
17680
 
 
17681
 
 
17682
############# SHOW DESKTOP #################
 
17683
SHOW_DESKTOP_PACKAGE=cd-showDesktop
 
17684
GETTEXT_SHOW_DESKTOP="$SHOW_DESKTOP_PACKAGE"
 
17685
 
 
17686
 
 
17687
VERSION_SHOW_DESKTOP="1.0.5"
 
17688
 
 
17689
PACKAGE_SHOW_DESKTOP="$SHOW_DESKTOP_PACKAGE"
 
17690
 
 
17691
 
 
17692
show_desktopdatadir="${pkgdatadir}/showDesktop"
 
17693
 
 
17694
 
 
17695
############# SHOW MOUSE #################
 
17696
SHOW_MOUSE_PACKAGE=cd-show_mouse
 
17697
GETTEXT_SHOW_MOUSE="$SHOW_MOUSE_PACKAGE"
 
17698
 
 
17699
 
 
17700
VERSION_SHOW_MOUSE="1.0.2"
 
17701
 
 
17702
PACKAGE_SHOW_MOUSE="$SHOW_MOUSE_PACKAGE"
 
17703
 
 
17704
 
 
17705
show_mousedatadir="${pkgdatadir}/show_mouse"
 
17706
 
 
17707
 
 
17708
############# SLIDER #################
 
17709
SLIDER_PACKAGE="cd-slider"
 
17710
GETTEXT_SLIDER="$SLIDER_PACKAGE"
 
17711
 
 
17712
 
 
17713
VERSION_SLIDER="2.0.2"
 
17714
 
 
17715
PACKAGE_SLIDER="$SLIDER_PACKAGE"
 
17716
 
 
17717
 
 
17718
sliderdatadir="${pkgdatadir}/slider"
 
17719
 
 
17720
 
 
17721
############# STACK #################
 
17722
STACK_PACKAGE="cd-stack"
 
17723
GETTEXT_STACK="$STACK_PACKAGE"
 
17724
 
 
17725
 
 
17726
VERSION_STACK="0.2.4"
 
17727
 
 
17728
PACKAGE_STACK="$STACK_PACKAGE"
 
17729
 
 
17730
 
 
17731
stackdatadir="${pkgdatadir}/stack"
 
17732
 
 
17733
 
 
17734
############# SWITCHER #################
 
17735
SWITCHER_PACKAGE="cd-switcher"
 
17736
GETTEXT_SWITCHER="$SWITCHER_PACKAGE"
 
17737
 
 
17738
 
 
17739
VERSION_SWITCHER="1.0.6"
 
17740
 
 
17741
PACKAGE_SWITCHER="$SWITCHER_PACKAGE"
 
17742
 
 
17743
 
 
17744
switcherdatadir="${pkgdatadir}/switcher"
 
17745
 
 
17746
 
 
17747
############# SYSTRAY #################
 
17748
SYSTRAY_PACKAGE=cd-systray
 
17749
GETTEXT_SYSTRAY="$SYSTRAY_PACKAGE"
 
17750
 
 
17751
 
 
17752
VERSION_SYSTRAY="0.1.8"
 
17753
 
 
17754
PACKAGE_SYSTRAY="$SYSTRAY_PACKAGE"
 
17755
 
 
17756
 
 
17757
systraydatadir="${pkgdatadir}/systray"
 
17758
 
 
17759
 
 
17760
############# TERMINAL #################
 
17761
TERMINAL_PACKAGE="cd-terminal"
 
17762
GETTEXT_TERMINAL="$TERMINAL_PACKAGE"
 
17763
 
 
17764
 
 
17765
VERSION_TERMINAL="1.0.5"
 
17766
 
 
17767
PACKAGE_TERMINAL="$TERMINAL_PACKAGE"
 
17768
 
 
17769
 
 
17770
terminaldatadir="${pkgdatadir}/terminal"
 
17771
 
 
17772
 
 
17773
############# TOMBOY #################
 
17774
TOMBOY_PACKAGE="cd-tomboy"
 
17775
GETTEXT_TOMBOY="$TOMBOY_PACKAGE"
 
17776
 
 
17777
 
 
17778
VERSION_TOMBOY="1.0.4"
 
17779
 
 
17780
PACKAGE_TOMBOY="$TOMBOY_PACKAGE"
 
17781
 
 
17782
 
 
17783
tomboydatadir="${pkgdatadir}/tomboy"
 
17784
 
 
17785
 
 
17786
############# TOONS #################
 
17787
TOONS_PACKAGE="cd-Toons"
 
17788
GETTEXT_TOONS="$TOONS_PACKAGE"
 
17789
 
 
17790
 
 
17791
VERSION_TOONS="1.0.3"
 
17792
 
 
17793
PACKAGE_TOONS="$TOONS_PACKAGE"
 
17794
 
 
17795
 
 
17796
toonsdatadir="${pkgdatadir}/Toons"
 
17797
 
 
17798
toonsuserdirname="Toons"
 
17799
 
 
17800
 
 
17801
############# WEATHER #################
 
17802
WEATHER_PACKAGE="cd-weather"
 
17803
GETTEXT_WEATHER="$WEATHER_PACKAGE"
 
17804
 
 
17805
 
 
17806
VERSION_WEATHER="1.2.5"
 
17807
 
 
17808
PACKAGE_WEATHER="$WEATHER_PACKAGE"
 
17809
 
 
17810
 
 
17811
weatherdatadir="${pkgdatadir}/weather"
 
17812
 
 
17813
weatheruserdirname="weather"
 
17814
 
 
17815
 
 
17816
############# WIFI #################
 
17817
WIFI_PACKAGE="cd-wifi"
 
17818
GETTEXT_WIFI="$WIFI_PACKAGE"
 
17819
 
 
17820
 
 
17821
VERSION_WIFI="1.2.0"
 
17822
 
 
17823
PACKAGE_WIFI="$WIFI_PACKAGE"
 
17824
 
 
17825
 
 
17826
wifidatadir="${pkgdatadir}/wifi"
 
17827
 
 
17828
 
 
17829
############# XFCE-INTEGRATION #################
 
17830
XFCE_INTEGRATION_PACKAGE=cd-xfce-integration
 
17831
 
 
17832
VERSION_XFCE_INTEGRATION="1.0.2"
 
17833
 
 
17834
PACKAGE_XFCE_INTEGRATION="$XFCE_INTEGRATION_PACKAGE"
 
17835
 
 
17836
 
 
17837
xfce_integrationdatadir="${pkgdatadir}/xfce-integration"
 
17838
 
 
17839
 
 
17840
############# XGAMMA #################
 
17841
XGAMMA_PACKAGE="cd-Xgamma"
 
17842
GETTEXT_XGAMMA="$XGAMMA_PACKAGE"
 
17843
 
 
17844
 
 
17845
VERSION_XGAMMA="1.1.2"
 
17846
 
 
17847
PACKAGE_XGAMMA="$XGAMMA_PACKAGE"
 
17848
 
 
17849
 
 
17850
xgammadatadir="${pkgdatadir}/Xgamma"
 
17851
 
 
17852
 
 
17853
############# XMMS #################
 
17854
XMMS_PACKAGE="cd-xmms"
 
17855
GETTEXT_XMMS="$XMMS_PACKAGE"
 
17856
 
 
17857
 
 
17858
VERSION_XMMS="0.2.7"
 
17859
 
 
17860
PACKAGE_XMMS="$XMMS_PACKAGE"
 
17861
 
 
17862
 
 
17863
xmmsdatadir="${pkgdatadir}/xmms"
 
17864
 
 
17865
 
 
17866
############# WEBLETS #################
 
17867
WEBLETS_PACKAGE="cd-weblets"
 
17868
 
 
17869
 
 
17870
$as_echo "#define HAVE_WEBKIT 1" >>confdefs.h
 
17871
 
 
17872
 
 
17873
GETTEXT_WEBLETS="$WEBLETS_PACKAGE"
 
17874
 
 
17875
 
 
17876
VERSION_WEBLETS="0.3.2"
 
17877
 
 
17878
PACKAGE_WEBLETS="$WEBLETS_PACKAGE"
 
17879
 
 
17880
 
 
17881
webletsdatadir="${pkgdatadir}/weblets"
 
17882
 
 
17883
 
 
17884
 
 
17885
ac_config_files="$ac_config_files Makefile po/Makefile.in alsaMixer/Makefile alsaMixer/src/Makefile alsaMixer/po/Makefile.in alsaMixer/data/Makefile alsaMixer/data/AlsaMixer.conf Animated-icons/Makefile Animated-icons/src/Makefile Animated-icons/po/Makefile.in Animated-icons/data/Makefile Animated-icons/data/Animated-icons.conf Cairo-Penguin/Makefile Cairo-Penguin/src/Makefile Cairo-Penguin/po/Makefile.in Cairo-Penguin/data/Makefile Cairo-Penguin/data/Cairo-Penguin.conf Cairo-Penguin/data/themes/Makefile Cairo-Penguin/data/themes/Classic/Makefile Clipper/Makefile Clipper/src/Makefile Clipper/po/Makefile.in Clipper/data/Makefile Clipper/data/Clipper.conf clock/Makefile clock/src/Makefile clock/po/Makefile.in clock/data/Makefile clock/data/clock.conf clock/data/digital/Makefile clock/data/digital/default/Makefile clock/data/themes/Makefile clock/data/themes/default/Makefile compiz-icon/Makefile compiz-icon/src/Makefile compiz-icon/po/Makefile.in compiz-icon/data/Makefile compiz-icon/data/compiz-icon.conf cpusage/Makefile cpusage/src/Makefile cpusage/po/Makefile.in cpusage/data/Makefile cpusage/data/cpusage.conf Dbus/Makefile Dbus/src/Makefile Dbus/po/Makefile.in Dbus/data/Makefile Dbus/data/Dbus.conf drop-indicator/Makefile drop-indicator/src/Makefile drop-indicator/po/Makefile.in drop-indicator/data/Makefile drop-indicator/data/drop_indicator.conf dustbin/Makefile dustbin/src/Makefile dustbin/po/Makefile.in dustbin/data/Makefile dustbin/data/dustbin.conf dustbin/data/themes/Makefile dustbin/data/themes/default/Makefile GMenu/Makefile GMenu/src/Makefile GMenu/po/Makefile.in GMenu/data/Makefile GMenu/data/GMenu.conf gnome-integration/Makefile gnome-integration/src/Makefile gnome-integration/data/Makefile gnome-integration-old/Makefile gnome-integration-old/src/Makefile gnome-integration-old/data/Makefile icon-effect/Makefile icon-effect/src/Makefile icon-effect/po/Makefile.in icon-effect/data/Makefile icon-effect/data/icon-effect.conf illusion/Makefile illusion/src/Makefile illusion/po/Makefile.in illusion/data/Makefile illusion/data/illusion.conf keyboard-indicator/Makefile keyboard-indicator/src/Makefile keyboard-indicator/po/Makefile.in keyboard-indicator/data/Makefile keyboard-indicator/data/keyboard-indicator.conf logout/Makefile logout/src/Makefile logout/po/Makefile.in logout/data/Makefile logout/data/logout.conf mail/Makefile mail/src/Makefile mail/po/Makefile.in mail/data/Makefile mail/data/mail.conf mail/data/themes/Makefile mail/data/themes/Default/Makefile motion-blur/Makefile motion-blur/src/Makefile motion-blur/po/Makefile.in motion-blur/data/Makefile motion-blur/data/motion_blur.conf netspeed/Makefile netspeed/src/Makefile netspeed/po/Makefile.in netspeed/data/Makefile netspeed/data/netspeed.conf nVidia/Makefile nVidia/src/Makefile nVidia/po/Makefile.in nVidia/data/Makefile nVidia/data/nVidia.conf powermanager/Makefile powermanager/src/Makefile powermanager/po/Makefile.in powermanager/data/Makefile powermanager/data/powermanager.conf rame/Makefile rame/src/Makefile rame/po/Makefile.in rame/data/Makefile rame/data/rame.conf dock-rendering/Makefile dock-rendering/src/Makefile dock-rendering/po/Makefile.in dock-rendering/data/Makefile dock-rendering/data/rendering.conf desklet-rendering/Makefile desklet-rendering/src/Makefile desklet-rendering/po/Makefile.in desklet-rendering/data/Makefile dialog-rendering/Makefile dialog-rendering/src/Makefile dialog-rendering/po/Makefile.in dialog-rendering/data/Makefile dialog-rendering/data/dialog-rendering.conf quick-browser/Makefile quick-browser/src/Makefile quick-browser/po/Makefile.in quick-browser/data/Makefile quick-browser/data/quick-browser.conf rhythmbox/Makefile rhythmbox/src/Makefile rhythmbox/po/Makefile.in rhythmbox/data/Makefile rhythmbox/data/rhythmbox.conf rhythmbox/data/themes/Makefile rhythmbox/data/themes/cd_box_simple/Makefile shortcuts/Makefile shortcuts/src/Makefile shortcuts/po/Makefile.in shortcuts/data/Makefile shortcuts/data/shortcuts.conf showDesklets/Makefile showDesklets/src/Makefile showDesklets/po/Makefile.in showDesklets/data/Makefile showDesklets/data/showDesklets.conf showDesktop/Makefile showDesktop/src/Makefile showDesktop/po/Makefile.in showDesktop/data/Makefile showDesktop/data/showDesktop.conf show-mouse/Makefile show-mouse/src/Makefile show-mouse/po/Makefile.in show-mouse/data/Makefile show-mouse/data/show_mouse.conf slider/Makefile slider/src/Makefile slider/po/Makefile.in slider/data/Makefile slider/data/slider.conf stack/Makefile stack/src/Makefile stack/po/Makefile.in stack/data/Makefile stack/data/stack.conf switcher/Makefile switcher/src/Makefile switcher/po/Makefile.in switcher/data/Makefile switcher/data/switcher.conf systray/Makefile systray/src/Makefile systray/po/Makefile.in systray/data/Makefile systray/data/systray.conf terminal/Makefile terminal/src/Makefile terminal/po/Makefile.in terminal/data/Makefile terminal/data/terminal.conf tomboy/Makefile tomboy/src/Makefile tomboy/po/Makefile.in tomboy/data/Makefile tomboy/data/tomboy.conf Toons/Makefile Toons/src/Makefile Toons/po/Makefile.in Toons/data/Makefile Toons/data/Toons.conf Toons/data/themes/Makefile Toons/data/themes/Classic/Makefile weather/Makefile weather/src/Makefile weather/po/Makefile.in weather/data/Makefile weather/data/weather.conf weather/data/themes/Makefile weather/data/themes/Classic/Makefile weblets/Makefile weblets/src/Makefile weblets/po/Makefile.in weblets/data/Makefile weblets/data/weblets.conf wifi/Makefile wifi/src/Makefile wifi/po/Makefile.in wifi/data/Makefile wifi/data/wifi.conf xfce-integration/Makefile xfce-integration/src/Makefile xfce-integration/data/Makefile Xgamma/Makefile Xgamma/src/Makefile Xgamma/po/Makefile.in Xgamma/data/Makefile Xgamma/data/Xgamma.conf xmms/Makefile xmms/src/Makefile xmms/po/Makefile.in xmms/data/Makefile xmms/data/xmms.conf"
 
17886
 
 
17887
 
 
17888
ac_config_files="$ac_config_files po/Makefile alsaMixer/po/Makefile Animated-icons/po/Makefile Cairo-Penguin/po/Makefile Clipper/po/Makefile clock/po/Makefile compiz-icon/po/Makefile cpusage/po/Makefile Dbus/po/Makefile drop-indicator/po/Makefile dustbin/po/Makefile GMenu/po/Makefile icon-effect/po/Makefile illusion/po/Makefile keyboard-indicator/po/Makefile logout/po/Makefile mail/po/Makefile motion-blur/po/Makefile netspeed/po/Makefile nVidia/po/Makefile powermanager/po/Makefile rame/po/Makefile dock-rendering/po/Makefile desklet-rendering/po/Makefile dialog-rendering/po/Makefile quick-browser/po/Makefile rhythmbox/po/Makefile shortcuts/po/Makefile showDesklets/po/Makefile showDesktop/po/Makefile show-mouse/po/Makefile slider/po/Makefile stack/po/Makefile switcher/po/Makefile systray/po/Makefile terminal/po/Makefile tomboy/po/Makefile Toons/po/Makefile weather/po/Makefile weblets/po/Makefile wifi/po/Makefile Xgamma/po/Makefile xmms/po/Makefile"
 
17889
 
 
17890
cat >confcache <<\_ACEOF
 
17891
# This file is a shell script that caches the results of configure
 
17892
# tests run on this system so they can be shared between configure
 
17893
# scripts and configure runs, see configure's option --config-cache.
 
17894
# It is not useful on other systems.  If it contains results you don't
 
17895
# want to keep, you may remove or edit it.
 
17896
#
 
17897
# config.status only pays attention to the cache file if you give it
 
17898
# the --recheck option to rerun configure.
 
17899
#
 
17900
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
17901
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
17902
# following values.
 
17903
 
 
17904
_ACEOF
 
17905
 
 
17906
# The following way of writing the cache mishandles newlines in values,
 
17907
# but we know of no workaround that is simple, portable, and efficient.
 
17908
# So, we kill variables containing newlines.
 
17909
# Ultrix sh set writes to stderr and can't be redirected directly,
 
17910
# and sets the high bit in the cache file unless we assign to the vars.
 
17911
(
 
17912
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
17913
    eval ac_val=\$$ac_var
 
17914
    case $ac_val in #(
 
17915
    *${as_nl}*)
 
17916
      case $ac_var in #(
 
17917
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
17918
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
17919
      esac
 
17920
      case $ac_var in #(
 
17921
      _ | IFS | as_nl) ;; #(
 
17922
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
17923
      *) { eval $ac_var=; unset $ac_var;} ;;
 
17924
      esac ;;
 
17925
    esac
 
17926
  done
 
17927
 
 
17928
  (set) 2>&1 |
 
17929
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
17930
    *${as_nl}ac_space=\ *)
 
17931
      # `set' does not quote correctly, so add quotes: double-quote
 
17932
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
17933
      sed -n \
 
17934
        "s/'/'\\\\''/g;
 
17935
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
17936
      ;; #(
 
17937
    *)
 
17938
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
17939
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
17940
      ;;
 
17941
    esac |
 
17942
    sort
 
17943
) |
 
17944
  sed '
 
17945
     /^ac_cv_env_/b end
 
17946
     t clear
 
17947
     :clear
 
17948
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
17949
     t end
 
17950
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
17951
     :end' >>confcache
 
17952
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
17953
  if test -w "$cache_file"; then
 
17954
    test "x$cache_file" != "x/dev/null" &&
 
17955
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
17956
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
17957
    cat confcache >$cache_file
 
17958
  else
 
17959
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
17960
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
17961
  fi
 
17962
fi
 
17963
rm -f confcache
 
17964
 
 
17965
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
17966
# Let make expand exec_prefix.
 
17967
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
17968
 
 
17969
DEFS=-DHAVE_CONFIG_H
 
17970
 
 
17971
ac_libobjs=
 
17972
ac_ltlibobjs=
 
17973
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
17974
  # 1. Remove the extension, and $U if already installed.
 
17975
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
17976
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
17977
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
17978
  #    will be set to the directory where LIBOBJS objects are built.
 
17979
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17980
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
17981
done
 
17982
LIBOBJS=$ac_libobjs
 
17983
 
 
17984
LTLIBOBJS=$ac_ltlibobjs
 
17985
 
 
17986
 
 
17987
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
17988
  as_fn_error "conditional \"AMDEP\" was never defined.
 
17989
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17990
fi
 
17991
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17992
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
17993
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17994
fi
 
17995
 
 
17996
  ac_config_commands="$ac_config_commands po/stamp-it"
 
17997
 
 
17998
 
 
17999
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
18000
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
18001
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18002
fi
 
18003
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
18004
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
18005
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18006
fi
 
18007
if test -z "${WITH_OLD_GNOME_SUPPORT_TRUE}" && test -z "${WITH_OLD_GNOME_SUPPORT_FALSE}"; then
 
18008
  as_fn_error "conditional \"WITH_OLD_GNOME_SUPPORT\" was never defined.
 
18009
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18010
fi
 
18011
if test -z "${WITH_GNOME_SUPPORT_TRUE}" && test -z "${WITH_GNOME_SUPPORT_FALSE}"; then
 
18012
  as_fn_error "conditional \"WITH_GNOME_SUPPORT\" was never defined.
 
18013
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18014
fi
 
18015
if test -z "${WITH_XFCE_SUPPORT_TRUE}" && test -z "${WITH_XFCE_SUPPORT_FALSE}"; then
 
18016
  as_fn_error "conditional \"WITH_XFCE_SUPPORT\" was never defined.
 
18017
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18018
fi
 
18019
if test -z "${WITH_ALSA_MIXER_TRUE}" && test -z "${WITH_ALSA_MIXER_FALSE}"; then
 
18020
  as_fn_error "conditional \"WITH_ALSA_MIXER\" was never defined.
 
18021
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18022
fi
 
18023
if test -z "${WITH_TERMINAL_TRUE}" && test -z "${WITH_TERMINAL_FALSE}"; then
 
18024
  as_fn_error "conditional \"WITH_TERMINAL\" was never defined.
 
18025
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18026
fi
 
18027
if test -z "${WITH_POWERMANAGER_TRUE}" && test -z "${WITH_POWERMANAGER_FALSE}"; then
 
18028
  as_fn_error "conditional \"WITH_POWERMANAGER\" was never defined.
 
18029
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18030
fi
 
18031
if test -z "${WITH_WIFI_TRUE}" && test -z "${WITH_WIFI_FALSE}"; then
 
18032
  as_fn_error "conditional \"WITH_WIFI\" was never defined.
 
18033
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18034
fi
 
18035
if test -z "${WITH_TOMBOY_TRUE}" && test -z "${WITH_TOMBOY_FALSE}"; then
 
18036
  as_fn_error "conditional \"WITH_TOMBOY\" was never defined.
 
18037
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18038
fi
 
18039
if test -z "${WITH_RHYTHMBOX_TRUE}" && test -z "${WITH_RHYTHMBOX_FALSE}"; then
 
18040
  as_fn_error "conditional \"WITH_RHYTHMBOX\" was never defined.
 
18041
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18042
fi
 
18043
if test -z "${WITH_NVIDIA_TRUE}" && test -z "${WITH_NVIDIA_FALSE}"; then
 
18044
  as_fn_error "conditional \"WITH_NVIDIA\" was never defined.
 
18045
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18046
fi
 
18047
if test -z "${WITH_COMPIZ_ICON_TRUE}" && test -z "${WITH_COMPIZ_ICON_FALSE}"; then
 
18048
  as_fn_error "conditional \"WITH_COMPIZ_ICON\" was never defined.
 
18049
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18050
fi
 
18051
if test -z "${WITH_XGAMMA_TRUE}" && test -z "${WITH_XGAMMA_FALSE}"; then
 
18052
  as_fn_error "conditional \"WITH_XGAMMA\" was never defined.
 
18053
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18054
fi
 
18055
if test -z "${WITH_GMENU_TRUE}" && test -z "${WITH_GMENU_FALSE}"; then
 
18056
  as_fn_error "conditional \"WITH_GMENU\" was never defined.
 
18057
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18058
fi
 
18059
if test -z "${WITH_GIO_IN_GMENU_TRUE}" && test -z "${WITH_GIO_IN_GMENU_FALSE}"; then
 
18060
  as_fn_error "conditional \"WITH_GIO_IN_GMENU\" was never defined.
 
18061
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18062
fi
 
18063
if test -z "${WITH_MAIL_TRUE}" && test -z "${WITH_MAIL_FALSE}"; then
 
18064
  as_fn_error "conditional \"WITH_MAIL\" was never defined.
 
18065
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18066
fi
 
18067
if test -z "${WITH_WEBLETS_TRUE}" && test -z "${WITH_WEBLETS_FALSE}"; then
 
18068
  as_fn_error "conditional \"WITH_WEBLETS\" was never defined.
 
18069
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18070
fi
 
18071
if test -z "${WITH_EXIF_TRUE}" && test -z "${WITH_EXIF_FALSE}"; then
 
18072
  as_fn_error "conditional \"WITH_EXIF\" was never defined.
 
18073
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18074
fi
 
18075
if test -z "${WITH_KEYBOARD_INDICATOR_TRUE}" && test -z "${WITH_KEYBOARD_INDICATOR_FALSE}"; then
 
18076
  as_fn_error "conditional \"WITH_KEYBOARD_INDICATOR\" was never defined.
 
18077
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18078
fi
 
18079
 
 
18080
: ${CONFIG_STATUS=./config.status}
 
18081
ac_write_fail=0
 
18082
ac_clean_files_save=$ac_clean_files
 
18083
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
18084
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
18085
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
18086
as_write_fail=0
 
18087
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
18088
#! $SHELL
 
18089
# Generated by $as_me.
 
18090
# Run this file to recreate the current configuration.
 
18091
# Compiler output produced by configure, useful for debugging
 
18092
# configure, is in config.log if it exists.
 
18093
 
 
18094
debug=false
 
18095
ac_cs_recheck=false
 
18096
ac_cs_silent=false
 
18097
 
 
18098
SHELL=\${CONFIG_SHELL-$SHELL}
 
18099
export SHELL
 
18100
_ASEOF
 
18101
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
18102
## -------------------- ##
 
18103
## M4sh Initialization. ##
 
18104
## -------------------- ##
 
18105
 
 
18106
# Be more Bourne compatible
 
18107
DUALCASE=1; export DUALCASE # for MKS sh
 
18108
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
18109
  emulate sh
 
18110
  NULLCMD=:
 
18111
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
18112
  # is contrary to our usage.  Disable this feature.
 
18113
  alias -g '${1+"$@"}'='"$@"'
 
18114
  setopt NO_GLOB_SUBST
 
18115
else
 
18116
  case `(set -o) 2>/dev/null` in #(
 
18117
  *posix*) :
 
18118
    set -o posix ;; #(
 
18119
  *) :
 
18120
     ;;
 
18121
esac
 
18122
fi
 
18123
 
 
18124
 
 
18125
as_nl='
 
18126
'
 
18127
export as_nl
 
18128
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
18129
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
18130
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
18131
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
18132
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
18133
# but without wasting forks for bash or zsh.
 
18134
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
18135
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18136
  as_echo='print -r --'
 
18137
  as_echo_n='print -rn --'
 
18138
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18139
  as_echo='printf %s\n'
 
18140
  as_echo_n='printf %s'
 
18141
else
 
18142
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
18143
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
18144
    as_echo_n='/usr/ucb/echo -n'
 
18145
  else
 
18146
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
18147
    as_echo_n_body='eval
 
18148
      arg=$1;
 
18149
      case $arg in #(
 
18150
      *"$as_nl"*)
 
18151
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
18152
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
18153
      esac;
 
18154
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
18155
    '
 
18156
    export as_echo_n_body
 
18157
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
18158
  fi
 
18159
  export as_echo_body
 
18160
  as_echo='sh -c $as_echo_body as_echo'
 
18161
fi
 
18162
 
 
18163
# The user is always right.
 
18164
if test "${PATH_SEPARATOR+set}" != set; then
 
18165
  PATH_SEPARATOR=:
 
18166
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
18167
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
18168
      PATH_SEPARATOR=';'
 
18169
  }
 
18170
fi
 
18171
 
 
18172
 
 
18173
# IFS
 
18174
# We need space, tab and new line, in precisely that order.  Quoting is
 
18175
# there to prevent editors from complaining about space-tab.
 
18176
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
18177
# splitting by setting IFS to empty value.)
 
18178
IFS=" ""        $as_nl"
 
18179
 
 
18180
# Find who we are.  Look in the path if we contain no directory separator.
 
18181
case $0 in #((
 
18182
  *[\\/]* ) as_myself=$0 ;;
 
18183
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18184
for as_dir in $PATH
 
18185
do
 
18186
  IFS=$as_save_IFS
 
18187
  test -z "$as_dir" && as_dir=.
 
18188
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
18189
  done
 
18190
IFS=$as_save_IFS
 
18191
 
 
18192
     ;;
 
18193
esac
 
18194
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
18195
# in which case we are not to be found in the path.
 
18196
if test "x$as_myself" = x; then
 
18197
  as_myself=$0
 
18198
fi
 
18199
if test ! -f "$as_myself"; then
 
18200
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
18201
  exit 1
 
18202
fi
 
18203
 
 
18204
# Unset variables that we do not need and which cause bugs (e.g. in
 
18205
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
18206
# suppresses any "Segmentation fault" message there.  '((' could
 
18207
# trigger a bug in pdksh 5.2.14.
 
18208
for as_var in BASH_ENV ENV MAIL MAILPATH
 
18209
do eval test x\${$as_var+set} = xset \
 
18210
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
18211
done
 
18212
PS1='$ '
 
18213
PS2='> '
 
18214
PS4='+ '
 
18215
 
 
18216
# NLS nuisances.
 
18217
LC_ALL=C
 
18218
export LC_ALL
 
18219
LANGUAGE=C
 
18220
export LANGUAGE
 
18221
 
 
18222
# CDPATH.
 
18223
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18224
 
 
18225
 
 
18226
# as_fn_error ERROR [LINENO LOG_FD]
 
18227
# ---------------------------------
 
18228
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
18229
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
18230
# script with status $?, using 1 if that was 0.
 
18231
as_fn_error ()
 
18232
{
 
18233
  as_status=$?; test $as_status -eq 0 && as_status=1
 
18234
  if test "$3"; then
 
18235
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
18236
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
18237
  fi
 
18238
  $as_echo "$as_me: error: $1" >&2
 
18239
  as_fn_exit $as_status
 
18240
} # as_fn_error
 
18241
 
 
18242
 
 
18243
# as_fn_set_status STATUS
 
18244
# -----------------------
 
18245
# Set $? to STATUS, without forking.
 
18246
as_fn_set_status ()
 
18247
{
 
18248
  return $1
 
18249
} # as_fn_set_status
 
18250
 
 
18251
# as_fn_exit STATUS
 
18252
# -----------------
 
18253
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
18254
as_fn_exit ()
 
18255
{
 
18256
  set +e
 
18257
  as_fn_set_status $1
 
18258
  exit $1
 
18259
} # as_fn_exit
 
18260
 
 
18261
# as_fn_unset VAR
 
18262
# ---------------
 
18263
# Portably unset VAR.
 
18264
as_fn_unset ()
 
18265
{
 
18266
  { eval $1=; unset $1;}
 
18267
}
 
18268
as_unset=as_fn_unset
 
18269
# as_fn_append VAR VALUE
 
18270
# ----------------------
 
18271
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
18272
# advantage of any shell optimizations that allow amortized linear growth over
 
18273
# repeated appends, instead of the typical quadratic growth present in naive
 
18274
# implementations.
 
18275
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
18276
  eval 'as_fn_append ()
 
18277
  {
 
18278
    eval $1+=\$2
 
18279
  }'
 
18280
else
 
18281
  as_fn_append ()
 
18282
  {
 
18283
    eval $1=\$$1\$2
 
18284
  }
 
18285
fi # as_fn_append
 
18286
 
 
18287
# as_fn_arith ARG...
 
18288
# ------------------
 
18289
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
18290
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
18291
# must be portable across $(()) and expr.
 
18292
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
18293
  eval 'as_fn_arith ()
 
18294
  {
 
18295
    as_val=$(( $* ))
 
18296
  }'
 
18297
else
 
18298
  as_fn_arith ()
 
18299
  {
 
18300
    as_val=`expr "$@" || test $? -eq 1`
 
18301
  }
 
18302
fi # as_fn_arith
 
18303
 
 
18304
 
 
18305
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
18306
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
18307
  as_expr=expr
 
18308
else
 
18309
  as_expr=false
 
18310
fi
 
18311
 
 
18312
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
18313
  as_basename=basename
 
18314
else
 
18315
  as_basename=false
 
18316
fi
 
18317
 
 
18318
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
18319
  as_dirname=dirname
 
18320
else
 
18321
  as_dirname=false
 
18322
fi
 
18323
 
 
18324
as_me=`$as_basename -- "$0" ||
 
18325
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
18326
         X"$0" : 'X\(//\)$' \| \
 
18327
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
18328
$as_echo X/"$0" |
 
18329
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
18330
            s//\1/
 
18331
            q
 
18332
          }
 
18333
          /^X\/\(\/\/\)$/{
 
18334
            s//\1/
 
18335
            q
 
18336
          }
 
18337
          /^X\/\(\/\).*/{
 
18338
            s//\1/
 
18339
            q
 
18340
          }
 
18341
          s/.*/./; q'`
 
18342
 
 
18343
# Avoid depending upon Character Ranges.
 
18344
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
18345
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
18346
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
18347
as_cr_digits='0123456789'
 
18348
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
18349
 
 
18350
ECHO_C= ECHO_N= ECHO_T=
 
18351
case `echo -n x` in #(((((
 
18352
-n*)
 
18353
  case `echo 'xy\c'` in
 
18354
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
18355
  xy)  ECHO_C='\c';;
 
18356
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
18357
       ECHO_T=' ';;
 
18358
  esac;;
 
18359
*)
 
18360
  ECHO_N='-n';;
 
18361
esac
 
18362
 
 
18363
rm -f conf$$ conf$$.exe conf$$.file
 
18364
if test -d conf$$.dir; then
 
18365
  rm -f conf$$.dir/conf$$.file
 
18366
else
 
18367
  rm -f conf$$.dir
 
18368
  mkdir conf$$.dir 2>/dev/null
 
18369
fi
 
18370
if (echo >conf$$.file) 2>/dev/null; then
 
18371
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
18372
    as_ln_s='ln -s'
 
18373
    # ... but there are two gotchas:
 
18374
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
18375
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
18376
    # In both cases, we have to default to `cp -p'.
 
18377
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
18378
      as_ln_s='cp -p'
 
18379
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
18380
    as_ln_s=ln
 
18381
  else
 
18382
    as_ln_s='cp -p'
 
18383
  fi
 
18384
else
 
18385
  as_ln_s='cp -p'
 
18386
fi
 
18387
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
18388
rmdir conf$$.dir 2>/dev/null
 
18389
 
 
18390
 
 
18391
# as_fn_mkdir_p
 
18392
# -------------
 
18393
# Create "$as_dir" as a directory, including parents if necessary.
 
18394
as_fn_mkdir_p ()
 
18395
{
 
18396
 
 
18397
  case $as_dir in #(
 
18398
  -*) as_dir=./$as_dir;;
 
18399
  esac
 
18400
  test -d "$as_dir" || eval $as_mkdir_p || {
 
18401
    as_dirs=
 
18402
    while :; do
 
18403
      case $as_dir in #(
 
18404
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
18405
      *) as_qdir=$as_dir;;
 
18406
      esac
 
18407
      as_dirs="'$as_qdir' $as_dirs"
 
18408
      as_dir=`$as_dirname -- "$as_dir" ||
 
18409
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18410
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18411
         X"$as_dir" : 'X\(//\)$' \| \
 
18412
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
18413
$as_echo X"$as_dir" |
 
18414
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18415
            s//\1/
 
18416
            q
 
18417
          }
 
18418
          /^X\(\/\/\)[^/].*/{
 
18419
            s//\1/
 
18420
            q
 
18421
          }
 
18422
          /^X\(\/\/\)$/{
 
18423
            s//\1/
 
18424
            q
 
18425
          }
 
18426
          /^X\(\/\).*/{
 
18427
            s//\1/
 
18428
            q
 
18429
          }
 
18430
          s/.*/./; q'`
 
18431
      test -d "$as_dir" && break
 
18432
    done
 
18433
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
18434
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
18435
 
 
18436
 
 
18437
} # as_fn_mkdir_p
 
18438
if mkdir -p . 2>/dev/null; then
 
18439
  as_mkdir_p='mkdir -p "$as_dir"'
 
18440
else
 
18441
  test -d ./-p && rmdir ./-p
 
18442
  as_mkdir_p=false
 
18443
fi
 
18444
 
 
18445
if test -x / >/dev/null 2>&1; then
 
18446
  as_test_x='test -x'
 
18447
else
 
18448
  if ls -dL / >/dev/null 2>&1; then
 
18449
    as_ls_L_option=L
 
18450
  else
 
18451
    as_ls_L_option=
 
18452
  fi
 
18453
  as_test_x='
 
18454
    eval sh -c '\''
 
18455
      if test -d "$1"; then
 
18456
        test -d "$1/.";
 
18457
      else
 
18458
        case $1 in #(
 
18459
        -*)set "./$1";;
 
18460
        esac;
 
18461
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
18462
        ???[sx]*):;;*)false;;esac;fi
 
18463
    '\'' sh
 
18464
  '
 
18465
fi
 
18466
as_executable_p=$as_test_x
 
18467
 
 
18468
# Sed expression to map a string onto a valid CPP name.
 
18469
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
18470
 
 
18471
# Sed expression to map a string onto a valid variable name.
 
18472
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
18473
 
 
18474
 
 
18475
exec 6>&1
 
18476
## ----------------------------------- ##
 
18477
## Main body of $CONFIG_STATUS script. ##
 
18478
## ----------------------------------- ##
 
18479
_ASEOF
 
18480
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
18481
 
 
18482
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18483
# Save the log message, to keep $0 and so on meaningful, and to
 
18484
# report actual input values of CONFIG_FILES etc. instead of their
 
18485
# values after options handling.
 
18486
ac_log="
 
18487
This file was extended by cairo-dock-plugins $as_me 2.0.8, which was
 
18488
generated by GNU Autoconf 2.64.  Invocation command line was
 
18489
 
 
18490
  CONFIG_FILES    = $CONFIG_FILES
 
18491
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
18492
  CONFIG_LINKS    = $CONFIG_LINKS
 
18493
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
18494
  $ $0 $@
 
18495
 
 
18496
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
18497
"
 
18498
 
 
18499
_ACEOF
 
18500
 
 
18501
case $ac_config_files in *"
 
18502
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
18503
esac
 
18504
 
 
18505
case $ac_config_headers in *"
 
18506
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
18507
esac
 
18508
 
 
18509
 
 
18510
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18511
# Files that config.status was made for.
 
18512
config_files="$ac_config_files"
 
18513
config_headers="$ac_config_headers"
 
18514
config_commands="$ac_config_commands"
 
18515
 
 
18516
_ACEOF
 
18517
 
 
18518
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18519
ac_cs_usage="\
 
18520
\`$as_me' instantiates files and other configuration actions
 
18521
from templates according to the current configuration.  Unless the files
 
18522
and actions are specified as TAGs, all are instantiated by default.
 
18523
 
 
18524
Usage: $0 [OPTION]... [TAG]...
 
18525
 
 
18526
  -h, --help       print this help, then exit
 
18527
  -V, --version    print version number and configuration settings, then exit
 
18528
  -q, --quiet, --silent
 
18529
                   do not print progress messages
 
18530
  -d, --debug      don't remove temporary files
 
18531
      --recheck    update $as_me by reconfiguring in the same conditions
 
18532
      --file=FILE[:TEMPLATE]
 
18533
                   instantiate the configuration file FILE
 
18534
      --header=FILE[:TEMPLATE]
 
18535
                   instantiate the configuration header FILE
 
18536
 
 
18537
Configuration files:
 
18538
$config_files
 
18539
 
 
18540
Configuration headers:
 
18541
$config_headers
 
18542
 
 
18543
Configuration commands:
 
18544
$config_commands
 
18545
 
 
18546
Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>."
 
18547
 
 
18548
_ACEOF
 
18549
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18550
ac_cs_version="\\
 
18551
cairo-dock-plugins config.status 2.0.8
 
18552
configured by $0, generated by GNU Autoconf 2.64,
 
18553
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
18554
 
 
18555
Copyright (C) 2009 Free Software Foundation, Inc.
 
18556
This config.status script is free software; the Free Software Foundation
 
18557
gives unlimited permission to copy, distribute and modify it."
 
18558
 
 
18559
ac_pwd='$ac_pwd'
 
18560
srcdir='$srcdir'
 
18561
INSTALL='$INSTALL'
 
18562
MKDIR_P='$MKDIR_P'
 
18563
AWK='$AWK'
 
18564
test -n "\$AWK" || AWK=awk
 
18565
_ACEOF
 
18566
 
 
18567
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18568
# The default lists apply if the user does not specify any file.
 
18569
ac_need_defaults=:
 
18570
while test $# != 0
 
18571
do
 
18572
  case $1 in
 
18573
  --*=*)
 
18574
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
18575
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
18576
    ac_shift=:
 
18577
    ;;
 
18578
  *)
 
18579
    ac_option=$1
 
18580
    ac_optarg=$2
 
18581
    ac_shift=shift
 
18582
    ;;
 
18583
  esac
 
18584
 
 
18585
  case $ac_option in
 
18586
  # Handling of the options.
 
18587
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
18588
    ac_cs_recheck=: ;;
 
18589
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
18590
    $as_echo "$ac_cs_version"; exit ;;
 
18591
  --debug | --debu | --deb | --de | --d | -d )
 
18592
    debug=: ;;
 
18593
  --file | --fil | --fi | --f )
 
18594
    $ac_shift
 
18595
    case $ac_optarg in
 
18596
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18597
    esac
 
18598
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
18599
    ac_need_defaults=false;;
 
18600
  --header | --heade | --head | --hea )
 
18601
    $ac_shift
 
18602
    case $ac_optarg in
 
18603
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18604
    esac
 
18605
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
18606
    ac_need_defaults=false;;
 
18607
  --he | --h)
 
18608
    # Conflict between --help and --header
 
18609
    as_fn_error "ambiguous option: \`$1'
 
18610
Try \`$0 --help' for more information.";;
 
18611
  --help | --hel | -h )
 
18612
    $as_echo "$ac_cs_usage"; exit ;;
 
18613
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
18614
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
18615
    ac_cs_silent=: ;;
 
18616
 
 
18617
  # This is an error.
 
18618
  -*) as_fn_error "unrecognized option: \`$1'
 
18619
Try \`$0 --help' for more information." ;;
 
18620
 
 
18621
  *) as_fn_append ac_config_targets " $1"
 
18622
     ac_need_defaults=false ;;
 
18623
 
 
18624
  esac
 
18625
  shift
 
18626
done
 
18627
 
 
18628
ac_configure_extra_args=
 
18629
 
 
18630
if $ac_cs_silent; then
 
18631
  exec 6>/dev/null
 
18632
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
18633
fi
 
18634
 
 
18635
_ACEOF
 
18636
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18637
if \$ac_cs_recheck; then
 
18638
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18639
  shift
 
18640
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
18641
  CONFIG_SHELL='$SHELL'
 
18642
  export CONFIG_SHELL
 
18643
  exec "\$@"
 
18644
fi
 
18645
 
 
18646
_ACEOF
 
18647
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18648
exec 5>>config.log
 
18649
{
 
18650
  echo
 
18651
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
18652
## Running $as_me. ##
 
18653
_ASBOX
 
18654
  $as_echo "$ac_log"
 
18655
} >&5
 
18656
 
 
18657
_ACEOF
 
18658
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18659
#
 
18660
# INIT-COMMANDS
 
18661
#
 
18662
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
18663
 
 
18664
 
 
18665
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
18666
# if CDPATH is set.
 
18667
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18668
 
 
18669
sed_quote_subst='$sed_quote_subst'
 
18670
double_quote_subst='$double_quote_subst'
 
18671
delay_variable_subst='$delay_variable_subst'
 
18672
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18673
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18674
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
18675
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
18676
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
18677
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
18678
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18679
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
18680
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18681
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18682
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
18683
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18684
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
18685
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
18686
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18687
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18688
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18689
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
18690
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
18691
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
18692
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
18693
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
18694
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
18695
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
18696
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
18697
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
18698
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18699
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18700
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
18701
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
18702
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
18703
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
18704
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18705
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
18706
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
18707
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18708
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18709
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18710
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
18711
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18712
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
18713
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
18714
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
18715
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
18716
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
18717
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18718
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
18719
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
18720
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
18721
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
18722
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18723
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
18724
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
18725
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18726
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
18727
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
18728
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
18729
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
18730
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
18731
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18732
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
18733
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
18734
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18735
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18736
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
18737
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
18738
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18739
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18740
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
18741
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18742
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18743
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18744
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18745
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18746
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18747
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18748
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18749
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18750
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18751
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18752
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
18753
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
18754
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
18755
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
18756
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18757
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
18758
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18759
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
18760
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18761
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
18762
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18763
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18764
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18765
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18766
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18767
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
18768
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18769
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18770
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
18771
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18772
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18773
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18774
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18775
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18776
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18777
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18778
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18779
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18780
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
18781
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
18782
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18783
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18784
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
18785
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
18786
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
18787
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18788
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18789
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18790
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
18791
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
18792
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
18793
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
18794
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
18795
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18796
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18797
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18798
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18799
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18800
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18801
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18802
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18803
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18804
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18805
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18806
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18807
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18808
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18809
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18810
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18811
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18812
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18813
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18814
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18815
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18816
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18817
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18818
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18819
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18820
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18821
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18822
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18823
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18824
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18825
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18826
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18827
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18828
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18829
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18830
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18831
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18832
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18833
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18834
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18835
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18836
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18837
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18838
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18839
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18840
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18841
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18842
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18843
 
 
18844
LTCC='$LTCC'
 
18845
LTCFLAGS='$LTCFLAGS'
 
18846
compiler='$compiler_DEFAULT'
 
18847
 
 
18848
# Quote evaled strings.
 
18849
for var in SED \
 
18850
GREP \
 
18851
EGREP \
 
18852
FGREP \
 
18853
LD \
 
18854
NM \
 
18855
LN_S \
 
18856
lt_SP2NL \
 
18857
lt_NL2SP \
 
18858
reload_flag \
 
18859
OBJDUMP \
 
18860
deplibs_check_method \
 
18861
file_magic_cmd \
 
18862
AR \
 
18863
AR_FLAGS \
 
18864
STRIP \
 
18865
RANLIB \
 
18866
CC \
 
18867
CFLAGS \
 
18868
compiler \
 
18869
lt_cv_sys_global_symbol_pipe \
 
18870
lt_cv_sys_global_symbol_to_cdecl \
 
18871
lt_cv_sys_global_symbol_to_c_name_address \
 
18872
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
18873
SHELL \
 
18874
ECHO \
 
18875
lt_prog_compiler_no_builtin_flag \
 
18876
lt_prog_compiler_wl \
 
18877
lt_prog_compiler_pic \
 
18878
lt_prog_compiler_static \
 
18879
lt_cv_prog_compiler_c_o \
 
18880
need_locks \
 
18881
DSYMUTIL \
 
18882
NMEDIT \
 
18883
LIPO \
 
18884
OTOOL \
 
18885
OTOOL64 \
 
18886
shrext_cmds \
 
18887
export_dynamic_flag_spec \
 
18888
whole_archive_flag_spec \
 
18889
compiler_needs_object \
 
18890
with_gnu_ld \
 
18891
allow_undefined_flag \
 
18892
no_undefined_flag \
 
18893
hardcode_libdir_flag_spec \
 
18894
hardcode_libdir_flag_spec_ld \
 
18895
hardcode_libdir_separator \
 
18896
fix_srcfile_path \
 
18897
exclude_expsyms \
 
18898
include_expsyms \
 
18899
file_list_spec \
 
18900
variables_saved_for_relink \
 
18901
libname_spec \
 
18902
library_names_spec \
 
18903
soname_spec \
 
18904
finish_eval \
 
18905
old_striplib \
 
18906
striplib \
 
18907
compiler_lib_search_dirs \
 
18908
predep_objects \
 
18909
postdep_objects \
 
18910
predeps \
 
18911
postdeps \
 
18912
compiler_lib_search_path \
 
18913
LD_CXX \
 
18914
compiler_CXX \
 
18915
lt_prog_compiler_no_builtin_flag_CXX \
 
18916
lt_prog_compiler_wl_CXX \
 
18917
lt_prog_compiler_pic_CXX \
 
18918
lt_prog_compiler_static_CXX \
 
18919
lt_cv_prog_compiler_c_o_CXX \
 
18920
export_dynamic_flag_spec_CXX \
 
18921
whole_archive_flag_spec_CXX \
 
18922
compiler_needs_object_CXX \
 
18923
with_gnu_ld_CXX \
 
18924
allow_undefined_flag_CXX \
 
18925
no_undefined_flag_CXX \
 
18926
hardcode_libdir_flag_spec_CXX \
 
18927
hardcode_libdir_flag_spec_ld_CXX \
 
18928
hardcode_libdir_separator_CXX \
 
18929
fix_srcfile_path_CXX \
 
18930
exclude_expsyms_CXX \
 
18931
include_expsyms_CXX \
 
18932
file_list_spec_CXX \
 
18933
compiler_lib_search_dirs_CXX \
 
18934
predep_objects_CXX \
 
18935
postdep_objects_CXX \
 
18936
predeps_CXX \
 
18937
postdeps_CXX \
 
18938
compiler_lib_search_path_CXX; do
 
18939
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18940
    *[\\\\\\\`\\"\\\$]*)
 
18941
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
18942
      ;;
 
18943
    *)
 
18944
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18945
      ;;
 
18946
    esac
 
18947
done
 
18948
 
 
18949
# Double-quote double-evaled strings.
 
18950
for var in reload_cmds \
 
18951
old_postinstall_cmds \
 
18952
old_postuninstall_cmds \
 
18953
old_archive_cmds \
 
18954
extract_expsyms_cmds \
 
18955
old_archive_from_new_cmds \
 
18956
old_archive_from_expsyms_cmds \
 
18957
archive_cmds \
 
18958
archive_expsym_cmds \
 
18959
module_cmds \
 
18960
module_expsym_cmds \
 
18961
export_symbols_cmds \
 
18962
prelink_cmds \
 
18963
postinstall_cmds \
 
18964
postuninstall_cmds \
 
18965
finish_cmds \
 
18966
sys_lib_search_path_spec \
 
18967
sys_lib_dlsearch_path_spec \
 
18968
old_archive_cmds_CXX \
 
18969
old_archive_from_new_cmds_CXX \
 
18970
old_archive_from_expsyms_cmds_CXX \
 
18971
archive_cmds_CXX \
 
18972
archive_expsym_cmds_CXX \
 
18973
module_cmds_CXX \
 
18974
module_expsym_cmds_CXX \
 
18975
export_symbols_cmds_CXX \
 
18976
prelink_cmds_CXX; do
 
18977
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18978
    *[\\\\\\\`\\"\\\$]*)
 
18979
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
18980
      ;;
 
18981
    *)
 
18982
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18983
      ;;
 
18984
    esac
 
18985
done
 
18986
 
 
18987
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
18988
case \$lt_ECHO in
 
18989
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
18990
  ;;
 
18991
esac
 
18992
 
 
18993
ac_aux_dir='$ac_aux_dir'
 
18994
xsi_shell='$xsi_shell'
 
18995
lt_shell_append='$lt_shell_append'
 
18996
 
 
18997
# See if we are running on zsh, and set the options which allow our
 
18998
# commands through without removal of \ escapes INIT.
 
18999
if test -n "\${ZSH_VERSION+set}" ; then
 
19000
   setopt NO_GLOB_SUBST
 
19001
fi
 
19002
 
 
19003
 
 
19004
    PACKAGE='$PACKAGE'
 
19005
    VERSION='$VERSION'
 
19006
    TIMESTAMP='$TIMESTAMP'
 
19007
    RM='$RM'
 
19008
    ofile='$ofile'
 
19009
 
 
19010
 
 
19011
 
 
19012
 
 
19013
 
 
19014
 
 
19015
 
 
19016
_ACEOF
 
19017
 
 
19018
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19019
 
 
19020
# Handling of arguments.
 
19021
for ac_config_target in $ac_config_targets
 
19022
do
 
19023
  case $ac_config_target in
 
19024
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
19025
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
19026
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
19027
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
19028
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
19029
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
19030
    "alsaMixer/Makefile") CONFIG_FILES="$CONFIG_FILES alsaMixer/Makefile" ;;
 
19031
    "alsaMixer/src/Makefile") CONFIG_FILES="$CONFIG_FILES alsaMixer/src/Makefile" ;;
 
19032
    "alsaMixer/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES alsaMixer/po/Makefile.in" ;;
 
19033
    "alsaMixer/data/Makefile") CONFIG_FILES="$CONFIG_FILES alsaMixer/data/Makefile" ;;
 
19034
    "alsaMixer/data/AlsaMixer.conf") CONFIG_FILES="$CONFIG_FILES alsaMixer/data/AlsaMixer.conf" ;;
 
19035
    "Animated-icons/Makefile") CONFIG_FILES="$CONFIG_FILES Animated-icons/Makefile" ;;
 
19036
    "Animated-icons/src/Makefile") CONFIG_FILES="$CONFIG_FILES Animated-icons/src/Makefile" ;;
 
19037
    "Animated-icons/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES Animated-icons/po/Makefile.in" ;;
 
19038
    "Animated-icons/data/Makefile") CONFIG_FILES="$CONFIG_FILES Animated-icons/data/Makefile" ;;
 
19039
    "Animated-icons/data/Animated-icons.conf") CONFIG_FILES="$CONFIG_FILES Animated-icons/data/Animated-icons.conf" ;;
 
19040
    "Cairo-Penguin/Makefile") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/Makefile" ;;
 
19041
    "Cairo-Penguin/src/Makefile") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/src/Makefile" ;;
 
19042
    "Cairo-Penguin/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/po/Makefile.in" ;;
 
19043
    "Cairo-Penguin/data/Makefile") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/data/Makefile" ;;
 
19044
    "Cairo-Penguin/data/Cairo-Penguin.conf") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/data/Cairo-Penguin.conf" ;;
 
19045
    "Cairo-Penguin/data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/data/themes/Makefile" ;;
 
19046
    "Cairo-Penguin/data/themes/Classic/Makefile") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/data/themes/Classic/Makefile" ;;
 
19047
    "Clipper/Makefile") CONFIG_FILES="$CONFIG_FILES Clipper/Makefile" ;;
 
19048
    "Clipper/src/Makefile") CONFIG_FILES="$CONFIG_FILES Clipper/src/Makefile" ;;
 
19049
    "Clipper/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES Clipper/po/Makefile.in" ;;
 
19050
    "Clipper/data/Makefile") CONFIG_FILES="$CONFIG_FILES Clipper/data/Makefile" ;;
 
19051
    "Clipper/data/Clipper.conf") CONFIG_FILES="$CONFIG_FILES Clipper/data/Clipper.conf" ;;
 
19052
    "clock/Makefile") CONFIG_FILES="$CONFIG_FILES clock/Makefile" ;;
 
19053
    "clock/src/Makefile") CONFIG_FILES="$CONFIG_FILES clock/src/Makefile" ;;
 
19054
    "clock/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES clock/po/Makefile.in" ;;
 
19055
    "clock/data/Makefile") CONFIG_FILES="$CONFIG_FILES clock/data/Makefile" ;;
 
19056
    "clock/data/clock.conf") CONFIG_FILES="$CONFIG_FILES clock/data/clock.conf" ;;
 
19057
    "clock/data/digital/Makefile") CONFIG_FILES="$CONFIG_FILES clock/data/digital/Makefile" ;;
 
19058
    "clock/data/digital/default/Makefile") CONFIG_FILES="$CONFIG_FILES clock/data/digital/default/Makefile" ;;
 
19059
    "clock/data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES clock/data/themes/Makefile" ;;
 
19060
    "clock/data/themes/default/Makefile") CONFIG_FILES="$CONFIG_FILES clock/data/themes/default/Makefile" ;;
 
19061
    "compiz-icon/Makefile") CONFIG_FILES="$CONFIG_FILES compiz-icon/Makefile" ;;
 
19062
    "compiz-icon/src/Makefile") CONFIG_FILES="$CONFIG_FILES compiz-icon/src/Makefile" ;;
 
19063
    "compiz-icon/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES compiz-icon/po/Makefile.in" ;;
 
19064
    "compiz-icon/data/Makefile") CONFIG_FILES="$CONFIG_FILES compiz-icon/data/Makefile" ;;
 
19065
    "compiz-icon/data/compiz-icon.conf") CONFIG_FILES="$CONFIG_FILES compiz-icon/data/compiz-icon.conf" ;;
 
19066
    "cpusage/Makefile") CONFIG_FILES="$CONFIG_FILES cpusage/Makefile" ;;
 
19067
    "cpusage/src/Makefile") CONFIG_FILES="$CONFIG_FILES cpusage/src/Makefile" ;;
 
19068
    "cpusage/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES cpusage/po/Makefile.in" ;;
 
19069
    "cpusage/data/Makefile") CONFIG_FILES="$CONFIG_FILES cpusage/data/Makefile" ;;
 
19070
    "cpusage/data/cpusage.conf") CONFIG_FILES="$CONFIG_FILES cpusage/data/cpusage.conf" ;;
 
19071
    "Dbus/Makefile") CONFIG_FILES="$CONFIG_FILES Dbus/Makefile" ;;
 
19072
    "Dbus/src/Makefile") CONFIG_FILES="$CONFIG_FILES Dbus/src/Makefile" ;;
 
19073
    "Dbus/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES Dbus/po/Makefile.in" ;;
 
19074
    "Dbus/data/Makefile") CONFIG_FILES="$CONFIG_FILES Dbus/data/Makefile" ;;
 
19075
    "Dbus/data/Dbus.conf") CONFIG_FILES="$CONFIG_FILES Dbus/data/Dbus.conf" ;;
 
19076
    "drop-indicator/Makefile") CONFIG_FILES="$CONFIG_FILES drop-indicator/Makefile" ;;
 
19077
    "drop-indicator/src/Makefile") CONFIG_FILES="$CONFIG_FILES drop-indicator/src/Makefile" ;;
 
19078
    "drop-indicator/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES drop-indicator/po/Makefile.in" ;;
 
19079
    "drop-indicator/data/Makefile") CONFIG_FILES="$CONFIG_FILES drop-indicator/data/Makefile" ;;
 
19080
    "drop-indicator/data/drop_indicator.conf") CONFIG_FILES="$CONFIG_FILES drop-indicator/data/drop_indicator.conf" ;;
 
19081
    "dustbin/Makefile") CONFIG_FILES="$CONFIG_FILES dustbin/Makefile" ;;
 
19082
    "dustbin/src/Makefile") CONFIG_FILES="$CONFIG_FILES dustbin/src/Makefile" ;;
 
19083
    "dustbin/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES dustbin/po/Makefile.in" ;;
 
19084
    "dustbin/data/Makefile") CONFIG_FILES="$CONFIG_FILES dustbin/data/Makefile" ;;
 
19085
    "dustbin/data/dustbin.conf") CONFIG_FILES="$CONFIG_FILES dustbin/data/dustbin.conf" ;;
 
19086
    "dustbin/data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES dustbin/data/themes/Makefile" ;;
 
19087
    "dustbin/data/themes/default/Makefile") CONFIG_FILES="$CONFIG_FILES dustbin/data/themes/default/Makefile" ;;
 
19088
    "GMenu/Makefile") CONFIG_FILES="$CONFIG_FILES GMenu/Makefile" ;;
 
19089
    "GMenu/src/Makefile") CONFIG_FILES="$CONFIG_FILES GMenu/src/Makefile" ;;
 
19090
    "GMenu/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES GMenu/po/Makefile.in" ;;
 
19091
    "GMenu/data/Makefile") CONFIG_FILES="$CONFIG_FILES GMenu/data/Makefile" ;;
 
19092
    "GMenu/data/GMenu.conf") CONFIG_FILES="$CONFIG_FILES GMenu/data/GMenu.conf" ;;
 
19093
    "gnome-integration/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-integration/Makefile" ;;
 
19094
    "gnome-integration/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-integration/src/Makefile" ;;
 
19095
    "gnome-integration/data/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-integration/data/Makefile" ;;
 
19096
    "gnome-integration-old/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-integration-old/Makefile" ;;
 
19097
    "gnome-integration-old/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-integration-old/src/Makefile" ;;
 
19098
    "gnome-integration-old/data/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-integration-old/data/Makefile" ;;
 
19099
    "icon-effect/Makefile") CONFIG_FILES="$CONFIG_FILES icon-effect/Makefile" ;;
 
19100
    "icon-effect/src/Makefile") CONFIG_FILES="$CONFIG_FILES icon-effect/src/Makefile" ;;
 
19101
    "icon-effect/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES icon-effect/po/Makefile.in" ;;
 
19102
    "icon-effect/data/Makefile") CONFIG_FILES="$CONFIG_FILES icon-effect/data/Makefile" ;;
 
19103
    "icon-effect/data/icon-effect.conf") CONFIG_FILES="$CONFIG_FILES icon-effect/data/icon-effect.conf" ;;
 
19104
    "illusion/Makefile") CONFIG_FILES="$CONFIG_FILES illusion/Makefile" ;;
 
19105
    "illusion/src/Makefile") CONFIG_FILES="$CONFIG_FILES illusion/src/Makefile" ;;
 
19106
    "illusion/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES illusion/po/Makefile.in" ;;
 
19107
    "illusion/data/Makefile") CONFIG_FILES="$CONFIG_FILES illusion/data/Makefile" ;;
 
19108
    "illusion/data/illusion.conf") CONFIG_FILES="$CONFIG_FILES illusion/data/illusion.conf" ;;
 
19109
    "keyboard-indicator/Makefile") CONFIG_FILES="$CONFIG_FILES keyboard-indicator/Makefile" ;;
 
19110
    "keyboard-indicator/src/Makefile") CONFIG_FILES="$CONFIG_FILES keyboard-indicator/src/Makefile" ;;
 
19111
    "keyboard-indicator/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES keyboard-indicator/po/Makefile.in" ;;
 
19112
    "keyboard-indicator/data/Makefile") CONFIG_FILES="$CONFIG_FILES keyboard-indicator/data/Makefile" ;;
 
19113
    "keyboard-indicator/data/keyboard-indicator.conf") CONFIG_FILES="$CONFIG_FILES keyboard-indicator/data/keyboard-indicator.conf" ;;
 
19114
    "logout/Makefile") CONFIG_FILES="$CONFIG_FILES logout/Makefile" ;;
 
19115
    "logout/src/Makefile") CONFIG_FILES="$CONFIG_FILES logout/src/Makefile" ;;
 
19116
    "logout/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES logout/po/Makefile.in" ;;
 
19117
    "logout/data/Makefile") CONFIG_FILES="$CONFIG_FILES logout/data/Makefile" ;;
 
19118
    "logout/data/logout.conf") CONFIG_FILES="$CONFIG_FILES logout/data/logout.conf" ;;
 
19119
    "mail/Makefile") CONFIG_FILES="$CONFIG_FILES mail/Makefile" ;;
 
19120
    "mail/src/Makefile") CONFIG_FILES="$CONFIG_FILES mail/src/Makefile" ;;
 
19121
    "mail/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES mail/po/Makefile.in" ;;
 
19122
    "mail/data/Makefile") CONFIG_FILES="$CONFIG_FILES mail/data/Makefile" ;;
 
19123
    "mail/data/mail.conf") CONFIG_FILES="$CONFIG_FILES mail/data/mail.conf" ;;
 
19124
    "mail/data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES mail/data/themes/Makefile" ;;
 
19125
    "mail/data/themes/Default/Makefile") CONFIG_FILES="$CONFIG_FILES mail/data/themes/Default/Makefile" ;;
 
19126
    "motion-blur/Makefile") CONFIG_FILES="$CONFIG_FILES motion-blur/Makefile" ;;
 
19127
    "motion-blur/src/Makefile") CONFIG_FILES="$CONFIG_FILES motion-blur/src/Makefile" ;;
 
19128
    "motion-blur/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES motion-blur/po/Makefile.in" ;;
 
19129
    "motion-blur/data/Makefile") CONFIG_FILES="$CONFIG_FILES motion-blur/data/Makefile" ;;
 
19130
    "motion-blur/data/motion_blur.conf") CONFIG_FILES="$CONFIG_FILES motion-blur/data/motion_blur.conf" ;;
 
19131
    "netspeed/Makefile") CONFIG_FILES="$CONFIG_FILES netspeed/Makefile" ;;
 
19132
    "netspeed/src/Makefile") CONFIG_FILES="$CONFIG_FILES netspeed/src/Makefile" ;;
 
19133
    "netspeed/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES netspeed/po/Makefile.in" ;;
 
19134
    "netspeed/data/Makefile") CONFIG_FILES="$CONFIG_FILES netspeed/data/Makefile" ;;
 
19135
    "netspeed/data/netspeed.conf") CONFIG_FILES="$CONFIG_FILES netspeed/data/netspeed.conf" ;;
 
19136
    "nVidia/Makefile") CONFIG_FILES="$CONFIG_FILES nVidia/Makefile" ;;
 
19137
    "nVidia/src/Makefile") CONFIG_FILES="$CONFIG_FILES nVidia/src/Makefile" ;;
 
19138
    "nVidia/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES nVidia/po/Makefile.in" ;;
 
19139
    "nVidia/data/Makefile") CONFIG_FILES="$CONFIG_FILES nVidia/data/Makefile" ;;
 
19140
    "nVidia/data/nVidia.conf") CONFIG_FILES="$CONFIG_FILES nVidia/data/nVidia.conf" ;;
 
19141
    "powermanager/Makefile") CONFIG_FILES="$CONFIG_FILES powermanager/Makefile" ;;
 
19142
    "powermanager/src/Makefile") CONFIG_FILES="$CONFIG_FILES powermanager/src/Makefile" ;;
 
19143
    "powermanager/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES powermanager/po/Makefile.in" ;;
 
19144
    "powermanager/data/Makefile") CONFIG_FILES="$CONFIG_FILES powermanager/data/Makefile" ;;
 
19145
    "powermanager/data/powermanager.conf") CONFIG_FILES="$CONFIG_FILES powermanager/data/powermanager.conf" ;;
 
19146
    "rame/Makefile") CONFIG_FILES="$CONFIG_FILES rame/Makefile" ;;
 
19147
    "rame/src/Makefile") CONFIG_FILES="$CONFIG_FILES rame/src/Makefile" ;;
 
19148
    "rame/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES rame/po/Makefile.in" ;;
 
19149
    "rame/data/Makefile") CONFIG_FILES="$CONFIG_FILES rame/data/Makefile" ;;
 
19150
    "rame/data/rame.conf") CONFIG_FILES="$CONFIG_FILES rame/data/rame.conf" ;;
 
19151
    "dock-rendering/Makefile") CONFIG_FILES="$CONFIG_FILES dock-rendering/Makefile" ;;
 
19152
    "dock-rendering/src/Makefile") CONFIG_FILES="$CONFIG_FILES dock-rendering/src/Makefile" ;;
 
19153
    "dock-rendering/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES dock-rendering/po/Makefile.in" ;;
 
19154
    "dock-rendering/data/Makefile") CONFIG_FILES="$CONFIG_FILES dock-rendering/data/Makefile" ;;
 
19155
    "dock-rendering/data/rendering.conf") CONFIG_FILES="$CONFIG_FILES dock-rendering/data/rendering.conf" ;;
 
19156
    "desklet-rendering/Makefile") CONFIG_FILES="$CONFIG_FILES desklet-rendering/Makefile" ;;
 
19157
    "desklet-rendering/src/Makefile") CONFIG_FILES="$CONFIG_FILES desklet-rendering/src/Makefile" ;;
 
19158
    "desklet-rendering/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES desklet-rendering/po/Makefile.in" ;;
 
19159
    "desklet-rendering/data/Makefile") CONFIG_FILES="$CONFIG_FILES desklet-rendering/data/Makefile" ;;
 
19160
    "dialog-rendering/Makefile") CONFIG_FILES="$CONFIG_FILES dialog-rendering/Makefile" ;;
 
19161
    "dialog-rendering/src/Makefile") CONFIG_FILES="$CONFIG_FILES dialog-rendering/src/Makefile" ;;
 
19162
    "dialog-rendering/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES dialog-rendering/po/Makefile.in" ;;
 
19163
    "dialog-rendering/data/Makefile") CONFIG_FILES="$CONFIG_FILES dialog-rendering/data/Makefile" ;;
 
19164
    "dialog-rendering/data/dialog-rendering.conf") CONFIG_FILES="$CONFIG_FILES dialog-rendering/data/dialog-rendering.conf" ;;
 
19165
    "quick-browser/Makefile") CONFIG_FILES="$CONFIG_FILES quick-browser/Makefile" ;;
 
19166
    "quick-browser/src/Makefile") CONFIG_FILES="$CONFIG_FILES quick-browser/src/Makefile" ;;
 
19167
    "quick-browser/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES quick-browser/po/Makefile.in" ;;
 
19168
    "quick-browser/data/Makefile") CONFIG_FILES="$CONFIG_FILES quick-browser/data/Makefile" ;;
 
19169
    "quick-browser/data/quick-browser.conf") CONFIG_FILES="$CONFIG_FILES quick-browser/data/quick-browser.conf" ;;
 
19170
    "rhythmbox/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmbox/Makefile" ;;
 
19171
    "rhythmbox/src/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmbox/src/Makefile" ;;
 
19172
    "rhythmbox/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES rhythmbox/po/Makefile.in" ;;
 
19173
    "rhythmbox/data/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmbox/data/Makefile" ;;
 
19174
    "rhythmbox/data/rhythmbox.conf") CONFIG_FILES="$CONFIG_FILES rhythmbox/data/rhythmbox.conf" ;;
 
19175
    "rhythmbox/data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmbox/data/themes/Makefile" ;;
 
19176
    "rhythmbox/data/themes/cd_box_simple/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmbox/data/themes/cd_box_simple/Makefile" ;;
 
19177
    "shortcuts/Makefile") CONFIG_FILES="$CONFIG_FILES shortcuts/Makefile" ;;
 
19178
    "shortcuts/src/Makefile") CONFIG_FILES="$CONFIG_FILES shortcuts/src/Makefile" ;;
 
19179
    "shortcuts/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES shortcuts/po/Makefile.in" ;;
 
19180
    "shortcuts/data/Makefile") CONFIG_FILES="$CONFIG_FILES shortcuts/data/Makefile" ;;
 
19181
    "shortcuts/data/shortcuts.conf") CONFIG_FILES="$CONFIG_FILES shortcuts/data/shortcuts.conf" ;;
 
19182
    "showDesklets/Makefile") CONFIG_FILES="$CONFIG_FILES showDesklets/Makefile" ;;
 
19183
    "showDesklets/src/Makefile") CONFIG_FILES="$CONFIG_FILES showDesklets/src/Makefile" ;;
 
19184
    "showDesklets/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES showDesklets/po/Makefile.in" ;;
 
19185
    "showDesklets/data/Makefile") CONFIG_FILES="$CONFIG_FILES showDesklets/data/Makefile" ;;
 
19186
    "showDesklets/data/showDesklets.conf") CONFIG_FILES="$CONFIG_FILES showDesklets/data/showDesklets.conf" ;;
 
19187
    "showDesktop/Makefile") CONFIG_FILES="$CONFIG_FILES showDesktop/Makefile" ;;
 
19188
    "showDesktop/src/Makefile") CONFIG_FILES="$CONFIG_FILES showDesktop/src/Makefile" ;;
 
19189
    "showDesktop/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES showDesktop/po/Makefile.in" ;;
 
19190
    "showDesktop/data/Makefile") CONFIG_FILES="$CONFIG_FILES showDesktop/data/Makefile" ;;
 
19191
    "showDesktop/data/showDesktop.conf") CONFIG_FILES="$CONFIG_FILES showDesktop/data/showDesktop.conf" ;;
 
19192
    "show-mouse/Makefile") CONFIG_FILES="$CONFIG_FILES show-mouse/Makefile" ;;
 
19193
    "show-mouse/src/Makefile") CONFIG_FILES="$CONFIG_FILES show-mouse/src/Makefile" ;;
 
19194
    "show-mouse/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES show-mouse/po/Makefile.in" ;;
 
19195
    "show-mouse/data/Makefile") CONFIG_FILES="$CONFIG_FILES show-mouse/data/Makefile" ;;
 
19196
    "show-mouse/data/show_mouse.conf") CONFIG_FILES="$CONFIG_FILES show-mouse/data/show_mouse.conf" ;;
 
19197
    "slider/Makefile") CONFIG_FILES="$CONFIG_FILES slider/Makefile" ;;
 
19198
    "slider/src/Makefile") CONFIG_FILES="$CONFIG_FILES slider/src/Makefile" ;;
 
19199
    "slider/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES slider/po/Makefile.in" ;;
 
19200
    "slider/data/Makefile") CONFIG_FILES="$CONFIG_FILES slider/data/Makefile" ;;
 
19201
    "slider/data/slider.conf") CONFIG_FILES="$CONFIG_FILES slider/data/slider.conf" ;;
 
19202
    "stack/Makefile") CONFIG_FILES="$CONFIG_FILES stack/Makefile" ;;
 
19203
    "stack/src/Makefile") CONFIG_FILES="$CONFIG_FILES stack/src/Makefile" ;;
 
19204
    "stack/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES stack/po/Makefile.in" ;;
 
19205
    "stack/data/Makefile") CONFIG_FILES="$CONFIG_FILES stack/data/Makefile" ;;
 
19206
    "stack/data/stack.conf") CONFIG_FILES="$CONFIG_FILES stack/data/stack.conf" ;;
 
19207
    "switcher/Makefile") CONFIG_FILES="$CONFIG_FILES switcher/Makefile" ;;
 
19208
    "switcher/src/Makefile") CONFIG_FILES="$CONFIG_FILES switcher/src/Makefile" ;;
 
19209
    "switcher/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES switcher/po/Makefile.in" ;;
 
19210
    "switcher/data/Makefile") CONFIG_FILES="$CONFIG_FILES switcher/data/Makefile" ;;
 
19211
    "switcher/data/switcher.conf") CONFIG_FILES="$CONFIG_FILES switcher/data/switcher.conf" ;;
 
19212
    "systray/Makefile") CONFIG_FILES="$CONFIG_FILES systray/Makefile" ;;
 
19213
    "systray/src/Makefile") CONFIG_FILES="$CONFIG_FILES systray/src/Makefile" ;;
 
19214
    "systray/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES systray/po/Makefile.in" ;;
 
19215
    "systray/data/Makefile") CONFIG_FILES="$CONFIG_FILES systray/data/Makefile" ;;
 
19216
    "systray/data/systray.conf") CONFIG_FILES="$CONFIG_FILES systray/data/systray.conf" ;;
 
19217
    "terminal/Makefile") CONFIG_FILES="$CONFIG_FILES terminal/Makefile" ;;
 
19218
    "terminal/src/Makefile") CONFIG_FILES="$CONFIG_FILES terminal/src/Makefile" ;;
 
19219
    "terminal/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES terminal/po/Makefile.in" ;;
 
19220
    "terminal/data/Makefile") CONFIG_FILES="$CONFIG_FILES terminal/data/Makefile" ;;
 
19221
    "terminal/data/terminal.conf") CONFIG_FILES="$CONFIG_FILES terminal/data/terminal.conf" ;;
 
19222
    "tomboy/Makefile") CONFIG_FILES="$CONFIG_FILES tomboy/Makefile" ;;
 
19223
    "tomboy/src/Makefile") CONFIG_FILES="$CONFIG_FILES tomboy/src/Makefile" ;;
 
19224
    "tomboy/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES tomboy/po/Makefile.in" ;;
 
19225
    "tomboy/data/Makefile") CONFIG_FILES="$CONFIG_FILES tomboy/data/Makefile" ;;
 
19226
    "tomboy/data/tomboy.conf") CONFIG_FILES="$CONFIG_FILES tomboy/data/tomboy.conf" ;;
 
19227
    "Toons/Makefile") CONFIG_FILES="$CONFIG_FILES Toons/Makefile" ;;
 
19228
    "Toons/src/Makefile") CONFIG_FILES="$CONFIG_FILES Toons/src/Makefile" ;;
 
19229
    "Toons/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES Toons/po/Makefile.in" ;;
 
19230
    "Toons/data/Makefile") CONFIG_FILES="$CONFIG_FILES Toons/data/Makefile" ;;
 
19231
    "Toons/data/Toons.conf") CONFIG_FILES="$CONFIG_FILES Toons/data/Toons.conf" ;;
 
19232
    "Toons/data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES Toons/data/themes/Makefile" ;;
 
19233
    "Toons/data/themes/Classic/Makefile") CONFIG_FILES="$CONFIG_FILES Toons/data/themes/Classic/Makefile" ;;
 
19234
    "weather/Makefile") CONFIG_FILES="$CONFIG_FILES weather/Makefile" ;;
 
19235
    "weather/src/Makefile") CONFIG_FILES="$CONFIG_FILES weather/src/Makefile" ;;
 
19236
    "weather/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES weather/po/Makefile.in" ;;
 
19237
    "weather/data/Makefile") CONFIG_FILES="$CONFIG_FILES weather/data/Makefile" ;;
 
19238
    "weather/data/weather.conf") CONFIG_FILES="$CONFIG_FILES weather/data/weather.conf" ;;
 
19239
    "weather/data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES weather/data/themes/Makefile" ;;
 
19240
    "weather/data/themes/Classic/Makefile") CONFIG_FILES="$CONFIG_FILES weather/data/themes/Classic/Makefile" ;;
 
19241
    "weblets/Makefile") CONFIG_FILES="$CONFIG_FILES weblets/Makefile" ;;
 
19242
    "weblets/src/Makefile") CONFIG_FILES="$CONFIG_FILES weblets/src/Makefile" ;;
 
19243
    "weblets/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES weblets/po/Makefile.in" ;;
 
19244
    "weblets/data/Makefile") CONFIG_FILES="$CONFIG_FILES weblets/data/Makefile" ;;
 
19245
    "weblets/data/weblets.conf") CONFIG_FILES="$CONFIG_FILES weblets/data/weblets.conf" ;;
 
19246
    "wifi/Makefile") CONFIG_FILES="$CONFIG_FILES wifi/Makefile" ;;
 
19247
    "wifi/src/Makefile") CONFIG_FILES="$CONFIG_FILES wifi/src/Makefile" ;;
 
19248
    "wifi/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES wifi/po/Makefile.in" ;;
 
19249
    "wifi/data/Makefile") CONFIG_FILES="$CONFIG_FILES wifi/data/Makefile" ;;
 
19250
    "wifi/data/wifi.conf") CONFIG_FILES="$CONFIG_FILES wifi/data/wifi.conf" ;;
 
19251
    "xfce-integration/Makefile") CONFIG_FILES="$CONFIG_FILES xfce-integration/Makefile" ;;
 
19252
    "xfce-integration/src/Makefile") CONFIG_FILES="$CONFIG_FILES xfce-integration/src/Makefile" ;;
 
19253
    "xfce-integration/data/Makefile") CONFIG_FILES="$CONFIG_FILES xfce-integration/data/Makefile" ;;
 
19254
    "Xgamma/Makefile") CONFIG_FILES="$CONFIG_FILES Xgamma/Makefile" ;;
 
19255
    "Xgamma/src/Makefile") CONFIG_FILES="$CONFIG_FILES Xgamma/src/Makefile" ;;
 
19256
    "Xgamma/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES Xgamma/po/Makefile.in" ;;
 
19257
    "Xgamma/data/Makefile") CONFIG_FILES="$CONFIG_FILES Xgamma/data/Makefile" ;;
 
19258
    "Xgamma/data/Xgamma.conf") CONFIG_FILES="$CONFIG_FILES Xgamma/data/Xgamma.conf" ;;
 
19259
    "xmms/Makefile") CONFIG_FILES="$CONFIG_FILES xmms/Makefile" ;;
 
19260
    "xmms/src/Makefile") CONFIG_FILES="$CONFIG_FILES xmms/src/Makefile" ;;
 
19261
    "xmms/po/Makefile.in") CONFIG_FILES="$CONFIG_FILES xmms/po/Makefile.in" ;;
 
19262
    "xmms/data/Makefile") CONFIG_FILES="$CONFIG_FILES xmms/data/Makefile" ;;
 
19263
    "xmms/data/xmms.conf") CONFIG_FILES="$CONFIG_FILES xmms/data/xmms.conf" ;;
 
19264
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
 
19265
    "alsaMixer/po/Makefile") CONFIG_FILES="$CONFIG_FILES alsaMixer/po/Makefile" ;;
 
19266
    "Animated-icons/po/Makefile") CONFIG_FILES="$CONFIG_FILES Animated-icons/po/Makefile" ;;
 
19267
    "Cairo-Penguin/po/Makefile") CONFIG_FILES="$CONFIG_FILES Cairo-Penguin/po/Makefile" ;;
 
19268
    "Clipper/po/Makefile") CONFIG_FILES="$CONFIG_FILES Clipper/po/Makefile" ;;
 
19269
    "clock/po/Makefile") CONFIG_FILES="$CONFIG_FILES clock/po/Makefile" ;;
 
19270
    "compiz-icon/po/Makefile") CONFIG_FILES="$CONFIG_FILES compiz-icon/po/Makefile" ;;
 
19271
    "cpusage/po/Makefile") CONFIG_FILES="$CONFIG_FILES cpusage/po/Makefile" ;;
 
19272
    "Dbus/po/Makefile") CONFIG_FILES="$CONFIG_FILES Dbus/po/Makefile" ;;
 
19273
    "drop-indicator/po/Makefile") CONFIG_FILES="$CONFIG_FILES drop-indicator/po/Makefile" ;;
 
19274
    "dustbin/po/Makefile") CONFIG_FILES="$CONFIG_FILES dustbin/po/Makefile" ;;
 
19275
    "GMenu/po/Makefile") CONFIG_FILES="$CONFIG_FILES GMenu/po/Makefile" ;;
 
19276
    "icon-effect/po/Makefile") CONFIG_FILES="$CONFIG_FILES icon-effect/po/Makefile" ;;
 
19277
    "illusion/po/Makefile") CONFIG_FILES="$CONFIG_FILES illusion/po/Makefile" ;;
 
19278
    "keyboard-indicator/po/Makefile") CONFIG_FILES="$CONFIG_FILES keyboard-indicator/po/Makefile" ;;
 
19279
    "logout/po/Makefile") CONFIG_FILES="$CONFIG_FILES logout/po/Makefile" ;;
 
19280
    "mail/po/Makefile") CONFIG_FILES="$CONFIG_FILES mail/po/Makefile" ;;
 
19281
    "motion-blur/po/Makefile") CONFIG_FILES="$CONFIG_FILES motion-blur/po/Makefile" ;;
 
19282
    "netspeed/po/Makefile") CONFIG_FILES="$CONFIG_FILES netspeed/po/Makefile" ;;
 
19283
    "nVidia/po/Makefile") CONFIG_FILES="$CONFIG_FILES nVidia/po/Makefile" ;;
 
19284
    "powermanager/po/Makefile") CONFIG_FILES="$CONFIG_FILES powermanager/po/Makefile" ;;
 
19285
    "rame/po/Makefile") CONFIG_FILES="$CONFIG_FILES rame/po/Makefile" ;;
 
19286
    "dock-rendering/po/Makefile") CONFIG_FILES="$CONFIG_FILES dock-rendering/po/Makefile" ;;
 
19287
    "desklet-rendering/po/Makefile") CONFIG_FILES="$CONFIG_FILES desklet-rendering/po/Makefile" ;;
 
19288
    "dialog-rendering/po/Makefile") CONFIG_FILES="$CONFIG_FILES dialog-rendering/po/Makefile" ;;
 
19289
    "quick-browser/po/Makefile") CONFIG_FILES="$CONFIG_FILES quick-browser/po/Makefile" ;;
 
19290
    "rhythmbox/po/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmbox/po/Makefile" ;;
 
19291
    "shortcuts/po/Makefile") CONFIG_FILES="$CONFIG_FILES shortcuts/po/Makefile" ;;
 
19292
    "showDesklets/po/Makefile") CONFIG_FILES="$CONFIG_FILES showDesklets/po/Makefile" ;;
 
19293
    "showDesktop/po/Makefile") CONFIG_FILES="$CONFIG_FILES showDesktop/po/Makefile" ;;
 
19294
    "show-mouse/po/Makefile") CONFIG_FILES="$CONFIG_FILES show-mouse/po/Makefile" ;;
 
19295
    "slider/po/Makefile") CONFIG_FILES="$CONFIG_FILES slider/po/Makefile" ;;
 
19296
    "stack/po/Makefile") CONFIG_FILES="$CONFIG_FILES stack/po/Makefile" ;;
 
19297
    "switcher/po/Makefile") CONFIG_FILES="$CONFIG_FILES switcher/po/Makefile" ;;
 
19298
    "systray/po/Makefile") CONFIG_FILES="$CONFIG_FILES systray/po/Makefile" ;;
 
19299
    "terminal/po/Makefile") CONFIG_FILES="$CONFIG_FILES terminal/po/Makefile" ;;
 
19300
    "tomboy/po/Makefile") CONFIG_FILES="$CONFIG_FILES tomboy/po/Makefile" ;;
 
19301
    "Toons/po/Makefile") CONFIG_FILES="$CONFIG_FILES Toons/po/Makefile" ;;
 
19302
    "weather/po/Makefile") CONFIG_FILES="$CONFIG_FILES weather/po/Makefile" ;;
 
19303
    "weblets/po/Makefile") CONFIG_FILES="$CONFIG_FILES weblets/po/Makefile" ;;
 
19304
    "wifi/po/Makefile") CONFIG_FILES="$CONFIG_FILES wifi/po/Makefile" ;;
 
19305
    "Xgamma/po/Makefile") CONFIG_FILES="$CONFIG_FILES Xgamma/po/Makefile" ;;
 
19306
    "xmms/po/Makefile") CONFIG_FILES="$CONFIG_FILES xmms/po/Makefile" ;;
 
19307
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
19308
 
 
19309
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
19310
  esac
 
19311
done
 
19312
 
 
19313
 
 
19314
# If the user did not use the arguments to specify the items to instantiate,
 
19315
# then the envvar interface is used.  Set only those that are not.
 
19316
# We use the long form for the default assignment because of an extremely
 
19317
# bizarre bug on SunOS 4.1.3.
 
19318
if $ac_need_defaults; then
 
19319
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
19320
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
19321
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
19322
fi
 
19323
 
 
19324
# Have a temporary directory for convenience.  Make it in the build tree
 
19325
# simply because there is no reason against having it here, and in addition,
 
19326
# creating and moving files from /tmp can sometimes cause problems.
 
19327
# Hook for its removal unless debugging.
 
19328
# Note that there is a small window in which the directory will not be cleaned:
 
19329
# after its creation but before its name has been assigned to `$tmp'.
 
19330
$debug ||
 
19331
{
 
19332
  tmp=
 
19333
  trap 'exit_status=$?
 
19334
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
19335
' 0
 
19336
  trap 'as_fn_exit 1' 1 2 13 15
 
19337
}
 
19338
# Create a (secure) tmp directory for tmp files.
 
19339
 
 
19340
{
 
19341
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
19342
  test -n "$tmp" && test -d "$tmp"
 
19343
}  ||
 
19344
{
 
19345
  tmp=./conf$$-$RANDOM
 
19346
  (umask 077 && mkdir "$tmp")
 
19347
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
19348
 
 
19349
# Set up the scripts for CONFIG_FILES section.
 
19350
# No need to generate them if there are no CONFIG_FILES.
 
19351
# This happens for instance with `./config.status config.h'.
 
19352
if test -n "$CONFIG_FILES"; then
 
19353
 
 
19354
 
 
19355
ac_cr=`echo X | tr X '\015'`
 
19356
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
19357
# But we know of no other shell where ac_cr would be empty at this
 
19358
# point, so we can use a bashism as a fallback.
 
19359
if test "x$ac_cr" = x; then
 
19360
  eval ac_cr=\$\'\\r\'
 
19361
fi
 
19362
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
19363
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
19364
  ac_cs_awk_cr='\r'
 
19365
else
 
19366
  ac_cs_awk_cr=$ac_cr
 
19367
fi
 
19368
 
 
19369
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
19370
_ACEOF
 
19371
 
 
19372
 
 
19373
{
 
19374
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
19375
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
19376
  echo "_ACEOF"
 
19377
} >conf$$subs.sh ||
 
19378
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19379
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
19380
ac_delim='%!_!# '
 
19381
for ac_last_try in false false false false false :; do
 
19382
  . ./conf$$subs.sh ||
 
19383
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19384
 
 
19385
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
19386
  if test $ac_delim_n = $ac_delim_num; then
 
19387
    break
 
19388
  elif $ac_last_try; then
 
19389
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19390
  else
 
19391
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19392
  fi
 
19393
done
 
19394
rm -f conf$$subs.sh
 
19395
 
 
19396
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19397
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
19398
_ACEOF
 
19399
sed -n '
 
19400
h
 
19401
s/^/S["/; s/!.*/"]=/
 
19402
p
 
19403
g
 
19404
s/^[^!]*!//
 
19405
:repl
 
19406
t repl
 
19407
s/'"$ac_delim"'$//
 
19408
t delim
 
19409
:nl
 
19410
h
 
19411
s/\(.\{148\}\).*/\1/
 
19412
t more1
 
19413
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
19414
p
 
19415
n
 
19416
b repl
 
19417
:more1
 
19418
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
19419
p
 
19420
g
 
19421
s/.\{148\}//
 
19422
t nl
 
19423
:delim
 
19424
h
 
19425
s/\(.\{148\}\).*/\1/
 
19426
t more2
 
19427
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
19428
p
 
19429
b
 
19430
:more2
 
19431
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
19432
p
 
19433
g
 
19434
s/.\{148\}//
 
19435
t delim
 
19436
' <conf$$subs.awk | sed '
 
19437
/^[^""]/{
 
19438
  N
 
19439
  s/\n//
 
19440
}
 
19441
' >>$CONFIG_STATUS || ac_write_fail=1
 
19442
rm -f conf$$subs.awk
 
19443
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19444
_ACAWK
 
19445
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
19446
  for (key in S) S_is_set[key] = 1
 
19447
  FS = ""
 
19448
 
 
19449
}
 
19450
{
 
19451
  line = $ 0
 
19452
  nfields = split(line, field, "@")
 
19453
  substed = 0
 
19454
  len = length(field[1])
 
19455
  for (i = 2; i < nfields; i++) {
 
19456
    key = field[i]
 
19457
    keylen = length(key)
 
19458
    if (S_is_set[key]) {
 
19459
      value = S[key]
 
19460
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
19461
      len += length(value) + length(field[++i])
 
19462
      substed = 1
 
19463
    } else
 
19464
      len += 1 + keylen
 
19465
  }
 
19466
 
 
19467
  print line
 
19468
}
 
19469
 
 
19470
_ACAWK
 
19471
_ACEOF
 
19472
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19473
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
19474
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
19475
else
 
19476
  cat
 
19477
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
19478
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
19479
_ACEOF
 
19480
 
 
19481
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
19482
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
19483
# trailing colons and then remove the whole line if VPATH becomes empty
 
19484
# (actually we leave an empty line to preserve line numbers).
 
19485
if test "x$srcdir" = x.; then
 
19486
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
19487
s/:*\$(srcdir):*/:/
 
19488
s/:*\${srcdir}:*/:/
 
19489
s/:*@srcdir@:*/:/
 
19490
s/^\([^=]*=[     ]*\):*/\1/
 
19491
s/:*$//
 
19492
s/^[^=]*=[       ]*$//
 
19493
}'
 
19494
fi
 
19495
 
 
19496
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19497
fi # test -n "$CONFIG_FILES"
 
19498
 
 
19499
# Set up the scripts for CONFIG_HEADERS section.
 
19500
# No need to generate them if there are no CONFIG_HEADERS.
 
19501
# This happens for instance with `./config.status Makefile'.
 
19502
if test -n "$CONFIG_HEADERS"; then
 
19503
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
19504
BEGIN {
 
19505
_ACEOF
 
19506
 
 
19507
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
19508
# here-document in config.status, that substitutes the proper values into
 
19509
# config.h.in to produce config.h.
 
19510
 
 
19511
# Create a delimiter string that does not exist in confdefs.h, to ease
 
19512
# handling of long lines.
 
19513
ac_delim='%!_!# '
 
19514
for ac_last_try in false false :; do
 
19515
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
19516
  if test -z "$ac_t"; then
 
19517
    break
 
19518
  elif $ac_last_try; then
 
19519
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
19520
  else
 
19521
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19522
  fi
 
19523
done
 
19524
 
 
19525
# For the awk script, D is an array of macro values keyed by name,
 
19526
# likewise P contains macro parameters if any.  Preserve backslash
 
19527
# newline sequences.
 
19528
 
 
19529
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
19530
sed -n '
 
19531
s/.\{148\}/&'"$ac_delim"'/g
 
19532
t rset
 
19533
:rset
 
19534
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
19535
t def
 
19536
d
 
19537
:def
 
19538
s/\\$//
 
19539
t bsnl
 
19540
s/["\\]/\\&/g
 
19541
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
19542
D["\1"]=" \3"/p
 
19543
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
19544
d
 
19545
:bsnl
 
19546
s/["\\]/\\&/g
 
19547
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
19548
D["\1"]=" \3\\\\\\n"\\/p
 
19549
t cont
 
19550
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
19551
t cont
 
19552
d
 
19553
:cont
 
19554
n
 
19555
s/.\{148\}/&'"$ac_delim"'/g
 
19556
t clear
 
19557
:clear
 
19558
s/\\$//
 
19559
t bsnlc
 
19560
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
19561
d
 
19562
:bsnlc
 
19563
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
19564
b cont
 
19565
' <confdefs.h | sed '
 
19566
s/'"$ac_delim"'/"\\\
 
19567
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
19568
 
 
19569
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19570
  for (key in D) D_is_set[key] = 1
 
19571
  FS = ""
 
19572
}
 
19573
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
19574
  line = \$ 0
 
19575
  split(line, arg, " ")
 
19576
  if (arg[1] == "#") {
 
19577
    defundef = arg[2]
 
19578
    mac1 = arg[3]
 
19579
  } else {
 
19580
    defundef = substr(arg[1], 2)
 
19581
    mac1 = arg[2]
 
19582
  }
 
19583
  split(mac1, mac2, "(") #)
 
19584
  macro = mac2[1]
 
19585
  prefix = substr(line, 1, index(line, defundef) - 1)
 
19586
  if (D_is_set[macro]) {
 
19587
    # Preserve the white space surrounding the "#".
 
19588
    print prefix "define", macro P[macro] D[macro]
 
19589
    next
 
19590
  } else {
 
19591
    # Replace #undef with comments.  This is necessary, for example,
 
19592
    # in the case of _POSIX_SOURCE, which is predefined and required
 
19593
    # on some systems where configure will not decide to define it.
 
19594
    if (defundef == "undef") {
 
19595
      print "/*", prefix defundef, macro, "*/"
 
19596
      next
 
19597
    }
 
19598
  }
 
19599
}
 
19600
{ print }
 
19601
_ACAWK
 
19602
_ACEOF
 
19603
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19604
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
19605
fi # test -n "$CONFIG_HEADERS"
 
19606
 
 
19607
 
 
19608
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
19609
shift
 
19610
for ac_tag
 
19611
do
 
19612
  case $ac_tag in
 
19613
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
19614
  esac
 
19615
  case $ac_mode$ac_tag in
 
19616
  :[FHL]*:*);;
 
19617
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
19618
  :[FH]-) ac_tag=-:-;;
 
19619
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
19620
  esac
 
19621
  ac_save_IFS=$IFS
 
19622
  IFS=:
 
19623
  set x $ac_tag
 
19624
  IFS=$ac_save_IFS
 
19625
  shift
 
19626
  ac_file=$1
 
19627
  shift
 
19628
 
 
19629
  case $ac_mode in
 
19630
  :L) ac_source=$1;;
 
19631
  :[FH])
 
19632
    ac_file_inputs=
 
19633
    for ac_f
 
19634
    do
 
19635
      case $ac_f in
 
19636
      -) ac_f="$tmp/stdin";;
 
19637
      *) # Look for the file first in the build tree, then in the source tree
 
19638
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
19639
         # because $ac_f cannot contain `:'.
 
19640
         test -f "$ac_f" ||
 
19641
           case $ac_f in
 
19642
           [\\/$]*) false;;
 
19643
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
19644
           esac ||
 
19645
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
19646
      esac
 
19647
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
19648
      as_fn_append ac_file_inputs " '$ac_f'"
 
19649
    done
 
19650
 
 
19651
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
19652
    # use $as_me), people would be surprised to read:
 
19653
    #    /* config.h.  Generated by config.status.  */
 
19654
    configure_input='Generated from '`
 
19655
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
19656
        `' by configure.'
 
19657
    if test x"$ac_file" != x-; then
 
19658
      configure_input="$ac_file.  $configure_input"
 
19659
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
19660
$as_echo "$as_me: creating $ac_file" >&6;}
 
19661
    fi
 
19662
    # Neutralize special characters interpreted by sed in replacement strings.
 
19663
    case $configure_input in #(
 
19664
    *\&* | *\|* | *\\* )
 
19665
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
19666
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
19667
    *) ac_sed_conf_input=$configure_input;;
 
19668
    esac
 
19669
 
 
19670
    case $ac_tag in
 
19671
    *:-:* | *:-) cat >"$tmp/stdin" \
 
19672
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
19673
    esac
 
19674
    ;;
 
19675
  esac
 
19676
 
 
19677
  ac_dir=`$as_dirname -- "$ac_file" ||
 
19678
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19679
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
19680
         X"$ac_file" : 'X\(//\)$' \| \
 
19681
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
19682
$as_echo X"$ac_file" |
 
19683
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19684
            s//\1/
 
19685
            q
 
19686
          }
 
19687
          /^X\(\/\/\)[^/].*/{
 
19688
            s//\1/
 
19689
            q
 
19690
          }
 
19691
          /^X\(\/\/\)$/{
 
19692
            s//\1/
 
19693
            q
 
19694
          }
 
19695
          /^X\(\/\).*/{
 
19696
            s//\1/
 
19697
            q
 
19698
          }
 
19699
          s/.*/./; q'`
 
19700
  as_dir="$ac_dir"; as_fn_mkdir_p
 
19701
  ac_builddir=.
 
19702
 
 
19703
case "$ac_dir" in
 
19704
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
19705
*)
 
19706
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
19707
  # A ".." for each directory in $ac_dir_suffix.
 
19708
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
19709
  case $ac_top_builddir_sub in
 
19710
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
19711
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
19712
  esac ;;
 
19713
esac
 
19714
ac_abs_top_builddir=$ac_pwd
 
19715
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
19716
# for backward compatibility:
 
19717
ac_top_builddir=$ac_top_build_prefix
 
19718
 
 
19719
case $srcdir in
 
19720
  .)  # We are building in place.
 
19721
    ac_srcdir=.
 
19722
    ac_top_srcdir=$ac_top_builddir_sub
 
19723
    ac_abs_top_srcdir=$ac_pwd ;;
 
19724
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
19725
    ac_srcdir=$srcdir$ac_dir_suffix;
 
19726
    ac_top_srcdir=$srcdir
 
19727
    ac_abs_top_srcdir=$srcdir ;;
 
19728
  *) # Relative name.
 
19729
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
19730
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
19731
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
19732
esac
 
19733
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
19734
 
 
19735
 
 
19736
  case $ac_mode in
 
19737
  :F)
 
19738
  #
 
19739
  # CONFIG_FILE
 
19740
  #
 
19741
 
 
19742
  case $INSTALL in
 
19743
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
19744
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
19745
  esac
 
19746
  ac_MKDIR_P=$MKDIR_P
 
19747
  case $MKDIR_P in
 
19748
  [\\/$]* | ?:[\\/]* ) ;;
 
19749
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
19750
  esac
 
19751
_ACEOF
 
19752
 
 
19753
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19754
# If the template does not know about datarootdir, expand it.
 
19755
# FIXME: This hack should be removed a few years after 2.60.
 
19756
ac_datarootdir_hack=; ac_datarootdir_seen=
 
19757
ac_sed_dataroot='
 
19758
/datarootdir/ {
 
19759
  p
 
19760
  q
 
19761
}
 
19762
/@datadir@/p
 
19763
/@docdir@/p
 
19764
/@infodir@/p
 
19765
/@localedir@/p
 
19766
/@mandir@/p'
 
19767
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
19768
*datarootdir*) ac_datarootdir_seen=yes;;
 
19769
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
19770
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
19771
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
19772
_ACEOF
 
19773
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19774
  ac_datarootdir_hack='
 
19775
  s&@datadir@&$datadir&g
 
19776
  s&@docdir@&$docdir&g
 
19777
  s&@infodir@&$infodir&g
 
19778
  s&@localedir@&$localedir&g
 
19779
  s&@mandir@&$mandir&g
 
19780
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
19781
esac
 
19782
_ACEOF
 
19783
 
 
19784
# Neutralize VPATH when `$srcdir' = `.'.
 
19785
# Shell code in configure.ac might set extrasub.
 
19786
# FIXME: do we really want to maintain this feature?
 
19787
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19788
ac_sed_extra="$ac_vpsub
 
19789
$extrasub
 
19790
_ACEOF
 
19791
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19792
:t
 
19793
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
19794
s|@configure_input@|$ac_sed_conf_input|;t t
 
19795
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
19796
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
19797
s&@srcdir@&$ac_srcdir&;t t
 
19798
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
19799
s&@top_srcdir@&$ac_top_srcdir&;t t
 
19800
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
19801
s&@builddir@&$ac_builddir&;t t
 
19802
s&@abs_builddir@&$ac_abs_builddir&;t t
 
19803
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
19804
s&@INSTALL@&$ac_INSTALL&;t t
 
19805
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
19806
$ac_datarootdir_hack
 
19807
"
 
19808
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
19809
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19810
 
 
19811
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
19812
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
19813
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
19814
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19815
which seems to be undefined.  Please make sure it is defined." >&5
 
19816
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19817
which seems to be undefined.  Please make sure it is defined." >&2;}
 
19818
 
 
19819
  rm -f "$tmp/stdin"
 
19820
  case $ac_file in
 
19821
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
19822
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
19823
  esac \
 
19824
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19825
 ;;
 
19826
  :H)
 
19827
  #
 
19828
  # CONFIG_HEADER
 
19829
  #
 
19830
  if test x"$ac_file" != x-; then
 
19831
    {
 
19832
      $as_echo "/* $configure_input  */" \
 
19833
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
19834
    } >"$tmp/config.h" \
 
19835
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19836
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
19837
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
19838
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
19839
    else
 
19840
      rm -f "$ac_file"
 
19841
      mv "$tmp/config.h" "$ac_file" \
 
19842
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19843
    fi
 
19844
  else
 
19845
    $as_echo "/* $configure_input  */" \
 
19846
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
19847
      || as_fn_error "could not create -" "$LINENO" 5
 
19848
  fi
 
19849
# Compute "$ac_file"'s index in $config_headers.
 
19850
_am_arg="$ac_file"
 
19851
_am_stamp_count=1
 
19852
for _am_header in $config_headers :; do
 
19853
  case $_am_header in
 
19854
    $_am_arg | $_am_arg:* )
 
19855
      break ;;
 
19856
    * )
 
19857
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
19858
  esac
 
19859
done
 
19860
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
19861
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19862
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
19863
         X"$_am_arg" : 'X\(//\)$' \| \
 
19864
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
19865
$as_echo X"$_am_arg" |
 
19866
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19867
            s//\1/
 
19868
            q
 
19869
          }
 
19870
          /^X\(\/\/\)[^/].*/{
 
19871
            s//\1/
 
19872
            q
 
19873
          }
 
19874
          /^X\(\/\/\)$/{
 
19875
            s//\1/
 
19876
            q
 
19877
          }
 
19878
          /^X\(\/\).*/{
 
19879
            s//\1/
 
19880
            q
 
19881
          }
 
19882
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
19883
 ;;
 
19884
 
 
19885
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
19886
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
19887
 ;;
 
19888
  esac
 
19889
 
 
19890
 
 
19891
  case $ac_file$ac_mode in
 
19892
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
19893
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
19894
  # are listed without --file.  Let's play safe and only enable the eval
 
19895
  # if we detect the quoting.
 
19896
  case $CONFIG_FILES in
 
19897
  *\'*) eval set x "$CONFIG_FILES" ;;
 
19898
  *)   set x $CONFIG_FILES ;;
 
19899
  esac
 
19900
  shift
 
19901
  for mf
 
19902
  do
 
19903
    # Strip MF so we end up with the name of the file.
 
19904
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
19905
    # Check whether this is an Automake generated Makefile or not.
 
19906
    # We used to match only the files named `Makefile.in', but
 
19907
    # some people rename them; so instead we look at the file content.
 
19908
    # Grep'ing the first line is not enough: some people post-process
 
19909
    # each Makefile.in and add a new line on top of each file to say so.
 
19910
    # Grep'ing the whole file is not good either: AIX grep has a line
 
19911
    # limit of 2048, but all sed's we know have understand at least 4000.
 
19912
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
19913
      dirpart=`$as_dirname -- "$mf" ||
 
19914
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19915
         X"$mf" : 'X\(//\)[^/]' \| \
 
19916
         X"$mf" : 'X\(//\)$' \| \
 
19917
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
19918
$as_echo X"$mf" |
 
19919
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19920
            s//\1/
 
19921
            q
 
19922
          }
 
19923
          /^X\(\/\/\)[^/].*/{
 
19924
            s//\1/
 
19925
            q
 
19926
          }
 
19927
          /^X\(\/\/\)$/{
 
19928
            s//\1/
 
19929
            q
 
19930
          }
 
19931
          /^X\(\/\).*/{
 
19932
            s//\1/
 
19933
            q
 
19934
          }
 
19935
          s/.*/./; q'`
 
19936
    else
 
19937
      continue
 
19938
    fi
 
19939
    # Extract the definition of DEPDIR, am__include, and am__quote
 
19940
    # from the Makefile without running `make'.
 
19941
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
19942
    test -z "$DEPDIR" && continue
 
19943
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
19944
    test -z "am__include" && continue
 
19945
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
19946
    # When using ansi2knr, U may be empty or an underscore; expand it
 
19947
    U=`sed -n 's/^U = //p' < "$mf"`
 
19948
    # Find all dependency output files, they are included files with
 
19949
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
19950
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
19951
    # expansion.
 
19952
    for file in `sed -n "
 
19953
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
19954
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
19955
      # Make sure the directory exists.
 
19956
      test -f "$dirpart/$file" && continue
 
19957
      fdir=`$as_dirname -- "$file" ||
 
19958
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19959
         X"$file" : 'X\(//\)[^/]' \| \
 
19960
         X"$file" : 'X\(//\)$' \| \
 
19961
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
19962
$as_echo X"$file" |
 
19963
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19964
            s//\1/
 
19965
            q
 
19966
          }
 
19967
          /^X\(\/\/\)[^/].*/{
 
19968
            s//\1/
 
19969
            q
 
19970
          }
 
19971
          /^X\(\/\/\)$/{
 
19972
            s//\1/
 
19973
            q
 
19974
          }
 
19975
          /^X\(\/\).*/{
 
19976
            s//\1/
 
19977
            q
 
19978
          }
 
19979
          s/.*/./; q'`
 
19980
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
19981
      # echo "creating $dirpart/$file"
 
19982
      echo '# dummy' > "$dirpart/$file"
 
19983
    done
 
19984
  done
 
19985
}
 
19986
 ;;
 
19987
    "libtool":C)
 
19988
 
 
19989
    # See if we are running on zsh, and set the options which allow our
 
19990
    # commands through without removal of \ escapes.
 
19991
    if test -n "${ZSH_VERSION+set}" ; then
 
19992
      setopt NO_GLOB_SUBST
 
19993
    fi
 
19994
 
 
19995
    cfgfile="${ofile}T"
 
19996
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
19997
    $RM "$cfgfile"
 
19998
 
 
19999
    cat <<_LT_EOF >> "$cfgfile"
 
20000
#! $SHELL
 
20001
 
 
20002
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
20003
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
20004
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
20005
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
20006
#
 
20007
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
20008
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
20009
#   Written by Gordon Matzigkeit, 1996
 
20010
#
 
20011
#   This file is part of GNU Libtool.
 
20012
#
 
20013
# GNU Libtool is free software; you can redistribute it and/or
 
20014
# modify it under the terms of the GNU General Public License as
 
20015
# published by the Free Software Foundation; either version 2 of
 
20016
# the License, or (at your option) any later version.
 
20017
#
 
20018
# As a special exception to the GNU General Public License,
 
20019
# if you distribute this file as part of a program or library that
 
20020
# is built using GNU Libtool, you may include this file under the
 
20021
# same distribution terms that you use for the rest of that program.
 
20022
#
 
20023
# GNU Libtool is distributed in the hope that it will be useful,
 
20024
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20025
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20026
# GNU General Public License for more details.
 
20027
#
 
20028
# You should have received a copy of the GNU General Public License
 
20029
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
20030
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
20031
# obtained by writing to the Free Software Foundation, Inc.,
 
20032
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
20033
 
 
20034
 
 
20035
# The names of the tagged configurations supported by this script.
 
20036
available_tags="CXX "
 
20037
 
 
20038
# ### BEGIN LIBTOOL CONFIG
 
20039
 
 
20040
# Whether or not to build static libraries.
 
20041
build_old_libs=$enable_static
 
20042
 
 
20043
# Which release of libtool.m4 was used?
 
20044
macro_version=$macro_version
 
20045
macro_revision=$macro_revision
 
20046
 
 
20047
# Whether or not to build shared libraries.
 
20048
build_libtool_libs=$enable_shared
 
20049
 
 
20050
# What type of objects to build.
 
20051
pic_mode=$pic_mode
 
20052
 
 
20053
# Whether or not to optimize for fast installation.
 
20054
fast_install=$enable_fast_install
 
20055
 
 
20056
# The host system.
 
20057
host_alias=$host_alias
 
20058
host=$host
 
20059
host_os=$host_os
 
20060
 
 
20061
# The build system.
 
20062
build_alias=$build_alias
 
20063
build=$build
 
20064
build_os=$build_os
 
20065
 
 
20066
# A sed program that does not truncate output.
 
20067
SED=$lt_SED
 
20068
 
 
20069
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
20070
Xsed="\$SED -e 1s/^X//"
 
20071
 
 
20072
# A grep program that handles long lines.
 
20073
GREP=$lt_GREP
 
20074
 
 
20075
# An ERE matcher.
 
20076
EGREP=$lt_EGREP
 
20077
 
 
20078
# A literal string matcher.
 
20079
FGREP=$lt_FGREP
 
20080
 
 
20081
# A BSD- or MS-compatible name lister.
 
20082
NM=$lt_NM
 
20083
 
 
20084
# Whether we need soft or hard links.
 
20085
LN_S=$lt_LN_S
 
20086
 
 
20087
# What is the maximum length of a command?
 
20088
max_cmd_len=$max_cmd_len
 
20089
 
 
20090
# Object file suffix (normally "o").
 
20091
objext=$ac_objext
 
20092
 
 
20093
# Executable file suffix (normally "").
 
20094
exeext=$exeext
 
20095
 
 
20096
# whether the shell understands "unset".
 
20097
lt_unset=$lt_unset
 
20098
 
 
20099
# turn spaces into newlines.
 
20100
SP2NL=$lt_lt_SP2NL
 
20101
 
 
20102
# turn newlines into spaces.
 
20103
NL2SP=$lt_lt_NL2SP
 
20104
 
 
20105
# How to create reloadable object files.
 
20106
reload_flag=$lt_reload_flag
 
20107
reload_cmds=$lt_reload_cmds
 
20108
 
 
20109
# An object symbol dumper.
 
20110
OBJDUMP=$lt_OBJDUMP
 
20111
 
 
20112
# Method to check whether dependent libraries are shared objects.
 
20113
deplibs_check_method=$lt_deplibs_check_method
 
20114
 
 
20115
# Command to use when deplibs_check_method == "file_magic".
 
20116
file_magic_cmd=$lt_file_magic_cmd
 
20117
 
 
20118
# The archiver.
 
20119
AR=$lt_AR
 
20120
AR_FLAGS=$lt_AR_FLAGS
 
20121
 
 
20122
# A symbol stripping program.
 
20123
STRIP=$lt_STRIP
 
20124
 
 
20125
# Commands used to install an old-style archive.
 
20126
RANLIB=$lt_RANLIB
 
20127
old_postinstall_cmds=$lt_old_postinstall_cmds
 
20128
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
20129
 
 
20130
# A C compiler.
 
20131
LTCC=$lt_CC
 
20132
 
 
20133
# LTCC compiler flags.
 
20134
LTCFLAGS=$lt_CFLAGS
 
20135
 
 
20136
# Take the output of nm and produce a listing of raw symbols and C names.
 
20137
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
20138
 
 
20139
# Transform the output of nm in a proper C declaration.
 
20140
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
20141
 
 
20142
# Transform the output of nm in a C name address pair.
 
20143
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
20144
 
 
20145
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
20146
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
20147
 
 
20148
# The name of the directory that contains temporary libtool files.
 
20149
objdir=$objdir
 
20150
 
 
20151
# Shell to use when invoking shell scripts.
 
20152
SHELL=$lt_SHELL
 
20153
 
 
20154
# An echo program that does not interpret backslashes.
 
20155
ECHO=$lt_ECHO
 
20156
 
 
20157
# Used to examine libraries when file_magic_cmd begins with "file".
 
20158
MAGIC_CMD=$MAGIC_CMD
 
20159
 
 
20160
# Must we lock files when doing compilation?
 
20161
need_locks=$lt_need_locks
 
20162
 
 
20163
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
20164
DSYMUTIL=$lt_DSYMUTIL
 
20165
 
 
20166
# Tool to change global to local symbols on Mac OS X.
 
20167
NMEDIT=$lt_NMEDIT
 
20168
 
 
20169
# Tool to manipulate fat objects and archives on Mac OS X.
 
20170
LIPO=$lt_LIPO
 
20171
 
 
20172
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
20173
OTOOL=$lt_OTOOL
 
20174
 
 
20175
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
20176
OTOOL64=$lt_OTOOL64
 
20177
 
 
20178
# Old archive suffix (normally "a").
 
20179
libext=$libext
 
20180
 
 
20181
# Shared library suffix (normally ".so").
 
20182
shrext_cmds=$lt_shrext_cmds
 
20183
 
 
20184
# The commands to extract the exported symbol list from a shared archive.
 
20185
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
20186
 
 
20187
# Variables whose values should be saved in libtool wrapper scripts and
 
20188
# restored at link time.
 
20189
variables_saved_for_relink=$lt_variables_saved_for_relink
 
20190
 
 
20191
# Do we need the "lib" prefix for modules?
 
20192
need_lib_prefix=$need_lib_prefix
 
20193
 
 
20194
# Do we need a version for libraries?
 
20195
need_version=$need_version
 
20196
 
 
20197
# Library versioning type.
 
20198
version_type=$version_type
 
20199
 
 
20200
# Shared library runtime path variable.
 
20201
runpath_var=$runpath_var
 
20202
 
 
20203
# Shared library path variable.
 
20204
shlibpath_var=$shlibpath_var
 
20205
 
 
20206
# Is shlibpath searched before the hard-coded library search path?
 
20207
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
20208
 
 
20209
# Format of library name prefix.
 
20210
libname_spec=$lt_libname_spec
 
20211
 
 
20212
# List of archive names.  First name is the real one, the rest are links.
 
20213
# The last name is the one that the linker finds with -lNAME
 
20214
library_names_spec=$lt_library_names_spec
 
20215
 
 
20216
# The coded name of the library, if different from the real name.
 
20217
soname_spec=$lt_soname_spec
 
20218
 
 
20219
# Command to use after installation of a shared archive.
 
20220
postinstall_cmds=$lt_postinstall_cmds
 
20221
 
 
20222
# Command to use after uninstallation of a shared archive.
 
20223
postuninstall_cmds=$lt_postuninstall_cmds
 
20224
 
 
20225
# Commands used to finish a libtool library installation in a directory.
 
20226
finish_cmds=$lt_finish_cmds
 
20227
 
 
20228
# As "finish_cmds", except a single script fragment to be evaled but
 
20229
# not shown.
 
20230
finish_eval=$lt_finish_eval
 
20231
 
 
20232
# Whether we should hardcode library paths into libraries.
 
20233
hardcode_into_libs=$hardcode_into_libs
 
20234
 
 
20235
# Compile-time system search path for libraries.
 
20236
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
20237
 
 
20238
# Run-time system search path for libraries.
 
20239
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
20240
 
 
20241
# Whether dlopen is supported.
 
20242
dlopen_support=$enable_dlopen
 
20243
 
 
20244
# Whether dlopen of programs is supported.
 
20245
dlopen_self=$enable_dlopen_self
 
20246
 
 
20247
# Whether dlopen of statically linked programs is supported.
 
20248
dlopen_self_static=$enable_dlopen_self_static
 
20249
 
 
20250
# Commands to strip libraries.
 
20251
old_striplib=$lt_old_striplib
 
20252
striplib=$lt_striplib
 
20253
 
 
20254
 
 
20255
# The linker used to build libraries.
 
20256
LD=$lt_LD
 
20257
 
 
20258
# Commands used to build an old-style archive.
 
20259
old_archive_cmds=$lt_old_archive_cmds
 
20260
 
 
20261
# A language specific compiler.
 
20262
CC=$lt_compiler
 
20263
 
 
20264
# Is the compiler the GNU compiler?
 
20265
with_gcc=$GCC
 
20266
 
 
20267
# Compiler flag to turn off builtin functions.
 
20268
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
20269
 
 
20270
# How to pass a linker flag through the compiler.
 
20271
wl=$lt_lt_prog_compiler_wl
 
20272
 
 
20273
# Additional compiler flags for building library objects.
 
20274
pic_flag=$lt_lt_prog_compiler_pic
 
20275
 
 
20276
# Compiler flag to prevent dynamic linking.
 
20277
link_static_flag=$lt_lt_prog_compiler_static
 
20278
 
 
20279
# Does compiler simultaneously support -c and -o options?
 
20280
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
20281
 
 
20282
# Whether or not to add -lc for building shared libraries.
 
20283
build_libtool_need_lc=$archive_cmds_need_lc
 
20284
 
 
20285
# Whether or not to disallow shared libs when runtime libs are static.
 
20286
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
20287
 
 
20288
# Compiler flag to allow reflexive dlopens.
 
20289
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
20290
 
 
20291
# Compiler flag to generate shared objects directly from archives.
 
20292
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
20293
 
 
20294
# Whether the compiler copes with passing no objects directly.
 
20295
compiler_needs_object=$lt_compiler_needs_object
 
20296
 
 
20297
# Create an old-style archive from a shared archive.
 
20298
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
20299
 
 
20300
# Create a temporary old-style archive to link instead of a shared archive.
 
20301
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
20302
 
 
20303
# Commands used to build a shared archive.
 
20304
archive_cmds=$lt_archive_cmds
 
20305
archive_expsym_cmds=$lt_archive_expsym_cmds
 
20306
 
 
20307
# Commands used to build a loadable module if different from building
 
20308
# a shared archive.
 
20309
module_cmds=$lt_module_cmds
 
20310
module_expsym_cmds=$lt_module_expsym_cmds
 
20311
 
 
20312
# Whether we are building with GNU ld or not.
 
20313
with_gnu_ld=$lt_with_gnu_ld
 
20314
 
 
20315
# Flag that allows shared libraries with undefined symbols to be built.
 
20316
allow_undefined_flag=$lt_allow_undefined_flag
 
20317
 
 
20318
# Flag that enforces no undefined symbols.
 
20319
no_undefined_flag=$lt_no_undefined_flag
 
20320
 
 
20321
# Flag to hardcode \$libdir into a binary during linking.
 
20322
# This must work even if \$libdir does not exist
 
20323
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
20324
 
 
20325
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
20326
# during linking.  This must work even if \$libdir does not exist.
 
20327
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
20328
 
 
20329
# Whether we need a single "-rpath" flag with a separated argument.
 
20330
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
20331
 
 
20332
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20333
# DIR into the resulting binary.
 
20334
hardcode_direct=$hardcode_direct
 
20335
 
 
20336
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20337
# DIR into the resulting binary and the resulting library dependency is
 
20338
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
20339
# library is relocated.
 
20340
hardcode_direct_absolute=$hardcode_direct_absolute
 
20341
 
 
20342
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
20343
# into the resulting binary.
 
20344
hardcode_minus_L=$hardcode_minus_L
 
20345
 
 
20346
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
20347
# into the resulting binary.
 
20348
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
20349
 
 
20350
# Set to "yes" if building a shared library automatically hardcodes DIR
 
20351
# into the library and all subsequent libraries and executables linked
 
20352
# against it.
 
20353
hardcode_automatic=$hardcode_automatic
 
20354
 
 
20355
# Set to yes if linker adds runtime paths of dependent libraries
 
20356
# to runtime path list.
 
20357
inherit_rpath=$inherit_rpath
 
20358
 
 
20359
# Whether libtool must link a program against all its dependency libraries.
 
20360
link_all_deplibs=$link_all_deplibs
 
20361
 
 
20362
# Fix the shell variable \$srcfile for the compiler.
 
20363
fix_srcfile_path=$lt_fix_srcfile_path
 
20364
 
 
20365
# Set to "yes" if exported symbols are required.
 
20366
always_export_symbols=$always_export_symbols
 
20367
 
 
20368
# The commands to list exported symbols.
 
20369
export_symbols_cmds=$lt_export_symbols_cmds
 
20370
 
 
20371
# Symbols that should not be listed in the preloaded symbols.
 
20372
exclude_expsyms=$lt_exclude_expsyms
 
20373
 
 
20374
# Symbols that must always be exported.
 
20375
include_expsyms=$lt_include_expsyms
 
20376
 
 
20377
# Commands necessary for linking programs (against libraries) with templates.
 
20378
prelink_cmds=$lt_prelink_cmds
 
20379
 
 
20380
# Specify filename containing input files.
 
20381
file_list_spec=$lt_file_list_spec
 
20382
 
 
20383
# How to hardcode a shared library path into an executable.
 
20384
hardcode_action=$hardcode_action
 
20385
 
 
20386
# The directories searched by this compiler when creating a shared library.
 
20387
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
20388
 
 
20389
# Dependencies to place before and after the objects being linked to
 
20390
# create a shared library.
 
20391
predep_objects=$lt_predep_objects
 
20392
postdep_objects=$lt_postdep_objects
 
20393
predeps=$lt_predeps
 
20394
postdeps=$lt_postdeps
 
20395
 
 
20396
# The library search path used internally by the compiler when linking
 
20397
# a shared library.
 
20398
compiler_lib_search_path=$lt_compiler_lib_search_path
 
20399
 
 
20400
# ### END LIBTOOL CONFIG
 
20401
 
 
20402
_LT_EOF
 
20403
 
 
20404
  case $host_os in
 
20405
  aix3*)
 
20406
    cat <<\_LT_EOF >> "$cfgfile"
 
20407
# AIX sometimes has problems with the GCC collect2 program.  For some
 
20408
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
20409
# vanish in a puff of smoke.
 
20410
if test "X${COLLECT_NAMES+set}" != Xset; then
 
20411
  COLLECT_NAMES=
 
20412
  export COLLECT_NAMES
 
20413
fi
 
20414
_LT_EOF
 
20415
    ;;
 
20416
  esac
 
20417
 
 
20418
 
 
20419
ltmain="$ac_aux_dir/ltmain.sh"
 
20420
 
 
20421
 
 
20422
  # We use sed instead of cat because bash on DJGPP gets confused if
 
20423
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
20424
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
20425
  # is reportedly fixed, but why not run on old versions too?
 
20426
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
20427
    || (rm -f "$cfgfile"; exit 1)
 
20428
 
 
20429
  case $xsi_shell in
 
20430
  yes)
 
20431
    cat << \_LT_EOF >> "$cfgfile"
 
20432
 
 
20433
# func_dirname file append nondir_replacement
 
20434
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20435
# otherwise set result to NONDIR_REPLACEMENT.
 
20436
func_dirname ()
 
20437
{
 
20438
  case ${1} in
 
20439
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20440
    *  ) func_dirname_result="${3}" ;;
 
20441
  esac
 
20442
}
 
20443
 
 
20444
# func_basename file
 
20445
func_basename ()
 
20446
{
 
20447
  func_basename_result="${1##*/}"
 
20448
}
 
20449
 
 
20450
# func_dirname_and_basename file append nondir_replacement
 
20451
# perform func_basename and func_dirname in a single function
 
20452
# call:
 
20453
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
20454
#             add APPEND to the result, otherwise set result
 
20455
#             to NONDIR_REPLACEMENT.
 
20456
#             value returned in "$func_dirname_result"
 
20457
#   basename: Compute filename of FILE.
 
20458
#             value retuned in "$func_basename_result"
 
20459
# Implementation must be kept synchronized with func_dirname
 
20460
# and func_basename. For efficiency, we do not delegate to
 
20461
# those functions but instead duplicate the functionality here.
 
20462
func_dirname_and_basename ()
 
20463
{
 
20464
  case ${1} in
 
20465
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20466
    *  ) func_dirname_result="${3}" ;;
 
20467
  esac
 
20468
  func_basename_result="${1##*/}"
 
20469
}
 
20470
 
 
20471
# func_stripname prefix suffix name
 
20472
# strip PREFIX and SUFFIX off of NAME.
 
20473
# PREFIX and SUFFIX must not contain globbing or regex special
 
20474
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20475
# dot (in which case that matches only a dot).
 
20476
func_stripname ()
 
20477
{
 
20478
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
20479
  # positional parameters, so assign one to ordinary parameter first.
 
20480
  func_stripname_result=${3}
 
20481
  func_stripname_result=${func_stripname_result#"${1}"}
 
20482
  func_stripname_result=${func_stripname_result%"${2}"}
 
20483
}
 
20484
 
 
20485
# func_opt_split
 
20486
func_opt_split ()
 
20487
{
 
20488
  func_opt_split_opt=${1%%=*}
 
20489
  func_opt_split_arg=${1#*=}
 
20490
}
 
20491
 
 
20492
# func_lo2o object
 
20493
func_lo2o ()
 
20494
{
 
20495
  case ${1} in
 
20496
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
20497
    *)    func_lo2o_result=${1} ;;
 
20498
  esac
 
20499
}
 
20500
 
 
20501
# func_xform libobj-or-source
 
20502
func_xform ()
 
20503
{
 
20504
  func_xform_result=${1%.*}.lo
 
20505
}
 
20506
 
 
20507
# func_arith arithmetic-term...
 
20508
func_arith ()
 
20509
{
 
20510
  func_arith_result=$(( $* ))
 
20511
}
 
20512
 
 
20513
# func_len string
 
20514
# STRING may not start with a hyphen.
 
20515
func_len ()
 
20516
{
 
20517
  func_len_result=${#1}
 
20518
}
 
20519
 
 
20520
_LT_EOF
 
20521
    ;;
 
20522
  *) # Bourne compatible functions.
 
20523
    cat << \_LT_EOF >> "$cfgfile"
 
20524
 
 
20525
# func_dirname file append nondir_replacement
 
20526
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20527
# otherwise set result to NONDIR_REPLACEMENT.
 
20528
func_dirname ()
 
20529
{
 
20530
  # Extract subdirectory from the argument.
 
20531
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
20532
  if test "X$func_dirname_result" = "X${1}"; then
 
20533
    func_dirname_result="${3}"
 
20534
  else
 
20535
    func_dirname_result="$func_dirname_result${2}"
 
20536
  fi
 
20537
}
 
20538
 
 
20539
# func_basename file
 
20540
func_basename ()
 
20541
{
 
20542
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
20543
}
 
20544
 
 
20545
 
 
20546
# func_stripname prefix suffix name
 
20547
# strip PREFIX and SUFFIX off of NAME.
 
20548
# PREFIX and SUFFIX must not contain globbing or regex special
 
20549
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20550
# dot (in which case that matches only a dot).
 
20551
# func_strip_suffix prefix name
 
20552
func_stripname ()
 
20553
{
 
20554
  case ${2} in
 
20555
    .*) func_stripname_result=`$ECHO "X${3}" \
 
20556
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
20557
    *)  func_stripname_result=`$ECHO "X${3}" \
 
20558
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
20559
  esac
 
20560
}
 
20561
 
 
20562
# sed scripts:
 
20563
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
20564
my_sed_long_arg='1s/^-[^=]*=//'
 
20565
 
 
20566
# func_opt_split
 
20567
func_opt_split ()
 
20568
{
 
20569
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
20570
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
20571
}
 
20572
 
 
20573
# func_lo2o object
 
20574
func_lo2o ()
 
20575
{
 
20576
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
20577
}
 
20578
 
 
20579
# func_xform libobj-or-source
 
20580
func_xform ()
 
20581
{
 
20582
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
20583
}
 
20584
 
 
20585
# func_arith arithmetic-term...
 
20586
func_arith ()
 
20587
{
 
20588
  func_arith_result=`expr "$@"`
 
20589
}
 
20590
 
 
20591
# func_len string
 
20592
# STRING may not start with a hyphen.
 
20593
func_len ()
 
20594
{
 
20595
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
20596
}
 
20597
 
 
20598
_LT_EOF
 
20599
esac
 
20600
 
 
20601
case $lt_shell_append in
 
20602
  yes)
 
20603
    cat << \_LT_EOF >> "$cfgfile"
 
20604
 
 
20605
# func_append var value
 
20606
# Append VALUE to the end of shell variable VAR.
 
20607
func_append ()
 
20608
{
 
20609
  eval "$1+=\$2"
 
20610
}
 
20611
_LT_EOF
 
20612
    ;;
 
20613
  *)
 
20614
    cat << \_LT_EOF >> "$cfgfile"
 
20615
 
 
20616
# func_append var value
 
20617
# Append VALUE to the end of shell variable VAR.
 
20618
func_append ()
 
20619
{
 
20620
  eval "$1=\$$1\$2"
 
20621
}
 
20622
 
 
20623
_LT_EOF
 
20624
    ;;
 
20625
  esac
 
20626
 
 
20627
 
 
20628
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
20629
    || (rm -f "$cfgfile"; exit 1)
 
20630
 
 
20631
  mv -f "$cfgfile" "$ofile" ||
 
20632
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
20633
  chmod +x "$ofile"
 
20634
 
 
20635
 
 
20636
    cat <<_LT_EOF >> "$ofile"
 
20637
 
 
20638
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
20639
 
 
20640
# The linker used to build libraries.
 
20641
LD=$lt_LD_CXX
 
20642
 
 
20643
# Commands used to build an old-style archive.
 
20644
old_archive_cmds=$lt_old_archive_cmds_CXX
 
20645
 
 
20646
# A language specific compiler.
 
20647
CC=$lt_compiler_CXX
 
20648
 
 
20649
# Is the compiler the GNU compiler?
 
20650
with_gcc=$GCC_CXX
 
20651
 
 
20652
# Compiler flag to turn off builtin functions.
 
20653
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
20654
 
 
20655
# How to pass a linker flag through the compiler.
 
20656
wl=$lt_lt_prog_compiler_wl_CXX
 
20657
 
 
20658
# Additional compiler flags for building library objects.
 
20659
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
20660
 
 
20661
# Compiler flag to prevent dynamic linking.
 
20662
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
20663
 
 
20664
# Does compiler simultaneously support -c and -o options?
 
20665
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
20666
 
 
20667
# Whether or not to add -lc for building shared libraries.
 
20668
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
20669
 
 
20670
# Whether or not to disallow shared libs when runtime libs are static.
 
20671
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
20672
 
 
20673
# Compiler flag to allow reflexive dlopens.
 
20674
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
20675
 
 
20676
# Compiler flag to generate shared objects directly from archives.
 
20677
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
20678
 
 
20679
# Whether the compiler copes with passing no objects directly.
 
20680
compiler_needs_object=$lt_compiler_needs_object_CXX
 
20681
 
 
20682
# Create an old-style archive from a shared archive.
 
20683
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
20684
 
 
20685
# Create a temporary old-style archive to link instead of a shared archive.
 
20686
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
20687
 
 
20688
# Commands used to build a shared archive.
 
20689
archive_cmds=$lt_archive_cmds_CXX
 
20690
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
20691
 
 
20692
# Commands used to build a loadable module if different from building
 
20693
# a shared archive.
 
20694
module_cmds=$lt_module_cmds_CXX
 
20695
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
20696
 
 
20697
# Whether we are building with GNU ld or not.
 
20698
with_gnu_ld=$lt_with_gnu_ld_CXX
 
20699
 
 
20700
# Flag that allows shared libraries with undefined symbols to be built.
 
20701
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
20702
 
 
20703
# Flag that enforces no undefined symbols.
 
20704
no_undefined_flag=$lt_no_undefined_flag_CXX
 
20705
 
 
20706
# Flag to hardcode \$libdir into a binary during linking.
 
20707
# This must work even if \$libdir does not exist
 
20708
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
20709
 
 
20710
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
20711
# during linking.  This must work even if \$libdir does not exist.
 
20712
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
20713
 
 
20714
# Whether we need a single "-rpath" flag with a separated argument.
 
20715
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
20716
 
 
20717
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20718
# DIR into the resulting binary.
 
20719
hardcode_direct=$hardcode_direct_CXX
 
20720
 
 
20721
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20722
# DIR into the resulting binary and the resulting library dependency is
 
20723
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
20724
# library is relocated.
 
20725
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
20726
 
 
20727
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
20728
# into the resulting binary.
 
20729
hardcode_minus_L=$hardcode_minus_L_CXX
 
20730
 
 
20731
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
20732
# into the resulting binary.
 
20733
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
20734
 
 
20735
# Set to "yes" if building a shared library automatically hardcodes DIR
 
20736
# into the library and all subsequent libraries and executables linked
 
20737
# against it.
 
20738
hardcode_automatic=$hardcode_automatic_CXX
 
20739
 
 
20740
# Set to yes if linker adds runtime paths of dependent libraries
 
20741
# to runtime path list.
 
20742
inherit_rpath=$inherit_rpath_CXX
 
20743
 
 
20744
# Whether libtool must link a program against all its dependency libraries.
 
20745
link_all_deplibs=$link_all_deplibs_CXX
 
20746
 
 
20747
# Fix the shell variable \$srcfile for the compiler.
 
20748
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
20749
 
 
20750
# Set to "yes" if exported symbols are required.
 
20751
always_export_symbols=$always_export_symbols_CXX
 
20752
 
 
20753
# The commands to list exported symbols.
 
20754
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
20755
 
 
20756
# Symbols that should not be listed in the preloaded symbols.
 
20757
exclude_expsyms=$lt_exclude_expsyms_CXX
 
20758
 
 
20759
# Symbols that must always be exported.
 
20760
include_expsyms=$lt_include_expsyms_CXX
 
20761
 
 
20762
# Commands necessary for linking programs (against libraries) with templates.
 
20763
prelink_cmds=$lt_prelink_cmds_CXX
 
20764
 
 
20765
# Specify filename containing input files.
 
20766
file_list_spec=$lt_file_list_spec_CXX
 
20767
 
 
20768
# How to hardcode a shared library path into an executable.
 
20769
hardcode_action=$hardcode_action_CXX
 
20770
 
 
20771
# The directories searched by this compiler when creating a shared library.
 
20772
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
20773
 
 
20774
# Dependencies to place before and after the objects being linked to
 
20775
# create a shared library.
 
20776
predep_objects=$lt_predep_objects_CXX
 
20777
postdep_objects=$lt_postdep_objects_CXX
 
20778
predeps=$lt_predeps_CXX
 
20779
postdeps=$lt_postdeps_CXX
 
20780
 
 
20781
# The library search path used internally by the compiler when linking
 
20782
# a shared library.
 
20783
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
20784
 
 
20785
# ### END LIBTOOL TAG CONFIG: CXX
 
20786
_LT_EOF
 
20787
 
 
20788
 ;;
 
20789
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
20790
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
20791
      esac ;;
 
20792
    "po/stamp-it":C)
 
20793
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
20794
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
20795
    fi
 
20796
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
20797
    >"po/stamp-it.tmp"
 
20798
    sed '/^#/d
 
20799
         s/^[[].*] *//
 
20800
         /^[    ]*$/d
 
20801
        '"s|^|  $ac_top_srcdir/|" \
 
20802
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
20803
 
 
20804
    sed '/^POTFILES =/,/[^\\]$/ {
 
20805
                /^POTFILES =/!d
 
20806
                r po/POTFILES
 
20807
          }
 
20808
         ' "po/Makefile.in" >"po/Makefile"
 
20809
    rm -f "po/Makefile.tmp"
 
20810
    mv "po/stamp-it.tmp" "po/stamp-it"
 
20811
   ;;
 
20812
 
 
20813
  esac
 
20814
done # for ac_tag
 
20815
 
 
20816
 
 
20817
as_fn_exit 0
 
20818
_ACEOF
 
20819
ac_clean_files=$ac_clean_files_save
 
20820
 
 
20821
test $ac_write_fail = 0 ||
 
20822
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
20823
 
 
20824
 
 
20825
# configure is writing to config.log, and then calls config.status.
 
20826
# config.status does its own redirection, appending to config.log.
 
20827
# Unfortunately, on DOS this fails, as config.log is still kept open
 
20828
# by configure, so config.status won't be able to write to it; its
 
20829
# output is simply discarded.  So we exec the FD to /dev/null,
 
20830
# effectively closing config.log, so it can be properly (re)opened and
 
20831
# appended to by config.status.  When coming back to configure, we
 
20832
# need to make the FD available again.
 
20833
if test "$no_create" != yes; then
 
20834
  ac_cs_success=:
 
20835
  ac_config_status_args=
 
20836
  test "$silent" = yes &&
 
20837
    ac_config_status_args="$ac_config_status_args --quiet"
 
20838
  exec 5>/dev/null
 
20839
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
20840
  exec 5>>config.log
 
20841
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
20842
  # would make configure fail if this is the last instruction.
 
20843
  $ac_cs_success || as_fn_exit $?
 
20844
fi
 
20845
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
20846
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
20847
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
20848
fi
 
20849
 
 
20850
 
 
20851
echo "Cairo-Dock-plugins will be compiled with the following options :"
 
20852
echo " * Compil gnome-integration plug-in : "${with_gnome_support}
 
20853
echo " * Compil gnome-integration-old plug-in : "${with_old_gnome_support}
 
20854
echo " * Compil xfce-integration plug-in : "${with_xfce_support}
 
20855
echo " * Compil AlsaMixer applet : "${with_alsa_mixer}
 
20856
echo " * Compil Terminal applet : "${with_terminal}
 
20857
echo " * Compil PowerManager applet : "${with_powermanager}
 
20858
echo " * Compil Wifi applet : "${with_wifi}
 
20859
echo " * Compil Tomboy applet : "${with_tomboy}
 
20860
echo " * Compil Rhythmbox applet : "${with_rhythmbox}
 
20861
echo " * Compil nVidia applet : "${with_nvidia}
 
20862
echo " * Compil Xgamma applet : "${with_xgamma}
 
20863
echo " * Compil GMenu applet : "${with_gmenu}
 
20864
echo " * Enable gio in GMenu applet : "${with_gio_in_gmenu}
 
20865
echo " * Compil Mail applet : "${with_mail}
 
20866
echo " * Compil Weblets applet : "${with_weblets}
 
20867
echo " * Compil keyboard-indicator applet : "${with_keyboard_indicator}
 
20868