~cairo-dock-team/ubuntu/oneiric/cairo-dock/2.3.0-3

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2010-08-09 23:26:12 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20100809232612-pocdxliaxjdetm37
Tags: upstream-2.2.0~0beta4
ImportĀ upstreamĀ versionĀ 2.2.0~0beta4

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.65 for cairo-dock 2.1.3-10-lucid.
4
 
#
5
 
# Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
6
 
#
7
 
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
11
 
#
12
 
#
13
 
# This configure script is free software; the Free Software Foundation
14
 
# gives unlimited permission to copy, distribute and modify it.
15
 
## -------------------- ##
16
 
## M4sh Initialization. ##
17
 
## -------------------- ##
18
 
 
19
 
# Be more Bourne compatible
20
 
DUALCASE=1; export DUALCASE # for MKS sh
21
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
 
  emulate sh
23
 
  NULLCMD=:
24
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
 
  # is contrary to our usage.  Disable this feature.
26
 
  alias -g '${1+"$@"}'='"$@"'
27
 
  setopt NO_GLOB_SUBST
28
 
else
29
 
  case `(set -o) 2>/dev/null` in #(
30
 
  *posix*) :
31
 
    set -o posix ;; #(
32
 
  *) :
33
 
     ;;
34
 
esac
35
 
fi
36
 
 
37
 
 
38
 
as_nl='
39
 
'
40
 
export as_nl
41
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
 
# but without wasting forks for bash or zsh.
47
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
 
  as_echo='print -r --'
50
 
  as_echo_n='print -rn --'
51
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='printf %s\n'
53
 
  as_echo_n='printf %s'
54
 
else
55
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
 
    as_echo_n='/usr/ucb/echo -n'
58
 
  else
59
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
 
    as_echo_n_body='eval
61
 
      arg=$1;
62
 
      case $arg in #(
63
 
      *"$as_nl"*)
64
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
 
      esac;
67
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
 
    '
69
 
    export as_echo_n_body
70
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
 
  fi
72
 
  export as_echo_body
73
 
  as_echo='sh -c $as_echo_body as_echo'
74
 
fi
75
 
 
76
 
# The user is always right.
77
 
if test "${PATH_SEPARATOR+set}" != set; then
78
 
  PATH_SEPARATOR=:
79
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
 
      PATH_SEPARATOR=';'
82
 
  }
83
 
fi
84
 
 
85
 
 
86
 
# IFS
87
 
# We need space, tab and new line, in precisely that order.  Quoting is
88
 
# there to prevent editors from complaining about space-tab.
89
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
 
# splitting by setting IFS to empty value.)
91
 
IFS=" ""        $as_nl"
92
 
 
93
 
# Find who we are.  Look in the path if we contain no directory separator.
94
 
case $0 in #((
95
 
  *[\\/]* ) as_myself=$0 ;;
96
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
 
for as_dir in $PATH
98
 
do
99
 
  IFS=$as_save_IFS
100
 
  test -z "$as_dir" && as_dir=.
101
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102
 
  done
103
 
IFS=$as_save_IFS
104
 
 
105
 
     ;;
106
 
esac
107
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
 
# in which case we are not to be found in the path.
109
 
if test "x$as_myself" = x; then
110
 
  as_myself=$0
111
 
fi
112
 
if test ! -f "$as_myself"; then
113
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
 
  exit 1
115
 
fi
116
 
 
117
 
# Unset variables that we do not need and which cause bugs (e.g. in
118
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119
 
# suppresses any "Segmentation fault" message there.  '((' could
120
 
# trigger a bug in pdksh 5.2.14.
121
 
for as_var in BASH_ENV ENV MAIL MAILPATH
122
 
do eval test x\${$as_var+set} = xset \
123
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124
 
done
125
 
PS1='$ '
126
 
PS2='> '
127
 
PS4='+ '
128
 
 
129
 
# NLS nuisances.
130
 
LC_ALL=C
131
 
export LC_ALL
132
 
LANGUAGE=C
133
 
export LANGUAGE
134
 
 
135
 
# CDPATH.
136
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
 
 
138
 
if test "x$CONFIG_SHELL" = x; then
139
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
 
  emulate sh
141
 
  NULLCMD=:
142
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
 
  # is contrary to our usage.  Disable this feature.
144
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
 
  setopt NO_GLOB_SUBST
146
 
else
147
 
  case \`(set -o) 2>/dev/null\` in #(
148
 
  *posix*) :
149
 
    set -o posix ;; #(
150
 
  *) :
151
 
     ;;
152
 
esac
153
 
fi
154
 
"
155
 
  as_required="as_fn_return () { (exit \$1); }
156
 
as_fn_success () { as_fn_return 0; }
157
 
as_fn_failure () { as_fn_return 1; }
158
 
as_fn_ret_success () { return 0; }
159
 
as_fn_ret_failure () { return 1; }
160
 
 
161
 
exitcode=0
162
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
 
 
168
 
else
169
 
  exitcode=1; echo positional parameters were not saved.
170
 
fi
171
 
test x\$exitcode = x0 || exit 1"
172
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
177
 
  if (eval "$as_required") 2>/dev/null; then :
178
 
  as_have_required=yes
179
 
else
180
 
  as_have_required=no
181
 
fi
182
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
 
 
184
 
else
185
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186
 
as_found=false
187
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
 
do
189
 
  IFS=$as_save_IFS
190
 
  test -z "$as_dir" && as_dir=.
191
 
  as_found=:
192
 
  case $as_dir in #(
193
 
         /*)
194
 
           for as_base in sh bash ksh sh5; do
195
 
             # Try only shells that exist, to save several forks.
196
 
             as_shell=$as_dir/$as_base
197
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  CONFIG_SHELL=$as_shell as_have_required=yes
200
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
 
  break 2
202
 
fi
203
 
fi
204
 
           done;;
205
 
       esac
206
 
  as_found=false
207
 
done
208
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
 
  CONFIG_SHELL=$SHELL as_have_required=yes
211
 
fi; }
212
 
IFS=$as_save_IFS
213
 
 
214
 
 
215
 
      if test "x$CONFIG_SHELL" != x; then :
216
 
  # We cannot yet assume a decent shell, so we have to provide a
217
 
        # neutralization value for shells without unset; and this also
218
 
        # works around shells that cannot unset nonexistent variables.
219
 
        BASH_ENV=/dev/null
220
 
        ENV=/dev/null
221
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
 
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
 
fi
225
 
 
226
 
    if test x$as_have_required = xno; then :
227
 
  $as_echo "$0: This script requires a shell more modern than all"
228
 
  $as_echo "$0: the shells that I found on your system."
229
 
  if test x${ZSH_VERSION+set} = xset ; then
230
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232
 
  else
233
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and Fabrice Rey
234
 
$0: (fabounet@users.berlios.de) about your system,
235
 
$0: including any error possibly output before this
236
 
$0: message. Then install a modern shell, or manually run
237
 
$0: the script under such a shell if you do have one."
238
 
  fi
239
 
  exit 1
240
 
fi
241
 
fi
242
 
fi
243
 
SHELL=${CONFIG_SHELL-/bin/sh}
244
 
export SHELL
245
 
# Unset more variables known to interfere with behavior of common tools.
246
 
CLICOLOR_FORCE= GREP_OPTIONS=
247
 
unset CLICOLOR_FORCE GREP_OPTIONS
248
 
 
249
 
## --------------------- ##
250
 
## M4sh Shell Functions. ##
251
 
## --------------------- ##
252
 
# as_fn_unset VAR
253
 
# ---------------
254
 
# Portably unset VAR.
255
 
as_fn_unset ()
256
 
{
257
 
  { eval $1=; unset $1;}
258
 
}
259
 
as_unset=as_fn_unset
260
 
 
261
 
# as_fn_set_status STATUS
262
 
# -----------------------
263
 
# Set $? to STATUS, without forking.
264
 
as_fn_set_status ()
265
 
{
266
 
  return $1
267
 
} # as_fn_set_status
268
 
 
269
 
# as_fn_exit STATUS
270
 
# -----------------
271
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272
 
as_fn_exit ()
273
 
{
274
 
  set +e
275
 
  as_fn_set_status $1
276
 
  exit $1
277
 
} # as_fn_exit
278
 
 
279
 
# as_fn_mkdir_p
280
 
# -------------
281
 
# Create "$as_dir" as a directory, including parents if necessary.
282
 
as_fn_mkdir_p ()
283
 
{
284
 
 
285
 
  case $as_dir in #(
286
 
  -*) as_dir=./$as_dir;;
287
 
  esac
288
 
  test -d "$as_dir" || eval $as_mkdir_p || {
289
 
    as_dirs=
290
 
    while :; do
291
 
      case $as_dir in #(
292
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
 
      *) as_qdir=$as_dir;;
294
 
      esac
295
 
      as_dirs="'$as_qdir' $as_dirs"
296
 
      as_dir=`$as_dirname -- "$as_dir" ||
297
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
299
 
         X"$as_dir" : 'X\(//\)$' \| \
300
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
 
$as_echo X"$as_dir" |
302
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303
 
            s//\1/
304
 
            q
305
 
          }
306
 
          /^X\(\/\/\)[^/].*/{
307
 
            s//\1/
308
 
            q
309
 
          }
310
 
          /^X\(\/\/\)$/{
311
 
            s//\1/
312
 
            q
313
 
          }
314
 
          /^X\(\/\).*/{
315
 
            s//\1/
316
 
            q
317
 
          }
318
 
          s/.*/./; q'`
319
 
      test -d "$as_dir" && break
320
 
    done
321
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
322
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
 
 
324
 
 
325
 
} # as_fn_mkdir_p
326
 
# as_fn_append VAR VALUE
327
 
# ----------------------
328
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
 
# advantage of any shell optimizations that allow amortized linear growth over
330
 
# repeated appends, instead of the typical quadratic growth present in naive
331
 
# implementations.
332
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
 
  eval 'as_fn_append ()
334
 
  {
335
 
    eval $1+=\$2
336
 
  }'
337
 
else
338
 
  as_fn_append ()
339
 
  {
340
 
    eval $1=\$$1\$2
341
 
  }
342
 
fi # as_fn_append
343
 
 
344
 
# as_fn_arith ARG...
345
 
# ------------------
346
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
 
# must be portable across $(()) and expr.
349
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350
 
  eval 'as_fn_arith ()
351
 
  {
352
 
    as_val=$(( $* ))
353
 
  }'
354
 
else
355
 
  as_fn_arith ()
356
 
  {
357
 
    as_val=`expr "$@" || test $? -eq 1`
358
 
  }
359
 
fi # as_fn_arith
360
 
 
361
 
 
362
 
# as_fn_error ERROR [LINENO LOG_FD]
363
 
# ---------------------------------
364
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
 
# script with status $?, using 1 if that was 0.
367
 
as_fn_error ()
368
 
{
369
 
  as_status=$?; test $as_status -eq 0 && as_status=1
370
 
  if test "$3"; then
371
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373
 
  fi
374
 
  $as_echo "$as_me: error: $1" >&2
375
 
  as_fn_exit $as_status
376
 
} # as_fn_error
377
 
 
378
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
 
  as_expr=expr
381
 
else
382
 
  as_expr=false
383
 
fi
384
 
 
385
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
 
  as_basename=basename
387
 
else
388
 
  as_basename=false
389
 
fi
390
 
 
391
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
 
  as_dirname=dirname
393
 
else
394
 
  as_dirname=false
395
 
fi
396
 
 
397
 
as_me=`$as_basename -- "$0" ||
398
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
 
         X"$0" : 'X\(//\)$' \| \
400
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
 
$as_echo X/"$0" |
402
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
403
 
            s//\1/
404
 
            q
405
 
          }
406
 
          /^X\/\(\/\/\)$/{
407
 
            s//\1/
408
 
            q
409
 
          }
410
 
          /^X\/\(\/\).*/{
411
 
            s//\1/
412
 
            q
413
 
          }
414
 
          s/.*/./; q'`
415
 
 
416
 
# Avoid depending upon Character Ranges.
417
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
 
as_cr_digits='0123456789'
421
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
 
 
423
 
 
424
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429
 
  sed -n '
430
 
    p
431
 
    /[$]LINENO/=
432
 
  ' <$as_myself |
433
 
    sed '
434
 
      s/[$]LINENO.*/&-/
435
 
      t lineno
436
 
      b
437
 
      :lineno
438
 
      N
439
 
      :loop
440
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
 
      t loop
442
 
      s/-\n.*//
443
 
    ' >$as_me.lineno &&
444
 
  chmod +x "$as_me.lineno" ||
445
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
 
 
447
 
  # Don't try to exec as it changes $[0], causing all sort of problems
448
 
  # (the dirname of $[0] is not the place where we might find the
449
 
  # original and so on.  Autoconf is especially sensitive to this).
450
 
  . "./$as_me.lineno"
451
 
  # Exit status is that of the last command.
452
 
  exit
453
 
}
454
 
 
455
 
ECHO_C= ECHO_N= ECHO_T=
456
 
case `echo -n x` in #(((((
457
 
-n*)
458
 
  case `echo 'xy\c'` in
459
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460
 
  xy)  ECHO_C='\c';;
461
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462
 
       ECHO_T=' ';;
463
 
  esac;;
464
 
*)
465
 
  ECHO_N='-n';;
466
 
esac
467
 
 
468
 
rm -f conf$$ conf$$.exe conf$$.file
469
 
if test -d conf$$.dir; then
470
 
  rm -f conf$$.dir/conf$$.file
471
 
else
472
 
  rm -f conf$$.dir
473
 
  mkdir conf$$.dir 2>/dev/null
474
 
fi
475
 
if (echo >conf$$.file) 2>/dev/null; then
476
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
477
 
    as_ln_s='ln -s'
478
 
    # ... but there are two gotchas:
479
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
 
    # In both cases, we have to default to `cp -p'.
482
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483
 
      as_ln_s='cp -p'
484
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
485
 
    as_ln_s=ln
486
 
  else
487
 
    as_ln_s='cp -p'
488
 
  fi
489
 
else
490
 
  as_ln_s='cp -p'
491
 
fi
492
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
 
rmdir conf$$.dir 2>/dev/null
494
 
 
495
 
if mkdir -p . 2>/dev/null; then
496
 
  as_mkdir_p='mkdir -p "$as_dir"'
497
 
else
498
 
  test -d ./-p && rmdir ./-p
499
 
  as_mkdir_p=false
500
 
fi
501
 
 
502
 
if test -x / >/dev/null 2>&1; then
503
 
  as_test_x='test -x'
504
 
else
505
 
  if ls -dL / >/dev/null 2>&1; then
506
 
    as_ls_L_option=L
507
 
  else
508
 
    as_ls_L_option=
509
 
  fi
510
 
  as_test_x='
511
 
    eval sh -c '\''
512
 
      if test -d "$1"; then
513
 
        test -d "$1/.";
514
 
      else
515
 
        case $1 in #(
516
 
        -*)set "./$1";;
517
 
        esac;
518
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
 
        ???[sx]*):;;*)false;;esac;fi
520
 
    '\'' sh
521
 
  '
522
 
fi
523
 
as_executable_p=$as_test_x
524
 
 
525
 
# Sed expression to map a string onto a valid CPP name.
526
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
# Sed expression to map a string onto a valid variable name.
529
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
 
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
 
SHELL=${CONFIG_SHELL-/bin/sh}
535
 
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
 
 
681
 
test -n "$DJDIR" || exec 7<&0 </dev/null
682
 
exec 6>&1
683
 
 
684
 
# Name of the host.
685
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686
 
# so uname gets run too.
687
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
 
 
689
 
#
690
 
# Initializations.
691
 
#
692
 
ac_default_prefix=/usr/local
693
 
ac_clean_files=
694
 
ac_config_libobj_dir=.
695
 
LIBOBJS=
696
 
cross_compiling=no
697
 
subdirs=
698
 
MFLAGS=
699
 
MAKEFLAGS=
700
 
 
701
 
# Identity of this package.
702
 
PACKAGE_NAME='cairo-dock'
703
 
PACKAGE_TARNAME='cairo-dock'
704
 
PACKAGE_VERSION='2.1.3-10-lucid'
705
 
PACKAGE_STRING='cairo-dock 2.1.3-10-lucid'
706
 
PACKAGE_BUGREPORT='Fabrice Rey (fabounet@users.berlios.de)'
707
 
PACKAGE_URL=''
708
 
 
709
 
ac_unique_file="config.h.in"
710
 
# Factoring default headers for most tests.
711
 
ac_includes_default="\
712
 
#include <stdio.h>
713
 
#ifdef HAVE_SYS_TYPES_H
714
 
# include <sys/types.h>
715
 
#endif
716
 
#ifdef HAVE_SYS_STAT_H
717
 
# include <sys/stat.h>
718
 
#endif
719
 
#ifdef STDC_HEADERS
720
 
# include <stdlib.h>
721
 
# include <stddef.h>
722
 
#else
723
 
# ifdef HAVE_STDLIB_H
724
 
#  include <stdlib.h>
725
 
# endif
726
 
#endif
727
 
#ifdef HAVE_STRING_H
728
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729
 
#  include <memory.h>
730
 
# endif
731
 
# include <string.h>
732
 
#endif
733
 
#ifdef HAVE_STRINGS_H
734
 
# include <strings.h>
735
 
#endif
736
 
#ifdef HAVE_INTTYPES_H
737
 
# include <inttypes.h>
738
 
#endif
739
 
#ifdef HAVE_STDINT_H
740
 
# include <stdint.h>
741
 
#endif
742
 
#ifdef HAVE_UNISTD_H
743
 
# include <unistd.h>
744
 
#endif"
745
 
 
746
 
ac_subst_vars='am__EXEEXT_FALSE
747
 
am__EXEEXT_TRUE
748
 
LTLIBOBJS
749
 
LIBOBJS
750
 
LIBCRYPT_LIBS
751
 
HAVE_LIBCRYPT_FALSE
752
 
HAVE_LIBCRYPT_TRUE
753
 
WITH_GLITZ_FALSE
754
 
WITH_GLITZ_TRUE
755
 
glitz_required
756
 
GLITZ_LIBS
757
 
GLITZ_CFLAGS
758
 
WITH_XEXTEND_FALSE
759
 
WITH_XEXTEND_TRUE
760
 
xextend_required
761
 
XEXTEND_LIBS
762
 
XEXTEND_CFLAGS
763
 
PACKAGE_LIBS
764
 
PACKAGE_CFLAGS
765
 
PKG_CONFIG
766
 
CAIRO_DOCK_THEMES_DIR
767
 
GETTEXT_PACKAGE
768
 
MKINSTALLDIRS
769
 
POSUB
770
 
POFILES
771
 
PO_IN_DATADIR_FALSE
772
 
PO_IN_DATADIR_TRUE
773
 
INTLLIBS
774
 
INSTOBJEXT
775
 
GMOFILES
776
 
CATOBJEXT
777
 
CATALOGS
778
 
MSGFMT_OPTS
779
 
DATADIRNAME
780
 
ALL_LINGUAS
781
 
INTLTOOL_PERL
782
 
GMSGFMT
783
 
MSGFMT
784
 
MSGMERGE
785
 
XGETTEXT
786
 
INTLTOOL_POLICY_RULE
787
 
INTLTOOL_SERVICE_RULE
788
 
INTLTOOL_THEME_RULE
789
 
INTLTOOL_SCHEMAS_RULE
790
 
INTLTOOL_CAVES_RULE
791
 
INTLTOOL_XML_NOMERGE_RULE
792
 
INTLTOOL_XML_RULE
793
 
INTLTOOL_KBD_RULE
794
 
INTLTOOL_XAM_RULE
795
 
INTLTOOL_UI_RULE
796
 
INTLTOOL_SOUNDLIST_RULE
797
 
INTLTOOL_SHEET_RULE
798
 
INTLTOOL_SERVER_RULE
799
 
INTLTOOL_PONG_RULE
800
 
INTLTOOL_OAF_RULE
801
 
INTLTOOL_PROP_RULE
802
 
INTLTOOL_KEYS_RULE
803
 
INTLTOOL_DIRECTORY_RULE
804
 
INTLTOOL_DESKTOP_RULE
805
 
INTLTOOL_EXTRACT
806
 
INTLTOOL_MERGE
807
 
INTLTOOL_UPDATE
808
 
USE_NLS
809
 
CPP
810
 
OTOOL64
811
 
OTOOL
812
 
LIPO
813
 
NMEDIT
814
 
DSYMUTIL
815
 
lt_ECHO
816
 
RANLIB
817
 
AR
818
 
OBJDUMP
819
 
LN_S
820
 
NM
821
 
ac_ct_DUMPBIN
822
 
DUMPBIN
823
 
LD
824
 
FGREP
825
 
EGREP
826
 
GREP
827
 
SED
828
 
am__fastdepCC_FALSE
829
 
am__fastdepCC_TRUE
830
 
CCDEPMODE
831
 
AMDEPBACKSLASH
832
 
AMDEP_FALSE
833
 
AMDEP_TRUE
834
 
am__quote
835
 
am__include
836
 
DEPDIR
837
 
OBJEXT
838
 
EXEEXT
839
 
ac_ct_CC
840
 
CPPFLAGS
841
 
LDFLAGS
842
 
CFLAGS
843
 
CC
844
 
host_os
845
 
host_vendor
846
 
host_cpu
847
 
host
848
 
build_os
849
 
build_vendor
850
 
build_cpu
851
 
build
852
 
LIBTOOL
853
 
am__untar
854
 
am__tar
855
 
AMTAR
856
 
am__leading_dot
857
 
SET_MAKE
858
 
AWK
859
 
mkdir_p
860
 
MKDIR_P
861
 
INSTALL_STRIP_PROGRAM
862
 
STRIP
863
 
install_sh
864
 
MAKEINFO
865
 
AUTOHEADER
866
 
AUTOMAKE
867
 
AUTOCONF
868
 
ACLOCAL
869
 
VERSION
870
 
PACKAGE
871
 
CYGPATH_W
872
 
am__isrc
873
 
INSTALL_DATA
874
 
INSTALL_SCRIPT
875
 
INSTALL_PROGRAM
876
 
target_alias
877
 
host_alias
878
 
build_alias
879
 
LIBS
880
 
ECHO_T
881
 
ECHO_N
882
 
ECHO_C
883
 
DEFS
884
 
mandir
885
 
localedir
886
 
libdir
887
 
psdir
888
 
pdfdir
889
 
dvidir
890
 
htmldir
891
 
infodir
892
 
docdir
893
 
oldincludedir
894
 
includedir
895
 
localstatedir
896
 
sharedstatedir
897
 
sysconfdir
898
 
datadir
899
 
datarootdir
900
 
libexecdir
901
 
sbindir
902
 
bindir
903
 
program_transform_name
904
 
prefix
905
 
exec_prefix
906
 
PACKAGE_URL
907
 
PACKAGE_BUGREPORT
908
 
PACKAGE_STRING
909
 
PACKAGE_VERSION
910
 
PACKAGE_TARNAME
911
 
PACKAGE_NAME
912
 
PATH_SEPARATOR
913
 
SHELL'
914
 
ac_subst_files=''
915
 
ac_user_opts='
916
 
enable_option_checking
917
 
enable_shared
918
 
enable_static
919
 
with_pic
920
 
enable_fast_install
921
 
enable_dependency_tracking
922
 
with_gnu_ld
923
 
enable_libtool_lock
924
 
enable_nls
925
 
enable_xextend
926
 
enable_glitz
927
 
'
928
 
      ac_precious_vars='build_alias
929
 
host_alias
930
 
target_alias
931
 
CC
932
 
CFLAGS
933
 
LDFLAGS
934
 
LIBS
935
 
CPPFLAGS
936
 
CPP
937
 
PKG_CONFIG
938
 
PACKAGE_CFLAGS
939
 
PACKAGE_LIBS
940
 
XEXTEND_CFLAGS
941
 
XEXTEND_LIBS
942
 
GLITZ_CFLAGS
943
 
GLITZ_LIBS'
944
 
 
945
 
 
946
 
# Initialize some variables set by options.
947
 
ac_init_help=
948
 
ac_init_version=false
949
 
ac_unrecognized_opts=
950
 
ac_unrecognized_sep=
951
 
# The variables have the same names as the options, with
952
 
# dashes changed to underlines.
953
 
cache_file=/dev/null
954
 
exec_prefix=NONE
955
 
no_create=
956
 
no_recursion=
957
 
prefix=NONE
958
 
program_prefix=NONE
959
 
program_suffix=NONE
960
 
program_transform_name=s,x,x,
961
 
silent=
962
 
site=
963
 
srcdir=
964
 
verbose=
965
 
x_includes=NONE
966
 
x_libraries=NONE
967
 
 
968
 
# Installation directory options.
969
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
970
 
# and all the variables that are supposed to be based on exec_prefix
971
 
# by default will actually change.
972
 
# Use braces instead of parens because sh, perl, etc. also accept them.
973
 
# (The list follows the same order as the GNU Coding Standards.)
974
 
bindir='${exec_prefix}/bin'
975
 
sbindir='${exec_prefix}/sbin'
976
 
libexecdir='${exec_prefix}/libexec'
977
 
datarootdir='${prefix}/share'
978
 
datadir='${datarootdir}'
979
 
sysconfdir='${prefix}/etc'
980
 
sharedstatedir='${prefix}/com'
981
 
localstatedir='${prefix}/var'
982
 
includedir='${prefix}/include'
983
 
oldincludedir='/usr/include'
984
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
985
 
infodir='${datarootdir}/info'
986
 
htmldir='${docdir}'
987
 
dvidir='${docdir}'
988
 
pdfdir='${docdir}'
989
 
psdir='${docdir}'
990
 
libdir='${exec_prefix}/lib'
991
 
localedir='${datarootdir}/locale'
992
 
mandir='${datarootdir}/man'
993
 
 
994
 
ac_prev=
995
 
ac_dashdash=
996
 
for ac_option
997
 
do
998
 
  # If the previous option needs an argument, assign it.
999
 
  if test -n "$ac_prev"; then
1000
 
    eval $ac_prev=\$ac_option
1001
 
    ac_prev=
1002
 
    continue
1003
 
  fi
1004
 
 
1005
 
  case $ac_option in
1006
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1007
 
  *)    ac_optarg=yes ;;
1008
 
  esac
1009
 
 
1010
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1011
 
 
1012
 
  case $ac_dashdash$ac_option in
1013
 
  --)
1014
 
    ac_dashdash=yes ;;
1015
 
 
1016
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1017
 
    ac_prev=bindir ;;
1018
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1019
 
    bindir=$ac_optarg ;;
1020
 
 
1021
 
  -build | --build | --buil | --bui | --bu)
1022
 
    ac_prev=build_alias ;;
1023
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1024
 
    build_alias=$ac_optarg ;;
1025
 
 
1026
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1027
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1028
 
    ac_prev=cache_file ;;
1029
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1030
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1031
 
    cache_file=$ac_optarg ;;
1032
 
 
1033
 
  --config-cache | -C)
1034
 
    cache_file=config.cache ;;
1035
 
 
1036
 
  -datadir | --datadir | --datadi | --datad)
1037
 
    ac_prev=datadir ;;
1038
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1039
 
    datadir=$ac_optarg ;;
1040
 
 
1041
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1042
 
  | --dataroo | --dataro | --datar)
1043
 
    ac_prev=datarootdir ;;
1044
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1045
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1046
 
    datarootdir=$ac_optarg ;;
1047
 
 
1048
 
  -disable-* | --disable-*)
1049
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1050
 
    # Reject names that are not valid shell variable names.
1051
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052
 
      as_fn_error "invalid feature name: $ac_useropt"
1053
 
    ac_useropt_orig=$ac_useropt
1054
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055
 
    case $ac_user_opts in
1056
 
      *"
1057
 
"enable_$ac_useropt"
1058
 
"*) ;;
1059
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1060
 
         ac_unrecognized_sep=', ';;
1061
 
    esac
1062
 
    eval enable_$ac_useropt=no ;;
1063
 
 
1064
 
  -docdir | --docdir | --docdi | --doc | --do)
1065
 
    ac_prev=docdir ;;
1066
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1067
 
    docdir=$ac_optarg ;;
1068
 
 
1069
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1070
 
    ac_prev=dvidir ;;
1071
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1072
 
    dvidir=$ac_optarg ;;
1073
 
 
1074
 
  -enable-* | --enable-*)
1075
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1076
 
    # Reject names that are not valid shell variable names.
1077
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078
 
      as_fn_error "invalid feature name: $ac_useropt"
1079
 
    ac_useropt_orig=$ac_useropt
1080
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081
 
    case $ac_user_opts in
1082
 
      *"
1083
 
"enable_$ac_useropt"
1084
 
"*) ;;
1085
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1086
 
         ac_unrecognized_sep=', ';;
1087
 
    esac
1088
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1089
 
 
1090
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1091
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1092
 
  | --exec | --exe | --ex)
1093
 
    ac_prev=exec_prefix ;;
1094
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1095
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1096
 
  | --exec=* | --exe=* | --ex=*)
1097
 
    exec_prefix=$ac_optarg ;;
1098
 
 
1099
 
  -gas | --gas | --ga | --g)
1100
 
    # Obsolete; use --with-gas.
1101
 
    with_gas=yes ;;
1102
 
 
1103
 
  -help | --help | --hel | --he | -h)
1104
 
    ac_init_help=long ;;
1105
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1106
 
    ac_init_help=recursive ;;
1107
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1108
 
    ac_init_help=short ;;
1109
 
 
1110
 
  -host | --host | --hos | --ho)
1111
 
    ac_prev=host_alias ;;
1112
 
  -host=* | --host=* | --hos=* | --ho=*)
1113
 
    host_alias=$ac_optarg ;;
1114
 
 
1115
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1116
 
    ac_prev=htmldir ;;
1117
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1118
 
  | --ht=*)
1119
 
    htmldir=$ac_optarg ;;
1120
 
 
1121
 
  -includedir | --includedir | --includedi | --included | --include \
1122
 
  | --includ | --inclu | --incl | --inc)
1123
 
    ac_prev=includedir ;;
1124
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1125
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1126
 
    includedir=$ac_optarg ;;
1127
 
 
1128
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1129
 
    ac_prev=infodir ;;
1130
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1131
 
    infodir=$ac_optarg ;;
1132
 
 
1133
 
  -libdir | --libdir | --libdi | --libd)
1134
 
    ac_prev=libdir ;;
1135
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1136
 
    libdir=$ac_optarg ;;
1137
 
 
1138
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1139
 
  | --libexe | --libex | --libe)
1140
 
    ac_prev=libexecdir ;;
1141
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1142
 
  | --libexe=* | --libex=* | --libe=*)
1143
 
    libexecdir=$ac_optarg ;;
1144
 
 
1145
 
  -localedir | --localedir | --localedi | --localed | --locale)
1146
 
    ac_prev=localedir ;;
1147
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1148
 
    localedir=$ac_optarg ;;
1149
 
 
1150
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1151
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1152
 
    ac_prev=localstatedir ;;
1153
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1154
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1155
 
    localstatedir=$ac_optarg ;;
1156
 
 
1157
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1158
 
    ac_prev=mandir ;;
1159
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1160
 
    mandir=$ac_optarg ;;
1161
 
 
1162
 
  -nfp | --nfp | --nf)
1163
 
    # Obsolete; use --without-fp.
1164
 
    with_fp=no ;;
1165
 
 
1166
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1167
 
  | --no-cr | --no-c | -n)
1168
 
    no_create=yes ;;
1169
 
 
1170
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1171
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1172
 
    no_recursion=yes ;;
1173
 
 
1174
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1175
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1176
 
  | --oldin | --oldi | --old | --ol | --o)
1177
 
    ac_prev=oldincludedir ;;
1178
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1179
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1180
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1181
 
    oldincludedir=$ac_optarg ;;
1182
 
 
1183
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1184
 
    ac_prev=prefix ;;
1185
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1186
 
    prefix=$ac_optarg ;;
1187
 
 
1188
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1189
 
  | --program-pre | --program-pr | --program-p)
1190
 
    ac_prev=program_prefix ;;
1191
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1192
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1193
 
    program_prefix=$ac_optarg ;;
1194
 
 
1195
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1196
 
  | --program-suf | --program-su | --program-s)
1197
 
    ac_prev=program_suffix ;;
1198
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1199
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1200
 
    program_suffix=$ac_optarg ;;
1201
 
 
1202
 
  -program-transform-name | --program-transform-name \
1203
 
  | --program-transform-nam | --program-transform-na \
1204
 
  | --program-transform-n | --program-transform- \
1205
 
  | --program-transform | --program-transfor \
1206
 
  | --program-transfo | --program-transf \
1207
 
  | --program-trans | --program-tran \
1208
 
  | --progr-tra | --program-tr | --program-t)
1209
 
    ac_prev=program_transform_name ;;
1210
 
  -program-transform-name=* | --program-transform-name=* \
1211
 
  | --program-transform-nam=* | --program-transform-na=* \
1212
 
  | --program-transform-n=* | --program-transform-=* \
1213
 
  | --program-transform=* | --program-transfor=* \
1214
 
  | --program-transfo=* | --program-transf=* \
1215
 
  | --program-trans=* | --program-tran=* \
1216
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1217
 
    program_transform_name=$ac_optarg ;;
1218
 
 
1219
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1220
 
    ac_prev=pdfdir ;;
1221
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1222
 
    pdfdir=$ac_optarg ;;
1223
 
 
1224
 
  -psdir | --psdir | --psdi | --psd | --ps)
1225
 
    ac_prev=psdir ;;
1226
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1227
 
    psdir=$ac_optarg ;;
1228
 
 
1229
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1230
 
  | -silent | --silent | --silen | --sile | --sil)
1231
 
    silent=yes ;;
1232
 
 
1233
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1234
 
    ac_prev=sbindir ;;
1235
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1236
 
  | --sbi=* | --sb=*)
1237
 
    sbindir=$ac_optarg ;;
1238
 
 
1239
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1240
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1241
 
  | --sharedst | --shareds | --shared | --share | --shar \
1242
 
  | --sha | --sh)
1243
 
    ac_prev=sharedstatedir ;;
1244
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1245
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1246
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1247
 
  | --sha=* | --sh=*)
1248
 
    sharedstatedir=$ac_optarg ;;
1249
 
 
1250
 
  -site | --site | --sit)
1251
 
    ac_prev=site ;;
1252
 
  -site=* | --site=* | --sit=*)
1253
 
    site=$ac_optarg ;;
1254
 
 
1255
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1256
 
    ac_prev=srcdir ;;
1257
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1258
 
    srcdir=$ac_optarg ;;
1259
 
 
1260
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1261
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1262
 
    ac_prev=sysconfdir ;;
1263
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1264
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1265
 
    sysconfdir=$ac_optarg ;;
1266
 
 
1267
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1268
 
    ac_prev=target_alias ;;
1269
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1270
 
    target_alias=$ac_optarg ;;
1271
 
 
1272
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1273
 
    verbose=yes ;;
1274
 
 
1275
 
  -version | --version | --versio | --versi | --vers | -V)
1276
 
    ac_init_version=: ;;
1277
 
 
1278
 
  -with-* | --with-*)
1279
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1280
 
    # Reject names that are not valid shell variable names.
1281
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282
 
      as_fn_error "invalid package name: $ac_useropt"
1283
 
    ac_useropt_orig=$ac_useropt
1284
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285
 
    case $ac_user_opts in
1286
 
      *"
1287
 
"with_$ac_useropt"
1288
 
"*) ;;
1289
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1290
 
         ac_unrecognized_sep=', ';;
1291
 
    esac
1292
 
    eval with_$ac_useropt=\$ac_optarg ;;
1293
 
 
1294
 
  -without-* | --without-*)
1295
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1296
 
    # Reject names that are not valid shell variable names.
1297
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298
 
      as_fn_error "invalid package name: $ac_useropt"
1299
 
    ac_useropt_orig=$ac_useropt
1300
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301
 
    case $ac_user_opts in
1302
 
      *"
1303
 
"with_$ac_useropt"
1304
 
"*) ;;
1305
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1306
 
         ac_unrecognized_sep=', ';;
1307
 
    esac
1308
 
    eval with_$ac_useropt=no ;;
1309
 
 
1310
 
  --x)
1311
 
    # Obsolete; use --with-x.
1312
 
    with_x=yes ;;
1313
 
 
1314
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1315
 
  | --x-incl | --x-inc | --x-in | --x-i)
1316
 
    ac_prev=x_includes ;;
1317
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1318
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1319
 
    x_includes=$ac_optarg ;;
1320
 
 
1321
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1322
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1323
 
    ac_prev=x_libraries ;;
1324
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1325
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1326
 
    x_libraries=$ac_optarg ;;
1327
 
 
1328
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1329
 
Try \`$0 --help' for more information."
1330
 
    ;;
1331
 
 
1332
 
  *=*)
1333
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1334
 
    # Reject names that are not valid shell variable names.
1335
 
    case $ac_envvar in #(
1336
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1337
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1338
 
    esac
1339
 
    eval $ac_envvar=\$ac_optarg
1340
 
    export $ac_envvar ;;
1341
 
 
1342
 
  *)
1343
 
    # FIXME: should be removed in autoconf 3.0.
1344
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1345
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1346
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1347
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1348
 
    ;;
1349
 
 
1350
 
  esac
1351
 
done
1352
 
 
1353
 
if test -n "$ac_prev"; then
1354
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1355
 
  as_fn_error "missing argument to $ac_option"
1356
 
fi
1357
 
 
1358
 
if test -n "$ac_unrecognized_opts"; then
1359
 
  case $enable_option_checking in
1360
 
    no) ;;
1361
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1362
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1363
 
  esac
1364
 
fi
1365
 
 
1366
 
# Check all directory arguments for consistency.
1367
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1368
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1369
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1370
 
                libdir localedir mandir
1371
 
do
1372
 
  eval ac_val=\$$ac_var
1373
 
  # Remove trailing slashes.
1374
 
  case $ac_val in
1375
 
    */ )
1376
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1377
 
      eval $ac_var=\$ac_val;;
1378
 
  esac
1379
 
  # Be sure to have absolute directory names.
1380
 
  case $ac_val in
1381
 
    [\\/$]* | ?:[\\/]* )  continue;;
1382
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1383
 
  esac
1384
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1385
 
done
1386
 
 
1387
 
# There might be people who depend on the old broken behavior: `$host'
1388
 
# used to hold the argument of --host etc.
1389
 
# FIXME: To remove some day.
1390
 
build=$build_alias
1391
 
host=$host_alias
1392
 
target=$target_alias
1393
 
 
1394
 
# FIXME: To remove some day.
1395
 
if test "x$host_alias" != x; then
1396
 
  if test "x$build_alias" = x; then
1397
 
    cross_compiling=maybe
1398
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1399
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1400
 
  elif test "x$build_alias" != "x$host_alias"; then
1401
 
    cross_compiling=yes
1402
 
  fi
1403
 
fi
1404
 
 
1405
 
ac_tool_prefix=
1406
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1407
 
 
1408
 
test "$silent" = yes && exec 6>/dev/null
1409
 
 
1410
 
 
1411
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1412
 
ac_ls_di=`ls -di .` &&
1413
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1414
 
  as_fn_error "working directory cannot be determined"
1415
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416
 
  as_fn_error "pwd does not report name of working directory"
1417
 
 
1418
 
 
1419
 
# Find the source files, if location was not specified.
1420
 
if test -z "$srcdir"; then
1421
 
  ac_srcdir_defaulted=yes
1422
 
  # Try the directory containing this script, then the parent directory.
1423
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1424
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1425
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1426
 
         X"$as_myself" : 'X\(//\)$' \| \
1427
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1428
 
$as_echo X"$as_myself" |
1429
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430
 
            s//\1/
1431
 
            q
1432
 
          }
1433
 
          /^X\(\/\/\)[^/].*/{
1434
 
            s//\1/
1435
 
            q
1436
 
          }
1437
 
          /^X\(\/\/\)$/{
1438
 
            s//\1/
1439
 
            q
1440
 
          }
1441
 
          /^X\(\/\).*/{
1442
 
            s//\1/
1443
 
            q
1444
 
          }
1445
 
          s/.*/./; q'`
1446
 
  srcdir=$ac_confdir
1447
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1448
 
    srcdir=..
1449
 
  fi
1450
 
else
1451
 
  ac_srcdir_defaulted=no
1452
 
fi
1453
 
if test ! -r "$srcdir/$ac_unique_file"; then
1454
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1455
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1456
 
fi
1457
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1458
 
ac_abs_confdir=`(
1459
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1460
 
        pwd)`
1461
 
# When building in place, set srcdir=.
1462
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1463
 
  srcdir=.
1464
 
fi
1465
 
# Remove unnecessary trailing slashes from srcdir.
1466
 
# Double slashes in file names in object file debugging info
1467
 
# mess up M-x gdb in Emacs.
1468
 
case $srcdir in
1469
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1470
 
esac
1471
 
for ac_var in $ac_precious_vars; do
1472
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1473
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1474
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1475
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1476
 
done
1477
 
 
1478
 
#
1479
 
# Report the --help message.
1480
 
#
1481
 
if test "$ac_init_help" = "long"; then
1482
 
  # Omit some internal or obsolete options to make the list less imposing.
1483
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1484
 
  cat <<_ACEOF
1485
 
\`configure' configures cairo-dock 2.1.3-10-lucid to adapt to many kinds of systems.
1486
 
 
1487
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1488
 
 
1489
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1490
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1491
 
 
1492
 
Defaults for the options are specified in brackets.
1493
 
 
1494
 
Configuration:
1495
 
  -h, --help              display this help and exit
1496
 
      --help=short        display options specific to this package
1497
 
      --help=recursive    display the short help of all the included packages
1498
 
  -V, --version           display version information and exit
1499
 
  -q, --quiet, --silent   do not print \`checking...' messages
1500
 
      --cache-file=FILE   cache test results in FILE [disabled]
1501
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1502
 
  -n, --no-create         do not create output files
1503
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1504
 
 
1505
 
Installation directories:
1506
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1507
 
                          [$ac_default_prefix]
1508
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1509
 
                          [PREFIX]
1510
 
 
1511
 
By default, \`make install' will install all the files in
1512
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1513
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1514
 
for instance \`--prefix=\$HOME'.
1515
 
 
1516
 
For better control, use the options below.
1517
 
 
1518
 
Fine tuning of the installation directories:
1519
 
  --bindir=DIR            user executables [EPREFIX/bin]
1520
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1521
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1522
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1523
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1524
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1525
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1526
 
  --includedir=DIR        C header files [PREFIX/include]
1527
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1528
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1529
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1530
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1531
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1532
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1533
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/cairo-dock]
1534
 
  --htmldir=DIR           html documentation [DOCDIR]
1535
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1536
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1537
 
  --psdir=DIR             ps documentation [DOCDIR]
1538
 
_ACEOF
1539
 
 
1540
 
  cat <<\_ACEOF
1541
 
 
1542
 
Program names:
1543
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1544
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1545
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1546
 
 
1547
 
System types:
1548
 
  --build=BUILD     configure for building on BUILD [guessed]
1549
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1550
 
_ACEOF
1551
 
fi
1552
 
 
1553
 
if test -n "$ac_init_help"; then
1554
 
  case $ac_init_help in
1555
 
     short | recursive ) echo "Configuration of cairo-dock 2.1.3-10-lucid:";;
1556
 
   esac
1557
 
  cat <<\_ACEOF
1558
 
 
1559
 
Optional Features:
1560
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1561
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1562
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1563
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1564
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1565
 
  --enable-fast-install[=PKGS]
1566
 
                          optimize for fast installation [default=yes]
1567
 
  --disable-dependency-tracking  speeds up one-time build
1568
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1569
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1570
 
  --disable-nls           do not use Native Language Support
1571
 
  --enable-xextend  :  Enable X Extensions
1572
 
  --enable-glitz  :  Turn on hardware acceleration through Glitz (deprecated)
1573
 
 
1574
 
Optional Packages:
1575
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1576
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1577
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1578
 
                          both]
1579
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1580
 
 
1581
 
Some influential environment variables:
1582
 
  CC          C compiler command
1583
 
  CFLAGS      C compiler flags
1584
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1585
 
              nonstandard directory <lib dir>
1586
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1587
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1588
 
              you have headers in a nonstandard directory <include dir>
1589
 
  CPP         C preprocessor
1590
 
  PKG_CONFIG  path to pkg-config utility
1591
 
  PACKAGE_CFLAGS
1592
 
              C compiler flags for PACKAGE, overriding pkg-config
1593
 
  PACKAGE_LIBS
1594
 
              linker flags for PACKAGE, overriding pkg-config
1595
 
  XEXTEND_CFLAGS
1596
 
              C compiler flags for XEXTEND, overriding pkg-config
1597
 
  XEXTEND_LIBS
1598
 
              linker flags for XEXTEND, overriding pkg-config
1599
 
  GLITZ_CFLAGS
1600
 
              C compiler flags for GLITZ, overriding pkg-config
1601
 
  GLITZ_LIBS  linker flags for GLITZ, overriding pkg-config
1602
 
 
1603
 
Use these variables to override the choices made by `configure' or to help
1604
 
it to find libraries and programs with nonstandard names/locations.
1605
 
 
1606
 
Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
1607
 
_ACEOF
1608
 
ac_status=$?
1609
 
fi
1610
 
 
1611
 
if test "$ac_init_help" = "recursive"; then
1612
 
  # If there are subdirs, report their specific --help.
1613
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1614
 
    test -d "$ac_dir" ||
1615
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1616
 
      continue
1617
 
    ac_builddir=.
1618
 
 
1619
 
case "$ac_dir" in
1620
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621
 
*)
1622
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1623
 
  # A ".." for each directory in $ac_dir_suffix.
1624
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1625
 
  case $ac_top_builddir_sub in
1626
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1628
 
  esac ;;
1629
 
esac
1630
 
ac_abs_top_builddir=$ac_pwd
1631
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1632
 
# for backward compatibility:
1633
 
ac_top_builddir=$ac_top_build_prefix
1634
 
 
1635
 
case $srcdir in
1636
 
  .)  # We are building in place.
1637
 
    ac_srcdir=.
1638
 
    ac_top_srcdir=$ac_top_builddir_sub
1639
 
    ac_abs_top_srcdir=$ac_pwd ;;
1640
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1641
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1642
 
    ac_top_srcdir=$srcdir
1643
 
    ac_abs_top_srcdir=$srcdir ;;
1644
 
  *) # Relative name.
1645
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1647
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1648
 
esac
1649
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1650
 
 
1651
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1652
 
    # Check for guested configure.
1653
 
    if test -f "$ac_srcdir/configure.gnu"; then
1654
 
      echo &&
1655
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656
 
    elif test -f "$ac_srcdir/configure"; then
1657
 
      echo &&
1658
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1659
 
    else
1660
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1661
 
    fi || ac_status=$?
1662
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1663
 
  done
1664
 
fi
1665
 
 
1666
 
test -n "$ac_init_help" && exit $ac_status
1667
 
if $ac_init_version; then
1668
 
  cat <<\_ACEOF
1669
 
cairo-dock configure 2.1.3-10-lucid
1670
 
generated by GNU Autoconf 2.65
1671
 
 
1672
 
Copyright (C) 2009 Free Software Foundation, Inc.
1673
 
This configure script is free software; the Free Software Foundation
1674
 
gives unlimited permission to copy, distribute and modify it.
1675
 
_ACEOF
1676
 
  exit
1677
 
fi
1678
 
 
1679
 
## ------------------------ ##
1680
 
## Autoconf initialization. ##
1681
 
## ------------------------ ##
1682
 
 
1683
 
# ac_fn_c_try_compile LINENO
1684
 
# --------------------------
1685
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1686
 
ac_fn_c_try_compile ()
1687
 
{
1688
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689
 
  rm -f conftest.$ac_objext
1690
 
  if { { ac_try="$ac_compile"
1691
 
case "(($ac_try" in
1692
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693
 
  *) ac_try_echo=$ac_try;;
1694
 
esac
1695
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696
 
$as_echo "$ac_try_echo"; } >&5
1697
 
  (eval "$ac_compile") 2>conftest.err
1698
 
  ac_status=$?
1699
 
  if test -s conftest.err; then
1700
 
    grep -v '^ *+' conftest.err >conftest.er1
1701
 
    cat conftest.er1 >&5
1702
 
    mv -f conftest.er1 conftest.err
1703
 
  fi
1704
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705
 
  test $ac_status = 0; } && {
1706
 
         test -z "$ac_c_werror_flag" ||
1707
 
         test ! -s conftest.err
1708
 
       } && test -s conftest.$ac_objext; then :
1709
 
  ac_retval=0
1710
 
else
1711
 
  $as_echo "$as_me: failed program was:" >&5
1712
 
sed 's/^/| /' conftest.$ac_ext >&5
1713
 
 
1714
 
        ac_retval=1
1715
 
fi
1716
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717
 
  as_fn_set_status $ac_retval
1718
 
 
1719
 
} # ac_fn_c_try_compile
1720
 
 
1721
 
# ac_fn_c_try_link LINENO
1722
 
# -----------------------
1723
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1724
 
ac_fn_c_try_link ()
1725
 
{
1726
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1728
 
  if { { ac_try="$ac_link"
1729
 
case "(($ac_try" in
1730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1731
 
  *) ac_try_echo=$ac_try;;
1732
 
esac
1733
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734
 
$as_echo "$ac_try_echo"; } >&5
1735
 
  (eval "$ac_link") 2>conftest.err
1736
 
  ac_status=$?
1737
 
  if test -s conftest.err; then
1738
 
    grep -v '^ *+' conftest.err >conftest.er1
1739
 
    cat conftest.er1 >&5
1740
 
    mv -f conftest.er1 conftest.err
1741
 
  fi
1742
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743
 
  test $ac_status = 0; } && {
1744
 
         test -z "$ac_c_werror_flag" ||
1745
 
         test ! -s conftest.err
1746
 
       } && test -s conftest$ac_exeext && {
1747
 
         test "$cross_compiling" = yes ||
1748
 
         $as_test_x conftest$ac_exeext
1749
 
       }; then :
1750
 
  ac_retval=0
1751
 
else
1752
 
  $as_echo "$as_me: failed program was:" >&5
1753
 
sed 's/^/| /' conftest.$ac_ext >&5
1754
 
 
1755
 
        ac_retval=1
1756
 
fi
1757
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1758
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1759
 
  # interfere with the next link command; also delete a directory that is
1760
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1761
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763
 
  as_fn_set_status $ac_retval
1764
 
 
1765
 
} # ac_fn_c_try_link
1766
 
 
1767
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1768
 
# -------------------------------------------------------
1769
 
# Tests whether HEADER exists and can be compiled using the include files in
1770
 
# INCLUDES, setting the cache variable VAR accordingly.
1771
 
ac_fn_c_check_header_compile ()
1772
 
{
1773
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775
 
$as_echo_n "checking for $2... " >&6; }
1776
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1777
 
  $as_echo_n "(cached) " >&6
1778
 
else
1779
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780
 
/* end confdefs.h.  */
1781
 
$4
1782
 
#include <$2>
1783
 
_ACEOF
1784
 
if ac_fn_c_try_compile "$LINENO"; then :
1785
 
  eval "$3=yes"
1786
 
else
1787
 
  eval "$3=no"
1788
 
fi
1789
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790
 
fi
1791
 
eval ac_res=\$$3
1792
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793
 
$as_echo "$ac_res" >&6; }
1794
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795
 
 
1796
 
} # ac_fn_c_check_header_compile
1797
 
 
1798
 
# ac_fn_c_try_cpp LINENO
1799
 
# ----------------------
1800
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1801
 
ac_fn_c_try_cpp ()
1802
 
{
1803
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1805
 
case "(($ac_try" in
1806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807
 
  *) ac_try_echo=$ac_try;;
1808
 
esac
1809
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810
 
$as_echo "$ac_try_echo"; } >&5
1811
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812
 
  ac_status=$?
1813
 
  if test -s conftest.err; then
1814
 
    grep -v '^ *+' conftest.err >conftest.er1
1815
 
    cat conftest.er1 >&5
1816
 
    mv -f conftest.er1 conftest.err
1817
 
  fi
1818
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819
 
  test $ac_status = 0; } >/dev/null && {
1820
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1821
 
         test ! -s conftest.err
1822
 
       }; then :
1823
 
  ac_retval=0
1824
 
else
1825
 
  $as_echo "$as_me: failed program was:" >&5
1826
 
sed 's/^/| /' conftest.$ac_ext >&5
1827
 
 
1828
 
    ac_retval=1
1829
 
fi
1830
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831
 
  as_fn_set_status $ac_retval
1832
 
 
1833
 
} # ac_fn_c_try_cpp
1834
 
 
1835
 
# ac_fn_c_try_run LINENO
1836
 
# ----------------------
1837
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1838
 
# that executables *can* be run.
1839
 
ac_fn_c_try_run ()
1840
 
{
1841
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842
 
  if { { ac_try="$ac_link"
1843
 
case "(($ac_try" in
1844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1845
 
  *) ac_try_echo=$ac_try;;
1846
 
esac
1847
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848
 
$as_echo "$ac_try_echo"; } >&5
1849
 
  (eval "$ac_link") 2>&5
1850
 
  ac_status=$?
1851
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1853
 
  { { case "(($ac_try" in
1854
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855
 
  *) ac_try_echo=$ac_try;;
1856
 
esac
1857
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858
 
$as_echo "$ac_try_echo"; } >&5
1859
 
  (eval "$ac_try") 2>&5
1860
 
  ac_status=$?
1861
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862
 
  test $ac_status = 0; }; }; then :
1863
 
  ac_retval=0
1864
 
else
1865
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1866
 
       $as_echo "$as_me: failed program was:" >&5
1867
 
sed 's/^/| /' conftest.$ac_ext >&5
1868
 
 
1869
 
       ac_retval=$ac_status
1870
 
fi
1871
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873
 
  as_fn_set_status $ac_retval
1874
 
 
1875
 
} # ac_fn_c_try_run
1876
 
 
1877
 
# ac_fn_c_check_func LINENO FUNC VAR
1878
 
# ----------------------------------
1879
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1880
 
ac_fn_c_check_func ()
1881
 
{
1882
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884
 
$as_echo_n "checking for $2... " >&6; }
1885
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1886
 
  $as_echo_n "(cached) " >&6
1887
 
else
1888
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889
 
/* end confdefs.h.  */
1890
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1892
 
#define $2 innocuous_$2
1893
 
 
1894
 
/* System header to define __stub macros and hopefully few prototypes,
1895
 
    which can conflict with char $2 (); below.
1896
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897
 
    <limits.h> exists even on freestanding compilers.  */
1898
 
 
1899
 
#ifdef __STDC__
1900
 
# include <limits.h>
1901
 
#else
1902
 
# include <assert.h>
1903
 
#endif
1904
 
 
1905
 
#undef $2
1906
 
 
1907
 
/* Override any GCC internal prototype to avoid an error.
1908
 
   Use char because int might match the return type of a GCC
1909
 
   builtin and then its argument prototype would still apply.  */
1910
 
#ifdef __cplusplus
1911
 
extern "C"
1912
 
#endif
1913
 
char $2 ();
1914
 
/* The GNU C library defines this for functions which it implements
1915
 
    to always fail with ENOSYS.  Some functions are actually named
1916
 
    something starting with __ and the normal name is an alias.  */
1917
 
#if defined __stub_$2 || defined __stub___$2
1918
 
choke me
1919
 
#endif
1920
 
 
1921
 
int
1922
 
main ()
1923
 
{
1924
 
return $2 ();
1925
 
  ;
1926
 
  return 0;
1927
 
}
1928
 
_ACEOF
1929
 
if ac_fn_c_try_link "$LINENO"; then :
1930
 
  eval "$3=yes"
1931
 
else
1932
 
  eval "$3=no"
1933
 
fi
1934
 
rm -f core conftest.err conftest.$ac_objext \
1935
 
    conftest$ac_exeext conftest.$ac_ext
1936
 
fi
1937
 
eval ac_res=\$$3
1938
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939
 
$as_echo "$ac_res" >&6; }
1940
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941
 
 
1942
 
} # ac_fn_c_check_func
1943
 
 
1944
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1945
 
# -------------------------------------------------------
1946
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1947
 
# the include files in INCLUDES and setting the cache variable VAR
1948
 
# accordingly.
1949
 
ac_fn_c_check_header_mongrel ()
1950
 
{
1951
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954
 
$as_echo_n "checking for $2... " >&6; }
1955
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1956
 
  $as_echo_n "(cached) " >&6
1957
 
fi
1958
 
eval ac_res=\$$3
1959
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960
 
$as_echo "$ac_res" >&6; }
1961
 
else
1962
 
  # Is the header compilable?
1963
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1964
 
$as_echo_n "checking $2 usability... " >&6; }
1965
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966
 
/* end confdefs.h.  */
1967
 
$4
1968
 
#include <$2>
1969
 
_ACEOF
1970
 
if ac_fn_c_try_compile "$LINENO"; then :
1971
 
  ac_header_compiler=yes
1972
 
else
1973
 
  ac_header_compiler=no
1974
 
fi
1975
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1976
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1977
 
$as_echo "$ac_header_compiler" >&6; }
1978
 
 
1979
 
# Is the header present?
1980
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1981
 
$as_echo_n "checking $2 presence... " >&6; }
1982
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983
 
/* end confdefs.h.  */
1984
 
#include <$2>
1985
 
_ACEOF
1986
 
if ac_fn_c_try_cpp "$LINENO"; then :
1987
 
  ac_header_preproc=yes
1988
 
else
1989
 
  ac_header_preproc=no
1990
 
fi
1991
 
rm -f conftest.err conftest.$ac_ext
1992
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1993
 
$as_echo "$ac_header_preproc" >&6; }
1994
 
 
1995
 
# So?  What about this header?
1996
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1997
 
  yes:no: )
1998
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1999
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2000
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2001
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2002
 
    ;;
2003
 
  no:yes:* )
2004
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2005
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2006
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2007
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2008
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2009
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2010
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2011
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2012
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2013
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014
 
( cat <<\_ASBOX
2015
 
## ------------------------------------------------------ ##
2016
 
## Report this to Fabrice Rey (fabounet@users.berlios.de) ##
2017
 
## ------------------------------------------------------ ##
2018
 
_ASBOX
2019
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2020
 
    ;;
2021
 
esac
2022
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023
 
$as_echo_n "checking for $2... " >&6; }
2024
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2025
 
  $as_echo_n "(cached) " >&6
2026
 
else
2027
 
  eval "$3=\$ac_header_compiler"
2028
 
fi
2029
 
eval ac_res=\$$3
2030
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031
 
$as_echo "$ac_res" >&6; }
2032
 
fi
2033
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2034
 
 
2035
 
} # ac_fn_c_check_header_mongrel
2036
 
cat >config.log <<_ACEOF
2037
 
This file contains any messages produced by compilers while
2038
 
running configure, to aid debugging if configure makes a mistake.
2039
 
 
2040
 
It was created by cairo-dock $as_me 2.1.3-10-lucid, which was
2041
 
generated by GNU Autoconf 2.65.  Invocation command line was
2042
 
 
2043
 
  $ $0 $@
2044
 
 
2045
 
_ACEOF
2046
 
exec 5>>config.log
2047
 
{
2048
 
cat <<_ASUNAME
2049
 
## --------- ##
2050
 
## Platform. ##
2051
 
## --------- ##
2052
 
 
2053
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2054
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2055
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2056
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2057
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2058
 
 
2059
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2060
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2061
 
 
2062
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2063
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2064
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2065
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2066
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2067
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2068
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2069
 
 
2070
 
_ASUNAME
2071
 
 
2072
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073
 
for as_dir in $PATH
2074
 
do
2075
 
  IFS=$as_save_IFS
2076
 
  test -z "$as_dir" && as_dir=.
2077
 
    $as_echo "PATH: $as_dir"
2078
 
  done
2079
 
IFS=$as_save_IFS
2080
 
 
2081
 
} >&5
2082
 
 
2083
 
cat >&5 <<_ACEOF
2084
 
 
2085
 
 
2086
 
## ----------- ##
2087
 
## Core tests. ##
2088
 
## ----------- ##
2089
 
 
2090
 
_ACEOF
2091
 
 
2092
 
 
2093
 
# Keep a trace of the command line.
2094
 
# Strip out --no-create and --no-recursion so they do not pile up.
2095
 
# Strip out --silent because we don't want to record it for future runs.
2096
 
# Also quote any args containing shell meta-characters.
2097
 
# Make two passes to allow for proper duplicate-argument suppression.
2098
 
ac_configure_args=
2099
 
ac_configure_args0=
2100
 
ac_configure_args1=
2101
 
ac_must_keep_next=false
2102
 
for ac_pass in 1 2
2103
 
do
2104
 
  for ac_arg
2105
 
  do
2106
 
    case $ac_arg in
2107
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2108
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2109
 
    | -silent | --silent | --silen | --sile | --sil)
2110
 
      continue ;;
2111
 
    *\'*)
2112
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113
 
    esac
2114
 
    case $ac_pass in
2115
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2116
 
    2)
2117
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2118
 
      if test $ac_must_keep_next = true; then
2119
 
        ac_must_keep_next=false # Got value, back to normal.
2120
 
      else
2121
 
        case $ac_arg in
2122
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2123
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2124
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2125
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2126
 
            case "$ac_configure_args0 " in
2127
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128
 
            esac
2129
 
            ;;
2130
 
          -* ) ac_must_keep_next=true ;;
2131
 
        esac
2132
 
      fi
2133
 
      as_fn_append ac_configure_args " '$ac_arg'"
2134
 
      ;;
2135
 
    esac
2136
 
  done
2137
 
done
2138
 
{ ac_configure_args0=; unset ac_configure_args0;}
2139
 
{ ac_configure_args1=; unset ac_configure_args1;}
2140
 
 
2141
 
# When interrupted or exit'd, cleanup temporary files, and complete
2142
 
# config.log.  We remove comments because anyway the quotes in there
2143
 
# would cause problems or look ugly.
2144
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2145
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2146
 
trap 'exit_status=$?
2147
 
  # Save into config.log some information that might help in debugging.
2148
 
  {
2149
 
    echo
2150
 
 
2151
 
    cat <<\_ASBOX
2152
 
## ---------------- ##
2153
 
## Cache variables. ##
2154
 
## ---------------- ##
2155
 
_ASBOX
2156
 
    echo
2157
 
    # The following way of writing the cache mishandles newlines in values,
2158
 
(
2159
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2160
 
    eval ac_val=\$$ac_var
2161
 
    case $ac_val in #(
2162
 
    *${as_nl}*)
2163
 
      case $ac_var in #(
2164
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2165
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2166
 
      esac
2167
 
      case $ac_var in #(
2168
 
      _ | IFS | as_nl) ;; #(
2169
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2170
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2171
 
      esac ;;
2172
 
    esac
2173
 
  done
2174
 
  (set) 2>&1 |
2175
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176
 
    *${as_nl}ac_space=\ *)
2177
 
      sed -n \
2178
 
        "s/'\''/'\''\\\\'\'''\''/g;
2179
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2180
 
      ;; #(
2181
 
    *)
2182
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2183
 
      ;;
2184
 
    esac |
2185
 
    sort
2186
 
)
2187
 
    echo
2188
 
 
2189
 
    cat <<\_ASBOX
2190
 
## ----------------- ##
2191
 
## Output variables. ##
2192
 
## ----------------- ##
2193
 
_ASBOX
2194
 
    echo
2195
 
    for ac_var in $ac_subst_vars
2196
 
    do
2197
 
      eval ac_val=\$$ac_var
2198
 
      case $ac_val in
2199
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200
 
      esac
2201
 
      $as_echo "$ac_var='\''$ac_val'\''"
2202
 
    done | sort
2203
 
    echo
2204
 
 
2205
 
    if test -n "$ac_subst_files"; then
2206
 
      cat <<\_ASBOX
2207
 
## ------------------- ##
2208
 
## File substitutions. ##
2209
 
## ------------------- ##
2210
 
_ASBOX
2211
 
      echo
2212
 
      for ac_var in $ac_subst_files
2213
 
      do
2214
 
        eval ac_val=\$$ac_var
2215
 
        case $ac_val in
2216
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217
 
        esac
2218
 
        $as_echo "$ac_var='\''$ac_val'\''"
2219
 
      done | sort
2220
 
      echo
2221
 
    fi
2222
 
 
2223
 
    if test -s confdefs.h; then
2224
 
      cat <<\_ASBOX
2225
 
## ----------- ##
2226
 
## confdefs.h. ##
2227
 
## ----------- ##
2228
 
_ASBOX
2229
 
      echo
2230
 
      cat confdefs.h
2231
 
      echo
2232
 
    fi
2233
 
    test "$ac_signal" != 0 &&
2234
 
      $as_echo "$as_me: caught signal $ac_signal"
2235
 
    $as_echo "$as_me: exit $exit_status"
2236
 
  } >&5
2237
 
  rm -f core *.core core.conftest.* &&
2238
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239
 
    exit $exit_status
2240
 
' 0
2241
 
for ac_signal in 1 2 13 15; do
2242
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2243
 
done
2244
 
ac_signal=0
2245
 
 
2246
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2247
 
rm -f -r conftest* confdefs.h
2248
 
 
2249
 
$as_echo "/* confdefs.h */" > confdefs.h
2250
 
 
2251
 
# Predefined preprocessor variables.
2252
 
 
2253
 
cat >>confdefs.h <<_ACEOF
2254
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2255
 
_ACEOF
2256
 
 
2257
 
cat >>confdefs.h <<_ACEOF
2258
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2259
 
_ACEOF
2260
 
 
2261
 
cat >>confdefs.h <<_ACEOF
2262
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2263
 
_ACEOF
2264
 
 
2265
 
cat >>confdefs.h <<_ACEOF
2266
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2267
 
_ACEOF
2268
 
 
2269
 
cat >>confdefs.h <<_ACEOF
2270
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2271
 
_ACEOF
2272
 
 
2273
 
cat >>confdefs.h <<_ACEOF
2274
 
#define PACKAGE_URL "$PACKAGE_URL"
2275
 
_ACEOF
2276
 
 
2277
 
 
2278
 
# Let the site file select an alternate cache file if it wants to.
2279
 
# Prefer an explicitly selected file to automatically selected ones.
2280
 
ac_site_file1=NONE
2281
 
ac_site_file2=NONE
2282
 
if test -n "$CONFIG_SITE"; then
2283
 
  ac_site_file1=$CONFIG_SITE
2284
 
elif test "x$prefix" != xNONE; then
2285
 
  ac_site_file1=$prefix/share/config.site
2286
 
  ac_site_file2=$prefix/etc/config.site
2287
 
else
2288
 
  ac_site_file1=$ac_default_prefix/share/config.site
2289
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2290
 
fi
2291
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2292
 
do
2293
 
  test "x$ac_site_file" = xNONE && continue
2294
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2295
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2296
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2297
 
    sed 's/^/| /' "$ac_site_file" >&5
2298
 
    . "$ac_site_file"
2299
 
  fi
2300
 
done
2301
 
 
2302
 
if test -r "$cache_file"; then
2303
 
  # Some versions of bash will fail to source /dev/null (special files
2304
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2305
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2306
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2307
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2308
 
    case $cache_file in
2309
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2310
 
      *)                      . "./$cache_file";;
2311
 
    esac
2312
 
  fi
2313
 
else
2314
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2315
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2316
 
  >$cache_file
2317
 
fi
2318
 
 
2319
 
# Check that the precious variables saved in the cache have kept the same
2320
 
# value.
2321
 
ac_cache_corrupted=false
2322
 
for ac_var in $ac_precious_vars; do
2323
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2324
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2325
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2326
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2327
 
  case $ac_old_set,$ac_new_set in
2328
 
    set,)
2329
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2330
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2331
 
      ac_cache_corrupted=: ;;
2332
 
    ,set)
2333
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2334
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2335
 
      ac_cache_corrupted=: ;;
2336
 
    ,);;
2337
 
    *)
2338
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2339
 
        # differences in whitespace do not lead to failure.
2340
 
        ac_old_val_w=`echo x $ac_old_val`
2341
 
        ac_new_val_w=`echo x $ac_new_val`
2342
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2343
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2344
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2345
 
          ac_cache_corrupted=:
2346
 
        else
2347
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2348
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2349
 
          eval $ac_var=\$ac_old_val
2350
 
        fi
2351
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2352
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2353
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2354
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2355
 
      fi;;
2356
 
  esac
2357
 
  # Pass precious variables to config.status.
2358
 
  if test "$ac_new_set" = set; then
2359
 
    case $ac_new_val in
2360
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2361
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2362
 
    esac
2363
 
    case " $ac_configure_args " in
2364
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2365
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2366
 
    esac
2367
 
  fi
2368
 
done
2369
 
if $ac_cache_corrupted; then
2370
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2372
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2373
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2374
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2375
 
fi
2376
 
## -------------------- ##
2377
 
## Main body of script. ##
2378
 
## -------------------- ##
2379
 
 
2380
 
ac_ext=c
2381
 
ac_cpp='$CPP $CPPFLAGS'
2382
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2383
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2384
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2385
 
 
2386
 
 
2387
 
 
2388
 
ac_config_headers="$ac_config_headers config.h"
2389
 
 
2390
 
 
2391
 
am__api_version='1.11'
2392
 
 
2393
 
ac_aux_dir=
2394
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2395
 
  for ac_t in install-sh install.sh shtool; do
2396
 
    if test -f "$ac_dir/$ac_t"; then
2397
 
      ac_aux_dir=$ac_dir
2398
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2399
 
      break 2
2400
 
    fi
2401
 
  done
2402
 
done
2403
 
if test -z "$ac_aux_dir"; then
2404
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2405
 
fi
2406
 
 
2407
 
# These three variables are undocumented and unsupported,
2408
 
# and are intended to be withdrawn in a future Autoconf release.
2409
 
# They can cause serious problems if a builder's source tree is in a directory
2410
 
# whose full name contains unusual characters.
2411
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2412
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2413
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2414
 
 
2415
 
 
2416
 
# Find a good install program.  We prefer a C program (faster),
2417
 
# so one script is as good as another.  But avoid the broken or
2418
 
# incompatible versions:
2419
 
# SysV /etc/install, /usr/sbin/install
2420
 
# SunOS /usr/etc/install
2421
 
# IRIX /sbin/install
2422
 
# AIX /bin/install
2423
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2424
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2425
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2426
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2427
 
# OS/2's system install, which has a completely different semantic
2428
 
# ./install, which can be erroneously created by make from ./install.sh.
2429
 
# Reject install programs that cannot install multiple files.
2430
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2431
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2432
 
if test -z "$INSTALL"; then
2433
 
if test "${ac_cv_path_install+set}" = set; then :
2434
 
  $as_echo_n "(cached) " >&6
2435
 
else
2436
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437
 
for as_dir in $PATH
2438
 
do
2439
 
  IFS=$as_save_IFS
2440
 
  test -z "$as_dir" && as_dir=.
2441
 
    # Account for people who put trailing slashes in PATH elements.
2442
 
case $as_dir/ in #((
2443
 
  ./ | .// | /[cC]/* | \
2444
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2445
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2446
 
  /usr/ucb/* ) ;;
2447
 
  *)
2448
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2449
 
    # Don't use installbsd from OSF since it installs stuff as root
2450
 
    # by default.
2451
 
    for ac_prog in ginstall scoinst install; do
2452
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2453
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2454
 
          if test $ac_prog = install &&
2455
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2456
 
            # AIX install.  It has an incompatible calling convention.
2457
 
            :
2458
 
          elif test $ac_prog = install &&
2459
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2460
 
            # program-specific install script used by HP pwplus--don't use.
2461
 
            :
2462
 
          else
2463
 
            rm -rf conftest.one conftest.two conftest.dir
2464
 
            echo one > conftest.one
2465
 
            echo two > conftest.two
2466
 
            mkdir conftest.dir
2467
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2468
 
              test -s conftest.one && test -s conftest.two &&
2469
 
              test -s conftest.dir/conftest.one &&
2470
 
              test -s conftest.dir/conftest.two
2471
 
            then
2472
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2473
 
              break 3
2474
 
            fi
2475
 
          fi
2476
 
        fi
2477
 
      done
2478
 
    done
2479
 
    ;;
2480
 
esac
2481
 
 
2482
 
  done
2483
 
IFS=$as_save_IFS
2484
 
 
2485
 
rm -rf conftest.one conftest.two conftest.dir
2486
 
 
2487
 
fi
2488
 
  if test "${ac_cv_path_install+set}" = set; then
2489
 
    INSTALL=$ac_cv_path_install
2490
 
  else
2491
 
    # As a last resort, use the slow shell script.  Don't cache a
2492
 
    # value for INSTALL within a source directory, because that will
2493
 
    # break other packages using the cache if that directory is
2494
 
    # removed, or if the value is a relative name.
2495
 
    INSTALL=$ac_install_sh
2496
 
  fi
2497
 
fi
2498
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2499
 
$as_echo "$INSTALL" >&6; }
2500
 
 
2501
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2502
 
# It thinks the first close brace ends the variable substitution.
2503
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2504
 
 
2505
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2506
 
 
2507
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2508
 
 
2509
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2510
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2511
 
# Just in case
2512
 
sleep 1
2513
 
echo timestamp > conftest.file
2514
 
# Reject unsafe characters in $srcdir or the absolute working directory
2515
 
# name.  Accept space and tab only in the latter.
2516
 
am_lf='
2517
 
'
2518
 
case `pwd` in
2519
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2520
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2521
 
esac
2522
 
case $srcdir in
2523
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2524
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2525
 
esac
2526
 
 
2527
 
# Do `set' in a subshell so we don't clobber the current shell's
2528
 
# arguments.  Must try -L first in case configure is actually a
2529
 
# symlink; some systems play weird games with the mod time of symlinks
2530
 
# (eg FreeBSD returns the mod time of the symlink's containing
2531
 
# directory).
2532
 
if (
2533
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2534
 
   if test "$*" = "X"; then
2535
 
      # -L didn't work.
2536
 
      set X `ls -t "$srcdir/configure" conftest.file`
2537
 
   fi
2538
 
   rm -f conftest.file
2539
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2540
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2541
 
 
2542
 
      # If neither matched, then we have a broken ls.  This can happen
2543
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2544
 
      # broken ls alias from the environment.  This has actually
2545
 
      # happened.  Such a system could not be considered "sane".
2546
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2547
 
alias in your environment" "$LINENO" 5
2548
 
   fi
2549
 
 
2550
 
   test "$2" = conftest.file
2551
 
   )
2552
 
then
2553
 
   # Ok.
2554
 
   :
2555
 
else
2556
 
   as_fn_error "newly created file is older than distributed files!
2557
 
Check your system clock" "$LINENO" 5
2558
 
fi
2559
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2560
 
$as_echo "yes" >&6; }
2561
 
test "$program_prefix" != NONE &&
2562
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2563
 
# Use a double $ so make ignores it.
2564
 
test "$program_suffix" != NONE &&
2565
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2566
 
# Double any \ or $.
2567
 
# By default was `s,x,x', remove it if useless.
2568
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2569
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2570
 
 
2571
 
# expand $ac_aux_dir to an absolute path
2572
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2573
 
 
2574
 
if test x"${MISSING+set}" != xset; then
2575
 
  case $am_aux_dir in
2576
 
  *\ * | *\     *)
2577
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2578
 
  *)
2579
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2580
 
  esac
2581
 
fi
2582
 
# Use eval to expand $SHELL
2583
 
if eval "$MISSING --run true"; then
2584
 
  am_missing_run="$MISSING --run "
2585
 
else
2586
 
  am_missing_run=
2587
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2588
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2589
 
fi
2590
 
 
2591
 
if test x"${install_sh}" != xset; then
2592
 
  case $am_aux_dir in
2593
 
  *\ * | *\     *)
2594
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2595
 
  *)
2596
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2597
 
  esac
2598
 
fi
2599
 
 
2600
 
# Installed binaries are usually stripped using `strip' when the user
2601
 
# run `make install-strip'.  However `strip' might not be the right
2602
 
# tool to use in cross-compilation environments, therefore Automake
2603
 
# will honor the `STRIP' environment variable to overrule this program.
2604
 
if test "$cross_compiling" != no; then
2605
 
  if test -n "$ac_tool_prefix"; then
2606
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2607
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609
 
$as_echo_n "checking for $ac_word... " >&6; }
2610
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2611
 
  $as_echo_n "(cached) " >&6
2612
 
else
2613
 
  if test -n "$STRIP"; then
2614
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2615
 
else
2616
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617
 
for as_dir in $PATH
2618
 
do
2619
 
  IFS=$as_save_IFS
2620
 
  test -z "$as_dir" && as_dir=.
2621
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2622
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2624
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625
 
    break 2
2626
 
  fi
2627
 
done
2628
 
  done
2629
 
IFS=$as_save_IFS
2630
 
 
2631
 
fi
2632
 
fi
2633
 
STRIP=$ac_cv_prog_STRIP
2634
 
if test -n "$STRIP"; then
2635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2636
 
$as_echo "$STRIP" >&6; }
2637
 
else
2638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639
 
$as_echo "no" >&6; }
2640
 
fi
2641
 
 
2642
 
 
2643
 
fi
2644
 
if test -z "$ac_cv_prog_STRIP"; then
2645
 
  ac_ct_STRIP=$STRIP
2646
 
  # Extract the first word of "strip", so it can be a program name with args.
2647
 
set dummy strip; ac_word=$2
2648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649
 
$as_echo_n "checking for $ac_word... " >&6; }
2650
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2651
 
  $as_echo_n "(cached) " >&6
2652
 
else
2653
 
  if test -n "$ac_ct_STRIP"; then
2654
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2655
 
else
2656
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657
 
for as_dir in $PATH
2658
 
do
2659
 
  IFS=$as_save_IFS
2660
 
  test -z "$as_dir" && as_dir=.
2661
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2662
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663
 
    ac_cv_prog_ac_ct_STRIP="strip"
2664
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2665
 
    break 2
2666
 
  fi
2667
 
done
2668
 
  done
2669
 
IFS=$as_save_IFS
2670
 
 
2671
 
fi
2672
 
fi
2673
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2674
 
if test -n "$ac_ct_STRIP"; then
2675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2676
 
$as_echo "$ac_ct_STRIP" >&6; }
2677
 
else
2678
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679
 
$as_echo "no" >&6; }
2680
 
fi
2681
 
 
2682
 
  if test "x$ac_ct_STRIP" = x; then
2683
 
    STRIP=":"
2684
 
  else
2685
 
    case $cross_compiling:$ac_tool_warned in
2686
 
yes:)
2687
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689
 
ac_tool_warned=yes ;;
2690
 
esac
2691
 
    STRIP=$ac_ct_STRIP
2692
 
  fi
2693
 
else
2694
 
  STRIP="$ac_cv_prog_STRIP"
2695
 
fi
2696
 
 
2697
 
fi
2698
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2699
 
 
2700
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2701
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2702
 
if test -z "$MKDIR_P"; then
2703
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2704
 
  $as_echo_n "(cached) " >&6
2705
 
else
2706
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2708
 
do
2709
 
  IFS=$as_save_IFS
2710
 
  test -z "$as_dir" && as_dir=.
2711
 
    for ac_prog in mkdir gmkdir; do
2712
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2713
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2714
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2715
 
             'mkdir (GNU coreutils) '* | \
2716
 
             'mkdir (coreutils) '* | \
2717
 
             'mkdir (fileutils) '4.1*)
2718
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2719
 
               break 3;;
2720
 
           esac
2721
 
         done
2722
 
       done
2723
 
  done
2724
 
IFS=$as_save_IFS
2725
 
 
2726
 
fi
2727
 
 
2728
 
  test -d ./--version && rmdir ./--version
2729
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2730
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2731
 
  else
2732
 
    # As a last resort, use the slow shell script.  Don't cache a
2733
 
    # value for MKDIR_P within a source directory, because that will
2734
 
    # break other packages using the cache if that directory is
2735
 
    # removed, or if the value is a relative name.
2736
 
    MKDIR_P="$ac_install_sh -d"
2737
 
  fi
2738
 
fi
2739
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2740
 
$as_echo "$MKDIR_P" >&6; }
2741
 
 
2742
 
mkdir_p="$MKDIR_P"
2743
 
case $mkdir_p in
2744
 
  [\\/$]* | ?:[\\/]*) ;;
2745
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2746
 
esac
2747
 
 
2748
 
for ac_prog in gawk mawk nawk awk
2749
 
do
2750
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2751
 
set dummy $ac_prog; ac_word=$2
2752
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753
 
$as_echo_n "checking for $ac_word... " >&6; }
2754
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2755
 
  $as_echo_n "(cached) " >&6
2756
 
else
2757
 
  if test -n "$AWK"; then
2758
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2759
 
else
2760
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761
 
for as_dir in $PATH
2762
 
do
2763
 
  IFS=$as_save_IFS
2764
 
  test -z "$as_dir" && as_dir=.
2765
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2766
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767
 
    ac_cv_prog_AWK="$ac_prog"
2768
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769
 
    break 2
2770
 
  fi
2771
 
done
2772
 
  done
2773
 
IFS=$as_save_IFS
2774
 
 
2775
 
fi
2776
 
fi
2777
 
AWK=$ac_cv_prog_AWK
2778
 
if test -n "$AWK"; then
2779
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2780
 
$as_echo "$AWK" >&6; }
2781
 
else
2782
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783
 
$as_echo "no" >&6; }
2784
 
fi
2785
 
 
2786
 
 
2787
 
  test -n "$AWK" && break
2788
 
done
2789
 
 
2790
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2791
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2792
 
set x ${MAKE-make}
2793
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2794
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2795
 
  $as_echo_n "(cached) " >&6
2796
 
else
2797
 
  cat >conftest.make <<\_ACEOF
2798
 
SHELL = /bin/sh
2799
 
all:
2800
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2801
 
_ACEOF
2802
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2803
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2804
 
  *@@@%%%=?*=@@@%%%*)
2805
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2806
 
  *)
2807
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2808
 
esac
2809
 
rm -f conftest.make
2810
 
fi
2811
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2812
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813
 
$as_echo "yes" >&6; }
2814
 
  SET_MAKE=
2815
 
else
2816
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817
 
$as_echo "no" >&6; }
2818
 
  SET_MAKE="MAKE=${MAKE-make}"
2819
 
fi
2820
 
 
2821
 
rm -rf .tst 2>/dev/null
2822
 
mkdir .tst 2>/dev/null
2823
 
if test -d .tst; then
2824
 
  am__leading_dot=.
2825
 
else
2826
 
  am__leading_dot=_
2827
 
fi
2828
 
rmdir .tst 2>/dev/null
2829
 
 
2830
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2831
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2832
 
  # is not polluted with repeated "-I."
2833
 
  am__isrc=' -I$(srcdir)'
2834
 
  # test to see if srcdir already configured
2835
 
  if test -f $srcdir/config.status; then
2836
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2837
 
  fi
2838
 
fi
2839
 
 
2840
 
# test whether we have cygpath
2841
 
if test -z "$CYGPATH_W"; then
2842
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2843
 
    CYGPATH_W='cygpath -w'
2844
 
  else
2845
 
    CYGPATH_W=echo
2846
 
  fi
2847
 
fi
2848
 
 
2849
 
 
2850
 
# Define the identity of the package.
2851
 
 PACKAGE='cairo-dock'
2852
 
 VERSION='2.1.3-10-lucid'
2853
 
 
2854
 
 
2855
 
cat >>confdefs.h <<_ACEOF
2856
 
#define PACKAGE "$PACKAGE"
2857
 
_ACEOF
2858
 
 
2859
 
 
2860
 
cat >>confdefs.h <<_ACEOF
2861
 
#define VERSION "$VERSION"
2862
 
_ACEOF
2863
 
 
2864
 
# Some tools Automake needs.
2865
 
 
2866
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2867
 
 
2868
 
 
2869
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2870
 
 
2871
 
 
2872
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2873
 
 
2874
 
 
2875
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2876
 
 
2877
 
 
2878
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2879
 
 
2880
 
# We need awk for the "check" target.  The system "awk" is bad on
2881
 
# some platforms.
2882
 
# Always define AMTAR for backward compatibility.
2883
 
 
2884
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2885
 
 
2886
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2887
 
 
2888
 
 
2889
 
 
2890
 
 
2891
 
 
2892
 
case `pwd` in
2893
 
  *\ * | *\     *)
2894
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2895
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2896
 
esac
2897
 
 
2898
 
 
2899
 
 
2900
 
macro_version='2.2.6b'
2901
 
macro_revision='1.3017'
2902
 
 
2903
 
 
2904
 
 
2905
 
 
2906
 
 
2907
 
 
2908
 
 
2909
 
 
2910
 
 
2911
 
 
2912
 
 
2913
 
 
2914
 
 
2915
 
ltmain="$ac_aux_dir/ltmain.sh"
2916
 
 
2917
 
# Make sure we can run config.sub.
2918
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2919
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2920
 
 
2921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2922
 
$as_echo_n "checking build system type... " >&6; }
2923
 
if test "${ac_cv_build+set}" = set; then :
2924
 
  $as_echo_n "(cached) " >&6
2925
 
else
2926
 
  ac_build_alias=$build_alias
2927
 
test "x$ac_build_alias" = x &&
2928
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2929
 
test "x$ac_build_alias" = x &&
2930
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2931
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2932
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2933
 
 
2934
 
fi
2935
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2936
 
$as_echo "$ac_cv_build" >&6; }
2937
 
case $ac_cv_build in
2938
 
*-*-*) ;;
2939
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2940
 
esac
2941
 
build=$ac_cv_build
2942
 
ac_save_IFS=$IFS; IFS='-'
2943
 
set x $ac_cv_build
2944
 
shift
2945
 
build_cpu=$1
2946
 
build_vendor=$2
2947
 
shift; shift
2948
 
# Remember, the first character of IFS is used to create $*,
2949
 
# except with old shells:
2950
 
build_os=$*
2951
 
IFS=$ac_save_IFS
2952
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2953
 
 
2954
 
 
2955
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2956
 
$as_echo_n "checking host system type... " >&6; }
2957
 
if test "${ac_cv_host+set}" = set; then :
2958
 
  $as_echo_n "(cached) " >&6
2959
 
else
2960
 
  if test "x$host_alias" = x; then
2961
 
  ac_cv_host=$ac_cv_build
2962
 
else
2963
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2964
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2965
 
fi
2966
 
 
2967
 
fi
2968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2969
 
$as_echo "$ac_cv_host" >&6; }
2970
 
case $ac_cv_host in
2971
 
*-*-*) ;;
2972
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2973
 
esac
2974
 
host=$ac_cv_host
2975
 
ac_save_IFS=$IFS; IFS='-'
2976
 
set x $ac_cv_host
2977
 
shift
2978
 
host_cpu=$1
2979
 
host_vendor=$2
2980
 
shift; shift
2981
 
# Remember, the first character of IFS is used to create $*,
2982
 
# except with old shells:
2983
 
host_os=$*
2984
 
IFS=$ac_save_IFS
2985
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2986
 
 
2987
 
 
2988
 
DEPDIR="${am__leading_dot}deps"
2989
 
 
2990
 
ac_config_commands="$ac_config_commands depfiles"
2991
 
 
2992
 
 
2993
 
am_make=${MAKE-make}
2994
 
cat > confinc << 'END'
2995
 
am__doit:
2996
 
        @echo this is the am__doit target
2997
 
.PHONY: am__doit
2998
 
END
2999
 
# If we don't find an include directive, just comment out the code.
3000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3001
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3002
 
am__include="#"
3003
 
am__quote=
3004
 
_am_result=none
3005
 
# First try GNU make style include.
3006
 
echo "include confinc" > confmf
3007
 
# Ignore all kinds of additional output from `make'.
3008
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3009
 
*the\ am__doit\ target*)
3010
 
  am__include=include
3011
 
  am__quote=
3012
 
  _am_result=GNU
3013
 
  ;;
3014
 
esac
3015
 
# Now try BSD make style include.
3016
 
if test "$am__include" = "#"; then
3017
 
   echo '.include "confinc"' > confmf
3018
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3019
 
   *the\ am__doit\ target*)
3020
 
     am__include=.include
3021
 
     am__quote="\""
3022
 
     _am_result=BSD
3023
 
     ;;
3024
 
   esac
3025
 
fi
3026
 
 
3027
 
 
3028
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3029
 
$as_echo "$_am_result" >&6; }
3030
 
rm -f confinc confmf
3031
 
 
3032
 
# Check whether --enable-dependency-tracking was given.
3033
 
if test "${enable_dependency_tracking+set}" = set; then :
3034
 
  enableval=$enable_dependency_tracking;
3035
 
fi
3036
 
 
3037
 
if test "x$enable_dependency_tracking" != xno; then
3038
 
  am_depcomp="$ac_aux_dir/depcomp"
3039
 
  AMDEPBACKSLASH='\'
3040
 
fi
3041
 
 if test "x$enable_dependency_tracking" != xno; then
3042
 
  AMDEP_TRUE=
3043
 
  AMDEP_FALSE='#'
3044
 
else
3045
 
  AMDEP_TRUE='#'
3046
 
  AMDEP_FALSE=
3047
 
fi
3048
 
 
3049
 
 
3050
 
ac_ext=c
3051
 
ac_cpp='$CPP $CPPFLAGS'
3052
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055
 
if test -n "$ac_tool_prefix"; then
3056
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3057
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059
 
$as_echo_n "checking for $ac_word... " >&6; }
3060
 
if test "${ac_cv_prog_CC+set}" = set; then :
3061
 
  $as_echo_n "(cached) " >&6
3062
 
else
3063
 
  if test -n "$CC"; then
3064
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3065
 
else
3066
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067
 
for as_dir in $PATH
3068
 
do
3069
 
  IFS=$as_save_IFS
3070
 
  test -z "$as_dir" && as_dir=.
3071
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3072
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3073
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3074
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075
 
    break 2
3076
 
  fi
3077
 
done
3078
 
  done
3079
 
IFS=$as_save_IFS
3080
 
 
3081
 
fi
3082
 
fi
3083
 
CC=$ac_cv_prog_CC
3084
 
if test -n "$CC"; then
3085
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3086
 
$as_echo "$CC" >&6; }
3087
 
else
3088
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089
 
$as_echo "no" >&6; }
3090
 
fi
3091
 
 
3092
 
 
3093
 
fi
3094
 
if test -z "$ac_cv_prog_CC"; then
3095
 
  ac_ct_CC=$CC
3096
 
  # Extract the first word of "gcc", so it can be a program name with args.
3097
 
set dummy gcc; ac_word=$2
3098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099
 
$as_echo_n "checking for $ac_word... " >&6; }
3100
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3101
 
  $as_echo_n "(cached) " >&6
3102
 
else
3103
 
  if test -n "$ac_ct_CC"; then
3104
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3105
 
else
3106
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107
 
for as_dir in $PATH
3108
 
do
3109
 
  IFS=$as_save_IFS
3110
 
  test -z "$as_dir" && as_dir=.
3111
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3112
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113
 
    ac_cv_prog_ac_ct_CC="gcc"
3114
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115
 
    break 2
3116
 
  fi
3117
 
done
3118
 
  done
3119
 
IFS=$as_save_IFS
3120
 
 
3121
 
fi
3122
 
fi
3123
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3124
 
if test -n "$ac_ct_CC"; then
3125
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3126
 
$as_echo "$ac_ct_CC" >&6; }
3127
 
else
3128
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129
 
$as_echo "no" >&6; }
3130
 
fi
3131
 
 
3132
 
  if test "x$ac_ct_CC" = x; then
3133
 
    CC=""
3134
 
  else
3135
 
    case $cross_compiling:$ac_tool_warned in
3136
 
yes:)
3137
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3138
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3139
 
ac_tool_warned=yes ;;
3140
 
esac
3141
 
    CC=$ac_ct_CC
3142
 
  fi
3143
 
else
3144
 
  CC="$ac_cv_prog_CC"
3145
 
fi
3146
 
 
3147
 
if test -z "$CC"; then
3148
 
          if test -n "$ac_tool_prefix"; then
3149
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3150
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3151
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152
 
$as_echo_n "checking for $ac_word... " >&6; }
3153
 
if test "${ac_cv_prog_CC+set}" = set; then :
3154
 
  $as_echo_n "(cached) " >&6
3155
 
else
3156
 
  if test -n "$CC"; then
3157
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3158
 
else
3159
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160
 
for as_dir in $PATH
3161
 
do
3162
 
  IFS=$as_save_IFS
3163
 
  test -z "$as_dir" && as_dir=.
3164
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3165
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3166
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3167
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3168
 
    break 2
3169
 
  fi
3170
 
done
3171
 
  done
3172
 
IFS=$as_save_IFS
3173
 
 
3174
 
fi
3175
 
fi
3176
 
CC=$ac_cv_prog_CC
3177
 
if test -n "$CC"; then
3178
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179
 
$as_echo "$CC" >&6; }
3180
 
else
3181
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182
 
$as_echo "no" >&6; }
3183
 
fi
3184
 
 
3185
 
 
3186
 
  fi
3187
 
fi
3188
 
if test -z "$CC"; then
3189
 
  # Extract the first word of "cc", so it can be a program name with args.
3190
 
set dummy cc; ac_word=$2
3191
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192
 
$as_echo_n "checking for $ac_word... " >&6; }
3193
 
if test "${ac_cv_prog_CC+set}" = set; then :
3194
 
  $as_echo_n "(cached) " >&6
3195
 
else
3196
 
  if test -n "$CC"; then
3197
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3198
 
else
3199
 
  ac_prog_rejected=no
3200
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201
 
for as_dir in $PATH
3202
 
do
3203
 
  IFS=$as_save_IFS
3204
 
  test -z "$as_dir" && as_dir=.
3205
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3206
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3208
 
       ac_prog_rejected=yes
3209
 
       continue
3210
 
     fi
3211
 
    ac_cv_prog_CC="cc"
3212
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213
 
    break 2
3214
 
  fi
3215
 
done
3216
 
  done
3217
 
IFS=$as_save_IFS
3218
 
 
3219
 
if test $ac_prog_rejected = yes; then
3220
 
  # We found a bogon in the path, so make sure we never use it.
3221
 
  set dummy $ac_cv_prog_CC
3222
 
  shift
3223
 
  if test $# != 0; then
3224
 
    # We chose a different compiler from the bogus one.
3225
 
    # However, it has the same basename, so the bogon will be chosen
3226
 
    # first if we set CC to just the basename; use the full file name.
3227
 
    shift
3228
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3229
 
  fi
3230
 
fi
3231
 
fi
3232
 
fi
3233
 
CC=$ac_cv_prog_CC
3234
 
if test -n "$CC"; then
3235
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3236
 
$as_echo "$CC" >&6; }
3237
 
else
3238
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239
 
$as_echo "no" >&6; }
3240
 
fi
3241
 
 
3242
 
 
3243
 
fi
3244
 
if test -z "$CC"; then
3245
 
  if test -n "$ac_tool_prefix"; then
3246
 
  for ac_prog in cl.exe
3247
 
  do
3248
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3249
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3250
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251
 
$as_echo_n "checking for $ac_word... " >&6; }
3252
 
if test "${ac_cv_prog_CC+set}" = set; then :
3253
 
  $as_echo_n "(cached) " >&6
3254
 
else
3255
 
  if test -n "$CC"; then
3256
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3257
 
else
3258
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259
 
for as_dir in $PATH
3260
 
do
3261
 
  IFS=$as_save_IFS
3262
 
  test -z "$as_dir" && as_dir=.
3263
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3264
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3266
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267
 
    break 2
3268
 
  fi
3269
 
done
3270
 
  done
3271
 
IFS=$as_save_IFS
3272
 
 
3273
 
fi
3274
 
fi
3275
 
CC=$ac_cv_prog_CC
3276
 
if test -n "$CC"; then
3277
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278
 
$as_echo "$CC" >&6; }
3279
 
else
3280
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281
 
$as_echo "no" >&6; }
3282
 
fi
3283
 
 
3284
 
 
3285
 
    test -n "$CC" && break
3286
 
  done
3287
 
fi
3288
 
if test -z "$CC"; then
3289
 
  ac_ct_CC=$CC
3290
 
  for ac_prog in cl.exe
3291
 
do
3292
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3293
 
set dummy $ac_prog; ac_word=$2
3294
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295
 
$as_echo_n "checking for $ac_word... " >&6; }
3296
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3297
 
  $as_echo_n "(cached) " >&6
3298
 
else
3299
 
  if test -n "$ac_ct_CC"; then
3300
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3301
 
else
3302
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303
 
for as_dir in $PATH
3304
 
do
3305
 
  IFS=$as_save_IFS
3306
 
  test -z "$as_dir" && as_dir=.
3307
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3308
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3310
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311
 
    break 2
3312
 
  fi
3313
 
done
3314
 
  done
3315
 
IFS=$as_save_IFS
3316
 
 
3317
 
fi
3318
 
fi
3319
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3320
 
if test -n "$ac_ct_CC"; then
3321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3322
 
$as_echo "$ac_ct_CC" >&6; }
3323
 
else
3324
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325
 
$as_echo "no" >&6; }
3326
 
fi
3327
 
 
3328
 
 
3329
 
  test -n "$ac_ct_CC" && break
3330
 
done
3331
 
 
3332
 
  if test "x$ac_ct_CC" = x; then
3333
 
    CC=""
3334
 
  else
3335
 
    case $cross_compiling:$ac_tool_warned in
3336
 
yes:)
3337
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3338
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3339
 
ac_tool_warned=yes ;;
3340
 
esac
3341
 
    CC=$ac_ct_CC
3342
 
  fi
3343
 
fi
3344
 
 
3345
 
fi
3346
 
 
3347
 
 
3348
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350
 
as_fn_error "no acceptable C compiler found in \$PATH
3351
 
See \`config.log' for more details." "$LINENO" 5; }
3352
 
 
3353
 
# Provide some information about the compiler.
3354
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3355
 
set X $ac_compile
3356
 
ac_compiler=$2
3357
 
for ac_option in --version -v -V -qversion; do
3358
 
  { { ac_try="$ac_compiler $ac_option >&5"
3359
 
case "(($ac_try" in
3360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361
 
  *) ac_try_echo=$ac_try;;
3362
 
esac
3363
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364
 
$as_echo "$ac_try_echo"; } >&5
3365
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3366
 
  ac_status=$?
3367
 
  if test -s conftest.err; then
3368
 
    sed '10a\
3369
 
... rest of stderr output deleted ...
3370
 
         10q' conftest.err >conftest.er1
3371
 
    cat conftest.er1 >&5
3372
 
  fi
3373
 
  rm -f conftest.er1 conftest.err
3374
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375
 
  test $ac_status = 0; }
3376
 
done
3377
 
 
3378
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379
 
/* end confdefs.h.  */
3380
 
 
3381
 
int
3382
 
main ()
3383
 
{
3384
 
 
3385
 
  ;
3386
 
  return 0;
3387
 
}
3388
 
_ACEOF
3389
 
ac_clean_files_save=$ac_clean_files
3390
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3391
 
# Try to create an executable without -o first, disregard a.out.
3392
 
# It will help us diagnose broken compilers, and finding out an intuition
3393
 
# of exeext.
3394
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3395
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3396
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3397
 
 
3398
 
# The possible output files:
3399
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3400
 
 
3401
 
ac_rmfiles=
3402
 
for ac_file in $ac_files
3403
 
do
3404
 
  case $ac_file in
3405
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3406
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3407
 
  esac
3408
 
done
3409
 
rm -f $ac_rmfiles
3410
 
 
3411
 
if { { ac_try="$ac_link_default"
3412
 
case "(($ac_try" in
3413
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
 
  *) ac_try_echo=$ac_try;;
3415
 
esac
3416
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417
 
$as_echo "$ac_try_echo"; } >&5
3418
 
  (eval "$ac_link_default") 2>&5
3419
 
  ac_status=$?
3420
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421
 
  test $ac_status = 0; }; then :
3422
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3423
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3424
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3425
 
# so that the user can short-circuit this test for compilers unknown to
3426
 
# Autoconf.
3427
 
for ac_file in $ac_files ''
3428
 
do
3429
 
  test -f "$ac_file" || continue
3430
 
  case $ac_file in
3431
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3432
 
        ;;
3433
 
    [ab].out )
3434
 
        # We found the default executable, but exeext='' is most
3435
 
        # certainly right.
3436
 
        break;;
3437
 
    *.* )
3438
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3439
 
        then :; else
3440
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3441
 
        fi
3442
 
        # We set ac_cv_exeext here because the later test for it is not
3443
 
        # safe: cross compilers may not add the suffix if given an `-o'
3444
 
        # argument, so we may need to know it at that point already.
3445
 
        # Even if this section looks crufty: it has the advantage of
3446
 
        # actually working.
3447
 
        break;;
3448
 
    * )
3449
 
        break;;
3450
 
  esac
3451
 
done
3452
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3453
 
 
3454
 
else
3455
 
  ac_file=''
3456
 
fi
3457
 
if test -z "$ac_file"; then :
3458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459
 
$as_echo "no" >&6; }
3460
 
$as_echo "$as_me: failed program was:" >&5
3461
 
sed 's/^/| /' conftest.$ac_ext >&5
3462
 
 
3463
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465
 
{ as_fn_set_status 77
3466
 
as_fn_error "C compiler cannot create executables
3467
 
See \`config.log' for more details." "$LINENO" 5; }; }
3468
 
else
3469
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470
 
$as_echo "yes" >&6; }
3471
 
fi
3472
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3474
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475
 
$as_echo "$ac_file" >&6; }
3476
 
ac_exeext=$ac_cv_exeext
3477
 
 
3478
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479
 
ac_clean_files=$ac_clean_files_save
3480
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481
 
$as_echo_n "checking for suffix of executables... " >&6; }
3482
 
if { { ac_try="$ac_link"
3483
 
case "(($ac_try" in
3484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485
 
  *) ac_try_echo=$ac_try;;
3486
 
esac
3487
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488
 
$as_echo "$ac_try_echo"; } >&5
3489
 
  (eval "$ac_link") 2>&5
3490
 
  ac_status=$?
3491
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492
 
  test $ac_status = 0; }; then :
3493
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3494
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3495
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3496
 
# `rm'.
3497
 
for ac_file in conftest.exe conftest conftest.*; do
3498
 
  test -f "$ac_file" || continue
3499
 
  case $ac_file in
3500
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502
 
          break;;
3503
 
    * ) break;;
3504
 
  esac
3505
 
done
3506
 
else
3507
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3510
 
See \`config.log' for more details." "$LINENO" 5; }
3511
 
fi
3512
 
rm -f conftest conftest$ac_cv_exeext
3513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514
 
$as_echo "$ac_cv_exeext" >&6; }
3515
 
 
3516
 
rm -f conftest.$ac_ext
3517
 
EXEEXT=$ac_cv_exeext
3518
 
ac_exeext=$EXEEXT
3519
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
 
/* end confdefs.h.  */
3521
 
#include <stdio.h>
3522
 
int
3523
 
main ()
3524
 
{
3525
 
FILE *f = fopen ("conftest.out", "w");
3526
 
 return ferror (f) || fclose (f) != 0;
3527
 
 
3528
 
  ;
3529
 
  return 0;
3530
 
}
3531
 
_ACEOF
3532
 
ac_clean_files="$ac_clean_files conftest.out"
3533
 
# Check that the compiler produces executables we can run.  If not, either
3534
 
# the compiler is broken, or we cross compile.
3535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3537
 
if test "$cross_compiling" != yes; then
3538
 
  { { ac_try="$ac_link"
3539
 
case "(($ac_try" in
3540
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541
 
  *) ac_try_echo=$ac_try;;
3542
 
esac
3543
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544
 
$as_echo "$ac_try_echo"; } >&5
3545
 
  (eval "$ac_link") 2>&5
3546
 
  ac_status=$?
3547
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548
 
  test $ac_status = 0; }
3549
 
  if { ac_try='./conftest$ac_cv_exeext'
3550
 
  { { case "(($ac_try" in
3551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552
 
  *) ac_try_echo=$ac_try;;
3553
 
esac
3554
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555
 
$as_echo "$ac_try_echo"; } >&5
3556
 
  (eval "$ac_try") 2>&5
3557
 
  ac_status=$?
3558
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559
 
  test $ac_status = 0; }; }; then
3560
 
    cross_compiling=no
3561
 
  else
3562
 
    if test "$cross_compiling" = maybe; then
3563
 
        cross_compiling=yes
3564
 
    else
3565
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567
 
as_fn_error "cannot run C compiled programs.
3568
 
If you meant to cross compile, use \`--host'.
3569
 
See \`config.log' for more details." "$LINENO" 5; }
3570
 
    fi
3571
 
  fi
3572
 
fi
3573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574
 
$as_echo "$cross_compiling" >&6; }
3575
 
 
3576
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577
 
ac_clean_files=$ac_clean_files_save
3578
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579
 
$as_echo_n "checking for suffix of object files... " >&6; }
3580
 
if test "${ac_cv_objext+set}" = set; then :
3581
 
  $as_echo_n "(cached) " >&6
3582
 
else
3583
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584
 
/* end confdefs.h.  */
3585
 
 
3586
 
int
3587
 
main ()
3588
 
{
3589
 
 
3590
 
  ;
3591
 
  return 0;
3592
 
}
3593
 
_ACEOF
3594
 
rm -f conftest.o conftest.obj
3595
 
if { { ac_try="$ac_compile"
3596
 
case "(($ac_try" in
3597
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598
 
  *) ac_try_echo=$ac_try;;
3599
 
esac
3600
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601
 
$as_echo "$ac_try_echo"; } >&5
3602
 
  (eval "$ac_compile") 2>&5
3603
 
  ac_status=$?
3604
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605
 
  test $ac_status = 0; }; then :
3606
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3607
 
  test -f "$ac_file" || continue;
3608
 
  case $ac_file in
3609
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3611
 
       break;;
3612
 
  esac
3613
 
done
3614
 
else
3615
 
  $as_echo "$as_me: failed program was:" >&5
3616
 
sed 's/^/| /' conftest.$ac_ext >&5
3617
 
 
3618
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620
 
as_fn_error "cannot compute suffix of object files: cannot compile
3621
 
See \`config.log' for more details." "$LINENO" 5; }
3622
 
fi
3623
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3624
 
fi
3625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626
 
$as_echo "$ac_cv_objext" >&6; }
3627
 
OBJEXT=$ac_cv_objext
3628
 
ac_objext=$OBJEXT
3629
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3630
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3631
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3632
 
  $as_echo_n "(cached) " >&6
3633
 
else
3634
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635
 
/* end confdefs.h.  */
3636
 
 
3637
 
int
3638
 
main ()
3639
 
{
3640
 
#ifndef __GNUC__
3641
 
       choke me
3642
 
#endif
3643
 
 
3644
 
  ;
3645
 
  return 0;
3646
 
}
3647
 
_ACEOF
3648
 
if ac_fn_c_try_compile "$LINENO"; then :
3649
 
  ac_compiler_gnu=yes
3650
 
else
3651
 
  ac_compiler_gnu=no
3652
 
fi
3653
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3655
 
 
3656
 
fi
3657
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3658
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3659
 
if test $ac_compiler_gnu = yes; then
3660
 
  GCC=yes
3661
 
else
3662
 
  GCC=
3663
 
fi
3664
 
ac_test_CFLAGS=${CFLAGS+set}
3665
 
ac_save_CFLAGS=$CFLAGS
3666
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3667
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3668
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3669
 
  $as_echo_n "(cached) " >&6
3670
 
else
3671
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3672
 
   ac_c_werror_flag=yes
3673
 
   ac_cv_prog_cc_g=no
3674
 
   CFLAGS="-g"
3675
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676
 
/* end confdefs.h.  */
3677
 
 
3678
 
int
3679
 
main ()
3680
 
{
3681
 
 
3682
 
  ;
3683
 
  return 0;
3684
 
}
3685
 
_ACEOF
3686
 
if ac_fn_c_try_compile "$LINENO"; then :
3687
 
  ac_cv_prog_cc_g=yes
3688
 
else
3689
 
  CFLAGS=""
3690
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691
 
/* end confdefs.h.  */
3692
 
 
3693
 
int
3694
 
main ()
3695
 
{
3696
 
 
3697
 
  ;
3698
 
  return 0;
3699
 
}
3700
 
_ACEOF
3701
 
if ac_fn_c_try_compile "$LINENO"; then :
3702
 
 
3703
 
else
3704
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3705
 
         CFLAGS="-g"
3706
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707
 
/* end confdefs.h.  */
3708
 
 
3709
 
int
3710
 
main ()
3711
 
{
3712
 
 
3713
 
  ;
3714
 
  return 0;
3715
 
}
3716
 
_ACEOF
3717
 
if ac_fn_c_try_compile "$LINENO"; then :
3718
 
  ac_cv_prog_cc_g=yes
3719
 
fi
3720
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721
 
fi
3722
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723
 
fi
3724
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3726
 
fi
3727
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3728
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3729
 
if test "$ac_test_CFLAGS" = set; then
3730
 
  CFLAGS=$ac_save_CFLAGS
3731
 
elif test $ac_cv_prog_cc_g = yes; then
3732
 
  if test "$GCC" = yes; then
3733
 
    CFLAGS="-g -O2"
3734
 
  else
3735
 
    CFLAGS="-g"
3736
 
  fi
3737
 
else
3738
 
  if test "$GCC" = yes; then
3739
 
    CFLAGS="-O2"
3740
 
  else
3741
 
    CFLAGS=
3742
 
  fi
3743
 
fi
3744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3745
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3746
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3747
 
  $as_echo_n "(cached) " >&6
3748
 
else
3749
 
  ac_cv_prog_cc_c89=no
3750
 
ac_save_CC=$CC
3751
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752
 
/* end confdefs.h.  */
3753
 
#include <stdarg.h>
3754
 
#include <stdio.h>
3755
 
#include <sys/types.h>
3756
 
#include <sys/stat.h>
3757
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3758
 
struct buf { int x; };
3759
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3760
 
static char *e (p, i)
3761
 
     char **p;
3762
 
     int i;
3763
 
{
3764
 
  return p[i];
3765
 
}
3766
 
static char *f (char * (*g) (char **, int), char **p, ...)
3767
 
{
3768
 
  char *s;
3769
 
  va_list v;
3770
 
  va_start (v,p);
3771
 
  s = g (p, va_arg (v,int));
3772
 
  va_end (v);
3773
 
  return s;
3774
 
}
3775
 
 
3776
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3777
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3778
 
   These don't provoke an error unfortunately, instead are silently treated
3779
 
   as 'x'.  The following induces an error, until -std is added to get
3780
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3781
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3782
 
   that's true only with -std.  */
3783
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3784
 
 
3785
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3786
 
   inside strings and character constants.  */
3787
 
#define FOO(x) 'x'
3788
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3789
 
 
3790
 
int test (int i, double x);
3791
 
struct s1 {int (*f) (int a);};
3792
 
struct s2 {int (*f) (double a);};
3793
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3794
 
int argc;
3795
 
char **argv;
3796
 
int
3797
 
main ()
3798
 
{
3799
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3800
 
  ;
3801
 
  return 0;
3802
 
}
3803
 
_ACEOF
3804
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3805
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3806
 
do
3807
 
  CC="$ac_save_CC $ac_arg"
3808
 
  if ac_fn_c_try_compile "$LINENO"; then :
3809
 
  ac_cv_prog_cc_c89=$ac_arg
3810
 
fi
3811
 
rm -f core conftest.err conftest.$ac_objext
3812
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3813
 
done
3814
 
rm -f conftest.$ac_ext
3815
 
CC=$ac_save_CC
3816
 
 
3817
 
fi
3818
 
# AC_CACHE_VAL
3819
 
case "x$ac_cv_prog_cc_c89" in
3820
 
  x)
3821
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3822
 
$as_echo "none needed" >&6; } ;;
3823
 
  xno)
3824
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3825
 
$as_echo "unsupported" >&6; } ;;
3826
 
  *)
3827
 
    CC="$CC $ac_cv_prog_cc_c89"
3828
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3829
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3830
 
esac
3831
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3832
 
 
3833
 
fi
3834
 
 
3835
 
ac_ext=c
3836
 
ac_cpp='$CPP $CPPFLAGS'
3837
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840
 
 
3841
 
depcc="$CC"   am_compiler_list=
3842
 
 
3843
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3844
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3845
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3846
 
  $as_echo_n "(cached) " >&6
3847
 
else
3848
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3849
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3850
 
  # making bogus files that we don't know about and never remove.  For
3851
 
  # instance it was reported that on HP-UX the gcc test will end up
3852
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3853
 
  # in D'.
3854
 
  mkdir conftest.dir
3855
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3856
 
  # using a relative directory.
3857
 
  cp "$am_depcomp" conftest.dir
3858
 
  cd conftest.dir
3859
 
  # We will build objects and dependencies in a subdirectory because
3860
 
  # it helps to detect inapplicable dependency modes.  For instance
3861
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3862
 
  # side effect of compilation, but ICC will put the dependencies in
3863
 
  # the current directory while Tru64 will put them in the object
3864
 
  # directory.
3865
 
  mkdir sub
3866
 
 
3867
 
  am_cv_CC_dependencies_compiler_type=none
3868
 
  if test "$am_compiler_list" = ""; then
3869
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3870
 
  fi
3871
 
  am__universal=false
3872
 
  case " $depcc " in #(
3873
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3874
 
     esac
3875
 
 
3876
 
  for depmode in $am_compiler_list; do
3877
 
    # Setup a source with many dependencies, because some compilers
3878
 
    # like to wrap large dependency lists on column 80 (with \), and
3879
 
    # we should not choose a depcomp mode which is confused by this.
3880
 
    #
3881
 
    # We need to recreate these files for each test, as the compiler may
3882
 
    # overwrite some of them when testing with obscure command lines.
3883
 
    # This happens at least with the AIX C compiler.
3884
 
    : > sub/conftest.c
3885
 
    for i in 1 2 3 4 5 6; do
3886
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3887
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3888
 
      # Solaris 8's {/usr,}/bin/sh.
3889
 
      touch sub/conftst$i.h
3890
 
    done
3891
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3892
 
 
3893
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3894
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3895
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3896
 
    # versions had trouble with output in subdirs
3897
 
    am__obj=sub/conftest.${OBJEXT-o}
3898
 
    am__minus_obj="-o $am__obj"
3899
 
    case $depmode in
3900
 
    gcc)
3901
 
      # This depmode causes a compiler race in universal mode.
3902
 
      test "$am__universal" = false || continue
3903
 
      ;;
3904
 
    nosideeffect)
3905
 
      # after this tag, mechanisms are not by side-effect, so they'll
3906
 
      # only be used when explicitly requested
3907
 
      if test "x$enable_dependency_tracking" = xyes; then
3908
 
        continue
3909
 
      else
3910
 
        break
3911
 
      fi
3912
 
      ;;
3913
 
    msvisualcpp | msvcmsys)
3914
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3915
 
      # not run yet.  These depmodes are late enough in the game, and
3916
 
      # so weak that their functioning should not be impacted.
3917
 
      am__obj=conftest.${OBJEXT-o}
3918
 
      am__minus_obj=
3919
 
      ;;
3920
 
    none) break ;;
3921
 
    esac
3922
 
    if depmode=$depmode \
3923
 
       source=sub/conftest.c object=$am__obj \
3924
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3925
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3926
 
         >/dev/null 2>conftest.err &&
3927
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3928
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3929
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3930
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3931
 
      # icc doesn't choke on unknown options, it will just issue warnings
3932
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3933
 
      # that says an option was ignored or not supported.
3934
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3935
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3936
 
      # The diagnosis changed in icc 8.0:
3937
 
      #   icc: Command line remark: option '-MP' not supported
3938
 
      if (grep 'ignoring option' conftest.err ||
3939
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3940
 
        am_cv_CC_dependencies_compiler_type=$depmode
3941
 
        break
3942
 
      fi
3943
 
    fi
3944
 
  done
3945
 
 
3946
 
  cd ..
3947
 
  rm -rf conftest.dir
3948
 
else
3949
 
  am_cv_CC_dependencies_compiler_type=none
3950
 
fi
3951
 
 
3952
 
fi
3953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3954
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3955
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3956
 
 
3957
 
 if
3958
 
  test "x$enable_dependency_tracking" != xno \
3959
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3960
 
  am__fastdepCC_TRUE=
3961
 
  am__fastdepCC_FALSE='#'
3962
 
else
3963
 
  am__fastdepCC_TRUE='#'
3964
 
  am__fastdepCC_FALSE=
3965
 
fi
3966
 
 
3967
 
 
3968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3969
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3970
 
if test "${ac_cv_path_SED+set}" = set; then :
3971
 
  $as_echo_n "(cached) " >&6
3972
 
else
3973
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3974
 
     for ac_i in 1 2 3 4 5 6 7; do
3975
 
       ac_script="$ac_script$as_nl$ac_script"
3976
 
     done
3977
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3978
 
     { ac_script=; unset ac_script;}
3979
 
     if test -z "$SED"; then
3980
 
  ac_path_SED_found=false
3981
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3982
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983
 
for as_dir in $PATH
3984
 
do
3985
 
  IFS=$as_save_IFS
3986
 
  test -z "$as_dir" && as_dir=.
3987
 
    for ac_prog in sed gsed; do
3988
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3989
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3990
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3991
 
# Check for GNU ac_path_SED and select it if it is found.
3992
 
  # Check for GNU $ac_path_SED
3993
 
case `"$ac_path_SED" --version 2>&1` in
3994
 
*GNU*)
3995
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3996
 
*)
3997
 
  ac_count=0
3998
 
  $as_echo_n 0123456789 >"conftest.in"
3999
 
  while :
4000
 
  do
4001
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4002
 
    mv "conftest.tmp" "conftest.in"
4003
 
    cp "conftest.in" "conftest.nl"
4004
 
    $as_echo '' >> "conftest.nl"
4005
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4006
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4007
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4008
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4009
 
      # Best one so far, save it but keep looking for a better one
4010
 
      ac_cv_path_SED="$ac_path_SED"
4011
 
      ac_path_SED_max=$ac_count
4012
 
    fi
4013
 
    # 10*(2^10) chars as input seems more than enough
4014
 
    test $ac_count -gt 10 && break
4015
 
  done
4016
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4017
 
esac
4018
 
 
4019
 
      $ac_path_SED_found && break 3
4020
 
    done
4021
 
  done
4022
 
  done
4023
 
IFS=$as_save_IFS
4024
 
  if test -z "$ac_cv_path_SED"; then
4025
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4026
 
  fi
4027
 
else
4028
 
  ac_cv_path_SED=$SED
4029
 
fi
4030
 
 
4031
 
fi
4032
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4033
 
$as_echo "$ac_cv_path_SED" >&6; }
4034
 
 SED="$ac_cv_path_SED"
4035
 
  rm -f conftest.sed
4036
 
 
4037
 
test -z "$SED" && SED=sed
4038
 
Xsed="$SED -e 1s/^X//"
4039
 
 
4040
 
 
4041
 
 
4042
 
 
4043
 
 
4044
 
 
4045
 
 
4046
 
 
4047
 
 
4048
 
 
4049
 
 
4050
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4051
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4052
 
if test "${ac_cv_path_GREP+set}" = set; then :
4053
 
  $as_echo_n "(cached) " >&6
4054
 
else
4055
 
  if test -z "$GREP"; then
4056
 
  ac_path_GREP_found=false
4057
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4058
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4060
 
do
4061
 
  IFS=$as_save_IFS
4062
 
  test -z "$as_dir" && as_dir=.
4063
 
    for ac_prog in grep ggrep; do
4064
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4065
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4066
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4067
 
# Check for GNU ac_path_GREP and select it if it is found.
4068
 
  # Check for GNU $ac_path_GREP
4069
 
case `"$ac_path_GREP" --version 2>&1` in
4070
 
*GNU*)
4071
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4072
 
*)
4073
 
  ac_count=0
4074
 
  $as_echo_n 0123456789 >"conftest.in"
4075
 
  while :
4076
 
  do
4077
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4078
 
    mv "conftest.tmp" "conftest.in"
4079
 
    cp "conftest.in" "conftest.nl"
4080
 
    $as_echo 'GREP' >> "conftest.nl"
4081
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4082
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4083
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4084
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4085
 
      # Best one so far, save it but keep looking for a better one
4086
 
      ac_cv_path_GREP="$ac_path_GREP"
4087
 
      ac_path_GREP_max=$ac_count
4088
 
    fi
4089
 
    # 10*(2^10) chars as input seems more than enough
4090
 
    test $ac_count -gt 10 && break
4091
 
  done
4092
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4093
 
esac
4094
 
 
4095
 
      $ac_path_GREP_found && break 3
4096
 
    done
4097
 
  done
4098
 
  done
4099
 
IFS=$as_save_IFS
4100
 
  if test -z "$ac_cv_path_GREP"; then
4101
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4102
 
  fi
4103
 
else
4104
 
  ac_cv_path_GREP=$GREP
4105
 
fi
4106
 
 
4107
 
fi
4108
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4109
 
$as_echo "$ac_cv_path_GREP" >&6; }
4110
 
 GREP="$ac_cv_path_GREP"
4111
 
 
4112
 
 
4113
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4114
 
$as_echo_n "checking for egrep... " >&6; }
4115
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4116
 
  $as_echo_n "(cached) " >&6
4117
 
else
4118
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4119
 
   then ac_cv_path_EGREP="$GREP -E"
4120
 
   else
4121
 
     if test -z "$EGREP"; then
4122
 
  ac_path_EGREP_found=false
4123
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4124
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4126
 
do
4127
 
  IFS=$as_save_IFS
4128
 
  test -z "$as_dir" && as_dir=.
4129
 
    for ac_prog in egrep; do
4130
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4131
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4132
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4133
 
# Check for GNU ac_path_EGREP and select it if it is found.
4134
 
  # Check for GNU $ac_path_EGREP
4135
 
case `"$ac_path_EGREP" --version 2>&1` in
4136
 
*GNU*)
4137
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4138
 
*)
4139
 
  ac_count=0
4140
 
  $as_echo_n 0123456789 >"conftest.in"
4141
 
  while :
4142
 
  do
4143
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4144
 
    mv "conftest.tmp" "conftest.in"
4145
 
    cp "conftest.in" "conftest.nl"
4146
 
    $as_echo 'EGREP' >> "conftest.nl"
4147
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4148
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4149
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4150
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4151
 
      # Best one so far, save it but keep looking for a better one
4152
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4153
 
      ac_path_EGREP_max=$ac_count
4154
 
    fi
4155
 
    # 10*(2^10) chars as input seems more than enough
4156
 
    test $ac_count -gt 10 && break
4157
 
  done
4158
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4159
 
esac
4160
 
 
4161
 
      $ac_path_EGREP_found && break 3
4162
 
    done
4163
 
  done
4164
 
  done
4165
 
IFS=$as_save_IFS
4166
 
  if test -z "$ac_cv_path_EGREP"; then
4167
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4168
 
  fi
4169
 
else
4170
 
  ac_cv_path_EGREP=$EGREP
4171
 
fi
4172
 
 
4173
 
   fi
4174
 
fi
4175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4176
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4177
 
 EGREP="$ac_cv_path_EGREP"
4178
 
 
4179
 
 
4180
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4181
 
$as_echo_n "checking for fgrep... " >&6; }
4182
 
if test "${ac_cv_path_FGREP+set}" = set; then :
4183
 
  $as_echo_n "(cached) " >&6
4184
 
else
4185
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4186
 
   then ac_cv_path_FGREP="$GREP -F"
4187
 
   else
4188
 
     if test -z "$FGREP"; then
4189
 
  ac_path_FGREP_found=false
4190
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4191
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4193
 
do
4194
 
  IFS=$as_save_IFS
4195
 
  test -z "$as_dir" && as_dir=.
4196
 
    for ac_prog in fgrep; do
4197
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4198
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4199
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4200
 
# Check for GNU ac_path_FGREP and select it if it is found.
4201
 
  # Check for GNU $ac_path_FGREP
4202
 
case `"$ac_path_FGREP" --version 2>&1` in
4203
 
*GNU*)
4204
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4205
 
*)
4206
 
  ac_count=0
4207
 
  $as_echo_n 0123456789 >"conftest.in"
4208
 
  while :
4209
 
  do
4210
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4211
 
    mv "conftest.tmp" "conftest.in"
4212
 
    cp "conftest.in" "conftest.nl"
4213
 
    $as_echo 'FGREP' >> "conftest.nl"
4214
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4215
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4216
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4217
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4218
 
      # Best one so far, save it but keep looking for a better one
4219
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4220
 
      ac_path_FGREP_max=$ac_count
4221
 
    fi
4222
 
    # 10*(2^10) chars as input seems more than enough
4223
 
    test $ac_count -gt 10 && break
4224
 
  done
4225
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4226
 
esac
4227
 
 
4228
 
      $ac_path_FGREP_found && break 3
4229
 
    done
4230
 
  done
4231
 
  done
4232
 
IFS=$as_save_IFS
4233
 
  if test -z "$ac_cv_path_FGREP"; then
4234
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4235
 
  fi
4236
 
else
4237
 
  ac_cv_path_FGREP=$FGREP
4238
 
fi
4239
 
 
4240
 
   fi
4241
 
fi
4242
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4243
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4244
 
 FGREP="$ac_cv_path_FGREP"
4245
 
 
4246
 
 
4247
 
test -z "$GREP" && GREP=grep
4248
 
 
4249
 
 
4250
 
 
4251
 
 
4252
 
 
4253
 
 
4254
 
 
4255
 
 
4256
 
 
4257
 
 
4258
 
 
4259
 
 
4260
 
 
4261
 
 
4262
 
 
4263
 
 
4264
 
 
4265
 
 
4266
 
 
4267
 
# Check whether --with-gnu-ld was given.
4268
 
if test "${with_gnu_ld+set}" = set; then :
4269
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4270
 
else
4271
 
  with_gnu_ld=no
4272
 
fi
4273
 
 
4274
 
ac_prog=ld
4275
 
if test "$GCC" = yes; then
4276
 
  # Check if gcc -print-prog-name=ld gives a path.
4277
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4278
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4279
 
  case $host in
4280
 
  *-*-mingw*)
4281
 
    # gcc leaves a trailing carriage return which upsets mingw
4282
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4283
 
  *)
4284
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4285
 
  esac
4286
 
  case $ac_prog in
4287
 
    # Accept absolute paths.
4288
 
    [\\/]* | ?:[\\/]*)
4289
 
      re_direlt='/[^/][^/]*/\.\./'
4290
 
      # Canonicalize the pathname of ld
4291
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4292
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4293
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4294
 
      done
4295
 
      test -z "$LD" && LD="$ac_prog"
4296
 
      ;;
4297
 
  "")
4298
 
    # If it fails, then pretend we aren't using GCC.
4299
 
    ac_prog=ld
4300
 
    ;;
4301
 
  *)
4302
 
    # If it is relative, then search for the first ld in PATH.
4303
 
    with_gnu_ld=unknown
4304
 
    ;;
4305
 
  esac
4306
 
elif test "$with_gnu_ld" = yes; then
4307
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4308
 
$as_echo_n "checking for GNU ld... " >&6; }
4309
 
else
4310
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4311
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4312
 
fi
4313
 
if test "${lt_cv_path_LD+set}" = set; then :
4314
 
  $as_echo_n "(cached) " >&6
4315
 
else
4316
 
  if test -z "$LD"; then
4317
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4318
 
  for ac_dir in $PATH; do
4319
 
    IFS="$lt_save_ifs"
4320
 
    test -z "$ac_dir" && ac_dir=.
4321
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4322
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4323
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4324
 
      # but apparently some variants of GNU ld only accept -v.
4325
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4326
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4327
 
      *GNU* | *'with BFD'*)
4328
 
        test "$with_gnu_ld" != no && break
4329
 
        ;;
4330
 
      *)
4331
 
        test "$with_gnu_ld" != yes && break
4332
 
        ;;
4333
 
      esac
4334
 
    fi
4335
 
  done
4336
 
  IFS="$lt_save_ifs"
4337
 
else
4338
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4339
 
fi
4340
 
fi
4341
 
 
4342
 
LD="$lt_cv_path_LD"
4343
 
if test -n "$LD"; then
4344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4345
 
$as_echo "$LD" >&6; }
4346
 
else
4347
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348
 
$as_echo "no" >&6; }
4349
 
fi
4350
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4351
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4352
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4353
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4354
 
  $as_echo_n "(cached) " >&6
4355
 
else
4356
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4357
 
case `$LD -v 2>&1 </dev/null` in
4358
 
*GNU* | *'with BFD'*)
4359
 
  lt_cv_prog_gnu_ld=yes
4360
 
  ;;
4361
 
*)
4362
 
  lt_cv_prog_gnu_ld=no
4363
 
  ;;
4364
 
esac
4365
 
fi
4366
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4367
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4368
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4369
 
 
4370
 
 
4371
 
 
4372
 
 
4373
 
 
4374
 
 
4375
 
 
4376
 
 
4377
 
 
4378
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4379
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4380
 
if test "${lt_cv_path_NM+set}" = set; then :
4381
 
  $as_echo_n "(cached) " >&6
4382
 
else
4383
 
  if test -n "$NM"; then
4384
 
  # Let the user override the test.
4385
 
  lt_cv_path_NM="$NM"
4386
 
else
4387
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4388
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4389
 
    lt_nm_to_check="$lt_nm_to_check nm"
4390
 
  fi
4391
 
  for lt_tmp_nm in $lt_nm_to_check; do
4392
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4393
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4394
 
      IFS="$lt_save_ifs"
4395
 
      test -z "$ac_dir" && ac_dir=.
4396
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4397
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4398
 
        # Check to see if the nm accepts a BSD-compat flag.
4399
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4400
 
        #   nm: unknown option "B" ignored
4401
 
        # Tru64's nm complains that /dev/null is an invalid object file
4402
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4403
 
        */dev/null* | *'Invalid file or object type'*)
4404
 
          lt_cv_path_NM="$tmp_nm -B"
4405
 
          break
4406
 
          ;;
4407
 
        *)
4408
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4409
 
          */dev/null*)
4410
 
            lt_cv_path_NM="$tmp_nm -p"
4411
 
            break
4412
 
            ;;
4413
 
          *)
4414
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4415
 
            continue # so that we can try to find one that supports BSD flags
4416
 
            ;;
4417
 
          esac
4418
 
          ;;
4419
 
        esac
4420
 
      fi
4421
 
    done
4422
 
    IFS="$lt_save_ifs"
4423
 
  done
4424
 
  : ${lt_cv_path_NM=no}
4425
 
fi
4426
 
fi
4427
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4428
 
$as_echo "$lt_cv_path_NM" >&6; }
4429
 
if test "$lt_cv_path_NM" != "no"; then
4430
 
  NM="$lt_cv_path_NM"
4431
 
else
4432
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
4433
 
  if test -n "$ac_tool_prefix"; then
4434
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4435
 
  do
4436
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4437
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4438
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439
 
$as_echo_n "checking for $ac_word... " >&6; }
4440
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4441
 
  $as_echo_n "(cached) " >&6
4442
 
else
4443
 
  if test -n "$DUMPBIN"; then
4444
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4445
 
else
4446
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447
 
for as_dir in $PATH
4448
 
do
4449
 
  IFS=$as_save_IFS
4450
 
  test -z "$as_dir" && as_dir=.
4451
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4452
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4454
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4455
 
    break 2
4456
 
  fi
4457
 
done
4458
 
  done
4459
 
IFS=$as_save_IFS
4460
 
 
4461
 
fi
4462
 
fi
4463
 
DUMPBIN=$ac_cv_prog_DUMPBIN
4464
 
if test -n "$DUMPBIN"; then
4465
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4466
 
$as_echo "$DUMPBIN" >&6; }
4467
 
else
4468
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469
 
$as_echo "no" >&6; }
4470
 
fi
4471
 
 
4472
 
 
4473
 
    test -n "$DUMPBIN" && break
4474
 
  done
4475
 
fi
4476
 
if test -z "$DUMPBIN"; then
4477
 
  ac_ct_DUMPBIN=$DUMPBIN
4478
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4479
 
do
4480
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4481
 
set dummy $ac_prog; ac_word=$2
4482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483
 
$as_echo_n "checking for $ac_word... " >&6; }
4484
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4485
 
  $as_echo_n "(cached) " >&6
4486
 
else
4487
 
  if test -n "$ac_ct_DUMPBIN"; then
4488
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4489
 
else
4490
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491
 
for as_dir in $PATH
4492
 
do
4493
 
  IFS=$as_save_IFS
4494
 
  test -z "$as_dir" && as_dir=.
4495
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4496
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4497
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4498
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4499
 
    break 2
4500
 
  fi
4501
 
done
4502
 
  done
4503
 
IFS=$as_save_IFS
4504
 
 
4505
 
fi
4506
 
fi
4507
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4508
 
if test -n "$ac_ct_DUMPBIN"; then
4509
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4510
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
4511
 
else
4512
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513
 
$as_echo "no" >&6; }
4514
 
fi
4515
 
 
4516
 
 
4517
 
  test -n "$ac_ct_DUMPBIN" && break
4518
 
done
4519
 
 
4520
 
  if test "x$ac_ct_DUMPBIN" = x; then
4521
 
    DUMPBIN=":"
4522
 
  else
4523
 
    case $cross_compiling:$ac_tool_warned in
4524
 
yes:)
4525
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4526
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4527
 
ac_tool_warned=yes ;;
4528
 
esac
4529
 
    DUMPBIN=$ac_ct_DUMPBIN
4530
 
  fi
4531
 
fi
4532
 
 
4533
 
 
4534
 
  if test "$DUMPBIN" != ":"; then
4535
 
    NM="$DUMPBIN"
4536
 
  fi
4537
 
fi
4538
 
test -z "$NM" && NM=nm
4539
 
 
4540
 
 
4541
 
 
4542
 
 
4543
 
 
4544
 
 
4545
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4546
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4547
 
if test "${lt_cv_nm_interface+set}" = set; then :
4548
 
  $as_echo_n "(cached) " >&6
4549
 
else
4550
 
  lt_cv_nm_interface="BSD nm"
4551
 
  echo "int some_variable = 0;" > conftest.$ac_ext
4552
 
  (eval echo "\"\$as_me:4552: $ac_compile\"" >&5)
4553
 
  (eval "$ac_compile" 2>conftest.err)
4554
 
  cat conftest.err >&5
4555
 
  (eval echo "\"\$as_me:4555: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4556
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4557
 
  cat conftest.err >&5
4558
 
  (eval echo "\"\$as_me:4558: output\"" >&5)
4559
 
  cat conftest.out >&5
4560
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4561
 
    lt_cv_nm_interface="MS dumpbin"
4562
 
  fi
4563
 
  rm -f conftest*
4564
 
fi
4565
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4566
 
$as_echo "$lt_cv_nm_interface" >&6; }
4567
 
 
4568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4569
 
$as_echo_n "checking whether ln -s works... " >&6; }
4570
 
LN_S=$as_ln_s
4571
 
if test "$LN_S" = "ln -s"; then
4572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4573
 
$as_echo "yes" >&6; }
4574
 
else
4575
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4576
 
$as_echo "no, using $LN_S" >&6; }
4577
 
fi
4578
 
 
4579
 
# find the maximum length of command line arguments
4580
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4581
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4582
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4583
 
  $as_echo_n "(cached) " >&6
4584
 
else
4585
 
    i=0
4586
 
  teststring="ABCD"
4587
 
 
4588
 
  case $build_os in
4589
 
  msdosdjgpp*)
4590
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
4591
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
4592
 
    # during glob expansion).  Even if it were fixed, the result of this
4593
 
    # check would be larger than it should be.
4594
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4595
 
    ;;
4596
 
 
4597
 
  gnu*)
4598
 
    # Under GNU Hurd, this test is not required because there is
4599
 
    # no limit to the length of command line arguments.
4600
 
    # Libtool will interpret -1 as no limit whatsoever
4601
 
    lt_cv_sys_max_cmd_len=-1;
4602
 
    ;;
4603
 
 
4604
 
  cygwin* | mingw* | cegcc*)
4605
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4606
 
    # about 5 minutes as the teststring grows exponentially.
4607
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
4608
 
    # you end up with a "frozen" computer, even though with patience
4609
 
    # the test eventually succeeds (with a max line length of 256k).
4610
 
    # Instead, let's just punt: use the minimum linelength reported by
4611
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
4612
 
    lt_cv_sys_max_cmd_len=8192;
4613
 
    ;;
4614
 
 
4615
 
  amigaos*)
4616
 
    # On AmigaOS with pdksh, this test takes hours, literally.
4617
 
    # So we just punt and use a minimum line length of 8192.
4618
 
    lt_cv_sys_max_cmd_len=8192;
4619
 
    ;;
4620
 
 
4621
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4622
 
    # This has been around since 386BSD, at least.  Likely further.
4623
 
    if test -x /sbin/sysctl; then
4624
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4625
 
    elif test -x /usr/sbin/sysctl; then
4626
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4627
 
    else
4628
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4629
 
    fi
4630
 
    # And add a safety zone
4631
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4632
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4633
 
    ;;
4634
 
 
4635
 
  interix*)
4636
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4637
 
    lt_cv_sys_max_cmd_len=196608
4638
 
    ;;
4639
 
 
4640
 
  osf*)
4641
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4642
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4643
 
    # nice to cause kernel panics so lets avoid the loop below.
4644
 
    # First set a reasonable default.
4645
 
    lt_cv_sys_max_cmd_len=16384
4646
 
    #
4647
 
    if test -x /sbin/sysconfig; then
4648
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4649
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4650
 
      esac
4651
 
    fi
4652
 
    ;;
4653
 
  sco3.2v5*)
4654
 
    lt_cv_sys_max_cmd_len=102400
4655
 
    ;;
4656
 
  sysv5* | sco5v6* | sysv4.2uw2*)
4657
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4658
 
    if test -n "$kargmax"; then
4659
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4660
 
    else
4661
 
      lt_cv_sys_max_cmd_len=32768
4662
 
    fi
4663
 
    ;;
4664
 
  *)
4665
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4666
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
4667
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4668
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4669
 
    else
4670
 
      # Make teststring a little bigger before we do anything with it.
4671
 
      # a 1K string should be a reasonable start.
4672
 
      for i in 1 2 3 4 5 6 7 8 ; do
4673
 
        teststring=$teststring$teststring
4674
 
      done
4675
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4676
 
      # If test is not a shell built-in, we'll probably end up computing a
4677
 
      # maximum length that is only half of the actual maximum length, but
4678
 
      # we can't tell.
4679
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4680
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4681
 
              test $i != 17 # 1/2 MB should be enough
4682
 
      do
4683
 
        i=`expr $i + 1`
4684
 
        teststring=$teststring$teststring
4685
 
      done
4686
 
      # Only check the string length outside the loop.
4687
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4688
 
      teststring=
4689
 
      # Add a significant safety factor because C++ compilers can tack on
4690
 
      # massive amounts of additional arguments before passing them to the
4691
 
      # linker.  It appears as though 1/2 is a usable value.
4692
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4693
 
    fi
4694
 
    ;;
4695
 
  esac
4696
 
 
4697
 
fi
4698
 
 
4699
 
if test -n $lt_cv_sys_max_cmd_len ; then
4700
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4701
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4702
 
else
4703
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4704
 
$as_echo "none" >&6; }
4705
 
fi
4706
 
max_cmd_len=$lt_cv_sys_max_cmd_len
4707
 
 
4708
 
 
4709
 
 
4710
 
 
4711
 
 
4712
 
 
4713
 
: ${CP="cp -f"}
4714
 
: ${MV="mv -f"}
4715
 
: ${RM="rm -f"}
4716
 
 
4717
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4718
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4719
 
# Try some XSI features
4720
 
xsi_shell=no
4721
 
( _lt_dummy="a/b/c"
4722
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4723
 
      = c,a/b,, \
4724
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
4725
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4726
 
  && xsi_shell=yes
4727
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4728
 
$as_echo "$xsi_shell" >&6; }
4729
 
 
4730
 
 
4731
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4732
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4733
 
lt_shell_append=no
4734
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4735
 
    >/dev/null 2>&1 \
4736
 
  && lt_shell_append=yes
4737
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4738
 
$as_echo "$lt_shell_append" >&6; }
4739
 
 
4740
 
 
4741
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4742
 
  lt_unset=unset
4743
 
else
4744
 
  lt_unset=false
4745
 
fi
4746
 
 
4747
 
 
4748
 
 
4749
 
 
4750
 
 
4751
 
# test EBCDIC or ASCII
4752
 
case `echo X|tr X '\101'` in
4753
 
 A) # ASCII based system
4754
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4755
 
  lt_SP2NL='tr \040 \012'
4756
 
  lt_NL2SP='tr \015\012 \040\040'
4757
 
  ;;
4758
 
 *) # EBCDIC based system
4759
 
  lt_SP2NL='tr \100 \n'
4760
 
  lt_NL2SP='tr \r\n \100\100'
4761
 
  ;;
4762
 
esac
4763
 
 
4764
 
 
4765
 
 
4766
 
 
4767
 
 
4768
 
 
4769
 
 
4770
 
 
4771
 
 
4772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4773
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4774
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
4775
 
  $as_echo_n "(cached) " >&6
4776
 
else
4777
 
  lt_cv_ld_reload_flag='-r'
4778
 
fi
4779
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4780
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4781
 
reload_flag=$lt_cv_ld_reload_flag
4782
 
case $reload_flag in
4783
 
"" | " "*) ;;
4784
 
*) reload_flag=" $reload_flag" ;;
4785
 
esac
4786
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4787
 
case $host_os in
4788
 
  darwin*)
4789
 
    if test "$GCC" = yes; then
4790
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4791
 
    else
4792
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4793
 
    fi
4794
 
    ;;
4795
 
esac
4796
 
 
4797
 
 
4798
 
 
4799
 
 
4800
 
 
4801
 
 
4802
 
 
4803
 
 
4804
 
 
4805
 
if test -n "$ac_tool_prefix"; then
4806
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4807
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4808
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809
 
$as_echo_n "checking for $ac_word... " >&6; }
4810
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4811
 
  $as_echo_n "(cached) " >&6
4812
 
else
4813
 
  if test -n "$OBJDUMP"; then
4814
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4815
 
else
4816
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817
 
for as_dir in $PATH
4818
 
do
4819
 
  IFS=$as_save_IFS
4820
 
  test -z "$as_dir" && as_dir=.
4821
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4822
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4824
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825
 
    break 2
4826
 
  fi
4827
 
done
4828
 
  done
4829
 
IFS=$as_save_IFS
4830
 
 
4831
 
fi
4832
 
fi
4833
 
OBJDUMP=$ac_cv_prog_OBJDUMP
4834
 
if test -n "$OBJDUMP"; then
4835
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4836
 
$as_echo "$OBJDUMP" >&6; }
4837
 
else
4838
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839
 
$as_echo "no" >&6; }
4840
 
fi
4841
 
 
4842
 
 
4843
 
fi
4844
 
if test -z "$ac_cv_prog_OBJDUMP"; then
4845
 
  ac_ct_OBJDUMP=$OBJDUMP
4846
 
  # Extract the first word of "objdump", so it can be a program name with args.
4847
 
set dummy objdump; ac_word=$2
4848
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849
 
$as_echo_n "checking for $ac_word... " >&6; }
4850
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4851
 
  $as_echo_n "(cached) " >&6
4852
 
else
4853
 
  if test -n "$ac_ct_OBJDUMP"; then
4854
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4855
 
else
4856
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857
 
for as_dir in $PATH
4858
 
do
4859
 
  IFS=$as_save_IFS
4860
 
  test -z "$as_dir" && as_dir=.
4861
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4862
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4864
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865
 
    break 2
4866
 
  fi
4867
 
done
4868
 
  done
4869
 
IFS=$as_save_IFS
4870
 
 
4871
 
fi
4872
 
fi
4873
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4874
 
if test -n "$ac_ct_OBJDUMP"; then
4875
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4876
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
4877
 
else
4878
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879
 
$as_echo "no" >&6; }
4880
 
fi
4881
 
 
4882
 
  if test "x$ac_ct_OBJDUMP" = x; then
4883
 
    OBJDUMP="false"
4884
 
  else
4885
 
    case $cross_compiling:$ac_tool_warned in
4886
 
yes:)
4887
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4888
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4889
 
ac_tool_warned=yes ;;
4890
 
esac
4891
 
    OBJDUMP=$ac_ct_OBJDUMP
4892
 
  fi
4893
 
else
4894
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4895
 
fi
4896
 
 
4897
 
test -z "$OBJDUMP" && OBJDUMP=objdump
4898
 
 
4899
 
 
4900
 
 
4901
 
 
4902
 
 
4903
 
 
4904
 
 
4905
 
 
4906
 
 
4907
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4908
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4909
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4910
 
  $as_echo_n "(cached) " >&6
4911
 
else
4912
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4913
 
lt_cv_file_magic_test_file=
4914
 
lt_cv_deplibs_check_method='unknown'
4915
 
# Need to set the preceding variable on all platforms that support
4916
 
# interlibrary dependencies.
4917
 
# 'none' -- dependencies not supported.
4918
 
# `unknown' -- same as none, but documents that we really don't know.
4919
 
# 'pass_all' -- all dependencies passed with no checks.
4920
 
# 'test_compile' -- check by making test program.
4921
 
# 'file_magic [[regex]]' -- check by looking for files in library path
4922
 
# which responds to the $file_magic_cmd with a given extended regex.
4923
 
# If you have `file' or equivalent on your system and you're not sure
4924
 
# whether `pass_all' will *always* work, you probably want this one.
4925
 
 
4926
 
case $host_os in
4927
 
aix[4-9]*)
4928
 
  lt_cv_deplibs_check_method=pass_all
4929
 
  ;;
4930
 
 
4931
 
beos*)
4932
 
  lt_cv_deplibs_check_method=pass_all
4933
 
  ;;
4934
 
 
4935
 
bsdi[45]*)
4936
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4937
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4938
 
  lt_cv_file_magic_test_file=/shlib/libc.so
4939
 
  ;;
4940
 
 
4941
 
cygwin*)
4942
 
  # func_win32_libid is a shell function defined in ltmain.sh
4943
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4944
 
  lt_cv_file_magic_cmd='func_win32_libid'
4945
 
  ;;
4946
 
 
4947
 
mingw* | pw32*)
4948
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
4949
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4950
 
  # unless we find 'file', for example because we are cross-compiling.
4951
 
  if ( file / ) >/dev/null 2>&1; then
4952
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4953
 
    lt_cv_file_magic_cmd='func_win32_libid'
4954
 
  else
4955
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4956
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4957
 
  fi
4958
 
  ;;
4959
 
 
4960
 
cegcc)
4961
 
  # use the weaker test based on 'objdump'. See mingw*.
4962
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4963
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4964
 
  ;;
4965
 
 
4966
 
darwin* | rhapsody*)
4967
 
  lt_cv_deplibs_check_method=pass_all
4968
 
  ;;
4969
 
 
4970
 
freebsd* | dragonfly*)
4971
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4972
 
    case $host_cpu in
4973
 
    i*86 )
4974
 
      # Not sure whether the presence of OpenBSD here was a mistake.
4975
 
      # Let's accept both of them until this is cleared up.
4976
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4977
 
      lt_cv_file_magic_cmd=/usr/bin/file
4978
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4979
 
      ;;
4980
 
    esac
4981
 
  else
4982
 
    lt_cv_deplibs_check_method=pass_all
4983
 
  fi
4984
 
  ;;
4985
 
 
4986
 
gnu*)
4987
 
  lt_cv_deplibs_check_method=pass_all
4988
 
  ;;
4989
 
 
4990
 
hpux10.20* | hpux11*)
4991
 
  lt_cv_file_magic_cmd=/usr/bin/file
4992
 
  case $host_cpu in
4993
 
  ia64*)
4994
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4995
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4996
 
    ;;
4997
 
  hppa*64*)
4998
 
    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]'
4999
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5000
 
    ;;
5001
 
  *)
5002
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5003
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5004
 
    ;;
5005
 
  esac
5006
 
  ;;
5007
 
 
5008
 
interix[3-9]*)
5009
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5010
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5011
 
  ;;
5012
 
 
5013
 
irix5* | irix6* | nonstopux*)
5014
 
  case $LD in
5015
 
  *-32|*"-32 ") libmagic=32-bit;;
5016
 
  *-n32|*"-n32 ") libmagic=N32;;
5017
 
  *-64|*"-64 ") libmagic=64-bit;;
5018
 
  *) libmagic=never-match;;
5019
 
  esac
5020
 
  lt_cv_deplibs_check_method=pass_all
5021
 
  ;;
5022
 
 
5023
 
# This must be Linux ELF.
5024
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5025
 
  lt_cv_deplibs_check_method=pass_all
5026
 
  ;;
5027
 
 
5028
 
netbsd* | netbsdelf*-gnu)
5029
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5030
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5031
 
  else
5032
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5033
 
  fi
5034
 
  ;;
5035
 
 
5036
 
newos6*)
5037
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5038
 
  lt_cv_file_magic_cmd=/usr/bin/file
5039
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5040
 
  ;;
5041
 
 
5042
 
*nto* | *qnx*)
5043
 
  lt_cv_deplibs_check_method=pass_all
5044
 
  ;;
5045
 
 
5046
 
openbsd*)
5047
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5048
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5049
 
  else
5050
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5051
 
  fi
5052
 
  ;;
5053
 
 
5054
 
osf3* | osf4* | osf5*)
5055
 
  lt_cv_deplibs_check_method=pass_all
5056
 
  ;;
5057
 
 
5058
 
rdos*)
5059
 
  lt_cv_deplibs_check_method=pass_all
5060
 
  ;;
5061
 
 
5062
 
solaris*)
5063
 
  lt_cv_deplibs_check_method=pass_all
5064
 
  ;;
5065
 
 
5066
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5067
 
  lt_cv_deplibs_check_method=pass_all
5068
 
  ;;
5069
 
 
5070
 
sysv4 | sysv4.3*)
5071
 
  case $host_vendor in
5072
 
  motorola)
5073
 
    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]'
5074
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5075
 
    ;;
5076
 
  ncr)
5077
 
    lt_cv_deplibs_check_method=pass_all
5078
 
    ;;
5079
 
  sequent)
5080
 
    lt_cv_file_magic_cmd='/bin/file'
5081
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5082
 
    ;;
5083
 
  sni)
5084
 
    lt_cv_file_magic_cmd='/bin/file'
5085
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5086
 
    lt_cv_file_magic_test_file=/lib/libc.so
5087
 
    ;;
5088
 
  siemens)
5089
 
    lt_cv_deplibs_check_method=pass_all
5090
 
    ;;
5091
 
  pc)
5092
 
    lt_cv_deplibs_check_method=pass_all
5093
 
    ;;
5094
 
  esac
5095
 
  ;;
5096
 
 
5097
 
tpf*)
5098
 
  lt_cv_deplibs_check_method=pass_all
5099
 
  ;;
5100
 
esac
5101
 
 
5102
 
fi
5103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5104
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5105
 
file_magic_cmd=$lt_cv_file_magic_cmd
5106
 
deplibs_check_method=$lt_cv_deplibs_check_method
5107
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5108
 
 
5109
 
 
5110
 
 
5111
 
 
5112
 
 
5113
 
 
5114
 
 
5115
 
 
5116
 
 
5117
 
 
5118
 
 
5119
 
 
5120
 
if test -n "$ac_tool_prefix"; then
5121
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5122
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5123
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124
 
$as_echo_n "checking for $ac_word... " >&6; }
5125
 
if test "${ac_cv_prog_AR+set}" = set; then :
5126
 
  $as_echo_n "(cached) " >&6
5127
 
else
5128
 
  if test -n "$AR"; then
5129
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5130
 
else
5131
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132
 
for as_dir in $PATH
5133
 
do
5134
 
  IFS=$as_save_IFS
5135
 
  test -z "$as_dir" && as_dir=.
5136
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5137
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5139
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140
 
    break 2
5141
 
  fi
5142
 
done
5143
 
  done
5144
 
IFS=$as_save_IFS
5145
 
 
5146
 
fi
5147
 
fi
5148
 
AR=$ac_cv_prog_AR
5149
 
if test -n "$AR"; then
5150
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5151
 
$as_echo "$AR" >&6; }
5152
 
else
5153
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154
 
$as_echo "no" >&6; }
5155
 
fi
5156
 
 
5157
 
 
5158
 
fi
5159
 
if test -z "$ac_cv_prog_AR"; then
5160
 
  ac_ct_AR=$AR
5161
 
  # Extract the first word of "ar", so it can be a program name with args.
5162
 
set dummy ar; ac_word=$2
5163
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164
 
$as_echo_n "checking for $ac_word... " >&6; }
5165
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5166
 
  $as_echo_n "(cached) " >&6
5167
 
else
5168
 
  if test -n "$ac_ct_AR"; then
5169
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5170
 
else
5171
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172
 
for as_dir in $PATH
5173
 
do
5174
 
  IFS=$as_save_IFS
5175
 
  test -z "$as_dir" && as_dir=.
5176
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5177
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178
 
    ac_cv_prog_ac_ct_AR="ar"
5179
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180
 
    break 2
5181
 
  fi
5182
 
done
5183
 
  done
5184
 
IFS=$as_save_IFS
5185
 
 
5186
 
fi
5187
 
fi
5188
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5189
 
if test -n "$ac_ct_AR"; then
5190
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5191
 
$as_echo "$ac_ct_AR" >&6; }
5192
 
else
5193
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194
 
$as_echo "no" >&6; }
5195
 
fi
5196
 
 
5197
 
  if test "x$ac_ct_AR" = x; then
5198
 
    AR="false"
5199
 
  else
5200
 
    case $cross_compiling:$ac_tool_warned in
5201
 
yes:)
5202
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5203
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5204
 
ac_tool_warned=yes ;;
5205
 
esac
5206
 
    AR=$ac_ct_AR
5207
 
  fi
5208
 
else
5209
 
  AR="$ac_cv_prog_AR"
5210
 
fi
5211
 
 
5212
 
test -z "$AR" && AR=ar
5213
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5214
 
 
5215
 
 
5216
 
 
5217
 
 
5218
 
 
5219
 
 
5220
 
 
5221
 
 
5222
 
 
5223
 
 
5224
 
 
5225
 
if test -n "$ac_tool_prefix"; then
5226
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5227
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5228
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229
 
$as_echo_n "checking for $ac_word... " >&6; }
5230
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
5231
 
  $as_echo_n "(cached) " >&6
5232
 
else
5233
 
  if test -n "$STRIP"; then
5234
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5235
 
else
5236
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237
 
for as_dir in $PATH
5238
 
do
5239
 
  IFS=$as_save_IFS
5240
 
  test -z "$as_dir" && as_dir=.
5241
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5242
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5244
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245
 
    break 2
5246
 
  fi
5247
 
done
5248
 
  done
5249
 
IFS=$as_save_IFS
5250
 
 
5251
 
fi
5252
 
fi
5253
 
STRIP=$ac_cv_prog_STRIP
5254
 
if test -n "$STRIP"; then
5255
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5256
 
$as_echo "$STRIP" >&6; }
5257
 
else
5258
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259
 
$as_echo "no" >&6; }
5260
 
fi
5261
 
 
5262
 
 
5263
 
fi
5264
 
if test -z "$ac_cv_prog_STRIP"; then
5265
 
  ac_ct_STRIP=$STRIP
5266
 
  # Extract the first word of "strip", so it can be a program name with args.
5267
 
set dummy strip; ac_word=$2
5268
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269
 
$as_echo_n "checking for $ac_word... " >&6; }
5270
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5271
 
  $as_echo_n "(cached) " >&6
5272
 
else
5273
 
  if test -n "$ac_ct_STRIP"; then
5274
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5275
 
else
5276
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277
 
for as_dir in $PATH
5278
 
do
5279
 
  IFS=$as_save_IFS
5280
 
  test -z "$as_dir" && as_dir=.
5281
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5282
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283
 
    ac_cv_prog_ac_ct_STRIP="strip"
5284
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285
 
    break 2
5286
 
  fi
5287
 
done
5288
 
  done
5289
 
IFS=$as_save_IFS
5290
 
 
5291
 
fi
5292
 
fi
5293
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5294
 
if test -n "$ac_ct_STRIP"; then
5295
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5296
 
$as_echo "$ac_ct_STRIP" >&6; }
5297
 
else
5298
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299
 
$as_echo "no" >&6; }
5300
 
fi
5301
 
 
5302
 
  if test "x$ac_ct_STRIP" = x; then
5303
 
    STRIP=":"
5304
 
  else
5305
 
    case $cross_compiling:$ac_tool_warned in
5306
 
yes:)
5307
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309
 
ac_tool_warned=yes ;;
5310
 
esac
5311
 
    STRIP=$ac_ct_STRIP
5312
 
  fi
5313
 
else
5314
 
  STRIP="$ac_cv_prog_STRIP"
5315
 
fi
5316
 
 
5317
 
test -z "$STRIP" && STRIP=:
5318
 
 
5319
 
 
5320
 
 
5321
 
 
5322
 
 
5323
 
 
5324
 
if test -n "$ac_tool_prefix"; then
5325
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5326
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5327
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328
 
$as_echo_n "checking for $ac_word... " >&6; }
5329
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5330
 
  $as_echo_n "(cached) " >&6
5331
 
else
5332
 
  if test -n "$RANLIB"; then
5333
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5334
 
else
5335
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336
 
for as_dir in $PATH
5337
 
do
5338
 
  IFS=$as_save_IFS
5339
 
  test -z "$as_dir" && as_dir=.
5340
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5341
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5343
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344
 
    break 2
5345
 
  fi
5346
 
done
5347
 
  done
5348
 
IFS=$as_save_IFS
5349
 
 
5350
 
fi
5351
 
fi
5352
 
RANLIB=$ac_cv_prog_RANLIB
5353
 
if test -n "$RANLIB"; then
5354
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5355
 
$as_echo "$RANLIB" >&6; }
5356
 
else
5357
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358
 
$as_echo "no" >&6; }
5359
 
fi
5360
 
 
5361
 
 
5362
 
fi
5363
 
if test -z "$ac_cv_prog_RANLIB"; then
5364
 
  ac_ct_RANLIB=$RANLIB
5365
 
  # Extract the first word of "ranlib", so it can be a program name with args.
5366
 
set dummy ranlib; ac_word=$2
5367
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368
 
$as_echo_n "checking for $ac_word... " >&6; }
5369
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5370
 
  $as_echo_n "(cached) " >&6
5371
 
else
5372
 
  if test -n "$ac_ct_RANLIB"; then
5373
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5374
 
else
5375
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376
 
for as_dir in $PATH
5377
 
do
5378
 
  IFS=$as_save_IFS
5379
 
  test -z "$as_dir" && as_dir=.
5380
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5381
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5383
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384
 
    break 2
5385
 
  fi
5386
 
done
5387
 
  done
5388
 
IFS=$as_save_IFS
5389
 
 
5390
 
fi
5391
 
fi
5392
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5393
 
if test -n "$ac_ct_RANLIB"; then
5394
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5395
 
$as_echo "$ac_ct_RANLIB" >&6; }
5396
 
else
5397
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398
 
$as_echo "no" >&6; }
5399
 
fi
5400
 
 
5401
 
  if test "x$ac_ct_RANLIB" = x; then
5402
 
    RANLIB=":"
5403
 
  else
5404
 
    case $cross_compiling:$ac_tool_warned in
5405
 
yes:)
5406
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408
 
ac_tool_warned=yes ;;
5409
 
esac
5410
 
    RANLIB=$ac_ct_RANLIB
5411
 
  fi
5412
 
else
5413
 
  RANLIB="$ac_cv_prog_RANLIB"
5414
 
fi
5415
 
 
5416
 
test -z "$RANLIB" && RANLIB=:
5417
 
 
5418
 
 
5419
 
 
5420
 
 
5421
 
 
5422
 
 
5423
 
# Determine commands to create old-style static archives.
5424
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5425
 
old_postinstall_cmds='chmod 644 $oldlib'
5426
 
old_postuninstall_cmds=
5427
 
 
5428
 
if test -n "$RANLIB"; then
5429
 
  case $host_os in
5430
 
  openbsd*)
5431
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5432
 
    ;;
5433
 
  *)
5434
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5435
 
    ;;
5436
 
  esac
5437
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5438
 
fi
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
 
 
5447
 
 
5448
 
 
5449
 
 
5450
 
 
5451
 
 
5452
 
 
5453
 
 
5454
 
 
5455
 
 
5456
 
 
5457
 
 
5458
 
 
5459
 
 
5460
 
 
5461
 
 
5462
 
 
5463
 
 
5464
 
 
5465
 
 
5466
 
 
5467
 
 
5468
 
 
5469
 
 
5470
 
 
5471
 
 
5472
 
 
5473
 
# If no C compiler was specified, use CC.
5474
 
LTCC=${LTCC-"$CC"}
5475
 
 
5476
 
# If no C compiler flags were specified, use CFLAGS.
5477
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5478
 
 
5479
 
# Allow CC to be a program name with arguments.
5480
 
compiler=$CC
5481
 
 
5482
 
 
5483
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
5484
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5485
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5486
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5487
 
  $as_echo_n "(cached) " >&6
5488
 
else
5489
 
 
5490
 
# These are sane defaults that work on at least a few old systems.
5491
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5492
 
 
5493
 
# Character class describing NM global symbol codes.
5494
 
symcode='[BCDEGRST]'
5495
 
 
5496
 
# Regexp to match symbols that can be accessed directly from C.
5497
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5498
 
 
5499
 
# Define system-specific variables.
5500
 
case $host_os in
5501
 
aix*)
5502
 
  symcode='[BCDT]'
5503
 
  ;;
5504
 
cygwin* | mingw* | pw32* | cegcc*)
5505
 
  symcode='[ABCDGISTW]'
5506
 
  ;;
5507
 
hpux*)
5508
 
  if test "$host_cpu" = ia64; then
5509
 
    symcode='[ABCDEGRST]'
5510
 
  fi
5511
 
  ;;
5512
 
irix* | nonstopux*)
5513
 
  symcode='[BCDEGRST]'
5514
 
  ;;
5515
 
osf*)
5516
 
  symcode='[BCDEGQRST]'
5517
 
  ;;
5518
 
solaris*)
5519
 
  symcode='[BDRT]'
5520
 
  ;;
5521
 
sco3.2v5*)
5522
 
  symcode='[DT]'
5523
 
  ;;
5524
 
sysv4.2uw2*)
5525
 
  symcode='[DT]'
5526
 
  ;;
5527
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5528
 
  symcode='[ABDT]'
5529
 
  ;;
5530
 
sysv4)
5531
 
  symcode='[DFNSTU]'
5532
 
  ;;
5533
 
esac
5534
 
 
5535
 
# If we're using GNU nm, then use its standard symbol codes.
5536
 
case `$NM -V 2>&1` in
5537
 
*GNU* | *'with BFD'*)
5538
 
  symcode='[ABCDGIRSTW]' ;;
5539
 
esac
5540
 
 
5541
 
# Transform an extracted symbol line into a proper C declaration.
5542
 
# Some systems (esp. on ia64) link data and code symbols differently,
5543
 
# so use this general approach.
5544
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5545
 
 
5546
 
# Transform an extracted symbol line into symbol name and symbol address
5547
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5548
 
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'"
5549
 
 
5550
 
# Handle CRLF in mingw tool chain
5551
 
opt_cr=
5552
 
case $build_os in
5553
 
mingw*)
5554
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5555
 
  ;;
5556
 
esac
5557
 
 
5558
 
# Try without a prefix underscore, then with it.
5559
 
for ac_symprfx in "" "_"; do
5560
 
 
5561
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5562
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
5563
 
 
5564
 
  # Write the raw and C identifiers.
5565
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5566
 
    # Fake it for dumpbin and say T for any non-static function
5567
 
    # and D for any global variable.
5568
 
    # Also find C++ and __fastcall symbols from MSVC++,
5569
 
    # which start with @ or ?.
5570
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5571
 
"     {last_section=section; section=\$ 3};"\
5572
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5573
 
"     \$ 0!~/External *\|/{next};"\
5574
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5575
 
"     {if(hide[section]) next};"\
5576
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5577
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5578
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5579
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5580
 
"     ' prfx=^$ac_symprfx"
5581
 
  else
5582
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5583
 
  fi
5584
 
 
5585
 
  # Check to see that the pipe works correctly.
5586
 
  pipe_works=no
5587
 
 
5588
 
  rm -f conftest*
5589
 
  cat > conftest.$ac_ext <<_LT_EOF
5590
 
#ifdef __cplusplus
5591
 
extern "C" {
5592
 
#endif
5593
 
char nm_test_var;
5594
 
void nm_test_func(void);
5595
 
void nm_test_func(void){}
5596
 
#ifdef __cplusplus
5597
 
}
5598
 
#endif
5599
 
int main(){nm_test_var='a';nm_test_func();return(0);}
5600
 
_LT_EOF
5601
 
 
5602
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5603
 
  (eval $ac_compile) 2>&5
5604
 
  ac_status=$?
5605
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5606
 
  test $ac_status = 0; }; then
5607
 
    # Now try to grab the symbols.
5608
 
    nlist=conftest.nm
5609
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5610
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5611
 
  ac_status=$?
5612
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5613
 
  test $ac_status = 0; } && test -s "$nlist"; then
5614
 
      # Try sorting and uniquifying the output.
5615
 
      if sort "$nlist" | uniq > "$nlist"T; then
5616
 
        mv -f "$nlist"T "$nlist"
5617
 
      else
5618
 
        rm -f "$nlist"T
5619
 
      fi
5620
 
 
5621
 
      # Make sure that we snagged all the symbols we need.
5622
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5623
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5624
 
          cat <<_LT_EOF > conftest.$ac_ext
5625
 
#ifdef __cplusplus
5626
 
extern "C" {
5627
 
#endif
5628
 
 
5629
 
_LT_EOF
5630
 
          # Now generate the symbol file.
5631
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5632
 
 
5633
 
          cat <<_LT_EOF >> conftest.$ac_ext
5634
 
 
5635
 
/* The mapping between symbol names and symbols.  */
5636
 
const struct {
5637
 
  const char *name;
5638
 
  void       *address;
5639
 
}
5640
 
lt__PROGRAM__LTX_preloaded_symbols[] =
5641
 
{
5642
 
  { "@PROGRAM@", (void *) 0 },
5643
 
_LT_EOF
5644
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5645
 
          cat <<\_LT_EOF >> conftest.$ac_ext
5646
 
  {0, (void *) 0}
5647
 
};
5648
 
 
5649
 
/* This works around a problem in FreeBSD linker */
5650
 
#ifdef FREEBSD_WORKAROUND
5651
 
static const void *lt_preloaded_setup() {
5652
 
  return lt__PROGRAM__LTX_preloaded_symbols;
5653
 
}
5654
 
#endif
5655
 
 
5656
 
#ifdef __cplusplus
5657
 
}
5658
 
#endif
5659
 
_LT_EOF
5660
 
          # Now try linking the two files.
5661
 
          mv conftest.$ac_objext conftstm.$ac_objext
5662
 
          lt_save_LIBS="$LIBS"
5663
 
          lt_save_CFLAGS="$CFLAGS"
5664
 
          LIBS="conftstm.$ac_objext"
5665
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5666
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5667
 
  (eval $ac_link) 2>&5
5668
 
  ac_status=$?
5669
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5670
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5671
 
            pipe_works=yes
5672
 
          fi
5673
 
          LIBS="$lt_save_LIBS"
5674
 
          CFLAGS="$lt_save_CFLAGS"
5675
 
        else
5676
 
          echo "cannot find nm_test_func in $nlist" >&5
5677
 
        fi
5678
 
      else
5679
 
        echo "cannot find nm_test_var in $nlist" >&5
5680
 
      fi
5681
 
    else
5682
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5683
 
    fi
5684
 
  else
5685
 
    echo "$progname: failed program was:" >&5
5686
 
    cat conftest.$ac_ext >&5
5687
 
  fi
5688
 
  rm -rf conftest* conftst*
5689
 
 
5690
 
  # Do not use the global_symbol_pipe unless it works.
5691
 
  if test "$pipe_works" = yes; then
5692
 
    break
5693
 
  else
5694
 
    lt_cv_sys_global_symbol_pipe=
5695
 
  fi
5696
 
done
5697
 
 
5698
 
fi
5699
 
 
5700
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5701
 
  lt_cv_sys_global_symbol_to_cdecl=
5702
 
fi
5703
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5704
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5705
 
$as_echo "failed" >&6; }
5706
 
else
5707
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5708
 
$as_echo "ok" >&6; }
5709
 
fi
5710
 
 
5711
 
 
5712
 
 
5713
 
 
5714
 
 
5715
 
 
5716
 
 
5717
 
 
5718
 
 
5719
 
 
5720
 
 
5721
 
 
5722
 
 
5723
 
 
5724
 
 
5725
 
 
5726
 
 
5727
 
 
5728
 
 
5729
 
 
5730
 
 
5731
 
 
5732
 
 
5733
 
# Check whether --enable-libtool-lock was given.
5734
 
if test "${enable_libtool_lock+set}" = set; then :
5735
 
  enableval=$enable_libtool_lock;
5736
 
fi
5737
 
 
5738
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5739
 
 
5740
 
# Some flags need to be propagated to the compiler or linker for good
5741
 
# libtool support.
5742
 
case $host in
5743
 
ia64-*-hpux*)
5744
 
  # Find out which ABI we are using.
5745
 
  echo 'int i;' > conftest.$ac_ext
5746
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5747
 
  (eval $ac_compile) 2>&5
5748
 
  ac_status=$?
5749
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5750
 
  test $ac_status = 0; }; then
5751
 
    case `/usr/bin/file conftest.$ac_objext` in
5752
 
      *ELF-32*)
5753
 
        HPUX_IA64_MODE="32"
5754
 
        ;;
5755
 
      *ELF-64*)
5756
 
        HPUX_IA64_MODE="64"
5757
 
        ;;
5758
 
    esac
5759
 
  fi
5760
 
  rm -rf conftest*
5761
 
  ;;
5762
 
*-*-irix6*)
5763
 
  # Find out which ABI we are using.
5764
 
  echo '#line 5764 "configure"' > conftest.$ac_ext
5765
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5766
 
  (eval $ac_compile) 2>&5
5767
 
  ac_status=$?
5768
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5769
 
  test $ac_status = 0; }; then
5770
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
5771
 
      case `/usr/bin/file conftest.$ac_objext` in
5772
 
        *32-bit*)
5773
 
          LD="${LD-ld} -melf32bsmip"
5774
 
          ;;
5775
 
        *N32*)
5776
 
          LD="${LD-ld} -melf32bmipn32"
5777
 
          ;;
5778
 
        *64-bit*)
5779
 
          LD="${LD-ld} -melf64bmip"
5780
 
        ;;
5781
 
      esac
5782
 
    else
5783
 
      case `/usr/bin/file conftest.$ac_objext` in
5784
 
        *32-bit*)
5785
 
          LD="${LD-ld} -32"
5786
 
          ;;
5787
 
        *N32*)
5788
 
          LD="${LD-ld} -n32"
5789
 
          ;;
5790
 
        *64-bit*)
5791
 
          LD="${LD-ld} -64"
5792
 
          ;;
5793
 
      esac
5794
 
    fi
5795
 
  fi
5796
 
  rm -rf conftest*
5797
 
  ;;
5798
 
 
5799
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5800
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5801
 
  # Find out which ABI we are using.
5802
 
  echo 'int i;' > conftest.$ac_ext
5803
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5804
 
  (eval $ac_compile) 2>&5
5805
 
  ac_status=$?
5806
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5807
 
  test $ac_status = 0; }; then
5808
 
    case `/usr/bin/file conftest.o` in
5809
 
      *32-bit*)
5810
 
        case $host in
5811
 
          x86_64-*kfreebsd*-gnu)
5812
 
            LD="${LD-ld} -m elf_i386_fbsd"
5813
 
            ;;
5814
 
          x86_64-*linux*)
5815
 
            LD="${LD-ld} -m elf_i386"
5816
 
            ;;
5817
 
          ppc64-*linux*|powerpc64-*linux*)
5818
 
            LD="${LD-ld} -m elf32ppclinux"
5819
 
            ;;
5820
 
          s390x-*linux*)
5821
 
            LD="${LD-ld} -m elf_s390"
5822
 
            ;;
5823
 
          sparc64-*linux*)
5824
 
            LD="${LD-ld} -m elf32_sparc"
5825
 
            ;;
5826
 
        esac
5827
 
        ;;
5828
 
      *64-bit*)
5829
 
        case $host in
5830
 
          x86_64-*kfreebsd*-gnu)
5831
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
5832
 
            ;;
5833
 
          x86_64-*linux*)
5834
 
            LD="${LD-ld} -m elf_x86_64"
5835
 
            ;;
5836
 
          ppc*-*linux*|powerpc*-*linux*)
5837
 
            LD="${LD-ld} -m elf64ppc"
5838
 
            ;;
5839
 
          s390*-*linux*|s390*-*tpf*)
5840
 
            LD="${LD-ld} -m elf64_s390"
5841
 
            ;;
5842
 
          sparc*-*linux*)
5843
 
            LD="${LD-ld} -m elf64_sparc"
5844
 
            ;;
5845
 
        esac
5846
 
        ;;
5847
 
    esac
5848
 
  fi
5849
 
  rm -rf conftest*
5850
 
  ;;
5851
 
 
5852
 
*-*-sco3.2v5*)
5853
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5854
 
  SAVE_CFLAGS="$CFLAGS"
5855
 
  CFLAGS="$CFLAGS -belf"
5856
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5857
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5858
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
5859
 
  $as_echo_n "(cached) " >&6
5860
 
else
5861
 
  ac_ext=c
5862
 
ac_cpp='$CPP $CPPFLAGS'
5863
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5864
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5865
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5866
 
 
5867
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868
 
/* end confdefs.h.  */
5869
 
 
5870
 
int
5871
 
main ()
5872
 
{
5873
 
 
5874
 
  ;
5875
 
  return 0;
5876
 
}
5877
 
_ACEOF
5878
 
if ac_fn_c_try_link "$LINENO"; then :
5879
 
  lt_cv_cc_needs_belf=yes
5880
 
else
5881
 
  lt_cv_cc_needs_belf=no
5882
 
fi
5883
 
rm -f core conftest.err conftest.$ac_objext \
5884
 
    conftest$ac_exeext conftest.$ac_ext
5885
 
     ac_ext=c
5886
 
ac_cpp='$CPP $CPPFLAGS'
5887
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5888
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5889
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5890
 
 
5891
 
fi
5892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5893
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5894
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5895
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5896
 
    CFLAGS="$SAVE_CFLAGS"
5897
 
  fi
5898
 
  ;;
5899
 
sparc*-*solaris*)
5900
 
  # Find out which ABI we are using.
5901
 
  echo 'int i;' > conftest.$ac_ext
5902
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5903
 
  (eval $ac_compile) 2>&5
5904
 
  ac_status=$?
5905
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5906
 
  test $ac_status = 0; }; then
5907
 
    case `/usr/bin/file conftest.o` in
5908
 
    *64-bit*)
5909
 
      case $lt_cv_prog_gnu_ld in
5910
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5911
 
      *)
5912
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5913
 
          LD="${LD-ld} -64"
5914
 
        fi
5915
 
        ;;
5916
 
      esac
5917
 
      ;;
5918
 
    esac
5919
 
  fi
5920
 
  rm -rf conftest*
5921
 
  ;;
5922
 
esac
5923
 
 
5924
 
need_locks="$enable_libtool_lock"
5925
 
 
5926
 
 
5927
 
  case $host_os in
5928
 
    rhapsody* | darwin*)
5929
 
    if test -n "$ac_tool_prefix"; then
5930
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5931
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933
 
$as_echo_n "checking for $ac_word... " >&6; }
5934
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5935
 
  $as_echo_n "(cached) " >&6
5936
 
else
5937
 
  if test -n "$DSYMUTIL"; then
5938
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5939
 
else
5940
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941
 
for as_dir in $PATH
5942
 
do
5943
 
  IFS=$as_save_IFS
5944
 
  test -z "$as_dir" && as_dir=.
5945
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5946
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5948
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949
 
    break 2
5950
 
  fi
5951
 
done
5952
 
  done
5953
 
IFS=$as_save_IFS
5954
 
 
5955
 
fi
5956
 
fi
5957
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5958
 
if test -n "$DSYMUTIL"; then
5959
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5960
 
$as_echo "$DSYMUTIL" >&6; }
5961
 
else
5962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963
 
$as_echo "no" >&6; }
5964
 
fi
5965
 
 
5966
 
 
5967
 
fi
5968
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
5969
 
  ac_ct_DSYMUTIL=$DSYMUTIL
5970
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
5971
 
set dummy dsymutil; ac_word=$2
5972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973
 
$as_echo_n "checking for $ac_word... " >&6; }
5974
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5975
 
  $as_echo_n "(cached) " >&6
5976
 
else
5977
 
  if test -n "$ac_ct_DSYMUTIL"; then
5978
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5979
 
else
5980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981
 
for as_dir in $PATH
5982
 
do
5983
 
  IFS=$as_save_IFS
5984
 
  test -z "$as_dir" && as_dir=.
5985
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5986
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5988
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989
 
    break 2
5990
 
  fi
5991
 
done
5992
 
  done
5993
 
IFS=$as_save_IFS
5994
 
 
5995
 
fi
5996
 
fi
5997
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5998
 
if test -n "$ac_ct_DSYMUTIL"; then
5999
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6000
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6001
 
else
6002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003
 
$as_echo "no" >&6; }
6004
 
fi
6005
 
 
6006
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6007
 
    DSYMUTIL=":"
6008
 
  else
6009
 
    case $cross_compiling:$ac_tool_warned in
6010
 
yes:)
6011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013
 
ac_tool_warned=yes ;;
6014
 
esac
6015
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6016
 
  fi
6017
 
else
6018
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6019
 
fi
6020
 
 
6021
 
    if test -n "$ac_tool_prefix"; then
6022
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6023
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6024
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025
 
$as_echo_n "checking for $ac_word... " >&6; }
6026
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6027
 
  $as_echo_n "(cached) " >&6
6028
 
else
6029
 
  if test -n "$NMEDIT"; then
6030
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6031
 
else
6032
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033
 
for as_dir in $PATH
6034
 
do
6035
 
  IFS=$as_save_IFS
6036
 
  test -z "$as_dir" && as_dir=.
6037
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6038
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6039
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6040
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041
 
    break 2
6042
 
  fi
6043
 
done
6044
 
  done
6045
 
IFS=$as_save_IFS
6046
 
 
6047
 
fi
6048
 
fi
6049
 
NMEDIT=$ac_cv_prog_NMEDIT
6050
 
if test -n "$NMEDIT"; then
6051
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6052
 
$as_echo "$NMEDIT" >&6; }
6053
 
else
6054
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055
 
$as_echo "no" >&6; }
6056
 
fi
6057
 
 
6058
 
 
6059
 
fi
6060
 
if test -z "$ac_cv_prog_NMEDIT"; then
6061
 
  ac_ct_NMEDIT=$NMEDIT
6062
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6063
 
set dummy nmedit; ac_word=$2
6064
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065
 
$as_echo_n "checking for $ac_word... " >&6; }
6066
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6067
 
  $as_echo_n "(cached) " >&6
6068
 
else
6069
 
  if test -n "$ac_ct_NMEDIT"; then
6070
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6071
 
else
6072
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073
 
for as_dir in $PATH
6074
 
do
6075
 
  IFS=$as_save_IFS
6076
 
  test -z "$as_dir" && as_dir=.
6077
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6078
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6080
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081
 
    break 2
6082
 
  fi
6083
 
done
6084
 
  done
6085
 
IFS=$as_save_IFS
6086
 
 
6087
 
fi
6088
 
fi
6089
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6090
 
if test -n "$ac_ct_NMEDIT"; then
6091
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6092
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6093
 
else
6094
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095
 
$as_echo "no" >&6; }
6096
 
fi
6097
 
 
6098
 
  if test "x$ac_ct_NMEDIT" = x; then
6099
 
    NMEDIT=":"
6100
 
  else
6101
 
    case $cross_compiling:$ac_tool_warned in
6102
 
yes:)
6103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105
 
ac_tool_warned=yes ;;
6106
 
esac
6107
 
    NMEDIT=$ac_ct_NMEDIT
6108
 
  fi
6109
 
else
6110
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6111
 
fi
6112
 
 
6113
 
    if test -n "$ac_tool_prefix"; then
6114
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6115
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6116
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117
 
$as_echo_n "checking for $ac_word... " >&6; }
6118
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
6119
 
  $as_echo_n "(cached) " >&6
6120
 
else
6121
 
  if test -n "$LIPO"; then
6122
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6123
 
else
6124
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125
 
for as_dir in $PATH
6126
 
do
6127
 
  IFS=$as_save_IFS
6128
 
  test -z "$as_dir" && as_dir=.
6129
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6130
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6131
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6132
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133
 
    break 2
6134
 
  fi
6135
 
done
6136
 
  done
6137
 
IFS=$as_save_IFS
6138
 
 
6139
 
fi
6140
 
fi
6141
 
LIPO=$ac_cv_prog_LIPO
6142
 
if test -n "$LIPO"; then
6143
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6144
 
$as_echo "$LIPO" >&6; }
6145
 
else
6146
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147
 
$as_echo "no" >&6; }
6148
 
fi
6149
 
 
6150
 
 
6151
 
fi
6152
 
if test -z "$ac_cv_prog_LIPO"; then
6153
 
  ac_ct_LIPO=$LIPO
6154
 
  # Extract the first word of "lipo", so it can be a program name with args.
6155
 
set dummy lipo; ac_word=$2
6156
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157
 
$as_echo_n "checking for $ac_word... " >&6; }
6158
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6159
 
  $as_echo_n "(cached) " >&6
6160
 
else
6161
 
  if test -n "$ac_ct_LIPO"; then
6162
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6163
 
else
6164
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165
 
for as_dir in $PATH
6166
 
do
6167
 
  IFS=$as_save_IFS
6168
 
  test -z "$as_dir" && as_dir=.
6169
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6170
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6172
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173
 
    break 2
6174
 
  fi
6175
 
done
6176
 
  done
6177
 
IFS=$as_save_IFS
6178
 
 
6179
 
fi
6180
 
fi
6181
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6182
 
if test -n "$ac_ct_LIPO"; then
6183
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6184
 
$as_echo "$ac_ct_LIPO" >&6; }
6185
 
else
6186
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187
 
$as_echo "no" >&6; }
6188
 
fi
6189
 
 
6190
 
  if test "x$ac_ct_LIPO" = x; then
6191
 
    LIPO=":"
6192
 
  else
6193
 
    case $cross_compiling:$ac_tool_warned in
6194
 
yes:)
6195
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197
 
ac_tool_warned=yes ;;
6198
 
esac
6199
 
    LIPO=$ac_ct_LIPO
6200
 
  fi
6201
 
else
6202
 
  LIPO="$ac_cv_prog_LIPO"
6203
 
fi
6204
 
 
6205
 
    if test -n "$ac_tool_prefix"; then
6206
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6207
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6208
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209
 
$as_echo_n "checking for $ac_word... " >&6; }
6210
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6211
 
  $as_echo_n "(cached) " >&6
6212
 
else
6213
 
  if test -n "$OTOOL"; then
6214
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6215
 
else
6216
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217
 
for as_dir in $PATH
6218
 
do
6219
 
  IFS=$as_save_IFS
6220
 
  test -z "$as_dir" && as_dir=.
6221
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6222
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6223
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6224
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225
 
    break 2
6226
 
  fi
6227
 
done
6228
 
  done
6229
 
IFS=$as_save_IFS
6230
 
 
6231
 
fi
6232
 
fi
6233
 
OTOOL=$ac_cv_prog_OTOOL
6234
 
if test -n "$OTOOL"; then
6235
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6236
 
$as_echo "$OTOOL" >&6; }
6237
 
else
6238
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239
 
$as_echo "no" >&6; }
6240
 
fi
6241
 
 
6242
 
 
6243
 
fi
6244
 
if test -z "$ac_cv_prog_OTOOL"; then
6245
 
  ac_ct_OTOOL=$OTOOL
6246
 
  # Extract the first word of "otool", so it can be a program name with args.
6247
 
set dummy otool; ac_word=$2
6248
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249
 
$as_echo_n "checking for $ac_word... " >&6; }
6250
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6251
 
  $as_echo_n "(cached) " >&6
6252
 
else
6253
 
  if test -n "$ac_ct_OTOOL"; then
6254
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6255
 
else
6256
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257
 
for as_dir in $PATH
6258
 
do
6259
 
  IFS=$as_save_IFS
6260
 
  test -z "$as_dir" && as_dir=.
6261
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6262
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263
 
    ac_cv_prog_ac_ct_OTOOL="otool"
6264
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265
 
    break 2
6266
 
  fi
6267
 
done
6268
 
  done
6269
 
IFS=$as_save_IFS
6270
 
 
6271
 
fi
6272
 
fi
6273
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6274
 
if test -n "$ac_ct_OTOOL"; then
6275
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6276
 
$as_echo "$ac_ct_OTOOL" >&6; }
6277
 
else
6278
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279
 
$as_echo "no" >&6; }
6280
 
fi
6281
 
 
6282
 
  if test "x$ac_ct_OTOOL" = x; then
6283
 
    OTOOL=":"
6284
 
  else
6285
 
    case $cross_compiling:$ac_tool_warned in
6286
 
yes:)
6287
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289
 
ac_tool_warned=yes ;;
6290
 
esac
6291
 
    OTOOL=$ac_ct_OTOOL
6292
 
  fi
6293
 
else
6294
 
  OTOOL="$ac_cv_prog_OTOOL"
6295
 
fi
6296
 
 
6297
 
    if test -n "$ac_tool_prefix"; then
6298
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6299
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301
 
$as_echo_n "checking for $ac_word... " >&6; }
6302
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6303
 
  $as_echo_n "(cached) " >&6
6304
 
else
6305
 
  if test -n "$OTOOL64"; then
6306
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6307
 
else
6308
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309
 
for as_dir in $PATH
6310
 
do
6311
 
  IFS=$as_save_IFS
6312
 
  test -z "$as_dir" && as_dir=.
6313
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6314
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6316
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317
 
    break 2
6318
 
  fi
6319
 
done
6320
 
  done
6321
 
IFS=$as_save_IFS
6322
 
 
6323
 
fi
6324
 
fi
6325
 
OTOOL64=$ac_cv_prog_OTOOL64
6326
 
if test -n "$OTOOL64"; then
6327
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6328
 
$as_echo "$OTOOL64" >&6; }
6329
 
else
6330
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331
 
$as_echo "no" >&6; }
6332
 
fi
6333
 
 
6334
 
 
6335
 
fi
6336
 
if test -z "$ac_cv_prog_OTOOL64"; then
6337
 
  ac_ct_OTOOL64=$OTOOL64
6338
 
  # Extract the first word of "otool64", so it can be a program name with args.
6339
 
set dummy otool64; ac_word=$2
6340
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341
 
$as_echo_n "checking for $ac_word... " >&6; }
6342
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6343
 
  $as_echo_n "(cached) " >&6
6344
 
else
6345
 
  if test -n "$ac_ct_OTOOL64"; then
6346
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6347
 
else
6348
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349
 
for as_dir in $PATH
6350
 
do
6351
 
  IFS=$as_save_IFS
6352
 
  test -z "$as_dir" && as_dir=.
6353
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6354
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6356
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357
 
    break 2
6358
 
  fi
6359
 
done
6360
 
  done
6361
 
IFS=$as_save_IFS
6362
 
 
6363
 
fi
6364
 
fi
6365
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6366
 
if test -n "$ac_ct_OTOOL64"; then
6367
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6368
 
$as_echo "$ac_ct_OTOOL64" >&6; }
6369
 
else
6370
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371
 
$as_echo "no" >&6; }
6372
 
fi
6373
 
 
6374
 
  if test "x$ac_ct_OTOOL64" = x; then
6375
 
    OTOOL64=":"
6376
 
  else
6377
 
    case $cross_compiling:$ac_tool_warned in
6378
 
yes:)
6379
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6380
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6381
 
ac_tool_warned=yes ;;
6382
 
esac
6383
 
    OTOOL64=$ac_ct_OTOOL64
6384
 
  fi
6385
 
else
6386
 
  OTOOL64="$ac_cv_prog_OTOOL64"
6387
 
fi
6388
 
 
6389
 
 
6390
 
 
6391
 
 
6392
 
 
6393
 
 
6394
 
 
6395
 
 
6396
 
 
6397
 
 
6398
 
 
6399
 
 
6400
 
 
6401
 
 
6402
 
 
6403
 
 
6404
 
 
6405
 
 
6406
 
 
6407
 
 
6408
 
 
6409
 
 
6410
 
 
6411
 
 
6412
 
 
6413
 
 
6414
 
 
6415
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6416
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
6417
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6418
 
  $as_echo_n "(cached) " >&6
6419
 
else
6420
 
  lt_cv_apple_cc_single_mod=no
6421
 
      if test -z "${LT_MULTI_MODULE}"; then
6422
 
        # By default we will add the -single_module flag. You can override
6423
 
        # by either setting the environment variable LT_MULTI_MODULE
6424
 
        # non-empty at configure time, or by adding -multi_module to the
6425
 
        # link flags.
6426
 
        rm -rf libconftest.dylib*
6427
 
        echo "int foo(void){return 1;}" > conftest.c
6428
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6429
 
-dynamiclib -Wl,-single_module conftest.c" >&5
6430
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6431
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6432
 
        _lt_result=$?
6433
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6434
 
          lt_cv_apple_cc_single_mod=yes
6435
 
        else
6436
 
          cat conftest.err >&5
6437
 
        fi
6438
 
        rm -rf libconftest.dylib*
6439
 
        rm -f conftest.*
6440
 
      fi
6441
 
fi
6442
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6443
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6444
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6445
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6446
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6447
 
  $as_echo_n "(cached) " >&6
6448
 
else
6449
 
  lt_cv_ld_exported_symbols_list=no
6450
 
      save_LDFLAGS=$LDFLAGS
6451
 
      echo "_main" > conftest.sym
6452
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6453
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454
 
/* end confdefs.h.  */
6455
 
 
6456
 
int
6457
 
main ()
6458
 
{
6459
 
 
6460
 
  ;
6461
 
  return 0;
6462
 
}
6463
 
_ACEOF
6464
 
if ac_fn_c_try_link "$LINENO"; then :
6465
 
  lt_cv_ld_exported_symbols_list=yes
6466
 
else
6467
 
  lt_cv_ld_exported_symbols_list=no
6468
 
fi
6469
 
rm -f core conftest.err conftest.$ac_objext \
6470
 
    conftest$ac_exeext conftest.$ac_ext
6471
 
        LDFLAGS="$save_LDFLAGS"
6472
 
 
6473
 
fi
6474
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6475
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6476
 
    case $host_os in
6477
 
    rhapsody* | darwin1.[012])
6478
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6479
 
    darwin1.*)
6480
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6481
 
    darwin*) # darwin 5.x on
6482
 
      # if running on 10.5 or later, the deployment target defaults
6483
 
      # to the OS version, if on x86, and 10.4, the deployment
6484
 
      # target defaults to 10.4. Don't you love it?
6485
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6486
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6487
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6488
 
        10.[012]*)
6489
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6490
 
        10.*)
6491
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6492
 
      esac
6493
 
    ;;
6494
 
  esac
6495
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6496
 
      _lt_dar_single_mod='$single_module'
6497
 
    fi
6498
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6499
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6500
 
    else
6501
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6502
 
    fi
6503
 
    if test "$DSYMUTIL" != ":"; then
6504
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6505
 
    else
6506
 
      _lt_dsymutil=
6507
 
    fi
6508
 
    ;;
6509
 
  esac
6510
 
 
6511
 
ac_ext=c
6512
 
ac_cpp='$CPP $CPPFLAGS'
6513
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6514
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6515
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6517
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6518
 
# On Suns, sometimes $CPP names a directory.
6519
 
if test -n "$CPP" && test -d "$CPP"; then
6520
 
  CPP=
6521
 
fi
6522
 
if test -z "$CPP"; then
6523
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
6524
 
  $as_echo_n "(cached) " >&6
6525
 
else
6526
 
      # Double quotes because CPP needs to be expanded
6527
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6528
 
    do
6529
 
      ac_preproc_ok=false
6530
 
for ac_c_preproc_warn_flag in '' yes
6531
 
do
6532
 
  # Use a header file that comes with gcc, so configuring glibc
6533
 
  # with a fresh cross-compiler works.
6534
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6535
 
  # <limits.h> exists even on freestanding compilers.
6536
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6537
 
  # not just through cpp. "Syntax error" is here to catch this case.
6538
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539
 
/* end confdefs.h.  */
6540
 
#ifdef __STDC__
6541
 
# include <limits.h>
6542
 
#else
6543
 
# include <assert.h>
6544
 
#endif
6545
 
                     Syntax error
6546
 
_ACEOF
6547
 
if ac_fn_c_try_cpp "$LINENO"; then :
6548
 
 
6549
 
else
6550
 
  # Broken: fails on valid input.
6551
 
continue
6552
 
fi
6553
 
rm -f conftest.err conftest.$ac_ext
6554
 
 
6555
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6556
 
  # can be detected and how.
6557
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6558
 
/* end confdefs.h.  */
6559
 
#include <ac_nonexistent.h>
6560
 
_ACEOF
6561
 
if ac_fn_c_try_cpp "$LINENO"; then :
6562
 
  # Broken: success on invalid input.
6563
 
continue
6564
 
else
6565
 
  # Passes both tests.
6566
 
ac_preproc_ok=:
6567
 
break
6568
 
fi
6569
 
rm -f conftest.err conftest.$ac_ext
6570
 
 
6571
 
done
6572
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6573
 
rm -f conftest.err conftest.$ac_ext
6574
 
if $ac_preproc_ok; then :
6575
 
  break
6576
 
fi
6577
 
 
6578
 
    done
6579
 
    ac_cv_prog_CPP=$CPP
6580
 
 
6581
 
fi
6582
 
  CPP=$ac_cv_prog_CPP
6583
 
else
6584
 
  ac_cv_prog_CPP=$CPP
6585
 
fi
6586
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6587
 
$as_echo "$CPP" >&6; }
6588
 
ac_preproc_ok=false
6589
 
for ac_c_preproc_warn_flag in '' yes
6590
 
do
6591
 
  # Use a header file that comes with gcc, so configuring glibc
6592
 
  # with a fresh cross-compiler works.
6593
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6594
 
  # <limits.h> exists even on freestanding compilers.
6595
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6596
 
  # not just through cpp. "Syntax error" is here to catch this case.
6597
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598
 
/* end confdefs.h.  */
6599
 
#ifdef __STDC__
6600
 
# include <limits.h>
6601
 
#else
6602
 
# include <assert.h>
6603
 
#endif
6604
 
                     Syntax error
6605
 
_ACEOF
6606
 
if ac_fn_c_try_cpp "$LINENO"; then :
6607
 
 
6608
 
else
6609
 
  # Broken: fails on valid input.
6610
 
continue
6611
 
fi
6612
 
rm -f conftest.err conftest.$ac_ext
6613
 
 
6614
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6615
 
  # can be detected and how.
6616
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617
 
/* end confdefs.h.  */
6618
 
#include <ac_nonexistent.h>
6619
 
_ACEOF
6620
 
if ac_fn_c_try_cpp "$LINENO"; then :
6621
 
  # Broken: success on invalid input.
6622
 
continue
6623
 
else
6624
 
  # Passes both tests.
6625
 
ac_preproc_ok=:
6626
 
break
6627
 
fi
6628
 
rm -f conftest.err conftest.$ac_ext
6629
 
 
6630
 
done
6631
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6632
 
rm -f conftest.err conftest.$ac_ext
6633
 
if $ac_preproc_ok; then :
6634
 
 
6635
 
else
6636
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6637
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6638
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6639
 
See \`config.log' for more details." "$LINENO" 5; }
6640
 
fi
6641
 
 
6642
 
ac_ext=c
6643
 
ac_cpp='$CPP $CPPFLAGS'
6644
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6647
 
 
6648
 
 
6649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6650
 
$as_echo_n "checking for ANSI C header files... " >&6; }
6651
 
if test "${ac_cv_header_stdc+set}" = set; then :
6652
 
  $as_echo_n "(cached) " >&6
6653
 
else
6654
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655
 
/* end confdefs.h.  */
6656
 
#include <stdlib.h>
6657
 
#include <stdarg.h>
6658
 
#include <string.h>
6659
 
#include <float.h>
6660
 
 
6661
 
int
6662
 
main ()
6663
 
{
6664
 
 
6665
 
  ;
6666
 
  return 0;
6667
 
}
6668
 
_ACEOF
6669
 
if ac_fn_c_try_compile "$LINENO"; then :
6670
 
  ac_cv_header_stdc=yes
6671
 
else
6672
 
  ac_cv_header_stdc=no
6673
 
fi
6674
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6675
 
 
6676
 
if test $ac_cv_header_stdc = yes; then
6677
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6678
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679
 
/* end confdefs.h.  */
6680
 
#include <string.h>
6681
 
 
6682
 
_ACEOF
6683
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6684
 
  $EGREP "memchr" >/dev/null 2>&1; then :
6685
 
 
6686
 
else
6687
 
  ac_cv_header_stdc=no
6688
 
fi
6689
 
rm -f conftest*
6690
 
 
6691
 
fi
6692
 
 
6693
 
if test $ac_cv_header_stdc = yes; then
6694
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6695
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696
 
/* end confdefs.h.  */
6697
 
#include <stdlib.h>
6698
 
 
6699
 
_ACEOF
6700
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6701
 
  $EGREP "free" >/dev/null 2>&1; then :
6702
 
 
6703
 
else
6704
 
  ac_cv_header_stdc=no
6705
 
fi
6706
 
rm -f conftest*
6707
 
 
6708
 
fi
6709
 
 
6710
 
if test $ac_cv_header_stdc = yes; then
6711
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6712
 
  if test "$cross_compiling" = yes; then :
6713
 
  :
6714
 
else
6715
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716
 
/* end confdefs.h.  */
6717
 
#include <ctype.h>
6718
 
#include <stdlib.h>
6719
 
#if ((' ' & 0x0FF) == 0x020)
6720
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6721
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6722
 
#else
6723
 
# define ISLOWER(c) \
6724
 
                   (('a' <= (c) && (c) <= 'i') \
6725
 
                     || ('j' <= (c) && (c) <= 'r') \
6726
 
                     || ('s' <= (c) && (c) <= 'z'))
6727
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6728
 
#endif
6729
 
 
6730
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6731
 
int
6732
 
main ()
6733
 
{
6734
 
  int i;
6735
 
  for (i = 0; i < 256; i++)
6736
 
    if (XOR (islower (i), ISLOWER (i))
6737
 
        || toupper (i) != TOUPPER (i))
6738
 
      return 2;
6739
 
  return 0;
6740
 
}
6741
 
_ACEOF
6742
 
if ac_fn_c_try_run "$LINENO"; then :
6743
 
 
6744
 
else
6745
 
  ac_cv_header_stdc=no
6746
 
fi
6747
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6748
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
6749
 
fi
6750
 
 
6751
 
fi
6752
 
fi
6753
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6754
 
$as_echo "$ac_cv_header_stdc" >&6; }
6755
 
if test $ac_cv_header_stdc = yes; then
6756
 
 
6757
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6758
 
 
6759
 
fi
6760
 
 
6761
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6762
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6763
 
                  inttypes.h stdint.h unistd.h
6764
 
do :
6765
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6767
 
"
6768
 
eval as_val=\$$as_ac_Header
6769
 
   if test "x$as_val" = x""yes; then :
6770
 
  cat >>confdefs.h <<_ACEOF
6771
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6772
 
_ACEOF
6773
 
 
6774
 
fi
6775
 
 
6776
 
done
6777
 
 
6778
 
 
6779
 
for ac_header in dlfcn.h
6780
 
do :
6781
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6782
 
"
6783
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6784
 
  cat >>confdefs.h <<_ACEOF
6785
 
#define HAVE_DLFCN_H 1
6786
 
_ACEOF
6787
 
 
6788
 
fi
6789
 
 
6790
 
done
6791
 
 
6792
 
 
6793
 
 
6794
 
# Set options
6795
 
 
6796
 
 
6797
 
 
6798
 
        enable_dlopen=no
6799
 
 
6800
 
 
6801
 
  enable_win32_dll=no
6802
 
 
6803
 
 
6804
 
            # Check whether --enable-shared was given.
6805
 
if test "${enable_shared+set}" = set; then :
6806
 
  enableval=$enable_shared; p=${PACKAGE-default}
6807
 
    case $enableval in
6808
 
    yes) enable_shared=yes ;;
6809
 
    no) enable_shared=no ;;
6810
 
    *)
6811
 
      enable_shared=no
6812
 
      # Look at the argument we got.  We use all the common list separators.
6813
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6814
 
      for pkg in $enableval; do
6815
 
        IFS="$lt_save_ifs"
6816
 
        if test "X$pkg" = "X$p"; then
6817
 
          enable_shared=yes
6818
 
        fi
6819
 
      done
6820
 
      IFS="$lt_save_ifs"
6821
 
      ;;
6822
 
    esac
6823
 
else
6824
 
  enable_shared=yes
6825
 
fi
6826
 
 
6827
 
 
6828
 
 
6829
 
 
6830
 
 
6831
 
 
6832
 
 
6833
 
 
6834
 
 
6835
 
  # Check whether --enable-static was given.
6836
 
if test "${enable_static+set}" = set; then :
6837
 
  enableval=$enable_static; p=${PACKAGE-default}
6838
 
    case $enableval in
6839
 
    yes) enable_static=yes ;;
6840
 
    no) enable_static=no ;;
6841
 
    *)
6842
 
     enable_static=no
6843
 
      # Look at the argument we got.  We use all the common list separators.
6844
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6845
 
      for pkg in $enableval; do
6846
 
        IFS="$lt_save_ifs"
6847
 
        if test "X$pkg" = "X$p"; then
6848
 
          enable_static=yes
6849
 
        fi
6850
 
      done
6851
 
      IFS="$lt_save_ifs"
6852
 
      ;;
6853
 
    esac
6854
 
else
6855
 
  enable_static=yes
6856
 
fi
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
 
 
6863
 
 
6864
 
 
6865
 
 
6866
 
 
6867
 
# Check whether --with-pic was given.
6868
 
if test "${with_pic+set}" = set; then :
6869
 
  withval=$with_pic; pic_mode="$withval"
6870
 
else
6871
 
  pic_mode=default
6872
 
fi
6873
 
 
6874
 
 
6875
 
test -z "$pic_mode" && pic_mode=default
6876
 
 
6877
 
 
6878
 
 
6879
 
 
6880
 
 
6881
 
 
6882
 
 
6883
 
  # Check whether --enable-fast-install was given.
6884
 
if test "${enable_fast_install+set}" = set; then :
6885
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
6886
 
    case $enableval in
6887
 
    yes) enable_fast_install=yes ;;
6888
 
    no) enable_fast_install=no ;;
6889
 
    *)
6890
 
      enable_fast_install=no
6891
 
      # Look at the argument we got.  We use all the common list separators.
6892
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6893
 
      for pkg in $enableval; do
6894
 
        IFS="$lt_save_ifs"
6895
 
        if test "X$pkg" = "X$p"; then
6896
 
          enable_fast_install=yes
6897
 
        fi
6898
 
      done
6899
 
      IFS="$lt_save_ifs"
6900
 
      ;;
6901
 
    esac
6902
 
else
6903
 
  enable_fast_install=yes
6904
 
fi
6905
 
 
6906
 
 
6907
 
 
6908
 
 
6909
 
 
6910
 
 
6911
 
 
6912
 
 
6913
 
 
6914
 
 
6915
 
 
6916
 
# This can be used to rebuild libtool when needed
6917
 
LIBTOOL_DEPS="$ltmain"
6918
 
 
6919
 
# Always use our own libtool.
6920
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6921
 
 
6922
 
 
6923
 
 
6924
 
 
6925
 
 
6926
 
 
6927
 
 
6928
 
 
6929
 
 
6930
 
 
6931
 
 
6932
 
 
6933
 
 
6934
 
 
6935
 
 
6936
 
 
6937
 
 
6938
 
 
6939
 
 
6940
 
 
6941
 
 
6942
 
 
6943
 
 
6944
 
 
6945
 
 
6946
 
test -z "$LN_S" && LN_S="ln -s"
6947
 
 
6948
 
 
6949
 
 
6950
 
 
6951
 
 
6952
 
 
6953
 
 
6954
 
 
6955
 
 
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
 
 
6961
 
if test -n "${ZSH_VERSION+set}" ; then
6962
 
   setopt NO_GLOB_SUBST
6963
 
fi
6964
 
 
6965
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6966
 
$as_echo_n "checking for objdir... " >&6; }
6967
 
if test "${lt_cv_objdir+set}" = set; then :
6968
 
  $as_echo_n "(cached) " >&6
6969
 
else
6970
 
  rm -f .libs 2>/dev/null
6971
 
mkdir .libs 2>/dev/null
6972
 
if test -d .libs; then
6973
 
  lt_cv_objdir=.libs
6974
 
else
6975
 
  # MS-DOS does not allow filenames that begin with a dot.
6976
 
  lt_cv_objdir=_libs
6977
 
fi
6978
 
rmdir .libs 2>/dev/null
6979
 
fi
6980
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6981
 
$as_echo "$lt_cv_objdir" >&6; }
6982
 
objdir=$lt_cv_objdir
6983
 
 
6984
 
 
6985
 
 
6986
 
 
6987
 
 
6988
 
cat >>confdefs.h <<_ACEOF
6989
 
#define LT_OBJDIR "$lt_cv_objdir/"
6990
 
_ACEOF
6991
 
 
6992
 
 
6993
 
 
6994
 
 
6995
 
 
6996
 
 
6997
 
 
6998
 
 
6999
 
 
7000
 
 
7001
 
 
7002
 
 
7003
 
 
7004
 
 
7005
 
 
7006
 
 
7007
 
 
7008
 
case $host_os in
7009
 
aix3*)
7010
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7011
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7012
 
  # vanish in a puff of smoke.
7013
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7014
 
    COLLECT_NAMES=
7015
 
    export COLLECT_NAMES
7016
 
  fi
7017
 
  ;;
7018
 
esac
7019
 
 
7020
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7021
 
# metacharacters that are still active within double-quoted strings.
7022
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7023
 
 
7024
 
# Same as above, but do not quote variable references.
7025
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7026
 
 
7027
 
# Sed substitution to delay expansion of an escaped shell variable in a
7028
 
# double_quote_subst'ed string.
7029
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7030
 
 
7031
 
# Sed substitution to delay expansion of an escaped single quote.
7032
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7033
 
 
7034
 
# Sed substitution to avoid accidental globbing in evaled expressions
7035
 
no_glob_subst='s/\*/\\\*/g'
7036
 
 
7037
 
# Global variables:
7038
 
ofile=libtool
7039
 
can_build_shared=yes
7040
 
 
7041
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7042
 
# which needs '.lib').
7043
 
libext=a
7044
 
 
7045
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7046
 
 
7047
 
old_CC="$CC"
7048
 
old_CFLAGS="$CFLAGS"
7049
 
 
7050
 
# Set sane defaults for various variables
7051
 
test -z "$CC" && CC=cc
7052
 
test -z "$LTCC" && LTCC=$CC
7053
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7054
 
test -z "$LD" && LD=ld
7055
 
test -z "$ac_objext" && ac_objext=o
7056
 
 
7057
 
for cc_temp in $compiler""; do
7058
 
  case $cc_temp in
7059
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7060
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7061
 
    \-*) ;;
7062
 
    *) break;;
7063
 
  esac
7064
 
done
7065
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7066
 
 
7067
 
 
7068
 
# Only perform the check for file, if the check method requires it
7069
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7070
 
case $deplibs_check_method in
7071
 
file_magic*)
7072
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7073
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7074
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7075
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7076
 
  $as_echo_n "(cached) " >&6
7077
 
else
7078
 
  case $MAGIC_CMD in
7079
 
[\\/*] |  ?:[\\/]*)
7080
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7081
 
  ;;
7082
 
*)
7083
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7084
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7085
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7086
 
  for ac_dir in $ac_dummy; do
7087
 
    IFS="$lt_save_ifs"
7088
 
    test -z "$ac_dir" && ac_dir=.
7089
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7090
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7091
 
      if test -n "$file_magic_test_file"; then
7092
 
        case $deplibs_check_method in
7093
 
        "file_magic "*)
7094
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7095
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7096
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7097
 
            $EGREP "$file_magic_regex" > /dev/null; then
7098
 
            :
7099
 
          else
7100
 
            cat <<_LT_EOF 1>&2
7101
 
 
7102
 
*** Warning: the command libtool uses to detect shared libraries,
7103
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7104
 
*** The result is that libtool may fail to recognize shared libraries
7105
 
*** as such.  This will affect the creation of libtool libraries that
7106
 
*** depend on shared libraries, but programs linked with such libtool
7107
 
*** libraries will work regardless of this problem.  Nevertheless, you
7108
 
*** may want to report the problem to your system manager and/or to
7109
 
*** bug-libtool@gnu.org
7110
 
 
7111
 
_LT_EOF
7112
 
          fi ;;
7113
 
        esac
7114
 
      fi
7115
 
      break
7116
 
    fi
7117
 
  done
7118
 
  IFS="$lt_save_ifs"
7119
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7120
 
  ;;
7121
 
esac
7122
 
fi
7123
 
 
7124
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7125
 
if test -n "$MAGIC_CMD"; then
7126
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7127
 
$as_echo "$MAGIC_CMD" >&6; }
7128
 
else
7129
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130
 
$as_echo "no" >&6; }
7131
 
fi
7132
 
 
7133
 
 
7134
 
 
7135
 
 
7136
 
 
7137
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7138
 
  if test -n "$ac_tool_prefix"; then
7139
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7140
 
$as_echo_n "checking for file... " >&6; }
7141
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7142
 
  $as_echo_n "(cached) " >&6
7143
 
else
7144
 
  case $MAGIC_CMD in
7145
 
[\\/*] |  ?:[\\/]*)
7146
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7147
 
  ;;
7148
 
*)
7149
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7150
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7151
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7152
 
  for ac_dir in $ac_dummy; do
7153
 
    IFS="$lt_save_ifs"
7154
 
    test -z "$ac_dir" && ac_dir=.
7155
 
    if test -f $ac_dir/file; then
7156
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7157
 
      if test -n "$file_magic_test_file"; then
7158
 
        case $deplibs_check_method in
7159
 
        "file_magic "*)
7160
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7161
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7162
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7163
 
            $EGREP "$file_magic_regex" > /dev/null; then
7164
 
            :
7165
 
          else
7166
 
            cat <<_LT_EOF 1>&2
7167
 
 
7168
 
*** Warning: the command libtool uses to detect shared libraries,
7169
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7170
 
*** The result is that libtool may fail to recognize shared libraries
7171
 
*** as such.  This will affect the creation of libtool libraries that
7172
 
*** depend on shared libraries, but programs linked with such libtool
7173
 
*** libraries will work regardless of this problem.  Nevertheless, you
7174
 
*** may want to report the problem to your system manager and/or to
7175
 
*** bug-libtool@gnu.org
7176
 
 
7177
 
_LT_EOF
7178
 
          fi ;;
7179
 
        esac
7180
 
      fi
7181
 
      break
7182
 
    fi
7183
 
  done
7184
 
  IFS="$lt_save_ifs"
7185
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7186
 
  ;;
7187
 
esac
7188
 
fi
7189
 
 
7190
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7191
 
if test -n "$MAGIC_CMD"; then
7192
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7193
 
$as_echo "$MAGIC_CMD" >&6; }
7194
 
else
7195
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196
 
$as_echo "no" >&6; }
7197
 
fi
7198
 
 
7199
 
 
7200
 
  else
7201
 
    MAGIC_CMD=:
7202
 
  fi
7203
 
fi
7204
 
 
7205
 
  fi
7206
 
  ;;
7207
 
esac
7208
 
 
7209
 
# Use C for the default configuration in the libtool script
7210
 
 
7211
 
lt_save_CC="$CC"
7212
 
ac_ext=c
7213
 
ac_cpp='$CPP $CPPFLAGS'
7214
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7215
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7216
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7217
 
 
7218
 
 
7219
 
# Source file extension for C test sources.
7220
 
ac_ext=c
7221
 
 
7222
 
# Object file extension for compiled C test sources.
7223
 
objext=o
7224
 
objext=$objext
7225
 
 
7226
 
# Code to be used in simple compile tests
7227
 
lt_simple_compile_test_code="int some_variable = 0;"
7228
 
 
7229
 
# Code to be used in simple link tests
7230
 
lt_simple_link_test_code='int main(){return(0);}'
7231
 
 
7232
 
 
7233
 
 
7234
 
 
7235
 
 
7236
 
 
7237
 
 
7238
 
# If no C compiler was specified, use CC.
7239
 
LTCC=${LTCC-"$CC"}
7240
 
 
7241
 
# If no C compiler flags were specified, use CFLAGS.
7242
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7243
 
 
7244
 
# Allow CC to be a program name with arguments.
7245
 
compiler=$CC
7246
 
 
7247
 
# Save the default compiler, since it gets overwritten when the other
7248
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7249
 
compiler_DEFAULT=$CC
7250
 
 
7251
 
# save warnings/boilerplate of simple test code
7252
 
ac_outfile=conftest.$ac_objext
7253
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7254
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7255
 
_lt_compiler_boilerplate=`cat conftest.err`
7256
 
$RM conftest*
7257
 
 
7258
 
ac_outfile=conftest.$ac_objext
7259
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7260
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7261
 
_lt_linker_boilerplate=`cat conftest.err`
7262
 
$RM -r conftest*
7263
 
 
7264
 
 
7265
 
if test -n "$compiler"; then
7266
 
 
7267
 
lt_prog_compiler_no_builtin_flag=
7268
 
 
7269
 
if test "$GCC" = yes; then
7270
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7271
 
 
7272
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7273
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7274
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7275
 
  $as_echo_n "(cached) " >&6
7276
 
else
7277
 
  lt_cv_prog_compiler_rtti_exceptions=no
7278
 
   ac_outfile=conftest.$ac_objext
7279
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7280
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7281
 
   # Insert the option either (1) after the last *FLAGS variable, or
7282
 
   # (2) before a word containing "conftest.", or (3) at the end.
7283
 
   # Note that $ac_compile itself does not contain backslashes and begins
7284
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7285
 
   # The option is referenced via a variable to avoid confusing sed.
7286
 
   lt_compile=`echo "$ac_compile" | $SED \
7287
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7288
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7289
 
   -e 's:$: $lt_compiler_flag:'`
7290
 
   (eval echo "\"\$as_me:7290: $lt_compile\"" >&5)
7291
 
   (eval "$lt_compile" 2>conftest.err)
7292
 
   ac_status=$?
7293
 
   cat conftest.err >&5
7294
 
   echo "$as_me:7294: \$? = $ac_status" >&5
7295
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7296
 
     # The compiler can only warn and ignore the option if not recognized
7297
 
     # So say no if there are warnings other than the usual output.
7298
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7299
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7300
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7301
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7302
 
     fi
7303
 
   fi
7304
 
   $RM conftest*
7305
 
 
7306
 
fi
7307
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7308
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7309
 
 
7310
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7311
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7312
 
else
7313
 
    :
7314
 
fi
7315
 
 
7316
 
fi
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
  lt_prog_compiler_wl=
7324
 
lt_prog_compiler_pic=
7325
 
lt_prog_compiler_static=
7326
 
 
7327
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7328
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7329
 
 
7330
 
  if test "$GCC" = yes; then
7331
 
    lt_prog_compiler_wl='-Wl,'
7332
 
    lt_prog_compiler_static='-static'
7333
 
 
7334
 
    case $host_os in
7335
 
      aix*)
7336
 
      # All AIX code is PIC.
7337
 
      if test "$host_cpu" = ia64; then
7338
 
        # AIX 5 now supports IA64 processor
7339
 
        lt_prog_compiler_static='-Bstatic'
7340
 
      fi
7341
 
      ;;
7342
 
 
7343
 
    amigaos*)
7344
 
      case $host_cpu in
7345
 
      powerpc)
7346
 
            # see comment about AmigaOS4 .so support
7347
 
            lt_prog_compiler_pic='-fPIC'
7348
 
        ;;
7349
 
      m68k)
7350
 
            # FIXME: we need at least 68020 code to build shared libraries, but
7351
 
            # adding the `-m68020' flag to GCC prevents building anything better,
7352
 
            # like `-m68040'.
7353
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7354
 
        ;;
7355
 
      esac
7356
 
      ;;
7357
 
 
7358
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7359
 
      # PIC is the default for these OSes.
7360
 
      ;;
7361
 
 
7362
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7363
 
      # This hack is so that the source file can tell whether it is being
7364
 
      # built for inclusion in a dll (and should export symbols for example).
7365
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7366
 
      # (--disable-auto-import) libraries
7367
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7368
 
      ;;
7369
 
 
7370
 
    darwin* | rhapsody*)
7371
 
      # PIC is the default on this platform
7372
 
      # Common symbols not allowed in MH_DYLIB files
7373
 
      lt_prog_compiler_pic='-fno-common'
7374
 
      ;;
7375
 
 
7376
 
    hpux*)
7377
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7378
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7379
 
      # sets the default TLS model and affects inlining.
7380
 
      case $host_cpu in
7381
 
      hppa*64*)
7382
 
        # +Z the default
7383
 
        ;;
7384
 
      *)
7385
 
        lt_prog_compiler_pic='-fPIC'
7386
 
        ;;
7387
 
      esac
7388
 
      ;;
7389
 
 
7390
 
    interix[3-9]*)
7391
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7392
 
      # Instead, we relocate shared libraries at runtime.
7393
 
      ;;
7394
 
 
7395
 
    msdosdjgpp*)
7396
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7397
 
      # on systems that don't support them.
7398
 
      lt_prog_compiler_can_build_shared=no
7399
 
      enable_shared=no
7400
 
      ;;
7401
 
 
7402
 
    *nto* | *qnx*)
7403
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7404
 
      # it will coredump.
7405
 
      lt_prog_compiler_pic='-fPIC -shared'
7406
 
      ;;
7407
 
 
7408
 
    sysv4*MP*)
7409
 
      if test -d /usr/nec; then
7410
 
        lt_prog_compiler_pic=-Kconform_pic
7411
 
      fi
7412
 
      ;;
7413
 
 
7414
 
    *)
7415
 
      lt_prog_compiler_pic='-fPIC'
7416
 
      ;;
7417
 
    esac
7418
 
  else
7419
 
    # PORTME Check for flag to pass linker flags through the system compiler.
7420
 
    case $host_os in
7421
 
    aix*)
7422
 
      lt_prog_compiler_wl='-Wl,'
7423
 
      if test "$host_cpu" = ia64; then
7424
 
        # AIX 5 now supports IA64 processor
7425
 
        lt_prog_compiler_static='-Bstatic'
7426
 
      else
7427
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7428
 
      fi
7429
 
      ;;
7430
 
 
7431
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7432
 
      # This hack is so that the source file can tell whether it is being
7433
 
      # built for inclusion in a dll (and should export symbols for example).
7434
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7435
 
      ;;
7436
 
 
7437
 
    hpux9* | hpux10* | hpux11*)
7438
 
      lt_prog_compiler_wl='-Wl,'
7439
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7440
 
      # not for PA HP-UX.
7441
 
      case $host_cpu in
7442
 
      hppa*64*|ia64*)
7443
 
        # +Z the default
7444
 
        ;;
7445
 
      *)
7446
 
        lt_prog_compiler_pic='+Z'
7447
 
        ;;
7448
 
      esac
7449
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7450
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7451
 
      ;;
7452
 
 
7453
 
    irix5* | irix6* | nonstopux*)
7454
 
      lt_prog_compiler_wl='-Wl,'
7455
 
      # PIC (with -KPIC) is the default.
7456
 
      lt_prog_compiler_static='-non_shared'
7457
 
      ;;
7458
 
 
7459
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7460
 
      case $cc_basename in
7461
 
      # old Intel for x86_64 which still supported -KPIC.
7462
 
      ecc*)
7463
 
        lt_prog_compiler_wl='-Wl,'
7464
 
        lt_prog_compiler_pic='-KPIC'
7465
 
        lt_prog_compiler_static='-static'
7466
 
        ;;
7467
 
      # icc used to be incompatible with GCC.
7468
 
      # ICC 10 doesn't accept -KPIC any more.
7469
 
      icc* | ifort*)
7470
 
        lt_prog_compiler_wl='-Wl,'
7471
 
        lt_prog_compiler_pic='-fPIC'
7472
 
        lt_prog_compiler_static='-static'
7473
 
        ;;
7474
 
      # Lahey Fortran 8.1.
7475
 
      lf95*)
7476
 
        lt_prog_compiler_wl='-Wl,'
7477
 
        lt_prog_compiler_pic='--shared'
7478
 
        lt_prog_compiler_static='--static'
7479
 
        ;;
7480
 
      pgcc* | pgf77* | pgf90* | pgf95*)
7481
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
7482
 
        # which looks to be a dead project)
7483
 
        lt_prog_compiler_wl='-Wl,'
7484
 
        lt_prog_compiler_pic='-fpic'
7485
 
        lt_prog_compiler_static='-Bstatic'
7486
 
        ;;
7487
 
      ccc*)
7488
 
        lt_prog_compiler_wl='-Wl,'
7489
 
        # All Alpha code is PIC.
7490
 
        lt_prog_compiler_static='-non_shared'
7491
 
        ;;
7492
 
      xl*)
7493
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
7494
 
        lt_prog_compiler_wl='-Wl,'
7495
 
        lt_prog_compiler_pic='-qpic'
7496
 
        lt_prog_compiler_static='-qstaticlink'
7497
 
        ;;
7498
 
      *)
7499
 
        case `$CC -V 2>&1 | sed 5q` in
7500
 
        *Sun\ C*)
7501
 
          # Sun C 5.9
7502
 
          lt_prog_compiler_pic='-KPIC'
7503
 
          lt_prog_compiler_static='-Bstatic'
7504
 
          lt_prog_compiler_wl='-Wl,'
7505
 
          ;;
7506
 
        *Sun\ F*)
7507
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7508
 
          lt_prog_compiler_pic='-KPIC'
7509
 
          lt_prog_compiler_static='-Bstatic'
7510
 
          lt_prog_compiler_wl=''
7511
 
          ;;
7512
 
        esac
7513
 
        ;;
7514
 
      esac
7515
 
      ;;
7516
 
 
7517
 
    newsos6)
7518
 
      lt_prog_compiler_pic='-KPIC'
7519
 
      lt_prog_compiler_static='-Bstatic'
7520
 
      ;;
7521
 
 
7522
 
    *nto* | *qnx*)
7523
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7524
 
      # it will coredump.
7525
 
      lt_prog_compiler_pic='-fPIC -shared'
7526
 
      ;;
7527
 
 
7528
 
    osf3* | osf4* | osf5*)
7529
 
      lt_prog_compiler_wl='-Wl,'
7530
 
      # All OSF/1 code is PIC.
7531
 
      lt_prog_compiler_static='-non_shared'
7532
 
      ;;
7533
 
 
7534
 
    rdos*)
7535
 
      lt_prog_compiler_static='-non_shared'
7536
 
      ;;
7537
 
 
7538
 
    solaris*)
7539
 
      lt_prog_compiler_pic='-KPIC'
7540
 
      lt_prog_compiler_static='-Bstatic'
7541
 
      case $cc_basename in
7542
 
      f77* | f90* | f95*)
7543
 
        lt_prog_compiler_wl='-Qoption ld ';;
7544
 
      *)
7545
 
        lt_prog_compiler_wl='-Wl,';;
7546
 
      esac
7547
 
      ;;
7548
 
 
7549
 
    sunos4*)
7550
 
      lt_prog_compiler_wl='-Qoption ld '
7551
 
      lt_prog_compiler_pic='-PIC'
7552
 
      lt_prog_compiler_static='-Bstatic'
7553
 
      ;;
7554
 
 
7555
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
7556
 
      lt_prog_compiler_wl='-Wl,'
7557
 
      lt_prog_compiler_pic='-KPIC'
7558
 
      lt_prog_compiler_static='-Bstatic'
7559
 
      ;;
7560
 
 
7561
 
    sysv4*MP*)
7562
 
      if test -d /usr/nec ;then
7563
 
        lt_prog_compiler_pic='-Kconform_pic'
7564
 
        lt_prog_compiler_static='-Bstatic'
7565
 
      fi
7566
 
      ;;
7567
 
 
7568
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7569
 
      lt_prog_compiler_wl='-Wl,'
7570
 
      lt_prog_compiler_pic='-KPIC'
7571
 
      lt_prog_compiler_static='-Bstatic'
7572
 
      ;;
7573
 
 
7574
 
    unicos*)
7575
 
      lt_prog_compiler_wl='-Wl,'
7576
 
      lt_prog_compiler_can_build_shared=no
7577
 
      ;;
7578
 
 
7579
 
    uts4*)
7580
 
      lt_prog_compiler_pic='-pic'
7581
 
      lt_prog_compiler_static='-Bstatic'
7582
 
      ;;
7583
 
 
7584
 
    *)
7585
 
      lt_prog_compiler_can_build_shared=no
7586
 
      ;;
7587
 
    esac
7588
 
  fi
7589
 
 
7590
 
case $host_os in
7591
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7592
 
  *djgpp*)
7593
 
    lt_prog_compiler_pic=
7594
 
    ;;
7595
 
  *)
7596
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7597
 
    ;;
7598
 
esac
7599
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7600
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
 
7607
 
#
7608
 
# Check to make sure the PIC flag actually works.
7609
 
#
7610
 
if test -n "$lt_prog_compiler_pic"; then
7611
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7612
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7613
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7614
 
  $as_echo_n "(cached) " >&6
7615
 
else
7616
 
  lt_cv_prog_compiler_pic_works=no
7617
 
   ac_outfile=conftest.$ac_objext
7618
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7619
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7620
 
   # Insert the option either (1) after the last *FLAGS variable, or
7621
 
   # (2) before a word containing "conftest.", or (3) at the end.
7622
 
   # Note that $ac_compile itself does not contain backslashes and begins
7623
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7624
 
   # The option is referenced via a variable to avoid confusing sed.
7625
 
   lt_compile=`echo "$ac_compile" | $SED \
7626
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7627
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7628
 
   -e 's:$: $lt_compiler_flag:'`
7629
 
   (eval echo "\"\$as_me:7629: $lt_compile\"" >&5)
7630
 
   (eval "$lt_compile" 2>conftest.err)
7631
 
   ac_status=$?
7632
 
   cat conftest.err >&5
7633
 
   echo "$as_me:7633: \$? = $ac_status" >&5
7634
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7635
 
     # The compiler can only warn and ignore the option if not recognized
7636
 
     # So say no if there are warnings other than the usual output.
7637
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7638
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7639
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7640
 
       lt_cv_prog_compiler_pic_works=yes
7641
 
     fi
7642
 
   fi
7643
 
   $RM conftest*
7644
 
 
7645
 
fi
7646
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7647
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7648
 
 
7649
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7650
 
    case $lt_prog_compiler_pic in
7651
 
     "" | " "*) ;;
7652
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7653
 
     esac
7654
 
else
7655
 
    lt_prog_compiler_pic=
7656
 
     lt_prog_compiler_can_build_shared=no
7657
 
fi
7658
 
 
7659
 
fi
7660
 
 
7661
 
 
7662
 
 
7663
 
 
7664
 
 
7665
 
 
7666
 
#
7667
 
# Check to make sure the static flag actually works.
7668
 
#
7669
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7670
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7671
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7672
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7673
 
  $as_echo_n "(cached) " >&6
7674
 
else
7675
 
  lt_cv_prog_compiler_static_works=no
7676
 
   save_LDFLAGS="$LDFLAGS"
7677
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7678
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7679
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7680
 
     # The linker can only warn and ignore the option if not recognized
7681
 
     # So say no if there are warnings
7682
 
     if test -s conftest.err; then
7683
 
       # Append any errors to the config.log.
7684
 
       cat conftest.err 1>&5
7685
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7686
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7687
 
       if diff conftest.exp conftest.er2 >/dev/null; then
7688
 
         lt_cv_prog_compiler_static_works=yes
7689
 
       fi
7690
 
     else
7691
 
       lt_cv_prog_compiler_static_works=yes
7692
 
     fi
7693
 
   fi
7694
 
   $RM -r conftest*
7695
 
   LDFLAGS="$save_LDFLAGS"
7696
 
 
7697
 
fi
7698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7699
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7700
 
 
7701
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7702
 
    :
7703
 
else
7704
 
    lt_prog_compiler_static=
7705
 
fi
7706
 
 
7707
 
 
7708
 
 
7709
 
 
7710
 
 
7711
 
 
7712
 
 
7713
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7714
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7715
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7716
 
  $as_echo_n "(cached) " >&6
7717
 
else
7718
 
  lt_cv_prog_compiler_c_o=no
7719
 
   $RM -r conftest 2>/dev/null
7720
 
   mkdir conftest
7721
 
   cd conftest
7722
 
   mkdir out
7723
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7724
 
 
7725
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7726
 
   # Insert the option either (1) after the last *FLAGS variable, or
7727
 
   # (2) before a word containing "conftest.", or (3) at the end.
7728
 
   # Note that $ac_compile itself does not contain backslashes and begins
7729
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7730
 
   lt_compile=`echo "$ac_compile" | $SED \
7731
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7732
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7733
 
   -e 's:$: $lt_compiler_flag:'`
7734
 
   (eval echo "\"\$as_me:7734: $lt_compile\"" >&5)
7735
 
   (eval "$lt_compile" 2>out/conftest.err)
7736
 
   ac_status=$?
7737
 
   cat out/conftest.err >&5
7738
 
   echo "$as_me:7738: \$? = $ac_status" >&5
7739
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7740
 
   then
7741
 
     # The compiler can only warn and ignore the option if not recognized
7742
 
     # So say no if there are warnings
7743
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7744
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7745
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7746
 
       lt_cv_prog_compiler_c_o=yes
7747
 
     fi
7748
 
   fi
7749
 
   chmod u+w . 2>&5
7750
 
   $RM conftest*
7751
 
   # SGI C++ compiler will create directory out/ii_files/ for
7752
 
   # template instantiation
7753
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7754
 
   $RM out/* && rmdir out
7755
 
   cd ..
7756
 
   $RM -r conftest
7757
 
   $RM conftest*
7758
 
 
7759
 
fi
7760
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7761
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7762
 
 
7763
 
 
7764
 
 
7765
 
 
7766
 
 
7767
 
 
7768
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7769
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7770
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7771
 
  $as_echo_n "(cached) " >&6
7772
 
else
7773
 
  lt_cv_prog_compiler_c_o=no
7774
 
   $RM -r conftest 2>/dev/null
7775
 
   mkdir conftest
7776
 
   cd conftest
7777
 
   mkdir out
7778
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7779
 
 
7780
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7781
 
   # Insert the option either (1) after the last *FLAGS variable, or
7782
 
   # (2) before a word containing "conftest.", or (3) at the end.
7783
 
   # Note that $ac_compile itself does not contain backslashes and begins
7784
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7785
 
   lt_compile=`echo "$ac_compile" | $SED \
7786
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7787
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7788
 
   -e 's:$: $lt_compiler_flag:'`
7789
 
   (eval echo "\"\$as_me:7789: $lt_compile\"" >&5)
7790
 
   (eval "$lt_compile" 2>out/conftest.err)
7791
 
   ac_status=$?
7792
 
   cat out/conftest.err >&5
7793
 
   echo "$as_me:7793: \$? = $ac_status" >&5
7794
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7795
 
   then
7796
 
     # The compiler can only warn and ignore the option if not recognized
7797
 
     # So say no if there are warnings
7798
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7799
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7800
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7801
 
       lt_cv_prog_compiler_c_o=yes
7802
 
     fi
7803
 
   fi
7804
 
   chmod u+w . 2>&5
7805
 
   $RM conftest*
7806
 
   # SGI C++ compiler will create directory out/ii_files/ for
7807
 
   # template instantiation
7808
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7809
 
   $RM out/* && rmdir out
7810
 
   cd ..
7811
 
   $RM -r conftest
7812
 
   $RM conftest*
7813
 
 
7814
 
fi
7815
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7816
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7817
 
 
7818
 
 
7819
 
 
7820
 
 
7821
 
hard_links="nottested"
7822
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7823
 
  # do not overwrite the value of need_locks provided by the user
7824
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7825
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
7826
 
  hard_links=yes
7827
 
  $RM conftest*
7828
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7829
 
  touch conftest.a
7830
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
7831
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7832
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7833
 
$as_echo "$hard_links" >&6; }
7834
 
  if test "$hard_links" = no; then
7835
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7836
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7837
 
    need_locks=warn
7838
 
  fi
7839
 
else
7840
 
  need_locks=no
7841
 
fi
7842
 
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
 
 
7848
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7849
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7850
 
 
7851
 
  runpath_var=
7852
 
  allow_undefined_flag=
7853
 
  always_export_symbols=no
7854
 
  archive_cmds=
7855
 
  archive_expsym_cmds=
7856
 
  compiler_needs_object=no
7857
 
  enable_shared_with_static_runtimes=no
7858
 
  export_dynamic_flag_spec=
7859
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7860
 
  hardcode_automatic=no
7861
 
  hardcode_direct=no
7862
 
  hardcode_direct_absolute=no
7863
 
  hardcode_libdir_flag_spec=
7864
 
  hardcode_libdir_flag_spec_ld=
7865
 
  hardcode_libdir_separator=
7866
 
  hardcode_minus_L=no
7867
 
  hardcode_shlibpath_var=unsupported
7868
 
  inherit_rpath=no
7869
 
  link_all_deplibs=unknown
7870
 
  module_cmds=
7871
 
  module_expsym_cmds=
7872
 
  old_archive_from_new_cmds=
7873
 
  old_archive_from_expsyms_cmds=
7874
 
  thread_safe_flag_spec=
7875
 
  whole_archive_flag_spec=
7876
 
  # include_expsyms should be a list of space-separated symbols to be *always*
7877
 
  # included in the symbol list
7878
 
  include_expsyms=
7879
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
7880
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7881
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7882
 
  # as well as any symbol that contains `d'.
7883
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7884
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7885
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
7886
 
  # the symbol is explicitly referenced.  Since portable code cannot
7887
 
  # rely on this symbol name, it's probably fine to never include it in
7888
 
  # preloaded symbol tables.
7889
 
  # Exclude shared library initialization/finalization symbols.
7890
 
  extract_expsyms_cmds=
7891
 
 
7892
 
  case $host_os in
7893
 
  cygwin* | mingw* | pw32* | cegcc*)
7894
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7895
 
    # When not using gcc, we currently assume that we are using
7896
 
    # Microsoft Visual C++.
7897
 
    if test "$GCC" != yes; then
7898
 
      with_gnu_ld=no
7899
 
    fi
7900
 
    ;;
7901
 
  interix*)
7902
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7903
 
    with_gnu_ld=yes
7904
 
    ;;
7905
 
  openbsd*)
7906
 
    with_gnu_ld=no
7907
 
    ;;
7908
 
  linux* | k*bsd*-gnu)
7909
 
    link_all_deplibs=no
7910
 
    ;;
7911
 
  esac
7912
 
 
7913
 
  ld_shlibs=yes
7914
 
  if test "$with_gnu_ld" = yes; then
7915
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
7916
 
    wlarc='${wl}'
7917
 
 
7918
 
    # Set some defaults for GNU ld with shared library support. These
7919
 
    # are reset later if shared libraries are not supported. Putting them
7920
 
    # here allows them to be overridden if necessary.
7921
 
    runpath_var=LD_RUN_PATH
7922
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7923
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
7924
 
    # ancient GNU ld didn't support --whole-archive et. al.
7925
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7926
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7927
 
    else
7928
 
      whole_archive_flag_spec=
7929
 
    fi
7930
 
    supports_anon_versioning=no
7931
 
    case `$LD -v 2>&1` in
7932
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
7933
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7934
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7935
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7936
 
      *\ 2.11.*) ;; # other 2.11 versions
7937
 
      *) supports_anon_versioning=yes ;;
7938
 
    esac
7939
 
 
7940
 
    # See if GNU ld supports shared libraries.
7941
 
    case $host_os in
7942
 
    aix[3-9]*)
7943
 
      # On AIX/PPC, the GNU linker is very broken
7944
 
      if test "$host_cpu" != ia64; then
7945
 
        ld_shlibs=no
7946
 
        cat <<_LT_EOF 1>&2
7947
 
 
7948
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7949
 
*** to be unable to reliably create shared libraries on AIX.
7950
 
*** Therefore, libtool is disabling shared libraries support.  If you
7951
 
*** really care for shared libraries, you may want to modify your PATH
7952
 
*** so that a non-GNU linker is found, and then restart.
7953
 
 
7954
 
_LT_EOF
7955
 
      fi
7956
 
      ;;
7957
 
 
7958
 
    amigaos*)
7959
 
      case $host_cpu in
7960
 
      powerpc)
7961
 
            # see comment about AmigaOS4 .so support
7962
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7963
 
            archive_expsym_cmds=''
7964
 
        ;;
7965
 
      m68k)
7966
 
            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)'
7967
 
            hardcode_libdir_flag_spec='-L$libdir'
7968
 
            hardcode_minus_L=yes
7969
 
        ;;
7970
 
      esac
7971
 
      ;;
7972
 
 
7973
 
    beos*)
7974
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7975
 
        allow_undefined_flag=unsupported
7976
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7977
 
        # support --undefined.  This deserves some investigation.  FIXME
7978
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7979
 
      else
7980
 
        ld_shlibs=no
7981
 
      fi
7982
 
      ;;
7983
 
 
7984
 
    cygwin* | mingw* | pw32* | cegcc*)
7985
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7986
 
      # as there is no search path for DLLs.
7987
 
      hardcode_libdir_flag_spec='-L$libdir'
7988
 
      allow_undefined_flag=unsupported
7989
 
      always_export_symbols=no
7990
 
      enable_shared_with_static_runtimes=yes
7991
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7992
 
 
7993
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7994
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7995
 
        # If the export-symbols file already is a .def file (1st line
7996
 
        # is EXPORTS), use it as is; otherwise, prepend...
7997
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7998
 
          cp $export_symbols $output_objdir/$soname.def;
7999
 
        else
8000
 
          echo EXPORTS > $output_objdir/$soname.def;
8001
 
          cat $export_symbols >> $output_objdir/$soname.def;
8002
 
        fi~
8003
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8004
 
      else
8005
 
        ld_shlibs=no
8006
 
      fi
8007
 
      ;;
8008
 
 
8009
 
    interix[3-9]*)
8010
 
      hardcode_direct=no
8011
 
      hardcode_shlibpath_var=no
8012
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8013
 
      export_dynamic_flag_spec='${wl}-E'
8014
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8015
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8016
 
      # default) and relocated if they conflict, which is a slow very memory
8017
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8018
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8019
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8020
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8021
 
      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'
8022
 
      ;;
8023
 
 
8024
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8025
 
      tmp_diet=no
8026
 
      if test "$host_os" = linux-dietlibc; then
8027
 
        case $cc_basename in
8028
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8029
 
        esac
8030
 
      fi
8031
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8032
 
         && test "$tmp_diet" = no
8033
 
      then
8034
 
        tmp_addflag=
8035
 
        tmp_sharedflag='-shared'
8036
 
        case $cc_basename,$host_cpu in
8037
 
        pgcc*)                          # Portland Group C compiler
8038
 
          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'
8039
 
          tmp_addflag=' $pic_flag'
8040
 
          ;;
8041
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8042
 
          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'
8043
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8044
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8045
 
          tmp_addflag=' -i_dynamic' ;;
8046
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8047
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8048
 
        ifc* | ifort*)                  # Intel Fortran compiler
8049
 
          tmp_addflag=' -nofor_main' ;;
8050
 
        lf95*)                          # Lahey Fortran 8.1
8051
 
          whole_archive_flag_spec=
8052
 
          tmp_sharedflag='--shared' ;;
8053
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8054
 
          tmp_sharedflag='-qmkshrobj'
8055
 
          tmp_addflag= ;;
8056
 
        esac
8057
 
        case `$CC -V 2>&1 | sed 5q` in
8058
 
        *Sun\ C*)                       # Sun C 5.9
8059
 
          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'
8060
 
          compiler_needs_object=yes
8061
 
          tmp_sharedflag='-G' ;;
8062
 
        *Sun\ F*)                       # Sun Fortran 8.3
8063
 
          tmp_sharedflag='-G' ;;
8064
 
        esac
8065
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8066
 
 
8067
 
        if test "x$supports_anon_versioning" = xyes; then
8068
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8069
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8070
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
8071
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8072
 
        fi
8073
 
 
8074
 
        case $cc_basename in
8075
 
        xlf*)
8076
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8077
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8078
 
          hardcode_libdir_flag_spec=
8079
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8080
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8081
 
          if test "x$supports_anon_versioning" = xyes; then
8082
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8083
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8084
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
8085
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8086
 
          fi
8087
 
          ;;
8088
 
        esac
8089
 
      else
8090
 
        ld_shlibs=no
8091
 
      fi
8092
 
      ;;
8093
 
 
8094
 
    netbsd* | netbsdelf*-gnu)
8095
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8096
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8097
 
        wlarc=
8098
 
      else
8099
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8100
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8101
 
      fi
8102
 
      ;;
8103
 
 
8104
 
    solaris*)
8105
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8106
 
        ld_shlibs=no
8107
 
        cat <<_LT_EOF 1>&2
8108
 
 
8109
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8110
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8111
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8112
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8113
 
*** your PATH or compiler configuration so that the native linker is
8114
 
*** used, and then restart.
8115
 
 
8116
 
_LT_EOF
8117
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8118
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8119
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8120
 
      else
8121
 
        ld_shlibs=no
8122
 
      fi
8123
 
      ;;
8124
 
 
8125
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8126
 
      case `$LD -v 2>&1` in
8127
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8128
 
        ld_shlibs=no
8129
 
        cat <<_LT_EOF 1>&2
8130
 
 
8131
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8132
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8133
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8134
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8135
 
*** your PATH or compiler configuration so that the native linker is
8136
 
*** used, and then restart.
8137
 
 
8138
 
_LT_EOF
8139
 
        ;;
8140
 
        *)
8141
 
          # For security reasons, it is highly recommended that you always
8142
 
          # use absolute paths for naming shared libraries, and exclude the
8143
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
8144
 
          # requires that you compile everything twice, which is a pain.
8145
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8146
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8147
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8148
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8149
 
          else
8150
 
            ld_shlibs=no
8151
 
          fi
8152
 
        ;;
8153
 
      esac
8154
 
      ;;
8155
 
 
8156
 
    sunos4*)
8157
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8158
 
      wlarc=
8159
 
      hardcode_direct=yes
8160
 
      hardcode_shlibpath_var=no
8161
 
      ;;
8162
 
 
8163
 
    *)
8164
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8165
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8166
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8167
 
      else
8168
 
        ld_shlibs=no
8169
 
      fi
8170
 
      ;;
8171
 
    esac
8172
 
 
8173
 
    if test "$ld_shlibs" = no; then
8174
 
      runpath_var=
8175
 
      hardcode_libdir_flag_spec=
8176
 
      export_dynamic_flag_spec=
8177
 
      whole_archive_flag_spec=
8178
 
    fi
8179
 
  else
8180
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8181
 
    case $host_os in
8182
 
    aix3*)
8183
 
      allow_undefined_flag=unsupported
8184
 
      always_export_symbols=yes
8185
 
      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'
8186
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8187
 
      # are no directories specified by -L.
8188
 
      hardcode_minus_L=yes
8189
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8190
 
        # Neither direct hardcoding nor static linking is supported with a
8191
 
        # broken collect2.
8192
 
        hardcode_direct=unsupported
8193
 
      fi
8194
 
      ;;
8195
 
 
8196
 
    aix[4-9]*)
8197
 
      if test "$host_cpu" = ia64; then
8198
 
        # On IA64, the linker does run time linking by default, so we don't
8199
 
        # have to do anything special.
8200
 
        aix_use_runtimelinking=no
8201
 
        exp_sym_flag='-Bexport'
8202
 
        no_entry_flag=""
8203
 
      else
8204
 
        # If we're using GNU nm, then we don't want the "-C" option.
8205
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8206
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8207
 
          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'
8208
 
        else
8209
 
          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'
8210
 
        fi
8211
 
        aix_use_runtimelinking=no
8212
 
 
8213
 
        # Test if we are trying to use run time linking or normal
8214
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8215
 
        # need to do runtime linking.
8216
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8217
 
          for ld_flag in $LDFLAGS; do
8218
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8219
 
            aix_use_runtimelinking=yes
8220
 
            break
8221
 
          fi
8222
 
          done
8223
 
          ;;
8224
 
        esac
8225
 
 
8226
 
        exp_sym_flag='-bexport'
8227
 
        no_entry_flag='-bnoentry'
8228
 
      fi
8229
 
 
8230
 
      # When large executables or shared objects are built, AIX ld can
8231
 
      # have problems creating the table of contents.  If linking a library
8232
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8233
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8234
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8235
 
 
8236
 
      archive_cmds=''
8237
 
      hardcode_direct=yes
8238
 
      hardcode_direct_absolute=yes
8239
 
      hardcode_libdir_separator=':'
8240
 
      link_all_deplibs=yes
8241
 
      file_list_spec='${wl}-f,'
8242
 
 
8243
 
      if test "$GCC" = yes; then
8244
 
        case $host_os in aix4.[012]|aix4.[012].*)
8245
 
        # We only want to do this on AIX 4.2 and lower, the check
8246
 
        # below for broken collect2 doesn't work under 4.3+
8247
 
          collect2name=`${CC} -print-prog-name=collect2`
8248
 
          if test -f "$collect2name" &&
8249
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8250
 
          then
8251
 
          # We have reworked collect2
8252
 
          :
8253
 
          else
8254
 
          # We have old collect2
8255
 
          hardcode_direct=unsupported
8256
 
          # It fails to find uninstalled libraries when the uninstalled
8257
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8258
 
          # to unsupported forces relinking
8259
 
          hardcode_minus_L=yes
8260
 
          hardcode_libdir_flag_spec='-L$libdir'
8261
 
          hardcode_libdir_separator=
8262
 
          fi
8263
 
          ;;
8264
 
        esac
8265
 
        shared_flag='-shared'
8266
 
        if test "$aix_use_runtimelinking" = yes; then
8267
 
          shared_flag="$shared_flag "'${wl}-G'
8268
 
        fi
8269
 
        link_all_deplibs=no
8270
 
      else
8271
 
        # not using gcc
8272
 
        if test "$host_cpu" = ia64; then
8273
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8274
 
        # chokes on -Wl,-G. The following line is correct:
8275
 
          shared_flag='-G'
8276
 
        else
8277
 
          if test "$aix_use_runtimelinking" = yes; then
8278
 
            shared_flag='${wl}-G'
8279
 
          else
8280
 
            shared_flag='${wl}-bM:SRE'
8281
 
          fi
8282
 
        fi
8283
 
      fi
8284
 
 
8285
 
      export_dynamic_flag_spec='${wl}-bexpall'
8286
 
      # It seems that -bexpall does not export symbols beginning with
8287
 
      # underscore (_), so it is better to generate a list of symbols to export.
8288
 
      always_export_symbols=yes
8289
 
      if test "$aix_use_runtimelinking" = yes; then
8290
 
        # Warning - without using the other runtime loading flags (-brtl),
8291
 
        # -berok will link without error, but may produce a broken library.
8292
 
        allow_undefined_flag='-berok'
8293
 
        # Determine the default libpath from the value encoded in an
8294
 
        # empty executable.
8295
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296
 
/* end confdefs.h.  */
8297
 
 
8298
 
int
8299
 
main ()
8300
 
{
8301
 
 
8302
 
  ;
8303
 
  return 0;
8304
 
}
8305
 
_ACEOF
8306
 
if ac_fn_c_try_link "$LINENO"; then :
8307
 
 
8308
 
lt_aix_libpath_sed='
8309
 
    /Import File Strings/,/^$/ {
8310
 
        /^0/ {
8311
 
            s/^0  *\(.*\)$/\1/
8312
 
            p
8313
 
        }
8314
 
    }'
8315
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8316
 
# Check for a 64-bit object if we didn't find anything.
8317
 
if test -z "$aix_libpath"; then
8318
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8319
 
fi
8320
 
fi
8321
 
rm -f core conftest.err conftest.$ac_objext \
8322
 
    conftest$ac_exeext conftest.$ac_ext
8323
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8324
 
 
8325
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8326
 
        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"
8327
 
      else
8328
 
        if test "$host_cpu" = ia64; then
8329
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8330
 
          allow_undefined_flag="-z nodefs"
8331
 
          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"
8332
 
        else
8333
 
         # Determine the default libpath from the value encoded in an
8334
 
         # empty executable.
8335
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336
 
/* end confdefs.h.  */
8337
 
 
8338
 
int
8339
 
main ()
8340
 
{
8341
 
 
8342
 
  ;
8343
 
  return 0;
8344
 
}
8345
 
_ACEOF
8346
 
if ac_fn_c_try_link "$LINENO"; then :
8347
 
 
8348
 
lt_aix_libpath_sed='
8349
 
    /Import File Strings/,/^$/ {
8350
 
        /^0/ {
8351
 
            s/^0  *\(.*\)$/\1/
8352
 
            p
8353
 
        }
8354
 
    }'
8355
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8356
 
# Check for a 64-bit object if we didn't find anything.
8357
 
if test -z "$aix_libpath"; then
8358
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8359
 
fi
8360
 
fi
8361
 
rm -f core conftest.err conftest.$ac_objext \
8362
 
    conftest$ac_exeext conftest.$ac_ext
8363
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8364
 
 
8365
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8366
 
          # Warning - without using the other run time loading flags,
8367
 
          # -berok will link without error, but may produce a broken library.
8368
 
          no_undefined_flag=' ${wl}-bernotok'
8369
 
          allow_undefined_flag=' ${wl}-berok'
8370
 
          # Exported symbols can be pulled into shared objects from archives
8371
 
          whole_archive_flag_spec='$convenience'
8372
 
          archive_cmds_need_lc=yes
8373
 
          # This is similar to how AIX traditionally builds its shared libraries.
8374
 
          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'
8375
 
        fi
8376
 
      fi
8377
 
      ;;
8378
 
 
8379
 
    amigaos*)
8380
 
      case $host_cpu in
8381
 
      powerpc)
8382
 
            # see comment about AmigaOS4 .so support
8383
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8384
 
            archive_expsym_cmds=''
8385
 
        ;;
8386
 
      m68k)
8387
 
            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)'
8388
 
            hardcode_libdir_flag_spec='-L$libdir'
8389
 
            hardcode_minus_L=yes
8390
 
        ;;
8391
 
      esac
8392
 
      ;;
8393
 
 
8394
 
    bsdi[45]*)
8395
 
      export_dynamic_flag_spec=-rdynamic
8396
 
      ;;
8397
 
 
8398
 
    cygwin* | mingw* | pw32* | cegcc*)
8399
 
      # When not using gcc, we currently assume that we are using
8400
 
      # Microsoft Visual C++.
8401
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8402
 
      # no search path for DLLs.
8403
 
      hardcode_libdir_flag_spec=' '
8404
 
      allow_undefined_flag=unsupported
8405
 
      # Tell ltmain to make .lib files, not .a files.
8406
 
      libext=lib
8407
 
      # Tell ltmain to make .dll files, not .so files.
8408
 
      shrext_cmds=".dll"
8409
 
      # FIXME: Setting linknames here is a bad hack.
8410
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8411
 
      # The linker will automatically build a .lib file if we build a DLL.
8412
 
      old_archive_from_new_cmds='true'
8413
 
      # FIXME: Should let the user specify the lib program.
8414
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8415
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8416
 
      enable_shared_with_static_runtimes=yes
8417
 
      ;;
8418
 
 
8419
 
    darwin* | rhapsody*)
8420
 
 
8421
 
 
8422
 
  archive_cmds_need_lc=no
8423
 
  hardcode_direct=no
8424
 
  hardcode_automatic=yes
8425
 
  hardcode_shlibpath_var=unsupported
8426
 
  whole_archive_flag_spec=''
8427
 
  link_all_deplibs=yes
8428
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
8429
 
  case $cc_basename in
8430
 
     ifort*) _lt_dar_can_shared=yes ;;
8431
 
     *) _lt_dar_can_shared=$GCC ;;
8432
 
  esac
8433
 
  if test "$_lt_dar_can_shared" = "yes"; then
8434
 
    output_verbose_link_cmd=echo
8435
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8436
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8437
 
    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}"
8438
 
    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}"
8439
 
 
8440
 
  else
8441
 
  ld_shlibs=no
8442
 
  fi
8443
 
 
8444
 
      ;;
8445
 
 
8446
 
    dgux*)
8447
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8448
 
      hardcode_libdir_flag_spec='-L$libdir'
8449
 
      hardcode_shlibpath_var=no
8450
 
      ;;
8451
 
 
8452
 
    freebsd1*)
8453
 
      ld_shlibs=no
8454
 
      ;;
8455
 
 
8456
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8457
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8458
 
    # does not break anything, and helps significantly (at the cost of a little
8459
 
    # extra space).
8460
 
    freebsd2.2*)
8461
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8462
 
      hardcode_libdir_flag_spec='-R$libdir'
8463
 
      hardcode_direct=yes
8464
 
      hardcode_shlibpath_var=no
8465
 
      ;;
8466
 
 
8467
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8468
 
    freebsd2*)
8469
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8470
 
      hardcode_direct=yes
8471
 
      hardcode_minus_L=yes
8472
 
      hardcode_shlibpath_var=no
8473
 
      ;;
8474
 
 
8475
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8476
 
    freebsd* | dragonfly*)
8477
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8478
 
      hardcode_libdir_flag_spec='-R$libdir'
8479
 
      hardcode_direct=yes
8480
 
      hardcode_shlibpath_var=no
8481
 
      ;;
8482
 
 
8483
 
    hpux9*)
8484
 
      if test "$GCC" = yes; then
8485
 
        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'
8486
 
      else
8487
 
        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'
8488
 
      fi
8489
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8490
 
      hardcode_libdir_separator=:
8491
 
      hardcode_direct=yes
8492
 
 
8493
 
      # hardcode_minus_L: Not really in the search PATH,
8494
 
      # but as the default location of the library.
8495
 
      hardcode_minus_L=yes
8496
 
      export_dynamic_flag_spec='${wl}-E'
8497
 
      ;;
8498
 
 
8499
 
    hpux10*)
8500
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8501
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8502
 
      else
8503
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8504
 
      fi
8505
 
      if test "$with_gnu_ld" = no; then
8506
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8507
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8508
 
        hardcode_libdir_separator=:
8509
 
        hardcode_direct=yes
8510
 
        hardcode_direct_absolute=yes
8511
 
        export_dynamic_flag_spec='${wl}-E'
8512
 
        # hardcode_minus_L: Not really in the search PATH,
8513
 
        # but as the default location of the library.
8514
 
        hardcode_minus_L=yes
8515
 
      fi
8516
 
      ;;
8517
 
 
8518
 
    hpux11*)
8519
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8520
 
        case $host_cpu in
8521
 
        hppa*64*)
8522
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8523
 
          ;;
8524
 
        ia64*)
8525
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8526
 
          ;;
8527
 
        *)
8528
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8529
 
          ;;
8530
 
        esac
8531
 
      else
8532
 
        case $host_cpu in
8533
 
        hppa*64*)
8534
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8535
 
          ;;
8536
 
        ia64*)
8537
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8538
 
          ;;
8539
 
        *)
8540
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8541
 
          ;;
8542
 
        esac
8543
 
      fi
8544
 
      if test "$with_gnu_ld" = no; then
8545
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8546
 
        hardcode_libdir_separator=:
8547
 
 
8548
 
        case $host_cpu in
8549
 
        hppa*64*|ia64*)
8550
 
          hardcode_direct=no
8551
 
          hardcode_shlibpath_var=no
8552
 
          ;;
8553
 
        *)
8554
 
          hardcode_direct=yes
8555
 
          hardcode_direct_absolute=yes
8556
 
          export_dynamic_flag_spec='${wl}-E'
8557
 
 
8558
 
          # hardcode_minus_L: Not really in the search PATH,
8559
 
          # but as the default location of the library.
8560
 
          hardcode_minus_L=yes
8561
 
          ;;
8562
 
        esac
8563
 
      fi
8564
 
      ;;
8565
 
 
8566
 
    irix5* | irix6* | nonstopux*)
8567
 
      if test "$GCC" = yes; then
8568
 
        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'
8569
 
        # Try to use the -exported_symbol ld option, if it does not
8570
 
        # work, assume that -exports_file does not work either and
8571
 
        # implicitly export all symbols.
8572
 
        save_LDFLAGS="$LDFLAGS"
8573
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8574
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575
 
/* end confdefs.h.  */
8576
 
int foo(void) {}
8577
 
_ACEOF
8578
 
if ac_fn_c_try_link "$LINENO"; then :
8579
 
  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'
8580
 
 
8581
 
fi
8582
 
rm -f core conftest.err conftest.$ac_objext \
8583
 
    conftest$ac_exeext conftest.$ac_ext
8584
 
        LDFLAGS="$save_LDFLAGS"
8585
 
      else
8586
 
        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'
8587
 
        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'
8588
 
      fi
8589
 
      archive_cmds_need_lc='no'
8590
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8591
 
      hardcode_libdir_separator=:
8592
 
      inherit_rpath=yes
8593
 
      link_all_deplibs=yes
8594
 
      ;;
8595
 
 
8596
 
    netbsd* | netbsdelf*-gnu)
8597
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8598
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8599
 
      else
8600
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8601
 
      fi
8602
 
      hardcode_libdir_flag_spec='-R$libdir'
8603
 
      hardcode_direct=yes
8604
 
      hardcode_shlibpath_var=no
8605
 
      ;;
8606
 
 
8607
 
    newsos6)
8608
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8609
 
      hardcode_direct=yes
8610
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8611
 
      hardcode_libdir_separator=:
8612
 
      hardcode_shlibpath_var=no
8613
 
      ;;
8614
 
 
8615
 
    *nto* | *qnx*)
8616
 
      ;;
8617
 
 
8618
 
    openbsd*)
8619
 
      if test -f /usr/libexec/ld.so; then
8620
 
        hardcode_direct=yes
8621
 
        hardcode_shlibpath_var=no
8622
 
        hardcode_direct_absolute=yes
8623
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8624
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8625
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8626
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8627
 
          export_dynamic_flag_spec='${wl}-E'
8628
 
        else
8629
 
          case $host_os in
8630
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8631
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8632
 
             hardcode_libdir_flag_spec='-R$libdir'
8633
 
             ;;
8634
 
           *)
8635
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8636
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8637
 
             ;;
8638
 
          esac
8639
 
        fi
8640
 
      else
8641
 
        ld_shlibs=no
8642
 
      fi
8643
 
      ;;
8644
 
 
8645
 
    os2*)
8646
 
      hardcode_libdir_flag_spec='-L$libdir'
8647
 
      hardcode_minus_L=yes
8648
 
      allow_undefined_flag=unsupported
8649
 
      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'
8650
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8651
 
      ;;
8652
 
 
8653
 
    osf3*)
8654
 
      if test "$GCC" = yes; then
8655
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8656
 
        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'
8657
 
      else
8658
 
        allow_undefined_flag=' -expect_unresolved \*'
8659
 
        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'
8660
 
      fi
8661
 
      archive_cmds_need_lc='no'
8662
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663
 
      hardcode_libdir_separator=:
8664
 
      ;;
8665
 
 
8666
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8667
 
      if test "$GCC" = yes; then
8668
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8669
 
        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'
8670
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8671
 
      else
8672
 
        allow_undefined_flag=' -expect_unresolved \*'
8673
 
        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'
8674
 
        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~
8675
 
        $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'
8676
 
 
8677
 
        # Both c and cxx compiler support -rpath directly
8678
 
        hardcode_libdir_flag_spec='-rpath $libdir'
8679
 
      fi
8680
 
      archive_cmds_need_lc='no'
8681
 
      hardcode_libdir_separator=:
8682
 
      ;;
8683
 
 
8684
 
    solaris*)
8685
 
      no_undefined_flag=' -z defs'
8686
 
      if test "$GCC" = yes; then
8687
 
        wlarc='${wl}'
8688
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8690
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8691
 
      else
8692
 
        case `$CC -V 2>&1` in
8693
 
        *"Compilers 5.0"*)
8694
 
          wlarc=''
8695
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8696
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8697
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8698
 
          ;;
8699
 
        *)
8700
 
          wlarc='${wl}'
8701
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8702
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8703
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8704
 
          ;;
8705
 
        esac
8706
 
      fi
8707
 
      hardcode_libdir_flag_spec='-R$libdir'
8708
 
      hardcode_shlibpath_var=no
8709
 
      case $host_os in
8710
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8711
 
      *)
8712
 
        # The compiler driver will combine and reorder linker options,
8713
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8714
 
        # but is careful enough not to reorder.
8715
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8716
 
        if test "$GCC" = yes; then
8717
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8718
 
        else
8719
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8720
 
        fi
8721
 
        ;;
8722
 
      esac
8723
 
      link_all_deplibs=yes
8724
 
      ;;
8725
 
 
8726
 
    sunos4*)
8727
 
      if test "x$host_vendor" = xsequent; then
8728
 
        # Use $CC to link under sequent, because it throws in some extra .o
8729
 
        # files that make .init and .fini sections work.
8730
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8731
 
      else
8732
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8733
 
      fi
8734
 
      hardcode_libdir_flag_spec='-L$libdir'
8735
 
      hardcode_direct=yes
8736
 
      hardcode_minus_L=yes
8737
 
      hardcode_shlibpath_var=no
8738
 
      ;;
8739
 
 
8740
 
    sysv4)
8741
 
      case $host_vendor in
8742
 
        sni)
8743
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744
 
          hardcode_direct=yes # is this really true???
8745
 
        ;;
8746
 
        siemens)
8747
 
          ## LD is ld it makes a PLAMLIB
8748
 
          ## CC just makes a GrossModule.
8749
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8750
 
          reload_cmds='$CC -r -o $output$reload_objs'
8751
 
          hardcode_direct=no
8752
 
        ;;
8753
 
        motorola)
8754
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8756
 
        ;;
8757
 
      esac
8758
 
      runpath_var='LD_RUN_PATH'
8759
 
      hardcode_shlibpath_var=no
8760
 
      ;;
8761
 
 
8762
 
    sysv4.3*)
8763
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8764
 
      hardcode_shlibpath_var=no
8765
 
      export_dynamic_flag_spec='-Bexport'
8766
 
      ;;
8767
 
 
8768
 
    sysv4*MP*)
8769
 
      if test -d /usr/nec; then
8770
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771
 
        hardcode_shlibpath_var=no
8772
 
        runpath_var=LD_RUN_PATH
8773
 
        hardcode_runpath_var=yes
8774
 
        ld_shlibs=yes
8775
 
      fi
8776
 
      ;;
8777
 
 
8778
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8779
 
      no_undefined_flag='${wl}-z,text'
8780
 
      archive_cmds_need_lc=no
8781
 
      hardcode_shlibpath_var=no
8782
 
      runpath_var='LD_RUN_PATH'
8783
 
 
8784
 
      if test "$GCC" = yes; then
8785
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8786
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8787
 
      else
8788
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8789
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8790
 
      fi
8791
 
      ;;
8792
 
 
8793
 
    sysv5* | sco3.2v5* | sco5v6*)
8794
 
      # Note: We can NOT use -z defs as we might desire, because we do not
8795
 
      # link with -lc, and that would cause any symbols used from libc to
8796
 
      # always be unresolved, which means just about no library would
8797
 
      # ever link correctly.  If we're not using GNU ld we use -z text
8798
 
      # though, which does catch some bad symbols but isn't as heavy-handed
8799
 
      # as -z defs.
8800
 
      no_undefined_flag='${wl}-z,text'
8801
 
      allow_undefined_flag='${wl}-z,nodefs'
8802
 
      archive_cmds_need_lc=no
8803
 
      hardcode_shlibpath_var=no
8804
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8805
 
      hardcode_libdir_separator=':'
8806
 
      link_all_deplibs=yes
8807
 
      export_dynamic_flag_spec='${wl}-Bexport'
8808
 
      runpath_var='LD_RUN_PATH'
8809
 
 
8810
 
      if test "$GCC" = yes; then
8811
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8812
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8813
 
      else
8814
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8815
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8816
 
      fi
8817
 
      ;;
8818
 
 
8819
 
    uts4*)
8820
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8821
 
      hardcode_libdir_flag_spec='-L$libdir'
8822
 
      hardcode_shlibpath_var=no
8823
 
      ;;
8824
 
 
8825
 
    *)
8826
 
      ld_shlibs=no
8827
 
      ;;
8828
 
    esac
8829
 
 
8830
 
    if test x$host_vendor = xsni; then
8831
 
      case $host in
8832
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8833
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
8834
 
        ;;
8835
 
      esac
8836
 
    fi
8837
 
  fi
8838
 
 
8839
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8840
 
$as_echo "$ld_shlibs" >&6; }
8841
 
test "$ld_shlibs" = no && can_build_shared=no
8842
 
 
8843
 
with_gnu_ld=$with_gnu_ld
8844
 
 
8845
 
 
8846
 
 
8847
 
 
8848
 
 
8849
 
 
8850
 
 
8851
 
 
8852
 
 
8853
 
 
8854
 
 
8855
 
 
8856
 
 
8857
 
 
8858
 
 
8859
 
#
8860
 
# Do we need to explicitly link libc?
8861
 
#
8862
 
case "x$archive_cmds_need_lc" in
8863
 
x|xyes)
8864
 
  # Assume -lc should be added
8865
 
  archive_cmds_need_lc=yes
8866
 
 
8867
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8868
 
    case $archive_cmds in
8869
 
    *'~'*)
8870
 
      # FIXME: we may have to deal with multi-command sequences.
8871
 
      ;;
8872
 
    '$CC '*)
8873
 
      # Test whether the compiler implicitly links with -lc since on some
8874
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8875
 
      # to ld, don't add -lc before -lgcc.
8876
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8877
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8878
 
      $RM conftest*
8879
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8880
 
 
8881
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8882
 
  (eval $ac_compile) 2>&5
8883
 
  ac_status=$?
8884
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8885
 
  test $ac_status = 0; } 2>conftest.err; then
8886
 
        soname=conftest
8887
 
        lib=conftest
8888
 
        libobjs=conftest.$ac_objext
8889
 
        deplibs=
8890
 
        wl=$lt_prog_compiler_wl
8891
 
        pic_flag=$lt_prog_compiler_pic
8892
 
        compiler_flags=-v
8893
 
        linker_flags=-v
8894
 
        verstring=
8895
 
        output_objdir=.
8896
 
        libname=conftest
8897
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8898
 
        allow_undefined_flag=
8899
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8900
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8901
 
  ac_status=$?
8902
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8903
 
  test $ac_status = 0; }
8904
 
        then
8905
 
          archive_cmds_need_lc=no
8906
 
        else
8907
 
          archive_cmds_need_lc=yes
8908
 
        fi
8909
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8910
 
      else
8911
 
        cat conftest.err 1>&5
8912
 
      fi
8913
 
      $RM conftest*
8914
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8915
 
$as_echo "$archive_cmds_need_lc" >&6; }
8916
 
      ;;
8917
 
    esac
8918
 
  fi
8919
 
  ;;
8920
 
esac
8921
 
 
8922
 
 
8923
 
 
8924
 
 
8925
 
 
8926
 
 
8927
 
 
8928
 
 
8929
 
 
8930
 
 
8931
 
 
8932
 
 
8933
 
 
8934
 
 
8935
 
 
8936
 
 
8937
 
 
8938
 
 
8939
 
 
8940
 
 
8941
 
 
8942
 
 
8943
 
 
8944
 
 
8945
 
 
8946
 
 
8947
 
 
8948
 
 
8949
 
 
8950
 
 
8951
 
 
8952
 
 
8953
 
 
8954
 
 
8955
 
 
8956
 
 
8957
 
 
8958
 
 
8959
 
 
8960
 
 
8961
 
 
8962
 
 
8963
 
 
8964
 
 
8965
 
 
8966
 
 
8967
 
 
8968
 
 
8969
 
 
8970
 
 
8971
 
 
8972
 
 
8973
 
 
8974
 
 
8975
 
 
8976
 
 
8977
 
 
8978
 
 
8979
 
 
8980
 
 
8981
 
 
8982
 
 
8983
 
 
8984
 
 
8985
 
 
8986
 
 
8987
 
 
8988
 
 
8989
 
 
8990
 
 
8991
 
 
8992
 
 
8993
 
 
8994
 
 
8995
 
 
8996
 
 
8997
 
 
8998
 
 
8999
 
 
9000
 
 
9001
 
 
9002
 
 
9003
 
 
9004
 
 
9005
 
 
9006
 
 
9007
 
 
9008
 
 
9009
 
 
9010
 
 
9011
 
 
9012
 
 
9013
 
 
9014
 
 
9015
 
 
9016
 
 
9017
 
 
9018
 
 
9019
 
 
9020
 
 
9021
 
 
9022
 
 
9023
 
 
9024
 
 
9025
 
 
9026
 
 
9027
 
 
9028
 
 
9029
 
 
9030
 
 
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
 
 
9038
 
 
9039
 
 
9040
 
 
9041
 
 
9042
 
 
9043
 
 
9044
 
 
9045
 
 
9046
 
 
9047
 
 
9048
 
 
9049
 
 
9050
 
 
9051
 
 
9052
 
 
9053
 
 
9054
 
 
9055
 
 
9056
 
 
9057
 
 
9058
 
 
9059
 
 
9060
 
 
9061
 
 
9062
 
 
9063
 
 
9064
 
 
9065
 
 
9066
 
 
9067
 
 
9068
 
 
9069
 
 
9070
 
 
9071
 
 
9072
 
 
9073
 
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9079
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9080
 
 
9081
 
if test "$GCC" = yes; then
9082
 
  case $host_os in
9083
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9084
 
    *) lt_awk_arg="/^libraries:/" ;;
9085
 
  esac
9086
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9087
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9088
 
    # if the path contains ";" then we assume it to be the separator
9089
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9090
 
    # assumed that no part of a normal pathname contains ";" but that should
9091
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9092
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9093
 
  else
9094
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9095
 
  fi
9096
 
  # Ok, now we have the path, separated by spaces, we can step through it
9097
 
  # and add multilib dir if necessary.
9098
 
  lt_tmp_lt_search_path_spec=
9099
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9100
 
  for lt_sys_path in $lt_search_path_spec; do
9101
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9102
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9103
 
    else
9104
 
      test -d "$lt_sys_path" && \
9105
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9106
 
    fi
9107
 
  done
9108
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9109
 
BEGIN {RS=" "; FS="/|\n";} {
9110
 
  lt_foo="";
9111
 
  lt_count=0;
9112
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9113
 
    if ($lt_i != "" && $lt_i != ".") {
9114
 
      if ($lt_i == "..") {
9115
 
        lt_count++;
9116
 
      } else {
9117
 
        if (lt_count == 0) {
9118
 
          lt_foo="/" $lt_i lt_foo;
9119
 
        } else {
9120
 
          lt_count--;
9121
 
        }
9122
 
      }
9123
 
    }
9124
 
  }
9125
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9126
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9127
 
}'`
9128
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9129
 
else
9130
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9131
 
fi
9132
 
library_names_spec=
9133
 
libname_spec='lib$name'
9134
 
soname_spec=
9135
 
shrext_cmds=".so"
9136
 
postinstall_cmds=
9137
 
postuninstall_cmds=
9138
 
finish_cmds=
9139
 
finish_eval=
9140
 
shlibpath_var=
9141
 
shlibpath_overrides_runpath=unknown
9142
 
version_type=none
9143
 
dynamic_linker="$host_os ld.so"
9144
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9145
 
need_lib_prefix=unknown
9146
 
hardcode_into_libs=no
9147
 
 
9148
 
# when you set need_version to no, make sure it does not cause -set_version
9149
 
# flags to be left without arguments
9150
 
need_version=unknown
9151
 
 
9152
 
case $host_os in
9153
 
aix3*)
9154
 
  version_type=linux
9155
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9156
 
  shlibpath_var=LIBPATH
9157
 
 
9158
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9159
 
  soname_spec='${libname}${release}${shared_ext}$major'
9160
 
  ;;
9161
 
 
9162
 
aix[4-9]*)
9163
 
  version_type=linux
9164
 
  need_lib_prefix=no
9165
 
  need_version=no
9166
 
  hardcode_into_libs=yes
9167
 
  if test "$host_cpu" = ia64; then
9168
 
    # AIX 5 supports IA64
9169
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9170
 
    shlibpath_var=LD_LIBRARY_PATH
9171
 
  else
9172
 
    # With GCC up to 2.95.x, collect2 would create an import file
9173
 
    # for dependence libraries.  The import file would start with
9174
 
    # the line `#! .'.  This would cause the generated library to
9175
 
    # depend on `.', always an invalid library.  This was fixed in
9176
 
    # development snapshots of GCC prior to 3.0.
9177
 
    case $host_os in
9178
 
      aix4 | aix4.[01] | aix4.[01].*)
9179
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9180
 
           echo ' yes '
9181
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9182
 
        :
9183
 
      else
9184
 
        can_build_shared=no
9185
 
      fi
9186
 
      ;;
9187
 
    esac
9188
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9189
 
    # soname into executable. Probably we can add versioning support to
9190
 
    # collect2, so additional links can be useful in future.
9191
 
    if test "$aix_use_runtimelinking" = yes; then
9192
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9193
 
      # instead of lib<name>.a to let people know that these are not
9194
 
      # typical AIX shared libraries.
9195
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9196
 
    else
9197
 
      # We preserve .a as extension for shared libraries through AIX4.2
9198
 
      # and later when we are not doing run time linking.
9199
 
      library_names_spec='${libname}${release}.a $libname.a'
9200
 
      soname_spec='${libname}${release}${shared_ext}$major'
9201
 
    fi
9202
 
    shlibpath_var=LIBPATH
9203
 
  fi
9204
 
  ;;
9205
 
 
9206
 
amigaos*)
9207
 
  case $host_cpu in
9208
 
  powerpc)
9209
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9210
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9211
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9212
 
    ;;
9213
 
  m68k)
9214
 
    library_names_spec='$libname.ixlibrary $libname.a'
9215
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9216
 
    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'
9217
 
    ;;
9218
 
  esac
9219
 
  ;;
9220
 
 
9221
 
beos*)
9222
 
  library_names_spec='${libname}${shared_ext}'
9223
 
  dynamic_linker="$host_os ld.so"
9224
 
  shlibpath_var=LIBRARY_PATH
9225
 
  ;;
9226
 
 
9227
 
bsdi[45]*)
9228
 
  version_type=linux
9229
 
  need_version=no
9230
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9231
 
  soname_spec='${libname}${release}${shared_ext}$major'
9232
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9233
 
  shlibpath_var=LD_LIBRARY_PATH
9234
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9235
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9236
 
  # the default ld.so.conf also contains /usr/contrib/lib and
9237
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9238
 
  # libtool to hard-code these into programs
9239
 
  ;;
9240
 
 
9241
 
cygwin* | mingw* | pw32* | cegcc*)
9242
 
  version_type=windows
9243
 
  shrext_cmds=".dll"
9244
 
  need_version=no
9245
 
  need_lib_prefix=no
9246
 
 
9247
 
  case $GCC,$host_os in
9248
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9249
 
    library_names_spec='$libname.dll.a'
9250
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9251
 
    postinstall_cmds='base_file=`basename \${file}`~
9252
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9253
 
      dldir=$destdir/`dirname \$dlpath`~
9254
 
      test -d \$dldir || mkdir -p \$dldir~
9255
 
      $install_prog $dir/$dlname \$dldir/$dlname~
9256
 
      chmod a+x \$dldir/$dlname~
9257
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9258
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9259
 
      fi'
9260
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9261
 
      dlpath=$dir/\$dldll~
9262
 
       $RM \$dlpath'
9263
 
    shlibpath_overrides_runpath=yes
9264
 
 
9265
 
    case $host_os in
9266
 
    cygwin*)
9267
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9268
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9269
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9270
 
      ;;
9271
 
    mingw* | cegcc*)
9272
 
      # MinGW DLLs use traditional 'lib' prefix
9273
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9274
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9275
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9276
 
        # It is most probably a Windows format PATH printed by
9277
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9278
 
        # path with ; separators, and with drive letters. We can handle the
9279
 
        # drive letters (cygwin fileutils understands them), so leave them,
9280
 
        # especially as we might pass files found there to a mingw objdump,
9281
 
        # which wouldn't understand a cygwinified path. Ahh.
9282
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9283
 
      else
9284
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9285
 
      fi
9286
 
      ;;
9287
 
    pw32*)
9288
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9289
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9290
 
      ;;
9291
 
    esac
9292
 
    ;;
9293
 
 
9294
 
  *)
9295
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9296
 
    ;;
9297
 
  esac
9298
 
  dynamic_linker='Win32 ld.exe'
9299
 
  # FIXME: first we should search . and the directory the executable is in
9300
 
  shlibpath_var=PATH
9301
 
  ;;
9302
 
 
9303
 
darwin* | rhapsody*)
9304
 
  dynamic_linker="$host_os dyld"
9305
 
  version_type=darwin
9306
 
  need_lib_prefix=no
9307
 
  need_version=no
9308
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9309
 
  soname_spec='${libname}${release}${major}$shared_ext'
9310
 
  shlibpath_overrides_runpath=yes
9311
 
  shlibpath_var=DYLD_LIBRARY_PATH
9312
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9313
 
 
9314
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9315
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9316
 
  ;;
9317
 
 
9318
 
dgux*)
9319
 
  version_type=linux
9320
 
  need_lib_prefix=no
9321
 
  need_version=no
9322
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9323
 
  soname_spec='${libname}${release}${shared_ext}$major'
9324
 
  shlibpath_var=LD_LIBRARY_PATH
9325
 
  ;;
9326
 
 
9327
 
freebsd1*)
9328
 
  dynamic_linker=no
9329
 
  ;;
9330
 
 
9331
 
freebsd* | dragonfly*)
9332
 
  # DragonFly does not have aout.  When/if they implement a new
9333
 
  # versioning mechanism, adjust this.
9334
 
  if test -x /usr/bin/objformat; then
9335
 
    objformat=`/usr/bin/objformat`
9336
 
  else
9337
 
    case $host_os in
9338
 
    freebsd[123]*) objformat=aout ;;
9339
 
    *) objformat=elf ;;
9340
 
    esac
9341
 
  fi
9342
 
  version_type=freebsd-$objformat
9343
 
  case $version_type in
9344
 
    freebsd-elf*)
9345
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9346
 
      need_version=no
9347
 
      need_lib_prefix=no
9348
 
      ;;
9349
 
    freebsd-*)
9350
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9351
 
      need_version=yes
9352
 
      ;;
9353
 
  esac
9354
 
  shlibpath_var=LD_LIBRARY_PATH
9355
 
  case $host_os in
9356
 
  freebsd2*)
9357
 
    shlibpath_overrides_runpath=yes
9358
 
    ;;
9359
 
  freebsd3.[01]* | freebsdelf3.[01]*)
9360
 
    shlibpath_overrides_runpath=yes
9361
 
    hardcode_into_libs=yes
9362
 
    ;;
9363
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9364
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9365
 
    shlibpath_overrides_runpath=no
9366
 
    hardcode_into_libs=yes
9367
 
    ;;
9368
 
  *) # from 4.6 on, and DragonFly
9369
 
    shlibpath_overrides_runpath=yes
9370
 
    hardcode_into_libs=yes
9371
 
    ;;
9372
 
  esac
9373
 
  ;;
9374
 
 
9375
 
gnu*)
9376
 
  version_type=linux
9377
 
  need_lib_prefix=no
9378
 
  need_version=no
9379
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9380
 
  soname_spec='${libname}${release}${shared_ext}$major'
9381
 
  shlibpath_var=LD_LIBRARY_PATH
9382
 
  hardcode_into_libs=yes
9383
 
  ;;
9384
 
 
9385
 
hpux9* | hpux10* | hpux11*)
9386
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
9387
 
  # link against other versions.
9388
 
  version_type=sunos
9389
 
  need_lib_prefix=no
9390
 
  need_version=no
9391
 
  case $host_cpu in
9392
 
  ia64*)
9393
 
    shrext_cmds='.so'
9394
 
    hardcode_into_libs=yes
9395
 
    dynamic_linker="$host_os dld.so"
9396
 
    shlibpath_var=LD_LIBRARY_PATH
9397
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9398
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399
 
    soname_spec='${libname}${release}${shared_ext}$major'
9400
 
    if test "X$HPUX_IA64_MODE" = X32; then
9401
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9402
 
    else
9403
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9404
 
    fi
9405
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9406
 
    ;;
9407
 
  hppa*64*)
9408
 
    shrext_cmds='.sl'
9409
 
    hardcode_into_libs=yes
9410
 
    dynamic_linker="$host_os dld.sl"
9411
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9412
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9413
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9414
 
    soname_spec='${libname}${release}${shared_ext}$major'
9415
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9416
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9417
 
    ;;
9418
 
  *)
9419
 
    shrext_cmds='.sl'
9420
 
    dynamic_linker="$host_os dld.sl"
9421
 
    shlibpath_var=SHLIB_PATH
9422
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9423
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9424
 
    soname_spec='${libname}${release}${shared_ext}$major'
9425
 
    ;;
9426
 
  esac
9427
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9428
 
  postinstall_cmds='chmod 555 $lib'
9429
 
  ;;
9430
 
 
9431
 
interix[3-9]*)
9432
 
  version_type=linux
9433
 
  need_lib_prefix=no
9434
 
  need_version=no
9435
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9436
 
  soname_spec='${libname}${release}${shared_ext}$major'
9437
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9438
 
  shlibpath_var=LD_LIBRARY_PATH
9439
 
  shlibpath_overrides_runpath=no
9440
 
  hardcode_into_libs=yes
9441
 
  ;;
9442
 
 
9443
 
irix5* | irix6* | nonstopux*)
9444
 
  case $host_os in
9445
 
    nonstopux*) version_type=nonstopux ;;
9446
 
    *)
9447
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
9448
 
                version_type=linux
9449
 
        else
9450
 
                version_type=irix
9451
 
        fi ;;
9452
 
  esac
9453
 
  need_lib_prefix=no
9454
 
  need_version=no
9455
 
  soname_spec='${libname}${release}${shared_ext}$major'
9456
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9457
 
  case $host_os in
9458
 
  irix5* | nonstopux*)
9459
 
    libsuff= shlibsuff=
9460
 
    ;;
9461
 
  *)
9462
 
    case $LD in # libtool.m4 will add one of these switches to LD
9463
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9464
 
      libsuff= shlibsuff= libmagic=32-bit;;
9465
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9466
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9467
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9468
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9469
 
    *) libsuff= shlibsuff= libmagic=never-match;;
9470
 
    esac
9471
 
    ;;
9472
 
  esac
9473
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9474
 
  shlibpath_overrides_runpath=no
9475
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9476
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9477
 
  hardcode_into_libs=yes
9478
 
  ;;
9479
 
 
9480
 
# No shared lib support for Linux oldld, aout, or coff.
9481
 
linux*oldld* | linux*aout* | linux*coff*)
9482
 
  dynamic_linker=no
9483
 
  ;;
9484
 
 
9485
 
# This must be Linux ELF.
9486
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9487
 
  version_type=linux
9488
 
  need_lib_prefix=no
9489
 
  need_version=no
9490
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9491
 
  soname_spec='${libname}${release}${shared_ext}$major'
9492
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9493
 
  shlibpath_var=LD_LIBRARY_PATH
9494
 
  shlibpath_overrides_runpath=no
9495
 
  # Some binutils ld are patched to set DT_RUNPATH
9496
 
  save_LDFLAGS=$LDFLAGS
9497
 
  save_libdir=$libdir
9498
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9499
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9500
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501
 
/* end confdefs.h.  */
9502
 
 
9503
 
int
9504
 
main ()
9505
 
{
9506
 
 
9507
 
  ;
9508
 
  return 0;
9509
 
}
9510
 
_ACEOF
9511
 
if ac_fn_c_try_link "$LINENO"; then :
9512
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9513
 
  shlibpath_overrides_runpath=yes
9514
 
fi
9515
 
fi
9516
 
rm -f core conftest.err conftest.$ac_objext \
9517
 
    conftest$ac_exeext conftest.$ac_ext
9518
 
  LDFLAGS=$save_LDFLAGS
9519
 
  libdir=$save_libdir
9520
 
 
9521
 
  # This implies no fast_install, which is unacceptable.
9522
 
  # Some rework will be needed to allow for fast_install
9523
 
  # before this can be enabled.
9524
 
  hardcode_into_libs=yes
9525
 
 
9526
 
  # Append ld.so.conf contents to the search path
9527
 
  if test -f /etc/ld.so.conf; then
9528
 
    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' ' '`
9529
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9530
 
  fi
9531
 
 
9532
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9533
 
  # powerpc, because MkLinux only supported shared libraries with the
9534
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
9535
 
  # most powerpc-linux boxes support dynamic linking these days and
9536
 
  # people can always --disable-shared, the test was removed, and we
9537
 
  # assume the GNU/Linux dynamic linker is in use.
9538
 
  dynamic_linker='GNU/Linux ld.so'
9539
 
  ;;
9540
 
 
9541
 
netbsdelf*-gnu)
9542
 
  version_type=linux
9543
 
  need_lib_prefix=no
9544
 
  need_version=no
9545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9546
 
  soname_spec='${libname}${release}${shared_ext}$major'
9547
 
  shlibpath_var=LD_LIBRARY_PATH
9548
 
  shlibpath_overrides_runpath=no
9549
 
  hardcode_into_libs=yes
9550
 
  dynamic_linker='NetBSD ld.elf_so'
9551
 
  ;;
9552
 
 
9553
 
netbsd*)
9554
 
  version_type=sunos
9555
 
  need_lib_prefix=no
9556
 
  need_version=no
9557
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9558
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9559
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9560
 
    dynamic_linker='NetBSD (a.out) ld.so'
9561
 
  else
9562
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9563
 
    soname_spec='${libname}${release}${shared_ext}$major'
9564
 
    dynamic_linker='NetBSD ld.elf_so'
9565
 
  fi
9566
 
  shlibpath_var=LD_LIBRARY_PATH
9567
 
  shlibpath_overrides_runpath=yes
9568
 
  hardcode_into_libs=yes
9569
 
  ;;
9570
 
 
9571
 
newsos6)
9572
 
  version_type=linux
9573
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9574
 
  shlibpath_var=LD_LIBRARY_PATH
9575
 
  shlibpath_overrides_runpath=yes
9576
 
  ;;
9577
 
 
9578
 
*nto* | *qnx*)
9579
 
  version_type=qnx
9580
 
  need_lib_prefix=no
9581
 
  need_version=no
9582
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9583
 
  soname_spec='${libname}${release}${shared_ext}$major'
9584
 
  shlibpath_var=LD_LIBRARY_PATH
9585
 
  shlibpath_overrides_runpath=no
9586
 
  hardcode_into_libs=yes
9587
 
  dynamic_linker='ldqnx.so'
9588
 
  ;;
9589
 
 
9590
 
openbsd*)
9591
 
  version_type=sunos
9592
 
  sys_lib_dlsearch_path_spec="/usr/lib"
9593
 
  need_lib_prefix=no
9594
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9595
 
  case $host_os in
9596
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9597
 
    *)                          need_version=no  ;;
9598
 
  esac
9599
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9600
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9601
 
  shlibpath_var=LD_LIBRARY_PATH
9602
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9603
 
    case $host_os in
9604
 
      openbsd2.[89] | openbsd2.[89].*)
9605
 
        shlibpath_overrides_runpath=no
9606
 
        ;;
9607
 
      *)
9608
 
        shlibpath_overrides_runpath=yes
9609
 
        ;;
9610
 
      esac
9611
 
  else
9612
 
    shlibpath_overrides_runpath=yes
9613
 
  fi
9614
 
  ;;
9615
 
 
9616
 
os2*)
9617
 
  libname_spec='$name'
9618
 
  shrext_cmds=".dll"
9619
 
  need_lib_prefix=no
9620
 
  library_names_spec='$libname${shared_ext} $libname.a'
9621
 
  dynamic_linker='OS/2 ld.exe'
9622
 
  shlibpath_var=LIBPATH
9623
 
  ;;
9624
 
 
9625
 
osf3* | osf4* | osf5*)
9626
 
  version_type=osf
9627
 
  need_lib_prefix=no
9628
 
  need_version=no
9629
 
  soname_spec='${libname}${release}${shared_ext}$major'
9630
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9631
 
  shlibpath_var=LD_LIBRARY_PATH
9632
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9633
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9634
 
  ;;
9635
 
 
9636
 
rdos*)
9637
 
  dynamic_linker=no
9638
 
  ;;
9639
 
 
9640
 
solaris*)
9641
 
  version_type=linux
9642
 
  need_lib_prefix=no
9643
 
  need_version=no
9644
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9645
 
  soname_spec='${libname}${release}${shared_ext}$major'
9646
 
  shlibpath_var=LD_LIBRARY_PATH
9647
 
  shlibpath_overrides_runpath=yes
9648
 
  hardcode_into_libs=yes
9649
 
  # ldd complains unless libraries are executable
9650
 
  postinstall_cmds='chmod +x $lib'
9651
 
  ;;
9652
 
 
9653
 
sunos4*)
9654
 
  version_type=sunos
9655
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9656
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9657
 
  shlibpath_var=LD_LIBRARY_PATH
9658
 
  shlibpath_overrides_runpath=yes
9659
 
  if test "$with_gnu_ld" = yes; then
9660
 
    need_lib_prefix=no
9661
 
  fi
9662
 
  need_version=yes
9663
 
  ;;
9664
 
 
9665
 
sysv4 | sysv4.3*)
9666
 
  version_type=linux
9667
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9668
 
  soname_spec='${libname}${release}${shared_ext}$major'
9669
 
  shlibpath_var=LD_LIBRARY_PATH
9670
 
  case $host_vendor in
9671
 
    sni)
9672
 
      shlibpath_overrides_runpath=no
9673
 
      need_lib_prefix=no
9674
 
      runpath_var=LD_RUN_PATH
9675
 
      ;;
9676
 
    siemens)
9677
 
      need_lib_prefix=no
9678
 
      ;;
9679
 
    motorola)
9680
 
      need_lib_prefix=no
9681
 
      need_version=no
9682
 
      shlibpath_overrides_runpath=no
9683
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9684
 
      ;;
9685
 
  esac
9686
 
  ;;
9687
 
 
9688
 
sysv4*MP*)
9689
 
  if test -d /usr/nec ;then
9690
 
    version_type=linux
9691
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9692
 
    soname_spec='$libname${shared_ext}.$major'
9693
 
    shlibpath_var=LD_LIBRARY_PATH
9694
 
  fi
9695
 
  ;;
9696
 
 
9697
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9698
 
  version_type=freebsd-elf
9699
 
  need_lib_prefix=no
9700
 
  need_version=no
9701
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9702
 
  soname_spec='${libname}${release}${shared_ext}$major'
9703
 
  shlibpath_var=LD_LIBRARY_PATH
9704
 
  shlibpath_overrides_runpath=yes
9705
 
  hardcode_into_libs=yes
9706
 
  if test "$with_gnu_ld" = yes; then
9707
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9708
 
  else
9709
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9710
 
    case $host_os in
9711
 
      sco3.2v5*)
9712
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9713
 
        ;;
9714
 
    esac
9715
 
  fi
9716
 
  sys_lib_dlsearch_path_spec='/usr/lib'
9717
 
  ;;
9718
 
 
9719
 
tpf*)
9720
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9721
 
  version_type=linux
9722
 
  need_lib_prefix=no
9723
 
  need_version=no
9724
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9725
 
  shlibpath_var=LD_LIBRARY_PATH
9726
 
  shlibpath_overrides_runpath=no
9727
 
  hardcode_into_libs=yes
9728
 
  ;;
9729
 
 
9730
 
uts4*)
9731
 
  version_type=linux
9732
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9733
 
  soname_spec='${libname}${release}${shared_ext}$major'
9734
 
  shlibpath_var=LD_LIBRARY_PATH
9735
 
  ;;
9736
 
 
9737
 
*)
9738
 
  dynamic_linker=no
9739
 
  ;;
9740
 
esac
9741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9742
 
$as_echo "$dynamic_linker" >&6; }
9743
 
test "$dynamic_linker" = no && can_build_shared=no
9744
 
 
9745
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9746
 
if test "$GCC" = yes; then
9747
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9748
 
fi
9749
 
 
9750
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9751
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9752
 
fi
9753
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9754
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9755
 
fi
9756
 
 
9757
 
 
9758
 
 
9759
 
 
9760
 
 
9761
 
 
9762
 
 
9763
 
 
9764
 
 
9765
 
 
9766
 
 
9767
 
 
9768
 
 
9769
 
 
9770
 
 
9771
 
 
9772
 
 
9773
 
 
9774
 
 
9775
 
 
9776
 
 
9777
 
 
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
 
9783
 
 
9784
 
 
9785
 
 
9786
 
 
9787
 
 
9788
 
 
9789
 
 
9790
 
 
9791
 
 
9792
 
 
9793
 
 
9794
 
 
9795
 
 
9796
 
 
9797
 
 
9798
 
 
9799
 
 
9800
 
 
9801
 
 
9802
 
 
9803
 
 
9804
 
 
9805
 
 
9806
 
 
9807
 
 
9808
 
 
9809
 
 
9810
 
 
9811
 
 
9812
 
 
9813
 
 
9814
 
 
9815
 
 
9816
 
 
9817
 
 
9818
 
 
9819
 
 
9820
 
 
9821
 
 
9822
 
 
9823
 
 
9824
 
 
9825
 
 
9826
 
 
9827
 
 
9828
 
 
9829
 
 
9830
 
 
9831
 
 
9832
 
 
9833
 
 
9834
 
 
9835
 
 
9836
 
 
9837
 
 
9838
 
 
9839
 
 
9840
 
 
9841
 
 
9842
 
 
9843
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9844
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9845
 
hardcode_action=
9846
 
if test -n "$hardcode_libdir_flag_spec" ||
9847
 
   test -n "$runpath_var" ||
9848
 
   test "X$hardcode_automatic" = "Xyes" ; then
9849
 
 
9850
 
  # We can hardcode non-existent directories.
9851
 
  if test "$hardcode_direct" != no &&
9852
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9853
 
     # have to relink, otherwise we might link with an installed library
9854
 
     # when we should be linking with a yet-to-be-installed one
9855
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9856
 
     test "$hardcode_minus_L" != no; then
9857
 
    # Linking always hardcodes the temporary library directory.
9858
 
    hardcode_action=relink
9859
 
  else
9860
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9861
 
    hardcode_action=immediate
9862
 
  fi
9863
 
else
9864
 
  # We cannot hardcode anything, or else we can only hardcode existing
9865
 
  # directories.
9866
 
  hardcode_action=unsupported
9867
 
fi
9868
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9869
 
$as_echo "$hardcode_action" >&6; }
9870
 
 
9871
 
if test "$hardcode_action" = relink ||
9872
 
   test "$inherit_rpath" = yes; then
9873
 
  # Fast installation is not supported
9874
 
  enable_fast_install=no
9875
 
elif test "$shlibpath_overrides_runpath" = yes ||
9876
 
     test "$enable_shared" = no; then
9877
 
  # Fast installation is not necessary
9878
 
  enable_fast_install=needless
9879
 
fi
9880
 
 
9881
 
 
9882
 
 
9883
 
 
9884
 
 
9885
 
 
9886
 
  if test "x$enable_dlopen" != xyes; then
9887
 
  enable_dlopen=unknown
9888
 
  enable_dlopen_self=unknown
9889
 
  enable_dlopen_self_static=unknown
9890
 
else
9891
 
  lt_cv_dlopen=no
9892
 
  lt_cv_dlopen_libs=
9893
 
 
9894
 
  case $host_os in
9895
 
  beos*)
9896
 
    lt_cv_dlopen="load_add_on"
9897
 
    lt_cv_dlopen_libs=
9898
 
    lt_cv_dlopen_self=yes
9899
 
    ;;
9900
 
 
9901
 
  mingw* | pw32* | cegcc*)
9902
 
    lt_cv_dlopen="LoadLibrary"
9903
 
    lt_cv_dlopen_libs=
9904
 
    ;;
9905
 
 
9906
 
  cygwin*)
9907
 
    lt_cv_dlopen="dlopen"
9908
 
    lt_cv_dlopen_libs=
9909
 
    ;;
9910
 
 
9911
 
  darwin*)
9912
 
  # if libdl is installed we need to link against it
9913
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9914
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9915
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9916
 
  $as_echo_n "(cached) " >&6
9917
 
else
9918
 
  ac_check_lib_save_LIBS=$LIBS
9919
 
LIBS="-ldl  $LIBS"
9920
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921
 
/* end confdefs.h.  */
9922
 
 
9923
 
/* Override any GCC internal prototype to avoid an error.
9924
 
   Use char because int might match the return type of a GCC
9925
 
   builtin and then its argument prototype would still apply.  */
9926
 
#ifdef __cplusplus
9927
 
extern "C"
9928
 
#endif
9929
 
char dlopen ();
9930
 
int
9931
 
main ()
9932
 
{
9933
 
return dlopen ();
9934
 
  ;
9935
 
  return 0;
9936
 
}
9937
 
_ACEOF
9938
 
if ac_fn_c_try_link "$LINENO"; then :
9939
 
  ac_cv_lib_dl_dlopen=yes
9940
 
else
9941
 
  ac_cv_lib_dl_dlopen=no
9942
 
fi
9943
 
rm -f core conftest.err conftest.$ac_objext \
9944
 
    conftest$ac_exeext conftest.$ac_ext
9945
 
LIBS=$ac_check_lib_save_LIBS
9946
 
fi
9947
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9948
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9949
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9950
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9951
 
else
9952
 
 
9953
 
    lt_cv_dlopen="dyld"
9954
 
    lt_cv_dlopen_libs=
9955
 
    lt_cv_dlopen_self=yes
9956
 
 
9957
 
fi
9958
 
 
9959
 
    ;;
9960
 
 
9961
 
  *)
9962
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9963
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
9964
 
  lt_cv_dlopen="shl_load"
9965
 
else
9966
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9967
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9968
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9969
 
  $as_echo_n "(cached) " >&6
9970
 
else
9971
 
  ac_check_lib_save_LIBS=$LIBS
9972
 
LIBS="-ldld  $LIBS"
9973
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974
 
/* end confdefs.h.  */
9975
 
 
9976
 
/* Override any GCC internal prototype to avoid an error.
9977
 
   Use char because int might match the return type of a GCC
9978
 
   builtin and then its argument prototype would still apply.  */
9979
 
#ifdef __cplusplus
9980
 
extern "C"
9981
 
#endif
9982
 
char shl_load ();
9983
 
int
9984
 
main ()
9985
 
{
9986
 
return shl_load ();
9987
 
  ;
9988
 
  return 0;
9989
 
}
9990
 
_ACEOF
9991
 
if ac_fn_c_try_link "$LINENO"; then :
9992
 
  ac_cv_lib_dld_shl_load=yes
9993
 
else
9994
 
  ac_cv_lib_dld_shl_load=no
9995
 
fi
9996
 
rm -f core conftest.err conftest.$ac_objext \
9997
 
    conftest$ac_exeext conftest.$ac_ext
9998
 
LIBS=$ac_check_lib_save_LIBS
9999
 
fi
10000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10001
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10002
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10003
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10004
 
else
10005
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10006
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
10007
 
  lt_cv_dlopen="dlopen"
10008
 
else
10009
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10010
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10011
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10012
 
  $as_echo_n "(cached) " >&6
10013
 
else
10014
 
  ac_check_lib_save_LIBS=$LIBS
10015
 
LIBS="-ldl  $LIBS"
10016
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017
 
/* end confdefs.h.  */
10018
 
 
10019
 
/* Override any GCC internal prototype to avoid an error.
10020
 
   Use char because int might match the return type of a GCC
10021
 
   builtin and then its argument prototype would still apply.  */
10022
 
#ifdef __cplusplus
10023
 
extern "C"
10024
 
#endif
10025
 
char dlopen ();
10026
 
int
10027
 
main ()
10028
 
{
10029
 
return dlopen ();
10030
 
  ;
10031
 
  return 0;
10032
 
}
10033
 
_ACEOF
10034
 
if ac_fn_c_try_link "$LINENO"; then :
10035
 
  ac_cv_lib_dl_dlopen=yes
10036
 
else
10037
 
  ac_cv_lib_dl_dlopen=no
10038
 
fi
10039
 
rm -f core conftest.err conftest.$ac_objext \
10040
 
    conftest$ac_exeext conftest.$ac_ext
10041
 
LIBS=$ac_check_lib_save_LIBS
10042
 
fi
10043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10044
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10045
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10046
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10047
 
else
10048
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10049
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10050
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10051
 
  $as_echo_n "(cached) " >&6
10052
 
else
10053
 
  ac_check_lib_save_LIBS=$LIBS
10054
 
LIBS="-lsvld  $LIBS"
10055
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056
 
/* end confdefs.h.  */
10057
 
 
10058
 
/* Override any GCC internal prototype to avoid an error.
10059
 
   Use char because int might match the return type of a GCC
10060
 
   builtin and then its argument prototype would still apply.  */
10061
 
#ifdef __cplusplus
10062
 
extern "C"
10063
 
#endif
10064
 
char dlopen ();
10065
 
int
10066
 
main ()
10067
 
{
10068
 
return dlopen ();
10069
 
  ;
10070
 
  return 0;
10071
 
}
10072
 
_ACEOF
10073
 
if ac_fn_c_try_link "$LINENO"; then :
10074
 
  ac_cv_lib_svld_dlopen=yes
10075
 
else
10076
 
  ac_cv_lib_svld_dlopen=no
10077
 
fi
10078
 
rm -f core conftest.err conftest.$ac_objext \
10079
 
    conftest$ac_exeext conftest.$ac_ext
10080
 
LIBS=$ac_check_lib_save_LIBS
10081
 
fi
10082
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10083
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10084
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10085
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10086
 
else
10087
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10088
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10089
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10090
 
  $as_echo_n "(cached) " >&6
10091
 
else
10092
 
  ac_check_lib_save_LIBS=$LIBS
10093
 
LIBS="-ldld  $LIBS"
10094
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095
 
/* end confdefs.h.  */
10096
 
 
10097
 
/* Override any GCC internal prototype to avoid an error.
10098
 
   Use char because int might match the return type of a GCC
10099
 
   builtin and then its argument prototype would still apply.  */
10100
 
#ifdef __cplusplus
10101
 
extern "C"
10102
 
#endif
10103
 
char dld_link ();
10104
 
int
10105
 
main ()
10106
 
{
10107
 
return dld_link ();
10108
 
  ;
10109
 
  return 0;
10110
 
}
10111
 
_ACEOF
10112
 
if ac_fn_c_try_link "$LINENO"; then :
10113
 
  ac_cv_lib_dld_dld_link=yes
10114
 
else
10115
 
  ac_cv_lib_dld_dld_link=no
10116
 
fi
10117
 
rm -f core conftest.err conftest.$ac_objext \
10118
 
    conftest$ac_exeext conftest.$ac_ext
10119
 
LIBS=$ac_check_lib_save_LIBS
10120
 
fi
10121
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10122
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10123
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10124
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10125
 
fi
10126
 
 
10127
 
 
10128
 
fi
10129
 
 
10130
 
 
10131
 
fi
10132
 
 
10133
 
 
10134
 
fi
10135
 
 
10136
 
 
10137
 
fi
10138
 
 
10139
 
 
10140
 
fi
10141
 
 
10142
 
    ;;
10143
 
  esac
10144
 
 
10145
 
  if test "x$lt_cv_dlopen" != xno; then
10146
 
    enable_dlopen=yes
10147
 
  else
10148
 
    enable_dlopen=no
10149
 
  fi
10150
 
 
10151
 
  case $lt_cv_dlopen in
10152
 
  dlopen)
10153
 
    save_CPPFLAGS="$CPPFLAGS"
10154
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10155
 
 
10156
 
    save_LDFLAGS="$LDFLAGS"
10157
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10158
 
 
10159
 
    save_LIBS="$LIBS"
10160
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10161
 
 
10162
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10163
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10164
 
if test "${lt_cv_dlopen_self+set}" = set; then :
10165
 
  $as_echo_n "(cached) " >&6
10166
 
else
10167
 
          if test "$cross_compiling" = yes; then :
10168
 
  lt_cv_dlopen_self=cross
10169
 
else
10170
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10171
 
  lt_status=$lt_dlunknown
10172
 
  cat > conftest.$ac_ext <<_LT_EOF
10173
 
#line 10173 "configure"
10174
 
#include "confdefs.h"
10175
 
 
10176
 
#if HAVE_DLFCN_H
10177
 
#include <dlfcn.h>
10178
 
#endif
10179
 
 
10180
 
#include <stdio.h>
10181
 
 
10182
 
#ifdef RTLD_GLOBAL
10183
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10184
 
#else
10185
 
#  ifdef DL_GLOBAL
10186
 
#    define LT_DLGLOBAL         DL_GLOBAL
10187
 
#  else
10188
 
#    define LT_DLGLOBAL         0
10189
 
#  endif
10190
 
#endif
10191
 
 
10192
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10193
 
   find out it does not work in some platform. */
10194
 
#ifndef LT_DLLAZY_OR_NOW
10195
 
#  ifdef RTLD_LAZY
10196
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10197
 
#  else
10198
 
#    ifdef DL_LAZY
10199
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10200
 
#    else
10201
 
#      ifdef RTLD_NOW
10202
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10203
 
#      else
10204
 
#        ifdef DL_NOW
10205
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10206
 
#        else
10207
 
#          define LT_DLLAZY_OR_NOW      0
10208
 
#        endif
10209
 
#      endif
10210
 
#    endif
10211
 
#  endif
10212
 
#endif
10213
 
 
10214
 
void fnord() { int i=42;}
10215
 
int main ()
10216
 
{
10217
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10218
 
  int status = $lt_dlunknown;
10219
 
 
10220
 
  if (self)
10221
 
    {
10222
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10223
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10224
 
      /* dlclose (self); */
10225
 
    }
10226
 
  else
10227
 
    puts (dlerror ());
10228
 
 
10229
 
  return status;
10230
 
}
10231
 
_LT_EOF
10232
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10233
 
  (eval $ac_link) 2>&5
10234
 
  ac_status=$?
10235
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10236
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10237
 
    (./conftest; exit; ) >&5 2>/dev/null
10238
 
    lt_status=$?
10239
 
    case x$lt_status in
10240
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10241
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10242
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10243
 
    esac
10244
 
  else :
10245
 
    # compilation failed
10246
 
    lt_cv_dlopen_self=no
10247
 
  fi
10248
 
fi
10249
 
rm -fr conftest*
10250
 
 
10251
 
 
10252
 
fi
10253
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10254
 
$as_echo "$lt_cv_dlopen_self" >&6; }
10255
 
 
10256
 
    if test "x$lt_cv_dlopen_self" = xyes; then
10257
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10258
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10259
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10260
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10261
 
  $as_echo_n "(cached) " >&6
10262
 
else
10263
 
          if test "$cross_compiling" = yes; then :
10264
 
  lt_cv_dlopen_self_static=cross
10265
 
else
10266
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10267
 
  lt_status=$lt_dlunknown
10268
 
  cat > conftest.$ac_ext <<_LT_EOF
10269
 
#line 10269 "configure"
10270
 
#include "confdefs.h"
10271
 
 
10272
 
#if HAVE_DLFCN_H
10273
 
#include <dlfcn.h>
10274
 
#endif
10275
 
 
10276
 
#include <stdio.h>
10277
 
 
10278
 
#ifdef RTLD_GLOBAL
10279
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10280
 
#else
10281
 
#  ifdef DL_GLOBAL
10282
 
#    define LT_DLGLOBAL         DL_GLOBAL
10283
 
#  else
10284
 
#    define LT_DLGLOBAL         0
10285
 
#  endif
10286
 
#endif
10287
 
 
10288
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10289
 
   find out it does not work in some platform. */
10290
 
#ifndef LT_DLLAZY_OR_NOW
10291
 
#  ifdef RTLD_LAZY
10292
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10293
 
#  else
10294
 
#    ifdef DL_LAZY
10295
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10296
 
#    else
10297
 
#      ifdef RTLD_NOW
10298
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10299
 
#      else
10300
 
#        ifdef DL_NOW
10301
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10302
 
#        else
10303
 
#          define LT_DLLAZY_OR_NOW      0
10304
 
#        endif
10305
 
#      endif
10306
 
#    endif
10307
 
#  endif
10308
 
#endif
10309
 
 
10310
 
void fnord() { int i=42;}
10311
 
int main ()
10312
 
{
10313
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10314
 
  int status = $lt_dlunknown;
10315
 
 
10316
 
  if (self)
10317
 
    {
10318
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10319
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10320
 
      /* dlclose (self); */
10321
 
    }
10322
 
  else
10323
 
    puts (dlerror ());
10324
 
 
10325
 
  return status;
10326
 
}
10327
 
_LT_EOF
10328
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10329
 
  (eval $ac_link) 2>&5
10330
 
  ac_status=$?
10331
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10332
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10333
 
    (./conftest; exit; ) >&5 2>/dev/null
10334
 
    lt_status=$?
10335
 
    case x$lt_status in
10336
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10337
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10338
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10339
 
    esac
10340
 
  else :
10341
 
    # compilation failed
10342
 
    lt_cv_dlopen_self_static=no
10343
 
  fi
10344
 
fi
10345
 
rm -fr conftest*
10346
 
 
10347
 
 
10348
 
fi
10349
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10350
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10351
 
    fi
10352
 
 
10353
 
    CPPFLAGS="$save_CPPFLAGS"
10354
 
    LDFLAGS="$save_LDFLAGS"
10355
 
    LIBS="$save_LIBS"
10356
 
    ;;
10357
 
  esac
10358
 
 
10359
 
  case $lt_cv_dlopen_self in
10360
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10361
 
  *) enable_dlopen_self=unknown ;;
10362
 
  esac
10363
 
 
10364
 
  case $lt_cv_dlopen_self_static in
10365
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10366
 
  *) enable_dlopen_self_static=unknown ;;
10367
 
  esac
10368
 
fi
10369
 
 
10370
 
 
10371
 
 
10372
 
 
10373
 
 
10374
 
 
10375
 
 
10376
 
 
10377
 
 
10378
 
 
10379
 
 
10380
 
 
10381
 
 
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
striplib=
10387
 
old_striplib=
10388
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10389
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10390
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10391
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10392
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10393
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10394
 
$as_echo "yes" >&6; }
10395
 
else
10396
 
# FIXME - insert some real tests, host_os isn't really good enough
10397
 
  case $host_os in
10398
 
  darwin*)
10399
 
    if test -n "$STRIP" ; then
10400
 
      striplib="$STRIP -x"
10401
 
      old_striplib="$STRIP -S"
10402
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10403
 
$as_echo "yes" >&6; }
10404
 
    else
10405
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10406
 
$as_echo "no" >&6; }
10407
 
    fi
10408
 
    ;;
10409
 
  *)
10410
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10411
 
$as_echo "no" >&6; }
10412
 
    ;;
10413
 
  esac
10414
 
fi
10415
 
 
10416
 
 
10417
 
 
10418
 
 
10419
 
 
10420
 
 
10421
 
 
10422
 
 
10423
 
 
10424
 
 
10425
 
 
10426
 
 
10427
 
  # Report which library types will actually be built
10428
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10429
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10430
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10431
 
$as_echo "$can_build_shared" >&6; }
10432
 
 
10433
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10434
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
10435
 
  test "$can_build_shared" = "no" && enable_shared=no
10436
 
 
10437
 
  # On AIX, shared libraries and static libraries use the same namespace, and
10438
 
  # are all built from PIC.
10439
 
  case $host_os in
10440
 
  aix3*)
10441
 
    test "$enable_shared" = yes && enable_static=no
10442
 
    if test -n "$RANLIB"; then
10443
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10444
 
      postinstall_cmds='$RANLIB $lib'
10445
 
    fi
10446
 
    ;;
10447
 
 
10448
 
  aix[4-9]*)
10449
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10450
 
      test "$enable_shared" = yes && enable_static=no
10451
 
    fi
10452
 
    ;;
10453
 
  esac
10454
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10455
 
$as_echo "$enable_shared" >&6; }
10456
 
 
10457
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10458
 
$as_echo_n "checking whether to build static libraries... " >&6; }
10459
 
  # Make sure either enable_shared or enable_static is yes.
10460
 
  test "$enable_shared" = yes || enable_static=yes
10461
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10462
 
$as_echo "$enable_static" >&6; }
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
fi
10468
 
ac_ext=c
10469
 
ac_cpp='$CPP $CPPFLAGS'
10470
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10471
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10472
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10473
 
 
10474
 
CC="$lt_save_CC"
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
        ac_config_commands="$ac_config_commands libtool"
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
# Only expand once:
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
10499
 
$as_echo_n "checking whether NLS is requested... " >&6; }
10500
 
    # Check whether --enable-nls was given.
10501
 
if test "${enable_nls+set}" = set; then :
10502
 
  enableval=$enable_nls; USE_NLS=$enableval
10503
 
else
10504
 
  USE_NLS=yes
10505
 
fi
10506
 
 
10507
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
10508
 
$as_echo "$USE_NLS" >&6; }
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
case "$am__api_version" in
10514
 
    1.01234)
10515
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
10516
 
    ;;
10517
 
    *)
10518
 
    ;;
10519
 
esac
10520
 
 
10521
 
if test -n ""; then
10522
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
10523
 
$as_echo_n "checking for intltool >= ... " >&6; }
10524
 
 
10525
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
10526
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
10527
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
10528
 
 
10529
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
10530
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
10531
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
10532
 
        as_fn_error "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
10533
 
fi
10534
 
 
10535
 
# Extract the first word of "intltool-update", so it can be a program name with args.
10536
 
set dummy intltool-update; ac_word=$2
10537
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10538
 
$as_echo_n "checking for $ac_word... " >&6; }
10539
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
10540
 
  $as_echo_n "(cached) " >&6
10541
 
else
10542
 
  case $INTLTOOL_UPDATE in
10543
 
  [\\/]* | ?:[\\/]*)
10544
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
10545
 
  ;;
10546
 
  *)
10547
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548
 
for as_dir in $PATH
10549
 
do
10550
 
  IFS=$as_save_IFS
10551
 
  test -z "$as_dir" && as_dir=.
10552
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10553
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10554
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
10555
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10556
 
    break 2
10557
 
  fi
10558
 
done
10559
 
  done
10560
 
IFS=$as_save_IFS
10561
 
 
10562
 
  ;;
10563
 
esac
10564
 
fi
10565
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
10566
 
if test -n "$INTLTOOL_UPDATE"; then
10567
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
10568
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
10569
 
else
10570
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10571
 
$as_echo "no" >&6; }
10572
 
fi
10573
 
 
10574
 
 
10575
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
10576
 
set dummy intltool-merge; ac_word=$2
10577
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10578
 
$as_echo_n "checking for $ac_word... " >&6; }
10579
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
10580
 
  $as_echo_n "(cached) " >&6
10581
 
else
10582
 
  case $INTLTOOL_MERGE in
10583
 
  [\\/]* | ?:[\\/]*)
10584
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
10585
 
  ;;
10586
 
  *)
10587
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10588
 
for as_dir in $PATH
10589
 
do
10590
 
  IFS=$as_save_IFS
10591
 
  test -z "$as_dir" && as_dir=.
10592
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10593
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10594
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
10595
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10596
 
    break 2
10597
 
  fi
10598
 
done
10599
 
  done
10600
 
IFS=$as_save_IFS
10601
 
 
10602
 
  ;;
10603
 
esac
10604
 
fi
10605
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
10606
 
if test -n "$INTLTOOL_MERGE"; then
10607
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
10608
 
$as_echo "$INTLTOOL_MERGE" >&6; }
10609
 
else
10610
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10611
 
$as_echo "no" >&6; }
10612
 
fi
10613
 
 
10614
 
 
10615
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
10616
 
set dummy intltool-extract; ac_word=$2
10617
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10618
 
$as_echo_n "checking for $ac_word... " >&6; }
10619
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
10620
 
  $as_echo_n "(cached) " >&6
10621
 
else
10622
 
  case $INTLTOOL_EXTRACT in
10623
 
  [\\/]* | ?:[\\/]*)
10624
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
10625
 
  ;;
10626
 
  *)
10627
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10628
 
for as_dir in $PATH
10629
 
do
10630
 
  IFS=$as_save_IFS
10631
 
  test -z "$as_dir" && as_dir=.
10632
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10633
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10634
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
10635
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10636
 
    break 2
10637
 
  fi
10638
 
done
10639
 
  done
10640
 
IFS=$as_save_IFS
10641
 
 
10642
 
  ;;
10643
 
esac
10644
 
fi
10645
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
10646
 
if test -n "$INTLTOOL_EXTRACT"; then
10647
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
10648
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
10649
 
else
10650
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10651
 
$as_echo "no" >&6; }
10652
 
fi
10653
 
 
10654
 
 
10655
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
10656
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
10657
 
fi
10658
 
 
10659
 
  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 $< $@'
10660
 
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 $< $@'
10661
 
     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 $< $@'
10662
 
     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 $< $@'
10663
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
10664
 
     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 $< $@'
10665
 
   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 $< $@'
10666
 
    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 $< $@'
10667
 
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 $< $@'
10668
 
       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 $< $@'
10669
 
      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 $< $@'
10670
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
10671
 
      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 $< $@'
10672
 
      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 $< $@'
10673
 
    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 $< $@'
10674
 
  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 $< $@'
10675
 
    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 $< $@'
10676
 
    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 $< $@'
10677
 
   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 $< $@'
10678
 
 
10679
 
 
10680
 
 
10681
 
 
10682
 
 
10683
 
 
10684
 
 
10685
 
 
10686
 
 
10687
 
 
10688
 
 
10689
 
 
10690
 
 
10691
 
 
10692
 
 
10693
 
 
10694
 
 
10695
 
 
10696
 
 
10697
 
 
10698
 
 
10699
 
 
10700
 
 
10701
 
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
 
 
10708
 
 
10709
 
 
10710
 
 
10711
 
 
10712
 
 
10713
 
 
10714
 
 
10715
 
 
10716
 
 
10717
 
 
10718
 
 
10719
 
 
10720
 
 
10721
 
 
10722
 
 
10723
 
 
10724
 
 
10725
 
 
10726
 
 
10727
 
 
10728
 
 
10729
 
 
10730
 
 
10731
 
 
10732
 
 
10733
 
 
10734
 
 
10735
 
 
10736
 
 
10737
 
 
10738
 
 
10739
 
 
10740
 
 
10741
 
 
10742
 
 
10743
 
 
10744
 
 
10745
 
 
10746
 
 
10747
 
 
10748
 
 
10749
 
 
10750
 
 
10751
 
 
10752
 
 
10753
 
 
10754
 
 
10755
 
 
10756
 
 
10757
 
 
10758
 
 
10759
 
 
10760
 
 
10761
 
 
10762
 
 
10763
 
 
10764
 
 
10765
 
 
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
# Check the gettext tools to make sure they are GNU
10776
 
# Extract the first word of "xgettext", so it can be a program name with args.
10777
 
set dummy xgettext; ac_word=$2
10778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10779
 
$as_echo_n "checking for $ac_word... " >&6; }
10780
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
10781
 
  $as_echo_n "(cached) " >&6
10782
 
else
10783
 
  case $XGETTEXT in
10784
 
  [\\/]* | ?:[\\/]*)
10785
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10786
 
  ;;
10787
 
  *)
10788
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10789
 
for as_dir in $PATH
10790
 
do
10791
 
  IFS=$as_save_IFS
10792
 
  test -z "$as_dir" && as_dir=.
10793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10795
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
10796
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10797
 
    break 2
10798
 
  fi
10799
 
done
10800
 
  done
10801
 
IFS=$as_save_IFS
10802
 
 
10803
 
  ;;
10804
 
esac
10805
 
fi
10806
 
XGETTEXT=$ac_cv_path_XGETTEXT
10807
 
if test -n "$XGETTEXT"; then
10808
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
10809
 
$as_echo "$XGETTEXT" >&6; }
10810
 
else
10811
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10812
 
$as_echo "no" >&6; }
10813
 
fi
10814
 
 
10815
 
 
10816
 
# Extract the first word of "msgmerge", so it can be a program name with args.
10817
 
set dummy msgmerge; ac_word=$2
10818
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10819
 
$as_echo_n "checking for $ac_word... " >&6; }
10820
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
10821
 
  $as_echo_n "(cached) " >&6
10822
 
else
10823
 
  case $MSGMERGE in
10824
 
  [\\/]* | ?:[\\/]*)
10825
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
10826
 
  ;;
10827
 
  *)
10828
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10829
 
for as_dir in $PATH
10830
 
do
10831
 
  IFS=$as_save_IFS
10832
 
  test -z "$as_dir" && as_dir=.
10833
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10834
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10835
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
10836
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10837
 
    break 2
10838
 
  fi
10839
 
done
10840
 
  done
10841
 
IFS=$as_save_IFS
10842
 
 
10843
 
  ;;
10844
 
esac
10845
 
fi
10846
 
MSGMERGE=$ac_cv_path_MSGMERGE
10847
 
if test -n "$MSGMERGE"; then
10848
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
10849
 
$as_echo "$MSGMERGE" >&6; }
10850
 
else
10851
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10852
 
$as_echo "no" >&6; }
10853
 
fi
10854
 
 
10855
 
 
10856
 
# Extract the first word of "msgfmt", so it can be a program name with args.
10857
 
set dummy msgfmt; ac_word=$2
10858
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10859
 
$as_echo_n "checking for $ac_word... " >&6; }
10860
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
10861
 
  $as_echo_n "(cached) " >&6
10862
 
else
10863
 
  case $MSGFMT in
10864
 
  [\\/]* | ?:[\\/]*)
10865
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10866
 
  ;;
10867
 
  *)
10868
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869
 
for as_dir in $PATH
10870
 
do
10871
 
  IFS=$as_save_IFS
10872
 
  test -z "$as_dir" && as_dir=.
10873
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10874
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10875
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10876
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10877
 
    break 2
10878
 
  fi
10879
 
done
10880
 
  done
10881
 
IFS=$as_save_IFS
10882
 
 
10883
 
  ;;
10884
 
esac
10885
 
fi
10886
 
MSGFMT=$ac_cv_path_MSGFMT
10887
 
if test -n "$MSGFMT"; then
10888
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
10889
 
$as_echo "$MSGFMT" >&6; }
10890
 
else
10891
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10892
 
$as_echo "no" >&6; }
10893
 
fi
10894
 
 
10895
 
 
10896
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
10897
 
set dummy gmsgfmt; ac_word=$2
10898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10899
 
$as_echo_n "checking for $ac_word... " >&6; }
10900
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
10901
 
  $as_echo_n "(cached) " >&6
10902
 
else
10903
 
  case $GMSGFMT in
10904
 
  [\\/]* | ?:[\\/]*)
10905
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10906
 
  ;;
10907
 
  *)
10908
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10909
 
for as_dir in $PATH
10910
 
do
10911
 
  IFS=$as_save_IFS
10912
 
  test -z "$as_dir" && as_dir=.
10913
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10914
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10915
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10916
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10917
 
    break 2
10918
 
  fi
10919
 
done
10920
 
  done
10921
 
IFS=$as_save_IFS
10922
 
 
10923
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
10924
 
  ;;
10925
 
esac
10926
 
fi
10927
 
GMSGFMT=$ac_cv_path_GMSGFMT
10928
 
if test -n "$GMSGFMT"; then
10929
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
10930
 
$as_echo "$GMSGFMT" >&6; }
10931
 
else
10932
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10933
 
$as_echo "no" >&6; }
10934
 
fi
10935
 
 
10936
 
 
10937
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
10938
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
10939
 
fi
10940
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
10941
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
10942
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
10943
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
10944
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
10945
 
fi
10946
 
 
10947
 
# Extract the first word of "perl", so it can be a program name with args.
10948
 
set dummy perl; ac_word=$2
10949
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10950
 
$as_echo_n "checking for $ac_word... " >&6; }
10951
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
10952
 
  $as_echo_n "(cached) " >&6
10953
 
else
10954
 
  case $INTLTOOL_PERL in
10955
 
  [\\/]* | ?:[\\/]*)
10956
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
10957
 
  ;;
10958
 
  *)
10959
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10960
 
for as_dir in $PATH
10961
 
do
10962
 
  IFS=$as_save_IFS
10963
 
  test -z "$as_dir" && as_dir=.
10964
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10965
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10966
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
10967
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10968
 
    break 2
10969
 
  fi
10970
 
done
10971
 
  done
10972
 
IFS=$as_save_IFS
10973
 
 
10974
 
  ;;
10975
 
esac
10976
 
fi
10977
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
10978
 
if test -n "$INTLTOOL_PERL"; then
10979
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
10980
 
$as_echo "$INTLTOOL_PERL" >&6; }
10981
 
else
10982
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10983
 
$as_echo "no" >&6; }
10984
 
fi
10985
 
 
10986
 
 
10987
 
if test -z "$INTLTOOL_PERL"; then
10988
 
   as_fn_error "perl not found" "$LINENO" 5
10989
 
fi
10990
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
10991
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
10992
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
10993
 
if test $? -ne 0; then
10994
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
10995
 
else
10996
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
10997
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
10998
 
$as_echo "$IT_PERL_VERSION" >&6; }
10999
 
fi
11000
 
if test "x" != "xno-xml"; then
11001
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
11002
 
$as_echo_n "checking for XML::Parser... " >&6; }
11003
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
11004
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
11005
 
$as_echo "ok" >&6; }
11006
 
   else
11007
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
11008
 
   fi
11009
 
fi
11010
 
 
11011
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
11012
 
 
11013
 
 
11014
 
# Set DATADIRNAME correctly if it is not set yet
11015
 
# (copied from glib-gettext.m4)
11016
 
if test -z "$DATADIRNAME"; then
11017
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018
 
/* end confdefs.h.  */
11019
 
 
11020
 
int
11021
 
main ()
11022
 
{
11023
 
extern int _nl_msg_cat_cntr;
11024
 
                       return _nl_msg_cat_cntr
11025
 
  ;
11026
 
  return 0;
11027
 
}
11028
 
_ACEOF
11029
 
if ac_fn_c_try_link "$LINENO"; then :
11030
 
  DATADIRNAME=share
11031
 
else
11032
 
  case $host in
11033
 
    *-*-solaris*)
11034
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11035
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11036
 
  DATADIRNAME=share
11037
 
else
11038
 
  DATADIRNAME=lib
11039
 
fi
11040
 
 
11041
 
    ;;
11042
 
    *)
11043
 
    DATADIRNAME=lib
11044
 
    ;;
11045
 
    esac
11046
 
fi
11047
 
rm -f core conftest.err conftest.$ac_objext \
11048
 
    conftest$ac_exeext conftest.$ac_ext
11049
 
fi
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
   for ac_header in locale.h
11058
 
do :
11059
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11060
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
11061
 
  cat >>confdefs.h <<_ACEOF
11062
 
#define HAVE_LOCALE_H 1
11063
 
_ACEOF
11064
 
 
11065
 
fi
11066
 
 
11067
 
done
11068
 
 
11069
 
    if test $ac_cv_header_locale_h = yes; then
11070
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11071
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
11072
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
11073
 
  $as_echo_n "(cached) " >&6
11074
 
else
11075
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076
 
/* end confdefs.h.  */
11077
 
#include <locale.h>
11078
 
int
11079
 
main ()
11080
 
{
11081
 
return LC_MESSAGES
11082
 
  ;
11083
 
  return 0;
11084
 
}
11085
 
_ACEOF
11086
 
if ac_fn_c_try_link "$LINENO"; then :
11087
 
  am_cv_val_LC_MESSAGES=yes
11088
 
else
11089
 
  am_cv_val_LC_MESSAGES=no
11090
 
fi
11091
 
rm -f core conftest.err conftest.$ac_objext \
11092
 
    conftest$ac_exeext conftest.$ac_ext
11093
 
fi
11094
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11095
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11096
 
    if test $am_cv_val_LC_MESSAGES = yes; then
11097
 
 
11098
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11099
 
 
11100
 
    fi
11101
 
  fi
11102
 
     USE_NLS=yes
11103
 
 
11104
 
 
11105
 
    gt_cv_have_gettext=no
11106
 
 
11107
 
    CATOBJEXT=NONE
11108
 
    XGETTEXT=:
11109
 
    INTLLIBS=
11110
 
 
11111
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11112
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
11113
 
  gt_cv_func_dgettext_libintl="no"
11114
 
      libintl_extra_libs=""
11115
 
 
11116
 
      #
11117
 
      # First check in libc
11118
 
      #
11119
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11120
 
$as_echo_n "checking for ngettext in libc... " >&6; }
11121
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
11122
 
  $as_echo_n "(cached) " >&6
11123
 
else
11124
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125
 
/* end confdefs.h.  */
11126
 
 
11127
 
#include <libintl.h>
11128
 
 
11129
 
int
11130
 
main ()
11131
 
{
11132
 
return !ngettext ("","", 1)
11133
 
  ;
11134
 
  return 0;
11135
 
}
11136
 
_ACEOF
11137
 
if ac_fn_c_try_link "$LINENO"; then :
11138
 
  gt_cv_func_ngettext_libc=yes
11139
 
else
11140
 
  gt_cv_func_ngettext_libc=no
11141
 
fi
11142
 
rm -f core conftest.err conftest.$ac_objext \
11143
 
    conftest$ac_exeext conftest.$ac_ext
11144
 
 
11145
 
fi
11146
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
11147
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
11148
 
 
11149
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11150
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
11151
 
$as_echo_n "checking for dgettext in libc... " >&6; }
11152
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
11153
 
  $as_echo_n "(cached) " >&6
11154
 
else
11155
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156
 
/* end confdefs.h.  */
11157
 
 
11158
 
#include <libintl.h>
11159
 
 
11160
 
int
11161
 
main ()
11162
 
{
11163
 
return !dgettext ("","")
11164
 
  ;
11165
 
  return 0;
11166
 
}
11167
 
_ACEOF
11168
 
if ac_fn_c_try_link "$LINENO"; then :
11169
 
  gt_cv_func_dgettext_libc=yes
11170
 
else
11171
 
  gt_cv_func_dgettext_libc=no
11172
 
fi
11173
 
rm -f core conftest.err conftest.$ac_objext \
11174
 
    conftest$ac_exeext conftest.$ac_ext
11175
 
 
11176
 
fi
11177
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
11178
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
11179
 
      fi
11180
 
 
11181
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11182
 
        for ac_func in bind_textdomain_codeset
11183
 
do :
11184
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11185
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11186
 
  cat >>confdefs.h <<_ACEOF
11187
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11188
 
_ACEOF
11189
 
 
11190
 
fi
11191
 
done
11192
 
 
11193
 
      fi
11194
 
 
11195
 
      #
11196
 
      # If we don't have everything we want, check in libintl
11197
 
      #
11198
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
11199
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
11200
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11201
 
 
11202
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
11203
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11204
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
11205
 
  $as_echo_n "(cached) " >&6
11206
 
else
11207
 
  ac_check_lib_save_LIBS=$LIBS
11208
 
LIBS="-lintl  $LIBS"
11209
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210
 
/* end confdefs.h.  */
11211
 
 
11212
 
/* Override any GCC internal prototype to avoid an error.
11213
 
   Use char because int might match the return type of a GCC
11214
 
   builtin and then its argument prototype would still apply.  */
11215
 
#ifdef __cplusplus
11216
 
extern "C"
11217
 
#endif
11218
 
char bindtextdomain ();
11219
 
int
11220
 
main ()
11221
 
{
11222
 
return bindtextdomain ();
11223
 
  ;
11224
 
  return 0;
11225
 
}
11226
 
_ACEOF
11227
 
if ac_fn_c_try_link "$LINENO"; then :
11228
 
  ac_cv_lib_intl_bindtextdomain=yes
11229
 
else
11230
 
  ac_cv_lib_intl_bindtextdomain=no
11231
 
fi
11232
 
rm -f core conftest.err conftest.$ac_objext \
11233
 
    conftest$ac_exeext conftest.$ac_ext
11234
 
LIBS=$ac_check_lib_save_LIBS
11235
 
fi
11236
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11237
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11238
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
11239
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11240
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11241
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11242
 
  $as_echo_n "(cached) " >&6
11243
 
else
11244
 
  ac_check_lib_save_LIBS=$LIBS
11245
 
LIBS="-lintl  $LIBS"
11246
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247
 
/* end confdefs.h.  */
11248
 
 
11249
 
/* Override any GCC internal prototype to avoid an error.
11250
 
   Use char because int might match the return type of a GCC
11251
 
   builtin and then its argument prototype would still apply.  */
11252
 
#ifdef __cplusplus
11253
 
extern "C"
11254
 
#endif
11255
 
char ngettext ();
11256
 
int
11257
 
main ()
11258
 
{
11259
 
return ngettext ();
11260
 
  ;
11261
 
  return 0;
11262
 
}
11263
 
_ACEOF
11264
 
if ac_fn_c_try_link "$LINENO"; then :
11265
 
  ac_cv_lib_intl_ngettext=yes
11266
 
else
11267
 
  ac_cv_lib_intl_ngettext=no
11268
 
fi
11269
 
rm -f core conftest.err conftest.$ac_objext \
11270
 
    conftest$ac_exeext conftest.$ac_ext
11271
 
LIBS=$ac_check_lib_save_LIBS
11272
 
fi
11273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11274
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11275
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11276
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11277
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
11278
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
11279
 
  $as_echo_n "(cached) " >&6
11280
 
else
11281
 
  ac_check_lib_save_LIBS=$LIBS
11282
 
LIBS="-lintl  $LIBS"
11283
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284
 
/* end confdefs.h.  */
11285
 
 
11286
 
/* Override any GCC internal prototype to avoid an error.
11287
 
   Use char because int might match the return type of a GCC
11288
 
   builtin and then its argument prototype would still apply.  */
11289
 
#ifdef __cplusplus
11290
 
extern "C"
11291
 
#endif
11292
 
char dgettext ();
11293
 
int
11294
 
main ()
11295
 
{
11296
 
return dgettext ();
11297
 
  ;
11298
 
  return 0;
11299
 
}
11300
 
_ACEOF
11301
 
if ac_fn_c_try_link "$LINENO"; then :
11302
 
  ac_cv_lib_intl_dgettext=yes
11303
 
else
11304
 
  ac_cv_lib_intl_dgettext=no
11305
 
fi
11306
 
rm -f core conftest.err conftest.$ac_objext \
11307
 
    conftest$ac_exeext conftest.$ac_ext
11308
 
LIBS=$ac_check_lib_save_LIBS
11309
 
fi
11310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11311
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11312
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
11313
 
  gt_cv_func_dgettext_libintl=yes
11314
 
fi
11315
 
 
11316
 
fi
11317
 
 
11318
 
fi
11319
 
 
11320
 
 
11321
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11322
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
11323
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11324
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11325
 
$as_echo "" >&6; }
11326
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11327
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11328
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11329
 
  $as_echo_n "(cached) " >&6
11330
 
else
11331
 
  ac_check_lib_save_LIBS=$LIBS
11332
 
LIBS="-lintl -liconv $LIBS"
11333
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334
 
/* end confdefs.h.  */
11335
 
 
11336
 
/* Override any GCC internal prototype to avoid an error.
11337
 
   Use char because int might match the return type of a GCC
11338
 
   builtin and then its argument prototype would still apply.  */
11339
 
#ifdef __cplusplus
11340
 
extern "C"
11341
 
#endif
11342
 
char ngettext ();
11343
 
int
11344
 
main ()
11345
 
{
11346
 
return ngettext ();
11347
 
  ;
11348
 
  return 0;
11349
 
}
11350
 
_ACEOF
11351
 
if ac_fn_c_try_link "$LINENO"; then :
11352
 
  ac_cv_lib_intl_ngettext=yes
11353
 
else
11354
 
  ac_cv_lib_intl_ngettext=no
11355
 
fi
11356
 
rm -f core conftest.err conftest.$ac_objext \
11357
 
    conftest$ac_exeext conftest.$ac_ext
11358
 
LIBS=$ac_check_lib_save_LIBS
11359
 
fi
11360
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11361
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11362
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11363
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11364
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
11365
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
11366
 
  $as_echo_n "(cached) " >&6
11367
 
else
11368
 
  ac_check_lib_save_LIBS=$LIBS
11369
 
LIBS="-lintl -liconv $LIBS"
11370
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371
 
/* end confdefs.h.  */
11372
 
 
11373
 
/* Override any GCC internal prototype to avoid an error.
11374
 
   Use char because int might match the return type of a GCC
11375
 
   builtin and then its argument prototype would still apply.  */
11376
 
#ifdef __cplusplus
11377
 
extern "C"
11378
 
#endif
11379
 
char dcgettext ();
11380
 
int
11381
 
main ()
11382
 
{
11383
 
return dcgettext ();
11384
 
  ;
11385
 
  return 0;
11386
 
}
11387
 
_ACEOF
11388
 
if ac_fn_c_try_link "$LINENO"; then :
11389
 
  ac_cv_lib_intl_dcgettext=yes
11390
 
else
11391
 
  ac_cv_lib_intl_dcgettext=no
11392
 
fi
11393
 
rm -f core conftest.err conftest.$ac_objext \
11394
 
    conftest$ac_exeext conftest.$ac_ext
11395
 
LIBS=$ac_check_lib_save_LIBS
11396
 
fi
11397
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11398
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11399
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
11400
 
  gt_cv_func_dgettext_libintl=yes
11401
 
                        libintl_extra_libs=-liconv
11402
 
else
11403
 
  :
11404
 
fi
11405
 
 
11406
 
else
11407
 
  :
11408
 
fi
11409
 
 
11410
 
        fi
11411
 
 
11412
 
        #
11413
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
11414
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
11415
 
        # and both have dgettext and ngettext
11416
 
        #
11417
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11418
 
          glib_save_LIBS="$LIBS"
11419
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
11420
 
          unset ac_cv_func_bind_textdomain_codeset
11421
 
          for ac_func in bind_textdomain_codeset
11422
 
do :
11423
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11424
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11425
 
  cat >>confdefs.h <<_ACEOF
11426
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11427
 
_ACEOF
11428
 
 
11429
 
fi
11430
 
done
11431
 
 
11432
 
          LIBS="$glib_save_LIBS"
11433
 
 
11434
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
11435
 
            gt_cv_func_dgettext_libc=no
11436
 
          else
11437
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
11438
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
11439
 
              gt_cv_func_dgettext_libintl=no
11440
 
            fi
11441
 
          fi
11442
 
        fi
11443
 
      fi
11444
 
 
11445
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
11446
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
11447
 
        gt_cv_have_gettext=yes
11448
 
      fi
11449
 
 
11450
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
11451
 
        INTLLIBS="-lintl $libintl_extra_libs"
11452
 
      fi
11453
 
 
11454
 
      if test "$gt_cv_have_gettext" = "yes"; then
11455
 
 
11456
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11457
 
 
11458
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
11459
 
set dummy msgfmt; ac_word=$2
11460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11461
 
$as_echo_n "checking for $ac_word... " >&6; }
11462
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11463
 
  $as_echo_n "(cached) " >&6
11464
 
else
11465
 
  case "$MSGFMT" in
11466
 
  /*)
11467
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11468
 
  ;;
11469
 
  *)
11470
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11471
 
  for ac_dir in $PATH; do
11472
 
    test -z "$ac_dir" && ac_dir=.
11473
 
    if test -f $ac_dir/$ac_word; then
11474
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
11475
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
11476
 
        break
11477
 
      fi
11478
 
    fi
11479
 
  done
11480
 
  IFS="$ac_save_ifs"
11481
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
11482
 
  ;;
11483
 
esac
11484
 
fi
11485
 
MSGFMT="$ac_cv_path_MSGFMT"
11486
 
if test "$MSGFMT" != "no"; then
11487
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11488
 
$as_echo "$MSGFMT" >&6; }
11489
 
else
11490
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11491
 
$as_echo "no" >&6; }
11492
 
fi
11493
 
        if test "$MSGFMT" != "no"; then
11494
 
          glib_save_LIBS="$LIBS"
11495
 
          LIBS="$LIBS $INTLLIBS"
11496
 
          for ac_func in dcgettext
11497
 
do :
11498
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11499
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
11500
 
  cat >>confdefs.h <<_ACEOF
11501
 
#define HAVE_DCGETTEXT 1
11502
 
_ACEOF
11503
 
 
11504
 
fi
11505
 
done
11506
 
 
11507
 
          MSGFMT_OPTS=
11508
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
11509
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
11510
 
          cat >conftest.foo <<_ACEOF
11511
 
 
11512
 
msgid ""
11513
 
msgstr ""
11514
 
"Content-Type: text/plain; charset=UTF-8\n"
11515
 
"Project-Id-Version: test 1.0\n"
11516
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
11517
 
"Last-Translator: test <foo@bar.xx>\n"
11518
 
"Language-Team: C <LL@li.org>\n"
11519
 
"MIME-Version: 1.0\n"
11520
 
"Content-Transfer-Encoding: 8bit\n"
11521
 
 
11522
 
_ACEOF
11523
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
11524
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11525
 
  ac_status=$?
11526
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11527
 
  test $ac_status = 0; }; then
11528
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11529
 
$as_echo "yes" >&6; }
11530
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531
 
$as_echo "no" >&6; }
11532
 
echo "$as_me: failed input was:" >&5
11533
 
sed 's/^/| /' conftest.foo >&5
11534
 
fi
11535
 
 
11536
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
11537
 
set dummy gmsgfmt; ac_word=$2
11538
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11539
 
$as_echo_n "checking for $ac_word... " >&6; }
11540
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11541
 
  $as_echo_n "(cached) " >&6
11542
 
else
11543
 
  case $GMSGFMT in
11544
 
  [\\/]* | ?:[\\/]*)
11545
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11546
 
  ;;
11547
 
  *)
11548
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11549
 
for as_dir in $PATH
11550
 
do
11551
 
  IFS=$as_save_IFS
11552
 
  test -z "$as_dir" && as_dir=.
11553
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11554
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11555
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11556
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11557
 
    break 2
11558
 
  fi
11559
 
done
11560
 
  done
11561
 
IFS=$as_save_IFS
11562
 
 
11563
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11564
 
  ;;
11565
 
esac
11566
 
fi
11567
 
GMSGFMT=$ac_cv_path_GMSGFMT
11568
 
if test -n "$GMSGFMT"; then
11569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11570
 
$as_echo "$GMSGFMT" >&6; }
11571
 
else
11572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573
 
$as_echo "no" >&6; }
11574
 
fi
11575
 
 
11576
 
 
11577
 
          # Extract the first word of "xgettext", so it can be a program name with args.
11578
 
set dummy xgettext; ac_word=$2
11579
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11580
 
$as_echo_n "checking for $ac_word... " >&6; }
11581
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11582
 
  $as_echo_n "(cached) " >&6
11583
 
else
11584
 
  case "$XGETTEXT" in
11585
 
  /*)
11586
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11587
 
  ;;
11588
 
  *)
11589
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11590
 
  for ac_dir in $PATH; do
11591
 
    test -z "$ac_dir" && ac_dir=.
11592
 
    if test -f $ac_dir/$ac_word; then
11593
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11594
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11595
 
        break
11596
 
      fi
11597
 
    fi
11598
 
  done
11599
 
  IFS="$ac_save_ifs"
11600
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11601
 
  ;;
11602
 
esac
11603
 
fi
11604
 
XGETTEXT="$ac_cv_path_XGETTEXT"
11605
 
if test "$XGETTEXT" != ":"; then
11606
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11607
 
$as_echo "$XGETTEXT" >&6; }
11608
 
else
11609
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11610
 
$as_echo "no" >&6; }
11611
 
fi
11612
 
 
11613
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614
 
/* end confdefs.h.  */
11615
 
 
11616
 
int
11617
 
main ()
11618
 
{
11619
 
extern int _nl_msg_cat_cntr;
11620
 
                         return _nl_msg_cat_cntr
11621
 
  ;
11622
 
  return 0;
11623
 
}
11624
 
_ACEOF
11625
 
if ac_fn_c_try_link "$LINENO"; then :
11626
 
  CATOBJEXT=.gmo
11627
 
             DATADIRNAME=share
11628
 
else
11629
 
  case $host in
11630
 
            *-*-solaris*)
11631
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11632
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11633
 
  CATOBJEXT=.gmo
11634
 
               DATADIRNAME=share
11635
 
else
11636
 
  CATOBJEXT=.mo
11637
 
               DATADIRNAME=lib
11638
 
fi
11639
 
 
11640
 
            ;;
11641
 
            *)
11642
 
            CATOBJEXT=.mo
11643
 
            DATADIRNAME=lib
11644
 
            ;;
11645
 
            esac
11646
 
fi
11647
 
rm -f core conftest.err conftest.$ac_objext \
11648
 
    conftest$ac_exeext conftest.$ac_ext
11649
 
          LIBS="$glib_save_LIBS"
11650
 
          INSTOBJEXT=.mo
11651
 
        else
11652
 
          gt_cv_have_gettext=no
11653
 
        fi
11654
 
      fi
11655
 
 
11656
 
fi
11657
 
 
11658
 
 
11659
 
 
11660
 
    if test "$gt_cv_have_gettext" = "yes" ; then
11661
 
 
11662
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
11663
 
 
11664
 
    fi
11665
 
 
11666
 
        if test "$XGETTEXT" != ":"; then
11667
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11668
 
        : ;
11669
 
      else
11670
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11671
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11672
 
        XGETTEXT=":"
11673
 
      fi
11674
 
    fi
11675
 
 
11676
 
    # We need to process the po/ directory.
11677
 
    POSUB=po
11678
 
 
11679
 
    ac_config_commands="$ac_config_commands default-1"
11680
 
 
11681
 
 
11682
 
                for lang in $ALL_LINGUAS; do
11683
 
      GMOFILES="$GMOFILES $lang.gmo"
11684
 
      POFILES="$POFILES $lang.po"
11685
 
    done
11686
 
 
11687
 
 
11688
 
 
11689
 
 
11690
 
 
11691
 
 
11692
 
 
11693
 
 
11694
 
 
11695
 
 
11696
 
 
11697
 
 
11698
 
 
11699
 
   if test "$gt_cv_have_gettext" = "yes"; then
11700
 
     if test "x$ALL_LINGUAS" = "x"; then
11701
 
       LINGUAS=
11702
 
     else
11703
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11704
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
11705
 
       NEW_LINGUAS=
11706
 
       for presentlang in $ALL_LINGUAS; do
11707
 
         useit=no
11708
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
11709
 
           desiredlanguages="$LINGUAS"
11710
 
         else
11711
 
           desiredlanguages="$ALL_LINGUAS"
11712
 
         fi
11713
 
         for desiredlang in $desiredlanguages; do
11714
 
           # Use the presentlang catalog if desiredlang is
11715
 
           #   a. equal to presentlang, or
11716
 
           #   b. a variant of presentlang (because in this case,
11717
 
           #      presentlang can be used as a fallback for messages
11718
 
           #      which are not translated in the desiredlang catalog).
11719
 
           case "$desiredlang" in
11720
 
             "$presentlang"*) useit=yes;;
11721
 
           esac
11722
 
         done
11723
 
         if test $useit = yes; then
11724
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
11725
 
         fi
11726
 
       done
11727
 
       LINGUAS=$NEW_LINGUAS
11728
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11729
 
$as_echo "$LINGUAS" >&6; }
11730
 
     fi
11731
 
 
11732
 
          if test -n "$LINGUAS"; then
11733
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
11734
 
     fi
11735
 
   fi
11736
 
 
11737
 
            MKINSTALLDIRS=
11738
 
   if test -n "$ac_aux_dir"; then
11739
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
11740
 
   fi
11741
 
   if test -z "$MKINSTALLDIRS"; then
11742
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11743
 
   fi
11744
 
 
11745
 
 
11746
 
         test -d po || mkdir po
11747
 
   if test "x$srcdir" != "x."; then
11748
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
11749
 
       posrcprefix="$srcdir/"
11750
 
     else
11751
 
       posrcprefix="../$srcdir/"
11752
 
     fi
11753
 
   else
11754
 
     posrcprefix="../"
11755
 
   fi
11756
 
   rm -f po/POTFILES
11757
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
11758
 
        < $srcdir/po/POTFILES.in > po/POTFILES
11759
 
 
11760
 
GETTEXT_PACKAGE=cairo-dock
11761
 
 
11762
 
cat >>confdefs.h <<_ACEOF
11763
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
11764
 
_ACEOF
11765
 
 
11766
 
 
11767
 
 
11768
 
CAIRO_DOCK_THEMES_DIR="themes"
11769
 
 
11770
 
 
11771
 
# Checks for programs.
11772
 
ac_ext=c
11773
 
ac_cpp='$CPP $CPPFLAGS'
11774
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11775
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11776
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11777
 
if test -n "$ac_tool_prefix"; then
11778
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11779
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11780
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11781
 
$as_echo_n "checking for $ac_word... " >&6; }
11782
 
if test "${ac_cv_prog_CC+set}" = set; then :
11783
 
  $as_echo_n "(cached) " >&6
11784
 
else
11785
 
  if test -n "$CC"; then
11786
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11787
 
else
11788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789
 
for as_dir in $PATH
11790
 
do
11791
 
  IFS=$as_save_IFS
11792
 
  test -z "$as_dir" && as_dir=.
11793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11795
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
11796
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11797
 
    break 2
11798
 
  fi
11799
 
done
11800
 
  done
11801
 
IFS=$as_save_IFS
11802
 
 
11803
 
fi
11804
 
fi
11805
 
CC=$ac_cv_prog_CC
11806
 
if test -n "$CC"; then
11807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11808
 
$as_echo "$CC" >&6; }
11809
 
else
11810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11811
 
$as_echo "no" >&6; }
11812
 
fi
11813
 
 
11814
 
 
11815
 
fi
11816
 
if test -z "$ac_cv_prog_CC"; then
11817
 
  ac_ct_CC=$CC
11818
 
  # Extract the first word of "gcc", so it can be a program name with args.
11819
 
set dummy gcc; ac_word=$2
11820
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11821
 
$as_echo_n "checking for $ac_word... " >&6; }
11822
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11823
 
  $as_echo_n "(cached) " >&6
11824
 
else
11825
 
  if test -n "$ac_ct_CC"; then
11826
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11827
 
else
11828
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11829
 
for as_dir in $PATH
11830
 
do
11831
 
  IFS=$as_save_IFS
11832
 
  test -z "$as_dir" && as_dir=.
11833
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11834
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11835
 
    ac_cv_prog_ac_ct_CC="gcc"
11836
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11837
 
    break 2
11838
 
  fi
11839
 
done
11840
 
  done
11841
 
IFS=$as_save_IFS
11842
 
 
11843
 
fi
11844
 
fi
11845
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11846
 
if test -n "$ac_ct_CC"; then
11847
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11848
 
$as_echo "$ac_ct_CC" >&6; }
11849
 
else
11850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851
 
$as_echo "no" >&6; }
11852
 
fi
11853
 
 
11854
 
  if test "x$ac_ct_CC" = x; then
11855
 
    CC=""
11856
 
  else
11857
 
    case $cross_compiling:$ac_tool_warned in
11858
 
yes:)
11859
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11860
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11861
 
ac_tool_warned=yes ;;
11862
 
esac
11863
 
    CC=$ac_ct_CC
11864
 
  fi
11865
 
else
11866
 
  CC="$ac_cv_prog_CC"
11867
 
fi
11868
 
 
11869
 
if test -z "$CC"; then
11870
 
          if test -n "$ac_tool_prefix"; then
11871
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11872
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
11873
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11874
 
$as_echo_n "checking for $ac_word... " >&6; }
11875
 
if test "${ac_cv_prog_CC+set}" = set; then :
11876
 
  $as_echo_n "(cached) " >&6
11877
 
else
11878
 
  if test -n "$CC"; then
11879
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11880
 
else
11881
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11882
 
for as_dir in $PATH
11883
 
do
11884
 
  IFS=$as_save_IFS
11885
 
  test -z "$as_dir" && as_dir=.
11886
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11887
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11888
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
11889
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11890
 
    break 2
11891
 
  fi
11892
 
done
11893
 
  done
11894
 
IFS=$as_save_IFS
11895
 
 
11896
 
fi
11897
 
fi
11898
 
CC=$ac_cv_prog_CC
11899
 
if test -n "$CC"; then
11900
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11901
 
$as_echo "$CC" >&6; }
11902
 
else
11903
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904
 
$as_echo "no" >&6; }
11905
 
fi
11906
 
 
11907
 
 
11908
 
  fi
11909
 
fi
11910
 
if test -z "$CC"; then
11911
 
  # Extract the first word of "cc", so it can be a program name with args.
11912
 
set dummy cc; ac_word=$2
11913
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11914
 
$as_echo_n "checking for $ac_word... " >&6; }
11915
 
if test "${ac_cv_prog_CC+set}" = set; then :
11916
 
  $as_echo_n "(cached) " >&6
11917
 
else
11918
 
  if test -n "$CC"; then
11919
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11920
 
else
11921
 
  ac_prog_rejected=no
11922
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11923
 
for as_dir in $PATH
11924
 
do
11925
 
  IFS=$as_save_IFS
11926
 
  test -z "$as_dir" && as_dir=.
11927
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11928
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11929
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11930
 
       ac_prog_rejected=yes
11931
 
       continue
11932
 
     fi
11933
 
    ac_cv_prog_CC="cc"
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
 
if test $ac_prog_rejected = yes; then
11942
 
  # We found a bogon in the path, so make sure we never use it.
11943
 
  set dummy $ac_cv_prog_CC
11944
 
  shift
11945
 
  if test $# != 0; then
11946
 
    # We chose a different compiler from the bogus one.
11947
 
    # However, it has the same basename, so the bogon will be chosen
11948
 
    # first if we set CC to just the basename; use the full file name.
11949
 
    shift
11950
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11951
 
  fi
11952
 
fi
11953
 
fi
11954
 
fi
11955
 
CC=$ac_cv_prog_CC
11956
 
if test -n "$CC"; then
11957
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11958
 
$as_echo "$CC" >&6; }
11959
 
else
11960
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961
 
$as_echo "no" >&6; }
11962
 
fi
11963
 
 
11964
 
 
11965
 
fi
11966
 
if test -z "$CC"; then
11967
 
  if test -n "$ac_tool_prefix"; then
11968
 
  for ac_prog in cl.exe
11969
 
  do
11970
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11971
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973
 
$as_echo_n "checking for $ac_word... " >&6; }
11974
 
if test "${ac_cv_prog_CC+set}" = set; then :
11975
 
  $as_echo_n "(cached) " >&6
11976
 
else
11977
 
  if test -n "$CC"; then
11978
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11979
 
else
11980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981
 
for as_dir in $PATH
11982
 
do
11983
 
  IFS=$as_save_IFS
11984
 
  test -z "$as_dir" && as_dir=.
11985
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11986
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11987
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11988
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11989
 
    break 2
11990
 
  fi
11991
 
done
11992
 
  done
11993
 
IFS=$as_save_IFS
11994
 
 
11995
 
fi
11996
 
fi
11997
 
CC=$ac_cv_prog_CC
11998
 
if test -n "$CC"; then
11999
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12000
 
$as_echo "$CC" >&6; }
12001
 
else
12002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003
 
$as_echo "no" >&6; }
12004
 
fi
12005
 
 
12006
 
 
12007
 
    test -n "$CC" && break
12008
 
  done
12009
 
fi
12010
 
if test -z "$CC"; then
12011
 
  ac_ct_CC=$CC
12012
 
  for ac_prog in cl.exe
12013
 
do
12014
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12015
 
set dummy $ac_prog; ac_word=$2
12016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12017
 
$as_echo_n "checking for $ac_word... " >&6; }
12018
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12019
 
  $as_echo_n "(cached) " >&6
12020
 
else
12021
 
  if test -n "$ac_ct_CC"; then
12022
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12023
 
else
12024
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025
 
for as_dir in $PATH
12026
 
do
12027
 
  IFS=$as_save_IFS
12028
 
  test -z "$as_dir" && as_dir=.
12029
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12030
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12031
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
12032
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12033
 
    break 2
12034
 
  fi
12035
 
done
12036
 
  done
12037
 
IFS=$as_save_IFS
12038
 
 
12039
 
fi
12040
 
fi
12041
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12042
 
if test -n "$ac_ct_CC"; then
12043
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12044
 
$as_echo "$ac_ct_CC" >&6; }
12045
 
else
12046
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047
 
$as_echo "no" >&6; }
12048
 
fi
12049
 
 
12050
 
 
12051
 
  test -n "$ac_ct_CC" && break
12052
 
done
12053
 
 
12054
 
  if test "x$ac_ct_CC" = x; then
12055
 
    CC=""
12056
 
  else
12057
 
    case $cross_compiling:$ac_tool_warned in
12058
 
yes:)
12059
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12060
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12061
 
ac_tool_warned=yes ;;
12062
 
esac
12063
 
    CC=$ac_ct_CC
12064
 
  fi
12065
 
fi
12066
 
 
12067
 
fi
12068
 
 
12069
 
 
12070
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12071
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12072
 
as_fn_error "no acceptable C compiler found in \$PATH
12073
 
See \`config.log' for more details." "$LINENO" 5; }
12074
 
 
12075
 
# Provide some information about the compiler.
12076
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12077
 
set X $ac_compile
12078
 
ac_compiler=$2
12079
 
for ac_option in --version -v -V -qversion; do
12080
 
  { { ac_try="$ac_compiler $ac_option >&5"
12081
 
case "(($ac_try" in
12082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12083
 
  *) ac_try_echo=$ac_try;;
12084
 
esac
12085
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12086
 
$as_echo "$ac_try_echo"; } >&5
12087
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12088
 
  ac_status=$?
12089
 
  if test -s conftest.err; then
12090
 
    sed '10a\
12091
 
... rest of stderr output deleted ...
12092
 
         10q' conftest.err >conftest.er1
12093
 
    cat conftest.er1 >&5
12094
 
  fi
12095
 
  rm -f conftest.er1 conftest.err
12096
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12097
 
  test $ac_status = 0; }
12098
 
done
12099
 
 
12100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12101
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12102
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12103
 
  $as_echo_n "(cached) " >&6
12104
 
else
12105
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106
 
/* end confdefs.h.  */
12107
 
 
12108
 
int
12109
 
main ()
12110
 
{
12111
 
#ifndef __GNUC__
12112
 
       choke me
12113
 
#endif
12114
 
 
12115
 
  ;
12116
 
  return 0;
12117
 
}
12118
 
_ACEOF
12119
 
if ac_fn_c_try_compile "$LINENO"; then :
12120
 
  ac_compiler_gnu=yes
12121
 
else
12122
 
  ac_compiler_gnu=no
12123
 
fi
12124
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12125
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
12126
 
 
12127
 
fi
12128
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12129
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12130
 
if test $ac_compiler_gnu = yes; then
12131
 
  GCC=yes
12132
 
else
12133
 
  GCC=
12134
 
fi
12135
 
ac_test_CFLAGS=${CFLAGS+set}
12136
 
ac_save_CFLAGS=$CFLAGS
12137
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12138
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
12139
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
12140
 
  $as_echo_n "(cached) " >&6
12141
 
else
12142
 
  ac_save_c_werror_flag=$ac_c_werror_flag
12143
 
   ac_c_werror_flag=yes
12144
 
   ac_cv_prog_cc_g=no
12145
 
   CFLAGS="-g"
12146
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147
 
/* end confdefs.h.  */
12148
 
 
12149
 
int
12150
 
main ()
12151
 
{
12152
 
 
12153
 
  ;
12154
 
  return 0;
12155
 
}
12156
 
_ACEOF
12157
 
if ac_fn_c_try_compile "$LINENO"; then :
12158
 
  ac_cv_prog_cc_g=yes
12159
 
else
12160
 
  CFLAGS=""
12161
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162
 
/* end confdefs.h.  */
12163
 
 
12164
 
int
12165
 
main ()
12166
 
{
12167
 
 
12168
 
  ;
12169
 
  return 0;
12170
 
}
12171
 
_ACEOF
12172
 
if ac_fn_c_try_compile "$LINENO"; then :
12173
 
 
12174
 
else
12175
 
  ac_c_werror_flag=$ac_save_c_werror_flag
12176
 
         CFLAGS="-g"
12177
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178
 
/* end confdefs.h.  */
12179
 
 
12180
 
int
12181
 
main ()
12182
 
{
12183
 
 
12184
 
  ;
12185
 
  return 0;
12186
 
}
12187
 
_ACEOF
12188
 
if ac_fn_c_try_compile "$LINENO"; then :
12189
 
  ac_cv_prog_cc_g=yes
12190
 
fi
12191
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12192
 
fi
12193
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12194
 
fi
12195
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12196
 
   ac_c_werror_flag=$ac_save_c_werror_flag
12197
 
fi
12198
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12199
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
12200
 
if test "$ac_test_CFLAGS" = set; then
12201
 
  CFLAGS=$ac_save_CFLAGS
12202
 
elif test $ac_cv_prog_cc_g = yes; then
12203
 
  if test "$GCC" = yes; then
12204
 
    CFLAGS="-g -O2"
12205
 
  else
12206
 
    CFLAGS="-g"
12207
 
  fi
12208
 
else
12209
 
  if test "$GCC" = yes; then
12210
 
    CFLAGS="-O2"
12211
 
  else
12212
 
    CFLAGS=
12213
 
  fi
12214
 
fi
12215
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12216
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12217
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
12218
 
  $as_echo_n "(cached) " >&6
12219
 
else
12220
 
  ac_cv_prog_cc_c89=no
12221
 
ac_save_CC=$CC
12222
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223
 
/* end confdefs.h.  */
12224
 
#include <stdarg.h>
12225
 
#include <stdio.h>
12226
 
#include <sys/types.h>
12227
 
#include <sys/stat.h>
12228
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12229
 
struct buf { int x; };
12230
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
12231
 
static char *e (p, i)
12232
 
     char **p;
12233
 
     int i;
12234
 
{
12235
 
  return p[i];
12236
 
}
12237
 
static char *f (char * (*g) (char **, int), char **p, ...)
12238
 
{
12239
 
  char *s;
12240
 
  va_list v;
12241
 
  va_start (v,p);
12242
 
  s = g (p, va_arg (v,int));
12243
 
  va_end (v);
12244
 
  return s;
12245
 
}
12246
 
 
12247
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12248
 
   function prototypes and stuff, but not '\xHH' hex character constants.
12249
 
   These don't provoke an error unfortunately, instead are silently treated
12250
 
   as 'x'.  The following induces an error, until -std is added to get
12251
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12252
 
   array size at least.  It's necessary to write '\x00'==0 to get something
12253
 
   that's true only with -std.  */
12254
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12255
 
 
12256
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12257
 
   inside strings and character constants.  */
12258
 
#define FOO(x) 'x'
12259
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12260
 
 
12261
 
int test (int i, double x);
12262
 
struct s1 {int (*f) (int a);};
12263
 
struct s2 {int (*f) (double a);};
12264
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12265
 
int argc;
12266
 
char **argv;
12267
 
int
12268
 
main ()
12269
 
{
12270
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12271
 
  ;
12272
 
  return 0;
12273
 
}
12274
 
_ACEOF
12275
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12276
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12277
 
do
12278
 
  CC="$ac_save_CC $ac_arg"
12279
 
  if ac_fn_c_try_compile "$LINENO"; then :
12280
 
  ac_cv_prog_cc_c89=$ac_arg
12281
 
fi
12282
 
rm -f core conftest.err conftest.$ac_objext
12283
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
12284
 
done
12285
 
rm -f conftest.$ac_ext
12286
 
CC=$ac_save_CC
12287
 
 
12288
 
fi
12289
 
# AC_CACHE_VAL
12290
 
case "x$ac_cv_prog_cc_c89" in
12291
 
  x)
12292
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12293
 
$as_echo "none needed" >&6; } ;;
12294
 
  xno)
12295
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12296
 
$as_echo "unsupported" >&6; } ;;
12297
 
  *)
12298
 
    CC="$CC $ac_cv_prog_cc_c89"
12299
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12300
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12301
 
esac
12302
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
12303
 
 
12304
 
fi
12305
 
 
12306
 
ac_ext=c
12307
 
ac_cpp='$CPP $CPPFLAGS'
12308
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12309
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12310
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12311
 
 
12312
 
depcc="$CC"   am_compiler_list=
12313
 
 
12314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12315
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
12316
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12317
 
  $as_echo_n "(cached) " >&6
12318
 
else
12319
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12320
 
  # We make a subdir and do the tests there.  Otherwise we can end up
12321
 
  # making bogus files that we don't know about and never remove.  For
12322
 
  # instance it was reported that on HP-UX the gcc test will end up
12323
 
  # making a dummy file named `D' -- because `-MD' means `put the output
12324
 
  # in D'.
12325
 
  mkdir conftest.dir
12326
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
12327
 
  # using a relative directory.
12328
 
  cp "$am_depcomp" conftest.dir
12329
 
  cd conftest.dir
12330
 
  # We will build objects and dependencies in a subdirectory because
12331
 
  # it helps to detect inapplicable dependency modes.  For instance
12332
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
12333
 
  # side effect of compilation, but ICC will put the dependencies in
12334
 
  # the current directory while Tru64 will put them in the object
12335
 
  # directory.
12336
 
  mkdir sub
12337
 
 
12338
 
  am_cv_CC_dependencies_compiler_type=none
12339
 
  if test "$am_compiler_list" = ""; then
12340
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12341
 
  fi
12342
 
  am__universal=false
12343
 
  case " $depcc " in #(
12344
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12345
 
     esac
12346
 
 
12347
 
  for depmode in $am_compiler_list; do
12348
 
    # Setup a source with many dependencies, because some compilers
12349
 
    # like to wrap large dependency lists on column 80 (with \), and
12350
 
    # we should not choose a depcomp mode which is confused by this.
12351
 
    #
12352
 
    # We need to recreate these files for each test, as the compiler may
12353
 
    # overwrite some of them when testing with obscure command lines.
12354
 
    # This happens at least with the AIX C compiler.
12355
 
    : > sub/conftest.c
12356
 
    for i in 1 2 3 4 5 6; do
12357
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12358
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12359
 
      # Solaris 8's {/usr,}/bin/sh.
12360
 
      touch sub/conftst$i.h
12361
 
    done
12362
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12363
 
 
12364
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
12365
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
12366
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
12367
 
    # versions had trouble with output in subdirs
12368
 
    am__obj=sub/conftest.${OBJEXT-o}
12369
 
    am__minus_obj="-o $am__obj"
12370
 
    case $depmode in
12371
 
    gcc)
12372
 
      # This depmode causes a compiler race in universal mode.
12373
 
      test "$am__universal" = false || continue
12374
 
      ;;
12375
 
    nosideeffect)
12376
 
      # after this tag, mechanisms are not by side-effect, so they'll
12377
 
      # only be used when explicitly requested
12378
 
      if test "x$enable_dependency_tracking" = xyes; then
12379
 
        continue
12380
 
      else
12381
 
        break
12382
 
      fi
12383
 
      ;;
12384
 
    msvisualcpp | msvcmsys)
12385
 
      # This compiler won't grok `-c -o', but also, the minuso test has
12386
 
      # not run yet.  These depmodes are late enough in the game, and
12387
 
      # so weak that their functioning should not be impacted.
12388
 
      am__obj=conftest.${OBJEXT-o}
12389
 
      am__minus_obj=
12390
 
      ;;
12391
 
    none) break ;;
12392
 
    esac
12393
 
    if depmode=$depmode \
12394
 
       source=sub/conftest.c object=$am__obj \
12395
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12396
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12397
 
         >/dev/null 2>conftest.err &&
12398
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12399
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12400
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12401
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12402
 
      # icc doesn't choke on unknown options, it will just issue warnings
12403
 
      # or remarks (even with -Werror).  So we grep stderr for any message
12404
 
      # that says an option was ignored or not supported.
12405
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
12406
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
12407
 
      # The diagnosis changed in icc 8.0:
12408
 
      #   icc: Command line remark: option '-MP' not supported
12409
 
      if (grep 'ignoring option' conftest.err ||
12410
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12411
 
        am_cv_CC_dependencies_compiler_type=$depmode
12412
 
        break
12413
 
      fi
12414
 
    fi
12415
 
  done
12416
 
 
12417
 
  cd ..
12418
 
  rm -rf conftest.dir
12419
 
else
12420
 
  am_cv_CC_dependencies_compiler_type=none
12421
 
fi
12422
 
 
12423
 
fi
12424
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12425
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12426
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12427
 
 
12428
 
 if
12429
 
  test "x$enable_dependency_tracking" != xno \
12430
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12431
 
  am__fastdepCC_TRUE=
12432
 
  am__fastdepCC_FALSE='#'
12433
 
else
12434
 
  am__fastdepCC_TRUE='#'
12435
 
  am__fastdepCC_FALSE=
12436
 
fi
12437
 
 
12438
 
 
12439
 
 
12440
 
# Checks for libraries.
12441
 
 
12442
 
# Checks for header files.
12443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12444
 
$as_echo_n "checking for ANSI C header files... " >&6; }
12445
 
if test "${ac_cv_header_stdc+set}" = set; then :
12446
 
  $as_echo_n "(cached) " >&6
12447
 
else
12448
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449
 
/* end confdefs.h.  */
12450
 
#include <stdlib.h>
12451
 
#include <stdarg.h>
12452
 
#include <string.h>
12453
 
#include <float.h>
12454
 
 
12455
 
int
12456
 
main ()
12457
 
{
12458
 
 
12459
 
  ;
12460
 
  return 0;
12461
 
}
12462
 
_ACEOF
12463
 
if ac_fn_c_try_compile "$LINENO"; then :
12464
 
  ac_cv_header_stdc=yes
12465
 
else
12466
 
  ac_cv_header_stdc=no
12467
 
fi
12468
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12469
 
 
12470
 
if test $ac_cv_header_stdc = yes; then
12471
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12472
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473
 
/* end confdefs.h.  */
12474
 
#include <string.h>
12475
 
 
12476
 
_ACEOF
12477
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12478
 
  $EGREP "memchr" >/dev/null 2>&1; then :
12479
 
 
12480
 
else
12481
 
  ac_cv_header_stdc=no
12482
 
fi
12483
 
rm -f conftest*
12484
 
 
12485
 
fi
12486
 
 
12487
 
if test $ac_cv_header_stdc = yes; then
12488
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12489
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490
 
/* end confdefs.h.  */
12491
 
#include <stdlib.h>
12492
 
 
12493
 
_ACEOF
12494
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12495
 
  $EGREP "free" >/dev/null 2>&1; then :
12496
 
 
12497
 
else
12498
 
  ac_cv_header_stdc=no
12499
 
fi
12500
 
rm -f conftest*
12501
 
 
12502
 
fi
12503
 
 
12504
 
if test $ac_cv_header_stdc = yes; then
12505
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12506
 
  if test "$cross_compiling" = yes; then :
12507
 
  :
12508
 
else
12509
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510
 
/* end confdefs.h.  */
12511
 
#include <ctype.h>
12512
 
#include <stdlib.h>
12513
 
#if ((' ' & 0x0FF) == 0x020)
12514
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12515
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12516
 
#else
12517
 
# define ISLOWER(c) \
12518
 
                   (('a' <= (c) && (c) <= 'i') \
12519
 
                     || ('j' <= (c) && (c) <= 'r') \
12520
 
                     || ('s' <= (c) && (c) <= 'z'))
12521
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12522
 
#endif
12523
 
 
12524
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12525
 
int
12526
 
main ()
12527
 
{
12528
 
  int i;
12529
 
  for (i = 0; i < 256; i++)
12530
 
    if (XOR (islower (i), ISLOWER (i))
12531
 
        || toupper (i) != TOUPPER (i))
12532
 
      return 2;
12533
 
  return 0;
12534
 
}
12535
 
_ACEOF
12536
 
if ac_fn_c_try_run "$LINENO"; then :
12537
 
 
12538
 
else
12539
 
  ac_cv_header_stdc=no
12540
 
fi
12541
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12542
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12543
 
fi
12544
 
 
12545
 
fi
12546
 
fi
12547
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12548
 
$as_echo "$ac_cv_header_stdc" >&6; }
12549
 
if test $ac_cv_header_stdc = yes; then
12550
 
 
12551
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12552
 
 
12553
 
fi
12554
 
 
12555
 
for ac_header in math.h stdlib.h
12556
 
do :
12557
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12558
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12559
 
eval as_val=\$$as_ac_Header
12560
 
   if test "x$as_val" = x""yes; then :
12561
 
  cat >>confdefs.h <<_ACEOF
12562
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12563
 
_ACEOF
12564
 
 
12565
 
fi
12566
 
 
12567
 
done
12568
 
 
12569
 
 
12570
 
# Checks for typedefs, structures, and compiler characteristics.
12571
 
# AC_C_CONST
12572
 
# AC_TYPE_PID_T
12573
 
 
12574
 
# Checks for library functions.
12575
 
# AC_CHECK_FUNCS([sscanf])
12576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
12577
 
$as_echo_n "checking for sin in -lm... " >&6; }
12578
 
if test "${ac_cv_lib_m_sin+set}" = set; then :
12579
 
  $as_echo_n "(cached) " >&6
12580
 
else
12581
 
  ac_check_lib_save_LIBS=$LIBS
12582
 
LIBS="-lm  $LIBS"
12583
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12584
 
/* end confdefs.h.  */
12585
 
 
12586
 
/* Override any GCC internal prototype to avoid an error.
12587
 
   Use char because int might match the return type of a GCC
12588
 
   builtin and then its argument prototype would still apply.  */
12589
 
#ifdef __cplusplus
12590
 
extern "C"
12591
 
#endif
12592
 
char sin ();
12593
 
int
12594
 
main ()
12595
 
{
12596
 
return sin ();
12597
 
  ;
12598
 
  return 0;
12599
 
}
12600
 
_ACEOF
12601
 
if ac_fn_c_try_link "$LINENO"; then :
12602
 
  ac_cv_lib_m_sin=yes
12603
 
else
12604
 
  ac_cv_lib_m_sin=no
12605
 
fi
12606
 
rm -f core conftest.err conftest.$ac_objext \
12607
 
    conftest$ac_exeext conftest.$ac_ext
12608
 
LIBS=$ac_check_lib_save_LIBS
12609
 
fi
12610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
12611
 
$as_echo "$ac_cv_lib_m_sin" >&6; }
12612
 
if test "x$ac_cv_lib_m_sin" = x""yes; then :
12613
 
  cat >>confdefs.h <<_ACEOF
12614
 
#define HAVE_LIBM 1
12615
 
_ACEOF
12616
 
 
12617
 
  LIBS="-lm $LIBS"
12618
 
 
12619
 
fi
12620
 
 
12621
 
 
12622
 
 
12623
 
 
12624
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12625
 
        if test -n "$ac_tool_prefix"; then
12626
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12627
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12628
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629
 
$as_echo_n "checking for $ac_word... " >&6; }
12630
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12631
 
  $as_echo_n "(cached) " >&6
12632
 
else
12633
 
  case $PKG_CONFIG in
12634
 
  [\\/]* | ?:[\\/]*)
12635
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12636
 
  ;;
12637
 
  *)
12638
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12639
 
for as_dir in $PATH
12640
 
do
12641
 
  IFS=$as_save_IFS
12642
 
  test -z "$as_dir" && as_dir=.
12643
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12644
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12645
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12646
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12647
 
    break 2
12648
 
  fi
12649
 
done
12650
 
  done
12651
 
IFS=$as_save_IFS
12652
 
 
12653
 
  ;;
12654
 
esac
12655
 
fi
12656
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12657
 
if test -n "$PKG_CONFIG"; then
12658
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12659
 
$as_echo "$PKG_CONFIG" >&6; }
12660
 
else
12661
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662
 
$as_echo "no" >&6; }
12663
 
fi
12664
 
 
12665
 
 
12666
 
fi
12667
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12668
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12669
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12670
 
set dummy pkg-config; ac_word=$2
12671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12672
 
$as_echo_n "checking for $ac_word... " >&6; }
12673
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12674
 
  $as_echo_n "(cached) " >&6
12675
 
else
12676
 
  case $ac_pt_PKG_CONFIG in
12677
 
  [\\/]* | ?:[\\/]*)
12678
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12679
 
  ;;
12680
 
  *)
12681
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12682
 
for as_dir in $PATH
12683
 
do
12684
 
  IFS=$as_save_IFS
12685
 
  test -z "$as_dir" && as_dir=.
12686
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12687
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12688
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12689
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12690
 
    break 2
12691
 
  fi
12692
 
done
12693
 
  done
12694
 
IFS=$as_save_IFS
12695
 
 
12696
 
  ;;
12697
 
esac
12698
 
fi
12699
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12700
 
if test -n "$ac_pt_PKG_CONFIG"; then
12701
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12702
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12703
 
else
12704
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705
 
$as_echo "no" >&6; }
12706
 
fi
12707
 
 
12708
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12709
 
    PKG_CONFIG=""
12710
 
  else
12711
 
    case $cross_compiling:$ac_tool_warned in
12712
 
yes:)
12713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12714
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12715
 
ac_tool_warned=yes ;;
12716
 
esac
12717
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12718
 
  fi
12719
 
else
12720
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12721
 
fi
12722
 
 
12723
 
fi
12724
 
if test -n "$PKG_CONFIG"; then
12725
 
        _pkg_min_version=0.9.0
12726
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12727
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12728
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12729
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12730
 
$as_echo "yes" >&6; }
12731
 
        else
12732
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733
 
$as_echo "no" >&6; }
12734
 
                PKG_CONFIG=""
12735
 
        fi
12736
 
 
12737
 
fi
12738
 
 
12739
 
pkg_failed=no
12740
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
12741
 
$as_echo_n "checking for PACKAGE... " >&6; }
12742
 
 
12743
 
if test -n "$PKG_CONFIG"; then
12744
 
    if test -n "$PACKAGE_CFLAGS"; then
12745
 
        pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
12746
 
    else
12747
 
        if test -n "$PKG_CONFIG" && \
12748
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender\"\""; } >&5
12749
 
  ($PKG_CONFIG --exists --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"") 2>&5
12750
 
  ac_status=$?
12751
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12752
 
  test $ac_status = 0; }; then
12753
 
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"" 2>/dev/null`
12754
 
else
12755
 
  pkg_failed=yes
12756
 
fi
12757
 
    fi
12758
 
else
12759
 
        pkg_failed=untried
12760
 
fi
12761
 
if test -n "$PKG_CONFIG"; then
12762
 
    if test -n "$PACKAGE_LIBS"; then
12763
 
        pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
12764
 
    else
12765
 
        if test -n "$PKG_CONFIG" && \
12766
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender\"\""; } >&5
12767
 
  ($PKG_CONFIG --exists --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"") 2>&5
12768
 
  ac_status=$?
12769
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12770
 
  test $ac_status = 0; }; then
12771
 
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"" 2>/dev/null`
12772
 
else
12773
 
  pkg_failed=yes
12774
 
fi
12775
 
    fi
12776
 
else
12777
 
        pkg_failed=untried
12778
 
fi
12779
 
 
12780
 
 
12781
 
 
12782
 
if test $pkg_failed = yes; then
12783
 
 
12784
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12785
 
        _pkg_short_errors_supported=yes
12786
 
else
12787
 
        _pkg_short_errors_supported=no
12788
 
fi
12789
 
        if test $_pkg_short_errors_supported = yes; then
12790
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender""`
12791
 
        else
12792
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender""`
12793
 
        fi
12794
 
        # Put the nasty error message in config.log where it belongs
12795
 
        echo "$PACKAGE_PKG_ERRORS" >&5
12796
 
 
12797
 
        as_fn_error "Package requirements (\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender\") were not met:
12798
 
 
12799
 
$PACKAGE_PKG_ERRORS
12800
 
 
12801
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12802
 
installed software in a non-standard prefix.
12803
 
 
12804
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12805
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
12806
 
See the pkg-config man page for more details.
12807
 
" "$LINENO" 5
12808
 
elif test $pkg_failed = untried; then
12809
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12810
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12811
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
12812
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12813
 
path to pkg-config.
12814
 
 
12815
 
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12816
 
and PACKAGE_LIBS to avoid the need to call pkg-config.
12817
 
See the pkg-config man page for more details.
12818
 
 
12819
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12820
 
See \`config.log' for more details." "$LINENO" 5; }
12821
 
else
12822
 
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
12823
 
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
12824
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12825
 
$as_echo "yes" >&6; }
12826
 
        :
12827
 
fi
12828
 
 
12829
 
# Check whether --enable-xextend was given.
12830
 
if test "${enable_xextend+set}" = set; then :
12831
 
  enableval=$enable_xextend; case "${enableval}" in
12832
 
                yes) usexextend=true ;;
12833
 
                no)  usexextend=false ;;
12834
 
                *) echo "bad value ${enableval} for --enable-xextend" ;;
12835
 
        esac
12836
 
else
12837
 
  usexextend=true
12838
 
fi
12839
 
 
12840
 
 
12841
 
if test "$usexextend" = "true" ; then
12842
 
 
12843
 
pkg_failed=no
12844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXTEND" >&5
12845
 
$as_echo_n "checking for XEXTEND... " >&6; }
12846
 
 
12847
 
if test -n "$PKG_CONFIG"; then
12848
 
    if test -n "$XEXTEND_CFLAGS"; then
12849
 
        pkg_cv_XEXTEND_CFLAGS="$XEXTEND_CFLAGS"
12850
 
    else
12851
 
        if test -n "$PKG_CONFIG" && \
12852
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"xtst xcomposite xinerama\"\""; } >&5
12853
 
  ($PKG_CONFIG --exists --print-errors ""xtst xcomposite xinerama"") 2>&5
12854
 
  ac_status=$?
12855
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856
 
  test $ac_status = 0; }; then
12857
 
  pkg_cv_XEXTEND_CFLAGS=`$PKG_CONFIG --cflags ""xtst xcomposite xinerama"" 2>/dev/null`
12858
 
else
12859
 
  pkg_failed=yes
12860
 
fi
12861
 
    fi
12862
 
else
12863
 
        pkg_failed=untried
12864
 
fi
12865
 
if test -n "$PKG_CONFIG"; then
12866
 
    if test -n "$XEXTEND_LIBS"; then
12867
 
        pkg_cv_XEXTEND_LIBS="$XEXTEND_LIBS"
12868
 
    else
12869
 
        if test -n "$PKG_CONFIG" && \
12870
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"xtst xcomposite xinerama\"\""; } >&5
12871
 
  ($PKG_CONFIG --exists --print-errors ""xtst xcomposite xinerama"") 2>&5
12872
 
  ac_status=$?
12873
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12874
 
  test $ac_status = 0; }; then
12875
 
  pkg_cv_XEXTEND_LIBS=`$PKG_CONFIG --libs ""xtst xcomposite xinerama"" 2>/dev/null`
12876
 
else
12877
 
  pkg_failed=yes
12878
 
fi
12879
 
    fi
12880
 
else
12881
 
        pkg_failed=untried
12882
 
fi
12883
 
 
12884
 
 
12885
 
 
12886
 
if test $pkg_failed = yes; then
12887
 
 
12888
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12889
 
        _pkg_short_errors_supported=yes
12890
 
else
12891
 
        _pkg_short_errors_supported=no
12892
 
fi
12893
 
        if test $_pkg_short_errors_supported = yes; then
12894
 
                XEXTEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""xtst xcomposite xinerama""`
12895
 
        else
12896
 
                XEXTEND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""xtst xcomposite xinerama""`
12897
 
        fi
12898
 
        # Put the nasty error message in config.log where it belongs
12899
 
        echo "$XEXTEND_PKG_ERRORS" >&5
12900
 
 
12901
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902
 
$as_echo "no" >&6; }
12903
 
                XExt_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&5
12904
 
$as_echo "$as_me: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&2;}
12905
 
elif test $pkg_failed = untried; then
12906
 
        XExt_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&5
12907
 
$as_echo "$as_me: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&2;}
12908
 
else
12909
 
        XEXTEND_CFLAGS=$pkg_cv_XEXTEND_CFLAGS
12910
 
        XEXTEND_LIBS=$pkg_cv_XEXTEND_LIBS
12911
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912
 
$as_echo "yes" >&6; }
12913
 
        XExt_detected=true
12914
 
fi
12915
 
 
12916
 
 
12917
 
 
12918
 
        if test ! "$XExt_detected" = "false" ; then
12919
 
 
12920
 
$as_echo "#define HAVE_XEXTEND \"1\"" >>confdefs.h
12921
 
 
12922
 
        fi
12923
 
fi
12924
 
if test "$XExt_detected" = "true"; then
12925
 
        xextend_required="xtst xcomposite xinerama"
12926
 
else
12927
 
        xextend_required=""
12928
 
fi
12929
 
 
12930
 
 
12931
 
 if test "$XExt_detected" = "true" ; then
12932
 
  WITH_XEXTEND_TRUE=
12933
 
  WITH_XEXTEND_FALSE='#'
12934
 
else
12935
 
  WITH_XEXTEND_TRUE='#'
12936
 
  WITH_XEXTEND_FALSE=
12937
 
fi
12938
 
 
12939
 
 
12940
 
# Check whether --enable-glitz was given.
12941
 
if test "${enable_glitz+set}" = set; then :
12942
 
  enableval=$enable_glitz; case "${enableval}" in
12943
 
                yes) useglitz=true ;;
12944
 
                no)  useglitz=false ;;
12945
 
                *) echo "bad value ${enableval} for --enable-glitz" ;;
12946
 
        esac
12947
 
else
12948
 
  useglitz=false
12949
 
fi
12950
 
 
12951
 
 
12952
 
if test "$useglitz" = "true" ; then
12953
 
 
12954
 
pkg_failed=no
12955
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLITZ" >&5
12956
 
$as_echo_n "checking for GLITZ... " >&6; }
12957
 
 
12958
 
if test -n "$PKG_CONFIG"; then
12959
 
    if test -n "$GLITZ_CFLAGS"; then
12960
 
        pkg_cv_GLITZ_CFLAGS="$GLITZ_CFLAGS"
12961
 
    else
12962
 
        if test -n "$PKG_CONFIG" && \
12963
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glitz glitz-glx\""; } >&5
12964
 
  ($PKG_CONFIG --exists --print-errors "glitz glitz-glx") 2>&5
12965
 
  ac_status=$?
12966
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12967
 
  test $ac_status = 0; }; then
12968
 
  pkg_cv_GLITZ_CFLAGS=`$PKG_CONFIG --cflags "glitz glitz-glx" 2>/dev/null`
12969
 
else
12970
 
  pkg_failed=yes
12971
 
fi
12972
 
    fi
12973
 
else
12974
 
        pkg_failed=untried
12975
 
fi
12976
 
if test -n "$PKG_CONFIG"; then
12977
 
    if test -n "$GLITZ_LIBS"; then
12978
 
        pkg_cv_GLITZ_LIBS="$GLITZ_LIBS"
12979
 
    else
12980
 
        if test -n "$PKG_CONFIG" && \
12981
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glitz glitz-glx\""; } >&5
12982
 
  ($PKG_CONFIG --exists --print-errors "glitz glitz-glx") 2>&5
12983
 
  ac_status=$?
12984
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12985
 
  test $ac_status = 0; }; then
12986
 
  pkg_cv_GLITZ_LIBS=`$PKG_CONFIG --libs "glitz glitz-glx" 2>/dev/null`
12987
 
else
12988
 
  pkg_failed=yes
12989
 
fi
12990
 
    fi
12991
 
else
12992
 
        pkg_failed=untried
12993
 
fi
12994
 
 
12995
 
 
12996
 
 
12997
 
if test $pkg_failed = yes; then
12998
 
 
12999
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13000
 
        _pkg_short_errors_supported=yes
13001
 
else
13002
 
        _pkg_short_errors_supported=no
13003
 
fi
13004
 
        if test $_pkg_short_errors_supported = yes; then
13005
 
                GLITZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glitz glitz-glx"`
13006
 
        else
13007
 
                GLITZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glitz glitz-glx"`
13008
 
        fi
13009
 
        # Put the nasty error message in config.log where it belongs
13010
 
        echo "$GLITZ_PKG_ERRORS" >&5
13011
 
 
13012
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013
 
$as_echo "no" >&6; }
13014
 
                 glitz_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&5
13015
 
$as_echo "$as_me: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&2;}
13016
 
elif test $pkg_failed = untried; then
13017
 
         glitz_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&5
13018
 
$as_echo "$as_me: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&2;}
13019
 
else
13020
 
        GLITZ_CFLAGS=$pkg_cv_GLITZ_CFLAGS
13021
 
        GLITZ_LIBS=$pkg_cv_GLITZ_LIBS
13022
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13023
 
$as_echo "yes" >&6; }
13024
 
        glitz_detected=true
13025
 
fi
13026
 
 
13027
 
 
13028
 
 
13029
 
        if test ! "$glitz_detected" = "false" ; then
13030
 
 
13031
 
$as_echo "#define HAVE_GLITZ \"1\"" >>confdefs.h
13032
 
 
13033
 
        fi
13034
 
fi
13035
 
 
13036
 
if test "$glitz_detected" = "true"; then
13037
 
        glitz_required="glitz glitz-glx"
13038
 
else
13039
 
        glitz_required=""
13040
 
fi
13041
 
 
13042
 
 
13043
 
 if test "$glitz_detected" = "true" ; then
13044
 
  WITH_GLITZ_TRUE=
13045
 
  WITH_GLITZ_FALSE='#'
13046
 
else
13047
 
  WITH_GLITZ_TRUE='#'
13048
 
  WITH_GLITZ_FALSE=
13049
 
fi
13050
 
 
13051
 
 
13052
 
# We use crypt(3) which may be in libc, or in libcrypt (eg FreeBSD)
13053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
13054
 
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
13055
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
13056
 
  $as_echo_n "(cached) " >&6
13057
 
else
13058
 
  ac_check_lib_save_LIBS=$LIBS
13059
 
LIBS="-lcrypt  $LIBS"
13060
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061
 
/* end confdefs.h.  */
13062
 
 
13063
 
/* Override any GCC internal prototype to avoid an error.
13064
 
   Use char because int might match the return type of a GCC
13065
 
   builtin and then its argument prototype would still apply.  */
13066
 
#ifdef __cplusplus
13067
 
extern "C"
13068
 
#endif
13069
 
char crypt ();
13070
 
int
13071
 
main ()
13072
 
{
13073
 
return crypt ();
13074
 
  ;
13075
 
  return 0;
13076
 
}
13077
 
_ACEOF
13078
 
if ac_fn_c_try_link "$LINENO"; then :
13079
 
  ac_cv_lib_crypt_crypt=yes
13080
 
else
13081
 
  ac_cv_lib_crypt_crypt=no
13082
 
fi
13083
 
rm -f core conftest.err conftest.$ac_objext \
13084
 
    conftest$ac_exeext conftest.$ac_ext
13085
 
LIBS=$ac_check_lib_save_LIBS
13086
 
fi
13087
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
13088
 
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
13089
 
if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
13090
 
  LIBCRYPT_LIBS="-lcrypt"
13091
 
fi
13092
 
 
13093
 
 if test "$LIBCRYPT_LIBS" != "" ; then
13094
 
  HAVE_LIBCRYPT_TRUE=
13095
 
  HAVE_LIBCRYPT_FALSE='#'
13096
 
else
13097
 
  HAVE_LIBCRYPT_TRUE='#'
13098
 
  HAVE_LIBCRYPT_FALSE=
13099
 
fi
13100
 
 
13101
 
 
13102
 
 
13103
 
ac_config_files="$ac_config_files Makefile cairo-dock.pc src/Makefile po/Makefile.in data/Makefile data/cairo-dock.conf data/cairo-dock-simple.conf data/main-dock.conf data/themes.conf data/default-theme/Makefile data/default-theme/launchers/Makefile data/default-theme/plug-ins/Makefile data/default-theme/plug-ins/Animated-icons/Makefile data/default-theme/plug-ins/Clipper/Makefile data/default-theme/plug-ins/Dbus/Makefile data/default-theme/plug-ins/dialog-rendering/Makefile data/default-theme/plug-ins/dnd2share/Makefile data/default-theme/plug-ins/GMenu/Makefile data/default-theme/plug-ins/icon-effect/Makefile data/default-theme/plug-ins/illusion/Makefile data/default-theme/plug-ins/logout/Makefile data/default-theme/plug-ins/musicPlayer/Makefile data/default-theme/plug-ins/quick-browser/Makefile data/default-theme/plug-ins/rendering/Makefile data/default-theme/plug-ins/shortcuts/Makefile data/default-theme/plug-ins/showDesktop/Makefile data/default-theme/plug-ins/stack/Makefile data/default-theme/plug-ins/switcher/Makefile data/gauges/Makefile data/gauges/battery/Makefile data/gauges/turbo-night-fuel/Makefile data/emblems/Makefile data/explosion/Makefile"
13104
 
 
13105
 
cat >confcache <<\_ACEOF
13106
 
# This file is a shell script that caches the results of configure
13107
 
# tests run on this system so they can be shared between configure
13108
 
# scripts and configure runs, see configure's option --config-cache.
13109
 
# It is not useful on other systems.  If it contains results you don't
13110
 
# want to keep, you may remove or edit it.
13111
 
#
13112
 
# config.status only pays attention to the cache file if you give it
13113
 
# the --recheck option to rerun configure.
13114
 
#
13115
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13116
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13117
 
# following values.
13118
 
 
13119
 
_ACEOF
13120
 
 
13121
 
# The following way of writing the cache mishandles newlines in values,
13122
 
# but we know of no workaround that is simple, portable, and efficient.
13123
 
# So, we kill variables containing newlines.
13124
 
# Ultrix sh set writes to stderr and can't be redirected directly,
13125
 
# and sets the high bit in the cache file unless we assign to the vars.
13126
 
(
13127
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13128
 
    eval ac_val=\$$ac_var
13129
 
    case $ac_val in #(
13130
 
    *${as_nl}*)
13131
 
      case $ac_var in #(
13132
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13133
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13134
 
      esac
13135
 
      case $ac_var in #(
13136
 
      _ | IFS | as_nl) ;; #(
13137
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13138
 
      *) { eval $ac_var=; unset $ac_var;} ;;
13139
 
      esac ;;
13140
 
    esac
13141
 
  done
13142
 
 
13143
 
  (set) 2>&1 |
13144
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13145
 
    *${as_nl}ac_space=\ *)
13146
 
      # `set' does not quote correctly, so add quotes: double-quote
13147
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
13148
 
      sed -n \
13149
 
        "s/'/'\\\\''/g;
13150
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13151
 
      ;; #(
13152
 
    *)
13153
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
13154
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13155
 
      ;;
13156
 
    esac |
13157
 
    sort
13158
 
) |
13159
 
  sed '
13160
 
     /^ac_cv_env_/b end
13161
 
     t clear
13162
 
     :clear
13163
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13164
 
     t end
13165
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13166
 
     :end' >>confcache
13167
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13168
 
  if test -w "$cache_file"; then
13169
 
    test "x$cache_file" != "x/dev/null" &&
13170
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13171
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
13172
 
    cat confcache >$cache_file
13173
 
  else
13174
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13175
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13176
 
  fi
13177
 
fi
13178
 
rm -f confcache
13179
 
 
13180
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13181
 
# Let make expand exec_prefix.
13182
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13183
 
 
13184
 
DEFS=-DHAVE_CONFIG_H
13185
 
 
13186
 
ac_libobjs=
13187
 
ac_ltlibobjs=
13188
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13189
 
  # 1. Remove the extension, and $U if already installed.
13190
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13191
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13192
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13193
 
  #    will be set to the directory where LIBOBJS objects are built.
13194
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13195
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13196
 
done
13197
 
LIBOBJS=$ac_libobjs
13198
 
 
13199
 
LTLIBOBJS=$ac_ltlibobjs
13200
 
 
13201
 
 
13202
 
 if test -n "$EXEEXT"; then
13203
 
  am__EXEEXT_TRUE=
13204
 
  am__EXEEXT_FALSE='#'
13205
 
else
13206
 
  am__EXEEXT_TRUE='#'
13207
 
  am__EXEEXT_FALSE=
13208
 
fi
13209
 
 
13210
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13211
 
  as_fn_error "conditional \"AMDEP\" was never defined.
13212
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13213
 
fi
13214
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13215
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
13216
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13217
 
fi
13218
 
 
13219
 
  ac_config_commands="$ac_config_commands po/stamp-it"
13220
 
 
13221
 
 
13222
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13223
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
13224
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13225
 
fi
13226
 
if test -z "${WITH_XEXTEND_TRUE}" && test -z "${WITH_XEXTEND_FALSE}"; then
13227
 
  as_fn_error "conditional \"WITH_XEXTEND\" was never defined.
13228
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13229
 
fi
13230
 
if test -z "${WITH_GLITZ_TRUE}" && test -z "${WITH_GLITZ_FALSE}"; then
13231
 
  as_fn_error "conditional \"WITH_GLITZ\" was never defined.
13232
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13233
 
fi
13234
 
if test -z "${HAVE_LIBCRYPT_TRUE}" && test -z "${HAVE_LIBCRYPT_FALSE}"; then
13235
 
  as_fn_error "conditional \"HAVE_LIBCRYPT\" was never defined.
13236
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13237
 
fi
13238
 
 
13239
 
: ${CONFIG_STATUS=./config.status}
13240
 
ac_write_fail=0
13241
 
ac_clean_files_save=$ac_clean_files
13242
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13244
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13245
 
as_write_fail=0
13246
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13247
 
#! $SHELL
13248
 
# Generated by $as_me.
13249
 
# Run this file to recreate the current configuration.
13250
 
# Compiler output produced by configure, useful for debugging
13251
 
# configure, is in config.log if it exists.
13252
 
 
13253
 
debug=false
13254
 
ac_cs_recheck=false
13255
 
ac_cs_silent=false
13256
 
 
13257
 
SHELL=\${CONFIG_SHELL-$SHELL}
13258
 
export SHELL
13259
 
_ASEOF
13260
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13261
 
## -------------------- ##
13262
 
## M4sh Initialization. ##
13263
 
## -------------------- ##
13264
 
 
13265
 
# Be more Bourne compatible
13266
 
DUALCASE=1; export DUALCASE # for MKS sh
13267
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13268
 
  emulate sh
13269
 
  NULLCMD=:
13270
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13271
 
  # is contrary to our usage.  Disable this feature.
13272
 
  alias -g '${1+"$@"}'='"$@"'
13273
 
  setopt NO_GLOB_SUBST
13274
 
else
13275
 
  case `(set -o) 2>/dev/null` in #(
13276
 
  *posix*) :
13277
 
    set -o posix ;; #(
13278
 
  *) :
13279
 
     ;;
13280
 
esac
13281
 
fi
13282
 
 
13283
 
 
13284
 
as_nl='
13285
 
'
13286
 
export as_nl
13287
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13288
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13289
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13290
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13291
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
13292
 
# but without wasting forks for bash or zsh.
13293
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
13294
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13295
 
  as_echo='print -r --'
13296
 
  as_echo_n='print -rn --'
13297
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13298
 
  as_echo='printf %s\n'
13299
 
  as_echo_n='printf %s'
13300
 
else
13301
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13302
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13303
 
    as_echo_n='/usr/ucb/echo -n'
13304
 
  else
13305
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13306
 
    as_echo_n_body='eval
13307
 
      arg=$1;
13308
 
      case $arg in #(
13309
 
      *"$as_nl"*)
13310
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
13311
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13312
 
      esac;
13313
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13314
 
    '
13315
 
    export as_echo_n_body
13316
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
13317
 
  fi
13318
 
  export as_echo_body
13319
 
  as_echo='sh -c $as_echo_body as_echo'
13320
 
fi
13321
 
 
13322
 
# The user is always right.
13323
 
if test "${PATH_SEPARATOR+set}" != set; then
13324
 
  PATH_SEPARATOR=:
13325
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13326
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13327
 
      PATH_SEPARATOR=';'
13328
 
  }
13329
 
fi
13330
 
 
13331
 
 
13332
 
# IFS
13333
 
# We need space, tab and new line, in precisely that order.  Quoting is
13334
 
# there to prevent editors from complaining about space-tab.
13335
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13336
 
# splitting by setting IFS to empty value.)
13337
 
IFS=" ""        $as_nl"
13338
 
 
13339
 
# Find who we are.  Look in the path if we contain no directory separator.
13340
 
case $0 in #((
13341
 
  *[\\/]* ) as_myself=$0 ;;
13342
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13343
 
for as_dir in $PATH
13344
 
do
13345
 
  IFS=$as_save_IFS
13346
 
  test -z "$as_dir" && as_dir=.
13347
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13348
 
  done
13349
 
IFS=$as_save_IFS
13350
 
 
13351
 
     ;;
13352
 
esac
13353
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
13354
 
# in which case we are not to be found in the path.
13355
 
if test "x$as_myself" = x; then
13356
 
  as_myself=$0
13357
 
fi
13358
 
if test ! -f "$as_myself"; then
13359
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13360
 
  exit 1
13361
 
fi
13362
 
 
13363
 
# Unset variables that we do not need and which cause bugs (e.g. in
13364
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13365
 
# suppresses any "Segmentation fault" message there.  '((' could
13366
 
# trigger a bug in pdksh 5.2.14.
13367
 
for as_var in BASH_ENV ENV MAIL MAILPATH
13368
 
do eval test x\${$as_var+set} = xset \
13369
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13370
 
done
13371
 
PS1='$ '
13372
 
PS2='> '
13373
 
PS4='+ '
13374
 
 
13375
 
# NLS nuisances.
13376
 
LC_ALL=C
13377
 
export LC_ALL
13378
 
LANGUAGE=C
13379
 
export LANGUAGE
13380
 
 
13381
 
# CDPATH.
13382
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13383
 
 
13384
 
 
13385
 
# as_fn_error ERROR [LINENO LOG_FD]
13386
 
# ---------------------------------
13387
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13388
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13389
 
# script with status $?, using 1 if that was 0.
13390
 
as_fn_error ()
13391
 
{
13392
 
  as_status=$?; test $as_status -eq 0 && as_status=1
13393
 
  if test "$3"; then
13394
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13395
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13396
 
  fi
13397
 
  $as_echo "$as_me: error: $1" >&2
13398
 
  as_fn_exit $as_status
13399
 
} # as_fn_error
13400
 
 
13401
 
 
13402
 
# as_fn_set_status STATUS
13403
 
# -----------------------
13404
 
# Set $? to STATUS, without forking.
13405
 
as_fn_set_status ()
13406
 
{
13407
 
  return $1
13408
 
} # as_fn_set_status
13409
 
 
13410
 
# as_fn_exit STATUS
13411
 
# -----------------
13412
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13413
 
as_fn_exit ()
13414
 
{
13415
 
  set +e
13416
 
  as_fn_set_status $1
13417
 
  exit $1
13418
 
} # as_fn_exit
13419
 
 
13420
 
# as_fn_unset VAR
13421
 
# ---------------
13422
 
# Portably unset VAR.
13423
 
as_fn_unset ()
13424
 
{
13425
 
  { eval $1=; unset $1;}
13426
 
}
13427
 
as_unset=as_fn_unset
13428
 
# as_fn_append VAR VALUE
13429
 
# ----------------------
13430
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
13431
 
# advantage of any shell optimizations that allow amortized linear growth over
13432
 
# repeated appends, instead of the typical quadratic growth present in naive
13433
 
# implementations.
13434
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13435
 
  eval 'as_fn_append ()
13436
 
  {
13437
 
    eval $1+=\$2
13438
 
  }'
13439
 
else
13440
 
  as_fn_append ()
13441
 
  {
13442
 
    eval $1=\$$1\$2
13443
 
  }
13444
 
fi # as_fn_append
13445
 
 
13446
 
# as_fn_arith ARG...
13447
 
# ------------------
13448
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
13449
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13450
 
# must be portable across $(()) and expr.
13451
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13452
 
  eval 'as_fn_arith ()
13453
 
  {
13454
 
    as_val=$(( $* ))
13455
 
  }'
13456
 
else
13457
 
  as_fn_arith ()
13458
 
  {
13459
 
    as_val=`expr "$@" || test $? -eq 1`
13460
 
  }
13461
 
fi # as_fn_arith
13462
 
 
13463
 
 
13464
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13465
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13466
 
  as_expr=expr
13467
 
else
13468
 
  as_expr=false
13469
 
fi
13470
 
 
13471
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13472
 
  as_basename=basename
13473
 
else
13474
 
  as_basename=false
13475
 
fi
13476
 
 
13477
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13478
 
  as_dirname=dirname
13479
 
else
13480
 
  as_dirname=false
13481
 
fi
13482
 
 
13483
 
as_me=`$as_basename -- "$0" ||
13484
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13485
 
         X"$0" : 'X\(//\)$' \| \
13486
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13487
 
$as_echo X/"$0" |
13488
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13489
 
            s//\1/
13490
 
            q
13491
 
          }
13492
 
          /^X\/\(\/\/\)$/{
13493
 
            s//\1/
13494
 
            q
13495
 
          }
13496
 
          /^X\/\(\/\).*/{
13497
 
            s//\1/
13498
 
            q
13499
 
          }
13500
 
          s/.*/./; q'`
13501
 
 
13502
 
# Avoid depending upon Character Ranges.
13503
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13504
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13505
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13506
 
as_cr_digits='0123456789'
13507
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13508
 
 
13509
 
ECHO_C= ECHO_N= ECHO_T=
13510
 
case `echo -n x` in #(((((
13511
 
-n*)
13512
 
  case `echo 'xy\c'` in
13513
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13514
 
  xy)  ECHO_C='\c';;
13515
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13516
 
       ECHO_T=' ';;
13517
 
  esac;;
13518
 
*)
13519
 
  ECHO_N='-n';;
13520
 
esac
13521
 
 
13522
 
rm -f conf$$ conf$$.exe conf$$.file
13523
 
if test -d conf$$.dir; then
13524
 
  rm -f conf$$.dir/conf$$.file
13525
 
else
13526
 
  rm -f conf$$.dir
13527
 
  mkdir conf$$.dir 2>/dev/null
13528
 
fi
13529
 
if (echo >conf$$.file) 2>/dev/null; then
13530
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13531
 
    as_ln_s='ln -s'
13532
 
    # ... but there are two gotchas:
13533
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13534
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13535
 
    # In both cases, we have to default to `cp -p'.
13536
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13537
 
      as_ln_s='cp -p'
13538
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
13539
 
    as_ln_s=ln
13540
 
  else
13541
 
    as_ln_s='cp -p'
13542
 
  fi
13543
 
else
13544
 
  as_ln_s='cp -p'
13545
 
fi
13546
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13547
 
rmdir conf$$.dir 2>/dev/null
13548
 
 
13549
 
 
13550
 
# as_fn_mkdir_p
13551
 
# -------------
13552
 
# Create "$as_dir" as a directory, including parents if necessary.
13553
 
as_fn_mkdir_p ()
13554
 
{
13555
 
 
13556
 
  case $as_dir in #(
13557
 
  -*) as_dir=./$as_dir;;
13558
 
  esac
13559
 
  test -d "$as_dir" || eval $as_mkdir_p || {
13560
 
    as_dirs=
13561
 
    while :; do
13562
 
      case $as_dir in #(
13563
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13564
 
      *) as_qdir=$as_dir;;
13565
 
      esac
13566
 
      as_dirs="'$as_qdir' $as_dirs"
13567
 
      as_dir=`$as_dirname -- "$as_dir" ||
13568
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13569
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13570
 
         X"$as_dir" : 'X\(//\)$' \| \
13571
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13572
 
$as_echo X"$as_dir" |
13573
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13574
 
            s//\1/
13575
 
            q
13576
 
          }
13577
 
          /^X\(\/\/\)[^/].*/{
13578
 
            s//\1/
13579
 
            q
13580
 
          }
13581
 
          /^X\(\/\/\)$/{
13582
 
            s//\1/
13583
 
            q
13584
 
          }
13585
 
          /^X\(\/\).*/{
13586
 
            s//\1/
13587
 
            q
13588
 
          }
13589
 
          s/.*/./; q'`
13590
 
      test -d "$as_dir" && break
13591
 
    done
13592
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13593
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13594
 
 
13595
 
 
13596
 
} # as_fn_mkdir_p
13597
 
if mkdir -p . 2>/dev/null; then
13598
 
  as_mkdir_p='mkdir -p "$as_dir"'
13599
 
else
13600
 
  test -d ./-p && rmdir ./-p
13601
 
  as_mkdir_p=false
13602
 
fi
13603
 
 
13604
 
if test -x / >/dev/null 2>&1; then
13605
 
  as_test_x='test -x'
13606
 
else
13607
 
  if ls -dL / >/dev/null 2>&1; then
13608
 
    as_ls_L_option=L
13609
 
  else
13610
 
    as_ls_L_option=
13611
 
  fi
13612
 
  as_test_x='
13613
 
    eval sh -c '\''
13614
 
      if test -d "$1"; then
13615
 
        test -d "$1/.";
13616
 
      else
13617
 
        case $1 in #(
13618
 
        -*)set "./$1";;
13619
 
        esac;
13620
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13621
 
        ???[sx]*):;;*)false;;esac;fi
13622
 
    '\'' sh
13623
 
  '
13624
 
fi
13625
 
as_executable_p=$as_test_x
13626
 
 
13627
 
# Sed expression to map a string onto a valid CPP name.
13628
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13629
 
 
13630
 
# Sed expression to map a string onto a valid variable name.
13631
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13632
 
 
13633
 
 
13634
 
exec 6>&1
13635
 
## ----------------------------------- ##
13636
 
## Main body of $CONFIG_STATUS script. ##
13637
 
## ----------------------------------- ##
13638
 
_ASEOF
13639
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13640
 
 
13641
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13642
 
# Save the log message, to keep $0 and so on meaningful, and to
13643
 
# report actual input values of CONFIG_FILES etc. instead of their
13644
 
# values after options handling.
13645
 
ac_log="
13646
 
This file was extended by cairo-dock $as_me 2.1.3-10-lucid, which was
13647
 
generated by GNU Autoconf 2.65.  Invocation command line was
13648
 
 
13649
 
  CONFIG_FILES    = $CONFIG_FILES
13650
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
13651
 
  CONFIG_LINKS    = $CONFIG_LINKS
13652
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13653
 
  $ $0 $@
13654
 
 
13655
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13656
 
"
13657
 
 
13658
 
_ACEOF
13659
 
 
13660
 
case $ac_config_files in *"
13661
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13662
 
esac
13663
 
 
13664
 
case $ac_config_headers in *"
13665
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13666
 
esac
13667
 
 
13668
 
 
13669
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13670
 
# Files that config.status was made for.
13671
 
config_files="$ac_config_files"
13672
 
config_headers="$ac_config_headers"
13673
 
config_commands="$ac_config_commands"
13674
 
 
13675
 
_ACEOF
13676
 
 
13677
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13678
 
ac_cs_usage="\
13679
 
\`$as_me' instantiates files and other configuration actions
13680
 
from templates according to the current configuration.  Unless the files
13681
 
and actions are specified as TAGs, all are instantiated by default.
13682
 
 
13683
 
Usage: $0 [OPTION]... [TAG]...
13684
 
 
13685
 
  -h, --help       print this help, then exit
13686
 
  -V, --version    print version number and configuration settings, then exit
13687
 
      --config     print configuration, then exit
13688
 
  -q, --quiet, --silent
13689
 
                   do not print progress messages
13690
 
  -d, --debug      don't remove temporary files
13691
 
      --recheck    update $as_me by reconfiguring in the same conditions
13692
 
      --file=FILE[:TEMPLATE]
13693
 
                   instantiate the configuration file FILE
13694
 
      --header=FILE[:TEMPLATE]
13695
 
                   instantiate the configuration header FILE
13696
 
 
13697
 
Configuration files:
13698
 
$config_files
13699
 
 
13700
 
Configuration headers:
13701
 
$config_headers
13702
 
 
13703
 
Configuration commands:
13704
 
$config_commands
13705
 
 
13706
 
Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>."
13707
 
 
13708
 
_ACEOF
13709
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13710
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13711
 
ac_cs_version="\\
13712
 
cairo-dock config.status 2.1.3-10-lucid
13713
 
configured by $0, generated by GNU Autoconf 2.65,
13714
 
  with options \\"\$ac_cs_config\\"
13715
 
 
13716
 
Copyright (C) 2009 Free Software Foundation, Inc.
13717
 
This config.status script is free software; the Free Software Foundation
13718
 
gives unlimited permission to copy, distribute and modify it."
13719
 
 
13720
 
ac_pwd='$ac_pwd'
13721
 
srcdir='$srcdir'
13722
 
INSTALL='$INSTALL'
13723
 
MKDIR_P='$MKDIR_P'
13724
 
AWK='$AWK'
13725
 
test -n "\$AWK" || AWK=awk
13726
 
_ACEOF
13727
 
 
13728
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13729
 
# The default lists apply if the user does not specify any file.
13730
 
ac_need_defaults=:
13731
 
while test $# != 0
13732
 
do
13733
 
  case $1 in
13734
 
  --*=*)
13735
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13736
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13737
 
    ac_shift=:
13738
 
    ;;
13739
 
  *)
13740
 
    ac_option=$1
13741
 
    ac_optarg=$2
13742
 
    ac_shift=shift
13743
 
    ;;
13744
 
  esac
13745
 
 
13746
 
  case $ac_option in
13747
 
  # Handling of the options.
13748
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13749
 
    ac_cs_recheck=: ;;
13750
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13751
 
    $as_echo "$ac_cs_version"; exit ;;
13752
 
  --config | --confi | --conf | --con | --co | --c )
13753
 
    $as_echo "$ac_cs_config"; exit ;;
13754
 
  --debug | --debu | --deb | --de | --d | -d )
13755
 
    debug=: ;;
13756
 
  --file | --fil | --fi | --f )
13757
 
    $ac_shift
13758
 
    case $ac_optarg in
13759
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13760
 
    esac
13761
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13762
 
    ac_need_defaults=false;;
13763
 
  --header | --heade | --head | --hea )
13764
 
    $ac_shift
13765
 
    case $ac_optarg in
13766
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13767
 
    esac
13768
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13769
 
    ac_need_defaults=false;;
13770
 
  --he | --h)
13771
 
    # Conflict between --help and --header
13772
 
    as_fn_error "ambiguous option: \`$1'
13773
 
Try \`$0 --help' for more information.";;
13774
 
  --help | --hel | -h )
13775
 
    $as_echo "$ac_cs_usage"; exit ;;
13776
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13777
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13778
 
    ac_cs_silent=: ;;
13779
 
 
13780
 
  # This is an error.
13781
 
  -*) as_fn_error "unrecognized option: \`$1'
13782
 
Try \`$0 --help' for more information." ;;
13783
 
 
13784
 
  *) as_fn_append ac_config_targets " $1"
13785
 
     ac_need_defaults=false ;;
13786
 
 
13787
 
  esac
13788
 
  shift
13789
 
done
13790
 
 
13791
 
ac_configure_extra_args=
13792
 
 
13793
 
if $ac_cs_silent; then
13794
 
  exec 6>/dev/null
13795
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13796
 
fi
13797
 
 
13798
 
_ACEOF
13799
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13800
 
if \$ac_cs_recheck; then
13801
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13802
 
  shift
13803
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13804
 
  CONFIG_SHELL='$SHELL'
13805
 
  export CONFIG_SHELL
13806
 
  exec "\$@"
13807
 
fi
13808
 
 
13809
 
_ACEOF
13810
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13811
 
exec 5>>config.log
13812
 
{
13813
 
  echo
13814
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13815
 
## Running $as_me. ##
13816
 
_ASBOX
13817
 
  $as_echo "$ac_log"
13818
 
} >&5
13819
 
 
13820
 
_ACEOF
13821
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13822
 
#
13823
 
# INIT-COMMANDS
13824
 
#
13825
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13826
 
 
13827
 
 
13828
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
13829
 
# if CDPATH is set.
13830
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13831
 
 
13832
 
sed_quote_subst='$sed_quote_subst'
13833
 
double_quote_subst='$double_quote_subst'
13834
 
delay_variable_subst='$delay_variable_subst'
13835
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13836
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13837
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13838
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13839
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13840
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13841
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13842
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13843
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13844
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13845
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13846
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13847
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13848
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13849
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13850
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13851
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13852
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13853
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13854
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13855
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13856
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13857
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13858
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13859
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13860
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13861
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13862
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13863
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13864
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13865
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13866
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13867
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13868
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13869
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13870
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13871
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13872
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13873
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13874
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13875
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13876
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13877
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13878
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13879
 
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"`'
13880
 
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"`'
13881
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13882
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13883
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13884
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13885
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13886
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13887
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13888
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13889
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13890
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13891
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13892
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13893
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13894
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13895
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13896
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13897
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13898
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13899
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13900
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13901
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13902
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13903
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13904
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13905
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13906
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13907
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13908
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13909
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13910
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13911
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13912
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13913
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13914
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13915
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13916
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13917
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13918
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13919
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13920
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13921
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13922
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13923
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13924
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13925
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13926
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13927
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13928
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13929
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13930
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13931
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13932
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13933
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13934
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13935
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13936
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13937
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13938
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13939
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13940
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13941
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13942
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13943
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13944
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13945
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13946
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13947
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13948
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13949
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13950
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13951
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13952
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13953
 
 
13954
 
LTCC='$LTCC'
13955
 
LTCFLAGS='$LTCFLAGS'
13956
 
compiler='$compiler_DEFAULT'
13957
 
 
13958
 
# Quote evaled strings.
13959
 
for var in SED \
13960
 
GREP \
13961
 
EGREP \
13962
 
FGREP \
13963
 
LD \
13964
 
NM \
13965
 
LN_S \
13966
 
lt_SP2NL \
13967
 
lt_NL2SP \
13968
 
reload_flag \
13969
 
OBJDUMP \
13970
 
deplibs_check_method \
13971
 
file_magic_cmd \
13972
 
AR \
13973
 
AR_FLAGS \
13974
 
STRIP \
13975
 
RANLIB \
13976
 
CC \
13977
 
CFLAGS \
13978
 
compiler \
13979
 
lt_cv_sys_global_symbol_pipe \
13980
 
lt_cv_sys_global_symbol_to_cdecl \
13981
 
lt_cv_sys_global_symbol_to_c_name_address \
13982
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13983
 
SHELL \
13984
 
ECHO \
13985
 
lt_prog_compiler_no_builtin_flag \
13986
 
lt_prog_compiler_wl \
13987
 
lt_prog_compiler_pic \
13988
 
lt_prog_compiler_static \
13989
 
lt_cv_prog_compiler_c_o \
13990
 
need_locks \
13991
 
DSYMUTIL \
13992
 
NMEDIT \
13993
 
LIPO \
13994
 
OTOOL \
13995
 
OTOOL64 \
13996
 
shrext_cmds \
13997
 
export_dynamic_flag_spec \
13998
 
whole_archive_flag_spec \
13999
 
compiler_needs_object \
14000
 
with_gnu_ld \
14001
 
allow_undefined_flag \
14002
 
no_undefined_flag \
14003
 
hardcode_libdir_flag_spec \
14004
 
hardcode_libdir_flag_spec_ld \
14005
 
hardcode_libdir_separator \
14006
 
fix_srcfile_path \
14007
 
exclude_expsyms \
14008
 
include_expsyms \
14009
 
file_list_spec \
14010
 
variables_saved_for_relink \
14011
 
libname_spec \
14012
 
library_names_spec \
14013
 
soname_spec \
14014
 
finish_eval \
14015
 
old_striplib \
14016
 
striplib; do
14017
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14018
 
    *[\\\\\\\`\\"\\\$]*)
14019
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14020
 
      ;;
14021
 
    *)
14022
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14023
 
      ;;
14024
 
    esac
14025
 
done
14026
 
 
14027
 
# Double-quote double-evaled strings.
14028
 
for var in reload_cmds \
14029
 
old_postinstall_cmds \
14030
 
old_postuninstall_cmds \
14031
 
old_archive_cmds \
14032
 
extract_expsyms_cmds \
14033
 
old_archive_from_new_cmds \
14034
 
old_archive_from_expsyms_cmds \
14035
 
archive_cmds \
14036
 
archive_expsym_cmds \
14037
 
module_cmds \
14038
 
module_expsym_cmds \
14039
 
export_symbols_cmds \
14040
 
prelink_cmds \
14041
 
postinstall_cmds \
14042
 
postuninstall_cmds \
14043
 
finish_cmds \
14044
 
sys_lib_search_path_spec \
14045
 
sys_lib_dlsearch_path_spec; do
14046
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14047
 
    *[\\\\\\\`\\"\\\$]*)
14048
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14049
 
      ;;
14050
 
    *)
14051
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14052
 
      ;;
14053
 
    esac
14054
 
done
14055
 
 
14056
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
14057
 
case \$lt_ECHO in
14058
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14059
 
  ;;
14060
 
esac
14061
 
 
14062
 
ac_aux_dir='$ac_aux_dir'
14063
 
xsi_shell='$xsi_shell'
14064
 
lt_shell_append='$lt_shell_append'
14065
 
 
14066
 
# See if we are running on zsh, and set the options which allow our
14067
 
# commands through without removal of \ escapes INIT.
14068
 
if test -n "\${ZSH_VERSION+set}" ; then
14069
 
   setopt NO_GLOB_SUBST
14070
 
fi
14071
 
 
14072
 
 
14073
 
    PACKAGE='$PACKAGE'
14074
 
    VERSION='$VERSION'
14075
 
    TIMESTAMP='$TIMESTAMP'
14076
 
    RM='$RM'
14077
 
    ofile='$ofile'
14078
 
 
14079
 
 
14080
 
 
14081
 
 
14082
 
 
14083
 
_ACEOF
14084
 
 
14085
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14086
 
 
14087
 
# Handling of arguments.
14088
 
for ac_config_target in $ac_config_targets
14089
 
do
14090
 
  case $ac_config_target in
14091
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14092
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14093
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14094
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14095
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14096
 
    "cairo-dock.pc") CONFIG_FILES="$CONFIG_FILES cairo-dock.pc" ;;
14097
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14098
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14099
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14100
 
    "data/cairo-dock.conf") CONFIG_FILES="$CONFIG_FILES data/cairo-dock.conf" ;;
14101
 
    "data/cairo-dock-simple.conf") CONFIG_FILES="$CONFIG_FILES data/cairo-dock-simple.conf" ;;
14102
 
    "data/main-dock.conf") CONFIG_FILES="$CONFIG_FILES data/main-dock.conf" ;;
14103
 
    "data/themes.conf") CONFIG_FILES="$CONFIG_FILES data/themes.conf" ;;
14104
 
    "data/default-theme/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/Makefile" ;;
14105
 
    "data/default-theme/launchers/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/launchers/Makefile" ;;
14106
 
    "data/default-theme/plug-ins/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Makefile" ;;
14107
 
    "data/default-theme/plug-ins/Animated-icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Animated-icons/Makefile" ;;
14108
 
    "data/default-theme/plug-ins/Clipper/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Clipper/Makefile" ;;
14109
 
    "data/default-theme/plug-ins/Dbus/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Dbus/Makefile" ;;
14110
 
    "data/default-theme/plug-ins/dialog-rendering/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/dialog-rendering/Makefile" ;;
14111
 
    "data/default-theme/plug-ins/dnd2share/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/dnd2share/Makefile" ;;
14112
 
    "data/default-theme/plug-ins/GMenu/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/GMenu/Makefile" ;;
14113
 
    "data/default-theme/plug-ins/icon-effect/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/icon-effect/Makefile" ;;
14114
 
    "data/default-theme/plug-ins/illusion/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/illusion/Makefile" ;;
14115
 
    "data/default-theme/plug-ins/logout/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/logout/Makefile" ;;
14116
 
    "data/default-theme/plug-ins/musicPlayer/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/musicPlayer/Makefile" ;;
14117
 
    "data/default-theme/plug-ins/quick-browser/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/quick-browser/Makefile" ;;
14118
 
    "data/default-theme/plug-ins/rendering/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/rendering/Makefile" ;;
14119
 
    "data/default-theme/plug-ins/shortcuts/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/shortcuts/Makefile" ;;
14120
 
    "data/default-theme/plug-ins/showDesktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/showDesktop/Makefile" ;;
14121
 
    "data/default-theme/plug-ins/stack/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/stack/Makefile" ;;
14122
 
    "data/default-theme/plug-ins/switcher/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/switcher/Makefile" ;;
14123
 
    "data/gauges/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/Makefile" ;;
14124
 
    "data/gauges/battery/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/battery/Makefile" ;;
14125
 
    "data/gauges/turbo-night-fuel/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/turbo-night-fuel/Makefile" ;;
14126
 
    "data/emblems/Makefile") CONFIG_FILES="$CONFIG_FILES data/emblems/Makefile" ;;
14127
 
    "data/explosion/Makefile") CONFIG_FILES="$CONFIG_FILES data/explosion/Makefile" ;;
14128
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14129
 
 
14130
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14131
 
  esac
14132
 
done
14133
 
 
14134
 
 
14135
 
# If the user did not use the arguments to specify the items to instantiate,
14136
 
# then the envvar interface is used.  Set only those that are not.
14137
 
# We use the long form for the default assignment because of an extremely
14138
 
# bizarre bug on SunOS 4.1.3.
14139
 
if $ac_need_defaults; then
14140
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14141
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14142
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14143
 
fi
14144
 
 
14145
 
# Have a temporary directory for convenience.  Make it in the build tree
14146
 
# simply because there is no reason against having it here, and in addition,
14147
 
# creating and moving files from /tmp can sometimes cause problems.
14148
 
# Hook for its removal unless debugging.
14149
 
# Note that there is a small window in which the directory will not be cleaned:
14150
 
# after its creation but before its name has been assigned to `$tmp'.
14151
 
$debug ||
14152
 
{
14153
 
  tmp=
14154
 
  trap 'exit_status=$?
14155
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14156
 
' 0
14157
 
  trap 'as_fn_exit 1' 1 2 13 15
14158
 
}
14159
 
# Create a (secure) tmp directory for tmp files.
14160
 
 
14161
 
{
14162
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14163
 
  test -n "$tmp" && test -d "$tmp"
14164
 
}  ||
14165
 
{
14166
 
  tmp=./conf$$-$RANDOM
14167
 
  (umask 077 && mkdir "$tmp")
14168
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14169
 
 
14170
 
# Set up the scripts for CONFIG_FILES section.
14171
 
# No need to generate them if there are no CONFIG_FILES.
14172
 
# This happens for instance with `./config.status config.h'.
14173
 
if test -n "$CONFIG_FILES"; then
14174
 
 
14175
 
 
14176
 
ac_cr=`echo X | tr X '\015'`
14177
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14178
 
# But we know of no other shell where ac_cr would be empty at this
14179
 
# point, so we can use a bashism as a fallback.
14180
 
if test "x$ac_cr" = x; then
14181
 
  eval ac_cr=\$\'\\r\'
14182
 
fi
14183
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14184
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14185
 
  ac_cs_awk_cr='\r'
14186
 
else
14187
 
  ac_cs_awk_cr=$ac_cr
14188
 
fi
14189
 
 
14190
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
14191
 
_ACEOF
14192
 
 
14193
 
 
14194
 
{
14195
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
14196
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14197
 
  echo "_ACEOF"
14198
 
} >conf$$subs.sh ||
14199
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14200
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14201
 
ac_delim='%!_!# '
14202
 
for ac_last_try in false false false false false :; do
14203
 
  . ./conf$$subs.sh ||
14204
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14205
 
 
14206
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14207
 
  if test $ac_delim_n = $ac_delim_num; then
14208
 
    break
14209
 
  elif $ac_last_try; then
14210
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14211
 
  else
14212
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14213
 
  fi
14214
 
done
14215
 
rm -f conf$$subs.sh
14216
 
 
14217
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14218
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14219
 
_ACEOF
14220
 
sed -n '
14221
 
h
14222
 
s/^/S["/; s/!.*/"]=/
14223
 
p
14224
 
g
14225
 
s/^[^!]*!//
14226
 
:repl
14227
 
t repl
14228
 
s/'"$ac_delim"'$//
14229
 
t delim
14230
 
:nl
14231
 
h
14232
 
s/\(.\{148\}\)..*/\1/
14233
 
t more1
14234
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14235
 
p
14236
 
n
14237
 
b repl
14238
 
:more1
14239
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14240
 
p
14241
 
g
14242
 
s/.\{148\}//
14243
 
t nl
14244
 
:delim
14245
 
h
14246
 
s/\(.\{148\}\)..*/\1/
14247
 
t more2
14248
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
14249
 
p
14250
 
b
14251
 
:more2
14252
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14253
 
p
14254
 
g
14255
 
s/.\{148\}//
14256
 
t delim
14257
 
' <conf$$subs.awk | sed '
14258
 
/^[^""]/{
14259
 
  N
14260
 
  s/\n//
14261
 
}
14262
 
' >>$CONFIG_STATUS || ac_write_fail=1
14263
 
rm -f conf$$subs.awk
14264
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14265
 
_ACAWK
14266
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14267
 
  for (key in S) S_is_set[key] = 1
14268
 
  FS = ""
14269
 
 
14270
 
}
14271
 
{
14272
 
  line = $ 0
14273
 
  nfields = split(line, field, "@")
14274
 
  substed = 0
14275
 
  len = length(field[1])
14276
 
  for (i = 2; i < nfields; i++) {
14277
 
    key = field[i]
14278
 
    keylen = length(key)
14279
 
    if (S_is_set[key]) {
14280
 
      value = S[key]
14281
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14282
 
      len += length(value) + length(field[++i])
14283
 
      substed = 1
14284
 
    } else
14285
 
      len += 1 + keylen
14286
 
  }
14287
 
 
14288
 
  print line
14289
 
}
14290
 
 
14291
 
_ACAWK
14292
 
_ACEOF
14293
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14294
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14295
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14296
 
else
14297
 
  cat
14298
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14299
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
14300
 
_ACEOF
14301
 
 
14302
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14303
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14304
 
# trailing colons and then remove the whole line if VPATH becomes empty
14305
 
# (actually we leave an empty line to preserve line numbers).
14306
 
if test "x$srcdir" = x.; then
14307
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
14308
 
s/:*\$(srcdir):*/:/
14309
 
s/:*\${srcdir}:*/:/
14310
 
s/:*@srcdir@:*/:/
14311
 
s/^\([^=]*=[     ]*\):*/\1/
14312
 
s/:*$//
14313
 
s/^[^=]*=[       ]*$//
14314
 
}'
14315
 
fi
14316
 
 
14317
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14318
 
fi # test -n "$CONFIG_FILES"
14319
 
 
14320
 
# Set up the scripts for CONFIG_HEADERS section.
14321
 
# No need to generate them if there are no CONFIG_HEADERS.
14322
 
# This happens for instance with `./config.status Makefile'.
14323
 
if test -n "$CONFIG_HEADERS"; then
14324
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
14325
 
BEGIN {
14326
 
_ACEOF
14327
 
 
14328
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
14329
 
# here-document in config.status, that substitutes the proper values into
14330
 
# config.h.in to produce config.h.
14331
 
 
14332
 
# Create a delimiter string that does not exist in confdefs.h, to ease
14333
 
# handling of long lines.
14334
 
ac_delim='%!_!# '
14335
 
for ac_last_try in false false :; do
14336
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14337
 
  if test -z "$ac_t"; then
14338
 
    break
14339
 
  elif $ac_last_try; then
14340
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14341
 
  else
14342
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14343
 
  fi
14344
 
done
14345
 
 
14346
 
# For the awk script, D is an array of macro values keyed by name,
14347
 
# likewise P contains macro parameters if any.  Preserve backslash
14348
 
# newline sequences.
14349
 
 
14350
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14351
 
sed -n '
14352
 
s/.\{148\}/&'"$ac_delim"'/g
14353
 
t rset
14354
 
:rset
14355
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
14356
 
t def
14357
 
d
14358
 
:def
14359
 
s/\\$//
14360
 
t bsnl
14361
 
s/["\\]/\\&/g
14362
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14363
 
D["\1"]=" \3"/p
14364
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14365
 
d
14366
 
:bsnl
14367
 
s/["\\]/\\&/g
14368
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14369
 
D["\1"]=" \3\\\\\\n"\\/p
14370
 
t cont
14371
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14372
 
t cont
14373
 
d
14374
 
:cont
14375
 
n
14376
 
s/.\{148\}/&'"$ac_delim"'/g
14377
 
t clear
14378
 
:clear
14379
 
s/\\$//
14380
 
t bsnlc
14381
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14382
 
d
14383
 
:bsnlc
14384
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14385
 
b cont
14386
 
' <confdefs.h | sed '
14387
 
s/'"$ac_delim"'/"\\\
14388
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14389
 
 
14390
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14391
 
  for (key in D) D_is_set[key] = 1
14392
 
  FS = ""
14393
 
}
14394
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14395
 
  line = \$ 0
14396
 
  split(line, arg, " ")
14397
 
  if (arg[1] == "#") {
14398
 
    defundef = arg[2]
14399
 
    mac1 = arg[3]
14400
 
  } else {
14401
 
    defundef = substr(arg[1], 2)
14402
 
    mac1 = arg[2]
14403
 
  }
14404
 
  split(mac1, mac2, "(") #)
14405
 
  macro = mac2[1]
14406
 
  prefix = substr(line, 1, index(line, defundef) - 1)
14407
 
  if (D_is_set[macro]) {
14408
 
    # Preserve the white space surrounding the "#".
14409
 
    print prefix "define", macro P[macro] D[macro]
14410
 
    next
14411
 
  } else {
14412
 
    # Replace #undef with comments.  This is necessary, for example,
14413
 
    # in the case of _POSIX_SOURCE, which is predefined and required
14414
 
    # on some systems where configure will not decide to define it.
14415
 
    if (defundef == "undef") {
14416
 
      print "/*", prefix defundef, macro, "*/"
14417
 
      next
14418
 
    }
14419
 
  }
14420
 
}
14421
 
{ print }
14422
 
_ACAWK
14423
 
_ACEOF
14424
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14425
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
14426
 
fi # test -n "$CONFIG_HEADERS"
14427
 
 
14428
 
 
14429
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14430
 
shift
14431
 
for ac_tag
14432
 
do
14433
 
  case $ac_tag in
14434
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
14435
 
  esac
14436
 
  case $ac_mode$ac_tag in
14437
 
  :[FHL]*:*);;
14438
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14439
 
  :[FH]-) ac_tag=-:-;;
14440
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14441
 
  esac
14442
 
  ac_save_IFS=$IFS
14443
 
  IFS=:
14444
 
  set x $ac_tag
14445
 
  IFS=$ac_save_IFS
14446
 
  shift
14447
 
  ac_file=$1
14448
 
  shift
14449
 
 
14450
 
  case $ac_mode in
14451
 
  :L) ac_source=$1;;
14452
 
  :[FH])
14453
 
    ac_file_inputs=
14454
 
    for ac_f
14455
 
    do
14456
 
      case $ac_f in
14457
 
      -) ac_f="$tmp/stdin";;
14458
 
      *) # Look for the file first in the build tree, then in the source tree
14459
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14460
 
         # because $ac_f cannot contain `:'.
14461
 
         test -f "$ac_f" ||
14462
 
           case $ac_f in
14463
 
           [\\/$]*) false;;
14464
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14465
 
           esac ||
14466
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14467
 
      esac
14468
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14469
 
      as_fn_append ac_file_inputs " '$ac_f'"
14470
 
    done
14471
 
 
14472
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14473
 
    # use $as_me), people would be surprised to read:
14474
 
    #    /* config.h.  Generated by config.status.  */
14475
 
    configure_input='Generated from '`
14476
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14477
 
        `' by configure.'
14478
 
    if test x"$ac_file" != x-; then
14479
 
      configure_input="$ac_file.  $configure_input"
14480
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14481
 
$as_echo "$as_me: creating $ac_file" >&6;}
14482
 
    fi
14483
 
    # Neutralize special characters interpreted by sed in replacement strings.
14484
 
    case $configure_input in #(
14485
 
    *\&* | *\|* | *\\* )
14486
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
14487
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14488
 
    *) ac_sed_conf_input=$configure_input;;
14489
 
    esac
14490
 
 
14491
 
    case $ac_tag in
14492
 
    *:-:* | *:-) cat >"$tmp/stdin" \
14493
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14494
 
    esac
14495
 
    ;;
14496
 
  esac
14497
 
 
14498
 
  ac_dir=`$as_dirname -- "$ac_file" ||
14499
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14500
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
14501
 
         X"$ac_file" : 'X\(//\)$' \| \
14502
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14503
 
$as_echo X"$ac_file" |
14504
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14505
 
            s//\1/
14506
 
            q
14507
 
          }
14508
 
          /^X\(\/\/\)[^/].*/{
14509
 
            s//\1/
14510
 
            q
14511
 
          }
14512
 
          /^X\(\/\/\)$/{
14513
 
            s//\1/
14514
 
            q
14515
 
          }
14516
 
          /^X\(\/\).*/{
14517
 
            s//\1/
14518
 
            q
14519
 
          }
14520
 
          s/.*/./; q'`
14521
 
  as_dir="$ac_dir"; as_fn_mkdir_p
14522
 
  ac_builddir=.
14523
 
 
14524
 
case "$ac_dir" in
14525
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14526
 
*)
14527
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14528
 
  # A ".." for each directory in $ac_dir_suffix.
14529
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14530
 
  case $ac_top_builddir_sub in
14531
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14532
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14533
 
  esac ;;
14534
 
esac
14535
 
ac_abs_top_builddir=$ac_pwd
14536
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14537
 
# for backward compatibility:
14538
 
ac_top_builddir=$ac_top_build_prefix
14539
 
 
14540
 
case $srcdir in
14541
 
  .)  # We are building in place.
14542
 
    ac_srcdir=.
14543
 
    ac_top_srcdir=$ac_top_builddir_sub
14544
 
    ac_abs_top_srcdir=$ac_pwd ;;
14545
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
14546
 
    ac_srcdir=$srcdir$ac_dir_suffix;
14547
 
    ac_top_srcdir=$srcdir
14548
 
    ac_abs_top_srcdir=$srcdir ;;
14549
 
  *) # Relative name.
14550
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14551
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
14552
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14553
 
esac
14554
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14555
 
 
14556
 
 
14557
 
  case $ac_mode in
14558
 
  :F)
14559
 
  #
14560
 
  # CONFIG_FILE
14561
 
  #
14562
 
 
14563
 
  case $INSTALL in
14564
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14565
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14566
 
  esac
14567
 
  ac_MKDIR_P=$MKDIR_P
14568
 
  case $MKDIR_P in
14569
 
  [\\/$]* | ?:[\\/]* ) ;;
14570
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14571
 
  esac
14572
 
_ACEOF
14573
 
 
14574
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14575
 
# If the template does not know about datarootdir, expand it.
14576
 
# FIXME: This hack should be removed a few years after 2.60.
14577
 
ac_datarootdir_hack=; ac_datarootdir_seen=
14578
 
ac_sed_dataroot='
14579
 
/datarootdir/ {
14580
 
  p
14581
 
  q
14582
 
}
14583
 
/@datadir@/p
14584
 
/@docdir@/p
14585
 
/@infodir@/p
14586
 
/@localedir@/p
14587
 
/@mandir@/p'
14588
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14589
 
*datarootdir*) ac_datarootdir_seen=yes;;
14590
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14591
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14592
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14593
 
_ACEOF
14594
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14595
 
  ac_datarootdir_hack='
14596
 
  s&@datadir@&$datadir&g
14597
 
  s&@docdir@&$docdir&g
14598
 
  s&@infodir@&$infodir&g
14599
 
  s&@localedir@&$localedir&g
14600
 
  s&@mandir@&$mandir&g
14601
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
14602
 
esac
14603
 
_ACEOF
14604
 
 
14605
 
# Neutralize VPATH when `$srcdir' = `.'.
14606
 
# Shell code in configure.ac might set extrasub.
14607
 
# FIXME: do we really want to maintain this feature?
14608
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14609
 
ac_sed_extra="$ac_vpsub
14610
 
$extrasub
14611
 
_ACEOF
14612
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14613
 
:t
14614
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14615
 
s|@configure_input@|$ac_sed_conf_input|;t t
14616
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
14617
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14618
 
s&@srcdir@&$ac_srcdir&;t t
14619
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14620
 
s&@top_srcdir@&$ac_top_srcdir&;t t
14621
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14622
 
s&@builddir@&$ac_builddir&;t t
14623
 
s&@abs_builddir@&$ac_abs_builddir&;t t
14624
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14625
 
s&@INSTALL@&$ac_INSTALL&;t t
14626
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14627
 
$ac_datarootdir_hack
14628
 
"
14629
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14630
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
14631
 
 
14632
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14633
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14634
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14636
 
which seems to be undefined.  Please make sure it is defined." >&5
14637
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14638
 
which seems to be undefined.  Please make sure it is defined." >&2;}
14639
 
 
14640
 
  rm -f "$tmp/stdin"
14641
 
  case $ac_file in
14642
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14643
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14644
 
  esac \
14645
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
14646
 
 ;;
14647
 
  :H)
14648
 
  #
14649
 
  # CONFIG_HEADER
14650
 
  #
14651
 
  if test x"$ac_file" != x-; then
14652
 
    {
14653
 
      $as_echo "/* $configure_input  */" \
14654
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14655
 
    } >"$tmp/config.h" \
14656
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
14657
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14658
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14659
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14660
 
    else
14661
 
      rm -f "$ac_file"
14662
 
      mv "$tmp/config.h" "$ac_file" \
14663
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
14664
 
    fi
14665
 
  else
14666
 
    $as_echo "/* $configure_input  */" \
14667
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14668
 
      || as_fn_error "could not create -" "$LINENO" 5
14669
 
  fi
14670
 
# Compute "$ac_file"'s index in $config_headers.
14671
 
_am_arg="$ac_file"
14672
 
_am_stamp_count=1
14673
 
for _am_header in $config_headers :; do
14674
 
  case $_am_header in
14675
 
    $_am_arg | $_am_arg:* )
14676
 
      break ;;
14677
 
    * )
14678
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14679
 
  esac
14680
 
done
14681
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14682
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14683
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
14684
 
         X"$_am_arg" : 'X\(//\)$' \| \
14685
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14686
 
$as_echo X"$_am_arg" |
14687
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14688
 
            s//\1/
14689
 
            q
14690
 
          }
14691
 
          /^X\(\/\/\)[^/].*/{
14692
 
            s//\1/
14693
 
            q
14694
 
          }
14695
 
          /^X\(\/\/\)$/{
14696
 
            s//\1/
14697
 
            q
14698
 
          }
14699
 
          /^X\(\/\).*/{
14700
 
            s//\1/
14701
 
            q
14702
 
          }
14703
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
14704
 
 ;;
14705
 
 
14706
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14707
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
14708
 
 ;;
14709
 
  esac
14710
 
 
14711
 
 
14712
 
  case $ac_file$ac_mode in
14713
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14714
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14715
 
  # are listed without --file.  Let's play safe and only enable the eval
14716
 
  # if we detect the quoting.
14717
 
  case $CONFIG_FILES in
14718
 
  *\'*) eval set x "$CONFIG_FILES" ;;
14719
 
  *)   set x $CONFIG_FILES ;;
14720
 
  esac
14721
 
  shift
14722
 
  for mf
14723
 
  do
14724
 
    # Strip MF so we end up with the name of the file.
14725
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14726
 
    # Check whether this is an Automake generated Makefile or not.
14727
 
    # We used to match only the files named `Makefile.in', but
14728
 
    # some people rename them; so instead we look at the file content.
14729
 
    # Grep'ing the first line is not enough: some people post-process
14730
 
    # each Makefile.in and add a new line on top of each file to say so.
14731
 
    # Grep'ing the whole file is not good either: AIX grep has a line
14732
 
    # limit of 2048, but all sed's we know have understand at least 4000.
14733
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14734
 
      dirpart=`$as_dirname -- "$mf" ||
14735
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14736
 
         X"$mf" : 'X\(//\)[^/]' \| \
14737
 
         X"$mf" : 'X\(//\)$' \| \
14738
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14739
 
$as_echo X"$mf" |
14740
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14741
 
            s//\1/
14742
 
            q
14743
 
          }
14744
 
          /^X\(\/\/\)[^/].*/{
14745
 
            s//\1/
14746
 
            q
14747
 
          }
14748
 
          /^X\(\/\/\)$/{
14749
 
            s//\1/
14750
 
            q
14751
 
          }
14752
 
          /^X\(\/\).*/{
14753
 
            s//\1/
14754
 
            q
14755
 
          }
14756
 
          s/.*/./; q'`
14757
 
    else
14758
 
      continue
14759
 
    fi
14760
 
    # Extract the definition of DEPDIR, am__include, and am__quote
14761
 
    # from the Makefile without running `make'.
14762
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14763
 
    test -z "$DEPDIR" && continue
14764
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14765
 
    test -z "am__include" && continue
14766
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14767
 
    # When using ansi2knr, U may be empty or an underscore; expand it
14768
 
    U=`sed -n 's/^U = //p' < "$mf"`
14769
 
    # Find all dependency output files, they are included files with
14770
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14771
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
14772
 
    # expansion.
14773
 
    for file in `sed -n "
14774
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14775
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14776
 
      # Make sure the directory exists.
14777
 
      test -f "$dirpart/$file" && continue
14778
 
      fdir=`$as_dirname -- "$file" ||
14779
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14780
 
         X"$file" : 'X\(//\)[^/]' \| \
14781
 
         X"$file" : 'X\(//\)$' \| \
14782
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14783
 
$as_echo X"$file" |
14784
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14785
 
            s//\1/
14786
 
            q
14787
 
          }
14788
 
          /^X\(\/\/\)[^/].*/{
14789
 
            s//\1/
14790
 
            q
14791
 
          }
14792
 
          /^X\(\/\/\)$/{
14793
 
            s//\1/
14794
 
            q
14795
 
          }
14796
 
          /^X\(\/\).*/{
14797
 
            s//\1/
14798
 
            q
14799
 
          }
14800
 
          s/.*/./; q'`
14801
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14802
 
      # echo "creating $dirpart/$file"
14803
 
      echo '# dummy' > "$dirpart/$file"
14804
 
    done
14805
 
  done
14806
 
}
14807
 
 ;;
14808
 
    "libtool":C)
14809
 
 
14810
 
    # See if we are running on zsh, and set the options which allow our
14811
 
    # commands through without removal of \ escapes.
14812
 
    if test -n "${ZSH_VERSION+set}" ; then
14813
 
      setopt NO_GLOB_SUBST
14814
 
    fi
14815
 
 
14816
 
    cfgfile="${ofile}T"
14817
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14818
 
    $RM "$cfgfile"
14819
 
 
14820
 
    cat <<_LT_EOF >> "$cfgfile"
14821
 
#! $SHELL
14822
 
 
14823
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14824
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14825
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14826
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14827
 
#
14828
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14829
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14830
 
#   Written by Gordon Matzigkeit, 1996
14831
 
#
14832
 
#   This file is part of GNU Libtool.
14833
 
#
14834
 
# GNU Libtool is free software; you can redistribute it and/or
14835
 
# modify it under the terms of the GNU General Public License as
14836
 
# published by the Free Software Foundation; either version 2 of
14837
 
# the License, or (at your option) any later version.
14838
 
#
14839
 
# As a special exception to the GNU General Public License,
14840
 
# if you distribute this file as part of a program or library that
14841
 
# is built using GNU Libtool, you may include this file under the
14842
 
# same distribution terms that you use for the rest of that program.
14843
 
#
14844
 
# GNU Libtool is distributed in the hope that it will be useful,
14845
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14846
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14847
 
# GNU General Public License for more details.
14848
 
#
14849
 
# You should have received a copy of the GNU General Public License
14850
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
14851
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14852
 
# obtained by writing to the Free Software Foundation, Inc.,
14853
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14854
 
 
14855
 
 
14856
 
# The names of the tagged configurations supported by this script.
14857
 
available_tags=""
14858
 
 
14859
 
# ### BEGIN LIBTOOL CONFIG
14860
 
 
14861
 
# Which release of libtool.m4 was used?
14862
 
macro_version=$macro_version
14863
 
macro_revision=$macro_revision
14864
 
 
14865
 
# Whether or not to build shared libraries.
14866
 
build_libtool_libs=$enable_shared
14867
 
 
14868
 
# Whether or not to build static libraries.
14869
 
build_old_libs=$enable_static
14870
 
 
14871
 
# What type of objects to build.
14872
 
pic_mode=$pic_mode
14873
 
 
14874
 
# Whether or not to optimize for fast installation.
14875
 
fast_install=$enable_fast_install
14876
 
 
14877
 
# The host system.
14878
 
host_alias=$host_alias
14879
 
host=$host
14880
 
host_os=$host_os
14881
 
 
14882
 
# The build system.
14883
 
build_alias=$build_alias
14884
 
build=$build
14885
 
build_os=$build_os
14886
 
 
14887
 
# A sed program that does not truncate output.
14888
 
SED=$lt_SED
14889
 
 
14890
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14891
 
Xsed="\$SED -e 1s/^X//"
14892
 
 
14893
 
# A grep program that handles long lines.
14894
 
GREP=$lt_GREP
14895
 
 
14896
 
# An ERE matcher.
14897
 
EGREP=$lt_EGREP
14898
 
 
14899
 
# A literal string matcher.
14900
 
FGREP=$lt_FGREP
14901
 
 
14902
 
# A BSD- or MS-compatible name lister.
14903
 
NM=$lt_NM
14904
 
 
14905
 
# Whether we need soft or hard links.
14906
 
LN_S=$lt_LN_S
14907
 
 
14908
 
# What is the maximum length of a command?
14909
 
max_cmd_len=$max_cmd_len
14910
 
 
14911
 
# Object file suffix (normally "o").
14912
 
objext=$ac_objext
14913
 
 
14914
 
# Executable file suffix (normally "").
14915
 
exeext=$exeext
14916
 
 
14917
 
# whether the shell understands "unset".
14918
 
lt_unset=$lt_unset
14919
 
 
14920
 
# turn spaces into newlines.
14921
 
SP2NL=$lt_lt_SP2NL
14922
 
 
14923
 
# turn newlines into spaces.
14924
 
NL2SP=$lt_lt_NL2SP
14925
 
 
14926
 
# How to create reloadable object files.
14927
 
reload_flag=$lt_reload_flag
14928
 
reload_cmds=$lt_reload_cmds
14929
 
 
14930
 
# An object symbol dumper.
14931
 
OBJDUMP=$lt_OBJDUMP
14932
 
 
14933
 
# Method to check whether dependent libraries are shared objects.
14934
 
deplibs_check_method=$lt_deplibs_check_method
14935
 
 
14936
 
# Command to use when deplibs_check_method == "file_magic".
14937
 
file_magic_cmd=$lt_file_magic_cmd
14938
 
 
14939
 
# The archiver.
14940
 
AR=$lt_AR
14941
 
AR_FLAGS=$lt_AR_FLAGS
14942
 
 
14943
 
# A symbol stripping program.
14944
 
STRIP=$lt_STRIP
14945
 
 
14946
 
# Commands used to install an old-style archive.
14947
 
RANLIB=$lt_RANLIB
14948
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14949
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14950
 
 
14951
 
# A C compiler.
14952
 
LTCC=$lt_CC
14953
 
 
14954
 
# LTCC compiler flags.
14955
 
LTCFLAGS=$lt_CFLAGS
14956
 
 
14957
 
# Take the output of nm and produce a listing of raw symbols and C names.
14958
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14959
 
 
14960
 
# Transform the output of nm in a proper C declaration.
14961
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14962
 
 
14963
 
# Transform the output of nm in a C name address pair.
14964
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14965
 
 
14966
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
14967
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14968
 
 
14969
 
# The name of the directory that contains temporary libtool files.
14970
 
objdir=$objdir
14971
 
 
14972
 
# Shell to use when invoking shell scripts.
14973
 
SHELL=$lt_SHELL
14974
 
 
14975
 
# An echo program that does not interpret backslashes.
14976
 
ECHO=$lt_ECHO
14977
 
 
14978
 
# Used to examine libraries when file_magic_cmd begins with "file".
14979
 
MAGIC_CMD=$MAGIC_CMD
14980
 
 
14981
 
# Must we lock files when doing compilation?
14982
 
need_locks=$lt_need_locks
14983
 
 
14984
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14985
 
DSYMUTIL=$lt_DSYMUTIL
14986
 
 
14987
 
# Tool to change global to local symbols on Mac OS X.
14988
 
NMEDIT=$lt_NMEDIT
14989
 
 
14990
 
# Tool to manipulate fat objects and archives on Mac OS X.
14991
 
LIPO=$lt_LIPO
14992
 
 
14993
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14994
 
OTOOL=$lt_OTOOL
14995
 
 
14996
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14997
 
OTOOL64=$lt_OTOOL64
14998
 
 
14999
 
# Old archive suffix (normally "a").
15000
 
libext=$libext
15001
 
 
15002
 
# Shared library suffix (normally ".so").
15003
 
shrext_cmds=$lt_shrext_cmds
15004
 
 
15005
 
# The commands to extract the exported symbol list from a shared archive.
15006
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15007
 
 
15008
 
# Variables whose values should be saved in libtool wrapper scripts and
15009
 
# restored at link time.
15010
 
variables_saved_for_relink=$lt_variables_saved_for_relink
15011
 
 
15012
 
# Do we need the "lib" prefix for modules?
15013
 
need_lib_prefix=$need_lib_prefix
15014
 
 
15015
 
# Do we need a version for libraries?
15016
 
need_version=$need_version
15017
 
 
15018
 
# Library versioning type.
15019
 
version_type=$version_type
15020
 
 
15021
 
# Shared library runtime path variable.
15022
 
runpath_var=$runpath_var
15023
 
 
15024
 
# Shared library path variable.
15025
 
shlibpath_var=$shlibpath_var
15026
 
 
15027
 
# Is shlibpath searched before the hard-coded library search path?
15028
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15029
 
 
15030
 
# Format of library name prefix.
15031
 
libname_spec=$lt_libname_spec
15032
 
 
15033
 
# List of archive names.  First name is the real one, the rest are links.
15034
 
# The last name is the one that the linker finds with -lNAME
15035
 
library_names_spec=$lt_library_names_spec
15036
 
 
15037
 
# The coded name of the library, if different from the real name.
15038
 
soname_spec=$lt_soname_spec
15039
 
 
15040
 
# Command to use after installation of a shared archive.
15041
 
postinstall_cmds=$lt_postinstall_cmds
15042
 
 
15043
 
# Command to use after uninstallation of a shared archive.
15044
 
postuninstall_cmds=$lt_postuninstall_cmds
15045
 
 
15046
 
# Commands used to finish a libtool library installation in a directory.
15047
 
finish_cmds=$lt_finish_cmds
15048
 
 
15049
 
# As "finish_cmds", except a single script fragment to be evaled but
15050
 
# not shown.
15051
 
finish_eval=$lt_finish_eval
15052
 
 
15053
 
# Whether we should hardcode library paths into libraries.
15054
 
hardcode_into_libs=$hardcode_into_libs
15055
 
 
15056
 
# Compile-time system search path for libraries.
15057
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15058
 
 
15059
 
# Run-time system search path for libraries.
15060
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15061
 
 
15062
 
# Whether dlopen is supported.
15063
 
dlopen_support=$enable_dlopen
15064
 
 
15065
 
# Whether dlopen of programs is supported.
15066
 
dlopen_self=$enable_dlopen_self
15067
 
 
15068
 
# Whether dlopen of statically linked programs is supported.
15069
 
dlopen_self_static=$enable_dlopen_self_static
15070
 
 
15071
 
# Commands to strip libraries.
15072
 
old_striplib=$lt_old_striplib
15073
 
striplib=$lt_striplib
15074
 
 
15075
 
 
15076
 
# The linker used to build libraries.
15077
 
LD=$lt_LD
15078
 
 
15079
 
# Commands used to build an old-style archive.
15080
 
old_archive_cmds=$lt_old_archive_cmds
15081
 
 
15082
 
# A language specific compiler.
15083
 
CC=$lt_compiler
15084
 
 
15085
 
# Is the compiler the GNU compiler?
15086
 
with_gcc=$GCC
15087
 
 
15088
 
# Compiler flag to turn off builtin functions.
15089
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15090
 
 
15091
 
# How to pass a linker flag through the compiler.
15092
 
wl=$lt_lt_prog_compiler_wl
15093
 
 
15094
 
# Additional compiler flags for building library objects.
15095
 
pic_flag=$lt_lt_prog_compiler_pic
15096
 
 
15097
 
# Compiler flag to prevent dynamic linking.
15098
 
link_static_flag=$lt_lt_prog_compiler_static
15099
 
 
15100
 
# Does compiler simultaneously support -c and -o options?
15101
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15102
 
 
15103
 
# Whether or not to add -lc for building shared libraries.
15104
 
build_libtool_need_lc=$archive_cmds_need_lc
15105
 
 
15106
 
# Whether or not to disallow shared libs when runtime libs are static.
15107
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15108
 
 
15109
 
# Compiler flag to allow reflexive dlopens.
15110
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15111
 
 
15112
 
# Compiler flag to generate shared objects directly from archives.
15113
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15114
 
 
15115
 
# Whether the compiler copes with passing no objects directly.
15116
 
compiler_needs_object=$lt_compiler_needs_object
15117
 
 
15118
 
# Create an old-style archive from a shared archive.
15119
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15120
 
 
15121
 
# Create a temporary old-style archive to link instead of a shared archive.
15122
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15123
 
 
15124
 
# Commands used to build a shared archive.
15125
 
archive_cmds=$lt_archive_cmds
15126
 
archive_expsym_cmds=$lt_archive_expsym_cmds
15127
 
 
15128
 
# Commands used to build a loadable module if different from building
15129
 
# a shared archive.
15130
 
module_cmds=$lt_module_cmds
15131
 
module_expsym_cmds=$lt_module_expsym_cmds
15132
 
 
15133
 
# Whether we are building with GNU ld or not.
15134
 
with_gnu_ld=$lt_with_gnu_ld
15135
 
 
15136
 
# Flag that allows shared libraries with undefined symbols to be built.
15137
 
allow_undefined_flag=$lt_allow_undefined_flag
15138
 
 
15139
 
# Flag that enforces no undefined symbols.
15140
 
no_undefined_flag=$lt_no_undefined_flag
15141
 
 
15142
 
# Flag to hardcode \$libdir into a binary during linking.
15143
 
# This must work even if \$libdir does not exist
15144
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15145
 
 
15146
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
15147
 
# during linking.  This must work even if \$libdir does not exist.
15148
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15149
 
 
15150
 
# Whether we need a single "-rpath" flag with a separated argument.
15151
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15152
 
 
15153
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15154
 
# DIR into the resulting binary.
15155
 
hardcode_direct=$hardcode_direct
15156
 
 
15157
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15158
 
# DIR into the resulting binary and the resulting library dependency is
15159
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15160
 
# library is relocated.
15161
 
hardcode_direct_absolute=$hardcode_direct_absolute
15162
 
 
15163
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15164
 
# into the resulting binary.
15165
 
hardcode_minus_L=$hardcode_minus_L
15166
 
 
15167
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15168
 
# into the resulting binary.
15169
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
15170
 
 
15171
 
# Set to "yes" if building a shared library automatically hardcodes DIR
15172
 
# into the library and all subsequent libraries and executables linked
15173
 
# against it.
15174
 
hardcode_automatic=$hardcode_automatic
15175
 
 
15176
 
# Set to yes if linker adds runtime paths of dependent libraries
15177
 
# to runtime path list.
15178
 
inherit_rpath=$inherit_rpath
15179
 
 
15180
 
# Whether libtool must link a program against all its dependency libraries.
15181
 
link_all_deplibs=$link_all_deplibs
15182
 
 
15183
 
# Fix the shell variable \$srcfile for the compiler.
15184
 
fix_srcfile_path=$lt_fix_srcfile_path
15185
 
 
15186
 
# Set to "yes" if exported symbols are required.
15187
 
always_export_symbols=$always_export_symbols
15188
 
 
15189
 
# The commands to list exported symbols.
15190
 
export_symbols_cmds=$lt_export_symbols_cmds
15191
 
 
15192
 
# Symbols that should not be listed in the preloaded symbols.
15193
 
exclude_expsyms=$lt_exclude_expsyms
15194
 
 
15195
 
# Symbols that must always be exported.
15196
 
include_expsyms=$lt_include_expsyms
15197
 
 
15198
 
# Commands necessary for linking programs (against libraries) with templates.
15199
 
prelink_cmds=$lt_prelink_cmds
15200
 
 
15201
 
# Specify filename containing input files.
15202
 
file_list_spec=$lt_file_list_spec
15203
 
 
15204
 
# How to hardcode a shared library path into an executable.
15205
 
hardcode_action=$hardcode_action
15206
 
 
15207
 
# ### END LIBTOOL CONFIG
15208
 
 
15209
 
_LT_EOF
15210
 
 
15211
 
  case $host_os in
15212
 
  aix3*)
15213
 
    cat <<\_LT_EOF >> "$cfgfile"
15214
 
# AIX sometimes has problems with the GCC collect2 program.  For some
15215
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
15216
 
# vanish in a puff of smoke.
15217
 
if test "X${COLLECT_NAMES+set}" != Xset; then
15218
 
  COLLECT_NAMES=
15219
 
  export COLLECT_NAMES
15220
 
fi
15221
 
_LT_EOF
15222
 
    ;;
15223
 
  esac
15224
 
 
15225
 
 
15226
 
ltmain="$ac_aux_dir/ltmain.sh"
15227
 
 
15228
 
 
15229
 
  # We use sed instead of cat because bash on DJGPP gets confused if
15230
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15231
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
15232
 
  # is reportedly fixed, but why not run on old versions too?
15233
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15234
 
    || (rm -f "$cfgfile"; exit 1)
15235
 
 
15236
 
  case $xsi_shell in
15237
 
  yes)
15238
 
    cat << \_LT_EOF >> "$cfgfile"
15239
 
 
15240
 
# func_dirname file append nondir_replacement
15241
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15242
 
# otherwise set result to NONDIR_REPLACEMENT.
15243
 
func_dirname ()
15244
 
{
15245
 
  case ${1} in
15246
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15247
 
    *  ) func_dirname_result="${3}" ;;
15248
 
  esac
15249
 
}
15250
 
 
15251
 
# func_basename file
15252
 
func_basename ()
15253
 
{
15254
 
  func_basename_result="${1##*/}"
15255
 
}
15256
 
 
15257
 
# func_dirname_and_basename file append nondir_replacement
15258
 
# perform func_basename and func_dirname in a single function
15259
 
# call:
15260
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
15261
 
#             add APPEND to the result, otherwise set result
15262
 
#             to NONDIR_REPLACEMENT.
15263
 
#             value returned in "$func_dirname_result"
15264
 
#   basename: Compute filename of FILE.
15265
 
#             value retuned in "$func_basename_result"
15266
 
# Implementation must be kept synchronized with func_dirname
15267
 
# and func_basename. For efficiency, we do not delegate to
15268
 
# those functions but instead duplicate the functionality here.
15269
 
func_dirname_and_basename ()
15270
 
{
15271
 
  case ${1} in
15272
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15273
 
    *  ) func_dirname_result="${3}" ;;
15274
 
  esac
15275
 
  func_basename_result="${1##*/}"
15276
 
}
15277
 
 
15278
 
# func_stripname prefix suffix name
15279
 
# strip PREFIX and SUFFIX off of NAME.
15280
 
# PREFIX and SUFFIX must not contain globbing or regex special
15281
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15282
 
# dot (in which case that matches only a dot).
15283
 
func_stripname ()
15284
 
{
15285
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15286
 
  # positional parameters, so assign one to ordinary parameter first.
15287
 
  func_stripname_result=${3}
15288
 
  func_stripname_result=${func_stripname_result#"${1}"}
15289
 
  func_stripname_result=${func_stripname_result%"${2}"}
15290
 
}
15291
 
 
15292
 
# func_opt_split
15293
 
func_opt_split ()
15294
 
{
15295
 
  func_opt_split_opt=${1%%=*}
15296
 
  func_opt_split_arg=${1#*=}
15297
 
}
15298
 
 
15299
 
# func_lo2o object
15300
 
func_lo2o ()
15301
 
{
15302
 
  case ${1} in
15303
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15304
 
    *)    func_lo2o_result=${1} ;;
15305
 
  esac
15306
 
}
15307
 
 
15308
 
# func_xform libobj-or-source
15309
 
func_xform ()
15310
 
{
15311
 
  func_xform_result=${1%.*}.lo
15312
 
}
15313
 
 
15314
 
# func_arith arithmetic-term...
15315
 
func_arith ()
15316
 
{
15317
 
  func_arith_result=$(( $* ))
15318
 
}
15319
 
 
15320
 
# func_len string
15321
 
# STRING may not start with a hyphen.
15322
 
func_len ()
15323
 
{
15324
 
  func_len_result=${#1}
15325
 
}
15326
 
 
15327
 
_LT_EOF
15328
 
    ;;
15329
 
  *) # Bourne compatible functions.
15330
 
    cat << \_LT_EOF >> "$cfgfile"
15331
 
 
15332
 
# func_dirname file append nondir_replacement
15333
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15334
 
# otherwise set result to NONDIR_REPLACEMENT.
15335
 
func_dirname ()
15336
 
{
15337
 
  # Extract subdirectory from the argument.
15338
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15339
 
  if test "X$func_dirname_result" = "X${1}"; then
15340
 
    func_dirname_result="${3}"
15341
 
  else
15342
 
    func_dirname_result="$func_dirname_result${2}"
15343
 
  fi
15344
 
}
15345
 
 
15346
 
# func_basename file
15347
 
func_basename ()
15348
 
{
15349
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15350
 
}
15351
 
 
15352
 
 
15353
 
# func_stripname prefix suffix name
15354
 
# strip PREFIX and SUFFIX off of NAME.
15355
 
# PREFIX and SUFFIX must not contain globbing or regex special
15356
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15357
 
# dot (in which case that matches only a dot).
15358
 
# func_strip_suffix prefix name
15359
 
func_stripname ()
15360
 
{
15361
 
  case ${2} in
15362
 
    .*) func_stripname_result=`$ECHO "X${3}" \
15363
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15364
 
    *)  func_stripname_result=`$ECHO "X${3}" \
15365
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15366
 
  esac
15367
 
}
15368
 
 
15369
 
# sed scripts:
15370
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15371
 
my_sed_long_arg='1s/^-[^=]*=//'
15372
 
 
15373
 
# func_opt_split
15374
 
func_opt_split ()
15375
 
{
15376
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15377
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15378
 
}
15379
 
 
15380
 
# func_lo2o object
15381
 
func_lo2o ()
15382
 
{
15383
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15384
 
}
15385
 
 
15386
 
# func_xform libobj-or-source
15387
 
func_xform ()
15388
 
{
15389
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15390
 
}
15391
 
 
15392
 
# func_arith arithmetic-term...
15393
 
func_arith ()
15394
 
{
15395
 
  func_arith_result=`expr "$@"`
15396
 
}
15397
 
 
15398
 
# func_len string
15399
 
# STRING may not start with a hyphen.
15400
 
func_len ()
15401
 
{
15402
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15403
 
}
15404
 
 
15405
 
_LT_EOF
15406
 
esac
15407
 
 
15408
 
case $lt_shell_append in
15409
 
  yes)
15410
 
    cat << \_LT_EOF >> "$cfgfile"
15411
 
 
15412
 
# func_append var value
15413
 
# Append VALUE to the end of shell variable VAR.
15414
 
func_append ()
15415
 
{
15416
 
  eval "$1+=\$2"
15417
 
}
15418
 
_LT_EOF
15419
 
    ;;
15420
 
  *)
15421
 
    cat << \_LT_EOF >> "$cfgfile"
15422
 
 
15423
 
# func_append var value
15424
 
# Append VALUE to the end of shell variable VAR.
15425
 
func_append ()
15426
 
{
15427
 
  eval "$1=\$$1\$2"
15428
 
}
15429
 
 
15430
 
_LT_EOF
15431
 
    ;;
15432
 
  esac
15433
 
 
15434
 
 
15435
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15436
 
    || (rm -f "$cfgfile"; exit 1)
15437
 
 
15438
 
  mv -f "$cfgfile" "$ofile" ||
15439
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15440
 
  chmod +x "$ofile"
15441
 
 
15442
 
 ;;
15443
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15444
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15445
 
      esac ;;
15446
 
    "po/stamp-it":C)
15447
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15448
 
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15449
 
    fi
15450
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15451
 
    >"po/stamp-it.tmp"
15452
 
    sed '/^#/d
15453
 
         s/^[[].*] *//
15454
 
         /^[    ]*$/d
15455
 
        '"s|^|  $ac_top_srcdir/|" \
15456
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15457
 
 
15458
 
    sed '/^POTFILES =/,/[^\\]$/ {
15459
 
                /^POTFILES =/!d
15460
 
                r po/POTFILES
15461
 
          }
15462
 
         ' "po/Makefile.in" >"po/Makefile"
15463
 
    rm -f "po/Makefile.tmp"
15464
 
    mv "po/stamp-it.tmp" "po/stamp-it"
15465
 
   ;;
15466
 
 
15467
 
  esac
15468
 
done # for ac_tag
15469
 
 
15470
 
 
15471
 
as_fn_exit 0
15472
 
_ACEOF
15473
 
ac_clean_files=$ac_clean_files_save
15474
 
 
15475
 
test $ac_write_fail = 0 ||
15476
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15477
 
 
15478
 
 
15479
 
# configure is writing to config.log, and then calls config.status.
15480
 
# config.status does its own redirection, appending to config.log.
15481
 
# Unfortunately, on DOS this fails, as config.log is still kept open
15482
 
# by configure, so config.status won't be able to write to it; its
15483
 
# output is simply discarded.  So we exec the FD to /dev/null,
15484
 
# effectively closing config.log, so it can be properly (re)opened and
15485
 
# appended to by config.status.  When coming back to configure, we
15486
 
# need to make the FD available again.
15487
 
if test "$no_create" != yes; then
15488
 
  ac_cs_success=:
15489
 
  ac_config_status_args=
15490
 
  test "$silent" = yes &&
15491
 
    ac_config_status_args="$ac_config_status_args --quiet"
15492
 
  exec 5>/dev/null
15493
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15494
 
  exec 5>>config.log
15495
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15496
 
  # would make configure fail if this is the last instruction.
15497
 
  $ac_cs_success || as_fn_exit $?
15498
 
fi
15499
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15500
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15501
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15502
 
fi
15503
 
 
15504
 
 
15505
 
 
15506
 
 
15507
 
echo "Cairo-Dock will be compiled with the following options :"
15508
 
if test "$XExt_detected" = "true"; then
15509
 
        echo " * Use X Extensions : yes"
15510
 
else
15511
 
        echo " * Use X Extensions : no"
15512
 
fi
15513
 
if test "$glitz_detected" = "true"; then
15514
 
        echo " * Glitz Hardware Acceleration : yes (warning : this is deprecated)"
15515
 
fi
15516
 
if test "$LIBCRYPT_LIBS" != ""; then
15517
 
        echo " * crypt passwords : yes"
15518
 
else
15519
 
        echo " * crypt passwords : no"
15520
 
fi