~ubuntu-branches/ubuntu/oneiric/pcmanfm/oneiric

« back to all changes in this revision

Viewing changes to .pc/libtool-fix.patch/configure

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee (李健秋), Julien Lavergne, Andrew Lee (李健秋)
  • Date: 2010-11-24 22:51:44 UTC
  • mfrom: (6.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20101124225144-ump4w7p4a1xo9ctt
Tags: 0.9.8-1
[ Julien Lavergne ]
* debian/rules:
 - Use libfm apport hook only on Ubuntu.
 - Use directly dh_auto_configure instead of configure.
* debian/control:
 - Build-depends on lsb-release, needed to detect the distribution.
 - Wrap depends and build-depends.
 - Build-depends on libfm-dev (0.1.14).
* debian/patches/01-libfm-0.1.14-API-changes.patch:
 - Migrate from fm_path_new to fm_path_new_for_str to follow libfm API change
   (Closes: #600391)
* debian/patches/90-enable-fake-transparency.patch
 - From upstream, fix fake transparency (LP: #566056)

[ Andrew Lee (李健秋) ]
* Imported Upstream version 0.9.8
 - Desktop icons are now movable (Closes: #535814) (LP: #644259)
 - Broken Dnd from folder view to desktop (Closes: #534928)
 - Fix crash with // in the address bar (Closes: #586368)
 - Fix crash on right click (LP: #617655)
 - Translation updates (LP: #565496)
* Bumped Standard-version to 3.9.1
* Drop 01_binary_rename.patch
* Drop libtool-fix.patch
* delete debian/patches/series

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 pcmanfm 0.9.7.
4
 
#
5
 
# Report bugs to <http://pcmanfm.sf.net/>.
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
234
 
$0: http://pcmanfm.sf.net/ about your system, including any
235
 
$0: error possibly output before this message. Then install
236
 
$0: a modern shell, or manually run the script under such a
237
 
$0: 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='pcmanfm'
703
 
PACKAGE_TARNAME='pcmanfm'
704
 
PACKAGE_VERSION='0.9.7'
705
 
PACKAGE_STRING='pcmanfm 0.9.7'
706
 
PACKAGE_BUGREPORT='http://pcmanfm.sf.net/'
707
 
PACKAGE_URL=''
708
 
 
709
 
# Factoring default headers for most tests.
710
 
ac_includes_default="\
711
 
#include <stdio.h>
712
 
#ifdef HAVE_SYS_TYPES_H
713
 
# include <sys/types.h>
714
 
#endif
715
 
#ifdef HAVE_SYS_STAT_H
716
 
# include <sys/stat.h>
717
 
#endif
718
 
#ifdef STDC_HEADERS
719
 
# include <stdlib.h>
720
 
# include <stddef.h>
721
 
#else
722
 
# ifdef HAVE_STDLIB_H
723
 
#  include <stdlib.h>
724
 
# endif
725
 
#endif
726
 
#ifdef HAVE_STRING_H
727
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
728
 
#  include <memory.h>
729
 
# endif
730
 
# include <string.h>
731
 
#endif
732
 
#ifdef HAVE_STRINGS_H
733
 
# include <strings.h>
734
 
#endif
735
 
#ifdef HAVE_INTTYPES_H
736
 
# include <inttypes.h>
737
 
#endif
738
 
#ifdef HAVE_STDINT_H
739
 
# include <stdint.h>
740
 
#endif
741
 
#ifdef HAVE_UNISTD_H
742
 
# include <unistd.h>
743
 
#endif"
744
 
 
745
 
ac_subst_vars='am__EXEEXT_FALSE
746
 
am__EXEEXT_TRUE
747
 
LTLIBOBJS
748
 
LIBOBJS
749
 
MKINSTALLDIRS
750
 
POSUB
751
 
POFILES
752
 
PO_IN_DATADIR_FALSE
753
 
PO_IN_DATADIR_TRUE
754
 
INTLLIBS
755
 
INSTOBJEXT
756
 
GMOFILES
757
 
CATOBJEXT
758
 
CATALOGS
759
 
MSGFMT_OPTS
760
 
GETTEXT_PACKAGE
761
 
MENU_CACHE_LIBS
762
 
MENU_CACHE_CFLAGS
763
 
FM_LIBS
764
 
FM_CFLAGS
765
 
GMODULE_LIBS
766
 
GMODULE_CFLAGS
767
 
GIO_LIBS
768
 
GIO_CFLAGS
769
 
GTK_LIBS
770
 
GTK_CFLAGS
771
 
XLIB_LIBS
772
 
XLIB_CFLAGS
773
 
PKG_CONFIG
774
 
DATADIRNAME
775
 
ALL_LINGUAS
776
 
INTLTOOL_PERL
777
 
GMSGFMT
778
 
MSGFMT
779
 
MSGMERGE
780
 
XGETTEXT
781
 
INTLTOOL_POLICY_RULE
782
 
INTLTOOL_SERVICE_RULE
783
 
INTLTOOL_THEME_RULE
784
 
INTLTOOL_SCHEMAS_RULE
785
 
INTLTOOL_CAVES_RULE
786
 
INTLTOOL_XML_NOMERGE_RULE
787
 
INTLTOOL_XML_RULE
788
 
INTLTOOL_KBD_RULE
789
 
INTLTOOL_XAM_RULE
790
 
INTLTOOL_UI_RULE
791
 
INTLTOOL_SOUNDLIST_RULE
792
 
INTLTOOL_SHEET_RULE
793
 
INTLTOOL_SERVER_RULE
794
 
INTLTOOL_PONG_RULE
795
 
INTLTOOL_OAF_RULE
796
 
INTLTOOL_PROP_RULE
797
 
INTLTOOL_KEYS_RULE
798
 
INTLTOOL_DIRECTORY_RULE
799
 
INTLTOOL_DESKTOP_RULE
800
 
INTLTOOL_EXTRACT
801
 
INTLTOOL_MERGE
802
 
INTLTOOL_UPDATE
803
 
USE_NLS
804
 
G_CAST_CHECKS
805
 
CPP
806
 
OTOOL64
807
 
OTOOL
808
 
LIPO
809
 
NMEDIT
810
 
DSYMUTIL
811
 
lt_ECHO
812
 
RANLIB
813
 
AR
814
 
OBJDUMP
815
 
LN_S
816
 
NM
817
 
ac_ct_DUMPBIN
818
 
DUMPBIN
819
 
LD
820
 
FGREP
821
 
EGREP
822
 
GREP
823
 
SED
824
 
host_os
825
 
host_vendor
826
 
host_cpu
827
 
host
828
 
build_os
829
 
build_vendor
830
 
build_cpu
831
 
build
832
 
LIBTOOL
833
 
am__fastdepCC_FALSE
834
 
am__fastdepCC_TRUE
835
 
CCDEPMODE
836
 
AMDEPBACKSLASH
837
 
AMDEP_FALSE
838
 
AMDEP_TRUE
839
 
am__quote
840
 
am__include
841
 
DEPDIR
842
 
OBJEXT
843
 
EXEEXT
844
 
ac_ct_CC
845
 
CPPFLAGS
846
 
LDFLAGS
847
 
CFLAGS
848
 
CC
849
 
am__untar
850
 
am__tar
851
 
AMTAR
852
 
am__leading_dot
853
 
SET_MAKE
854
 
AWK
855
 
mkdir_p
856
 
MKDIR_P
857
 
INSTALL_STRIP_PROGRAM
858
 
STRIP
859
 
install_sh
860
 
MAKEINFO
861
 
AUTOHEADER
862
 
AUTOMAKE
863
 
AUTOCONF
864
 
ACLOCAL
865
 
VERSION
866
 
PACKAGE
867
 
CYGPATH_W
868
 
am__isrc
869
 
INSTALL_DATA
870
 
INSTALL_SCRIPT
871
 
INSTALL_PROGRAM
872
 
target_alias
873
 
host_alias
874
 
build_alias
875
 
LIBS
876
 
ECHO_T
877
 
ECHO_N
878
 
ECHO_C
879
 
DEFS
880
 
mandir
881
 
localedir
882
 
libdir
883
 
psdir
884
 
pdfdir
885
 
dvidir
886
 
htmldir
887
 
infodir
888
 
docdir
889
 
oldincludedir
890
 
includedir
891
 
localstatedir
892
 
sharedstatedir
893
 
sysconfdir
894
 
datadir
895
 
datarootdir
896
 
libexecdir
897
 
sbindir
898
 
bindir
899
 
program_transform_name
900
 
prefix
901
 
exec_prefix
902
 
PACKAGE_URL
903
 
PACKAGE_BUGREPORT
904
 
PACKAGE_STRING
905
 
PACKAGE_VERSION
906
 
PACKAGE_TARNAME
907
 
PACKAGE_NAME
908
 
PATH_SEPARATOR
909
 
SHELL'
910
 
ac_subst_files=''
911
 
ac_user_opts='
912
 
enable_option_checking
913
 
enable_dependency_tracking
914
 
enable_shared
915
 
enable_static
916
 
with_pic
917
 
enable_fast_install
918
 
with_gnu_ld
919
 
enable_libtool_lock
920
 
enable_largefile
921
 
enable_cast_checks
922
 
enable_debug
923
 
enable_nls
924
 
'
925
 
      ac_precious_vars='build_alias
926
 
host_alias
927
 
target_alias
928
 
CC
929
 
CFLAGS
930
 
LDFLAGS
931
 
LIBS
932
 
CPPFLAGS
933
 
CPP
934
 
PKG_CONFIG
935
 
XLIB_CFLAGS
936
 
XLIB_LIBS
937
 
GTK_CFLAGS
938
 
GTK_LIBS
939
 
GIO_CFLAGS
940
 
GIO_LIBS
941
 
GMODULE_CFLAGS
942
 
GMODULE_LIBS
943
 
FM_CFLAGS
944
 
FM_LIBS
945
 
MENU_CACHE_CFLAGS
946
 
MENU_CACHE_LIBS'
947
 
 
948
 
 
949
 
# Initialize some variables set by options.
950
 
ac_init_help=
951
 
ac_init_version=false
952
 
ac_unrecognized_opts=
953
 
ac_unrecognized_sep=
954
 
# The variables have the same names as the options, with
955
 
# dashes changed to underlines.
956
 
cache_file=/dev/null
957
 
exec_prefix=NONE
958
 
no_create=
959
 
no_recursion=
960
 
prefix=NONE
961
 
program_prefix=NONE
962
 
program_suffix=NONE
963
 
program_transform_name=s,x,x,
964
 
silent=
965
 
site=
966
 
srcdir=
967
 
verbose=
968
 
x_includes=NONE
969
 
x_libraries=NONE
970
 
 
971
 
# Installation directory options.
972
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
973
 
# and all the variables that are supposed to be based on exec_prefix
974
 
# by default will actually change.
975
 
# Use braces instead of parens because sh, perl, etc. also accept them.
976
 
# (The list follows the same order as the GNU Coding Standards.)
977
 
bindir='${exec_prefix}/bin'
978
 
sbindir='${exec_prefix}/sbin'
979
 
libexecdir='${exec_prefix}/libexec'
980
 
datarootdir='${prefix}/share'
981
 
datadir='${datarootdir}'
982
 
sysconfdir='${prefix}/etc'
983
 
sharedstatedir='${prefix}/com'
984
 
localstatedir='${prefix}/var'
985
 
includedir='${prefix}/include'
986
 
oldincludedir='/usr/include'
987
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
988
 
infodir='${datarootdir}/info'
989
 
htmldir='${docdir}'
990
 
dvidir='${docdir}'
991
 
pdfdir='${docdir}'
992
 
psdir='${docdir}'
993
 
libdir='${exec_prefix}/lib'
994
 
localedir='${datarootdir}/locale'
995
 
mandir='${datarootdir}/man'
996
 
 
997
 
ac_prev=
998
 
ac_dashdash=
999
 
for ac_option
1000
 
do
1001
 
  # If the previous option needs an argument, assign it.
1002
 
  if test -n "$ac_prev"; then
1003
 
    eval $ac_prev=\$ac_option
1004
 
    ac_prev=
1005
 
    continue
1006
 
  fi
1007
 
 
1008
 
  case $ac_option in
1009
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1010
 
  *)    ac_optarg=yes ;;
1011
 
  esac
1012
 
 
1013
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1014
 
 
1015
 
  case $ac_dashdash$ac_option in
1016
 
  --)
1017
 
    ac_dashdash=yes ;;
1018
 
 
1019
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1020
 
    ac_prev=bindir ;;
1021
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1022
 
    bindir=$ac_optarg ;;
1023
 
 
1024
 
  -build | --build | --buil | --bui | --bu)
1025
 
    ac_prev=build_alias ;;
1026
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1027
 
    build_alias=$ac_optarg ;;
1028
 
 
1029
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1030
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1031
 
    ac_prev=cache_file ;;
1032
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1033
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1034
 
    cache_file=$ac_optarg ;;
1035
 
 
1036
 
  --config-cache | -C)
1037
 
    cache_file=config.cache ;;
1038
 
 
1039
 
  -datadir | --datadir | --datadi | --datad)
1040
 
    ac_prev=datadir ;;
1041
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1042
 
    datadir=$ac_optarg ;;
1043
 
 
1044
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1045
 
  | --dataroo | --dataro | --datar)
1046
 
    ac_prev=datarootdir ;;
1047
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1048
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1049
 
    datarootdir=$ac_optarg ;;
1050
 
 
1051
 
  -disable-* | --disable-*)
1052
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1053
 
    # Reject names that are not valid shell variable names.
1054
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055
 
      as_fn_error "invalid feature name: $ac_useropt"
1056
 
    ac_useropt_orig=$ac_useropt
1057
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058
 
    case $ac_user_opts in
1059
 
      *"
1060
 
"enable_$ac_useropt"
1061
 
"*) ;;
1062
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1063
 
         ac_unrecognized_sep=', ';;
1064
 
    esac
1065
 
    eval enable_$ac_useropt=no ;;
1066
 
 
1067
 
  -docdir | --docdir | --docdi | --doc | --do)
1068
 
    ac_prev=docdir ;;
1069
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1070
 
    docdir=$ac_optarg ;;
1071
 
 
1072
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1073
 
    ac_prev=dvidir ;;
1074
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1075
 
    dvidir=$ac_optarg ;;
1076
 
 
1077
 
  -enable-* | --enable-*)
1078
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1079
 
    # Reject names that are not valid shell variable names.
1080
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081
 
      as_fn_error "invalid feature name: $ac_useropt"
1082
 
    ac_useropt_orig=$ac_useropt
1083
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084
 
    case $ac_user_opts in
1085
 
      *"
1086
 
"enable_$ac_useropt"
1087
 
"*) ;;
1088
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1089
 
         ac_unrecognized_sep=', ';;
1090
 
    esac
1091
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1092
 
 
1093
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1094
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1095
 
  | --exec | --exe | --ex)
1096
 
    ac_prev=exec_prefix ;;
1097
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1098
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1099
 
  | --exec=* | --exe=* | --ex=*)
1100
 
    exec_prefix=$ac_optarg ;;
1101
 
 
1102
 
  -gas | --gas | --ga | --g)
1103
 
    # Obsolete; use --with-gas.
1104
 
    with_gas=yes ;;
1105
 
 
1106
 
  -help | --help | --hel | --he | -h)
1107
 
    ac_init_help=long ;;
1108
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1109
 
    ac_init_help=recursive ;;
1110
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1111
 
    ac_init_help=short ;;
1112
 
 
1113
 
  -host | --host | --hos | --ho)
1114
 
    ac_prev=host_alias ;;
1115
 
  -host=* | --host=* | --hos=* | --ho=*)
1116
 
    host_alias=$ac_optarg ;;
1117
 
 
1118
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1119
 
    ac_prev=htmldir ;;
1120
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1121
 
  | --ht=*)
1122
 
    htmldir=$ac_optarg ;;
1123
 
 
1124
 
  -includedir | --includedir | --includedi | --included | --include \
1125
 
  | --includ | --inclu | --incl | --inc)
1126
 
    ac_prev=includedir ;;
1127
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1128
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1129
 
    includedir=$ac_optarg ;;
1130
 
 
1131
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1132
 
    ac_prev=infodir ;;
1133
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1134
 
    infodir=$ac_optarg ;;
1135
 
 
1136
 
  -libdir | --libdir | --libdi | --libd)
1137
 
    ac_prev=libdir ;;
1138
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1139
 
    libdir=$ac_optarg ;;
1140
 
 
1141
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1142
 
  | --libexe | --libex | --libe)
1143
 
    ac_prev=libexecdir ;;
1144
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1145
 
  | --libexe=* | --libex=* | --libe=*)
1146
 
    libexecdir=$ac_optarg ;;
1147
 
 
1148
 
  -localedir | --localedir | --localedi | --localed | --locale)
1149
 
    ac_prev=localedir ;;
1150
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1151
 
    localedir=$ac_optarg ;;
1152
 
 
1153
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1154
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1155
 
    ac_prev=localstatedir ;;
1156
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1157
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1158
 
    localstatedir=$ac_optarg ;;
1159
 
 
1160
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1161
 
    ac_prev=mandir ;;
1162
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1163
 
    mandir=$ac_optarg ;;
1164
 
 
1165
 
  -nfp | --nfp | --nf)
1166
 
    # Obsolete; use --without-fp.
1167
 
    with_fp=no ;;
1168
 
 
1169
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1170
 
  | --no-cr | --no-c | -n)
1171
 
    no_create=yes ;;
1172
 
 
1173
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1174
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1175
 
    no_recursion=yes ;;
1176
 
 
1177
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1178
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1179
 
  | --oldin | --oldi | --old | --ol | --o)
1180
 
    ac_prev=oldincludedir ;;
1181
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1182
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1183
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1184
 
    oldincludedir=$ac_optarg ;;
1185
 
 
1186
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1187
 
    ac_prev=prefix ;;
1188
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1189
 
    prefix=$ac_optarg ;;
1190
 
 
1191
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1192
 
  | --program-pre | --program-pr | --program-p)
1193
 
    ac_prev=program_prefix ;;
1194
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1195
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1196
 
    program_prefix=$ac_optarg ;;
1197
 
 
1198
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1199
 
  | --program-suf | --program-su | --program-s)
1200
 
    ac_prev=program_suffix ;;
1201
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1202
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1203
 
    program_suffix=$ac_optarg ;;
1204
 
 
1205
 
  -program-transform-name | --program-transform-name \
1206
 
  | --program-transform-nam | --program-transform-na \
1207
 
  | --program-transform-n | --program-transform- \
1208
 
  | --program-transform | --program-transfor \
1209
 
  | --program-transfo | --program-transf \
1210
 
  | --program-trans | --program-tran \
1211
 
  | --progr-tra | --program-tr | --program-t)
1212
 
    ac_prev=program_transform_name ;;
1213
 
  -program-transform-name=* | --program-transform-name=* \
1214
 
  | --program-transform-nam=* | --program-transform-na=* \
1215
 
  | --program-transform-n=* | --program-transform-=* \
1216
 
  | --program-transform=* | --program-transfor=* \
1217
 
  | --program-transfo=* | --program-transf=* \
1218
 
  | --program-trans=* | --program-tran=* \
1219
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1220
 
    program_transform_name=$ac_optarg ;;
1221
 
 
1222
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1223
 
    ac_prev=pdfdir ;;
1224
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1225
 
    pdfdir=$ac_optarg ;;
1226
 
 
1227
 
  -psdir | --psdir | --psdi | --psd | --ps)
1228
 
    ac_prev=psdir ;;
1229
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1230
 
    psdir=$ac_optarg ;;
1231
 
 
1232
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1233
 
  | -silent | --silent | --silen | --sile | --sil)
1234
 
    silent=yes ;;
1235
 
 
1236
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1237
 
    ac_prev=sbindir ;;
1238
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1239
 
  | --sbi=* | --sb=*)
1240
 
    sbindir=$ac_optarg ;;
1241
 
 
1242
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1243
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1244
 
  | --sharedst | --shareds | --shared | --share | --shar \
1245
 
  | --sha | --sh)
1246
 
    ac_prev=sharedstatedir ;;
1247
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1248
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1249
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1250
 
  | --sha=* | --sh=*)
1251
 
    sharedstatedir=$ac_optarg ;;
1252
 
 
1253
 
  -site | --site | --sit)
1254
 
    ac_prev=site ;;
1255
 
  -site=* | --site=* | --sit=*)
1256
 
    site=$ac_optarg ;;
1257
 
 
1258
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1259
 
    ac_prev=srcdir ;;
1260
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1261
 
    srcdir=$ac_optarg ;;
1262
 
 
1263
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1264
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1265
 
    ac_prev=sysconfdir ;;
1266
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1267
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1268
 
    sysconfdir=$ac_optarg ;;
1269
 
 
1270
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1271
 
    ac_prev=target_alias ;;
1272
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1273
 
    target_alias=$ac_optarg ;;
1274
 
 
1275
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1276
 
    verbose=yes ;;
1277
 
 
1278
 
  -version | --version | --versio | --versi | --vers | -V)
1279
 
    ac_init_version=: ;;
1280
 
 
1281
 
  -with-* | --with-*)
1282
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1283
 
    # Reject names that are not valid shell variable names.
1284
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1285
 
      as_fn_error "invalid package name: $ac_useropt"
1286
 
    ac_useropt_orig=$ac_useropt
1287
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1288
 
    case $ac_user_opts in
1289
 
      *"
1290
 
"with_$ac_useropt"
1291
 
"*) ;;
1292
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1293
 
         ac_unrecognized_sep=', ';;
1294
 
    esac
1295
 
    eval with_$ac_useropt=\$ac_optarg ;;
1296
 
 
1297
 
  -without-* | --without-*)
1298
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1299
 
    # Reject names that are not valid shell variable names.
1300
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1301
 
      as_fn_error "invalid package name: $ac_useropt"
1302
 
    ac_useropt_orig=$ac_useropt
1303
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1304
 
    case $ac_user_opts in
1305
 
      *"
1306
 
"with_$ac_useropt"
1307
 
"*) ;;
1308
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1309
 
         ac_unrecognized_sep=', ';;
1310
 
    esac
1311
 
    eval with_$ac_useropt=no ;;
1312
 
 
1313
 
  --x)
1314
 
    # Obsolete; use --with-x.
1315
 
    with_x=yes ;;
1316
 
 
1317
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1318
 
  | --x-incl | --x-inc | --x-in | --x-i)
1319
 
    ac_prev=x_includes ;;
1320
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1321
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1322
 
    x_includes=$ac_optarg ;;
1323
 
 
1324
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1325
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1326
 
    ac_prev=x_libraries ;;
1327
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1328
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1329
 
    x_libraries=$ac_optarg ;;
1330
 
 
1331
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1332
 
Try \`$0 --help' for more information."
1333
 
    ;;
1334
 
 
1335
 
  *=*)
1336
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1337
 
    # Reject names that are not valid shell variable names.
1338
 
    case $ac_envvar in #(
1339
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1340
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1341
 
    esac
1342
 
    eval $ac_envvar=\$ac_optarg
1343
 
    export $ac_envvar ;;
1344
 
 
1345
 
  *)
1346
 
    # FIXME: should be removed in autoconf 3.0.
1347
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1348
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1349
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1350
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1351
 
    ;;
1352
 
 
1353
 
  esac
1354
 
done
1355
 
 
1356
 
if test -n "$ac_prev"; then
1357
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1358
 
  as_fn_error "missing argument to $ac_option"
1359
 
fi
1360
 
 
1361
 
if test -n "$ac_unrecognized_opts"; then
1362
 
  case $enable_option_checking in
1363
 
    no) ;;
1364
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1365
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1366
 
  esac
1367
 
fi
1368
 
 
1369
 
# Check all directory arguments for consistency.
1370
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1371
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1372
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1373
 
                libdir localedir mandir
1374
 
do
1375
 
  eval ac_val=\$$ac_var
1376
 
  # Remove trailing slashes.
1377
 
  case $ac_val in
1378
 
    */ )
1379
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1380
 
      eval $ac_var=\$ac_val;;
1381
 
  esac
1382
 
  # Be sure to have absolute directory names.
1383
 
  case $ac_val in
1384
 
    [\\/$]* | ?:[\\/]* )  continue;;
1385
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1386
 
  esac
1387
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1388
 
done
1389
 
 
1390
 
# There might be people who depend on the old broken behavior: `$host'
1391
 
# used to hold the argument of --host etc.
1392
 
# FIXME: To remove some day.
1393
 
build=$build_alias
1394
 
host=$host_alias
1395
 
target=$target_alias
1396
 
 
1397
 
# FIXME: To remove some day.
1398
 
if test "x$host_alias" != x; then
1399
 
  if test "x$build_alias" = x; then
1400
 
    cross_compiling=maybe
1401
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1402
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1403
 
  elif test "x$build_alias" != "x$host_alias"; then
1404
 
    cross_compiling=yes
1405
 
  fi
1406
 
fi
1407
 
 
1408
 
ac_tool_prefix=
1409
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1410
 
 
1411
 
test "$silent" = yes && exec 6>/dev/null
1412
 
 
1413
 
 
1414
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1415
 
ac_ls_di=`ls -di .` &&
1416
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1417
 
  as_fn_error "working directory cannot be determined"
1418
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1419
 
  as_fn_error "pwd does not report name of working directory"
1420
 
 
1421
 
 
1422
 
# Find the source files, if location was not specified.
1423
 
if test -z "$srcdir"; then
1424
 
  ac_srcdir_defaulted=yes
1425
 
  # Try the directory containing this script, then the parent directory.
1426
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1427
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1428
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1429
 
         X"$as_myself" : 'X\(//\)$' \| \
1430
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1431
 
$as_echo X"$as_myself" |
1432
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1433
 
            s//\1/
1434
 
            q
1435
 
          }
1436
 
          /^X\(\/\/\)[^/].*/{
1437
 
            s//\1/
1438
 
            q
1439
 
          }
1440
 
          /^X\(\/\/\)$/{
1441
 
            s//\1/
1442
 
            q
1443
 
          }
1444
 
          /^X\(\/\).*/{
1445
 
            s//\1/
1446
 
            q
1447
 
          }
1448
 
          s/.*/./; q'`
1449
 
  srcdir=$ac_confdir
1450
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1451
 
    srcdir=..
1452
 
  fi
1453
 
else
1454
 
  ac_srcdir_defaulted=no
1455
 
fi
1456
 
if test ! -r "$srcdir/$ac_unique_file"; then
1457
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1458
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1459
 
fi
1460
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1461
 
ac_abs_confdir=`(
1462
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1463
 
        pwd)`
1464
 
# When building in place, set srcdir=.
1465
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1466
 
  srcdir=.
1467
 
fi
1468
 
# Remove unnecessary trailing slashes from srcdir.
1469
 
# Double slashes in file names in object file debugging info
1470
 
# mess up M-x gdb in Emacs.
1471
 
case $srcdir in
1472
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1473
 
esac
1474
 
for ac_var in $ac_precious_vars; do
1475
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1476
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1477
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1478
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1479
 
done
1480
 
 
1481
 
#
1482
 
# Report the --help message.
1483
 
#
1484
 
if test "$ac_init_help" = "long"; then
1485
 
  # Omit some internal or obsolete options to make the list less imposing.
1486
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1487
 
  cat <<_ACEOF
1488
 
\`configure' configures pcmanfm 0.9.7 to adapt to many kinds of systems.
1489
 
 
1490
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1491
 
 
1492
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1493
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1494
 
 
1495
 
Defaults for the options are specified in brackets.
1496
 
 
1497
 
Configuration:
1498
 
  -h, --help              display this help and exit
1499
 
      --help=short        display options specific to this package
1500
 
      --help=recursive    display the short help of all the included packages
1501
 
  -V, --version           display version information and exit
1502
 
  -q, --quiet, --silent   do not print \`checking...' messages
1503
 
      --cache-file=FILE   cache test results in FILE [disabled]
1504
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1505
 
  -n, --no-create         do not create output files
1506
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1507
 
 
1508
 
Installation directories:
1509
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1510
 
                          [$ac_default_prefix]
1511
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1512
 
                          [PREFIX]
1513
 
 
1514
 
By default, \`make install' will install all the files in
1515
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1516
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1517
 
for instance \`--prefix=\$HOME'.
1518
 
 
1519
 
For better control, use the options below.
1520
 
 
1521
 
Fine tuning of the installation directories:
1522
 
  --bindir=DIR            user executables [EPREFIX/bin]
1523
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1524
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1525
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1526
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1527
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1528
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1529
 
  --includedir=DIR        C header files [PREFIX/include]
1530
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1531
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1532
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1533
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1534
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1535
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1536
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/pcmanfm]
1537
 
  --htmldir=DIR           html documentation [DOCDIR]
1538
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1539
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1540
 
  --psdir=DIR             ps documentation [DOCDIR]
1541
 
_ACEOF
1542
 
 
1543
 
  cat <<\_ACEOF
1544
 
 
1545
 
Program names:
1546
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1547
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1548
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1549
 
 
1550
 
System types:
1551
 
  --build=BUILD     configure for building on BUILD [guessed]
1552
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1553
 
_ACEOF
1554
 
fi
1555
 
 
1556
 
if test -n "$ac_init_help"; then
1557
 
  case $ac_init_help in
1558
 
     short | recursive ) echo "Configuration of pcmanfm 0.9.7:";;
1559
 
   esac
1560
 
  cat <<\_ACEOF
1561
 
 
1562
 
Optional Features:
1563
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1564
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1565
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1566
 
  --disable-dependency-tracking  speeds up one-time build
1567
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1568
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1569
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1570
 
  --enable-fast-install[=PKGS]
1571
 
                          optimize for fast installation [default=yes]
1572
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1573
 
  --enable-largefile      enable Large file support (default: yes)
1574
 
  --enable-cast-checks    enable Glib casting checks (default: disable)
1575
 
  --enable-debug          build pcmanfm with debug support [default=no]
1576
 
  --disable-nls           do not use Native Language Support
1577
 
 
1578
 
Optional Packages:
1579
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1580
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1581
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1582
 
                          both]
1583
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1584
 
 
1585
 
Some influential environment variables:
1586
 
  CC          C compiler command
1587
 
  CFLAGS      C compiler flags
1588
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1589
 
              nonstandard directory <lib dir>
1590
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1591
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1592
 
              you have headers in a nonstandard directory <include dir>
1593
 
  CPP         C preprocessor
1594
 
  PKG_CONFIG  path to pkg-config utility
1595
 
  XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
1596
 
  XLIB_LIBS   linker flags for XLIB, overriding pkg-config
1597
 
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1598
 
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1599
 
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1600
 
  GIO_LIBS    linker flags for GIO, overriding pkg-config
1601
 
  GMODULE_CFLAGS
1602
 
              C compiler flags for GMODULE, overriding pkg-config
1603
 
  GMODULE_LIBS
1604
 
              linker flags for GMODULE, overriding pkg-config
1605
 
  FM_CFLAGS   C compiler flags for FM, overriding pkg-config
1606
 
  FM_LIBS     linker flags for FM, overriding pkg-config
1607
 
  MENU_CACHE_CFLAGS
1608
 
              C compiler flags for MENU_CACHE, overriding pkg-config
1609
 
  MENU_CACHE_LIBS
1610
 
              linker flags for MENU_CACHE, overriding pkg-config
1611
 
 
1612
 
Use these variables to override the choices made by `configure' or to help
1613
 
it to find libraries and programs with nonstandard names/locations.
1614
 
 
1615
 
Report bugs to <http://pcmanfm.sf.net/>.
1616
 
_ACEOF
1617
 
ac_status=$?
1618
 
fi
1619
 
 
1620
 
if test "$ac_init_help" = "recursive"; then
1621
 
  # If there are subdirs, report their specific --help.
1622
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1623
 
    test -d "$ac_dir" ||
1624
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1625
 
      continue
1626
 
    ac_builddir=.
1627
 
 
1628
 
case "$ac_dir" in
1629
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630
 
*)
1631
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632
 
  # A ".." for each directory in $ac_dir_suffix.
1633
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634
 
  case $ac_top_builddir_sub in
1635
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1637
 
  esac ;;
1638
 
esac
1639
 
ac_abs_top_builddir=$ac_pwd
1640
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1641
 
# for backward compatibility:
1642
 
ac_top_builddir=$ac_top_build_prefix
1643
 
 
1644
 
case $srcdir in
1645
 
  .)  # We are building in place.
1646
 
    ac_srcdir=.
1647
 
    ac_top_srcdir=$ac_top_builddir_sub
1648
 
    ac_abs_top_srcdir=$ac_pwd ;;
1649
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1650
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1651
 
    ac_top_srcdir=$srcdir
1652
 
    ac_abs_top_srcdir=$srcdir ;;
1653
 
  *) # Relative name.
1654
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1656
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1657
 
esac
1658
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659
 
 
1660
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1661
 
    # Check for guested configure.
1662
 
    if test -f "$ac_srcdir/configure.gnu"; then
1663
 
      echo &&
1664
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665
 
    elif test -f "$ac_srcdir/configure"; then
1666
 
      echo &&
1667
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1668
 
    else
1669
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670
 
    fi || ac_status=$?
1671
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1672
 
  done
1673
 
fi
1674
 
 
1675
 
test -n "$ac_init_help" && exit $ac_status
1676
 
if $ac_init_version; then
1677
 
  cat <<\_ACEOF
1678
 
pcmanfm configure 0.9.7
1679
 
generated by GNU Autoconf 2.65
1680
 
 
1681
 
Copyright (C) 2009 Free Software Foundation, Inc.
1682
 
This configure script is free software; the Free Software Foundation
1683
 
gives unlimited permission to copy, distribute and modify it.
1684
 
_ACEOF
1685
 
  exit
1686
 
fi
1687
 
 
1688
 
## ------------------------ ##
1689
 
## Autoconf initialization. ##
1690
 
## ------------------------ ##
1691
 
 
1692
 
# ac_fn_c_try_compile LINENO
1693
 
# --------------------------
1694
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1695
 
ac_fn_c_try_compile ()
1696
 
{
1697
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698
 
  rm -f conftest.$ac_objext
1699
 
  if { { ac_try="$ac_compile"
1700
 
case "(($ac_try" in
1701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702
 
  *) ac_try_echo=$ac_try;;
1703
 
esac
1704
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705
 
$as_echo "$ac_try_echo"; } >&5
1706
 
  (eval "$ac_compile") 2>conftest.err
1707
 
  ac_status=$?
1708
 
  if test -s conftest.err; then
1709
 
    grep -v '^ *+' conftest.err >conftest.er1
1710
 
    cat conftest.er1 >&5
1711
 
    mv -f conftest.er1 conftest.err
1712
 
  fi
1713
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714
 
  test $ac_status = 0; } && {
1715
 
         test -z "$ac_c_werror_flag" ||
1716
 
         test ! -s conftest.err
1717
 
       } && test -s conftest.$ac_objext; then :
1718
 
  ac_retval=0
1719
 
else
1720
 
  $as_echo "$as_me: failed program was:" >&5
1721
 
sed 's/^/| /' conftest.$ac_ext >&5
1722
 
 
1723
 
        ac_retval=1
1724
 
fi
1725
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726
 
  as_fn_set_status $ac_retval
1727
 
 
1728
 
} # ac_fn_c_try_compile
1729
 
 
1730
 
# ac_fn_c_try_link LINENO
1731
 
# -----------------------
1732
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1733
 
ac_fn_c_try_link ()
1734
 
{
1735
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1737
 
  if { { ac_try="$ac_link"
1738
 
case "(($ac_try" in
1739
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740
 
  *) ac_try_echo=$ac_try;;
1741
 
esac
1742
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743
 
$as_echo "$ac_try_echo"; } >&5
1744
 
  (eval "$ac_link") 2>conftest.err
1745
 
  ac_status=$?
1746
 
  if test -s conftest.err; then
1747
 
    grep -v '^ *+' conftest.err >conftest.er1
1748
 
    cat conftest.er1 >&5
1749
 
    mv -f conftest.er1 conftest.err
1750
 
  fi
1751
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752
 
  test $ac_status = 0; } && {
1753
 
         test -z "$ac_c_werror_flag" ||
1754
 
         test ! -s conftest.err
1755
 
       } && test -s conftest$ac_exeext && {
1756
 
         test "$cross_compiling" = yes ||
1757
 
         $as_test_x conftest$ac_exeext
1758
 
       }; then :
1759
 
  ac_retval=0
1760
 
else
1761
 
  $as_echo "$as_me: failed program was:" >&5
1762
 
sed 's/^/| /' conftest.$ac_ext >&5
1763
 
 
1764
 
        ac_retval=1
1765
 
fi
1766
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768
 
  # interfere with the next link command; also delete a directory that is
1769
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1770
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772
 
  as_fn_set_status $ac_retval
1773
 
 
1774
 
} # ac_fn_c_try_link
1775
 
 
1776
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777
 
# -------------------------------------------------------
1778
 
# Tests whether HEADER exists and can be compiled using the include files in
1779
 
# INCLUDES, setting the cache variable VAR accordingly.
1780
 
ac_fn_c_check_header_compile ()
1781
 
{
1782
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784
 
$as_echo_n "checking for $2... " >&6; }
1785
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786
 
  $as_echo_n "(cached) " >&6
1787
 
else
1788
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789
 
/* end confdefs.h.  */
1790
 
$4
1791
 
#include <$2>
1792
 
_ACEOF
1793
 
if ac_fn_c_try_compile "$LINENO"; then :
1794
 
  eval "$3=yes"
1795
 
else
1796
 
  eval "$3=no"
1797
 
fi
1798
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799
 
fi
1800
 
eval ac_res=\$$3
1801
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802
 
$as_echo "$ac_res" >&6; }
1803
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804
 
 
1805
 
} # ac_fn_c_check_header_compile
1806
 
 
1807
 
# ac_fn_c_try_cpp LINENO
1808
 
# ----------------------
1809
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1810
 
ac_fn_c_try_cpp ()
1811
 
{
1812
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1814
 
case "(($ac_try" in
1815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816
 
  *) ac_try_echo=$ac_try;;
1817
 
esac
1818
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819
 
$as_echo "$ac_try_echo"; } >&5
1820
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1821
 
  ac_status=$?
1822
 
  if test -s conftest.err; then
1823
 
    grep -v '^ *+' conftest.err >conftest.er1
1824
 
    cat conftest.er1 >&5
1825
 
    mv -f conftest.er1 conftest.err
1826
 
  fi
1827
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828
 
  test $ac_status = 0; } >/dev/null && {
1829
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1830
 
         test ! -s conftest.err
1831
 
       }; then :
1832
 
  ac_retval=0
1833
 
else
1834
 
  $as_echo "$as_me: failed program was:" >&5
1835
 
sed 's/^/| /' conftest.$ac_ext >&5
1836
 
 
1837
 
    ac_retval=1
1838
 
fi
1839
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840
 
  as_fn_set_status $ac_retval
1841
 
 
1842
 
} # ac_fn_c_try_cpp
1843
 
 
1844
 
# ac_fn_c_try_run LINENO
1845
 
# ----------------------
1846
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847
 
# that executables *can* be run.
1848
 
ac_fn_c_try_run ()
1849
 
{
1850
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851
 
  if { { ac_try="$ac_link"
1852
 
case "(($ac_try" in
1853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854
 
  *) ac_try_echo=$ac_try;;
1855
 
esac
1856
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857
 
$as_echo "$ac_try_echo"; } >&5
1858
 
  (eval "$ac_link") 2>&5
1859
 
  ac_status=$?
1860
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1862
 
  { { case "(($ac_try" in
1863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864
 
  *) ac_try_echo=$ac_try;;
1865
 
esac
1866
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867
 
$as_echo "$ac_try_echo"; } >&5
1868
 
  (eval "$ac_try") 2>&5
1869
 
  ac_status=$?
1870
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871
 
  test $ac_status = 0; }; }; then :
1872
 
  ac_retval=0
1873
 
else
1874
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1875
 
       $as_echo "$as_me: failed program was:" >&5
1876
 
sed 's/^/| /' conftest.$ac_ext >&5
1877
 
 
1878
 
       ac_retval=$ac_status
1879
 
fi
1880
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882
 
  as_fn_set_status $ac_retval
1883
 
 
1884
 
} # ac_fn_c_try_run
1885
 
 
1886
 
# ac_fn_c_check_func LINENO FUNC VAR
1887
 
# ----------------------------------
1888
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1889
 
ac_fn_c_check_func ()
1890
 
{
1891
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893
 
$as_echo_n "checking for $2... " >&6; }
1894
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895
 
  $as_echo_n "(cached) " >&6
1896
 
else
1897
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898
 
/* end confdefs.h.  */
1899
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1901
 
#define $2 innocuous_$2
1902
 
 
1903
 
/* System header to define __stub macros and hopefully few prototypes,
1904
 
    which can conflict with char $2 (); below.
1905
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906
 
    <limits.h> exists even on freestanding compilers.  */
1907
 
 
1908
 
#ifdef __STDC__
1909
 
# include <limits.h>
1910
 
#else
1911
 
# include <assert.h>
1912
 
#endif
1913
 
 
1914
 
#undef $2
1915
 
 
1916
 
/* Override any GCC internal prototype to avoid an error.
1917
 
   Use char because int might match the return type of a GCC
1918
 
   builtin and then its argument prototype would still apply.  */
1919
 
#ifdef __cplusplus
1920
 
extern "C"
1921
 
#endif
1922
 
char $2 ();
1923
 
/* The GNU C library defines this for functions which it implements
1924
 
    to always fail with ENOSYS.  Some functions are actually named
1925
 
    something starting with __ and the normal name is an alias.  */
1926
 
#if defined __stub_$2 || defined __stub___$2
1927
 
choke me
1928
 
#endif
1929
 
 
1930
 
int
1931
 
main ()
1932
 
{
1933
 
return $2 ();
1934
 
  ;
1935
 
  return 0;
1936
 
}
1937
 
_ACEOF
1938
 
if ac_fn_c_try_link "$LINENO"; then :
1939
 
  eval "$3=yes"
1940
 
else
1941
 
  eval "$3=no"
1942
 
fi
1943
 
rm -f core conftest.err conftest.$ac_objext \
1944
 
    conftest$ac_exeext conftest.$ac_ext
1945
 
fi
1946
 
eval ac_res=\$$3
1947
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948
 
$as_echo "$ac_res" >&6; }
1949
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1950
 
 
1951
 
} # ac_fn_c_check_func
1952
 
 
1953
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1954
 
# -------------------------------------------------------
1955
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1956
 
# the include files in INCLUDES and setting the cache variable VAR
1957
 
# accordingly.
1958
 
ac_fn_c_check_header_mongrel ()
1959
 
{
1960
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963
 
$as_echo_n "checking for $2... " >&6; }
1964
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965
 
  $as_echo_n "(cached) " >&6
1966
 
fi
1967
 
eval ac_res=\$$3
1968
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969
 
$as_echo "$ac_res" >&6; }
1970
 
else
1971
 
  # Is the header compilable?
1972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1973
 
$as_echo_n "checking $2 usability... " >&6; }
1974
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975
 
/* end confdefs.h.  */
1976
 
$4
1977
 
#include <$2>
1978
 
_ACEOF
1979
 
if ac_fn_c_try_compile "$LINENO"; then :
1980
 
  ac_header_compiler=yes
1981
 
else
1982
 
  ac_header_compiler=no
1983
 
fi
1984
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1986
 
$as_echo "$ac_header_compiler" >&6; }
1987
 
 
1988
 
# Is the header present?
1989
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1990
 
$as_echo_n "checking $2 presence... " >&6; }
1991
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992
 
/* end confdefs.h.  */
1993
 
#include <$2>
1994
 
_ACEOF
1995
 
if ac_fn_c_try_cpp "$LINENO"; then :
1996
 
  ac_header_preproc=yes
1997
 
else
1998
 
  ac_header_preproc=no
1999
 
fi
2000
 
rm -f conftest.err conftest.$ac_ext
2001
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2002
 
$as_echo "$ac_header_preproc" >&6; }
2003
 
 
2004
 
# So?  What about this header?
2005
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2006
 
  yes:no: )
2007
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2008
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2009
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2010
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2011
 
    ;;
2012
 
  no:yes:* )
2013
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2014
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2015
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2016
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2017
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2018
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2019
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2020
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2021
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2022
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2023
 
( cat <<\_ASBOX
2024
 
## ------------------------------------- ##
2025
 
## Report this to http://pcmanfm.sf.net/ ##
2026
 
## ------------------------------------- ##
2027
 
_ASBOX
2028
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2029
 
    ;;
2030
 
esac
2031
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032
 
$as_echo_n "checking for $2... " >&6; }
2033
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034
 
  $as_echo_n "(cached) " >&6
2035
 
else
2036
 
  eval "$3=\$ac_header_compiler"
2037
 
fi
2038
 
eval ac_res=\$$3
2039
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040
 
$as_echo "$ac_res" >&6; }
2041
 
fi
2042
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2043
 
 
2044
 
} # ac_fn_c_check_header_mongrel
2045
 
cat >config.log <<_ACEOF
2046
 
This file contains any messages produced by compilers while
2047
 
running configure, to aid debugging if configure makes a mistake.
2048
 
 
2049
 
It was created by pcmanfm $as_me 0.9.7, which was
2050
 
generated by GNU Autoconf 2.65.  Invocation command line was
2051
 
 
2052
 
  $ $0 $@
2053
 
 
2054
 
_ACEOF
2055
 
exec 5>>config.log
2056
 
{
2057
 
cat <<_ASUNAME
2058
 
## --------- ##
2059
 
## Platform. ##
2060
 
## --------- ##
2061
 
 
2062
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2063
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2064
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2065
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2066
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2067
 
 
2068
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2069
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2070
 
 
2071
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2072
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2073
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2074
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2075
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2076
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2077
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2078
 
 
2079
 
_ASUNAME
2080
 
 
2081
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082
 
for as_dir in $PATH
2083
 
do
2084
 
  IFS=$as_save_IFS
2085
 
  test -z "$as_dir" && as_dir=.
2086
 
    $as_echo "PATH: $as_dir"
2087
 
  done
2088
 
IFS=$as_save_IFS
2089
 
 
2090
 
} >&5
2091
 
 
2092
 
cat >&5 <<_ACEOF
2093
 
 
2094
 
 
2095
 
## ----------- ##
2096
 
## Core tests. ##
2097
 
## ----------- ##
2098
 
 
2099
 
_ACEOF
2100
 
 
2101
 
 
2102
 
# Keep a trace of the command line.
2103
 
# Strip out --no-create and --no-recursion so they do not pile up.
2104
 
# Strip out --silent because we don't want to record it for future runs.
2105
 
# Also quote any args containing shell meta-characters.
2106
 
# Make two passes to allow for proper duplicate-argument suppression.
2107
 
ac_configure_args=
2108
 
ac_configure_args0=
2109
 
ac_configure_args1=
2110
 
ac_must_keep_next=false
2111
 
for ac_pass in 1 2
2112
 
do
2113
 
  for ac_arg
2114
 
  do
2115
 
    case $ac_arg in
2116
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2117
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2118
 
    | -silent | --silent | --silen | --sile | --sil)
2119
 
      continue ;;
2120
 
    *\'*)
2121
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2122
 
    esac
2123
 
    case $ac_pass in
2124
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2125
 
    2)
2126
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2127
 
      if test $ac_must_keep_next = true; then
2128
 
        ac_must_keep_next=false # Got value, back to normal.
2129
 
      else
2130
 
        case $ac_arg in
2131
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2132
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2133
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2134
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2135
 
            case "$ac_configure_args0 " in
2136
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2137
 
            esac
2138
 
            ;;
2139
 
          -* ) ac_must_keep_next=true ;;
2140
 
        esac
2141
 
      fi
2142
 
      as_fn_append ac_configure_args " '$ac_arg'"
2143
 
      ;;
2144
 
    esac
2145
 
  done
2146
 
done
2147
 
{ ac_configure_args0=; unset ac_configure_args0;}
2148
 
{ ac_configure_args1=; unset ac_configure_args1;}
2149
 
 
2150
 
# When interrupted or exit'd, cleanup temporary files, and complete
2151
 
# config.log.  We remove comments because anyway the quotes in there
2152
 
# would cause problems or look ugly.
2153
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2154
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2155
 
trap 'exit_status=$?
2156
 
  # Save into config.log some information that might help in debugging.
2157
 
  {
2158
 
    echo
2159
 
 
2160
 
    cat <<\_ASBOX
2161
 
## ---------------- ##
2162
 
## Cache variables. ##
2163
 
## ---------------- ##
2164
 
_ASBOX
2165
 
    echo
2166
 
    # The following way of writing the cache mishandles newlines in values,
2167
 
(
2168
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2169
 
    eval ac_val=\$$ac_var
2170
 
    case $ac_val in #(
2171
 
    *${as_nl}*)
2172
 
      case $ac_var in #(
2173
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2174
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2175
 
      esac
2176
 
      case $ac_var in #(
2177
 
      _ | IFS | as_nl) ;; #(
2178
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2179
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2180
 
      esac ;;
2181
 
    esac
2182
 
  done
2183
 
  (set) 2>&1 |
2184
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2185
 
    *${as_nl}ac_space=\ *)
2186
 
      sed -n \
2187
 
        "s/'\''/'\''\\\\'\'''\''/g;
2188
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2189
 
      ;; #(
2190
 
    *)
2191
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2192
 
      ;;
2193
 
    esac |
2194
 
    sort
2195
 
)
2196
 
    echo
2197
 
 
2198
 
    cat <<\_ASBOX
2199
 
## ----------------- ##
2200
 
## Output variables. ##
2201
 
## ----------------- ##
2202
 
_ASBOX
2203
 
    echo
2204
 
    for ac_var in $ac_subst_vars
2205
 
    do
2206
 
      eval ac_val=\$$ac_var
2207
 
      case $ac_val in
2208
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209
 
      esac
2210
 
      $as_echo "$ac_var='\''$ac_val'\''"
2211
 
    done | sort
2212
 
    echo
2213
 
 
2214
 
    if test -n "$ac_subst_files"; then
2215
 
      cat <<\_ASBOX
2216
 
## ------------------- ##
2217
 
## File substitutions. ##
2218
 
## ------------------- ##
2219
 
_ASBOX
2220
 
      echo
2221
 
      for ac_var in $ac_subst_files
2222
 
      do
2223
 
        eval ac_val=\$$ac_var
2224
 
        case $ac_val in
2225
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226
 
        esac
2227
 
        $as_echo "$ac_var='\''$ac_val'\''"
2228
 
      done | sort
2229
 
      echo
2230
 
    fi
2231
 
 
2232
 
    if test -s confdefs.h; then
2233
 
      cat <<\_ASBOX
2234
 
## ----------- ##
2235
 
## confdefs.h. ##
2236
 
## ----------- ##
2237
 
_ASBOX
2238
 
      echo
2239
 
      cat confdefs.h
2240
 
      echo
2241
 
    fi
2242
 
    test "$ac_signal" != 0 &&
2243
 
      $as_echo "$as_me: caught signal $ac_signal"
2244
 
    $as_echo "$as_me: exit $exit_status"
2245
 
  } >&5
2246
 
  rm -f core *.core core.conftest.* &&
2247
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2248
 
    exit $exit_status
2249
 
' 0
2250
 
for ac_signal in 1 2 13 15; do
2251
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2252
 
done
2253
 
ac_signal=0
2254
 
 
2255
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2256
 
rm -f -r conftest* confdefs.h
2257
 
 
2258
 
$as_echo "/* confdefs.h */" > confdefs.h
2259
 
 
2260
 
# Predefined preprocessor variables.
2261
 
 
2262
 
cat >>confdefs.h <<_ACEOF
2263
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2264
 
_ACEOF
2265
 
 
2266
 
cat >>confdefs.h <<_ACEOF
2267
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2268
 
_ACEOF
2269
 
 
2270
 
cat >>confdefs.h <<_ACEOF
2271
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2272
 
_ACEOF
2273
 
 
2274
 
cat >>confdefs.h <<_ACEOF
2275
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2276
 
_ACEOF
2277
 
 
2278
 
cat >>confdefs.h <<_ACEOF
2279
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2280
 
_ACEOF
2281
 
 
2282
 
cat >>confdefs.h <<_ACEOF
2283
 
#define PACKAGE_URL "$PACKAGE_URL"
2284
 
_ACEOF
2285
 
 
2286
 
 
2287
 
# Let the site file select an alternate cache file if it wants to.
2288
 
# Prefer an explicitly selected file to automatically selected ones.
2289
 
ac_site_file1=NONE
2290
 
ac_site_file2=NONE
2291
 
if test -n "$CONFIG_SITE"; then
2292
 
  ac_site_file1=$CONFIG_SITE
2293
 
elif test "x$prefix" != xNONE; then
2294
 
  ac_site_file1=$prefix/share/config.site
2295
 
  ac_site_file2=$prefix/etc/config.site
2296
 
else
2297
 
  ac_site_file1=$ac_default_prefix/share/config.site
2298
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2299
 
fi
2300
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2301
 
do
2302
 
  test "x$ac_site_file" = xNONE && continue
2303
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2304
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2305
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2306
 
    sed 's/^/| /' "$ac_site_file" >&5
2307
 
    . "$ac_site_file"
2308
 
  fi
2309
 
done
2310
 
 
2311
 
if test -r "$cache_file"; then
2312
 
  # Some versions of bash will fail to source /dev/null (special files
2313
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2314
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2315
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2316
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2317
 
    case $cache_file in
2318
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2319
 
      *)                      . "./$cache_file";;
2320
 
    esac
2321
 
  fi
2322
 
else
2323
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2324
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2325
 
  >$cache_file
2326
 
fi
2327
 
 
2328
 
# Check that the precious variables saved in the cache have kept the same
2329
 
# value.
2330
 
ac_cache_corrupted=false
2331
 
for ac_var in $ac_precious_vars; do
2332
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2333
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2334
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2335
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2336
 
  case $ac_old_set,$ac_new_set in
2337
 
    set,)
2338
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2339
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2340
 
      ac_cache_corrupted=: ;;
2341
 
    ,set)
2342
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2343
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2344
 
      ac_cache_corrupted=: ;;
2345
 
    ,);;
2346
 
    *)
2347
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2348
 
        # differences in whitespace do not lead to failure.
2349
 
        ac_old_val_w=`echo x $ac_old_val`
2350
 
        ac_new_val_w=`echo x $ac_new_val`
2351
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2352
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2353
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2354
 
          ac_cache_corrupted=:
2355
 
        else
2356
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2357
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2358
 
          eval $ac_var=\$ac_old_val
2359
 
        fi
2360
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2361
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2362
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2363
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2364
 
      fi;;
2365
 
  esac
2366
 
  # Pass precious variables to config.status.
2367
 
  if test "$ac_new_set" = set; then
2368
 
    case $ac_new_val in
2369
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2370
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2371
 
    esac
2372
 
    case " $ac_configure_args " in
2373
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2374
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2375
 
    esac
2376
 
  fi
2377
 
done
2378
 
if $ac_cache_corrupted; then
2379
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2380
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2381
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2382
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2383
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2384
 
fi
2385
 
## -------------------- ##
2386
 
## Main body of script. ##
2387
 
## -------------------- ##
2388
 
 
2389
 
ac_ext=c
2390
 
ac_cpp='$CPP $CPPFLAGS'
2391
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2392
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2393
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2394
 
 
2395
 
 
2396
 
am__api_version='1.11'
2397
 
 
2398
 
ac_aux_dir=
2399
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2400
 
  for ac_t in install-sh install.sh shtool; do
2401
 
    if test -f "$ac_dir/$ac_t"; then
2402
 
      ac_aux_dir=$ac_dir
2403
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2404
 
      break 2
2405
 
    fi
2406
 
  done
2407
 
done
2408
 
if test -z "$ac_aux_dir"; then
2409
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2410
 
fi
2411
 
 
2412
 
# These three variables are undocumented and unsupported,
2413
 
# and are intended to be withdrawn in a future Autoconf release.
2414
 
# They can cause serious problems if a builder's source tree is in a directory
2415
 
# whose full name contains unusual characters.
2416
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2417
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2418
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2419
 
 
2420
 
 
2421
 
# Find a good install program.  We prefer a C program (faster),
2422
 
# so one script is as good as another.  But avoid the broken or
2423
 
# incompatible versions:
2424
 
# SysV /etc/install, /usr/sbin/install
2425
 
# SunOS /usr/etc/install
2426
 
# IRIX /sbin/install
2427
 
# AIX /bin/install
2428
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2429
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2430
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2431
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2432
 
# OS/2's system install, which has a completely different semantic
2433
 
# ./install, which can be erroneously created by make from ./install.sh.
2434
 
# Reject install programs that cannot install multiple files.
2435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2436
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2437
 
if test -z "$INSTALL"; then
2438
 
if test "${ac_cv_path_install+set}" = set; then :
2439
 
  $as_echo_n "(cached) " >&6
2440
 
else
2441
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442
 
for as_dir in $PATH
2443
 
do
2444
 
  IFS=$as_save_IFS
2445
 
  test -z "$as_dir" && as_dir=.
2446
 
    # Account for people who put trailing slashes in PATH elements.
2447
 
case $as_dir/ in #((
2448
 
  ./ | .// | /[cC]/* | \
2449
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2450
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2451
 
  /usr/ucb/* ) ;;
2452
 
  *)
2453
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2454
 
    # Don't use installbsd from OSF since it installs stuff as root
2455
 
    # by default.
2456
 
    for ac_prog in ginstall scoinst install; do
2457
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2458
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2459
 
          if test $ac_prog = install &&
2460
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2461
 
            # AIX install.  It has an incompatible calling convention.
2462
 
            :
2463
 
          elif test $ac_prog = install &&
2464
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2465
 
            # program-specific install script used by HP pwplus--don't use.
2466
 
            :
2467
 
          else
2468
 
            rm -rf conftest.one conftest.two conftest.dir
2469
 
            echo one > conftest.one
2470
 
            echo two > conftest.two
2471
 
            mkdir conftest.dir
2472
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2473
 
              test -s conftest.one && test -s conftest.two &&
2474
 
              test -s conftest.dir/conftest.one &&
2475
 
              test -s conftest.dir/conftest.two
2476
 
            then
2477
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2478
 
              break 3
2479
 
            fi
2480
 
          fi
2481
 
        fi
2482
 
      done
2483
 
    done
2484
 
    ;;
2485
 
esac
2486
 
 
2487
 
  done
2488
 
IFS=$as_save_IFS
2489
 
 
2490
 
rm -rf conftest.one conftest.two conftest.dir
2491
 
 
2492
 
fi
2493
 
  if test "${ac_cv_path_install+set}" = set; then
2494
 
    INSTALL=$ac_cv_path_install
2495
 
  else
2496
 
    # As a last resort, use the slow shell script.  Don't cache a
2497
 
    # value for INSTALL within a source directory, because that will
2498
 
    # break other packages using the cache if that directory is
2499
 
    # removed, or if the value is a relative name.
2500
 
    INSTALL=$ac_install_sh
2501
 
  fi
2502
 
fi
2503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2504
 
$as_echo "$INSTALL" >&6; }
2505
 
 
2506
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2507
 
# It thinks the first close brace ends the variable substitution.
2508
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2509
 
 
2510
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2511
 
 
2512
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2513
 
 
2514
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2515
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2516
 
# Just in case
2517
 
sleep 1
2518
 
echo timestamp > conftest.file
2519
 
# Reject unsafe characters in $srcdir or the absolute working directory
2520
 
# name.  Accept space and tab only in the latter.
2521
 
am_lf='
2522
 
'
2523
 
case `pwd` in
2524
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2525
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2526
 
esac
2527
 
case $srcdir in
2528
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2529
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2530
 
esac
2531
 
 
2532
 
# Do `set' in a subshell so we don't clobber the current shell's
2533
 
# arguments.  Must try -L first in case configure is actually a
2534
 
# symlink; some systems play weird games with the mod time of symlinks
2535
 
# (eg FreeBSD returns the mod time of the symlink's containing
2536
 
# directory).
2537
 
if (
2538
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2539
 
   if test "$*" = "X"; then
2540
 
      # -L didn't work.
2541
 
      set X `ls -t "$srcdir/configure" conftest.file`
2542
 
   fi
2543
 
   rm -f conftest.file
2544
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2545
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2546
 
 
2547
 
      # If neither matched, then we have a broken ls.  This can happen
2548
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2549
 
      # broken ls alias from the environment.  This has actually
2550
 
      # happened.  Such a system could not be considered "sane".
2551
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2552
 
alias in your environment" "$LINENO" 5
2553
 
   fi
2554
 
 
2555
 
   test "$2" = conftest.file
2556
 
   )
2557
 
then
2558
 
   # Ok.
2559
 
   :
2560
 
else
2561
 
   as_fn_error "newly created file is older than distributed files!
2562
 
Check your system clock" "$LINENO" 5
2563
 
fi
2564
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2565
 
$as_echo "yes" >&6; }
2566
 
test "$program_prefix" != NONE &&
2567
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2568
 
# Use a double $ so make ignores it.
2569
 
test "$program_suffix" != NONE &&
2570
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2571
 
# Double any \ or $.
2572
 
# By default was `s,x,x', remove it if useless.
2573
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2574
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2575
 
 
2576
 
# expand $ac_aux_dir to an absolute path
2577
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2578
 
 
2579
 
if test x"${MISSING+set}" != xset; then
2580
 
  case $am_aux_dir in
2581
 
  *\ * | *\     *)
2582
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2583
 
  *)
2584
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2585
 
  esac
2586
 
fi
2587
 
# Use eval to expand $SHELL
2588
 
if eval "$MISSING --run true"; then
2589
 
  am_missing_run="$MISSING --run "
2590
 
else
2591
 
  am_missing_run=
2592
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2593
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2594
 
fi
2595
 
 
2596
 
if test x"${install_sh}" != xset; then
2597
 
  case $am_aux_dir in
2598
 
  *\ * | *\     *)
2599
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2600
 
  *)
2601
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2602
 
  esac
2603
 
fi
2604
 
 
2605
 
# Installed binaries are usually stripped using `strip' when the user
2606
 
# run `make install-strip'.  However `strip' might not be the right
2607
 
# tool to use in cross-compilation environments, therefore Automake
2608
 
# will honor the `STRIP' environment variable to overrule this program.
2609
 
if test "$cross_compiling" != no; then
2610
 
  if test -n "$ac_tool_prefix"; then
2611
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2612
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614
 
$as_echo_n "checking for $ac_word... " >&6; }
2615
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2616
 
  $as_echo_n "(cached) " >&6
2617
 
else
2618
 
  if test -n "$STRIP"; then
2619
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2620
 
else
2621
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622
 
for as_dir in $PATH
2623
 
do
2624
 
  IFS=$as_save_IFS
2625
 
  test -z "$as_dir" && as_dir=.
2626
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2627
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2629
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630
 
    break 2
2631
 
  fi
2632
 
done
2633
 
  done
2634
 
IFS=$as_save_IFS
2635
 
 
2636
 
fi
2637
 
fi
2638
 
STRIP=$ac_cv_prog_STRIP
2639
 
if test -n "$STRIP"; then
2640
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2641
 
$as_echo "$STRIP" >&6; }
2642
 
else
2643
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644
 
$as_echo "no" >&6; }
2645
 
fi
2646
 
 
2647
 
 
2648
 
fi
2649
 
if test -z "$ac_cv_prog_STRIP"; then
2650
 
  ac_ct_STRIP=$STRIP
2651
 
  # Extract the first word of "strip", so it can be a program name with args.
2652
 
set dummy strip; ac_word=$2
2653
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654
 
$as_echo_n "checking for $ac_word... " >&6; }
2655
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2656
 
  $as_echo_n "(cached) " >&6
2657
 
else
2658
 
  if test -n "$ac_ct_STRIP"; then
2659
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2660
 
else
2661
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662
 
for as_dir in $PATH
2663
 
do
2664
 
  IFS=$as_save_IFS
2665
 
  test -z "$as_dir" && as_dir=.
2666
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2667
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668
 
    ac_cv_prog_ac_ct_STRIP="strip"
2669
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670
 
    break 2
2671
 
  fi
2672
 
done
2673
 
  done
2674
 
IFS=$as_save_IFS
2675
 
 
2676
 
fi
2677
 
fi
2678
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2679
 
if test -n "$ac_ct_STRIP"; then
2680
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2681
 
$as_echo "$ac_ct_STRIP" >&6; }
2682
 
else
2683
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684
 
$as_echo "no" >&6; }
2685
 
fi
2686
 
 
2687
 
  if test "x$ac_ct_STRIP" = x; then
2688
 
    STRIP=":"
2689
 
  else
2690
 
    case $cross_compiling:$ac_tool_warned in
2691
 
yes:)
2692
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2693
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694
 
ac_tool_warned=yes ;;
2695
 
esac
2696
 
    STRIP=$ac_ct_STRIP
2697
 
  fi
2698
 
else
2699
 
  STRIP="$ac_cv_prog_STRIP"
2700
 
fi
2701
 
 
2702
 
fi
2703
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2704
 
 
2705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2706
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2707
 
if test -z "$MKDIR_P"; then
2708
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2709
 
  $as_echo_n "(cached) " >&6
2710
 
else
2711
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2713
 
do
2714
 
  IFS=$as_save_IFS
2715
 
  test -z "$as_dir" && as_dir=.
2716
 
    for ac_prog in mkdir gmkdir; do
2717
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2718
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2719
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2720
 
             'mkdir (GNU coreutils) '* | \
2721
 
             'mkdir (coreutils) '* | \
2722
 
             'mkdir (fileutils) '4.1*)
2723
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2724
 
               break 3;;
2725
 
           esac
2726
 
         done
2727
 
       done
2728
 
  done
2729
 
IFS=$as_save_IFS
2730
 
 
2731
 
fi
2732
 
 
2733
 
  test -d ./--version && rmdir ./--version
2734
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2735
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2736
 
  else
2737
 
    # As a last resort, use the slow shell script.  Don't cache a
2738
 
    # value for MKDIR_P within a source directory, because that will
2739
 
    # break other packages using the cache if that directory is
2740
 
    # removed, or if the value is a relative name.
2741
 
    MKDIR_P="$ac_install_sh -d"
2742
 
  fi
2743
 
fi
2744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2745
 
$as_echo "$MKDIR_P" >&6; }
2746
 
 
2747
 
mkdir_p="$MKDIR_P"
2748
 
case $mkdir_p in
2749
 
  [\\/$]* | ?:[\\/]*) ;;
2750
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2751
 
esac
2752
 
 
2753
 
for ac_prog in gawk mawk nawk awk
2754
 
do
2755
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2756
 
set dummy $ac_prog; ac_word=$2
2757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758
 
$as_echo_n "checking for $ac_word... " >&6; }
2759
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2760
 
  $as_echo_n "(cached) " >&6
2761
 
else
2762
 
  if test -n "$AWK"; then
2763
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2764
 
else
2765
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766
 
for as_dir in $PATH
2767
 
do
2768
 
  IFS=$as_save_IFS
2769
 
  test -z "$as_dir" && as_dir=.
2770
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2771
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2772
 
    ac_cv_prog_AWK="$ac_prog"
2773
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2774
 
    break 2
2775
 
  fi
2776
 
done
2777
 
  done
2778
 
IFS=$as_save_IFS
2779
 
 
2780
 
fi
2781
 
fi
2782
 
AWK=$ac_cv_prog_AWK
2783
 
if test -n "$AWK"; then
2784
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2785
 
$as_echo "$AWK" >&6; }
2786
 
else
2787
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788
 
$as_echo "no" >&6; }
2789
 
fi
2790
 
 
2791
 
 
2792
 
  test -n "$AWK" && break
2793
 
done
2794
 
 
2795
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2796
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2797
 
set x ${MAKE-make}
2798
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2799
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2800
 
  $as_echo_n "(cached) " >&6
2801
 
else
2802
 
  cat >conftest.make <<\_ACEOF
2803
 
SHELL = /bin/sh
2804
 
all:
2805
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2806
 
_ACEOF
2807
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2808
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2809
 
  *@@@%%%=?*=@@@%%%*)
2810
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2811
 
  *)
2812
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2813
 
esac
2814
 
rm -f conftest.make
2815
 
fi
2816
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2818
 
$as_echo "yes" >&6; }
2819
 
  SET_MAKE=
2820
 
else
2821
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822
 
$as_echo "no" >&6; }
2823
 
  SET_MAKE="MAKE=${MAKE-make}"
2824
 
fi
2825
 
 
2826
 
rm -rf .tst 2>/dev/null
2827
 
mkdir .tst 2>/dev/null
2828
 
if test -d .tst; then
2829
 
  am__leading_dot=.
2830
 
else
2831
 
  am__leading_dot=_
2832
 
fi
2833
 
rmdir .tst 2>/dev/null
2834
 
 
2835
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2836
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2837
 
  # is not polluted with repeated "-I."
2838
 
  am__isrc=' -I$(srcdir)'
2839
 
  # test to see if srcdir already configured
2840
 
  if test -f $srcdir/config.status; then
2841
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2842
 
  fi
2843
 
fi
2844
 
 
2845
 
# test whether we have cygpath
2846
 
if test -z "$CYGPATH_W"; then
2847
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2848
 
    CYGPATH_W='cygpath -w'
2849
 
  else
2850
 
    CYGPATH_W=echo
2851
 
  fi
2852
 
fi
2853
 
 
2854
 
 
2855
 
# Define the identity of the package.
2856
 
 PACKAGE='pcmanfm'
2857
 
 VERSION='0.9.7'
2858
 
 
2859
 
 
2860
 
cat >>confdefs.h <<_ACEOF
2861
 
#define PACKAGE "$PACKAGE"
2862
 
_ACEOF
2863
 
 
2864
 
 
2865
 
cat >>confdefs.h <<_ACEOF
2866
 
#define VERSION "$VERSION"
2867
 
_ACEOF
2868
 
 
2869
 
# Some tools Automake needs.
2870
 
 
2871
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2872
 
 
2873
 
 
2874
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2875
 
 
2876
 
 
2877
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2878
 
 
2879
 
 
2880
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2881
 
 
2882
 
 
2883
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2884
 
 
2885
 
# We need awk for the "check" target.  The system "awk" is bad on
2886
 
# some platforms.
2887
 
# Always define AMTAR for backward compatibility.
2888
 
 
2889
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2890
 
 
2891
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2892
 
 
2893
 
 
2894
 
 
2895
 
 
2896
 
 
2897
 
 
2898
 
ac_config_headers="$ac_config_headers config.h"
2899
 
 
2900
 
 
2901
 
# Checks for programs.
2902
 
DEPDIR="${am__leading_dot}deps"
2903
 
 
2904
 
ac_config_commands="$ac_config_commands depfiles"
2905
 
 
2906
 
 
2907
 
am_make=${MAKE-make}
2908
 
cat > confinc << 'END'
2909
 
am__doit:
2910
 
        @echo this is the am__doit target
2911
 
.PHONY: am__doit
2912
 
END
2913
 
# If we don't find an include directive, just comment out the code.
2914
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2915
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2916
 
am__include="#"
2917
 
am__quote=
2918
 
_am_result=none
2919
 
# First try GNU make style include.
2920
 
echo "include confinc" > confmf
2921
 
# Ignore all kinds of additional output from `make'.
2922
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2923
 
*the\ am__doit\ target*)
2924
 
  am__include=include
2925
 
  am__quote=
2926
 
  _am_result=GNU
2927
 
  ;;
2928
 
esac
2929
 
# Now try BSD make style include.
2930
 
if test "$am__include" = "#"; then
2931
 
   echo '.include "confinc"' > confmf
2932
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2933
 
   *the\ am__doit\ target*)
2934
 
     am__include=.include
2935
 
     am__quote="\""
2936
 
     _am_result=BSD
2937
 
     ;;
2938
 
   esac
2939
 
fi
2940
 
 
2941
 
 
2942
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2943
 
$as_echo "$_am_result" >&6; }
2944
 
rm -f confinc confmf
2945
 
 
2946
 
# Check whether --enable-dependency-tracking was given.
2947
 
if test "${enable_dependency_tracking+set}" = set; then :
2948
 
  enableval=$enable_dependency_tracking;
2949
 
fi
2950
 
 
2951
 
if test "x$enable_dependency_tracking" != xno; then
2952
 
  am_depcomp="$ac_aux_dir/depcomp"
2953
 
  AMDEPBACKSLASH='\'
2954
 
fi
2955
 
 if test "x$enable_dependency_tracking" != xno; then
2956
 
  AMDEP_TRUE=
2957
 
  AMDEP_FALSE='#'
2958
 
else
2959
 
  AMDEP_TRUE='#'
2960
 
  AMDEP_FALSE=
2961
 
fi
2962
 
 
2963
 
 
2964
 
ac_ext=c
2965
 
ac_cpp='$CPP $CPPFLAGS'
2966
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2969
 
if test -n "$ac_tool_prefix"; then
2970
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973
 
$as_echo_n "checking for $ac_word... " >&6; }
2974
 
if test "${ac_cv_prog_CC+set}" = set; then :
2975
 
  $as_echo_n "(cached) " >&6
2976
 
else
2977
 
  if test -n "$CC"; then
2978
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2979
 
else
2980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981
 
for as_dir in $PATH
2982
 
do
2983
 
  IFS=$as_save_IFS
2984
 
  test -z "$as_dir" && as_dir=.
2985
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2986
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2988
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989
 
    break 2
2990
 
  fi
2991
 
done
2992
 
  done
2993
 
IFS=$as_save_IFS
2994
 
 
2995
 
fi
2996
 
fi
2997
 
CC=$ac_cv_prog_CC
2998
 
if test -n "$CC"; then
2999
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000
 
$as_echo "$CC" >&6; }
3001
 
else
3002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003
 
$as_echo "no" >&6; }
3004
 
fi
3005
 
 
3006
 
 
3007
 
fi
3008
 
if test -z "$ac_cv_prog_CC"; then
3009
 
  ac_ct_CC=$CC
3010
 
  # Extract the first word of "gcc", so it can be a program name with args.
3011
 
set dummy gcc; ac_word=$2
3012
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013
 
$as_echo_n "checking for $ac_word... " >&6; }
3014
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3015
 
  $as_echo_n "(cached) " >&6
3016
 
else
3017
 
  if test -n "$ac_ct_CC"; then
3018
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3019
 
else
3020
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021
 
for as_dir in $PATH
3022
 
do
3023
 
  IFS=$as_save_IFS
3024
 
  test -z "$as_dir" && as_dir=.
3025
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3026
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027
 
    ac_cv_prog_ac_ct_CC="gcc"
3028
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029
 
    break 2
3030
 
  fi
3031
 
done
3032
 
  done
3033
 
IFS=$as_save_IFS
3034
 
 
3035
 
fi
3036
 
fi
3037
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3038
 
if test -n "$ac_ct_CC"; then
3039
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3040
 
$as_echo "$ac_ct_CC" >&6; }
3041
 
else
3042
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043
 
$as_echo "no" >&6; }
3044
 
fi
3045
 
 
3046
 
  if test "x$ac_ct_CC" = x; then
3047
 
    CC=""
3048
 
  else
3049
 
    case $cross_compiling:$ac_tool_warned in
3050
 
yes:)
3051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3052
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3053
 
ac_tool_warned=yes ;;
3054
 
esac
3055
 
    CC=$ac_ct_CC
3056
 
  fi
3057
 
else
3058
 
  CC="$ac_cv_prog_CC"
3059
 
fi
3060
 
 
3061
 
if test -z "$CC"; then
3062
 
          if test -n "$ac_tool_prefix"; then
3063
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3064
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066
 
$as_echo_n "checking for $ac_word... " >&6; }
3067
 
if test "${ac_cv_prog_CC+set}" = set; then :
3068
 
  $as_echo_n "(cached) " >&6
3069
 
else
3070
 
  if test -n "$CC"; then
3071
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3072
 
else
3073
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074
 
for as_dir in $PATH
3075
 
do
3076
 
  IFS=$as_save_IFS
3077
 
  test -z "$as_dir" && as_dir=.
3078
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3079
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3081
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082
 
    break 2
3083
 
  fi
3084
 
done
3085
 
  done
3086
 
IFS=$as_save_IFS
3087
 
 
3088
 
fi
3089
 
fi
3090
 
CC=$ac_cv_prog_CC
3091
 
if test -n "$CC"; then
3092
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093
 
$as_echo "$CC" >&6; }
3094
 
else
3095
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096
 
$as_echo "no" >&6; }
3097
 
fi
3098
 
 
3099
 
 
3100
 
  fi
3101
 
fi
3102
 
if test -z "$CC"; then
3103
 
  # Extract the first word of "cc", so it can be a program name with args.
3104
 
set dummy cc; ac_word=$2
3105
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106
 
$as_echo_n "checking for $ac_word... " >&6; }
3107
 
if test "${ac_cv_prog_CC+set}" = set; then :
3108
 
  $as_echo_n "(cached) " >&6
3109
 
else
3110
 
  if test -n "$CC"; then
3111
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3112
 
else
3113
 
  ac_prog_rejected=no
3114
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115
 
for as_dir in $PATH
3116
 
do
3117
 
  IFS=$as_save_IFS
3118
 
  test -z "$as_dir" && as_dir=.
3119
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3120
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3121
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3122
 
       ac_prog_rejected=yes
3123
 
       continue
3124
 
     fi
3125
 
    ac_cv_prog_CC="cc"
3126
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127
 
    break 2
3128
 
  fi
3129
 
done
3130
 
  done
3131
 
IFS=$as_save_IFS
3132
 
 
3133
 
if test $ac_prog_rejected = yes; then
3134
 
  # We found a bogon in the path, so make sure we never use it.
3135
 
  set dummy $ac_cv_prog_CC
3136
 
  shift
3137
 
  if test $# != 0; then
3138
 
    # We chose a different compiler from the bogus one.
3139
 
    # However, it has the same basename, so the bogon will be chosen
3140
 
    # first if we set CC to just the basename; use the full file name.
3141
 
    shift
3142
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3143
 
  fi
3144
 
fi
3145
 
fi
3146
 
fi
3147
 
CC=$ac_cv_prog_CC
3148
 
if test -n "$CC"; then
3149
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150
 
$as_echo "$CC" >&6; }
3151
 
else
3152
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153
 
$as_echo "no" >&6; }
3154
 
fi
3155
 
 
3156
 
 
3157
 
fi
3158
 
if test -z "$CC"; then
3159
 
  if test -n "$ac_tool_prefix"; then
3160
 
  for ac_prog in cl.exe
3161
 
  do
3162
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3163
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3164
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165
 
$as_echo_n "checking for $ac_word... " >&6; }
3166
 
if test "${ac_cv_prog_CC+set}" = set; then :
3167
 
  $as_echo_n "(cached) " >&6
3168
 
else
3169
 
  if test -n "$CC"; then
3170
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3171
 
else
3172
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173
 
for as_dir in $PATH
3174
 
do
3175
 
  IFS=$as_save_IFS
3176
 
  test -z "$as_dir" && as_dir=.
3177
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3178
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3180
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181
 
    break 2
3182
 
  fi
3183
 
done
3184
 
  done
3185
 
IFS=$as_save_IFS
3186
 
 
3187
 
fi
3188
 
fi
3189
 
CC=$ac_cv_prog_CC
3190
 
if test -n "$CC"; then
3191
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3192
 
$as_echo "$CC" >&6; }
3193
 
else
3194
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195
 
$as_echo "no" >&6; }
3196
 
fi
3197
 
 
3198
 
 
3199
 
    test -n "$CC" && break
3200
 
  done
3201
 
fi
3202
 
if test -z "$CC"; then
3203
 
  ac_ct_CC=$CC
3204
 
  for ac_prog in cl.exe
3205
 
do
3206
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3207
 
set dummy $ac_prog; ac_word=$2
3208
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209
 
$as_echo_n "checking for $ac_word... " >&6; }
3210
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3211
 
  $as_echo_n "(cached) " >&6
3212
 
else
3213
 
  if test -n "$ac_ct_CC"; then
3214
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3215
 
else
3216
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217
 
for as_dir in $PATH
3218
 
do
3219
 
  IFS=$as_save_IFS
3220
 
  test -z "$as_dir" && as_dir=.
3221
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3222
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3224
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225
 
    break 2
3226
 
  fi
3227
 
done
3228
 
  done
3229
 
IFS=$as_save_IFS
3230
 
 
3231
 
fi
3232
 
fi
3233
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3234
 
if test -n "$ac_ct_CC"; then
3235
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3236
 
$as_echo "$ac_ct_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
 
  test -n "$ac_ct_CC" && break
3244
 
done
3245
 
 
3246
 
  if test "x$ac_ct_CC" = x; then
3247
 
    CC=""
3248
 
  else
3249
 
    case $cross_compiling:$ac_tool_warned in
3250
 
yes:)
3251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3252
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3253
 
ac_tool_warned=yes ;;
3254
 
esac
3255
 
    CC=$ac_ct_CC
3256
 
  fi
3257
 
fi
3258
 
 
3259
 
fi
3260
 
 
3261
 
 
3262
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264
 
as_fn_error "no acceptable C compiler found in \$PATH
3265
 
See \`config.log' for more details." "$LINENO" 5; }
3266
 
 
3267
 
# Provide some information about the compiler.
3268
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3269
 
set X $ac_compile
3270
 
ac_compiler=$2
3271
 
for ac_option in --version -v -V -qversion; do
3272
 
  { { ac_try="$ac_compiler $ac_option >&5"
3273
 
case "(($ac_try" in
3274
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275
 
  *) ac_try_echo=$ac_try;;
3276
 
esac
3277
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278
 
$as_echo "$ac_try_echo"; } >&5
3279
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3280
 
  ac_status=$?
3281
 
  if test -s conftest.err; then
3282
 
    sed '10a\
3283
 
... rest of stderr output deleted ...
3284
 
         10q' conftest.err >conftest.er1
3285
 
    cat conftest.er1 >&5
3286
 
  fi
3287
 
  rm -f conftest.er1 conftest.err
3288
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289
 
  test $ac_status = 0; }
3290
 
done
3291
 
 
3292
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293
 
/* end confdefs.h.  */
3294
 
 
3295
 
int
3296
 
main ()
3297
 
{
3298
 
 
3299
 
  ;
3300
 
  return 0;
3301
 
}
3302
 
_ACEOF
3303
 
ac_clean_files_save=$ac_clean_files
3304
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3305
 
# Try to create an executable without -o first, disregard a.out.
3306
 
# It will help us diagnose broken compilers, and finding out an intuition
3307
 
# of exeext.
3308
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3309
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3310
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3311
 
 
3312
 
# The possible output files:
3313
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3314
 
 
3315
 
ac_rmfiles=
3316
 
for ac_file in $ac_files
3317
 
do
3318
 
  case $ac_file in
3319
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3320
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3321
 
  esac
3322
 
done
3323
 
rm -f $ac_rmfiles
3324
 
 
3325
 
if { { ac_try="$ac_link_default"
3326
 
case "(($ac_try" in
3327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328
 
  *) ac_try_echo=$ac_try;;
3329
 
esac
3330
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331
 
$as_echo "$ac_try_echo"; } >&5
3332
 
  (eval "$ac_link_default") 2>&5
3333
 
  ac_status=$?
3334
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335
 
  test $ac_status = 0; }; then :
3336
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3337
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3338
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3339
 
# so that the user can short-circuit this test for compilers unknown to
3340
 
# Autoconf.
3341
 
for ac_file in $ac_files ''
3342
 
do
3343
 
  test -f "$ac_file" || continue
3344
 
  case $ac_file in
3345
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3346
 
        ;;
3347
 
    [ab].out )
3348
 
        # We found the default executable, but exeext='' is most
3349
 
        # certainly right.
3350
 
        break;;
3351
 
    *.* )
3352
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3353
 
        then :; else
3354
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3355
 
        fi
3356
 
        # We set ac_cv_exeext here because the later test for it is not
3357
 
        # safe: cross compilers may not add the suffix if given an `-o'
3358
 
        # argument, so we may need to know it at that point already.
3359
 
        # Even if this section looks crufty: it has the advantage of
3360
 
        # actually working.
3361
 
        break;;
3362
 
    * )
3363
 
        break;;
3364
 
  esac
3365
 
done
3366
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3367
 
 
3368
 
else
3369
 
  ac_file=''
3370
 
fi
3371
 
if test -z "$ac_file"; then :
3372
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373
 
$as_echo "no" >&6; }
3374
 
$as_echo "$as_me: failed program was:" >&5
3375
 
sed 's/^/| /' conftest.$ac_ext >&5
3376
 
 
3377
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379
 
{ as_fn_set_status 77
3380
 
as_fn_error "C compiler cannot create executables
3381
 
See \`config.log' for more details." "$LINENO" 5; }; }
3382
 
else
3383
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3384
 
$as_echo "yes" >&6; }
3385
 
fi
3386
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3387
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3388
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3389
 
$as_echo "$ac_file" >&6; }
3390
 
ac_exeext=$ac_cv_exeext
3391
 
 
3392
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3393
 
ac_clean_files=$ac_clean_files_save
3394
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3395
 
$as_echo_n "checking for suffix of executables... " >&6; }
3396
 
if { { ac_try="$ac_link"
3397
 
case "(($ac_try" in
3398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399
 
  *) ac_try_echo=$ac_try;;
3400
 
esac
3401
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402
 
$as_echo "$ac_try_echo"; } >&5
3403
 
  (eval "$ac_link") 2>&5
3404
 
  ac_status=$?
3405
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406
 
  test $ac_status = 0; }; then :
3407
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3408
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3409
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3410
 
# `rm'.
3411
 
for ac_file in conftest.exe conftest conftest.*; do
3412
 
  test -f "$ac_file" || continue
3413
 
  case $ac_file in
3414
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3415
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3416
 
          break;;
3417
 
    * ) break;;
3418
 
  esac
3419
 
done
3420
 
else
3421
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3424
 
See \`config.log' for more details." "$LINENO" 5; }
3425
 
fi
3426
 
rm -f conftest conftest$ac_cv_exeext
3427
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3428
 
$as_echo "$ac_cv_exeext" >&6; }
3429
 
 
3430
 
rm -f conftest.$ac_ext
3431
 
EXEEXT=$ac_cv_exeext
3432
 
ac_exeext=$EXEEXT
3433
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434
 
/* end confdefs.h.  */
3435
 
#include <stdio.h>
3436
 
int
3437
 
main ()
3438
 
{
3439
 
FILE *f = fopen ("conftest.out", "w");
3440
 
 return ferror (f) || fclose (f) != 0;
3441
 
 
3442
 
  ;
3443
 
  return 0;
3444
 
}
3445
 
_ACEOF
3446
 
ac_clean_files="$ac_clean_files conftest.out"
3447
 
# Check that the compiler produces executables we can run.  If not, either
3448
 
# the compiler is broken, or we cross compile.
3449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3450
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3451
 
if test "$cross_compiling" != yes; then
3452
 
  { { ac_try="$ac_link"
3453
 
case "(($ac_try" in
3454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455
 
  *) ac_try_echo=$ac_try;;
3456
 
esac
3457
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458
 
$as_echo "$ac_try_echo"; } >&5
3459
 
  (eval "$ac_link") 2>&5
3460
 
  ac_status=$?
3461
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462
 
  test $ac_status = 0; }
3463
 
  if { ac_try='./conftest$ac_cv_exeext'
3464
 
  { { case "(($ac_try" in
3465
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466
 
  *) ac_try_echo=$ac_try;;
3467
 
esac
3468
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469
 
$as_echo "$ac_try_echo"; } >&5
3470
 
  (eval "$ac_try") 2>&5
3471
 
  ac_status=$?
3472
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3473
 
  test $ac_status = 0; }; }; then
3474
 
    cross_compiling=no
3475
 
  else
3476
 
    if test "$cross_compiling" = maybe; then
3477
 
        cross_compiling=yes
3478
 
    else
3479
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481
 
as_fn_error "cannot run C compiled programs.
3482
 
If you meant to cross compile, use \`--host'.
3483
 
See \`config.log' for more details." "$LINENO" 5; }
3484
 
    fi
3485
 
  fi
3486
 
fi
3487
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3488
 
$as_echo "$cross_compiling" >&6; }
3489
 
 
3490
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3491
 
ac_clean_files=$ac_clean_files_save
3492
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3493
 
$as_echo_n "checking for suffix of object files... " >&6; }
3494
 
if test "${ac_cv_objext+set}" = set; then :
3495
 
  $as_echo_n "(cached) " >&6
3496
 
else
3497
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498
 
/* end confdefs.h.  */
3499
 
 
3500
 
int
3501
 
main ()
3502
 
{
3503
 
 
3504
 
  ;
3505
 
  return 0;
3506
 
}
3507
 
_ACEOF
3508
 
rm -f conftest.o conftest.obj
3509
 
if { { ac_try="$ac_compile"
3510
 
case "(($ac_try" in
3511
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512
 
  *) ac_try_echo=$ac_try;;
3513
 
esac
3514
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515
 
$as_echo "$ac_try_echo"; } >&5
3516
 
  (eval "$ac_compile") 2>&5
3517
 
  ac_status=$?
3518
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519
 
  test $ac_status = 0; }; then :
3520
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3521
 
  test -f "$ac_file" || continue;
3522
 
  case $ac_file in
3523
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3524
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3525
 
       break;;
3526
 
  esac
3527
 
done
3528
 
else
3529
 
  $as_echo "$as_me: failed program was:" >&5
3530
 
sed 's/^/| /' conftest.$ac_ext >&5
3531
 
 
3532
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534
 
as_fn_error "cannot compute suffix of object files: cannot compile
3535
 
See \`config.log' for more details." "$LINENO" 5; }
3536
 
fi
3537
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3538
 
fi
3539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3540
 
$as_echo "$ac_cv_objext" >&6; }
3541
 
OBJEXT=$ac_cv_objext
3542
 
ac_objext=$OBJEXT
3543
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3544
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3545
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3546
 
  $as_echo_n "(cached) " >&6
3547
 
else
3548
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549
 
/* end confdefs.h.  */
3550
 
 
3551
 
int
3552
 
main ()
3553
 
{
3554
 
#ifndef __GNUC__
3555
 
       choke me
3556
 
#endif
3557
 
 
3558
 
  ;
3559
 
  return 0;
3560
 
}
3561
 
_ACEOF
3562
 
if ac_fn_c_try_compile "$LINENO"; then :
3563
 
  ac_compiler_gnu=yes
3564
 
else
3565
 
  ac_compiler_gnu=no
3566
 
fi
3567
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3569
 
 
3570
 
fi
3571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3572
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3573
 
if test $ac_compiler_gnu = yes; then
3574
 
  GCC=yes
3575
 
else
3576
 
  GCC=
3577
 
fi
3578
 
ac_test_CFLAGS=${CFLAGS+set}
3579
 
ac_save_CFLAGS=$CFLAGS
3580
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3581
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3582
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3583
 
  $as_echo_n "(cached) " >&6
3584
 
else
3585
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3586
 
   ac_c_werror_flag=yes
3587
 
   ac_cv_prog_cc_g=no
3588
 
   CFLAGS="-g"
3589
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590
 
/* end confdefs.h.  */
3591
 
 
3592
 
int
3593
 
main ()
3594
 
{
3595
 
 
3596
 
  ;
3597
 
  return 0;
3598
 
}
3599
 
_ACEOF
3600
 
if ac_fn_c_try_compile "$LINENO"; then :
3601
 
  ac_cv_prog_cc_g=yes
3602
 
else
3603
 
  CFLAGS=""
3604
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605
 
/* end confdefs.h.  */
3606
 
 
3607
 
int
3608
 
main ()
3609
 
{
3610
 
 
3611
 
  ;
3612
 
  return 0;
3613
 
}
3614
 
_ACEOF
3615
 
if ac_fn_c_try_compile "$LINENO"; then :
3616
 
 
3617
 
else
3618
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3619
 
         CFLAGS="-g"
3620
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621
 
/* end confdefs.h.  */
3622
 
 
3623
 
int
3624
 
main ()
3625
 
{
3626
 
 
3627
 
  ;
3628
 
  return 0;
3629
 
}
3630
 
_ACEOF
3631
 
if ac_fn_c_try_compile "$LINENO"; then :
3632
 
  ac_cv_prog_cc_g=yes
3633
 
fi
3634
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635
 
fi
3636
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637
 
fi
3638
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3640
 
fi
3641
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3642
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3643
 
if test "$ac_test_CFLAGS" = set; then
3644
 
  CFLAGS=$ac_save_CFLAGS
3645
 
elif test $ac_cv_prog_cc_g = yes; then
3646
 
  if test "$GCC" = yes; then
3647
 
    CFLAGS="-g -O2"
3648
 
  else
3649
 
    CFLAGS="-g"
3650
 
  fi
3651
 
else
3652
 
  if test "$GCC" = yes; then
3653
 
    CFLAGS="-O2"
3654
 
  else
3655
 
    CFLAGS=
3656
 
  fi
3657
 
fi
3658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3659
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3660
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3661
 
  $as_echo_n "(cached) " >&6
3662
 
else
3663
 
  ac_cv_prog_cc_c89=no
3664
 
ac_save_CC=$CC
3665
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666
 
/* end confdefs.h.  */
3667
 
#include <stdarg.h>
3668
 
#include <stdio.h>
3669
 
#include <sys/types.h>
3670
 
#include <sys/stat.h>
3671
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3672
 
struct buf { int x; };
3673
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3674
 
static char *e (p, i)
3675
 
     char **p;
3676
 
     int i;
3677
 
{
3678
 
  return p[i];
3679
 
}
3680
 
static char *f (char * (*g) (char **, int), char **p, ...)
3681
 
{
3682
 
  char *s;
3683
 
  va_list v;
3684
 
  va_start (v,p);
3685
 
  s = g (p, va_arg (v,int));
3686
 
  va_end (v);
3687
 
  return s;
3688
 
}
3689
 
 
3690
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3691
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3692
 
   These don't provoke an error unfortunately, instead are silently treated
3693
 
   as 'x'.  The following induces an error, until -std is added to get
3694
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3695
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3696
 
   that's true only with -std.  */
3697
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3698
 
 
3699
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3700
 
   inside strings and character constants.  */
3701
 
#define FOO(x) 'x'
3702
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3703
 
 
3704
 
int test (int i, double x);
3705
 
struct s1 {int (*f) (int a);};
3706
 
struct s2 {int (*f) (double a);};
3707
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3708
 
int argc;
3709
 
char **argv;
3710
 
int
3711
 
main ()
3712
 
{
3713
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3714
 
  ;
3715
 
  return 0;
3716
 
}
3717
 
_ACEOF
3718
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3719
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3720
 
do
3721
 
  CC="$ac_save_CC $ac_arg"
3722
 
  if ac_fn_c_try_compile "$LINENO"; then :
3723
 
  ac_cv_prog_cc_c89=$ac_arg
3724
 
fi
3725
 
rm -f core conftest.err conftest.$ac_objext
3726
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3727
 
done
3728
 
rm -f conftest.$ac_ext
3729
 
CC=$ac_save_CC
3730
 
 
3731
 
fi
3732
 
# AC_CACHE_VAL
3733
 
case "x$ac_cv_prog_cc_c89" in
3734
 
  x)
3735
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3736
 
$as_echo "none needed" >&6; } ;;
3737
 
  xno)
3738
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3739
 
$as_echo "unsupported" >&6; } ;;
3740
 
  *)
3741
 
    CC="$CC $ac_cv_prog_cc_c89"
3742
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3743
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3744
 
esac
3745
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3746
 
 
3747
 
fi
3748
 
 
3749
 
ac_ext=c
3750
 
ac_cpp='$CPP $CPPFLAGS'
3751
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3754
 
 
3755
 
depcc="$CC"   am_compiler_list=
3756
 
 
3757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3758
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3759
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3760
 
  $as_echo_n "(cached) " >&6
3761
 
else
3762
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3763
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3764
 
  # making bogus files that we don't know about and never remove.  For
3765
 
  # instance it was reported that on HP-UX the gcc test will end up
3766
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3767
 
  # in D'.
3768
 
  mkdir conftest.dir
3769
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3770
 
  # using a relative directory.
3771
 
  cp "$am_depcomp" conftest.dir
3772
 
  cd conftest.dir
3773
 
  # We will build objects and dependencies in a subdirectory because
3774
 
  # it helps to detect inapplicable dependency modes.  For instance
3775
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3776
 
  # side effect of compilation, but ICC will put the dependencies in
3777
 
  # the current directory while Tru64 will put them in the object
3778
 
  # directory.
3779
 
  mkdir sub
3780
 
 
3781
 
  am_cv_CC_dependencies_compiler_type=none
3782
 
  if test "$am_compiler_list" = ""; then
3783
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3784
 
  fi
3785
 
  am__universal=false
3786
 
  case " $depcc " in #(
3787
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3788
 
     esac
3789
 
 
3790
 
  for depmode in $am_compiler_list; do
3791
 
    # Setup a source with many dependencies, because some compilers
3792
 
    # like to wrap large dependency lists on column 80 (with \), and
3793
 
    # we should not choose a depcomp mode which is confused by this.
3794
 
    #
3795
 
    # We need to recreate these files for each test, as the compiler may
3796
 
    # overwrite some of them when testing with obscure command lines.
3797
 
    # This happens at least with the AIX C compiler.
3798
 
    : > sub/conftest.c
3799
 
    for i in 1 2 3 4 5 6; do
3800
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3801
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3802
 
      # Solaris 8's {/usr,}/bin/sh.
3803
 
      touch sub/conftst$i.h
3804
 
    done
3805
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3806
 
 
3807
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3808
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3809
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3810
 
    # versions had trouble with output in subdirs
3811
 
    am__obj=sub/conftest.${OBJEXT-o}
3812
 
    am__minus_obj="-o $am__obj"
3813
 
    case $depmode in
3814
 
    gcc)
3815
 
      # This depmode causes a compiler race in universal mode.
3816
 
      test "$am__universal" = false || continue
3817
 
      ;;
3818
 
    nosideeffect)
3819
 
      # after this tag, mechanisms are not by side-effect, so they'll
3820
 
      # only be used when explicitly requested
3821
 
      if test "x$enable_dependency_tracking" = xyes; then
3822
 
        continue
3823
 
      else
3824
 
        break
3825
 
      fi
3826
 
      ;;
3827
 
    msvisualcpp | msvcmsys)
3828
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3829
 
      # not run yet.  These depmodes are late enough in the game, and
3830
 
      # so weak that their functioning should not be impacted.
3831
 
      am__obj=conftest.${OBJEXT-o}
3832
 
      am__minus_obj=
3833
 
      ;;
3834
 
    none) break ;;
3835
 
    esac
3836
 
    if depmode=$depmode \
3837
 
       source=sub/conftest.c object=$am__obj \
3838
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3839
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3840
 
         >/dev/null 2>conftest.err &&
3841
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3842
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3843
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3844
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3845
 
      # icc doesn't choke on unknown options, it will just issue warnings
3846
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3847
 
      # that says an option was ignored or not supported.
3848
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3849
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3850
 
      # The diagnosis changed in icc 8.0:
3851
 
      #   icc: Command line remark: option '-MP' not supported
3852
 
      if (grep 'ignoring option' conftest.err ||
3853
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3854
 
        am_cv_CC_dependencies_compiler_type=$depmode
3855
 
        break
3856
 
      fi
3857
 
    fi
3858
 
  done
3859
 
 
3860
 
  cd ..
3861
 
  rm -rf conftest.dir
3862
 
else
3863
 
  am_cv_CC_dependencies_compiler_type=none
3864
 
fi
3865
 
 
3866
 
fi
3867
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3868
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3869
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3870
 
 
3871
 
 if
3872
 
  test "x$enable_dependency_tracking" != xno \
3873
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3874
 
  am__fastdepCC_TRUE=
3875
 
  am__fastdepCC_FALSE='#'
3876
 
else
3877
 
  am__fastdepCC_TRUE='#'
3878
 
  am__fastdepCC_FALSE=
3879
 
fi
3880
 
 
3881
 
 
3882
 
 
3883
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3884
 
$as_echo_n "checking for library containing strerror... " >&6; }
3885
 
if test "${ac_cv_search_strerror+set}" = set; then :
3886
 
  $as_echo_n "(cached) " >&6
3887
 
else
3888
 
  ac_func_search_save_LIBS=$LIBS
3889
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890
 
/* end confdefs.h.  */
3891
 
 
3892
 
/* Override any GCC internal prototype to avoid an error.
3893
 
   Use char because int might match the return type of a GCC
3894
 
   builtin and then its argument prototype would still apply.  */
3895
 
#ifdef __cplusplus
3896
 
extern "C"
3897
 
#endif
3898
 
char strerror ();
3899
 
int
3900
 
main ()
3901
 
{
3902
 
return strerror ();
3903
 
  ;
3904
 
  return 0;
3905
 
}
3906
 
_ACEOF
3907
 
for ac_lib in '' cposix; do
3908
 
  if test -z "$ac_lib"; then
3909
 
    ac_res="none required"
3910
 
  else
3911
 
    ac_res=-l$ac_lib
3912
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3913
 
  fi
3914
 
  if ac_fn_c_try_link "$LINENO"; then :
3915
 
  ac_cv_search_strerror=$ac_res
3916
 
fi
3917
 
rm -f core conftest.err conftest.$ac_objext \
3918
 
    conftest$ac_exeext
3919
 
  if test "${ac_cv_search_strerror+set}" = set; then :
3920
 
  break
3921
 
fi
3922
 
done
3923
 
if test "${ac_cv_search_strerror+set}" = set; then :
3924
 
 
3925
 
else
3926
 
  ac_cv_search_strerror=no
3927
 
fi
3928
 
rm conftest.$ac_ext
3929
 
LIBS=$ac_func_search_save_LIBS
3930
 
fi
3931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3932
 
$as_echo "$ac_cv_search_strerror" >&6; }
3933
 
ac_res=$ac_cv_search_strerror
3934
 
if test "$ac_res" != no; then :
3935
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3936
 
 
3937
 
fi
3938
 
 
3939
 
ac_ext=c
3940
 
ac_cpp='$CPP $CPPFLAGS'
3941
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944
 
if test -n "$ac_tool_prefix"; then
3945
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3946
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3947
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948
 
$as_echo_n "checking for $ac_word... " >&6; }
3949
 
if test "${ac_cv_prog_CC+set}" = set; then :
3950
 
  $as_echo_n "(cached) " >&6
3951
 
else
3952
 
  if test -n "$CC"; then
3953
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3954
 
else
3955
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956
 
for as_dir in $PATH
3957
 
do
3958
 
  IFS=$as_save_IFS
3959
 
  test -z "$as_dir" && as_dir=.
3960
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3961
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3963
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964
 
    break 2
3965
 
  fi
3966
 
done
3967
 
  done
3968
 
IFS=$as_save_IFS
3969
 
 
3970
 
fi
3971
 
fi
3972
 
CC=$ac_cv_prog_CC
3973
 
if test -n "$CC"; then
3974
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975
 
$as_echo "$CC" >&6; }
3976
 
else
3977
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978
 
$as_echo "no" >&6; }
3979
 
fi
3980
 
 
3981
 
 
3982
 
fi
3983
 
if test -z "$ac_cv_prog_CC"; then
3984
 
  ac_ct_CC=$CC
3985
 
  # Extract the first word of "gcc", so it can be a program name with args.
3986
 
set dummy gcc; ac_word=$2
3987
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988
 
$as_echo_n "checking for $ac_word... " >&6; }
3989
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3990
 
  $as_echo_n "(cached) " >&6
3991
 
else
3992
 
  if test -n "$ac_ct_CC"; then
3993
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3994
 
else
3995
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996
 
for as_dir in $PATH
3997
 
do
3998
 
  IFS=$as_save_IFS
3999
 
  test -z "$as_dir" && as_dir=.
4000
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4001
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4002
 
    ac_cv_prog_ac_ct_CC="gcc"
4003
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004
 
    break 2
4005
 
  fi
4006
 
done
4007
 
  done
4008
 
IFS=$as_save_IFS
4009
 
 
4010
 
fi
4011
 
fi
4012
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4013
 
if test -n "$ac_ct_CC"; then
4014
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4015
 
$as_echo "$ac_ct_CC" >&6; }
4016
 
else
4017
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018
 
$as_echo "no" >&6; }
4019
 
fi
4020
 
 
4021
 
  if test "x$ac_ct_CC" = x; then
4022
 
    CC=""
4023
 
  else
4024
 
    case $cross_compiling:$ac_tool_warned in
4025
 
yes:)
4026
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028
 
ac_tool_warned=yes ;;
4029
 
esac
4030
 
    CC=$ac_ct_CC
4031
 
  fi
4032
 
else
4033
 
  CC="$ac_cv_prog_CC"
4034
 
fi
4035
 
 
4036
 
if test -z "$CC"; then
4037
 
          if test -n "$ac_tool_prefix"; then
4038
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4039
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4040
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041
 
$as_echo_n "checking for $ac_word... " >&6; }
4042
 
if test "${ac_cv_prog_CC+set}" = set; then :
4043
 
  $as_echo_n "(cached) " >&6
4044
 
else
4045
 
  if test -n "$CC"; then
4046
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4047
 
else
4048
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049
 
for as_dir in $PATH
4050
 
do
4051
 
  IFS=$as_save_IFS
4052
 
  test -z "$as_dir" && as_dir=.
4053
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4054
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4055
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4056
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057
 
    break 2
4058
 
  fi
4059
 
done
4060
 
  done
4061
 
IFS=$as_save_IFS
4062
 
 
4063
 
fi
4064
 
fi
4065
 
CC=$ac_cv_prog_CC
4066
 
if test -n "$CC"; then
4067
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068
 
$as_echo "$CC" >&6; }
4069
 
else
4070
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071
 
$as_echo "no" >&6; }
4072
 
fi
4073
 
 
4074
 
 
4075
 
  fi
4076
 
fi
4077
 
if test -z "$CC"; then
4078
 
  # Extract the first word of "cc", so it can be a program name with args.
4079
 
set dummy cc; ac_word=$2
4080
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081
 
$as_echo_n "checking for $ac_word... " >&6; }
4082
 
if test "${ac_cv_prog_CC+set}" = set; then :
4083
 
  $as_echo_n "(cached) " >&6
4084
 
else
4085
 
  if test -n "$CC"; then
4086
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4087
 
else
4088
 
  ac_prog_rejected=no
4089
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090
 
for as_dir in $PATH
4091
 
do
4092
 
  IFS=$as_save_IFS
4093
 
  test -z "$as_dir" && as_dir=.
4094
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4095
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4096
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4097
 
       ac_prog_rejected=yes
4098
 
       continue
4099
 
     fi
4100
 
    ac_cv_prog_CC="cc"
4101
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102
 
    break 2
4103
 
  fi
4104
 
done
4105
 
  done
4106
 
IFS=$as_save_IFS
4107
 
 
4108
 
if test $ac_prog_rejected = yes; then
4109
 
  # We found a bogon in the path, so make sure we never use it.
4110
 
  set dummy $ac_cv_prog_CC
4111
 
  shift
4112
 
  if test $# != 0; then
4113
 
    # We chose a different compiler from the bogus one.
4114
 
    # However, it has the same basename, so the bogon will be chosen
4115
 
    # first if we set CC to just the basename; use the full file name.
4116
 
    shift
4117
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4118
 
  fi
4119
 
fi
4120
 
fi
4121
 
fi
4122
 
CC=$ac_cv_prog_CC
4123
 
if test -n "$CC"; then
4124
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4125
 
$as_echo "$CC" >&6; }
4126
 
else
4127
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128
 
$as_echo "no" >&6; }
4129
 
fi
4130
 
 
4131
 
 
4132
 
fi
4133
 
if test -z "$CC"; then
4134
 
  if test -n "$ac_tool_prefix"; then
4135
 
  for ac_prog in cl.exe
4136
 
  do
4137
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4138
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4139
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140
 
$as_echo_n "checking for $ac_word... " >&6; }
4141
 
if test "${ac_cv_prog_CC+set}" = set; then :
4142
 
  $as_echo_n "(cached) " >&6
4143
 
else
4144
 
  if test -n "$CC"; then
4145
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4146
 
else
4147
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148
 
for as_dir in $PATH
4149
 
do
4150
 
  IFS=$as_save_IFS
4151
 
  test -z "$as_dir" && as_dir=.
4152
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4153
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4155
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156
 
    break 2
4157
 
  fi
4158
 
done
4159
 
  done
4160
 
IFS=$as_save_IFS
4161
 
 
4162
 
fi
4163
 
fi
4164
 
CC=$ac_cv_prog_CC
4165
 
if test -n "$CC"; then
4166
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4167
 
$as_echo "$CC" >&6; }
4168
 
else
4169
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170
 
$as_echo "no" >&6; }
4171
 
fi
4172
 
 
4173
 
 
4174
 
    test -n "$CC" && break
4175
 
  done
4176
 
fi
4177
 
if test -z "$CC"; then
4178
 
  ac_ct_CC=$CC
4179
 
  for ac_prog in cl.exe
4180
 
do
4181
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4182
 
set dummy $ac_prog; ac_word=$2
4183
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184
 
$as_echo_n "checking for $ac_word... " >&6; }
4185
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4186
 
  $as_echo_n "(cached) " >&6
4187
 
else
4188
 
  if test -n "$ac_ct_CC"; then
4189
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4190
 
else
4191
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192
 
for as_dir in $PATH
4193
 
do
4194
 
  IFS=$as_save_IFS
4195
 
  test -z "$as_dir" && as_dir=.
4196
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4197
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4199
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200
 
    break 2
4201
 
  fi
4202
 
done
4203
 
  done
4204
 
IFS=$as_save_IFS
4205
 
 
4206
 
fi
4207
 
fi
4208
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4209
 
if test -n "$ac_ct_CC"; then
4210
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4211
 
$as_echo "$ac_ct_CC" >&6; }
4212
 
else
4213
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214
 
$as_echo "no" >&6; }
4215
 
fi
4216
 
 
4217
 
 
4218
 
  test -n "$ac_ct_CC" && break
4219
 
done
4220
 
 
4221
 
  if test "x$ac_ct_CC" = x; then
4222
 
    CC=""
4223
 
  else
4224
 
    case $cross_compiling:$ac_tool_warned in
4225
 
yes:)
4226
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4227
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4228
 
ac_tool_warned=yes ;;
4229
 
esac
4230
 
    CC=$ac_ct_CC
4231
 
  fi
4232
 
fi
4233
 
 
4234
 
fi
4235
 
 
4236
 
 
4237
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239
 
as_fn_error "no acceptable C compiler found in \$PATH
4240
 
See \`config.log' for more details." "$LINENO" 5; }
4241
 
 
4242
 
# Provide some information about the compiler.
4243
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4244
 
set X $ac_compile
4245
 
ac_compiler=$2
4246
 
for ac_option in --version -v -V -qversion; do
4247
 
  { { ac_try="$ac_compiler $ac_option >&5"
4248
 
case "(($ac_try" in
4249
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250
 
  *) ac_try_echo=$ac_try;;
4251
 
esac
4252
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253
 
$as_echo "$ac_try_echo"; } >&5
4254
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4255
 
  ac_status=$?
4256
 
  if test -s conftest.err; then
4257
 
    sed '10a\
4258
 
... rest of stderr output deleted ...
4259
 
         10q' conftest.err >conftest.er1
4260
 
    cat conftest.er1 >&5
4261
 
  fi
4262
 
  rm -f conftest.er1 conftest.err
4263
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264
 
  test $ac_status = 0; }
4265
 
done
4266
 
 
4267
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4268
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4269
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4270
 
  $as_echo_n "(cached) " >&6
4271
 
else
4272
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273
 
/* end confdefs.h.  */
4274
 
 
4275
 
int
4276
 
main ()
4277
 
{
4278
 
#ifndef __GNUC__
4279
 
       choke me
4280
 
#endif
4281
 
 
4282
 
  ;
4283
 
  return 0;
4284
 
}
4285
 
_ACEOF
4286
 
if ac_fn_c_try_compile "$LINENO"; then :
4287
 
  ac_compiler_gnu=yes
4288
 
else
4289
 
  ac_compiler_gnu=no
4290
 
fi
4291
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4293
 
 
4294
 
fi
4295
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4296
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4297
 
if test $ac_compiler_gnu = yes; then
4298
 
  GCC=yes
4299
 
else
4300
 
  GCC=
4301
 
fi
4302
 
ac_test_CFLAGS=${CFLAGS+set}
4303
 
ac_save_CFLAGS=$CFLAGS
4304
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4305
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4306
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4307
 
  $as_echo_n "(cached) " >&6
4308
 
else
4309
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4310
 
   ac_c_werror_flag=yes
4311
 
   ac_cv_prog_cc_g=no
4312
 
   CFLAGS="-g"
4313
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314
 
/* end confdefs.h.  */
4315
 
 
4316
 
int
4317
 
main ()
4318
 
{
4319
 
 
4320
 
  ;
4321
 
  return 0;
4322
 
}
4323
 
_ACEOF
4324
 
if ac_fn_c_try_compile "$LINENO"; then :
4325
 
  ac_cv_prog_cc_g=yes
4326
 
else
4327
 
  CFLAGS=""
4328
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329
 
/* end confdefs.h.  */
4330
 
 
4331
 
int
4332
 
main ()
4333
 
{
4334
 
 
4335
 
  ;
4336
 
  return 0;
4337
 
}
4338
 
_ACEOF
4339
 
if ac_fn_c_try_compile "$LINENO"; then :
4340
 
 
4341
 
else
4342
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4343
 
         CFLAGS="-g"
4344
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345
 
/* end confdefs.h.  */
4346
 
 
4347
 
int
4348
 
main ()
4349
 
{
4350
 
 
4351
 
  ;
4352
 
  return 0;
4353
 
}
4354
 
_ACEOF
4355
 
if ac_fn_c_try_compile "$LINENO"; then :
4356
 
  ac_cv_prog_cc_g=yes
4357
 
fi
4358
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359
 
fi
4360
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361
 
fi
4362
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4364
 
fi
4365
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4366
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4367
 
if test "$ac_test_CFLAGS" = set; then
4368
 
  CFLAGS=$ac_save_CFLAGS
4369
 
elif test $ac_cv_prog_cc_g = yes; then
4370
 
  if test "$GCC" = yes; then
4371
 
    CFLAGS="-g -O2"
4372
 
  else
4373
 
    CFLAGS="-g"
4374
 
  fi
4375
 
else
4376
 
  if test "$GCC" = yes; then
4377
 
    CFLAGS="-O2"
4378
 
  else
4379
 
    CFLAGS=
4380
 
  fi
4381
 
fi
4382
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4383
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4384
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4385
 
  $as_echo_n "(cached) " >&6
4386
 
else
4387
 
  ac_cv_prog_cc_c89=no
4388
 
ac_save_CC=$CC
4389
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390
 
/* end confdefs.h.  */
4391
 
#include <stdarg.h>
4392
 
#include <stdio.h>
4393
 
#include <sys/types.h>
4394
 
#include <sys/stat.h>
4395
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4396
 
struct buf { int x; };
4397
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4398
 
static char *e (p, i)
4399
 
     char **p;
4400
 
     int i;
4401
 
{
4402
 
  return p[i];
4403
 
}
4404
 
static char *f (char * (*g) (char **, int), char **p, ...)
4405
 
{
4406
 
  char *s;
4407
 
  va_list v;
4408
 
  va_start (v,p);
4409
 
  s = g (p, va_arg (v,int));
4410
 
  va_end (v);
4411
 
  return s;
4412
 
}
4413
 
 
4414
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4415
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4416
 
   These don't provoke an error unfortunately, instead are silently treated
4417
 
   as 'x'.  The following induces an error, until -std is added to get
4418
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4419
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4420
 
   that's true only with -std.  */
4421
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4422
 
 
4423
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4424
 
   inside strings and character constants.  */
4425
 
#define FOO(x) 'x'
4426
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4427
 
 
4428
 
int test (int i, double x);
4429
 
struct s1 {int (*f) (int a);};
4430
 
struct s2 {int (*f) (double a);};
4431
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4432
 
int argc;
4433
 
char **argv;
4434
 
int
4435
 
main ()
4436
 
{
4437
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4438
 
  ;
4439
 
  return 0;
4440
 
}
4441
 
_ACEOF
4442
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4443
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4444
 
do
4445
 
  CC="$ac_save_CC $ac_arg"
4446
 
  if ac_fn_c_try_compile "$LINENO"; then :
4447
 
  ac_cv_prog_cc_c89=$ac_arg
4448
 
fi
4449
 
rm -f core conftest.err conftest.$ac_objext
4450
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4451
 
done
4452
 
rm -f conftest.$ac_ext
4453
 
CC=$ac_save_CC
4454
 
 
4455
 
fi
4456
 
# AC_CACHE_VAL
4457
 
case "x$ac_cv_prog_cc_c89" in
4458
 
  x)
4459
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4460
 
$as_echo "none needed" >&6; } ;;
4461
 
  xno)
4462
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4463
 
$as_echo "unsupported" >&6; } ;;
4464
 
  *)
4465
 
    CC="$CC $ac_cv_prog_cc_c89"
4466
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4467
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4468
 
esac
4469
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4470
 
 
4471
 
fi
4472
 
 
4473
 
ac_ext=c
4474
 
ac_cpp='$CPP $CPPFLAGS'
4475
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4476
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4477
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4478
 
 
4479
 
depcc="$CC"   am_compiler_list=
4480
 
 
4481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4482
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4483
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4484
 
  $as_echo_n "(cached) " >&6
4485
 
else
4486
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4487
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4488
 
  # making bogus files that we don't know about and never remove.  For
4489
 
  # instance it was reported that on HP-UX the gcc test will end up
4490
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4491
 
  # in D'.
4492
 
  mkdir conftest.dir
4493
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4494
 
  # using a relative directory.
4495
 
  cp "$am_depcomp" conftest.dir
4496
 
  cd conftest.dir
4497
 
  # We will build objects and dependencies in a subdirectory because
4498
 
  # it helps to detect inapplicable dependency modes.  For instance
4499
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4500
 
  # side effect of compilation, but ICC will put the dependencies in
4501
 
  # the current directory while Tru64 will put them in the object
4502
 
  # directory.
4503
 
  mkdir sub
4504
 
 
4505
 
  am_cv_CC_dependencies_compiler_type=none
4506
 
  if test "$am_compiler_list" = ""; then
4507
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4508
 
  fi
4509
 
  am__universal=false
4510
 
  case " $depcc " in #(
4511
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4512
 
     esac
4513
 
 
4514
 
  for depmode in $am_compiler_list; do
4515
 
    # Setup a source with many dependencies, because some compilers
4516
 
    # like to wrap large dependency lists on column 80 (with \), and
4517
 
    # we should not choose a depcomp mode which is confused by this.
4518
 
    #
4519
 
    # We need to recreate these files for each test, as the compiler may
4520
 
    # overwrite some of them when testing with obscure command lines.
4521
 
    # This happens at least with the AIX C compiler.
4522
 
    : > sub/conftest.c
4523
 
    for i in 1 2 3 4 5 6; do
4524
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4525
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4526
 
      # Solaris 8's {/usr,}/bin/sh.
4527
 
      touch sub/conftst$i.h
4528
 
    done
4529
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4530
 
 
4531
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4532
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4533
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4534
 
    # versions had trouble with output in subdirs
4535
 
    am__obj=sub/conftest.${OBJEXT-o}
4536
 
    am__minus_obj="-o $am__obj"
4537
 
    case $depmode in
4538
 
    gcc)
4539
 
      # This depmode causes a compiler race in universal mode.
4540
 
      test "$am__universal" = false || continue
4541
 
      ;;
4542
 
    nosideeffect)
4543
 
      # after this tag, mechanisms are not by side-effect, so they'll
4544
 
      # only be used when explicitly requested
4545
 
      if test "x$enable_dependency_tracking" = xyes; then
4546
 
        continue
4547
 
      else
4548
 
        break
4549
 
      fi
4550
 
      ;;
4551
 
    msvisualcpp | msvcmsys)
4552
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4553
 
      # not run yet.  These depmodes are late enough in the game, and
4554
 
      # so weak that their functioning should not be impacted.
4555
 
      am__obj=conftest.${OBJEXT-o}
4556
 
      am__minus_obj=
4557
 
      ;;
4558
 
    none) break ;;
4559
 
    esac
4560
 
    if depmode=$depmode \
4561
 
       source=sub/conftest.c object=$am__obj \
4562
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4563
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4564
 
         >/dev/null 2>conftest.err &&
4565
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4566
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4567
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4568
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4569
 
      # icc doesn't choke on unknown options, it will just issue warnings
4570
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4571
 
      # that says an option was ignored or not supported.
4572
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4573
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4574
 
      # The diagnosis changed in icc 8.0:
4575
 
      #   icc: Command line remark: option '-MP' not supported
4576
 
      if (grep 'ignoring option' conftest.err ||
4577
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4578
 
        am_cv_CC_dependencies_compiler_type=$depmode
4579
 
        break
4580
 
      fi
4581
 
    fi
4582
 
  done
4583
 
 
4584
 
  cd ..
4585
 
  rm -rf conftest.dir
4586
 
else
4587
 
  am_cv_CC_dependencies_compiler_type=none
4588
 
fi
4589
 
 
4590
 
fi
4591
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4592
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4593
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4594
 
 
4595
 
 if
4596
 
  test "x$enable_dependency_tracking" != xno \
4597
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4598
 
  am__fastdepCC_TRUE=
4599
 
  am__fastdepCC_FALSE='#'
4600
 
else
4601
 
  am__fastdepCC_TRUE='#'
4602
 
  am__fastdepCC_FALSE=
4603
 
fi
4604
 
 
4605
 
 
4606
 
case `pwd` in
4607
 
  *\ * | *\     *)
4608
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4609
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4610
 
esac
4611
 
 
4612
 
 
4613
 
 
4614
 
macro_version='2.2.6b'
4615
 
macro_revision='1.3017'
4616
 
 
4617
 
 
4618
 
 
4619
 
 
4620
 
 
4621
 
 
4622
 
 
4623
 
 
4624
 
 
4625
 
 
4626
 
 
4627
 
 
4628
 
 
4629
 
ltmain="$ac_aux_dir/ltmain.sh"
4630
 
 
4631
 
# Make sure we can run config.sub.
4632
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4633
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4634
 
 
4635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4636
 
$as_echo_n "checking build system type... " >&6; }
4637
 
if test "${ac_cv_build+set}" = set; then :
4638
 
  $as_echo_n "(cached) " >&6
4639
 
else
4640
 
  ac_build_alias=$build_alias
4641
 
test "x$ac_build_alias" = x &&
4642
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4643
 
test "x$ac_build_alias" = x &&
4644
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4645
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4646
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4647
 
 
4648
 
fi
4649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4650
 
$as_echo "$ac_cv_build" >&6; }
4651
 
case $ac_cv_build in
4652
 
*-*-*) ;;
4653
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4654
 
esac
4655
 
build=$ac_cv_build
4656
 
ac_save_IFS=$IFS; IFS='-'
4657
 
set x $ac_cv_build
4658
 
shift
4659
 
build_cpu=$1
4660
 
build_vendor=$2
4661
 
shift; shift
4662
 
# Remember, the first character of IFS is used to create $*,
4663
 
# except with old shells:
4664
 
build_os=$*
4665
 
IFS=$ac_save_IFS
4666
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4667
 
 
4668
 
 
4669
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4670
 
$as_echo_n "checking host system type... " >&6; }
4671
 
if test "${ac_cv_host+set}" = set; then :
4672
 
  $as_echo_n "(cached) " >&6
4673
 
else
4674
 
  if test "x$host_alias" = x; then
4675
 
  ac_cv_host=$ac_cv_build
4676
 
else
4677
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4678
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4679
 
fi
4680
 
 
4681
 
fi
4682
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4683
 
$as_echo "$ac_cv_host" >&6; }
4684
 
case $ac_cv_host in
4685
 
*-*-*) ;;
4686
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4687
 
esac
4688
 
host=$ac_cv_host
4689
 
ac_save_IFS=$IFS; IFS='-'
4690
 
set x $ac_cv_host
4691
 
shift
4692
 
host_cpu=$1
4693
 
host_vendor=$2
4694
 
shift; shift
4695
 
# Remember, the first character of IFS is used to create $*,
4696
 
# except with old shells:
4697
 
host_os=$*
4698
 
IFS=$ac_save_IFS
4699
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4700
 
 
4701
 
 
4702
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4703
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4704
 
if test "${ac_cv_path_SED+set}" = set; then :
4705
 
  $as_echo_n "(cached) " >&6
4706
 
else
4707
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4708
 
     for ac_i in 1 2 3 4 5 6 7; do
4709
 
       ac_script="$ac_script$as_nl$ac_script"
4710
 
     done
4711
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4712
 
     { ac_script=; unset ac_script;}
4713
 
     if test -z "$SED"; then
4714
 
  ac_path_SED_found=false
4715
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4716
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717
 
for as_dir in $PATH
4718
 
do
4719
 
  IFS=$as_save_IFS
4720
 
  test -z "$as_dir" && as_dir=.
4721
 
    for ac_prog in sed gsed; do
4722
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4723
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4724
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4725
 
# Check for GNU ac_path_SED and select it if it is found.
4726
 
  # Check for GNU $ac_path_SED
4727
 
case `"$ac_path_SED" --version 2>&1` in
4728
 
*GNU*)
4729
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4730
 
*)
4731
 
  ac_count=0
4732
 
  $as_echo_n 0123456789 >"conftest.in"
4733
 
  while :
4734
 
  do
4735
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4736
 
    mv "conftest.tmp" "conftest.in"
4737
 
    cp "conftest.in" "conftest.nl"
4738
 
    $as_echo '' >> "conftest.nl"
4739
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4740
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4741
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4742
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4743
 
      # Best one so far, save it but keep looking for a better one
4744
 
      ac_cv_path_SED="$ac_path_SED"
4745
 
      ac_path_SED_max=$ac_count
4746
 
    fi
4747
 
    # 10*(2^10) chars as input seems more than enough
4748
 
    test $ac_count -gt 10 && break
4749
 
  done
4750
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4751
 
esac
4752
 
 
4753
 
      $ac_path_SED_found && break 3
4754
 
    done
4755
 
  done
4756
 
  done
4757
 
IFS=$as_save_IFS
4758
 
  if test -z "$ac_cv_path_SED"; then
4759
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4760
 
  fi
4761
 
else
4762
 
  ac_cv_path_SED=$SED
4763
 
fi
4764
 
 
4765
 
fi
4766
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4767
 
$as_echo "$ac_cv_path_SED" >&6; }
4768
 
 SED="$ac_cv_path_SED"
4769
 
  rm -f conftest.sed
4770
 
 
4771
 
test -z "$SED" && SED=sed
4772
 
Xsed="$SED -e 1s/^X//"
4773
 
 
4774
 
 
4775
 
 
4776
 
 
4777
 
 
4778
 
 
4779
 
 
4780
 
 
4781
 
 
4782
 
 
4783
 
 
4784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4785
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4786
 
if test "${ac_cv_path_GREP+set}" = set; then :
4787
 
  $as_echo_n "(cached) " >&6
4788
 
else
4789
 
  if test -z "$GREP"; then
4790
 
  ac_path_GREP_found=false
4791
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4792
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4794
 
do
4795
 
  IFS=$as_save_IFS
4796
 
  test -z "$as_dir" && as_dir=.
4797
 
    for ac_prog in grep ggrep; do
4798
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4799
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4800
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4801
 
# Check for GNU ac_path_GREP and select it if it is found.
4802
 
  # Check for GNU $ac_path_GREP
4803
 
case `"$ac_path_GREP" --version 2>&1` in
4804
 
*GNU*)
4805
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4806
 
*)
4807
 
  ac_count=0
4808
 
  $as_echo_n 0123456789 >"conftest.in"
4809
 
  while :
4810
 
  do
4811
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4812
 
    mv "conftest.tmp" "conftest.in"
4813
 
    cp "conftest.in" "conftest.nl"
4814
 
    $as_echo 'GREP' >> "conftest.nl"
4815
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4816
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4817
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4818
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4819
 
      # Best one so far, save it but keep looking for a better one
4820
 
      ac_cv_path_GREP="$ac_path_GREP"
4821
 
      ac_path_GREP_max=$ac_count
4822
 
    fi
4823
 
    # 10*(2^10) chars as input seems more than enough
4824
 
    test $ac_count -gt 10 && break
4825
 
  done
4826
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4827
 
esac
4828
 
 
4829
 
      $ac_path_GREP_found && break 3
4830
 
    done
4831
 
  done
4832
 
  done
4833
 
IFS=$as_save_IFS
4834
 
  if test -z "$ac_cv_path_GREP"; then
4835
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4836
 
  fi
4837
 
else
4838
 
  ac_cv_path_GREP=$GREP
4839
 
fi
4840
 
 
4841
 
fi
4842
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4843
 
$as_echo "$ac_cv_path_GREP" >&6; }
4844
 
 GREP="$ac_cv_path_GREP"
4845
 
 
4846
 
 
4847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4848
 
$as_echo_n "checking for egrep... " >&6; }
4849
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4850
 
  $as_echo_n "(cached) " >&6
4851
 
else
4852
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4853
 
   then ac_cv_path_EGREP="$GREP -E"
4854
 
   else
4855
 
     if test -z "$EGREP"; then
4856
 
  ac_path_EGREP_found=false
4857
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4858
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4860
 
do
4861
 
  IFS=$as_save_IFS
4862
 
  test -z "$as_dir" && as_dir=.
4863
 
    for ac_prog in egrep; do
4864
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4865
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4866
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4867
 
# Check for GNU ac_path_EGREP and select it if it is found.
4868
 
  # Check for GNU $ac_path_EGREP
4869
 
case `"$ac_path_EGREP" --version 2>&1` in
4870
 
*GNU*)
4871
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4872
 
*)
4873
 
  ac_count=0
4874
 
  $as_echo_n 0123456789 >"conftest.in"
4875
 
  while :
4876
 
  do
4877
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4878
 
    mv "conftest.tmp" "conftest.in"
4879
 
    cp "conftest.in" "conftest.nl"
4880
 
    $as_echo 'EGREP' >> "conftest.nl"
4881
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4882
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4883
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4884
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4885
 
      # Best one so far, save it but keep looking for a better one
4886
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4887
 
      ac_path_EGREP_max=$ac_count
4888
 
    fi
4889
 
    # 10*(2^10) chars as input seems more than enough
4890
 
    test $ac_count -gt 10 && break
4891
 
  done
4892
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4893
 
esac
4894
 
 
4895
 
      $ac_path_EGREP_found && break 3
4896
 
    done
4897
 
  done
4898
 
  done
4899
 
IFS=$as_save_IFS
4900
 
  if test -z "$ac_cv_path_EGREP"; then
4901
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4902
 
  fi
4903
 
else
4904
 
  ac_cv_path_EGREP=$EGREP
4905
 
fi
4906
 
 
4907
 
   fi
4908
 
fi
4909
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4910
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4911
 
 EGREP="$ac_cv_path_EGREP"
4912
 
 
4913
 
 
4914
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4915
 
$as_echo_n "checking for fgrep... " >&6; }
4916
 
if test "${ac_cv_path_FGREP+set}" = set; then :
4917
 
  $as_echo_n "(cached) " >&6
4918
 
else
4919
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4920
 
   then ac_cv_path_FGREP="$GREP -F"
4921
 
   else
4922
 
     if test -z "$FGREP"; then
4923
 
  ac_path_FGREP_found=false
4924
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4925
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4927
 
do
4928
 
  IFS=$as_save_IFS
4929
 
  test -z "$as_dir" && as_dir=.
4930
 
    for ac_prog in fgrep; do
4931
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4932
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4933
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4934
 
# Check for GNU ac_path_FGREP and select it if it is found.
4935
 
  # Check for GNU $ac_path_FGREP
4936
 
case `"$ac_path_FGREP" --version 2>&1` in
4937
 
*GNU*)
4938
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4939
 
*)
4940
 
  ac_count=0
4941
 
  $as_echo_n 0123456789 >"conftest.in"
4942
 
  while :
4943
 
  do
4944
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4945
 
    mv "conftest.tmp" "conftest.in"
4946
 
    cp "conftest.in" "conftest.nl"
4947
 
    $as_echo 'FGREP' >> "conftest.nl"
4948
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4949
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4950
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4951
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4952
 
      # Best one so far, save it but keep looking for a better one
4953
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4954
 
      ac_path_FGREP_max=$ac_count
4955
 
    fi
4956
 
    # 10*(2^10) chars as input seems more than enough
4957
 
    test $ac_count -gt 10 && break
4958
 
  done
4959
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4960
 
esac
4961
 
 
4962
 
      $ac_path_FGREP_found && break 3
4963
 
    done
4964
 
  done
4965
 
  done
4966
 
IFS=$as_save_IFS
4967
 
  if test -z "$ac_cv_path_FGREP"; then
4968
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4969
 
  fi
4970
 
else
4971
 
  ac_cv_path_FGREP=$FGREP
4972
 
fi
4973
 
 
4974
 
   fi
4975
 
fi
4976
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4977
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4978
 
 FGREP="$ac_cv_path_FGREP"
4979
 
 
4980
 
 
4981
 
test -z "$GREP" && GREP=grep
4982
 
 
4983
 
 
4984
 
 
4985
 
 
4986
 
 
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
 
 
4997
 
 
4998
 
 
4999
 
 
5000
 
 
5001
 
# Check whether --with-gnu-ld was given.
5002
 
if test "${with_gnu_ld+set}" = set; then :
5003
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5004
 
else
5005
 
  with_gnu_ld=no
5006
 
fi
5007
 
 
5008
 
ac_prog=ld
5009
 
if test "$GCC" = yes; then
5010
 
  # Check if gcc -print-prog-name=ld gives a path.
5011
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5012
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5013
 
  case $host in
5014
 
  *-*-mingw*)
5015
 
    # gcc leaves a trailing carriage return which upsets mingw
5016
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5017
 
  *)
5018
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5019
 
  esac
5020
 
  case $ac_prog in
5021
 
    # Accept absolute paths.
5022
 
    [\\/]* | ?:[\\/]*)
5023
 
      re_direlt='/[^/][^/]*/\.\./'
5024
 
      # Canonicalize the pathname of ld
5025
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5026
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5027
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5028
 
      done
5029
 
      test -z "$LD" && LD="$ac_prog"
5030
 
      ;;
5031
 
  "")
5032
 
    # If it fails, then pretend we aren't using GCC.
5033
 
    ac_prog=ld
5034
 
    ;;
5035
 
  *)
5036
 
    # If it is relative, then search for the first ld in PATH.
5037
 
    with_gnu_ld=unknown
5038
 
    ;;
5039
 
  esac
5040
 
elif test "$with_gnu_ld" = yes; then
5041
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5042
 
$as_echo_n "checking for GNU ld... " >&6; }
5043
 
else
5044
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5045
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5046
 
fi
5047
 
if test "${lt_cv_path_LD+set}" = set; then :
5048
 
  $as_echo_n "(cached) " >&6
5049
 
else
5050
 
  if test -z "$LD"; then
5051
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5052
 
  for ac_dir in $PATH; do
5053
 
    IFS="$lt_save_ifs"
5054
 
    test -z "$ac_dir" && ac_dir=.
5055
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5056
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5057
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5058
 
      # but apparently some variants of GNU ld only accept -v.
5059
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5060
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5061
 
      *GNU* | *'with BFD'*)
5062
 
        test "$with_gnu_ld" != no && break
5063
 
        ;;
5064
 
      *)
5065
 
        test "$with_gnu_ld" != yes && break
5066
 
        ;;
5067
 
      esac
5068
 
    fi
5069
 
  done
5070
 
  IFS="$lt_save_ifs"
5071
 
else
5072
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5073
 
fi
5074
 
fi
5075
 
 
5076
 
LD="$lt_cv_path_LD"
5077
 
if test -n "$LD"; then
5078
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5079
 
$as_echo "$LD" >&6; }
5080
 
else
5081
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082
 
$as_echo "no" >&6; }
5083
 
fi
5084
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5086
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5087
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5088
 
  $as_echo_n "(cached) " >&6
5089
 
else
5090
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5091
 
case `$LD -v 2>&1 </dev/null` in
5092
 
*GNU* | *'with BFD'*)
5093
 
  lt_cv_prog_gnu_ld=yes
5094
 
  ;;
5095
 
*)
5096
 
  lt_cv_prog_gnu_ld=no
5097
 
  ;;
5098
 
esac
5099
 
fi
5100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5101
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5102
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5103
 
 
5104
 
 
5105
 
 
5106
 
 
5107
 
 
5108
 
 
5109
 
 
5110
 
 
5111
 
 
5112
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5113
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5114
 
if test "${lt_cv_path_NM+set}" = set; then :
5115
 
  $as_echo_n "(cached) " >&6
5116
 
else
5117
 
  if test -n "$NM"; then
5118
 
  # Let the user override the test.
5119
 
  lt_cv_path_NM="$NM"
5120
 
else
5121
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5122
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5123
 
    lt_nm_to_check="$lt_nm_to_check nm"
5124
 
  fi
5125
 
  for lt_tmp_nm in $lt_nm_to_check; do
5126
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5127
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5128
 
      IFS="$lt_save_ifs"
5129
 
      test -z "$ac_dir" && ac_dir=.
5130
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5131
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5132
 
        # Check to see if the nm accepts a BSD-compat flag.
5133
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5134
 
        #   nm: unknown option "B" ignored
5135
 
        # Tru64's nm complains that /dev/null is an invalid object file
5136
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5137
 
        */dev/null* | *'Invalid file or object type'*)
5138
 
          lt_cv_path_NM="$tmp_nm -B"
5139
 
          break
5140
 
          ;;
5141
 
        *)
5142
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5143
 
          */dev/null*)
5144
 
            lt_cv_path_NM="$tmp_nm -p"
5145
 
            break
5146
 
            ;;
5147
 
          *)
5148
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5149
 
            continue # so that we can try to find one that supports BSD flags
5150
 
            ;;
5151
 
          esac
5152
 
          ;;
5153
 
        esac
5154
 
      fi
5155
 
    done
5156
 
    IFS="$lt_save_ifs"
5157
 
  done
5158
 
  : ${lt_cv_path_NM=no}
5159
 
fi
5160
 
fi
5161
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5162
 
$as_echo "$lt_cv_path_NM" >&6; }
5163
 
if test "$lt_cv_path_NM" != "no"; then
5164
 
  NM="$lt_cv_path_NM"
5165
 
else
5166
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5167
 
  if test -n "$ac_tool_prefix"; then
5168
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5169
 
  do
5170
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5171
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173
 
$as_echo_n "checking for $ac_word... " >&6; }
5174
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5175
 
  $as_echo_n "(cached) " >&6
5176
 
else
5177
 
  if test -n "$DUMPBIN"; then
5178
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5179
 
else
5180
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181
 
for as_dir in $PATH
5182
 
do
5183
 
  IFS=$as_save_IFS
5184
 
  test -z "$as_dir" && as_dir=.
5185
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5186
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5188
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189
 
    break 2
5190
 
  fi
5191
 
done
5192
 
  done
5193
 
IFS=$as_save_IFS
5194
 
 
5195
 
fi
5196
 
fi
5197
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5198
 
if test -n "$DUMPBIN"; then
5199
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5200
 
$as_echo "$DUMPBIN" >&6; }
5201
 
else
5202
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203
 
$as_echo "no" >&6; }
5204
 
fi
5205
 
 
5206
 
 
5207
 
    test -n "$DUMPBIN" && break
5208
 
  done
5209
 
fi
5210
 
if test -z "$DUMPBIN"; then
5211
 
  ac_ct_DUMPBIN=$DUMPBIN
5212
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5213
 
do
5214
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5215
 
set dummy $ac_prog; ac_word=$2
5216
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217
 
$as_echo_n "checking for $ac_word... " >&6; }
5218
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5219
 
  $as_echo_n "(cached) " >&6
5220
 
else
5221
 
  if test -n "$ac_ct_DUMPBIN"; then
5222
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5223
 
else
5224
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225
 
for as_dir in $PATH
5226
 
do
5227
 
  IFS=$as_save_IFS
5228
 
  test -z "$as_dir" && as_dir=.
5229
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5230
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5232
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233
 
    break 2
5234
 
  fi
5235
 
done
5236
 
  done
5237
 
IFS=$as_save_IFS
5238
 
 
5239
 
fi
5240
 
fi
5241
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5242
 
if test -n "$ac_ct_DUMPBIN"; then
5243
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5244
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5245
 
else
5246
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247
 
$as_echo "no" >&6; }
5248
 
fi
5249
 
 
5250
 
 
5251
 
  test -n "$ac_ct_DUMPBIN" && break
5252
 
done
5253
 
 
5254
 
  if test "x$ac_ct_DUMPBIN" = x; then
5255
 
    DUMPBIN=":"
5256
 
  else
5257
 
    case $cross_compiling:$ac_tool_warned in
5258
 
yes:)
5259
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261
 
ac_tool_warned=yes ;;
5262
 
esac
5263
 
    DUMPBIN=$ac_ct_DUMPBIN
5264
 
  fi
5265
 
fi
5266
 
 
5267
 
 
5268
 
  if test "$DUMPBIN" != ":"; then
5269
 
    NM="$DUMPBIN"
5270
 
  fi
5271
 
fi
5272
 
test -z "$NM" && NM=nm
5273
 
 
5274
 
 
5275
 
 
5276
 
 
5277
 
 
5278
 
 
5279
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5280
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5281
 
if test "${lt_cv_nm_interface+set}" = set; then :
5282
 
  $as_echo_n "(cached) " >&6
5283
 
else
5284
 
  lt_cv_nm_interface="BSD nm"
5285
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5286
 
  (eval echo "\"\$as_me:5286: $ac_compile\"" >&5)
5287
 
  (eval "$ac_compile" 2>conftest.err)
5288
 
  cat conftest.err >&5
5289
 
  (eval echo "\"\$as_me:5289: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5290
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5291
 
  cat conftest.err >&5
5292
 
  (eval echo "\"\$as_me:5292: output\"" >&5)
5293
 
  cat conftest.out >&5
5294
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5295
 
    lt_cv_nm_interface="MS dumpbin"
5296
 
  fi
5297
 
  rm -f conftest*
5298
 
fi
5299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5300
 
$as_echo "$lt_cv_nm_interface" >&6; }
5301
 
 
5302
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5303
 
$as_echo_n "checking whether ln -s works... " >&6; }
5304
 
LN_S=$as_ln_s
5305
 
if test "$LN_S" = "ln -s"; then
5306
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5307
 
$as_echo "yes" >&6; }
5308
 
else
5309
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5310
 
$as_echo "no, using $LN_S" >&6; }
5311
 
fi
5312
 
 
5313
 
# find the maximum length of command line arguments
5314
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5315
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5316
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5317
 
  $as_echo_n "(cached) " >&6
5318
 
else
5319
 
    i=0
5320
 
  teststring="ABCD"
5321
 
 
5322
 
  case $build_os in
5323
 
  msdosdjgpp*)
5324
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5325
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5326
 
    # during glob expansion).  Even if it were fixed, the result of this
5327
 
    # check would be larger than it should be.
5328
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5329
 
    ;;
5330
 
 
5331
 
  gnu*)
5332
 
    # Under GNU Hurd, this test is not required because there is
5333
 
    # no limit to the length of command line arguments.
5334
 
    # Libtool will interpret -1 as no limit whatsoever
5335
 
    lt_cv_sys_max_cmd_len=-1;
5336
 
    ;;
5337
 
 
5338
 
  cygwin* | mingw* | cegcc*)
5339
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5340
 
    # about 5 minutes as the teststring grows exponentially.
5341
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5342
 
    # you end up with a "frozen" computer, even though with patience
5343
 
    # the test eventually succeeds (with a max line length of 256k).
5344
 
    # Instead, let's just punt: use the minimum linelength reported by
5345
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5346
 
    lt_cv_sys_max_cmd_len=8192;
5347
 
    ;;
5348
 
 
5349
 
  amigaos*)
5350
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5351
 
    # So we just punt and use a minimum line length of 8192.
5352
 
    lt_cv_sys_max_cmd_len=8192;
5353
 
    ;;
5354
 
 
5355
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5356
 
    # This has been around since 386BSD, at least.  Likely further.
5357
 
    if test -x /sbin/sysctl; then
5358
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5359
 
    elif test -x /usr/sbin/sysctl; then
5360
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5361
 
    else
5362
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5363
 
    fi
5364
 
    # And add a safety zone
5365
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5366
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5367
 
    ;;
5368
 
 
5369
 
  interix*)
5370
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5371
 
    lt_cv_sys_max_cmd_len=196608
5372
 
    ;;
5373
 
 
5374
 
  osf*)
5375
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5376
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5377
 
    # nice to cause kernel panics so lets avoid the loop below.
5378
 
    # First set a reasonable default.
5379
 
    lt_cv_sys_max_cmd_len=16384
5380
 
    #
5381
 
    if test -x /sbin/sysconfig; then
5382
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5383
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5384
 
      esac
5385
 
    fi
5386
 
    ;;
5387
 
  sco3.2v5*)
5388
 
    lt_cv_sys_max_cmd_len=102400
5389
 
    ;;
5390
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5391
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5392
 
    if test -n "$kargmax"; then
5393
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5394
 
    else
5395
 
      lt_cv_sys_max_cmd_len=32768
5396
 
    fi
5397
 
    ;;
5398
 
  *)
5399
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5400
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5401
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5402
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5403
 
    else
5404
 
      # Make teststring a little bigger before we do anything with it.
5405
 
      # a 1K string should be a reasonable start.
5406
 
      for i in 1 2 3 4 5 6 7 8 ; do
5407
 
        teststring=$teststring$teststring
5408
 
      done
5409
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5410
 
      # If test is not a shell built-in, we'll probably end up computing a
5411
 
      # maximum length that is only half of the actual maximum length, but
5412
 
      # we can't tell.
5413
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5414
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5415
 
              test $i != 17 # 1/2 MB should be enough
5416
 
      do
5417
 
        i=`expr $i + 1`
5418
 
        teststring=$teststring$teststring
5419
 
      done
5420
 
      # Only check the string length outside the loop.
5421
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5422
 
      teststring=
5423
 
      # Add a significant safety factor because C++ compilers can tack on
5424
 
      # massive amounts of additional arguments before passing them to the
5425
 
      # linker.  It appears as though 1/2 is a usable value.
5426
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5427
 
    fi
5428
 
    ;;
5429
 
  esac
5430
 
 
5431
 
fi
5432
 
 
5433
 
if test -n $lt_cv_sys_max_cmd_len ; then
5434
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5435
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5436
 
else
5437
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5438
 
$as_echo "none" >&6; }
5439
 
fi
5440
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
 
 
5447
 
: ${CP="cp -f"}
5448
 
: ${MV="mv -f"}
5449
 
: ${RM="rm -f"}
5450
 
 
5451
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5452
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5453
 
# Try some XSI features
5454
 
xsi_shell=no
5455
 
( _lt_dummy="a/b/c"
5456
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5457
 
      = c,a/b,, \
5458
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5459
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5460
 
  && xsi_shell=yes
5461
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5462
 
$as_echo "$xsi_shell" >&6; }
5463
 
 
5464
 
 
5465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5466
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5467
 
lt_shell_append=no
5468
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5469
 
    >/dev/null 2>&1 \
5470
 
  && lt_shell_append=yes
5471
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5472
 
$as_echo "$lt_shell_append" >&6; }
5473
 
 
5474
 
 
5475
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5476
 
  lt_unset=unset
5477
 
else
5478
 
  lt_unset=false
5479
 
fi
5480
 
 
5481
 
 
5482
 
 
5483
 
 
5484
 
 
5485
 
# test EBCDIC or ASCII
5486
 
case `echo X|tr X '\101'` in
5487
 
 A) # ASCII based system
5488
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5489
 
  lt_SP2NL='tr \040 \012'
5490
 
  lt_NL2SP='tr \015\012 \040\040'
5491
 
  ;;
5492
 
 *) # EBCDIC based system
5493
 
  lt_SP2NL='tr \100 \n'
5494
 
  lt_NL2SP='tr \r\n \100\100'
5495
 
  ;;
5496
 
esac
5497
 
 
5498
 
 
5499
 
 
5500
 
 
5501
 
 
5502
 
 
5503
 
 
5504
 
 
5505
 
 
5506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5507
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5508
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5509
 
  $as_echo_n "(cached) " >&6
5510
 
else
5511
 
  lt_cv_ld_reload_flag='-r'
5512
 
fi
5513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5514
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5515
 
reload_flag=$lt_cv_ld_reload_flag
5516
 
case $reload_flag in
5517
 
"" | " "*) ;;
5518
 
*) reload_flag=" $reload_flag" ;;
5519
 
esac
5520
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5521
 
case $host_os in
5522
 
  darwin*)
5523
 
    if test "$GCC" = yes; then
5524
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5525
 
    else
5526
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5527
 
    fi
5528
 
    ;;
5529
 
esac
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
 
 
5535
 
 
5536
 
 
5537
 
 
5538
 
 
5539
 
if test -n "$ac_tool_prefix"; then
5540
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5541
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5542
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543
 
$as_echo_n "checking for $ac_word... " >&6; }
5544
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5545
 
  $as_echo_n "(cached) " >&6
5546
 
else
5547
 
  if test -n "$OBJDUMP"; then
5548
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5549
 
else
5550
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551
 
for as_dir in $PATH
5552
 
do
5553
 
  IFS=$as_save_IFS
5554
 
  test -z "$as_dir" && as_dir=.
5555
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5556
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5558
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559
 
    break 2
5560
 
  fi
5561
 
done
5562
 
  done
5563
 
IFS=$as_save_IFS
5564
 
 
5565
 
fi
5566
 
fi
5567
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5568
 
if test -n "$OBJDUMP"; then
5569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5570
 
$as_echo "$OBJDUMP" >&6; }
5571
 
else
5572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573
 
$as_echo "no" >&6; }
5574
 
fi
5575
 
 
5576
 
 
5577
 
fi
5578
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5579
 
  ac_ct_OBJDUMP=$OBJDUMP
5580
 
  # Extract the first word of "objdump", so it can be a program name with args.
5581
 
set dummy objdump; ac_word=$2
5582
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583
 
$as_echo_n "checking for $ac_word... " >&6; }
5584
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5585
 
  $as_echo_n "(cached) " >&6
5586
 
else
5587
 
  if test -n "$ac_ct_OBJDUMP"; then
5588
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5589
 
else
5590
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591
 
for as_dir in $PATH
5592
 
do
5593
 
  IFS=$as_save_IFS
5594
 
  test -z "$as_dir" && as_dir=.
5595
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5596
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5598
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599
 
    break 2
5600
 
  fi
5601
 
done
5602
 
  done
5603
 
IFS=$as_save_IFS
5604
 
 
5605
 
fi
5606
 
fi
5607
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5608
 
if test -n "$ac_ct_OBJDUMP"; then
5609
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5610
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5611
 
else
5612
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613
 
$as_echo "no" >&6; }
5614
 
fi
5615
 
 
5616
 
  if test "x$ac_ct_OBJDUMP" = x; then
5617
 
    OBJDUMP="false"
5618
 
  else
5619
 
    case $cross_compiling:$ac_tool_warned in
5620
 
yes:)
5621
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623
 
ac_tool_warned=yes ;;
5624
 
esac
5625
 
    OBJDUMP=$ac_ct_OBJDUMP
5626
 
  fi
5627
 
else
5628
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5629
 
fi
5630
 
 
5631
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5632
 
 
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5642
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5643
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5644
 
  $as_echo_n "(cached) " >&6
5645
 
else
5646
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5647
 
lt_cv_file_magic_test_file=
5648
 
lt_cv_deplibs_check_method='unknown'
5649
 
# Need to set the preceding variable on all platforms that support
5650
 
# interlibrary dependencies.
5651
 
# 'none' -- dependencies not supported.
5652
 
# `unknown' -- same as none, but documents that we really don't know.
5653
 
# 'pass_all' -- all dependencies passed with no checks.
5654
 
# 'test_compile' -- check by making test program.
5655
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5656
 
# which responds to the $file_magic_cmd with a given extended regex.
5657
 
# If you have `file' or equivalent on your system and you're not sure
5658
 
# whether `pass_all' will *always* work, you probably want this one.
5659
 
 
5660
 
case $host_os in
5661
 
aix[4-9]*)
5662
 
  lt_cv_deplibs_check_method=pass_all
5663
 
  ;;
5664
 
 
5665
 
beos*)
5666
 
  lt_cv_deplibs_check_method=pass_all
5667
 
  ;;
5668
 
 
5669
 
bsdi[45]*)
5670
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5671
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5672
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5673
 
  ;;
5674
 
 
5675
 
cygwin*)
5676
 
  # func_win32_libid is a shell function defined in ltmain.sh
5677
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5678
 
  lt_cv_file_magic_cmd='func_win32_libid'
5679
 
  ;;
5680
 
 
5681
 
mingw* | pw32*)
5682
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5683
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5684
 
  # unless we find 'file', for example because we are cross-compiling.
5685
 
  if ( file / ) >/dev/null 2>&1; then
5686
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5687
 
    lt_cv_file_magic_cmd='func_win32_libid'
5688
 
  else
5689
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5690
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5691
 
  fi
5692
 
  ;;
5693
 
 
5694
 
cegcc)
5695
 
  # use the weaker test based on 'objdump'. See mingw*.
5696
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5697
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5698
 
  ;;
5699
 
 
5700
 
darwin* | rhapsody*)
5701
 
  lt_cv_deplibs_check_method=pass_all
5702
 
  ;;
5703
 
 
5704
 
freebsd* | dragonfly*)
5705
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5706
 
    case $host_cpu in
5707
 
    i*86 )
5708
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5709
 
      # Let's accept both of them until this is cleared up.
5710
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5711
 
      lt_cv_file_magic_cmd=/usr/bin/file
5712
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5713
 
      ;;
5714
 
    esac
5715
 
  else
5716
 
    lt_cv_deplibs_check_method=pass_all
5717
 
  fi
5718
 
  ;;
5719
 
 
5720
 
gnu*)
5721
 
  lt_cv_deplibs_check_method=pass_all
5722
 
  ;;
5723
 
 
5724
 
hpux10.20* | hpux11*)
5725
 
  lt_cv_file_magic_cmd=/usr/bin/file
5726
 
  case $host_cpu in
5727
 
  ia64*)
5728
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5729
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5730
 
    ;;
5731
 
  hppa*64*)
5732
 
    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]'
5733
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5734
 
    ;;
5735
 
  *)
5736
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5737
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5738
 
    ;;
5739
 
  esac
5740
 
  ;;
5741
 
 
5742
 
interix[3-9]*)
5743
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5744
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5745
 
  ;;
5746
 
 
5747
 
irix5* | irix6* | nonstopux*)
5748
 
  case $LD in
5749
 
  *-32|*"-32 ") libmagic=32-bit;;
5750
 
  *-n32|*"-n32 ") libmagic=N32;;
5751
 
  *-64|*"-64 ") libmagic=64-bit;;
5752
 
  *) libmagic=never-match;;
5753
 
  esac
5754
 
  lt_cv_deplibs_check_method=pass_all
5755
 
  ;;
5756
 
 
5757
 
# This must be Linux ELF.
5758
 
linux* | k*bsd*-gnu)
5759
 
  lt_cv_deplibs_check_method=pass_all
5760
 
  ;;
5761
 
 
5762
 
netbsd*)
5763
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5764
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5765
 
  else
5766
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5767
 
  fi
5768
 
  ;;
5769
 
 
5770
 
newos6*)
5771
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5772
 
  lt_cv_file_magic_cmd=/usr/bin/file
5773
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5774
 
  ;;
5775
 
 
5776
 
*nto* | *qnx*)
5777
 
  lt_cv_deplibs_check_method=pass_all
5778
 
  ;;
5779
 
 
5780
 
openbsd*)
5781
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5782
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5783
 
  else
5784
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5785
 
  fi
5786
 
  ;;
5787
 
 
5788
 
osf3* | osf4* | osf5*)
5789
 
  lt_cv_deplibs_check_method=pass_all
5790
 
  ;;
5791
 
 
5792
 
rdos*)
5793
 
  lt_cv_deplibs_check_method=pass_all
5794
 
  ;;
5795
 
 
5796
 
solaris*)
5797
 
  lt_cv_deplibs_check_method=pass_all
5798
 
  ;;
5799
 
 
5800
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5801
 
  lt_cv_deplibs_check_method=pass_all
5802
 
  ;;
5803
 
 
5804
 
sysv4 | sysv4.3*)
5805
 
  case $host_vendor in
5806
 
  motorola)
5807
 
    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]'
5808
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5809
 
    ;;
5810
 
  ncr)
5811
 
    lt_cv_deplibs_check_method=pass_all
5812
 
    ;;
5813
 
  sequent)
5814
 
    lt_cv_file_magic_cmd='/bin/file'
5815
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5816
 
    ;;
5817
 
  sni)
5818
 
    lt_cv_file_magic_cmd='/bin/file'
5819
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5820
 
    lt_cv_file_magic_test_file=/lib/libc.so
5821
 
    ;;
5822
 
  siemens)
5823
 
    lt_cv_deplibs_check_method=pass_all
5824
 
    ;;
5825
 
  pc)
5826
 
    lt_cv_deplibs_check_method=pass_all
5827
 
    ;;
5828
 
  esac
5829
 
  ;;
5830
 
 
5831
 
tpf*)
5832
 
  lt_cv_deplibs_check_method=pass_all
5833
 
  ;;
5834
 
esac
5835
 
 
5836
 
fi
5837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5838
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5839
 
file_magic_cmd=$lt_cv_file_magic_cmd
5840
 
deplibs_check_method=$lt_cv_deplibs_check_method
5841
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5842
 
 
5843
 
 
5844
 
 
5845
 
 
5846
 
 
5847
 
 
5848
 
 
5849
 
 
5850
 
 
5851
 
 
5852
 
 
5853
 
 
5854
 
if test -n "$ac_tool_prefix"; then
5855
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5856
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5857
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858
 
$as_echo_n "checking for $ac_word... " >&6; }
5859
 
if test "${ac_cv_prog_AR+set}" = set; then :
5860
 
  $as_echo_n "(cached) " >&6
5861
 
else
5862
 
  if test -n "$AR"; then
5863
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5864
 
else
5865
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866
 
for as_dir in $PATH
5867
 
do
5868
 
  IFS=$as_save_IFS
5869
 
  test -z "$as_dir" && as_dir=.
5870
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5871
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5873
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874
 
    break 2
5875
 
  fi
5876
 
done
5877
 
  done
5878
 
IFS=$as_save_IFS
5879
 
 
5880
 
fi
5881
 
fi
5882
 
AR=$ac_cv_prog_AR
5883
 
if test -n "$AR"; then
5884
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5885
 
$as_echo "$AR" >&6; }
5886
 
else
5887
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888
 
$as_echo "no" >&6; }
5889
 
fi
5890
 
 
5891
 
 
5892
 
fi
5893
 
if test -z "$ac_cv_prog_AR"; then
5894
 
  ac_ct_AR=$AR
5895
 
  # Extract the first word of "ar", so it can be a program name with args.
5896
 
set dummy ar; ac_word=$2
5897
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898
 
$as_echo_n "checking for $ac_word... " >&6; }
5899
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5900
 
  $as_echo_n "(cached) " >&6
5901
 
else
5902
 
  if test -n "$ac_ct_AR"; then
5903
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5904
 
else
5905
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906
 
for as_dir in $PATH
5907
 
do
5908
 
  IFS=$as_save_IFS
5909
 
  test -z "$as_dir" && as_dir=.
5910
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5911
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912
 
    ac_cv_prog_ac_ct_AR="ar"
5913
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914
 
    break 2
5915
 
  fi
5916
 
done
5917
 
  done
5918
 
IFS=$as_save_IFS
5919
 
 
5920
 
fi
5921
 
fi
5922
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5923
 
if test -n "$ac_ct_AR"; then
5924
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5925
 
$as_echo "$ac_ct_AR" >&6; }
5926
 
else
5927
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928
 
$as_echo "no" >&6; }
5929
 
fi
5930
 
 
5931
 
  if test "x$ac_ct_AR" = x; then
5932
 
    AR="false"
5933
 
  else
5934
 
    case $cross_compiling:$ac_tool_warned in
5935
 
yes:)
5936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5937
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5938
 
ac_tool_warned=yes ;;
5939
 
esac
5940
 
    AR=$ac_ct_AR
5941
 
  fi
5942
 
else
5943
 
  AR="$ac_cv_prog_AR"
5944
 
fi
5945
 
 
5946
 
test -z "$AR" && AR=ar
5947
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
 
5953
 
 
5954
 
 
5955
 
 
5956
 
 
5957
 
 
5958
 
 
5959
 
if test -n "$ac_tool_prefix"; then
5960
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5961
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5962
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963
 
$as_echo_n "checking for $ac_word... " >&6; }
5964
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
5965
 
  $as_echo_n "(cached) " >&6
5966
 
else
5967
 
  if test -n "$STRIP"; then
5968
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5969
 
else
5970
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971
 
for as_dir in $PATH
5972
 
do
5973
 
  IFS=$as_save_IFS
5974
 
  test -z "$as_dir" && as_dir=.
5975
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5976
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5978
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979
 
    break 2
5980
 
  fi
5981
 
done
5982
 
  done
5983
 
IFS=$as_save_IFS
5984
 
 
5985
 
fi
5986
 
fi
5987
 
STRIP=$ac_cv_prog_STRIP
5988
 
if test -n "$STRIP"; then
5989
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5990
 
$as_echo "$STRIP" >&6; }
5991
 
else
5992
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993
 
$as_echo "no" >&6; }
5994
 
fi
5995
 
 
5996
 
 
5997
 
fi
5998
 
if test -z "$ac_cv_prog_STRIP"; then
5999
 
  ac_ct_STRIP=$STRIP
6000
 
  # Extract the first word of "strip", so it can be a program name with args.
6001
 
set dummy strip; ac_word=$2
6002
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003
 
$as_echo_n "checking for $ac_word... " >&6; }
6004
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6005
 
  $as_echo_n "(cached) " >&6
6006
 
else
6007
 
  if test -n "$ac_ct_STRIP"; then
6008
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6009
 
else
6010
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011
 
for as_dir in $PATH
6012
 
do
6013
 
  IFS=$as_save_IFS
6014
 
  test -z "$as_dir" && as_dir=.
6015
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6016
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017
 
    ac_cv_prog_ac_ct_STRIP="strip"
6018
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019
 
    break 2
6020
 
  fi
6021
 
done
6022
 
  done
6023
 
IFS=$as_save_IFS
6024
 
 
6025
 
fi
6026
 
fi
6027
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6028
 
if test -n "$ac_ct_STRIP"; then
6029
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6030
 
$as_echo "$ac_ct_STRIP" >&6; }
6031
 
else
6032
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033
 
$as_echo "no" >&6; }
6034
 
fi
6035
 
 
6036
 
  if test "x$ac_ct_STRIP" = x; then
6037
 
    STRIP=":"
6038
 
  else
6039
 
    case $cross_compiling:$ac_tool_warned in
6040
 
yes:)
6041
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6042
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6043
 
ac_tool_warned=yes ;;
6044
 
esac
6045
 
    STRIP=$ac_ct_STRIP
6046
 
  fi
6047
 
else
6048
 
  STRIP="$ac_cv_prog_STRIP"
6049
 
fi
6050
 
 
6051
 
test -z "$STRIP" && STRIP=:
6052
 
 
6053
 
 
6054
 
 
6055
 
 
6056
 
 
6057
 
 
6058
 
if test -n "$ac_tool_prefix"; then
6059
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6060
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6061
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062
 
$as_echo_n "checking for $ac_word... " >&6; }
6063
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6064
 
  $as_echo_n "(cached) " >&6
6065
 
else
6066
 
  if test -n "$RANLIB"; then
6067
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6068
 
else
6069
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070
 
for as_dir in $PATH
6071
 
do
6072
 
  IFS=$as_save_IFS
6073
 
  test -z "$as_dir" && as_dir=.
6074
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6075
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6077
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078
 
    break 2
6079
 
  fi
6080
 
done
6081
 
  done
6082
 
IFS=$as_save_IFS
6083
 
 
6084
 
fi
6085
 
fi
6086
 
RANLIB=$ac_cv_prog_RANLIB
6087
 
if test -n "$RANLIB"; then
6088
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6089
 
$as_echo "$RANLIB" >&6; }
6090
 
else
6091
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092
 
$as_echo "no" >&6; }
6093
 
fi
6094
 
 
6095
 
 
6096
 
fi
6097
 
if test -z "$ac_cv_prog_RANLIB"; then
6098
 
  ac_ct_RANLIB=$RANLIB
6099
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6100
 
set dummy ranlib; ac_word=$2
6101
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102
 
$as_echo_n "checking for $ac_word... " >&6; }
6103
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6104
 
  $as_echo_n "(cached) " >&6
6105
 
else
6106
 
  if test -n "$ac_ct_RANLIB"; then
6107
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6108
 
else
6109
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110
 
for as_dir in $PATH
6111
 
do
6112
 
  IFS=$as_save_IFS
6113
 
  test -z "$as_dir" && as_dir=.
6114
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6115
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6117
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118
 
    break 2
6119
 
  fi
6120
 
done
6121
 
  done
6122
 
IFS=$as_save_IFS
6123
 
 
6124
 
fi
6125
 
fi
6126
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6127
 
if test -n "$ac_ct_RANLIB"; then
6128
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6129
 
$as_echo "$ac_ct_RANLIB" >&6; }
6130
 
else
6131
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132
 
$as_echo "no" >&6; }
6133
 
fi
6134
 
 
6135
 
  if test "x$ac_ct_RANLIB" = x; then
6136
 
    RANLIB=":"
6137
 
  else
6138
 
    case $cross_compiling:$ac_tool_warned in
6139
 
yes:)
6140
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142
 
ac_tool_warned=yes ;;
6143
 
esac
6144
 
    RANLIB=$ac_ct_RANLIB
6145
 
  fi
6146
 
else
6147
 
  RANLIB="$ac_cv_prog_RANLIB"
6148
 
fi
6149
 
 
6150
 
test -z "$RANLIB" && RANLIB=:
6151
 
 
6152
 
 
6153
 
 
6154
 
 
6155
 
 
6156
 
 
6157
 
# Determine commands to create old-style static archives.
6158
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6159
 
old_postinstall_cmds='chmod 644 $oldlib'
6160
 
old_postuninstall_cmds=
6161
 
 
6162
 
if test -n "$RANLIB"; then
6163
 
  case $host_os in
6164
 
  openbsd*)
6165
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6166
 
    ;;
6167
 
  *)
6168
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6169
 
    ;;
6170
 
  esac
6171
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6172
 
fi
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
 
 
6184
 
 
6185
 
 
6186
 
 
6187
 
 
6188
 
 
6189
 
 
6190
 
 
6191
 
 
6192
 
 
6193
 
 
6194
 
 
6195
 
 
6196
 
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
 
 
6203
 
 
6204
 
 
6205
 
 
6206
 
 
6207
 
# If no C compiler was specified, use CC.
6208
 
LTCC=${LTCC-"$CC"}
6209
 
 
6210
 
# If no C compiler flags were specified, use CFLAGS.
6211
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6212
 
 
6213
 
# Allow CC to be a program name with arguments.
6214
 
compiler=$CC
6215
 
 
6216
 
 
6217
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6218
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6219
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6220
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6221
 
  $as_echo_n "(cached) " >&6
6222
 
else
6223
 
 
6224
 
# These are sane defaults that work on at least a few old systems.
6225
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6226
 
 
6227
 
# Character class describing NM global symbol codes.
6228
 
symcode='[BCDEGRST]'
6229
 
 
6230
 
# Regexp to match symbols that can be accessed directly from C.
6231
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6232
 
 
6233
 
# Define system-specific variables.
6234
 
case $host_os in
6235
 
aix*)
6236
 
  symcode='[BCDT]'
6237
 
  ;;
6238
 
cygwin* | mingw* | pw32* | cegcc*)
6239
 
  symcode='[ABCDGISTW]'
6240
 
  ;;
6241
 
hpux*)
6242
 
  if test "$host_cpu" = ia64; then
6243
 
    symcode='[ABCDEGRST]'
6244
 
  fi
6245
 
  ;;
6246
 
irix* | nonstopux*)
6247
 
  symcode='[BCDEGRST]'
6248
 
  ;;
6249
 
osf*)
6250
 
  symcode='[BCDEGQRST]'
6251
 
  ;;
6252
 
solaris*)
6253
 
  symcode='[BDRT]'
6254
 
  ;;
6255
 
sco3.2v5*)
6256
 
  symcode='[DT]'
6257
 
  ;;
6258
 
sysv4.2uw2*)
6259
 
  symcode='[DT]'
6260
 
  ;;
6261
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6262
 
  symcode='[ABDT]'
6263
 
  ;;
6264
 
sysv4)
6265
 
  symcode='[DFNSTU]'
6266
 
  ;;
6267
 
esac
6268
 
 
6269
 
# If we're using GNU nm, then use its standard symbol codes.
6270
 
case `$NM -V 2>&1` in
6271
 
*GNU* | *'with BFD'*)
6272
 
  symcode='[ABCDGIRSTW]' ;;
6273
 
esac
6274
 
 
6275
 
# Transform an extracted symbol line into a proper C declaration.
6276
 
# Some systems (esp. on ia64) link data and code symbols differently,
6277
 
# so use this general approach.
6278
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6279
 
 
6280
 
# Transform an extracted symbol line into symbol name and symbol address
6281
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6282
 
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'"
6283
 
 
6284
 
# Handle CRLF in mingw tool chain
6285
 
opt_cr=
6286
 
case $build_os in
6287
 
mingw*)
6288
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6289
 
  ;;
6290
 
esac
6291
 
 
6292
 
# Try without a prefix underscore, then with it.
6293
 
for ac_symprfx in "" "_"; do
6294
 
 
6295
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6296
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6297
 
 
6298
 
  # Write the raw and C identifiers.
6299
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6300
 
    # Fake it for dumpbin and say T for any non-static function
6301
 
    # and D for any global variable.
6302
 
    # Also find C++ and __fastcall symbols from MSVC++,
6303
 
    # which start with @ or ?.
6304
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6305
 
"     {last_section=section; section=\$ 3};"\
6306
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6307
 
"     \$ 0!~/External *\|/{next};"\
6308
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6309
 
"     {if(hide[section]) next};"\
6310
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6311
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6312
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6313
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6314
 
"     ' prfx=^$ac_symprfx"
6315
 
  else
6316
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6317
 
  fi
6318
 
 
6319
 
  # Check to see that the pipe works correctly.
6320
 
  pipe_works=no
6321
 
 
6322
 
  rm -f conftest*
6323
 
  cat > conftest.$ac_ext <<_LT_EOF
6324
 
#ifdef __cplusplus
6325
 
extern "C" {
6326
 
#endif
6327
 
char nm_test_var;
6328
 
void nm_test_func(void);
6329
 
void nm_test_func(void){}
6330
 
#ifdef __cplusplus
6331
 
}
6332
 
#endif
6333
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6334
 
_LT_EOF
6335
 
 
6336
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6337
 
  (eval $ac_compile) 2>&5
6338
 
  ac_status=$?
6339
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6340
 
  test $ac_status = 0; }; then
6341
 
    # Now try to grab the symbols.
6342
 
    nlist=conftest.nm
6343
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6344
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6345
 
  ac_status=$?
6346
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6347
 
  test $ac_status = 0; } && test -s "$nlist"; then
6348
 
      # Try sorting and uniquifying the output.
6349
 
      if sort "$nlist" | uniq > "$nlist"T; then
6350
 
        mv -f "$nlist"T "$nlist"
6351
 
      else
6352
 
        rm -f "$nlist"T
6353
 
      fi
6354
 
 
6355
 
      # Make sure that we snagged all the symbols we need.
6356
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6357
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6358
 
          cat <<_LT_EOF > conftest.$ac_ext
6359
 
#ifdef __cplusplus
6360
 
extern "C" {
6361
 
#endif
6362
 
 
6363
 
_LT_EOF
6364
 
          # Now generate the symbol file.
6365
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6366
 
 
6367
 
          cat <<_LT_EOF >> conftest.$ac_ext
6368
 
 
6369
 
/* The mapping between symbol names and symbols.  */
6370
 
const struct {
6371
 
  const char *name;
6372
 
  void       *address;
6373
 
}
6374
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6375
 
{
6376
 
  { "@PROGRAM@", (void *) 0 },
6377
 
_LT_EOF
6378
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6379
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6380
 
  {0, (void *) 0}
6381
 
};
6382
 
 
6383
 
/* This works around a problem in FreeBSD linker */
6384
 
#ifdef FREEBSD_WORKAROUND
6385
 
static const void *lt_preloaded_setup() {
6386
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6387
 
}
6388
 
#endif
6389
 
 
6390
 
#ifdef __cplusplus
6391
 
}
6392
 
#endif
6393
 
_LT_EOF
6394
 
          # Now try linking the two files.
6395
 
          mv conftest.$ac_objext conftstm.$ac_objext
6396
 
          lt_save_LIBS="$LIBS"
6397
 
          lt_save_CFLAGS="$CFLAGS"
6398
 
          LIBS="conftstm.$ac_objext"
6399
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6400
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6401
 
  (eval $ac_link) 2>&5
6402
 
  ac_status=$?
6403
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6404
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6405
 
            pipe_works=yes
6406
 
          fi
6407
 
          LIBS="$lt_save_LIBS"
6408
 
          CFLAGS="$lt_save_CFLAGS"
6409
 
        else
6410
 
          echo "cannot find nm_test_func in $nlist" >&5
6411
 
        fi
6412
 
      else
6413
 
        echo "cannot find nm_test_var in $nlist" >&5
6414
 
      fi
6415
 
    else
6416
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6417
 
    fi
6418
 
  else
6419
 
    echo "$progname: failed program was:" >&5
6420
 
    cat conftest.$ac_ext >&5
6421
 
  fi
6422
 
  rm -rf conftest* conftst*
6423
 
 
6424
 
  # Do not use the global_symbol_pipe unless it works.
6425
 
  if test "$pipe_works" = yes; then
6426
 
    break
6427
 
  else
6428
 
    lt_cv_sys_global_symbol_pipe=
6429
 
  fi
6430
 
done
6431
 
 
6432
 
fi
6433
 
 
6434
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6435
 
  lt_cv_sys_global_symbol_to_cdecl=
6436
 
fi
6437
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6438
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6439
 
$as_echo "failed" >&6; }
6440
 
else
6441
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6442
 
$as_echo "ok" >&6; }
6443
 
fi
6444
 
 
6445
 
 
6446
 
 
6447
 
 
6448
 
 
6449
 
 
6450
 
 
6451
 
 
6452
 
 
6453
 
 
6454
 
 
6455
 
 
6456
 
 
6457
 
 
6458
 
 
6459
 
 
6460
 
 
6461
 
 
6462
 
 
6463
 
 
6464
 
 
6465
 
 
6466
 
# Check whether --enable-libtool-lock was given.
6467
 
if test "${enable_libtool_lock+set}" = set; then :
6468
 
  enableval=$enable_libtool_lock;
6469
 
fi
6470
 
 
6471
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6472
 
 
6473
 
# Some flags need to be propagated to the compiler or linker for good
6474
 
# libtool support.
6475
 
case $host in
6476
 
ia64-*-hpux*)
6477
 
  # Find out which ABI we are using.
6478
 
  echo 'int i;' > conftest.$ac_ext
6479
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6480
 
  (eval $ac_compile) 2>&5
6481
 
  ac_status=$?
6482
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6483
 
  test $ac_status = 0; }; then
6484
 
    case `/usr/bin/file conftest.$ac_objext` in
6485
 
      *ELF-32*)
6486
 
        HPUX_IA64_MODE="32"
6487
 
        ;;
6488
 
      *ELF-64*)
6489
 
        HPUX_IA64_MODE="64"
6490
 
        ;;
6491
 
    esac
6492
 
  fi
6493
 
  rm -rf conftest*
6494
 
  ;;
6495
 
*-*-irix6*)
6496
 
  # Find out which ABI we are using.
6497
 
  echo '#line 6497 "configure"' > conftest.$ac_ext
6498
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6499
 
  (eval $ac_compile) 2>&5
6500
 
  ac_status=$?
6501
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6502
 
  test $ac_status = 0; }; then
6503
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6504
 
      case `/usr/bin/file conftest.$ac_objext` in
6505
 
        *32-bit*)
6506
 
          LD="${LD-ld} -melf32bsmip"
6507
 
          ;;
6508
 
        *N32*)
6509
 
          LD="${LD-ld} -melf32bmipn32"
6510
 
          ;;
6511
 
        *64-bit*)
6512
 
          LD="${LD-ld} -melf64bmip"
6513
 
        ;;
6514
 
      esac
6515
 
    else
6516
 
      case `/usr/bin/file conftest.$ac_objext` in
6517
 
        *32-bit*)
6518
 
          LD="${LD-ld} -32"
6519
 
          ;;
6520
 
        *N32*)
6521
 
          LD="${LD-ld} -n32"
6522
 
          ;;
6523
 
        *64-bit*)
6524
 
          LD="${LD-ld} -64"
6525
 
          ;;
6526
 
      esac
6527
 
    fi
6528
 
  fi
6529
 
  rm -rf conftest*
6530
 
  ;;
6531
 
 
6532
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6533
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6534
 
  # Find out which ABI we are using.
6535
 
  echo 'int i;' > conftest.$ac_ext
6536
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6537
 
  (eval $ac_compile) 2>&5
6538
 
  ac_status=$?
6539
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6540
 
  test $ac_status = 0; }; then
6541
 
    case `/usr/bin/file conftest.o` in
6542
 
      *32-bit*)
6543
 
        case $host in
6544
 
          x86_64-*kfreebsd*-gnu)
6545
 
            LD="${LD-ld} -m elf_i386_fbsd"
6546
 
            ;;
6547
 
          x86_64-*linux*)
6548
 
            LD="${LD-ld} -m elf_i386"
6549
 
            ;;
6550
 
          ppc64-*linux*|powerpc64-*linux*)
6551
 
            LD="${LD-ld} -m elf32ppclinux"
6552
 
            ;;
6553
 
          s390x-*linux*)
6554
 
            LD="${LD-ld} -m elf_s390"
6555
 
            ;;
6556
 
          sparc64-*linux*)
6557
 
            LD="${LD-ld} -m elf32_sparc"
6558
 
            ;;
6559
 
        esac
6560
 
        ;;
6561
 
      *64-bit*)
6562
 
        case $host in
6563
 
          x86_64-*kfreebsd*-gnu)
6564
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6565
 
            ;;
6566
 
          x86_64-*linux*)
6567
 
            LD="${LD-ld} -m elf_x86_64"
6568
 
            ;;
6569
 
          ppc*-*linux*|powerpc*-*linux*)
6570
 
            LD="${LD-ld} -m elf64ppc"
6571
 
            ;;
6572
 
          s390*-*linux*|s390*-*tpf*)
6573
 
            LD="${LD-ld} -m elf64_s390"
6574
 
            ;;
6575
 
          sparc*-*linux*)
6576
 
            LD="${LD-ld} -m elf64_sparc"
6577
 
            ;;
6578
 
        esac
6579
 
        ;;
6580
 
    esac
6581
 
  fi
6582
 
  rm -rf conftest*
6583
 
  ;;
6584
 
 
6585
 
*-*-sco3.2v5*)
6586
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6587
 
  SAVE_CFLAGS="$CFLAGS"
6588
 
  CFLAGS="$CFLAGS -belf"
6589
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6590
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6591
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6592
 
  $as_echo_n "(cached) " >&6
6593
 
else
6594
 
  ac_ext=c
6595
 
ac_cpp='$CPP $CPPFLAGS'
6596
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6597
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6598
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6599
 
 
6600
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601
 
/* end confdefs.h.  */
6602
 
 
6603
 
int
6604
 
main ()
6605
 
{
6606
 
 
6607
 
  ;
6608
 
  return 0;
6609
 
}
6610
 
_ACEOF
6611
 
if ac_fn_c_try_link "$LINENO"; then :
6612
 
  lt_cv_cc_needs_belf=yes
6613
 
else
6614
 
  lt_cv_cc_needs_belf=no
6615
 
fi
6616
 
rm -f core conftest.err conftest.$ac_objext \
6617
 
    conftest$ac_exeext conftest.$ac_ext
6618
 
     ac_ext=c
6619
 
ac_cpp='$CPP $CPPFLAGS'
6620
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6621
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6623
 
 
6624
 
fi
6625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6626
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6627
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6628
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6629
 
    CFLAGS="$SAVE_CFLAGS"
6630
 
  fi
6631
 
  ;;
6632
 
sparc*-*solaris*)
6633
 
  # Find out which ABI we are using.
6634
 
  echo 'int i;' > conftest.$ac_ext
6635
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6636
 
  (eval $ac_compile) 2>&5
6637
 
  ac_status=$?
6638
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6639
 
  test $ac_status = 0; }; then
6640
 
    case `/usr/bin/file conftest.o` in
6641
 
    *64-bit*)
6642
 
      case $lt_cv_prog_gnu_ld in
6643
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6644
 
      *)
6645
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6646
 
          LD="${LD-ld} -64"
6647
 
        fi
6648
 
        ;;
6649
 
      esac
6650
 
      ;;
6651
 
    esac
6652
 
  fi
6653
 
  rm -rf conftest*
6654
 
  ;;
6655
 
esac
6656
 
 
6657
 
need_locks="$enable_libtool_lock"
6658
 
 
6659
 
 
6660
 
  case $host_os in
6661
 
    rhapsody* | darwin*)
6662
 
    if test -n "$ac_tool_prefix"; then
6663
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6664
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6665
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666
 
$as_echo_n "checking for $ac_word... " >&6; }
6667
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6668
 
  $as_echo_n "(cached) " >&6
6669
 
else
6670
 
  if test -n "$DSYMUTIL"; then
6671
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6672
 
else
6673
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674
 
for as_dir in $PATH
6675
 
do
6676
 
  IFS=$as_save_IFS
6677
 
  test -z "$as_dir" && as_dir=.
6678
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6679
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6681
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682
 
    break 2
6683
 
  fi
6684
 
done
6685
 
  done
6686
 
IFS=$as_save_IFS
6687
 
 
6688
 
fi
6689
 
fi
6690
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6691
 
if test -n "$DSYMUTIL"; then
6692
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6693
 
$as_echo "$DSYMUTIL" >&6; }
6694
 
else
6695
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696
 
$as_echo "no" >&6; }
6697
 
fi
6698
 
 
6699
 
 
6700
 
fi
6701
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6702
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6703
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6704
 
set dummy dsymutil; ac_word=$2
6705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706
 
$as_echo_n "checking for $ac_word... " >&6; }
6707
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6708
 
  $as_echo_n "(cached) " >&6
6709
 
else
6710
 
  if test -n "$ac_ct_DSYMUTIL"; then
6711
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6712
 
else
6713
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714
 
for as_dir in $PATH
6715
 
do
6716
 
  IFS=$as_save_IFS
6717
 
  test -z "$as_dir" && as_dir=.
6718
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6719
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6721
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722
 
    break 2
6723
 
  fi
6724
 
done
6725
 
  done
6726
 
IFS=$as_save_IFS
6727
 
 
6728
 
fi
6729
 
fi
6730
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6731
 
if test -n "$ac_ct_DSYMUTIL"; then
6732
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6733
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6734
 
else
6735
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736
 
$as_echo "no" >&6; }
6737
 
fi
6738
 
 
6739
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6740
 
    DSYMUTIL=":"
6741
 
  else
6742
 
    case $cross_compiling:$ac_tool_warned in
6743
 
yes:)
6744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746
 
ac_tool_warned=yes ;;
6747
 
esac
6748
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6749
 
  fi
6750
 
else
6751
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6752
 
fi
6753
 
 
6754
 
    if test -n "$ac_tool_prefix"; then
6755
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6756
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758
 
$as_echo_n "checking for $ac_word... " >&6; }
6759
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6760
 
  $as_echo_n "(cached) " >&6
6761
 
else
6762
 
  if test -n "$NMEDIT"; then
6763
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6764
 
else
6765
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766
 
for as_dir in $PATH
6767
 
do
6768
 
  IFS=$as_save_IFS
6769
 
  test -z "$as_dir" && as_dir=.
6770
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6771
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6773
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774
 
    break 2
6775
 
  fi
6776
 
done
6777
 
  done
6778
 
IFS=$as_save_IFS
6779
 
 
6780
 
fi
6781
 
fi
6782
 
NMEDIT=$ac_cv_prog_NMEDIT
6783
 
if test -n "$NMEDIT"; then
6784
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6785
 
$as_echo "$NMEDIT" >&6; }
6786
 
else
6787
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788
 
$as_echo "no" >&6; }
6789
 
fi
6790
 
 
6791
 
 
6792
 
fi
6793
 
if test -z "$ac_cv_prog_NMEDIT"; then
6794
 
  ac_ct_NMEDIT=$NMEDIT
6795
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6796
 
set dummy nmedit; ac_word=$2
6797
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798
 
$as_echo_n "checking for $ac_word... " >&6; }
6799
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6800
 
  $as_echo_n "(cached) " >&6
6801
 
else
6802
 
  if test -n "$ac_ct_NMEDIT"; then
6803
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6804
 
else
6805
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806
 
for as_dir in $PATH
6807
 
do
6808
 
  IFS=$as_save_IFS
6809
 
  test -z "$as_dir" && as_dir=.
6810
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6811
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6813
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814
 
    break 2
6815
 
  fi
6816
 
done
6817
 
  done
6818
 
IFS=$as_save_IFS
6819
 
 
6820
 
fi
6821
 
fi
6822
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6823
 
if test -n "$ac_ct_NMEDIT"; then
6824
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6825
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6826
 
else
6827
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828
 
$as_echo "no" >&6; }
6829
 
fi
6830
 
 
6831
 
  if test "x$ac_ct_NMEDIT" = x; then
6832
 
    NMEDIT=":"
6833
 
  else
6834
 
    case $cross_compiling:$ac_tool_warned in
6835
 
yes:)
6836
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838
 
ac_tool_warned=yes ;;
6839
 
esac
6840
 
    NMEDIT=$ac_ct_NMEDIT
6841
 
  fi
6842
 
else
6843
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6844
 
fi
6845
 
 
6846
 
    if test -n "$ac_tool_prefix"; then
6847
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6848
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6849
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850
 
$as_echo_n "checking for $ac_word... " >&6; }
6851
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
6852
 
  $as_echo_n "(cached) " >&6
6853
 
else
6854
 
  if test -n "$LIPO"; then
6855
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6856
 
else
6857
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858
 
for as_dir in $PATH
6859
 
do
6860
 
  IFS=$as_save_IFS
6861
 
  test -z "$as_dir" && as_dir=.
6862
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6863
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6865
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866
 
    break 2
6867
 
  fi
6868
 
done
6869
 
  done
6870
 
IFS=$as_save_IFS
6871
 
 
6872
 
fi
6873
 
fi
6874
 
LIPO=$ac_cv_prog_LIPO
6875
 
if test -n "$LIPO"; then
6876
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6877
 
$as_echo "$LIPO" >&6; }
6878
 
else
6879
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880
 
$as_echo "no" >&6; }
6881
 
fi
6882
 
 
6883
 
 
6884
 
fi
6885
 
if test -z "$ac_cv_prog_LIPO"; then
6886
 
  ac_ct_LIPO=$LIPO
6887
 
  # Extract the first word of "lipo", so it can be a program name with args.
6888
 
set dummy lipo; ac_word=$2
6889
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890
 
$as_echo_n "checking for $ac_word... " >&6; }
6891
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6892
 
  $as_echo_n "(cached) " >&6
6893
 
else
6894
 
  if test -n "$ac_ct_LIPO"; then
6895
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6896
 
else
6897
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898
 
for as_dir in $PATH
6899
 
do
6900
 
  IFS=$as_save_IFS
6901
 
  test -z "$as_dir" && as_dir=.
6902
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6903
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6905
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906
 
    break 2
6907
 
  fi
6908
 
done
6909
 
  done
6910
 
IFS=$as_save_IFS
6911
 
 
6912
 
fi
6913
 
fi
6914
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6915
 
if test -n "$ac_ct_LIPO"; then
6916
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6917
 
$as_echo "$ac_ct_LIPO" >&6; }
6918
 
else
6919
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920
 
$as_echo "no" >&6; }
6921
 
fi
6922
 
 
6923
 
  if test "x$ac_ct_LIPO" = x; then
6924
 
    LIPO=":"
6925
 
  else
6926
 
    case $cross_compiling:$ac_tool_warned in
6927
 
yes:)
6928
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930
 
ac_tool_warned=yes ;;
6931
 
esac
6932
 
    LIPO=$ac_ct_LIPO
6933
 
  fi
6934
 
else
6935
 
  LIPO="$ac_cv_prog_LIPO"
6936
 
fi
6937
 
 
6938
 
    if test -n "$ac_tool_prefix"; then
6939
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6940
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6941
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942
 
$as_echo_n "checking for $ac_word... " >&6; }
6943
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6944
 
  $as_echo_n "(cached) " >&6
6945
 
else
6946
 
  if test -n "$OTOOL"; then
6947
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6948
 
else
6949
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950
 
for as_dir in $PATH
6951
 
do
6952
 
  IFS=$as_save_IFS
6953
 
  test -z "$as_dir" && as_dir=.
6954
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6955
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6956
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6957
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958
 
    break 2
6959
 
  fi
6960
 
done
6961
 
  done
6962
 
IFS=$as_save_IFS
6963
 
 
6964
 
fi
6965
 
fi
6966
 
OTOOL=$ac_cv_prog_OTOOL
6967
 
if test -n "$OTOOL"; then
6968
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6969
 
$as_echo "$OTOOL" >&6; }
6970
 
else
6971
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972
 
$as_echo "no" >&6; }
6973
 
fi
6974
 
 
6975
 
 
6976
 
fi
6977
 
if test -z "$ac_cv_prog_OTOOL"; then
6978
 
  ac_ct_OTOOL=$OTOOL
6979
 
  # Extract the first word of "otool", so it can be a program name with args.
6980
 
set dummy otool; ac_word=$2
6981
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982
 
$as_echo_n "checking for $ac_word... " >&6; }
6983
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6984
 
  $as_echo_n "(cached) " >&6
6985
 
else
6986
 
  if test -n "$ac_ct_OTOOL"; then
6987
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6988
 
else
6989
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990
 
for as_dir in $PATH
6991
 
do
6992
 
  IFS=$as_save_IFS
6993
 
  test -z "$as_dir" && as_dir=.
6994
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6995
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996
 
    ac_cv_prog_ac_ct_OTOOL="otool"
6997
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998
 
    break 2
6999
 
  fi
7000
 
done
7001
 
  done
7002
 
IFS=$as_save_IFS
7003
 
 
7004
 
fi
7005
 
fi
7006
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7007
 
if test -n "$ac_ct_OTOOL"; then
7008
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7009
 
$as_echo "$ac_ct_OTOOL" >&6; }
7010
 
else
7011
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012
 
$as_echo "no" >&6; }
7013
 
fi
7014
 
 
7015
 
  if test "x$ac_ct_OTOOL" = x; then
7016
 
    OTOOL=":"
7017
 
  else
7018
 
    case $cross_compiling:$ac_tool_warned in
7019
 
yes:)
7020
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7021
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7022
 
ac_tool_warned=yes ;;
7023
 
esac
7024
 
    OTOOL=$ac_ct_OTOOL
7025
 
  fi
7026
 
else
7027
 
  OTOOL="$ac_cv_prog_OTOOL"
7028
 
fi
7029
 
 
7030
 
    if test -n "$ac_tool_prefix"; then
7031
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7032
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7034
 
$as_echo_n "checking for $ac_word... " >&6; }
7035
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7036
 
  $as_echo_n "(cached) " >&6
7037
 
else
7038
 
  if test -n "$OTOOL64"; then
7039
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7040
 
else
7041
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042
 
for as_dir in $PATH
7043
 
do
7044
 
  IFS=$as_save_IFS
7045
 
  test -z "$as_dir" && as_dir=.
7046
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7047
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7048
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7049
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050
 
    break 2
7051
 
  fi
7052
 
done
7053
 
  done
7054
 
IFS=$as_save_IFS
7055
 
 
7056
 
fi
7057
 
fi
7058
 
OTOOL64=$ac_cv_prog_OTOOL64
7059
 
if test -n "$OTOOL64"; then
7060
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7061
 
$as_echo "$OTOOL64" >&6; }
7062
 
else
7063
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7064
 
$as_echo "no" >&6; }
7065
 
fi
7066
 
 
7067
 
 
7068
 
fi
7069
 
if test -z "$ac_cv_prog_OTOOL64"; then
7070
 
  ac_ct_OTOOL64=$OTOOL64
7071
 
  # Extract the first word of "otool64", so it can be a program name with args.
7072
 
set dummy otool64; ac_word=$2
7073
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074
 
$as_echo_n "checking for $ac_word... " >&6; }
7075
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7076
 
  $as_echo_n "(cached) " >&6
7077
 
else
7078
 
  if test -n "$ac_ct_OTOOL64"; then
7079
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7080
 
else
7081
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082
 
for as_dir in $PATH
7083
 
do
7084
 
  IFS=$as_save_IFS
7085
 
  test -z "$as_dir" && as_dir=.
7086
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7087
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7088
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7089
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090
 
    break 2
7091
 
  fi
7092
 
done
7093
 
  done
7094
 
IFS=$as_save_IFS
7095
 
 
7096
 
fi
7097
 
fi
7098
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7099
 
if test -n "$ac_ct_OTOOL64"; then
7100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7101
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7102
 
else
7103
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104
 
$as_echo "no" >&6; }
7105
 
fi
7106
 
 
7107
 
  if test "x$ac_ct_OTOOL64" = x; then
7108
 
    OTOOL64=":"
7109
 
  else
7110
 
    case $cross_compiling:$ac_tool_warned in
7111
 
yes:)
7112
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7113
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7114
 
ac_tool_warned=yes ;;
7115
 
esac
7116
 
    OTOOL64=$ac_ct_OTOOL64
7117
 
  fi
7118
 
else
7119
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7120
 
fi
7121
 
 
7122
 
 
7123
 
 
7124
 
 
7125
 
 
7126
 
 
7127
 
 
7128
 
 
7129
 
 
7130
 
 
7131
 
 
7132
 
 
7133
 
 
7134
 
 
7135
 
 
7136
 
 
7137
 
 
7138
 
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
 
 
7145
 
 
7146
 
 
7147
 
 
7148
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7149
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7150
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7151
 
  $as_echo_n "(cached) " >&6
7152
 
else
7153
 
  lt_cv_apple_cc_single_mod=no
7154
 
      if test -z "${LT_MULTI_MODULE}"; then
7155
 
        # By default we will add the -single_module flag. You can override
7156
 
        # by either setting the environment variable LT_MULTI_MODULE
7157
 
        # non-empty at configure time, or by adding -multi_module to the
7158
 
        # link flags.
7159
 
        rm -rf libconftest.dylib*
7160
 
        echo "int foo(void){return 1;}" > conftest.c
7161
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7162
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7163
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7164
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7165
 
        _lt_result=$?
7166
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7167
 
          lt_cv_apple_cc_single_mod=yes
7168
 
        else
7169
 
          cat conftest.err >&5
7170
 
        fi
7171
 
        rm -rf libconftest.dylib*
7172
 
        rm -f conftest.*
7173
 
      fi
7174
 
fi
7175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7176
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7177
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7178
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7179
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7180
 
  $as_echo_n "(cached) " >&6
7181
 
else
7182
 
  lt_cv_ld_exported_symbols_list=no
7183
 
      save_LDFLAGS=$LDFLAGS
7184
 
      echo "_main" > conftest.sym
7185
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7186
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187
 
/* end confdefs.h.  */
7188
 
 
7189
 
int
7190
 
main ()
7191
 
{
7192
 
 
7193
 
  ;
7194
 
  return 0;
7195
 
}
7196
 
_ACEOF
7197
 
if ac_fn_c_try_link "$LINENO"; then :
7198
 
  lt_cv_ld_exported_symbols_list=yes
7199
 
else
7200
 
  lt_cv_ld_exported_symbols_list=no
7201
 
fi
7202
 
rm -f core conftest.err conftest.$ac_objext \
7203
 
    conftest$ac_exeext conftest.$ac_ext
7204
 
        LDFLAGS="$save_LDFLAGS"
7205
 
 
7206
 
fi
7207
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7208
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7209
 
    case $host_os in
7210
 
    rhapsody* | darwin1.[012])
7211
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7212
 
    darwin1.*)
7213
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7214
 
    darwin*) # darwin 5.x on
7215
 
      # if running on 10.5 or later, the deployment target defaults
7216
 
      # to the OS version, if on x86, and 10.4, the deployment
7217
 
      # target defaults to 10.4. Don't you love it?
7218
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7219
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7220
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7221
 
        10.[012]*)
7222
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7223
 
        10.*)
7224
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7225
 
      esac
7226
 
    ;;
7227
 
  esac
7228
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7229
 
      _lt_dar_single_mod='$single_module'
7230
 
    fi
7231
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7232
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7233
 
    else
7234
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7235
 
    fi
7236
 
    if test "$DSYMUTIL" != ":"; then
7237
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7238
 
    else
7239
 
      _lt_dsymutil=
7240
 
    fi
7241
 
    ;;
7242
 
  esac
7243
 
 
7244
 
ac_ext=c
7245
 
ac_cpp='$CPP $CPPFLAGS'
7246
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7247
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7248
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7250
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7251
 
# On Suns, sometimes $CPP names a directory.
7252
 
if test -n "$CPP" && test -d "$CPP"; then
7253
 
  CPP=
7254
 
fi
7255
 
if test -z "$CPP"; then
7256
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
7257
 
  $as_echo_n "(cached) " >&6
7258
 
else
7259
 
      # Double quotes because CPP needs to be expanded
7260
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7261
 
    do
7262
 
      ac_preproc_ok=false
7263
 
for ac_c_preproc_warn_flag in '' yes
7264
 
do
7265
 
  # Use a header file that comes with gcc, so configuring glibc
7266
 
  # with a fresh cross-compiler works.
7267
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7268
 
  # <limits.h> exists even on freestanding compilers.
7269
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7270
 
  # not just through cpp. "Syntax error" is here to catch this case.
7271
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7272
 
/* end confdefs.h.  */
7273
 
#ifdef __STDC__
7274
 
# include <limits.h>
7275
 
#else
7276
 
# include <assert.h>
7277
 
#endif
7278
 
                     Syntax error
7279
 
_ACEOF
7280
 
if ac_fn_c_try_cpp "$LINENO"; then :
7281
 
 
7282
 
else
7283
 
  # Broken: fails on valid input.
7284
 
continue
7285
 
fi
7286
 
rm -f conftest.err conftest.$ac_ext
7287
 
 
7288
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7289
 
  # can be detected and how.
7290
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7291
 
/* end confdefs.h.  */
7292
 
#include <ac_nonexistent.h>
7293
 
_ACEOF
7294
 
if ac_fn_c_try_cpp "$LINENO"; then :
7295
 
  # Broken: success on invalid input.
7296
 
continue
7297
 
else
7298
 
  # Passes both tests.
7299
 
ac_preproc_ok=:
7300
 
break
7301
 
fi
7302
 
rm -f conftest.err conftest.$ac_ext
7303
 
 
7304
 
done
7305
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7306
 
rm -f conftest.err conftest.$ac_ext
7307
 
if $ac_preproc_ok; then :
7308
 
  break
7309
 
fi
7310
 
 
7311
 
    done
7312
 
    ac_cv_prog_CPP=$CPP
7313
 
 
7314
 
fi
7315
 
  CPP=$ac_cv_prog_CPP
7316
 
else
7317
 
  ac_cv_prog_CPP=$CPP
7318
 
fi
7319
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7320
 
$as_echo "$CPP" >&6; }
7321
 
ac_preproc_ok=false
7322
 
for ac_c_preproc_warn_flag in '' yes
7323
 
do
7324
 
  # Use a header file that comes with gcc, so configuring glibc
7325
 
  # with a fresh cross-compiler works.
7326
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7327
 
  # <limits.h> exists even on freestanding compilers.
7328
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7329
 
  # not just through cpp. "Syntax error" is here to catch this case.
7330
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331
 
/* end confdefs.h.  */
7332
 
#ifdef __STDC__
7333
 
# include <limits.h>
7334
 
#else
7335
 
# include <assert.h>
7336
 
#endif
7337
 
                     Syntax error
7338
 
_ACEOF
7339
 
if ac_fn_c_try_cpp "$LINENO"; then :
7340
 
 
7341
 
else
7342
 
  # Broken: fails on valid input.
7343
 
continue
7344
 
fi
7345
 
rm -f conftest.err conftest.$ac_ext
7346
 
 
7347
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7348
 
  # can be detected and how.
7349
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350
 
/* end confdefs.h.  */
7351
 
#include <ac_nonexistent.h>
7352
 
_ACEOF
7353
 
if ac_fn_c_try_cpp "$LINENO"; then :
7354
 
  # Broken: success on invalid input.
7355
 
continue
7356
 
else
7357
 
  # Passes both tests.
7358
 
ac_preproc_ok=:
7359
 
break
7360
 
fi
7361
 
rm -f conftest.err conftest.$ac_ext
7362
 
 
7363
 
done
7364
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7365
 
rm -f conftest.err conftest.$ac_ext
7366
 
if $ac_preproc_ok; then :
7367
 
 
7368
 
else
7369
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7370
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7371
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7372
 
See \`config.log' for more details." "$LINENO" 5; }
7373
 
fi
7374
 
 
7375
 
ac_ext=c
7376
 
ac_cpp='$CPP $CPPFLAGS'
7377
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7378
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7379
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7380
 
 
7381
 
 
7382
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7383
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7384
 
if test "${ac_cv_header_stdc+set}" = set; then :
7385
 
  $as_echo_n "(cached) " >&6
7386
 
else
7387
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388
 
/* end confdefs.h.  */
7389
 
#include <stdlib.h>
7390
 
#include <stdarg.h>
7391
 
#include <string.h>
7392
 
#include <float.h>
7393
 
 
7394
 
int
7395
 
main ()
7396
 
{
7397
 
 
7398
 
  ;
7399
 
  return 0;
7400
 
}
7401
 
_ACEOF
7402
 
if ac_fn_c_try_compile "$LINENO"; then :
7403
 
  ac_cv_header_stdc=yes
7404
 
else
7405
 
  ac_cv_header_stdc=no
7406
 
fi
7407
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7408
 
 
7409
 
if test $ac_cv_header_stdc = yes; then
7410
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7411
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412
 
/* end confdefs.h.  */
7413
 
#include <string.h>
7414
 
 
7415
 
_ACEOF
7416
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7417
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7418
 
 
7419
 
else
7420
 
  ac_cv_header_stdc=no
7421
 
fi
7422
 
rm -f conftest*
7423
 
 
7424
 
fi
7425
 
 
7426
 
if test $ac_cv_header_stdc = yes; then
7427
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7428
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7429
 
/* end confdefs.h.  */
7430
 
#include <stdlib.h>
7431
 
 
7432
 
_ACEOF
7433
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7434
 
  $EGREP "free" >/dev/null 2>&1; then :
7435
 
 
7436
 
else
7437
 
  ac_cv_header_stdc=no
7438
 
fi
7439
 
rm -f conftest*
7440
 
 
7441
 
fi
7442
 
 
7443
 
if test $ac_cv_header_stdc = yes; then
7444
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7445
 
  if test "$cross_compiling" = yes; then :
7446
 
  :
7447
 
else
7448
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449
 
/* end confdefs.h.  */
7450
 
#include <ctype.h>
7451
 
#include <stdlib.h>
7452
 
#if ((' ' & 0x0FF) == 0x020)
7453
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7454
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7455
 
#else
7456
 
# define ISLOWER(c) \
7457
 
                   (('a' <= (c) && (c) <= 'i') \
7458
 
                     || ('j' <= (c) && (c) <= 'r') \
7459
 
                     || ('s' <= (c) && (c) <= 'z'))
7460
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7461
 
#endif
7462
 
 
7463
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7464
 
int
7465
 
main ()
7466
 
{
7467
 
  int i;
7468
 
  for (i = 0; i < 256; i++)
7469
 
    if (XOR (islower (i), ISLOWER (i))
7470
 
        || toupper (i) != TOUPPER (i))
7471
 
      return 2;
7472
 
  return 0;
7473
 
}
7474
 
_ACEOF
7475
 
if ac_fn_c_try_run "$LINENO"; then :
7476
 
 
7477
 
else
7478
 
  ac_cv_header_stdc=no
7479
 
fi
7480
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7481
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7482
 
fi
7483
 
 
7484
 
fi
7485
 
fi
7486
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7487
 
$as_echo "$ac_cv_header_stdc" >&6; }
7488
 
if test $ac_cv_header_stdc = yes; then
7489
 
 
7490
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7491
 
 
7492
 
fi
7493
 
 
7494
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7495
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7496
 
                  inttypes.h stdint.h unistd.h
7497
 
do :
7498
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7499
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7500
 
"
7501
 
eval as_val=\$$as_ac_Header
7502
 
   if test "x$as_val" = x""yes; then :
7503
 
  cat >>confdefs.h <<_ACEOF
7504
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7505
 
_ACEOF
7506
 
 
7507
 
fi
7508
 
 
7509
 
done
7510
 
 
7511
 
 
7512
 
for ac_header in dlfcn.h
7513
 
do :
7514
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7515
 
"
7516
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7517
 
  cat >>confdefs.h <<_ACEOF
7518
 
#define HAVE_DLFCN_H 1
7519
 
_ACEOF
7520
 
 
7521
 
fi
7522
 
 
7523
 
done
7524
 
 
7525
 
 
7526
 
 
7527
 
# Set options
7528
 
 
7529
 
 
7530
 
 
7531
 
        enable_dlopen=no
7532
 
 
7533
 
 
7534
 
  enable_win32_dll=no
7535
 
 
7536
 
 
7537
 
            # Check whether --enable-shared was given.
7538
 
if test "${enable_shared+set}" = set; then :
7539
 
  enableval=$enable_shared; p=${PACKAGE-default}
7540
 
    case $enableval in
7541
 
    yes) enable_shared=yes ;;
7542
 
    no) enable_shared=no ;;
7543
 
    *)
7544
 
      enable_shared=no
7545
 
      # Look at the argument we got.  We use all the common list separators.
7546
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7547
 
      for pkg in $enableval; do
7548
 
        IFS="$lt_save_ifs"
7549
 
        if test "X$pkg" = "X$p"; then
7550
 
          enable_shared=yes
7551
 
        fi
7552
 
      done
7553
 
      IFS="$lt_save_ifs"
7554
 
      ;;
7555
 
    esac
7556
 
else
7557
 
  enable_shared=yes
7558
 
fi
7559
 
 
7560
 
 
7561
 
 
7562
 
 
7563
 
 
7564
 
 
7565
 
 
7566
 
 
7567
 
 
7568
 
  # Check whether --enable-static was given.
7569
 
if test "${enable_static+set}" = set; then :
7570
 
  enableval=$enable_static; p=${PACKAGE-default}
7571
 
    case $enableval in
7572
 
    yes) enable_static=yes ;;
7573
 
    no) enable_static=no ;;
7574
 
    *)
7575
 
     enable_static=no
7576
 
      # Look at the argument we got.  We use all the common list separators.
7577
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7578
 
      for pkg in $enableval; do
7579
 
        IFS="$lt_save_ifs"
7580
 
        if test "X$pkg" = "X$p"; then
7581
 
          enable_static=yes
7582
 
        fi
7583
 
      done
7584
 
      IFS="$lt_save_ifs"
7585
 
      ;;
7586
 
    esac
7587
 
else
7588
 
  enable_static=yes
7589
 
fi
7590
 
 
7591
 
 
7592
 
 
7593
 
 
7594
 
 
7595
 
 
7596
 
 
7597
 
 
7598
 
 
7599
 
 
7600
 
# Check whether --with-pic was given.
7601
 
if test "${with_pic+set}" = set; then :
7602
 
  withval=$with_pic; pic_mode="$withval"
7603
 
else
7604
 
  pic_mode=default
7605
 
fi
7606
 
 
7607
 
 
7608
 
test -z "$pic_mode" && pic_mode=default
7609
 
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
 
 
7615
 
 
7616
 
  # Check whether --enable-fast-install was given.
7617
 
if test "${enable_fast_install+set}" = set; then :
7618
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7619
 
    case $enableval in
7620
 
    yes) enable_fast_install=yes ;;
7621
 
    no) enable_fast_install=no ;;
7622
 
    *)
7623
 
      enable_fast_install=no
7624
 
      # Look at the argument we got.  We use all the common list separators.
7625
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7626
 
      for pkg in $enableval; do
7627
 
        IFS="$lt_save_ifs"
7628
 
        if test "X$pkg" = "X$p"; then
7629
 
          enable_fast_install=yes
7630
 
        fi
7631
 
      done
7632
 
      IFS="$lt_save_ifs"
7633
 
      ;;
7634
 
    esac
7635
 
else
7636
 
  enable_fast_install=yes
7637
 
fi
7638
 
 
7639
 
 
7640
 
 
7641
 
 
7642
 
 
7643
 
 
7644
 
 
7645
 
 
7646
 
 
7647
 
 
7648
 
 
7649
 
# This can be used to rebuild libtool when needed
7650
 
LIBTOOL_DEPS="$ltmain"
7651
 
 
7652
 
# Always use our own libtool.
7653
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7654
 
 
7655
 
 
7656
 
 
7657
 
 
7658
 
 
7659
 
 
7660
 
 
7661
 
 
7662
 
 
7663
 
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
7668
 
 
7669
 
 
7670
 
 
7671
 
 
7672
 
 
7673
 
 
7674
 
 
7675
 
 
7676
 
 
7677
 
 
7678
 
 
7679
 
test -z "$LN_S" && LN_S="ln -s"
7680
 
 
7681
 
 
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
 
 
7687
 
 
7688
 
 
7689
 
 
7690
 
 
7691
 
 
7692
 
 
7693
 
 
7694
 
if test -n "${ZSH_VERSION+set}" ; then
7695
 
   setopt NO_GLOB_SUBST
7696
 
fi
7697
 
 
7698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7699
 
$as_echo_n "checking for objdir... " >&6; }
7700
 
if test "${lt_cv_objdir+set}" = set; then :
7701
 
  $as_echo_n "(cached) " >&6
7702
 
else
7703
 
  rm -f .libs 2>/dev/null
7704
 
mkdir .libs 2>/dev/null
7705
 
if test -d .libs; then
7706
 
  lt_cv_objdir=.libs
7707
 
else
7708
 
  # MS-DOS does not allow filenames that begin with a dot.
7709
 
  lt_cv_objdir=_libs
7710
 
fi
7711
 
rmdir .libs 2>/dev/null
7712
 
fi
7713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7714
 
$as_echo "$lt_cv_objdir" >&6; }
7715
 
objdir=$lt_cv_objdir
7716
 
 
7717
 
 
7718
 
 
7719
 
 
7720
 
 
7721
 
cat >>confdefs.h <<_ACEOF
7722
 
#define LT_OBJDIR "$lt_cv_objdir/"
7723
 
_ACEOF
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
7731
 
 
7732
 
 
7733
 
 
7734
 
 
7735
 
 
7736
 
 
7737
 
 
7738
 
 
7739
 
 
7740
 
 
7741
 
case $host_os in
7742
 
aix3*)
7743
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7744
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7745
 
  # vanish in a puff of smoke.
7746
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7747
 
    COLLECT_NAMES=
7748
 
    export COLLECT_NAMES
7749
 
  fi
7750
 
  ;;
7751
 
esac
7752
 
 
7753
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7754
 
# metacharacters that are still active within double-quoted strings.
7755
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7756
 
 
7757
 
# Same as above, but do not quote variable references.
7758
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7759
 
 
7760
 
# Sed substitution to delay expansion of an escaped shell variable in a
7761
 
# double_quote_subst'ed string.
7762
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7763
 
 
7764
 
# Sed substitution to delay expansion of an escaped single quote.
7765
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7766
 
 
7767
 
# Sed substitution to avoid accidental globbing in evaled expressions
7768
 
no_glob_subst='s/\*/\\\*/g'
7769
 
 
7770
 
# Global variables:
7771
 
ofile=libtool
7772
 
can_build_shared=yes
7773
 
 
7774
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7775
 
# which needs '.lib').
7776
 
libext=a
7777
 
 
7778
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7779
 
 
7780
 
old_CC="$CC"
7781
 
old_CFLAGS="$CFLAGS"
7782
 
 
7783
 
# Set sane defaults for various variables
7784
 
test -z "$CC" && CC=cc
7785
 
test -z "$LTCC" && LTCC=$CC
7786
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7787
 
test -z "$LD" && LD=ld
7788
 
test -z "$ac_objext" && ac_objext=o
7789
 
 
7790
 
for cc_temp in $compiler""; do
7791
 
  case $cc_temp in
7792
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7793
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7794
 
    \-*) ;;
7795
 
    *) break;;
7796
 
  esac
7797
 
done
7798
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7799
 
 
7800
 
 
7801
 
# Only perform the check for file, if the check method requires it
7802
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7803
 
case $deplibs_check_method in
7804
 
file_magic*)
7805
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7806
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7807
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7808
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7809
 
  $as_echo_n "(cached) " >&6
7810
 
else
7811
 
  case $MAGIC_CMD in
7812
 
[\\/*] |  ?:[\\/]*)
7813
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7814
 
  ;;
7815
 
*)
7816
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7817
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7818
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7819
 
  for ac_dir in $ac_dummy; do
7820
 
    IFS="$lt_save_ifs"
7821
 
    test -z "$ac_dir" && ac_dir=.
7822
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7823
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7824
 
      if test -n "$file_magic_test_file"; then
7825
 
        case $deplibs_check_method in
7826
 
        "file_magic "*)
7827
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7828
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7829
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7830
 
            $EGREP "$file_magic_regex" > /dev/null; then
7831
 
            :
7832
 
          else
7833
 
            cat <<_LT_EOF 1>&2
7834
 
 
7835
 
*** Warning: the command libtool uses to detect shared libraries,
7836
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7837
 
*** The result is that libtool may fail to recognize shared libraries
7838
 
*** as such.  This will affect the creation of libtool libraries that
7839
 
*** depend on shared libraries, but programs linked with such libtool
7840
 
*** libraries will work regardless of this problem.  Nevertheless, you
7841
 
*** may want to report the problem to your system manager and/or to
7842
 
*** bug-libtool@gnu.org
7843
 
 
7844
 
_LT_EOF
7845
 
          fi ;;
7846
 
        esac
7847
 
      fi
7848
 
      break
7849
 
    fi
7850
 
  done
7851
 
  IFS="$lt_save_ifs"
7852
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7853
 
  ;;
7854
 
esac
7855
 
fi
7856
 
 
7857
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7858
 
if test -n "$MAGIC_CMD"; then
7859
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7860
 
$as_echo "$MAGIC_CMD" >&6; }
7861
 
else
7862
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863
 
$as_echo "no" >&6; }
7864
 
fi
7865
 
 
7866
 
 
7867
 
 
7868
 
 
7869
 
 
7870
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7871
 
  if test -n "$ac_tool_prefix"; then
7872
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7873
 
$as_echo_n "checking for file... " >&6; }
7874
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7875
 
  $as_echo_n "(cached) " >&6
7876
 
else
7877
 
  case $MAGIC_CMD in
7878
 
[\\/*] |  ?:[\\/]*)
7879
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7880
 
  ;;
7881
 
*)
7882
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7883
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7884
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7885
 
  for ac_dir in $ac_dummy; do
7886
 
    IFS="$lt_save_ifs"
7887
 
    test -z "$ac_dir" && ac_dir=.
7888
 
    if test -f $ac_dir/file; then
7889
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7890
 
      if test -n "$file_magic_test_file"; then
7891
 
        case $deplibs_check_method in
7892
 
        "file_magic "*)
7893
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7894
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7895
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7896
 
            $EGREP "$file_magic_regex" > /dev/null; then
7897
 
            :
7898
 
          else
7899
 
            cat <<_LT_EOF 1>&2
7900
 
 
7901
 
*** Warning: the command libtool uses to detect shared libraries,
7902
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7903
 
*** The result is that libtool may fail to recognize shared libraries
7904
 
*** as such.  This will affect the creation of libtool libraries that
7905
 
*** depend on shared libraries, but programs linked with such libtool
7906
 
*** libraries will work regardless of this problem.  Nevertheless, you
7907
 
*** may want to report the problem to your system manager and/or to
7908
 
*** bug-libtool@gnu.org
7909
 
 
7910
 
_LT_EOF
7911
 
          fi ;;
7912
 
        esac
7913
 
      fi
7914
 
      break
7915
 
    fi
7916
 
  done
7917
 
  IFS="$lt_save_ifs"
7918
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7919
 
  ;;
7920
 
esac
7921
 
fi
7922
 
 
7923
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7924
 
if test -n "$MAGIC_CMD"; then
7925
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7926
 
$as_echo "$MAGIC_CMD" >&6; }
7927
 
else
7928
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929
 
$as_echo "no" >&6; }
7930
 
fi
7931
 
 
7932
 
 
7933
 
  else
7934
 
    MAGIC_CMD=:
7935
 
  fi
7936
 
fi
7937
 
 
7938
 
  fi
7939
 
  ;;
7940
 
esac
7941
 
 
7942
 
# Use C for the default configuration in the libtool script
7943
 
 
7944
 
lt_save_CC="$CC"
7945
 
ac_ext=c
7946
 
ac_cpp='$CPP $CPPFLAGS'
7947
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7948
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7949
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7950
 
 
7951
 
 
7952
 
# Source file extension for C test sources.
7953
 
ac_ext=c
7954
 
 
7955
 
# Object file extension for compiled C test sources.
7956
 
objext=o
7957
 
objext=$objext
7958
 
 
7959
 
# Code to be used in simple compile tests
7960
 
lt_simple_compile_test_code="int some_variable = 0;"
7961
 
 
7962
 
# Code to be used in simple link tests
7963
 
lt_simple_link_test_code='int main(){return(0);}'
7964
 
 
7965
 
 
7966
 
 
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
# If no C compiler was specified, use CC.
7972
 
LTCC=${LTCC-"$CC"}
7973
 
 
7974
 
# If no C compiler flags were specified, use CFLAGS.
7975
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7976
 
 
7977
 
# Allow CC to be a program name with arguments.
7978
 
compiler=$CC
7979
 
 
7980
 
# Save the default compiler, since it gets overwritten when the other
7981
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7982
 
compiler_DEFAULT=$CC
7983
 
 
7984
 
# save warnings/boilerplate of simple test code
7985
 
ac_outfile=conftest.$ac_objext
7986
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7987
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7988
 
_lt_compiler_boilerplate=`cat conftest.err`
7989
 
$RM conftest*
7990
 
 
7991
 
ac_outfile=conftest.$ac_objext
7992
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7993
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7994
 
_lt_linker_boilerplate=`cat conftest.err`
7995
 
$RM -r conftest*
7996
 
 
7997
 
 
7998
 
if test -n "$compiler"; then
7999
 
 
8000
 
lt_prog_compiler_no_builtin_flag=
8001
 
 
8002
 
if test "$GCC" = yes; then
8003
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8004
 
 
8005
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8006
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8007
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8008
 
  $as_echo_n "(cached) " >&6
8009
 
else
8010
 
  lt_cv_prog_compiler_rtti_exceptions=no
8011
 
   ac_outfile=conftest.$ac_objext
8012
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8013
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8014
 
   # Insert the option either (1) after the last *FLAGS variable, or
8015
 
   # (2) before a word containing "conftest.", or (3) at the end.
8016
 
   # Note that $ac_compile itself does not contain backslashes and begins
8017
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8018
 
   # The option is referenced via a variable to avoid confusing sed.
8019
 
   lt_compile=`echo "$ac_compile" | $SED \
8020
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8021
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8022
 
   -e 's:$: $lt_compiler_flag:'`
8023
 
   (eval echo "\"\$as_me:8023: $lt_compile\"" >&5)
8024
 
   (eval "$lt_compile" 2>conftest.err)
8025
 
   ac_status=$?
8026
 
   cat conftest.err >&5
8027
 
   echo "$as_me:8027: \$? = $ac_status" >&5
8028
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8029
 
     # The compiler can only warn and ignore the option if not recognized
8030
 
     # So say no if there are warnings other than the usual output.
8031
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8032
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8033
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8034
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8035
 
     fi
8036
 
   fi
8037
 
   $RM conftest*
8038
 
 
8039
 
fi
8040
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8041
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8042
 
 
8043
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8044
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8045
 
else
8046
 
    :
8047
 
fi
8048
 
 
8049
 
fi
8050
 
 
8051
 
 
8052
 
 
8053
 
 
8054
 
 
8055
 
 
8056
 
  lt_prog_compiler_wl=
8057
 
lt_prog_compiler_pic=
8058
 
lt_prog_compiler_static=
8059
 
 
8060
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8061
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8062
 
 
8063
 
  if test "$GCC" = yes; then
8064
 
    lt_prog_compiler_wl='-Wl,'
8065
 
    lt_prog_compiler_static='-static'
8066
 
 
8067
 
    case $host_os in
8068
 
      aix*)
8069
 
      # All AIX code is PIC.
8070
 
      if test "$host_cpu" = ia64; then
8071
 
        # AIX 5 now supports IA64 processor
8072
 
        lt_prog_compiler_static='-Bstatic'
8073
 
      fi
8074
 
      ;;
8075
 
 
8076
 
    amigaos*)
8077
 
      case $host_cpu in
8078
 
      powerpc)
8079
 
            # see comment about AmigaOS4 .so support
8080
 
            lt_prog_compiler_pic='-fPIC'
8081
 
        ;;
8082
 
      m68k)
8083
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8084
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8085
 
            # like `-m68040'.
8086
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8087
 
        ;;
8088
 
      esac
8089
 
      ;;
8090
 
 
8091
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8092
 
      # PIC is the default for these OSes.
8093
 
      ;;
8094
 
 
8095
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8096
 
      # This hack is so that the source file can tell whether it is being
8097
 
      # built for inclusion in a dll (and should export symbols for example).
8098
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8099
 
      # (--disable-auto-import) libraries
8100
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8101
 
      ;;
8102
 
 
8103
 
    darwin* | rhapsody*)
8104
 
      # PIC is the default on this platform
8105
 
      # Common symbols not allowed in MH_DYLIB files
8106
 
      lt_prog_compiler_pic='-fno-common'
8107
 
      ;;
8108
 
 
8109
 
    hpux*)
8110
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8111
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8112
 
      # sets the default TLS model and affects inlining.
8113
 
      case $host_cpu in
8114
 
      hppa*64*)
8115
 
        # +Z the default
8116
 
        ;;
8117
 
      *)
8118
 
        lt_prog_compiler_pic='-fPIC'
8119
 
        ;;
8120
 
      esac
8121
 
      ;;
8122
 
 
8123
 
    interix[3-9]*)
8124
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8125
 
      # Instead, we relocate shared libraries at runtime.
8126
 
      ;;
8127
 
 
8128
 
    msdosdjgpp*)
8129
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8130
 
      # on systems that don't support them.
8131
 
      lt_prog_compiler_can_build_shared=no
8132
 
      enable_shared=no
8133
 
      ;;
8134
 
 
8135
 
    *nto* | *qnx*)
8136
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8137
 
      # it will coredump.
8138
 
      lt_prog_compiler_pic='-fPIC -shared'
8139
 
      ;;
8140
 
 
8141
 
    sysv4*MP*)
8142
 
      if test -d /usr/nec; then
8143
 
        lt_prog_compiler_pic=-Kconform_pic
8144
 
      fi
8145
 
      ;;
8146
 
 
8147
 
    *)
8148
 
      lt_prog_compiler_pic='-fPIC'
8149
 
      ;;
8150
 
    esac
8151
 
  else
8152
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8153
 
    case $host_os in
8154
 
    aix*)
8155
 
      lt_prog_compiler_wl='-Wl,'
8156
 
      if test "$host_cpu" = ia64; then
8157
 
        # AIX 5 now supports IA64 processor
8158
 
        lt_prog_compiler_static='-Bstatic'
8159
 
      else
8160
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8161
 
      fi
8162
 
      ;;
8163
 
 
8164
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8165
 
      # This hack is so that the source file can tell whether it is being
8166
 
      # built for inclusion in a dll (and should export symbols for example).
8167
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8168
 
      ;;
8169
 
 
8170
 
    hpux9* | hpux10* | hpux11*)
8171
 
      lt_prog_compiler_wl='-Wl,'
8172
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8173
 
      # not for PA HP-UX.
8174
 
      case $host_cpu in
8175
 
      hppa*64*|ia64*)
8176
 
        # +Z the default
8177
 
        ;;
8178
 
      *)
8179
 
        lt_prog_compiler_pic='+Z'
8180
 
        ;;
8181
 
      esac
8182
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8183
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8184
 
      ;;
8185
 
 
8186
 
    irix5* | irix6* | nonstopux*)
8187
 
      lt_prog_compiler_wl='-Wl,'
8188
 
      # PIC (with -KPIC) is the default.
8189
 
      lt_prog_compiler_static='-non_shared'
8190
 
      ;;
8191
 
 
8192
 
    linux* | k*bsd*-gnu)
8193
 
      case $cc_basename in
8194
 
      # old Intel for x86_64 which still supported -KPIC.
8195
 
      ecc*)
8196
 
        lt_prog_compiler_wl='-Wl,'
8197
 
        lt_prog_compiler_pic='-KPIC'
8198
 
        lt_prog_compiler_static='-static'
8199
 
        ;;
8200
 
      # icc used to be incompatible with GCC.
8201
 
      # ICC 10 doesn't accept -KPIC any more.
8202
 
      icc* | ifort*)
8203
 
        lt_prog_compiler_wl='-Wl,'
8204
 
        lt_prog_compiler_pic='-fPIC'
8205
 
        lt_prog_compiler_static='-static'
8206
 
        ;;
8207
 
      # Lahey Fortran 8.1.
8208
 
      lf95*)
8209
 
        lt_prog_compiler_wl='-Wl,'
8210
 
        lt_prog_compiler_pic='--shared'
8211
 
        lt_prog_compiler_static='--static'
8212
 
        ;;
8213
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8214
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8215
 
        # which looks to be a dead project)
8216
 
        lt_prog_compiler_wl='-Wl,'
8217
 
        lt_prog_compiler_pic='-fpic'
8218
 
        lt_prog_compiler_static='-Bstatic'
8219
 
        ;;
8220
 
      ccc*)
8221
 
        lt_prog_compiler_wl='-Wl,'
8222
 
        # All Alpha code is PIC.
8223
 
        lt_prog_compiler_static='-non_shared'
8224
 
        ;;
8225
 
      xl*)
8226
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
8227
 
        lt_prog_compiler_wl='-Wl,'
8228
 
        lt_prog_compiler_pic='-qpic'
8229
 
        lt_prog_compiler_static='-qstaticlink'
8230
 
        ;;
8231
 
      *)
8232
 
        case `$CC -V 2>&1 | sed 5q` in
8233
 
        *Sun\ C*)
8234
 
          # Sun C 5.9
8235
 
          lt_prog_compiler_pic='-KPIC'
8236
 
          lt_prog_compiler_static='-Bstatic'
8237
 
          lt_prog_compiler_wl='-Wl,'
8238
 
          ;;
8239
 
        *Sun\ F*)
8240
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8241
 
          lt_prog_compiler_pic='-KPIC'
8242
 
          lt_prog_compiler_static='-Bstatic'
8243
 
          lt_prog_compiler_wl=''
8244
 
          ;;
8245
 
        esac
8246
 
        ;;
8247
 
      esac
8248
 
      ;;
8249
 
 
8250
 
    newsos6)
8251
 
      lt_prog_compiler_pic='-KPIC'
8252
 
      lt_prog_compiler_static='-Bstatic'
8253
 
      ;;
8254
 
 
8255
 
    *nto* | *qnx*)
8256
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8257
 
      # it will coredump.
8258
 
      lt_prog_compiler_pic='-fPIC -shared'
8259
 
      ;;
8260
 
 
8261
 
    osf3* | osf4* | osf5*)
8262
 
      lt_prog_compiler_wl='-Wl,'
8263
 
      # All OSF/1 code is PIC.
8264
 
      lt_prog_compiler_static='-non_shared'
8265
 
      ;;
8266
 
 
8267
 
    rdos*)
8268
 
      lt_prog_compiler_static='-non_shared'
8269
 
      ;;
8270
 
 
8271
 
    solaris*)
8272
 
      lt_prog_compiler_pic='-KPIC'
8273
 
      lt_prog_compiler_static='-Bstatic'
8274
 
      case $cc_basename in
8275
 
      f77* | f90* | f95*)
8276
 
        lt_prog_compiler_wl='-Qoption ld ';;
8277
 
      *)
8278
 
        lt_prog_compiler_wl='-Wl,';;
8279
 
      esac
8280
 
      ;;
8281
 
 
8282
 
    sunos4*)
8283
 
      lt_prog_compiler_wl='-Qoption ld '
8284
 
      lt_prog_compiler_pic='-PIC'
8285
 
      lt_prog_compiler_static='-Bstatic'
8286
 
      ;;
8287
 
 
8288
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8289
 
      lt_prog_compiler_wl='-Wl,'
8290
 
      lt_prog_compiler_pic='-KPIC'
8291
 
      lt_prog_compiler_static='-Bstatic'
8292
 
      ;;
8293
 
 
8294
 
    sysv4*MP*)
8295
 
      if test -d /usr/nec ;then
8296
 
        lt_prog_compiler_pic='-Kconform_pic'
8297
 
        lt_prog_compiler_static='-Bstatic'
8298
 
      fi
8299
 
      ;;
8300
 
 
8301
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8302
 
      lt_prog_compiler_wl='-Wl,'
8303
 
      lt_prog_compiler_pic='-KPIC'
8304
 
      lt_prog_compiler_static='-Bstatic'
8305
 
      ;;
8306
 
 
8307
 
    unicos*)
8308
 
      lt_prog_compiler_wl='-Wl,'
8309
 
      lt_prog_compiler_can_build_shared=no
8310
 
      ;;
8311
 
 
8312
 
    uts4*)
8313
 
      lt_prog_compiler_pic='-pic'
8314
 
      lt_prog_compiler_static='-Bstatic'
8315
 
      ;;
8316
 
 
8317
 
    *)
8318
 
      lt_prog_compiler_can_build_shared=no
8319
 
      ;;
8320
 
    esac
8321
 
  fi
8322
 
 
8323
 
case $host_os in
8324
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8325
 
  *djgpp*)
8326
 
    lt_prog_compiler_pic=
8327
 
    ;;
8328
 
  *)
8329
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8330
 
    ;;
8331
 
esac
8332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8333
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8334
 
 
8335
 
 
8336
 
 
8337
 
 
8338
 
 
8339
 
 
8340
 
#
8341
 
# Check to make sure the PIC flag actually works.
8342
 
#
8343
 
if test -n "$lt_prog_compiler_pic"; then
8344
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8345
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8346
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8347
 
  $as_echo_n "(cached) " >&6
8348
 
else
8349
 
  lt_cv_prog_compiler_pic_works=no
8350
 
   ac_outfile=conftest.$ac_objext
8351
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8353
 
   # Insert the option either (1) after the last *FLAGS variable, or
8354
 
   # (2) before a word containing "conftest.", or (3) at the end.
8355
 
   # Note that $ac_compile itself does not contain backslashes and begins
8356
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8357
 
   # The option is referenced via a variable to avoid confusing sed.
8358
 
   lt_compile=`echo "$ac_compile" | $SED \
8359
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361
 
   -e 's:$: $lt_compiler_flag:'`
8362
 
   (eval echo "\"\$as_me:8362: $lt_compile\"" >&5)
8363
 
   (eval "$lt_compile" 2>conftest.err)
8364
 
   ac_status=$?
8365
 
   cat conftest.err >&5
8366
 
   echo "$as_me:8366: \$? = $ac_status" >&5
8367
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8368
 
     # The compiler can only warn and ignore the option if not recognized
8369
 
     # So say no if there are warnings other than the usual output.
8370
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8371
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8372
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8373
 
       lt_cv_prog_compiler_pic_works=yes
8374
 
     fi
8375
 
   fi
8376
 
   $RM conftest*
8377
 
 
8378
 
fi
8379
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8380
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8381
 
 
8382
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8383
 
    case $lt_prog_compiler_pic in
8384
 
     "" | " "*) ;;
8385
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8386
 
     esac
8387
 
else
8388
 
    lt_prog_compiler_pic=
8389
 
     lt_prog_compiler_can_build_shared=no
8390
 
fi
8391
 
 
8392
 
fi
8393
 
 
8394
 
 
8395
 
 
8396
 
 
8397
 
 
8398
 
 
8399
 
#
8400
 
# Check to make sure the static flag actually works.
8401
 
#
8402
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8403
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8404
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8405
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8406
 
  $as_echo_n "(cached) " >&6
8407
 
else
8408
 
  lt_cv_prog_compiler_static_works=no
8409
 
   save_LDFLAGS="$LDFLAGS"
8410
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8411
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8412
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8413
 
     # The linker can only warn and ignore the option if not recognized
8414
 
     # So say no if there are warnings
8415
 
     if test -s conftest.err; then
8416
 
       # Append any errors to the config.log.
8417
 
       cat conftest.err 1>&5
8418
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8419
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8420
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8421
 
         lt_cv_prog_compiler_static_works=yes
8422
 
       fi
8423
 
     else
8424
 
       lt_cv_prog_compiler_static_works=yes
8425
 
     fi
8426
 
   fi
8427
 
   $RM -r conftest*
8428
 
   LDFLAGS="$save_LDFLAGS"
8429
 
 
8430
 
fi
8431
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8432
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8433
 
 
8434
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8435
 
    :
8436
 
else
8437
 
    lt_prog_compiler_static=
8438
 
fi
8439
 
 
8440
 
 
8441
 
 
8442
 
 
8443
 
 
8444
 
 
8445
 
 
8446
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8447
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8448
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8449
 
  $as_echo_n "(cached) " >&6
8450
 
else
8451
 
  lt_cv_prog_compiler_c_o=no
8452
 
   $RM -r conftest 2>/dev/null
8453
 
   mkdir conftest
8454
 
   cd conftest
8455
 
   mkdir out
8456
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457
 
 
8458
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8459
 
   # Insert the option either (1) after the last *FLAGS variable, or
8460
 
   # (2) before a word containing "conftest.", or (3) at the end.
8461
 
   # Note that $ac_compile itself does not contain backslashes and begins
8462
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8463
 
   lt_compile=`echo "$ac_compile" | $SED \
8464
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466
 
   -e 's:$: $lt_compiler_flag:'`
8467
 
   (eval echo "\"\$as_me:8467: $lt_compile\"" >&5)
8468
 
   (eval "$lt_compile" 2>out/conftest.err)
8469
 
   ac_status=$?
8470
 
   cat out/conftest.err >&5
8471
 
   echo "$as_me:8471: \$? = $ac_status" >&5
8472
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8473
 
   then
8474
 
     # The compiler can only warn and ignore the option if not recognized
8475
 
     # So say no if there are warnings
8476
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8477
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8478
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8479
 
       lt_cv_prog_compiler_c_o=yes
8480
 
     fi
8481
 
   fi
8482
 
   chmod u+w . 2>&5
8483
 
   $RM conftest*
8484
 
   # SGI C++ compiler will create directory out/ii_files/ for
8485
 
   # template instantiation
8486
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8487
 
   $RM out/* && rmdir out
8488
 
   cd ..
8489
 
   $RM -r conftest
8490
 
   $RM conftest*
8491
 
 
8492
 
fi
8493
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8494
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
 
 
8500
 
 
8501
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8502
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8503
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8504
 
  $as_echo_n "(cached) " >&6
8505
 
else
8506
 
  lt_cv_prog_compiler_c_o=no
8507
 
   $RM -r conftest 2>/dev/null
8508
 
   mkdir conftest
8509
 
   cd conftest
8510
 
   mkdir out
8511
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512
 
 
8513
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8514
 
   # Insert the option either (1) after the last *FLAGS variable, or
8515
 
   # (2) before a word containing "conftest.", or (3) at the end.
8516
 
   # Note that $ac_compile itself does not contain backslashes and begins
8517
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8518
 
   lt_compile=`echo "$ac_compile" | $SED \
8519
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521
 
   -e 's:$: $lt_compiler_flag:'`
8522
 
   (eval echo "\"\$as_me:8522: $lt_compile\"" >&5)
8523
 
   (eval "$lt_compile" 2>out/conftest.err)
8524
 
   ac_status=$?
8525
 
   cat out/conftest.err >&5
8526
 
   echo "$as_me:8526: \$? = $ac_status" >&5
8527
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8528
 
   then
8529
 
     # The compiler can only warn and ignore the option if not recognized
8530
 
     # So say no if there are warnings
8531
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8532
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8533
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8534
 
       lt_cv_prog_compiler_c_o=yes
8535
 
     fi
8536
 
   fi
8537
 
   chmod u+w . 2>&5
8538
 
   $RM conftest*
8539
 
   # SGI C++ compiler will create directory out/ii_files/ for
8540
 
   # template instantiation
8541
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8542
 
   $RM out/* && rmdir out
8543
 
   cd ..
8544
 
   $RM -r conftest
8545
 
   $RM conftest*
8546
 
 
8547
 
fi
8548
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8549
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8550
 
 
8551
 
 
8552
 
 
8553
 
 
8554
 
hard_links="nottested"
8555
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8556
 
  # do not overwrite the value of need_locks provided by the user
8557
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8558
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8559
 
  hard_links=yes
8560
 
  $RM conftest*
8561
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8562
 
  touch conftest.a
8563
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8564
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8565
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8566
 
$as_echo "$hard_links" >&6; }
8567
 
  if test "$hard_links" = no; then
8568
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8569
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8570
 
    need_locks=warn
8571
 
  fi
8572
 
else
8573
 
  need_locks=no
8574
 
fi
8575
 
 
8576
 
 
8577
 
 
8578
 
 
8579
 
 
8580
 
 
8581
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8582
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8583
 
 
8584
 
  runpath_var=
8585
 
  allow_undefined_flag=
8586
 
  always_export_symbols=no
8587
 
  archive_cmds=
8588
 
  archive_expsym_cmds=
8589
 
  compiler_needs_object=no
8590
 
  enable_shared_with_static_runtimes=no
8591
 
  export_dynamic_flag_spec=
8592
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8593
 
  hardcode_automatic=no
8594
 
  hardcode_direct=no
8595
 
  hardcode_direct_absolute=no
8596
 
  hardcode_libdir_flag_spec=
8597
 
  hardcode_libdir_flag_spec_ld=
8598
 
  hardcode_libdir_separator=
8599
 
  hardcode_minus_L=no
8600
 
  hardcode_shlibpath_var=unsupported
8601
 
  inherit_rpath=no
8602
 
  link_all_deplibs=unknown
8603
 
  module_cmds=
8604
 
  module_expsym_cmds=
8605
 
  old_archive_from_new_cmds=
8606
 
  old_archive_from_expsyms_cmds=
8607
 
  thread_safe_flag_spec=
8608
 
  whole_archive_flag_spec=
8609
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8610
 
  # included in the symbol list
8611
 
  include_expsyms=
8612
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8613
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8614
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8615
 
  # as well as any symbol that contains `d'.
8616
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8617
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8618
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8619
 
  # the symbol is explicitly referenced.  Since portable code cannot
8620
 
  # rely on this symbol name, it's probably fine to never include it in
8621
 
  # preloaded symbol tables.
8622
 
  # Exclude shared library initialization/finalization symbols.
8623
 
  extract_expsyms_cmds=
8624
 
 
8625
 
  case $host_os in
8626
 
  cygwin* | mingw* | pw32* | cegcc*)
8627
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8628
 
    # When not using gcc, we currently assume that we are using
8629
 
    # Microsoft Visual C++.
8630
 
    if test "$GCC" != yes; then
8631
 
      with_gnu_ld=no
8632
 
    fi
8633
 
    ;;
8634
 
  interix*)
8635
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8636
 
    with_gnu_ld=yes
8637
 
    ;;
8638
 
  openbsd*)
8639
 
    with_gnu_ld=no
8640
 
    ;;
8641
 
  esac
8642
 
 
8643
 
  ld_shlibs=yes
8644
 
  if test "$with_gnu_ld" = yes; then
8645
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8646
 
    wlarc='${wl}'
8647
 
 
8648
 
    # Set some defaults for GNU ld with shared library support. These
8649
 
    # are reset later if shared libraries are not supported. Putting them
8650
 
    # here allows them to be overridden if necessary.
8651
 
    runpath_var=LD_RUN_PATH
8652
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8653
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8654
 
    # ancient GNU ld didn't support --whole-archive et. al.
8655
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8656
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8657
 
    else
8658
 
      whole_archive_flag_spec=
8659
 
    fi
8660
 
    supports_anon_versioning=no
8661
 
    case `$LD -v 2>&1` in
8662
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8663
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8664
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8665
 
      *\ 2.11.*) ;; # other 2.11 versions
8666
 
      *) supports_anon_versioning=yes ;;
8667
 
    esac
8668
 
 
8669
 
    # See if GNU ld supports shared libraries.
8670
 
    case $host_os in
8671
 
    aix[3-9]*)
8672
 
      # On AIX/PPC, the GNU linker is very broken
8673
 
      if test "$host_cpu" != ia64; then
8674
 
        ld_shlibs=no
8675
 
        cat <<_LT_EOF 1>&2
8676
 
 
8677
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8678
 
*** to be unable to reliably create shared libraries on AIX.
8679
 
*** Therefore, libtool is disabling shared libraries support.  If you
8680
 
*** really care for shared libraries, you may want to modify your PATH
8681
 
*** so that a non-GNU linker is found, and then restart.
8682
 
 
8683
 
_LT_EOF
8684
 
      fi
8685
 
      ;;
8686
 
 
8687
 
    amigaos*)
8688
 
      case $host_cpu in
8689
 
      powerpc)
8690
 
            # see comment about AmigaOS4 .so support
8691
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8692
 
            archive_expsym_cmds=''
8693
 
        ;;
8694
 
      m68k)
8695
 
            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)'
8696
 
            hardcode_libdir_flag_spec='-L$libdir'
8697
 
            hardcode_minus_L=yes
8698
 
        ;;
8699
 
      esac
8700
 
      ;;
8701
 
 
8702
 
    beos*)
8703
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8704
 
        allow_undefined_flag=unsupported
8705
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8706
 
        # support --undefined.  This deserves some investigation.  FIXME
8707
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8708
 
      else
8709
 
        ld_shlibs=no
8710
 
      fi
8711
 
      ;;
8712
 
 
8713
 
    cygwin* | mingw* | pw32* | cegcc*)
8714
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8715
 
      # as there is no search path for DLLs.
8716
 
      hardcode_libdir_flag_spec='-L$libdir'
8717
 
      allow_undefined_flag=unsupported
8718
 
      always_export_symbols=no
8719
 
      enable_shared_with_static_runtimes=yes
8720
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8721
 
 
8722
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8723
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8724
 
        # If the export-symbols file already is a .def file (1st line
8725
 
        # is EXPORTS), use it as is; otherwise, prepend...
8726
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8727
 
          cp $export_symbols $output_objdir/$soname.def;
8728
 
        else
8729
 
          echo EXPORTS > $output_objdir/$soname.def;
8730
 
          cat $export_symbols >> $output_objdir/$soname.def;
8731
 
        fi~
8732
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8733
 
      else
8734
 
        ld_shlibs=no
8735
 
      fi
8736
 
      ;;
8737
 
 
8738
 
    interix[3-9]*)
8739
 
      hardcode_direct=no
8740
 
      hardcode_shlibpath_var=no
8741
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8742
 
      export_dynamic_flag_spec='${wl}-E'
8743
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8744
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8745
 
      # default) and relocated if they conflict, which is a slow very memory
8746
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8747
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8748
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8749
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8750
 
      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'
8751
 
      ;;
8752
 
 
8753
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
8754
 
      tmp_diet=no
8755
 
      if test "$host_os" = linux-dietlibc; then
8756
 
        case $cc_basename in
8757
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8758
 
        esac
8759
 
      fi
8760
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8761
 
         && test "$tmp_diet" = no
8762
 
      then
8763
 
        tmp_addflag=
8764
 
        tmp_sharedflag='-shared'
8765
 
        case $cc_basename,$host_cpu in
8766
 
        pgcc*)                          # Portland Group C compiler
8767
 
          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'
8768
 
          tmp_addflag=' $pic_flag'
8769
 
          ;;
8770
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8771
 
          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'
8772
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8773
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8774
 
          tmp_addflag=' -i_dynamic' ;;
8775
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8776
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8777
 
        ifc* | ifort*)                  # Intel Fortran compiler
8778
 
          tmp_addflag=' -nofor_main' ;;
8779
 
        lf95*)                          # Lahey Fortran 8.1
8780
 
          whole_archive_flag_spec=
8781
 
          tmp_sharedflag='--shared' ;;
8782
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8783
 
          tmp_sharedflag='-qmkshrobj'
8784
 
          tmp_addflag= ;;
8785
 
        esac
8786
 
        case `$CC -V 2>&1 | sed 5q` in
8787
 
        *Sun\ C*)                       # Sun C 5.9
8788
 
          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'
8789
 
          compiler_needs_object=yes
8790
 
          tmp_sharedflag='-G' ;;
8791
 
        *Sun\ F*)                       # Sun Fortran 8.3
8792
 
          tmp_sharedflag='-G' ;;
8793
 
        esac
8794
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8795
 
 
8796
 
        if test "x$supports_anon_versioning" = xyes; then
8797
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8798
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8799
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
8800
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8801
 
        fi
8802
 
 
8803
 
        case $cc_basename in
8804
 
        xlf*)
8805
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8806
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8807
 
          hardcode_libdir_flag_spec=
8808
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8809
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8810
 
          if test "x$supports_anon_versioning" = xyes; then
8811
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8812
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8813
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
8814
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8815
 
          fi
8816
 
          ;;
8817
 
        esac
8818
 
      else
8819
 
        ld_shlibs=no
8820
 
      fi
8821
 
      ;;
8822
 
 
8823
 
    netbsd*)
8824
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8825
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8826
 
        wlarc=
8827
 
      else
8828
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8829
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8830
 
      fi
8831
 
      ;;
8832
 
 
8833
 
    solaris*)
8834
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8835
 
        ld_shlibs=no
8836
 
        cat <<_LT_EOF 1>&2
8837
 
 
8838
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8839
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8840
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8841
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8842
 
*** your PATH or compiler configuration so that the native linker is
8843
 
*** used, and then restart.
8844
 
 
8845
 
_LT_EOF
8846
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8847
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8849
 
      else
8850
 
        ld_shlibs=no
8851
 
      fi
8852
 
      ;;
8853
 
 
8854
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8855
 
      case `$LD -v 2>&1` in
8856
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8857
 
        ld_shlibs=no
8858
 
        cat <<_LT_EOF 1>&2
8859
 
 
8860
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8861
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8862
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8863
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8864
 
*** your PATH or compiler configuration so that the native linker is
8865
 
*** used, and then restart.
8866
 
 
8867
 
_LT_EOF
8868
 
        ;;
8869
 
        *)
8870
 
          # For security reasons, it is highly recommended that you always
8871
 
          # use absolute paths for naming shared libraries, and exclude the
8872
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
8873
 
          # requires that you compile everything twice, which is a pain.
8874
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8875
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8876
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8877
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8878
 
          else
8879
 
            ld_shlibs=no
8880
 
          fi
8881
 
        ;;
8882
 
      esac
8883
 
      ;;
8884
 
 
8885
 
    sunos4*)
8886
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8887
 
      wlarc=
8888
 
      hardcode_direct=yes
8889
 
      hardcode_shlibpath_var=no
8890
 
      ;;
8891
 
 
8892
 
    *)
8893
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8894
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8896
 
      else
8897
 
        ld_shlibs=no
8898
 
      fi
8899
 
      ;;
8900
 
    esac
8901
 
 
8902
 
    if test "$ld_shlibs" = no; then
8903
 
      runpath_var=
8904
 
      hardcode_libdir_flag_spec=
8905
 
      export_dynamic_flag_spec=
8906
 
      whole_archive_flag_spec=
8907
 
    fi
8908
 
  else
8909
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8910
 
    case $host_os in
8911
 
    aix3*)
8912
 
      allow_undefined_flag=unsupported
8913
 
      always_export_symbols=yes
8914
 
      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'
8915
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8916
 
      # are no directories specified by -L.
8917
 
      hardcode_minus_L=yes
8918
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8919
 
        # Neither direct hardcoding nor static linking is supported with a
8920
 
        # broken collect2.
8921
 
        hardcode_direct=unsupported
8922
 
      fi
8923
 
      ;;
8924
 
 
8925
 
    aix[4-9]*)
8926
 
      if test "$host_cpu" = ia64; then
8927
 
        # On IA64, the linker does run time linking by default, so we don't
8928
 
        # have to do anything special.
8929
 
        aix_use_runtimelinking=no
8930
 
        exp_sym_flag='-Bexport'
8931
 
        no_entry_flag=""
8932
 
      else
8933
 
        # If we're using GNU nm, then we don't want the "-C" option.
8934
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8935
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8936
 
          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'
8937
 
        else
8938
 
          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'
8939
 
        fi
8940
 
        aix_use_runtimelinking=no
8941
 
 
8942
 
        # Test if we are trying to use run time linking or normal
8943
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8944
 
        # need to do runtime linking.
8945
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8946
 
          for ld_flag in $LDFLAGS; do
8947
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8948
 
            aix_use_runtimelinking=yes
8949
 
            break
8950
 
          fi
8951
 
          done
8952
 
          ;;
8953
 
        esac
8954
 
 
8955
 
        exp_sym_flag='-bexport'
8956
 
        no_entry_flag='-bnoentry'
8957
 
      fi
8958
 
 
8959
 
      # When large executables or shared objects are built, AIX ld can
8960
 
      # have problems creating the table of contents.  If linking a library
8961
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8962
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8963
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8964
 
 
8965
 
      archive_cmds=''
8966
 
      hardcode_direct=yes
8967
 
      hardcode_direct_absolute=yes
8968
 
      hardcode_libdir_separator=':'
8969
 
      link_all_deplibs=yes
8970
 
      file_list_spec='${wl}-f,'
8971
 
 
8972
 
      if test "$GCC" = yes; then
8973
 
        case $host_os in aix4.[012]|aix4.[012].*)
8974
 
        # We only want to do this on AIX 4.2 and lower, the check
8975
 
        # below for broken collect2 doesn't work under 4.3+
8976
 
          collect2name=`${CC} -print-prog-name=collect2`
8977
 
          if test -f "$collect2name" &&
8978
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8979
 
          then
8980
 
          # We have reworked collect2
8981
 
          :
8982
 
          else
8983
 
          # We have old collect2
8984
 
          hardcode_direct=unsupported
8985
 
          # It fails to find uninstalled libraries when the uninstalled
8986
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8987
 
          # to unsupported forces relinking
8988
 
          hardcode_minus_L=yes
8989
 
          hardcode_libdir_flag_spec='-L$libdir'
8990
 
          hardcode_libdir_separator=
8991
 
          fi
8992
 
          ;;
8993
 
        esac
8994
 
        shared_flag='-shared'
8995
 
        if test "$aix_use_runtimelinking" = yes; then
8996
 
          shared_flag="$shared_flag "'${wl}-G'
8997
 
        fi
8998
 
      else
8999
 
        # not using gcc
9000
 
        if test "$host_cpu" = ia64; then
9001
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9002
 
        # chokes on -Wl,-G. The following line is correct:
9003
 
          shared_flag='-G'
9004
 
        else
9005
 
          if test "$aix_use_runtimelinking" = yes; then
9006
 
            shared_flag='${wl}-G'
9007
 
          else
9008
 
            shared_flag='${wl}-bM:SRE'
9009
 
          fi
9010
 
        fi
9011
 
      fi
9012
 
 
9013
 
      export_dynamic_flag_spec='${wl}-bexpall'
9014
 
      # It seems that -bexpall does not export symbols beginning with
9015
 
      # underscore (_), so it is better to generate a list of symbols to export.
9016
 
      always_export_symbols=yes
9017
 
      if test "$aix_use_runtimelinking" = yes; then
9018
 
        # Warning - without using the other runtime loading flags (-brtl),
9019
 
        # -berok will link without error, but may produce a broken library.
9020
 
        allow_undefined_flag='-berok'
9021
 
        # Determine the default libpath from the value encoded in an
9022
 
        # empty executable.
9023
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024
 
/* end confdefs.h.  */
9025
 
 
9026
 
int
9027
 
main ()
9028
 
{
9029
 
 
9030
 
  ;
9031
 
  return 0;
9032
 
}
9033
 
_ACEOF
9034
 
if ac_fn_c_try_link "$LINENO"; then :
9035
 
 
9036
 
lt_aix_libpath_sed='
9037
 
    /Import File Strings/,/^$/ {
9038
 
        /^0/ {
9039
 
            s/^0  *\(.*\)$/\1/
9040
 
            p
9041
 
        }
9042
 
    }'
9043
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9044
 
# Check for a 64-bit object if we didn't find anything.
9045
 
if test -z "$aix_libpath"; then
9046
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9047
 
fi
9048
 
fi
9049
 
rm -f core conftest.err conftest.$ac_objext \
9050
 
    conftest$ac_exeext conftest.$ac_ext
9051
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9052
 
 
9053
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9054
 
        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"
9055
 
      else
9056
 
        if test "$host_cpu" = ia64; then
9057
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9058
 
          allow_undefined_flag="-z nodefs"
9059
 
          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"
9060
 
        else
9061
 
         # Determine the default libpath from the value encoded in an
9062
 
         # empty executable.
9063
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064
 
/* end confdefs.h.  */
9065
 
 
9066
 
int
9067
 
main ()
9068
 
{
9069
 
 
9070
 
  ;
9071
 
  return 0;
9072
 
}
9073
 
_ACEOF
9074
 
if ac_fn_c_try_link "$LINENO"; then :
9075
 
 
9076
 
lt_aix_libpath_sed='
9077
 
    /Import File Strings/,/^$/ {
9078
 
        /^0/ {
9079
 
            s/^0  *\(.*\)$/\1/
9080
 
            p
9081
 
        }
9082
 
    }'
9083
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9084
 
# Check for a 64-bit object if we didn't find anything.
9085
 
if test -z "$aix_libpath"; then
9086
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9087
 
fi
9088
 
fi
9089
 
rm -f core conftest.err conftest.$ac_objext \
9090
 
    conftest$ac_exeext conftest.$ac_ext
9091
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9092
 
 
9093
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9094
 
          # Warning - without using the other run time loading flags,
9095
 
          # -berok will link without error, but may produce a broken library.
9096
 
          no_undefined_flag=' ${wl}-bernotok'
9097
 
          allow_undefined_flag=' ${wl}-berok'
9098
 
          # Exported symbols can be pulled into shared objects from archives
9099
 
          whole_archive_flag_spec='$convenience'
9100
 
          archive_cmds_need_lc=yes
9101
 
          # This is similar to how AIX traditionally builds its shared libraries.
9102
 
          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'
9103
 
        fi
9104
 
      fi
9105
 
      ;;
9106
 
 
9107
 
    amigaos*)
9108
 
      case $host_cpu in
9109
 
      powerpc)
9110
 
            # see comment about AmigaOS4 .so support
9111
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112
 
            archive_expsym_cmds=''
9113
 
        ;;
9114
 
      m68k)
9115
 
            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)'
9116
 
            hardcode_libdir_flag_spec='-L$libdir'
9117
 
            hardcode_minus_L=yes
9118
 
        ;;
9119
 
      esac
9120
 
      ;;
9121
 
 
9122
 
    bsdi[45]*)
9123
 
      export_dynamic_flag_spec=-rdynamic
9124
 
      ;;
9125
 
 
9126
 
    cygwin* | mingw* | pw32* | cegcc*)
9127
 
      # When not using gcc, we currently assume that we are using
9128
 
      # Microsoft Visual C++.
9129
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9130
 
      # no search path for DLLs.
9131
 
      hardcode_libdir_flag_spec=' '
9132
 
      allow_undefined_flag=unsupported
9133
 
      # Tell ltmain to make .lib files, not .a files.
9134
 
      libext=lib
9135
 
      # Tell ltmain to make .dll files, not .so files.
9136
 
      shrext_cmds=".dll"
9137
 
      # FIXME: Setting linknames here is a bad hack.
9138
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9139
 
      # The linker will automatically build a .lib file if we build a DLL.
9140
 
      old_archive_from_new_cmds='true'
9141
 
      # FIXME: Should let the user specify the lib program.
9142
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9143
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9144
 
      enable_shared_with_static_runtimes=yes
9145
 
      ;;
9146
 
 
9147
 
    darwin* | rhapsody*)
9148
 
 
9149
 
 
9150
 
  archive_cmds_need_lc=no
9151
 
  hardcode_direct=no
9152
 
  hardcode_automatic=yes
9153
 
  hardcode_shlibpath_var=unsupported
9154
 
  whole_archive_flag_spec=''
9155
 
  link_all_deplibs=yes
9156
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9157
 
  case $cc_basename in
9158
 
     ifort*) _lt_dar_can_shared=yes ;;
9159
 
     *) _lt_dar_can_shared=$GCC ;;
9160
 
  esac
9161
 
  if test "$_lt_dar_can_shared" = "yes"; then
9162
 
    output_verbose_link_cmd=echo
9163
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9164
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9165
 
    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}"
9166
 
    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}"
9167
 
 
9168
 
  else
9169
 
  ld_shlibs=no
9170
 
  fi
9171
 
 
9172
 
      ;;
9173
 
 
9174
 
    dgux*)
9175
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9176
 
      hardcode_libdir_flag_spec='-L$libdir'
9177
 
      hardcode_shlibpath_var=no
9178
 
      ;;
9179
 
 
9180
 
    freebsd1*)
9181
 
      ld_shlibs=no
9182
 
      ;;
9183
 
 
9184
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9185
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9186
 
    # does not break anything, and helps significantly (at the cost of a little
9187
 
    # extra space).
9188
 
    freebsd2.2*)
9189
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9190
 
      hardcode_libdir_flag_spec='-R$libdir'
9191
 
      hardcode_direct=yes
9192
 
      hardcode_shlibpath_var=no
9193
 
      ;;
9194
 
 
9195
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9196
 
    freebsd2*)
9197
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9198
 
      hardcode_direct=yes
9199
 
      hardcode_minus_L=yes
9200
 
      hardcode_shlibpath_var=no
9201
 
      ;;
9202
 
 
9203
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9204
 
    freebsd* | dragonfly*)
9205
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9206
 
      hardcode_libdir_flag_spec='-R$libdir'
9207
 
      hardcode_direct=yes
9208
 
      hardcode_shlibpath_var=no
9209
 
      ;;
9210
 
 
9211
 
    hpux9*)
9212
 
      if test "$GCC" = yes; then
9213
 
        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'
9214
 
      else
9215
 
        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'
9216
 
      fi
9217
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9218
 
      hardcode_libdir_separator=:
9219
 
      hardcode_direct=yes
9220
 
 
9221
 
      # hardcode_minus_L: Not really in the search PATH,
9222
 
      # but as the default location of the library.
9223
 
      hardcode_minus_L=yes
9224
 
      export_dynamic_flag_spec='${wl}-E'
9225
 
      ;;
9226
 
 
9227
 
    hpux10*)
9228
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9229
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9230
 
      else
9231
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9232
 
      fi
9233
 
      if test "$with_gnu_ld" = no; then
9234
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9235
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9236
 
        hardcode_libdir_separator=:
9237
 
        hardcode_direct=yes
9238
 
        hardcode_direct_absolute=yes
9239
 
        export_dynamic_flag_spec='${wl}-E'
9240
 
        # hardcode_minus_L: Not really in the search PATH,
9241
 
        # but as the default location of the library.
9242
 
        hardcode_minus_L=yes
9243
 
      fi
9244
 
      ;;
9245
 
 
9246
 
    hpux11*)
9247
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9248
 
        case $host_cpu in
9249
 
        hppa*64*)
9250
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9251
 
          ;;
9252
 
        ia64*)
9253
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9254
 
          ;;
9255
 
        *)
9256
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9257
 
          ;;
9258
 
        esac
9259
 
      else
9260
 
        case $host_cpu in
9261
 
        hppa*64*)
9262
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9263
 
          ;;
9264
 
        ia64*)
9265
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9266
 
          ;;
9267
 
        *)
9268
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9269
 
          ;;
9270
 
        esac
9271
 
      fi
9272
 
      if test "$with_gnu_ld" = no; then
9273
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9274
 
        hardcode_libdir_separator=:
9275
 
 
9276
 
        case $host_cpu in
9277
 
        hppa*64*|ia64*)
9278
 
          hardcode_direct=no
9279
 
          hardcode_shlibpath_var=no
9280
 
          ;;
9281
 
        *)
9282
 
          hardcode_direct=yes
9283
 
          hardcode_direct_absolute=yes
9284
 
          export_dynamic_flag_spec='${wl}-E'
9285
 
 
9286
 
          # hardcode_minus_L: Not really in the search PATH,
9287
 
          # but as the default location of the library.
9288
 
          hardcode_minus_L=yes
9289
 
          ;;
9290
 
        esac
9291
 
      fi
9292
 
      ;;
9293
 
 
9294
 
    irix5* | irix6* | nonstopux*)
9295
 
      if test "$GCC" = yes; then
9296
 
        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'
9297
 
        # Try to use the -exported_symbol ld option, if it does not
9298
 
        # work, assume that -exports_file does not work either and
9299
 
        # implicitly export all symbols.
9300
 
        save_LDFLAGS="$LDFLAGS"
9301
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9302
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303
 
/* end confdefs.h.  */
9304
 
int foo(void) {}
9305
 
_ACEOF
9306
 
if ac_fn_c_try_link "$LINENO"; then :
9307
 
  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'
9308
 
 
9309
 
fi
9310
 
rm -f core conftest.err conftest.$ac_objext \
9311
 
    conftest$ac_exeext conftest.$ac_ext
9312
 
        LDFLAGS="$save_LDFLAGS"
9313
 
      else
9314
 
        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'
9315
 
        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'
9316
 
      fi
9317
 
      archive_cmds_need_lc='no'
9318
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9319
 
      hardcode_libdir_separator=:
9320
 
      inherit_rpath=yes
9321
 
      link_all_deplibs=yes
9322
 
      ;;
9323
 
 
9324
 
    netbsd*)
9325
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9326
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9327
 
      else
9328
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9329
 
      fi
9330
 
      hardcode_libdir_flag_spec='-R$libdir'
9331
 
      hardcode_direct=yes
9332
 
      hardcode_shlibpath_var=no
9333
 
      ;;
9334
 
 
9335
 
    newsos6)
9336
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9337
 
      hardcode_direct=yes
9338
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9339
 
      hardcode_libdir_separator=:
9340
 
      hardcode_shlibpath_var=no
9341
 
      ;;
9342
 
 
9343
 
    *nto* | *qnx*)
9344
 
      ;;
9345
 
 
9346
 
    openbsd*)
9347
 
      if test -f /usr/libexec/ld.so; then
9348
 
        hardcode_direct=yes
9349
 
        hardcode_shlibpath_var=no
9350
 
        hardcode_direct_absolute=yes
9351
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9352
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9353
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9354
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9355
 
          export_dynamic_flag_spec='${wl}-E'
9356
 
        else
9357
 
          case $host_os in
9358
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9359
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9360
 
             hardcode_libdir_flag_spec='-R$libdir'
9361
 
             ;;
9362
 
           *)
9363
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9364
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9365
 
             ;;
9366
 
          esac
9367
 
        fi
9368
 
      else
9369
 
        ld_shlibs=no
9370
 
      fi
9371
 
      ;;
9372
 
 
9373
 
    os2*)
9374
 
      hardcode_libdir_flag_spec='-L$libdir'
9375
 
      hardcode_minus_L=yes
9376
 
      allow_undefined_flag=unsupported
9377
 
      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'
9378
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9379
 
      ;;
9380
 
 
9381
 
    osf3*)
9382
 
      if test "$GCC" = yes; then
9383
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9384
 
        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'
9385
 
      else
9386
 
        allow_undefined_flag=' -expect_unresolved \*'
9387
 
        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'
9388
 
      fi
9389
 
      archive_cmds_need_lc='no'
9390
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9391
 
      hardcode_libdir_separator=:
9392
 
      ;;
9393
 
 
9394
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9395
 
      if test "$GCC" = yes; then
9396
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9397
 
        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'
9398
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9399
 
      else
9400
 
        allow_undefined_flag=' -expect_unresolved \*'
9401
 
        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'
9402
 
        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~
9403
 
        $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'
9404
 
 
9405
 
        # Both c and cxx compiler support -rpath directly
9406
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9407
 
      fi
9408
 
      archive_cmds_need_lc='no'
9409
 
      hardcode_libdir_separator=:
9410
 
      ;;
9411
 
 
9412
 
    solaris*)
9413
 
      no_undefined_flag=' -z defs'
9414
 
      if test "$GCC" = yes; then
9415
 
        wlarc='${wl}'
9416
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9417
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9418
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9419
 
      else
9420
 
        case `$CC -V 2>&1` in
9421
 
        *"Compilers 5.0"*)
9422
 
          wlarc=''
9423
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9424
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9425
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9426
 
          ;;
9427
 
        *)
9428
 
          wlarc='${wl}'
9429
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9430
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9431
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9432
 
          ;;
9433
 
        esac
9434
 
      fi
9435
 
      hardcode_libdir_flag_spec='-R$libdir'
9436
 
      hardcode_shlibpath_var=no
9437
 
      case $host_os in
9438
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9439
 
      *)
9440
 
        # The compiler driver will combine and reorder linker options,
9441
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9442
 
        # but is careful enough not to reorder.
9443
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9444
 
        if test "$GCC" = yes; then
9445
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9446
 
        else
9447
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9448
 
        fi
9449
 
        ;;
9450
 
      esac
9451
 
      link_all_deplibs=yes
9452
 
      ;;
9453
 
 
9454
 
    sunos4*)
9455
 
      if test "x$host_vendor" = xsequent; then
9456
 
        # Use $CC to link under sequent, because it throws in some extra .o
9457
 
        # files that make .init and .fini sections work.
9458
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9459
 
      else
9460
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9461
 
      fi
9462
 
      hardcode_libdir_flag_spec='-L$libdir'
9463
 
      hardcode_direct=yes
9464
 
      hardcode_minus_L=yes
9465
 
      hardcode_shlibpath_var=no
9466
 
      ;;
9467
 
 
9468
 
    sysv4)
9469
 
      case $host_vendor in
9470
 
        sni)
9471
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9472
 
          hardcode_direct=yes # is this really true???
9473
 
        ;;
9474
 
        siemens)
9475
 
          ## LD is ld it makes a PLAMLIB
9476
 
          ## CC just makes a GrossModule.
9477
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9478
 
          reload_cmds='$CC -r -o $output$reload_objs'
9479
 
          hardcode_direct=no
9480
 
        ;;
9481
 
        motorola)
9482
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9483
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9484
 
        ;;
9485
 
      esac
9486
 
      runpath_var='LD_RUN_PATH'
9487
 
      hardcode_shlibpath_var=no
9488
 
      ;;
9489
 
 
9490
 
    sysv4.3*)
9491
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9492
 
      hardcode_shlibpath_var=no
9493
 
      export_dynamic_flag_spec='-Bexport'
9494
 
      ;;
9495
 
 
9496
 
    sysv4*MP*)
9497
 
      if test -d /usr/nec; then
9498
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499
 
        hardcode_shlibpath_var=no
9500
 
        runpath_var=LD_RUN_PATH
9501
 
        hardcode_runpath_var=yes
9502
 
        ld_shlibs=yes
9503
 
      fi
9504
 
      ;;
9505
 
 
9506
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9507
 
      no_undefined_flag='${wl}-z,text'
9508
 
      archive_cmds_need_lc=no
9509
 
      hardcode_shlibpath_var=no
9510
 
      runpath_var='LD_RUN_PATH'
9511
 
 
9512
 
      if test "$GCC" = yes; then
9513
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9514
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9515
 
      else
9516
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9517
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9518
 
      fi
9519
 
      ;;
9520
 
 
9521
 
    sysv5* | sco3.2v5* | sco5v6*)
9522
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9523
 
      # link with -lc, and that would cause any symbols used from libc to
9524
 
      # always be unresolved, which means just about no library would
9525
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9526
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9527
 
      # as -z defs.
9528
 
      no_undefined_flag='${wl}-z,text'
9529
 
      allow_undefined_flag='${wl}-z,nodefs'
9530
 
      archive_cmds_need_lc=no
9531
 
      hardcode_shlibpath_var=no
9532
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9533
 
      hardcode_libdir_separator=':'
9534
 
      link_all_deplibs=yes
9535
 
      export_dynamic_flag_spec='${wl}-Bexport'
9536
 
      runpath_var='LD_RUN_PATH'
9537
 
 
9538
 
      if test "$GCC" = yes; then
9539
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9540
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9541
 
      else
9542
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9543
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9544
 
      fi
9545
 
      ;;
9546
 
 
9547
 
    uts4*)
9548
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9549
 
      hardcode_libdir_flag_spec='-L$libdir'
9550
 
      hardcode_shlibpath_var=no
9551
 
      ;;
9552
 
 
9553
 
    *)
9554
 
      ld_shlibs=no
9555
 
      ;;
9556
 
    esac
9557
 
 
9558
 
    if test x$host_vendor = xsni; then
9559
 
      case $host in
9560
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9561
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9562
 
        ;;
9563
 
      esac
9564
 
    fi
9565
 
  fi
9566
 
 
9567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9568
 
$as_echo "$ld_shlibs" >&6; }
9569
 
test "$ld_shlibs" = no && can_build_shared=no
9570
 
 
9571
 
with_gnu_ld=$with_gnu_ld
9572
 
 
9573
 
 
9574
 
 
9575
 
 
9576
 
 
9577
 
 
9578
 
 
9579
 
 
9580
 
 
9581
 
 
9582
 
 
9583
 
 
9584
 
 
9585
 
 
9586
 
 
9587
 
#
9588
 
# Do we need to explicitly link libc?
9589
 
#
9590
 
case "x$archive_cmds_need_lc" in
9591
 
x|xyes)
9592
 
  # Assume -lc should be added
9593
 
  archive_cmds_need_lc=yes
9594
 
 
9595
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9596
 
    case $archive_cmds in
9597
 
    *'~'*)
9598
 
      # FIXME: we may have to deal with multi-command sequences.
9599
 
      ;;
9600
 
    '$CC '*)
9601
 
      # Test whether the compiler implicitly links with -lc since on some
9602
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9603
 
      # to ld, don't add -lc before -lgcc.
9604
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9605
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9606
 
      $RM conftest*
9607
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9608
 
 
9609
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9610
 
  (eval $ac_compile) 2>&5
9611
 
  ac_status=$?
9612
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9613
 
  test $ac_status = 0; } 2>conftest.err; then
9614
 
        soname=conftest
9615
 
        lib=conftest
9616
 
        libobjs=conftest.$ac_objext
9617
 
        deplibs=
9618
 
        wl=$lt_prog_compiler_wl
9619
 
        pic_flag=$lt_prog_compiler_pic
9620
 
        compiler_flags=-v
9621
 
        linker_flags=-v
9622
 
        verstring=
9623
 
        output_objdir=.
9624
 
        libname=conftest
9625
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9626
 
        allow_undefined_flag=
9627
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9628
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9629
 
  ac_status=$?
9630
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9631
 
  test $ac_status = 0; }
9632
 
        then
9633
 
          archive_cmds_need_lc=no
9634
 
        else
9635
 
          archive_cmds_need_lc=yes
9636
 
        fi
9637
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9638
 
      else
9639
 
        cat conftest.err 1>&5
9640
 
      fi
9641
 
      $RM conftest*
9642
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9643
 
$as_echo "$archive_cmds_need_lc" >&6; }
9644
 
      ;;
9645
 
    esac
9646
 
  fi
9647
 
  ;;
9648
 
esac
9649
 
 
9650
 
 
9651
 
 
9652
 
 
9653
 
 
9654
 
 
9655
 
 
9656
 
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
 
9662
 
 
9663
 
 
9664
 
 
9665
 
 
9666
 
 
9667
 
 
9668
 
 
9669
 
 
9670
 
 
9671
 
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
9683
 
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
 
9689
 
 
9690
 
 
9691
 
 
9692
 
 
9693
 
 
9694
 
 
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
 
 
9700
 
 
9701
 
 
9702
 
 
9703
 
 
9704
 
 
9705
 
 
9706
 
 
9707
 
 
9708
 
 
9709
 
 
9710
 
 
9711
 
 
9712
 
 
9713
 
 
9714
 
 
9715
 
 
9716
 
 
9717
 
 
9718
 
 
9719
 
 
9720
 
 
9721
 
 
9722
 
 
9723
 
 
9724
 
 
9725
 
 
9726
 
 
9727
 
 
9728
 
 
9729
 
 
9730
 
 
9731
 
 
9732
 
 
9733
 
 
9734
 
 
9735
 
 
9736
 
 
9737
 
 
9738
 
 
9739
 
 
9740
 
 
9741
 
 
9742
 
 
9743
 
 
9744
 
 
9745
 
 
9746
 
 
9747
 
 
9748
 
 
9749
 
 
9750
 
 
9751
 
 
9752
 
 
9753
 
 
9754
 
 
9755
 
 
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
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9807
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9808
 
 
9809
 
if test "$GCC" = yes; then
9810
 
  case $host_os in
9811
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9812
 
    *) lt_awk_arg="/^libraries:/" ;;
9813
 
  esac
9814
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9815
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9816
 
    # if the path contains ";" then we assume it to be the separator
9817
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9818
 
    # assumed that no part of a normal pathname contains ";" but that should
9819
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9820
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9821
 
  else
9822
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9823
 
  fi
9824
 
  # Ok, now we have the path, separated by spaces, we can step through it
9825
 
  # and add multilib dir if necessary.
9826
 
  lt_tmp_lt_search_path_spec=
9827
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9828
 
  for lt_sys_path in $lt_search_path_spec; do
9829
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9830
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9831
 
    else
9832
 
      test -d "$lt_sys_path" && \
9833
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9834
 
    fi
9835
 
  done
9836
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9837
 
BEGIN {RS=" "; FS="/|\n";} {
9838
 
  lt_foo="";
9839
 
  lt_count=0;
9840
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9841
 
    if ($lt_i != "" && $lt_i != ".") {
9842
 
      if ($lt_i == "..") {
9843
 
        lt_count++;
9844
 
      } else {
9845
 
        if (lt_count == 0) {
9846
 
          lt_foo="/" $lt_i lt_foo;
9847
 
        } else {
9848
 
          lt_count--;
9849
 
        }
9850
 
      }
9851
 
    }
9852
 
  }
9853
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9854
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9855
 
}'`
9856
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9857
 
else
9858
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9859
 
fi
9860
 
library_names_spec=
9861
 
libname_spec='lib$name'
9862
 
soname_spec=
9863
 
shrext_cmds=".so"
9864
 
postinstall_cmds=
9865
 
postuninstall_cmds=
9866
 
finish_cmds=
9867
 
finish_eval=
9868
 
shlibpath_var=
9869
 
shlibpath_overrides_runpath=unknown
9870
 
version_type=none
9871
 
dynamic_linker="$host_os ld.so"
9872
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9873
 
need_lib_prefix=unknown
9874
 
hardcode_into_libs=no
9875
 
 
9876
 
# when you set need_version to no, make sure it does not cause -set_version
9877
 
# flags to be left without arguments
9878
 
need_version=unknown
9879
 
 
9880
 
case $host_os in
9881
 
aix3*)
9882
 
  version_type=linux
9883
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9884
 
  shlibpath_var=LIBPATH
9885
 
 
9886
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9887
 
  soname_spec='${libname}${release}${shared_ext}$major'
9888
 
  ;;
9889
 
 
9890
 
aix[4-9]*)
9891
 
  version_type=linux
9892
 
  need_lib_prefix=no
9893
 
  need_version=no
9894
 
  hardcode_into_libs=yes
9895
 
  if test "$host_cpu" = ia64; then
9896
 
    # AIX 5 supports IA64
9897
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9898
 
    shlibpath_var=LD_LIBRARY_PATH
9899
 
  else
9900
 
    # With GCC up to 2.95.x, collect2 would create an import file
9901
 
    # for dependence libraries.  The import file would start with
9902
 
    # the line `#! .'.  This would cause the generated library to
9903
 
    # depend on `.', always an invalid library.  This was fixed in
9904
 
    # development snapshots of GCC prior to 3.0.
9905
 
    case $host_os in
9906
 
      aix4 | aix4.[01] | aix4.[01].*)
9907
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9908
 
           echo ' yes '
9909
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9910
 
        :
9911
 
      else
9912
 
        can_build_shared=no
9913
 
      fi
9914
 
      ;;
9915
 
    esac
9916
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9917
 
    # soname into executable. Probably we can add versioning support to
9918
 
    # collect2, so additional links can be useful in future.
9919
 
    if test "$aix_use_runtimelinking" = yes; then
9920
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9921
 
      # instead of lib<name>.a to let people know that these are not
9922
 
      # typical AIX shared libraries.
9923
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9924
 
    else
9925
 
      # We preserve .a as extension for shared libraries through AIX4.2
9926
 
      # and later when we are not doing run time linking.
9927
 
      library_names_spec='${libname}${release}.a $libname.a'
9928
 
      soname_spec='${libname}${release}${shared_ext}$major'
9929
 
    fi
9930
 
    shlibpath_var=LIBPATH
9931
 
  fi
9932
 
  ;;
9933
 
 
9934
 
amigaos*)
9935
 
  case $host_cpu in
9936
 
  powerpc)
9937
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9938
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9939
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9940
 
    ;;
9941
 
  m68k)
9942
 
    library_names_spec='$libname.ixlibrary $libname.a'
9943
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9944
 
    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'
9945
 
    ;;
9946
 
  esac
9947
 
  ;;
9948
 
 
9949
 
beos*)
9950
 
  library_names_spec='${libname}${shared_ext}'
9951
 
  dynamic_linker="$host_os ld.so"
9952
 
  shlibpath_var=LIBRARY_PATH
9953
 
  ;;
9954
 
 
9955
 
bsdi[45]*)
9956
 
  version_type=linux
9957
 
  need_version=no
9958
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959
 
  soname_spec='${libname}${release}${shared_ext}$major'
9960
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9961
 
  shlibpath_var=LD_LIBRARY_PATH
9962
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9963
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9964
 
  # the default ld.so.conf also contains /usr/contrib/lib and
9965
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9966
 
  # libtool to hard-code these into programs
9967
 
  ;;
9968
 
 
9969
 
cygwin* | mingw* | pw32* | cegcc*)
9970
 
  version_type=windows
9971
 
  shrext_cmds=".dll"
9972
 
  need_version=no
9973
 
  need_lib_prefix=no
9974
 
 
9975
 
  case $GCC,$host_os in
9976
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9977
 
    library_names_spec='$libname.dll.a'
9978
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9979
 
    postinstall_cmds='base_file=`basename \${file}`~
9980
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9981
 
      dldir=$destdir/`dirname \$dlpath`~
9982
 
      test -d \$dldir || mkdir -p \$dldir~
9983
 
      $install_prog $dir/$dlname \$dldir/$dlname~
9984
 
      chmod a+x \$dldir/$dlname~
9985
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9986
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9987
 
      fi'
9988
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9989
 
      dlpath=$dir/\$dldll~
9990
 
       $RM \$dlpath'
9991
 
    shlibpath_overrides_runpath=yes
9992
 
 
9993
 
    case $host_os in
9994
 
    cygwin*)
9995
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9996
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9997
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9998
 
      ;;
9999
 
    mingw* | cegcc*)
10000
 
      # MinGW DLLs use traditional 'lib' prefix
10001
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10002
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10003
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10004
 
        # It is most probably a Windows format PATH printed by
10005
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10006
 
        # path with ; separators, and with drive letters. We can handle the
10007
 
        # drive letters (cygwin fileutils understands them), so leave them,
10008
 
        # especially as we might pass files found there to a mingw objdump,
10009
 
        # which wouldn't understand a cygwinified path. Ahh.
10010
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10011
 
      else
10012
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10013
 
      fi
10014
 
      ;;
10015
 
    pw32*)
10016
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10017
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10018
 
      ;;
10019
 
    esac
10020
 
    ;;
10021
 
 
10022
 
  *)
10023
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10024
 
    ;;
10025
 
  esac
10026
 
  dynamic_linker='Win32 ld.exe'
10027
 
  # FIXME: first we should search . and the directory the executable is in
10028
 
  shlibpath_var=PATH
10029
 
  ;;
10030
 
 
10031
 
darwin* | rhapsody*)
10032
 
  dynamic_linker="$host_os dyld"
10033
 
  version_type=darwin
10034
 
  need_lib_prefix=no
10035
 
  need_version=no
10036
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10037
 
  soname_spec='${libname}${release}${major}$shared_ext'
10038
 
  shlibpath_overrides_runpath=yes
10039
 
  shlibpath_var=DYLD_LIBRARY_PATH
10040
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10041
 
 
10042
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10043
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10044
 
  ;;
10045
 
 
10046
 
dgux*)
10047
 
  version_type=linux
10048
 
  need_lib_prefix=no
10049
 
  need_version=no
10050
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10051
 
  soname_spec='${libname}${release}${shared_ext}$major'
10052
 
  shlibpath_var=LD_LIBRARY_PATH
10053
 
  ;;
10054
 
 
10055
 
freebsd1*)
10056
 
  dynamic_linker=no
10057
 
  ;;
10058
 
 
10059
 
freebsd* | dragonfly*)
10060
 
  # DragonFly does not have aout.  When/if they implement a new
10061
 
  # versioning mechanism, adjust this.
10062
 
  if test -x /usr/bin/objformat; then
10063
 
    objformat=`/usr/bin/objformat`
10064
 
  else
10065
 
    case $host_os in
10066
 
    freebsd[123]*) objformat=aout ;;
10067
 
    *) objformat=elf ;;
10068
 
    esac
10069
 
  fi
10070
 
  version_type=freebsd-$objformat
10071
 
  case $version_type in
10072
 
    freebsd-elf*)
10073
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10074
 
      need_version=no
10075
 
      need_lib_prefix=no
10076
 
      ;;
10077
 
    freebsd-*)
10078
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10079
 
      need_version=yes
10080
 
      ;;
10081
 
  esac
10082
 
  shlibpath_var=LD_LIBRARY_PATH
10083
 
  case $host_os in
10084
 
  freebsd2*)
10085
 
    shlibpath_overrides_runpath=yes
10086
 
    ;;
10087
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10088
 
    shlibpath_overrides_runpath=yes
10089
 
    hardcode_into_libs=yes
10090
 
    ;;
10091
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10092
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10093
 
    shlibpath_overrides_runpath=no
10094
 
    hardcode_into_libs=yes
10095
 
    ;;
10096
 
  *) # from 4.6 on, and DragonFly
10097
 
    shlibpath_overrides_runpath=yes
10098
 
    hardcode_into_libs=yes
10099
 
    ;;
10100
 
  esac
10101
 
  ;;
10102
 
 
10103
 
gnu*)
10104
 
  version_type=linux
10105
 
  need_lib_prefix=no
10106
 
  need_version=no
10107
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10108
 
  soname_spec='${libname}${release}${shared_ext}$major'
10109
 
  shlibpath_var=LD_LIBRARY_PATH
10110
 
  hardcode_into_libs=yes
10111
 
  ;;
10112
 
 
10113
 
hpux9* | hpux10* | hpux11*)
10114
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10115
 
  # link against other versions.
10116
 
  version_type=sunos
10117
 
  need_lib_prefix=no
10118
 
  need_version=no
10119
 
  case $host_cpu in
10120
 
  ia64*)
10121
 
    shrext_cmds='.so'
10122
 
    hardcode_into_libs=yes
10123
 
    dynamic_linker="$host_os dld.so"
10124
 
    shlibpath_var=LD_LIBRARY_PATH
10125
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10126
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10127
 
    soname_spec='${libname}${release}${shared_ext}$major'
10128
 
    if test "X$HPUX_IA64_MODE" = X32; then
10129
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10130
 
    else
10131
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10132
 
    fi
10133
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10134
 
    ;;
10135
 
  hppa*64*)
10136
 
    shrext_cmds='.sl'
10137
 
    hardcode_into_libs=yes
10138
 
    dynamic_linker="$host_os dld.sl"
10139
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10140
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10141
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142
 
    soname_spec='${libname}${release}${shared_ext}$major'
10143
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10144
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10145
 
    ;;
10146
 
  *)
10147
 
    shrext_cmds='.sl'
10148
 
    dynamic_linker="$host_os dld.sl"
10149
 
    shlibpath_var=SHLIB_PATH
10150
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10151
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10152
 
    soname_spec='${libname}${release}${shared_ext}$major'
10153
 
    ;;
10154
 
  esac
10155
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10156
 
  postinstall_cmds='chmod 555 $lib'
10157
 
  ;;
10158
 
 
10159
 
interix[3-9]*)
10160
 
  version_type=linux
10161
 
  need_lib_prefix=no
10162
 
  need_version=no
10163
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10164
 
  soname_spec='${libname}${release}${shared_ext}$major'
10165
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10166
 
  shlibpath_var=LD_LIBRARY_PATH
10167
 
  shlibpath_overrides_runpath=no
10168
 
  hardcode_into_libs=yes
10169
 
  ;;
10170
 
 
10171
 
irix5* | irix6* | nonstopux*)
10172
 
  case $host_os in
10173
 
    nonstopux*) version_type=nonstopux ;;
10174
 
    *)
10175
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10176
 
                version_type=linux
10177
 
        else
10178
 
                version_type=irix
10179
 
        fi ;;
10180
 
  esac
10181
 
  need_lib_prefix=no
10182
 
  need_version=no
10183
 
  soname_spec='${libname}${release}${shared_ext}$major'
10184
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10185
 
  case $host_os in
10186
 
  irix5* | nonstopux*)
10187
 
    libsuff= shlibsuff=
10188
 
    ;;
10189
 
  *)
10190
 
    case $LD in # libtool.m4 will add one of these switches to LD
10191
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10192
 
      libsuff= shlibsuff= libmagic=32-bit;;
10193
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10194
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10195
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10196
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10197
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10198
 
    esac
10199
 
    ;;
10200
 
  esac
10201
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10202
 
  shlibpath_overrides_runpath=no
10203
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10204
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10205
 
  hardcode_into_libs=yes
10206
 
  ;;
10207
 
 
10208
 
# No shared lib support for Linux oldld, aout, or coff.
10209
 
linux*oldld* | linux*aout* | linux*coff*)
10210
 
  dynamic_linker=no
10211
 
  ;;
10212
 
 
10213
 
# This must be Linux ELF.
10214
 
linux* | k*bsd*-gnu)
10215
 
  version_type=linux
10216
 
  need_lib_prefix=no
10217
 
  need_version=no
10218
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219
 
  soname_spec='${libname}${release}${shared_ext}$major'
10220
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10221
 
  shlibpath_var=LD_LIBRARY_PATH
10222
 
  shlibpath_overrides_runpath=no
10223
 
  # Some binutils ld are patched to set DT_RUNPATH
10224
 
  save_LDFLAGS=$LDFLAGS
10225
 
  save_libdir=$libdir
10226
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10227
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10228
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229
 
/* end confdefs.h.  */
10230
 
 
10231
 
int
10232
 
main ()
10233
 
{
10234
 
 
10235
 
  ;
10236
 
  return 0;
10237
 
}
10238
 
_ACEOF
10239
 
if ac_fn_c_try_link "$LINENO"; then :
10240
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10241
 
  shlibpath_overrides_runpath=yes
10242
 
fi
10243
 
fi
10244
 
rm -f core conftest.err conftest.$ac_objext \
10245
 
    conftest$ac_exeext conftest.$ac_ext
10246
 
  LDFLAGS=$save_LDFLAGS
10247
 
  libdir=$save_libdir
10248
 
 
10249
 
  # This implies no fast_install, which is unacceptable.
10250
 
  # Some rework will be needed to allow for fast_install
10251
 
  # before this can be enabled.
10252
 
  hardcode_into_libs=yes
10253
 
 
10254
 
  # Append ld.so.conf contents to the search path
10255
 
  if test -f /etc/ld.so.conf; then
10256
 
    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' ' '`
10257
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10258
 
  fi
10259
 
 
10260
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10261
 
  # powerpc, because MkLinux only supported shared libraries with the
10262
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10263
 
  # most powerpc-linux boxes support dynamic linking these days and
10264
 
  # people can always --disable-shared, the test was removed, and we
10265
 
  # assume the GNU/Linux dynamic linker is in use.
10266
 
  dynamic_linker='GNU/Linux ld.so'
10267
 
  ;;
10268
 
 
10269
 
netbsd*)
10270
 
  version_type=sunos
10271
 
  need_lib_prefix=no
10272
 
  need_version=no
10273
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10274
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10275
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10276
 
    dynamic_linker='NetBSD (a.out) ld.so'
10277
 
  else
10278
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10279
 
    soname_spec='${libname}${release}${shared_ext}$major'
10280
 
    dynamic_linker='NetBSD ld.elf_so'
10281
 
  fi
10282
 
  shlibpath_var=LD_LIBRARY_PATH
10283
 
  shlibpath_overrides_runpath=yes
10284
 
  hardcode_into_libs=yes
10285
 
  ;;
10286
 
 
10287
 
newsos6)
10288
 
  version_type=linux
10289
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290
 
  shlibpath_var=LD_LIBRARY_PATH
10291
 
  shlibpath_overrides_runpath=yes
10292
 
  ;;
10293
 
 
10294
 
*nto* | *qnx*)
10295
 
  version_type=qnx
10296
 
  need_lib_prefix=no
10297
 
  need_version=no
10298
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299
 
  soname_spec='${libname}${release}${shared_ext}$major'
10300
 
  shlibpath_var=LD_LIBRARY_PATH
10301
 
  shlibpath_overrides_runpath=no
10302
 
  hardcode_into_libs=yes
10303
 
  dynamic_linker='ldqnx.so'
10304
 
  ;;
10305
 
 
10306
 
openbsd*)
10307
 
  version_type=sunos
10308
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10309
 
  need_lib_prefix=no
10310
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10311
 
  case $host_os in
10312
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10313
 
    *)                          need_version=no  ;;
10314
 
  esac
10315
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10316
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10317
 
  shlibpath_var=LD_LIBRARY_PATH
10318
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10319
 
    case $host_os in
10320
 
      openbsd2.[89] | openbsd2.[89].*)
10321
 
        shlibpath_overrides_runpath=no
10322
 
        ;;
10323
 
      *)
10324
 
        shlibpath_overrides_runpath=yes
10325
 
        ;;
10326
 
      esac
10327
 
  else
10328
 
    shlibpath_overrides_runpath=yes
10329
 
  fi
10330
 
  ;;
10331
 
 
10332
 
os2*)
10333
 
  libname_spec='$name'
10334
 
  shrext_cmds=".dll"
10335
 
  need_lib_prefix=no
10336
 
  library_names_spec='$libname${shared_ext} $libname.a'
10337
 
  dynamic_linker='OS/2 ld.exe'
10338
 
  shlibpath_var=LIBPATH
10339
 
  ;;
10340
 
 
10341
 
osf3* | osf4* | osf5*)
10342
 
  version_type=osf
10343
 
  need_lib_prefix=no
10344
 
  need_version=no
10345
 
  soname_spec='${libname}${release}${shared_ext}$major'
10346
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347
 
  shlibpath_var=LD_LIBRARY_PATH
10348
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10349
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10350
 
  ;;
10351
 
 
10352
 
rdos*)
10353
 
  dynamic_linker=no
10354
 
  ;;
10355
 
 
10356
 
solaris*)
10357
 
  version_type=linux
10358
 
  need_lib_prefix=no
10359
 
  need_version=no
10360
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361
 
  soname_spec='${libname}${release}${shared_ext}$major'
10362
 
  shlibpath_var=LD_LIBRARY_PATH
10363
 
  shlibpath_overrides_runpath=yes
10364
 
  hardcode_into_libs=yes
10365
 
  # ldd complains unless libraries are executable
10366
 
  postinstall_cmds='chmod +x $lib'
10367
 
  ;;
10368
 
 
10369
 
sunos4*)
10370
 
  version_type=sunos
10371
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10372
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10373
 
  shlibpath_var=LD_LIBRARY_PATH
10374
 
  shlibpath_overrides_runpath=yes
10375
 
  if test "$with_gnu_ld" = yes; then
10376
 
    need_lib_prefix=no
10377
 
  fi
10378
 
  need_version=yes
10379
 
  ;;
10380
 
 
10381
 
sysv4 | sysv4.3*)
10382
 
  version_type=linux
10383
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10384
 
  soname_spec='${libname}${release}${shared_ext}$major'
10385
 
  shlibpath_var=LD_LIBRARY_PATH
10386
 
  case $host_vendor in
10387
 
    sni)
10388
 
      shlibpath_overrides_runpath=no
10389
 
      need_lib_prefix=no
10390
 
      runpath_var=LD_RUN_PATH
10391
 
      ;;
10392
 
    siemens)
10393
 
      need_lib_prefix=no
10394
 
      ;;
10395
 
    motorola)
10396
 
      need_lib_prefix=no
10397
 
      need_version=no
10398
 
      shlibpath_overrides_runpath=no
10399
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10400
 
      ;;
10401
 
  esac
10402
 
  ;;
10403
 
 
10404
 
sysv4*MP*)
10405
 
  if test -d /usr/nec ;then
10406
 
    version_type=linux
10407
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10408
 
    soname_spec='$libname${shared_ext}.$major'
10409
 
    shlibpath_var=LD_LIBRARY_PATH
10410
 
  fi
10411
 
  ;;
10412
 
 
10413
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10414
 
  version_type=freebsd-elf
10415
 
  need_lib_prefix=no
10416
 
  need_version=no
10417
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10418
 
  soname_spec='${libname}${release}${shared_ext}$major'
10419
 
  shlibpath_var=LD_LIBRARY_PATH
10420
 
  shlibpath_overrides_runpath=yes
10421
 
  hardcode_into_libs=yes
10422
 
  if test "$with_gnu_ld" = yes; then
10423
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10424
 
  else
10425
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10426
 
    case $host_os in
10427
 
      sco3.2v5*)
10428
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10429
 
        ;;
10430
 
    esac
10431
 
  fi
10432
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10433
 
  ;;
10434
 
 
10435
 
tpf*)
10436
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10437
 
  version_type=linux
10438
 
  need_lib_prefix=no
10439
 
  need_version=no
10440
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10441
 
  shlibpath_var=LD_LIBRARY_PATH
10442
 
  shlibpath_overrides_runpath=no
10443
 
  hardcode_into_libs=yes
10444
 
  ;;
10445
 
 
10446
 
uts4*)
10447
 
  version_type=linux
10448
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449
 
  soname_spec='${libname}${release}${shared_ext}$major'
10450
 
  shlibpath_var=LD_LIBRARY_PATH
10451
 
  ;;
10452
 
 
10453
 
*)
10454
 
  dynamic_linker=no
10455
 
  ;;
10456
 
esac
10457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10458
 
$as_echo "$dynamic_linker" >&6; }
10459
 
test "$dynamic_linker" = no && can_build_shared=no
10460
 
 
10461
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10462
 
if test "$GCC" = yes; then
10463
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10464
 
fi
10465
 
 
10466
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10467
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10468
 
fi
10469
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10470
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10471
 
fi
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
 
 
10552
 
 
10553
 
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10560
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10561
 
hardcode_action=
10562
 
if test -n "$hardcode_libdir_flag_spec" ||
10563
 
   test -n "$runpath_var" ||
10564
 
   test "X$hardcode_automatic" = "Xyes" ; then
10565
 
 
10566
 
  # We can hardcode non-existent directories.
10567
 
  if test "$hardcode_direct" != no &&
10568
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10569
 
     # have to relink, otherwise we might link with an installed library
10570
 
     # when we should be linking with a yet-to-be-installed one
10571
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10572
 
     test "$hardcode_minus_L" != no; then
10573
 
    # Linking always hardcodes the temporary library directory.
10574
 
    hardcode_action=relink
10575
 
  else
10576
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10577
 
    hardcode_action=immediate
10578
 
  fi
10579
 
else
10580
 
  # We cannot hardcode anything, or else we can only hardcode existing
10581
 
  # directories.
10582
 
  hardcode_action=unsupported
10583
 
fi
10584
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10585
 
$as_echo "$hardcode_action" >&6; }
10586
 
 
10587
 
if test "$hardcode_action" = relink ||
10588
 
   test "$inherit_rpath" = yes; then
10589
 
  # Fast installation is not supported
10590
 
  enable_fast_install=no
10591
 
elif test "$shlibpath_overrides_runpath" = yes ||
10592
 
     test "$enable_shared" = no; then
10593
 
  # Fast installation is not necessary
10594
 
  enable_fast_install=needless
10595
 
fi
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
  if test "x$enable_dlopen" != xyes; then
10603
 
  enable_dlopen=unknown
10604
 
  enable_dlopen_self=unknown
10605
 
  enable_dlopen_self_static=unknown
10606
 
else
10607
 
  lt_cv_dlopen=no
10608
 
  lt_cv_dlopen_libs=
10609
 
 
10610
 
  case $host_os in
10611
 
  beos*)
10612
 
    lt_cv_dlopen="load_add_on"
10613
 
    lt_cv_dlopen_libs=
10614
 
    lt_cv_dlopen_self=yes
10615
 
    ;;
10616
 
 
10617
 
  mingw* | pw32* | cegcc*)
10618
 
    lt_cv_dlopen="LoadLibrary"
10619
 
    lt_cv_dlopen_libs=
10620
 
    ;;
10621
 
 
10622
 
  cygwin*)
10623
 
    lt_cv_dlopen="dlopen"
10624
 
    lt_cv_dlopen_libs=
10625
 
    ;;
10626
 
 
10627
 
  darwin*)
10628
 
  # if libdl is installed we need to link against it
10629
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10630
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10631
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10632
 
  $as_echo_n "(cached) " >&6
10633
 
else
10634
 
  ac_check_lib_save_LIBS=$LIBS
10635
 
LIBS="-ldl  $LIBS"
10636
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637
 
/* end confdefs.h.  */
10638
 
 
10639
 
/* Override any GCC internal prototype to avoid an error.
10640
 
   Use char because int might match the return type of a GCC
10641
 
   builtin and then its argument prototype would still apply.  */
10642
 
#ifdef __cplusplus
10643
 
extern "C"
10644
 
#endif
10645
 
char dlopen ();
10646
 
int
10647
 
main ()
10648
 
{
10649
 
return dlopen ();
10650
 
  ;
10651
 
  return 0;
10652
 
}
10653
 
_ACEOF
10654
 
if ac_fn_c_try_link "$LINENO"; then :
10655
 
  ac_cv_lib_dl_dlopen=yes
10656
 
else
10657
 
  ac_cv_lib_dl_dlopen=no
10658
 
fi
10659
 
rm -f core conftest.err conftest.$ac_objext \
10660
 
    conftest$ac_exeext conftest.$ac_ext
10661
 
LIBS=$ac_check_lib_save_LIBS
10662
 
fi
10663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10664
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10665
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10666
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10667
 
else
10668
 
 
10669
 
    lt_cv_dlopen="dyld"
10670
 
    lt_cv_dlopen_libs=
10671
 
    lt_cv_dlopen_self=yes
10672
 
 
10673
 
fi
10674
 
 
10675
 
    ;;
10676
 
 
10677
 
  *)
10678
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10679
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
10680
 
  lt_cv_dlopen="shl_load"
10681
 
else
10682
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10683
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10684
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10685
 
  $as_echo_n "(cached) " >&6
10686
 
else
10687
 
  ac_check_lib_save_LIBS=$LIBS
10688
 
LIBS="-ldld  $LIBS"
10689
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690
 
/* end confdefs.h.  */
10691
 
 
10692
 
/* Override any GCC internal prototype to avoid an error.
10693
 
   Use char because int might match the return type of a GCC
10694
 
   builtin and then its argument prototype would still apply.  */
10695
 
#ifdef __cplusplus
10696
 
extern "C"
10697
 
#endif
10698
 
char shl_load ();
10699
 
int
10700
 
main ()
10701
 
{
10702
 
return shl_load ();
10703
 
  ;
10704
 
  return 0;
10705
 
}
10706
 
_ACEOF
10707
 
if ac_fn_c_try_link "$LINENO"; then :
10708
 
  ac_cv_lib_dld_shl_load=yes
10709
 
else
10710
 
  ac_cv_lib_dld_shl_load=no
10711
 
fi
10712
 
rm -f core conftest.err conftest.$ac_objext \
10713
 
    conftest$ac_exeext conftest.$ac_ext
10714
 
LIBS=$ac_check_lib_save_LIBS
10715
 
fi
10716
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10717
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10718
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10719
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10720
 
else
10721
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10722
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
10723
 
  lt_cv_dlopen="dlopen"
10724
 
else
10725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10726
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10727
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10728
 
  $as_echo_n "(cached) " >&6
10729
 
else
10730
 
  ac_check_lib_save_LIBS=$LIBS
10731
 
LIBS="-ldl  $LIBS"
10732
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733
 
/* end confdefs.h.  */
10734
 
 
10735
 
/* Override any GCC internal prototype to avoid an error.
10736
 
   Use char because int might match the return type of a GCC
10737
 
   builtin and then its argument prototype would still apply.  */
10738
 
#ifdef __cplusplus
10739
 
extern "C"
10740
 
#endif
10741
 
char dlopen ();
10742
 
int
10743
 
main ()
10744
 
{
10745
 
return dlopen ();
10746
 
  ;
10747
 
  return 0;
10748
 
}
10749
 
_ACEOF
10750
 
if ac_fn_c_try_link "$LINENO"; then :
10751
 
  ac_cv_lib_dl_dlopen=yes
10752
 
else
10753
 
  ac_cv_lib_dl_dlopen=no
10754
 
fi
10755
 
rm -f core conftest.err conftest.$ac_objext \
10756
 
    conftest$ac_exeext conftest.$ac_ext
10757
 
LIBS=$ac_check_lib_save_LIBS
10758
 
fi
10759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10760
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10761
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10762
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10763
 
else
10764
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10765
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10766
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10767
 
  $as_echo_n "(cached) " >&6
10768
 
else
10769
 
  ac_check_lib_save_LIBS=$LIBS
10770
 
LIBS="-lsvld  $LIBS"
10771
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772
 
/* end confdefs.h.  */
10773
 
 
10774
 
/* Override any GCC internal prototype to avoid an error.
10775
 
   Use char because int might match the return type of a GCC
10776
 
   builtin and then its argument prototype would still apply.  */
10777
 
#ifdef __cplusplus
10778
 
extern "C"
10779
 
#endif
10780
 
char dlopen ();
10781
 
int
10782
 
main ()
10783
 
{
10784
 
return dlopen ();
10785
 
  ;
10786
 
  return 0;
10787
 
}
10788
 
_ACEOF
10789
 
if ac_fn_c_try_link "$LINENO"; then :
10790
 
  ac_cv_lib_svld_dlopen=yes
10791
 
else
10792
 
  ac_cv_lib_svld_dlopen=no
10793
 
fi
10794
 
rm -f core conftest.err conftest.$ac_objext \
10795
 
    conftest$ac_exeext conftest.$ac_ext
10796
 
LIBS=$ac_check_lib_save_LIBS
10797
 
fi
10798
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10799
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10800
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10801
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10802
 
else
10803
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10804
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10805
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10806
 
  $as_echo_n "(cached) " >&6
10807
 
else
10808
 
  ac_check_lib_save_LIBS=$LIBS
10809
 
LIBS="-ldld  $LIBS"
10810
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811
 
/* end confdefs.h.  */
10812
 
 
10813
 
/* Override any GCC internal prototype to avoid an error.
10814
 
   Use char because int might match the return type of a GCC
10815
 
   builtin and then its argument prototype would still apply.  */
10816
 
#ifdef __cplusplus
10817
 
extern "C"
10818
 
#endif
10819
 
char dld_link ();
10820
 
int
10821
 
main ()
10822
 
{
10823
 
return dld_link ();
10824
 
  ;
10825
 
  return 0;
10826
 
}
10827
 
_ACEOF
10828
 
if ac_fn_c_try_link "$LINENO"; then :
10829
 
  ac_cv_lib_dld_dld_link=yes
10830
 
else
10831
 
  ac_cv_lib_dld_dld_link=no
10832
 
fi
10833
 
rm -f core conftest.err conftest.$ac_objext \
10834
 
    conftest$ac_exeext conftest.$ac_ext
10835
 
LIBS=$ac_check_lib_save_LIBS
10836
 
fi
10837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10838
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10839
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10840
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10841
 
fi
10842
 
 
10843
 
 
10844
 
fi
10845
 
 
10846
 
 
10847
 
fi
10848
 
 
10849
 
 
10850
 
fi
10851
 
 
10852
 
 
10853
 
fi
10854
 
 
10855
 
 
10856
 
fi
10857
 
 
10858
 
    ;;
10859
 
  esac
10860
 
 
10861
 
  if test "x$lt_cv_dlopen" != xno; then
10862
 
    enable_dlopen=yes
10863
 
  else
10864
 
    enable_dlopen=no
10865
 
  fi
10866
 
 
10867
 
  case $lt_cv_dlopen in
10868
 
  dlopen)
10869
 
    save_CPPFLAGS="$CPPFLAGS"
10870
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10871
 
 
10872
 
    save_LDFLAGS="$LDFLAGS"
10873
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10874
 
 
10875
 
    save_LIBS="$LIBS"
10876
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10877
 
 
10878
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10879
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10880
 
if test "${lt_cv_dlopen_self+set}" = set; then :
10881
 
  $as_echo_n "(cached) " >&6
10882
 
else
10883
 
          if test "$cross_compiling" = yes; then :
10884
 
  lt_cv_dlopen_self=cross
10885
 
else
10886
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10887
 
  lt_status=$lt_dlunknown
10888
 
  cat > conftest.$ac_ext <<_LT_EOF
10889
 
#line 10889 "configure"
10890
 
#include "confdefs.h"
10891
 
 
10892
 
#if HAVE_DLFCN_H
10893
 
#include <dlfcn.h>
10894
 
#endif
10895
 
 
10896
 
#include <stdio.h>
10897
 
 
10898
 
#ifdef RTLD_GLOBAL
10899
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10900
 
#else
10901
 
#  ifdef DL_GLOBAL
10902
 
#    define LT_DLGLOBAL         DL_GLOBAL
10903
 
#  else
10904
 
#    define LT_DLGLOBAL         0
10905
 
#  endif
10906
 
#endif
10907
 
 
10908
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10909
 
   find out it does not work in some platform. */
10910
 
#ifndef LT_DLLAZY_OR_NOW
10911
 
#  ifdef RTLD_LAZY
10912
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10913
 
#  else
10914
 
#    ifdef DL_LAZY
10915
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10916
 
#    else
10917
 
#      ifdef RTLD_NOW
10918
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10919
 
#      else
10920
 
#        ifdef DL_NOW
10921
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10922
 
#        else
10923
 
#          define LT_DLLAZY_OR_NOW      0
10924
 
#        endif
10925
 
#      endif
10926
 
#    endif
10927
 
#  endif
10928
 
#endif
10929
 
 
10930
 
void fnord() { int i=42;}
10931
 
int main ()
10932
 
{
10933
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10934
 
  int status = $lt_dlunknown;
10935
 
 
10936
 
  if (self)
10937
 
    {
10938
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10939
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10940
 
      /* dlclose (self); */
10941
 
    }
10942
 
  else
10943
 
    puts (dlerror ());
10944
 
 
10945
 
  return status;
10946
 
}
10947
 
_LT_EOF
10948
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10949
 
  (eval $ac_link) 2>&5
10950
 
  ac_status=$?
10951
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10952
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10953
 
    (./conftest; exit; ) >&5 2>/dev/null
10954
 
    lt_status=$?
10955
 
    case x$lt_status in
10956
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10957
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10958
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10959
 
    esac
10960
 
  else :
10961
 
    # compilation failed
10962
 
    lt_cv_dlopen_self=no
10963
 
  fi
10964
 
fi
10965
 
rm -fr conftest*
10966
 
 
10967
 
 
10968
 
fi
10969
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10970
 
$as_echo "$lt_cv_dlopen_self" >&6; }
10971
 
 
10972
 
    if test "x$lt_cv_dlopen_self" = xyes; then
10973
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10974
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10975
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10976
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10977
 
  $as_echo_n "(cached) " >&6
10978
 
else
10979
 
          if test "$cross_compiling" = yes; then :
10980
 
  lt_cv_dlopen_self_static=cross
10981
 
else
10982
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10983
 
  lt_status=$lt_dlunknown
10984
 
  cat > conftest.$ac_ext <<_LT_EOF
10985
 
#line 10985 "configure"
10986
 
#include "confdefs.h"
10987
 
 
10988
 
#if HAVE_DLFCN_H
10989
 
#include <dlfcn.h>
10990
 
#endif
10991
 
 
10992
 
#include <stdio.h>
10993
 
 
10994
 
#ifdef RTLD_GLOBAL
10995
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10996
 
#else
10997
 
#  ifdef DL_GLOBAL
10998
 
#    define LT_DLGLOBAL         DL_GLOBAL
10999
 
#  else
11000
 
#    define LT_DLGLOBAL         0
11001
 
#  endif
11002
 
#endif
11003
 
 
11004
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11005
 
   find out it does not work in some platform. */
11006
 
#ifndef LT_DLLAZY_OR_NOW
11007
 
#  ifdef RTLD_LAZY
11008
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11009
 
#  else
11010
 
#    ifdef DL_LAZY
11011
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11012
 
#    else
11013
 
#      ifdef RTLD_NOW
11014
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11015
 
#      else
11016
 
#        ifdef DL_NOW
11017
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11018
 
#        else
11019
 
#          define LT_DLLAZY_OR_NOW      0
11020
 
#        endif
11021
 
#      endif
11022
 
#    endif
11023
 
#  endif
11024
 
#endif
11025
 
 
11026
 
void fnord() { int i=42;}
11027
 
int main ()
11028
 
{
11029
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11030
 
  int status = $lt_dlunknown;
11031
 
 
11032
 
  if (self)
11033
 
    {
11034
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11035
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11036
 
      /* dlclose (self); */
11037
 
    }
11038
 
  else
11039
 
    puts (dlerror ());
11040
 
 
11041
 
  return status;
11042
 
}
11043
 
_LT_EOF
11044
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11045
 
  (eval $ac_link) 2>&5
11046
 
  ac_status=$?
11047
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11048
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11049
 
    (./conftest; exit; ) >&5 2>/dev/null
11050
 
    lt_status=$?
11051
 
    case x$lt_status in
11052
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11053
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11054
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11055
 
    esac
11056
 
  else :
11057
 
    # compilation failed
11058
 
    lt_cv_dlopen_self_static=no
11059
 
  fi
11060
 
fi
11061
 
rm -fr conftest*
11062
 
 
11063
 
 
11064
 
fi
11065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11066
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11067
 
    fi
11068
 
 
11069
 
    CPPFLAGS="$save_CPPFLAGS"
11070
 
    LDFLAGS="$save_LDFLAGS"
11071
 
    LIBS="$save_LIBS"
11072
 
    ;;
11073
 
  esac
11074
 
 
11075
 
  case $lt_cv_dlopen_self in
11076
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11077
 
  *) enable_dlopen_self=unknown ;;
11078
 
  esac
11079
 
 
11080
 
  case $lt_cv_dlopen_self_static in
11081
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11082
 
  *) enable_dlopen_self_static=unknown ;;
11083
 
  esac
11084
 
fi
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
striplib=
11103
 
old_striplib=
11104
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11105
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11106
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11107
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11108
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11109
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11110
 
$as_echo "yes" >&6; }
11111
 
else
11112
 
# FIXME - insert some real tests, host_os isn't really good enough
11113
 
  case $host_os in
11114
 
  darwin*)
11115
 
    if test -n "$STRIP" ; then
11116
 
      striplib="$STRIP -x"
11117
 
      old_striplib="$STRIP -S"
11118
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11119
 
$as_echo "yes" >&6; }
11120
 
    else
11121
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11122
 
$as_echo "no" >&6; }
11123
 
    fi
11124
 
    ;;
11125
 
  *)
11126
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11127
 
$as_echo "no" >&6; }
11128
 
    ;;
11129
 
  esac
11130
 
fi
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
  # Report which library types will actually be built
11144
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11145
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11146
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11147
 
$as_echo "$can_build_shared" >&6; }
11148
 
 
11149
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11150
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11151
 
  test "$can_build_shared" = "no" && enable_shared=no
11152
 
 
11153
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11154
 
  # are all built from PIC.
11155
 
  case $host_os in
11156
 
  aix3*)
11157
 
    test "$enable_shared" = yes && enable_static=no
11158
 
    if test -n "$RANLIB"; then
11159
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11160
 
      postinstall_cmds='$RANLIB $lib'
11161
 
    fi
11162
 
    ;;
11163
 
 
11164
 
  aix[4-9]*)
11165
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11166
 
      test "$enable_shared" = yes && enable_static=no
11167
 
    fi
11168
 
    ;;
11169
 
  esac
11170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11171
 
$as_echo "$enable_shared" >&6; }
11172
 
 
11173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11174
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11175
 
  # Make sure either enable_shared or enable_static is yes.
11176
 
  test "$enable_shared" = yes || enable_static=yes
11177
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11178
 
$as_echo "$enable_static" >&6; }
11179
 
 
11180
 
 
11181
 
 
11182
 
 
11183
 
fi
11184
 
ac_ext=c
11185
 
ac_cpp='$CPP $CPPFLAGS'
11186
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11187
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11188
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11189
 
 
11190
 
CC="$lt_save_CC"
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
 
 
11202
 
 
11203
 
 
11204
 
        ac_config_commands="$ac_config_commands libtool"
11205
 
 
11206
 
 
11207
 
 
11208
 
 
11209
 
# Only expand once:
11210
 
 
11211
 
 
11212
 
ac_ext=c
11213
 
ac_cpp='$CPP $CPPFLAGS'
11214
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11215
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11216
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11217
 
if test -n "$ac_tool_prefix"; then
11218
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11219
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11220
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11221
 
$as_echo_n "checking for $ac_word... " >&6; }
11222
 
if test "${ac_cv_prog_CC+set}" = set; then :
11223
 
  $as_echo_n "(cached) " >&6
11224
 
else
11225
 
  if test -n "$CC"; then
11226
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11227
 
else
11228
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11229
 
for as_dir in $PATH
11230
 
do
11231
 
  IFS=$as_save_IFS
11232
 
  test -z "$as_dir" && as_dir=.
11233
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11234
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11235
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
11236
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11237
 
    break 2
11238
 
  fi
11239
 
done
11240
 
  done
11241
 
IFS=$as_save_IFS
11242
 
 
11243
 
fi
11244
 
fi
11245
 
CC=$ac_cv_prog_CC
11246
 
if test -n "$CC"; then
11247
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11248
 
$as_echo "$CC" >&6; }
11249
 
else
11250
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251
 
$as_echo "no" >&6; }
11252
 
fi
11253
 
 
11254
 
 
11255
 
fi
11256
 
if test -z "$ac_cv_prog_CC"; then
11257
 
  ac_ct_CC=$CC
11258
 
  # Extract the first word of "gcc", so it can be a program name with args.
11259
 
set dummy gcc; ac_word=$2
11260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11261
 
$as_echo_n "checking for $ac_word... " >&6; }
11262
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11263
 
  $as_echo_n "(cached) " >&6
11264
 
else
11265
 
  if test -n "$ac_ct_CC"; then
11266
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11267
 
else
11268
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11269
 
for as_dir in $PATH
11270
 
do
11271
 
  IFS=$as_save_IFS
11272
 
  test -z "$as_dir" && as_dir=.
11273
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11274
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11275
 
    ac_cv_prog_ac_ct_CC="gcc"
11276
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11277
 
    break 2
11278
 
  fi
11279
 
done
11280
 
  done
11281
 
IFS=$as_save_IFS
11282
 
 
11283
 
fi
11284
 
fi
11285
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11286
 
if test -n "$ac_ct_CC"; then
11287
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11288
 
$as_echo "$ac_ct_CC" >&6; }
11289
 
else
11290
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291
 
$as_echo "no" >&6; }
11292
 
fi
11293
 
 
11294
 
  if test "x$ac_ct_CC" = x; then
11295
 
    CC=""
11296
 
  else
11297
 
    case $cross_compiling:$ac_tool_warned in
11298
 
yes:)
11299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11300
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11301
 
ac_tool_warned=yes ;;
11302
 
esac
11303
 
    CC=$ac_ct_CC
11304
 
  fi
11305
 
else
11306
 
  CC="$ac_cv_prog_CC"
11307
 
fi
11308
 
 
11309
 
if test -z "$CC"; then
11310
 
          if test -n "$ac_tool_prefix"; then
11311
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11312
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
11313
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11314
 
$as_echo_n "checking for $ac_word... " >&6; }
11315
 
if test "${ac_cv_prog_CC+set}" = set; then :
11316
 
  $as_echo_n "(cached) " >&6
11317
 
else
11318
 
  if test -n "$CC"; then
11319
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11320
 
else
11321
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11322
 
for as_dir in $PATH
11323
 
do
11324
 
  IFS=$as_save_IFS
11325
 
  test -z "$as_dir" && as_dir=.
11326
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11327
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11328
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
11329
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11330
 
    break 2
11331
 
  fi
11332
 
done
11333
 
  done
11334
 
IFS=$as_save_IFS
11335
 
 
11336
 
fi
11337
 
fi
11338
 
CC=$ac_cv_prog_CC
11339
 
if test -n "$CC"; then
11340
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11341
 
$as_echo "$CC" >&6; }
11342
 
else
11343
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11344
 
$as_echo "no" >&6; }
11345
 
fi
11346
 
 
11347
 
 
11348
 
  fi
11349
 
fi
11350
 
if test -z "$CC"; then
11351
 
  # Extract the first word of "cc", so it can be a program name with args.
11352
 
set dummy cc; ac_word=$2
11353
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11354
 
$as_echo_n "checking for $ac_word... " >&6; }
11355
 
if test "${ac_cv_prog_CC+set}" = set; then :
11356
 
  $as_echo_n "(cached) " >&6
11357
 
else
11358
 
  if test -n "$CC"; then
11359
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11360
 
else
11361
 
  ac_prog_rejected=no
11362
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11363
 
for as_dir in $PATH
11364
 
do
11365
 
  IFS=$as_save_IFS
11366
 
  test -z "$as_dir" && as_dir=.
11367
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11368
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11369
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11370
 
       ac_prog_rejected=yes
11371
 
       continue
11372
 
     fi
11373
 
    ac_cv_prog_CC="cc"
11374
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11375
 
    break 2
11376
 
  fi
11377
 
done
11378
 
  done
11379
 
IFS=$as_save_IFS
11380
 
 
11381
 
if test $ac_prog_rejected = yes; then
11382
 
  # We found a bogon in the path, so make sure we never use it.
11383
 
  set dummy $ac_cv_prog_CC
11384
 
  shift
11385
 
  if test $# != 0; then
11386
 
    # We chose a different compiler from the bogus one.
11387
 
    # However, it has the same basename, so the bogon will be chosen
11388
 
    # first if we set CC to just the basename; use the full file name.
11389
 
    shift
11390
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11391
 
  fi
11392
 
fi
11393
 
fi
11394
 
fi
11395
 
CC=$ac_cv_prog_CC
11396
 
if test -n "$CC"; then
11397
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11398
 
$as_echo "$CC" >&6; }
11399
 
else
11400
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11401
 
$as_echo "no" >&6; }
11402
 
fi
11403
 
 
11404
 
 
11405
 
fi
11406
 
if test -z "$CC"; then
11407
 
  if test -n "$ac_tool_prefix"; then
11408
 
  for ac_prog in cl.exe
11409
 
  do
11410
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11411
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11412
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11413
 
$as_echo_n "checking for $ac_word... " >&6; }
11414
 
if test "${ac_cv_prog_CC+set}" = set; then :
11415
 
  $as_echo_n "(cached) " >&6
11416
 
else
11417
 
  if test -n "$CC"; then
11418
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
11419
 
else
11420
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421
 
for as_dir in $PATH
11422
 
do
11423
 
  IFS=$as_save_IFS
11424
 
  test -z "$as_dir" && as_dir=.
11425
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11426
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11427
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11428
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11429
 
    break 2
11430
 
  fi
11431
 
done
11432
 
  done
11433
 
IFS=$as_save_IFS
11434
 
 
11435
 
fi
11436
 
fi
11437
 
CC=$ac_cv_prog_CC
11438
 
if test -n "$CC"; then
11439
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11440
 
$as_echo "$CC" >&6; }
11441
 
else
11442
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443
 
$as_echo "no" >&6; }
11444
 
fi
11445
 
 
11446
 
 
11447
 
    test -n "$CC" && break
11448
 
  done
11449
 
fi
11450
 
if test -z "$CC"; then
11451
 
  ac_ct_CC=$CC
11452
 
  for ac_prog in cl.exe
11453
 
do
11454
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11455
 
set dummy $ac_prog; ac_word=$2
11456
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11457
 
$as_echo_n "checking for $ac_word... " >&6; }
11458
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11459
 
  $as_echo_n "(cached) " >&6
11460
 
else
11461
 
  if test -n "$ac_ct_CC"; then
11462
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11463
 
else
11464
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11465
 
for as_dir in $PATH
11466
 
do
11467
 
  IFS=$as_save_IFS
11468
 
  test -z "$as_dir" && as_dir=.
11469
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11470
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11471
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
11472
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11473
 
    break 2
11474
 
  fi
11475
 
done
11476
 
  done
11477
 
IFS=$as_save_IFS
11478
 
 
11479
 
fi
11480
 
fi
11481
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11482
 
if test -n "$ac_ct_CC"; then
11483
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11484
 
$as_echo "$ac_ct_CC" >&6; }
11485
 
else
11486
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487
 
$as_echo "no" >&6; }
11488
 
fi
11489
 
 
11490
 
 
11491
 
  test -n "$ac_ct_CC" && break
11492
 
done
11493
 
 
11494
 
  if test "x$ac_ct_CC" = x; then
11495
 
    CC=""
11496
 
  else
11497
 
    case $cross_compiling:$ac_tool_warned in
11498
 
yes:)
11499
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11500
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11501
 
ac_tool_warned=yes ;;
11502
 
esac
11503
 
    CC=$ac_ct_CC
11504
 
  fi
11505
 
fi
11506
 
 
11507
 
fi
11508
 
 
11509
 
 
11510
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11511
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11512
 
as_fn_error "no acceptable C compiler found in \$PATH
11513
 
See \`config.log' for more details." "$LINENO" 5; }
11514
 
 
11515
 
# Provide some information about the compiler.
11516
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11517
 
set X $ac_compile
11518
 
ac_compiler=$2
11519
 
for ac_option in --version -v -V -qversion; do
11520
 
  { { ac_try="$ac_compiler $ac_option >&5"
11521
 
case "(($ac_try" in
11522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523
 
  *) ac_try_echo=$ac_try;;
11524
 
esac
11525
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11526
 
$as_echo "$ac_try_echo"; } >&5
11527
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11528
 
  ac_status=$?
11529
 
  if test -s conftest.err; then
11530
 
    sed '10a\
11531
 
... rest of stderr output deleted ...
11532
 
         10q' conftest.err >conftest.er1
11533
 
    cat conftest.er1 >&5
11534
 
  fi
11535
 
  rm -f conftest.er1 conftest.err
11536
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11537
 
  test $ac_status = 0; }
11538
 
done
11539
 
 
11540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11541
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11542
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11543
 
  $as_echo_n "(cached) " >&6
11544
 
else
11545
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546
 
/* end confdefs.h.  */
11547
 
 
11548
 
int
11549
 
main ()
11550
 
{
11551
 
#ifndef __GNUC__
11552
 
       choke me
11553
 
#endif
11554
 
 
11555
 
  ;
11556
 
  return 0;
11557
 
}
11558
 
_ACEOF
11559
 
if ac_fn_c_try_compile "$LINENO"; then :
11560
 
  ac_compiler_gnu=yes
11561
 
else
11562
 
  ac_compiler_gnu=no
11563
 
fi
11564
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11565
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
11566
 
 
11567
 
fi
11568
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11569
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11570
 
if test $ac_compiler_gnu = yes; then
11571
 
  GCC=yes
11572
 
else
11573
 
  GCC=
11574
 
fi
11575
 
ac_test_CFLAGS=${CFLAGS+set}
11576
 
ac_save_CFLAGS=$CFLAGS
11577
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11578
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
11579
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
11580
 
  $as_echo_n "(cached) " >&6
11581
 
else
11582
 
  ac_save_c_werror_flag=$ac_c_werror_flag
11583
 
   ac_c_werror_flag=yes
11584
 
   ac_cv_prog_cc_g=no
11585
 
   CFLAGS="-g"
11586
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587
 
/* end confdefs.h.  */
11588
 
 
11589
 
int
11590
 
main ()
11591
 
{
11592
 
 
11593
 
  ;
11594
 
  return 0;
11595
 
}
11596
 
_ACEOF
11597
 
if ac_fn_c_try_compile "$LINENO"; then :
11598
 
  ac_cv_prog_cc_g=yes
11599
 
else
11600
 
  CFLAGS=""
11601
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602
 
/* end confdefs.h.  */
11603
 
 
11604
 
int
11605
 
main ()
11606
 
{
11607
 
 
11608
 
  ;
11609
 
  return 0;
11610
 
}
11611
 
_ACEOF
11612
 
if ac_fn_c_try_compile "$LINENO"; then :
11613
 
 
11614
 
else
11615
 
  ac_c_werror_flag=$ac_save_c_werror_flag
11616
 
         CFLAGS="-g"
11617
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618
 
/* end confdefs.h.  */
11619
 
 
11620
 
int
11621
 
main ()
11622
 
{
11623
 
 
11624
 
  ;
11625
 
  return 0;
11626
 
}
11627
 
_ACEOF
11628
 
if ac_fn_c_try_compile "$LINENO"; then :
11629
 
  ac_cv_prog_cc_g=yes
11630
 
fi
11631
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11632
 
fi
11633
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11634
 
fi
11635
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11636
 
   ac_c_werror_flag=$ac_save_c_werror_flag
11637
 
fi
11638
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11639
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
11640
 
if test "$ac_test_CFLAGS" = set; then
11641
 
  CFLAGS=$ac_save_CFLAGS
11642
 
elif test $ac_cv_prog_cc_g = yes; then
11643
 
  if test "$GCC" = yes; then
11644
 
    CFLAGS="-g -O2"
11645
 
  else
11646
 
    CFLAGS="-g"
11647
 
  fi
11648
 
else
11649
 
  if test "$GCC" = yes; then
11650
 
    CFLAGS="-O2"
11651
 
  else
11652
 
    CFLAGS=
11653
 
  fi
11654
 
fi
11655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11656
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11657
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
11658
 
  $as_echo_n "(cached) " >&6
11659
 
else
11660
 
  ac_cv_prog_cc_c89=no
11661
 
ac_save_CC=$CC
11662
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663
 
/* end confdefs.h.  */
11664
 
#include <stdarg.h>
11665
 
#include <stdio.h>
11666
 
#include <sys/types.h>
11667
 
#include <sys/stat.h>
11668
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11669
 
struct buf { int x; };
11670
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
11671
 
static char *e (p, i)
11672
 
     char **p;
11673
 
     int i;
11674
 
{
11675
 
  return p[i];
11676
 
}
11677
 
static char *f (char * (*g) (char **, int), char **p, ...)
11678
 
{
11679
 
  char *s;
11680
 
  va_list v;
11681
 
  va_start (v,p);
11682
 
  s = g (p, va_arg (v,int));
11683
 
  va_end (v);
11684
 
  return s;
11685
 
}
11686
 
 
11687
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11688
 
   function prototypes and stuff, but not '\xHH' hex character constants.
11689
 
   These don't provoke an error unfortunately, instead are silently treated
11690
 
   as 'x'.  The following induces an error, until -std is added to get
11691
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11692
 
   array size at least.  It's necessary to write '\x00'==0 to get something
11693
 
   that's true only with -std.  */
11694
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11695
 
 
11696
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11697
 
   inside strings and character constants.  */
11698
 
#define FOO(x) 'x'
11699
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11700
 
 
11701
 
int test (int i, double x);
11702
 
struct s1 {int (*f) (int a);};
11703
 
struct s2 {int (*f) (double a);};
11704
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11705
 
int argc;
11706
 
char **argv;
11707
 
int
11708
 
main ()
11709
 
{
11710
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11711
 
  ;
11712
 
  return 0;
11713
 
}
11714
 
_ACEOF
11715
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11716
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11717
 
do
11718
 
  CC="$ac_save_CC $ac_arg"
11719
 
  if ac_fn_c_try_compile "$LINENO"; then :
11720
 
  ac_cv_prog_cc_c89=$ac_arg
11721
 
fi
11722
 
rm -f core conftest.err conftest.$ac_objext
11723
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
11724
 
done
11725
 
rm -f conftest.$ac_ext
11726
 
CC=$ac_save_CC
11727
 
 
11728
 
fi
11729
 
# AC_CACHE_VAL
11730
 
case "x$ac_cv_prog_cc_c89" in
11731
 
  x)
11732
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11733
 
$as_echo "none needed" >&6; } ;;
11734
 
  xno)
11735
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11736
 
$as_echo "unsupported" >&6; } ;;
11737
 
  *)
11738
 
    CC="$CC $ac_cv_prog_cc_c89"
11739
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11740
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11741
 
esac
11742
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
11743
 
 
11744
 
fi
11745
 
 
11746
 
ac_ext=c
11747
 
ac_cpp='$CPP $CPPFLAGS'
11748
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11751
 
 
11752
 
depcc="$CC"   am_compiler_list=
11753
 
 
11754
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11755
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
11756
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11757
 
  $as_echo_n "(cached) " >&6
11758
 
else
11759
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11760
 
  # We make a subdir and do the tests there.  Otherwise we can end up
11761
 
  # making bogus files that we don't know about and never remove.  For
11762
 
  # instance it was reported that on HP-UX the gcc test will end up
11763
 
  # making a dummy file named `D' -- because `-MD' means `put the output
11764
 
  # in D'.
11765
 
  mkdir conftest.dir
11766
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
11767
 
  # using a relative directory.
11768
 
  cp "$am_depcomp" conftest.dir
11769
 
  cd conftest.dir
11770
 
  # We will build objects and dependencies in a subdirectory because
11771
 
  # it helps to detect inapplicable dependency modes.  For instance
11772
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
11773
 
  # side effect of compilation, but ICC will put the dependencies in
11774
 
  # the current directory while Tru64 will put them in the object
11775
 
  # directory.
11776
 
  mkdir sub
11777
 
 
11778
 
  am_cv_CC_dependencies_compiler_type=none
11779
 
  if test "$am_compiler_list" = ""; then
11780
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11781
 
  fi
11782
 
  am__universal=false
11783
 
  case " $depcc " in #(
11784
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
11785
 
     esac
11786
 
 
11787
 
  for depmode in $am_compiler_list; do
11788
 
    # Setup a source with many dependencies, because some compilers
11789
 
    # like to wrap large dependency lists on column 80 (with \), and
11790
 
    # we should not choose a depcomp mode which is confused by this.
11791
 
    #
11792
 
    # We need to recreate these files for each test, as the compiler may
11793
 
    # overwrite some of them when testing with obscure command lines.
11794
 
    # This happens at least with the AIX C compiler.
11795
 
    : > sub/conftest.c
11796
 
    for i in 1 2 3 4 5 6; do
11797
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
11798
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11799
 
      # Solaris 8's {/usr,}/bin/sh.
11800
 
      touch sub/conftst$i.h
11801
 
    done
11802
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11803
 
 
11804
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
11805
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
11806
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
11807
 
    # versions had trouble with output in subdirs
11808
 
    am__obj=sub/conftest.${OBJEXT-o}
11809
 
    am__minus_obj="-o $am__obj"
11810
 
    case $depmode in
11811
 
    gcc)
11812
 
      # This depmode causes a compiler race in universal mode.
11813
 
      test "$am__universal" = false || continue
11814
 
      ;;
11815
 
    nosideeffect)
11816
 
      # after this tag, mechanisms are not by side-effect, so they'll
11817
 
      # only be used when explicitly requested
11818
 
      if test "x$enable_dependency_tracking" = xyes; then
11819
 
        continue
11820
 
      else
11821
 
        break
11822
 
      fi
11823
 
      ;;
11824
 
    msvisualcpp | msvcmsys)
11825
 
      # This compiler won't grok `-c -o', but also, the minuso test has
11826
 
      # not run yet.  These depmodes are late enough in the game, and
11827
 
      # so weak that their functioning should not be impacted.
11828
 
      am__obj=conftest.${OBJEXT-o}
11829
 
      am__minus_obj=
11830
 
      ;;
11831
 
    none) break ;;
11832
 
    esac
11833
 
    if depmode=$depmode \
11834
 
       source=sub/conftest.c object=$am__obj \
11835
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11836
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11837
 
         >/dev/null 2>conftest.err &&
11838
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11839
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11840
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11841
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11842
 
      # icc doesn't choke on unknown options, it will just issue warnings
11843
 
      # or remarks (even with -Werror).  So we grep stderr for any message
11844
 
      # that says an option was ignored or not supported.
11845
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
11846
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
11847
 
      # The diagnosis changed in icc 8.0:
11848
 
      #   icc: Command line remark: option '-MP' not supported
11849
 
      if (grep 'ignoring option' conftest.err ||
11850
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11851
 
        am_cv_CC_dependencies_compiler_type=$depmode
11852
 
        break
11853
 
      fi
11854
 
    fi
11855
 
  done
11856
 
 
11857
 
  cd ..
11858
 
  rm -rf conftest.dir
11859
 
else
11860
 
  am_cv_CC_dependencies_compiler_type=none
11861
 
fi
11862
 
 
11863
 
fi
11864
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11865
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11866
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11867
 
 
11868
 
 if
11869
 
  test "x$enable_dependency_tracking" != xno \
11870
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11871
 
  am__fastdepCC_TRUE=
11872
 
  am__fastdepCC_FALSE='#'
11873
 
else
11874
 
  am__fastdepCC_TRUE='#'
11875
 
  am__fastdepCC_FALSE=
11876
 
fi
11877
 
 
11878
 
 
11879
 
 
11880
 
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
11881
 
 
11882
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11883
 
$as_echo_n "checking for ANSI C header files... " >&6; }
11884
 
if test "${ac_cv_header_stdc+set}" = set; then :
11885
 
  $as_echo_n "(cached) " >&6
11886
 
else
11887
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888
 
/* end confdefs.h.  */
11889
 
#include <stdlib.h>
11890
 
#include <stdarg.h>
11891
 
#include <string.h>
11892
 
#include <float.h>
11893
 
 
11894
 
int
11895
 
main ()
11896
 
{
11897
 
 
11898
 
  ;
11899
 
  return 0;
11900
 
}
11901
 
_ACEOF
11902
 
if ac_fn_c_try_compile "$LINENO"; then :
11903
 
  ac_cv_header_stdc=yes
11904
 
else
11905
 
  ac_cv_header_stdc=no
11906
 
fi
11907
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11908
 
 
11909
 
if test $ac_cv_header_stdc = yes; then
11910
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11911
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912
 
/* end confdefs.h.  */
11913
 
#include <string.h>
11914
 
 
11915
 
_ACEOF
11916
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11917
 
  $EGREP "memchr" >/dev/null 2>&1; then :
11918
 
 
11919
 
else
11920
 
  ac_cv_header_stdc=no
11921
 
fi
11922
 
rm -f conftest*
11923
 
 
11924
 
fi
11925
 
 
11926
 
if test $ac_cv_header_stdc = yes; then
11927
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11928
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929
 
/* end confdefs.h.  */
11930
 
#include <stdlib.h>
11931
 
 
11932
 
_ACEOF
11933
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11934
 
  $EGREP "free" >/dev/null 2>&1; then :
11935
 
 
11936
 
else
11937
 
  ac_cv_header_stdc=no
11938
 
fi
11939
 
rm -f conftest*
11940
 
 
11941
 
fi
11942
 
 
11943
 
if test $ac_cv_header_stdc = yes; then
11944
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11945
 
  if test "$cross_compiling" = yes; then :
11946
 
  :
11947
 
else
11948
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949
 
/* end confdefs.h.  */
11950
 
#include <ctype.h>
11951
 
#include <stdlib.h>
11952
 
#if ((' ' & 0x0FF) == 0x020)
11953
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11954
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11955
 
#else
11956
 
# define ISLOWER(c) \
11957
 
                   (('a' <= (c) && (c) <= 'i') \
11958
 
                     || ('j' <= (c) && (c) <= 'r') \
11959
 
                     || ('s' <= (c) && (c) <= 'z'))
11960
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11961
 
#endif
11962
 
 
11963
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11964
 
int
11965
 
main ()
11966
 
{
11967
 
  int i;
11968
 
  for (i = 0; i < 256; i++)
11969
 
    if (XOR (islower (i), ISLOWER (i))
11970
 
        || toupper (i) != TOUPPER (i))
11971
 
      return 2;
11972
 
  return 0;
11973
 
}
11974
 
_ACEOF
11975
 
if ac_fn_c_try_run "$LINENO"; then :
11976
 
 
11977
 
else
11978
 
  ac_cv_header_stdc=no
11979
 
fi
11980
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11981
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
11982
 
fi
11983
 
 
11984
 
fi
11985
 
fi
11986
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11987
 
$as_echo "$ac_cv_header_stdc" >&6; }
11988
 
if test $ac_cv_header_stdc = yes; then
11989
 
 
11990
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
11991
 
 
11992
 
fi
11993
 
 
11994
 
 
11995
 
# Checks for header files.
11996
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11997
 
$as_echo_n "checking for ANSI C header files... " >&6; }
11998
 
if test "${ac_cv_header_stdc+set}" = set; then :
11999
 
  $as_echo_n "(cached) " >&6
12000
 
else
12001
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002
 
/* end confdefs.h.  */
12003
 
#include <stdlib.h>
12004
 
#include <stdarg.h>
12005
 
#include <string.h>
12006
 
#include <float.h>
12007
 
 
12008
 
int
12009
 
main ()
12010
 
{
12011
 
 
12012
 
  ;
12013
 
  return 0;
12014
 
}
12015
 
_ACEOF
12016
 
if ac_fn_c_try_compile "$LINENO"; then :
12017
 
  ac_cv_header_stdc=yes
12018
 
else
12019
 
  ac_cv_header_stdc=no
12020
 
fi
12021
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12022
 
 
12023
 
if test $ac_cv_header_stdc = yes; then
12024
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12025
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026
 
/* end confdefs.h.  */
12027
 
#include <string.h>
12028
 
 
12029
 
_ACEOF
12030
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12031
 
  $EGREP "memchr" >/dev/null 2>&1; then :
12032
 
 
12033
 
else
12034
 
  ac_cv_header_stdc=no
12035
 
fi
12036
 
rm -f conftest*
12037
 
 
12038
 
fi
12039
 
 
12040
 
if test $ac_cv_header_stdc = yes; then
12041
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12042
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043
 
/* end confdefs.h.  */
12044
 
#include <stdlib.h>
12045
 
 
12046
 
_ACEOF
12047
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12048
 
  $EGREP "free" >/dev/null 2>&1; then :
12049
 
 
12050
 
else
12051
 
  ac_cv_header_stdc=no
12052
 
fi
12053
 
rm -f conftest*
12054
 
 
12055
 
fi
12056
 
 
12057
 
if test $ac_cv_header_stdc = yes; then
12058
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12059
 
  if test "$cross_compiling" = yes; then :
12060
 
  :
12061
 
else
12062
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063
 
/* end confdefs.h.  */
12064
 
#include <ctype.h>
12065
 
#include <stdlib.h>
12066
 
#if ((' ' & 0x0FF) == 0x020)
12067
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12068
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12069
 
#else
12070
 
# define ISLOWER(c) \
12071
 
                   (('a' <= (c) && (c) <= 'i') \
12072
 
                     || ('j' <= (c) && (c) <= 'r') \
12073
 
                     || ('s' <= (c) && (c) <= 'z'))
12074
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12075
 
#endif
12076
 
 
12077
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12078
 
int
12079
 
main ()
12080
 
{
12081
 
  int i;
12082
 
  for (i = 0; i < 256; i++)
12083
 
    if (XOR (islower (i), ISLOWER (i))
12084
 
        || toupper (i) != TOUPPER (i))
12085
 
      return 2;
12086
 
  return 0;
12087
 
}
12088
 
_ACEOF
12089
 
if ac_fn_c_try_run "$LINENO"; then :
12090
 
 
12091
 
else
12092
 
  ac_cv_header_stdc=no
12093
 
fi
12094
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12095
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12096
 
fi
12097
 
 
12098
 
fi
12099
 
fi
12100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12101
 
$as_echo "$ac_cv_header_stdc" >&6; }
12102
 
if test $ac_cv_header_stdc = yes; then
12103
 
 
12104
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12105
 
 
12106
 
fi
12107
 
 
12108
 
 
12109
 
# Checks for typedefs, structures, and compiler characteristics.
12110
 
 
12111
 
# Checks for library functions.
12112
 
 
12113
 
# Large file support
12114
 
# Check whether --enable-largefile was given.
12115
 
if test "${enable_largefile+set}" = set; then :
12116
 
  enableval=$enable_largefile; largefile=$enableval
12117
 
else
12118
 
  largefile="yes"
12119
 
fi
12120
 
 
12121
 
 
12122
 
if test x"$largefile" = x"yes"; then
12123
 
  CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64"
12124
 
 
12125
 
$as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h
12126
 
 
12127
 
 
12128
 
$as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h
12129
 
 
12130
 
fi
12131
 
 
12132
 
# Check whether --enable-cast-checks was given.
12133
 
if test "${enable_cast_checks+set}" = set; then :
12134
 
  enableval=$enable_cast_checks; cast_checks=$enableval
12135
 
else
12136
 
  cast_checks="no"
12137
 
fi
12138
 
 
12139
 
G_CAST_CHECKS=""
12140
 
if test x"$cast_checks" = "xno"; then
12141
 
    G_CAST_CHECKS="-DG_DISABLE_CAST_CHECKS"
12142
 
fi
12143
 
 
12144
 
 
12145
 
# Check whether --enable-debug was given.
12146
 
if test "${enable_debug+set}" = set; then :
12147
 
  enableval=$enable_debug; enable_debug="${enableval}"
12148
 
else
12149
 
  enable_debug=no
12150
 
 
12151
 
fi
12152
 
 
12153
 
if test "$enable_debug" = "yes"; then
12154
 
    # turn on debug and disable optimization
12155
 
    CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG -O0 -g"
12156
 
else
12157
 
    # turn off glib debug checks
12158
 
    # G_DISABLE_CAST_CHECKS is already handled by $(G_CAST_CHECKS)
12159
 
    CPPFLAGS="$CPPFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
12160
 
fi
12161
 
 
12162
 
# intltool
12163
 
 
12164
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12165
 
$as_echo_n "checking whether NLS is requested... " >&6; }
12166
 
    # Check whether --enable-nls was given.
12167
 
if test "${enable_nls+set}" = set; then :
12168
 
  enableval=$enable_nls; USE_NLS=$enableval
12169
 
else
12170
 
  USE_NLS=yes
12171
 
fi
12172
 
 
12173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12174
 
$as_echo "$USE_NLS" >&6; }
12175
 
 
12176
 
 
12177
 
 
12178
 
 
12179
 
case "$am__api_version" in
12180
 
    1.01234)
12181
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12182
 
    ;;
12183
 
    *)
12184
 
    ;;
12185
 
esac
12186
 
 
12187
 
if test -n "0.40.0"; then
12188
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12189
 
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12190
 
 
12191
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12192
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12193
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12194
 
 
12195
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12196
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12197
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12198
 
        as_fn_error "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
12199
 
fi
12200
 
 
12201
 
# Extract the first word of "intltool-update", so it can be a program name with args.
12202
 
set dummy intltool-update; ac_word=$2
12203
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204
 
$as_echo_n "checking for $ac_word... " >&6; }
12205
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
12206
 
  $as_echo_n "(cached) " >&6
12207
 
else
12208
 
  case $INTLTOOL_UPDATE in
12209
 
  [\\/]* | ?:[\\/]*)
12210
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12211
 
  ;;
12212
 
  *)
12213
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214
 
for as_dir in $PATH
12215
 
do
12216
 
  IFS=$as_save_IFS
12217
 
  test -z "$as_dir" && as_dir=.
12218
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12219
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12220
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12221
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12222
 
    break 2
12223
 
  fi
12224
 
done
12225
 
  done
12226
 
IFS=$as_save_IFS
12227
 
 
12228
 
  ;;
12229
 
esac
12230
 
fi
12231
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12232
 
if test -n "$INTLTOOL_UPDATE"; then
12233
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12234
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
12235
 
else
12236
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12237
 
$as_echo "no" >&6; }
12238
 
fi
12239
 
 
12240
 
 
12241
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
12242
 
set dummy intltool-merge; ac_word=$2
12243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12244
 
$as_echo_n "checking for $ac_word... " >&6; }
12245
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
12246
 
  $as_echo_n "(cached) " >&6
12247
 
else
12248
 
  case $INTLTOOL_MERGE in
12249
 
  [\\/]* | ?:[\\/]*)
12250
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12251
 
  ;;
12252
 
  *)
12253
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12254
 
for as_dir in $PATH
12255
 
do
12256
 
  IFS=$as_save_IFS
12257
 
  test -z "$as_dir" && as_dir=.
12258
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12259
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12260
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12261
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12262
 
    break 2
12263
 
  fi
12264
 
done
12265
 
  done
12266
 
IFS=$as_save_IFS
12267
 
 
12268
 
  ;;
12269
 
esac
12270
 
fi
12271
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12272
 
if test -n "$INTLTOOL_MERGE"; then
12273
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12274
 
$as_echo "$INTLTOOL_MERGE" >&6; }
12275
 
else
12276
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277
 
$as_echo "no" >&6; }
12278
 
fi
12279
 
 
12280
 
 
12281
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
12282
 
set dummy intltool-extract; ac_word=$2
12283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12284
 
$as_echo_n "checking for $ac_word... " >&6; }
12285
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
12286
 
  $as_echo_n "(cached) " >&6
12287
 
else
12288
 
  case $INTLTOOL_EXTRACT in
12289
 
  [\\/]* | ?:[\\/]*)
12290
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12291
 
  ;;
12292
 
  *)
12293
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12294
 
for as_dir in $PATH
12295
 
do
12296
 
  IFS=$as_save_IFS
12297
 
  test -z "$as_dir" && as_dir=.
12298
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12299
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12300
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12301
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12302
 
    break 2
12303
 
  fi
12304
 
done
12305
 
  done
12306
 
IFS=$as_save_IFS
12307
 
 
12308
 
  ;;
12309
 
esac
12310
 
fi
12311
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12312
 
if test -n "$INTLTOOL_EXTRACT"; then
12313
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12314
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12315
 
else
12316
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317
 
$as_echo "no" >&6; }
12318
 
fi
12319
 
 
12320
 
 
12321
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12322
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12323
 
fi
12324
 
 
12325
 
  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 $< $@'
12326
 
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 $< $@'
12327
 
     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 $< $@'
12328
 
     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 $< $@'
12329
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12330
 
     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 $< $@'
12331
 
   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 $< $@'
12332
 
    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 $< $@'
12333
 
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 $< $@'
12334
 
       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 $< $@'
12335
 
      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 $< $@'
12336
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12337
 
      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 $< $@'
12338
 
      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 $< $@'
12339
 
    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 $< $@'
12340
 
  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 $< $@'
12341
 
    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 $< $@'
12342
 
    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 $< $@'
12343
 
   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 $< $@'
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
 
 
12352
 
 
12353
 
 
12354
 
 
12355
 
 
12356
 
 
12357
 
 
12358
 
 
12359
 
 
12360
 
 
12361
 
 
12362
 
 
12363
 
 
12364
 
 
12365
 
 
12366
 
 
12367
 
 
12368
 
 
12369
 
 
12370
 
 
12371
 
 
12372
 
 
12373
 
 
12374
 
 
12375
 
 
12376
 
 
12377
 
 
12378
 
 
12379
 
 
12380
 
 
12381
 
 
12382
 
 
12383
 
 
12384
 
 
12385
 
 
12386
 
 
12387
 
 
12388
 
 
12389
 
 
12390
 
 
12391
 
 
12392
 
 
12393
 
 
12394
 
 
12395
 
 
12396
 
 
12397
 
 
12398
 
 
12399
 
 
12400
 
 
12401
 
 
12402
 
 
12403
 
 
12404
 
 
12405
 
 
12406
 
 
12407
 
 
12408
 
 
12409
 
 
12410
 
 
12411
 
 
12412
 
 
12413
 
 
12414
 
 
12415
 
 
12416
 
 
12417
 
 
12418
 
 
12419
 
 
12420
 
 
12421
 
 
12422
 
 
12423
 
 
12424
 
 
12425
 
 
12426
 
 
12427
 
 
12428
 
 
12429
 
 
12430
 
 
12431
 
 
12432
 
 
12433
 
 
12434
 
 
12435
 
 
12436
 
 
12437
 
 
12438
 
 
12439
 
 
12440
 
 
12441
 
# Check the gettext tools to make sure they are GNU
12442
 
# Extract the first word of "xgettext", so it can be a program name with args.
12443
 
set dummy xgettext; ac_word=$2
12444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12445
 
$as_echo_n "checking for $ac_word... " >&6; }
12446
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12447
 
  $as_echo_n "(cached) " >&6
12448
 
else
12449
 
  case $XGETTEXT in
12450
 
  [\\/]* | ?:[\\/]*)
12451
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12452
 
  ;;
12453
 
  *)
12454
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455
 
for as_dir in $PATH
12456
 
do
12457
 
  IFS=$as_save_IFS
12458
 
  test -z "$as_dir" && as_dir=.
12459
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12460
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12462
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12463
 
    break 2
12464
 
  fi
12465
 
done
12466
 
  done
12467
 
IFS=$as_save_IFS
12468
 
 
12469
 
  ;;
12470
 
esac
12471
 
fi
12472
 
XGETTEXT=$ac_cv_path_XGETTEXT
12473
 
if test -n "$XGETTEXT"; then
12474
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12475
 
$as_echo "$XGETTEXT" >&6; }
12476
 
else
12477
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478
 
$as_echo "no" >&6; }
12479
 
fi
12480
 
 
12481
 
 
12482
 
# Extract the first word of "msgmerge", so it can be a program name with args.
12483
 
set dummy msgmerge; ac_word=$2
12484
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12485
 
$as_echo_n "checking for $ac_word... " >&6; }
12486
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12487
 
  $as_echo_n "(cached) " >&6
12488
 
else
12489
 
  case $MSGMERGE in
12490
 
  [\\/]* | ?:[\\/]*)
12491
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12492
 
  ;;
12493
 
  *)
12494
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495
 
for as_dir in $PATH
12496
 
do
12497
 
  IFS=$as_save_IFS
12498
 
  test -z "$as_dir" && as_dir=.
12499
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12500
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12502
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12503
 
    break 2
12504
 
  fi
12505
 
done
12506
 
  done
12507
 
IFS=$as_save_IFS
12508
 
 
12509
 
  ;;
12510
 
esac
12511
 
fi
12512
 
MSGMERGE=$ac_cv_path_MSGMERGE
12513
 
if test -n "$MSGMERGE"; then
12514
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12515
 
$as_echo "$MSGMERGE" >&6; }
12516
 
else
12517
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518
 
$as_echo "no" >&6; }
12519
 
fi
12520
 
 
12521
 
 
12522
 
# Extract the first word of "msgfmt", so it can be a program name with args.
12523
 
set dummy msgfmt; ac_word=$2
12524
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12525
 
$as_echo_n "checking for $ac_word... " >&6; }
12526
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12527
 
  $as_echo_n "(cached) " >&6
12528
 
else
12529
 
  case $MSGFMT in
12530
 
  [\\/]* | ?:[\\/]*)
12531
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12532
 
  ;;
12533
 
  *)
12534
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12535
 
for as_dir in $PATH
12536
 
do
12537
 
  IFS=$as_save_IFS
12538
 
  test -z "$as_dir" && as_dir=.
12539
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12540
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12541
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12542
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12543
 
    break 2
12544
 
  fi
12545
 
done
12546
 
  done
12547
 
IFS=$as_save_IFS
12548
 
 
12549
 
  ;;
12550
 
esac
12551
 
fi
12552
 
MSGFMT=$ac_cv_path_MSGFMT
12553
 
if test -n "$MSGFMT"; then
12554
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12555
 
$as_echo "$MSGFMT" >&6; }
12556
 
else
12557
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12558
 
$as_echo "no" >&6; }
12559
 
fi
12560
 
 
12561
 
 
12562
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12563
 
set dummy gmsgfmt; ac_word=$2
12564
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12565
 
$as_echo_n "checking for $ac_word... " >&6; }
12566
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12567
 
  $as_echo_n "(cached) " >&6
12568
 
else
12569
 
  case $GMSGFMT in
12570
 
  [\\/]* | ?:[\\/]*)
12571
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12572
 
  ;;
12573
 
  *)
12574
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12575
 
for as_dir in $PATH
12576
 
do
12577
 
  IFS=$as_save_IFS
12578
 
  test -z "$as_dir" && as_dir=.
12579
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12580
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12581
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12582
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12583
 
    break 2
12584
 
  fi
12585
 
done
12586
 
  done
12587
 
IFS=$as_save_IFS
12588
 
 
12589
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12590
 
  ;;
12591
 
esac
12592
 
fi
12593
 
GMSGFMT=$ac_cv_path_GMSGFMT
12594
 
if test -n "$GMSGFMT"; then
12595
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12596
 
$as_echo "$GMSGFMT" >&6; }
12597
 
else
12598
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12599
 
$as_echo "no" >&6; }
12600
 
fi
12601
 
 
12602
 
 
12603
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12604
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
12605
 
fi
12606
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12607
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12608
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12609
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12610
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
12611
 
fi
12612
 
 
12613
 
# Extract the first word of "perl", so it can be a program name with args.
12614
 
set dummy perl; ac_word=$2
12615
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12616
 
$as_echo_n "checking for $ac_word... " >&6; }
12617
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
12618
 
  $as_echo_n "(cached) " >&6
12619
 
else
12620
 
  case $INTLTOOL_PERL in
12621
 
  [\\/]* | ?:[\\/]*)
12622
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12623
 
  ;;
12624
 
  *)
12625
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12626
 
for as_dir in $PATH
12627
 
do
12628
 
  IFS=$as_save_IFS
12629
 
  test -z "$as_dir" && as_dir=.
12630
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12631
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12632
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12633
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12634
 
    break 2
12635
 
  fi
12636
 
done
12637
 
  done
12638
 
IFS=$as_save_IFS
12639
 
 
12640
 
  ;;
12641
 
esac
12642
 
fi
12643
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12644
 
if test -n "$INTLTOOL_PERL"; then
12645
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12646
 
$as_echo "$INTLTOOL_PERL" >&6; }
12647
 
else
12648
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12649
 
$as_echo "no" >&6; }
12650
 
fi
12651
 
 
12652
 
 
12653
 
if test -z "$INTLTOOL_PERL"; then
12654
 
   as_fn_error "perl not found" "$LINENO" 5
12655
 
fi
12656
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12657
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12658
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12659
 
if test $? -ne 0; then
12660
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
12661
 
else
12662
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12663
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12664
 
$as_echo "$IT_PERL_VERSION" >&6; }
12665
 
fi
12666
 
if test "x" != "xno-xml"; then
12667
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12668
 
$as_echo_n "checking for XML::Parser... " >&6; }
12669
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12670
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12671
 
$as_echo "ok" >&6; }
12672
 
   else
12673
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
12674
 
   fi
12675
 
fi
12676
 
 
12677
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12678
 
 
12679
 
 
12680
 
# Set DATADIRNAME correctly if it is not set yet
12681
 
# (copied from glib-gettext.m4)
12682
 
if test -z "$DATADIRNAME"; then
12683
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684
 
/* end confdefs.h.  */
12685
 
 
12686
 
int
12687
 
main ()
12688
 
{
12689
 
extern int _nl_msg_cat_cntr;
12690
 
                       return _nl_msg_cat_cntr
12691
 
  ;
12692
 
  return 0;
12693
 
}
12694
 
_ACEOF
12695
 
if ac_fn_c_try_link "$LINENO"; then :
12696
 
  DATADIRNAME=share
12697
 
else
12698
 
  case $host in
12699
 
    *-*-solaris*)
12700
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12701
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12702
 
  DATADIRNAME=share
12703
 
else
12704
 
  DATADIRNAME=lib
12705
 
fi
12706
 
 
12707
 
    ;;
12708
 
    *)
12709
 
    DATADIRNAME=lib
12710
 
    ;;
12711
 
    esac
12712
 
fi
12713
 
rm -f core conftest.err conftest.$ac_objext \
12714
 
    conftest$ac_exeext conftest.$ac_ext
12715
 
fi
12716
 
 
12717
 
 
12718
 
 
12719
 
 
12720
 
 
12721
 
 
12722
 
# Checks for libraries.
12723
 
 
12724
 
 
12725
 
 
12726
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12727
 
        if test -n "$ac_tool_prefix"; then
12728
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12729
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12730
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731
 
$as_echo_n "checking for $ac_word... " >&6; }
12732
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12733
 
  $as_echo_n "(cached) " >&6
12734
 
else
12735
 
  case $PKG_CONFIG in
12736
 
  [\\/]* | ?:[\\/]*)
12737
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12738
 
  ;;
12739
 
  *)
12740
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12741
 
for as_dir in $PATH
12742
 
do
12743
 
  IFS=$as_save_IFS
12744
 
  test -z "$as_dir" && as_dir=.
12745
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12746
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12747
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12748
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12749
 
    break 2
12750
 
  fi
12751
 
done
12752
 
  done
12753
 
IFS=$as_save_IFS
12754
 
 
12755
 
  ;;
12756
 
esac
12757
 
fi
12758
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12759
 
if test -n "$PKG_CONFIG"; then
12760
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12761
 
$as_echo "$PKG_CONFIG" >&6; }
12762
 
else
12763
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764
 
$as_echo "no" >&6; }
12765
 
fi
12766
 
 
12767
 
 
12768
 
fi
12769
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12770
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12771
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12772
 
set dummy pkg-config; ac_word=$2
12773
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774
 
$as_echo_n "checking for $ac_word... " >&6; }
12775
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12776
 
  $as_echo_n "(cached) " >&6
12777
 
else
12778
 
  case $ac_pt_PKG_CONFIG in
12779
 
  [\\/]* | ?:[\\/]*)
12780
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12781
 
  ;;
12782
 
  *)
12783
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784
 
for as_dir in $PATH
12785
 
do
12786
 
  IFS=$as_save_IFS
12787
 
  test -z "$as_dir" && as_dir=.
12788
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12789
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12791
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12792
 
    break 2
12793
 
  fi
12794
 
done
12795
 
  done
12796
 
IFS=$as_save_IFS
12797
 
 
12798
 
  ;;
12799
 
esac
12800
 
fi
12801
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12802
 
if test -n "$ac_pt_PKG_CONFIG"; then
12803
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12804
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12805
 
else
12806
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807
 
$as_echo "no" >&6; }
12808
 
fi
12809
 
 
12810
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12811
 
    PKG_CONFIG=""
12812
 
  else
12813
 
    case $cross_compiling:$ac_tool_warned in
12814
 
yes:)
12815
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12816
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12817
 
ac_tool_warned=yes ;;
12818
 
esac
12819
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12820
 
  fi
12821
 
else
12822
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12823
 
fi
12824
 
 
12825
 
fi
12826
 
if test -n "$PKG_CONFIG"; then
12827
 
        _pkg_min_version=0.9.0
12828
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12829
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12830
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12831
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12832
 
$as_echo "yes" >&6; }
12833
 
        else
12834
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12835
 
$as_echo "no" >&6; }
12836
 
                PKG_CONFIG=""
12837
 
        fi
12838
 
 
12839
 
fi
12840
 
 
12841
 
pkg_failed=no
12842
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB" >&5
12843
 
$as_echo_n "checking for XLIB... " >&6; }
12844
 
 
12845
 
if test -n "$XLIB_CFLAGS"; then
12846
 
    pkg_cv_XLIB_CFLAGS="$XLIB_CFLAGS"
12847
 
 elif test -n "$PKG_CONFIG"; then
12848
 
    if test -n "$PKG_CONFIG" && \
12849
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"x11\"\""; } >&5
12850
 
  ($PKG_CONFIG --exists --print-errors ""x11"") 2>&5
12851
 
  ac_status=$?
12852
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12853
 
  test $ac_status = 0; }; then
12854
 
  pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags ""x11"" 2>/dev/null`
12855
 
else
12856
 
  pkg_failed=yes
12857
 
fi
12858
 
 else
12859
 
    pkg_failed=untried
12860
 
fi
12861
 
if test -n "$XLIB_LIBS"; then
12862
 
    pkg_cv_XLIB_LIBS="$XLIB_LIBS"
12863
 
 elif test -n "$PKG_CONFIG"; then
12864
 
    if test -n "$PKG_CONFIG" && \
12865
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"x11\"\""; } >&5
12866
 
  ($PKG_CONFIG --exists --print-errors ""x11"") 2>&5
12867
 
  ac_status=$?
12868
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12869
 
  test $ac_status = 0; }; then
12870
 
  pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs ""x11"" 2>/dev/null`
12871
 
else
12872
 
  pkg_failed=yes
12873
 
fi
12874
 
 else
12875
 
    pkg_failed=untried
12876
 
fi
12877
 
 
12878
 
 
12879
 
 
12880
 
if test $pkg_failed = yes; then
12881
 
 
12882
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12883
 
        _pkg_short_errors_supported=yes
12884
 
else
12885
 
        _pkg_short_errors_supported=no
12886
 
fi
12887
 
        if test $_pkg_short_errors_supported = yes; then
12888
 
                XLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""x11"" 2>&1`
12889
 
        else
12890
 
                XLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors ""x11"" 2>&1`
12891
 
        fi
12892
 
        # Put the nasty error message in config.log where it belongs
12893
 
        echo "$XLIB_PKG_ERRORS" >&5
12894
 
 
12895
 
        as_fn_error "Package requirements (\"x11\") were not met:
12896
 
 
12897
 
$XLIB_PKG_ERRORS
12898
 
 
12899
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12900
 
installed software in a non-standard prefix.
12901
 
 
12902
 
Alternatively, you may set the environment variables XLIB_CFLAGS
12903
 
and XLIB_LIBS to avoid the need to call pkg-config.
12904
 
See the pkg-config man page for more details.
12905
 
" "$LINENO" 5
12906
 
elif test $pkg_failed = untried; then
12907
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12908
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12909
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
12910
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12911
 
path to pkg-config.
12912
 
 
12913
 
Alternatively, you may set the environment variables XLIB_CFLAGS
12914
 
and XLIB_LIBS to avoid the need to call pkg-config.
12915
 
See the pkg-config man page for more details.
12916
 
 
12917
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12918
 
See \`config.log' for more details." "$LINENO" 5; }
12919
 
else
12920
 
        XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS
12921
 
        XLIB_LIBS=$pkg_cv_XLIB_LIBS
12922
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12923
 
$as_echo "yes" >&6; }
12924
 
        :
12925
 
fi
12926
 
 
12927
 
 
12928
 
 
12929
 
gtk_modules="gtk+-2.0 >= 2.16.0"
12930
 
 
12931
 
pkg_failed=no
12932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12933
 
$as_echo_n "checking for GTK... " >&6; }
12934
 
 
12935
 
if test -n "$GTK_CFLAGS"; then
12936
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12937
 
 elif test -n "$PKG_CONFIG"; then
12938
 
    if test -n "$PKG_CONFIG" && \
12939
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
12940
 
  ($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
12941
 
  ac_status=$?
12942
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943
 
  test $ac_status = 0; }; then
12944
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$gtk_modules" 2>/dev/null`
12945
 
else
12946
 
  pkg_failed=yes
12947
 
fi
12948
 
 else
12949
 
    pkg_failed=untried
12950
 
fi
12951
 
if test -n "$GTK_LIBS"; then
12952
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
12953
 
 elif test -n "$PKG_CONFIG"; then
12954
 
    if test -n "$PKG_CONFIG" && \
12955
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
12956
 
  ($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
12957
 
  ac_status=$?
12958
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12959
 
  test $ac_status = 0; }; then
12960
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$gtk_modules" 2>/dev/null`
12961
 
else
12962
 
  pkg_failed=yes
12963
 
fi
12964
 
 else
12965
 
    pkg_failed=untried
12966
 
fi
12967
 
 
12968
 
 
12969
 
 
12970
 
if test $pkg_failed = yes; then
12971
 
 
12972
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12973
 
        _pkg_short_errors_supported=yes
12974
 
else
12975
 
        _pkg_short_errors_supported=no
12976
 
fi
12977
 
        if test $_pkg_short_errors_supported = yes; then
12978
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gtk_modules" 2>&1`
12979
 
        else
12980
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gtk_modules" 2>&1`
12981
 
        fi
12982
 
        # Put the nasty error message in config.log where it belongs
12983
 
        echo "$GTK_PKG_ERRORS" >&5
12984
 
 
12985
 
        as_fn_error "Package requirements ($gtk_modules) were not met:
12986
 
 
12987
 
$GTK_PKG_ERRORS
12988
 
 
12989
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12990
 
installed software in a non-standard prefix.
12991
 
 
12992
 
Alternatively, you may set the environment variables GTK_CFLAGS
12993
 
and GTK_LIBS to avoid the need to call pkg-config.
12994
 
See the pkg-config man page for more details.
12995
 
" "$LINENO" 5
12996
 
elif test $pkg_failed = untried; then
12997
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12998
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12999
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13000
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13001
 
path to pkg-config.
13002
 
 
13003
 
Alternatively, you may set the environment variables GTK_CFLAGS
13004
 
and GTK_LIBS to avoid the need to call pkg-config.
13005
 
See the pkg-config man page for more details.
13006
 
 
13007
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13008
 
See \`config.log' for more details." "$LINENO" 5; }
13009
 
else
13010
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13011
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
13012
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13013
 
$as_echo "yes" >&6; }
13014
 
        :
13015
 
fi
13016
 
 
13017
 
 
13018
 
 
13019
 
gio_modules="gthread-2.0 gio-unix-2.0"
13020
 
 
13021
 
pkg_failed=no
13022
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13023
 
$as_echo_n "checking for GIO... " >&6; }
13024
 
 
13025
 
if test -n "$GIO_CFLAGS"; then
13026
 
    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13027
 
 elif test -n "$PKG_CONFIG"; then
13028
 
    if test -n "$PKG_CONFIG" && \
13029
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gio_modules\""; } >&5
13030
 
  ($PKG_CONFIG --exists --print-errors "$gio_modules") 2>&5
13031
 
  ac_status=$?
13032
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13033
 
  test $ac_status = 0; }; then
13034
 
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "$gio_modules" 2>/dev/null`
13035
 
else
13036
 
  pkg_failed=yes
13037
 
fi
13038
 
 else
13039
 
    pkg_failed=untried
13040
 
fi
13041
 
if test -n "$GIO_LIBS"; then
13042
 
    pkg_cv_GIO_LIBS="$GIO_LIBS"
13043
 
 elif test -n "$PKG_CONFIG"; then
13044
 
    if test -n "$PKG_CONFIG" && \
13045
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gio_modules\""; } >&5
13046
 
  ($PKG_CONFIG --exists --print-errors "$gio_modules") 2>&5
13047
 
  ac_status=$?
13048
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13049
 
  test $ac_status = 0; }; then
13050
 
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "$gio_modules" 2>/dev/null`
13051
 
else
13052
 
  pkg_failed=yes
13053
 
fi
13054
 
 else
13055
 
    pkg_failed=untried
13056
 
fi
13057
 
 
13058
 
 
13059
 
 
13060
 
if test $pkg_failed = yes; then
13061
 
 
13062
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13063
 
        _pkg_short_errors_supported=yes
13064
 
else
13065
 
        _pkg_short_errors_supported=no
13066
 
fi
13067
 
        if test $_pkg_short_errors_supported = yes; then
13068
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gio_modules" 2>&1`
13069
 
        else
13070
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gio_modules" 2>&1`
13071
 
        fi
13072
 
        # Put the nasty error message in config.log where it belongs
13073
 
        echo "$GIO_PKG_ERRORS" >&5
13074
 
 
13075
 
        as_fn_error "Package requirements ($gio_modules) were not met:
13076
 
 
13077
 
$GIO_PKG_ERRORS
13078
 
 
13079
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13080
 
installed software in a non-standard prefix.
13081
 
 
13082
 
Alternatively, you may set the environment variables GIO_CFLAGS
13083
 
and GIO_LIBS to avoid the need to call pkg-config.
13084
 
See the pkg-config man page for more details.
13085
 
" "$LINENO" 5
13086
 
elif test $pkg_failed = untried; then
13087
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13088
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13089
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13090
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13091
 
path to pkg-config.
13092
 
 
13093
 
Alternatively, you may set the environment variables GIO_CFLAGS
13094
 
and GIO_LIBS to avoid the need to call pkg-config.
13095
 
See the pkg-config man page for more details.
13096
 
 
13097
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13098
 
See \`config.log' for more details." "$LINENO" 5; }
13099
 
else
13100
 
        GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13101
 
        GIO_LIBS=$pkg_cv_GIO_LIBS
13102
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13103
 
$as_echo "yes" >&6; }
13104
 
        :
13105
 
fi
13106
 
 
13107
 
 
13108
 
 
13109
 
gmodule_modules="gmodule-2.0"
13110
 
 
13111
 
pkg_failed=no
13112
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
13113
 
$as_echo_n "checking for GMODULE... " >&6; }
13114
 
 
13115
 
if test -n "$GMODULE_CFLAGS"; then
13116
 
    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
13117
 
 elif test -n "$PKG_CONFIG"; then
13118
 
    if test -n "$PKG_CONFIG" && \
13119
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gmodule_modules\""; } >&5
13120
 
  ($PKG_CONFIG --exists --print-errors "$gmodule_modules") 2>&5
13121
 
  ac_status=$?
13122
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13123
 
  test $ac_status = 0; }; then
13124
 
  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "$gmodule_modules" 2>/dev/null`
13125
 
else
13126
 
  pkg_failed=yes
13127
 
fi
13128
 
 else
13129
 
    pkg_failed=untried
13130
 
fi
13131
 
if test -n "$GMODULE_LIBS"; then
13132
 
    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
13133
 
 elif test -n "$PKG_CONFIG"; then
13134
 
    if test -n "$PKG_CONFIG" && \
13135
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gmodule_modules\""; } >&5
13136
 
  ($PKG_CONFIG --exists --print-errors "$gmodule_modules") 2>&5
13137
 
  ac_status=$?
13138
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13139
 
  test $ac_status = 0; }; then
13140
 
  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "$gmodule_modules" 2>/dev/null`
13141
 
else
13142
 
  pkg_failed=yes
13143
 
fi
13144
 
 else
13145
 
    pkg_failed=untried
13146
 
fi
13147
 
 
13148
 
 
13149
 
 
13150
 
if test $pkg_failed = yes; then
13151
 
 
13152
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13153
 
        _pkg_short_errors_supported=yes
13154
 
else
13155
 
        _pkg_short_errors_supported=no
13156
 
fi
13157
 
        if test $_pkg_short_errors_supported = yes; then
13158
 
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gmodule_modules" 2>&1`
13159
 
        else
13160
 
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gmodule_modules" 2>&1`
13161
 
        fi
13162
 
        # Put the nasty error message in config.log where it belongs
13163
 
        echo "$GMODULE_PKG_ERRORS" >&5
13164
 
 
13165
 
        as_fn_error "Package requirements ($gmodule_modules) were not met:
13166
 
 
13167
 
$GMODULE_PKG_ERRORS
13168
 
 
13169
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13170
 
installed software in a non-standard prefix.
13171
 
 
13172
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
13173
 
and GMODULE_LIBS to avoid the need to call pkg-config.
13174
 
See the pkg-config man page for more details.
13175
 
" "$LINENO" 5
13176
 
elif test $pkg_failed = untried; then
13177
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13178
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13179
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13180
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13181
 
path to pkg-config.
13182
 
 
13183
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
13184
 
and GMODULE_LIBS to avoid the need to call pkg-config.
13185
 
See the pkg-config man page for more details.
13186
 
 
13187
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13188
 
See \`config.log' for more details." "$LINENO" 5; }
13189
 
else
13190
 
        GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
13191
 
        GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
13192
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13193
 
$as_echo "yes" >&6; }
13194
 
        :
13195
 
fi
13196
 
 
13197
 
 
13198
 
 
13199
 
fm_modules="libfm-gtk >= 0.1.10"
13200
 
 
13201
 
pkg_failed=no
13202
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FM" >&5
13203
 
$as_echo_n "checking for FM... " >&6; }
13204
 
 
13205
 
if test -n "$FM_CFLAGS"; then
13206
 
    pkg_cv_FM_CFLAGS="$FM_CFLAGS"
13207
 
 elif test -n "$PKG_CONFIG"; then
13208
 
    if test -n "$PKG_CONFIG" && \
13209
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fm_modules\""; } >&5
13210
 
  ($PKG_CONFIG --exists --print-errors "$fm_modules") 2>&5
13211
 
  ac_status=$?
13212
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213
 
  test $ac_status = 0; }; then
13214
 
  pkg_cv_FM_CFLAGS=`$PKG_CONFIG --cflags "$fm_modules" 2>/dev/null`
13215
 
else
13216
 
  pkg_failed=yes
13217
 
fi
13218
 
 else
13219
 
    pkg_failed=untried
13220
 
fi
13221
 
if test -n "$FM_LIBS"; then
13222
 
    pkg_cv_FM_LIBS="$FM_LIBS"
13223
 
 elif test -n "$PKG_CONFIG"; then
13224
 
    if test -n "$PKG_CONFIG" && \
13225
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fm_modules\""; } >&5
13226
 
  ($PKG_CONFIG --exists --print-errors "$fm_modules") 2>&5
13227
 
  ac_status=$?
13228
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229
 
  test $ac_status = 0; }; then
13230
 
  pkg_cv_FM_LIBS=`$PKG_CONFIG --libs "$fm_modules" 2>/dev/null`
13231
 
else
13232
 
  pkg_failed=yes
13233
 
fi
13234
 
 else
13235
 
    pkg_failed=untried
13236
 
fi
13237
 
 
13238
 
 
13239
 
 
13240
 
if test $pkg_failed = yes; then
13241
 
 
13242
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13243
 
        _pkg_short_errors_supported=yes
13244
 
else
13245
 
        _pkg_short_errors_supported=no
13246
 
fi
13247
 
        if test $_pkg_short_errors_supported = yes; then
13248
 
                FM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$fm_modules" 2>&1`
13249
 
        else
13250
 
                FM_PKG_ERRORS=`$PKG_CONFIG --print-errors "$fm_modules" 2>&1`
13251
 
        fi
13252
 
        # Put the nasty error message in config.log where it belongs
13253
 
        echo "$FM_PKG_ERRORS" >&5
13254
 
 
13255
 
        as_fn_error "Package requirements ($fm_modules) were not met:
13256
 
 
13257
 
$FM_PKG_ERRORS
13258
 
 
13259
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13260
 
installed software in a non-standard prefix.
13261
 
 
13262
 
Alternatively, you may set the environment variables FM_CFLAGS
13263
 
and FM_LIBS to avoid the need to call pkg-config.
13264
 
See the pkg-config man page for more details.
13265
 
" "$LINENO" 5
13266
 
elif test $pkg_failed = untried; then
13267
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13268
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13269
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13270
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13271
 
path to pkg-config.
13272
 
 
13273
 
Alternatively, you may set the environment variables FM_CFLAGS
13274
 
and FM_LIBS to avoid the need to call pkg-config.
13275
 
See the pkg-config man page for more details.
13276
 
 
13277
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13278
 
See \`config.log' for more details." "$LINENO" 5; }
13279
 
else
13280
 
        FM_CFLAGS=$pkg_cv_FM_CFLAGS
13281
 
        FM_LIBS=$pkg_cv_FM_LIBS
13282
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13283
 
$as_echo "yes" >&6; }
13284
 
        :
13285
 
fi
13286
 
 
13287
 
 
13288
 
 
13289
 
menu_modules="libmenu-cache >= 0.3.2"
13290
 
 
13291
 
pkg_failed=no
13292
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MENU_CACHE" >&5
13293
 
$as_echo_n "checking for MENU_CACHE... " >&6; }
13294
 
 
13295
 
if test -n "$MENU_CACHE_CFLAGS"; then
13296
 
    pkg_cv_MENU_CACHE_CFLAGS="$MENU_CACHE_CFLAGS"
13297
 
 elif test -n "$PKG_CONFIG"; then
13298
 
    if test -n "$PKG_CONFIG" && \
13299
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$menu_modules\""; } >&5
13300
 
  ($PKG_CONFIG --exists --print-errors "$menu_modules") 2>&5
13301
 
  ac_status=$?
13302
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13303
 
  test $ac_status = 0; }; then
13304
 
  pkg_cv_MENU_CACHE_CFLAGS=`$PKG_CONFIG --cflags "$menu_modules" 2>/dev/null`
13305
 
else
13306
 
  pkg_failed=yes
13307
 
fi
13308
 
 else
13309
 
    pkg_failed=untried
13310
 
fi
13311
 
if test -n "$MENU_CACHE_LIBS"; then
13312
 
    pkg_cv_MENU_CACHE_LIBS="$MENU_CACHE_LIBS"
13313
 
 elif test -n "$PKG_CONFIG"; then
13314
 
    if test -n "$PKG_CONFIG" && \
13315
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$menu_modules\""; } >&5
13316
 
  ($PKG_CONFIG --exists --print-errors "$menu_modules") 2>&5
13317
 
  ac_status=$?
13318
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13319
 
  test $ac_status = 0; }; then
13320
 
  pkg_cv_MENU_CACHE_LIBS=`$PKG_CONFIG --libs "$menu_modules" 2>/dev/null`
13321
 
else
13322
 
  pkg_failed=yes
13323
 
fi
13324
 
 else
13325
 
    pkg_failed=untried
13326
 
fi
13327
 
 
13328
 
 
13329
 
 
13330
 
if test $pkg_failed = yes; then
13331
 
 
13332
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13333
 
        _pkg_short_errors_supported=yes
13334
 
else
13335
 
        _pkg_short_errors_supported=no
13336
 
fi
13337
 
        if test $_pkg_short_errors_supported = yes; then
13338
 
                MENU_CACHE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$menu_modules" 2>&1`
13339
 
        else
13340
 
                MENU_CACHE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$menu_modules" 2>&1`
13341
 
        fi
13342
 
        # Put the nasty error message in config.log where it belongs
13343
 
        echo "$MENU_CACHE_PKG_ERRORS" >&5
13344
 
 
13345
 
        as_fn_error "Package requirements ($menu_modules) were not met:
13346
 
 
13347
 
$MENU_CACHE_PKG_ERRORS
13348
 
 
13349
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13350
 
installed software in a non-standard prefix.
13351
 
 
13352
 
Alternatively, you may set the environment variables MENU_CACHE_CFLAGS
13353
 
and MENU_CACHE_LIBS to avoid the need to call pkg-config.
13354
 
See the pkg-config man page for more details.
13355
 
" "$LINENO" 5
13356
 
elif test $pkg_failed = untried; then
13357
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13358
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13359
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13360
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13361
 
path to pkg-config.
13362
 
 
13363
 
Alternatively, you may set the environment variables MENU_CACHE_CFLAGS
13364
 
and MENU_CACHE_LIBS to avoid the need to call pkg-config.
13365
 
See the pkg-config man page for more details.
13366
 
 
13367
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13368
 
See \`config.log' for more details." "$LINENO" 5; }
13369
 
else
13370
 
        MENU_CACHE_CFLAGS=$pkg_cv_MENU_CACHE_CFLAGS
13371
 
        MENU_CACHE_LIBS=$pkg_cv_MENU_CACHE_LIBS
13372
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13373
 
$as_echo "yes" >&6; }
13374
 
        :
13375
 
fi
13376
 
 
13377
 
 
13378
 
 
13379
 
GETTEXT_PACKAGE=pcmanfm
13380
 
 
13381
 
 
13382
 
# Generate po/LINGUAS on the fly rather than relying on translators
13383
 
# to maintain it manually. This also overcome the problem that Transifex
13384
 
# cannot add a language to po/LINGUAS if a new po file is submitted.
13385
 
rm -f $srcdir/po/LINGUAS
13386
 
for po_file in `ls $srcdir/po/*.po | sort`;
13387
 
do
13388
 
    lang=`echo "$po_file" | sed "s|.*/po/\(.*\)\.po|\1|g"`
13389
 
    echo $lang >> $srcdir/po/LINGUAS
13390
 
done
13391
 
 
13392
 
 
13393
 
   for ac_header in locale.h
13394
 
do :
13395
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13396
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
13397
 
  cat >>confdefs.h <<_ACEOF
13398
 
#define HAVE_LOCALE_H 1
13399
 
_ACEOF
13400
 
 
13401
 
fi
13402
 
 
13403
 
done
13404
 
 
13405
 
    if test $ac_cv_header_locale_h = yes; then
13406
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13407
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13408
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13409
 
  $as_echo_n "(cached) " >&6
13410
 
else
13411
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412
 
/* end confdefs.h.  */
13413
 
#include <locale.h>
13414
 
int
13415
 
main ()
13416
 
{
13417
 
return LC_MESSAGES
13418
 
  ;
13419
 
  return 0;
13420
 
}
13421
 
_ACEOF
13422
 
if ac_fn_c_try_link "$LINENO"; then :
13423
 
  am_cv_val_LC_MESSAGES=yes
13424
 
else
13425
 
  am_cv_val_LC_MESSAGES=no
13426
 
fi
13427
 
rm -f core conftest.err conftest.$ac_objext \
13428
 
    conftest$ac_exeext conftest.$ac_ext
13429
 
fi
13430
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13431
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13432
 
    if test $am_cv_val_LC_MESSAGES = yes; then
13433
 
 
13434
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13435
 
 
13436
 
    fi
13437
 
  fi
13438
 
     USE_NLS=yes
13439
 
 
13440
 
 
13441
 
    gt_cv_have_gettext=no
13442
 
 
13443
 
    CATOBJEXT=NONE
13444
 
    XGETTEXT=:
13445
 
    INTLLIBS=
13446
 
 
13447
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13448
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
13449
 
  gt_cv_func_dgettext_libintl="no"
13450
 
      libintl_extra_libs=""
13451
 
 
13452
 
      #
13453
 
      # First check in libc
13454
 
      #
13455
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13456
 
$as_echo_n "checking for ngettext in libc... " >&6; }
13457
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
13458
 
  $as_echo_n "(cached) " >&6
13459
 
else
13460
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461
 
/* end confdefs.h.  */
13462
 
 
13463
 
#include <libintl.h>
13464
 
 
13465
 
int
13466
 
main ()
13467
 
{
13468
 
return !ngettext ("","", 1)
13469
 
  ;
13470
 
  return 0;
13471
 
}
13472
 
_ACEOF
13473
 
if ac_fn_c_try_link "$LINENO"; then :
13474
 
  gt_cv_func_ngettext_libc=yes
13475
 
else
13476
 
  gt_cv_func_ngettext_libc=no
13477
 
fi
13478
 
rm -f core conftest.err conftest.$ac_objext \
13479
 
    conftest$ac_exeext conftest.$ac_ext
13480
 
 
13481
 
fi
13482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13483
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13484
 
 
13485
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13486
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13487
 
$as_echo_n "checking for dgettext in libc... " >&6; }
13488
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
13489
 
  $as_echo_n "(cached) " >&6
13490
 
else
13491
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492
 
/* end confdefs.h.  */
13493
 
 
13494
 
#include <libintl.h>
13495
 
 
13496
 
int
13497
 
main ()
13498
 
{
13499
 
return !dgettext ("","")
13500
 
  ;
13501
 
  return 0;
13502
 
}
13503
 
_ACEOF
13504
 
if ac_fn_c_try_link "$LINENO"; then :
13505
 
  gt_cv_func_dgettext_libc=yes
13506
 
else
13507
 
  gt_cv_func_dgettext_libc=no
13508
 
fi
13509
 
rm -f core conftest.err conftest.$ac_objext \
13510
 
    conftest$ac_exeext conftest.$ac_ext
13511
 
 
13512
 
fi
13513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13514
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13515
 
      fi
13516
 
 
13517
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13518
 
        for ac_func in bind_textdomain_codeset
13519
 
do :
13520
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13521
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13522
 
  cat >>confdefs.h <<_ACEOF
13523
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13524
 
_ACEOF
13525
 
 
13526
 
fi
13527
 
done
13528
 
 
13529
 
      fi
13530
 
 
13531
 
      #
13532
 
      # If we don't have everything we want, check in libintl
13533
 
      #
13534
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
13535
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
13536
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13537
 
 
13538
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13539
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13540
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
13541
 
  $as_echo_n "(cached) " >&6
13542
 
else
13543
 
  ac_check_lib_save_LIBS=$LIBS
13544
 
LIBS="-lintl  $LIBS"
13545
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546
 
/* end confdefs.h.  */
13547
 
 
13548
 
/* Override any GCC internal prototype to avoid an error.
13549
 
   Use char because int might match the return type of a GCC
13550
 
   builtin and then its argument prototype would still apply.  */
13551
 
#ifdef __cplusplus
13552
 
extern "C"
13553
 
#endif
13554
 
char bindtextdomain ();
13555
 
int
13556
 
main ()
13557
 
{
13558
 
return bindtextdomain ();
13559
 
  ;
13560
 
  return 0;
13561
 
}
13562
 
_ACEOF
13563
 
if ac_fn_c_try_link "$LINENO"; then :
13564
 
  ac_cv_lib_intl_bindtextdomain=yes
13565
 
else
13566
 
  ac_cv_lib_intl_bindtextdomain=no
13567
 
fi
13568
 
rm -f core conftest.err conftest.$ac_objext \
13569
 
    conftest$ac_exeext conftest.$ac_ext
13570
 
LIBS=$ac_check_lib_save_LIBS
13571
 
fi
13572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13573
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13574
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
13575
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13576
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13577
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13578
 
  $as_echo_n "(cached) " >&6
13579
 
else
13580
 
  ac_check_lib_save_LIBS=$LIBS
13581
 
LIBS="-lintl  $LIBS"
13582
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583
 
/* end confdefs.h.  */
13584
 
 
13585
 
/* Override any GCC internal prototype to avoid an error.
13586
 
   Use char because int might match the return type of a GCC
13587
 
   builtin and then its argument prototype would still apply.  */
13588
 
#ifdef __cplusplus
13589
 
extern "C"
13590
 
#endif
13591
 
char ngettext ();
13592
 
int
13593
 
main ()
13594
 
{
13595
 
return ngettext ();
13596
 
  ;
13597
 
  return 0;
13598
 
}
13599
 
_ACEOF
13600
 
if ac_fn_c_try_link "$LINENO"; then :
13601
 
  ac_cv_lib_intl_ngettext=yes
13602
 
else
13603
 
  ac_cv_lib_intl_ngettext=no
13604
 
fi
13605
 
rm -f core conftest.err conftest.$ac_objext \
13606
 
    conftest$ac_exeext conftest.$ac_ext
13607
 
LIBS=$ac_check_lib_save_LIBS
13608
 
fi
13609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13610
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13611
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13612
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13613
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13614
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
13615
 
  $as_echo_n "(cached) " >&6
13616
 
else
13617
 
  ac_check_lib_save_LIBS=$LIBS
13618
 
LIBS="-lintl  $LIBS"
13619
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620
 
/* end confdefs.h.  */
13621
 
 
13622
 
/* Override any GCC internal prototype to avoid an error.
13623
 
   Use char because int might match the return type of a GCC
13624
 
   builtin and then its argument prototype would still apply.  */
13625
 
#ifdef __cplusplus
13626
 
extern "C"
13627
 
#endif
13628
 
char dgettext ();
13629
 
int
13630
 
main ()
13631
 
{
13632
 
return dgettext ();
13633
 
  ;
13634
 
  return 0;
13635
 
}
13636
 
_ACEOF
13637
 
if ac_fn_c_try_link "$LINENO"; then :
13638
 
  ac_cv_lib_intl_dgettext=yes
13639
 
else
13640
 
  ac_cv_lib_intl_dgettext=no
13641
 
fi
13642
 
rm -f core conftest.err conftest.$ac_objext \
13643
 
    conftest$ac_exeext conftest.$ac_ext
13644
 
LIBS=$ac_check_lib_save_LIBS
13645
 
fi
13646
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13647
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13648
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
13649
 
  gt_cv_func_dgettext_libintl=yes
13650
 
fi
13651
 
 
13652
 
fi
13653
 
 
13654
 
fi
13655
 
 
13656
 
 
13657
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13658
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13659
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13660
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13661
 
$as_echo "" >&6; }
13662
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13663
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13664
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13665
 
  $as_echo_n "(cached) " >&6
13666
 
else
13667
 
  ac_check_lib_save_LIBS=$LIBS
13668
 
LIBS="-lintl -liconv $LIBS"
13669
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670
 
/* end confdefs.h.  */
13671
 
 
13672
 
/* Override any GCC internal prototype to avoid an error.
13673
 
   Use char because int might match the return type of a GCC
13674
 
   builtin and then its argument prototype would still apply.  */
13675
 
#ifdef __cplusplus
13676
 
extern "C"
13677
 
#endif
13678
 
char ngettext ();
13679
 
int
13680
 
main ()
13681
 
{
13682
 
return ngettext ();
13683
 
  ;
13684
 
  return 0;
13685
 
}
13686
 
_ACEOF
13687
 
if ac_fn_c_try_link "$LINENO"; then :
13688
 
  ac_cv_lib_intl_ngettext=yes
13689
 
else
13690
 
  ac_cv_lib_intl_ngettext=no
13691
 
fi
13692
 
rm -f core conftest.err conftest.$ac_objext \
13693
 
    conftest$ac_exeext conftest.$ac_ext
13694
 
LIBS=$ac_check_lib_save_LIBS
13695
 
fi
13696
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13697
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13698
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13699
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13700
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13701
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
13702
 
  $as_echo_n "(cached) " >&6
13703
 
else
13704
 
  ac_check_lib_save_LIBS=$LIBS
13705
 
LIBS="-lintl -liconv $LIBS"
13706
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707
 
/* end confdefs.h.  */
13708
 
 
13709
 
/* Override any GCC internal prototype to avoid an error.
13710
 
   Use char because int might match the return type of a GCC
13711
 
   builtin and then its argument prototype would still apply.  */
13712
 
#ifdef __cplusplus
13713
 
extern "C"
13714
 
#endif
13715
 
char dcgettext ();
13716
 
int
13717
 
main ()
13718
 
{
13719
 
return dcgettext ();
13720
 
  ;
13721
 
  return 0;
13722
 
}
13723
 
_ACEOF
13724
 
if ac_fn_c_try_link "$LINENO"; then :
13725
 
  ac_cv_lib_intl_dcgettext=yes
13726
 
else
13727
 
  ac_cv_lib_intl_dcgettext=no
13728
 
fi
13729
 
rm -f core conftest.err conftest.$ac_objext \
13730
 
    conftest$ac_exeext conftest.$ac_ext
13731
 
LIBS=$ac_check_lib_save_LIBS
13732
 
fi
13733
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13734
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13735
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
13736
 
  gt_cv_func_dgettext_libintl=yes
13737
 
                        libintl_extra_libs=-liconv
13738
 
else
13739
 
  :
13740
 
fi
13741
 
 
13742
 
else
13743
 
  :
13744
 
fi
13745
 
 
13746
 
        fi
13747
 
 
13748
 
        #
13749
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
13750
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
13751
 
        # and both have dgettext and ngettext
13752
 
        #
13753
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13754
 
          glib_save_LIBS="$LIBS"
13755
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
13756
 
          unset ac_cv_func_bind_textdomain_codeset
13757
 
          for ac_func in bind_textdomain_codeset
13758
 
do :
13759
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13760
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13761
 
  cat >>confdefs.h <<_ACEOF
13762
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13763
 
_ACEOF
13764
 
 
13765
 
fi
13766
 
done
13767
 
 
13768
 
          LIBS="$glib_save_LIBS"
13769
 
 
13770
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13771
 
            gt_cv_func_dgettext_libc=no
13772
 
          else
13773
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
13774
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
13775
 
              gt_cv_func_dgettext_libintl=no
13776
 
            fi
13777
 
          fi
13778
 
        fi
13779
 
      fi
13780
 
 
13781
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
13782
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13783
 
        gt_cv_have_gettext=yes
13784
 
      fi
13785
 
 
13786
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13787
 
        INTLLIBS="-lintl $libintl_extra_libs"
13788
 
      fi
13789
 
 
13790
 
      if test "$gt_cv_have_gettext" = "yes"; then
13791
 
 
13792
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13793
 
 
13794
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
13795
 
set dummy msgfmt; ac_word=$2
13796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13797
 
$as_echo_n "checking for $ac_word... " >&6; }
13798
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13799
 
  $as_echo_n "(cached) " >&6
13800
 
else
13801
 
  case "$MSGFMT" in
13802
 
  /*)
13803
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13804
 
  ;;
13805
 
  *)
13806
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13807
 
  for ac_dir in $PATH; do
13808
 
    test -z "$ac_dir" && ac_dir=.
13809
 
    if test -f $ac_dir/$ac_word; then
13810
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13811
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13812
 
        break
13813
 
      fi
13814
 
    fi
13815
 
  done
13816
 
  IFS="$ac_save_ifs"
13817
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13818
 
  ;;
13819
 
esac
13820
 
fi
13821
 
MSGFMT="$ac_cv_path_MSGFMT"
13822
 
if test "$MSGFMT" != "no"; then
13823
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13824
 
$as_echo "$MSGFMT" >&6; }
13825
 
else
13826
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13827
 
$as_echo "no" >&6; }
13828
 
fi
13829
 
        if test "$MSGFMT" != "no"; then
13830
 
          glib_save_LIBS="$LIBS"
13831
 
          LIBS="$LIBS $INTLLIBS"
13832
 
          for ac_func in dcgettext
13833
 
do :
13834
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13835
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
13836
 
  cat >>confdefs.h <<_ACEOF
13837
 
#define HAVE_DCGETTEXT 1
13838
 
_ACEOF
13839
 
 
13840
 
fi
13841
 
done
13842
 
 
13843
 
          MSGFMT_OPTS=
13844
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13845
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13846
 
          cat >conftest.foo <<_ACEOF
13847
 
 
13848
 
msgid ""
13849
 
msgstr ""
13850
 
"Content-Type: text/plain; charset=UTF-8\n"
13851
 
"Project-Id-Version: test 1.0\n"
13852
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13853
 
"Last-Translator: test <foo@bar.xx>\n"
13854
 
"Language-Team: C <LL@li.org>\n"
13855
 
"MIME-Version: 1.0\n"
13856
 
"Content-Transfer-Encoding: 8bit\n"
13857
 
 
13858
 
_ACEOF
13859
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13860
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13861
 
  ac_status=$?
13862
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13863
 
  test $ac_status = 0; }; then
13864
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13865
 
$as_echo "yes" >&6; }
13866
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13867
 
$as_echo "no" >&6; }
13868
 
echo "$as_me: failed input was:" >&5
13869
 
sed 's/^/| /' conftest.foo >&5
13870
 
fi
13871
 
 
13872
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
13873
 
set dummy gmsgfmt; ac_word=$2
13874
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13875
 
$as_echo_n "checking for $ac_word... " >&6; }
13876
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13877
 
  $as_echo_n "(cached) " >&6
13878
 
else
13879
 
  case $GMSGFMT in
13880
 
  [\\/]* | ?:[\\/]*)
13881
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13882
 
  ;;
13883
 
  *)
13884
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885
 
for as_dir in $PATH
13886
 
do
13887
 
  IFS=$as_save_IFS
13888
 
  test -z "$as_dir" && as_dir=.
13889
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13890
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13891
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13892
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13893
 
    break 2
13894
 
  fi
13895
 
done
13896
 
  done
13897
 
IFS=$as_save_IFS
13898
 
 
13899
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13900
 
  ;;
13901
 
esac
13902
 
fi
13903
 
GMSGFMT=$ac_cv_path_GMSGFMT
13904
 
if test -n "$GMSGFMT"; then
13905
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13906
 
$as_echo "$GMSGFMT" >&6; }
13907
 
else
13908
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909
 
$as_echo "no" >&6; }
13910
 
fi
13911
 
 
13912
 
 
13913
 
          # Extract the first word of "xgettext", so it can be a program name with args.
13914
 
set dummy xgettext; ac_word=$2
13915
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13916
 
$as_echo_n "checking for $ac_word... " >&6; }
13917
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13918
 
  $as_echo_n "(cached) " >&6
13919
 
else
13920
 
  case "$XGETTEXT" in
13921
 
  /*)
13922
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13923
 
  ;;
13924
 
  *)
13925
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13926
 
  for ac_dir in $PATH; do
13927
 
    test -z "$ac_dir" && ac_dir=.
13928
 
    if test -f $ac_dir/$ac_word; then
13929
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13930
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13931
 
        break
13932
 
      fi
13933
 
    fi
13934
 
  done
13935
 
  IFS="$ac_save_ifs"
13936
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13937
 
  ;;
13938
 
esac
13939
 
fi
13940
 
XGETTEXT="$ac_cv_path_XGETTEXT"
13941
 
if test "$XGETTEXT" != ":"; then
13942
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13943
 
$as_echo "$XGETTEXT" >&6; }
13944
 
else
13945
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13946
 
$as_echo "no" >&6; }
13947
 
fi
13948
 
 
13949
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950
 
/* end confdefs.h.  */
13951
 
 
13952
 
int
13953
 
main ()
13954
 
{
13955
 
extern int _nl_msg_cat_cntr;
13956
 
                         return _nl_msg_cat_cntr
13957
 
  ;
13958
 
  return 0;
13959
 
}
13960
 
_ACEOF
13961
 
if ac_fn_c_try_link "$LINENO"; then :
13962
 
  CATOBJEXT=.gmo
13963
 
             DATADIRNAME=share
13964
 
else
13965
 
  case $host in
13966
 
            *-*-solaris*)
13967
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13968
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13969
 
  CATOBJEXT=.gmo
13970
 
               DATADIRNAME=share
13971
 
else
13972
 
  CATOBJEXT=.mo
13973
 
               DATADIRNAME=lib
13974
 
fi
13975
 
 
13976
 
            ;;
13977
 
            *)
13978
 
            CATOBJEXT=.mo
13979
 
            DATADIRNAME=lib
13980
 
            ;;
13981
 
            esac
13982
 
fi
13983
 
rm -f core conftest.err conftest.$ac_objext \
13984
 
    conftest$ac_exeext conftest.$ac_ext
13985
 
          LIBS="$glib_save_LIBS"
13986
 
          INSTOBJEXT=.mo
13987
 
        else
13988
 
          gt_cv_have_gettext=no
13989
 
        fi
13990
 
      fi
13991
 
 
13992
 
fi
13993
 
 
13994
 
 
13995
 
 
13996
 
    if test "$gt_cv_have_gettext" = "yes" ; then
13997
 
 
13998
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13999
 
 
14000
 
    fi
14001
 
 
14002
 
        if test "$XGETTEXT" != ":"; then
14003
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14004
 
        : ;
14005
 
      else
14006
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14007
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14008
 
        XGETTEXT=":"
14009
 
      fi
14010
 
    fi
14011
 
 
14012
 
    # We need to process the po/ directory.
14013
 
    POSUB=po
14014
 
 
14015
 
    ac_config_commands="$ac_config_commands default-1"
14016
 
 
14017
 
 
14018
 
                for lang in $ALL_LINGUAS; do
14019
 
      GMOFILES="$GMOFILES $lang.gmo"
14020
 
      POFILES="$POFILES $lang.po"
14021
 
    done
14022
 
 
14023
 
 
14024
 
 
14025
 
 
14026
 
 
14027
 
 
14028
 
 
14029
 
 
14030
 
 
14031
 
 
14032
 
 
14033
 
 
14034
 
 
14035
 
   if test "$gt_cv_have_gettext" = "yes"; then
14036
 
     if test "x$ALL_LINGUAS" = "x"; then
14037
 
       LINGUAS=
14038
 
     else
14039
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14040
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
14041
 
       NEW_LINGUAS=
14042
 
       for presentlang in $ALL_LINGUAS; do
14043
 
         useit=no
14044
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14045
 
           desiredlanguages="$LINGUAS"
14046
 
         else
14047
 
           desiredlanguages="$ALL_LINGUAS"
14048
 
         fi
14049
 
         for desiredlang in $desiredlanguages; do
14050
 
           # Use the presentlang catalog if desiredlang is
14051
 
           #   a. equal to presentlang, or
14052
 
           #   b. a variant of presentlang (because in this case,
14053
 
           #      presentlang can be used as a fallback for messages
14054
 
           #      which are not translated in the desiredlang catalog).
14055
 
           case "$desiredlang" in
14056
 
             "$presentlang"*) useit=yes;;
14057
 
           esac
14058
 
         done
14059
 
         if test $useit = yes; then
14060
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14061
 
         fi
14062
 
       done
14063
 
       LINGUAS=$NEW_LINGUAS
14064
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14065
 
$as_echo "$LINGUAS" >&6; }
14066
 
     fi
14067
 
 
14068
 
          if test -n "$LINGUAS"; then
14069
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14070
 
     fi
14071
 
   fi
14072
 
 
14073
 
            MKINSTALLDIRS=
14074
 
   if test -n "$ac_aux_dir"; then
14075
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14076
 
   fi
14077
 
   if test -z "$MKINSTALLDIRS"; then
14078
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14079
 
   fi
14080
 
 
14081
 
 
14082
 
         test -d po || mkdir po
14083
 
   if test "x$srcdir" != "x."; then
14084
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14085
 
       posrcprefix="$srcdir/"
14086
 
     else
14087
 
       posrcprefix="../$srcdir/"
14088
 
     fi
14089
 
   else
14090
 
     posrcprefix="../"
14091
 
   fi
14092
 
   rm -f po/POTFILES
14093
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14094
 
        < $srcdir/po/POTFILES.in > po/POTFILES
14095
 
 
14096
 
 
14097
 
cat >>confdefs.h <<_ACEOF
14098
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14099
 
_ACEOF
14100
 
 
14101
 
 
14102
 
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/Makefile data/ui/Makefile data/ui/about.glade data/pcmanfm.desktop"
14103
 
 
14104
 
 
14105
 
cat >confcache <<\_ACEOF
14106
 
# This file is a shell script that caches the results of configure
14107
 
# tests run on this system so they can be shared between configure
14108
 
# scripts and configure runs, see configure's option --config-cache.
14109
 
# It is not useful on other systems.  If it contains results you don't
14110
 
# want to keep, you may remove or edit it.
14111
 
#
14112
 
# config.status only pays attention to the cache file if you give it
14113
 
# the --recheck option to rerun configure.
14114
 
#
14115
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14116
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14117
 
# following values.
14118
 
 
14119
 
_ACEOF
14120
 
 
14121
 
# The following way of writing the cache mishandles newlines in values,
14122
 
# but we know of no workaround that is simple, portable, and efficient.
14123
 
# So, we kill variables containing newlines.
14124
 
# Ultrix sh set writes to stderr and can't be redirected directly,
14125
 
# and sets the high bit in the cache file unless we assign to the vars.
14126
 
(
14127
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14128
 
    eval ac_val=\$$ac_var
14129
 
    case $ac_val in #(
14130
 
    *${as_nl}*)
14131
 
      case $ac_var in #(
14132
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14133
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14134
 
      esac
14135
 
      case $ac_var in #(
14136
 
      _ | IFS | as_nl) ;; #(
14137
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14138
 
      *) { eval $ac_var=; unset $ac_var;} ;;
14139
 
      esac ;;
14140
 
    esac
14141
 
  done
14142
 
 
14143
 
  (set) 2>&1 |
14144
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14145
 
    *${as_nl}ac_space=\ *)
14146
 
      # `set' does not quote correctly, so add quotes: double-quote
14147
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
14148
 
      sed -n \
14149
 
        "s/'/'\\\\''/g;
14150
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14151
 
      ;; #(
14152
 
    *)
14153
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
14154
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14155
 
      ;;
14156
 
    esac |
14157
 
    sort
14158
 
) |
14159
 
  sed '
14160
 
     /^ac_cv_env_/b end
14161
 
     t clear
14162
 
     :clear
14163
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14164
 
     t end
14165
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14166
 
     :end' >>confcache
14167
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14168
 
  if test -w "$cache_file"; then
14169
 
    test "x$cache_file" != "x/dev/null" &&
14170
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14171
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
14172
 
    cat confcache >$cache_file
14173
 
  else
14174
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14175
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14176
 
  fi
14177
 
fi
14178
 
rm -f confcache
14179
 
 
14180
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14181
 
# Let make expand exec_prefix.
14182
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14183
 
 
14184
 
DEFS=-DHAVE_CONFIG_H
14185
 
 
14186
 
ac_libobjs=
14187
 
ac_ltlibobjs=
14188
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14189
 
  # 1. Remove the extension, and $U if already installed.
14190
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14191
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14192
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14193
 
  #    will be set to the directory where LIBOBJS objects are built.
14194
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14195
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14196
 
done
14197
 
LIBOBJS=$ac_libobjs
14198
 
 
14199
 
LTLIBOBJS=$ac_ltlibobjs
14200
 
 
14201
 
 
14202
 
 if test -n "$EXEEXT"; then
14203
 
  am__EXEEXT_TRUE=
14204
 
  am__EXEEXT_FALSE='#'
14205
 
else
14206
 
  am__EXEEXT_TRUE='#'
14207
 
  am__EXEEXT_FALSE=
14208
 
fi
14209
 
 
14210
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14211
 
  as_fn_error "conditional \"AMDEP\" was never defined.
14212
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14213
 
fi
14214
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14215
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14216
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14217
 
fi
14218
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14219
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14220
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14221
 
fi
14222
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14223
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14224
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14225
 
fi
14226
 
 
14227
 
  ac_config_commands="$ac_config_commands po/stamp-it"
14228
 
 
14229
 
 
14230
 
 
14231
 
: ${CONFIG_STATUS=./config.status}
14232
 
ac_write_fail=0
14233
 
ac_clean_files_save=$ac_clean_files
14234
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14235
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14236
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14237
 
as_write_fail=0
14238
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14239
 
#! $SHELL
14240
 
# Generated by $as_me.
14241
 
# Run this file to recreate the current configuration.
14242
 
# Compiler output produced by configure, useful for debugging
14243
 
# configure, is in config.log if it exists.
14244
 
 
14245
 
debug=false
14246
 
ac_cs_recheck=false
14247
 
ac_cs_silent=false
14248
 
 
14249
 
SHELL=\${CONFIG_SHELL-$SHELL}
14250
 
export SHELL
14251
 
_ASEOF
14252
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14253
 
## -------------------- ##
14254
 
## M4sh Initialization. ##
14255
 
## -------------------- ##
14256
 
 
14257
 
# Be more Bourne compatible
14258
 
DUALCASE=1; export DUALCASE # for MKS sh
14259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14260
 
  emulate sh
14261
 
  NULLCMD=:
14262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14263
 
  # is contrary to our usage.  Disable this feature.
14264
 
  alias -g '${1+"$@"}'='"$@"'
14265
 
  setopt NO_GLOB_SUBST
14266
 
else
14267
 
  case `(set -o) 2>/dev/null` in #(
14268
 
  *posix*) :
14269
 
    set -o posix ;; #(
14270
 
  *) :
14271
 
     ;;
14272
 
esac
14273
 
fi
14274
 
 
14275
 
 
14276
 
as_nl='
14277
 
'
14278
 
export as_nl
14279
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
14280
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14281
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14282
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14283
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
14284
 
# but without wasting forks for bash or zsh.
14285
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
14286
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14287
 
  as_echo='print -r --'
14288
 
  as_echo_n='print -rn --'
14289
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14290
 
  as_echo='printf %s\n'
14291
 
  as_echo_n='printf %s'
14292
 
else
14293
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14294
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14295
 
    as_echo_n='/usr/ucb/echo -n'
14296
 
  else
14297
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14298
 
    as_echo_n_body='eval
14299
 
      arg=$1;
14300
 
      case $arg in #(
14301
 
      *"$as_nl"*)
14302
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
14303
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14304
 
      esac;
14305
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14306
 
    '
14307
 
    export as_echo_n_body
14308
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
14309
 
  fi
14310
 
  export as_echo_body
14311
 
  as_echo='sh -c $as_echo_body as_echo'
14312
 
fi
14313
 
 
14314
 
# The user is always right.
14315
 
if test "${PATH_SEPARATOR+set}" != set; then
14316
 
  PATH_SEPARATOR=:
14317
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14318
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14319
 
      PATH_SEPARATOR=';'
14320
 
  }
14321
 
fi
14322
 
 
14323
 
 
14324
 
# IFS
14325
 
# We need space, tab and new line, in precisely that order.  Quoting is
14326
 
# there to prevent editors from complaining about space-tab.
14327
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14328
 
# splitting by setting IFS to empty value.)
14329
 
IFS=" ""        $as_nl"
14330
 
 
14331
 
# Find who we are.  Look in the path if we contain no directory separator.
14332
 
case $0 in #((
14333
 
  *[\\/]* ) as_myself=$0 ;;
14334
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14335
 
for as_dir in $PATH
14336
 
do
14337
 
  IFS=$as_save_IFS
14338
 
  test -z "$as_dir" && as_dir=.
14339
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14340
 
  done
14341
 
IFS=$as_save_IFS
14342
 
 
14343
 
     ;;
14344
 
esac
14345
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
14346
 
# in which case we are not to be found in the path.
14347
 
if test "x$as_myself" = x; then
14348
 
  as_myself=$0
14349
 
fi
14350
 
if test ! -f "$as_myself"; then
14351
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14352
 
  exit 1
14353
 
fi
14354
 
 
14355
 
# Unset variables that we do not need and which cause bugs (e.g. in
14356
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14357
 
# suppresses any "Segmentation fault" message there.  '((' could
14358
 
# trigger a bug in pdksh 5.2.14.
14359
 
for as_var in BASH_ENV ENV MAIL MAILPATH
14360
 
do eval test x\${$as_var+set} = xset \
14361
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14362
 
done
14363
 
PS1='$ '
14364
 
PS2='> '
14365
 
PS4='+ '
14366
 
 
14367
 
# NLS nuisances.
14368
 
LC_ALL=C
14369
 
export LC_ALL
14370
 
LANGUAGE=C
14371
 
export LANGUAGE
14372
 
 
14373
 
# CDPATH.
14374
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14375
 
 
14376
 
 
14377
 
# as_fn_error ERROR [LINENO LOG_FD]
14378
 
# ---------------------------------
14379
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14380
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14381
 
# script with status $?, using 1 if that was 0.
14382
 
as_fn_error ()
14383
 
{
14384
 
  as_status=$?; test $as_status -eq 0 && as_status=1
14385
 
  if test "$3"; then
14386
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14387
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14388
 
  fi
14389
 
  $as_echo "$as_me: error: $1" >&2
14390
 
  as_fn_exit $as_status
14391
 
} # as_fn_error
14392
 
 
14393
 
 
14394
 
# as_fn_set_status STATUS
14395
 
# -----------------------
14396
 
# Set $? to STATUS, without forking.
14397
 
as_fn_set_status ()
14398
 
{
14399
 
  return $1
14400
 
} # as_fn_set_status
14401
 
 
14402
 
# as_fn_exit STATUS
14403
 
# -----------------
14404
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14405
 
as_fn_exit ()
14406
 
{
14407
 
  set +e
14408
 
  as_fn_set_status $1
14409
 
  exit $1
14410
 
} # as_fn_exit
14411
 
 
14412
 
# as_fn_unset VAR
14413
 
# ---------------
14414
 
# Portably unset VAR.
14415
 
as_fn_unset ()
14416
 
{
14417
 
  { eval $1=; unset $1;}
14418
 
}
14419
 
as_unset=as_fn_unset
14420
 
# as_fn_append VAR VALUE
14421
 
# ----------------------
14422
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
14423
 
# advantage of any shell optimizations that allow amortized linear growth over
14424
 
# repeated appends, instead of the typical quadratic growth present in naive
14425
 
# implementations.
14426
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14427
 
  eval 'as_fn_append ()
14428
 
  {
14429
 
    eval $1+=\$2
14430
 
  }'
14431
 
else
14432
 
  as_fn_append ()
14433
 
  {
14434
 
    eval $1=\$$1\$2
14435
 
  }
14436
 
fi # as_fn_append
14437
 
 
14438
 
# as_fn_arith ARG...
14439
 
# ------------------
14440
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
14441
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
14442
 
# must be portable across $(()) and expr.
14443
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14444
 
  eval 'as_fn_arith ()
14445
 
  {
14446
 
    as_val=$(( $* ))
14447
 
  }'
14448
 
else
14449
 
  as_fn_arith ()
14450
 
  {
14451
 
    as_val=`expr "$@" || test $? -eq 1`
14452
 
  }
14453
 
fi # as_fn_arith
14454
 
 
14455
 
 
14456
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
14457
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14458
 
  as_expr=expr
14459
 
else
14460
 
  as_expr=false
14461
 
fi
14462
 
 
14463
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14464
 
  as_basename=basename
14465
 
else
14466
 
  as_basename=false
14467
 
fi
14468
 
 
14469
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14470
 
  as_dirname=dirname
14471
 
else
14472
 
  as_dirname=false
14473
 
fi
14474
 
 
14475
 
as_me=`$as_basename -- "$0" ||
14476
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14477
 
         X"$0" : 'X\(//\)$' \| \
14478
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14479
 
$as_echo X/"$0" |
14480
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
14481
 
            s//\1/
14482
 
            q
14483
 
          }
14484
 
          /^X\/\(\/\/\)$/{
14485
 
            s//\1/
14486
 
            q
14487
 
          }
14488
 
          /^X\/\(\/\).*/{
14489
 
            s//\1/
14490
 
            q
14491
 
          }
14492
 
          s/.*/./; q'`
14493
 
 
14494
 
# Avoid depending upon Character Ranges.
14495
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14496
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14497
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14498
 
as_cr_digits='0123456789'
14499
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
14500
 
 
14501
 
ECHO_C= ECHO_N= ECHO_T=
14502
 
case `echo -n x` in #(((((
14503
 
-n*)
14504
 
  case `echo 'xy\c'` in
14505
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14506
 
  xy)  ECHO_C='\c';;
14507
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14508
 
       ECHO_T=' ';;
14509
 
  esac;;
14510
 
*)
14511
 
  ECHO_N='-n';;
14512
 
esac
14513
 
 
14514
 
rm -f conf$$ conf$$.exe conf$$.file
14515
 
if test -d conf$$.dir; then
14516
 
  rm -f conf$$.dir/conf$$.file
14517
 
else
14518
 
  rm -f conf$$.dir
14519
 
  mkdir conf$$.dir 2>/dev/null
14520
 
fi
14521
 
if (echo >conf$$.file) 2>/dev/null; then
14522
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
14523
 
    as_ln_s='ln -s'
14524
 
    # ... but there are two gotchas:
14525
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14526
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14527
 
    # In both cases, we have to default to `cp -p'.
14528
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14529
 
      as_ln_s='cp -p'
14530
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
14531
 
    as_ln_s=ln
14532
 
  else
14533
 
    as_ln_s='cp -p'
14534
 
  fi
14535
 
else
14536
 
  as_ln_s='cp -p'
14537
 
fi
14538
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14539
 
rmdir conf$$.dir 2>/dev/null
14540
 
 
14541
 
 
14542
 
# as_fn_mkdir_p
14543
 
# -------------
14544
 
# Create "$as_dir" as a directory, including parents if necessary.
14545
 
as_fn_mkdir_p ()
14546
 
{
14547
 
 
14548
 
  case $as_dir in #(
14549
 
  -*) as_dir=./$as_dir;;
14550
 
  esac
14551
 
  test -d "$as_dir" || eval $as_mkdir_p || {
14552
 
    as_dirs=
14553
 
    while :; do
14554
 
      case $as_dir in #(
14555
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14556
 
      *) as_qdir=$as_dir;;
14557
 
      esac
14558
 
      as_dirs="'$as_qdir' $as_dirs"
14559
 
      as_dir=`$as_dirname -- "$as_dir" ||
14560
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14561
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
14562
 
         X"$as_dir" : 'X\(//\)$' \| \
14563
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14564
 
$as_echo X"$as_dir" |
14565
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14566
 
            s//\1/
14567
 
            q
14568
 
          }
14569
 
          /^X\(\/\/\)[^/].*/{
14570
 
            s//\1/
14571
 
            q
14572
 
          }
14573
 
          /^X\(\/\/\)$/{
14574
 
            s//\1/
14575
 
            q
14576
 
          }
14577
 
          /^X\(\/\).*/{
14578
 
            s//\1/
14579
 
            q
14580
 
          }
14581
 
          s/.*/./; q'`
14582
 
      test -d "$as_dir" && break
14583
 
    done
14584
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14585
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14586
 
 
14587
 
 
14588
 
} # as_fn_mkdir_p
14589
 
if mkdir -p . 2>/dev/null; then
14590
 
  as_mkdir_p='mkdir -p "$as_dir"'
14591
 
else
14592
 
  test -d ./-p && rmdir ./-p
14593
 
  as_mkdir_p=false
14594
 
fi
14595
 
 
14596
 
if test -x / >/dev/null 2>&1; then
14597
 
  as_test_x='test -x'
14598
 
else
14599
 
  if ls -dL / >/dev/null 2>&1; then
14600
 
    as_ls_L_option=L
14601
 
  else
14602
 
    as_ls_L_option=
14603
 
  fi
14604
 
  as_test_x='
14605
 
    eval sh -c '\''
14606
 
      if test -d "$1"; then
14607
 
        test -d "$1/.";
14608
 
      else
14609
 
        case $1 in #(
14610
 
        -*)set "./$1";;
14611
 
        esac;
14612
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14613
 
        ???[sx]*):;;*)false;;esac;fi
14614
 
    '\'' sh
14615
 
  '
14616
 
fi
14617
 
as_executable_p=$as_test_x
14618
 
 
14619
 
# Sed expression to map a string onto a valid CPP name.
14620
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14621
 
 
14622
 
# Sed expression to map a string onto a valid variable name.
14623
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14624
 
 
14625
 
 
14626
 
exec 6>&1
14627
 
## ----------------------------------- ##
14628
 
## Main body of $CONFIG_STATUS script. ##
14629
 
## ----------------------------------- ##
14630
 
_ASEOF
14631
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14632
 
 
14633
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14634
 
# Save the log message, to keep $0 and so on meaningful, and to
14635
 
# report actual input values of CONFIG_FILES etc. instead of their
14636
 
# values after options handling.
14637
 
ac_log="
14638
 
This file was extended by pcmanfm $as_me 0.9.7, which was
14639
 
generated by GNU Autoconf 2.65.  Invocation command line was
14640
 
 
14641
 
  CONFIG_FILES    = $CONFIG_FILES
14642
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
14643
 
  CONFIG_LINKS    = $CONFIG_LINKS
14644
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
14645
 
  $ $0 $@
14646
 
 
14647
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14648
 
"
14649
 
 
14650
 
_ACEOF
14651
 
 
14652
 
case $ac_config_files in *"
14653
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14654
 
esac
14655
 
 
14656
 
case $ac_config_headers in *"
14657
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14658
 
esac
14659
 
 
14660
 
 
14661
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14662
 
# Files that config.status was made for.
14663
 
config_files="$ac_config_files"
14664
 
config_headers="$ac_config_headers"
14665
 
config_commands="$ac_config_commands"
14666
 
 
14667
 
_ACEOF
14668
 
 
14669
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14670
 
ac_cs_usage="\
14671
 
\`$as_me' instantiates files and other configuration actions
14672
 
from templates according to the current configuration.  Unless the files
14673
 
and actions are specified as TAGs, all are instantiated by default.
14674
 
 
14675
 
Usage: $0 [OPTION]... [TAG]...
14676
 
 
14677
 
  -h, --help       print this help, then exit
14678
 
  -V, --version    print version number and configuration settings, then exit
14679
 
      --config     print configuration, then exit
14680
 
  -q, --quiet, --silent
14681
 
                   do not print progress messages
14682
 
  -d, --debug      don't remove temporary files
14683
 
      --recheck    update $as_me by reconfiguring in the same conditions
14684
 
      --file=FILE[:TEMPLATE]
14685
 
                   instantiate the configuration file FILE
14686
 
      --header=FILE[:TEMPLATE]
14687
 
                   instantiate the configuration header FILE
14688
 
 
14689
 
Configuration files:
14690
 
$config_files
14691
 
 
14692
 
Configuration headers:
14693
 
$config_headers
14694
 
 
14695
 
Configuration commands:
14696
 
$config_commands
14697
 
 
14698
 
Report bugs to <http://pcmanfm.sf.net/>."
14699
 
 
14700
 
_ACEOF
14701
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14702
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14703
 
ac_cs_version="\\
14704
 
pcmanfm config.status 0.9.7
14705
 
configured by $0, generated by GNU Autoconf 2.65,
14706
 
  with options \\"\$ac_cs_config\\"
14707
 
 
14708
 
Copyright (C) 2009 Free Software Foundation, Inc.
14709
 
This config.status script is free software; the Free Software Foundation
14710
 
gives unlimited permission to copy, distribute and modify it."
14711
 
 
14712
 
ac_pwd='$ac_pwd'
14713
 
srcdir='$srcdir'
14714
 
INSTALL='$INSTALL'
14715
 
MKDIR_P='$MKDIR_P'
14716
 
AWK='$AWK'
14717
 
test -n "\$AWK" || AWK=awk
14718
 
_ACEOF
14719
 
 
14720
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14721
 
# The default lists apply if the user does not specify any file.
14722
 
ac_need_defaults=:
14723
 
while test $# != 0
14724
 
do
14725
 
  case $1 in
14726
 
  --*=*)
14727
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14728
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14729
 
    ac_shift=:
14730
 
    ;;
14731
 
  *)
14732
 
    ac_option=$1
14733
 
    ac_optarg=$2
14734
 
    ac_shift=shift
14735
 
    ;;
14736
 
  esac
14737
 
 
14738
 
  case $ac_option in
14739
 
  # Handling of the options.
14740
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14741
 
    ac_cs_recheck=: ;;
14742
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14743
 
    $as_echo "$ac_cs_version"; exit ;;
14744
 
  --config | --confi | --conf | --con | --co | --c )
14745
 
    $as_echo "$ac_cs_config"; exit ;;
14746
 
  --debug | --debu | --deb | --de | --d | -d )
14747
 
    debug=: ;;
14748
 
  --file | --fil | --fi | --f )
14749
 
    $ac_shift
14750
 
    case $ac_optarg in
14751
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14752
 
    esac
14753
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
14754
 
    ac_need_defaults=false;;
14755
 
  --header | --heade | --head | --hea )
14756
 
    $ac_shift
14757
 
    case $ac_optarg in
14758
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14759
 
    esac
14760
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14761
 
    ac_need_defaults=false;;
14762
 
  --he | --h)
14763
 
    # Conflict between --help and --header
14764
 
    as_fn_error "ambiguous option: \`$1'
14765
 
Try \`$0 --help' for more information.";;
14766
 
  --help | --hel | -h )
14767
 
    $as_echo "$ac_cs_usage"; exit ;;
14768
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14769
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14770
 
    ac_cs_silent=: ;;
14771
 
 
14772
 
  # This is an error.
14773
 
  -*) as_fn_error "unrecognized option: \`$1'
14774
 
Try \`$0 --help' for more information." ;;
14775
 
 
14776
 
  *) as_fn_append ac_config_targets " $1"
14777
 
     ac_need_defaults=false ;;
14778
 
 
14779
 
  esac
14780
 
  shift
14781
 
done
14782
 
 
14783
 
ac_configure_extra_args=
14784
 
 
14785
 
if $ac_cs_silent; then
14786
 
  exec 6>/dev/null
14787
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
14788
 
fi
14789
 
 
14790
 
_ACEOF
14791
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14792
 
if \$ac_cs_recheck; then
14793
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14794
 
  shift
14795
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14796
 
  CONFIG_SHELL='$SHELL'
14797
 
  export CONFIG_SHELL
14798
 
  exec "\$@"
14799
 
fi
14800
 
 
14801
 
_ACEOF
14802
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14803
 
exec 5>>config.log
14804
 
{
14805
 
  echo
14806
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14807
 
## Running $as_me. ##
14808
 
_ASBOX
14809
 
  $as_echo "$ac_log"
14810
 
} >&5
14811
 
 
14812
 
_ACEOF
14813
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14814
 
#
14815
 
# INIT-COMMANDS
14816
 
#
14817
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14818
 
 
14819
 
 
14820
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
14821
 
# if CDPATH is set.
14822
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14823
 
 
14824
 
sed_quote_subst='$sed_quote_subst'
14825
 
double_quote_subst='$double_quote_subst'
14826
 
delay_variable_subst='$delay_variable_subst'
14827
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14828
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14829
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14830
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14831
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14832
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14833
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14834
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14835
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14836
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14837
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14838
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14839
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14840
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14841
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14842
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14843
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14844
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14845
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14846
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14847
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14848
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14849
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14850
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14851
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14852
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14853
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14854
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14855
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14856
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14857
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14858
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14859
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14860
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14861
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14862
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14863
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14864
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14865
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14866
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14867
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14868
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14869
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14870
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14871
 
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"`'
14872
 
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"`'
14873
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14874
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14875
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14876
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14877
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14878
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14879
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14880
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14881
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14882
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14883
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14884
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14885
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14886
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14887
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14888
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14889
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14890
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14891
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14892
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14893
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14894
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14895
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14896
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14897
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14898
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14899
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14900
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14901
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14902
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14903
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14904
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14905
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14906
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14907
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14908
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14909
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14910
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14911
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14912
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14913
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14914
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14915
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14916
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14917
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14918
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14919
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14920
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14921
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14922
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14923
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14924
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14925
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14926
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14927
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14928
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14929
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14930
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14931
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14932
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14933
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14934
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14935
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14936
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14937
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14938
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14939
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14940
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14941
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14942
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14943
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14944
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14945
 
 
14946
 
LTCC='$LTCC'
14947
 
LTCFLAGS='$LTCFLAGS'
14948
 
compiler='$compiler_DEFAULT'
14949
 
 
14950
 
# Quote evaled strings.
14951
 
for var in SED \
14952
 
GREP \
14953
 
EGREP \
14954
 
FGREP \
14955
 
LD \
14956
 
NM \
14957
 
LN_S \
14958
 
lt_SP2NL \
14959
 
lt_NL2SP \
14960
 
reload_flag \
14961
 
OBJDUMP \
14962
 
deplibs_check_method \
14963
 
file_magic_cmd \
14964
 
AR \
14965
 
AR_FLAGS \
14966
 
STRIP \
14967
 
RANLIB \
14968
 
CC \
14969
 
CFLAGS \
14970
 
compiler \
14971
 
lt_cv_sys_global_symbol_pipe \
14972
 
lt_cv_sys_global_symbol_to_cdecl \
14973
 
lt_cv_sys_global_symbol_to_c_name_address \
14974
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14975
 
SHELL \
14976
 
ECHO \
14977
 
lt_prog_compiler_no_builtin_flag \
14978
 
lt_prog_compiler_wl \
14979
 
lt_prog_compiler_pic \
14980
 
lt_prog_compiler_static \
14981
 
lt_cv_prog_compiler_c_o \
14982
 
need_locks \
14983
 
DSYMUTIL \
14984
 
NMEDIT \
14985
 
LIPO \
14986
 
OTOOL \
14987
 
OTOOL64 \
14988
 
shrext_cmds \
14989
 
export_dynamic_flag_spec \
14990
 
whole_archive_flag_spec \
14991
 
compiler_needs_object \
14992
 
with_gnu_ld \
14993
 
allow_undefined_flag \
14994
 
no_undefined_flag \
14995
 
hardcode_libdir_flag_spec \
14996
 
hardcode_libdir_flag_spec_ld \
14997
 
hardcode_libdir_separator \
14998
 
fix_srcfile_path \
14999
 
exclude_expsyms \
15000
 
include_expsyms \
15001
 
file_list_spec \
15002
 
variables_saved_for_relink \
15003
 
libname_spec \
15004
 
library_names_spec \
15005
 
soname_spec \
15006
 
finish_eval \
15007
 
old_striplib \
15008
 
striplib; do
15009
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15010
 
    *[\\\\\\\`\\"\\\$]*)
15011
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15012
 
      ;;
15013
 
    *)
15014
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15015
 
      ;;
15016
 
    esac
15017
 
done
15018
 
 
15019
 
# Double-quote double-evaled strings.
15020
 
for var in reload_cmds \
15021
 
old_postinstall_cmds \
15022
 
old_postuninstall_cmds \
15023
 
old_archive_cmds \
15024
 
extract_expsyms_cmds \
15025
 
old_archive_from_new_cmds \
15026
 
old_archive_from_expsyms_cmds \
15027
 
archive_cmds \
15028
 
archive_expsym_cmds \
15029
 
module_cmds \
15030
 
module_expsym_cmds \
15031
 
export_symbols_cmds \
15032
 
prelink_cmds \
15033
 
postinstall_cmds \
15034
 
postuninstall_cmds \
15035
 
finish_cmds \
15036
 
sys_lib_search_path_spec \
15037
 
sys_lib_dlsearch_path_spec; do
15038
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15039
 
    *[\\\\\\\`\\"\\\$]*)
15040
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15041
 
      ;;
15042
 
    *)
15043
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15044
 
      ;;
15045
 
    esac
15046
 
done
15047
 
 
15048
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15049
 
case \$lt_ECHO in
15050
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15051
 
  ;;
15052
 
esac
15053
 
 
15054
 
ac_aux_dir='$ac_aux_dir'
15055
 
xsi_shell='$xsi_shell'
15056
 
lt_shell_append='$lt_shell_append'
15057
 
 
15058
 
# See if we are running on zsh, and set the options which allow our
15059
 
# commands through without removal of \ escapes INIT.
15060
 
if test -n "\${ZSH_VERSION+set}" ; then
15061
 
   setopt NO_GLOB_SUBST
15062
 
fi
15063
 
 
15064
 
 
15065
 
    PACKAGE='$PACKAGE'
15066
 
    VERSION='$VERSION'
15067
 
    TIMESTAMP='$TIMESTAMP'
15068
 
    RM='$RM'
15069
 
    ofile='$ofile'
15070
 
 
15071
 
 
15072
 
 
15073
 
 
15074
 
 
15075
 
_ACEOF
15076
 
 
15077
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15078
 
 
15079
 
# Handling of arguments.
15080
 
for ac_config_target in $ac_config_targets
15081
 
do
15082
 
  case $ac_config_target in
15083
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15084
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15085
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15086
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15087
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15088
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15089
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15090
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15091
 
    "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
15092
 
    "data/ui/about.glade") CONFIG_FILES="$CONFIG_FILES data/ui/about.glade" ;;
15093
 
    "data/pcmanfm.desktop") CONFIG_FILES="$CONFIG_FILES data/pcmanfm.desktop" ;;
15094
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15095
 
 
15096
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15097
 
  esac
15098
 
done
15099
 
 
15100
 
 
15101
 
# If the user did not use the arguments to specify the items to instantiate,
15102
 
# then the envvar interface is used.  Set only those that are not.
15103
 
# We use the long form for the default assignment because of an extremely
15104
 
# bizarre bug on SunOS 4.1.3.
15105
 
if $ac_need_defaults; then
15106
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15107
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15108
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15109
 
fi
15110
 
 
15111
 
# Have a temporary directory for convenience.  Make it in the build tree
15112
 
# simply because there is no reason against having it here, and in addition,
15113
 
# creating and moving files from /tmp can sometimes cause problems.
15114
 
# Hook for its removal unless debugging.
15115
 
# Note that there is a small window in which the directory will not be cleaned:
15116
 
# after its creation but before its name has been assigned to `$tmp'.
15117
 
$debug ||
15118
 
{
15119
 
  tmp=
15120
 
  trap 'exit_status=$?
15121
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15122
 
' 0
15123
 
  trap 'as_fn_exit 1' 1 2 13 15
15124
 
}
15125
 
# Create a (secure) tmp directory for tmp files.
15126
 
 
15127
 
{
15128
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15129
 
  test -n "$tmp" && test -d "$tmp"
15130
 
}  ||
15131
 
{
15132
 
  tmp=./conf$$-$RANDOM
15133
 
  (umask 077 && mkdir "$tmp")
15134
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15135
 
 
15136
 
# Set up the scripts for CONFIG_FILES section.
15137
 
# No need to generate them if there are no CONFIG_FILES.
15138
 
# This happens for instance with `./config.status config.h'.
15139
 
if test -n "$CONFIG_FILES"; then
15140
 
 
15141
 
 
15142
 
ac_cr=`echo X | tr X '\015'`
15143
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15144
 
# But we know of no other shell where ac_cr would be empty at this
15145
 
# point, so we can use a bashism as a fallback.
15146
 
if test "x$ac_cr" = x; then
15147
 
  eval ac_cr=\$\'\\r\'
15148
 
fi
15149
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15150
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15151
 
  ac_cs_awk_cr='\r'
15152
 
else
15153
 
  ac_cs_awk_cr=$ac_cr
15154
 
fi
15155
 
 
15156
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
15157
 
_ACEOF
15158
 
 
15159
 
 
15160
 
{
15161
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
15162
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15163
 
  echo "_ACEOF"
15164
 
} >conf$$subs.sh ||
15165
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15166
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15167
 
ac_delim='%!_!# '
15168
 
for ac_last_try in false false false false false :; do
15169
 
  . ./conf$$subs.sh ||
15170
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15171
 
 
15172
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15173
 
  if test $ac_delim_n = $ac_delim_num; then
15174
 
    break
15175
 
  elif $ac_last_try; then
15176
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15177
 
  else
15178
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15179
 
  fi
15180
 
done
15181
 
rm -f conf$$subs.sh
15182
 
 
15183
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15184
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15185
 
_ACEOF
15186
 
sed -n '
15187
 
h
15188
 
s/^/S["/; s/!.*/"]=/
15189
 
p
15190
 
g
15191
 
s/^[^!]*!//
15192
 
:repl
15193
 
t repl
15194
 
s/'"$ac_delim"'$//
15195
 
t delim
15196
 
:nl
15197
 
h
15198
 
s/\(.\{148\}\)..*/\1/
15199
 
t more1
15200
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15201
 
p
15202
 
n
15203
 
b repl
15204
 
:more1
15205
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15206
 
p
15207
 
g
15208
 
s/.\{148\}//
15209
 
t nl
15210
 
:delim
15211
 
h
15212
 
s/\(.\{148\}\)..*/\1/
15213
 
t more2
15214
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
15215
 
p
15216
 
b
15217
 
:more2
15218
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15219
 
p
15220
 
g
15221
 
s/.\{148\}//
15222
 
t delim
15223
 
' <conf$$subs.awk | sed '
15224
 
/^[^""]/{
15225
 
  N
15226
 
  s/\n//
15227
 
}
15228
 
' >>$CONFIG_STATUS || ac_write_fail=1
15229
 
rm -f conf$$subs.awk
15230
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15231
 
_ACAWK
15232
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15233
 
  for (key in S) S_is_set[key] = 1
15234
 
  FS = ""
15235
 
 
15236
 
}
15237
 
{
15238
 
  line = $ 0
15239
 
  nfields = split(line, field, "@")
15240
 
  substed = 0
15241
 
  len = length(field[1])
15242
 
  for (i = 2; i < nfields; i++) {
15243
 
    key = field[i]
15244
 
    keylen = length(key)
15245
 
    if (S_is_set[key]) {
15246
 
      value = S[key]
15247
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15248
 
      len += length(value) + length(field[++i])
15249
 
      substed = 1
15250
 
    } else
15251
 
      len += 1 + keylen
15252
 
  }
15253
 
 
15254
 
  print line
15255
 
}
15256
 
 
15257
 
_ACAWK
15258
 
_ACEOF
15259
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15260
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15261
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15262
 
else
15263
 
  cat
15264
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15265
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
15266
 
_ACEOF
15267
 
 
15268
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15269
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15270
 
# trailing colons and then remove the whole line if VPATH becomes empty
15271
 
# (actually we leave an empty line to preserve line numbers).
15272
 
if test "x$srcdir" = x.; then
15273
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15274
 
s/:*\$(srcdir):*/:/
15275
 
s/:*\${srcdir}:*/:/
15276
 
s/:*@srcdir@:*/:/
15277
 
s/^\([^=]*=[     ]*\):*/\1/
15278
 
s/:*$//
15279
 
s/^[^=]*=[       ]*$//
15280
 
}'
15281
 
fi
15282
 
 
15283
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15284
 
fi # test -n "$CONFIG_FILES"
15285
 
 
15286
 
# Set up the scripts for CONFIG_HEADERS section.
15287
 
# No need to generate them if there are no CONFIG_HEADERS.
15288
 
# This happens for instance with `./config.status Makefile'.
15289
 
if test -n "$CONFIG_HEADERS"; then
15290
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
15291
 
BEGIN {
15292
 
_ACEOF
15293
 
 
15294
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
15295
 
# here-document in config.status, that substitutes the proper values into
15296
 
# config.h.in to produce config.h.
15297
 
 
15298
 
# Create a delimiter string that does not exist in confdefs.h, to ease
15299
 
# handling of long lines.
15300
 
ac_delim='%!_!# '
15301
 
for ac_last_try in false false :; do
15302
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15303
 
  if test -z "$ac_t"; then
15304
 
    break
15305
 
  elif $ac_last_try; then
15306
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15307
 
  else
15308
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15309
 
  fi
15310
 
done
15311
 
 
15312
 
# For the awk script, D is an array of macro values keyed by name,
15313
 
# likewise P contains macro parameters if any.  Preserve backslash
15314
 
# newline sequences.
15315
 
 
15316
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15317
 
sed -n '
15318
 
s/.\{148\}/&'"$ac_delim"'/g
15319
 
t rset
15320
 
:rset
15321
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
15322
 
t def
15323
 
d
15324
 
:def
15325
 
s/\\$//
15326
 
t bsnl
15327
 
s/["\\]/\\&/g
15328
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15329
 
D["\1"]=" \3"/p
15330
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15331
 
d
15332
 
:bsnl
15333
 
s/["\\]/\\&/g
15334
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15335
 
D["\1"]=" \3\\\\\\n"\\/p
15336
 
t cont
15337
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15338
 
t cont
15339
 
d
15340
 
:cont
15341
 
n
15342
 
s/.\{148\}/&'"$ac_delim"'/g
15343
 
t clear
15344
 
:clear
15345
 
s/\\$//
15346
 
t bsnlc
15347
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
15348
 
d
15349
 
:bsnlc
15350
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15351
 
b cont
15352
 
' <confdefs.h | sed '
15353
 
s/'"$ac_delim"'/"\\\
15354
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
15355
 
 
15356
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357
 
  for (key in D) D_is_set[key] = 1
15358
 
  FS = ""
15359
 
}
15360
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15361
 
  line = \$ 0
15362
 
  split(line, arg, " ")
15363
 
  if (arg[1] == "#") {
15364
 
    defundef = arg[2]
15365
 
    mac1 = arg[3]
15366
 
  } else {
15367
 
    defundef = substr(arg[1], 2)
15368
 
    mac1 = arg[2]
15369
 
  }
15370
 
  split(mac1, mac2, "(") #)
15371
 
  macro = mac2[1]
15372
 
  prefix = substr(line, 1, index(line, defundef) - 1)
15373
 
  if (D_is_set[macro]) {
15374
 
    # Preserve the white space surrounding the "#".
15375
 
    print prefix "define", macro P[macro] D[macro]
15376
 
    next
15377
 
  } else {
15378
 
    # Replace #undef with comments.  This is necessary, for example,
15379
 
    # in the case of _POSIX_SOURCE, which is predefined and required
15380
 
    # on some systems where configure will not decide to define it.
15381
 
    if (defundef == "undef") {
15382
 
      print "/*", prefix defundef, macro, "*/"
15383
 
      next
15384
 
    }
15385
 
  }
15386
 
}
15387
 
{ print }
15388
 
_ACAWK
15389
 
_ACEOF
15390
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15391
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
15392
 
fi # test -n "$CONFIG_HEADERS"
15393
 
 
15394
 
 
15395
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15396
 
shift
15397
 
for ac_tag
15398
 
do
15399
 
  case $ac_tag in
15400
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
15401
 
  esac
15402
 
  case $ac_mode$ac_tag in
15403
 
  :[FHL]*:*);;
15404
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15405
 
  :[FH]-) ac_tag=-:-;;
15406
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15407
 
  esac
15408
 
  ac_save_IFS=$IFS
15409
 
  IFS=:
15410
 
  set x $ac_tag
15411
 
  IFS=$ac_save_IFS
15412
 
  shift
15413
 
  ac_file=$1
15414
 
  shift
15415
 
 
15416
 
  case $ac_mode in
15417
 
  :L) ac_source=$1;;
15418
 
  :[FH])
15419
 
    ac_file_inputs=
15420
 
    for ac_f
15421
 
    do
15422
 
      case $ac_f in
15423
 
      -) ac_f="$tmp/stdin";;
15424
 
      *) # Look for the file first in the build tree, then in the source tree
15425
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15426
 
         # because $ac_f cannot contain `:'.
15427
 
         test -f "$ac_f" ||
15428
 
           case $ac_f in
15429
 
           [\\/$]*) false;;
15430
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15431
 
           esac ||
15432
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15433
 
      esac
15434
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15435
 
      as_fn_append ac_file_inputs " '$ac_f'"
15436
 
    done
15437
 
 
15438
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
15439
 
    # use $as_me), people would be surprised to read:
15440
 
    #    /* config.h.  Generated by config.status.  */
15441
 
    configure_input='Generated from '`
15442
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15443
 
        `' by configure.'
15444
 
    if test x"$ac_file" != x-; then
15445
 
      configure_input="$ac_file.  $configure_input"
15446
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15447
 
$as_echo "$as_me: creating $ac_file" >&6;}
15448
 
    fi
15449
 
    # Neutralize special characters interpreted by sed in replacement strings.
15450
 
    case $configure_input in #(
15451
 
    *\&* | *\|* | *\\* )
15452
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
15453
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15454
 
    *) ac_sed_conf_input=$configure_input;;
15455
 
    esac
15456
 
 
15457
 
    case $ac_tag in
15458
 
    *:-:* | *:-) cat >"$tmp/stdin" \
15459
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15460
 
    esac
15461
 
    ;;
15462
 
  esac
15463
 
 
15464
 
  ac_dir=`$as_dirname -- "$ac_file" ||
15465
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15466
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
15467
 
         X"$ac_file" : 'X\(//\)$' \| \
15468
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15469
 
$as_echo X"$ac_file" |
15470
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15471
 
            s//\1/
15472
 
            q
15473
 
          }
15474
 
          /^X\(\/\/\)[^/].*/{
15475
 
            s//\1/
15476
 
            q
15477
 
          }
15478
 
          /^X\(\/\/\)$/{
15479
 
            s//\1/
15480
 
            q
15481
 
          }
15482
 
          /^X\(\/\).*/{
15483
 
            s//\1/
15484
 
            q
15485
 
          }
15486
 
          s/.*/./; q'`
15487
 
  as_dir="$ac_dir"; as_fn_mkdir_p
15488
 
  ac_builddir=.
15489
 
 
15490
 
case "$ac_dir" in
15491
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15492
 
*)
15493
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15494
 
  # A ".." for each directory in $ac_dir_suffix.
15495
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15496
 
  case $ac_top_builddir_sub in
15497
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15498
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15499
 
  esac ;;
15500
 
esac
15501
 
ac_abs_top_builddir=$ac_pwd
15502
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15503
 
# for backward compatibility:
15504
 
ac_top_builddir=$ac_top_build_prefix
15505
 
 
15506
 
case $srcdir in
15507
 
  .)  # We are building in place.
15508
 
    ac_srcdir=.
15509
 
    ac_top_srcdir=$ac_top_builddir_sub
15510
 
    ac_abs_top_srcdir=$ac_pwd ;;
15511
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
15512
 
    ac_srcdir=$srcdir$ac_dir_suffix;
15513
 
    ac_top_srcdir=$srcdir
15514
 
    ac_abs_top_srcdir=$srcdir ;;
15515
 
  *) # Relative name.
15516
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15517
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
15518
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15519
 
esac
15520
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15521
 
 
15522
 
 
15523
 
  case $ac_mode in
15524
 
  :F)
15525
 
  #
15526
 
  # CONFIG_FILE
15527
 
  #
15528
 
 
15529
 
  case $INSTALL in
15530
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15531
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15532
 
  esac
15533
 
  ac_MKDIR_P=$MKDIR_P
15534
 
  case $MKDIR_P in
15535
 
  [\\/$]* | ?:[\\/]* ) ;;
15536
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15537
 
  esac
15538
 
_ACEOF
15539
 
 
15540
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15541
 
# If the template does not know about datarootdir, expand it.
15542
 
# FIXME: This hack should be removed a few years after 2.60.
15543
 
ac_datarootdir_hack=; ac_datarootdir_seen=
15544
 
ac_sed_dataroot='
15545
 
/datarootdir/ {
15546
 
  p
15547
 
  q
15548
 
}
15549
 
/@datadir@/p
15550
 
/@docdir@/p
15551
 
/@infodir@/p
15552
 
/@localedir@/p
15553
 
/@mandir@/p'
15554
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15555
 
*datarootdir*) ac_datarootdir_seen=yes;;
15556
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15557
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15558
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15559
 
_ACEOF
15560
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15561
 
  ac_datarootdir_hack='
15562
 
  s&@datadir@&$datadir&g
15563
 
  s&@docdir@&$docdir&g
15564
 
  s&@infodir@&$infodir&g
15565
 
  s&@localedir@&$localedir&g
15566
 
  s&@mandir@&$mandir&g
15567
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
15568
 
esac
15569
 
_ACEOF
15570
 
 
15571
 
# Neutralize VPATH when `$srcdir' = `.'.
15572
 
# Shell code in configure.ac might set extrasub.
15573
 
# FIXME: do we really want to maintain this feature?
15574
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15575
 
ac_sed_extra="$ac_vpsub
15576
 
$extrasub
15577
 
_ACEOF
15578
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15579
 
:t
15580
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15581
 
s|@configure_input@|$ac_sed_conf_input|;t t
15582
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
15583
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15584
 
s&@srcdir@&$ac_srcdir&;t t
15585
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15586
 
s&@top_srcdir@&$ac_top_srcdir&;t t
15587
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15588
 
s&@builddir@&$ac_builddir&;t t
15589
 
s&@abs_builddir@&$ac_abs_builddir&;t t
15590
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15591
 
s&@INSTALL@&$ac_INSTALL&;t t
15592
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15593
 
$ac_datarootdir_hack
15594
 
"
15595
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15596
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
15597
 
 
15598
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15599
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15600
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15601
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15602
 
which seems to be undefined.  Please make sure it is defined." >&5
15603
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15604
 
which seems to be undefined.  Please make sure it is defined." >&2;}
15605
 
 
15606
 
  rm -f "$tmp/stdin"
15607
 
  case $ac_file in
15608
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15609
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15610
 
  esac \
15611
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
15612
 
 ;;
15613
 
  :H)
15614
 
  #
15615
 
  # CONFIG_HEADER
15616
 
  #
15617
 
  if test x"$ac_file" != x-; then
15618
 
    {
15619
 
      $as_echo "/* $configure_input  */" \
15620
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15621
 
    } >"$tmp/config.h" \
15622
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
15623
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15624
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15625
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15626
 
    else
15627
 
      rm -f "$ac_file"
15628
 
      mv "$tmp/config.h" "$ac_file" \
15629
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
15630
 
    fi
15631
 
  else
15632
 
    $as_echo "/* $configure_input  */" \
15633
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15634
 
      || as_fn_error "could not create -" "$LINENO" 5
15635
 
  fi
15636
 
# Compute "$ac_file"'s index in $config_headers.
15637
 
_am_arg="$ac_file"
15638
 
_am_stamp_count=1
15639
 
for _am_header in $config_headers :; do
15640
 
  case $_am_header in
15641
 
    $_am_arg | $_am_arg:* )
15642
 
      break ;;
15643
 
    * )
15644
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15645
 
  esac
15646
 
done
15647
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15648
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15649
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
15650
 
         X"$_am_arg" : 'X\(//\)$' \| \
15651
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15652
 
$as_echo X"$_am_arg" |
15653
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15654
 
            s//\1/
15655
 
            q
15656
 
          }
15657
 
          /^X\(\/\/\)[^/].*/{
15658
 
            s//\1/
15659
 
            q
15660
 
          }
15661
 
          /^X\(\/\/\)$/{
15662
 
            s//\1/
15663
 
            q
15664
 
          }
15665
 
          /^X\(\/\).*/{
15666
 
            s//\1/
15667
 
            q
15668
 
          }
15669
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
15670
 
 ;;
15671
 
 
15672
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15673
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
15674
 
 ;;
15675
 
  esac
15676
 
 
15677
 
 
15678
 
  case $ac_file$ac_mode in
15679
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15680
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
15681
 
  # are listed without --file.  Let's play safe and only enable the eval
15682
 
  # if we detect the quoting.
15683
 
  case $CONFIG_FILES in
15684
 
  *\'*) eval set x "$CONFIG_FILES" ;;
15685
 
  *)   set x $CONFIG_FILES ;;
15686
 
  esac
15687
 
  shift
15688
 
  for mf
15689
 
  do
15690
 
    # Strip MF so we end up with the name of the file.
15691
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
15692
 
    # Check whether this is an Automake generated Makefile or not.
15693
 
    # We used to match only the files named `Makefile.in', but
15694
 
    # some people rename them; so instead we look at the file content.
15695
 
    # Grep'ing the first line is not enough: some people post-process
15696
 
    # each Makefile.in and add a new line on top of each file to say so.
15697
 
    # Grep'ing the whole file is not good either: AIX grep has a line
15698
 
    # limit of 2048, but all sed's we know have understand at least 4000.
15699
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15700
 
      dirpart=`$as_dirname -- "$mf" ||
15701
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15702
 
         X"$mf" : 'X\(//\)[^/]' \| \
15703
 
         X"$mf" : 'X\(//\)$' \| \
15704
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15705
 
$as_echo X"$mf" |
15706
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15707
 
            s//\1/
15708
 
            q
15709
 
          }
15710
 
          /^X\(\/\/\)[^/].*/{
15711
 
            s//\1/
15712
 
            q
15713
 
          }
15714
 
          /^X\(\/\/\)$/{
15715
 
            s//\1/
15716
 
            q
15717
 
          }
15718
 
          /^X\(\/\).*/{
15719
 
            s//\1/
15720
 
            q
15721
 
          }
15722
 
          s/.*/./; q'`
15723
 
    else
15724
 
      continue
15725
 
    fi
15726
 
    # Extract the definition of DEPDIR, am__include, and am__quote
15727
 
    # from the Makefile without running `make'.
15728
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15729
 
    test -z "$DEPDIR" && continue
15730
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15731
 
    test -z "am__include" && continue
15732
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15733
 
    # When using ansi2knr, U may be empty or an underscore; expand it
15734
 
    U=`sed -n 's/^U = //p' < "$mf"`
15735
 
    # Find all dependency output files, they are included files with
15736
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15737
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
15738
 
    # expansion.
15739
 
    for file in `sed -n "
15740
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15741
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15742
 
      # Make sure the directory exists.
15743
 
      test -f "$dirpart/$file" && continue
15744
 
      fdir=`$as_dirname -- "$file" ||
15745
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15746
 
         X"$file" : 'X\(//\)[^/]' \| \
15747
 
         X"$file" : 'X\(//\)$' \| \
15748
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15749
 
$as_echo X"$file" |
15750
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15751
 
            s//\1/
15752
 
            q
15753
 
          }
15754
 
          /^X\(\/\/\)[^/].*/{
15755
 
            s//\1/
15756
 
            q
15757
 
          }
15758
 
          /^X\(\/\/\)$/{
15759
 
            s//\1/
15760
 
            q
15761
 
          }
15762
 
          /^X\(\/\).*/{
15763
 
            s//\1/
15764
 
            q
15765
 
          }
15766
 
          s/.*/./; q'`
15767
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15768
 
      # echo "creating $dirpart/$file"
15769
 
      echo '# dummy' > "$dirpart/$file"
15770
 
    done
15771
 
  done
15772
 
}
15773
 
 ;;
15774
 
    "libtool":C)
15775
 
 
15776
 
    # See if we are running on zsh, and set the options which allow our
15777
 
    # commands through without removal of \ escapes.
15778
 
    if test -n "${ZSH_VERSION+set}" ; then
15779
 
      setopt NO_GLOB_SUBST
15780
 
    fi
15781
 
 
15782
 
    cfgfile="${ofile}T"
15783
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15784
 
    $RM "$cfgfile"
15785
 
 
15786
 
    cat <<_LT_EOF >> "$cfgfile"
15787
 
#! $SHELL
15788
 
 
15789
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15790
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15791
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15792
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15793
 
#
15794
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15795
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
15796
 
#   Written by Gordon Matzigkeit, 1996
15797
 
#
15798
 
#   This file is part of GNU Libtool.
15799
 
#
15800
 
# GNU Libtool is free software; you can redistribute it and/or
15801
 
# modify it under the terms of the GNU General Public License as
15802
 
# published by the Free Software Foundation; either version 2 of
15803
 
# the License, or (at your option) any later version.
15804
 
#
15805
 
# As a special exception to the GNU General Public License,
15806
 
# if you distribute this file as part of a program or library that
15807
 
# is built using GNU Libtool, you may include this file under the
15808
 
# same distribution terms that you use for the rest of that program.
15809
 
#
15810
 
# GNU Libtool is distributed in the hope that it will be useful,
15811
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15812
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15813
 
# GNU General Public License for more details.
15814
 
#
15815
 
# You should have received a copy of the GNU General Public License
15816
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
15817
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15818
 
# obtained by writing to the Free Software Foundation, Inc.,
15819
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15820
 
 
15821
 
 
15822
 
# The names of the tagged configurations supported by this script.
15823
 
available_tags=""
15824
 
 
15825
 
# ### BEGIN LIBTOOL CONFIG
15826
 
 
15827
 
# Which release of libtool.m4 was used?
15828
 
macro_version=$macro_version
15829
 
macro_revision=$macro_revision
15830
 
 
15831
 
# Whether or not to build shared libraries.
15832
 
build_libtool_libs=$enable_shared
15833
 
 
15834
 
# Whether or not to build static libraries.
15835
 
build_old_libs=$enable_static
15836
 
 
15837
 
# What type of objects to build.
15838
 
pic_mode=$pic_mode
15839
 
 
15840
 
# Whether or not to optimize for fast installation.
15841
 
fast_install=$enable_fast_install
15842
 
 
15843
 
# The host system.
15844
 
host_alias=$host_alias
15845
 
host=$host
15846
 
host_os=$host_os
15847
 
 
15848
 
# The build system.
15849
 
build_alias=$build_alias
15850
 
build=$build
15851
 
build_os=$build_os
15852
 
 
15853
 
# A sed program that does not truncate output.
15854
 
SED=$lt_SED
15855
 
 
15856
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15857
 
Xsed="\$SED -e 1s/^X//"
15858
 
 
15859
 
# A grep program that handles long lines.
15860
 
GREP=$lt_GREP
15861
 
 
15862
 
# An ERE matcher.
15863
 
EGREP=$lt_EGREP
15864
 
 
15865
 
# A literal string matcher.
15866
 
FGREP=$lt_FGREP
15867
 
 
15868
 
# A BSD- or MS-compatible name lister.
15869
 
NM=$lt_NM
15870
 
 
15871
 
# Whether we need soft or hard links.
15872
 
LN_S=$lt_LN_S
15873
 
 
15874
 
# What is the maximum length of a command?
15875
 
max_cmd_len=$max_cmd_len
15876
 
 
15877
 
# Object file suffix (normally "o").
15878
 
objext=$ac_objext
15879
 
 
15880
 
# Executable file suffix (normally "").
15881
 
exeext=$exeext
15882
 
 
15883
 
# whether the shell understands "unset".
15884
 
lt_unset=$lt_unset
15885
 
 
15886
 
# turn spaces into newlines.
15887
 
SP2NL=$lt_lt_SP2NL
15888
 
 
15889
 
# turn newlines into spaces.
15890
 
NL2SP=$lt_lt_NL2SP
15891
 
 
15892
 
# How to create reloadable object files.
15893
 
reload_flag=$lt_reload_flag
15894
 
reload_cmds=$lt_reload_cmds
15895
 
 
15896
 
# An object symbol dumper.
15897
 
OBJDUMP=$lt_OBJDUMP
15898
 
 
15899
 
# Method to check whether dependent libraries are shared objects.
15900
 
deplibs_check_method=$lt_deplibs_check_method
15901
 
 
15902
 
# Command to use when deplibs_check_method == "file_magic".
15903
 
file_magic_cmd=$lt_file_magic_cmd
15904
 
 
15905
 
# The archiver.
15906
 
AR=$lt_AR
15907
 
AR_FLAGS=$lt_AR_FLAGS
15908
 
 
15909
 
# A symbol stripping program.
15910
 
STRIP=$lt_STRIP
15911
 
 
15912
 
# Commands used to install an old-style archive.
15913
 
RANLIB=$lt_RANLIB
15914
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15915
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15916
 
 
15917
 
# A C compiler.
15918
 
LTCC=$lt_CC
15919
 
 
15920
 
# LTCC compiler flags.
15921
 
LTCFLAGS=$lt_CFLAGS
15922
 
 
15923
 
# Take the output of nm and produce a listing of raw symbols and C names.
15924
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15925
 
 
15926
 
# Transform the output of nm in a proper C declaration.
15927
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15928
 
 
15929
 
# Transform the output of nm in a C name address pair.
15930
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15931
 
 
15932
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
15933
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15934
 
 
15935
 
# The name of the directory that contains temporary libtool files.
15936
 
objdir=$objdir
15937
 
 
15938
 
# Shell to use when invoking shell scripts.
15939
 
SHELL=$lt_SHELL
15940
 
 
15941
 
# An echo program that does not interpret backslashes.
15942
 
ECHO=$lt_ECHO
15943
 
 
15944
 
# Used to examine libraries when file_magic_cmd begins with "file".
15945
 
MAGIC_CMD=$MAGIC_CMD
15946
 
 
15947
 
# Must we lock files when doing compilation?
15948
 
need_locks=$lt_need_locks
15949
 
 
15950
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15951
 
DSYMUTIL=$lt_DSYMUTIL
15952
 
 
15953
 
# Tool to change global to local symbols on Mac OS X.
15954
 
NMEDIT=$lt_NMEDIT
15955
 
 
15956
 
# Tool to manipulate fat objects and archives on Mac OS X.
15957
 
LIPO=$lt_LIPO
15958
 
 
15959
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15960
 
OTOOL=$lt_OTOOL
15961
 
 
15962
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15963
 
OTOOL64=$lt_OTOOL64
15964
 
 
15965
 
# Old archive suffix (normally "a").
15966
 
libext=$libext
15967
 
 
15968
 
# Shared library suffix (normally ".so").
15969
 
shrext_cmds=$lt_shrext_cmds
15970
 
 
15971
 
# The commands to extract the exported symbol list from a shared archive.
15972
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15973
 
 
15974
 
# Variables whose values should be saved in libtool wrapper scripts and
15975
 
# restored at link time.
15976
 
variables_saved_for_relink=$lt_variables_saved_for_relink
15977
 
 
15978
 
# Do we need the "lib" prefix for modules?
15979
 
need_lib_prefix=$need_lib_prefix
15980
 
 
15981
 
# Do we need a version for libraries?
15982
 
need_version=$need_version
15983
 
 
15984
 
# Library versioning type.
15985
 
version_type=$version_type
15986
 
 
15987
 
# Shared library runtime path variable.
15988
 
runpath_var=$runpath_var
15989
 
 
15990
 
# Shared library path variable.
15991
 
shlibpath_var=$shlibpath_var
15992
 
 
15993
 
# Is shlibpath searched before the hard-coded library search path?
15994
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15995
 
 
15996
 
# Format of library name prefix.
15997
 
libname_spec=$lt_libname_spec
15998
 
 
15999
 
# List of archive names.  First name is the real one, the rest are links.
16000
 
# The last name is the one that the linker finds with -lNAME
16001
 
library_names_spec=$lt_library_names_spec
16002
 
 
16003
 
# The coded name of the library, if different from the real name.
16004
 
soname_spec=$lt_soname_spec
16005
 
 
16006
 
# Command to use after installation of a shared archive.
16007
 
postinstall_cmds=$lt_postinstall_cmds
16008
 
 
16009
 
# Command to use after uninstallation of a shared archive.
16010
 
postuninstall_cmds=$lt_postuninstall_cmds
16011
 
 
16012
 
# Commands used to finish a libtool library installation in a directory.
16013
 
finish_cmds=$lt_finish_cmds
16014
 
 
16015
 
# As "finish_cmds", except a single script fragment to be evaled but
16016
 
# not shown.
16017
 
finish_eval=$lt_finish_eval
16018
 
 
16019
 
# Whether we should hardcode library paths into libraries.
16020
 
hardcode_into_libs=$hardcode_into_libs
16021
 
 
16022
 
# Compile-time system search path for libraries.
16023
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16024
 
 
16025
 
# Run-time system search path for libraries.
16026
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16027
 
 
16028
 
# Whether dlopen is supported.
16029
 
dlopen_support=$enable_dlopen
16030
 
 
16031
 
# Whether dlopen of programs is supported.
16032
 
dlopen_self=$enable_dlopen_self
16033
 
 
16034
 
# Whether dlopen of statically linked programs is supported.
16035
 
dlopen_self_static=$enable_dlopen_self_static
16036
 
 
16037
 
# Commands to strip libraries.
16038
 
old_striplib=$lt_old_striplib
16039
 
striplib=$lt_striplib
16040
 
 
16041
 
 
16042
 
# The linker used to build libraries.
16043
 
LD=$lt_LD
16044
 
 
16045
 
# Commands used to build an old-style archive.
16046
 
old_archive_cmds=$lt_old_archive_cmds
16047
 
 
16048
 
# A language specific compiler.
16049
 
CC=$lt_compiler
16050
 
 
16051
 
# Is the compiler the GNU compiler?
16052
 
with_gcc=$GCC
16053
 
 
16054
 
# Compiler flag to turn off builtin functions.
16055
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16056
 
 
16057
 
# How to pass a linker flag through the compiler.
16058
 
wl=$lt_lt_prog_compiler_wl
16059
 
 
16060
 
# Additional compiler flags for building library objects.
16061
 
pic_flag=$lt_lt_prog_compiler_pic
16062
 
 
16063
 
# Compiler flag to prevent dynamic linking.
16064
 
link_static_flag=$lt_lt_prog_compiler_static
16065
 
 
16066
 
# Does compiler simultaneously support -c and -o options?
16067
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16068
 
 
16069
 
# Whether or not to add -lc for building shared libraries.
16070
 
build_libtool_need_lc=$archive_cmds_need_lc
16071
 
 
16072
 
# Whether or not to disallow shared libs when runtime libs are static.
16073
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16074
 
 
16075
 
# Compiler flag to allow reflexive dlopens.
16076
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16077
 
 
16078
 
# Compiler flag to generate shared objects directly from archives.
16079
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
16080
 
 
16081
 
# Whether the compiler copes with passing no objects directly.
16082
 
compiler_needs_object=$lt_compiler_needs_object
16083
 
 
16084
 
# Create an old-style archive from a shared archive.
16085
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16086
 
 
16087
 
# Create a temporary old-style archive to link instead of a shared archive.
16088
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16089
 
 
16090
 
# Commands used to build a shared archive.
16091
 
archive_cmds=$lt_archive_cmds
16092
 
archive_expsym_cmds=$lt_archive_expsym_cmds
16093
 
 
16094
 
# Commands used to build a loadable module if different from building
16095
 
# a shared archive.
16096
 
module_cmds=$lt_module_cmds
16097
 
module_expsym_cmds=$lt_module_expsym_cmds
16098
 
 
16099
 
# Whether we are building with GNU ld or not.
16100
 
with_gnu_ld=$lt_with_gnu_ld
16101
 
 
16102
 
# Flag that allows shared libraries with undefined symbols to be built.
16103
 
allow_undefined_flag=$lt_allow_undefined_flag
16104
 
 
16105
 
# Flag that enforces no undefined symbols.
16106
 
no_undefined_flag=$lt_no_undefined_flag
16107
 
 
16108
 
# Flag to hardcode \$libdir into a binary during linking.
16109
 
# This must work even if \$libdir does not exist
16110
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16111
 
 
16112
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
16113
 
# during linking.  This must work even if \$libdir does not exist.
16114
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16115
 
 
16116
 
# Whether we need a single "-rpath" flag with a separated argument.
16117
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16118
 
 
16119
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16120
 
# DIR into the resulting binary.
16121
 
hardcode_direct=$hardcode_direct
16122
 
 
16123
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16124
 
# DIR into the resulting binary and the resulting library dependency is
16125
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16126
 
# library is relocated.
16127
 
hardcode_direct_absolute=$hardcode_direct_absolute
16128
 
 
16129
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16130
 
# into the resulting binary.
16131
 
hardcode_minus_L=$hardcode_minus_L
16132
 
 
16133
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16134
 
# into the resulting binary.
16135
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
16136
 
 
16137
 
# Set to "yes" if building a shared library automatically hardcodes DIR
16138
 
# into the library and all subsequent libraries and executables linked
16139
 
# against it.
16140
 
hardcode_automatic=$hardcode_automatic
16141
 
 
16142
 
# Set to yes if linker adds runtime paths of dependent libraries
16143
 
# to runtime path list.
16144
 
inherit_rpath=$inherit_rpath
16145
 
 
16146
 
# Whether libtool must link a program against all its dependency libraries.
16147
 
link_all_deplibs=$link_all_deplibs
16148
 
 
16149
 
# Fix the shell variable \$srcfile for the compiler.
16150
 
fix_srcfile_path=$lt_fix_srcfile_path
16151
 
 
16152
 
# Set to "yes" if exported symbols are required.
16153
 
always_export_symbols=$always_export_symbols
16154
 
 
16155
 
# The commands to list exported symbols.
16156
 
export_symbols_cmds=$lt_export_symbols_cmds
16157
 
 
16158
 
# Symbols that should not be listed in the preloaded symbols.
16159
 
exclude_expsyms=$lt_exclude_expsyms
16160
 
 
16161
 
# Symbols that must always be exported.
16162
 
include_expsyms=$lt_include_expsyms
16163
 
 
16164
 
# Commands necessary for linking programs (against libraries) with templates.
16165
 
prelink_cmds=$lt_prelink_cmds
16166
 
 
16167
 
# Specify filename containing input files.
16168
 
file_list_spec=$lt_file_list_spec
16169
 
 
16170
 
# How to hardcode a shared library path into an executable.
16171
 
hardcode_action=$hardcode_action
16172
 
 
16173
 
# ### END LIBTOOL CONFIG
16174
 
 
16175
 
_LT_EOF
16176
 
 
16177
 
  case $host_os in
16178
 
  aix3*)
16179
 
    cat <<\_LT_EOF >> "$cfgfile"
16180
 
# AIX sometimes has problems with the GCC collect2 program.  For some
16181
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
16182
 
# vanish in a puff of smoke.
16183
 
if test "X${COLLECT_NAMES+set}" != Xset; then
16184
 
  COLLECT_NAMES=
16185
 
  export COLLECT_NAMES
16186
 
fi
16187
 
_LT_EOF
16188
 
    ;;
16189
 
  esac
16190
 
 
16191
 
 
16192
 
ltmain="$ac_aux_dir/ltmain.sh"
16193
 
 
16194
 
 
16195
 
  # We use sed instead of cat because bash on DJGPP gets confused if
16196
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16197
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
16198
 
  # is reportedly fixed, but why not run on old versions too?
16199
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16200
 
    || (rm -f "$cfgfile"; exit 1)
16201
 
 
16202
 
  case $xsi_shell in
16203
 
  yes)
16204
 
    cat << \_LT_EOF >> "$cfgfile"
16205
 
 
16206
 
# func_dirname file append nondir_replacement
16207
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16208
 
# otherwise set result to NONDIR_REPLACEMENT.
16209
 
func_dirname ()
16210
 
{
16211
 
  case ${1} in
16212
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16213
 
    *  ) func_dirname_result="${3}" ;;
16214
 
  esac
16215
 
}
16216
 
 
16217
 
# func_basename file
16218
 
func_basename ()
16219
 
{
16220
 
  func_basename_result="${1##*/}"
16221
 
}
16222
 
 
16223
 
# func_dirname_and_basename file append nondir_replacement
16224
 
# perform func_basename and func_dirname in a single function
16225
 
# call:
16226
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
16227
 
#             add APPEND to the result, otherwise set result
16228
 
#             to NONDIR_REPLACEMENT.
16229
 
#             value returned in "$func_dirname_result"
16230
 
#   basename: Compute filename of FILE.
16231
 
#             value retuned in "$func_basename_result"
16232
 
# Implementation must be kept synchronized with func_dirname
16233
 
# and func_basename. For efficiency, we do not delegate to
16234
 
# those functions but instead duplicate the functionality here.
16235
 
func_dirname_and_basename ()
16236
 
{
16237
 
  case ${1} in
16238
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16239
 
    *  ) func_dirname_result="${3}" ;;
16240
 
  esac
16241
 
  func_basename_result="${1##*/}"
16242
 
}
16243
 
 
16244
 
# func_stripname prefix suffix name
16245
 
# strip PREFIX and SUFFIX off of NAME.
16246
 
# PREFIX and SUFFIX must not contain globbing or regex special
16247
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16248
 
# dot (in which case that matches only a dot).
16249
 
func_stripname ()
16250
 
{
16251
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16252
 
  # positional parameters, so assign one to ordinary parameter first.
16253
 
  func_stripname_result=${3}
16254
 
  func_stripname_result=${func_stripname_result#"${1}"}
16255
 
  func_stripname_result=${func_stripname_result%"${2}"}
16256
 
}
16257
 
 
16258
 
# func_opt_split
16259
 
func_opt_split ()
16260
 
{
16261
 
  func_opt_split_opt=${1%%=*}
16262
 
  func_opt_split_arg=${1#*=}
16263
 
}
16264
 
 
16265
 
# func_lo2o object
16266
 
func_lo2o ()
16267
 
{
16268
 
  case ${1} in
16269
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16270
 
    *)    func_lo2o_result=${1} ;;
16271
 
  esac
16272
 
}
16273
 
 
16274
 
# func_xform libobj-or-source
16275
 
func_xform ()
16276
 
{
16277
 
  func_xform_result=${1%.*}.lo
16278
 
}
16279
 
 
16280
 
# func_arith arithmetic-term...
16281
 
func_arith ()
16282
 
{
16283
 
  func_arith_result=$(( $* ))
16284
 
}
16285
 
 
16286
 
# func_len string
16287
 
# STRING may not start with a hyphen.
16288
 
func_len ()
16289
 
{
16290
 
  func_len_result=${#1}
16291
 
}
16292
 
 
16293
 
_LT_EOF
16294
 
    ;;
16295
 
  *) # Bourne compatible functions.
16296
 
    cat << \_LT_EOF >> "$cfgfile"
16297
 
 
16298
 
# func_dirname file append nondir_replacement
16299
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16300
 
# otherwise set result to NONDIR_REPLACEMENT.
16301
 
func_dirname ()
16302
 
{
16303
 
  # Extract subdirectory from the argument.
16304
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16305
 
  if test "X$func_dirname_result" = "X${1}"; then
16306
 
    func_dirname_result="${3}"
16307
 
  else
16308
 
    func_dirname_result="$func_dirname_result${2}"
16309
 
  fi
16310
 
}
16311
 
 
16312
 
# func_basename file
16313
 
func_basename ()
16314
 
{
16315
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16316
 
}
16317
 
 
16318
 
 
16319
 
# func_stripname prefix suffix name
16320
 
# strip PREFIX and SUFFIX off of NAME.
16321
 
# PREFIX and SUFFIX must not contain globbing or regex special
16322
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16323
 
# dot (in which case that matches only a dot).
16324
 
# func_strip_suffix prefix name
16325
 
func_stripname ()
16326
 
{
16327
 
  case ${2} in
16328
 
    .*) func_stripname_result=`$ECHO "X${3}" \
16329
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16330
 
    *)  func_stripname_result=`$ECHO "X${3}" \
16331
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16332
 
  esac
16333
 
}
16334
 
 
16335
 
# sed scripts:
16336
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16337
 
my_sed_long_arg='1s/^-[^=]*=//'
16338
 
 
16339
 
# func_opt_split
16340
 
func_opt_split ()
16341
 
{
16342
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16343
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16344
 
}
16345
 
 
16346
 
# func_lo2o object
16347
 
func_lo2o ()
16348
 
{
16349
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16350
 
}
16351
 
 
16352
 
# func_xform libobj-or-source
16353
 
func_xform ()
16354
 
{
16355
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16356
 
}
16357
 
 
16358
 
# func_arith arithmetic-term...
16359
 
func_arith ()
16360
 
{
16361
 
  func_arith_result=`expr "$@"`
16362
 
}
16363
 
 
16364
 
# func_len string
16365
 
# STRING may not start with a hyphen.
16366
 
func_len ()
16367
 
{
16368
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16369
 
}
16370
 
 
16371
 
_LT_EOF
16372
 
esac
16373
 
 
16374
 
case $lt_shell_append in
16375
 
  yes)
16376
 
    cat << \_LT_EOF >> "$cfgfile"
16377
 
 
16378
 
# func_append var value
16379
 
# Append VALUE to the end of shell variable VAR.
16380
 
func_append ()
16381
 
{
16382
 
  eval "$1+=\$2"
16383
 
}
16384
 
_LT_EOF
16385
 
    ;;
16386
 
  *)
16387
 
    cat << \_LT_EOF >> "$cfgfile"
16388
 
 
16389
 
# func_append var value
16390
 
# Append VALUE to the end of shell variable VAR.
16391
 
func_append ()
16392
 
{
16393
 
  eval "$1=\$$1\$2"
16394
 
}
16395
 
 
16396
 
_LT_EOF
16397
 
    ;;
16398
 
  esac
16399
 
 
16400
 
 
16401
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16402
 
    || (rm -f "$cfgfile"; exit 1)
16403
 
 
16404
 
  mv -f "$cfgfile" "$ofile" ||
16405
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16406
 
  chmod +x "$ofile"
16407
 
 
16408
 
 ;;
16409
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16410
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16411
 
      esac ;;
16412
 
    "po/stamp-it":C)
16413
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16414
 
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16415
 
    fi
16416
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16417
 
    >"po/stamp-it.tmp"
16418
 
    sed '/^#/d
16419
 
         s/^[[].*] *//
16420
 
         /^[    ]*$/d
16421
 
        '"s|^|  $ac_top_srcdir/|" \
16422
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16423
 
 
16424
 
    sed '/^POTFILES =/,/[^\\]$/ {
16425
 
                /^POTFILES =/!d
16426
 
                r po/POTFILES
16427
 
          }
16428
 
         ' "po/Makefile.in" >"po/Makefile"
16429
 
    rm -f "po/Makefile.tmp"
16430
 
    mv "po/stamp-it.tmp" "po/stamp-it"
16431
 
   ;;
16432
 
 
16433
 
  esac
16434
 
done # for ac_tag
16435
 
 
16436
 
 
16437
 
as_fn_exit 0
16438
 
_ACEOF
16439
 
ac_clean_files=$ac_clean_files_save
16440
 
 
16441
 
test $ac_write_fail = 0 ||
16442
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16443
 
 
16444
 
 
16445
 
# configure is writing to config.log, and then calls config.status.
16446
 
# config.status does its own redirection, appending to config.log.
16447
 
# Unfortunately, on DOS this fails, as config.log is still kept open
16448
 
# by configure, so config.status won't be able to write to it; its
16449
 
# output is simply discarded.  So we exec the FD to /dev/null,
16450
 
# effectively closing config.log, so it can be properly (re)opened and
16451
 
# appended to by config.status.  When coming back to configure, we
16452
 
# need to make the FD available again.
16453
 
if test "$no_create" != yes; then
16454
 
  ac_cs_success=:
16455
 
  ac_config_status_args=
16456
 
  test "$silent" = yes &&
16457
 
    ac_config_status_args="$ac_config_status_args --quiet"
16458
 
  exec 5>/dev/null
16459
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16460
 
  exec 5>>config.log
16461
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16462
 
  # would make configure fail if this is the last instruction.
16463
 
  $ac_cs_success || as_fn_exit $?
16464
 
fi
16465
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16466
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16467
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16468
 
fi
16469
 
 
16470
 
 
16471
 
echo Ready to make pcmanfm