~ubuntu-branches/ubuntu/utopic/libxfce4util/utopic

« back to all changes in this revision

Viewing changes to .pc/ppc64el.diff/configure

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-12-23 02:23:58 UTC
  • Revision ID: package-import@ubuntu.com-20131223022358-lhq4gdxrbe0orj0o
Tags: 4.10.1-1ubuntu1
Patch aclocal.m4 and configure to build on ppc64el.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# From configure.ac Id.
 
3
# Guess values for system-dependent variables and create Makefiles.
 
4
# Generated by GNU Autoconf 2.69 for libxfce4util 4.10.1.
 
5
#
 
6
# Report bugs to <xfce4-dev@xfce.org>.
 
7
#
 
8
# Copyright (c) 2002-2011
 
9
#         The Xfce development team. All rights reserved.
 
10
#
 
11
#
 
12
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
13
#
 
14
#
 
15
# This configure script is free software; the Free Software Foundation
 
16
# gives unlimited permission to copy, distribute and modify it.
 
17
## -------------------- ##
 
18
## M4sh Initialization. ##
 
19
## -------------------- ##
 
20
 
 
21
# Be more Bourne compatible
 
22
DUALCASE=1; export DUALCASE # for MKS sh
 
23
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
24
  emulate sh
 
25
  NULLCMD=:
 
26
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
27
  # is contrary to our usage.  Disable this feature.
 
28
  alias -g '${1+"$@"}'='"$@"'
 
29
  setopt NO_GLOB_SUBST
 
30
else
 
31
  case `(set -o) 2>/dev/null` in #(
 
32
  *posix*) :
 
33
    set -o posix ;; #(
 
34
  *) :
 
35
     ;;
 
36
esac
 
37
fi
 
38
 
 
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
48
# but without wasting forks for bash or zsh.
 
49
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
50
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
51
  as_echo='print -r --'
 
52
  as_echo_n='print -rn --'
 
53
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
54
  as_echo='printf %s\n'
 
55
  as_echo_n='printf %s'
 
56
else
 
57
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
58
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
59
    as_echo_n='/usr/ucb/echo -n'
 
60
  else
 
61
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
62
    as_echo_n_body='eval
 
63
      arg=$1;
 
64
      case $arg in #(
 
65
      *"$as_nl"*)
 
66
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
67
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
68
      esac;
 
69
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
70
    '
 
71
    export as_echo_n_body
 
72
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
73
  fi
 
74
  export as_echo_body
 
75
  as_echo='sh -c $as_echo_body as_echo'
 
76
fi
 
77
 
 
78
# The user is always right.
 
79
if test "${PATH_SEPARATOR+set}" != set; then
 
80
  PATH_SEPARATOR=:
 
81
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
82
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
83
      PATH_SEPARATOR=';'
 
84
  }
 
85
fi
 
86
 
 
87
 
 
88
# IFS
 
89
# We need space, tab and new line, in precisely that order.  Quoting is
 
90
# there to prevent editors from complaining about space-tab.
 
91
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
92
# splitting by setting IFS to empty value.)
 
93
IFS=" ""        $as_nl"
 
94
 
 
95
# Find who we are.  Look in the path if we contain no directory separator.
 
96
as_myself=
 
97
case $0 in #((
 
98
  *[\\/]* ) as_myself=$0 ;;
 
99
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
100
for as_dir in $PATH
 
101
do
 
102
  IFS=$as_save_IFS
 
103
  test -z "$as_dir" && as_dir=.
 
104
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
105
  done
 
106
IFS=$as_save_IFS
 
107
 
 
108
     ;;
 
109
esac
 
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
111
# in which case we are not to be found in the path.
 
112
if test "x$as_myself" = x; then
 
113
  as_myself=$0
 
114
fi
 
115
if test ! -f "$as_myself"; then
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
117
  exit 1
 
118
fi
 
119
 
 
120
# Unset variables that we do not need and which cause bugs (e.g. in
 
121
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
122
# suppresses any "Segmentation fault" message there.  '((' could
 
123
# trigger a bug in pdksh 5.2.14.
 
124
for as_var in BASH_ENV ENV MAIL MAILPATH
 
125
do eval test x\${$as_var+set} = xset \
 
126
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
127
done
 
128
PS1='$ '
 
129
PS2='> '
 
130
PS4='+ '
 
131
 
 
132
# NLS nuisances.
 
133
LC_ALL=C
 
134
export LC_ALL
 
135
LANGUAGE=C
 
136
export LANGUAGE
 
137
 
 
138
# CDPATH.
 
139
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
140
 
 
141
# Use a proper internal environment variable to ensure we don't fall
 
142
  # into an infinite loop, continuously re-executing ourselves.
 
143
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
144
    _as_can_reexec=no; export _as_can_reexec;
 
145
    # We cannot yet assume a decent shell, so we have to provide a
 
146
# neutralization value for shells without unset; and this also
 
147
# works around shells that cannot unset nonexistent variables.
 
148
# Preserve -v and -x to the replacement shell.
 
149
BASH_ENV=/dev/null
 
150
ENV=/dev/null
 
151
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
152
case $- in # ((((
 
153
  *v*x* | *x*v* ) as_opts=-vx ;;
 
154
  *v* ) as_opts=-v ;;
 
155
  *x* ) as_opts=-x ;;
 
156
  * ) as_opts= ;;
 
157
esac
 
158
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
159
# Admittedly, this is quite paranoid, since all the known shells bail
 
160
# out after a failed `exec'.
 
161
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
162
as_fn_exit 255
 
163
  fi
 
164
  # We don't want this to propagate to other subprocesses.
 
165
          { _as_can_reexec=; unset _as_can_reexec;}
 
166
if test "x$CONFIG_SHELL" = x; then
 
167
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
168
  emulate sh
 
169
  NULLCMD=:
 
170
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
171
  # is contrary to our usage.  Disable this feature.
 
172
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
173
  setopt NO_GLOB_SUBST
 
174
else
 
175
  case \`(set -o) 2>/dev/null\` in #(
 
176
  *posix*) :
 
177
    set -o posix ;; #(
 
178
  *) :
 
179
     ;;
 
180
esac
 
181
fi
 
182
"
 
183
  as_required="as_fn_return () { (exit \$1); }
 
184
as_fn_success () { as_fn_return 0; }
 
185
as_fn_failure () { as_fn_return 1; }
 
186
as_fn_ret_success () { return 0; }
 
187
as_fn_ret_failure () { return 1; }
 
188
 
 
189
exitcode=0
 
190
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
191
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
192
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
193
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
194
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
195
 
 
196
else
 
197
  exitcode=1; echo positional parameters were not saved.
 
198
fi
 
199
test x\$exitcode = x0 || exit 1
 
200
test -x / || exit 1"
 
201
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
202
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
203
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
204
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
205
test \$(( 1 + 1 )) = 2 || exit 1
 
206
 
 
207
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
208
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
209
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
210
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
211
    PATH=/empty FPATH=/empty; export PATH FPATH
 
212
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
213
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
214
  if (eval "$as_required") 2>/dev/null; then :
 
215
  as_have_required=yes
 
216
else
 
217
  as_have_required=no
 
218
fi
 
219
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
220
 
 
221
else
 
222
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
223
as_found=false
 
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
225
do
 
226
  IFS=$as_save_IFS
 
227
  test -z "$as_dir" && as_dir=.
 
228
  as_found=:
 
229
  case $as_dir in #(
 
230
         /*)
 
231
           for as_base in sh bash ksh sh5; do
 
232
             # Try only shells that exist, to save several forks.
 
233
             as_shell=$as_dir/$as_base
 
234
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
235
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
236
  CONFIG_SHELL=$as_shell as_have_required=yes
 
237
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
238
  break 2
 
239
fi
 
240
fi
 
241
           done;;
 
242
       esac
 
243
  as_found=false
 
244
done
 
245
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
246
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
247
  CONFIG_SHELL=$SHELL as_have_required=yes
 
248
fi; }
 
249
IFS=$as_save_IFS
 
250
 
 
251
 
 
252
      if test "x$CONFIG_SHELL" != x; then :
 
253
  export CONFIG_SHELL
 
254
             # We cannot yet assume a decent shell, so we have to provide a
 
255
# neutralization value for shells without unset; and this also
 
256
# works around shells that cannot unset nonexistent variables.
 
257
# Preserve -v and -x to the replacement shell.
 
258
BASH_ENV=/dev/null
 
259
ENV=/dev/null
 
260
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
261
case $- in # ((((
 
262
  *v*x* | *x*v* ) as_opts=-vx ;;
 
263
  *v* ) as_opts=-v ;;
 
264
  *x* ) as_opts=-x ;;
 
265
  * ) as_opts= ;;
 
266
esac
 
267
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
268
# Admittedly, this is quite paranoid, since all the known shells bail
 
269
# out after a failed `exec'.
 
270
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
271
exit 255
 
272
fi
 
273
 
 
274
    if test x$as_have_required = xno; then :
 
275
  $as_echo "$0: This script requires a shell more modern than all"
 
276
  $as_echo "$0: the shells that I found on your system."
 
277
  if test x${ZSH_VERSION+set} = xset ; then
 
278
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
279
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
280
  else
 
281
    $as_echo "$0: Please tell bug-autoconf@gnu.org and xfce4-dev@xfce.org
 
282
$0: about your system, including any error possibly output
 
283
$0: before this message. Then install a modern shell, or
 
284
$0: manually run the script under such a shell if you do
 
285
$0: have one."
 
286
  fi
 
287
  exit 1
 
288
fi
 
289
fi
 
290
fi
 
291
SHELL=${CONFIG_SHELL-/bin/sh}
 
292
export SHELL
 
293
# Unset more variables known to interfere with behavior of common tools.
 
294
CLICOLOR_FORCE= GREP_OPTIONS=
 
295
unset CLICOLOR_FORCE GREP_OPTIONS
 
296
 
 
297
## --------------------- ##
 
298
## M4sh Shell Functions. ##
 
299
## --------------------- ##
 
300
# as_fn_unset VAR
 
301
# ---------------
 
302
# Portably unset VAR.
 
303
as_fn_unset ()
 
304
{
 
305
  { eval $1=; unset $1;}
 
306
}
 
307
as_unset=as_fn_unset
 
308
 
 
309
# as_fn_set_status STATUS
 
310
# -----------------------
 
311
# Set $? to STATUS, without forking.
 
312
as_fn_set_status ()
 
313
{
 
314
  return $1
 
315
} # as_fn_set_status
 
316
 
 
317
# as_fn_exit STATUS
 
318
# -----------------
 
319
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
320
as_fn_exit ()
 
321
{
 
322
  set +e
 
323
  as_fn_set_status $1
 
324
  exit $1
 
325
} # as_fn_exit
 
326
 
 
327
# as_fn_mkdir_p
 
328
# -------------
 
329
# Create "$as_dir" as a directory, including parents if necessary.
 
330
as_fn_mkdir_p ()
 
331
{
 
332
 
 
333
  case $as_dir in #(
 
334
  -*) as_dir=./$as_dir;;
 
335
  esac
 
336
  test -d "$as_dir" || eval $as_mkdir_p || {
 
337
    as_dirs=
 
338
    while :; do
 
339
      case $as_dir in #(
 
340
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
341
      *) as_qdir=$as_dir;;
 
342
      esac
 
343
      as_dirs="'$as_qdir' $as_dirs"
 
344
      as_dir=`$as_dirname -- "$as_dir" ||
 
345
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
346
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
347
         X"$as_dir" : 'X\(//\)$' \| \
 
348
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
349
$as_echo X"$as_dir" |
 
350
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
351
            s//\1/
 
352
            q
 
353
          }
 
354
          /^X\(\/\/\)[^/].*/{
 
355
            s//\1/
 
356
            q
 
357
          }
 
358
          /^X\(\/\/\)$/{
 
359
            s//\1/
 
360
            q
 
361
          }
 
362
          /^X\(\/\).*/{
 
363
            s//\1/
 
364
            q
 
365
          }
 
366
          s/.*/./; q'`
 
367
      test -d "$as_dir" && break
 
368
    done
 
369
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
370
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
371
 
 
372
 
 
373
} # as_fn_mkdir_p
 
374
 
 
375
# as_fn_executable_p FILE
 
376
# -----------------------
 
377
# Test if FILE is an executable regular file.
 
378
as_fn_executable_p ()
 
379
{
 
380
  test -f "$1" && test -x "$1"
 
381
} # as_fn_executable_p
 
382
# as_fn_append VAR VALUE
 
383
# ----------------------
 
384
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
385
# advantage of any shell optimizations that allow amortized linear growth over
 
386
# repeated appends, instead of the typical quadratic growth present in naive
 
387
# implementations.
 
388
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
389
  eval 'as_fn_append ()
 
390
  {
 
391
    eval $1+=\$2
 
392
  }'
 
393
else
 
394
  as_fn_append ()
 
395
  {
 
396
    eval $1=\$$1\$2
 
397
  }
 
398
fi # as_fn_append
 
399
 
 
400
# as_fn_arith ARG...
 
401
# ------------------
 
402
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
403
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
404
# must be portable across $(()) and expr.
 
405
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
406
  eval 'as_fn_arith ()
 
407
  {
 
408
    as_val=$(( $* ))
 
409
  }'
 
410
else
 
411
  as_fn_arith ()
 
412
  {
 
413
    as_val=`expr "$@" || test $? -eq 1`
 
414
  }
 
415
fi # as_fn_arith
 
416
 
 
417
 
 
418
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
419
# ----------------------------------------
 
420
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
421
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
422
# script with STATUS, using 1 if that was 0.
 
423
as_fn_error ()
 
424
{
 
425
  as_status=$1; test $as_status -eq 0 && as_status=1
 
426
  if test "$4"; then
 
427
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
428
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
429
  fi
 
430
  $as_echo "$as_me: error: $2" >&2
 
431
  as_fn_exit $as_status
 
432
} # as_fn_error
 
433
 
 
434
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
435
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
436
  as_expr=expr
 
437
else
 
438
  as_expr=false
 
439
fi
 
440
 
 
441
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
442
  as_basename=basename
 
443
else
 
444
  as_basename=false
 
445
fi
 
446
 
 
447
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
448
  as_dirname=dirname
 
449
else
 
450
  as_dirname=false
 
451
fi
 
452
 
 
453
as_me=`$as_basename -- "$0" ||
 
454
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
455
         X"$0" : 'X\(//\)$' \| \
 
456
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
457
$as_echo X/"$0" |
 
458
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
459
            s//\1/
 
460
            q
 
461
          }
 
462
          /^X\/\(\/\/\)$/{
 
463
            s//\1/
 
464
            q
 
465
          }
 
466
          /^X\/\(\/\).*/{
 
467
            s//\1/
 
468
            q
 
469
          }
 
470
          s/.*/./; q'`
 
471
 
 
472
# Avoid depending upon Character Ranges.
 
473
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
474
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
475
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
476
as_cr_digits='0123456789'
 
477
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
478
 
 
479
 
 
480
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
481
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
482
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
483
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
484
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
485
  sed -n '
 
486
    p
 
487
    /[$]LINENO/=
 
488
  ' <$as_myself |
 
489
    sed '
 
490
      s/[$]LINENO.*/&-/
 
491
      t lineno
 
492
      b
 
493
      :lineno
 
494
      N
 
495
      :loop
 
496
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
497
      t loop
 
498
      s/-\n.*//
 
499
    ' >$as_me.lineno &&
 
500
  chmod +x "$as_me.lineno" ||
 
501
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
502
 
 
503
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
504
  # already done that, so ensure we don't try to do so again and fall
 
505
  # in an infinite loop.  This has already happened in practice.
 
506
  _as_can_reexec=no; export _as_can_reexec
 
507
  # Don't try to exec as it changes $[0], causing all sort of problems
 
508
  # (the dirname of $[0] is not the place where we might find the
 
509
  # original and so on.  Autoconf is especially sensitive to this).
 
510
  . "./$as_me.lineno"
 
511
  # Exit status is that of the last command.
 
512
  exit
 
513
}
 
514
 
 
515
ECHO_C= ECHO_N= ECHO_T=
 
516
case `echo -n x` in #(((((
 
517
-n*)
 
518
  case `echo 'xy\c'` in
 
519
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
520
  xy)  ECHO_C='\c';;
 
521
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
522
       ECHO_T=' ';;
 
523
  esac;;
 
524
*)
 
525
  ECHO_N='-n';;
 
526
esac
 
527
 
 
528
rm -f conf$$ conf$$.exe conf$$.file
 
529
if test -d conf$$.dir; then
 
530
  rm -f conf$$.dir/conf$$.file
 
531
else
 
532
  rm -f conf$$.dir
 
533
  mkdir conf$$.dir 2>/dev/null
 
534
fi
 
535
if (echo >conf$$.file) 2>/dev/null; then
 
536
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
537
    as_ln_s='ln -s'
 
538
    # ... but there are two gotchas:
 
539
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
540
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
541
    # In both cases, we have to default to `cp -pR'.
 
542
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
543
      as_ln_s='cp -pR'
 
544
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
545
    as_ln_s=ln
 
546
  else
 
547
    as_ln_s='cp -pR'
 
548
  fi
 
549
else
 
550
  as_ln_s='cp -pR'
 
551
fi
 
552
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
553
rmdir conf$$.dir 2>/dev/null
 
554
 
 
555
if mkdir -p . 2>/dev/null; then
 
556
  as_mkdir_p='mkdir -p "$as_dir"'
 
557
else
 
558
  test -d ./-p && rmdir ./-p
 
559
  as_mkdir_p=false
 
560
fi
 
561
 
 
562
as_test_x='test -x'
 
563
as_executable_p=as_fn_executable_p
 
564
 
 
565
# Sed expression to map a string onto a valid CPP name.
 
566
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
567
 
 
568
# Sed expression to map a string onto a valid variable name.
 
569
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
570
 
 
571
SHELL=${CONFIG_SHELL-/bin/sh}
 
572
 
 
573
 
 
574
test -n "$DJDIR" || exec 7<&0 </dev/null
 
575
exec 6>&1
 
576
 
 
577
# Name of the host.
 
578
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
579
# so uname gets run too.
 
580
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
581
 
 
582
#
 
583
# Initializations.
 
584
#
 
585
ac_default_prefix=/usr/local
 
586
ac_clean_files=
 
587
ac_config_libobj_dir=.
 
588
LIBOBJS=
 
589
cross_compiling=no
 
590
subdirs=
 
591
MFLAGS=
 
592
MAKEFLAGS=
 
593
 
 
594
# Identity of this package.
 
595
PACKAGE_NAME='libxfce4util'
 
596
PACKAGE_TARNAME='libxfce4util'
 
597
PACKAGE_VERSION='4.10.1'
 
598
PACKAGE_STRING='libxfce4util 4.10.1'
 
599
PACKAGE_BUGREPORT='xfce4-dev@xfce.org'
 
600
PACKAGE_URL=''
 
601
 
 
602
# Factoring default headers for most tests.
 
603
ac_includes_default="\
 
604
#include <stdio.h>
 
605
#ifdef HAVE_SYS_TYPES_H
 
606
# include <sys/types.h>
 
607
#endif
 
608
#ifdef HAVE_SYS_STAT_H
 
609
# include <sys/stat.h>
 
610
#endif
 
611
#ifdef STDC_HEADERS
 
612
# include <stdlib.h>
 
613
# include <stddef.h>
 
614
#else
 
615
# ifdef HAVE_STDLIB_H
 
616
#  include <stdlib.h>
 
617
# endif
 
618
#endif
 
619
#ifdef HAVE_STRING_H
 
620
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
621
#  include <memory.h>
 
622
# endif
 
623
# include <string.h>
 
624
#endif
 
625
#ifdef HAVE_STRINGS_H
 
626
# include <strings.h>
 
627
#endif
 
628
#ifdef HAVE_INTTYPES_H
 
629
# include <inttypes.h>
 
630
#endif
 
631
#ifdef HAVE_STDINT_H
 
632
# include <stdint.h>
 
633
#endif
 
634
#ifdef HAVE_UNISTD_H
 
635
# include <unistd.h>
 
636
#endif"
 
637
 
 
638
ac_subst_vars='am__EXEEXT_FALSE
 
639
am__EXEEXT_TRUE
 
640
LTLIBOBJS
 
641
LIBOBJS
 
642
GTK_DOC_EXTRA_CFLAGS
 
643
HAVE_GNUC_VISIBILITY_FALSE
 
644
HAVE_GNUC_VISIBILITY_TRUE
 
645
GTK_DOC_USE_REBASE_FALSE
 
646
GTK_DOC_USE_REBASE_TRUE
 
647
GTK_DOC_USE_LIBTOOL_FALSE
 
648
GTK_DOC_USE_LIBTOOL_TRUE
 
649
GTK_DOC_BUILD_PDF_FALSE
 
650
GTK_DOC_BUILD_PDF_TRUE
 
651
GTK_DOC_BUILD_HTML_FALSE
 
652
GTK_DOC_BUILD_HTML_TRUE
 
653
ENABLE_GTK_DOC_FALSE
 
654
ENABLE_GTK_DOC_TRUE
 
655
GTKDOC_DEPS_LIBS
 
656
GTKDOC_DEPS_CFLAGS
 
657
HTML_DIR
 
658
GTKDOC_MKPDF
 
659
GTKDOC_REBASE
 
660
GTKDOC_CHECK
 
661
GLIB_REQUIRED_VERSION
 
662
GLIB_LIBS
 
663
GLIB_CFLAGS
 
664
GLIB_VERSION
 
665
PKG_CONFIG_LIBDIR
 
666
PKG_CONFIG_PATH
 
667
PKG_CONFIG
 
668
XGETTEXT_ARGS
 
669
MKINSTALLDIRS
 
670
POSUB
 
671
POFILES
 
672
PO_IN_DATADIR_FALSE
 
673
PO_IN_DATADIR_TRUE
 
674
INTLLIBS
 
675
INSTOBJEXT
 
676
GMOFILES
 
677
CATOBJEXT
 
678
CATALOGS
 
679
MSGFMT_OPTS
 
680
GETTEXT_PACKAGE
 
681
OTOOL64
 
682
OTOOL
 
683
LIPO
 
684
NMEDIT
 
685
DSYMUTIL
 
686
MANIFEST_TOOL
 
687
RANLIB
 
688
ac_ct_AR
 
689
AR
 
690
DLLTOOL
 
691
OBJDUMP
 
692
LN_S
 
693
NM
 
694
ac_ct_DUMPBIN
 
695
DUMPBIN
 
696
LD
 
697
FGREP
 
698
SED
 
699
host_os
 
700
host_vendor
 
701
host_cpu
 
702
host
 
703
build_os
 
704
build_vendor
 
705
build_cpu
 
706
build
 
707
LIBTOOL
 
708
PERL
 
709
DATADIRNAME
 
710
ALL_LINGUAS
 
711
INTLTOOL_PERL
 
712
GMSGFMT
 
713
MSGFMT
 
714
MSGMERGE
 
715
XGETTEXT
 
716
INTLTOOL_POLICY_RULE
 
717
INTLTOOL_SERVICE_RULE
 
718
INTLTOOL_THEME_RULE
 
719
INTLTOOL_SCHEMAS_RULE
 
720
INTLTOOL_CAVES_RULE
 
721
INTLTOOL_XML_NOMERGE_RULE
 
722
INTLTOOL_XML_RULE
 
723
INTLTOOL_KBD_RULE
 
724
INTLTOOL_XAM_RULE
 
725
INTLTOOL_UI_RULE
 
726
INTLTOOL_SOUNDLIST_RULE
 
727
INTLTOOL_SHEET_RULE
 
728
INTLTOOL_SERVER_RULE
 
729
INTLTOOL_PONG_RULE
 
730
INTLTOOL_OAF_RULE
 
731
INTLTOOL_PROP_RULE
 
732
INTLTOOL_KEYS_RULE
 
733
INTLTOOL_DIRECTORY_RULE
 
734
INTLTOOL_DESKTOP_RULE
 
735
intltool__v_merge_options_0
 
736
intltool__v_merge_options_
 
737
INTLTOOL_V_MERGE_OPTIONS
 
738
INTLTOOL__v_MERGE_0
 
739
INTLTOOL__v_MERGE_
 
740
INTLTOOL_V_MERGE
 
741
INTLTOOL_EXTRACT
 
742
INTLTOOL_MERGE
 
743
INTLTOOL_UPDATE
 
744
USE_NLS
 
745
HAVE_CYGWIN_FALSE
 
746
HAVE_CYGWIN_TRUE
 
747
EGREP
 
748
GREP
 
749
CPP
 
750
am__fastdepCC_FALSE
 
751
am__fastdepCC_TRUE
 
752
CCDEPMODE
 
753
am__nodep
 
754
AMDEPBACKSLASH
 
755
AMDEP_FALSE
 
756
AMDEP_TRUE
 
757
am__quote
 
758
am__include
 
759
DEPDIR
 
760
OBJEXT
 
761
EXEEXT
 
762
ac_ct_CC
 
763
CPPFLAGS
 
764
LDFLAGS
 
765
CFLAGS
 
766
CC
 
767
LIBXFCE4UTIL_VERSION_MICRO
 
768
LIBXFCE4UTIL_VERSION_MINOR
 
769
LIBXFCE4UTIL_VERSION_MAJOR
 
770
LIBXFCE4UTIL_VERINFO
 
771
MAINT
 
772
MAINTAINER_MODE_FALSE
 
773
MAINTAINER_MODE_TRUE
 
774
AM_BACKSLASH
 
775
AM_DEFAULT_VERBOSITY
 
776
AM_DEFAULT_V
 
777
AM_V
 
778
am__untar
 
779
am__tar
 
780
AMTAR
 
781
am__leading_dot
 
782
SET_MAKE
 
783
AWK
 
784
mkdir_p
 
785
MKDIR_P
 
786
INSTALL_STRIP_PROGRAM
 
787
STRIP
 
788
install_sh
 
789
MAKEINFO
 
790
AUTOHEADER
 
791
AUTOMAKE
 
792
AUTOCONF
 
793
ACLOCAL
 
794
VERSION
 
795
PACKAGE
 
796
CYGPATH_W
 
797
am__isrc
 
798
INSTALL_DATA
 
799
INSTALL_SCRIPT
 
800
INSTALL_PROGRAM
 
801
target_alias
 
802
host_alias
 
803
build_alias
 
804
LIBS
 
805
ECHO_T
 
806
ECHO_N
 
807
ECHO_C
 
808
DEFS
 
809
mandir
 
810
localedir
 
811
libdir
 
812
psdir
 
813
pdfdir
 
814
dvidir
 
815
htmldir
 
816
infodir
 
817
docdir
 
818
oldincludedir
 
819
includedir
 
820
localstatedir
 
821
sharedstatedir
 
822
sysconfdir
 
823
datadir
 
824
datarootdir
 
825
libexecdir
 
826
sbindir
 
827
bindir
 
828
program_transform_name
 
829
prefix
 
830
exec_prefix
 
831
PACKAGE_URL
 
832
PACKAGE_BUGREPORT
 
833
PACKAGE_STRING
 
834
PACKAGE_VERSION
 
835
PACKAGE_TARNAME
 
836
PACKAGE_NAME
 
837
PATH_SEPARATOR
 
838
SHELL'
 
839
ac_subst_files=''
 
840
ac_user_opts='
 
841
enable_option_checking
 
842
enable_silent_rules
 
843
enable_maintainer_mode
 
844
enable_dependency_tracking
 
845
enable_nls
 
846
enable_static
 
847
enable_shared
 
848
with_pic
 
849
enable_fast_install
 
850
with_gnu_ld
 
851
with_sysroot
 
852
enable_libtool_lock
 
853
with_locales_dir
 
854
with_html_dir
 
855
enable_gtk_doc
 
856
enable_gtk_doc_html
 
857
enable_gtk_doc_pdf
 
858
with_broken_putenv
 
859
enable_debug
 
860
enable_linker_opts
 
861
enable_visibility
 
862
'
 
863
      ac_precious_vars='build_alias
 
864
host_alias
 
865
target_alias
 
866
CC
 
867
CFLAGS
 
868
LDFLAGS
 
869
LIBS
 
870
CPPFLAGS
 
871
CPP
 
872
PKG_CONFIG
 
873
PKG_CONFIG_PATH
 
874
PKG_CONFIG_LIBDIR
 
875
GTKDOC_DEPS_CFLAGS
 
876
GTKDOC_DEPS_LIBS'
 
877
 
 
878
 
 
879
# Initialize some variables set by options.
 
880
ac_init_help=
 
881
ac_init_version=false
 
882
ac_unrecognized_opts=
 
883
ac_unrecognized_sep=
 
884
# The variables have the same names as the options, with
 
885
# dashes changed to underlines.
 
886
cache_file=/dev/null
 
887
exec_prefix=NONE
 
888
no_create=
 
889
no_recursion=
 
890
prefix=NONE
 
891
program_prefix=NONE
 
892
program_suffix=NONE
 
893
program_transform_name=s,x,x,
 
894
silent=
 
895
site=
 
896
srcdir=
 
897
verbose=
 
898
x_includes=NONE
 
899
x_libraries=NONE
 
900
 
 
901
# Installation directory options.
 
902
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
903
# and all the variables that are supposed to be based on exec_prefix
 
904
# by default will actually change.
 
905
# Use braces instead of parens because sh, perl, etc. also accept them.
 
906
# (The list follows the same order as the GNU Coding Standards.)
 
907
bindir='${exec_prefix}/bin'
 
908
sbindir='${exec_prefix}/sbin'
 
909
libexecdir='${exec_prefix}/libexec'
 
910
datarootdir='${prefix}/share'
 
911
datadir='${datarootdir}'
 
912
sysconfdir='${prefix}/etc'
 
913
sharedstatedir='${prefix}/com'
 
914
localstatedir='${prefix}/var'
 
915
includedir='${prefix}/include'
 
916
oldincludedir='/usr/include'
 
917
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
918
infodir='${datarootdir}/info'
 
919
htmldir='${docdir}'
 
920
dvidir='${docdir}'
 
921
pdfdir='${docdir}'
 
922
psdir='${docdir}'
 
923
libdir='${exec_prefix}/lib'
 
924
localedir='${datarootdir}/locale'
 
925
mandir='${datarootdir}/man'
 
926
 
 
927
ac_prev=
 
928
ac_dashdash=
 
929
for ac_option
 
930
do
 
931
  # If the previous option needs an argument, assign it.
 
932
  if test -n "$ac_prev"; then
 
933
    eval $ac_prev=\$ac_option
 
934
    ac_prev=
 
935
    continue
 
936
  fi
 
937
 
 
938
  case $ac_option in
 
939
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
940
  *=)   ac_optarg= ;;
 
941
  *)    ac_optarg=yes ;;
 
942
  esac
 
943
 
 
944
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
945
 
 
946
  case $ac_dashdash$ac_option in
 
947
  --)
 
948
    ac_dashdash=yes ;;
 
949
 
 
950
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
951
    ac_prev=bindir ;;
 
952
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
953
    bindir=$ac_optarg ;;
 
954
 
 
955
  -build | --build | --buil | --bui | --bu)
 
956
    ac_prev=build_alias ;;
 
957
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
958
    build_alias=$ac_optarg ;;
 
959
 
 
960
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
961
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
962
    ac_prev=cache_file ;;
 
963
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
964
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
965
    cache_file=$ac_optarg ;;
 
966
 
 
967
  --config-cache | -C)
 
968
    cache_file=config.cache ;;
 
969
 
 
970
  -datadir | --datadir | --datadi | --datad)
 
971
    ac_prev=datadir ;;
 
972
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
973
    datadir=$ac_optarg ;;
 
974
 
 
975
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
976
  | --dataroo | --dataro | --datar)
 
977
    ac_prev=datarootdir ;;
 
978
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
979
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
980
    datarootdir=$ac_optarg ;;
 
981
 
 
982
  -disable-* | --disable-*)
 
983
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
984
    # Reject names that are not valid shell variable names.
 
985
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
986
      as_fn_error $? "invalid feature name: $ac_useropt"
 
987
    ac_useropt_orig=$ac_useropt
 
988
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
989
    case $ac_user_opts in
 
990
      *"
 
991
"enable_$ac_useropt"
 
992
"*) ;;
 
993
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
994
         ac_unrecognized_sep=', ';;
 
995
    esac
 
996
    eval enable_$ac_useropt=no ;;
 
997
 
 
998
  -docdir | --docdir | --docdi | --doc | --do)
 
999
    ac_prev=docdir ;;
 
1000
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1001
    docdir=$ac_optarg ;;
 
1002
 
 
1003
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1004
    ac_prev=dvidir ;;
 
1005
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1006
    dvidir=$ac_optarg ;;
 
1007
 
 
1008
  -enable-* | --enable-*)
 
1009
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1010
    # Reject names that are not valid shell variable names.
 
1011
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1012
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1013
    ac_useropt_orig=$ac_useropt
 
1014
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1015
    case $ac_user_opts in
 
1016
      *"
 
1017
"enable_$ac_useropt"
 
1018
"*) ;;
 
1019
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1020
         ac_unrecognized_sep=', ';;
 
1021
    esac
 
1022
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1023
 
 
1024
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1025
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1026
  | --exec | --exe | --ex)
 
1027
    ac_prev=exec_prefix ;;
 
1028
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1029
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1030
  | --exec=* | --exe=* | --ex=*)
 
1031
    exec_prefix=$ac_optarg ;;
 
1032
 
 
1033
  -gas | --gas | --ga | --g)
 
1034
    # Obsolete; use --with-gas.
 
1035
    with_gas=yes ;;
 
1036
 
 
1037
  -help | --help | --hel | --he | -h)
 
1038
    ac_init_help=long ;;
 
1039
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1040
    ac_init_help=recursive ;;
 
1041
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1042
    ac_init_help=short ;;
 
1043
 
 
1044
  -host | --host | --hos | --ho)
 
1045
    ac_prev=host_alias ;;
 
1046
  -host=* | --host=* | --hos=* | --ho=*)
 
1047
    host_alias=$ac_optarg ;;
 
1048
 
 
1049
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1050
    ac_prev=htmldir ;;
 
1051
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1052
  | --ht=*)
 
1053
    htmldir=$ac_optarg ;;
 
1054
 
 
1055
  -includedir | --includedir | --includedi | --included | --include \
 
1056
  | --includ | --inclu | --incl | --inc)
 
1057
    ac_prev=includedir ;;
 
1058
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1059
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1060
    includedir=$ac_optarg ;;
 
1061
 
 
1062
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1063
    ac_prev=infodir ;;
 
1064
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1065
    infodir=$ac_optarg ;;
 
1066
 
 
1067
  -libdir | --libdir | --libdi | --libd)
 
1068
    ac_prev=libdir ;;
 
1069
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1070
    libdir=$ac_optarg ;;
 
1071
 
 
1072
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1073
  | --libexe | --libex | --libe)
 
1074
    ac_prev=libexecdir ;;
 
1075
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1076
  | --libexe=* | --libex=* | --libe=*)
 
1077
    libexecdir=$ac_optarg ;;
 
1078
 
 
1079
  -localedir | --localedir | --localedi | --localed | --locale)
 
1080
    ac_prev=localedir ;;
 
1081
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1082
    localedir=$ac_optarg ;;
 
1083
 
 
1084
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1085
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1086
    ac_prev=localstatedir ;;
 
1087
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1088
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1089
    localstatedir=$ac_optarg ;;
 
1090
 
 
1091
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1092
    ac_prev=mandir ;;
 
1093
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1094
    mandir=$ac_optarg ;;
 
1095
 
 
1096
  -nfp | --nfp | --nf)
 
1097
    # Obsolete; use --without-fp.
 
1098
    with_fp=no ;;
 
1099
 
 
1100
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1101
  | --no-cr | --no-c | -n)
 
1102
    no_create=yes ;;
 
1103
 
 
1104
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1105
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1106
    no_recursion=yes ;;
 
1107
 
 
1108
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1109
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1110
  | --oldin | --oldi | --old | --ol | --o)
 
1111
    ac_prev=oldincludedir ;;
 
1112
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1113
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1114
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1115
    oldincludedir=$ac_optarg ;;
 
1116
 
 
1117
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1118
    ac_prev=prefix ;;
 
1119
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1120
    prefix=$ac_optarg ;;
 
1121
 
 
1122
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1123
  | --program-pre | --program-pr | --program-p)
 
1124
    ac_prev=program_prefix ;;
 
1125
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1126
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1127
    program_prefix=$ac_optarg ;;
 
1128
 
 
1129
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1130
  | --program-suf | --program-su | --program-s)
 
1131
    ac_prev=program_suffix ;;
 
1132
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1133
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1134
    program_suffix=$ac_optarg ;;
 
1135
 
 
1136
  -program-transform-name | --program-transform-name \
 
1137
  | --program-transform-nam | --program-transform-na \
 
1138
  | --program-transform-n | --program-transform- \
 
1139
  | --program-transform | --program-transfor \
 
1140
  | --program-transfo | --program-transf \
 
1141
  | --program-trans | --program-tran \
 
1142
  | --progr-tra | --program-tr | --program-t)
 
1143
    ac_prev=program_transform_name ;;
 
1144
  -program-transform-name=* | --program-transform-name=* \
 
1145
  | --program-transform-nam=* | --program-transform-na=* \
 
1146
  | --program-transform-n=* | --program-transform-=* \
 
1147
  | --program-transform=* | --program-transfor=* \
 
1148
  | --program-transfo=* | --program-transf=* \
 
1149
  | --program-trans=* | --program-tran=* \
 
1150
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1151
    program_transform_name=$ac_optarg ;;
 
1152
 
 
1153
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1154
    ac_prev=pdfdir ;;
 
1155
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1156
    pdfdir=$ac_optarg ;;
 
1157
 
 
1158
  -psdir | --psdir | --psdi | --psd | --ps)
 
1159
    ac_prev=psdir ;;
 
1160
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1161
    psdir=$ac_optarg ;;
 
1162
 
 
1163
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1164
  | -silent | --silent | --silen | --sile | --sil)
 
1165
    silent=yes ;;
 
1166
 
 
1167
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1168
    ac_prev=sbindir ;;
 
1169
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1170
  | --sbi=* | --sb=*)
 
1171
    sbindir=$ac_optarg ;;
 
1172
 
 
1173
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1174
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1175
  | --sharedst | --shareds | --shared | --share | --shar \
 
1176
  | --sha | --sh)
 
1177
    ac_prev=sharedstatedir ;;
 
1178
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1179
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1180
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1181
  | --sha=* | --sh=*)
 
1182
    sharedstatedir=$ac_optarg ;;
 
1183
 
 
1184
  -site | --site | --sit)
 
1185
    ac_prev=site ;;
 
1186
  -site=* | --site=* | --sit=*)
 
1187
    site=$ac_optarg ;;
 
1188
 
 
1189
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1190
    ac_prev=srcdir ;;
 
1191
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1192
    srcdir=$ac_optarg ;;
 
1193
 
 
1194
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1195
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1196
    ac_prev=sysconfdir ;;
 
1197
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1198
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1199
    sysconfdir=$ac_optarg ;;
 
1200
 
 
1201
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1202
    ac_prev=target_alias ;;
 
1203
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1204
    target_alias=$ac_optarg ;;
 
1205
 
 
1206
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1207
    verbose=yes ;;
 
1208
 
 
1209
  -version | --version | --versio | --versi | --vers | -V)
 
1210
    ac_init_version=: ;;
 
1211
 
 
1212
  -with-* | --with-*)
 
1213
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1214
    # Reject names that are not valid shell variable names.
 
1215
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1216
      as_fn_error $? "invalid package name: $ac_useropt"
 
1217
    ac_useropt_orig=$ac_useropt
 
1218
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1219
    case $ac_user_opts in
 
1220
      *"
 
1221
"with_$ac_useropt"
 
1222
"*) ;;
 
1223
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1224
         ac_unrecognized_sep=', ';;
 
1225
    esac
 
1226
    eval with_$ac_useropt=\$ac_optarg ;;
 
1227
 
 
1228
  -without-* | --without-*)
 
1229
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1230
    # Reject names that are not valid shell variable names.
 
1231
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1232
      as_fn_error $? "invalid package name: $ac_useropt"
 
1233
    ac_useropt_orig=$ac_useropt
 
1234
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1235
    case $ac_user_opts in
 
1236
      *"
 
1237
"with_$ac_useropt"
 
1238
"*) ;;
 
1239
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1240
         ac_unrecognized_sep=', ';;
 
1241
    esac
 
1242
    eval with_$ac_useropt=no ;;
 
1243
 
 
1244
  --x)
 
1245
    # Obsolete; use --with-x.
 
1246
    with_x=yes ;;
 
1247
 
 
1248
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1249
  | --x-incl | --x-inc | --x-in | --x-i)
 
1250
    ac_prev=x_includes ;;
 
1251
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1252
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1253
    x_includes=$ac_optarg ;;
 
1254
 
 
1255
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1256
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1257
    ac_prev=x_libraries ;;
 
1258
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1259
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1260
    x_libraries=$ac_optarg ;;
 
1261
 
 
1262
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1263
Try \`$0 --help' for more information"
 
1264
    ;;
 
1265
 
 
1266
  *=*)
 
1267
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1268
    # Reject names that are not valid shell variable names.
 
1269
    case $ac_envvar in #(
 
1270
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1271
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1272
    esac
 
1273
    eval $ac_envvar=\$ac_optarg
 
1274
    export $ac_envvar ;;
 
1275
 
 
1276
  *)
 
1277
    # FIXME: should be removed in autoconf 3.0.
 
1278
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1279
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1280
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1281
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1282
    ;;
 
1283
 
 
1284
  esac
 
1285
done
 
1286
 
 
1287
if test -n "$ac_prev"; then
 
1288
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1289
  as_fn_error $? "missing argument to $ac_option"
 
1290
fi
 
1291
 
 
1292
if test -n "$ac_unrecognized_opts"; then
 
1293
  case $enable_option_checking in
 
1294
    no) ;;
 
1295
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1296
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1297
  esac
 
1298
fi
 
1299
 
 
1300
# Check all directory arguments for consistency.
 
1301
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1302
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1303
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1304
                libdir localedir mandir
 
1305
do
 
1306
  eval ac_val=\$$ac_var
 
1307
  # Remove trailing slashes.
 
1308
  case $ac_val in
 
1309
    */ )
 
1310
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1311
      eval $ac_var=\$ac_val;;
 
1312
  esac
 
1313
  # Be sure to have absolute directory names.
 
1314
  case $ac_val in
 
1315
    [\\/$]* | ?:[\\/]* )  continue;;
 
1316
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1317
  esac
 
1318
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1319
done
 
1320
 
 
1321
# There might be people who depend on the old broken behavior: `$host'
 
1322
# used to hold the argument of --host etc.
 
1323
# FIXME: To remove some day.
 
1324
build=$build_alias
 
1325
host=$host_alias
 
1326
target=$target_alias
 
1327
 
 
1328
# FIXME: To remove some day.
 
1329
if test "x$host_alias" != x; then
 
1330
  if test "x$build_alias" = x; then
 
1331
    cross_compiling=maybe
 
1332
  elif test "x$build_alias" != "x$host_alias"; then
 
1333
    cross_compiling=yes
 
1334
  fi
 
1335
fi
 
1336
 
 
1337
ac_tool_prefix=
 
1338
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1339
 
 
1340
test "$silent" = yes && exec 6>/dev/null
 
1341
 
 
1342
 
 
1343
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1344
ac_ls_di=`ls -di .` &&
 
1345
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1346
  as_fn_error $? "working directory cannot be determined"
 
1347
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1348
  as_fn_error $? "pwd does not report name of working directory"
 
1349
 
 
1350
 
 
1351
# Find the source files, if location was not specified.
 
1352
if test -z "$srcdir"; then
 
1353
  ac_srcdir_defaulted=yes
 
1354
  # Try the directory containing this script, then the parent directory.
 
1355
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1356
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1357
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1358
         X"$as_myself" : 'X\(//\)$' \| \
 
1359
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1360
$as_echo X"$as_myself" |
 
1361
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1362
            s//\1/
 
1363
            q
 
1364
          }
 
1365
          /^X\(\/\/\)[^/].*/{
 
1366
            s//\1/
 
1367
            q
 
1368
          }
 
1369
          /^X\(\/\/\)$/{
 
1370
            s//\1/
 
1371
            q
 
1372
          }
 
1373
          /^X\(\/\).*/{
 
1374
            s//\1/
 
1375
            q
 
1376
          }
 
1377
          s/.*/./; q'`
 
1378
  srcdir=$ac_confdir
 
1379
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1380
    srcdir=..
 
1381
  fi
 
1382
else
 
1383
  ac_srcdir_defaulted=no
 
1384
fi
 
1385
if test ! -r "$srcdir/$ac_unique_file"; then
 
1386
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1387
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1388
fi
 
1389
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1390
ac_abs_confdir=`(
 
1391
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1392
        pwd)`
 
1393
# When building in place, set srcdir=.
 
1394
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1395
  srcdir=.
 
1396
fi
 
1397
# Remove unnecessary trailing slashes from srcdir.
 
1398
# Double slashes in file names in object file debugging info
 
1399
# mess up M-x gdb in Emacs.
 
1400
case $srcdir in
 
1401
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1402
esac
 
1403
for ac_var in $ac_precious_vars; do
 
1404
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1405
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1406
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1407
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1408
done
 
1409
 
 
1410
#
 
1411
# Report the --help message.
 
1412
#
 
1413
if test "$ac_init_help" = "long"; then
 
1414
  # Omit some internal or obsolete options to make the list less imposing.
 
1415
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1416
  cat <<_ACEOF
 
1417
\`configure' configures libxfce4util 4.10.1 to adapt to many kinds of systems.
 
1418
 
 
1419
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1420
 
 
1421
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1422
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1423
 
 
1424
Defaults for the options are specified in brackets.
 
1425
 
 
1426
Configuration:
 
1427
  -h, --help              display this help and exit
 
1428
      --help=short        display options specific to this package
 
1429
      --help=recursive    display the short help of all the included packages
 
1430
  -V, --version           display version information and exit
 
1431
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1432
      --cache-file=FILE   cache test results in FILE [disabled]
 
1433
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1434
  -n, --no-create         do not create output files
 
1435
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1436
 
 
1437
Installation directories:
 
1438
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1439
                          [$ac_default_prefix]
 
1440
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1441
                          [PREFIX]
 
1442
 
 
1443
By default, \`make install' will install all the files in
 
1444
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1445
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1446
for instance \`--prefix=\$HOME'.
 
1447
 
 
1448
For better control, use the options below.
 
1449
 
 
1450
Fine tuning of the installation directories:
 
1451
  --bindir=DIR            user executables [EPREFIX/bin]
 
1452
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1453
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1454
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1455
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1456
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1457
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1458
  --includedir=DIR        C header files [PREFIX/include]
 
1459
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1460
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1461
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1462
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1463
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1464
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1465
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libxfce4util]
 
1466
  --htmldir=DIR           html documentation [DOCDIR]
 
1467
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1468
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1469
  --psdir=DIR             ps documentation [DOCDIR]
 
1470
_ACEOF
 
1471
 
 
1472
  cat <<\_ACEOF
 
1473
 
 
1474
Program names:
 
1475
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1476
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1477
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1478
 
 
1479
System types:
 
1480
  --build=BUILD     configure for building on BUILD [guessed]
 
1481
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1482
_ACEOF
 
1483
fi
 
1484
 
 
1485
if test -n "$ac_init_help"; then
 
1486
  case $ac_init_help in
 
1487
     short | recursive ) echo "Configuration of libxfce4util 4.10.1:";;
 
1488
   esac
 
1489
  cat <<\_ACEOF
 
1490
 
 
1491
Optional Features:
 
1492
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1493
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1494
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1495
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1496
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1497
  --enable-maintainer-mode
 
1498
                          enable make rules and dependencies not useful (and
 
1499
                          sometimes confusing) to the casual installer
 
1500
  --enable-dependency-tracking
 
1501
                          do not reject slow dependency extractors
 
1502
  --disable-dependency-tracking
 
1503
                          speeds up one-time build
 
1504
  --disable-nls           do not use Native Language Support
 
1505
  --enable-static[=PKGS]  build static libraries [default=no]
 
1506
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1507
  --enable-fast-install[=PKGS]
 
1508
                          optimize for fast installation [default=yes]
 
1509
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1510
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1511
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1512
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
 
1513
  --enable-debug[=no|minimum|yes|full]
 
1514
                          Build with debugging support
 
1515
                          [default=[minimum]]
 
1516
  --disable-debug         Include no debugging support
 
1517
  --disable-linker-opts   Disable linker optimizations
 
1518
  --disable-visibility    Do not use ELF visibility attributes
 
1519
 
 
1520
Optional Packages:
 
1521
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1522
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1523
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1524
                          both]
 
1525
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1526
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1527
                        (or the compiler's sysroot if not specified).
 
1528
 
 
1529
      --with-locales-dir=DIR  Install locales into DIR
 
1530
 
 
1531
  --with-html-dir=PATH    path to installed docs
 
1532
  --with-broken-putenv=[auto/yes/no] broken putenv(3) default=auto
 
1533
 
 
1534
Some influential environment variables:
 
1535
  CC          C compiler command
 
1536
  CFLAGS      C compiler flags
 
1537
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1538
              nonstandard directory <lib dir>
 
1539
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1540
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1541
              you have headers in a nonstandard directory <include dir>
 
1542
  CPP         C preprocessor
 
1543
  PKG_CONFIG  path to pkg-config utility
 
1544
  PKG_CONFIG_PATH
 
1545
              directories to add to pkg-config's search path
 
1546
  PKG_CONFIG_LIBDIR
 
1547
              path overriding pkg-config's built-in search path
 
1548
  GTKDOC_DEPS_CFLAGS
 
1549
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
 
1550
  GTKDOC_DEPS_LIBS
 
1551
              linker flags for GTKDOC_DEPS, overriding pkg-config
 
1552
 
 
1553
Use these variables to override the choices made by `configure' or to help
 
1554
it to find libraries and programs with nonstandard names/locations.
 
1555
 
 
1556
Report bugs to <xfce4-dev@xfce.org>.
 
1557
_ACEOF
 
1558
ac_status=$?
 
1559
fi
 
1560
 
 
1561
if test "$ac_init_help" = "recursive"; then
 
1562
  # If there are subdirs, report their specific --help.
 
1563
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1564
    test -d "$ac_dir" ||
 
1565
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1566
      continue
 
1567
    ac_builddir=.
 
1568
 
 
1569
case "$ac_dir" in
 
1570
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1571
*)
 
1572
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1573
  # A ".." for each directory in $ac_dir_suffix.
 
1574
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1575
  case $ac_top_builddir_sub in
 
1576
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1577
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1578
  esac ;;
 
1579
esac
 
1580
ac_abs_top_builddir=$ac_pwd
 
1581
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1582
# for backward compatibility:
 
1583
ac_top_builddir=$ac_top_build_prefix
 
1584
 
 
1585
case $srcdir in
 
1586
  .)  # We are building in place.
 
1587
    ac_srcdir=.
 
1588
    ac_top_srcdir=$ac_top_builddir_sub
 
1589
    ac_abs_top_srcdir=$ac_pwd ;;
 
1590
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1591
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1592
    ac_top_srcdir=$srcdir
 
1593
    ac_abs_top_srcdir=$srcdir ;;
 
1594
  *) # Relative name.
 
1595
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1596
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1597
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1598
esac
 
1599
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1600
 
 
1601
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1602
    # Check for guested configure.
 
1603
    if test -f "$ac_srcdir/configure.gnu"; then
 
1604
      echo &&
 
1605
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1606
    elif test -f "$ac_srcdir/configure"; then
 
1607
      echo &&
 
1608
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1609
    else
 
1610
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1611
    fi || ac_status=$?
 
1612
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1613
  done
 
1614
fi
 
1615
 
 
1616
test -n "$ac_init_help" && exit $ac_status
 
1617
if $ac_init_version; then
 
1618
  cat <<\_ACEOF
 
1619
libxfce4util configure 4.10.1
 
1620
generated by GNU Autoconf 2.69
 
1621
 
 
1622
Copyright (C) 2012 Free Software Foundation, Inc.
 
1623
This configure script is free software; the Free Software Foundation
 
1624
gives unlimited permission to copy, distribute and modify it.
 
1625
 
 
1626
Copyright (c) 2002-2011
 
1627
        The Xfce development team. All rights reserved.
 
1628
_ACEOF
 
1629
  exit
 
1630
fi
 
1631
 
 
1632
## ------------------------ ##
 
1633
## Autoconf initialization. ##
 
1634
## ------------------------ ##
 
1635
 
 
1636
# ac_fn_c_try_compile LINENO
 
1637
# --------------------------
 
1638
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1639
ac_fn_c_try_compile ()
 
1640
{
 
1641
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1642
  rm -f conftest.$ac_objext
 
1643
  if { { ac_try="$ac_compile"
 
1644
case "(($ac_try" in
 
1645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1646
  *) ac_try_echo=$ac_try;;
 
1647
esac
 
1648
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1649
$as_echo "$ac_try_echo"; } >&5
 
1650
  (eval "$ac_compile") 2>conftest.err
 
1651
  ac_status=$?
 
1652
  if test -s conftest.err; then
 
1653
    grep -v '^ *+' conftest.err >conftest.er1
 
1654
    cat conftest.er1 >&5
 
1655
    mv -f conftest.er1 conftest.err
 
1656
  fi
 
1657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1658
  test $ac_status = 0; } && {
 
1659
         test -z "$ac_c_werror_flag" ||
 
1660
         test ! -s conftest.err
 
1661
       } && test -s conftest.$ac_objext; then :
 
1662
  ac_retval=0
 
1663
else
 
1664
  $as_echo "$as_me: failed program was:" >&5
 
1665
sed 's/^/| /' conftest.$ac_ext >&5
 
1666
 
 
1667
        ac_retval=1
 
1668
fi
 
1669
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1670
  as_fn_set_status $ac_retval
 
1671
 
 
1672
} # ac_fn_c_try_compile
 
1673
 
 
1674
# ac_fn_c_try_cpp LINENO
 
1675
# ----------------------
 
1676
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1677
ac_fn_c_try_cpp ()
 
1678
{
 
1679
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1680
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1681
case "(($ac_try" in
 
1682
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1683
  *) ac_try_echo=$ac_try;;
 
1684
esac
 
1685
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1686
$as_echo "$ac_try_echo"; } >&5
 
1687
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1688
  ac_status=$?
 
1689
  if test -s conftest.err; then
 
1690
    grep -v '^ *+' conftest.err >conftest.er1
 
1691
    cat conftest.er1 >&5
 
1692
    mv -f conftest.er1 conftest.err
 
1693
  fi
 
1694
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1695
  test $ac_status = 0; } > conftest.i && {
 
1696
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1697
         test ! -s conftest.err
 
1698
       }; then :
 
1699
  ac_retval=0
 
1700
else
 
1701
  $as_echo "$as_me: failed program was:" >&5
 
1702
sed 's/^/| /' conftest.$ac_ext >&5
 
1703
 
 
1704
    ac_retval=1
 
1705
fi
 
1706
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1707
  as_fn_set_status $ac_retval
 
1708
 
 
1709
} # ac_fn_c_try_cpp
 
1710
 
 
1711
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1712
# -------------------------------------------------------
 
1713
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1714
# the include files in INCLUDES and setting the cache variable VAR
 
1715
# accordingly.
 
1716
ac_fn_c_check_header_mongrel ()
 
1717
{
 
1718
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1719
  if eval \${$3+:} false; then :
 
1720
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1721
$as_echo_n "checking for $2... " >&6; }
 
1722
if eval \${$3+:} false; then :
 
1723
  $as_echo_n "(cached) " >&6
 
1724
fi
 
1725
eval ac_res=\$$3
 
1726
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1727
$as_echo "$ac_res" >&6; }
 
1728
else
 
1729
  # Is the header compilable?
 
1730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1731
$as_echo_n "checking $2 usability... " >&6; }
 
1732
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1733
/* end confdefs.h.  */
 
1734
$4
 
1735
#include <$2>
 
1736
_ACEOF
 
1737
if ac_fn_c_try_compile "$LINENO"; then :
 
1738
  ac_header_compiler=yes
 
1739
else
 
1740
  ac_header_compiler=no
 
1741
fi
 
1742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1744
$as_echo "$ac_header_compiler" >&6; }
 
1745
 
 
1746
# Is the header present?
 
1747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1748
$as_echo_n "checking $2 presence... " >&6; }
 
1749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1750
/* end confdefs.h.  */
 
1751
#include <$2>
 
1752
_ACEOF
 
1753
if ac_fn_c_try_cpp "$LINENO"; then :
 
1754
  ac_header_preproc=yes
 
1755
else
 
1756
  ac_header_preproc=no
 
1757
fi
 
1758
rm -f conftest.err conftest.i conftest.$ac_ext
 
1759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1760
$as_echo "$ac_header_preproc" >&6; }
 
1761
 
 
1762
# So?  What about this header?
 
1763
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1764
  yes:no: )
 
1765
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1766
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1767
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1768
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1769
    ;;
 
1770
  no:yes:* )
 
1771
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1772
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1773
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1774
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1775
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1776
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1777
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1778
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1779
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1780
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1781
( $as_echo "## --------------------------------- ##
 
1782
## Report this to xfce4-dev@xfce.org ##
 
1783
## --------------------------------- ##"
 
1784
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1785
    ;;
 
1786
esac
 
1787
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1788
$as_echo_n "checking for $2... " >&6; }
 
1789
if eval \${$3+:} false; then :
 
1790
  $as_echo_n "(cached) " >&6
 
1791
else
 
1792
  eval "$3=\$ac_header_compiler"
 
1793
fi
 
1794
eval ac_res=\$$3
 
1795
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1796
$as_echo "$ac_res" >&6; }
 
1797
fi
 
1798
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1799
 
 
1800
} # ac_fn_c_check_header_mongrel
 
1801
 
 
1802
# ac_fn_c_try_run LINENO
 
1803
# ----------------------
 
1804
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1805
# that executables *can* be run.
 
1806
ac_fn_c_try_run ()
 
1807
{
 
1808
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1809
  if { { ac_try="$ac_link"
 
1810
case "(($ac_try" in
 
1811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1812
  *) ac_try_echo=$ac_try;;
 
1813
esac
 
1814
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1815
$as_echo "$ac_try_echo"; } >&5
 
1816
  (eval "$ac_link") 2>&5
 
1817
  ac_status=$?
 
1818
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1819
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1820
  { { case "(($ac_try" in
 
1821
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1822
  *) ac_try_echo=$ac_try;;
 
1823
esac
 
1824
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1825
$as_echo "$ac_try_echo"; } >&5
 
1826
  (eval "$ac_try") 2>&5
 
1827
  ac_status=$?
 
1828
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1829
  test $ac_status = 0; }; }; then :
 
1830
  ac_retval=0
 
1831
else
 
1832
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1833
       $as_echo "$as_me: failed program was:" >&5
 
1834
sed 's/^/| /' conftest.$ac_ext >&5
 
1835
 
 
1836
       ac_retval=$ac_status
 
1837
fi
 
1838
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1839
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1840
  as_fn_set_status $ac_retval
 
1841
 
 
1842
} # ac_fn_c_try_run
 
1843
 
 
1844
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1845
# -------------------------------------------------------
 
1846
# Tests whether HEADER exists and can be compiled using the include files in
 
1847
# INCLUDES, setting the cache variable VAR accordingly.
 
1848
ac_fn_c_check_header_compile ()
 
1849
{
 
1850
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1851
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1852
$as_echo_n "checking for $2... " >&6; }
 
1853
if eval \${$3+:} false; then :
 
1854
  $as_echo_n "(cached) " >&6
 
1855
else
 
1856
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1857
/* end confdefs.h.  */
 
1858
$4
 
1859
#include <$2>
 
1860
_ACEOF
 
1861
if ac_fn_c_try_compile "$LINENO"; then :
 
1862
  eval "$3=yes"
 
1863
else
 
1864
  eval "$3=no"
 
1865
fi
 
1866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1867
fi
 
1868
eval ac_res=\$$3
 
1869
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1870
$as_echo "$ac_res" >&6; }
 
1871
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1872
 
 
1873
} # ac_fn_c_check_header_compile
 
1874
 
 
1875
# ac_fn_c_try_link LINENO
 
1876
# -----------------------
 
1877
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1878
ac_fn_c_try_link ()
 
1879
{
 
1880
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1881
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1882
  if { { ac_try="$ac_link"
 
1883
case "(($ac_try" in
 
1884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1885
  *) ac_try_echo=$ac_try;;
 
1886
esac
 
1887
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1888
$as_echo "$ac_try_echo"; } >&5
 
1889
  (eval "$ac_link") 2>conftest.err
 
1890
  ac_status=$?
 
1891
  if test -s conftest.err; then
 
1892
    grep -v '^ *+' conftest.err >conftest.er1
 
1893
    cat conftest.er1 >&5
 
1894
    mv -f conftest.er1 conftest.err
 
1895
  fi
 
1896
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1897
  test $ac_status = 0; } && {
 
1898
         test -z "$ac_c_werror_flag" ||
 
1899
         test ! -s conftest.err
 
1900
       } && test -s conftest$ac_exeext && {
 
1901
         test "$cross_compiling" = yes ||
 
1902
         test -x conftest$ac_exeext
 
1903
       }; then :
 
1904
  ac_retval=0
 
1905
else
 
1906
  $as_echo "$as_me: failed program was:" >&5
 
1907
sed 's/^/| /' conftest.$ac_ext >&5
 
1908
 
 
1909
        ac_retval=1
 
1910
fi
 
1911
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1912
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1913
  # interfere with the next link command; also delete a directory that is
 
1914
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1915
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1916
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1917
  as_fn_set_status $ac_retval
 
1918
 
 
1919
} # ac_fn_c_try_link
 
1920
 
 
1921
# ac_fn_c_check_func LINENO FUNC VAR
 
1922
# ----------------------------------
 
1923
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1924
ac_fn_c_check_func ()
 
1925
{
 
1926
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1927
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1928
$as_echo_n "checking for $2... " >&6; }
 
1929
if eval \${$3+:} false; then :
 
1930
  $as_echo_n "(cached) " >&6
 
1931
else
 
1932
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1933
/* end confdefs.h.  */
 
1934
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1935
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1936
#define $2 innocuous_$2
 
1937
 
 
1938
/* System header to define __stub macros and hopefully few prototypes,
 
1939
    which can conflict with char $2 (); below.
 
1940
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1941
    <limits.h> exists even on freestanding compilers.  */
 
1942
 
 
1943
#ifdef __STDC__
 
1944
# include <limits.h>
 
1945
#else
 
1946
# include <assert.h>
 
1947
#endif
 
1948
 
 
1949
#undef $2
 
1950
 
 
1951
/* Override any GCC internal prototype to avoid an error.
 
1952
   Use char because int might match the return type of a GCC
 
1953
   builtin and then its argument prototype would still apply.  */
 
1954
#ifdef __cplusplus
 
1955
extern "C"
 
1956
#endif
 
1957
char $2 ();
 
1958
/* The GNU C library defines this for functions which it implements
 
1959
    to always fail with ENOSYS.  Some functions are actually named
 
1960
    something starting with __ and the normal name is an alias.  */
 
1961
#if defined __stub_$2 || defined __stub___$2
 
1962
choke me
 
1963
#endif
 
1964
 
 
1965
int
 
1966
main ()
 
1967
{
 
1968
return $2 ();
 
1969
  ;
 
1970
  return 0;
 
1971
}
 
1972
_ACEOF
 
1973
if ac_fn_c_try_link "$LINENO"; then :
 
1974
  eval "$3=yes"
 
1975
else
 
1976
  eval "$3=no"
 
1977
fi
 
1978
rm -f core conftest.err conftest.$ac_objext \
 
1979
    conftest$ac_exeext conftest.$ac_ext
 
1980
fi
 
1981
eval ac_res=\$$3
 
1982
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1983
$as_echo "$ac_res" >&6; }
 
1984
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1985
 
 
1986
} # ac_fn_c_check_func
 
1987
cat >config.log <<_ACEOF
 
1988
This file contains any messages produced by compilers while
 
1989
running configure, to aid debugging if configure makes a mistake.
 
1990
 
 
1991
It was created by libxfce4util $as_me 4.10.1, which was
 
1992
generated by GNU Autoconf 2.69.  Invocation command line was
 
1993
 
 
1994
  $ $0 $@
 
1995
 
 
1996
_ACEOF
 
1997
exec 5>>config.log
 
1998
{
 
1999
cat <<_ASUNAME
 
2000
## --------- ##
 
2001
## Platform. ##
 
2002
## --------- ##
 
2003
 
 
2004
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2005
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2006
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2007
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2008
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2009
 
 
2010
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2011
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2012
 
 
2013
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2014
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2015
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2016
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2017
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2018
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2019
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2020
 
 
2021
_ASUNAME
 
2022
 
 
2023
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2024
for as_dir in $PATH
 
2025
do
 
2026
  IFS=$as_save_IFS
 
2027
  test -z "$as_dir" && as_dir=.
 
2028
    $as_echo "PATH: $as_dir"
 
2029
  done
 
2030
IFS=$as_save_IFS
 
2031
 
 
2032
} >&5
 
2033
 
 
2034
cat >&5 <<_ACEOF
 
2035
 
 
2036
 
 
2037
## ----------- ##
 
2038
## Core tests. ##
 
2039
## ----------- ##
 
2040
 
 
2041
_ACEOF
 
2042
 
 
2043
 
 
2044
# Keep a trace of the command line.
 
2045
# Strip out --no-create and --no-recursion so they do not pile up.
 
2046
# Strip out --silent because we don't want to record it for future runs.
 
2047
# Also quote any args containing shell meta-characters.
 
2048
# Make two passes to allow for proper duplicate-argument suppression.
 
2049
ac_configure_args=
 
2050
ac_configure_args0=
 
2051
ac_configure_args1=
 
2052
ac_must_keep_next=false
 
2053
for ac_pass in 1 2
 
2054
do
 
2055
  for ac_arg
 
2056
  do
 
2057
    case $ac_arg in
 
2058
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2059
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2060
    | -silent | --silent | --silen | --sile | --sil)
 
2061
      continue ;;
 
2062
    *\'*)
 
2063
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2064
    esac
 
2065
    case $ac_pass in
 
2066
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2067
    2)
 
2068
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2069
      if test $ac_must_keep_next = true; then
 
2070
        ac_must_keep_next=false # Got value, back to normal.
 
2071
      else
 
2072
        case $ac_arg in
 
2073
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2074
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2075
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2076
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2077
            case "$ac_configure_args0 " in
 
2078
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2079
            esac
 
2080
            ;;
 
2081
          -* ) ac_must_keep_next=true ;;
 
2082
        esac
 
2083
      fi
 
2084
      as_fn_append ac_configure_args " '$ac_arg'"
 
2085
      ;;
 
2086
    esac
 
2087
  done
 
2088
done
 
2089
{ ac_configure_args0=; unset ac_configure_args0;}
 
2090
{ ac_configure_args1=; unset ac_configure_args1;}
 
2091
 
 
2092
# When interrupted or exit'd, cleanup temporary files, and complete
 
2093
# config.log.  We remove comments because anyway the quotes in there
 
2094
# would cause problems or look ugly.
 
2095
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2096
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2097
trap 'exit_status=$?
 
2098
  # Save into config.log some information that might help in debugging.
 
2099
  {
 
2100
    echo
 
2101
 
 
2102
    $as_echo "## ---------------- ##
 
2103
## Cache variables. ##
 
2104
## ---------------- ##"
 
2105
    echo
 
2106
    # The following way of writing the cache mishandles newlines in values,
 
2107
(
 
2108
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2109
    eval ac_val=\$$ac_var
 
2110
    case $ac_val in #(
 
2111
    *${as_nl}*)
 
2112
      case $ac_var in #(
 
2113
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2114
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2115
      esac
 
2116
      case $ac_var in #(
 
2117
      _ | IFS | as_nl) ;; #(
 
2118
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2119
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2120
      esac ;;
 
2121
    esac
 
2122
  done
 
2123
  (set) 2>&1 |
 
2124
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2125
    *${as_nl}ac_space=\ *)
 
2126
      sed -n \
 
2127
        "s/'\''/'\''\\\\'\'''\''/g;
 
2128
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2129
      ;; #(
 
2130
    *)
 
2131
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2132
      ;;
 
2133
    esac |
 
2134
    sort
 
2135
)
 
2136
    echo
 
2137
 
 
2138
    $as_echo "## ----------------- ##
 
2139
## Output variables. ##
 
2140
## ----------------- ##"
 
2141
    echo
 
2142
    for ac_var in $ac_subst_vars
 
2143
    do
 
2144
      eval ac_val=\$$ac_var
 
2145
      case $ac_val in
 
2146
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2147
      esac
 
2148
      $as_echo "$ac_var='\''$ac_val'\''"
 
2149
    done | sort
 
2150
    echo
 
2151
 
 
2152
    if test -n "$ac_subst_files"; then
 
2153
      $as_echo "## ------------------- ##
 
2154
## File substitutions. ##
 
2155
## ------------------- ##"
 
2156
      echo
 
2157
      for ac_var in $ac_subst_files
 
2158
      do
 
2159
        eval ac_val=\$$ac_var
 
2160
        case $ac_val in
 
2161
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2162
        esac
 
2163
        $as_echo "$ac_var='\''$ac_val'\''"
 
2164
      done | sort
 
2165
      echo
 
2166
    fi
 
2167
 
 
2168
    if test -s confdefs.h; then
 
2169
      $as_echo "## ----------- ##
 
2170
## confdefs.h. ##
 
2171
## ----------- ##"
 
2172
      echo
 
2173
      cat confdefs.h
 
2174
      echo
 
2175
    fi
 
2176
    test "$ac_signal" != 0 &&
 
2177
      $as_echo "$as_me: caught signal $ac_signal"
 
2178
    $as_echo "$as_me: exit $exit_status"
 
2179
  } >&5
 
2180
  rm -f core *.core core.conftest.* &&
 
2181
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2182
    exit $exit_status
 
2183
' 0
 
2184
for ac_signal in 1 2 13 15; do
 
2185
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2186
done
 
2187
ac_signal=0
 
2188
 
 
2189
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2190
rm -f -r conftest* confdefs.h
 
2191
 
 
2192
$as_echo "/* confdefs.h */" > confdefs.h
 
2193
 
 
2194
# Predefined preprocessor variables.
 
2195
 
 
2196
cat >>confdefs.h <<_ACEOF
 
2197
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2198
_ACEOF
 
2199
 
 
2200
cat >>confdefs.h <<_ACEOF
 
2201
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2202
_ACEOF
 
2203
 
 
2204
cat >>confdefs.h <<_ACEOF
 
2205
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2206
_ACEOF
 
2207
 
 
2208
cat >>confdefs.h <<_ACEOF
 
2209
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2210
_ACEOF
 
2211
 
 
2212
cat >>confdefs.h <<_ACEOF
 
2213
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2214
_ACEOF
 
2215
 
 
2216
cat >>confdefs.h <<_ACEOF
 
2217
#define PACKAGE_URL "$PACKAGE_URL"
 
2218
_ACEOF
 
2219
 
 
2220
 
 
2221
# Let the site file select an alternate cache file if it wants to.
 
2222
# Prefer an explicitly selected file to automatically selected ones.
 
2223
ac_site_file1=NONE
 
2224
ac_site_file2=NONE
 
2225
if test -n "$CONFIG_SITE"; then
 
2226
  # We do not want a PATH search for config.site.
 
2227
  case $CONFIG_SITE in #((
 
2228
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2229
    */*) ac_site_file1=$CONFIG_SITE;;
 
2230
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2231
  esac
 
2232
elif test "x$prefix" != xNONE; then
 
2233
  ac_site_file1=$prefix/share/config.site
 
2234
  ac_site_file2=$prefix/etc/config.site
 
2235
else
 
2236
  ac_site_file1=$ac_default_prefix/share/config.site
 
2237
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2238
fi
 
2239
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2240
do
 
2241
  test "x$ac_site_file" = xNONE && continue
 
2242
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2243
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2244
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2245
    sed 's/^/| /' "$ac_site_file" >&5
 
2246
    . "$ac_site_file" \
 
2247
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2248
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2249
as_fn_error $? "failed to load site script $ac_site_file
 
2250
See \`config.log' for more details" "$LINENO" 5; }
 
2251
  fi
 
2252
done
 
2253
 
 
2254
if test -r "$cache_file"; then
 
2255
  # Some versions of bash will fail to source /dev/null (special files
 
2256
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2257
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2258
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2259
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2260
    case $cache_file in
 
2261
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2262
      *)                      . "./$cache_file";;
 
2263
    esac
 
2264
  fi
 
2265
else
 
2266
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2267
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2268
  >$cache_file
 
2269
fi
 
2270
 
 
2271
# Check that the precious variables saved in the cache have kept the same
 
2272
# value.
 
2273
ac_cache_corrupted=false
 
2274
for ac_var in $ac_precious_vars; do
 
2275
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2276
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2277
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2278
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2279
  case $ac_old_set,$ac_new_set in
 
2280
    set,)
 
2281
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2282
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2283
      ac_cache_corrupted=: ;;
 
2284
    ,set)
 
2285
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2286
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2287
      ac_cache_corrupted=: ;;
 
2288
    ,);;
 
2289
    *)
 
2290
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2291
        # differences in whitespace do not lead to failure.
 
2292
        ac_old_val_w=`echo x $ac_old_val`
 
2293
        ac_new_val_w=`echo x $ac_new_val`
 
2294
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2295
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2296
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2297
          ac_cache_corrupted=:
 
2298
        else
 
2299
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2300
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2301
          eval $ac_var=\$ac_old_val
 
2302
        fi
 
2303
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2304
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2305
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2306
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2307
      fi;;
 
2308
  esac
 
2309
  # Pass precious variables to config.status.
 
2310
  if test "$ac_new_set" = set; then
 
2311
    case $ac_new_val in
 
2312
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2313
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2314
    esac
 
2315
    case " $ac_configure_args " in
 
2316
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2317
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2318
    esac
 
2319
  fi
 
2320
done
 
2321
if $ac_cache_corrupted; then
 
2322
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2323
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2324
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2325
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2326
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2327
fi
 
2328
## -------------------- ##
 
2329
## Main body of script. ##
 
2330
## -------------------- ##
 
2331
 
 
2332
ac_ext=c
 
2333
ac_cpp='$CPP $CPPFLAGS'
 
2334
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2335
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2336
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2337
 
 
2338
 
 
2339
 
 
2340
 
 
2341
 
 
2342
LIBXFCE4UTIL_VERSION=4.10.1
 
2343
am__api_version='1.13'
 
2344
 
 
2345
ac_aux_dir=
 
2346
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2347
  if test -f "$ac_dir/install-sh"; then
 
2348
    ac_aux_dir=$ac_dir
 
2349
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2350
    break
 
2351
  elif test -f "$ac_dir/install.sh"; then
 
2352
    ac_aux_dir=$ac_dir
 
2353
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2354
    break
 
2355
  elif test -f "$ac_dir/shtool"; then
 
2356
    ac_aux_dir=$ac_dir
 
2357
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2358
    break
 
2359
  fi
 
2360
done
 
2361
if test -z "$ac_aux_dir"; then
 
2362
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2363
fi
 
2364
 
 
2365
# These three variables are undocumented and unsupported,
 
2366
# and are intended to be withdrawn in a future Autoconf release.
 
2367
# They can cause serious problems if a builder's source tree is in a directory
 
2368
# whose full name contains unusual characters.
 
2369
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2370
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2371
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2372
 
 
2373
 
 
2374
# Find a good install program.  We prefer a C program (faster),
 
2375
# so one script is as good as another.  But avoid the broken or
 
2376
# incompatible versions:
 
2377
# SysV /etc/install, /usr/sbin/install
 
2378
# SunOS /usr/etc/install
 
2379
# IRIX /sbin/install
 
2380
# AIX /bin/install
 
2381
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2382
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2383
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2384
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2385
# OS/2's system install, which has a completely different semantic
 
2386
# ./install, which can be erroneously created by make from ./install.sh.
 
2387
# Reject install programs that cannot install multiple files.
 
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2389
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2390
if test -z "$INSTALL"; then
 
2391
if ${ac_cv_path_install+:} false; then :
 
2392
  $as_echo_n "(cached) " >&6
 
2393
else
 
2394
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2395
for as_dir in $PATH
 
2396
do
 
2397
  IFS=$as_save_IFS
 
2398
  test -z "$as_dir" && as_dir=.
 
2399
    # Account for people who put trailing slashes in PATH elements.
 
2400
case $as_dir/ in #((
 
2401
  ./ | .// | /[cC]/* | \
 
2402
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2403
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2404
  /usr/ucb/* ) ;;
 
2405
  *)
 
2406
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2407
    # Don't use installbsd from OSF since it installs stuff as root
 
2408
    # by default.
 
2409
    for ac_prog in ginstall scoinst install; do
 
2410
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2411
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2412
          if test $ac_prog = install &&
 
2413
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2414
            # AIX install.  It has an incompatible calling convention.
 
2415
            :
 
2416
          elif test $ac_prog = install &&
 
2417
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2418
            # program-specific install script used by HP pwplus--don't use.
 
2419
            :
 
2420
          else
 
2421
            rm -rf conftest.one conftest.two conftest.dir
 
2422
            echo one > conftest.one
 
2423
            echo two > conftest.two
 
2424
            mkdir conftest.dir
 
2425
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2426
              test -s conftest.one && test -s conftest.two &&
 
2427
              test -s conftest.dir/conftest.one &&
 
2428
              test -s conftest.dir/conftest.two
 
2429
            then
 
2430
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2431
              break 3
 
2432
            fi
 
2433
          fi
 
2434
        fi
 
2435
      done
 
2436
    done
 
2437
    ;;
 
2438
esac
 
2439
 
 
2440
  done
 
2441
IFS=$as_save_IFS
 
2442
 
 
2443
rm -rf conftest.one conftest.two conftest.dir
 
2444
 
 
2445
fi
 
2446
  if test "${ac_cv_path_install+set}" = set; then
 
2447
    INSTALL=$ac_cv_path_install
 
2448
  else
 
2449
    # As a last resort, use the slow shell script.  Don't cache a
 
2450
    # value for INSTALL within a source directory, because that will
 
2451
    # break other packages using the cache if that directory is
 
2452
    # removed, or if the value is a relative name.
 
2453
    INSTALL=$ac_install_sh
 
2454
  fi
 
2455
fi
 
2456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2457
$as_echo "$INSTALL" >&6; }
 
2458
 
 
2459
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2460
# It thinks the first close brace ends the variable substitution.
 
2461
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2462
 
 
2463
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2464
 
 
2465
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2466
 
 
2467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2468
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2469
# Reject unsafe characters in $srcdir or the absolute working directory
 
2470
# name.  Accept space and tab only in the latter.
 
2471
am_lf='
 
2472
'
 
2473
case `pwd` in
 
2474
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2475
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2476
esac
 
2477
case $srcdir in
 
2478
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2479
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 
2480
esac
 
2481
 
 
2482
# Do 'set' in a subshell so we don't clobber the current shell's
 
2483
# arguments.  Must try -L first in case configure is actually a
 
2484
# symlink; some systems play weird games with the mod time of symlinks
 
2485
# (eg FreeBSD returns the mod time of the symlink's containing
 
2486
# directory).
 
2487
if (
 
2488
   am_has_slept=no
 
2489
   for am_try in 1 2; do
 
2490
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
2491
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2492
     if test "$*" = "X"; then
 
2493
        # -L didn't work.
 
2494
        set X `ls -t "$srcdir/configure" conftest.file`
 
2495
     fi
 
2496
     if test "$*" != "X $srcdir/configure conftest.file" \
 
2497
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
2498
 
 
2499
        # If neither matched, then we have a broken ls.  This can happen
 
2500
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2501
        # broken ls alias from the environment.  This has actually
 
2502
        # happened.  Such a system could not be considered "sane".
 
2503
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2504
  alias in your environment" "$LINENO" 5
 
2505
     fi
 
2506
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
2507
       break
 
2508
     fi
 
2509
     # Just in case.
 
2510
     sleep 1
 
2511
     am_has_slept=yes
 
2512
   done
 
2513
   test "$2" = conftest.file
 
2514
   )
 
2515
then
 
2516
   # Ok.
 
2517
   :
 
2518
else
 
2519
   as_fn_error $? "newly created file is older than distributed files!
 
2520
Check your system clock" "$LINENO" 5
 
2521
fi
 
2522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2523
$as_echo "yes" >&6; }
 
2524
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
2525
# generated files are strictly newer.
 
2526
am_sleep_pid=
 
2527
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
2528
  ( sleep 1 ) &
 
2529
  am_sleep_pid=$!
 
2530
fi
 
2531
 
 
2532
rm -f conftest.file
 
2533
 
 
2534
test "$program_prefix" != NONE &&
 
2535
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2536
# Use a double $ so make ignores it.
 
2537
test "$program_suffix" != NONE &&
 
2538
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2539
# Double any \ or $.
 
2540
# By default was `s,x,x', remove it if useless.
 
2541
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2542
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2543
 
 
2544
# expand $ac_aux_dir to an absolute path
 
2545
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2546
 
 
2547
if test x"${MISSING+set}" != xset; then
 
2548
  case $am_aux_dir in
 
2549
  *\ * | *\     *)
 
2550
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2551
  *)
 
2552
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2553
  esac
 
2554
fi
 
2555
# Use eval to expand $SHELL
 
2556
if eval "$MISSING --is-lightweight"; then
 
2557
  am_missing_run="$MISSING "
 
2558
else
 
2559
  am_missing_run=
 
2560
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
2561
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 
2562
fi
 
2563
 
 
2564
if test x"${install_sh}" != xset; then
 
2565
  case $am_aux_dir in
 
2566
  *\ * | *\     *)
 
2567
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2568
  *)
 
2569
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2570
  esac
 
2571
fi
 
2572
 
 
2573
# Installed binaries are usually stripped using 'strip' when the user
 
2574
# run "make install-strip".  However 'strip' might not be the right
 
2575
# tool to use in cross-compilation environments, therefore Automake
 
2576
# will honor the 'STRIP' environment variable to overrule this program.
 
2577
if test "$cross_compiling" != no; then
 
2578
  if test -n "$ac_tool_prefix"; then
 
2579
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2580
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2582
$as_echo_n "checking for $ac_word... " >&6; }
 
2583
if ${ac_cv_prog_STRIP+:} false; then :
 
2584
  $as_echo_n "(cached) " >&6
 
2585
else
 
2586
  if test -n "$STRIP"; then
 
2587
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2588
else
 
2589
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2590
for as_dir in $PATH
 
2591
do
 
2592
  IFS=$as_save_IFS
 
2593
  test -z "$as_dir" && as_dir=.
 
2594
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2595
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2596
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2597
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2598
    break 2
 
2599
  fi
 
2600
done
 
2601
  done
 
2602
IFS=$as_save_IFS
 
2603
 
 
2604
fi
 
2605
fi
 
2606
STRIP=$ac_cv_prog_STRIP
 
2607
if test -n "$STRIP"; then
 
2608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2609
$as_echo "$STRIP" >&6; }
 
2610
else
 
2611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2612
$as_echo "no" >&6; }
 
2613
fi
 
2614
 
 
2615
 
 
2616
fi
 
2617
if test -z "$ac_cv_prog_STRIP"; then
 
2618
  ac_ct_STRIP=$STRIP
 
2619
  # Extract the first word of "strip", so it can be a program name with args.
 
2620
set dummy strip; ac_word=$2
 
2621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2622
$as_echo_n "checking for $ac_word... " >&6; }
 
2623
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2624
  $as_echo_n "(cached) " >&6
 
2625
else
 
2626
  if test -n "$ac_ct_STRIP"; then
 
2627
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2628
else
 
2629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2630
for as_dir in $PATH
 
2631
do
 
2632
  IFS=$as_save_IFS
 
2633
  test -z "$as_dir" && as_dir=.
 
2634
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2635
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2636
    ac_cv_prog_ac_ct_STRIP="strip"
 
2637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2638
    break 2
 
2639
  fi
 
2640
done
 
2641
  done
 
2642
IFS=$as_save_IFS
 
2643
 
 
2644
fi
 
2645
fi
 
2646
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2647
if test -n "$ac_ct_STRIP"; then
 
2648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2649
$as_echo "$ac_ct_STRIP" >&6; }
 
2650
else
 
2651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2652
$as_echo "no" >&6; }
 
2653
fi
 
2654
 
 
2655
  if test "x$ac_ct_STRIP" = x; then
 
2656
    STRIP=":"
 
2657
  else
 
2658
    case $cross_compiling:$ac_tool_warned in
 
2659
yes:)
 
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2661
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2662
ac_tool_warned=yes ;;
 
2663
esac
 
2664
    STRIP=$ac_ct_STRIP
 
2665
  fi
 
2666
else
 
2667
  STRIP="$ac_cv_prog_STRIP"
 
2668
fi
 
2669
 
 
2670
fi
 
2671
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2672
 
 
2673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2674
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2675
if test -z "$MKDIR_P"; then
 
2676
  if ${ac_cv_path_mkdir+:} false; then :
 
2677
  $as_echo_n "(cached) " >&6
 
2678
else
 
2679
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2680
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2681
do
 
2682
  IFS=$as_save_IFS
 
2683
  test -z "$as_dir" && as_dir=.
 
2684
    for ac_prog in mkdir gmkdir; do
 
2685
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2686
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 
2687
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2688
             'mkdir (GNU coreutils) '* | \
 
2689
             'mkdir (coreutils) '* | \
 
2690
             'mkdir (fileutils) '4.1*)
 
2691
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2692
               break 3;;
 
2693
           esac
 
2694
         done
 
2695
       done
 
2696
  done
 
2697
IFS=$as_save_IFS
 
2698
 
 
2699
fi
 
2700
 
 
2701
  test -d ./--version && rmdir ./--version
 
2702
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2703
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2704
  else
 
2705
    # As a last resort, use the slow shell script.  Don't cache a
 
2706
    # value for MKDIR_P within a source directory, because that will
 
2707
    # break other packages using the cache if that directory is
 
2708
    # removed, or if the value is a relative name.
 
2709
    MKDIR_P="$ac_install_sh -d"
 
2710
  fi
 
2711
fi
 
2712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2713
$as_echo "$MKDIR_P" >&6; }
 
2714
 
 
2715
for ac_prog in gawk mawk nawk awk
 
2716
do
 
2717
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2718
set dummy $ac_prog; ac_word=$2
 
2719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2720
$as_echo_n "checking for $ac_word... " >&6; }
 
2721
if ${ac_cv_prog_AWK+:} false; then :
 
2722
  $as_echo_n "(cached) " >&6
 
2723
else
 
2724
  if test -n "$AWK"; then
 
2725
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2726
else
 
2727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2728
for as_dir in $PATH
 
2729
do
 
2730
  IFS=$as_save_IFS
 
2731
  test -z "$as_dir" && as_dir=.
 
2732
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2733
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2734
    ac_cv_prog_AWK="$ac_prog"
 
2735
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2736
    break 2
 
2737
  fi
 
2738
done
 
2739
  done
 
2740
IFS=$as_save_IFS
 
2741
 
 
2742
fi
 
2743
fi
 
2744
AWK=$ac_cv_prog_AWK
 
2745
if test -n "$AWK"; then
 
2746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2747
$as_echo "$AWK" >&6; }
 
2748
else
 
2749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2750
$as_echo "no" >&6; }
 
2751
fi
 
2752
 
 
2753
 
 
2754
  test -n "$AWK" && break
 
2755
done
 
2756
 
 
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2758
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2759
set x ${MAKE-make}
 
2760
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2761
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2762
  $as_echo_n "(cached) " >&6
 
2763
else
 
2764
  cat >conftest.make <<\_ACEOF
 
2765
SHELL = /bin/sh
 
2766
all:
 
2767
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2768
_ACEOF
 
2769
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2770
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2771
  *@@@%%%=?*=@@@%%%*)
 
2772
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2773
  *)
 
2774
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2775
esac
 
2776
rm -f conftest.make
 
2777
fi
 
2778
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2780
$as_echo "yes" >&6; }
 
2781
  SET_MAKE=
 
2782
else
 
2783
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2784
$as_echo "no" >&6; }
 
2785
  SET_MAKE="MAKE=${MAKE-make}"
 
2786
fi
 
2787
 
 
2788
rm -rf .tst 2>/dev/null
 
2789
mkdir .tst 2>/dev/null
 
2790
if test -d .tst; then
 
2791
  am__leading_dot=.
 
2792
else
 
2793
  am__leading_dot=_
 
2794
fi
 
2795
rmdir .tst 2>/dev/null
 
2796
 
 
2797
# Check whether --enable-silent-rules was given.
 
2798
if test "${enable_silent_rules+set}" = set; then :
 
2799
  enableval=$enable_silent_rules;
 
2800
fi
 
2801
 
 
2802
case $enable_silent_rules in # (((
 
2803
  yes) AM_DEFAULT_VERBOSITY=0;;
 
2804
   no) AM_DEFAULT_VERBOSITY=1;;
 
2805
    *) AM_DEFAULT_VERBOSITY=1;;
 
2806
esac
 
2807
am_make=${MAKE-make}
 
2808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
2809
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
2810
if ${am_cv_make_support_nested_variables+:} false; then :
 
2811
  $as_echo_n "(cached) " >&6
 
2812
else
 
2813
  if $as_echo 'TRUE=$(BAR$(V))
 
2814
BAR0=false
 
2815
BAR1=true
 
2816
V=1
 
2817
am__doit:
 
2818
        @$(TRUE)
 
2819
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2820
  am_cv_make_support_nested_variables=yes
 
2821
else
 
2822
  am_cv_make_support_nested_variables=no
 
2823
fi
 
2824
fi
 
2825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
2826
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
2827
if test $am_cv_make_support_nested_variables = yes; then
 
2828
    AM_V='$(V)'
 
2829
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2830
else
 
2831
  AM_V=$AM_DEFAULT_VERBOSITY
 
2832
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2833
fi
 
2834
AM_BACKSLASH='\'
 
2835
 
 
2836
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2837
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2838
  # is not polluted with repeated "-I."
 
2839
  am__isrc=' -I$(srcdir)'
 
2840
  # test to see if srcdir already configured
 
2841
  if test -f $srcdir/config.status; then
 
2842
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2843
  fi
 
2844
fi
 
2845
 
 
2846
# test whether we have cygpath
 
2847
if test -z "$CYGPATH_W"; then
 
2848
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2849
    CYGPATH_W='cygpath -w'
 
2850
  else
 
2851
    CYGPATH_W=echo
 
2852
  fi
 
2853
fi
 
2854
 
 
2855
 
 
2856
# Define the identity of the package.
 
2857
 PACKAGE='libxfce4util'
 
2858
 VERSION='4.10.1'
 
2859
 
 
2860
 
 
2861
cat >>confdefs.h <<_ACEOF
 
2862
#define PACKAGE "$PACKAGE"
 
2863
_ACEOF
 
2864
 
 
2865
 
 
2866
cat >>confdefs.h <<_ACEOF
 
2867
#define VERSION "$VERSION"
 
2868
_ACEOF
 
2869
 
 
2870
# Some tools Automake needs.
 
2871
 
 
2872
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2873
 
 
2874
 
 
2875
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2876
 
 
2877
 
 
2878
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2879
 
 
2880
 
 
2881
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2882
 
 
2883
 
 
2884
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2885
 
 
2886
# For better backward compatibility.  To be removed once Automake 1.9.x
 
2887
# dies out for good.  For more background, see:
 
2888
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
2889
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
2890
mkdir_p='$(MKDIR_P)'
 
2891
 
 
2892
# We need awk for the "check" target.  The system "awk" is bad on
 
2893
# some platforms.
 
2894
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2895
# in the wild :-(  We should find a proper way to deprecate it ...
 
2896
AMTAR='$${TAR-tar}'
 
2897
 
 
2898
 
 
2899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
 
2900
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
 
2901
# Loop over all known methods to create a tar archive until one works.
 
2902
_am_tools='gnutar plaintar pax cpio none'
 
2903
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
 
2904
# Do not fold the above two line into one, because Tru64 sh and
 
2905
# Solaris sh will not grok spaces in the rhs of '-'.
 
2906
for _am_tool in $_am_tools
 
2907
do
 
2908
  case $_am_tool in
 
2909
  gnutar)
 
2910
    for _am_tar in tar gnutar gtar;
 
2911
    do
 
2912
      { echo "$as_me:$LINENO: $_am_tar --version" >&5
 
2913
   ($_am_tar --version) >&5 2>&5
 
2914
   ac_status=$?
 
2915
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2916
   (exit $ac_status); } && break
 
2917
    done
 
2918
    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
 
2919
    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
 
2920
    am__untar="$_am_tar -xf -"
 
2921
    ;;
 
2922
  plaintar)
 
2923
    # Must skip GNU tar: if it does not support --format= it doesn't create
 
2924
    # ustar tarball either.
 
2925
    (tar --version) >/dev/null 2>&1 && continue
 
2926
    am__tar='tar chf - "$$tardir"'
 
2927
    am__tar_='tar chf - "$tardir"'
 
2928
    am__untar='tar xf -'
 
2929
    ;;
 
2930
  pax)
 
2931
    am__tar='pax -L -x ustar -w "$$tardir"'
 
2932
    am__tar_='pax -L -x ustar -w "$tardir"'
 
2933
    am__untar='pax -r'
 
2934
    ;;
 
2935
  cpio)
 
2936
    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
 
2937
    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
 
2938
    am__untar='cpio -i -H ustar -d'
 
2939
    ;;
 
2940
  none)
 
2941
    am__tar=false
 
2942
    am__tar_=false
 
2943
    am__untar=false
 
2944
    ;;
 
2945
  esac
 
2946
 
 
2947
  # If the value was cached, stop now.  We just wanted to have am__tar
 
2948
  # and am__untar set.
 
2949
  test -n "${am_cv_prog_tar_ustar}" && break
 
2950
 
 
2951
  # tar/untar a dummy directory, and stop if the command works
 
2952
  rm -rf conftest.dir
 
2953
  mkdir conftest.dir
 
2954
  echo GrepMe > conftest.dir/file
 
2955
  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
 
2956
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
 
2957
   ac_status=$?
 
2958
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2959
   (exit $ac_status); }
 
2960
  rm -rf conftest.dir
 
2961
  if test -s conftest.tar; then
 
2962
    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
 
2963
   ($am__untar <conftest.tar) >&5 2>&5
 
2964
   ac_status=$?
 
2965
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2966
   (exit $ac_status); }
 
2967
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
2968
  fi
 
2969
done
 
2970
rm -rf conftest.dir
 
2971
 
 
2972
if ${am_cv_prog_tar_ustar+:} false; then :
 
2973
  $as_echo_n "(cached) " >&6
 
2974
else
 
2975
  am_cv_prog_tar_ustar=$_am_tool
 
2976
fi
 
2977
 
 
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
 
2979
$as_echo "$am_cv_prog_tar_ustar" >&6; }
 
2980
 
 
2981
 
 
2982
 
 
2983
 
 
2984
 
 
2985
ac_config_headers="$ac_config_headers config.h"
 
2986
 
 
2987
 
 
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2989
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2990
    # Check whether --enable-maintainer-mode was given.
 
2991
if test "${enable_maintainer_mode+set}" = set; then :
 
2992
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2993
else
 
2994
  USE_MAINTAINER_MODE=no
 
2995
fi
 
2996
 
 
2997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2998
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2999
   if test $USE_MAINTAINER_MODE = yes; then
 
3000
  MAINTAINER_MODE_TRUE=
 
3001
  MAINTAINER_MODE_FALSE='#'
 
3002
else
 
3003
  MAINTAINER_MODE_TRUE='#'
 
3004
  MAINTAINER_MODE_FALSE=
 
3005
fi
 
3006
 
 
3007
  MAINT=$MAINTAINER_MODE_TRUE
 
3008
 
 
3009
 
 
3010
# Check whether --enable-silent-rules was given.
 
3011
if test "${enable_silent_rules+set}" = set; then :
 
3012
  enableval=$enable_silent_rules;
 
3013
fi
 
3014
 
 
3015
case $enable_silent_rules in # (((
 
3016
  yes) AM_DEFAULT_VERBOSITY=0;;
 
3017
   no) AM_DEFAULT_VERBOSITY=1;;
 
3018
    *) AM_DEFAULT_VERBOSITY=0;;
 
3019
esac
 
3020
am_make=${MAKE-make}
 
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3022
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3023
if ${am_cv_make_support_nested_variables+:} false; then :
 
3024
  $as_echo_n "(cached) " >&6
 
3025
else
 
3026
  if $as_echo 'TRUE=$(BAR$(V))
 
3027
BAR0=false
 
3028
BAR1=true
 
3029
V=1
 
3030
am__doit:
 
3031
        @$(TRUE)
 
3032
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3033
  am_cv_make_support_nested_variables=yes
 
3034
else
 
3035
  am_cv_make_support_nested_variables=no
 
3036
fi
 
3037
fi
 
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3039
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3040
if test $am_cv_make_support_nested_variables = yes; then
 
3041
    AM_V='$(V)'
 
3042
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3043
else
 
3044
  AM_V=$AM_DEFAULT_VERBOSITY
 
3045
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3046
fi
 
3047
AM_BACKSLASH='\'
 
3048
 
 
3049
 
 
3050
LIBXFCE4UTIL_VERINFO=6:0:0
 
3051
 
 
3052
 
 
3053
 
 
3054
$as_echo "#define XFCE_VERSION_STRING \"4.10\"" >>confdefs.h
 
3055
 
 
3056
 
 
3057
LIBXFCE4UTIL_VERSION_MAJOR=4
 
3058
LIBXFCE4UTIL_VERSION_MINOR=10
 
3059
LIBXFCE4UTIL_VERSION_MICRO=1
 
3060
 
 
3061
 
 
3062
 
 
3063
 
 
3064
DEPDIR="${am__leading_dot}deps"
 
3065
 
 
3066
ac_config_commands="$ac_config_commands depfiles"
 
3067
 
 
3068
 
 
3069
am_make=${MAKE-make}
 
3070
cat > confinc << 'END'
 
3071
am__doit:
 
3072
        @echo this is the am__doit target
 
3073
.PHONY: am__doit
 
3074
END
 
3075
# If we don't find an include directive, just comment out the code.
 
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3077
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3078
am__include="#"
 
3079
am__quote=
 
3080
_am_result=none
 
3081
# First try GNU make style include.
 
3082
echo "include confinc" > confmf
 
3083
# Ignore all kinds of additional output from 'make'.
 
3084
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3085
*the\ am__doit\ target*)
 
3086
  am__include=include
 
3087
  am__quote=
 
3088
  _am_result=GNU
 
3089
  ;;
 
3090
esac
 
3091
# Now try BSD make style include.
 
3092
if test "$am__include" = "#"; then
 
3093
   echo '.include "confinc"' > confmf
 
3094
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3095
   *the\ am__doit\ target*)
 
3096
     am__include=.include
 
3097
     am__quote="\""
 
3098
     _am_result=BSD
 
3099
     ;;
 
3100
   esac
 
3101
fi
 
3102
 
 
3103
 
 
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3105
$as_echo "$_am_result" >&6; }
 
3106
rm -f confinc confmf
 
3107
 
 
3108
# Check whether --enable-dependency-tracking was given.
 
3109
if test "${enable_dependency_tracking+set}" = set; then :
 
3110
  enableval=$enable_dependency_tracking;
 
3111
fi
 
3112
 
 
3113
if test "x$enable_dependency_tracking" != xno; then
 
3114
  am_depcomp="$ac_aux_dir/depcomp"
 
3115
  AMDEPBACKSLASH='\'
 
3116
  am__nodep='_no'
 
3117
fi
 
3118
 if test "x$enable_dependency_tracking" != xno; then
 
3119
  AMDEP_TRUE=
 
3120
  AMDEP_FALSE='#'
 
3121
else
 
3122
  AMDEP_TRUE='#'
 
3123
  AMDEP_FALSE=
 
3124
fi
 
3125
 
 
3126
 
 
3127
ac_ext=c
 
3128
ac_cpp='$CPP $CPPFLAGS'
 
3129
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3130
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3131
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3132
if test -n "$ac_tool_prefix"; then
 
3133
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3134
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3136
$as_echo_n "checking for $ac_word... " >&6; }
 
3137
if ${ac_cv_prog_CC+:} false; then :
 
3138
  $as_echo_n "(cached) " >&6
 
3139
else
 
3140
  if test -n "$CC"; then
 
3141
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3142
else
 
3143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3144
for as_dir in $PATH
 
3145
do
 
3146
  IFS=$as_save_IFS
 
3147
  test -z "$as_dir" && as_dir=.
 
3148
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3149
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3150
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3151
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3152
    break 2
 
3153
  fi
 
3154
done
 
3155
  done
 
3156
IFS=$as_save_IFS
 
3157
 
 
3158
fi
 
3159
fi
 
3160
CC=$ac_cv_prog_CC
 
3161
if test -n "$CC"; then
 
3162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3163
$as_echo "$CC" >&6; }
 
3164
else
 
3165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3166
$as_echo "no" >&6; }
 
3167
fi
 
3168
 
 
3169
 
 
3170
fi
 
3171
if test -z "$ac_cv_prog_CC"; then
 
3172
  ac_ct_CC=$CC
 
3173
  # Extract the first word of "gcc", so it can be a program name with args.
 
3174
set dummy gcc; ac_word=$2
 
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3176
$as_echo_n "checking for $ac_word... " >&6; }
 
3177
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3178
  $as_echo_n "(cached) " >&6
 
3179
else
 
3180
  if test -n "$ac_ct_CC"; then
 
3181
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3182
else
 
3183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3184
for as_dir in $PATH
 
3185
do
 
3186
  IFS=$as_save_IFS
 
3187
  test -z "$as_dir" && as_dir=.
 
3188
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3189
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3190
    ac_cv_prog_ac_ct_CC="gcc"
 
3191
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3192
    break 2
 
3193
  fi
 
3194
done
 
3195
  done
 
3196
IFS=$as_save_IFS
 
3197
 
 
3198
fi
 
3199
fi
 
3200
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3201
if test -n "$ac_ct_CC"; then
 
3202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3203
$as_echo "$ac_ct_CC" >&6; }
 
3204
else
 
3205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3206
$as_echo "no" >&6; }
 
3207
fi
 
3208
 
 
3209
  if test "x$ac_ct_CC" = x; then
 
3210
    CC=""
 
3211
  else
 
3212
    case $cross_compiling:$ac_tool_warned in
 
3213
yes:)
 
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3215
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3216
ac_tool_warned=yes ;;
 
3217
esac
 
3218
    CC=$ac_ct_CC
 
3219
  fi
 
3220
else
 
3221
  CC="$ac_cv_prog_CC"
 
3222
fi
 
3223
 
 
3224
if test -z "$CC"; then
 
3225
          if test -n "$ac_tool_prefix"; then
 
3226
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3227
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3229
$as_echo_n "checking for $ac_word... " >&6; }
 
3230
if ${ac_cv_prog_CC+:} false; then :
 
3231
  $as_echo_n "(cached) " >&6
 
3232
else
 
3233
  if test -n "$CC"; then
 
3234
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3235
else
 
3236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3237
for as_dir in $PATH
 
3238
do
 
3239
  IFS=$as_save_IFS
 
3240
  test -z "$as_dir" && as_dir=.
 
3241
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3242
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3243
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3244
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3245
    break 2
 
3246
  fi
 
3247
done
 
3248
  done
 
3249
IFS=$as_save_IFS
 
3250
 
 
3251
fi
 
3252
fi
 
3253
CC=$ac_cv_prog_CC
 
3254
if test -n "$CC"; then
 
3255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3256
$as_echo "$CC" >&6; }
 
3257
else
 
3258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3259
$as_echo "no" >&6; }
 
3260
fi
 
3261
 
 
3262
 
 
3263
  fi
 
3264
fi
 
3265
if test -z "$CC"; then
 
3266
  # Extract the first word of "cc", so it can be a program name with args.
 
3267
set dummy cc; ac_word=$2
 
3268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3269
$as_echo_n "checking for $ac_word... " >&6; }
 
3270
if ${ac_cv_prog_CC+:} false; then :
 
3271
  $as_echo_n "(cached) " >&6
 
3272
else
 
3273
  if test -n "$CC"; then
 
3274
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3275
else
 
3276
  ac_prog_rejected=no
 
3277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3278
for as_dir in $PATH
 
3279
do
 
3280
  IFS=$as_save_IFS
 
3281
  test -z "$as_dir" && as_dir=.
 
3282
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3283
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3284
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3285
       ac_prog_rejected=yes
 
3286
       continue
 
3287
     fi
 
3288
    ac_cv_prog_CC="cc"
 
3289
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3290
    break 2
 
3291
  fi
 
3292
done
 
3293
  done
 
3294
IFS=$as_save_IFS
 
3295
 
 
3296
if test $ac_prog_rejected = yes; then
 
3297
  # We found a bogon in the path, so make sure we never use it.
 
3298
  set dummy $ac_cv_prog_CC
 
3299
  shift
 
3300
  if test $# != 0; then
 
3301
    # We chose a different compiler from the bogus one.
 
3302
    # However, it has the same basename, so the bogon will be chosen
 
3303
    # first if we set CC to just the basename; use the full file name.
 
3304
    shift
 
3305
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3306
  fi
 
3307
fi
 
3308
fi
 
3309
fi
 
3310
CC=$ac_cv_prog_CC
 
3311
if test -n "$CC"; then
 
3312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3313
$as_echo "$CC" >&6; }
 
3314
else
 
3315
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3316
$as_echo "no" >&6; }
 
3317
fi
 
3318
 
 
3319
 
 
3320
fi
 
3321
if test -z "$CC"; then
 
3322
  if test -n "$ac_tool_prefix"; then
 
3323
  for ac_prog in cl.exe
 
3324
  do
 
3325
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3326
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3328
$as_echo_n "checking for $ac_word... " >&6; }
 
3329
if ${ac_cv_prog_CC+:} false; then :
 
3330
  $as_echo_n "(cached) " >&6
 
3331
else
 
3332
  if test -n "$CC"; then
 
3333
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3334
else
 
3335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3336
for as_dir in $PATH
 
3337
do
 
3338
  IFS=$as_save_IFS
 
3339
  test -z "$as_dir" && as_dir=.
 
3340
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3341
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3342
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3343
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3344
    break 2
 
3345
  fi
 
3346
done
 
3347
  done
 
3348
IFS=$as_save_IFS
 
3349
 
 
3350
fi
 
3351
fi
 
3352
CC=$ac_cv_prog_CC
 
3353
if test -n "$CC"; then
 
3354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3355
$as_echo "$CC" >&6; }
 
3356
else
 
3357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3358
$as_echo "no" >&6; }
 
3359
fi
 
3360
 
 
3361
 
 
3362
    test -n "$CC" && break
 
3363
  done
 
3364
fi
 
3365
if test -z "$CC"; then
 
3366
  ac_ct_CC=$CC
 
3367
  for ac_prog in cl.exe
 
3368
do
 
3369
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3370
set dummy $ac_prog; ac_word=$2
 
3371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3372
$as_echo_n "checking for $ac_word... " >&6; }
 
3373
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3374
  $as_echo_n "(cached) " >&6
 
3375
else
 
3376
  if test -n "$ac_ct_CC"; then
 
3377
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3378
else
 
3379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3380
for as_dir in $PATH
 
3381
do
 
3382
  IFS=$as_save_IFS
 
3383
  test -z "$as_dir" && as_dir=.
 
3384
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3385
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3386
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3388
    break 2
 
3389
  fi
 
3390
done
 
3391
  done
 
3392
IFS=$as_save_IFS
 
3393
 
 
3394
fi
 
3395
fi
 
3396
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3397
if test -n "$ac_ct_CC"; then
 
3398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3399
$as_echo "$ac_ct_CC" >&6; }
 
3400
else
 
3401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3402
$as_echo "no" >&6; }
 
3403
fi
 
3404
 
 
3405
 
 
3406
  test -n "$ac_ct_CC" && break
 
3407
done
 
3408
 
 
3409
  if test "x$ac_ct_CC" = x; then
 
3410
    CC=""
 
3411
  else
 
3412
    case $cross_compiling:$ac_tool_warned in
 
3413
yes:)
 
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3415
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3416
ac_tool_warned=yes ;;
 
3417
esac
 
3418
    CC=$ac_ct_CC
 
3419
  fi
 
3420
fi
 
3421
 
 
3422
fi
 
3423
 
 
3424
 
 
3425
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3427
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3428
See \`config.log' for more details" "$LINENO" 5; }
 
3429
 
 
3430
# Provide some information about the compiler.
 
3431
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3432
set X $ac_compile
 
3433
ac_compiler=$2
 
3434
for ac_option in --version -v -V -qversion; do
 
3435
  { { ac_try="$ac_compiler $ac_option >&5"
 
3436
case "(($ac_try" in
 
3437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3438
  *) ac_try_echo=$ac_try;;
 
3439
esac
 
3440
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3441
$as_echo "$ac_try_echo"; } >&5
 
3442
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3443
  ac_status=$?
 
3444
  if test -s conftest.err; then
 
3445
    sed '10a\
 
3446
... rest of stderr output deleted ...
 
3447
         10q' conftest.err >conftest.er1
 
3448
    cat conftest.er1 >&5
 
3449
  fi
 
3450
  rm -f conftest.er1 conftest.err
 
3451
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3452
  test $ac_status = 0; }
 
3453
done
 
3454
 
 
3455
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3456
/* end confdefs.h.  */
 
3457
 
 
3458
int
 
3459
main ()
 
3460
{
 
3461
 
 
3462
  ;
 
3463
  return 0;
 
3464
}
 
3465
_ACEOF
 
3466
ac_clean_files_save=$ac_clean_files
 
3467
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3468
# Try to create an executable without -o first, disregard a.out.
 
3469
# It will help us diagnose broken compilers, and finding out an intuition
 
3470
# of exeext.
 
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3472
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3473
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3474
 
 
3475
# The possible output files:
 
3476
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3477
 
 
3478
ac_rmfiles=
 
3479
for ac_file in $ac_files
 
3480
do
 
3481
  case $ac_file in
 
3482
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3483
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3484
  esac
 
3485
done
 
3486
rm -f $ac_rmfiles
 
3487
 
 
3488
if { { ac_try="$ac_link_default"
 
3489
case "(($ac_try" in
 
3490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3491
  *) ac_try_echo=$ac_try;;
 
3492
esac
 
3493
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3494
$as_echo "$ac_try_echo"; } >&5
 
3495
  (eval "$ac_link_default") 2>&5
 
3496
  ac_status=$?
 
3497
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3498
  test $ac_status = 0; }; then :
 
3499
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3500
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3501
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3502
# so that the user can short-circuit this test for compilers unknown to
 
3503
# Autoconf.
 
3504
for ac_file in $ac_files ''
 
3505
do
 
3506
  test -f "$ac_file" || continue
 
3507
  case $ac_file in
 
3508
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3509
        ;;
 
3510
    [ab].out )
 
3511
        # We found the default executable, but exeext='' is most
 
3512
        # certainly right.
 
3513
        break;;
 
3514
    *.* )
 
3515
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3516
        then :; else
 
3517
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3518
        fi
 
3519
        # We set ac_cv_exeext here because the later test for it is not
 
3520
        # safe: cross compilers may not add the suffix if given an `-o'
 
3521
        # argument, so we may need to know it at that point already.
 
3522
        # Even if this section looks crufty: it has the advantage of
 
3523
        # actually working.
 
3524
        break;;
 
3525
    * )
 
3526
        break;;
 
3527
  esac
 
3528
done
 
3529
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3530
 
 
3531
else
 
3532
  ac_file=''
 
3533
fi
 
3534
if test -z "$ac_file"; then :
 
3535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3536
$as_echo "no" >&6; }
 
3537
$as_echo "$as_me: failed program was:" >&5
 
3538
sed 's/^/| /' conftest.$ac_ext >&5
 
3539
 
 
3540
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3541
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3542
as_fn_error 77 "C compiler cannot create executables
 
3543
See \`config.log' for more details" "$LINENO" 5; }
 
3544
else
 
3545
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3546
$as_echo "yes" >&6; }
 
3547
fi
 
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3549
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3551
$as_echo "$ac_file" >&6; }
 
3552
ac_exeext=$ac_cv_exeext
 
3553
 
 
3554
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3555
ac_clean_files=$ac_clean_files_save
 
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3557
$as_echo_n "checking for suffix of executables... " >&6; }
 
3558
if { { ac_try="$ac_link"
 
3559
case "(($ac_try" in
 
3560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3561
  *) ac_try_echo=$ac_try;;
 
3562
esac
 
3563
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3564
$as_echo "$ac_try_echo"; } >&5
 
3565
  (eval "$ac_link") 2>&5
 
3566
  ac_status=$?
 
3567
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3568
  test $ac_status = 0; }; then :
 
3569
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3570
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3571
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3572
# `rm'.
 
3573
for ac_file in conftest.exe conftest conftest.*; do
 
3574
  test -f "$ac_file" || continue
 
3575
  case $ac_file in
 
3576
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3577
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3578
          break;;
 
3579
    * ) break;;
 
3580
  esac
 
3581
done
 
3582
else
 
3583
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3584
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3585
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3586
See \`config.log' for more details" "$LINENO" 5; }
 
3587
fi
 
3588
rm -f conftest conftest$ac_cv_exeext
 
3589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3590
$as_echo "$ac_cv_exeext" >&6; }
 
3591
 
 
3592
rm -f conftest.$ac_ext
 
3593
EXEEXT=$ac_cv_exeext
 
3594
ac_exeext=$EXEEXT
 
3595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3596
/* end confdefs.h.  */
 
3597
#include <stdio.h>
 
3598
int
 
3599
main ()
 
3600
{
 
3601
FILE *f = fopen ("conftest.out", "w");
 
3602
 return ferror (f) || fclose (f) != 0;
 
3603
 
 
3604
  ;
 
3605
  return 0;
 
3606
}
 
3607
_ACEOF
 
3608
ac_clean_files="$ac_clean_files conftest.out"
 
3609
# Check that the compiler produces executables we can run.  If not, either
 
3610
# the compiler is broken, or we cross compile.
 
3611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3612
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3613
if test "$cross_compiling" != yes; then
 
3614
  { { ac_try="$ac_link"
 
3615
case "(($ac_try" in
 
3616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3617
  *) ac_try_echo=$ac_try;;
 
3618
esac
 
3619
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3620
$as_echo "$ac_try_echo"; } >&5
 
3621
  (eval "$ac_link") 2>&5
 
3622
  ac_status=$?
 
3623
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3624
  test $ac_status = 0; }
 
3625
  if { ac_try='./conftest$ac_cv_exeext'
 
3626
  { { case "(($ac_try" in
 
3627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3628
  *) ac_try_echo=$ac_try;;
 
3629
esac
 
3630
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3631
$as_echo "$ac_try_echo"; } >&5
 
3632
  (eval "$ac_try") 2>&5
 
3633
  ac_status=$?
 
3634
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3635
  test $ac_status = 0; }; }; then
 
3636
    cross_compiling=no
 
3637
  else
 
3638
    if test "$cross_compiling" = maybe; then
 
3639
        cross_compiling=yes
 
3640
    else
 
3641
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3642
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3643
as_fn_error $? "cannot run C compiled programs.
 
3644
If you meant to cross compile, use \`--host'.
 
3645
See \`config.log' for more details" "$LINENO" 5; }
 
3646
    fi
 
3647
  fi
 
3648
fi
 
3649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3650
$as_echo "$cross_compiling" >&6; }
 
3651
 
 
3652
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3653
ac_clean_files=$ac_clean_files_save
 
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3655
$as_echo_n "checking for suffix of object files... " >&6; }
 
3656
if ${ac_cv_objext+:} false; then :
 
3657
  $as_echo_n "(cached) " >&6
 
3658
else
 
3659
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3660
/* end confdefs.h.  */
 
3661
 
 
3662
int
 
3663
main ()
 
3664
{
 
3665
 
 
3666
  ;
 
3667
  return 0;
 
3668
}
 
3669
_ACEOF
 
3670
rm -f conftest.o conftest.obj
 
3671
if { { ac_try="$ac_compile"
 
3672
case "(($ac_try" in
 
3673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3674
  *) ac_try_echo=$ac_try;;
 
3675
esac
 
3676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3677
$as_echo "$ac_try_echo"; } >&5
 
3678
  (eval "$ac_compile") 2>&5
 
3679
  ac_status=$?
 
3680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3681
  test $ac_status = 0; }; then :
 
3682
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3683
  test -f "$ac_file" || continue;
 
3684
  case $ac_file in
 
3685
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3686
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3687
       break;;
 
3688
  esac
 
3689
done
 
3690
else
 
3691
  $as_echo "$as_me: failed program was:" >&5
 
3692
sed 's/^/| /' conftest.$ac_ext >&5
 
3693
 
 
3694
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3695
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3696
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3697
See \`config.log' for more details" "$LINENO" 5; }
 
3698
fi
 
3699
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3700
fi
 
3701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3702
$as_echo "$ac_cv_objext" >&6; }
 
3703
OBJEXT=$ac_cv_objext
 
3704
ac_objext=$OBJEXT
 
3705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3706
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3707
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3708
  $as_echo_n "(cached) " >&6
 
3709
else
 
3710
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3711
/* end confdefs.h.  */
 
3712
 
 
3713
int
 
3714
main ()
 
3715
{
 
3716
#ifndef __GNUC__
 
3717
       choke me
 
3718
#endif
 
3719
 
 
3720
  ;
 
3721
  return 0;
 
3722
}
 
3723
_ACEOF
 
3724
if ac_fn_c_try_compile "$LINENO"; then :
 
3725
  ac_compiler_gnu=yes
 
3726
else
 
3727
  ac_compiler_gnu=no
 
3728
fi
 
3729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3730
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3731
 
 
3732
fi
 
3733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3734
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3735
if test $ac_compiler_gnu = yes; then
 
3736
  GCC=yes
 
3737
else
 
3738
  GCC=
 
3739
fi
 
3740
ac_test_CFLAGS=${CFLAGS+set}
 
3741
ac_save_CFLAGS=$CFLAGS
 
3742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3743
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3744
if ${ac_cv_prog_cc_g+:} false; then :
 
3745
  $as_echo_n "(cached) " >&6
 
3746
else
 
3747
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3748
   ac_c_werror_flag=yes
 
3749
   ac_cv_prog_cc_g=no
 
3750
   CFLAGS="-g"
 
3751
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3752
/* end confdefs.h.  */
 
3753
 
 
3754
int
 
3755
main ()
 
3756
{
 
3757
 
 
3758
  ;
 
3759
  return 0;
 
3760
}
 
3761
_ACEOF
 
3762
if ac_fn_c_try_compile "$LINENO"; then :
 
3763
  ac_cv_prog_cc_g=yes
 
3764
else
 
3765
  CFLAGS=""
 
3766
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3767
/* end confdefs.h.  */
 
3768
 
 
3769
int
 
3770
main ()
 
3771
{
 
3772
 
 
3773
  ;
 
3774
  return 0;
 
3775
}
 
3776
_ACEOF
 
3777
if ac_fn_c_try_compile "$LINENO"; then :
 
3778
 
 
3779
else
 
3780
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3781
         CFLAGS="-g"
 
3782
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3783
/* end confdefs.h.  */
 
3784
 
 
3785
int
 
3786
main ()
 
3787
{
 
3788
 
 
3789
  ;
 
3790
  return 0;
 
3791
}
 
3792
_ACEOF
 
3793
if ac_fn_c_try_compile "$LINENO"; then :
 
3794
  ac_cv_prog_cc_g=yes
 
3795
fi
 
3796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3797
fi
 
3798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3799
fi
 
3800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3801
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3802
fi
 
3803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3804
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3805
if test "$ac_test_CFLAGS" = set; then
 
3806
  CFLAGS=$ac_save_CFLAGS
 
3807
elif test $ac_cv_prog_cc_g = yes; then
 
3808
  if test "$GCC" = yes; then
 
3809
    CFLAGS="-g -O2"
 
3810
  else
 
3811
    CFLAGS="-g"
 
3812
  fi
 
3813
else
 
3814
  if test "$GCC" = yes; then
 
3815
    CFLAGS="-O2"
 
3816
  else
 
3817
    CFLAGS=
 
3818
  fi
 
3819
fi
 
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3821
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3822
if ${ac_cv_prog_cc_c89+:} false; then :
 
3823
  $as_echo_n "(cached) " >&6
 
3824
else
 
3825
  ac_cv_prog_cc_c89=no
 
3826
ac_save_CC=$CC
 
3827
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3828
/* end confdefs.h.  */
 
3829
#include <stdarg.h>
 
3830
#include <stdio.h>
 
3831
struct stat;
 
3832
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3833
struct buf { int x; };
 
3834
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3835
static char *e (p, i)
 
3836
     char **p;
 
3837
     int i;
 
3838
{
 
3839
  return p[i];
 
3840
}
 
3841
static char *f (char * (*g) (char **, int), char **p, ...)
 
3842
{
 
3843
  char *s;
 
3844
  va_list v;
 
3845
  va_start (v,p);
 
3846
  s = g (p, va_arg (v,int));
 
3847
  va_end (v);
 
3848
  return s;
 
3849
}
 
3850
 
 
3851
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3852
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3853
   These don't provoke an error unfortunately, instead are silently treated
 
3854
   as 'x'.  The following induces an error, until -std is added to get
 
3855
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3856
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3857
   that's true only with -std.  */
 
3858
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3859
 
 
3860
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3861
   inside strings and character constants.  */
 
3862
#define FOO(x) 'x'
 
3863
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3864
 
 
3865
int test (int i, double x);
 
3866
struct s1 {int (*f) (int a);};
 
3867
struct s2 {int (*f) (double a);};
 
3868
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3869
int argc;
 
3870
char **argv;
 
3871
int
 
3872
main ()
 
3873
{
 
3874
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3875
  ;
 
3876
  return 0;
 
3877
}
 
3878
_ACEOF
 
3879
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3880
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3881
do
 
3882
  CC="$ac_save_CC $ac_arg"
 
3883
  if ac_fn_c_try_compile "$LINENO"; then :
 
3884
  ac_cv_prog_cc_c89=$ac_arg
 
3885
fi
 
3886
rm -f core conftest.err conftest.$ac_objext
 
3887
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3888
done
 
3889
rm -f conftest.$ac_ext
 
3890
CC=$ac_save_CC
 
3891
 
 
3892
fi
 
3893
# AC_CACHE_VAL
 
3894
case "x$ac_cv_prog_cc_c89" in
 
3895
  x)
 
3896
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3897
$as_echo "none needed" >&6; } ;;
 
3898
  xno)
 
3899
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3900
$as_echo "unsupported" >&6; } ;;
 
3901
  *)
 
3902
    CC="$CC $ac_cv_prog_cc_c89"
 
3903
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3904
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3905
esac
 
3906
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3907
 
 
3908
fi
 
3909
 
 
3910
ac_ext=c
 
3911
ac_cpp='$CPP $CPPFLAGS'
 
3912
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3913
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3914
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3915
 
 
3916
depcc="$CC"   am_compiler_list=
 
3917
 
 
3918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3919
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3920
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3921
  $as_echo_n "(cached) " >&6
 
3922
else
 
3923
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3924
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3925
  # making bogus files that we don't know about and never remove.  For
 
3926
  # instance it was reported that on HP-UX the gcc test will end up
 
3927
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
3928
  # in D".
 
3929
  rm -rf conftest.dir
 
3930
  mkdir conftest.dir
 
3931
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3932
  # using a relative directory.
 
3933
  cp "$am_depcomp" conftest.dir
 
3934
  cd conftest.dir
 
3935
  # We will build objects and dependencies in a subdirectory because
 
3936
  # it helps to detect inapplicable dependency modes.  For instance
 
3937
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3938
  # side effect of compilation, but ICC will put the dependencies in
 
3939
  # the current directory while Tru64 will put them in the object
 
3940
  # directory.
 
3941
  mkdir sub
 
3942
 
 
3943
  am_cv_CC_dependencies_compiler_type=none
 
3944
  if test "$am_compiler_list" = ""; then
 
3945
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3946
  fi
 
3947
  am__universal=false
 
3948
  case " $depcc " in #(
 
3949
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3950
     esac
 
3951
 
 
3952
  for depmode in $am_compiler_list; do
 
3953
    # Setup a source with many dependencies, because some compilers
 
3954
    # like to wrap large dependency lists on column 80 (with \), and
 
3955
    # we should not choose a depcomp mode which is confused by this.
 
3956
    #
 
3957
    # We need to recreate these files for each test, as the compiler may
 
3958
    # overwrite some of them when testing with obscure command lines.
 
3959
    # This happens at least with the AIX C compiler.
 
3960
    : > sub/conftest.c
 
3961
    for i in 1 2 3 4 5 6; do
 
3962
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3963
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
3964
      # Solaris 10 /bin/sh.
 
3965
      echo '/* dummy */' > sub/conftst$i.h
 
3966
    done
 
3967
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3968
 
 
3969
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
3970
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3971
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
3972
    # versions had trouble with output in subdirs.
 
3973
    am__obj=sub/conftest.${OBJEXT-o}
 
3974
    am__minus_obj="-o $am__obj"
 
3975
    case $depmode in
 
3976
    gcc)
 
3977
      # This depmode causes a compiler race in universal mode.
 
3978
      test "$am__universal" = false || continue
 
3979
      ;;
 
3980
    nosideeffect)
 
3981
      # After this tag, mechanisms are not by side-effect, so they'll
 
3982
      # only be used when explicitly requested.
 
3983
      if test "x$enable_dependency_tracking" = xyes; then
 
3984
        continue
 
3985
      else
 
3986
        break
 
3987
      fi
 
3988
      ;;
 
3989
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
3990
      # This compiler won't grok '-c -o', but also, the minuso test has
 
3991
      # not run yet.  These depmodes are late enough in the game, and
 
3992
      # so weak that their functioning should not be impacted.
 
3993
      am__obj=conftest.${OBJEXT-o}
 
3994
      am__minus_obj=
 
3995
      ;;
 
3996
    none) break ;;
 
3997
    esac
 
3998
    if depmode=$depmode \
 
3999
       source=sub/conftest.c object=$am__obj \
 
4000
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4001
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4002
         >/dev/null 2>conftest.err &&
 
4003
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4004
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4005
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4006
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4007
      # icc doesn't choke on unknown options, it will just issue warnings
 
4008
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4009
      # that says an option was ignored or not supported.
 
4010
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4011
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4012
      # The diagnosis changed in icc 8.0:
 
4013
      #   icc: Command line remark: option '-MP' not supported
 
4014
      if (grep 'ignoring option' conftest.err ||
 
4015
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4016
        am_cv_CC_dependencies_compiler_type=$depmode
 
4017
        break
 
4018
      fi
 
4019
    fi
 
4020
  done
 
4021
 
 
4022
  cd ..
 
4023
  rm -rf conftest.dir
 
4024
else
 
4025
  am_cv_CC_dependencies_compiler_type=none
 
4026
fi
 
4027
 
 
4028
fi
 
4029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4030
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4031
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4032
 
 
4033
 if
 
4034
  test "x$enable_dependency_tracking" != xno \
 
4035
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4036
  am__fastdepCC_TRUE=
 
4037
  am__fastdepCC_FALSE='#'
 
4038
else
 
4039
  am__fastdepCC_TRUE='#'
 
4040
  am__fastdepCC_FALSE=
 
4041
fi
 
4042
 
 
4043
 
 
4044
 
 
4045
ac_ext=c
 
4046
ac_cpp='$CPP $CPPFLAGS'
 
4047
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4048
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4049
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4051
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4052
# On Suns, sometimes $CPP names a directory.
 
4053
if test -n "$CPP" && test -d "$CPP"; then
 
4054
  CPP=
 
4055
fi
 
4056
if test -z "$CPP"; then
 
4057
  if ${ac_cv_prog_CPP+:} false; then :
 
4058
  $as_echo_n "(cached) " >&6
 
4059
else
 
4060
      # Double quotes because CPP needs to be expanded
 
4061
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4062
    do
 
4063
      ac_preproc_ok=false
 
4064
for ac_c_preproc_warn_flag in '' yes
 
4065
do
 
4066
  # Use a header file that comes with gcc, so configuring glibc
 
4067
  # with a fresh cross-compiler works.
 
4068
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4069
  # <limits.h> exists even on freestanding compilers.
 
4070
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4071
  # not just through cpp. "Syntax error" is here to catch this case.
 
4072
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4073
/* end confdefs.h.  */
 
4074
#ifdef __STDC__
 
4075
# include <limits.h>
 
4076
#else
 
4077
# include <assert.h>
 
4078
#endif
 
4079
                     Syntax error
 
4080
_ACEOF
 
4081
if ac_fn_c_try_cpp "$LINENO"; then :
 
4082
 
 
4083
else
 
4084
  # Broken: fails on valid input.
 
4085
continue
 
4086
fi
 
4087
rm -f conftest.err conftest.i conftest.$ac_ext
 
4088
 
 
4089
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4090
  # can be detected and how.
 
4091
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4092
/* end confdefs.h.  */
 
4093
#include <ac_nonexistent.h>
 
4094
_ACEOF
 
4095
if ac_fn_c_try_cpp "$LINENO"; then :
 
4096
  # Broken: success on invalid input.
 
4097
continue
 
4098
else
 
4099
  # Passes both tests.
 
4100
ac_preproc_ok=:
 
4101
break
 
4102
fi
 
4103
rm -f conftest.err conftest.i conftest.$ac_ext
 
4104
 
 
4105
done
 
4106
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4107
rm -f conftest.i conftest.err conftest.$ac_ext
 
4108
if $ac_preproc_ok; then :
 
4109
  break
 
4110
fi
 
4111
 
 
4112
    done
 
4113
    ac_cv_prog_CPP=$CPP
 
4114
 
 
4115
fi
 
4116
  CPP=$ac_cv_prog_CPP
 
4117
else
 
4118
  ac_cv_prog_CPP=$CPP
 
4119
fi
 
4120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4121
$as_echo "$CPP" >&6; }
 
4122
ac_preproc_ok=false
 
4123
for ac_c_preproc_warn_flag in '' yes
 
4124
do
 
4125
  # Use a header file that comes with gcc, so configuring glibc
 
4126
  # with a fresh cross-compiler works.
 
4127
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4128
  # <limits.h> exists even on freestanding compilers.
 
4129
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4130
  # not just through cpp. "Syntax error" is here to catch this case.
 
4131
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4132
/* end confdefs.h.  */
 
4133
#ifdef __STDC__
 
4134
# include <limits.h>
 
4135
#else
 
4136
# include <assert.h>
 
4137
#endif
 
4138
                     Syntax error
 
4139
_ACEOF
 
4140
if ac_fn_c_try_cpp "$LINENO"; then :
 
4141
 
 
4142
else
 
4143
  # Broken: fails on valid input.
 
4144
continue
 
4145
fi
 
4146
rm -f conftest.err conftest.i conftest.$ac_ext
 
4147
 
 
4148
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4149
  # can be detected and how.
 
4150
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4151
/* end confdefs.h.  */
 
4152
#include <ac_nonexistent.h>
 
4153
_ACEOF
 
4154
if ac_fn_c_try_cpp "$LINENO"; then :
 
4155
  # Broken: success on invalid input.
 
4156
continue
 
4157
else
 
4158
  # Passes both tests.
 
4159
ac_preproc_ok=:
 
4160
break
 
4161
fi
 
4162
rm -f conftest.err conftest.i conftest.$ac_ext
 
4163
 
 
4164
done
 
4165
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4166
rm -f conftest.i conftest.err conftest.$ac_ext
 
4167
if $ac_preproc_ok; then :
 
4168
 
 
4169
else
 
4170
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4171
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4172
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4173
See \`config.log' for more details" "$LINENO" 5; }
 
4174
fi
 
4175
 
 
4176
ac_ext=c
 
4177
ac_cpp='$CPP $CPPFLAGS'
 
4178
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4179
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4180
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4181
 
 
4182
 
 
4183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4184
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4185
if ${ac_cv_path_GREP+:} false; then :
 
4186
  $as_echo_n "(cached) " >&6
 
4187
else
 
4188
  if test -z "$GREP"; then
 
4189
  ac_path_GREP_found=false
 
4190
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4191
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4192
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4193
do
 
4194
  IFS=$as_save_IFS
 
4195
  test -z "$as_dir" && as_dir=.
 
4196
    for ac_prog in grep ggrep; do
 
4197
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4198
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4199
      as_fn_executable_p "$ac_path_GREP" || continue
 
4200
# Check for GNU ac_path_GREP and select it if it is found.
 
4201
  # Check for GNU $ac_path_GREP
 
4202
case `"$ac_path_GREP" --version 2>&1` in
 
4203
*GNU*)
 
4204
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4205
*)
 
4206
  ac_count=0
 
4207
  $as_echo_n 0123456789 >"conftest.in"
 
4208
  while :
 
4209
  do
 
4210
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4211
    mv "conftest.tmp" "conftest.in"
 
4212
    cp "conftest.in" "conftest.nl"
 
4213
    $as_echo 'GREP' >> "conftest.nl"
 
4214
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4215
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4216
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4217
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4218
      # Best one so far, save it but keep looking for a better one
 
4219
      ac_cv_path_GREP="$ac_path_GREP"
 
4220
      ac_path_GREP_max=$ac_count
 
4221
    fi
 
4222
    # 10*(2^10) chars as input seems more than enough
 
4223
    test $ac_count -gt 10 && break
 
4224
  done
 
4225
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4226
esac
 
4227
 
 
4228
      $ac_path_GREP_found && break 3
 
4229
    done
 
4230
  done
 
4231
  done
 
4232
IFS=$as_save_IFS
 
4233
  if test -z "$ac_cv_path_GREP"; then
 
4234
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4235
  fi
 
4236
else
 
4237
  ac_cv_path_GREP=$GREP
 
4238
fi
 
4239
 
 
4240
fi
 
4241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4242
$as_echo "$ac_cv_path_GREP" >&6; }
 
4243
 GREP="$ac_cv_path_GREP"
 
4244
 
 
4245
 
 
4246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4247
$as_echo_n "checking for egrep... " >&6; }
 
4248
if ${ac_cv_path_EGREP+:} false; then :
 
4249
  $as_echo_n "(cached) " >&6
 
4250
else
 
4251
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4252
   then ac_cv_path_EGREP="$GREP -E"
 
4253
   else
 
4254
     if test -z "$EGREP"; then
 
4255
  ac_path_EGREP_found=false
 
4256
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4257
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4258
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4259
do
 
4260
  IFS=$as_save_IFS
 
4261
  test -z "$as_dir" && as_dir=.
 
4262
    for ac_prog in egrep; do
 
4263
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4264
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4265
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4266
# Check for GNU ac_path_EGREP and select it if it is found.
 
4267
  # Check for GNU $ac_path_EGREP
 
4268
case `"$ac_path_EGREP" --version 2>&1` in
 
4269
*GNU*)
 
4270
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4271
*)
 
4272
  ac_count=0
 
4273
  $as_echo_n 0123456789 >"conftest.in"
 
4274
  while :
 
4275
  do
 
4276
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4277
    mv "conftest.tmp" "conftest.in"
 
4278
    cp "conftest.in" "conftest.nl"
 
4279
    $as_echo 'EGREP' >> "conftest.nl"
 
4280
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4281
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4282
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4283
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4284
      # Best one so far, save it but keep looking for a better one
 
4285
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4286
      ac_path_EGREP_max=$ac_count
 
4287
    fi
 
4288
    # 10*(2^10) chars as input seems more than enough
 
4289
    test $ac_count -gt 10 && break
 
4290
  done
 
4291
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4292
esac
 
4293
 
 
4294
      $ac_path_EGREP_found && break 3
 
4295
    done
 
4296
  done
 
4297
  done
 
4298
IFS=$as_save_IFS
 
4299
  if test -z "$ac_cv_path_EGREP"; then
 
4300
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4301
  fi
 
4302
else
 
4303
  ac_cv_path_EGREP=$EGREP
 
4304
fi
 
4305
 
 
4306
   fi
 
4307
fi
 
4308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4309
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4310
 EGREP="$ac_cv_path_EGREP"
 
4311
 
 
4312
 
 
4313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4314
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4315
if ${ac_cv_header_stdc+:} false; then :
 
4316
  $as_echo_n "(cached) " >&6
 
4317
else
 
4318
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4319
/* end confdefs.h.  */
 
4320
#include <stdlib.h>
 
4321
#include <stdarg.h>
 
4322
#include <string.h>
 
4323
#include <float.h>
 
4324
 
 
4325
int
 
4326
main ()
 
4327
{
 
4328
 
 
4329
  ;
 
4330
  return 0;
 
4331
}
 
4332
_ACEOF
 
4333
if ac_fn_c_try_compile "$LINENO"; then :
 
4334
  ac_cv_header_stdc=yes
 
4335
else
 
4336
  ac_cv_header_stdc=no
 
4337
fi
 
4338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4339
 
 
4340
if test $ac_cv_header_stdc = yes; then
 
4341
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4342
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4343
/* end confdefs.h.  */
 
4344
#include <string.h>
 
4345
 
 
4346
_ACEOF
 
4347
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4348
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4349
 
 
4350
else
 
4351
  ac_cv_header_stdc=no
 
4352
fi
 
4353
rm -f conftest*
 
4354
 
 
4355
fi
 
4356
 
 
4357
if test $ac_cv_header_stdc = yes; then
 
4358
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4359
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4360
/* end confdefs.h.  */
 
4361
#include <stdlib.h>
 
4362
 
 
4363
_ACEOF
 
4364
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4365
  $EGREP "free" >/dev/null 2>&1; then :
 
4366
 
 
4367
else
 
4368
  ac_cv_header_stdc=no
 
4369
fi
 
4370
rm -f conftest*
 
4371
 
 
4372
fi
 
4373
 
 
4374
if test $ac_cv_header_stdc = yes; then
 
4375
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4376
  if test "$cross_compiling" = yes; then :
 
4377
  :
 
4378
else
 
4379
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4380
/* end confdefs.h.  */
 
4381
#include <ctype.h>
 
4382
#include <stdlib.h>
 
4383
#if ((' ' & 0x0FF) == 0x020)
 
4384
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4385
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4386
#else
 
4387
# define ISLOWER(c) \
 
4388
                   (('a' <= (c) && (c) <= 'i') \
 
4389
                     || ('j' <= (c) && (c) <= 'r') \
 
4390
                     || ('s' <= (c) && (c) <= 'z'))
 
4391
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4392
#endif
 
4393
 
 
4394
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4395
int
 
4396
main ()
 
4397
{
 
4398
  int i;
 
4399
  for (i = 0; i < 256; i++)
 
4400
    if (XOR (islower (i), ISLOWER (i))
 
4401
        || toupper (i) != TOUPPER (i))
 
4402
      return 2;
 
4403
  return 0;
 
4404
}
 
4405
_ACEOF
 
4406
if ac_fn_c_try_run "$LINENO"; then :
 
4407
 
 
4408
else
 
4409
  ac_cv_header_stdc=no
 
4410
fi
 
4411
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4412
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4413
fi
 
4414
 
 
4415
fi
 
4416
fi
 
4417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4418
$as_echo "$ac_cv_header_stdc" >&6; }
 
4419
if test $ac_cv_header_stdc = yes; then
 
4420
 
 
4421
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4422
 
 
4423
fi
 
4424
 
 
4425
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4426
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4427
                  inttypes.h stdint.h unistd.h
 
4428
do :
 
4429
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4430
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4431
"
 
4432
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4433
  cat >>confdefs.h <<_ACEOF
 
4434
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4435
_ACEOF
 
4436
 
 
4437
fi
 
4438
 
 
4439
done
 
4440
 
 
4441
 
 
4442
 
 
4443
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
4444
if test "x$ac_cv_header_minix_config_h" = xyes; then :
 
4445
  MINIX=yes
 
4446
else
 
4447
  MINIX=
 
4448
fi
 
4449
 
 
4450
 
 
4451
  if test "$MINIX" = yes; then
 
4452
 
 
4453
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
4454
 
 
4455
 
 
4456
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
4457
 
 
4458
 
 
4459
$as_echo "#define _MINIX 1" >>confdefs.h
 
4460
 
 
4461
  fi
 
4462
 
 
4463
 
 
4464
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 
4465
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 
4466
if ${ac_cv_safe_to_define___extensions__+:} false; then :
 
4467
  $as_echo_n "(cached) " >&6
 
4468
else
 
4469
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4470
/* end confdefs.h.  */
 
4471
 
 
4472
#         define __EXTENSIONS__ 1
 
4473
          $ac_includes_default
 
4474
int
 
4475
main ()
 
4476
{
 
4477
 
 
4478
  ;
 
4479
  return 0;
 
4480
}
 
4481
_ACEOF
 
4482
if ac_fn_c_try_compile "$LINENO"; then :
 
4483
  ac_cv_safe_to_define___extensions__=yes
 
4484
else
 
4485
  ac_cv_safe_to_define___extensions__=no
 
4486
fi
 
4487
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4488
fi
 
4489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 
4490
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 
4491
  test $ac_cv_safe_to_define___extensions__ = yes &&
 
4492
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
4493
 
 
4494
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
4495
 
 
4496
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
4497
 
 
4498
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
4499
 
 
4500
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
4501
 
 
4502
 
 
4503
 
 
4504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
4505
$as_echo_n "checking for library containing strerror... " >&6; }
 
4506
if ${ac_cv_search_strerror+:} false; then :
 
4507
  $as_echo_n "(cached) " >&6
 
4508
else
 
4509
  ac_func_search_save_LIBS=$LIBS
 
4510
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4511
/* end confdefs.h.  */
 
4512
 
 
4513
/* Override any GCC internal prototype to avoid an error.
 
4514
   Use char because int might match the return type of a GCC
 
4515
   builtin and then its argument prototype would still apply.  */
 
4516
#ifdef __cplusplus
 
4517
extern "C"
 
4518
#endif
 
4519
char strerror ();
 
4520
int
 
4521
main ()
 
4522
{
 
4523
return strerror ();
 
4524
  ;
 
4525
  return 0;
 
4526
}
 
4527
_ACEOF
 
4528
for ac_lib in '' cposix; do
 
4529
  if test -z "$ac_lib"; then
 
4530
    ac_res="none required"
 
4531
  else
 
4532
    ac_res=-l$ac_lib
 
4533
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
4534
  fi
 
4535
  if ac_fn_c_try_link "$LINENO"; then :
 
4536
  ac_cv_search_strerror=$ac_res
 
4537
fi
 
4538
rm -f core conftest.err conftest.$ac_objext \
 
4539
    conftest$ac_exeext
 
4540
  if ${ac_cv_search_strerror+:} false; then :
 
4541
  break
 
4542
fi
 
4543
done
 
4544
if ${ac_cv_search_strerror+:} false; then :
 
4545
 
 
4546
else
 
4547
  ac_cv_search_strerror=no
 
4548
fi
 
4549
rm conftest.$ac_ext
 
4550
LIBS=$ac_func_search_save_LIBS
 
4551
fi
 
4552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
4553
$as_echo "$ac_cv_search_strerror" >&6; }
 
4554
ac_res=$ac_cv_search_strerror
 
4555
if test "$ac_res" != no; then :
 
4556
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
4557
 
 
4558
fi
 
4559
 
 
4560
 
 
4561
 if test "`uname | grep \"CYGWIN\"`" != ""; then
 
4562
  HAVE_CYGWIN_TRUE=
 
4563
  HAVE_CYGWIN_FALSE='#'
 
4564
else
 
4565
  HAVE_CYGWIN_TRUE='#'
 
4566
  HAVE_CYGWIN_FALSE=
 
4567
fi
 
4568
 
 
4569
 
 
4570
ac_ext=c
 
4571
ac_cpp='$CPP $CPPFLAGS'
 
4572
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4573
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4574
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4575
if test -n "$ac_tool_prefix"; then
 
4576
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4577
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4579
$as_echo_n "checking for $ac_word... " >&6; }
 
4580
if ${ac_cv_prog_CC+:} false; then :
 
4581
  $as_echo_n "(cached) " >&6
 
4582
else
 
4583
  if test -n "$CC"; then
 
4584
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4585
else
 
4586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4587
for as_dir in $PATH
 
4588
do
 
4589
  IFS=$as_save_IFS
 
4590
  test -z "$as_dir" && as_dir=.
 
4591
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4592
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4593
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4594
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4595
    break 2
 
4596
  fi
 
4597
done
 
4598
  done
 
4599
IFS=$as_save_IFS
 
4600
 
 
4601
fi
 
4602
fi
 
4603
CC=$ac_cv_prog_CC
 
4604
if test -n "$CC"; then
 
4605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4606
$as_echo "$CC" >&6; }
 
4607
else
 
4608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4609
$as_echo "no" >&6; }
 
4610
fi
 
4611
 
 
4612
 
 
4613
fi
 
4614
if test -z "$ac_cv_prog_CC"; then
 
4615
  ac_ct_CC=$CC
 
4616
  # Extract the first word of "gcc", so it can be a program name with args.
 
4617
set dummy gcc; ac_word=$2
 
4618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4619
$as_echo_n "checking for $ac_word... " >&6; }
 
4620
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4621
  $as_echo_n "(cached) " >&6
 
4622
else
 
4623
  if test -n "$ac_ct_CC"; then
 
4624
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4625
else
 
4626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4627
for as_dir in $PATH
 
4628
do
 
4629
  IFS=$as_save_IFS
 
4630
  test -z "$as_dir" && as_dir=.
 
4631
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4632
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4633
    ac_cv_prog_ac_ct_CC="gcc"
 
4634
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4635
    break 2
 
4636
  fi
 
4637
done
 
4638
  done
 
4639
IFS=$as_save_IFS
 
4640
 
 
4641
fi
 
4642
fi
 
4643
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4644
if test -n "$ac_ct_CC"; then
 
4645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4646
$as_echo "$ac_ct_CC" >&6; }
 
4647
else
 
4648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4649
$as_echo "no" >&6; }
 
4650
fi
 
4651
 
 
4652
  if test "x$ac_ct_CC" = x; then
 
4653
    CC=""
 
4654
  else
 
4655
    case $cross_compiling:$ac_tool_warned in
 
4656
yes:)
 
4657
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4658
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4659
ac_tool_warned=yes ;;
 
4660
esac
 
4661
    CC=$ac_ct_CC
 
4662
  fi
 
4663
else
 
4664
  CC="$ac_cv_prog_CC"
 
4665
fi
 
4666
 
 
4667
if test -z "$CC"; then
 
4668
          if test -n "$ac_tool_prefix"; then
 
4669
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4670
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4672
$as_echo_n "checking for $ac_word... " >&6; }
 
4673
if ${ac_cv_prog_CC+:} false; then :
 
4674
  $as_echo_n "(cached) " >&6
 
4675
else
 
4676
  if test -n "$CC"; then
 
4677
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4678
else
 
4679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4680
for as_dir in $PATH
 
4681
do
 
4682
  IFS=$as_save_IFS
 
4683
  test -z "$as_dir" && as_dir=.
 
4684
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4685
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4686
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4687
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4688
    break 2
 
4689
  fi
 
4690
done
 
4691
  done
 
4692
IFS=$as_save_IFS
 
4693
 
 
4694
fi
 
4695
fi
 
4696
CC=$ac_cv_prog_CC
 
4697
if test -n "$CC"; then
 
4698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4699
$as_echo "$CC" >&6; }
 
4700
else
 
4701
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4702
$as_echo "no" >&6; }
 
4703
fi
 
4704
 
 
4705
 
 
4706
  fi
 
4707
fi
 
4708
if test -z "$CC"; then
 
4709
  # Extract the first word of "cc", so it can be a program name with args.
 
4710
set dummy cc; ac_word=$2
 
4711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4712
$as_echo_n "checking for $ac_word... " >&6; }
 
4713
if ${ac_cv_prog_CC+:} false; then :
 
4714
  $as_echo_n "(cached) " >&6
 
4715
else
 
4716
  if test -n "$CC"; then
 
4717
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4718
else
 
4719
  ac_prog_rejected=no
 
4720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4721
for as_dir in $PATH
 
4722
do
 
4723
  IFS=$as_save_IFS
 
4724
  test -z "$as_dir" && as_dir=.
 
4725
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4726
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4727
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4728
       ac_prog_rejected=yes
 
4729
       continue
 
4730
     fi
 
4731
    ac_cv_prog_CC="cc"
 
4732
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4733
    break 2
 
4734
  fi
 
4735
done
 
4736
  done
 
4737
IFS=$as_save_IFS
 
4738
 
 
4739
if test $ac_prog_rejected = yes; then
 
4740
  # We found a bogon in the path, so make sure we never use it.
 
4741
  set dummy $ac_cv_prog_CC
 
4742
  shift
 
4743
  if test $# != 0; then
 
4744
    # We chose a different compiler from the bogus one.
 
4745
    # However, it has the same basename, so the bogon will be chosen
 
4746
    # first if we set CC to just the basename; use the full file name.
 
4747
    shift
 
4748
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4749
  fi
 
4750
fi
 
4751
fi
 
4752
fi
 
4753
CC=$ac_cv_prog_CC
 
4754
if test -n "$CC"; then
 
4755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4756
$as_echo "$CC" >&6; }
 
4757
else
 
4758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4759
$as_echo "no" >&6; }
 
4760
fi
 
4761
 
 
4762
 
 
4763
fi
 
4764
if test -z "$CC"; then
 
4765
  if test -n "$ac_tool_prefix"; then
 
4766
  for ac_prog in cl.exe
 
4767
  do
 
4768
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4769
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4771
$as_echo_n "checking for $ac_word... " >&6; }
 
4772
if ${ac_cv_prog_CC+:} false; then :
 
4773
  $as_echo_n "(cached) " >&6
 
4774
else
 
4775
  if test -n "$CC"; then
 
4776
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4777
else
 
4778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4779
for as_dir in $PATH
 
4780
do
 
4781
  IFS=$as_save_IFS
 
4782
  test -z "$as_dir" && as_dir=.
 
4783
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4784
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4785
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4786
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4787
    break 2
 
4788
  fi
 
4789
done
 
4790
  done
 
4791
IFS=$as_save_IFS
 
4792
 
 
4793
fi
 
4794
fi
 
4795
CC=$ac_cv_prog_CC
 
4796
if test -n "$CC"; then
 
4797
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4798
$as_echo "$CC" >&6; }
 
4799
else
 
4800
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4801
$as_echo "no" >&6; }
 
4802
fi
 
4803
 
 
4804
 
 
4805
    test -n "$CC" && break
 
4806
  done
 
4807
fi
 
4808
if test -z "$CC"; then
 
4809
  ac_ct_CC=$CC
 
4810
  for ac_prog in cl.exe
 
4811
do
 
4812
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4813
set dummy $ac_prog; ac_word=$2
 
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4815
$as_echo_n "checking for $ac_word... " >&6; }
 
4816
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4817
  $as_echo_n "(cached) " >&6
 
4818
else
 
4819
  if test -n "$ac_ct_CC"; then
 
4820
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4821
else
 
4822
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4823
for as_dir in $PATH
 
4824
do
 
4825
  IFS=$as_save_IFS
 
4826
  test -z "$as_dir" && as_dir=.
 
4827
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4828
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4829
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4830
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4831
    break 2
 
4832
  fi
 
4833
done
 
4834
  done
 
4835
IFS=$as_save_IFS
 
4836
 
 
4837
fi
 
4838
fi
 
4839
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4840
if test -n "$ac_ct_CC"; then
 
4841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4842
$as_echo "$ac_ct_CC" >&6; }
 
4843
else
 
4844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4845
$as_echo "no" >&6; }
 
4846
fi
 
4847
 
 
4848
 
 
4849
  test -n "$ac_ct_CC" && break
 
4850
done
 
4851
 
 
4852
  if test "x$ac_ct_CC" = x; then
 
4853
    CC=""
 
4854
  else
 
4855
    case $cross_compiling:$ac_tool_warned in
 
4856
yes:)
 
4857
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4858
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4859
ac_tool_warned=yes ;;
 
4860
esac
 
4861
    CC=$ac_ct_CC
 
4862
  fi
 
4863
fi
 
4864
 
 
4865
fi
 
4866
 
 
4867
 
 
4868
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4869
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4870
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4871
See \`config.log' for more details" "$LINENO" 5; }
 
4872
 
 
4873
# Provide some information about the compiler.
 
4874
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4875
set X $ac_compile
 
4876
ac_compiler=$2
 
4877
for ac_option in --version -v -V -qversion; do
 
4878
  { { ac_try="$ac_compiler $ac_option >&5"
 
4879
case "(($ac_try" in
 
4880
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4881
  *) ac_try_echo=$ac_try;;
 
4882
esac
 
4883
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4884
$as_echo "$ac_try_echo"; } >&5
 
4885
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4886
  ac_status=$?
 
4887
  if test -s conftest.err; then
 
4888
    sed '10a\
 
4889
... rest of stderr output deleted ...
 
4890
         10q' conftest.err >conftest.er1
 
4891
    cat conftest.er1 >&5
 
4892
  fi
 
4893
  rm -f conftest.er1 conftest.err
 
4894
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4895
  test $ac_status = 0; }
 
4896
done
 
4897
 
 
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4899
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4900
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4901
  $as_echo_n "(cached) " >&6
 
4902
else
 
4903
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4904
/* end confdefs.h.  */
 
4905
 
 
4906
int
 
4907
main ()
 
4908
{
 
4909
#ifndef __GNUC__
 
4910
       choke me
 
4911
#endif
 
4912
 
 
4913
  ;
 
4914
  return 0;
 
4915
}
 
4916
_ACEOF
 
4917
if ac_fn_c_try_compile "$LINENO"; then :
 
4918
  ac_compiler_gnu=yes
 
4919
else
 
4920
  ac_compiler_gnu=no
 
4921
fi
 
4922
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4923
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4924
 
 
4925
fi
 
4926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4927
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4928
if test $ac_compiler_gnu = yes; then
 
4929
  GCC=yes
 
4930
else
 
4931
  GCC=
 
4932
fi
 
4933
ac_test_CFLAGS=${CFLAGS+set}
 
4934
ac_save_CFLAGS=$CFLAGS
 
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4936
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4937
if ${ac_cv_prog_cc_g+:} false; then :
 
4938
  $as_echo_n "(cached) " >&6
 
4939
else
 
4940
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4941
   ac_c_werror_flag=yes
 
4942
   ac_cv_prog_cc_g=no
 
4943
   CFLAGS="-g"
 
4944
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4945
/* end confdefs.h.  */
 
4946
 
 
4947
int
 
4948
main ()
 
4949
{
 
4950
 
 
4951
  ;
 
4952
  return 0;
 
4953
}
 
4954
_ACEOF
 
4955
if ac_fn_c_try_compile "$LINENO"; then :
 
4956
  ac_cv_prog_cc_g=yes
 
4957
else
 
4958
  CFLAGS=""
 
4959
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4960
/* end confdefs.h.  */
 
4961
 
 
4962
int
 
4963
main ()
 
4964
{
 
4965
 
 
4966
  ;
 
4967
  return 0;
 
4968
}
 
4969
_ACEOF
 
4970
if ac_fn_c_try_compile "$LINENO"; then :
 
4971
 
 
4972
else
 
4973
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4974
         CFLAGS="-g"
 
4975
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4976
/* end confdefs.h.  */
 
4977
 
 
4978
int
 
4979
main ()
 
4980
{
 
4981
 
 
4982
  ;
 
4983
  return 0;
 
4984
}
 
4985
_ACEOF
 
4986
if ac_fn_c_try_compile "$LINENO"; then :
 
4987
  ac_cv_prog_cc_g=yes
 
4988
fi
 
4989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4990
fi
 
4991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4992
fi
 
4993
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4994
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4995
fi
 
4996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4997
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4998
if test "$ac_test_CFLAGS" = set; then
 
4999
  CFLAGS=$ac_save_CFLAGS
 
5000
elif test $ac_cv_prog_cc_g = yes; then
 
5001
  if test "$GCC" = yes; then
 
5002
    CFLAGS="-g -O2"
 
5003
  else
 
5004
    CFLAGS="-g"
 
5005
  fi
 
5006
else
 
5007
  if test "$GCC" = yes; then
 
5008
    CFLAGS="-O2"
 
5009
  else
 
5010
    CFLAGS=
 
5011
  fi
 
5012
fi
 
5013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5014
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5015
if ${ac_cv_prog_cc_c89+:} false; then :
 
5016
  $as_echo_n "(cached) " >&6
 
5017
else
 
5018
  ac_cv_prog_cc_c89=no
 
5019
ac_save_CC=$CC
 
5020
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5021
/* end confdefs.h.  */
 
5022
#include <stdarg.h>
 
5023
#include <stdio.h>
 
5024
struct stat;
 
5025
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5026
struct buf { int x; };
 
5027
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5028
static char *e (p, i)
 
5029
     char **p;
 
5030
     int i;
 
5031
{
 
5032
  return p[i];
 
5033
}
 
5034
static char *f (char * (*g) (char **, int), char **p, ...)
 
5035
{
 
5036
  char *s;
 
5037
  va_list v;
 
5038
  va_start (v,p);
 
5039
  s = g (p, va_arg (v,int));
 
5040
  va_end (v);
 
5041
  return s;
 
5042
}
 
5043
 
 
5044
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5045
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5046
   These don't provoke an error unfortunately, instead are silently treated
 
5047
   as 'x'.  The following induces an error, until -std is added to get
 
5048
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5049
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5050
   that's true only with -std.  */
 
5051
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5052
 
 
5053
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5054
   inside strings and character constants.  */
 
5055
#define FOO(x) 'x'
 
5056
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5057
 
 
5058
int test (int i, double x);
 
5059
struct s1 {int (*f) (int a);};
 
5060
struct s2 {int (*f) (double a);};
 
5061
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5062
int argc;
 
5063
char **argv;
 
5064
int
 
5065
main ()
 
5066
{
 
5067
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5068
  ;
 
5069
  return 0;
 
5070
}
 
5071
_ACEOF
 
5072
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5073
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5074
do
 
5075
  CC="$ac_save_CC $ac_arg"
 
5076
  if ac_fn_c_try_compile "$LINENO"; then :
 
5077
  ac_cv_prog_cc_c89=$ac_arg
 
5078
fi
 
5079
rm -f core conftest.err conftest.$ac_objext
 
5080
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5081
done
 
5082
rm -f conftest.$ac_ext
 
5083
CC=$ac_save_CC
 
5084
 
 
5085
fi
 
5086
# AC_CACHE_VAL
 
5087
case "x$ac_cv_prog_cc_c89" in
 
5088
  x)
 
5089
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5090
$as_echo "none needed" >&6; } ;;
 
5091
  xno)
 
5092
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5093
$as_echo "unsupported" >&6; } ;;
 
5094
  *)
 
5095
    CC="$CC $ac_cv_prog_cc_c89"
 
5096
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5097
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5098
esac
 
5099
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5100
 
 
5101
fi
 
5102
 
 
5103
ac_ext=c
 
5104
ac_cpp='$CPP $CPPFLAGS'
 
5105
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5106
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5107
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5108
 
 
5109
depcc="$CC"   am_compiler_list=
 
5110
 
 
5111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5112
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5113
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
5114
  $as_echo_n "(cached) " >&6
 
5115
else
 
5116
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5117
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5118
  # making bogus files that we don't know about and never remove.  For
 
5119
  # instance it was reported that on HP-UX the gcc test will end up
 
5120
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
5121
  # in D".
 
5122
  rm -rf conftest.dir
 
5123
  mkdir conftest.dir
 
5124
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5125
  # using a relative directory.
 
5126
  cp "$am_depcomp" conftest.dir
 
5127
  cd conftest.dir
 
5128
  # We will build objects and dependencies in a subdirectory because
 
5129
  # it helps to detect inapplicable dependency modes.  For instance
 
5130
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5131
  # side effect of compilation, but ICC will put the dependencies in
 
5132
  # the current directory while Tru64 will put them in the object
 
5133
  # directory.
 
5134
  mkdir sub
 
5135
 
 
5136
  am_cv_CC_dependencies_compiler_type=none
 
5137
  if test "$am_compiler_list" = ""; then
 
5138
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5139
  fi
 
5140
  am__universal=false
 
5141
  case " $depcc " in #(
 
5142
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5143
     esac
 
5144
 
 
5145
  for depmode in $am_compiler_list; do
 
5146
    # Setup a source with many dependencies, because some compilers
 
5147
    # like to wrap large dependency lists on column 80 (with \), and
 
5148
    # we should not choose a depcomp mode which is confused by this.
 
5149
    #
 
5150
    # We need to recreate these files for each test, as the compiler may
 
5151
    # overwrite some of them when testing with obscure command lines.
 
5152
    # This happens at least with the AIX C compiler.
 
5153
    : > sub/conftest.c
 
5154
    for i in 1 2 3 4 5 6; do
 
5155
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5156
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
5157
      # Solaris 10 /bin/sh.
 
5158
      echo '/* dummy */' > sub/conftst$i.h
 
5159
    done
 
5160
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5161
 
 
5162
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
5163
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5164
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
5165
    # versions had trouble with output in subdirs.
 
5166
    am__obj=sub/conftest.${OBJEXT-o}
 
5167
    am__minus_obj="-o $am__obj"
 
5168
    case $depmode in
 
5169
    gcc)
 
5170
      # This depmode causes a compiler race in universal mode.
 
5171
      test "$am__universal" = false || continue
 
5172
      ;;
 
5173
    nosideeffect)
 
5174
      # After this tag, mechanisms are not by side-effect, so they'll
 
5175
      # only be used when explicitly requested.
 
5176
      if test "x$enable_dependency_tracking" = xyes; then
 
5177
        continue
 
5178
      else
 
5179
        break
 
5180
      fi
 
5181
      ;;
 
5182
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
5183
      # This compiler won't grok '-c -o', but also, the minuso test has
 
5184
      # not run yet.  These depmodes are late enough in the game, and
 
5185
      # so weak that their functioning should not be impacted.
 
5186
      am__obj=conftest.${OBJEXT-o}
 
5187
      am__minus_obj=
 
5188
      ;;
 
5189
    none) break ;;
 
5190
    esac
 
5191
    if depmode=$depmode \
 
5192
       source=sub/conftest.c object=$am__obj \
 
5193
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5194
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
5195
         >/dev/null 2>conftest.err &&
 
5196
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5197
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5198
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
5199
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5200
      # icc doesn't choke on unknown options, it will just issue warnings
 
5201
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5202
      # that says an option was ignored or not supported.
 
5203
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5204
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5205
      # The diagnosis changed in icc 8.0:
 
5206
      #   icc: Command line remark: option '-MP' not supported
 
5207
      if (grep 'ignoring option' conftest.err ||
 
5208
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5209
        am_cv_CC_dependencies_compiler_type=$depmode
 
5210
        break
 
5211
      fi
 
5212
    fi
 
5213
  done
 
5214
 
 
5215
  cd ..
 
5216
  rm -rf conftest.dir
 
5217
else
 
5218
  am_cv_CC_dependencies_compiler_type=none
 
5219
fi
 
5220
 
 
5221
fi
 
5222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5223
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5224
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5225
 
 
5226
 if
 
5227
  test "x$enable_dependency_tracking" != xno \
 
5228
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5229
  am__fastdepCC_TRUE=
 
5230
  am__fastdepCC_FALSE='#'
 
5231
else
 
5232
  am__fastdepCC_TRUE='#'
 
5233
  am__fastdepCC_FALSE=
 
5234
fi
 
5235
 
 
5236
 
 
5237
if test "x$CC" != xcc; then
 
5238
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
5239
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
5240
else
 
5241
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
5242
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
5243
fi
 
5244
set dummy $CC; ac_cc=`$as_echo "$2" |
 
5245
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5246
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
5247
  $as_echo_n "(cached) " >&6
 
5248
else
 
5249
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5250
/* end confdefs.h.  */
 
5251
 
 
5252
int
 
5253
main ()
 
5254
{
 
5255
 
 
5256
  ;
 
5257
  return 0;
 
5258
}
 
5259
_ACEOF
 
5260
# Make sure it works both with $CC and with simple cc.
 
5261
# We do the test twice because some compilers refuse to overwrite an
 
5262
# existing .o file with -o, though they will create one.
 
5263
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5264
rm -f conftest2.*
 
5265
if { { case "(($ac_try" in
 
5266
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5267
  *) ac_try_echo=$ac_try;;
 
5268
esac
 
5269
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5270
$as_echo "$ac_try_echo"; } >&5
 
5271
  (eval "$ac_try") 2>&5
 
5272
  ac_status=$?
 
5273
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5274
  test $ac_status = 0; } &&
 
5275
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5277
  *) ac_try_echo=$ac_try;;
 
5278
esac
 
5279
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5280
$as_echo "$ac_try_echo"; } >&5
 
5281
  (eval "$ac_try") 2>&5
 
5282
  ac_status=$?
 
5283
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5284
  test $ac_status = 0; };
 
5285
then
 
5286
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
5287
  if test "x$CC" != xcc; then
 
5288
    # Test first that cc exists at all.
 
5289
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
5290
  { { case "(($ac_try" in
 
5291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5292
  *) ac_try_echo=$ac_try;;
 
5293
esac
 
5294
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5295
$as_echo "$ac_try_echo"; } >&5
 
5296
  (eval "$ac_try") 2>&5
 
5297
  ac_status=$?
 
5298
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5299
  test $ac_status = 0; }; }; then
 
5300
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5301
      rm -f conftest2.*
 
5302
      if { { case "(($ac_try" in
 
5303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5304
  *) ac_try_echo=$ac_try;;
 
5305
esac
 
5306
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5307
$as_echo "$ac_try_echo"; } >&5
 
5308
  (eval "$ac_try") 2>&5
 
5309
  ac_status=$?
 
5310
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5311
  test $ac_status = 0; } &&
 
5312
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5314
  *) ac_try_echo=$ac_try;;
 
5315
esac
 
5316
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5317
$as_echo "$ac_try_echo"; } >&5
 
5318
  (eval "$ac_try") 2>&5
 
5319
  ac_status=$?
 
5320
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5321
  test $ac_status = 0; };
 
5322
      then
 
5323
        # cc works too.
 
5324
        :
 
5325
      else
 
5326
        # cc exists but doesn't like -o.
 
5327
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5328
      fi
 
5329
    fi
 
5330
  fi
 
5331
else
 
5332
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5333
fi
 
5334
rm -f core conftest*
 
5335
 
 
5336
fi
 
5337
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
5338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5339
$as_echo "yes" >&6; }
 
5340
else
 
5341
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5342
$as_echo "no" >&6; }
 
5343
 
 
5344
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
5345
 
 
5346
fi
 
5347
 
 
5348
# FIXME: we rely on the cache variable name because
 
5349
# there is no other way.
 
5350
set dummy $CC
 
5351
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5352
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
5353
if test "$am_t" != yes; then
 
5354
   # Losing compiler, so override with the script.
 
5355
   # FIXME: It is wrong to rewrite CC.
 
5356
   # But if we don't then we get into trouble of one sort or another.
 
5357
   # A longer-term fix would be to have automake use am__CC in this case,
 
5358
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
5359
   CC="$am_aux_dir/compile $CC"
 
5360
fi
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
5366
$as_echo_n "checking whether NLS is requested... " >&6; }
 
5367
    # Check whether --enable-nls was given.
 
5368
if test "${enable_nls+set}" = set; then :
 
5369
  enableval=$enable_nls; USE_NLS=$enableval
 
5370
else
 
5371
  USE_NLS=yes
 
5372
fi
 
5373
 
 
5374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
5375
$as_echo "$USE_NLS" >&6; }
 
5376
 
 
5377
 
 
5378
 
 
5379
 
 
5380
case "$am__api_version" in
 
5381
    1.01234)
 
5382
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
5383
    ;;
 
5384
    *)
 
5385
    ;;
 
5386
esac
 
5387
 
 
5388
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.31 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
5389
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
5390
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
5391
if test -n "0.31"; then
 
5392
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.31" >&5
 
5393
$as_echo_n "checking for intltool >= 0.31... " >&6; }
 
5394
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
5395
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
5396
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
5397
        as_fn_error $? "Your intltool is too old.  You need intltool 0.31 or later." "$LINENO" 5
 
5398
fi
 
5399
 
 
5400
# Extract the first word of "intltool-update", so it can be a program name with args.
 
5401
set dummy intltool-update; ac_word=$2
 
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5403
$as_echo_n "checking for $ac_word... " >&6; }
 
5404
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
5405
  $as_echo_n "(cached) " >&6
 
5406
else
 
5407
  case $INTLTOOL_UPDATE in
 
5408
  [\\/]* | ?:[\\/]*)
 
5409
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
5410
  ;;
 
5411
  *)
 
5412
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5413
for as_dir in $PATH
 
5414
do
 
5415
  IFS=$as_save_IFS
 
5416
  test -z "$as_dir" && as_dir=.
 
5417
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5418
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5419
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
5420
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5421
    break 2
 
5422
  fi
 
5423
done
 
5424
  done
 
5425
IFS=$as_save_IFS
 
5426
 
 
5427
  ;;
 
5428
esac
 
5429
fi
 
5430
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
5431
if test -n "$INTLTOOL_UPDATE"; then
 
5432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
5433
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
5434
else
 
5435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5436
$as_echo "no" >&6; }
 
5437
fi
 
5438
 
 
5439
 
 
5440
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
5441
set dummy intltool-merge; ac_word=$2
 
5442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5443
$as_echo_n "checking for $ac_word... " >&6; }
 
5444
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
5445
  $as_echo_n "(cached) " >&6
 
5446
else
 
5447
  case $INTLTOOL_MERGE in
 
5448
  [\\/]* | ?:[\\/]*)
 
5449
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
5450
  ;;
 
5451
  *)
 
5452
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5453
for as_dir in $PATH
 
5454
do
 
5455
  IFS=$as_save_IFS
 
5456
  test -z "$as_dir" && as_dir=.
 
5457
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5458
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5459
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
5460
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5461
    break 2
 
5462
  fi
 
5463
done
 
5464
  done
 
5465
IFS=$as_save_IFS
 
5466
 
 
5467
  ;;
 
5468
esac
 
5469
fi
 
5470
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
5471
if test -n "$INTLTOOL_MERGE"; then
 
5472
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
5473
$as_echo "$INTLTOOL_MERGE" >&6; }
 
5474
else
 
5475
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5476
$as_echo "no" >&6; }
 
5477
fi
 
5478
 
 
5479
 
 
5480
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
5481
set dummy intltool-extract; ac_word=$2
 
5482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5483
$as_echo_n "checking for $ac_word... " >&6; }
 
5484
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
5485
  $as_echo_n "(cached) " >&6
 
5486
else
 
5487
  case $INTLTOOL_EXTRACT in
 
5488
  [\\/]* | ?:[\\/]*)
 
5489
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
5490
  ;;
 
5491
  *)
 
5492
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5493
for as_dir in $PATH
 
5494
do
 
5495
  IFS=$as_save_IFS
 
5496
  test -z "$as_dir" && as_dir=.
 
5497
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5498
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5499
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
5500
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5501
    break 2
 
5502
  fi
 
5503
done
 
5504
  done
 
5505
IFS=$as_save_IFS
 
5506
 
 
5507
  ;;
 
5508
esac
 
5509
fi
 
5510
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
5511
if test -n "$INTLTOOL_EXTRACT"; then
 
5512
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
5513
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
5514
else
 
5515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5516
$as_echo "no" >&6; }
 
5517
fi
 
5518
 
 
5519
 
 
5520
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
5521
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
5522
fi
 
5523
 
 
5524
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
5525
  AM_DEFAULT_VERBOSITY=1
 
5526
fi
 
5527
 
 
5528
 
 
5529
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
5530
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
5531
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
 
5532
 
 
5533
 
 
5534
 
 
5535
 
 
5536
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
5537
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
5538
intltool__v_merge_options_0='-q'
 
5539
 
 
5540
 
 
5541
 
 
5542
 
 
5543
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5544
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5545
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5546
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5547
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
 
5548
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5549
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5550
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5551
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5552
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5553
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5554
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
5555
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
 
5556
else
 
5557
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
 
5558
fi
 
5559
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5560
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5561
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5562
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5563
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5564
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5565
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5566
 
 
5567
 
 
5568
 
 
5569
 
 
5570
 
 
5571
 
 
5572
 
 
5573
 
 
5574
 
 
5575
 
 
5576
 
 
5577
 
 
5578
 
 
5579
 
 
5580
 
 
5581
 
 
5582
 
 
5583
 
 
5584
 
 
5585
 
 
5586
 
 
5587
 
 
5588
 
 
5589
 
 
5590
 
 
5591
 
 
5592
 
 
5593
 
 
5594
 
 
5595
 
 
5596
 
 
5597
 
 
5598
 
 
5599
 
 
5600
 
 
5601
 
 
5602
 
 
5603
 
 
5604
 
 
5605
 
 
5606
 
 
5607
 
 
5608
 
 
5609
 
 
5610
 
 
5611
 
 
5612
 
 
5613
 
 
5614
 
 
5615
 
 
5616
 
 
5617
 
 
5618
 
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
 
 
5624
 
 
5625
 
 
5626
 
 
5627
 
 
5628
 
 
5629
 
 
5630
 
 
5631
 
 
5632
 
 
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
 
 
5644
 
 
5645
 
 
5646
 
 
5647
 
 
5648
 
 
5649
 
 
5650
 
 
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
 
5656
 
 
5657
 
 
5658
 
 
5659
 
 
5660
 
 
5661
 
 
5662
 
 
5663
# Check the gettext tools to make sure they are GNU
 
5664
# Extract the first word of "xgettext", so it can be a program name with args.
 
5665
set dummy xgettext; ac_word=$2
 
5666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5667
$as_echo_n "checking for $ac_word... " >&6; }
 
5668
if ${ac_cv_path_XGETTEXT+:} false; then :
 
5669
  $as_echo_n "(cached) " >&6
 
5670
else
 
5671
  case $XGETTEXT in
 
5672
  [\\/]* | ?:[\\/]*)
 
5673
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
5674
  ;;
 
5675
  *)
 
5676
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5677
for as_dir in $PATH
 
5678
do
 
5679
  IFS=$as_save_IFS
 
5680
  test -z "$as_dir" && as_dir=.
 
5681
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5682
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5683
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
5684
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5685
    break 2
 
5686
  fi
 
5687
done
 
5688
  done
 
5689
IFS=$as_save_IFS
 
5690
 
 
5691
  ;;
 
5692
esac
 
5693
fi
 
5694
XGETTEXT=$ac_cv_path_XGETTEXT
 
5695
if test -n "$XGETTEXT"; then
 
5696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
5697
$as_echo "$XGETTEXT" >&6; }
 
5698
else
 
5699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5700
$as_echo "no" >&6; }
 
5701
fi
 
5702
 
 
5703
 
 
5704
# Extract the first word of "msgmerge", so it can be a program name with args.
 
5705
set dummy msgmerge; ac_word=$2
 
5706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5707
$as_echo_n "checking for $ac_word... " >&6; }
 
5708
if ${ac_cv_path_MSGMERGE+:} false; then :
 
5709
  $as_echo_n "(cached) " >&6
 
5710
else
 
5711
  case $MSGMERGE in
 
5712
  [\\/]* | ?:[\\/]*)
 
5713
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
5714
  ;;
 
5715
  *)
 
5716
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5717
for as_dir in $PATH
 
5718
do
 
5719
  IFS=$as_save_IFS
 
5720
  test -z "$as_dir" && as_dir=.
 
5721
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5722
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5723
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
5724
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5725
    break 2
 
5726
  fi
 
5727
done
 
5728
  done
 
5729
IFS=$as_save_IFS
 
5730
 
 
5731
  ;;
 
5732
esac
 
5733
fi
 
5734
MSGMERGE=$ac_cv_path_MSGMERGE
 
5735
if test -n "$MSGMERGE"; then
 
5736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
5737
$as_echo "$MSGMERGE" >&6; }
 
5738
else
 
5739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5740
$as_echo "no" >&6; }
 
5741
fi
 
5742
 
 
5743
 
 
5744
# Extract the first word of "msgfmt", so it can be a program name with args.
 
5745
set dummy msgfmt; ac_word=$2
 
5746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5747
$as_echo_n "checking for $ac_word... " >&6; }
 
5748
if ${ac_cv_path_MSGFMT+:} false; then :
 
5749
  $as_echo_n "(cached) " >&6
 
5750
else
 
5751
  case $MSGFMT in
 
5752
  [\\/]* | ?:[\\/]*)
 
5753
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
5754
  ;;
 
5755
  *)
 
5756
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5757
for as_dir in $PATH
 
5758
do
 
5759
  IFS=$as_save_IFS
 
5760
  test -z "$as_dir" && as_dir=.
 
5761
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5762
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5763
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
5764
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5765
    break 2
 
5766
  fi
 
5767
done
 
5768
  done
 
5769
IFS=$as_save_IFS
 
5770
 
 
5771
  ;;
 
5772
esac
 
5773
fi
 
5774
MSGFMT=$ac_cv_path_MSGFMT
 
5775
if test -n "$MSGFMT"; then
 
5776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
5777
$as_echo "$MSGFMT" >&6; }
 
5778
else
 
5779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5780
$as_echo "no" >&6; }
 
5781
fi
 
5782
 
 
5783
 
 
5784
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
5785
set dummy gmsgfmt; ac_word=$2
 
5786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5787
$as_echo_n "checking for $ac_word... " >&6; }
 
5788
if ${ac_cv_path_GMSGFMT+:} false; then :
 
5789
  $as_echo_n "(cached) " >&6
 
5790
else
 
5791
  case $GMSGFMT in
 
5792
  [\\/]* | ?:[\\/]*)
 
5793
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
5794
  ;;
 
5795
  *)
 
5796
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5797
for as_dir in $PATH
 
5798
do
 
5799
  IFS=$as_save_IFS
 
5800
  test -z "$as_dir" && as_dir=.
 
5801
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5802
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5803
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
5804
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5805
    break 2
 
5806
  fi
 
5807
done
 
5808
  done
 
5809
IFS=$as_save_IFS
 
5810
 
 
5811
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
5812
  ;;
 
5813
esac
 
5814
fi
 
5815
GMSGFMT=$ac_cv_path_GMSGFMT
 
5816
if test -n "$GMSGFMT"; then
 
5817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
5818
$as_echo "$GMSGFMT" >&6; }
 
5819
else
 
5820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5821
$as_echo "no" >&6; }
 
5822
fi
 
5823
 
 
5824
 
 
5825
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
5826
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
5827
fi
 
5828
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
5829
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
5830
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
5831
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
5832
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
5833
fi
 
5834
 
 
5835
# Extract the first word of "perl", so it can be a program name with args.
 
5836
set dummy perl; ac_word=$2
 
5837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5838
$as_echo_n "checking for $ac_word... " >&6; }
 
5839
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
5840
  $as_echo_n "(cached) " >&6
 
5841
else
 
5842
  case $INTLTOOL_PERL in
 
5843
  [\\/]* | ?:[\\/]*)
 
5844
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
5845
  ;;
 
5846
  *)
 
5847
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5848
for as_dir in $PATH
 
5849
do
 
5850
  IFS=$as_save_IFS
 
5851
  test -z "$as_dir" && as_dir=.
 
5852
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5853
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5854
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
5855
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5856
    break 2
 
5857
  fi
 
5858
done
 
5859
  done
 
5860
IFS=$as_save_IFS
 
5861
 
 
5862
  ;;
 
5863
esac
 
5864
fi
 
5865
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
5866
if test -n "$INTLTOOL_PERL"; then
 
5867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
5868
$as_echo "$INTLTOOL_PERL" >&6; }
 
5869
else
 
5870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5871
$as_echo "no" >&6; }
 
5872
fi
 
5873
 
 
5874
 
 
5875
if test -z "$INTLTOOL_PERL"; then
 
5876
   as_fn_error $? "perl not found" "$LINENO" 5
 
5877
fi
 
5878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
5879
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
5880
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
5881
if test $? -ne 0; then
 
5882
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
5883
else
 
5884
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
 
5885
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
5886
$as_echo "$IT_PERL_VERSION" >&6; }
 
5887
fi
 
5888
if test "xno-xml" != "xno-xml"; then
 
5889
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
5890
$as_echo_n "checking for XML::Parser... " >&6; }
 
5891
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
5892
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
5893
$as_echo "ok" >&6; }
 
5894
   else
 
5895
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
5896
   fi
 
5897
fi
 
5898
 
 
5899
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
5900
 
 
5901
 
 
5902
# Set DATADIRNAME correctly if it is not set yet
 
5903
# (copied from glib-gettext.m4)
 
5904
if test -z "$DATADIRNAME"; then
 
5905
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5906
/* end confdefs.h.  */
 
5907
 
 
5908
int
 
5909
main ()
 
5910
{
 
5911
extern int _nl_msg_cat_cntr;
 
5912
                       return _nl_msg_cat_cntr
 
5913
  ;
 
5914
  return 0;
 
5915
}
 
5916
_ACEOF
 
5917
if ac_fn_c_try_link "$LINENO"; then :
 
5918
  DATADIRNAME=share
 
5919
else
 
5920
  case $host in
 
5921
    *-*-solaris*)
 
5922
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5923
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
5924
  DATADIRNAME=share
 
5925
else
 
5926
  DATADIRNAME=lib
 
5927
fi
 
5928
 
 
5929
    ;;
 
5930
    *)
 
5931
    DATADIRNAME=lib
 
5932
    ;;
 
5933
    esac
 
5934
fi
 
5935
rm -f core conftest.err conftest.$ac_objext \
 
5936
    conftest$ac_exeext conftest.$ac_ext
 
5937
fi
 
5938
 
 
5939
 
 
5940
 
 
5941
 
 
5942
 
 
5943
for ac_prog in perl5 perl
 
5944
do
 
5945
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5946
set dummy $ac_prog; ac_word=$2
 
5947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5948
$as_echo_n "checking for $ac_word... " >&6; }
 
5949
if ${ac_cv_prog_PERL+:} false; then :
 
5950
  $as_echo_n "(cached) " >&6
 
5951
else
 
5952
  if test -n "$PERL"; then
 
5953
  ac_cv_prog_PERL="$PERL" # Let the user override the test.
 
5954
else
 
5955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5956
for as_dir in $PATH
 
5957
do
 
5958
  IFS=$as_save_IFS
 
5959
  test -z "$as_dir" && as_dir=.
 
5960
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5961
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5962
    ac_cv_prog_PERL="$ac_prog"
 
5963
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5964
    break 2
 
5965
  fi
 
5966
done
 
5967
  done
 
5968
IFS=$as_save_IFS
 
5969
 
 
5970
fi
 
5971
fi
 
5972
PERL=$ac_cv_prog_PERL
 
5973
if test -n "$PERL"; then
 
5974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
 
5975
$as_echo "$PERL" >&6; }
 
5976
else
 
5977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5978
$as_echo "no" >&6; }
 
5979
fi
 
5980
 
 
5981
 
 
5982
  test -n "$PERL" && break
 
5983
done
 
5984
 
 
5985
 
 
5986
 
 
5987
case `pwd` in
 
5988
  *\ * | *\     *)
 
5989
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5990
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5991
esac
 
5992
 
 
5993
 
 
5994
 
 
5995
macro_version='2.4.2'
 
5996
macro_revision='1.3337'
 
5997
 
 
5998
 
 
5999
 
 
6000
 
 
6001
 
 
6002
 
 
6003
 
 
6004
 
 
6005
 
 
6006
 
 
6007
 
 
6008
 
 
6009
 
 
6010
ltmain="$ac_aux_dir/ltmain.sh"
 
6011
 
 
6012
# Make sure we can run config.sub.
 
6013
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
6014
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
6015
 
 
6016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
6017
$as_echo_n "checking build system type... " >&6; }
 
6018
if ${ac_cv_build+:} false; then :
 
6019
  $as_echo_n "(cached) " >&6
 
6020
else
 
6021
  ac_build_alias=$build_alias
 
6022
test "x$ac_build_alias" = x &&
 
6023
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
6024
test "x$ac_build_alias" = x &&
 
6025
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
6026
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
6027
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
6028
 
 
6029
fi
 
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
6031
$as_echo "$ac_cv_build" >&6; }
 
6032
case $ac_cv_build in
 
6033
*-*-*) ;;
 
6034
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
6035
esac
 
6036
build=$ac_cv_build
 
6037
ac_save_IFS=$IFS; IFS='-'
 
6038
set x $ac_cv_build
 
6039
shift
 
6040
build_cpu=$1
 
6041
build_vendor=$2
 
6042
shift; shift
 
6043
# Remember, the first character of IFS is used to create $*,
 
6044
# except with old shells:
 
6045
build_os=$*
 
6046
IFS=$ac_save_IFS
 
6047
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
6048
 
 
6049
 
 
6050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
6051
$as_echo_n "checking host system type... " >&6; }
 
6052
if ${ac_cv_host+:} false; then :
 
6053
  $as_echo_n "(cached) " >&6
 
6054
else
 
6055
  if test "x$host_alias" = x; then
 
6056
  ac_cv_host=$ac_cv_build
 
6057
else
 
6058
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
6059
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
6060
fi
 
6061
 
 
6062
fi
 
6063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
6064
$as_echo "$ac_cv_host" >&6; }
 
6065
case $ac_cv_host in
 
6066
*-*-*) ;;
 
6067
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
6068
esac
 
6069
host=$ac_cv_host
 
6070
ac_save_IFS=$IFS; IFS='-'
 
6071
set x $ac_cv_host
 
6072
shift
 
6073
host_cpu=$1
 
6074
host_vendor=$2
 
6075
shift; shift
 
6076
# Remember, the first character of IFS is used to create $*,
 
6077
# except with old shells:
 
6078
host_os=$*
 
6079
IFS=$ac_save_IFS
 
6080
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
6081
 
 
6082
 
 
6083
# Backslashify metacharacters that are still active within
 
6084
# double-quoted strings.
 
6085
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
6086
 
 
6087
# Same as above, but do not quote variable references.
 
6088
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
6089
 
 
6090
# Sed substitution to delay expansion of an escaped shell variable in a
 
6091
# double_quote_subst'ed string.
 
6092
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
6093
 
 
6094
# Sed substitution to delay expansion of an escaped single quote.
 
6095
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
6096
 
 
6097
# Sed substitution to avoid accidental globbing in evaled expressions
 
6098
no_glob_subst='s/\*/\\\*/g'
 
6099
 
 
6100
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6101
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
6102
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
6103
 
 
6104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
6105
$as_echo_n "checking how to print strings... " >&6; }
 
6106
# Test print first, because it will be a builtin if present.
 
6107
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
6108
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6109
  ECHO='print -r --'
 
6110
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6111
  ECHO='printf %s\n'
 
6112
else
 
6113
  # Use this function as a fallback that always works.
 
6114
  func_fallback_echo ()
 
6115
  {
 
6116
    eval 'cat <<_LTECHO_EOF
 
6117
$1
 
6118
_LTECHO_EOF'
 
6119
  }
 
6120
  ECHO='func_fallback_echo'
 
6121
fi
 
6122
 
 
6123
# func_echo_all arg...
 
6124
# Invoke $ECHO with all args, space-separated.
 
6125
func_echo_all ()
 
6126
{
 
6127
    $ECHO ""
 
6128
}
 
6129
 
 
6130
case "$ECHO" in
 
6131
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
6132
$as_echo "printf" >&6; } ;;
 
6133
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
6134
$as_echo "print -r" >&6; } ;;
 
6135
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
6136
$as_echo "cat" >&6; } ;;
 
6137
esac
 
6138
 
 
6139
 
 
6140
 
 
6141
 
 
6142
 
 
6143
 
 
6144
 
 
6145
 
 
6146
 
 
6147
 
 
6148
 
 
6149
 
 
6150
 
 
6151
 
 
6152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
6153
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
6154
if ${ac_cv_path_SED+:} false; then :
 
6155
  $as_echo_n "(cached) " >&6
 
6156
else
 
6157
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
6158
     for ac_i in 1 2 3 4 5 6 7; do
 
6159
       ac_script="$ac_script$as_nl$ac_script"
 
6160
     done
 
6161
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
6162
     { ac_script=; unset ac_script;}
 
6163
     if test -z "$SED"; then
 
6164
  ac_path_SED_found=false
 
6165
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6166
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6167
for as_dir in $PATH
 
6168
do
 
6169
  IFS=$as_save_IFS
 
6170
  test -z "$as_dir" && as_dir=.
 
6171
    for ac_prog in sed gsed; do
 
6172
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6173
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6174
      as_fn_executable_p "$ac_path_SED" || continue
 
6175
# Check for GNU ac_path_SED and select it if it is found.
 
6176
  # Check for GNU $ac_path_SED
 
6177
case `"$ac_path_SED" --version 2>&1` in
 
6178
*GNU*)
 
6179
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
6180
*)
 
6181
  ac_count=0
 
6182
  $as_echo_n 0123456789 >"conftest.in"
 
6183
  while :
 
6184
  do
 
6185
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6186
    mv "conftest.tmp" "conftest.in"
 
6187
    cp "conftest.in" "conftest.nl"
 
6188
    $as_echo '' >> "conftest.nl"
 
6189
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6190
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6191
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6192
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
6193
      # Best one so far, save it but keep looking for a better one
 
6194
      ac_cv_path_SED="$ac_path_SED"
 
6195
      ac_path_SED_max=$ac_count
 
6196
    fi
 
6197
    # 10*(2^10) chars as input seems more than enough
 
6198
    test $ac_count -gt 10 && break
 
6199
  done
 
6200
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6201
esac
 
6202
 
 
6203
      $ac_path_SED_found && break 3
 
6204
    done
 
6205
  done
 
6206
  done
 
6207
IFS=$as_save_IFS
 
6208
  if test -z "$ac_cv_path_SED"; then
 
6209
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
6210
  fi
 
6211
else
 
6212
  ac_cv_path_SED=$SED
 
6213
fi
 
6214
 
 
6215
fi
 
6216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
6217
$as_echo "$ac_cv_path_SED" >&6; }
 
6218
 SED="$ac_cv_path_SED"
 
6219
  rm -f conftest.sed
 
6220
 
 
6221
test -z "$SED" && SED=sed
 
6222
Xsed="$SED -e 1s/^X//"
 
6223
 
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
 
6229
 
 
6230
 
 
6231
 
 
6232
 
 
6233
 
 
6234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
6235
$as_echo_n "checking for fgrep... " >&6; }
 
6236
if ${ac_cv_path_FGREP+:} false; then :
 
6237
  $as_echo_n "(cached) " >&6
 
6238
else
 
6239
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6240
   then ac_cv_path_FGREP="$GREP -F"
 
6241
   else
 
6242
     if test -z "$FGREP"; then
 
6243
  ac_path_FGREP_found=false
 
6244
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6245
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6246
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6247
do
 
6248
  IFS=$as_save_IFS
 
6249
  test -z "$as_dir" && as_dir=.
 
6250
    for ac_prog in fgrep; do
 
6251
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6252
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6253
      as_fn_executable_p "$ac_path_FGREP" || continue
 
6254
# Check for GNU ac_path_FGREP and select it if it is found.
 
6255
  # Check for GNU $ac_path_FGREP
 
6256
case `"$ac_path_FGREP" --version 2>&1` in
 
6257
*GNU*)
 
6258
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6259
*)
 
6260
  ac_count=0
 
6261
  $as_echo_n 0123456789 >"conftest.in"
 
6262
  while :
 
6263
  do
 
6264
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6265
    mv "conftest.tmp" "conftest.in"
 
6266
    cp "conftest.in" "conftest.nl"
 
6267
    $as_echo 'FGREP' >> "conftest.nl"
 
6268
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6269
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6270
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6271
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6272
      # Best one so far, save it but keep looking for a better one
 
6273
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6274
      ac_path_FGREP_max=$ac_count
 
6275
    fi
 
6276
    # 10*(2^10) chars as input seems more than enough
 
6277
    test $ac_count -gt 10 && break
 
6278
  done
 
6279
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6280
esac
 
6281
 
 
6282
      $ac_path_FGREP_found && break 3
 
6283
    done
 
6284
  done
 
6285
  done
 
6286
IFS=$as_save_IFS
 
6287
  if test -z "$ac_cv_path_FGREP"; then
 
6288
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6289
  fi
 
6290
else
 
6291
  ac_cv_path_FGREP=$FGREP
 
6292
fi
 
6293
 
 
6294
   fi
 
6295
fi
 
6296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
6297
$as_echo "$ac_cv_path_FGREP" >&6; }
 
6298
 FGREP="$ac_cv_path_FGREP"
 
6299
 
 
6300
 
 
6301
test -z "$GREP" && GREP=grep
 
6302
 
 
6303
 
 
6304
 
 
6305
 
 
6306
 
 
6307
 
 
6308
 
 
6309
 
 
6310
 
 
6311
 
 
6312
 
 
6313
 
 
6314
 
 
6315
 
 
6316
 
 
6317
 
 
6318
 
 
6319
 
 
6320
 
 
6321
# Check whether --with-gnu-ld was given.
 
6322
if test "${with_gnu_ld+set}" = set; then :
 
6323
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
6324
else
 
6325
  with_gnu_ld=no
 
6326
fi
 
6327
 
 
6328
ac_prog=ld
 
6329
if test "$GCC" = yes; then
 
6330
  # Check if gcc -print-prog-name=ld gives a path.
 
6331
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
6332
$as_echo_n "checking for ld used by $CC... " >&6; }
 
6333
  case $host in
 
6334
  *-*-mingw*)
 
6335
    # gcc leaves a trailing carriage return which upsets mingw
 
6336
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
6337
  *)
 
6338
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
6339
  esac
 
6340
  case $ac_prog in
 
6341
    # Accept absolute paths.
 
6342
    [\\/]* | ?:[\\/]*)
 
6343
      re_direlt='/[^/][^/]*/\.\./'
 
6344
      # Canonicalize the pathname of ld
 
6345
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6346
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6347
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
6348
      done
 
6349
      test -z "$LD" && LD="$ac_prog"
 
6350
      ;;
 
6351
  "")
 
6352
    # If it fails, then pretend we aren't using GCC.
 
6353
    ac_prog=ld
 
6354
    ;;
 
6355
  *)
 
6356
    # If it is relative, then search for the first ld in PATH.
 
6357
    with_gnu_ld=unknown
 
6358
    ;;
 
6359
  esac
 
6360
elif test "$with_gnu_ld" = yes; then
 
6361
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
6362
$as_echo_n "checking for GNU ld... " >&6; }
 
6363
else
 
6364
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
6365
$as_echo_n "checking for non-GNU ld... " >&6; }
 
6366
fi
 
6367
if ${lt_cv_path_LD+:} false; then :
 
6368
  $as_echo_n "(cached) " >&6
 
6369
else
 
6370
  if test -z "$LD"; then
 
6371
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6372
  for ac_dir in $PATH; do
 
6373
    IFS="$lt_save_ifs"
 
6374
    test -z "$ac_dir" && ac_dir=.
 
6375
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
6376
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
6377
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
6378
      # but apparently some variants of GNU ld only accept -v.
 
6379
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
6380
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
6381
      *GNU* | *'with BFD'*)
 
6382
        test "$with_gnu_ld" != no && break
 
6383
        ;;
 
6384
      *)
 
6385
        test "$with_gnu_ld" != yes && break
 
6386
        ;;
 
6387
      esac
 
6388
    fi
 
6389
  done
 
6390
  IFS="$lt_save_ifs"
 
6391
else
 
6392
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
6393
fi
 
6394
fi
 
6395
 
 
6396
LD="$lt_cv_path_LD"
 
6397
if test -n "$LD"; then
 
6398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
6399
$as_echo "$LD" >&6; }
 
6400
else
 
6401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6402
$as_echo "no" >&6; }
 
6403
fi
 
6404
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
6406
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
6407
if ${lt_cv_prog_gnu_ld+:} false; then :
 
6408
  $as_echo_n "(cached) " >&6
 
6409
else
 
6410
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
6411
case `$LD -v 2>&1 </dev/null` in
 
6412
*GNU* | *'with BFD'*)
 
6413
  lt_cv_prog_gnu_ld=yes
 
6414
  ;;
 
6415
*)
 
6416
  lt_cv_prog_gnu_ld=no
 
6417
  ;;
 
6418
esac
 
6419
fi
 
6420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
6421
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
6422
with_gnu_ld=$lt_cv_prog_gnu_ld
 
6423
 
 
6424
 
 
6425
 
 
6426
 
 
6427
 
 
6428
 
 
6429
 
 
6430
 
 
6431
 
 
6432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6433
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6434
if ${lt_cv_path_NM+:} false; then :
 
6435
  $as_echo_n "(cached) " >&6
 
6436
else
 
6437
  if test -n "$NM"; then
 
6438
  # Let the user override the test.
 
6439
  lt_cv_path_NM="$NM"
 
6440
else
 
6441
  lt_nm_to_check="${ac_tool_prefix}nm"
 
6442
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
6443
    lt_nm_to_check="$lt_nm_to_check nm"
 
6444
  fi
 
6445
  for lt_tmp_nm in $lt_nm_to_check; do
 
6446
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6447
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
6448
      IFS="$lt_save_ifs"
 
6449
      test -z "$ac_dir" && ac_dir=.
 
6450
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
6451
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
6452
        # Check to see if the nm accepts a BSD-compat flag.
 
6453
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
6454
        #   nm: unknown option "B" ignored
 
6455
        # Tru64's nm complains that /dev/null is an invalid object file
 
6456
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
6457
        */dev/null* | *'Invalid file or object type'*)
 
6458
          lt_cv_path_NM="$tmp_nm -B"
 
6459
          break
 
6460
          ;;
 
6461
        *)
 
6462
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
6463
          */dev/null*)
 
6464
            lt_cv_path_NM="$tmp_nm -p"
 
6465
            break
 
6466
            ;;
 
6467
          *)
 
6468
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
6469
            continue # so that we can try to find one that supports BSD flags
 
6470
            ;;
 
6471
          esac
 
6472
          ;;
 
6473
        esac
 
6474
      fi
 
6475
    done
 
6476
    IFS="$lt_save_ifs"
 
6477
  done
 
6478
  : ${lt_cv_path_NM=no}
 
6479
fi
 
6480
fi
 
6481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
6482
$as_echo "$lt_cv_path_NM" >&6; }
 
6483
if test "$lt_cv_path_NM" != "no"; then
 
6484
  NM="$lt_cv_path_NM"
 
6485
else
 
6486
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6487
  if test -n "$DUMPBIN"; then :
 
6488
    # Let the user override the test.
 
6489
  else
 
6490
    if test -n "$ac_tool_prefix"; then
 
6491
  for ac_prog in dumpbin "link -dump"
 
6492
  do
 
6493
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6494
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6496
$as_echo_n "checking for $ac_word... " >&6; }
 
6497
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
6498
  $as_echo_n "(cached) " >&6
 
6499
else
 
6500
  if test -n "$DUMPBIN"; then
 
6501
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6502
else
 
6503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6504
for as_dir in $PATH
 
6505
do
 
6506
  IFS=$as_save_IFS
 
6507
  test -z "$as_dir" && as_dir=.
 
6508
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6509
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6510
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6511
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6512
    break 2
 
6513
  fi
 
6514
done
 
6515
  done
 
6516
IFS=$as_save_IFS
 
6517
 
 
6518
fi
 
6519
fi
 
6520
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6521
if test -n "$DUMPBIN"; then
 
6522
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
6523
$as_echo "$DUMPBIN" >&6; }
 
6524
else
 
6525
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6526
$as_echo "no" >&6; }
 
6527
fi
 
6528
 
 
6529
 
 
6530
    test -n "$DUMPBIN" && break
 
6531
  done
 
6532
fi
 
6533
if test -z "$DUMPBIN"; then
 
6534
  ac_ct_DUMPBIN=$DUMPBIN
 
6535
  for ac_prog in dumpbin "link -dump"
 
6536
do
 
6537
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6538
set dummy $ac_prog; ac_word=$2
 
6539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6540
$as_echo_n "checking for $ac_word... " >&6; }
 
6541
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
6542
  $as_echo_n "(cached) " >&6
 
6543
else
 
6544
  if test -n "$ac_ct_DUMPBIN"; then
 
6545
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6546
else
 
6547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6548
for as_dir in $PATH
 
6549
do
 
6550
  IFS=$as_save_IFS
 
6551
  test -z "$as_dir" && as_dir=.
 
6552
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6553
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6554
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6555
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6556
    break 2
 
6557
  fi
 
6558
done
 
6559
  done
 
6560
IFS=$as_save_IFS
 
6561
 
 
6562
fi
 
6563
fi
 
6564
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6565
if test -n "$ac_ct_DUMPBIN"; then
 
6566
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6567
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6568
else
 
6569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6570
$as_echo "no" >&6; }
 
6571
fi
 
6572
 
 
6573
 
 
6574
  test -n "$ac_ct_DUMPBIN" && break
 
6575
done
 
6576
 
 
6577
  if test "x$ac_ct_DUMPBIN" = x; then
 
6578
    DUMPBIN=":"
 
6579
  else
 
6580
    case $cross_compiling:$ac_tool_warned in
 
6581
yes:)
 
6582
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6583
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6584
ac_tool_warned=yes ;;
 
6585
esac
 
6586
    DUMPBIN=$ac_ct_DUMPBIN
 
6587
  fi
 
6588
fi
 
6589
 
 
6590
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6591
    *COFF*)
 
6592
      DUMPBIN="$DUMPBIN -symbols"
 
6593
      ;;
 
6594
    *)
 
6595
      DUMPBIN=:
 
6596
      ;;
 
6597
    esac
 
6598
  fi
 
6599
 
 
6600
  if test "$DUMPBIN" != ":"; then
 
6601
    NM="$DUMPBIN"
 
6602
  fi
 
6603
fi
 
6604
test -z "$NM" && NM=nm
 
6605
 
 
6606
 
 
6607
 
 
6608
 
 
6609
 
 
6610
 
 
6611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6612
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6613
if ${lt_cv_nm_interface+:} false; then :
 
6614
  $as_echo_n "(cached) " >&6
 
6615
else
 
6616
  lt_cv_nm_interface="BSD nm"
 
6617
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6618
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
6619
  (eval "$ac_compile" 2>conftest.err)
 
6620
  cat conftest.err >&5
 
6621
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6622
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6623
  cat conftest.err >&5
 
6624
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
6625
  cat conftest.out >&5
 
6626
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6627
    lt_cv_nm_interface="MS dumpbin"
 
6628
  fi
 
6629
  rm -f conftest*
 
6630
fi
 
6631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6632
$as_echo "$lt_cv_nm_interface" >&6; }
 
6633
 
 
6634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
6635
$as_echo_n "checking whether ln -s works... " >&6; }
 
6636
LN_S=$as_ln_s
 
6637
if test "$LN_S" = "ln -s"; then
 
6638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6639
$as_echo "yes" >&6; }
 
6640
else
 
6641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
6642
$as_echo "no, using $LN_S" >&6; }
 
6643
fi
 
6644
 
 
6645
# find the maximum length of command line arguments
 
6646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6647
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6648
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
6649
  $as_echo_n "(cached) " >&6
 
6650
else
 
6651
    i=0
 
6652
  teststring="ABCD"
 
6653
 
 
6654
  case $build_os in
 
6655
  msdosdjgpp*)
 
6656
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6657
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6658
    # during glob expansion).  Even if it were fixed, the result of this
 
6659
    # check would be larger than it should be.
 
6660
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6661
    ;;
 
6662
 
 
6663
  gnu*)
 
6664
    # Under GNU Hurd, this test is not required because there is
 
6665
    # no limit to the length of command line arguments.
 
6666
    # Libtool will interpret -1 as no limit whatsoever
 
6667
    lt_cv_sys_max_cmd_len=-1;
 
6668
    ;;
 
6669
 
 
6670
  cygwin* | mingw* | cegcc*)
 
6671
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6672
    # about 5 minutes as the teststring grows exponentially.
 
6673
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6674
    # you end up with a "frozen" computer, even though with patience
 
6675
    # the test eventually succeeds (with a max line length of 256k).
 
6676
    # Instead, let's just punt: use the minimum linelength reported by
 
6677
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6678
    lt_cv_sys_max_cmd_len=8192;
 
6679
    ;;
 
6680
 
 
6681
  mint*)
 
6682
    # On MiNT this can take a long time and run out of memory.
 
6683
    lt_cv_sys_max_cmd_len=8192;
 
6684
    ;;
 
6685
 
 
6686
  amigaos*)
 
6687
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6688
    # So we just punt and use a minimum line length of 8192.
 
6689
    lt_cv_sys_max_cmd_len=8192;
 
6690
    ;;
 
6691
 
 
6692
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6693
    # This has been around since 386BSD, at least.  Likely further.
 
6694
    if test -x /sbin/sysctl; then
 
6695
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6696
    elif test -x /usr/sbin/sysctl; then
 
6697
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6698
    else
 
6699
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6700
    fi
 
6701
    # And add a safety zone
 
6702
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6703
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6704
    ;;
 
6705
 
 
6706
  interix*)
 
6707
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6708
    lt_cv_sys_max_cmd_len=196608
 
6709
    ;;
 
6710
 
 
6711
  os2*)
 
6712
    # The test takes a long time on OS/2.
 
6713
    lt_cv_sys_max_cmd_len=8192
 
6714
    ;;
 
6715
 
 
6716
  osf*)
 
6717
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6718
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6719
    # nice to cause kernel panics so lets avoid the loop below.
 
6720
    # First set a reasonable default.
 
6721
    lt_cv_sys_max_cmd_len=16384
 
6722
    #
 
6723
    if test -x /sbin/sysconfig; then
 
6724
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6725
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6726
      esac
 
6727
    fi
 
6728
    ;;
 
6729
  sco3.2v5*)
 
6730
    lt_cv_sys_max_cmd_len=102400
 
6731
    ;;
 
6732
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6733
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6734
    if test -n "$kargmax"; then
 
6735
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6736
    else
 
6737
      lt_cv_sys_max_cmd_len=32768
 
6738
    fi
 
6739
    ;;
 
6740
  *)
 
6741
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6742
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6743
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6744
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6745
    else
 
6746
      # Make teststring a little bigger before we do anything with it.
 
6747
      # a 1K string should be a reasonable start.
 
6748
      for i in 1 2 3 4 5 6 7 8 ; do
 
6749
        teststring=$teststring$teststring
 
6750
      done
 
6751
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6752
      # If test is not a shell built-in, we'll probably end up computing a
 
6753
      # maximum length that is only half of the actual maximum length, but
 
6754
      # we can't tell.
 
6755
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
6756
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
6757
              test $i != 17 # 1/2 MB should be enough
 
6758
      do
 
6759
        i=`expr $i + 1`
 
6760
        teststring=$teststring$teststring
 
6761
      done
 
6762
      # Only check the string length outside the loop.
 
6763
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6764
      teststring=
 
6765
      # Add a significant safety factor because C++ compilers can tack on
 
6766
      # massive amounts of additional arguments before passing them to the
 
6767
      # linker.  It appears as though 1/2 is a usable value.
 
6768
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6769
    fi
 
6770
    ;;
 
6771
  esac
 
6772
 
 
6773
fi
 
6774
 
 
6775
if test -n $lt_cv_sys_max_cmd_len ; then
 
6776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6777
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6778
else
 
6779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6780
$as_echo "none" >&6; }
 
6781
fi
 
6782
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6783
 
 
6784
 
 
6785
 
 
6786
 
 
6787
 
 
6788
 
 
6789
: ${CP="cp -f"}
 
6790
: ${MV="mv -f"}
 
6791
: ${RM="rm -f"}
 
6792
 
 
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6794
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6795
# Try some XSI features
 
6796
xsi_shell=no
 
6797
( _lt_dummy="a/b/c"
 
6798
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6799
      = c,a/b,b/c, \
 
6800
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6801
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6802
  && xsi_shell=yes
 
6803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6804
$as_echo "$xsi_shell" >&6; }
 
6805
 
 
6806
 
 
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6808
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6809
lt_shell_append=no
 
6810
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6811
    >/dev/null 2>&1 \
 
6812
  && lt_shell_append=yes
 
6813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6814
$as_echo "$lt_shell_append" >&6; }
 
6815
 
 
6816
 
 
6817
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6818
  lt_unset=unset
 
6819
else
 
6820
  lt_unset=false
 
6821
fi
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
 
6827
# test EBCDIC or ASCII
 
6828
case `echo X|tr X '\101'` in
 
6829
 A) # ASCII based system
 
6830
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6831
  lt_SP2NL='tr \040 \012'
 
6832
  lt_NL2SP='tr \015\012 \040\040'
 
6833
  ;;
 
6834
 *) # EBCDIC based system
 
6835
  lt_SP2NL='tr \100 \n'
 
6836
  lt_NL2SP='tr \r\n \100\100'
 
6837
  ;;
 
6838
esac
 
6839
 
 
6840
 
 
6841
 
 
6842
 
 
6843
 
 
6844
 
 
6845
 
 
6846
 
 
6847
 
 
6848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6849
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6850
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6851
  $as_echo_n "(cached) " >&6
 
6852
else
 
6853
  case $host in
 
6854
  *-*-mingw* )
 
6855
    case $build in
 
6856
      *-*-mingw* ) # actually msys
 
6857
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6858
        ;;
 
6859
      *-*-cygwin* )
 
6860
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6861
        ;;
 
6862
      * ) # otherwise, assume *nix
 
6863
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6864
        ;;
 
6865
    esac
 
6866
    ;;
 
6867
  *-*-cygwin* )
 
6868
    case $build in
 
6869
      *-*-mingw* ) # actually msys
 
6870
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6871
        ;;
 
6872
      *-*-cygwin* )
 
6873
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6874
        ;;
 
6875
      * ) # otherwise, assume *nix
 
6876
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6877
        ;;
 
6878
    esac
 
6879
    ;;
 
6880
  * ) # unhandled hosts (and "normal" native builds)
 
6881
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6882
    ;;
 
6883
esac
 
6884
 
 
6885
fi
 
6886
 
 
6887
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6889
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6896
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6897
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6898
  $as_echo_n "(cached) " >&6
 
6899
else
 
6900
  #assume ordinary cross tools, or native build.
 
6901
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6902
case $host in
 
6903
  *-*-mingw* )
 
6904
    case $build in
 
6905
      *-*-mingw* ) # actually msys
 
6906
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6907
        ;;
 
6908
    esac
 
6909
    ;;
 
6910
esac
 
6911
 
 
6912
fi
 
6913
 
 
6914
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6916
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6917
 
 
6918
 
 
6919
 
 
6920
 
 
6921
 
 
6922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6923
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6924
if ${lt_cv_ld_reload_flag+:} false; then :
 
6925
  $as_echo_n "(cached) " >&6
 
6926
else
 
6927
  lt_cv_ld_reload_flag='-r'
 
6928
fi
 
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6930
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6931
reload_flag=$lt_cv_ld_reload_flag
 
6932
case $reload_flag in
 
6933
"" | " "*) ;;
 
6934
*) reload_flag=" $reload_flag" ;;
 
6935
esac
 
6936
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6937
case $host_os in
 
6938
  cygwin* | mingw* | pw32* | cegcc*)
 
6939
    if test "$GCC" != yes; then
 
6940
      reload_cmds=false
 
6941
    fi
 
6942
    ;;
 
6943
  darwin*)
 
6944
    if test "$GCC" = yes; then
 
6945
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6946
    else
 
6947
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6948
    fi
 
6949
    ;;
 
6950
esac
 
6951
 
 
6952
 
 
6953
 
 
6954
 
 
6955
 
 
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
if test -n "$ac_tool_prefix"; then
 
6961
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6962
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6964
$as_echo_n "checking for $ac_word... " >&6; }
 
6965
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
6966
  $as_echo_n "(cached) " >&6
 
6967
else
 
6968
  if test -n "$OBJDUMP"; then
 
6969
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6970
else
 
6971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6972
for as_dir in $PATH
 
6973
do
 
6974
  IFS=$as_save_IFS
 
6975
  test -z "$as_dir" && as_dir=.
 
6976
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6977
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6978
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6979
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6980
    break 2
 
6981
  fi
 
6982
done
 
6983
  done
 
6984
IFS=$as_save_IFS
 
6985
 
 
6986
fi
 
6987
fi
 
6988
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6989
if test -n "$OBJDUMP"; then
 
6990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6991
$as_echo "$OBJDUMP" >&6; }
 
6992
else
 
6993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6994
$as_echo "no" >&6; }
 
6995
fi
 
6996
 
 
6997
 
 
6998
fi
 
6999
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7000
  ac_ct_OBJDUMP=$OBJDUMP
 
7001
  # Extract the first word of "objdump", so it can be a program name with args.
 
7002
set dummy objdump; ac_word=$2
 
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7004
$as_echo_n "checking for $ac_word... " >&6; }
 
7005
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
7006
  $as_echo_n "(cached) " >&6
 
7007
else
 
7008
  if test -n "$ac_ct_OBJDUMP"; then
 
7009
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7010
else
 
7011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7012
for as_dir in $PATH
 
7013
do
 
7014
  IFS=$as_save_IFS
 
7015
  test -z "$as_dir" && as_dir=.
 
7016
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7017
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7018
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7019
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7020
    break 2
 
7021
  fi
 
7022
done
 
7023
  done
 
7024
IFS=$as_save_IFS
 
7025
 
 
7026
fi
 
7027
fi
 
7028
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7029
if test -n "$ac_ct_OBJDUMP"; then
 
7030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
7031
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7032
else
 
7033
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7034
$as_echo "no" >&6; }
 
7035
fi
 
7036
 
 
7037
  if test "x$ac_ct_OBJDUMP" = x; then
 
7038
    OBJDUMP="false"
 
7039
  else
 
7040
    case $cross_compiling:$ac_tool_warned in
 
7041
yes:)
 
7042
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7043
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7044
ac_tool_warned=yes ;;
 
7045
esac
 
7046
    OBJDUMP=$ac_ct_OBJDUMP
 
7047
  fi
 
7048
else
 
7049
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7050
fi
 
7051
 
 
7052
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
7063
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
7064
if ${lt_cv_deplibs_check_method+:} false; then :
 
7065
  $as_echo_n "(cached) " >&6
 
7066
else
 
7067
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7068
lt_cv_file_magic_test_file=
 
7069
lt_cv_deplibs_check_method='unknown'
 
7070
# Need to set the preceding variable on all platforms that support
 
7071
# interlibrary dependencies.
 
7072
# 'none' -- dependencies not supported.
 
7073
# `unknown' -- same as none, but documents that we really don't know.
 
7074
# 'pass_all' -- all dependencies passed with no checks.
 
7075
# 'test_compile' -- check by making test program.
 
7076
# 'file_magic [[regex]]' -- check by looking for files in library path
 
7077
# which responds to the $file_magic_cmd with a given extended regex.
 
7078
# If you have `file' or equivalent on your system and you're not sure
 
7079
# whether `pass_all' will *always* work, you probably want this one.
 
7080
 
 
7081
case $host_os in
 
7082
aix[4-9]*)
 
7083
  lt_cv_deplibs_check_method=pass_all
 
7084
  ;;
 
7085
 
 
7086
beos*)
 
7087
  lt_cv_deplibs_check_method=pass_all
 
7088
  ;;
 
7089
 
 
7090
bsdi[45]*)
 
7091
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
7092
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7093
  lt_cv_file_magic_test_file=/shlib/libc.so
 
7094
  ;;
 
7095
 
 
7096
cygwin*)
 
7097
  # func_win32_libid is a shell function defined in ltmain.sh
 
7098
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7099
  lt_cv_file_magic_cmd='func_win32_libid'
 
7100
  ;;
 
7101
 
 
7102
mingw* | pw32*)
 
7103
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7104
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7105
  # unless we find 'file', for example because we are cross-compiling.
 
7106
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
7107
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
7108
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7109
    lt_cv_file_magic_cmd='func_win32_libid'
 
7110
  else
 
7111
    # Keep this pattern in sync with the one in func_win32_libid.
 
7112
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
7113
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7114
  fi
 
7115
  ;;
 
7116
 
 
7117
cegcc*)
 
7118
  # use the weaker test based on 'objdump'. See mingw*.
 
7119
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7120
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7121
  ;;
 
7122
 
 
7123
darwin* | rhapsody*)
 
7124
  lt_cv_deplibs_check_method=pass_all
 
7125
  ;;
 
7126
 
 
7127
freebsd* | dragonfly*)
 
7128
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7129
    case $host_cpu in
 
7130
    i*86 )
 
7131
      # Not sure whether the presence of OpenBSD here was a mistake.
 
7132
      # Let's accept both of them until this is cleared up.
 
7133
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
7134
      lt_cv_file_magic_cmd=/usr/bin/file
 
7135
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7136
      ;;
 
7137
    esac
 
7138
  else
 
7139
    lt_cv_deplibs_check_method=pass_all
 
7140
  fi
 
7141
  ;;
 
7142
 
 
7143
gnu*)
 
7144
  lt_cv_deplibs_check_method=pass_all
 
7145
  ;;
 
7146
 
 
7147
haiku*)
 
7148
  lt_cv_deplibs_check_method=pass_all
 
7149
  ;;
 
7150
 
 
7151
hpux10.20* | hpux11*)
 
7152
  lt_cv_file_magic_cmd=/usr/bin/file
 
7153
  case $host_cpu in
 
7154
  ia64*)
 
7155
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
7156
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7157
    ;;
 
7158
  hppa*64*)
 
7159
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
 
7160
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7161
    ;;
 
7162
  *)
 
7163
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
7164
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7165
    ;;
 
7166
  esac
 
7167
  ;;
 
7168
 
 
7169
interix[3-9]*)
 
7170
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
7171
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
7172
  ;;
 
7173
 
 
7174
irix5* | irix6* | nonstopux*)
 
7175
  case $LD in
 
7176
  *-32|*"-32 ") libmagic=32-bit;;
 
7177
  *-n32|*"-n32 ") libmagic=N32;;
 
7178
  *-64|*"-64 ") libmagic=64-bit;;
 
7179
  *) libmagic=never-match;;
 
7180
  esac
 
7181
  lt_cv_deplibs_check_method=pass_all
 
7182
  ;;
 
7183
 
 
7184
# This must be glibc/ELF.
 
7185
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7186
  lt_cv_deplibs_check_method=pass_all
 
7187
  ;;
 
7188
 
 
7189
netbsd*)
 
7190
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7191
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7192
  else
 
7193
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
7194
  fi
 
7195
  ;;
 
7196
 
 
7197
newos6*)
 
7198
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
7199
  lt_cv_file_magic_cmd=/usr/bin/file
 
7200
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7201
  ;;
 
7202
 
 
7203
*nto* | *qnx*)
 
7204
  lt_cv_deplibs_check_method=pass_all
 
7205
  ;;
 
7206
 
 
7207
openbsd*)
 
7208
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7209
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
7210
  else
 
7211
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7212
  fi
 
7213
  ;;
 
7214
 
 
7215
osf3* | osf4* | osf5*)
 
7216
  lt_cv_deplibs_check_method=pass_all
 
7217
  ;;
 
7218
 
 
7219
rdos*)
 
7220
  lt_cv_deplibs_check_method=pass_all
 
7221
  ;;
 
7222
 
 
7223
solaris*)
 
7224
  lt_cv_deplibs_check_method=pass_all
 
7225
  ;;
 
7226
 
 
7227
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7228
  lt_cv_deplibs_check_method=pass_all
 
7229
  ;;
 
7230
 
 
7231
sysv4 | sysv4.3*)
 
7232
  case $host_vendor in
 
7233
  motorola)
 
7234
    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]'
 
7235
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
7236
    ;;
 
7237
  ncr)
 
7238
    lt_cv_deplibs_check_method=pass_all
 
7239
    ;;
 
7240
  sequent)
 
7241
    lt_cv_file_magic_cmd='/bin/file'
 
7242
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
7243
    ;;
 
7244
  sni)
 
7245
    lt_cv_file_magic_cmd='/bin/file'
 
7246
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
7247
    lt_cv_file_magic_test_file=/lib/libc.so
 
7248
    ;;
 
7249
  siemens)
 
7250
    lt_cv_deplibs_check_method=pass_all
 
7251
    ;;
 
7252
  pc)
 
7253
    lt_cv_deplibs_check_method=pass_all
 
7254
    ;;
 
7255
  esac
 
7256
  ;;
 
7257
 
 
7258
tpf*)
 
7259
  lt_cv_deplibs_check_method=pass_all
 
7260
  ;;
 
7261
esac
 
7262
 
 
7263
fi
 
7264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
7265
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7266
 
 
7267
file_magic_glob=
 
7268
want_nocaseglob=no
 
7269
if test "$build" = "$host"; then
 
7270
  case $host_os in
 
7271
  mingw* | pw32*)
 
7272
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7273
      want_nocaseglob=yes
 
7274
    else
 
7275
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7276
    fi
 
7277
    ;;
 
7278
  esac
 
7279
fi
 
7280
 
 
7281
file_magic_cmd=$lt_cv_file_magic_cmd
 
7282
deplibs_check_method=$lt_cv_deplibs_check_method
 
7283
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
7284
 
 
7285
 
 
7286
 
 
7287
 
 
7288
 
 
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
 
 
7304
 
 
7305
 
 
7306
if test -n "$ac_tool_prefix"; then
 
7307
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7308
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7310
$as_echo_n "checking for $ac_word... " >&6; }
 
7311
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7312
  $as_echo_n "(cached) " >&6
 
7313
else
 
7314
  if test -n "$DLLTOOL"; then
 
7315
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7316
else
 
7317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7318
for as_dir in $PATH
 
7319
do
 
7320
  IFS=$as_save_IFS
 
7321
  test -z "$as_dir" && as_dir=.
 
7322
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7323
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7324
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7325
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7326
    break 2
 
7327
  fi
 
7328
done
 
7329
  done
 
7330
IFS=$as_save_IFS
 
7331
 
 
7332
fi
 
7333
fi
 
7334
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7335
if test -n "$DLLTOOL"; then
 
7336
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7337
$as_echo "$DLLTOOL" >&6; }
 
7338
else
 
7339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7340
$as_echo "no" >&6; }
 
7341
fi
 
7342
 
 
7343
 
 
7344
fi
 
7345
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7346
  ac_ct_DLLTOOL=$DLLTOOL
 
7347
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7348
set dummy dlltool; ac_word=$2
 
7349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7350
$as_echo_n "checking for $ac_word... " >&6; }
 
7351
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7352
  $as_echo_n "(cached) " >&6
 
7353
else
 
7354
  if test -n "$ac_ct_DLLTOOL"; then
 
7355
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7356
else
 
7357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7358
for as_dir in $PATH
 
7359
do
 
7360
  IFS=$as_save_IFS
 
7361
  test -z "$as_dir" && as_dir=.
 
7362
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7363
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7364
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7365
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7366
    break 2
 
7367
  fi
 
7368
done
 
7369
  done
 
7370
IFS=$as_save_IFS
 
7371
 
 
7372
fi
 
7373
fi
 
7374
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7375
if test -n "$ac_ct_DLLTOOL"; then
 
7376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7377
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7378
else
 
7379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7380
$as_echo "no" >&6; }
 
7381
fi
 
7382
 
 
7383
  if test "x$ac_ct_DLLTOOL" = x; then
 
7384
    DLLTOOL="false"
 
7385
  else
 
7386
    case $cross_compiling:$ac_tool_warned in
 
7387
yes:)
 
7388
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7389
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7390
ac_tool_warned=yes ;;
 
7391
esac
 
7392
    DLLTOOL=$ac_ct_DLLTOOL
 
7393
  fi
 
7394
else
 
7395
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7396
fi
 
7397
 
 
7398
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7399
 
 
7400
 
 
7401
 
 
7402
 
 
7403
 
 
7404
 
 
7405
 
 
7406
 
 
7407
 
 
7408
 
 
7409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7410
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7411
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7412
  $as_echo_n "(cached) " >&6
 
7413
else
 
7414
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7415
 
 
7416
case $host_os in
 
7417
cygwin* | mingw* | pw32* | cegcc*)
 
7418
  # two different shell functions defined in ltmain.sh
 
7419
  # decide which to use based on capabilities of $DLLTOOL
 
7420
  case `$DLLTOOL --help 2>&1` in
 
7421
  *--identify-strict*)
 
7422
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7423
    ;;
 
7424
  *)
 
7425
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7426
    ;;
 
7427
  esac
 
7428
  ;;
 
7429
*)
 
7430
  # fallback: assume linklib IS sharedlib
 
7431
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7432
  ;;
 
7433
esac
 
7434
 
 
7435
fi
 
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7437
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7438
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7439
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7440
 
 
7441
 
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
if test -n "$ac_tool_prefix"; then
 
7448
  for ac_prog in ar
 
7449
  do
 
7450
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7451
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7453
$as_echo_n "checking for $ac_word... " >&6; }
 
7454
if ${ac_cv_prog_AR+:} false; then :
 
7455
  $as_echo_n "(cached) " >&6
 
7456
else
 
7457
  if test -n "$AR"; then
 
7458
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7459
else
 
7460
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7461
for as_dir in $PATH
 
7462
do
 
7463
  IFS=$as_save_IFS
 
7464
  test -z "$as_dir" && as_dir=.
 
7465
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7466
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7467
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
7468
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7469
    break 2
 
7470
  fi
 
7471
done
 
7472
  done
 
7473
IFS=$as_save_IFS
 
7474
 
 
7475
fi
 
7476
fi
 
7477
AR=$ac_cv_prog_AR
 
7478
if test -n "$AR"; then
 
7479
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7480
$as_echo "$AR" >&6; }
 
7481
else
 
7482
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7483
$as_echo "no" >&6; }
 
7484
fi
 
7485
 
 
7486
 
 
7487
    test -n "$AR" && break
 
7488
  done
 
7489
fi
 
7490
if test -z "$AR"; then
 
7491
  ac_ct_AR=$AR
 
7492
  for ac_prog in ar
 
7493
do
 
7494
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7495
set dummy $ac_prog; ac_word=$2
 
7496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7497
$as_echo_n "checking for $ac_word... " >&6; }
 
7498
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
7499
  $as_echo_n "(cached) " >&6
 
7500
else
 
7501
  if test -n "$ac_ct_AR"; then
 
7502
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7503
else
 
7504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7505
for as_dir in $PATH
 
7506
do
 
7507
  IFS=$as_save_IFS
 
7508
  test -z "$as_dir" && as_dir=.
 
7509
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7510
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7511
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
7512
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7513
    break 2
 
7514
  fi
 
7515
done
 
7516
  done
 
7517
IFS=$as_save_IFS
 
7518
 
 
7519
fi
 
7520
fi
 
7521
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7522
if test -n "$ac_ct_AR"; then
 
7523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
7524
$as_echo "$ac_ct_AR" >&6; }
 
7525
else
 
7526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7527
$as_echo "no" >&6; }
 
7528
fi
 
7529
 
 
7530
 
 
7531
  test -n "$ac_ct_AR" && break
 
7532
done
 
7533
 
 
7534
  if test "x$ac_ct_AR" = x; then
 
7535
    AR="false"
 
7536
  else
 
7537
    case $cross_compiling:$ac_tool_warned in
 
7538
yes:)
 
7539
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7540
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7541
ac_tool_warned=yes ;;
 
7542
esac
 
7543
    AR=$ac_ct_AR
 
7544
  fi
 
7545
fi
 
7546
 
 
7547
: ${AR=ar}
 
7548
: ${AR_FLAGS=cru}
 
7549
 
 
7550
 
 
7551
 
 
7552
 
 
7553
 
 
7554
 
 
7555
 
 
7556
 
 
7557
 
 
7558
 
 
7559
 
 
7560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7561
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7562
if ${lt_cv_ar_at_file+:} false; then :
 
7563
  $as_echo_n "(cached) " >&6
 
7564
else
 
7565
  lt_cv_ar_at_file=no
 
7566
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7567
/* end confdefs.h.  */
 
7568
 
 
7569
int
 
7570
main ()
 
7571
{
 
7572
 
 
7573
  ;
 
7574
  return 0;
 
7575
}
 
7576
_ACEOF
 
7577
if ac_fn_c_try_compile "$LINENO"; then :
 
7578
  echo conftest.$ac_objext > conftest.lst
 
7579
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7580
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7581
  (eval $lt_ar_try) 2>&5
 
7582
  ac_status=$?
 
7583
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7584
  test $ac_status = 0; }
 
7585
      if test "$ac_status" -eq 0; then
 
7586
        # Ensure the archiver fails upon bogus file names.
 
7587
        rm -f conftest.$ac_objext libconftest.a
 
7588
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7589
  (eval $lt_ar_try) 2>&5
 
7590
  ac_status=$?
 
7591
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7592
  test $ac_status = 0; }
 
7593
        if test "$ac_status" -ne 0; then
 
7594
          lt_cv_ar_at_file=@
 
7595
        fi
 
7596
      fi
 
7597
      rm -f conftest.* libconftest.a
 
7598
 
 
7599
fi
 
7600
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7601
 
 
7602
fi
 
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7604
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7605
 
 
7606
if test "x$lt_cv_ar_at_file" = xno; then
 
7607
  archiver_list_spec=
 
7608
else
 
7609
  archiver_list_spec=$lt_cv_ar_at_file
 
7610
fi
 
7611
 
 
7612
 
 
7613
 
 
7614
 
 
7615
 
 
7616
 
 
7617
 
 
7618
if test -n "$ac_tool_prefix"; then
 
7619
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7620
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7622
$as_echo_n "checking for $ac_word... " >&6; }
 
7623
if ${ac_cv_prog_STRIP+:} false; then :
 
7624
  $as_echo_n "(cached) " >&6
 
7625
else
 
7626
  if test -n "$STRIP"; then
 
7627
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7628
else
 
7629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7630
for as_dir in $PATH
 
7631
do
 
7632
  IFS=$as_save_IFS
 
7633
  test -z "$as_dir" && as_dir=.
 
7634
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7635
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7636
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7638
    break 2
 
7639
  fi
 
7640
done
 
7641
  done
 
7642
IFS=$as_save_IFS
 
7643
 
 
7644
fi
 
7645
fi
 
7646
STRIP=$ac_cv_prog_STRIP
 
7647
if test -n "$STRIP"; then
 
7648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
7649
$as_echo "$STRIP" >&6; }
 
7650
else
 
7651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7652
$as_echo "no" >&6; }
 
7653
fi
 
7654
 
 
7655
 
 
7656
fi
 
7657
if test -z "$ac_cv_prog_STRIP"; then
 
7658
  ac_ct_STRIP=$STRIP
 
7659
  # Extract the first word of "strip", so it can be a program name with args.
 
7660
set dummy strip; ac_word=$2
 
7661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7662
$as_echo_n "checking for $ac_word... " >&6; }
 
7663
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
7664
  $as_echo_n "(cached) " >&6
 
7665
else
 
7666
  if test -n "$ac_ct_STRIP"; then
 
7667
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7668
else
 
7669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7670
for as_dir in $PATH
 
7671
do
 
7672
  IFS=$as_save_IFS
 
7673
  test -z "$as_dir" && as_dir=.
 
7674
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7675
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7676
    ac_cv_prog_ac_ct_STRIP="strip"
 
7677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7678
    break 2
 
7679
  fi
 
7680
done
 
7681
  done
 
7682
IFS=$as_save_IFS
 
7683
 
 
7684
fi
 
7685
fi
 
7686
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7687
if test -n "$ac_ct_STRIP"; then
 
7688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
7689
$as_echo "$ac_ct_STRIP" >&6; }
 
7690
else
 
7691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7692
$as_echo "no" >&6; }
 
7693
fi
 
7694
 
 
7695
  if test "x$ac_ct_STRIP" = x; then
 
7696
    STRIP=":"
 
7697
  else
 
7698
    case $cross_compiling:$ac_tool_warned in
 
7699
yes:)
 
7700
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7701
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7702
ac_tool_warned=yes ;;
 
7703
esac
 
7704
    STRIP=$ac_ct_STRIP
 
7705
  fi
 
7706
else
 
7707
  STRIP="$ac_cv_prog_STRIP"
 
7708
fi
 
7709
 
 
7710
test -z "$STRIP" && STRIP=:
 
7711
 
 
7712
 
 
7713
 
 
7714
 
 
7715
 
 
7716
 
 
7717
if test -n "$ac_tool_prefix"; then
 
7718
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7719
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7721
$as_echo_n "checking for $ac_word... " >&6; }
 
7722
if ${ac_cv_prog_RANLIB+:} false; then :
 
7723
  $as_echo_n "(cached) " >&6
 
7724
else
 
7725
  if test -n "$RANLIB"; then
 
7726
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7727
else
 
7728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7729
for as_dir in $PATH
 
7730
do
 
7731
  IFS=$as_save_IFS
 
7732
  test -z "$as_dir" && as_dir=.
 
7733
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7734
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7735
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7736
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7737
    break 2
 
7738
  fi
 
7739
done
 
7740
  done
 
7741
IFS=$as_save_IFS
 
7742
 
 
7743
fi
 
7744
fi
 
7745
RANLIB=$ac_cv_prog_RANLIB
 
7746
if test -n "$RANLIB"; then
 
7747
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
7748
$as_echo "$RANLIB" >&6; }
 
7749
else
 
7750
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7751
$as_echo "no" >&6; }
 
7752
fi
 
7753
 
 
7754
 
 
7755
fi
 
7756
if test -z "$ac_cv_prog_RANLIB"; then
 
7757
  ac_ct_RANLIB=$RANLIB
 
7758
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7759
set dummy ranlib; ac_word=$2
 
7760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7761
$as_echo_n "checking for $ac_word... " >&6; }
 
7762
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
7763
  $as_echo_n "(cached) " >&6
 
7764
else
 
7765
  if test -n "$ac_ct_RANLIB"; then
 
7766
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7767
else
 
7768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7769
for as_dir in $PATH
 
7770
do
 
7771
  IFS=$as_save_IFS
 
7772
  test -z "$as_dir" && as_dir=.
 
7773
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7774
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7775
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7776
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7777
    break 2
 
7778
  fi
 
7779
done
 
7780
  done
 
7781
IFS=$as_save_IFS
 
7782
 
 
7783
fi
 
7784
fi
 
7785
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7786
if test -n "$ac_ct_RANLIB"; then
 
7787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
7788
$as_echo "$ac_ct_RANLIB" >&6; }
 
7789
else
 
7790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7791
$as_echo "no" >&6; }
 
7792
fi
 
7793
 
 
7794
  if test "x$ac_ct_RANLIB" = x; then
 
7795
    RANLIB=":"
 
7796
  else
 
7797
    case $cross_compiling:$ac_tool_warned in
 
7798
yes:)
 
7799
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7800
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7801
ac_tool_warned=yes ;;
 
7802
esac
 
7803
    RANLIB=$ac_ct_RANLIB
 
7804
  fi
 
7805
else
 
7806
  RANLIB="$ac_cv_prog_RANLIB"
 
7807
fi
 
7808
 
 
7809
test -z "$RANLIB" && RANLIB=:
 
7810
 
 
7811
 
 
7812
 
 
7813
 
 
7814
 
 
7815
 
 
7816
# Determine commands to create old-style static archives.
 
7817
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7818
old_postinstall_cmds='chmod 644 $oldlib'
 
7819
old_postuninstall_cmds=
 
7820
 
 
7821
if test -n "$RANLIB"; then
 
7822
  case $host_os in
 
7823
  openbsd*)
 
7824
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
7825
    ;;
 
7826
  *)
 
7827
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
7828
    ;;
 
7829
  esac
 
7830
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
7831
fi
 
7832
 
 
7833
case $host_os in
 
7834
  darwin*)
 
7835
    lock_old_archive_extraction=yes ;;
 
7836
  *)
 
7837
    lock_old_archive_extraction=no ;;
 
7838
esac
 
7839
 
 
7840
 
 
7841
 
 
7842
 
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
 
 
7850
 
 
7851
 
 
7852
 
 
7853
 
 
7854
 
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
7862
 
 
7863
 
 
7864
 
 
7865
 
 
7866
 
 
7867
 
 
7868
 
 
7869
 
 
7870
 
 
7871
 
 
7872
 
 
7873
 
 
7874
 
 
7875
 
 
7876
 
 
7877
 
 
7878
# If no C compiler was specified, use CC.
 
7879
LTCC=${LTCC-"$CC"}
 
7880
 
 
7881
# If no C compiler flags were specified, use CFLAGS.
 
7882
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7883
 
 
7884
# Allow CC to be a program name with arguments.
 
7885
compiler=$CC
 
7886
 
 
7887
 
 
7888
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
7889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
7890
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
7891
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
7892
  $as_echo_n "(cached) " >&6
 
7893
else
 
7894
 
 
7895
# These are sane defaults that work on at least a few old systems.
 
7896
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
7897
 
 
7898
# Character class describing NM global symbol codes.
 
7899
symcode='[BCDEGRST]'
 
7900
 
 
7901
# Regexp to match symbols that can be accessed directly from C.
 
7902
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
7903
 
 
7904
# Define system-specific variables.
 
7905
case $host_os in
 
7906
aix*)
 
7907
  symcode='[BCDT]'
 
7908
  ;;
 
7909
cygwin* | mingw* | pw32* | cegcc*)
 
7910
  symcode='[ABCDGISTW]'
 
7911
  ;;
 
7912
hpux*)
 
7913
  if test "$host_cpu" = ia64; then
 
7914
    symcode='[ABCDEGRST]'
 
7915
  fi
 
7916
  ;;
 
7917
irix* | nonstopux*)
 
7918
  symcode='[BCDEGRST]'
 
7919
  ;;
 
7920
osf*)
 
7921
  symcode='[BCDEGQRST]'
 
7922
  ;;
 
7923
solaris*)
 
7924
  symcode='[BDRT]'
 
7925
  ;;
 
7926
sco3.2v5*)
 
7927
  symcode='[DT]'
 
7928
  ;;
 
7929
sysv4.2uw2*)
 
7930
  symcode='[DT]'
 
7931
  ;;
 
7932
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
7933
  symcode='[ABDT]'
 
7934
  ;;
 
7935
sysv4)
 
7936
  symcode='[DFNSTU]'
 
7937
  ;;
 
7938
esac
 
7939
 
 
7940
# If we're using GNU nm, then use its standard symbol codes.
 
7941
case `$NM -V 2>&1` in
 
7942
*GNU* | *'with BFD'*)
 
7943
  symcode='[ABCDGIRSTW]' ;;
 
7944
esac
 
7945
 
 
7946
# Transform an extracted symbol line into a proper C declaration.
 
7947
# Some systems (esp. on ia64) link data and code symbols differently,
 
7948
# so use this general approach.
 
7949
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7950
 
 
7951
# Transform an extracted symbol line into symbol name and symbol address
 
7952
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7953
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'"
 
7954
 
 
7955
# Handle CRLF in mingw tool chain
 
7956
opt_cr=
 
7957
case $build_os in
 
7958
mingw*)
 
7959
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7960
  ;;
 
7961
esac
 
7962
 
 
7963
# Try without a prefix underscore, then with it.
 
7964
for ac_symprfx in "" "_"; do
 
7965
 
 
7966
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
7967
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
7968
 
 
7969
  # Write the raw and C identifiers.
 
7970
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7971
    # Fake it for dumpbin and say T for any non-static function
 
7972
    # and D for any global variable.
 
7973
    # Also find C++ and __fastcall symbols from MSVC++,
 
7974
    # which start with @ or ?.
 
7975
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7976
"     {last_section=section; section=\$ 3};"\
 
7977
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
7978
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7979
"     \$ 0!~/External *\|/{next};"\
 
7980
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7981
"     {if(hide[section]) next};"\
 
7982
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7983
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7984
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7985
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7986
"     ' prfx=^$ac_symprfx"
 
7987
  else
 
7988
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7989
  fi
 
7990
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
7991
 
 
7992
  # Check to see that the pipe works correctly.
 
7993
  pipe_works=no
 
7994
 
 
7995
  rm -f conftest*
 
7996
  cat > conftest.$ac_ext <<_LT_EOF
 
7997
#ifdef __cplusplus
 
7998
extern "C" {
 
7999
#endif
 
8000
char nm_test_var;
 
8001
void nm_test_func(void);
 
8002
void nm_test_func(void){}
 
8003
#ifdef __cplusplus
 
8004
}
 
8005
#endif
 
8006
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8007
_LT_EOF
 
8008
 
 
8009
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8010
  (eval $ac_compile) 2>&5
 
8011
  ac_status=$?
 
8012
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8013
  test $ac_status = 0; }; then
 
8014
    # Now try to grab the symbols.
 
8015
    nlist=conftest.nm
 
8016
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
8017
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
8018
  ac_status=$?
 
8019
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8020
  test $ac_status = 0; } && test -s "$nlist"; then
 
8021
      # Try sorting and uniquifying the output.
 
8022
      if sort "$nlist" | uniq > "$nlist"T; then
 
8023
        mv -f "$nlist"T "$nlist"
 
8024
      else
 
8025
        rm -f "$nlist"T
 
8026
      fi
 
8027
 
 
8028
      # Make sure that we snagged all the symbols we need.
 
8029
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8030
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8031
          cat <<_LT_EOF > conftest.$ac_ext
 
8032
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
8033
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
8034
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
8035
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
8036
# define LT_DLSYM_CONST
 
8037
#elif defined(__osf__)
 
8038
/* This system does not cope well with relocations in const data.  */
 
8039
# define LT_DLSYM_CONST
 
8040
#else
 
8041
# define LT_DLSYM_CONST const
 
8042
#endif
 
8043
 
 
8044
#ifdef __cplusplus
 
8045
extern "C" {
 
8046
#endif
 
8047
 
 
8048
_LT_EOF
 
8049
          # Now generate the symbol file.
 
8050
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8051
 
 
8052
          cat <<_LT_EOF >> conftest.$ac_ext
 
8053
 
 
8054
/* The mapping between symbol names and symbols.  */
 
8055
LT_DLSYM_CONST struct {
 
8056
  const char *name;
 
8057
  void       *address;
 
8058
}
 
8059
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8060
{
 
8061
  { "@PROGRAM@", (void *) 0 },
 
8062
_LT_EOF
 
8063
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8064
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8065
  {0, (void *) 0}
 
8066
};
 
8067
 
 
8068
/* This works around a problem in FreeBSD linker */
 
8069
#ifdef FREEBSD_WORKAROUND
 
8070
static const void *lt_preloaded_setup() {
 
8071
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8072
}
 
8073
#endif
 
8074
 
 
8075
#ifdef __cplusplus
 
8076
}
 
8077
#endif
 
8078
_LT_EOF
 
8079
          # Now try linking the two files.
 
8080
          mv conftest.$ac_objext conftstm.$ac_objext
 
8081
          lt_globsym_save_LIBS=$LIBS
 
8082
          lt_globsym_save_CFLAGS=$CFLAGS
 
8083
          LIBS="conftstm.$ac_objext"
 
8084
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8085
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8086
  (eval $ac_link) 2>&5
 
8087
  ac_status=$?
 
8088
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8089
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8090
            pipe_works=yes
 
8091
          fi
 
8092
          LIBS=$lt_globsym_save_LIBS
 
8093
          CFLAGS=$lt_globsym_save_CFLAGS
 
8094
        else
 
8095
          echo "cannot find nm_test_func in $nlist" >&5
 
8096
        fi
 
8097
      else
 
8098
        echo "cannot find nm_test_var in $nlist" >&5
 
8099
      fi
 
8100
    else
 
8101
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8102
    fi
 
8103
  else
 
8104
    echo "$progname: failed program was:" >&5
 
8105
    cat conftest.$ac_ext >&5
 
8106
  fi
 
8107
  rm -rf conftest* conftst*
 
8108
 
 
8109
  # Do not use the global_symbol_pipe unless it works.
 
8110
  if test "$pipe_works" = yes; then
 
8111
    break
 
8112
  else
 
8113
    lt_cv_sys_global_symbol_pipe=
 
8114
  fi
 
8115
done
 
8116
 
 
8117
fi
 
8118
 
 
8119
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8120
  lt_cv_sys_global_symbol_to_cdecl=
 
8121
fi
 
8122
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
8123
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
8124
$as_echo "failed" >&6; }
 
8125
else
 
8126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
8127
$as_echo "ok" >&6; }
 
8128
fi
 
8129
 
 
8130
# Response file support.
 
8131
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8132
  nm_file_list_spec='@'
 
8133
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
8134
  nm_file_list_spec='@'
 
8135
fi
 
8136
 
 
8137
 
 
8138
 
 
8139
 
 
8140
 
 
8141
 
 
8142
 
 
8143
 
 
8144
 
 
8145
 
 
8146
 
 
8147
 
 
8148
 
 
8149
 
 
8150
 
 
8151
 
 
8152
 
 
8153
 
 
8154
 
 
8155
 
 
8156
 
 
8157
 
 
8158
 
 
8159
 
 
8160
 
 
8161
 
 
8162
 
 
8163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
8164
$as_echo_n "checking for sysroot... " >&6; }
 
8165
 
 
8166
# Check whether --with-sysroot was given.
 
8167
if test "${with_sysroot+set}" = set; then :
 
8168
  withval=$with_sysroot;
 
8169
else
 
8170
  with_sysroot=no
 
8171
fi
 
8172
 
 
8173
 
 
8174
lt_sysroot=
 
8175
case ${with_sysroot} in #(
 
8176
 yes)
 
8177
   if test "$GCC" = yes; then
 
8178
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
8179
   fi
 
8180
   ;; #(
 
8181
 /*)
 
8182
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
8183
   ;; #(
 
8184
 no|'')
 
8185
   ;; #(
 
8186
 *)
 
8187
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8188
$as_echo "${with_sysroot}" >&6; }
 
8189
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8190
   ;;
 
8191
esac
 
8192
 
 
8193
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8194
$as_echo "${lt_sysroot:-no}" >&6; }
 
8195
 
 
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
# Check whether --enable-libtool-lock was given.
 
8201
if test "${enable_libtool_lock+set}" = set; then :
 
8202
  enableval=$enable_libtool_lock;
 
8203
fi
 
8204
 
 
8205
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8206
 
 
8207
# Some flags need to be propagated to the compiler or linker for good
 
8208
# libtool support.
 
8209
case $host in
 
8210
ia64-*-hpux*)
 
8211
  # Find out which ABI we are using.
 
8212
  echo 'int i;' > conftest.$ac_ext
 
8213
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8214
  (eval $ac_compile) 2>&5
 
8215
  ac_status=$?
 
8216
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8217
  test $ac_status = 0; }; then
 
8218
    case `/usr/bin/file conftest.$ac_objext` in
 
8219
      *ELF-32*)
 
8220
        HPUX_IA64_MODE="32"
 
8221
        ;;
 
8222
      *ELF-64*)
 
8223
        HPUX_IA64_MODE="64"
 
8224
        ;;
 
8225
    esac
 
8226
  fi
 
8227
  rm -rf conftest*
 
8228
  ;;
 
8229
*-*-irix6*)
 
8230
  # Find out which ABI we are using.
 
8231
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
8232
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8233
  (eval $ac_compile) 2>&5
 
8234
  ac_status=$?
 
8235
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8236
  test $ac_status = 0; }; then
 
8237
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8238
      case `/usr/bin/file conftest.$ac_objext` in
 
8239
        *32-bit*)
 
8240
          LD="${LD-ld} -melf32bsmip"
 
8241
          ;;
 
8242
        *N32*)
 
8243
          LD="${LD-ld} -melf32bmipn32"
 
8244
          ;;
 
8245
        *64-bit*)
 
8246
          LD="${LD-ld} -melf64bmip"
 
8247
        ;;
 
8248
      esac
 
8249
    else
 
8250
      case `/usr/bin/file conftest.$ac_objext` in
 
8251
        *32-bit*)
 
8252
          LD="${LD-ld} -32"
 
8253
          ;;
 
8254
        *N32*)
 
8255
          LD="${LD-ld} -n32"
 
8256
          ;;
 
8257
        *64-bit*)
 
8258
          LD="${LD-ld} -64"
 
8259
          ;;
 
8260
      esac
 
8261
    fi
 
8262
  fi
 
8263
  rm -rf conftest*
 
8264
  ;;
 
8265
 
 
8266
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8267
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8268
  # Find out which ABI we are using.
 
8269
  echo 'int i;' > conftest.$ac_ext
 
8270
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8271
  (eval $ac_compile) 2>&5
 
8272
  ac_status=$?
 
8273
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8274
  test $ac_status = 0; }; then
 
8275
    case `/usr/bin/file conftest.o` in
 
8276
      *32-bit*)
 
8277
        case $host in
 
8278
          x86_64-*kfreebsd*-gnu)
 
8279
            LD="${LD-ld} -m elf_i386_fbsd"
 
8280
            ;;
 
8281
          x86_64-*linux*)
 
8282
            LD="${LD-ld} -m elf_i386"
 
8283
            ;;
 
8284
          ppc64-*linux*|powerpc64-*linux*)
 
8285
            LD="${LD-ld} -m elf32ppclinux"
 
8286
            ;;
 
8287
          s390x-*linux*)
 
8288
            LD="${LD-ld} -m elf_s390"
 
8289
            ;;
 
8290
          sparc64-*linux*)
 
8291
            LD="${LD-ld} -m elf32_sparc"
 
8292
            ;;
 
8293
        esac
 
8294
        ;;
 
8295
      *64-bit*)
 
8296
        case $host in
 
8297
          x86_64-*kfreebsd*-gnu)
 
8298
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8299
            ;;
 
8300
          x86_64-*linux*)
 
8301
            LD="${LD-ld} -m elf_x86_64"
 
8302
            ;;
 
8303
          ppc*-*linux*|powerpc*-*linux*)
 
8304
            LD="${LD-ld} -m elf64ppc"
 
8305
            ;;
 
8306
          s390*-*linux*|s390*-*tpf*)
 
8307
            LD="${LD-ld} -m elf64_s390"
 
8308
            ;;
 
8309
          sparc*-*linux*)
 
8310
            LD="${LD-ld} -m elf64_sparc"
 
8311
            ;;
 
8312
        esac
 
8313
        ;;
 
8314
    esac
 
8315
  fi
 
8316
  rm -rf conftest*
 
8317
  ;;
 
8318
 
 
8319
*-*-sco3.2v5*)
 
8320
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8321
  SAVE_CFLAGS="$CFLAGS"
 
8322
  CFLAGS="$CFLAGS -belf"
 
8323
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
8324
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8325
if ${lt_cv_cc_needs_belf+:} false; then :
 
8326
  $as_echo_n "(cached) " >&6
 
8327
else
 
8328
  ac_ext=c
 
8329
ac_cpp='$CPP $CPPFLAGS'
 
8330
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8331
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8332
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8333
 
 
8334
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8335
/* end confdefs.h.  */
 
8336
 
 
8337
int
 
8338
main ()
 
8339
{
 
8340
 
 
8341
  ;
 
8342
  return 0;
 
8343
}
 
8344
_ACEOF
 
8345
if ac_fn_c_try_link "$LINENO"; then :
 
8346
  lt_cv_cc_needs_belf=yes
 
8347
else
 
8348
  lt_cv_cc_needs_belf=no
 
8349
fi
 
8350
rm -f core conftest.err conftest.$ac_objext \
 
8351
    conftest$ac_exeext conftest.$ac_ext
 
8352
     ac_ext=c
 
8353
ac_cpp='$CPP $CPPFLAGS'
 
8354
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8355
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8356
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8357
 
 
8358
fi
 
8359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
8360
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8361
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8362
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8363
    CFLAGS="$SAVE_CFLAGS"
 
8364
  fi
 
8365
  ;;
 
8366
*-*solaris*)
 
8367
  # Find out which ABI we are using.
 
8368
  echo 'int i;' > conftest.$ac_ext
 
8369
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8370
  (eval $ac_compile) 2>&5
 
8371
  ac_status=$?
 
8372
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8373
  test $ac_status = 0; }; then
 
8374
    case `/usr/bin/file conftest.o` in
 
8375
    *64-bit*)
 
8376
      case $lt_cv_prog_gnu_ld in
 
8377
      yes*)
 
8378
        case $host in
 
8379
        i?86-*-solaris*)
 
8380
          LD="${LD-ld} -m elf_x86_64"
 
8381
          ;;
 
8382
        sparc*-*-solaris*)
 
8383
          LD="${LD-ld} -m elf64_sparc"
 
8384
          ;;
 
8385
        esac
 
8386
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
8387
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
8388
          LD="${LD-ld}_sol2"
 
8389
        fi
 
8390
        ;;
 
8391
      *)
 
8392
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8393
          LD="${LD-ld} -64"
 
8394
        fi
 
8395
        ;;
 
8396
      esac
 
8397
      ;;
 
8398
    esac
 
8399
  fi
 
8400
  rm -rf conftest*
 
8401
  ;;
 
8402
esac
 
8403
 
 
8404
need_locks="$enable_libtool_lock"
 
8405
 
 
8406
if test -n "$ac_tool_prefix"; then
 
8407
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8408
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8410
$as_echo_n "checking for $ac_word... " >&6; }
 
8411
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8412
  $as_echo_n "(cached) " >&6
 
8413
else
 
8414
  if test -n "$MANIFEST_TOOL"; then
 
8415
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8416
else
 
8417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8418
for as_dir in $PATH
 
8419
do
 
8420
  IFS=$as_save_IFS
 
8421
  test -z "$as_dir" && as_dir=.
 
8422
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8423
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8424
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8425
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8426
    break 2
 
8427
  fi
 
8428
done
 
8429
  done
 
8430
IFS=$as_save_IFS
 
8431
 
 
8432
fi
 
8433
fi
 
8434
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8435
if test -n "$MANIFEST_TOOL"; then
 
8436
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8437
$as_echo "$MANIFEST_TOOL" >&6; }
 
8438
else
 
8439
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8440
$as_echo "no" >&6; }
 
8441
fi
 
8442
 
 
8443
 
 
8444
fi
 
8445
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8446
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8447
  # Extract the first word of "mt", so it can be a program name with args.
 
8448
set dummy mt; ac_word=$2
 
8449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8450
$as_echo_n "checking for $ac_word... " >&6; }
 
8451
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8452
  $as_echo_n "(cached) " >&6
 
8453
else
 
8454
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8455
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8456
else
 
8457
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8458
for as_dir in $PATH
 
8459
do
 
8460
  IFS=$as_save_IFS
 
8461
  test -z "$as_dir" && as_dir=.
 
8462
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8463
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8464
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8465
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8466
    break 2
 
8467
  fi
 
8468
done
 
8469
  done
 
8470
IFS=$as_save_IFS
 
8471
 
 
8472
fi
 
8473
fi
 
8474
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8475
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8477
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8478
else
 
8479
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8480
$as_echo "no" >&6; }
 
8481
fi
 
8482
 
 
8483
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8484
    MANIFEST_TOOL=":"
 
8485
  else
 
8486
    case $cross_compiling:$ac_tool_warned in
 
8487
yes:)
 
8488
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8489
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8490
ac_tool_warned=yes ;;
 
8491
esac
 
8492
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8493
  fi
 
8494
else
 
8495
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8496
fi
 
8497
 
 
8498
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8500
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8501
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8502
  $as_echo_n "(cached) " >&6
 
8503
else
 
8504
  lt_cv_path_mainfest_tool=no
 
8505
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8506
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8507
  cat conftest.err >&5
 
8508
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8509
    lt_cv_path_mainfest_tool=yes
 
8510
  fi
 
8511
  rm -f conftest*
 
8512
fi
 
8513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8514
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8515
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8516
  MANIFEST_TOOL=:
 
8517
fi
 
8518
 
 
8519
 
 
8520
 
 
8521
 
 
8522
 
 
8523
 
 
8524
  case $host_os in
 
8525
    rhapsody* | darwin*)
 
8526
    if test -n "$ac_tool_prefix"; then
 
8527
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8528
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8530
$as_echo_n "checking for $ac_word... " >&6; }
 
8531
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
8532
  $as_echo_n "(cached) " >&6
 
8533
else
 
8534
  if test -n "$DSYMUTIL"; then
 
8535
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8536
else
 
8537
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8538
for as_dir in $PATH
 
8539
do
 
8540
  IFS=$as_save_IFS
 
8541
  test -z "$as_dir" && as_dir=.
 
8542
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8543
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8544
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8545
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8546
    break 2
 
8547
  fi
 
8548
done
 
8549
  done
 
8550
IFS=$as_save_IFS
 
8551
 
 
8552
fi
 
8553
fi
 
8554
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8555
if test -n "$DSYMUTIL"; then
 
8556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
8557
$as_echo "$DSYMUTIL" >&6; }
 
8558
else
 
8559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8560
$as_echo "no" >&6; }
 
8561
fi
 
8562
 
 
8563
 
 
8564
fi
 
8565
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8566
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8567
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8568
set dummy dsymutil; ac_word=$2
 
8569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8570
$as_echo_n "checking for $ac_word... " >&6; }
 
8571
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
8572
  $as_echo_n "(cached) " >&6
 
8573
else
 
8574
  if test -n "$ac_ct_DSYMUTIL"; then
 
8575
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8576
else
 
8577
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8578
for as_dir in $PATH
 
8579
do
 
8580
  IFS=$as_save_IFS
 
8581
  test -z "$as_dir" && as_dir=.
 
8582
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8583
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8584
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8585
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8586
    break 2
 
8587
  fi
 
8588
done
 
8589
  done
 
8590
IFS=$as_save_IFS
 
8591
 
 
8592
fi
 
8593
fi
 
8594
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8595
if test -n "$ac_ct_DSYMUTIL"; then
 
8596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
8597
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
8598
else
 
8599
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8600
$as_echo "no" >&6; }
 
8601
fi
 
8602
 
 
8603
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8604
    DSYMUTIL=":"
 
8605
  else
 
8606
    case $cross_compiling:$ac_tool_warned in
 
8607
yes:)
 
8608
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8609
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8610
ac_tool_warned=yes ;;
 
8611
esac
 
8612
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8613
  fi
 
8614
else
 
8615
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8616
fi
 
8617
 
 
8618
    if test -n "$ac_tool_prefix"; then
 
8619
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8620
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8622
$as_echo_n "checking for $ac_word... " >&6; }
 
8623
if ${ac_cv_prog_NMEDIT+:} false; then :
 
8624
  $as_echo_n "(cached) " >&6
 
8625
else
 
8626
  if test -n "$NMEDIT"; then
 
8627
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8628
else
 
8629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8630
for as_dir in $PATH
 
8631
do
 
8632
  IFS=$as_save_IFS
 
8633
  test -z "$as_dir" && as_dir=.
 
8634
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8635
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8636
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8638
    break 2
 
8639
  fi
 
8640
done
 
8641
  done
 
8642
IFS=$as_save_IFS
 
8643
 
 
8644
fi
 
8645
fi
 
8646
NMEDIT=$ac_cv_prog_NMEDIT
 
8647
if test -n "$NMEDIT"; then
 
8648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
8649
$as_echo "$NMEDIT" >&6; }
 
8650
else
 
8651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8652
$as_echo "no" >&6; }
 
8653
fi
 
8654
 
 
8655
 
 
8656
fi
 
8657
if test -z "$ac_cv_prog_NMEDIT"; then
 
8658
  ac_ct_NMEDIT=$NMEDIT
 
8659
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8660
set dummy nmedit; ac_word=$2
 
8661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8662
$as_echo_n "checking for $ac_word... " >&6; }
 
8663
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
8664
  $as_echo_n "(cached) " >&6
 
8665
else
 
8666
  if test -n "$ac_ct_NMEDIT"; then
 
8667
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8668
else
 
8669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8670
for as_dir in $PATH
 
8671
do
 
8672
  IFS=$as_save_IFS
 
8673
  test -z "$as_dir" && as_dir=.
 
8674
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8675
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8676
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8678
    break 2
 
8679
  fi
 
8680
done
 
8681
  done
 
8682
IFS=$as_save_IFS
 
8683
 
 
8684
fi
 
8685
fi
 
8686
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8687
if test -n "$ac_ct_NMEDIT"; then
 
8688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
8689
$as_echo "$ac_ct_NMEDIT" >&6; }
 
8690
else
 
8691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8692
$as_echo "no" >&6; }
 
8693
fi
 
8694
 
 
8695
  if test "x$ac_ct_NMEDIT" = x; then
 
8696
    NMEDIT=":"
 
8697
  else
 
8698
    case $cross_compiling:$ac_tool_warned in
 
8699
yes:)
 
8700
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8701
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8702
ac_tool_warned=yes ;;
 
8703
esac
 
8704
    NMEDIT=$ac_ct_NMEDIT
 
8705
  fi
 
8706
else
 
8707
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8708
fi
 
8709
 
 
8710
    if test -n "$ac_tool_prefix"; then
 
8711
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8712
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8714
$as_echo_n "checking for $ac_word... " >&6; }
 
8715
if ${ac_cv_prog_LIPO+:} false; then :
 
8716
  $as_echo_n "(cached) " >&6
 
8717
else
 
8718
  if test -n "$LIPO"; then
 
8719
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8720
else
 
8721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8722
for as_dir in $PATH
 
8723
do
 
8724
  IFS=$as_save_IFS
 
8725
  test -z "$as_dir" && as_dir=.
 
8726
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8727
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8728
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8729
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8730
    break 2
 
8731
  fi
 
8732
done
 
8733
  done
 
8734
IFS=$as_save_IFS
 
8735
 
 
8736
fi
 
8737
fi
 
8738
LIPO=$ac_cv_prog_LIPO
 
8739
if test -n "$LIPO"; then
 
8740
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8741
$as_echo "$LIPO" >&6; }
 
8742
else
 
8743
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8744
$as_echo "no" >&6; }
 
8745
fi
 
8746
 
 
8747
 
 
8748
fi
 
8749
if test -z "$ac_cv_prog_LIPO"; then
 
8750
  ac_ct_LIPO=$LIPO
 
8751
  # Extract the first word of "lipo", so it can be a program name with args.
 
8752
set dummy lipo; ac_word=$2
 
8753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8754
$as_echo_n "checking for $ac_word... " >&6; }
 
8755
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
8756
  $as_echo_n "(cached) " >&6
 
8757
else
 
8758
  if test -n "$ac_ct_LIPO"; then
 
8759
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8760
else
 
8761
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8762
for as_dir in $PATH
 
8763
do
 
8764
  IFS=$as_save_IFS
 
8765
  test -z "$as_dir" && as_dir=.
 
8766
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8767
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8768
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8769
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8770
    break 2
 
8771
  fi
 
8772
done
 
8773
  done
 
8774
IFS=$as_save_IFS
 
8775
 
 
8776
fi
 
8777
fi
 
8778
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8779
if test -n "$ac_ct_LIPO"; then
 
8780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
8781
$as_echo "$ac_ct_LIPO" >&6; }
 
8782
else
 
8783
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8784
$as_echo "no" >&6; }
 
8785
fi
 
8786
 
 
8787
  if test "x$ac_ct_LIPO" = x; then
 
8788
    LIPO=":"
 
8789
  else
 
8790
    case $cross_compiling:$ac_tool_warned in
 
8791
yes:)
 
8792
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8793
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8794
ac_tool_warned=yes ;;
 
8795
esac
 
8796
    LIPO=$ac_ct_LIPO
 
8797
  fi
 
8798
else
 
8799
  LIPO="$ac_cv_prog_LIPO"
 
8800
fi
 
8801
 
 
8802
    if test -n "$ac_tool_prefix"; then
 
8803
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8804
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8806
$as_echo_n "checking for $ac_word... " >&6; }
 
8807
if ${ac_cv_prog_OTOOL+:} false; then :
 
8808
  $as_echo_n "(cached) " >&6
 
8809
else
 
8810
  if test -n "$OTOOL"; then
 
8811
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8812
else
 
8813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8814
for as_dir in $PATH
 
8815
do
 
8816
  IFS=$as_save_IFS
 
8817
  test -z "$as_dir" && as_dir=.
 
8818
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8819
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8820
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8821
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8822
    break 2
 
8823
  fi
 
8824
done
 
8825
  done
 
8826
IFS=$as_save_IFS
 
8827
 
 
8828
fi
 
8829
fi
 
8830
OTOOL=$ac_cv_prog_OTOOL
 
8831
if test -n "$OTOOL"; then
 
8832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
8833
$as_echo "$OTOOL" >&6; }
 
8834
else
 
8835
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8836
$as_echo "no" >&6; }
 
8837
fi
 
8838
 
 
8839
 
 
8840
fi
 
8841
if test -z "$ac_cv_prog_OTOOL"; then
 
8842
  ac_ct_OTOOL=$OTOOL
 
8843
  # Extract the first word of "otool", so it can be a program name with args.
 
8844
set dummy otool; ac_word=$2
 
8845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8846
$as_echo_n "checking for $ac_word... " >&6; }
 
8847
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
8848
  $as_echo_n "(cached) " >&6
 
8849
else
 
8850
  if test -n "$ac_ct_OTOOL"; then
 
8851
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8852
else
 
8853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8854
for as_dir in $PATH
 
8855
do
 
8856
  IFS=$as_save_IFS
 
8857
  test -z "$as_dir" && as_dir=.
 
8858
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8859
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8860
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8861
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8862
    break 2
 
8863
  fi
 
8864
done
 
8865
  done
 
8866
IFS=$as_save_IFS
 
8867
 
 
8868
fi
 
8869
fi
 
8870
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8871
if test -n "$ac_ct_OTOOL"; then
 
8872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
8873
$as_echo "$ac_ct_OTOOL" >&6; }
 
8874
else
 
8875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8876
$as_echo "no" >&6; }
 
8877
fi
 
8878
 
 
8879
  if test "x$ac_ct_OTOOL" = x; then
 
8880
    OTOOL=":"
 
8881
  else
 
8882
    case $cross_compiling:$ac_tool_warned in
 
8883
yes:)
 
8884
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8885
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8886
ac_tool_warned=yes ;;
 
8887
esac
 
8888
    OTOOL=$ac_ct_OTOOL
 
8889
  fi
 
8890
else
 
8891
  OTOOL="$ac_cv_prog_OTOOL"
 
8892
fi
 
8893
 
 
8894
    if test -n "$ac_tool_prefix"; then
 
8895
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8896
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8898
$as_echo_n "checking for $ac_word... " >&6; }
 
8899
if ${ac_cv_prog_OTOOL64+:} false; then :
 
8900
  $as_echo_n "(cached) " >&6
 
8901
else
 
8902
  if test -n "$OTOOL64"; then
 
8903
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8904
else
 
8905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8906
for as_dir in $PATH
 
8907
do
 
8908
  IFS=$as_save_IFS
 
8909
  test -z "$as_dir" && as_dir=.
 
8910
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8911
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8912
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8913
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8914
    break 2
 
8915
  fi
 
8916
done
 
8917
  done
 
8918
IFS=$as_save_IFS
 
8919
 
 
8920
fi
 
8921
fi
 
8922
OTOOL64=$ac_cv_prog_OTOOL64
 
8923
if test -n "$OTOOL64"; then
 
8924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
8925
$as_echo "$OTOOL64" >&6; }
 
8926
else
 
8927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8928
$as_echo "no" >&6; }
 
8929
fi
 
8930
 
 
8931
 
 
8932
fi
 
8933
if test -z "$ac_cv_prog_OTOOL64"; then
 
8934
  ac_ct_OTOOL64=$OTOOL64
 
8935
  # Extract the first word of "otool64", so it can be a program name with args.
 
8936
set dummy otool64; ac_word=$2
 
8937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8938
$as_echo_n "checking for $ac_word... " >&6; }
 
8939
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
8940
  $as_echo_n "(cached) " >&6
 
8941
else
 
8942
  if test -n "$ac_ct_OTOOL64"; then
 
8943
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8944
else
 
8945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8946
for as_dir in $PATH
 
8947
do
 
8948
  IFS=$as_save_IFS
 
8949
  test -z "$as_dir" && as_dir=.
 
8950
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8951
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8952
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8953
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8954
    break 2
 
8955
  fi
 
8956
done
 
8957
  done
 
8958
IFS=$as_save_IFS
 
8959
 
 
8960
fi
 
8961
fi
 
8962
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8963
if test -n "$ac_ct_OTOOL64"; then
 
8964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
8965
$as_echo "$ac_ct_OTOOL64" >&6; }
 
8966
else
 
8967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8968
$as_echo "no" >&6; }
 
8969
fi
 
8970
 
 
8971
  if test "x$ac_ct_OTOOL64" = x; then
 
8972
    OTOOL64=":"
 
8973
  else
 
8974
    case $cross_compiling:$ac_tool_warned in
 
8975
yes:)
 
8976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8978
ac_tool_warned=yes ;;
 
8979
esac
 
8980
    OTOOL64=$ac_ct_OTOOL64
 
8981
  fi
 
8982
else
 
8983
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8984
fi
 
8985
 
 
8986
 
 
8987
 
 
8988
 
 
8989
 
 
8990
 
 
8991
 
 
8992
 
 
8993
 
 
8994
 
 
8995
 
 
8996
 
 
8997
 
 
8998
 
 
8999
 
 
9000
 
 
9001
 
 
9002
 
 
9003
 
 
9004
 
 
9005
 
 
9006
 
 
9007
 
 
9008
 
 
9009
 
 
9010
 
 
9011
 
 
9012
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9013
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9014
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
9015
  $as_echo_n "(cached) " >&6
 
9016
else
 
9017
  lt_cv_apple_cc_single_mod=no
 
9018
      if test -z "${LT_MULTI_MODULE}"; then
 
9019
        # By default we will add the -single_module flag. You can override
 
9020
        # by either setting the environment variable LT_MULTI_MODULE
 
9021
        # non-empty at configure time, or by adding -multi_module to the
 
9022
        # link flags.
 
9023
        rm -rf libconftest.dylib*
 
9024
        echo "int foo(void){return 1;}" > conftest.c
 
9025
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9026
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9027
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9028
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9029
        _lt_result=$?
 
9030
        # If there is a non-empty error log, and "single_module"
 
9031
        # appears in it, assume the flag caused a linker warning
 
9032
        if test -s conftest.err && $GREP single_module conftest.err; then
 
9033
          cat conftest.err >&5
 
9034
        # Otherwise, if the output was created with a 0 exit code from
 
9035
        # the compiler, it worked.
 
9036
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
9037
          lt_cv_apple_cc_single_mod=yes
 
9038
        else
 
9039
          cat conftest.err >&5
 
9040
        fi
 
9041
        rm -rf libconftest.dylib*
 
9042
        rm -f conftest.*
 
9043
      fi
 
9044
fi
 
9045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9046
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9047
 
 
9048
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9049
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9050
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
9051
  $as_echo_n "(cached) " >&6
 
9052
else
 
9053
  lt_cv_ld_exported_symbols_list=no
 
9054
      save_LDFLAGS=$LDFLAGS
 
9055
      echo "_main" > conftest.sym
 
9056
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9057
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9058
/* end confdefs.h.  */
 
9059
 
 
9060
int
 
9061
main ()
 
9062
{
 
9063
 
 
9064
  ;
 
9065
  return 0;
 
9066
}
 
9067
_ACEOF
 
9068
if ac_fn_c_try_link "$LINENO"; then :
 
9069
  lt_cv_ld_exported_symbols_list=yes
 
9070
else
 
9071
  lt_cv_ld_exported_symbols_list=no
 
9072
fi
 
9073
rm -f core conftest.err conftest.$ac_objext \
 
9074
    conftest$ac_exeext conftest.$ac_ext
 
9075
        LDFLAGS="$save_LDFLAGS"
 
9076
 
 
9077
fi
 
9078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9079
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9080
 
 
9081
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
9082
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
9083
if ${lt_cv_ld_force_load+:} false; then :
 
9084
  $as_echo_n "(cached) " >&6
 
9085
else
 
9086
  lt_cv_ld_force_load=no
 
9087
      cat > conftest.c << _LT_EOF
 
9088
int forced_loaded() { return 2;}
 
9089
_LT_EOF
 
9090
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
9091
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
9092
      echo "$AR cru libconftest.a conftest.o" >&5
 
9093
      $AR cru libconftest.a conftest.o 2>&5
 
9094
      echo "$RANLIB libconftest.a" >&5
 
9095
      $RANLIB libconftest.a 2>&5
 
9096
      cat > conftest.c << _LT_EOF
 
9097
int main() { return 0;}
 
9098
_LT_EOF
 
9099
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
9100
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
9101
      _lt_result=$?
 
9102
      if test -s conftest.err && $GREP force_load conftest.err; then
 
9103
        cat conftest.err >&5
 
9104
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
9105
        lt_cv_ld_force_load=yes
 
9106
      else
 
9107
        cat conftest.err >&5
 
9108
      fi
 
9109
        rm -f conftest.err libconftest.a conftest conftest.c
 
9110
        rm -rf conftest.dSYM
 
9111
 
 
9112
fi
 
9113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
9114
$as_echo "$lt_cv_ld_force_load" >&6; }
 
9115
    case $host_os in
 
9116
    rhapsody* | darwin1.[012])
 
9117
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9118
    darwin1.*)
 
9119
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9120
    darwin*) # darwin 5.x on
 
9121
      # if running on 10.5 or later, the deployment target defaults
 
9122
      # to the OS version, if on x86, and 10.4, the deployment
 
9123
      # target defaults to 10.4. Don't you love it?
 
9124
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9125
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9126
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9127
        10.[012]*)
 
9128
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9129
        10.*)
 
9130
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9131
      esac
 
9132
    ;;
 
9133
  esac
 
9134
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9135
      _lt_dar_single_mod='$single_module'
 
9136
    fi
 
9137
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9138
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9139
    else
 
9140
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9141
    fi
 
9142
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
9143
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9144
    else
 
9145
      _lt_dsymutil=
 
9146
    fi
 
9147
    ;;
 
9148
  esac
 
9149
 
 
9150
for ac_header in dlfcn.h
 
9151
do :
 
9152
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
9153
"
 
9154
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
9155
  cat >>confdefs.h <<_ACEOF
 
9156
#define HAVE_DLFCN_H 1
 
9157
_ACEOF
 
9158
 
 
9159
fi
 
9160
 
 
9161
done
 
9162
 
 
9163
 
 
9164
 
 
9165
 
 
9166
 
 
9167
# Set options
 
9168
# Check whether --enable-static was given.
 
9169
if test "${enable_static+set}" = set; then :
 
9170
  enableval=$enable_static; p=${PACKAGE-default}
 
9171
    case $enableval in
 
9172
    yes) enable_static=yes ;;
 
9173
    no) enable_static=no ;;
 
9174
    *)
 
9175
     enable_static=no
 
9176
      # Look at the argument we got.  We use all the common list separators.
 
9177
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9178
      for pkg in $enableval; do
 
9179
        IFS="$lt_save_ifs"
 
9180
        if test "X$pkg" = "X$p"; then
 
9181
          enable_static=yes
 
9182
        fi
 
9183
      done
 
9184
      IFS="$lt_save_ifs"
 
9185
      ;;
 
9186
    esac
 
9187
else
 
9188
  enable_static=no
 
9189
fi
 
9190
 
 
9191
 
 
9192
 
 
9193
 
 
9194
 
 
9195
 
 
9196
 
 
9197
 
 
9198
 
 
9199
 
 
9200
        enable_dlopen=no
 
9201
 
 
9202
 
 
9203
  enable_win32_dll=no
 
9204
 
 
9205
 
 
9206
            # Check whether --enable-shared was given.
 
9207
if test "${enable_shared+set}" = set; then :
 
9208
  enableval=$enable_shared; p=${PACKAGE-default}
 
9209
    case $enableval in
 
9210
    yes) enable_shared=yes ;;
 
9211
    no) enable_shared=no ;;
 
9212
    *)
 
9213
      enable_shared=no
 
9214
      # Look at the argument we got.  We use all the common list separators.
 
9215
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9216
      for pkg in $enableval; do
 
9217
        IFS="$lt_save_ifs"
 
9218
        if test "X$pkg" = "X$p"; then
 
9219
          enable_shared=yes
 
9220
        fi
 
9221
      done
 
9222
      IFS="$lt_save_ifs"
 
9223
      ;;
 
9224
    esac
 
9225
else
 
9226
  enable_shared=yes
 
9227
fi
 
9228
 
 
9229
 
 
9230
 
 
9231
 
 
9232
 
 
9233
 
 
9234
 
 
9235
 
 
9236
 
 
9237
 
 
9238
 
 
9239
# Check whether --with-pic was given.
 
9240
if test "${with_pic+set}" = set; then :
 
9241
  withval=$with_pic; lt_p=${PACKAGE-default}
 
9242
    case $withval in
 
9243
    yes|no) pic_mode=$withval ;;
 
9244
    *)
 
9245
      pic_mode=default
 
9246
      # Look at the argument we got.  We use all the common list separators.
 
9247
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9248
      for lt_pkg in $withval; do
 
9249
        IFS="$lt_save_ifs"
 
9250
        if test "X$lt_pkg" = "X$lt_p"; then
 
9251
          pic_mode=yes
 
9252
        fi
 
9253
      done
 
9254
      IFS="$lt_save_ifs"
 
9255
      ;;
 
9256
    esac
 
9257
else
 
9258
  pic_mode=default
 
9259
fi
 
9260
 
 
9261
 
 
9262
test -z "$pic_mode" && pic_mode=default
 
9263
 
 
9264
 
 
9265
 
 
9266
 
 
9267
 
 
9268
 
 
9269
 
 
9270
  # Check whether --enable-fast-install was given.
 
9271
if test "${enable_fast_install+set}" = set; then :
 
9272
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9273
    case $enableval in
 
9274
    yes) enable_fast_install=yes ;;
 
9275
    no) enable_fast_install=no ;;
 
9276
    *)
 
9277
      enable_fast_install=no
 
9278
      # Look at the argument we got.  We use all the common list separators.
 
9279
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9280
      for pkg in $enableval; do
 
9281
        IFS="$lt_save_ifs"
 
9282
        if test "X$pkg" = "X$p"; then
 
9283
          enable_fast_install=yes
 
9284
        fi
 
9285
      done
 
9286
      IFS="$lt_save_ifs"
 
9287
      ;;
 
9288
    esac
 
9289
else
 
9290
  enable_fast_install=yes
 
9291
fi
 
9292
 
 
9293
 
 
9294
 
 
9295
 
 
9296
 
 
9297
 
 
9298
 
 
9299
 
 
9300
 
 
9301
 
 
9302
 
 
9303
# This can be used to rebuild libtool when needed
 
9304
LIBTOOL_DEPS="$ltmain"
 
9305
 
 
9306
# Always use our own libtool.
 
9307
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
9308
 
 
9309
 
 
9310
 
 
9311
 
 
9312
 
 
9313
 
 
9314
 
 
9315
 
 
9316
 
 
9317
 
 
9318
 
 
9319
 
 
9320
 
 
9321
 
 
9322
 
 
9323
 
 
9324
 
 
9325
 
 
9326
 
 
9327
 
 
9328
 
 
9329
 
 
9330
 
 
9331
 
 
9332
 
 
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
 
 
9338
test -z "$LN_S" && LN_S="ln -s"
 
9339
 
 
9340
 
 
9341
 
 
9342
 
 
9343
 
 
9344
 
 
9345
 
 
9346
 
 
9347
 
 
9348
 
 
9349
 
 
9350
 
 
9351
 
 
9352
 
 
9353
if test -n "${ZSH_VERSION+set}" ; then
 
9354
   setopt NO_GLOB_SUBST
 
9355
fi
 
9356
 
 
9357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9358
$as_echo_n "checking for objdir... " >&6; }
 
9359
if ${lt_cv_objdir+:} false; then :
 
9360
  $as_echo_n "(cached) " >&6
 
9361
else
 
9362
  rm -f .libs 2>/dev/null
 
9363
mkdir .libs 2>/dev/null
 
9364
if test -d .libs; then
 
9365
  lt_cv_objdir=.libs
 
9366
else
 
9367
  # MS-DOS does not allow filenames that begin with a dot.
 
9368
  lt_cv_objdir=_libs
 
9369
fi
 
9370
rmdir .libs 2>/dev/null
 
9371
fi
 
9372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9373
$as_echo "$lt_cv_objdir" >&6; }
 
9374
objdir=$lt_cv_objdir
 
9375
 
 
9376
 
 
9377
 
 
9378
 
 
9379
 
 
9380
cat >>confdefs.h <<_ACEOF
 
9381
#define LT_OBJDIR "$lt_cv_objdir/"
 
9382
_ACEOF
 
9383
 
 
9384
 
 
9385
 
 
9386
 
 
9387
case $host_os in
 
9388
aix3*)
 
9389
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
9390
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
9391
  # vanish in a puff of smoke.
 
9392
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
9393
    COLLECT_NAMES=
 
9394
    export COLLECT_NAMES
 
9395
  fi
 
9396
  ;;
 
9397
esac
 
9398
 
 
9399
# Global variables:
 
9400
ofile=libtool
 
9401
can_build_shared=yes
 
9402
 
 
9403
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9404
# which needs '.lib').
 
9405
libext=a
 
9406
 
 
9407
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9408
 
 
9409
old_CC="$CC"
 
9410
old_CFLAGS="$CFLAGS"
 
9411
 
 
9412
# Set sane defaults for various variables
 
9413
test -z "$CC" && CC=cc
 
9414
test -z "$LTCC" && LTCC=$CC
 
9415
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
9416
test -z "$LD" && LD=ld
 
9417
test -z "$ac_objext" && ac_objext=o
 
9418
 
 
9419
for cc_temp in $compiler""; do
 
9420
  case $cc_temp in
 
9421
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9422
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9423
    \-*) ;;
 
9424
    *) break;;
 
9425
  esac
 
9426
done
 
9427
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9428
 
 
9429
 
 
9430
# Only perform the check for file, if the check method requires it
 
9431
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9432
case $deplibs_check_method in
 
9433
file_magic*)
 
9434
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9435
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9436
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9437
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9438
  $as_echo_n "(cached) " >&6
 
9439
else
 
9440
  case $MAGIC_CMD in
 
9441
[\\/*] |  ?:[\\/]*)
 
9442
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9443
  ;;
 
9444
*)
 
9445
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9446
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9447
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9448
  for ac_dir in $ac_dummy; do
 
9449
    IFS="$lt_save_ifs"
 
9450
    test -z "$ac_dir" && ac_dir=.
 
9451
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9452
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9453
      if test -n "$file_magic_test_file"; then
 
9454
        case $deplibs_check_method in
 
9455
        "file_magic "*)
 
9456
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9457
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9458
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9459
            $EGREP "$file_magic_regex" > /dev/null; then
 
9460
            :
 
9461
          else
 
9462
            cat <<_LT_EOF 1>&2
 
9463
 
 
9464
*** Warning: the command libtool uses to detect shared libraries,
 
9465
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9466
*** The result is that libtool may fail to recognize shared libraries
 
9467
*** as such.  This will affect the creation of libtool libraries that
 
9468
*** depend on shared libraries, but programs linked with such libtool
 
9469
*** libraries will work regardless of this problem.  Nevertheless, you
 
9470
*** may want to report the problem to your system manager and/or to
 
9471
*** bug-libtool@gnu.org
 
9472
 
 
9473
_LT_EOF
 
9474
          fi ;;
 
9475
        esac
 
9476
      fi
 
9477
      break
 
9478
    fi
 
9479
  done
 
9480
  IFS="$lt_save_ifs"
 
9481
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9482
  ;;
 
9483
esac
 
9484
fi
 
9485
 
 
9486
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9487
if test -n "$MAGIC_CMD"; then
 
9488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9489
$as_echo "$MAGIC_CMD" >&6; }
 
9490
else
 
9491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9492
$as_echo "no" >&6; }
 
9493
fi
 
9494
 
 
9495
 
 
9496
 
 
9497
 
 
9498
 
 
9499
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
9500
  if test -n "$ac_tool_prefix"; then
 
9501
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9502
$as_echo_n "checking for file... " >&6; }
 
9503
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9504
  $as_echo_n "(cached) " >&6
 
9505
else
 
9506
  case $MAGIC_CMD in
 
9507
[\\/*] |  ?:[\\/]*)
 
9508
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9509
  ;;
 
9510
*)
 
9511
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9512
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9513
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9514
  for ac_dir in $ac_dummy; do
 
9515
    IFS="$lt_save_ifs"
 
9516
    test -z "$ac_dir" && ac_dir=.
 
9517
    if test -f $ac_dir/file; then
 
9518
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
9519
      if test -n "$file_magic_test_file"; then
 
9520
        case $deplibs_check_method in
 
9521
        "file_magic "*)
 
9522
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9523
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9524
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9525
            $EGREP "$file_magic_regex" > /dev/null; then
 
9526
            :
 
9527
          else
 
9528
            cat <<_LT_EOF 1>&2
 
9529
 
 
9530
*** Warning: the command libtool uses to detect shared libraries,
 
9531
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9532
*** The result is that libtool may fail to recognize shared libraries
 
9533
*** as such.  This will affect the creation of libtool libraries that
 
9534
*** depend on shared libraries, but programs linked with such libtool
 
9535
*** libraries will work regardless of this problem.  Nevertheless, you
 
9536
*** may want to report the problem to your system manager and/or to
 
9537
*** bug-libtool@gnu.org
 
9538
 
 
9539
_LT_EOF
 
9540
          fi ;;
 
9541
        esac
 
9542
      fi
 
9543
      break
 
9544
    fi
 
9545
  done
 
9546
  IFS="$lt_save_ifs"
 
9547
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9548
  ;;
 
9549
esac
 
9550
fi
 
9551
 
 
9552
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9553
if test -n "$MAGIC_CMD"; then
 
9554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9555
$as_echo "$MAGIC_CMD" >&6; }
 
9556
else
 
9557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9558
$as_echo "no" >&6; }
 
9559
fi
 
9560
 
 
9561
 
 
9562
  else
 
9563
    MAGIC_CMD=:
 
9564
  fi
 
9565
fi
 
9566
 
 
9567
  fi
 
9568
  ;;
 
9569
esac
 
9570
 
 
9571
# Use C for the default configuration in the libtool script
 
9572
 
 
9573
lt_save_CC="$CC"
 
9574
ac_ext=c
 
9575
ac_cpp='$CPP $CPPFLAGS'
 
9576
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9577
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9578
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9579
 
 
9580
 
 
9581
# Source file extension for C test sources.
 
9582
ac_ext=c
 
9583
 
 
9584
# Object file extension for compiled C test sources.
 
9585
objext=o
 
9586
objext=$objext
 
9587
 
 
9588
# Code to be used in simple compile tests
 
9589
lt_simple_compile_test_code="int some_variable = 0;"
 
9590
 
 
9591
# Code to be used in simple link tests
 
9592
lt_simple_link_test_code='int main(){return(0);}'
 
9593
 
 
9594
 
 
9595
 
 
9596
 
 
9597
 
 
9598
 
 
9599
 
 
9600
# If no C compiler was specified, use CC.
 
9601
LTCC=${LTCC-"$CC"}
 
9602
 
 
9603
# If no C compiler flags were specified, use CFLAGS.
 
9604
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
9605
 
 
9606
# Allow CC to be a program name with arguments.
 
9607
compiler=$CC
 
9608
 
 
9609
# Save the default compiler, since it gets overwritten when the other
 
9610
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9611
compiler_DEFAULT=$CC
 
9612
 
 
9613
# save warnings/boilerplate of simple test code
 
9614
ac_outfile=conftest.$ac_objext
 
9615
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
9616
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9617
_lt_compiler_boilerplate=`cat conftest.err`
 
9618
$RM conftest*
 
9619
 
 
9620
ac_outfile=conftest.$ac_objext
 
9621
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
9622
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9623
_lt_linker_boilerplate=`cat conftest.err`
 
9624
$RM -r conftest*
 
9625
 
 
9626
 
 
9627
if test -n "$compiler"; then
 
9628
 
 
9629
lt_prog_compiler_no_builtin_flag=
 
9630
 
 
9631
if test "$GCC" = yes; then
 
9632
  case $cc_basename in
 
9633
  nvcc*)
 
9634
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9635
  *)
 
9636
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9637
  esac
 
9638
 
 
9639
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9640
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
9641
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
9642
  $as_echo_n "(cached) " >&6
 
9643
else
 
9644
  lt_cv_prog_compiler_rtti_exceptions=no
 
9645
   ac_outfile=conftest.$ac_objext
 
9646
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9647
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
9648
   # Insert the option either (1) after the last *FLAGS variable, or
 
9649
   # (2) before a word containing "conftest.", or (3) at the end.
 
9650
   # Note that $ac_compile itself does not contain backslashes and begins
 
9651
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9652
   # The option is referenced via a variable to avoid confusing sed.
 
9653
   lt_compile=`echo "$ac_compile" | $SED \
 
9654
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9655
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9656
   -e 's:$: $lt_compiler_flag:'`
 
9657
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9658
   (eval "$lt_compile" 2>conftest.err)
 
9659
   ac_status=$?
 
9660
   cat conftest.err >&5
 
9661
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9662
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
9663
     # The compiler can only warn and ignore the option if not recognized
 
9664
     # So say no if there are warnings other than the usual output.
 
9665
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
9666
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9667
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
9668
       lt_cv_prog_compiler_rtti_exceptions=yes
 
9669
     fi
 
9670
   fi
 
9671
   $RM conftest*
 
9672
 
 
9673
fi
 
9674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9675
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9676
 
 
9677
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
9678
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
9679
else
 
9680
    :
 
9681
fi
 
9682
 
 
9683
fi
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
 
9689
 
 
9690
  lt_prog_compiler_wl=
 
9691
lt_prog_compiler_pic=
 
9692
lt_prog_compiler_static=
 
9693
 
 
9694
 
 
9695
  if test "$GCC" = yes; then
 
9696
    lt_prog_compiler_wl='-Wl,'
 
9697
    lt_prog_compiler_static='-static'
 
9698
 
 
9699
    case $host_os in
 
9700
      aix*)
 
9701
      # All AIX code is PIC.
 
9702
      if test "$host_cpu" = ia64; then
 
9703
        # AIX 5 now supports IA64 processor
 
9704
        lt_prog_compiler_static='-Bstatic'
 
9705
      fi
 
9706
      ;;
 
9707
 
 
9708
    amigaos*)
 
9709
      case $host_cpu in
 
9710
      powerpc)
 
9711
            # see comment about AmigaOS4 .so support
 
9712
            lt_prog_compiler_pic='-fPIC'
 
9713
        ;;
 
9714
      m68k)
 
9715
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9716
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9717
            # like `-m68040'.
 
9718
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9719
        ;;
 
9720
      esac
 
9721
      ;;
 
9722
 
 
9723
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
9724
      # PIC is the default for these OSes.
 
9725
      ;;
 
9726
 
 
9727
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9728
      # This hack is so that the source file can tell whether it is being
 
9729
      # built for inclusion in a dll (and should export symbols for example).
 
9730
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
9731
      # (--disable-auto-import) libraries
 
9732
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
9733
      ;;
 
9734
 
 
9735
    darwin* | rhapsody*)
 
9736
      # PIC is the default on this platform
 
9737
      # Common symbols not allowed in MH_DYLIB files
 
9738
      lt_prog_compiler_pic='-fno-common'
 
9739
      ;;
 
9740
 
 
9741
    haiku*)
 
9742
      # PIC is the default for Haiku.
 
9743
      # The "-static" flag exists, but is broken.
 
9744
      lt_prog_compiler_static=
 
9745
      ;;
 
9746
 
 
9747
    hpux*)
 
9748
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9749
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9750
      # sets the default TLS model and affects inlining.
 
9751
      case $host_cpu in
 
9752
      hppa*64*)
 
9753
        # +Z the default
 
9754
        ;;
 
9755
      *)
 
9756
        lt_prog_compiler_pic='-fPIC'
 
9757
        ;;
 
9758
      esac
 
9759
      ;;
 
9760
 
 
9761
    interix[3-9]*)
 
9762
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
9763
      # Instead, we relocate shared libraries at runtime.
 
9764
      ;;
 
9765
 
 
9766
    msdosdjgpp*)
 
9767
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
9768
      # on systems that don't support them.
 
9769
      lt_prog_compiler_can_build_shared=no
 
9770
      enable_shared=no
 
9771
      ;;
 
9772
 
 
9773
    *nto* | *qnx*)
 
9774
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9775
      # it will coredump.
 
9776
      lt_prog_compiler_pic='-fPIC -shared'
 
9777
      ;;
 
9778
 
 
9779
    sysv4*MP*)
 
9780
      if test -d /usr/nec; then
 
9781
        lt_prog_compiler_pic=-Kconform_pic
 
9782
      fi
 
9783
      ;;
 
9784
 
 
9785
    *)
 
9786
      lt_prog_compiler_pic='-fPIC'
 
9787
      ;;
 
9788
    esac
 
9789
 
 
9790
    case $cc_basename in
 
9791
    nvcc*) # Cuda Compiler Driver 2.2
 
9792
      lt_prog_compiler_wl='-Xlinker '
 
9793
      if test -n "$lt_prog_compiler_pic"; then
 
9794
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
9795
      fi
 
9796
      ;;
 
9797
    esac
 
9798
  else
 
9799
    # PORTME Check for flag to pass linker flags through the system compiler.
 
9800
    case $host_os in
 
9801
    aix*)
 
9802
      lt_prog_compiler_wl='-Wl,'
 
9803
      if test "$host_cpu" = ia64; then
 
9804
        # AIX 5 now supports IA64 processor
 
9805
        lt_prog_compiler_static='-Bstatic'
 
9806
      else
 
9807
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
9808
      fi
 
9809
      ;;
 
9810
 
 
9811
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9812
      # This hack is so that the source file can tell whether it is being
 
9813
      # built for inclusion in a dll (and should export symbols for example).
 
9814
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
9815
      ;;
 
9816
 
 
9817
    hpux9* | hpux10* | hpux11*)
 
9818
      lt_prog_compiler_wl='-Wl,'
 
9819
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
9820
      # not for PA HP-UX.
 
9821
      case $host_cpu in
 
9822
      hppa*64*|ia64*)
 
9823
        # +Z the default
 
9824
        ;;
 
9825
      *)
 
9826
        lt_prog_compiler_pic='+Z'
 
9827
        ;;
 
9828
      esac
 
9829
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
9830
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
9831
      ;;
 
9832
 
 
9833
    irix5* | irix6* | nonstopux*)
 
9834
      lt_prog_compiler_wl='-Wl,'
 
9835
      # PIC (with -KPIC) is the default.
 
9836
      lt_prog_compiler_static='-non_shared'
 
9837
      ;;
 
9838
 
 
9839
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
9840
      case $cc_basename in
 
9841
      # old Intel for x86_64 which still supported -KPIC.
 
9842
      ecc*)
 
9843
        lt_prog_compiler_wl='-Wl,'
 
9844
        lt_prog_compiler_pic='-KPIC'
 
9845
        lt_prog_compiler_static='-static'
 
9846
        ;;
 
9847
      # icc used to be incompatible with GCC.
 
9848
      # ICC 10 doesn't accept -KPIC any more.
 
9849
      icc* | ifort*)
 
9850
        lt_prog_compiler_wl='-Wl,'
 
9851
        lt_prog_compiler_pic='-fPIC'
 
9852
        lt_prog_compiler_static='-static'
 
9853
        ;;
 
9854
      # Lahey Fortran 8.1.
 
9855
      lf95*)
 
9856
        lt_prog_compiler_wl='-Wl,'
 
9857
        lt_prog_compiler_pic='--shared'
 
9858
        lt_prog_compiler_static='--static'
 
9859
        ;;
 
9860
      nagfor*)
 
9861
        # NAG Fortran compiler
 
9862
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9863
        lt_prog_compiler_pic='-PIC'
 
9864
        lt_prog_compiler_static='-Bstatic'
 
9865
        ;;
 
9866
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
9867
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
9868
        # which looks to be a dead project)
 
9869
        lt_prog_compiler_wl='-Wl,'
 
9870
        lt_prog_compiler_pic='-fpic'
 
9871
        lt_prog_compiler_static='-Bstatic'
 
9872
        ;;
 
9873
      ccc*)
 
9874
        lt_prog_compiler_wl='-Wl,'
 
9875
        # All Alpha code is PIC.
 
9876
        lt_prog_compiler_static='-non_shared'
 
9877
        ;;
 
9878
      xl* | bgxl* | bgf* | mpixl*)
 
9879
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
9880
        lt_prog_compiler_wl='-Wl,'
 
9881
        lt_prog_compiler_pic='-qpic'
 
9882
        lt_prog_compiler_static='-qstaticlink'
 
9883
        ;;
 
9884
      *)
 
9885
        case `$CC -V 2>&1 | sed 5q` in
 
9886
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
9887
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9888
          lt_prog_compiler_pic='-KPIC'
 
9889
          lt_prog_compiler_static='-Bstatic'
 
9890
          lt_prog_compiler_wl=''
 
9891
          ;;
 
9892
        *Sun\ F* | *Sun*Fortran*)
 
9893
          lt_prog_compiler_pic='-KPIC'
 
9894
          lt_prog_compiler_static='-Bstatic'
 
9895
          lt_prog_compiler_wl='-Qoption ld '
 
9896
          ;;
 
9897
        *Sun\ C*)
 
9898
          # Sun C 5.9
 
9899
          lt_prog_compiler_pic='-KPIC'
 
9900
          lt_prog_compiler_static='-Bstatic'
 
9901
          lt_prog_compiler_wl='-Wl,'
 
9902
          ;;
 
9903
        *Intel*\ [CF]*Compiler*)
 
9904
          lt_prog_compiler_wl='-Wl,'
 
9905
          lt_prog_compiler_pic='-fPIC'
 
9906
          lt_prog_compiler_static='-static'
 
9907
          ;;
 
9908
        *Portland\ Group*)
 
9909
          lt_prog_compiler_wl='-Wl,'
 
9910
          lt_prog_compiler_pic='-fpic'
 
9911
          lt_prog_compiler_static='-Bstatic'
 
9912
          ;;
 
9913
        esac
 
9914
        ;;
 
9915
      esac
 
9916
      ;;
 
9917
 
 
9918
    newsos6)
 
9919
      lt_prog_compiler_pic='-KPIC'
 
9920
      lt_prog_compiler_static='-Bstatic'
 
9921
      ;;
 
9922
 
 
9923
    *nto* | *qnx*)
 
9924
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9925
      # it will coredump.
 
9926
      lt_prog_compiler_pic='-fPIC -shared'
 
9927
      ;;
 
9928
 
 
9929
    osf3* | osf4* | osf5*)
 
9930
      lt_prog_compiler_wl='-Wl,'
 
9931
      # All OSF/1 code is PIC.
 
9932
      lt_prog_compiler_static='-non_shared'
 
9933
      ;;
 
9934
 
 
9935
    rdos*)
 
9936
      lt_prog_compiler_static='-non_shared'
 
9937
      ;;
 
9938
 
 
9939
    solaris*)
 
9940
      lt_prog_compiler_pic='-KPIC'
 
9941
      lt_prog_compiler_static='-Bstatic'
 
9942
      case $cc_basename in
 
9943
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
9944
        lt_prog_compiler_wl='-Qoption ld ';;
 
9945
      *)
 
9946
        lt_prog_compiler_wl='-Wl,';;
 
9947
      esac
 
9948
      ;;
 
9949
 
 
9950
    sunos4*)
 
9951
      lt_prog_compiler_wl='-Qoption ld '
 
9952
      lt_prog_compiler_pic='-PIC'
 
9953
      lt_prog_compiler_static='-Bstatic'
 
9954
      ;;
 
9955
 
 
9956
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
9957
      lt_prog_compiler_wl='-Wl,'
 
9958
      lt_prog_compiler_pic='-KPIC'
 
9959
      lt_prog_compiler_static='-Bstatic'
 
9960
      ;;
 
9961
 
 
9962
    sysv4*MP*)
 
9963
      if test -d /usr/nec ;then
 
9964
        lt_prog_compiler_pic='-Kconform_pic'
 
9965
        lt_prog_compiler_static='-Bstatic'
 
9966
      fi
 
9967
      ;;
 
9968
 
 
9969
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
9970
      lt_prog_compiler_wl='-Wl,'
 
9971
      lt_prog_compiler_pic='-KPIC'
 
9972
      lt_prog_compiler_static='-Bstatic'
 
9973
      ;;
 
9974
 
 
9975
    unicos*)
 
9976
      lt_prog_compiler_wl='-Wl,'
 
9977
      lt_prog_compiler_can_build_shared=no
 
9978
      ;;
 
9979
 
 
9980
    uts4*)
 
9981
      lt_prog_compiler_pic='-pic'
 
9982
      lt_prog_compiler_static='-Bstatic'
 
9983
      ;;
 
9984
 
 
9985
    *)
 
9986
      lt_prog_compiler_can_build_shared=no
 
9987
      ;;
 
9988
    esac
 
9989
  fi
 
9990
 
 
9991
case $host_os in
 
9992
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9993
  *djgpp*)
 
9994
    lt_prog_compiler_pic=
 
9995
    ;;
 
9996
  *)
 
9997
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9998
    ;;
 
9999
esac
 
10000
 
 
10001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10002
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10003
if ${lt_cv_prog_compiler_pic+:} false; then :
 
10004
  $as_echo_n "(cached) " >&6
 
10005
else
 
10006
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
10007
fi
 
10008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
10009
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
10010
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
10011
 
 
10012
#
 
10013
# Check to make sure the PIC flag actually works.
 
10014
#
 
10015
if test -n "$lt_prog_compiler_pic"; then
 
10016
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10017
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10018
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
10019
  $as_echo_n "(cached) " >&6
 
10020
else
 
10021
  lt_cv_prog_compiler_pic_works=no
 
10022
   ac_outfile=conftest.$ac_objext
 
10023
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10024
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
10025
   # Insert the option either (1) after the last *FLAGS variable, or
 
10026
   # (2) before a word containing "conftest.", or (3) at the end.
 
10027
   # Note that $ac_compile itself does not contain backslashes and begins
 
10028
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10029
   # The option is referenced via a variable to avoid confusing sed.
 
10030
   lt_compile=`echo "$ac_compile" | $SED \
 
10031
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10032
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10033
   -e 's:$: $lt_compiler_flag:'`
 
10034
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10035
   (eval "$lt_compile" 2>conftest.err)
 
10036
   ac_status=$?
 
10037
   cat conftest.err >&5
 
10038
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10039
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10040
     # The compiler can only warn and ignore the option if not recognized
 
10041
     # So say no if there are warnings other than the usual output.
 
10042
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10043
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10044
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10045
       lt_cv_prog_compiler_pic_works=yes
 
10046
     fi
 
10047
   fi
 
10048
   $RM conftest*
 
10049
 
 
10050
fi
 
10051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
10052
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
10053
 
 
10054
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10055
    case $lt_prog_compiler_pic in
 
10056
     "" | " "*) ;;
 
10057
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
10058
     esac
 
10059
else
 
10060
    lt_prog_compiler_pic=
 
10061
     lt_prog_compiler_can_build_shared=no
 
10062
fi
 
10063
 
 
10064
fi
 
10065
 
 
10066
 
 
10067
 
 
10068
 
 
10069
 
 
10070
 
 
10071
 
 
10072
 
 
10073
 
 
10074
 
 
10075
 
 
10076
#
 
10077
# Check to make sure the static flag actually works.
 
10078
#
 
10079
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
10080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10081
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10082
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
10083
  $as_echo_n "(cached) " >&6
 
10084
else
 
10085
  lt_cv_prog_compiler_static_works=no
 
10086
   save_LDFLAGS="$LDFLAGS"
 
10087
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10088
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10089
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10090
     # The linker can only warn and ignore the option if not recognized
 
10091
     # So say no if there are warnings
 
10092
     if test -s conftest.err; then
 
10093
       # Append any errors to the config.log.
 
10094
       cat conftest.err 1>&5
 
10095
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10096
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10097
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10098
         lt_cv_prog_compiler_static_works=yes
 
10099
       fi
 
10100
     else
 
10101
       lt_cv_prog_compiler_static_works=yes
 
10102
     fi
 
10103
   fi
 
10104
   $RM -r conftest*
 
10105
   LDFLAGS="$save_LDFLAGS"
 
10106
 
 
10107
fi
 
10108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10109
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10110
 
 
10111
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10112
    :
 
10113
else
 
10114
    lt_prog_compiler_static=
 
10115
fi
 
10116
 
 
10117
 
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10124
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10125
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10126
  $as_echo_n "(cached) " >&6
 
10127
else
 
10128
  lt_cv_prog_compiler_c_o=no
 
10129
   $RM -r conftest 2>/dev/null
 
10130
   mkdir conftest
 
10131
   cd conftest
 
10132
   mkdir out
 
10133
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10134
 
 
10135
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10136
   # Insert the option either (1) after the last *FLAGS variable, or
 
10137
   # (2) before a word containing "conftest.", or (3) at the end.
 
10138
   # Note that $ac_compile itself does not contain backslashes and begins
 
10139
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10140
   lt_compile=`echo "$ac_compile" | $SED \
 
10141
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10142
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10143
   -e 's:$: $lt_compiler_flag:'`
 
10144
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10145
   (eval "$lt_compile" 2>out/conftest.err)
 
10146
   ac_status=$?
 
10147
   cat out/conftest.err >&5
 
10148
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10149
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10150
   then
 
10151
     # The compiler can only warn and ignore the option if not recognized
 
10152
     # So say no if there are warnings
 
10153
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10154
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10155
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10156
       lt_cv_prog_compiler_c_o=yes
 
10157
     fi
 
10158
   fi
 
10159
   chmod u+w . 2>&5
 
10160
   $RM conftest*
 
10161
   # SGI C++ compiler will create directory out/ii_files/ for
 
10162
   # template instantiation
 
10163
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10164
   $RM out/* && rmdir out
 
10165
   cd ..
 
10166
   $RM -r conftest
 
10167
   $RM conftest*
 
10168
 
 
10169
fi
 
10170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10171
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10179
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10180
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10181
  $as_echo_n "(cached) " >&6
 
10182
else
 
10183
  lt_cv_prog_compiler_c_o=no
 
10184
   $RM -r conftest 2>/dev/null
 
10185
   mkdir conftest
 
10186
   cd conftest
 
10187
   mkdir out
 
10188
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10189
 
 
10190
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10191
   # Insert the option either (1) after the last *FLAGS variable, or
 
10192
   # (2) before a word containing "conftest.", or (3) at the end.
 
10193
   # Note that $ac_compile itself does not contain backslashes and begins
 
10194
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10195
   lt_compile=`echo "$ac_compile" | $SED \
 
10196
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10197
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10198
   -e 's:$: $lt_compiler_flag:'`
 
10199
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10200
   (eval "$lt_compile" 2>out/conftest.err)
 
10201
   ac_status=$?
 
10202
   cat out/conftest.err >&5
 
10203
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10204
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10205
   then
 
10206
     # The compiler can only warn and ignore the option if not recognized
 
10207
     # So say no if there are warnings
 
10208
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10209
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10210
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10211
       lt_cv_prog_compiler_c_o=yes
 
10212
     fi
 
10213
   fi
 
10214
   chmod u+w . 2>&5
 
10215
   $RM conftest*
 
10216
   # SGI C++ compiler will create directory out/ii_files/ for
 
10217
   # template instantiation
 
10218
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10219
   $RM out/* && rmdir out
 
10220
   cd ..
 
10221
   $RM -r conftest
 
10222
   $RM conftest*
 
10223
 
 
10224
fi
 
10225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10226
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
hard_links="nottested"
 
10232
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10233
  # do not overwrite the value of need_locks provided by the user
 
10234
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10235
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
10236
  hard_links=yes
 
10237
  $RM conftest*
 
10238
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10239
  touch conftest.a
 
10240
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
10241
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10243
$as_echo "$hard_links" >&6; }
 
10244
  if test "$hard_links" = no; then
 
10245
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10246
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10247
    need_locks=warn
 
10248
  fi
 
10249
else
 
10250
  need_locks=no
 
10251
fi
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10259
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
10260
 
 
10261
  runpath_var=
 
10262
  allow_undefined_flag=
 
10263
  always_export_symbols=no
 
10264
  archive_cmds=
 
10265
  archive_expsym_cmds=
 
10266
  compiler_needs_object=no
 
10267
  enable_shared_with_static_runtimes=no
 
10268
  export_dynamic_flag_spec=
 
10269
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10270
  hardcode_automatic=no
 
10271
  hardcode_direct=no
 
10272
  hardcode_direct_absolute=no
 
10273
  hardcode_libdir_flag_spec=
 
10274
  hardcode_libdir_separator=
 
10275
  hardcode_minus_L=no
 
10276
  hardcode_shlibpath_var=unsupported
 
10277
  inherit_rpath=no
 
10278
  link_all_deplibs=unknown
 
10279
  module_cmds=
 
10280
  module_expsym_cmds=
 
10281
  old_archive_from_new_cmds=
 
10282
  old_archive_from_expsyms_cmds=
 
10283
  thread_safe_flag_spec=
 
10284
  whole_archive_flag_spec=
 
10285
  # include_expsyms should be a list of space-separated symbols to be *always*
 
10286
  # included in the symbol list
 
10287
  include_expsyms=
 
10288
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10289
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10290
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10291
  # as well as any symbol that contains `d'.
 
10292
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
10293
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10294
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10295
  # the symbol is explicitly referenced.  Since portable code cannot
 
10296
  # rely on this symbol name, it's probably fine to never include it in
 
10297
  # preloaded symbol tables.
 
10298
  # Exclude shared library initialization/finalization symbols.
 
10299
  extract_expsyms_cmds=
 
10300
 
 
10301
  case $host_os in
 
10302
  cygwin* | mingw* | pw32* | cegcc*)
 
10303
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10304
    # When not using gcc, we currently assume that we are using
 
10305
    # Microsoft Visual C++.
 
10306
    if test "$GCC" != yes; then
 
10307
      with_gnu_ld=no
 
10308
    fi
 
10309
    ;;
 
10310
  interix*)
 
10311
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
10312
    with_gnu_ld=yes
 
10313
    ;;
 
10314
  openbsd*)
 
10315
    with_gnu_ld=no
 
10316
    ;;
 
10317
  esac
 
10318
 
 
10319
  ld_shlibs=yes
 
10320
 
 
10321
  # On some targets, GNU ld is compatible enough with the native linker
 
10322
  # that we're better off using the native interface for both.
 
10323
  lt_use_gnu_ld_interface=no
 
10324
  if test "$with_gnu_ld" = yes; then
 
10325
    case $host_os in
 
10326
      aix*)
 
10327
        # The AIX port of GNU ld has always aspired to compatibility
 
10328
        # with the native linker.  However, as the warning in the GNU ld
 
10329
        # block says, versions before 2.19.5* couldn't really create working
 
10330
        # shared libraries, regardless of the interface used.
 
10331
        case `$LD -v 2>&1` in
 
10332
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10333
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10334
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10335
          *)
 
10336
            lt_use_gnu_ld_interface=yes
 
10337
            ;;
 
10338
        esac
 
10339
        ;;
 
10340
      *)
 
10341
        lt_use_gnu_ld_interface=yes
 
10342
        ;;
 
10343
    esac
 
10344
  fi
 
10345
 
 
10346
  if test "$lt_use_gnu_ld_interface" = yes; then
 
10347
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
10348
    wlarc='${wl}'
 
10349
 
 
10350
    # Set some defaults for GNU ld with shared library support. These
 
10351
    # are reset later if shared libraries are not supported. Putting them
 
10352
    # here allows them to be overridden if necessary.
 
10353
    runpath_var=LD_RUN_PATH
 
10354
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10355
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
10356
    # ancient GNU ld didn't support --whole-archive et. al.
 
10357
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
10358
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10359
    else
 
10360
      whole_archive_flag_spec=
 
10361
    fi
 
10362
    supports_anon_versioning=no
 
10363
    case `$LD -v 2>&1` in
 
10364
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
10365
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
10366
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
10367
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
10368
      *\ 2.11.*) ;; # other 2.11 versions
 
10369
      *) supports_anon_versioning=yes ;;
 
10370
    esac
 
10371
 
 
10372
    # See if GNU ld supports shared libraries.
 
10373
    case $host_os in
 
10374
    aix[3-9]*)
 
10375
      # On AIX/PPC, the GNU linker is very broken
 
10376
      if test "$host_cpu" != ia64; then
 
10377
        ld_shlibs=no
 
10378
        cat <<_LT_EOF 1>&2
 
10379
 
 
10380
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
10381
*** to be unable to reliably create shared libraries on AIX.
 
10382
*** Therefore, libtool is disabling shared libraries support.  If you
 
10383
*** really care for shared libraries, you may want to install binutils
 
10384
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10385
*** You will then need to restart the configuration process.
 
10386
 
 
10387
_LT_EOF
 
10388
      fi
 
10389
      ;;
 
10390
 
 
10391
    amigaos*)
 
10392
      case $host_cpu in
 
10393
      powerpc)
 
10394
            # see comment about AmigaOS4 .so support
 
10395
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10396
            archive_expsym_cmds=''
 
10397
        ;;
 
10398
      m68k)
 
10399
            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)'
 
10400
            hardcode_libdir_flag_spec='-L$libdir'
 
10401
            hardcode_minus_L=yes
 
10402
        ;;
 
10403
      esac
 
10404
      ;;
 
10405
 
 
10406
    beos*)
 
10407
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10408
        allow_undefined_flag=unsupported
 
10409
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10410
        # support --undefined.  This deserves some investigation.  FIXME
 
10411
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10412
      else
 
10413
        ld_shlibs=no
 
10414
      fi
 
10415
      ;;
 
10416
 
 
10417
    cygwin* | mingw* | pw32* | cegcc*)
 
10418
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
10419
      # as there is no search path for DLLs.
 
10420
      hardcode_libdir_flag_spec='-L$libdir'
 
10421
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
10422
      allow_undefined_flag=unsupported
 
10423
      always_export_symbols=no
 
10424
      enable_shared_with_static_runtimes=yes
 
10425
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
10426
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
10427
 
 
10428
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
10429
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10430
        # If the export-symbols file already is a .def file (1st line
 
10431
        # is EXPORTS), use it as is; otherwise, prepend...
 
10432
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10433
          cp $export_symbols $output_objdir/$soname.def;
 
10434
        else
 
10435
          echo EXPORTS > $output_objdir/$soname.def;
 
10436
          cat $export_symbols >> $output_objdir/$soname.def;
 
10437
        fi~
 
10438
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10439
      else
 
10440
        ld_shlibs=no
 
10441
      fi
 
10442
      ;;
 
10443
 
 
10444
    haiku*)
 
10445
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10446
      link_all_deplibs=yes
 
10447
      ;;
 
10448
 
 
10449
    interix[3-9]*)
 
10450
      hardcode_direct=no
 
10451
      hardcode_shlibpath_var=no
 
10452
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10453
      export_dynamic_flag_spec='${wl}-E'
 
10454
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
10455
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
10456
      # default) and relocated if they conflict, which is a slow very memory
 
10457
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
10458
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
10459
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
10460
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
10461
      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'
 
10462
      ;;
 
10463
 
 
10464
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
10465
      tmp_diet=no
 
10466
      if test "$host_os" = linux-dietlibc; then
 
10467
        case $cc_basename in
 
10468
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10469
        esac
 
10470
      fi
 
10471
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
10472
         && test "$tmp_diet" = no
 
10473
      then
 
10474
        tmp_addflag=' $pic_flag'
 
10475
        tmp_sharedflag='-shared'
 
10476
        case $cc_basename,$host_cpu in
 
10477
        pgcc*)                          # Portland Group C compiler
 
10478
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10479
          tmp_addflag=' $pic_flag'
 
10480
          ;;
 
10481
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10482
                                        # Portland Group f77 and f90 compilers
 
10483
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10484
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
10485
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
10486
          tmp_addflag=' -i_dynamic' ;;
 
10487
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
10488
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
10489
        ifc* | ifort*)                  # Intel Fortran compiler
 
10490
          tmp_addflag=' -nofor_main' ;;
 
10491
        lf95*)                          # Lahey Fortran 8.1
 
10492
          whole_archive_flag_spec=
 
10493
          tmp_sharedflag='--shared' ;;
 
10494
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
10495
          tmp_sharedflag='-qmkshrobj'
 
10496
          tmp_addflag= ;;
 
10497
        nvcc*)  # Cuda Compiler Driver 2.2
 
10498
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10499
          compiler_needs_object=yes
 
10500
          ;;
 
10501
        esac
 
10502
        case `$CC -V 2>&1 | sed 5q` in
 
10503
        *Sun\ C*)                       # Sun C 5.9
 
10504
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10505
          compiler_needs_object=yes
 
10506
          tmp_sharedflag='-G' ;;
 
10507
        *Sun\ F*)                       # Sun Fortran 8.3
 
10508
          tmp_sharedflag='-G' ;;
 
10509
        esac
 
10510
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10511
 
 
10512
        if test "x$supports_anon_versioning" = xyes; then
 
10513
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10514
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10515
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10516
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10517
        fi
 
10518
 
 
10519
        case $cc_basename in
 
10520
        xlf* | bgf* | bgxlf* | mpixlf*)
 
10521
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10522
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10523
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10524
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
10525
          if test "x$supports_anon_versioning" = xyes; then
 
10526
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10527
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10528
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
10529
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10530
          fi
 
10531
          ;;
 
10532
        esac
 
10533
      else
 
10534
        ld_shlibs=no
 
10535
      fi
 
10536
      ;;
 
10537
 
 
10538
    netbsd*)
 
10539
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10540
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
10541
        wlarc=
 
10542
      else
 
10543
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10544
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10545
      fi
 
10546
      ;;
 
10547
 
 
10548
    solaris*)
 
10549
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
10550
        ld_shlibs=no
 
10551
        cat <<_LT_EOF 1>&2
 
10552
 
 
10553
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
10554
*** create shared libraries on Solaris systems.  Therefore, libtool
 
10555
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10556
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
10557
*** your PATH or compiler configuration so that the native linker is
 
10558
*** used, and then restart.
 
10559
 
 
10560
_LT_EOF
 
10561
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10562
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10563
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10564
      else
 
10565
        ld_shlibs=no
 
10566
      fi
 
10567
      ;;
 
10568
 
 
10569
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
10570
      case `$LD -v 2>&1` in
 
10571
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
10572
        ld_shlibs=no
 
10573
        cat <<_LT_EOF 1>&2
 
10574
 
 
10575
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
10576
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
10577
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10578
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
10579
*** your PATH or compiler configuration so that the native linker is
 
10580
*** used, and then restart.
 
10581
 
 
10582
_LT_EOF
 
10583
        ;;
 
10584
        *)
 
10585
          # For security reasons, it is highly recommended that you always
 
10586
          # use absolute paths for naming shared libraries, and exclude the
 
10587
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
10588
          # requires that you compile everything twice, which is a pain.
 
10589
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10590
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10591
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10592
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10593
          else
 
10594
            ld_shlibs=no
 
10595
          fi
 
10596
        ;;
 
10597
      esac
 
10598
      ;;
 
10599
 
 
10600
    sunos4*)
 
10601
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10602
      wlarc=
 
10603
      hardcode_direct=yes
 
10604
      hardcode_shlibpath_var=no
 
10605
      ;;
 
10606
 
 
10607
    *)
 
10608
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10609
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10610
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10611
      else
 
10612
        ld_shlibs=no
 
10613
      fi
 
10614
      ;;
 
10615
    esac
 
10616
 
 
10617
    if test "$ld_shlibs" = no; then
 
10618
      runpath_var=
 
10619
      hardcode_libdir_flag_spec=
 
10620
      export_dynamic_flag_spec=
 
10621
      whole_archive_flag_spec=
 
10622
    fi
 
10623
  else
 
10624
    # PORTME fill in a description of your system's linker (not GNU ld)
 
10625
    case $host_os in
 
10626
    aix3*)
 
10627
      allow_undefined_flag=unsupported
 
10628
      always_export_symbols=yes
 
10629
      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'
 
10630
      # Note: this linker hardcodes the directories in LIBPATH if there
 
10631
      # are no directories specified by -L.
 
10632
      hardcode_minus_L=yes
 
10633
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
10634
        # Neither direct hardcoding nor static linking is supported with a
 
10635
        # broken collect2.
 
10636
        hardcode_direct=unsupported
 
10637
      fi
 
10638
      ;;
 
10639
 
 
10640
    aix[4-9]*)
 
10641
      if test "$host_cpu" = ia64; then
 
10642
        # On IA64, the linker does run time linking by default, so we don't
 
10643
        # have to do anything special.
 
10644
        aix_use_runtimelinking=no
 
10645
        exp_sym_flag='-Bexport'
 
10646
        no_entry_flag=""
 
10647
      else
 
10648
        # If we're using GNU nm, then we don't want the "-C" option.
 
10649
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10650
        # Also, AIX nm treats weak defined symbols like other global
 
10651
        # defined symbols, whereas GNU nm marks them as "W".
 
10652
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10653
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
10654
        else
 
10655
          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'
 
10656
        fi
 
10657
        aix_use_runtimelinking=no
 
10658
 
 
10659
        # Test if we are trying to use run time linking or normal
 
10660
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
10661
        # need to do runtime linking.
 
10662
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
10663
          for ld_flag in $LDFLAGS; do
 
10664
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10665
            aix_use_runtimelinking=yes
 
10666
            break
 
10667
          fi
 
10668
          done
 
10669
          ;;
 
10670
        esac
 
10671
 
 
10672
        exp_sym_flag='-bexport'
 
10673
        no_entry_flag='-bnoentry'
 
10674
      fi
 
10675
 
 
10676
      # When large executables or shared objects are built, AIX ld can
 
10677
      # have problems creating the table of contents.  If linking a library
 
10678
      # or program results in "error TOC overflow" add -mminimal-toc to
 
10679
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
10680
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
10681
 
 
10682
      archive_cmds=''
 
10683
      hardcode_direct=yes
 
10684
      hardcode_direct_absolute=yes
 
10685
      hardcode_libdir_separator=':'
 
10686
      link_all_deplibs=yes
 
10687
      file_list_spec='${wl}-f,'
 
10688
 
 
10689
      if test "$GCC" = yes; then
 
10690
        case $host_os in aix4.[012]|aix4.[012].*)
 
10691
        # We only want to do this on AIX 4.2 and lower, the check
 
10692
        # below for broken collect2 doesn't work under 4.3+
 
10693
          collect2name=`${CC} -print-prog-name=collect2`
 
10694
          if test -f "$collect2name" &&
 
10695
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
10696
          then
 
10697
          # We have reworked collect2
 
10698
          :
 
10699
          else
 
10700
          # We have old collect2
 
10701
          hardcode_direct=unsupported
 
10702
          # It fails to find uninstalled libraries when the uninstalled
 
10703
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10704
          # to unsupported forces relinking
 
10705
          hardcode_minus_L=yes
 
10706
          hardcode_libdir_flag_spec='-L$libdir'
 
10707
          hardcode_libdir_separator=
 
10708
          fi
 
10709
          ;;
 
10710
        esac
 
10711
        shared_flag='-shared'
 
10712
        if test "$aix_use_runtimelinking" = yes; then
 
10713
          shared_flag="$shared_flag "'${wl}-G'
 
10714
        fi
 
10715
      else
 
10716
        # not using gcc
 
10717
        if test "$host_cpu" = ia64; then
 
10718
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10719
        # chokes on -Wl,-G. The following line is correct:
 
10720
          shared_flag='-G'
 
10721
        else
 
10722
          if test "$aix_use_runtimelinking" = yes; then
 
10723
            shared_flag='${wl}-G'
 
10724
          else
 
10725
            shared_flag='${wl}-bM:SRE'
 
10726
          fi
 
10727
        fi
 
10728
      fi
 
10729
 
 
10730
      export_dynamic_flag_spec='${wl}-bexpall'
 
10731
      # It seems that -bexpall does not export symbols beginning with
 
10732
      # underscore (_), so it is better to generate a list of symbols to export.
 
10733
      always_export_symbols=yes
 
10734
      if test "$aix_use_runtimelinking" = yes; then
 
10735
        # Warning - without using the other runtime loading flags (-brtl),
 
10736
        # -berok will link without error, but may produce a broken library.
 
10737
        allow_undefined_flag='-berok'
 
10738
        # Determine the default libpath from the value encoded in an
 
10739
        # empty executable.
 
10740
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10741
  aix_libpath=$lt_cv_aix_libpath
 
10742
else
 
10743
  if ${lt_cv_aix_libpath_+:} false; then :
 
10744
  $as_echo_n "(cached) " >&6
 
10745
else
 
10746
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10747
/* end confdefs.h.  */
 
10748
 
 
10749
int
 
10750
main ()
 
10751
{
 
10752
 
 
10753
  ;
 
10754
  return 0;
 
10755
}
 
10756
_ACEOF
 
10757
if ac_fn_c_try_link "$LINENO"; then :
 
10758
 
 
10759
  lt_aix_libpath_sed='
 
10760
      /Import File Strings/,/^$/ {
 
10761
          /^0/ {
 
10762
              s/^0  *\([^ ]*\) *$/\1/
 
10763
              p
 
10764
          }
 
10765
      }'
 
10766
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10767
  # Check for a 64-bit object if we didn't find anything.
 
10768
  if test -z "$lt_cv_aix_libpath_"; then
 
10769
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10770
  fi
 
10771
fi
 
10772
rm -f core conftest.err conftest.$ac_objext \
 
10773
    conftest$ac_exeext conftest.$ac_ext
 
10774
  if test -z "$lt_cv_aix_libpath_"; then
 
10775
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10776
  fi
 
10777
 
 
10778
fi
 
10779
 
 
10780
  aix_libpath=$lt_cv_aix_libpath_
 
10781
fi
 
10782
 
 
10783
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10784
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10785
      else
 
10786
        if test "$host_cpu" = ia64; then
 
10787
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
10788
          allow_undefined_flag="-z nodefs"
 
10789
          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"
 
10790
        else
 
10791
         # Determine the default libpath from the value encoded in an
 
10792
         # empty executable.
 
10793
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10794
  aix_libpath=$lt_cv_aix_libpath
 
10795
else
 
10796
  if ${lt_cv_aix_libpath_+:} false; then :
 
10797
  $as_echo_n "(cached) " >&6
 
10798
else
 
10799
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10800
/* end confdefs.h.  */
 
10801
 
 
10802
int
 
10803
main ()
 
10804
{
 
10805
 
 
10806
  ;
 
10807
  return 0;
 
10808
}
 
10809
_ACEOF
 
10810
if ac_fn_c_try_link "$LINENO"; then :
 
10811
 
 
10812
  lt_aix_libpath_sed='
 
10813
      /Import File Strings/,/^$/ {
 
10814
          /^0/ {
 
10815
              s/^0  *\([^ ]*\) *$/\1/
 
10816
              p
 
10817
          }
 
10818
      }'
 
10819
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10820
  # Check for a 64-bit object if we didn't find anything.
 
10821
  if test -z "$lt_cv_aix_libpath_"; then
 
10822
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10823
  fi
 
10824
fi
 
10825
rm -f core conftest.err conftest.$ac_objext \
 
10826
    conftest$ac_exeext conftest.$ac_ext
 
10827
  if test -z "$lt_cv_aix_libpath_"; then
 
10828
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10829
  fi
 
10830
 
 
10831
fi
 
10832
 
 
10833
  aix_libpath=$lt_cv_aix_libpath_
 
10834
fi
 
10835
 
 
10836
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10837
          # Warning - without using the other run time loading flags,
 
10838
          # -berok will link without error, but may produce a broken library.
 
10839
          no_undefined_flag=' ${wl}-bernotok'
 
10840
          allow_undefined_flag=' ${wl}-berok'
 
10841
          if test "$with_gnu_ld" = yes; then
 
10842
            # We only use this code for GNU lds that support --whole-archive.
 
10843
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10844
          else
 
10845
            # Exported symbols can be pulled into shared objects from archives
 
10846
            whole_archive_flag_spec='$convenience'
 
10847
          fi
 
10848
          archive_cmds_need_lc=yes
 
10849
          # This is similar to how AIX traditionally builds its shared libraries.
 
10850
          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'
 
10851
        fi
 
10852
      fi
 
10853
      ;;
 
10854
 
 
10855
    amigaos*)
 
10856
      case $host_cpu in
 
10857
      powerpc)
 
10858
            # see comment about AmigaOS4 .so support
 
10859
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10860
            archive_expsym_cmds=''
 
10861
        ;;
 
10862
      m68k)
 
10863
            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)'
 
10864
            hardcode_libdir_flag_spec='-L$libdir'
 
10865
            hardcode_minus_L=yes
 
10866
        ;;
 
10867
      esac
 
10868
      ;;
 
10869
 
 
10870
    bsdi[45]*)
 
10871
      export_dynamic_flag_spec=-rdynamic
 
10872
      ;;
 
10873
 
 
10874
    cygwin* | mingw* | pw32* | cegcc*)
 
10875
      # When not using gcc, we currently assume that we are using
 
10876
      # Microsoft Visual C++.
 
10877
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
10878
      # no search path for DLLs.
 
10879
      case $cc_basename in
 
10880
      cl*)
 
10881
        # Native MSVC
 
10882
        hardcode_libdir_flag_spec=' '
 
10883
        allow_undefined_flag=unsupported
 
10884
        always_export_symbols=yes
 
10885
        file_list_spec='@'
 
10886
        # Tell ltmain to make .lib files, not .a files.
 
10887
        libext=lib
 
10888
        # Tell ltmain to make .dll files, not .so files.
 
10889
        shrext_cmds=".dll"
 
10890
        # FIXME: Setting linknames here is a bad hack.
 
10891
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10892
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10893
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10894
          else
 
10895
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10896
          fi~
 
10897
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10898
          linknames='
 
10899
        # The linker will not automatically build a static lib if we build a DLL.
 
10900
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10901
        enable_shared_with_static_runtimes=yes
 
10902
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
10903
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10904
        # Don't use ranlib
 
10905
        old_postinstall_cmds='chmod 644 $oldlib'
 
10906
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10907
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10908
          case $lt_outputfile in
 
10909
            *.exe|*.EXE) ;;
 
10910
            *)
 
10911
              lt_outputfile="$lt_outputfile.exe"
 
10912
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10913
              ;;
 
10914
          esac~
 
10915
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10916
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10917
            $RM "$lt_outputfile.manifest";
 
10918
          fi'
 
10919
        ;;
 
10920
      *)
 
10921
        # Assume MSVC wrapper
 
10922
        hardcode_libdir_flag_spec=' '
 
10923
        allow_undefined_flag=unsupported
 
10924
        # Tell ltmain to make .lib files, not .a files.
 
10925
        libext=lib
 
10926
        # Tell ltmain to make .dll files, not .so files.
 
10927
        shrext_cmds=".dll"
 
10928
        # FIXME: Setting linknames here is a bad hack.
 
10929
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10930
        # The linker will automatically build a .lib file if we build a DLL.
 
10931
        old_archive_from_new_cmds='true'
 
10932
        # FIXME: Should let the user specify the lib program.
 
10933
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10934
        enable_shared_with_static_runtimes=yes
 
10935
        ;;
 
10936
      esac
 
10937
      ;;
 
10938
 
 
10939
    darwin* | rhapsody*)
 
10940
 
 
10941
 
 
10942
  archive_cmds_need_lc=no
 
10943
  hardcode_direct=no
 
10944
  hardcode_automatic=yes
 
10945
  hardcode_shlibpath_var=unsupported
 
10946
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10947
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
10948
 
 
10949
  else
 
10950
    whole_archive_flag_spec=''
 
10951
  fi
 
10952
  link_all_deplibs=yes
 
10953
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10954
  case $cc_basename in
 
10955
     ifort*) _lt_dar_can_shared=yes ;;
 
10956
     *) _lt_dar_can_shared=$GCC ;;
 
10957
  esac
 
10958
  if test "$_lt_dar_can_shared" = "yes"; then
 
10959
    output_verbose_link_cmd=func_echo_all
 
10960
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10961
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10962
    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}"
 
10963
    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}"
 
10964
 
 
10965
  else
 
10966
  ld_shlibs=no
 
10967
  fi
 
10968
 
 
10969
      ;;
 
10970
 
 
10971
    dgux*)
 
10972
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10973
      hardcode_libdir_flag_spec='-L$libdir'
 
10974
      hardcode_shlibpath_var=no
 
10975
      ;;
 
10976
 
 
10977
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
10978
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
10979
    # does not break anything, and helps significantly (at the cost of a little
 
10980
    # extra space).
 
10981
    freebsd2.2*)
 
10982
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
10983
      hardcode_libdir_flag_spec='-R$libdir'
 
10984
      hardcode_direct=yes
 
10985
      hardcode_shlibpath_var=no
 
10986
      ;;
 
10987
 
 
10988
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
10989
    freebsd2.*)
 
10990
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10991
      hardcode_direct=yes
 
10992
      hardcode_minus_L=yes
 
10993
      hardcode_shlibpath_var=no
 
10994
      ;;
 
10995
 
 
10996
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
10997
    freebsd* | dragonfly*)
 
10998
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10999
      hardcode_libdir_flag_spec='-R$libdir'
 
11000
      hardcode_direct=yes
 
11001
      hardcode_shlibpath_var=no
 
11002
      ;;
 
11003
 
 
11004
    hpux9*)
 
11005
      if test "$GCC" = yes; then
 
11006
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11007
      else
 
11008
        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'
 
11009
      fi
 
11010
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11011
      hardcode_libdir_separator=:
 
11012
      hardcode_direct=yes
 
11013
 
 
11014
      # hardcode_minus_L: Not really in the search PATH,
 
11015
      # but as the default location of the library.
 
11016
      hardcode_minus_L=yes
 
11017
      export_dynamic_flag_spec='${wl}-E'
 
11018
      ;;
 
11019
 
 
11020
    hpux10*)
 
11021
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11022
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11023
      else
 
11024
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11025
      fi
 
11026
      if test "$with_gnu_ld" = no; then
 
11027
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11028
        hardcode_libdir_separator=:
 
11029
        hardcode_direct=yes
 
11030
        hardcode_direct_absolute=yes
 
11031
        export_dynamic_flag_spec='${wl}-E'
 
11032
        # hardcode_minus_L: Not really in the search PATH,
 
11033
        # but as the default location of the library.
 
11034
        hardcode_minus_L=yes
 
11035
      fi
 
11036
      ;;
 
11037
 
 
11038
    hpux11*)
 
11039
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11040
        case $host_cpu in
 
11041
        hppa*64*)
 
11042
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11043
          ;;
 
11044
        ia64*)
 
11045
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11046
          ;;
 
11047
        *)
 
11048
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11049
          ;;
 
11050
        esac
 
11051
      else
 
11052
        case $host_cpu in
 
11053
        hppa*64*)
 
11054
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11055
          ;;
 
11056
        ia64*)
 
11057
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11058
          ;;
 
11059
        *)
 
11060
 
 
11061
          # Older versions of the 11.00 compiler do not understand -b yet
 
11062
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11063
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11064
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11065
if ${lt_cv_prog_compiler__b+:} false; then :
 
11066
  $as_echo_n "(cached) " >&6
 
11067
else
 
11068
  lt_cv_prog_compiler__b=no
 
11069
   save_LDFLAGS="$LDFLAGS"
 
11070
   LDFLAGS="$LDFLAGS -b"
 
11071
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11072
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11073
     # The linker can only warn and ignore the option if not recognized
 
11074
     # So say no if there are warnings
 
11075
     if test -s conftest.err; then
 
11076
       # Append any errors to the config.log.
 
11077
       cat conftest.err 1>&5
 
11078
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11079
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11080
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11081
         lt_cv_prog_compiler__b=yes
 
11082
       fi
 
11083
     else
 
11084
       lt_cv_prog_compiler__b=yes
 
11085
     fi
 
11086
   fi
 
11087
   $RM -r conftest*
 
11088
   LDFLAGS="$save_LDFLAGS"
 
11089
 
 
11090
fi
 
11091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11092
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11093
 
 
11094
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11095
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11096
else
 
11097
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11098
fi
 
11099
 
 
11100
          ;;
 
11101
        esac
 
11102
      fi
 
11103
      if test "$with_gnu_ld" = no; then
 
11104
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11105
        hardcode_libdir_separator=:
 
11106
 
 
11107
        case $host_cpu in
 
11108
        hppa*64*|ia64*)
 
11109
          hardcode_direct=no
 
11110
          hardcode_shlibpath_var=no
 
11111
          ;;
 
11112
        *)
 
11113
          hardcode_direct=yes
 
11114
          hardcode_direct_absolute=yes
 
11115
          export_dynamic_flag_spec='${wl}-E'
 
11116
 
 
11117
          # hardcode_minus_L: Not really in the search PATH,
 
11118
          # but as the default location of the library.
 
11119
          hardcode_minus_L=yes
 
11120
          ;;
 
11121
        esac
 
11122
      fi
 
11123
      ;;
 
11124
 
 
11125
    irix5* | irix6* | nonstopux*)
 
11126
      if test "$GCC" = yes; then
 
11127
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11128
        # Try to use the -exported_symbol ld option, if it does not
 
11129
        # work, assume that -exports_file does not work either and
 
11130
        # implicitly export all symbols.
 
11131
        # This should be the same for all languages, so no per-tag cache variable.
 
11132
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11133
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11134
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11135
  $as_echo_n "(cached) " >&6
 
11136
else
 
11137
  save_LDFLAGS="$LDFLAGS"
 
11138
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11139
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11140
/* end confdefs.h.  */
 
11141
int foo (void) { return 0; }
 
11142
_ACEOF
 
11143
if ac_fn_c_try_link "$LINENO"; then :
 
11144
  lt_cv_irix_exported_symbol=yes
 
11145
else
 
11146
  lt_cv_irix_exported_symbol=no
 
11147
fi
 
11148
rm -f core conftest.err conftest.$ac_objext \
 
11149
    conftest$ac_exeext conftest.$ac_ext
 
11150
           LDFLAGS="$save_LDFLAGS"
 
11151
fi
 
11152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11153
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11154
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11155
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
11156
        fi
 
11157
      else
 
11158
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
11159
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
11160
      fi
 
11161
      archive_cmds_need_lc='no'
 
11162
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11163
      hardcode_libdir_separator=:
 
11164
      inherit_rpath=yes
 
11165
      link_all_deplibs=yes
 
11166
      ;;
 
11167
 
 
11168
    netbsd*)
 
11169
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11170
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11171
      else
 
11172
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11173
      fi
 
11174
      hardcode_libdir_flag_spec='-R$libdir'
 
11175
      hardcode_direct=yes
 
11176
      hardcode_shlibpath_var=no
 
11177
      ;;
 
11178
 
 
11179
    newsos6)
 
11180
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11181
      hardcode_direct=yes
 
11182
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11183
      hardcode_libdir_separator=:
 
11184
      hardcode_shlibpath_var=no
 
11185
      ;;
 
11186
 
 
11187
    *nto* | *qnx*)
 
11188
      ;;
 
11189
 
 
11190
    openbsd*)
 
11191
      if test -f /usr/libexec/ld.so; then
 
11192
        hardcode_direct=yes
 
11193
        hardcode_shlibpath_var=no
 
11194
        hardcode_direct_absolute=yes
 
11195
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11196
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11197
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11198
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11199
          export_dynamic_flag_spec='${wl}-E'
 
11200
        else
 
11201
          case $host_os in
 
11202
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11203
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11204
             hardcode_libdir_flag_spec='-R$libdir'
 
11205
             ;;
 
11206
           *)
 
11207
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11208
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11209
             ;;
 
11210
          esac
 
11211
        fi
 
11212
      else
 
11213
        ld_shlibs=no
 
11214
      fi
 
11215
      ;;
 
11216
 
 
11217
    os2*)
 
11218
      hardcode_libdir_flag_spec='-L$libdir'
 
11219
      hardcode_minus_L=yes
 
11220
      allow_undefined_flag=unsupported
 
11221
      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'
 
11222
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11223
      ;;
 
11224
 
 
11225
    osf3*)
 
11226
      if test "$GCC" = yes; then
 
11227
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11228
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11229
      else
 
11230
        allow_undefined_flag=' -expect_unresolved \*'
 
11231
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
11232
      fi
 
11233
      archive_cmds_need_lc='no'
 
11234
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11235
      hardcode_libdir_separator=:
 
11236
      ;;
 
11237
 
 
11238
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
11239
      if test "$GCC" = yes; then
 
11240
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11241
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11242
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11243
      else
 
11244
        allow_undefined_flag=' -expect_unresolved \*'
 
11245
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
11246
        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~
 
11247
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
11248
 
 
11249
        # Both c and cxx compiler support -rpath directly
 
11250
        hardcode_libdir_flag_spec='-rpath $libdir'
 
11251
      fi
 
11252
      archive_cmds_need_lc='no'
 
11253
      hardcode_libdir_separator=:
 
11254
      ;;
 
11255
 
 
11256
    solaris*)
 
11257
      no_undefined_flag=' -z defs'
 
11258
      if test "$GCC" = yes; then
 
11259
        wlarc='${wl}'
 
11260
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11261
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11262
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11263
      else
 
11264
        case `$CC -V 2>&1` in
 
11265
        *"Compilers 5.0"*)
 
11266
          wlarc=''
 
11267
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11268
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11269
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11270
          ;;
 
11271
        *)
 
11272
          wlarc='${wl}'
 
11273
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11274
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11275
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11276
          ;;
 
11277
        esac
 
11278
      fi
 
11279
      hardcode_libdir_flag_spec='-R$libdir'
 
11280
      hardcode_shlibpath_var=no
 
11281
      case $host_os in
 
11282
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11283
      *)
 
11284
        # The compiler driver will combine and reorder linker options,
 
11285
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11286
        # but is careful enough not to reorder.
 
11287
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11288
        if test "$GCC" = yes; then
 
11289
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11290
        else
 
11291
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11292
        fi
 
11293
        ;;
 
11294
      esac
 
11295
      link_all_deplibs=yes
 
11296
      ;;
 
11297
 
 
11298
    sunos4*)
 
11299
      if test "x$host_vendor" = xsequent; then
 
11300
        # Use $CC to link under sequent, because it throws in some extra .o
 
11301
        # files that make .init and .fini sections work.
 
11302
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11303
      else
 
11304
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11305
      fi
 
11306
      hardcode_libdir_flag_spec='-L$libdir'
 
11307
      hardcode_direct=yes
 
11308
      hardcode_minus_L=yes
 
11309
      hardcode_shlibpath_var=no
 
11310
      ;;
 
11311
 
 
11312
    sysv4)
 
11313
      case $host_vendor in
 
11314
        sni)
 
11315
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11316
          hardcode_direct=yes # is this really true???
 
11317
        ;;
 
11318
        siemens)
 
11319
          ## LD is ld it makes a PLAMLIB
 
11320
          ## CC just makes a GrossModule.
 
11321
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11322
          reload_cmds='$CC -r -o $output$reload_objs'
 
11323
          hardcode_direct=no
 
11324
        ;;
 
11325
        motorola)
 
11326
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11327
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
11328
        ;;
 
11329
      esac
 
11330
      runpath_var='LD_RUN_PATH'
 
11331
      hardcode_shlibpath_var=no
 
11332
      ;;
 
11333
 
 
11334
    sysv4.3*)
 
11335
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11336
      hardcode_shlibpath_var=no
 
11337
      export_dynamic_flag_spec='-Bexport'
 
11338
      ;;
 
11339
 
 
11340
    sysv4*MP*)
 
11341
      if test -d /usr/nec; then
 
11342
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11343
        hardcode_shlibpath_var=no
 
11344
        runpath_var=LD_RUN_PATH
 
11345
        hardcode_runpath_var=yes
 
11346
        ld_shlibs=yes
 
11347
      fi
 
11348
      ;;
 
11349
 
 
11350
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11351
      no_undefined_flag='${wl}-z,text'
 
11352
      archive_cmds_need_lc=no
 
11353
      hardcode_shlibpath_var=no
 
11354
      runpath_var='LD_RUN_PATH'
 
11355
 
 
11356
      if test "$GCC" = yes; then
 
11357
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11358
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11359
      else
 
11360
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11361
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11362
      fi
 
11363
      ;;
 
11364
 
 
11365
    sysv5* | sco3.2v5* | sco5v6*)
 
11366
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11367
      # link with -lc, and that would cause any symbols used from libc to
 
11368
      # always be unresolved, which means just about no library would
 
11369
      # ever link correctly.  If we're not using GNU ld we use -z text
 
11370
      # though, which does catch some bad symbols but isn't as heavy-handed
 
11371
      # as -z defs.
 
11372
      no_undefined_flag='${wl}-z,text'
 
11373
      allow_undefined_flag='${wl}-z,nodefs'
 
11374
      archive_cmds_need_lc=no
 
11375
      hardcode_shlibpath_var=no
 
11376
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11377
      hardcode_libdir_separator=':'
 
11378
      link_all_deplibs=yes
 
11379
      export_dynamic_flag_spec='${wl}-Bexport'
 
11380
      runpath_var='LD_RUN_PATH'
 
11381
 
 
11382
      if test "$GCC" = yes; then
 
11383
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11384
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11385
      else
 
11386
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11387
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11388
      fi
 
11389
      ;;
 
11390
 
 
11391
    uts4*)
 
11392
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11393
      hardcode_libdir_flag_spec='-L$libdir'
 
11394
      hardcode_shlibpath_var=no
 
11395
      ;;
 
11396
 
 
11397
    *)
 
11398
      ld_shlibs=no
 
11399
      ;;
 
11400
    esac
 
11401
 
 
11402
    if test x$host_vendor = xsni; then
 
11403
      case $host in
 
11404
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11405
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
11406
        ;;
 
11407
      esac
 
11408
    fi
 
11409
  fi
 
11410
 
 
11411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11412
$as_echo "$ld_shlibs" >&6; }
 
11413
test "$ld_shlibs" = no && can_build_shared=no
 
11414
 
 
11415
with_gnu_ld=$with_gnu_ld
 
11416
 
 
11417
 
 
11418
 
 
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
 
 
11429
 
 
11430
 
 
11431
#
 
11432
# Do we need to explicitly link libc?
 
11433
#
 
11434
case "x$archive_cmds_need_lc" in
 
11435
x|xyes)
 
11436
  # Assume -lc should be added
 
11437
  archive_cmds_need_lc=yes
 
11438
 
 
11439
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
11440
    case $archive_cmds in
 
11441
    *'~'*)
 
11442
      # FIXME: we may have to deal with multi-command sequences.
 
11443
      ;;
 
11444
    '$CC '*)
 
11445
      # Test whether the compiler implicitly links with -lc since on some
 
11446
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
11447
      # to ld, don't add -lc before -lgcc.
 
11448
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11449
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
11450
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11451
  $as_echo_n "(cached) " >&6
 
11452
else
 
11453
  $RM conftest*
 
11454
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11455
 
 
11456
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11457
  (eval $ac_compile) 2>&5
 
11458
  ac_status=$?
 
11459
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11460
  test $ac_status = 0; } 2>conftest.err; then
 
11461
          soname=conftest
 
11462
          lib=conftest
 
11463
          libobjs=conftest.$ac_objext
 
11464
          deplibs=
 
11465
          wl=$lt_prog_compiler_wl
 
11466
          pic_flag=$lt_prog_compiler_pic
 
11467
          compiler_flags=-v
 
11468
          linker_flags=-v
 
11469
          verstring=
 
11470
          output_objdir=.
 
11471
          libname=conftest
 
11472
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11473
          allow_undefined_flag=
 
11474
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11475
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
11476
  ac_status=$?
 
11477
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11478
  test $ac_status = 0; }
 
11479
          then
 
11480
            lt_cv_archive_cmds_need_lc=no
 
11481
          else
 
11482
            lt_cv_archive_cmds_need_lc=yes
 
11483
          fi
 
11484
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11485
        else
 
11486
          cat conftest.err 1>&5
 
11487
        fi
 
11488
        $RM conftest*
 
11489
 
 
11490
fi
 
11491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11492
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11493
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
11494
      ;;
 
11495
    esac
 
11496
  fi
 
11497
  ;;
 
11498
esac
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
 
11505
 
 
11506
 
 
11507
 
 
11508
 
 
11509
 
 
11510
 
 
11511
 
 
11512
 
 
11513
 
 
11514
 
 
11515
 
 
11516
 
 
11517
 
 
11518
 
 
11519
 
 
11520
 
 
11521
 
 
11522
 
 
11523
 
 
11524
 
 
11525
 
 
11526
 
 
11527
 
 
11528
 
 
11529
 
 
11530
 
 
11531
 
 
11532
 
 
11533
 
 
11534
 
 
11535
 
 
11536
 
 
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
 
11542
 
 
11543
 
 
11544
 
 
11545
 
 
11546
 
 
11547
 
 
11548
 
 
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
 
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
 
 
11562
 
 
11563
 
 
11564
 
 
11565
 
 
11566
 
 
11567
 
 
11568
 
 
11569
 
 
11570
 
 
11571
 
 
11572
 
 
11573
 
 
11574
 
 
11575
 
 
11576
 
 
11577
 
 
11578
 
 
11579
 
 
11580
 
 
11581
 
 
11582
 
 
11583
 
 
11584
 
 
11585
 
 
11586
 
 
11587
 
 
11588
 
 
11589
 
 
11590
 
 
11591
 
 
11592
 
 
11593
 
 
11594
 
 
11595
 
 
11596
 
 
11597
 
 
11598
 
 
11599
 
 
11600
 
 
11601
 
 
11602
 
 
11603
 
 
11604
 
 
11605
 
 
11606
 
 
11607
 
 
11608
 
 
11609
 
 
11610
 
 
11611
 
 
11612
 
 
11613
 
 
11614
 
 
11615
 
 
11616
 
 
11617
 
 
11618
 
 
11619
 
 
11620
 
 
11621
 
 
11622
 
 
11623
 
 
11624
 
 
11625
 
 
11626
 
 
11627
 
 
11628
 
 
11629
 
 
11630
 
 
11631
 
 
11632
 
 
11633
 
 
11634
 
 
11635
 
 
11636
 
 
11637
 
 
11638
 
 
11639
 
 
11640
 
 
11641
 
 
11642
 
 
11643
 
 
11644
 
 
11645
 
 
11646
 
 
11647
 
 
11648
 
 
11649
 
 
11650
 
 
11651
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
11652
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
11653
 
 
11654
if test "$GCC" = yes; then
 
11655
  case $host_os in
 
11656
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
11657
    *) lt_awk_arg="/^libraries:/" ;;
 
11658
  esac
 
11659
  case $host_os in
 
11660
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11661
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11662
  esac
 
11663
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11664
  case $lt_search_path_spec in
 
11665
  *\;*)
 
11666
    # if the path contains ";" then we assume it to be the separator
 
11667
    # otherwise default to the standard path separator (i.e. ":") - it is
 
11668
    # assumed that no part of a normal pathname contains ";" but that should
 
11669
    # okay in the real world where ";" in dirpaths is itself problematic.
 
11670
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11671
    ;;
 
11672
  *)
 
11673
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11674
    ;;
 
11675
  esac
 
11676
  # Ok, now we have the path, separated by spaces, we can step through it
 
11677
  # and add multilib dir if necessary.
 
11678
  lt_tmp_lt_search_path_spec=
 
11679
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
11680
  for lt_sys_path in $lt_search_path_spec; do
 
11681
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
11682
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
11683
    else
 
11684
      test -d "$lt_sys_path" && \
 
11685
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
11686
    fi
 
11687
  done
 
11688
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
11689
BEGIN {RS=" "; FS="/|\n";} {
 
11690
  lt_foo="";
 
11691
  lt_count=0;
 
11692
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
11693
    if ($lt_i != "" && $lt_i != ".") {
 
11694
      if ($lt_i == "..") {
 
11695
        lt_count++;
 
11696
      } else {
 
11697
        if (lt_count == 0) {
 
11698
          lt_foo="/" $lt_i lt_foo;
 
11699
        } else {
 
11700
          lt_count--;
 
11701
        }
 
11702
      }
 
11703
    }
 
11704
  }
 
11705
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
11706
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
11707
}'`
 
11708
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11709
  # for these hosts.
 
11710
  case $host_os in
 
11711
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11712
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11713
  esac
 
11714
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
11715
else
 
11716
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
11717
fi
 
11718
library_names_spec=
 
11719
libname_spec='lib$name'
 
11720
soname_spec=
 
11721
shrext_cmds=".so"
 
11722
postinstall_cmds=
 
11723
postuninstall_cmds=
 
11724
finish_cmds=
 
11725
finish_eval=
 
11726
shlibpath_var=
 
11727
shlibpath_overrides_runpath=unknown
 
11728
version_type=none
 
11729
dynamic_linker="$host_os ld.so"
 
11730
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
11731
need_lib_prefix=unknown
 
11732
hardcode_into_libs=no
 
11733
 
 
11734
# when you set need_version to no, make sure it does not cause -set_version
 
11735
# flags to be left without arguments
 
11736
need_version=unknown
 
11737
 
 
11738
case $host_os in
 
11739
aix3*)
 
11740
  version_type=linux # correct to gnu/linux during the next big refactor
 
11741
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
11742
  shlibpath_var=LIBPATH
 
11743
 
 
11744
  # AIX 3 has no versioning support, so we append a major version to the name.
 
11745
  soname_spec='${libname}${release}${shared_ext}$major'
 
11746
  ;;
 
11747
 
 
11748
aix[4-9]*)
 
11749
  version_type=linux # correct to gnu/linux during the next big refactor
 
11750
  need_lib_prefix=no
 
11751
  need_version=no
 
11752
  hardcode_into_libs=yes
 
11753
  if test "$host_cpu" = ia64; then
 
11754
    # AIX 5 supports IA64
 
11755
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
11756
    shlibpath_var=LD_LIBRARY_PATH
 
11757
  else
 
11758
    # With GCC up to 2.95.x, collect2 would create an import file
 
11759
    # for dependence libraries.  The import file would start with
 
11760
    # the line `#! .'.  This would cause the generated library to
 
11761
    # depend on `.', always an invalid library.  This was fixed in
 
11762
    # development snapshots of GCC prior to 3.0.
 
11763
    case $host_os in
 
11764
      aix4 | aix4.[01] | aix4.[01].*)
 
11765
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
11766
           echo ' yes '
 
11767
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
11768
        :
 
11769
      else
 
11770
        can_build_shared=no
 
11771
      fi
 
11772
      ;;
 
11773
    esac
 
11774
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
11775
    # soname into executable. Probably we can add versioning support to
 
11776
    # collect2, so additional links can be useful in future.
 
11777
    if test "$aix_use_runtimelinking" = yes; then
 
11778
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
11779
      # instead of lib<name>.a to let people know that these are not
 
11780
      # typical AIX shared libraries.
 
11781
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11782
    else
 
11783
      # We preserve .a as extension for shared libraries through AIX4.2
 
11784
      # and later when we are not doing run time linking.
 
11785
      library_names_spec='${libname}${release}.a $libname.a'
 
11786
      soname_spec='${libname}${release}${shared_ext}$major'
 
11787
    fi
 
11788
    shlibpath_var=LIBPATH
 
11789
  fi
 
11790
  ;;
 
11791
 
 
11792
amigaos*)
 
11793
  case $host_cpu in
 
11794
  powerpc)
 
11795
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11796
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11797
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11798
    ;;
 
11799
  m68k)
 
11800
    library_names_spec='$libname.ixlibrary $libname.a'
 
11801
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11802
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
11803
    ;;
 
11804
  esac
 
11805
  ;;
 
11806
 
 
11807
beos*)
 
11808
  library_names_spec='${libname}${shared_ext}'
 
11809
  dynamic_linker="$host_os ld.so"
 
11810
  shlibpath_var=LIBRARY_PATH
 
11811
  ;;
 
11812
 
 
11813
bsdi[45]*)
 
11814
  version_type=linux # correct to gnu/linux during the next big refactor
 
11815
  need_version=no
 
11816
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11817
  soname_spec='${libname}${release}${shared_ext}$major'
 
11818
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
11819
  shlibpath_var=LD_LIBRARY_PATH
 
11820
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
11821
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
11822
  # the default ld.so.conf also contains /usr/contrib/lib and
 
11823
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
11824
  # libtool to hard-code these into programs
 
11825
  ;;
 
11826
 
 
11827
cygwin* | mingw* | pw32* | cegcc*)
 
11828
  version_type=windows
 
11829
  shrext_cmds=".dll"
 
11830
  need_version=no
 
11831
  need_lib_prefix=no
 
11832
 
 
11833
  case $GCC,$cc_basename in
 
11834
  yes,*)
 
11835
    # gcc
 
11836
    library_names_spec='$libname.dll.a'
 
11837
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11838
    postinstall_cmds='base_file=`basename \${file}`~
 
11839
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11840
      dldir=$destdir/`dirname \$dlpath`~
 
11841
      test -d \$dldir || mkdir -p \$dldir~
 
11842
      $install_prog $dir/$dlname \$dldir/$dlname~
 
11843
      chmod a+x \$dldir/$dlname~
 
11844
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11845
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11846
      fi'
 
11847
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11848
      dlpath=$dir/\$dldll~
 
11849
       $RM \$dlpath'
 
11850
    shlibpath_overrides_runpath=yes
 
11851
 
 
11852
    case $host_os in
 
11853
    cygwin*)
 
11854
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
11855
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11856
 
 
11857
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
11858
      ;;
 
11859
    mingw* | cegcc*)
 
11860
      # MinGW DLLs use traditional 'lib' prefix
 
11861
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11862
      ;;
 
11863
    pw32*)
 
11864
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
11865
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11866
      ;;
 
11867
    esac
 
11868
    dynamic_linker='Win32 ld.exe'
 
11869
    ;;
 
11870
 
 
11871
  *,cl*)
 
11872
    # Native MSVC
 
11873
    libname_spec='$name'
 
11874
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11875
    library_names_spec='${libname}.dll.lib'
 
11876
 
 
11877
    case $build_os in
 
11878
    mingw*)
 
11879
      sys_lib_search_path_spec=
 
11880
      lt_save_ifs=$IFS
 
11881
      IFS=';'
 
11882
      for lt_path in $LIB
 
11883
      do
 
11884
        IFS=$lt_save_ifs
 
11885
        # Let DOS variable expansion print the short 8.3 style file name.
 
11886
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11887
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11888
      done
 
11889
      IFS=$lt_save_ifs
 
11890
      # Convert to MSYS style.
 
11891
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11892
      ;;
 
11893
    cygwin*)
 
11894
      # Convert to unix form, then to dos form, then back to unix form
 
11895
      # but this time dos style (no spaces!) so that the unix form looks
 
11896
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11897
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11898
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11899
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11900
      ;;
 
11901
    *)
 
11902
      sys_lib_search_path_spec="$LIB"
 
11903
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11904
        # It is most probably a Windows format PATH.
 
11905
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11906
      else
 
11907
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11908
      fi
 
11909
      # FIXME: find the short name or the path components, as spaces are
 
11910
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11911
      ;;
 
11912
    esac
 
11913
 
 
11914
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11915
    postinstall_cmds='base_file=`basename \${file}`~
 
11916
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11917
      dldir=$destdir/`dirname \$dlpath`~
 
11918
      test -d \$dldir || mkdir -p \$dldir~
 
11919
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11920
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11921
      dlpath=$dir/\$dldll~
 
11922
       $RM \$dlpath'
 
11923
    shlibpath_overrides_runpath=yes
 
11924
    dynamic_linker='Win32 link.exe'
 
11925
    ;;
 
11926
 
 
11927
  *)
 
11928
    # Assume MSVC wrapper
 
11929
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11930
    dynamic_linker='Win32 ld.exe'
 
11931
    ;;
 
11932
  esac
 
11933
  # FIXME: first we should search . and the directory the executable is in
 
11934
  shlibpath_var=PATH
 
11935
  ;;
 
11936
 
 
11937
darwin* | rhapsody*)
 
11938
  dynamic_linker="$host_os dyld"
 
11939
  version_type=darwin
 
11940
  need_lib_prefix=no
 
11941
  need_version=no
 
11942
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11943
  soname_spec='${libname}${release}${major}$shared_ext'
 
11944
  shlibpath_overrides_runpath=yes
 
11945
  shlibpath_var=DYLD_LIBRARY_PATH
 
11946
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
11947
 
 
11948
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
11949
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
11950
  ;;
 
11951
 
 
11952
dgux*)
 
11953
  version_type=linux # correct to gnu/linux during the next big refactor
 
11954
  need_lib_prefix=no
 
11955
  need_version=no
 
11956
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
11957
  soname_spec='${libname}${release}${shared_ext}$major'
 
11958
  shlibpath_var=LD_LIBRARY_PATH
 
11959
  ;;
 
11960
 
 
11961
freebsd* | dragonfly*)
 
11962
  # DragonFly does not have aout.  When/if they implement a new
 
11963
  # versioning mechanism, adjust this.
 
11964
  if test -x /usr/bin/objformat; then
 
11965
    objformat=`/usr/bin/objformat`
 
11966
  else
 
11967
    case $host_os in
 
11968
    freebsd[23].*) objformat=aout ;;
 
11969
    *) objformat=elf ;;
 
11970
    esac
 
11971
  fi
 
11972
  version_type=freebsd-$objformat
 
11973
  case $version_type in
 
11974
    freebsd-elf*)
 
11975
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11976
      need_version=no
 
11977
      need_lib_prefix=no
 
11978
      ;;
 
11979
    freebsd-*)
 
11980
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
11981
      need_version=yes
 
11982
      ;;
 
11983
  esac
 
11984
  shlibpath_var=LD_LIBRARY_PATH
 
11985
  case $host_os in
 
11986
  freebsd2.*)
 
11987
    shlibpath_overrides_runpath=yes
 
11988
    ;;
 
11989
  freebsd3.[01]* | freebsdelf3.[01]*)
 
11990
    shlibpath_overrides_runpath=yes
 
11991
    hardcode_into_libs=yes
 
11992
    ;;
 
11993
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
11994
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
11995
    shlibpath_overrides_runpath=no
 
11996
    hardcode_into_libs=yes
 
11997
    ;;
 
11998
  *) # from 4.6 on, and DragonFly
 
11999
    shlibpath_overrides_runpath=yes
 
12000
    hardcode_into_libs=yes
 
12001
    ;;
 
12002
  esac
 
12003
  ;;
 
12004
 
 
12005
gnu*)
 
12006
  version_type=linux # correct to gnu/linux during the next big refactor
 
12007
  need_lib_prefix=no
 
12008
  need_version=no
 
12009
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12010
  soname_spec='${libname}${release}${shared_ext}$major'
 
12011
  shlibpath_var=LD_LIBRARY_PATH
 
12012
  shlibpath_overrides_runpath=no
 
12013
  hardcode_into_libs=yes
 
12014
  ;;
 
12015
 
 
12016
haiku*)
 
12017
  version_type=linux # correct to gnu/linux during the next big refactor
 
12018
  need_lib_prefix=no
 
12019
  need_version=no
 
12020
  dynamic_linker="$host_os runtime_loader"
 
12021
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12022
  soname_spec='${libname}${release}${shared_ext}$major'
 
12023
  shlibpath_var=LIBRARY_PATH
 
12024
  shlibpath_overrides_runpath=yes
 
12025
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
12026
  hardcode_into_libs=yes
 
12027
  ;;
 
12028
 
 
12029
hpux9* | hpux10* | hpux11*)
 
12030
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
12031
  # link against other versions.
 
12032
  version_type=sunos
 
12033
  need_lib_prefix=no
 
12034
  need_version=no
 
12035
  case $host_cpu in
 
12036
  ia64*)
 
12037
    shrext_cmds='.so'
 
12038
    hardcode_into_libs=yes
 
12039
    dynamic_linker="$host_os dld.so"
 
12040
    shlibpath_var=LD_LIBRARY_PATH
 
12041
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12042
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12043
    soname_spec='${libname}${release}${shared_ext}$major'
 
12044
    if test "X$HPUX_IA64_MODE" = X32; then
 
12045
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12046
    else
 
12047
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12048
    fi
 
12049
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12050
    ;;
 
12051
  hppa*64*)
 
12052
    shrext_cmds='.sl'
 
12053
    hardcode_into_libs=yes
 
12054
    dynamic_linker="$host_os dld.sl"
 
12055
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
12056
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12057
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12058
    soname_spec='${libname}${release}${shared_ext}$major'
 
12059
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
12060
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12061
    ;;
 
12062
  *)
 
12063
    shrext_cmds='.sl'
 
12064
    dynamic_linker="$host_os dld.sl"
 
12065
    shlibpath_var=SHLIB_PATH
 
12066
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
12067
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12068
    soname_spec='${libname}${release}${shared_ext}$major'
 
12069
    ;;
 
12070
  esac
 
12071
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
12072
  postinstall_cmds='chmod 555 $lib'
 
12073
  # or fails outright, so override atomically:
 
12074
  install_override_mode=555
 
12075
  ;;
 
12076
 
 
12077
interix[3-9]*)
 
12078
  version_type=linux # correct to gnu/linux during the next big refactor
 
12079
  need_lib_prefix=no
 
12080
  need_version=no
 
12081
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12082
  soname_spec='${libname}${release}${shared_ext}$major'
 
12083
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12084
  shlibpath_var=LD_LIBRARY_PATH
 
12085
  shlibpath_overrides_runpath=no
 
12086
  hardcode_into_libs=yes
 
12087
  ;;
 
12088
 
 
12089
irix5* | irix6* | nonstopux*)
 
12090
  case $host_os in
 
12091
    nonstopux*) version_type=nonstopux ;;
 
12092
    *)
 
12093
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12094
                version_type=linux # correct to gnu/linux during the next big refactor
 
12095
        else
 
12096
                version_type=irix
 
12097
        fi ;;
 
12098
  esac
 
12099
  need_lib_prefix=no
 
12100
  need_version=no
 
12101
  soname_spec='${libname}${release}${shared_ext}$major'
 
12102
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12103
  case $host_os in
 
12104
  irix5* | nonstopux*)
 
12105
    libsuff= shlibsuff=
 
12106
    ;;
 
12107
  *)
 
12108
    case $LD in # libtool.m4 will add one of these switches to LD
 
12109
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12110
      libsuff= shlibsuff= libmagic=32-bit;;
 
12111
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12112
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12113
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12114
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12115
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12116
    esac
 
12117
    ;;
 
12118
  esac
 
12119
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12120
  shlibpath_overrides_runpath=no
 
12121
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12122
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12123
  hardcode_into_libs=yes
 
12124
  ;;
 
12125
 
 
12126
# No shared lib support for Linux oldld, aout, or coff.
 
12127
linux*oldld* | linux*aout* | linux*coff*)
 
12128
  dynamic_linker=no
 
12129
  ;;
 
12130
 
 
12131
# This must be glibc/ELF.
 
12132
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12133
  version_type=linux # correct to gnu/linux during the next big refactor
 
12134
  need_lib_prefix=no
 
12135
  need_version=no
 
12136
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12137
  soname_spec='${libname}${release}${shared_ext}$major'
 
12138
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12139
  shlibpath_var=LD_LIBRARY_PATH
 
12140
  shlibpath_overrides_runpath=no
 
12141
 
 
12142
  # Some binutils ld are patched to set DT_RUNPATH
 
12143
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12144
  $as_echo_n "(cached) " >&6
 
12145
else
 
12146
  lt_cv_shlibpath_overrides_runpath=no
 
12147
    save_LDFLAGS=$LDFLAGS
 
12148
    save_libdir=$libdir
 
12149
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12150
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12151
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12152
/* end confdefs.h.  */
 
12153
 
 
12154
int
 
12155
main ()
 
12156
{
 
12157
 
 
12158
  ;
 
12159
  return 0;
 
12160
}
 
12161
_ACEOF
 
12162
if ac_fn_c_try_link "$LINENO"; then :
 
12163
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
12164
  lt_cv_shlibpath_overrides_runpath=yes
 
12165
fi
 
12166
fi
 
12167
rm -f core conftest.err conftest.$ac_objext \
 
12168
    conftest$ac_exeext conftest.$ac_ext
 
12169
    LDFLAGS=$save_LDFLAGS
 
12170
    libdir=$save_libdir
 
12171
 
 
12172
fi
 
12173
 
 
12174
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
12175
 
 
12176
  # This implies no fast_install, which is unacceptable.
 
12177
  # Some rework will be needed to allow for fast_install
 
12178
  # before this can be enabled.
 
12179
  hardcode_into_libs=yes
 
12180
 
 
12181
  # Append ld.so.conf contents to the search path
 
12182
  if test -f /etc/ld.so.conf; then
 
12183
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
12184
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12185
  fi
 
12186
 
 
12187
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
12188
  # powerpc, because MkLinux only supported shared libraries with the
 
12189
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
12190
  # most powerpc-linux boxes support dynamic linking these days and
 
12191
  # people can always --disable-shared, the test was removed, and we
 
12192
  # assume the GNU/Linux dynamic linker is in use.
 
12193
  dynamic_linker='GNU/Linux ld.so'
 
12194
  ;;
 
12195
 
 
12196
netbsd*)
 
12197
  version_type=sunos
 
12198
  need_lib_prefix=no
 
12199
  need_version=no
 
12200
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12201
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12202
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12203
    dynamic_linker='NetBSD (a.out) ld.so'
 
12204
  else
 
12205
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12206
    soname_spec='${libname}${release}${shared_ext}$major'
 
12207
    dynamic_linker='NetBSD ld.elf_so'
 
12208
  fi
 
12209
  shlibpath_var=LD_LIBRARY_PATH
 
12210
  shlibpath_overrides_runpath=yes
 
12211
  hardcode_into_libs=yes
 
12212
  ;;
 
12213
 
 
12214
newsos6)
 
12215
  version_type=linux # correct to gnu/linux during the next big refactor
 
12216
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12217
  shlibpath_var=LD_LIBRARY_PATH
 
12218
  shlibpath_overrides_runpath=yes
 
12219
  ;;
 
12220
 
 
12221
*nto* | *qnx*)
 
12222
  version_type=qnx
 
12223
  need_lib_prefix=no
 
12224
  need_version=no
 
12225
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12226
  soname_spec='${libname}${release}${shared_ext}$major'
 
12227
  shlibpath_var=LD_LIBRARY_PATH
 
12228
  shlibpath_overrides_runpath=no
 
12229
  hardcode_into_libs=yes
 
12230
  dynamic_linker='ldqnx.so'
 
12231
  ;;
 
12232
 
 
12233
openbsd*)
 
12234
  version_type=sunos
 
12235
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12236
  need_lib_prefix=no
 
12237
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12238
  case $host_os in
 
12239
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
12240
    *)                          need_version=no  ;;
 
12241
  esac
 
12242
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12243
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12244
  shlibpath_var=LD_LIBRARY_PATH
 
12245
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12246
    case $host_os in
 
12247
      openbsd2.[89] | openbsd2.[89].*)
 
12248
        shlibpath_overrides_runpath=no
 
12249
        ;;
 
12250
      *)
 
12251
        shlibpath_overrides_runpath=yes
 
12252
        ;;
 
12253
      esac
 
12254
  else
 
12255
    shlibpath_overrides_runpath=yes
 
12256
  fi
 
12257
  ;;
 
12258
 
 
12259
os2*)
 
12260
  libname_spec='$name'
 
12261
  shrext_cmds=".dll"
 
12262
  need_lib_prefix=no
 
12263
  library_names_spec='$libname${shared_ext} $libname.a'
 
12264
  dynamic_linker='OS/2 ld.exe'
 
12265
  shlibpath_var=LIBPATH
 
12266
  ;;
 
12267
 
 
12268
osf3* | osf4* | osf5*)
 
12269
  version_type=osf
 
12270
  need_lib_prefix=no
 
12271
  need_version=no
 
12272
  soname_spec='${libname}${release}${shared_ext}$major'
 
12273
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12274
  shlibpath_var=LD_LIBRARY_PATH
 
12275
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
12276
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12277
  ;;
 
12278
 
 
12279
rdos*)
 
12280
  dynamic_linker=no
 
12281
  ;;
 
12282
 
 
12283
solaris*)
 
12284
  version_type=linux # correct to gnu/linux during the next big refactor
 
12285
  need_lib_prefix=no
 
12286
  need_version=no
 
12287
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12288
  soname_spec='${libname}${release}${shared_ext}$major'
 
12289
  shlibpath_var=LD_LIBRARY_PATH
 
12290
  shlibpath_overrides_runpath=yes
 
12291
  hardcode_into_libs=yes
 
12292
  # ldd complains unless libraries are executable
 
12293
  postinstall_cmds='chmod +x $lib'
 
12294
  ;;
 
12295
 
 
12296
sunos4*)
 
12297
  version_type=sunos
 
12298
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12299
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
12300
  shlibpath_var=LD_LIBRARY_PATH
 
12301
  shlibpath_overrides_runpath=yes
 
12302
  if test "$with_gnu_ld" = yes; then
 
12303
    need_lib_prefix=no
 
12304
  fi
 
12305
  need_version=yes
 
12306
  ;;
 
12307
 
 
12308
sysv4 | sysv4.3*)
 
12309
  version_type=linux # correct to gnu/linux during the next big refactor
 
12310
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12311
  soname_spec='${libname}${release}${shared_ext}$major'
 
12312
  shlibpath_var=LD_LIBRARY_PATH
 
12313
  case $host_vendor in
 
12314
    sni)
 
12315
      shlibpath_overrides_runpath=no
 
12316
      need_lib_prefix=no
 
12317
      runpath_var=LD_RUN_PATH
 
12318
      ;;
 
12319
    siemens)
 
12320
      need_lib_prefix=no
 
12321
      ;;
 
12322
    motorola)
 
12323
      need_lib_prefix=no
 
12324
      need_version=no
 
12325
      shlibpath_overrides_runpath=no
 
12326
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
12327
      ;;
 
12328
  esac
 
12329
  ;;
 
12330
 
 
12331
sysv4*MP*)
 
12332
  if test -d /usr/nec ;then
 
12333
    version_type=linux # correct to gnu/linux during the next big refactor
 
12334
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
12335
    soname_spec='$libname${shared_ext}.$major'
 
12336
    shlibpath_var=LD_LIBRARY_PATH
 
12337
  fi
 
12338
  ;;
 
12339
 
 
12340
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12341
  version_type=freebsd-elf
 
12342
  need_lib_prefix=no
 
12343
  need_version=no
 
12344
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12345
  soname_spec='${libname}${release}${shared_ext}$major'
 
12346
  shlibpath_var=LD_LIBRARY_PATH
 
12347
  shlibpath_overrides_runpath=yes
 
12348
  hardcode_into_libs=yes
 
12349
  if test "$with_gnu_ld" = yes; then
 
12350
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12351
  else
 
12352
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12353
    case $host_os in
 
12354
      sco3.2v5*)
 
12355
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12356
        ;;
 
12357
    esac
 
12358
  fi
 
12359
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12360
  ;;
 
12361
 
 
12362
tpf*)
 
12363
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
12364
  version_type=linux # correct to gnu/linux during the next big refactor
 
12365
  need_lib_prefix=no
 
12366
  need_version=no
 
12367
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12368
  shlibpath_var=LD_LIBRARY_PATH
 
12369
  shlibpath_overrides_runpath=no
 
12370
  hardcode_into_libs=yes
 
12371
  ;;
 
12372
 
 
12373
uts4*)
 
12374
  version_type=linux # correct to gnu/linux during the next big refactor
 
12375
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12376
  soname_spec='${libname}${release}${shared_ext}$major'
 
12377
  shlibpath_var=LD_LIBRARY_PATH
 
12378
  ;;
 
12379
 
 
12380
*)
 
12381
  dynamic_linker=no
 
12382
  ;;
 
12383
esac
 
12384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12385
$as_echo "$dynamic_linker" >&6; }
 
12386
test "$dynamic_linker" = no && can_build_shared=no
 
12387
 
 
12388
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12389
if test "$GCC" = yes; then
 
12390
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12391
fi
 
12392
 
 
12393
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12394
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12395
fi
 
12396
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12397
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12398
fi
 
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
 
 
12442
 
 
12443
 
 
12444
 
 
12445
 
 
12446
 
 
12447
 
 
12448
 
 
12449
 
 
12450
 
 
12451
 
 
12452
 
 
12453
 
 
12454
 
 
12455
 
 
12456
 
 
12457
 
 
12458
 
 
12459
 
 
12460
 
 
12461
 
 
12462
 
 
12463
 
 
12464
 
 
12465
 
 
12466
 
 
12467
 
 
12468
 
 
12469
 
 
12470
 
 
12471
 
 
12472
 
 
12473
 
 
12474
 
 
12475
 
 
12476
 
 
12477
 
 
12478
 
 
12479
 
 
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
12485
 
 
12486
 
 
12487
 
 
12488
 
 
12489
 
 
12490
 
 
12491
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
12492
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
12493
hardcode_action=
 
12494
if test -n "$hardcode_libdir_flag_spec" ||
 
12495
   test -n "$runpath_var" ||
 
12496
   test "X$hardcode_automatic" = "Xyes" ; then
 
12497
 
 
12498
  # We can hardcode non-existent directories.
 
12499
  if test "$hardcode_direct" != no &&
 
12500
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
12501
     # have to relink, otherwise we might link with an installed library
 
12502
     # when we should be linking with a yet-to-be-installed one
 
12503
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
12504
     test "$hardcode_minus_L" != no; then
 
12505
    # Linking always hardcodes the temporary library directory.
 
12506
    hardcode_action=relink
 
12507
  else
 
12508
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
12509
    hardcode_action=immediate
 
12510
  fi
 
12511
else
 
12512
  # We cannot hardcode anything, or else we can only hardcode existing
 
12513
  # directories.
 
12514
  hardcode_action=unsupported
 
12515
fi
 
12516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
12517
$as_echo "$hardcode_action" >&6; }
 
12518
 
 
12519
if test "$hardcode_action" = relink ||
 
12520
   test "$inherit_rpath" = yes; then
 
12521
  # Fast installation is not supported
 
12522
  enable_fast_install=no
 
12523
elif test "$shlibpath_overrides_runpath" = yes ||
 
12524
     test "$enable_shared" = no; then
 
12525
  # Fast installation is not necessary
 
12526
  enable_fast_install=needless
 
12527
fi
 
12528
 
 
12529
 
 
12530
 
 
12531
 
 
12532
 
 
12533
 
 
12534
  if test "x$enable_dlopen" != xyes; then
 
12535
  enable_dlopen=unknown
 
12536
  enable_dlopen_self=unknown
 
12537
  enable_dlopen_self_static=unknown
 
12538
else
 
12539
  lt_cv_dlopen=no
 
12540
  lt_cv_dlopen_libs=
 
12541
 
 
12542
  case $host_os in
 
12543
  beos*)
 
12544
    lt_cv_dlopen="load_add_on"
 
12545
    lt_cv_dlopen_libs=
 
12546
    lt_cv_dlopen_self=yes
 
12547
    ;;
 
12548
 
 
12549
  mingw* | pw32* | cegcc*)
 
12550
    lt_cv_dlopen="LoadLibrary"
 
12551
    lt_cv_dlopen_libs=
 
12552
    ;;
 
12553
 
 
12554
  cygwin*)
 
12555
    lt_cv_dlopen="dlopen"
 
12556
    lt_cv_dlopen_libs=
 
12557
    ;;
 
12558
 
 
12559
  darwin*)
 
12560
  # if libdl is installed we need to link against it
 
12561
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12562
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12563
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
12564
  $as_echo_n "(cached) " >&6
 
12565
else
 
12566
  ac_check_lib_save_LIBS=$LIBS
 
12567
LIBS="-ldl  $LIBS"
 
12568
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12569
/* end confdefs.h.  */
 
12570
 
 
12571
/* Override any GCC internal prototype to avoid an error.
 
12572
   Use char because int might match the return type of a GCC
 
12573
   builtin and then its argument prototype would still apply.  */
 
12574
#ifdef __cplusplus
 
12575
extern "C"
 
12576
#endif
 
12577
char dlopen ();
 
12578
int
 
12579
main ()
 
12580
{
 
12581
return dlopen ();
 
12582
  ;
 
12583
  return 0;
 
12584
}
 
12585
_ACEOF
 
12586
if ac_fn_c_try_link "$LINENO"; then :
 
12587
  ac_cv_lib_dl_dlopen=yes
 
12588
else
 
12589
  ac_cv_lib_dl_dlopen=no
 
12590
fi
 
12591
rm -f core conftest.err conftest.$ac_objext \
 
12592
    conftest$ac_exeext conftest.$ac_ext
 
12593
LIBS=$ac_check_lib_save_LIBS
 
12594
fi
 
12595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12596
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12597
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
12598
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12599
else
 
12600
 
 
12601
    lt_cv_dlopen="dyld"
 
12602
    lt_cv_dlopen_libs=
 
12603
    lt_cv_dlopen_self=yes
 
12604
 
 
12605
fi
 
12606
 
 
12607
    ;;
 
12608
 
 
12609
  *)
 
12610
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
12611
if test "x$ac_cv_func_shl_load" = xyes; then :
 
12612
  lt_cv_dlopen="shl_load"
 
12613
else
 
12614
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
12615
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
12616
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
12617
  $as_echo_n "(cached) " >&6
 
12618
else
 
12619
  ac_check_lib_save_LIBS=$LIBS
 
12620
LIBS="-ldld  $LIBS"
 
12621
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12622
/* end confdefs.h.  */
 
12623
 
 
12624
/* Override any GCC internal prototype to avoid an error.
 
12625
   Use char because int might match the return type of a GCC
 
12626
   builtin and then its argument prototype would still apply.  */
 
12627
#ifdef __cplusplus
 
12628
extern "C"
 
12629
#endif
 
12630
char shl_load ();
 
12631
int
 
12632
main ()
 
12633
{
 
12634
return shl_load ();
 
12635
  ;
 
12636
  return 0;
 
12637
}
 
12638
_ACEOF
 
12639
if ac_fn_c_try_link "$LINENO"; then :
 
12640
  ac_cv_lib_dld_shl_load=yes
 
12641
else
 
12642
  ac_cv_lib_dld_shl_load=no
 
12643
fi
 
12644
rm -f core conftest.err conftest.$ac_objext \
 
12645
    conftest$ac_exeext conftest.$ac_ext
 
12646
LIBS=$ac_check_lib_save_LIBS
 
12647
fi
 
12648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
12649
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12650
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
12651
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
12652
else
 
12653
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
12654
if test "x$ac_cv_func_dlopen" = xyes; then :
 
12655
  lt_cv_dlopen="dlopen"
 
12656
else
 
12657
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12658
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12659
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
12660
  $as_echo_n "(cached) " >&6
 
12661
else
 
12662
  ac_check_lib_save_LIBS=$LIBS
 
12663
LIBS="-ldl  $LIBS"
 
12664
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12665
/* end confdefs.h.  */
 
12666
 
 
12667
/* Override any GCC internal prototype to avoid an error.
 
12668
   Use char because int might match the return type of a GCC
 
12669
   builtin and then its argument prototype would still apply.  */
 
12670
#ifdef __cplusplus
 
12671
extern "C"
 
12672
#endif
 
12673
char dlopen ();
 
12674
int
 
12675
main ()
 
12676
{
 
12677
return dlopen ();
 
12678
  ;
 
12679
  return 0;
 
12680
}
 
12681
_ACEOF
 
12682
if ac_fn_c_try_link "$LINENO"; then :
 
12683
  ac_cv_lib_dl_dlopen=yes
 
12684
else
 
12685
  ac_cv_lib_dl_dlopen=no
 
12686
fi
 
12687
rm -f core conftest.err conftest.$ac_objext \
 
12688
    conftest$ac_exeext conftest.$ac_ext
 
12689
LIBS=$ac_check_lib_save_LIBS
 
12690
fi
 
12691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12692
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12693
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
12694
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12695
else
 
12696
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
12697
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
12698
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
12699
  $as_echo_n "(cached) " >&6
 
12700
else
 
12701
  ac_check_lib_save_LIBS=$LIBS
 
12702
LIBS="-lsvld  $LIBS"
 
12703
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12704
/* end confdefs.h.  */
 
12705
 
 
12706
/* Override any GCC internal prototype to avoid an error.
 
12707
   Use char because int might match the return type of a GCC
 
12708
   builtin and then its argument prototype would still apply.  */
 
12709
#ifdef __cplusplus
 
12710
extern "C"
 
12711
#endif
 
12712
char dlopen ();
 
12713
int
 
12714
main ()
 
12715
{
 
12716
return dlopen ();
 
12717
  ;
 
12718
  return 0;
 
12719
}
 
12720
_ACEOF
 
12721
if ac_fn_c_try_link "$LINENO"; then :
 
12722
  ac_cv_lib_svld_dlopen=yes
 
12723
else
 
12724
  ac_cv_lib_svld_dlopen=no
 
12725
fi
 
12726
rm -f core conftest.err conftest.$ac_objext \
 
12727
    conftest$ac_exeext conftest.$ac_ext
 
12728
LIBS=$ac_check_lib_save_LIBS
 
12729
fi
 
12730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
12731
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12732
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
12733
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
12734
else
 
12735
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
12736
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
12737
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
12738
  $as_echo_n "(cached) " >&6
 
12739
else
 
12740
  ac_check_lib_save_LIBS=$LIBS
 
12741
LIBS="-ldld  $LIBS"
 
12742
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12743
/* end confdefs.h.  */
 
12744
 
 
12745
/* Override any GCC internal prototype to avoid an error.
 
12746
   Use char because int might match the return type of a GCC
 
12747
   builtin and then its argument prototype would still apply.  */
 
12748
#ifdef __cplusplus
 
12749
extern "C"
 
12750
#endif
 
12751
char dld_link ();
 
12752
int
 
12753
main ()
 
12754
{
 
12755
return dld_link ();
 
12756
  ;
 
12757
  return 0;
 
12758
}
 
12759
_ACEOF
 
12760
if ac_fn_c_try_link "$LINENO"; then :
 
12761
  ac_cv_lib_dld_dld_link=yes
 
12762
else
 
12763
  ac_cv_lib_dld_dld_link=no
 
12764
fi
 
12765
rm -f core conftest.err conftest.$ac_objext \
 
12766
    conftest$ac_exeext conftest.$ac_ext
 
12767
LIBS=$ac_check_lib_save_LIBS
 
12768
fi
 
12769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
12770
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12771
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
12772
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
12773
fi
 
12774
 
 
12775
 
 
12776
fi
 
12777
 
 
12778
 
 
12779
fi
 
12780
 
 
12781
 
 
12782
fi
 
12783
 
 
12784
 
 
12785
fi
 
12786
 
 
12787
 
 
12788
fi
 
12789
 
 
12790
    ;;
 
12791
  esac
 
12792
 
 
12793
  if test "x$lt_cv_dlopen" != xno; then
 
12794
    enable_dlopen=yes
 
12795
  else
 
12796
    enable_dlopen=no
 
12797
  fi
 
12798
 
 
12799
  case $lt_cv_dlopen in
 
12800
  dlopen)
 
12801
    save_CPPFLAGS="$CPPFLAGS"
 
12802
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
12803
 
 
12804
    save_LDFLAGS="$LDFLAGS"
 
12805
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
12806
 
 
12807
    save_LIBS="$LIBS"
 
12808
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
12809
 
 
12810
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
12811
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
12812
if ${lt_cv_dlopen_self+:} false; then :
 
12813
  $as_echo_n "(cached) " >&6
 
12814
else
 
12815
          if test "$cross_compiling" = yes; then :
 
12816
  lt_cv_dlopen_self=cross
 
12817
else
 
12818
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12819
  lt_status=$lt_dlunknown
 
12820
  cat > conftest.$ac_ext <<_LT_EOF
 
12821
#line $LINENO "configure"
 
12822
#include "confdefs.h"
 
12823
 
 
12824
#if HAVE_DLFCN_H
 
12825
#include <dlfcn.h>
 
12826
#endif
 
12827
 
 
12828
#include <stdio.h>
 
12829
 
 
12830
#ifdef RTLD_GLOBAL
 
12831
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12832
#else
 
12833
#  ifdef DL_GLOBAL
 
12834
#    define LT_DLGLOBAL         DL_GLOBAL
 
12835
#  else
 
12836
#    define LT_DLGLOBAL         0
 
12837
#  endif
 
12838
#endif
 
12839
 
 
12840
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12841
   find out it does not work in some platform. */
 
12842
#ifndef LT_DLLAZY_OR_NOW
 
12843
#  ifdef RTLD_LAZY
 
12844
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12845
#  else
 
12846
#    ifdef DL_LAZY
 
12847
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12848
#    else
 
12849
#      ifdef RTLD_NOW
 
12850
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12851
#      else
 
12852
#        ifdef DL_NOW
 
12853
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12854
#        else
 
12855
#          define LT_DLLAZY_OR_NOW      0
 
12856
#        endif
 
12857
#      endif
 
12858
#    endif
 
12859
#  endif
 
12860
#endif
 
12861
 
 
12862
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12863
   correspondingly for the symbols needed.  */
 
12864
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12865
int fnord () __attribute__((visibility("default")));
 
12866
#endif
 
12867
 
 
12868
int fnord () { return 42; }
 
12869
int main ()
 
12870
{
 
12871
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12872
  int status = $lt_dlunknown;
 
12873
 
 
12874
  if (self)
 
12875
    {
 
12876
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12877
      else
 
12878
        {
 
12879
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12880
          else puts (dlerror ());
 
12881
        }
 
12882
      /* dlclose (self); */
 
12883
    }
 
12884
  else
 
12885
    puts (dlerror ());
 
12886
 
 
12887
  return status;
 
12888
}
 
12889
_LT_EOF
 
12890
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12891
  (eval $ac_link) 2>&5
 
12892
  ac_status=$?
 
12893
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12894
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12895
    (./conftest; exit; ) >&5 2>/dev/null
 
12896
    lt_status=$?
 
12897
    case x$lt_status in
 
12898
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
12899
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
12900
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
12901
    esac
 
12902
  else :
 
12903
    # compilation failed
 
12904
    lt_cv_dlopen_self=no
 
12905
  fi
 
12906
fi
 
12907
rm -fr conftest*
 
12908
 
 
12909
 
 
12910
fi
 
12911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
12912
$as_echo "$lt_cv_dlopen_self" >&6; }
 
12913
 
 
12914
    if test "x$lt_cv_dlopen_self" = xyes; then
 
12915
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
12916
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
12917
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
12918
if ${lt_cv_dlopen_self_static+:} false; then :
 
12919
  $as_echo_n "(cached) " >&6
 
12920
else
 
12921
          if test "$cross_compiling" = yes; then :
 
12922
  lt_cv_dlopen_self_static=cross
 
12923
else
 
12924
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12925
  lt_status=$lt_dlunknown
 
12926
  cat > conftest.$ac_ext <<_LT_EOF
 
12927
#line $LINENO "configure"
 
12928
#include "confdefs.h"
 
12929
 
 
12930
#if HAVE_DLFCN_H
 
12931
#include <dlfcn.h>
 
12932
#endif
 
12933
 
 
12934
#include <stdio.h>
 
12935
 
 
12936
#ifdef RTLD_GLOBAL
 
12937
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12938
#else
 
12939
#  ifdef DL_GLOBAL
 
12940
#    define LT_DLGLOBAL         DL_GLOBAL
 
12941
#  else
 
12942
#    define LT_DLGLOBAL         0
 
12943
#  endif
 
12944
#endif
 
12945
 
 
12946
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12947
   find out it does not work in some platform. */
 
12948
#ifndef LT_DLLAZY_OR_NOW
 
12949
#  ifdef RTLD_LAZY
 
12950
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12951
#  else
 
12952
#    ifdef DL_LAZY
 
12953
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12954
#    else
 
12955
#      ifdef RTLD_NOW
 
12956
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12957
#      else
 
12958
#        ifdef DL_NOW
 
12959
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12960
#        else
 
12961
#          define LT_DLLAZY_OR_NOW      0
 
12962
#        endif
 
12963
#      endif
 
12964
#    endif
 
12965
#  endif
 
12966
#endif
 
12967
 
 
12968
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12969
   correspondingly for the symbols needed.  */
 
12970
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12971
int fnord () __attribute__((visibility("default")));
 
12972
#endif
 
12973
 
 
12974
int fnord () { return 42; }
 
12975
int main ()
 
12976
{
 
12977
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12978
  int status = $lt_dlunknown;
 
12979
 
 
12980
  if (self)
 
12981
    {
 
12982
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12983
      else
 
12984
        {
 
12985
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12986
          else puts (dlerror ());
 
12987
        }
 
12988
      /* dlclose (self); */
 
12989
    }
 
12990
  else
 
12991
    puts (dlerror ());
 
12992
 
 
12993
  return status;
 
12994
}
 
12995
_LT_EOF
 
12996
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12997
  (eval $ac_link) 2>&5
 
12998
  ac_status=$?
 
12999
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13000
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13001
    (./conftest; exit; ) >&5 2>/dev/null
 
13002
    lt_status=$?
 
13003
    case x$lt_status in
 
13004
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
13005
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
13006
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
13007
    esac
 
13008
  else :
 
13009
    # compilation failed
 
13010
    lt_cv_dlopen_self_static=no
 
13011
  fi
 
13012
fi
 
13013
rm -fr conftest*
 
13014
 
 
13015
 
 
13016
fi
 
13017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
13018
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
13019
    fi
 
13020
 
 
13021
    CPPFLAGS="$save_CPPFLAGS"
 
13022
    LDFLAGS="$save_LDFLAGS"
 
13023
    LIBS="$save_LIBS"
 
13024
    ;;
 
13025
  esac
 
13026
 
 
13027
  case $lt_cv_dlopen_self in
 
13028
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
13029
  *) enable_dlopen_self=unknown ;;
 
13030
  esac
 
13031
 
 
13032
  case $lt_cv_dlopen_self_static in
 
13033
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
13034
  *) enable_dlopen_self_static=unknown ;;
 
13035
  esac
 
13036
fi
 
13037
 
 
13038
 
 
13039
 
 
13040
 
 
13041
 
 
13042
 
 
13043
 
 
13044
 
 
13045
 
 
13046
 
 
13047
 
 
13048
 
 
13049
 
 
13050
 
 
13051
 
 
13052
 
 
13053
 
 
13054
striplib=
 
13055
old_striplib=
 
13056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
13057
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
13058
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
13059
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
13060
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
13061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13062
$as_echo "yes" >&6; }
 
13063
else
 
13064
# FIXME - insert some real tests, host_os isn't really good enough
 
13065
  case $host_os in
 
13066
  darwin*)
 
13067
    if test -n "$STRIP" ; then
 
13068
      striplib="$STRIP -x"
 
13069
      old_striplib="$STRIP -S"
 
13070
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13071
$as_echo "yes" >&6; }
 
13072
    else
 
13073
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13074
$as_echo "no" >&6; }
 
13075
    fi
 
13076
    ;;
 
13077
  *)
 
13078
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13079
$as_echo "no" >&6; }
 
13080
    ;;
 
13081
  esac
 
13082
fi
 
13083
 
 
13084
 
 
13085
 
 
13086
 
 
13087
 
 
13088
 
 
13089
 
 
13090
 
 
13091
 
 
13092
 
 
13093
 
 
13094
 
 
13095
  # Report which library types will actually be built
 
13096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
13097
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
13099
$as_echo "$can_build_shared" >&6; }
 
13100
 
 
13101
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
13102
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13103
  test "$can_build_shared" = "no" && enable_shared=no
 
13104
 
 
13105
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13106
  # are all built from PIC.
 
13107
  case $host_os in
 
13108
  aix3*)
 
13109
    test "$enable_shared" = yes && enable_static=no
 
13110
    if test -n "$RANLIB"; then
 
13111
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13112
      postinstall_cmds='$RANLIB $lib'
 
13113
    fi
 
13114
    ;;
 
13115
 
 
13116
  aix[4-9]*)
 
13117
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13118
      test "$enable_shared" = yes && enable_static=no
 
13119
    fi
 
13120
    ;;
 
13121
  esac
 
13122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
13123
$as_echo "$enable_shared" >&6; }
 
13124
 
 
13125
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
13126
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13127
  # Make sure either enable_shared or enable_static is yes.
 
13128
  test "$enable_shared" = yes || enable_static=yes
 
13129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
13130
$as_echo "$enable_static" >&6; }
 
13131
 
 
13132
 
 
13133
 
 
13134
 
 
13135
fi
 
13136
ac_ext=c
 
13137
ac_cpp='$CPP $CPPFLAGS'
 
13138
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13139
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13140
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13141
 
 
13142
CC="$lt_save_CC"
 
13143
 
 
13144
 
 
13145
 
 
13146
 
 
13147
 
 
13148
 
 
13149
 
 
13150
 
 
13151
 
 
13152
 
 
13153
 
 
13154
 
 
13155
 
 
13156
 
 
13157
 
 
13158
        ac_config_commands="$ac_config_commands libtool"
 
13159
 
 
13160
 
 
13161
 
 
13162
 
 
13163
# Only expand once:
 
13164
 
 
13165
 
 
13166
 
 
13167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
13168
$as_echo_n "checking for ANSI C header files... " >&6; }
 
13169
if ${ac_cv_header_stdc+:} false; then :
 
13170
  $as_echo_n "(cached) " >&6
 
13171
else
 
13172
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13173
/* end confdefs.h.  */
 
13174
#include <stdlib.h>
 
13175
#include <stdarg.h>
 
13176
#include <string.h>
 
13177
#include <float.h>
 
13178
 
 
13179
int
 
13180
main ()
 
13181
{
 
13182
 
 
13183
  ;
 
13184
  return 0;
 
13185
}
 
13186
_ACEOF
 
13187
if ac_fn_c_try_compile "$LINENO"; then :
 
13188
  ac_cv_header_stdc=yes
 
13189
else
 
13190
  ac_cv_header_stdc=no
 
13191
fi
 
13192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13193
 
 
13194
if test $ac_cv_header_stdc = yes; then
 
13195
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
13196
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13197
/* end confdefs.h.  */
 
13198
#include <string.h>
 
13199
 
 
13200
_ACEOF
 
13201
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
13202
  $EGREP "memchr" >/dev/null 2>&1; then :
 
13203
 
 
13204
else
 
13205
  ac_cv_header_stdc=no
 
13206
fi
 
13207
rm -f conftest*
 
13208
 
 
13209
fi
 
13210
 
 
13211
if test $ac_cv_header_stdc = yes; then
 
13212
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
13213
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13214
/* end confdefs.h.  */
 
13215
#include <stdlib.h>
 
13216
 
 
13217
_ACEOF
 
13218
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
13219
  $EGREP "free" >/dev/null 2>&1; then :
 
13220
 
 
13221
else
 
13222
  ac_cv_header_stdc=no
 
13223
fi
 
13224
rm -f conftest*
 
13225
 
 
13226
fi
 
13227
 
 
13228
if test $ac_cv_header_stdc = yes; then
 
13229
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
13230
  if test "$cross_compiling" = yes; then :
 
13231
  :
 
13232
else
 
13233
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13234
/* end confdefs.h.  */
 
13235
#include <ctype.h>
 
13236
#include <stdlib.h>
 
13237
#if ((' ' & 0x0FF) == 0x020)
 
13238
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
13239
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
13240
#else
 
13241
# define ISLOWER(c) \
 
13242
                   (('a' <= (c) && (c) <= 'i') \
 
13243
                     || ('j' <= (c) && (c) <= 'r') \
 
13244
                     || ('s' <= (c) && (c) <= 'z'))
 
13245
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
13246
#endif
 
13247
 
 
13248
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
13249
int
 
13250
main ()
 
13251
{
 
13252
  int i;
 
13253
  for (i = 0; i < 256; i++)
 
13254
    if (XOR (islower (i), ISLOWER (i))
 
13255
        || toupper (i) != TOUPPER (i))
 
13256
      return 2;
 
13257
  return 0;
 
13258
}
 
13259
_ACEOF
 
13260
if ac_fn_c_try_run "$LINENO"; then :
 
13261
 
 
13262
else
 
13263
  ac_cv_header_stdc=no
 
13264
fi
 
13265
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
13266
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
13267
fi
 
13268
 
 
13269
fi
 
13270
fi
 
13271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
13272
$as_echo "$ac_cv_header_stdc" >&6; }
 
13273
if test $ac_cv_header_stdc = yes; then
 
13274
 
 
13275
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
13276
 
 
13277
fi
 
13278
 
 
13279
for ac_header in err.h errno.h grp.h limits.h locale.h pwd.h \
 
13280
                  signal.h sys/stat.h sys/types.h sys/utsname.h \
 
13281
                  sys/wait.h time.h unistd.h stdarg.h varargs.h libintl.h
 
13282
do :
 
13283
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
13284
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
13285
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
13286
  cat >>confdefs.h <<_ACEOF
 
13287
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13288
_ACEOF
 
13289
 
 
13290
fi
 
13291
 
 
13292
done
 
13293
 
 
13294
for ac_func in gethostname getpwnam setenv setlocale strdup unsetenv\
 
13295
                bind_textdomain_codeset
 
13296
do :
 
13297
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
13298
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
13299
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
13300
  cat >>confdefs.h <<_ACEOF
 
13301
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13302
_ACEOF
 
13303
 
 
13304
fi
 
13305
done
 
13306
 
 
13307
 
 
13308
 
 
13309
    GETTEXT_PACKAGE=libxfce4util
 
13310
 
 
13311
cat >>confdefs.h <<_ACEOF
 
13312
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
13313
_ACEOF
 
13314
 
 
13315
 
 
13316
 
 
13317
    ALL_LINGUAS="am ar ast bn ca cs cy da de dz el en_GB es et eu fi fr gl he hu id is it ja ka kk ko lt lv mk nb nl nn pa pl pt pt_BR ro ru si sk sl sq sv tl_PH tr ug uk ur ur_PK zh_CN zh_TW "
 
13318
 
 
13319
   for ac_header in locale.h
 
13320
do :
 
13321
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
13322
if test "x$ac_cv_header_locale_h" = xyes; then :
 
13323
  cat >>confdefs.h <<_ACEOF
 
13324
#define HAVE_LOCALE_H 1
 
13325
_ACEOF
 
13326
 
 
13327
fi
 
13328
 
 
13329
done
 
13330
 
 
13331
    if test $ac_cv_header_locale_h = yes; then
 
13332
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
13333
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
13334
if ${am_cv_val_LC_MESSAGES+:} false; then :
 
13335
  $as_echo_n "(cached) " >&6
 
13336
else
 
13337
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13338
/* end confdefs.h.  */
 
13339
#include <locale.h>
 
13340
int
 
13341
main ()
 
13342
{
 
13343
return LC_MESSAGES
 
13344
  ;
 
13345
  return 0;
 
13346
}
 
13347
_ACEOF
 
13348
if ac_fn_c_try_link "$LINENO"; then :
 
13349
  am_cv_val_LC_MESSAGES=yes
 
13350
else
 
13351
  am_cv_val_LC_MESSAGES=no
 
13352
fi
 
13353
rm -f core conftest.err conftest.$ac_objext \
 
13354
    conftest$ac_exeext conftest.$ac_ext
 
13355
fi
 
13356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
13357
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
13358
    if test $am_cv_val_LC_MESSAGES = yes; then
 
13359
 
 
13360
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
13361
 
 
13362
    fi
 
13363
  fi
 
13364
     USE_NLS=yes
 
13365
 
 
13366
 
 
13367
    gt_cv_have_gettext=no
 
13368
 
 
13369
    CATOBJEXT=NONE
 
13370
    XGETTEXT=:
 
13371
    INTLLIBS=
 
13372
 
 
13373
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
13374
if test "x$ac_cv_header_libintl_h" = xyes; then :
 
13375
  gt_cv_func_dgettext_libintl="no"
 
13376
      libintl_extra_libs=""
 
13377
 
 
13378
      #
 
13379
      # First check in libc
 
13380
      #
 
13381
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
13382
$as_echo_n "checking for ngettext in libc... " >&6; }
 
13383
if ${gt_cv_func_ngettext_libc+:} false; then :
 
13384
  $as_echo_n "(cached) " >&6
 
13385
else
 
13386
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13387
/* end confdefs.h.  */
 
13388
 
 
13389
#include <libintl.h>
 
13390
 
 
13391
int
 
13392
main ()
 
13393
{
 
13394
return !ngettext ("","", 1)
 
13395
  ;
 
13396
  return 0;
 
13397
}
 
13398
_ACEOF
 
13399
if ac_fn_c_try_link "$LINENO"; then :
 
13400
  gt_cv_func_ngettext_libc=yes
 
13401
else
 
13402
  gt_cv_func_ngettext_libc=no
 
13403
fi
 
13404
rm -f core conftest.err conftest.$ac_objext \
 
13405
    conftest$ac_exeext conftest.$ac_ext
 
13406
 
 
13407
fi
 
13408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
13409
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
13410
 
 
13411
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
13412
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
13413
$as_echo_n "checking for dgettext in libc... " >&6; }
 
13414
if ${gt_cv_func_dgettext_libc+:} false; then :
 
13415
  $as_echo_n "(cached) " >&6
 
13416
else
 
13417
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13418
/* end confdefs.h.  */
 
13419
 
 
13420
#include <libintl.h>
 
13421
 
 
13422
int
 
13423
main ()
 
13424
{
 
13425
return !dgettext ("","")
 
13426
  ;
 
13427
  return 0;
 
13428
}
 
13429
_ACEOF
 
13430
if ac_fn_c_try_link "$LINENO"; then :
 
13431
  gt_cv_func_dgettext_libc=yes
 
13432
else
 
13433
  gt_cv_func_dgettext_libc=no
 
13434
fi
 
13435
rm -f core conftest.err conftest.$ac_objext \
 
13436
    conftest$ac_exeext conftest.$ac_ext
 
13437
 
 
13438
fi
 
13439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
13440
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
13441
      fi
 
13442
 
 
13443
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
13444
        for ac_func in bind_textdomain_codeset
 
13445
do :
 
13446
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13447
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
13448
  cat >>confdefs.h <<_ACEOF
 
13449
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
13450
_ACEOF
 
13451
 
 
13452
fi
 
13453
done
 
13454
 
 
13455
      fi
 
13456
 
 
13457
      #
 
13458
      # If we don't have everything we want, check in libintl
 
13459
      #
 
13460
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
13461
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
13462
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
13463
 
 
13464
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
13465
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
13466
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
 
13467
  $as_echo_n "(cached) " >&6
 
13468
else
 
13469
  ac_check_lib_save_LIBS=$LIBS
 
13470
LIBS="-lintl  $LIBS"
 
13471
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13472
/* end confdefs.h.  */
 
13473
 
 
13474
/* Override any GCC internal prototype to avoid an error.
 
13475
   Use char because int might match the return type of a GCC
 
13476
   builtin and then its argument prototype would still apply.  */
 
13477
#ifdef __cplusplus
 
13478
extern "C"
 
13479
#endif
 
13480
char bindtextdomain ();
 
13481
int
 
13482
main ()
 
13483
{
 
13484
return bindtextdomain ();
 
13485
  ;
 
13486
  return 0;
 
13487
}
 
13488
_ACEOF
 
13489
if ac_fn_c_try_link "$LINENO"; then :
 
13490
  ac_cv_lib_intl_bindtextdomain=yes
 
13491
else
 
13492
  ac_cv_lib_intl_bindtextdomain=no
 
13493
fi
 
13494
rm -f core conftest.err conftest.$ac_objext \
 
13495
    conftest$ac_exeext conftest.$ac_ext
 
13496
LIBS=$ac_check_lib_save_LIBS
 
13497
fi
 
13498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
13499
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
13500
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
13501
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
13502
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
13503
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
13504
  $as_echo_n "(cached) " >&6
 
13505
else
 
13506
  ac_check_lib_save_LIBS=$LIBS
 
13507
LIBS="-lintl  $LIBS"
 
13508
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13509
/* end confdefs.h.  */
 
13510
 
 
13511
/* Override any GCC internal prototype to avoid an error.
 
13512
   Use char because int might match the return type of a GCC
 
13513
   builtin and then its argument prototype would still apply.  */
 
13514
#ifdef __cplusplus
 
13515
extern "C"
 
13516
#endif
 
13517
char ngettext ();
 
13518
int
 
13519
main ()
 
13520
{
 
13521
return ngettext ();
 
13522
  ;
 
13523
  return 0;
 
13524
}
 
13525
_ACEOF
 
13526
if ac_fn_c_try_link "$LINENO"; then :
 
13527
  ac_cv_lib_intl_ngettext=yes
 
13528
else
 
13529
  ac_cv_lib_intl_ngettext=no
 
13530
fi
 
13531
rm -f core conftest.err conftest.$ac_objext \
 
13532
    conftest$ac_exeext conftest.$ac_ext
 
13533
LIBS=$ac_check_lib_save_LIBS
 
13534
fi
 
13535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
13536
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
13537
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
13538
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
13539
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
13540
if ${ac_cv_lib_intl_dgettext+:} false; 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 dgettext ();
 
13555
int
 
13556
main ()
 
13557
{
 
13558
return dgettext ();
 
13559
  ;
 
13560
  return 0;
 
13561
}
 
13562
_ACEOF
 
13563
if ac_fn_c_try_link "$LINENO"; then :
 
13564
  ac_cv_lib_intl_dgettext=yes
 
13565
else
 
13566
  ac_cv_lib_intl_dgettext=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_dgettext" >&5
 
13573
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
13574
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
 
13575
  gt_cv_func_dgettext_libintl=yes
 
13576
fi
 
13577
 
 
13578
fi
 
13579
 
 
13580
fi
 
13581
 
 
13582
 
 
13583
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
13584
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
13585
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
13586
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
13587
$as_echo "" >&6; }
 
13588
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
13589
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
13590
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
13591
  $as_echo_n "(cached) " >&6
 
13592
else
 
13593
  ac_check_lib_save_LIBS=$LIBS
 
13594
LIBS="-lintl -liconv $LIBS"
 
13595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13596
/* end confdefs.h.  */
 
13597
 
 
13598
/* Override any GCC internal prototype to avoid an error.
 
13599
   Use char because int might match the return type of a GCC
 
13600
   builtin and then its argument prototype would still apply.  */
 
13601
#ifdef __cplusplus
 
13602
extern "C"
 
13603
#endif
 
13604
char ngettext ();
 
13605
int
 
13606
main ()
 
13607
{
 
13608
return ngettext ();
 
13609
  ;
 
13610
  return 0;
 
13611
}
 
13612
_ACEOF
 
13613
if ac_fn_c_try_link "$LINENO"; then :
 
13614
  ac_cv_lib_intl_ngettext=yes
 
13615
else
 
13616
  ac_cv_lib_intl_ngettext=no
 
13617
fi
 
13618
rm -f core conftest.err conftest.$ac_objext \
 
13619
    conftest$ac_exeext conftest.$ac_ext
 
13620
LIBS=$ac_check_lib_save_LIBS
 
13621
fi
 
13622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
13623
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
13624
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
13625
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
13626
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
13627
if ${ac_cv_lib_intl_dcgettext+:} false; then :
 
13628
  $as_echo_n "(cached) " >&6
 
13629
else
 
13630
  ac_check_lib_save_LIBS=$LIBS
 
13631
LIBS="-lintl -liconv $LIBS"
 
13632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13633
/* end confdefs.h.  */
 
13634
 
 
13635
/* Override any GCC internal prototype to avoid an error.
 
13636
   Use char because int might match the return type of a GCC
 
13637
   builtin and then its argument prototype would still apply.  */
 
13638
#ifdef __cplusplus
 
13639
extern "C"
 
13640
#endif
 
13641
char dcgettext ();
 
13642
int
 
13643
main ()
 
13644
{
 
13645
return dcgettext ();
 
13646
  ;
 
13647
  return 0;
 
13648
}
 
13649
_ACEOF
 
13650
if ac_fn_c_try_link "$LINENO"; then :
 
13651
  ac_cv_lib_intl_dcgettext=yes
 
13652
else
 
13653
  ac_cv_lib_intl_dcgettext=no
 
13654
fi
 
13655
rm -f core conftest.err conftest.$ac_objext \
 
13656
    conftest$ac_exeext conftest.$ac_ext
 
13657
LIBS=$ac_check_lib_save_LIBS
 
13658
fi
 
13659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
13660
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
13661
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
 
13662
  gt_cv_func_dgettext_libintl=yes
 
13663
                        libintl_extra_libs=-liconv
 
13664
else
 
13665
  :
 
13666
fi
 
13667
 
 
13668
else
 
13669
  :
 
13670
fi
 
13671
 
 
13672
        fi
 
13673
 
 
13674
        #
 
13675
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
13676
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
13677
        # and both have dgettext and ngettext
 
13678
        #
 
13679
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
13680
          glib_save_LIBS="$LIBS"
 
13681
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
13682
          unset ac_cv_func_bind_textdomain_codeset
 
13683
          for ac_func in bind_textdomain_codeset
 
13684
do :
 
13685
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13686
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
13687
  cat >>confdefs.h <<_ACEOF
 
13688
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
13689
_ACEOF
 
13690
 
 
13691
fi
 
13692
done
 
13693
 
 
13694
          LIBS="$glib_save_LIBS"
 
13695
 
 
13696
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
13697
            gt_cv_func_dgettext_libc=no
 
13698
          else
 
13699
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
13700
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
13701
              gt_cv_func_dgettext_libintl=no
 
13702
            fi
 
13703
          fi
 
13704
        fi
 
13705
      fi
 
13706
 
 
13707
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
13708
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
13709
        gt_cv_have_gettext=yes
 
13710
      fi
 
13711
 
 
13712
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
13713
        INTLLIBS="-lintl $libintl_extra_libs"
 
13714
      fi
 
13715
 
 
13716
      if test "$gt_cv_have_gettext" = "yes"; then
 
13717
 
 
13718
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
13719
 
 
13720
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
13721
set dummy msgfmt; ac_word=$2
 
13722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13723
$as_echo_n "checking for $ac_word... " >&6; }
 
13724
if ${ac_cv_path_MSGFMT+:} false; then :
 
13725
  $as_echo_n "(cached) " >&6
 
13726
else
 
13727
  case "$MSGFMT" in
 
13728
  /*)
 
13729
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
13730
  ;;
 
13731
  *)
 
13732
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
13733
  for ac_dir in $PATH; do
 
13734
    test -z "$ac_dir" && ac_dir=.
 
13735
    if test -f $ac_dir/$ac_word; then
 
13736
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
13737
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
13738
        break
 
13739
      fi
 
13740
    fi
 
13741
  done
 
13742
  IFS="$ac_save_ifs"
 
13743
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
13744
  ;;
 
13745
esac
 
13746
fi
 
13747
MSGFMT="$ac_cv_path_MSGFMT"
 
13748
if test "$MSGFMT" != "no"; then
 
13749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
13750
$as_echo "$MSGFMT" >&6; }
 
13751
else
 
13752
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13753
$as_echo "no" >&6; }
 
13754
fi
 
13755
        if test "$MSGFMT" != "no"; then
 
13756
          glib_save_LIBS="$LIBS"
 
13757
          LIBS="$LIBS $INTLLIBS"
 
13758
          for ac_func in dcgettext
 
13759
do :
 
13760
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
13761
if test "x$ac_cv_func_dcgettext" = xyes; then :
 
13762
  cat >>confdefs.h <<_ACEOF
 
13763
#define HAVE_DCGETTEXT 1
 
13764
_ACEOF
 
13765
 
 
13766
fi
 
13767
done
 
13768
 
 
13769
          MSGFMT_OPTS=
 
13770
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
13771
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
13772
          cat >conftest.foo <<_ACEOF
 
13773
 
 
13774
msgid ""
 
13775
msgstr ""
 
13776
"Content-Type: text/plain; charset=UTF-8\n"
 
13777
"Project-Id-Version: test 1.0\n"
 
13778
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
13779
"Last-Translator: test <foo@bar.xx>\n"
 
13780
"Language-Team: C <LL@li.org>\n"
 
13781
"MIME-Version: 1.0\n"
 
13782
"Content-Transfer-Encoding: 8bit\n"
 
13783
 
 
13784
_ACEOF
 
13785
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
13786
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
13787
  ac_status=$?
 
13788
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13789
  test $ac_status = 0; }; then
 
13790
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13791
$as_echo "yes" >&6; }
 
13792
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13793
$as_echo "no" >&6; }
 
13794
echo "$as_me: failed input was:" >&5
 
13795
sed 's/^/| /' conftest.foo >&5
 
13796
fi
 
13797
 
 
13798
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
13799
set dummy gmsgfmt; ac_word=$2
 
13800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13801
$as_echo_n "checking for $ac_word... " >&6; }
 
13802
if ${ac_cv_path_GMSGFMT+:} false; then :
 
13803
  $as_echo_n "(cached) " >&6
 
13804
else
 
13805
  case $GMSGFMT in
 
13806
  [\\/]* | ?:[\\/]*)
 
13807
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
13808
  ;;
 
13809
  *)
 
13810
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13811
for as_dir in $PATH
 
13812
do
 
13813
  IFS=$as_save_IFS
 
13814
  test -z "$as_dir" && as_dir=.
 
13815
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13816
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
13817
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
13818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13819
    break 2
 
13820
  fi
 
13821
done
 
13822
  done
 
13823
IFS=$as_save_IFS
 
13824
 
 
13825
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
13826
  ;;
 
13827
esac
 
13828
fi
 
13829
GMSGFMT=$ac_cv_path_GMSGFMT
 
13830
if test -n "$GMSGFMT"; then
 
13831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
13832
$as_echo "$GMSGFMT" >&6; }
 
13833
else
 
13834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13835
$as_echo "no" >&6; }
 
13836
fi
 
13837
 
 
13838
 
 
13839
          # Extract the first word of "xgettext", so it can be a program name with args.
 
13840
set dummy xgettext; ac_word=$2
 
13841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13842
$as_echo_n "checking for $ac_word... " >&6; }
 
13843
if ${ac_cv_path_XGETTEXT+:} false; then :
 
13844
  $as_echo_n "(cached) " >&6
 
13845
else
 
13846
  case "$XGETTEXT" in
 
13847
  /*)
 
13848
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
13849
  ;;
 
13850
  *)
 
13851
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
13852
  for ac_dir in $PATH; do
 
13853
    test -z "$ac_dir" && ac_dir=.
 
13854
    if test -f $ac_dir/$ac_word; then
 
13855
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
13856
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
13857
        break
 
13858
      fi
 
13859
    fi
 
13860
  done
 
13861
  IFS="$ac_save_ifs"
 
13862
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
13863
  ;;
 
13864
esac
 
13865
fi
 
13866
XGETTEXT="$ac_cv_path_XGETTEXT"
 
13867
if test "$XGETTEXT" != ":"; then
 
13868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
13869
$as_echo "$XGETTEXT" >&6; }
 
13870
else
 
13871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13872
$as_echo "no" >&6; }
 
13873
fi
 
13874
 
 
13875
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13876
/* end confdefs.h.  */
 
13877
 
 
13878
int
 
13879
main ()
 
13880
{
 
13881
extern int _nl_msg_cat_cntr;
 
13882
                         return _nl_msg_cat_cntr
 
13883
  ;
 
13884
  return 0;
 
13885
}
 
13886
_ACEOF
 
13887
if ac_fn_c_try_link "$LINENO"; then :
 
13888
  CATOBJEXT=.gmo
 
13889
             DATADIRNAME=share
 
13890
else
 
13891
  case $host in
 
13892
            *-*-solaris*)
 
13893
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13894
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
13895
  CATOBJEXT=.gmo
 
13896
               DATADIRNAME=share
 
13897
else
 
13898
  CATOBJEXT=.mo
 
13899
               DATADIRNAME=lib
 
13900
fi
 
13901
 
 
13902
            ;;
 
13903
            *-*-openbsd*)
 
13904
            CATOBJEXT=.mo
 
13905
            DATADIRNAME=share
 
13906
            ;;
 
13907
            *)
 
13908
            CATOBJEXT=.mo
 
13909
            DATADIRNAME=lib
 
13910
            ;;
 
13911
            esac
 
13912
fi
 
13913
rm -f core conftest.err conftest.$ac_objext \
 
13914
    conftest$ac_exeext conftest.$ac_ext
 
13915
          LIBS="$glib_save_LIBS"
 
13916
          INSTOBJEXT=.mo
 
13917
        else
 
13918
          gt_cv_have_gettext=no
 
13919
        fi
 
13920
      fi
 
13921
 
 
13922
fi
 
13923
 
 
13924
 
 
13925
 
 
13926
    if test "$gt_cv_have_gettext" = "yes" ; then
 
13927
 
 
13928
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
13929
 
 
13930
    fi
 
13931
 
 
13932
        if test "$XGETTEXT" != ":"; then
 
13933
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
13934
        : ;
 
13935
      else
 
13936
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
13937
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
13938
        XGETTEXT=":"
 
13939
      fi
 
13940
    fi
 
13941
 
 
13942
    # We need to process the po/ directory.
 
13943
    POSUB=po
 
13944
 
 
13945
    ac_config_commands="$ac_config_commands default-1"
 
13946
 
 
13947
 
 
13948
                for lang in $ALL_LINGUAS; do
 
13949
      GMOFILES="$GMOFILES $lang.gmo"
 
13950
      POFILES="$POFILES $lang.po"
 
13951
    done
 
13952
 
 
13953
 
 
13954
 
 
13955
 
 
13956
 
 
13957
 
 
13958
 
 
13959
 
 
13960
 
 
13961
 
 
13962
 
 
13963
 
 
13964
 
 
13965
   if test "$gt_cv_have_gettext" = "yes"; then
 
13966
     if test "x$ALL_LINGUAS" = "x"; then
 
13967
       LINGUAS=
 
13968
     else
 
13969
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
13970
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
13971
       NEW_LINGUAS=
 
13972
       for presentlang in $ALL_LINGUAS; do
 
13973
         useit=no
 
13974
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
13975
           desiredlanguages="$LINGUAS"
 
13976
         else
 
13977
           desiredlanguages="$ALL_LINGUAS"
 
13978
         fi
 
13979
         for desiredlang in $desiredlanguages; do
 
13980
           # Use the presentlang catalog if desiredlang is
 
13981
           #   a. equal to presentlang, or
 
13982
           #   b. a variant of presentlang (because in this case,
 
13983
           #      presentlang can be used as a fallback for messages
 
13984
           #      which are not translated in the desiredlang catalog).
 
13985
           case "$desiredlang" in
 
13986
             "$presentlang"*) useit=yes;;
 
13987
           esac
 
13988
         done
 
13989
         if test $useit = yes; then
 
13990
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
13991
         fi
 
13992
       done
 
13993
       LINGUAS=$NEW_LINGUAS
 
13994
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
13995
$as_echo "$LINGUAS" >&6; }
 
13996
     fi
 
13997
 
 
13998
          if test -n "$LINGUAS"; then
 
13999
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
14000
     fi
 
14001
   fi
 
14002
 
 
14003
            MKINSTALLDIRS=
 
14004
   if test -n "$ac_aux_dir"; then
 
14005
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
14006
   fi
 
14007
   if test -z "$MKINSTALLDIRS"; then
 
14008
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
14009
   fi
 
14010
 
 
14011
 
 
14012
         test -d po || mkdir po
 
14013
   if test "x$srcdir" != "x."; then
 
14014
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
14015
       posrcprefix="$srcdir/"
 
14016
     else
 
14017
       posrcprefix="../$srcdir/"
 
14018
     fi
 
14019
   else
 
14020
     posrcprefix="../"
 
14021
   fi
 
14022
   rm -f po/POTFILES
 
14023
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
14024
        < $srcdir/po/POTFILES.in > po/POTFILES
 
14025
 
 
14026
 
 
14027
    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14028
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14029
 
 
14030
fi
 
14031
 
 
14032
 
 
14033
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
 
14034
$as_echo_n "checking for locales directory... " >&6; }
 
14035
 
 
14036
# Check whether --with-locales-dir was given.
 
14037
if test "${with_locales_dir+set}" = set; then :
 
14038
  withval=$with_locales_dir; localedir=$withval
 
14039
else
 
14040
 
 
14041
    if test x"$CATOBJEXT" = x".mo"; then
 
14042
      localedir=$libdir/locale
 
14043
    else
 
14044
      localedir=$datadir/locale
 
14045
    fi
 
14046
 
 
14047
fi
 
14048
 
 
14049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
 
14050
$as_echo "$localedir" >&6; }
 
14051
 
 
14052
 
 
14053
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
 
14054
$as_echo_n "checking for additional xgettext flags... " >&6; }
 
14055
  if test x"$XGETTEXT_ARGS" = x""; then
 
14056
    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
 
14057
  else
 
14058
    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
 
14059
  fi
 
14060
 
 
14061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
 
14062
$as_echo "$XGETTEXT_ARGS" >&6; }
 
14063
 
 
14064
 
 
14065
 
 
14066
 
 
14067
  # minimum supported version of pkg-config
 
14068
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
14069
 
 
14070
 
 
14071
 
 
14072
 
 
14073
 
 
14074
 
 
14075
 
 
14076
 
 
14077
 
 
14078
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
14079
        if test -n "$ac_tool_prefix"; then
 
14080
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
14081
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
14082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14083
$as_echo_n "checking for $ac_word... " >&6; }
 
14084
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
14085
  $as_echo_n "(cached) " >&6
 
14086
else
 
14087
  case $PKG_CONFIG in
 
14088
  [\\/]* | ?:[\\/]*)
 
14089
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
14090
  ;;
 
14091
  *)
 
14092
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14093
for as_dir in $PATH
 
14094
do
 
14095
  IFS=$as_save_IFS
 
14096
  test -z "$as_dir" && as_dir=.
 
14097
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14098
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14099
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14100
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14101
    break 2
 
14102
  fi
 
14103
done
 
14104
  done
 
14105
IFS=$as_save_IFS
 
14106
 
 
14107
  ;;
 
14108
esac
 
14109
fi
 
14110
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
14111
if test -n "$PKG_CONFIG"; then
 
14112
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
14113
$as_echo "$PKG_CONFIG" >&6; }
 
14114
else
 
14115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14116
$as_echo "no" >&6; }
 
14117
fi
 
14118
 
 
14119
 
 
14120
fi
 
14121
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
14122
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
14123
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
14124
set dummy pkg-config; ac_word=$2
 
14125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14126
$as_echo_n "checking for $ac_word... " >&6; }
 
14127
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
14128
  $as_echo_n "(cached) " >&6
 
14129
else
 
14130
  case $ac_pt_PKG_CONFIG in
 
14131
  [\\/]* | ?:[\\/]*)
 
14132
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
14133
  ;;
 
14134
  *)
 
14135
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14136
for as_dir in $PATH
 
14137
do
 
14138
  IFS=$as_save_IFS
 
14139
  test -z "$as_dir" && as_dir=.
 
14140
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14141
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14142
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14143
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14144
    break 2
 
14145
  fi
 
14146
done
 
14147
  done
 
14148
IFS=$as_save_IFS
 
14149
 
 
14150
  ;;
 
14151
esac
 
14152
fi
 
14153
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
14154
if test -n "$ac_pt_PKG_CONFIG"; then
 
14155
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
14156
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
14157
else
 
14158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14159
$as_echo "no" >&6; }
 
14160
fi
 
14161
 
 
14162
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
14163
    PKG_CONFIG=""
 
14164
  else
 
14165
    case $cross_compiling:$ac_tool_warned in
 
14166
yes:)
 
14167
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
14168
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14169
ac_tool_warned=yes ;;
 
14170
esac
 
14171
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
14172
  fi
 
14173
else
 
14174
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
14175
fi
 
14176
 
 
14177
fi
 
14178
if test -n "$PKG_CONFIG"; then
 
14179
        _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
 
14180
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
14181
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
14182
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
14183
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14184
$as_echo "yes" >&6; }
 
14185
        else
 
14186
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14187
$as_echo "no" >&6; }
 
14188
                PKG_CONFIG=""
 
14189
        fi
 
14190
fi
 
14191
 
 
14192
      if test x"$PKG_CONFIG" = x""; then
 
14193
        echo
 
14194
        echo "*** Your version of pkg-config is too old. You need atleast"
 
14195
        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
 
14196
        echo "*** from the freedesktop.org software repository at"
 
14197
        echo "***"
 
14198
        echo "***    http://www.freedesktop.org/software/pkgconfig"
 
14199
        echo "***"
 
14200
        exit 1;
 
14201
      fi
 
14202
 
 
14203
 
 
14204
 
 
14205
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.24.0" >&5
 
14206
$as_echo_n "checking for glib-2.0 >= 2.24.0... " >&6; }
 
14207
  if $PKG_CONFIG "--atleast-version=2.24.0" "glib-2.0" >/dev/null 2>&1; then
 
14208
    GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"`
 
14209
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
 
14210
$as_echo "$GLIB_VERSION" >&6; }
 
14211
 
 
14212
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
 
14213
$as_echo_n "checking GLIB_CFLAGS... " >&6; }
 
14214
    GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
 
14215
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
 
14216
$as_echo "$GLIB_CFLAGS" >&6; }
 
14217
 
 
14218
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
 
14219
$as_echo_n "checking GLIB_LIBS... " >&6; }
 
14220
    GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
 
14221
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
 
14222
$as_echo "$GLIB_LIBS" >&6; }
 
14223
 
 
14224
    GLIB_REQUIRED_VERSION=2.24.0
 
14225
 
 
14226
 
 
14227
 
 
14228
 
 
14229
 
 
14230
 
 
14231
 
 
14232
  elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then
 
14233
    xdt_cv_version=`$PKG_CONFIG --modversion "glib-2.0"`
 
14234
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
 
14235
$as_echo "found, but $xdt_cv_version" >&6; }
 
14236
 
 
14237
 
 
14238
      echo "*** The required package glib-2.0 was found on your system,"
 
14239
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
14240
      echo "*** Please upgrade glib-2.0 to atleast version 2.24.0, or adjust"
 
14241
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
14242
      echo "*** the new version of the package in a nonstandard prefix so"
 
14243
      echo "*** pkg-config is able to find it."
 
14244
      exit 1
 
14245
 
 
14246
  else
 
14247
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
 
14248
$as_echo "not found" >&6; }
 
14249
 
 
14250
 
 
14251
      echo "*** The required package glib-2.0 was not found on your system."
 
14252
      echo "*** Please install glib-2.0 (atleast version 2.24.0) or adjust"
 
14253
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
14254
      echo "*** installed the package in a nonstandard prefix so that"
 
14255
      echo "*** pkg-config is able to find it."
 
14256
      exit 1
 
14257
 
 
14258
  fi
 
14259
 
 
14260
 
 
14261
 
 
14262
 
 
14263
 
 
14264
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
14265
set dummy gtkdoc-check; ac_word=$2
 
14266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14267
$as_echo_n "checking for $ac_word... " >&6; }
 
14268
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
 
14269
  $as_echo_n "(cached) " >&6
 
14270
else
 
14271
  case $GTKDOC_CHECK in
 
14272
  [\\/]* | ?:[\\/]*)
 
14273
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
 
14274
  ;;
 
14275
  *)
 
14276
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14277
for as_dir in $PATH
 
14278
do
 
14279
  IFS=$as_save_IFS
 
14280
  test -z "$as_dir" && as_dir=.
 
14281
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14282
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14283
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
 
14284
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14285
    break 2
 
14286
  fi
 
14287
done
 
14288
  done
 
14289
IFS=$as_save_IFS
 
14290
 
 
14291
  ;;
 
14292
esac
 
14293
fi
 
14294
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
 
14295
if test -n "$GTKDOC_CHECK"; then
 
14296
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
14297
$as_echo "$GTKDOC_CHECK" >&6; }
 
14298
else
 
14299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14300
$as_echo "no" >&6; }
 
14301
fi
 
14302
 
 
14303
 
 
14304
  for ac_prog in gtkdoc-rebase
 
14305
do
 
14306
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
14307
set dummy $ac_prog; ac_word=$2
 
14308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14309
$as_echo_n "checking for $ac_word... " >&6; }
 
14310
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
 
14311
  $as_echo_n "(cached) " >&6
 
14312
else
 
14313
  case $GTKDOC_REBASE in
 
14314
  [\\/]* | ?:[\\/]*)
 
14315
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
14316
  ;;
 
14317
  *)
 
14318
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14319
for as_dir in $PATH
 
14320
do
 
14321
  IFS=$as_save_IFS
 
14322
  test -z "$as_dir" && as_dir=.
 
14323
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14324
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14325
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
14326
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14327
    break 2
 
14328
  fi
 
14329
done
 
14330
  done
 
14331
IFS=$as_save_IFS
 
14332
 
 
14333
  ;;
 
14334
esac
 
14335
fi
 
14336
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
14337
if test -n "$GTKDOC_REBASE"; then
 
14338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
14339
$as_echo "$GTKDOC_REBASE" >&6; }
 
14340
else
 
14341
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14342
$as_echo "no" >&6; }
 
14343
fi
 
14344
 
 
14345
 
 
14346
  test -n "$GTKDOC_REBASE" && break
 
14347
done
 
14348
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
14349
 
 
14350
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
14351
set dummy gtkdoc-mkpdf; ac_word=$2
 
14352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14353
$as_echo_n "checking for $ac_word... " >&6; }
 
14354
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
 
14355
  $as_echo_n "(cached) " >&6
 
14356
else
 
14357
  case $GTKDOC_MKPDF in
 
14358
  [\\/]* | ?:[\\/]*)
 
14359
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
14360
  ;;
 
14361
  *)
 
14362
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14363
for as_dir in $PATH
 
14364
do
 
14365
  IFS=$as_save_IFS
 
14366
  test -z "$as_dir" && as_dir=.
 
14367
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14368
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
14369
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
14370
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14371
    break 2
 
14372
  fi
 
14373
done
 
14374
  done
 
14375
IFS=$as_save_IFS
 
14376
 
 
14377
  ;;
 
14378
esac
 
14379
fi
 
14380
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
14381
if test -n "$GTKDOC_MKPDF"; then
 
14382
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
14383
$as_echo "$GTKDOC_MKPDF" >&6; }
 
14384
else
 
14385
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14386
$as_echo "no" >&6; }
 
14387
fi
 
14388
 
 
14389
 
 
14390
 
 
14391
 
 
14392
# Check whether --with-html-dir was given.
 
14393
if test "${with_html_dir+set}" = set; then :
 
14394
  withval=$with_html_dir;
 
14395
else
 
14396
  with_html_dir='${datadir}/gtk-doc/html'
 
14397
fi
 
14398
 
 
14399
  HTML_DIR="$with_html_dir"
 
14400
 
 
14401
 
 
14402
    # Check whether --enable-gtk-doc was given.
 
14403
if test "${enable_gtk_doc+set}" = set; then :
 
14404
  enableval=$enable_gtk_doc;
 
14405
else
 
14406
  enable_gtk_doc=no
 
14407
fi
 
14408
 
 
14409
 
 
14410
  if test x$enable_gtk_doc = xyes; then
 
14411
    if test -n "$PKG_CONFIG" && \
 
14412
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
 
14413
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
 
14414
  ac_status=$?
 
14415
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14416
  test $ac_status = 0; }; then
 
14417
  :
 
14418
else
 
14419
  as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
 
14420
fi
 
14421
        if test "x$PACKAGE_NAME" != "xglib"; then
 
14422
 
 
14423
pkg_failed=no
 
14424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
 
14425
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
 
14426
 
 
14427
if test -n "$GTKDOC_DEPS_CFLAGS"; then
 
14428
    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
 
14429
 elif test -n "$PKG_CONFIG"; then
 
14430
    if test -n "$PKG_CONFIG" && \
 
14431
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
 
14432
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
 
14433
  ac_status=$?
 
14434
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14435
  test $ac_status = 0; }; then
 
14436
  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
 
14437
                      test "x$?" != "x0" && pkg_failed=yes
 
14438
else
 
14439
  pkg_failed=yes
 
14440
fi
 
14441
 else
 
14442
    pkg_failed=untried
 
14443
fi
 
14444
if test -n "$GTKDOC_DEPS_LIBS"; then
 
14445
    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
 
14446
 elif test -n "$PKG_CONFIG"; then
 
14447
    if test -n "$PKG_CONFIG" && \
 
14448
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
 
14449
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
 
14450
  ac_status=$?
 
14451
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14452
  test $ac_status = 0; }; then
 
14453
  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
 
14454
                      test "x$?" != "x0" && pkg_failed=yes
 
14455
else
 
14456
  pkg_failed=yes
 
14457
fi
 
14458
 else
 
14459
    pkg_failed=untried
 
14460
fi
 
14461
 
 
14462
 
 
14463
 
 
14464
if test $pkg_failed = yes; then
 
14465
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14466
$as_echo "no" >&6; }
 
14467
 
 
14468
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14469
        _pkg_short_errors_supported=yes
 
14470
else
 
14471
        _pkg_short_errors_supported=no
 
14472
fi
 
14473
        if test $_pkg_short_errors_supported = yes; then
 
14474
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
 
14475
        else
 
14476
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
 
14477
        fi
 
14478
        # Put the nasty error message in config.log where it belongs
 
14479
        echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
 
14480
 
 
14481
        as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
 
14482
 
 
14483
$GTKDOC_DEPS_PKG_ERRORS
 
14484
 
 
14485
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14486
installed software in a non-standard prefix.
 
14487
 
 
14488
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
 
14489
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
 
14490
See the pkg-config man page for more details." "$LINENO" 5
 
14491
elif test $pkg_failed = untried; then
 
14492
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14493
$as_echo "no" >&6; }
 
14494
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14495
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14496
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14497
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14498
path to pkg-config.
 
14499
 
 
14500
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
 
14501
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
 
14502
See the pkg-config man page for more details.
 
14503
 
 
14504
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14505
See \`config.log' for more details" "$LINENO" 5; }
 
14506
else
 
14507
        GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
 
14508
        GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
 
14509
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14510
$as_echo "yes" >&6; }
 
14511
 
 
14512
fi
 
14513
    fi
 
14514
  fi
 
14515
 
 
14516
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
 
14517
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
 
14518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
 
14519
$as_echo "$enable_gtk_doc" >&6; }
 
14520
 
 
14521
    # Check whether --enable-gtk-doc-html was given.
 
14522
if test "${enable_gtk_doc_html+set}" = set; then :
 
14523
  enableval=$enable_gtk_doc_html;
 
14524
else
 
14525
  enable_gtk_doc_html=yes
 
14526
fi
 
14527
 
 
14528
    # Check whether --enable-gtk-doc-pdf was given.
 
14529
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
14530
  enableval=$enable_gtk_doc_pdf;
 
14531
else
 
14532
  enable_gtk_doc_pdf=no
 
14533
fi
 
14534
 
 
14535
 
 
14536
  if test -z "$GTKDOC_MKPDF"; then
 
14537
    enable_gtk_doc_pdf=no
 
14538
  fi
 
14539
 
 
14540
 
 
14541
   if test x$enable_gtk_doc = xyes; then
 
14542
  ENABLE_GTK_DOC_TRUE=
 
14543
  ENABLE_GTK_DOC_FALSE='#'
 
14544
else
 
14545
  ENABLE_GTK_DOC_TRUE='#'
 
14546
  ENABLE_GTK_DOC_FALSE=
 
14547
fi
 
14548
 
 
14549
   if test x$enable_gtk_doc_html = xyes; then
 
14550
  GTK_DOC_BUILD_HTML_TRUE=
 
14551
  GTK_DOC_BUILD_HTML_FALSE='#'
 
14552
else
 
14553
  GTK_DOC_BUILD_HTML_TRUE='#'
 
14554
  GTK_DOC_BUILD_HTML_FALSE=
 
14555
fi
 
14556
 
 
14557
   if test x$enable_gtk_doc_pdf = xyes; then
 
14558
  GTK_DOC_BUILD_PDF_TRUE=
 
14559
  GTK_DOC_BUILD_PDF_FALSE='#'
 
14560
else
 
14561
  GTK_DOC_BUILD_PDF_TRUE='#'
 
14562
  GTK_DOC_BUILD_PDF_FALSE=
 
14563
fi
 
14564
 
 
14565
   if test -n "$LIBTOOL"; then
 
14566
  GTK_DOC_USE_LIBTOOL_TRUE=
 
14567
  GTK_DOC_USE_LIBTOOL_FALSE='#'
 
14568
else
 
14569
  GTK_DOC_USE_LIBTOOL_TRUE='#'
 
14570
  GTK_DOC_USE_LIBTOOL_FALSE=
 
14571
fi
 
14572
 
 
14573
   if test -n "$GTKDOC_REBASE"; then
 
14574
  GTK_DOC_USE_REBASE_TRUE=
 
14575
  GTK_DOC_USE_REBASE_FALSE='#'
 
14576
else
 
14577
  GTK_DOC_USE_REBASE_TRUE='#'
 
14578
  GTK_DOC_USE_REBASE_FALSE=
 
14579
fi
 
14580
 
 
14581
 
 
14582
 
 
14583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether putenv() implementation is broken" >&5
 
14584
$as_echo_n "checking whether putenv() implementation is broken... " >&6; }
 
14585
 
 
14586
# Check whether --with-broken-putenv was given.
 
14587
if test "${with_broken_putenv+set}" = set; then :
 
14588
  withval=$with_broken_putenv;
 
14589
fi
 
14590
 
 
14591
if test x"$with_broken_putenv" != x"yes" -a x"$with_broken_putenv" != x"no"; then
 
14592
  if test "$cross_compiling" = yes; then :
 
14593
  with_broken_putenv=cross
 
14594
else
 
14595
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14596
/* end confdefs.h.  */
 
14597
 
 
14598
  #include <stdlib.h>
 
14599
  #include <string.h>
 
14600
  int main(int argc, char *argv)
 
14601
  {
 
14602
    char *buffer = (char *)malloc(8);
 
14603
    strcpy(buffer, "foo=bar");
 
14604
    putenv(buffer);
 
14605
    strcpy(buffer, "foo=rab");
 
14606
    return(strcmp(getenv("foo"), "bar") == 0 ? 0 : 1);
 
14607
  }
 
14608
_ACEOF
 
14609
if ac_fn_c_try_run "$LINENO"; then :
 
14610
  with_broken_putenv=no
 
14611
else
 
14612
  with_broken_putenv=yes
 
14613
fi
 
14614
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14615
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14616
fi
 
14617
 
 
14618
fi
 
14619
if test x"$with_broken_putenv" = x"yes"; then
 
14620
 
 
14621
$as_echo "#define HAVE_BROKEN_PUTENV 1" >>confdefs.h
 
14622
 
 
14623
fi
 
14624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_broken_putenv" >&5
 
14625
$as_echo "$with_broken_putenv" >&6; }
 
14626
 
 
14627
 
 
14628
    # Check whether --enable-debug was given.
 
14629
if test "${enable_debug+set}" = set; then :
 
14630
  enableval=$enable_debug; enable_debug=$enableval
 
14631
else
 
14632
  enable_debug=minimum
 
14633
fi
 
14634
 
 
14635
 
 
14636
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
 
14637
$as_echo_n "checking whether to build with debugging support... " >&6; }
 
14638
  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
 
14639
 
 
14640
$as_echo "#define DEBUG 1" >>confdefs.h
 
14641
 
 
14642
 
 
14643
    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
 
14644
                              -Wall -Wextra \
 
14645
                              -Wno-missing-field-initializers \
 
14646
                              -Wno-unused-parameter -Wold-style-definition \
 
14647
                              -Wdeclaration-after-statement \
 
14648
                              -Wmissing-declarations \
 
14649
                              -Wmissing-noreturn -Wshadow -Wpointer-arith \
 
14650
                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
 
14651
                              -Winit-self -Wmissing-include-dirs -Wundef \
 
14652
                              -Wnested-externs"
 
14653
    CPPFLAGS="$CPPFLAGS"
 
14654
 
 
14655
    if test x`uname` = x"Linux"; then
 
14656
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
 
14657
    fi
 
14658
 
 
14659
        if test x`uname` != x"OpenBSD"; then
 
14660
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
 
14661
    fi
 
14662
 
 
14663
    if test x"$enable_debug" = x"full"; then
 
14664
 
 
14665
$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
 
14666
 
 
14667
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
 
14668
      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
 
14669
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
 
14670
$as_echo "full" >&6; }
 
14671
    else
 
14672
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
 
14673
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14674
$as_echo "yes" >&6; }
 
14675
    fi
 
14676
 
 
14677
 
 
14678
  for flag in $xdt_cv_additional_CFLAGS; do
 
14679
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
 
14680
$as_echo_n "checking if $CC supports $flag... " >&6; }
 
14681
    saved_CFLAGS="$CFLAGS"
 
14682
    CFLAGS="$CFLAGS $flag"
 
14683
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14684
/* end confdefs.h.  */
 
14685
 
 
14686
_ACEOF
 
14687
if ac_fn_c_try_compile "$LINENO"; then :
 
14688
  flag_supported=yes
 
14689
else
 
14690
  flag_supported=no
 
14691
fi
 
14692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14693
    CFLAGS="$saved_CFLAGS"
 
14694
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
 
14695
$as_echo "$flag_supported" >&6; }
 
14696
 
 
14697
    if test "x$flag_supported" = "xyes"; then
 
14698
      supported_CFLAGS="$supported_CFLAGS $flag"
 
14699
    fi
 
14700
  done
 
14701
 
 
14702
 
 
14703
 
 
14704
                                                supported_CXXFLAGS="$supported_CFLAGS"
 
14705
 
 
14706
 
 
14707
    CFLAGS="$CFLAGS $supported_CFLAGS"
 
14708
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
 
14709
  else
 
14710
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
 
14711
 
 
14712
    if test x"$enable_debug" = x"no"; then
 
14713
      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
 
14714
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14715
$as_echo "no" >&6; }
 
14716
    else
 
14717
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
 
14718
$as_echo "minimum" >&6; }
 
14719
    fi
 
14720
  fi
 
14721
 
 
14722
 
 
14723
 
 
14724
  # Check whether --enable-linker-opts was given.
 
14725
if test "${enable_linker_opts+set}" = set; then :
 
14726
  enableval=$enable_linker_opts; enable_linker_opts=$enableval
 
14727
else
 
14728
  enable_linker_opts=yes
 
14729
fi
 
14730
 
 
14731
 
 
14732
  if test "x$enable_linker_opts" != "xno"; then
 
14733
    if test x`uname` != x"OpenBSD"; then
 
14734
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
 
14735
$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
 
14736
      case `$LD --as-needed -v 2>&1 </dev/null` in
 
14737
      *GNU* | *'with BFD'*)
 
14738
        LDFLAGS="$LDFLAGS -Wl,--as-needed"
 
14739
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14740
$as_echo "yes" >&6; }
 
14741
        ;;
 
14742
      *)
 
14743
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14744
$as_echo "no" >&6; }
 
14745
        ;;
 
14746
      esac
 
14747
    fi
 
14748
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
 
14749
$as_echo_n "checking whether $LD accepts -O1... " >&6; }
 
14750
    case `$LD -O1 -v 2>&1 </dev/null` in
 
14751
    *GNU* | *'with BFD'*)
 
14752
      LDFLAGS="$LDFLAGS -Wl,-O1"
 
14753
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14754
$as_echo "yes" >&6; }
 
14755
      ;;
 
14756
    *)
 
14757
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14758
$as_echo "no" >&6; }
 
14759
      ;;
 
14760
    esac
 
14761
  fi
 
14762
 
 
14763
 
 
14764
# Check whether --enable-visibility was given.
 
14765
if test "${enable_visibility+set}" = set; then :
 
14766
  enableval=$enable_visibility;
 
14767
else
 
14768
  enable_visibility=yes
 
14769
fi
 
14770
 
 
14771
have_gnuc_visibility=no
 
14772
if test x"$enable_visibility" != x"no"; then
 
14773
    save_CFLAGS="$CFLAGS"
 
14774
  CFLAGS="$CFLAGS -Wall -Werror"
 
14775
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports the GNUC visibility attribute" >&5
 
14776
$as_echo_n "checking whether $CC supports the GNUC visibility attribute... " >&6; }
 
14777
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14778
/* end confdefs.h.  */
 
14779
 
 
14780
    void test_default (void);
 
14781
    void test_hidden (void);
 
14782
 
 
14783
    void __attribute__ ((visibility("default"))) test_default (void) {}
 
14784
    void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
 
14785
 
 
14786
    int main (int argc, char **argv) { test_default (); test_hidden (); return 0; }
 
14787
 
 
14788
_ACEOF
 
14789
if ac_fn_c_try_compile "$LINENO"; then :
 
14790
 
 
14791
    have_gnuc_visibility=yes
 
14792
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14793
$as_echo "yes" >&6; }
 
14794
 
 
14795
else
 
14796
 
 
14797
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14798
$as_echo "no" >&6; }
 
14799
 
 
14800
fi
 
14801
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14802
  CFLAGS="$save_CFLAGS"
 
14803
fi
 
14804
if test x"$have_gnuc_visibility" = x"yes"; then
 
14805
  CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
 
14806
fi
 
14807
 if test x"$have_gnuc_visibility" = x"yes"; then
 
14808
  HAVE_GNUC_VISIBILITY_TRUE=
 
14809
  HAVE_GNUC_VISIBILITY_FALSE='#'
 
14810
else
 
14811
  HAVE_GNUC_VISIBILITY_TRUE='#'
 
14812
  HAVE_GNUC_VISIBILITY_FALSE=
 
14813
fi
 
14814
 
 
14815
 
 
14816
 
 
14817
  for flag in -Wno-sign-compare; do
 
14818
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
 
14819
$as_echo_n "checking if $CC supports $flag... " >&6; }
 
14820
    saved_CFLAGS="$CFLAGS"
 
14821
    CFLAGS="$CFLAGS $flag"
 
14822
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14823
/* end confdefs.h.  */
 
14824
 
 
14825
_ACEOF
 
14826
if ac_fn_c_try_compile "$LINENO"; then :
 
14827
  flag_supported=yes
 
14828
else
 
14829
  flag_supported=no
 
14830
fi
 
14831
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14832
    CFLAGS="$saved_CFLAGS"
 
14833
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
 
14834
$as_echo "$flag_supported" >&6; }
 
14835
 
 
14836
    if test "x$flag_supported" = "xyes"; then
 
14837
      GTK_DOC_EXTRA_CFLAGS="$GTK_DOC_EXTRA_CFLAGS $flag"
 
14838
    fi
 
14839
  done
 
14840
 
 
14841
 
 
14842
 
 
14843
ac_config_files="$ac_config_files Makefile docs/version.xml docs/Makefile libxfce4util/libxfce4util-1.0.pc libxfce4util/libxfce4util-config.h libxfce4util/Makefile po/Makefile.in xfce4-kiosk-query/Makefile"
 
14844
 
 
14845
cat >confcache <<\_ACEOF
 
14846
# This file is a shell script that caches the results of configure
 
14847
# tests run on this system so they can be shared between configure
 
14848
# scripts and configure runs, see configure's option --config-cache.
 
14849
# It is not useful on other systems.  If it contains results you don't
 
14850
# want to keep, you may remove or edit it.
 
14851
#
 
14852
# config.status only pays attention to the cache file if you give it
 
14853
# the --recheck option to rerun configure.
 
14854
#
 
14855
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
14856
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
14857
# following values.
 
14858
 
 
14859
_ACEOF
 
14860
 
 
14861
# The following way of writing the cache mishandles newlines in values,
 
14862
# but we know of no workaround that is simple, portable, and efficient.
 
14863
# So, we kill variables containing newlines.
 
14864
# Ultrix sh set writes to stderr and can't be redirected directly,
 
14865
# and sets the high bit in the cache file unless we assign to the vars.
 
14866
(
 
14867
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
14868
    eval ac_val=\$$ac_var
 
14869
    case $ac_val in #(
 
14870
    *${as_nl}*)
 
14871
      case $ac_var in #(
 
14872
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
14873
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
14874
      esac
 
14875
      case $ac_var in #(
 
14876
      _ | IFS | as_nl) ;; #(
 
14877
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
14878
      *) { eval $ac_var=; unset $ac_var;} ;;
 
14879
      esac ;;
 
14880
    esac
 
14881
  done
 
14882
 
 
14883
  (set) 2>&1 |
 
14884
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
14885
    *${as_nl}ac_space=\ *)
 
14886
      # `set' does not quote correctly, so add quotes: double-quote
 
14887
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
14888
      sed -n \
 
14889
        "s/'/'\\\\''/g;
 
14890
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
14891
      ;; #(
 
14892
    *)
 
14893
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
14894
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
14895
      ;;
 
14896
    esac |
 
14897
    sort
 
14898
) |
 
14899
  sed '
 
14900
     /^ac_cv_env_/b end
 
14901
     t clear
 
14902
     :clear
 
14903
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
14904
     t end
 
14905
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
14906
     :end' >>confcache
 
14907
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
14908
  if test -w "$cache_file"; then
 
14909
    if test "x$cache_file" != "x/dev/null"; then
 
14910
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
14911
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
14912
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
14913
        cat confcache >"$cache_file"
 
14914
      else
 
14915
        case $cache_file in #(
 
14916
        */* | ?:*)
 
14917
          mv -f confcache "$cache_file"$$ &&
 
14918
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
14919
        *)
 
14920
          mv -f confcache "$cache_file" ;;
 
14921
        esac
 
14922
      fi
 
14923
    fi
 
14924
  else
 
14925
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
14926
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
14927
  fi
 
14928
fi
 
14929
rm -f confcache
 
14930
 
 
14931
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
14932
# Let make expand exec_prefix.
 
14933
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
14934
 
 
14935
DEFS=-DHAVE_CONFIG_H
 
14936
 
 
14937
ac_libobjs=
 
14938
ac_ltlibobjs=
 
14939
U=
 
14940
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
14941
  # 1. Remove the extension, and $U if already installed.
 
14942
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
14943
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
14944
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
14945
  #    will be set to the directory where LIBOBJS objects are built.
 
14946
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
14947
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
14948
done
 
14949
LIBOBJS=$ac_libobjs
 
14950
 
 
14951
LTLIBOBJS=$ac_ltlibobjs
 
14952
 
 
14953
 
 
14954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
14955
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
14956
   if test -n "$am_sleep_pid"; then
 
14957
     # Hide warnings about reused PIDs.
 
14958
     wait $am_sleep_pid 2>/dev/null
 
14959
   fi
 
14960
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
14961
$as_echo "done" >&6; }
 
14962
 if test -n "$EXEEXT"; then
 
14963
  am__EXEEXT_TRUE=
 
14964
  am__EXEEXT_FALSE='#'
 
14965
else
 
14966
  am__EXEEXT_TRUE='#'
 
14967
  am__EXEEXT_FALSE=
 
14968
fi
 
14969
 
 
14970
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
14971
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
14972
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14973
fi
 
14974
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
14975
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
14976
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14977
fi
 
14978
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14979
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14980
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14981
fi
 
14982
if test -z "${HAVE_CYGWIN_TRUE}" && test -z "${HAVE_CYGWIN_FALSE}"; then
 
14983
  as_fn_error $? "conditional \"HAVE_CYGWIN\" was never defined.
 
14984
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14985
fi
 
14986
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14987
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14988
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14989
fi
 
14990
 
 
14991
  ac_config_commands="$ac_config_commands po/stamp-it"
 
14992
 
 
14993
 
 
14994
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
 
14995
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
 
14996
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14997
fi
 
14998
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
 
14999
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
15000
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15001
fi
 
15002
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
 
15003
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
15004
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15005
fi
 
15006
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
 
15007
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
15008
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15009
fi
 
15010
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
 
15011
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
15012
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15013
fi
 
15014
if test -z "${HAVE_GNUC_VISIBILITY_TRUE}" && test -z "${HAVE_GNUC_VISIBILITY_FALSE}"; then
 
15015
  as_fn_error $? "conditional \"HAVE_GNUC_VISIBILITY\" was never defined.
 
15016
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15017
fi
 
15018
 
 
15019
: "${CONFIG_STATUS=./config.status}"
 
15020
ac_write_fail=0
 
15021
ac_clean_files_save=$ac_clean_files
 
15022
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
15023
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
15024
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
15025
as_write_fail=0
 
15026
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
15027
#! $SHELL
 
15028
# Generated by $as_me.
 
15029
# Run this file to recreate the current configuration.
 
15030
# Compiler output produced by configure, useful for debugging
 
15031
# configure, is in config.log if it exists.
 
15032
 
 
15033
debug=false
 
15034
ac_cs_recheck=false
 
15035
ac_cs_silent=false
 
15036
 
 
15037
SHELL=\${CONFIG_SHELL-$SHELL}
 
15038
export SHELL
 
15039
_ASEOF
 
15040
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15041
## -------------------- ##
 
15042
## M4sh Initialization. ##
 
15043
## -------------------- ##
 
15044
 
 
15045
# Be more Bourne compatible
 
15046
DUALCASE=1; export DUALCASE # for MKS sh
 
15047
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
15048
  emulate sh
 
15049
  NULLCMD=:
 
15050
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
15051
  # is contrary to our usage.  Disable this feature.
 
15052
  alias -g '${1+"$@"}'='"$@"'
 
15053
  setopt NO_GLOB_SUBST
 
15054
else
 
15055
  case `(set -o) 2>/dev/null` in #(
 
15056
  *posix*) :
 
15057
    set -o posix ;; #(
 
15058
  *) :
 
15059
     ;;
 
15060
esac
 
15061
fi
 
15062
 
 
15063
 
 
15064
as_nl='
 
15065
'
 
15066
export as_nl
 
15067
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
15068
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
15069
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
15070
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
15071
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15072
# but without wasting forks for bash or zsh.
 
15073
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15074
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15075
  as_echo='print -r --'
 
15076
  as_echo_n='print -rn --'
 
15077
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15078
  as_echo='printf %s\n'
 
15079
  as_echo_n='printf %s'
 
15080
else
 
15081
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
15082
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
15083
    as_echo_n='/usr/ucb/echo -n'
 
15084
  else
 
15085
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
15086
    as_echo_n_body='eval
 
15087
      arg=$1;
 
15088
      case $arg in #(
 
15089
      *"$as_nl"*)
 
15090
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
15091
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
15092
      esac;
 
15093
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
15094
    '
 
15095
    export as_echo_n_body
 
15096
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
15097
  fi
 
15098
  export as_echo_body
 
15099
  as_echo='sh -c $as_echo_body as_echo'
 
15100
fi
 
15101
 
 
15102
# The user is always right.
 
15103
if test "${PATH_SEPARATOR+set}" != set; then
 
15104
  PATH_SEPARATOR=:
 
15105
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
15106
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
15107
      PATH_SEPARATOR=';'
 
15108
  }
 
15109
fi
 
15110
 
 
15111
 
 
15112
# IFS
 
15113
# We need space, tab and new line, in precisely that order.  Quoting is
 
15114
# there to prevent editors from complaining about space-tab.
 
15115
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
15116
# splitting by setting IFS to empty value.)
 
15117
IFS=" ""        $as_nl"
 
15118
 
 
15119
# Find who we are.  Look in the path if we contain no directory separator.
 
15120
as_myself=
 
15121
case $0 in #((
 
15122
  *[\\/]* ) as_myself=$0 ;;
 
15123
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15124
for as_dir in $PATH
 
15125
do
 
15126
  IFS=$as_save_IFS
 
15127
  test -z "$as_dir" && as_dir=.
 
15128
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15129
  done
 
15130
IFS=$as_save_IFS
 
15131
 
 
15132
     ;;
 
15133
esac
 
15134
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
15135
# in which case we are not to be found in the path.
 
15136
if test "x$as_myself" = x; then
 
15137
  as_myself=$0
 
15138
fi
 
15139
if test ! -f "$as_myself"; then
 
15140
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
15141
  exit 1
 
15142
fi
 
15143
 
 
15144
# Unset variables that we do not need and which cause bugs (e.g. in
 
15145
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15146
# suppresses any "Segmentation fault" message there.  '((' could
 
15147
# trigger a bug in pdksh 5.2.14.
 
15148
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15149
do eval test x\${$as_var+set} = xset \
 
15150
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
15151
done
 
15152
PS1='$ '
 
15153
PS2='> '
 
15154
PS4='+ '
 
15155
 
 
15156
# NLS nuisances.
 
15157
LC_ALL=C
 
15158
export LC_ALL
 
15159
LANGUAGE=C
 
15160
export LANGUAGE
 
15161
 
 
15162
# CDPATH.
 
15163
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15164
 
 
15165
 
 
15166
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15167
# ----------------------------------------
 
15168
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15169
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15170
# script with STATUS, using 1 if that was 0.
 
15171
as_fn_error ()
 
15172
{
 
15173
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15174
  if test "$4"; then
 
15175
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15176
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
15177
  fi
 
15178
  $as_echo "$as_me: error: $2" >&2
 
15179
  as_fn_exit $as_status
 
15180
} # as_fn_error
 
15181
 
 
15182
 
 
15183
# as_fn_set_status STATUS
 
15184
# -----------------------
 
15185
# Set $? to STATUS, without forking.
 
15186
as_fn_set_status ()
 
15187
{
 
15188
  return $1
 
15189
} # as_fn_set_status
 
15190
 
 
15191
# as_fn_exit STATUS
 
15192
# -----------------
 
15193
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15194
as_fn_exit ()
 
15195
{
 
15196
  set +e
 
15197
  as_fn_set_status $1
 
15198
  exit $1
 
15199
} # as_fn_exit
 
15200
 
 
15201
# as_fn_unset VAR
 
15202
# ---------------
 
15203
# Portably unset VAR.
 
15204
as_fn_unset ()
 
15205
{
 
15206
  { eval $1=; unset $1;}
 
15207
}
 
15208
as_unset=as_fn_unset
 
15209
# as_fn_append VAR VALUE
 
15210
# ----------------------
 
15211
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
15212
# advantage of any shell optimizations that allow amortized linear growth over
 
15213
# repeated appends, instead of the typical quadratic growth present in naive
 
15214
# implementations.
 
15215
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15216
  eval 'as_fn_append ()
 
15217
  {
 
15218
    eval $1+=\$2
 
15219
  }'
 
15220
else
 
15221
  as_fn_append ()
 
15222
  {
 
15223
    eval $1=\$$1\$2
 
15224
  }
 
15225
fi # as_fn_append
 
15226
 
 
15227
# as_fn_arith ARG...
 
15228
# ------------------
 
15229
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
15230
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
15231
# must be portable across $(()) and expr.
 
15232
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15233
  eval 'as_fn_arith ()
 
15234
  {
 
15235
    as_val=$(( $* ))
 
15236
  }'
 
15237
else
 
15238
  as_fn_arith ()
 
15239
  {
 
15240
    as_val=`expr "$@" || test $? -eq 1`
 
15241
  }
 
15242
fi # as_fn_arith
 
15243
 
 
15244
 
 
15245
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
15246
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
15247
  as_expr=expr
 
15248
else
 
15249
  as_expr=false
 
15250
fi
 
15251
 
 
15252
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
15253
  as_basename=basename
 
15254
else
 
15255
  as_basename=false
 
15256
fi
 
15257
 
 
15258
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15259
  as_dirname=dirname
 
15260
else
 
15261
  as_dirname=false
 
15262
fi
 
15263
 
 
15264
as_me=`$as_basename -- "$0" ||
 
15265
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
15266
         X"$0" : 'X\(//\)$' \| \
 
15267
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
15268
$as_echo X/"$0" |
 
15269
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
15270
            s//\1/
 
15271
            q
 
15272
          }
 
15273
          /^X\/\(\/\/\)$/{
 
15274
            s//\1/
 
15275
            q
 
15276
          }
 
15277
          /^X\/\(\/\).*/{
 
15278
            s//\1/
 
15279
            q
 
15280
          }
 
15281
          s/.*/./; q'`
 
15282
 
 
15283
# Avoid depending upon Character Ranges.
 
15284
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15285
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15286
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15287
as_cr_digits='0123456789'
 
15288
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
15289
 
 
15290
ECHO_C= ECHO_N= ECHO_T=
 
15291
case `echo -n x` in #(((((
 
15292
-n*)
 
15293
  case `echo 'xy\c'` in
 
15294
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
15295
  xy)  ECHO_C='\c';;
 
15296
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15297
       ECHO_T=' ';;
 
15298
  esac;;
 
15299
*)
 
15300
  ECHO_N='-n';;
 
15301
esac
 
15302
 
 
15303
rm -f conf$$ conf$$.exe conf$$.file
 
15304
if test -d conf$$.dir; then
 
15305
  rm -f conf$$.dir/conf$$.file
 
15306
else
 
15307
  rm -f conf$$.dir
 
15308
  mkdir conf$$.dir 2>/dev/null
 
15309
fi
 
15310
if (echo >conf$$.file) 2>/dev/null; then
 
15311
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
15312
    as_ln_s='ln -s'
 
15313
    # ... but there are two gotchas:
 
15314
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
15315
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
15316
    # In both cases, we have to default to `cp -pR'.
 
15317
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
15318
      as_ln_s='cp -pR'
 
15319
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
15320
    as_ln_s=ln
 
15321
  else
 
15322
    as_ln_s='cp -pR'
 
15323
  fi
 
15324
else
 
15325
  as_ln_s='cp -pR'
 
15326
fi
 
15327
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
15328
rmdir conf$$.dir 2>/dev/null
 
15329
 
 
15330
 
 
15331
# as_fn_mkdir_p
 
15332
# -------------
 
15333
# Create "$as_dir" as a directory, including parents if necessary.
 
15334
as_fn_mkdir_p ()
 
15335
{
 
15336
 
 
15337
  case $as_dir in #(
 
15338
  -*) as_dir=./$as_dir;;
 
15339
  esac
 
15340
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15341
    as_dirs=
 
15342
    while :; do
 
15343
      case $as_dir in #(
 
15344
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15345
      *) as_qdir=$as_dir;;
 
15346
      esac
 
15347
      as_dirs="'$as_qdir' $as_dirs"
 
15348
      as_dir=`$as_dirname -- "$as_dir" ||
 
15349
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15350
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15351
         X"$as_dir" : 'X\(//\)$' \| \
 
15352
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15353
$as_echo X"$as_dir" |
 
15354
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15355
            s//\1/
 
15356
            q
 
15357
          }
 
15358
          /^X\(\/\/\)[^/].*/{
 
15359
            s//\1/
 
15360
            q
 
15361
          }
 
15362
          /^X\(\/\/\)$/{
 
15363
            s//\1/
 
15364
            q
 
15365
          }
 
15366
          /^X\(\/\).*/{
 
15367
            s//\1/
 
15368
            q
 
15369
          }
 
15370
          s/.*/./; q'`
 
15371
      test -d "$as_dir" && break
 
15372
    done
 
15373
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15374
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
15375
 
 
15376
 
 
15377
} # as_fn_mkdir_p
 
15378
if mkdir -p . 2>/dev/null; then
 
15379
  as_mkdir_p='mkdir -p "$as_dir"'
 
15380
else
 
15381
  test -d ./-p && rmdir ./-p
 
15382
  as_mkdir_p=false
 
15383
fi
 
15384
 
 
15385
 
 
15386
# as_fn_executable_p FILE
 
15387
# -----------------------
 
15388
# Test if FILE is an executable regular file.
 
15389
as_fn_executable_p ()
 
15390
{
 
15391
  test -f "$1" && test -x "$1"
 
15392
} # as_fn_executable_p
 
15393
as_test_x='test -x'
 
15394
as_executable_p=as_fn_executable_p
 
15395
 
 
15396
# Sed expression to map a string onto a valid CPP name.
 
15397
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
15398
 
 
15399
# Sed expression to map a string onto a valid variable name.
 
15400
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
15401
 
 
15402
 
 
15403
exec 6>&1
 
15404
## ----------------------------------- ##
 
15405
## Main body of $CONFIG_STATUS script. ##
 
15406
## ----------------------------------- ##
 
15407
_ASEOF
 
15408
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
15409
 
 
15410
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15411
# Save the log message, to keep $0 and so on meaningful, and to
 
15412
# report actual input values of CONFIG_FILES etc. instead of their
 
15413
# values after options handling.
 
15414
ac_log="
 
15415
This file was extended by libxfce4util $as_me 4.10.1, which was
 
15416
generated by GNU Autoconf 2.69.  Invocation command line was
 
15417
 
 
15418
  CONFIG_FILES    = $CONFIG_FILES
 
15419
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
15420
  CONFIG_LINKS    = $CONFIG_LINKS
 
15421
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
15422
  $ $0 $@
 
15423
 
 
15424
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
15425
"
 
15426
 
 
15427
_ACEOF
 
15428
 
 
15429
case $ac_config_files in *"
 
15430
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
15431
esac
 
15432
 
 
15433
case $ac_config_headers in *"
 
15434
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
15435
esac
 
15436
 
 
15437
 
 
15438
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15439
# Files that config.status was made for.
 
15440
config_files="$ac_config_files"
 
15441
config_headers="$ac_config_headers"
 
15442
config_commands="$ac_config_commands"
 
15443
 
 
15444
_ACEOF
 
15445
 
 
15446
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15447
ac_cs_usage="\
 
15448
\`$as_me' instantiates files and other configuration actions
 
15449
from templates according to the current configuration.  Unless the files
 
15450
and actions are specified as TAGs, all are instantiated by default.
 
15451
 
 
15452
Usage: $0 [OPTION]... [TAG]...
 
15453
 
 
15454
  -h, --help       print this help, then exit
 
15455
  -V, --version    print version number and configuration settings, then exit
 
15456
      --config     print configuration, then exit
 
15457
  -q, --quiet, --silent
 
15458
                   do not print progress messages
 
15459
  -d, --debug      don't remove temporary files
 
15460
      --recheck    update $as_me by reconfiguring in the same conditions
 
15461
      --file=FILE[:TEMPLATE]
 
15462
                   instantiate the configuration file FILE
 
15463
      --header=FILE[:TEMPLATE]
 
15464
                   instantiate the configuration header FILE
 
15465
 
 
15466
Configuration files:
 
15467
$config_files
 
15468
 
 
15469
Configuration headers:
 
15470
$config_headers
 
15471
 
 
15472
Configuration commands:
 
15473
$config_commands
 
15474
 
 
15475
Report bugs to <xfce4-dev@xfce.org>."
 
15476
 
 
15477
_ACEOF
 
15478
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15479
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
15480
ac_cs_version="\\
 
15481
libxfce4util config.status 4.10.1
 
15482
configured by $0, generated by GNU Autoconf 2.69,
 
15483
  with options \\"\$ac_cs_config\\"
 
15484
 
 
15485
Copyright (C) 2012 Free Software Foundation, Inc.
 
15486
This config.status script is free software; the Free Software Foundation
 
15487
gives unlimited permission to copy, distribute and modify it."
 
15488
 
 
15489
ac_pwd='$ac_pwd'
 
15490
srcdir='$srcdir'
 
15491
INSTALL='$INSTALL'
 
15492
MKDIR_P='$MKDIR_P'
 
15493
AWK='$AWK'
 
15494
test -n "\$AWK" || AWK=awk
 
15495
_ACEOF
 
15496
 
 
15497
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15498
# The default lists apply if the user does not specify any file.
 
15499
ac_need_defaults=:
 
15500
while test $# != 0
 
15501
do
 
15502
  case $1 in
 
15503
  --*=?*)
 
15504
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15505
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
15506
    ac_shift=:
 
15507
    ;;
 
15508
  --*=)
 
15509
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15510
    ac_optarg=
 
15511
    ac_shift=:
 
15512
    ;;
 
15513
  *)
 
15514
    ac_option=$1
 
15515
    ac_optarg=$2
 
15516
    ac_shift=shift
 
15517
    ;;
 
15518
  esac
 
15519
 
 
15520
  case $ac_option in
 
15521
  # Handling of the options.
 
15522
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
15523
    ac_cs_recheck=: ;;
 
15524
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
15525
    $as_echo "$ac_cs_version"; exit ;;
 
15526
  --config | --confi | --conf | --con | --co | --c )
 
15527
    $as_echo "$ac_cs_config"; exit ;;
 
15528
  --debug | --debu | --deb | --de | --d | -d )
 
15529
    debug=: ;;
 
15530
  --file | --fil | --fi | --f )
 
15531
    $ac_shift
 
15532
    case $ac_optarg in
 
15533
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15534
    '') as_fn_error $? "missing file argument" ;;
 
15535
    esac
 
15536
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
15537
    ac_need_defaults=false;;
 
15538
  --header | --heade | --head | --hea )
 
15539
    $ac_shift
 
15540
    case $ac_optarg in
 
15541
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15542
    esac
 
15543
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
15544
    ac_need_defaults=false;;
 
15545
  --he | --h)
 
15546
    # Conflict between --help and --header
 
15547
    as_fn_error $? "ambiguous option: \`$1'
 
15548
Try \`$0 --help' for more information.";;
 
15549
  --help | --hel | -h )
 
15550
    $as_echo "$ac_cs_usage"; exit ;;
 
15551
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
15552
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
15553
    ac_cs_silent=: ;;
 
15554
 
 
15555
  # This is an error.
 
15556
  -*) as_fn_error $? "unrecognized option: \`$1'
 
15557
Try \`$0 --help' for more information." ;;
 
15558
 
 
15559
  *) as_fn_append ac_config_targets " $1"
 
15560
     ac_need_defaults=false ;;
 
15561
 
 
15562
  esac
 
15563
  shift
 
15564
done
 
15565
 
 
15566
ac_configure_extra_args=
 
15567
 
 
15568
if $ac_cs_silent; then
 
15569
  exec 6>/dev/null
 
15570
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
15571
fi
 
15572
 
 
15573
_ACEOF
 
15574
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15575
if \$ac_cs_recheck; then
 
15576
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
15577
  shift
 
15578
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
15579
  CONFIG_SHELL='$SHELL'
 
15580
  export CONFIG_SHELL
 
15581
  exec "\$@"
 
15582
fi
 
15583
 
 
15584
_ACEOF
 
15585
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15586
exec 5>>config.log
 
15587
{
 
15588
  echo
 
15589
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
15590
## Running $as_me. ##
 
15591
_ASBOX
 
15592
  $as_echo "$ac_log"
 
15593
} >&5
 
15594
 
 
15595
_ACEOF
 
15596
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15597
#
 
15598
# INIT-COMMANDS
 
15599
#
 
15600
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
15601
 
 
15602
 
 
15603
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
15604
# if CDPATH is set.
 
15605
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15606
 
 
15607
sed_quote_subst='$sed_quote_subst'
 
15608
double_quote_subst='$double_quote_subst'
 
15609
delay_variable_subst='$delay_variable_subst'
 
15610
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15611
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15612
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15613
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15614
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15615
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15616
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15617
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15618
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
15619
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15620
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15621
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15622
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15623
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15624
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15625
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15626
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15627
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15628
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15629
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15630
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15631
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15632
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15633
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15634
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15635
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15636
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15637
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15638
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15639
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15640
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15641
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15642
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15643
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15644
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15645
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15646
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15647
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15648
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15649
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15650
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15651
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15652
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15653
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15654
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15655
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15656
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15657
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15658
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15659
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15660
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15661
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15662
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15663
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15664
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15665
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15666
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15667
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15668
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15669
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15670
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15671
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15672
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15673
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15674
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15675
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15676
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15677
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15678
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15679
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15680
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15681
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15682
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15683
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15684
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15685
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15686
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15687
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15688
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15689
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15690
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15691
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15692
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15693
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15694
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15695
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15696
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15697
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15698
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15699
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15700
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15701
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15702
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15703
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15704
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15705
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15706
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15707
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15708
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15709
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15710
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15711
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15712
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15713
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15714
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15715
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15716
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15717
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15718
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15719
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15720
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15721
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15722
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15723
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15724
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15725
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15726
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15727
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15728
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15729
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15730
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15731
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15732
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15733
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15734
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15735
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15736
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15737
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15738
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15739
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
15740
 
 
15741
LTCC='$LTCC'
 
15742
LTCFLAGS='$LTCFLAGS'
 
15743
compiler='$compiler_DEFAULT'
 
15744
 
 
15745
# A function that is used when there is no print builtin or printf.
 
15746
func_fallback_echo ()
 
15747
{
 
15748
  eval 'cat <<_LTECHO_EOF
 
15749
\$1
 
15750
_LTECHO_EOF'
 
15751
}
 
15752
 
 
15753
# Quote evaled strings.
 
15754
for var in SHELL \
 
15755
ECHO \
 
15756
PATH_SEPARATOR \
 
15757
SED \
 
15758
GREP \
 
15759
EGREP \
 
15760
FGREP \
 
15761
LD \
 
15762
NM \
 
15763
LN_S \
 
15764
lt_SP2NL \
 
15765
lt_NL2SP \
 
15766
reload_flag \
 
15767
OBJDUMP \
 
15768
deplibs_check_method \
 
15769
file_magic_cmd \
 
15770
file_magic_glob \
 
15771
want_nocaseglob \
 
15772
DLLTOOL \
 
15773
sharedlib_from_linklib_cmd \
 
15774
AR \
 
15775
AR_FLAGS \
 
15776
archiver_list_spec \
 
15777
STRIP \
 
15778
RANLIB \
 
15779
CC \
 
15780
CFLAGS \
 
15781
compiler \
 
15782
lt_cv_sys_global_symbol_pipe \
 
15783
lt_cv_sys_global_symbol_to_cdecl \
 
15784
lt_cv_sys_global_symbol_to_c_name_address \
 
15785
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
15786
nm_file_list_spec \
 
15787
lt_prog_compiler_no_builtin_flag \
 
15788
lt_prog_compiler_pic \
 
15789
lt_prog_compiler_wl \
 
15790
lt_prog_compiler_static \
 
15791
lt_cv_prog_compiler_c_o \
 
15792
need_locks \
 
15793
MANIFEST_TOOL \
 
15794
DSYMUTIL \
 
15795
NMEDIT \
 
15796
LIPO \
 
15797
OTOOL \
 
15798
OTOOL64 \
 
15799
shrext_cmds \
 
15800
export_dynamic_flag_spec \
 
15801
whole_archive_flag_spec \
 
15802
compiler_needs_object \
 
15803
with_gnu_ld \
 
15804
allow_undefined_flag \
 
15805
no_undefined_flag \
 
15806
hardcode_libdir_flag_spec \
 
15807
hardcode_libdir_separator \
 
15808
exclude_expsyms \
 
15809
include_expsyms \
 
15810
file_list_spec \
 
15811
variables_saved_for_relink \
 
15812
libname_spec \
 
15813
library_names_spec \
 
15814
soname_spec \
 
15815
install_override_mode \
 
15816
finish_eval \
 
15817
old_striplib \
 
15818
striplib; do
 
15819
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15820
    *[\\\\\\\`\\"\\\$]*)
 
15821
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15822
      ;;
 
15823
    *)
 
15824
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15825
      ;;
 
15826
    esac
 
15827
done
 
15828
 
 
15829
# Double-quote double-evaled strings.
 
15830
for var in reload_cmds \
 
15831
old_postinstall_cmds \
 
15832
old_postuninstall_cmds \
 
15833
old_archive_cmds \
 
15834
extract_expsyms_cmds \
 
15835
old_archive_from_new_cmds \
 
15836
old_archive_from_expsyms_cmds \
 
15837
archive_cmds \
 
15838
archive_expsym_cmds \
 
15839
module_cmds \
 
15840
module_expsym_cmds \
 
15841
export_symbols_cmds \
 
15842
prelink_cmds \
 
15843
postlink_cmds \
 
15844
postinstall_cmds \
 
15845
postuninstall_cmds \
 
15846
finish_cmds \
 
15847
sys_lib_search_path_spec \
 
15848
sys_lib_dlsearch_path_spec; do
 
15849
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15850
    *[\\\\\\\`\\"\\\$]*)
 
15851
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15852
      ;;
 
15853
    *)
 
15854
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15855
      ;;
 
15856
    esac
 
15857
done
 
15858
 
 
15859
ac_aux_dir='$ac_aux_dir'
 
15860
xsi_shell='$xsi_shell'
 
15861
lt_shell_append='$lt_shell_append'
 
15862
 
 
15863
# See if we are running on zsh, and set the options which allow our
 
15864
# commands through without removal of \ escapes INIT.
 
15865
if test -n "\${ZSH_VERSION+set}" ; then
 
15866
   setopt NO_GLOB_SUBST
 
15867
fi
 
15868
 
 
15869
 
 
15870
    PACKAGE='$PACKAGE'
 
15871
    VERSION='$VERSION'
 
15872
    TIMESTAMP='$TIMESTAMP'
 
15873
    RM='$RM'
 
15874
    ofile='$ofile'
 
15875
 
 
15876
 
 
15877
 
 
15878
 
 
15879
 
 
15880
_ACEOF
 
15881
 
 
15882
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15883
 
 
15884
# Handling of arguments.
 
15885
for ac_config_target in $ac_config_targets
 
15886
do
 
15887
  case $ac_config_target in
 
15888
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
15889
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
15890
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
15891
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
15892
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
15893
    "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
 
15894
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
 
15895
    "libxfce4util/libxfce4util-1.0.pc") CONFIG_FILES="$CONFIG_FILES libxfce4util/libxfce4util-1.0.pc" ;;
 
15896
    "libxfce4util/libxfce4util-config.h") CONFIG_FILES="$CONFIG_FILES libxfce4util/libxfce4util-config.h" ;;
 
15897
    "libxfce4util/Makefile") CONFIG_FILES="$CONFIG_FILES libxfce4util/Makefile" ;;
 
15898
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
15899
    "xfce4-kiosk-query/Makefile") CONFIG_FILES="$CONFIG_FILES xfce4-kiosk-query/Makefile" ;;
 
15900
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
15901
 
 
15902
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15903
  esac
 
15904
done
 
15905
 
 
15906
 
 
15907
# If the user did not use the arguments to specify the items to instantiate,
 
15908
# then the envvar interface is used.  Set only those that are not.
 
15909
# We use the long form for the default assignment because of an extremely
 
15910
# bizarre bug on SunOS 4.1.3.
 
15911
if $ac_need_defaults; then
 
15912
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
15913
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
15914
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
15915
fi
 
15916
 
 
15917
# Have a temporary directory for convenience.  Make it in the build tree
 
15918
# simply because there is no reason against having it here, and in addition,
 
15919
# creating and moving files from /tmp can sometimes cause problems.
 
15920
# Hook for its removal unless debugging.
 
15921
# Note that there is a small window in which the directory will not be cleaned:
 
15922
# after its creation but before its name has been assigned to `$tmp'.
 
15923
$debug ||
 
15924
{
 
15925
  tmp= ac_tmp=
 
15926
  trap 'exit_status=$?
 
15927
  : "${ac_tmp:=$tmp}"
 
15928
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
15929
' 0
 
15930
  trap 'as_fn_exit 1' 1 2 13 15
 
15931
}
 
15932
# Create a (secure) tmp directory for tmp files.
 
15933
 
 
15934
{
 
15935
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
15936
  test -d "$tmp"
 
15937
}  ||
 
15938
{
 
15939
  tmp=./conf$$-$RANDOM
 
15940
  (umask 077 && mkdir "$tmp")
 
15941
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
15942
ac_tmp=$tmp
 
15943
 
 
15944
# Set up the scripts for CONFIG_FILES section.
 
15945
# No need to generate them if there are no CONFIG_FILES.
 
15946
# This happens for instance with `./config.status config.h'.
 
15947
if test -n "$CONFIG_FILES"; then
 
15948
 
 
15949
 
 
15950
ac_cr=`echo X | tr X '\015'`
 
15951
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
15952
# But we know of no other shell where ac_cr would be empty at this
 
15953
# point, so we can use a bashism as a fallback.
 
15954
if test "x$ac_cr" = x; then
 
15955
  eval ac_cr=\$\'\\r\'
 
15956
fi
 
15957
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
15958
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
15959
  ac_cs_awk_cr='\\r'
 
15960
else
 
15961
  ac_cs_awk_cr=$ac_cr
 
15962
fi
 
15963
 
 
15964
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
15965
_ACEOF
 
15966
 
 
15967
 
 
15968
{
 
15969
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
15970
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
15971
  echo "_ACEOF"
 
15972
} >conf$$subs.sh ||
 
15973
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15974
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
15975
ac_delim='%!_!# '
 
15976
for ac_last_try in false false false false false :; do
 
15977
  . ./conf$$subs.sh ||
 
15978
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15979
 
 
15980
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
15981
  if test $ac_delim_n = $ac_delim_num; then
 
15982
    break
 
15983
  elif $ac_last_try; then
 
15984
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15985
  else
 
15986
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
15987
  fi
 
15988
done
 
15989
rm -f conf$$subs.sh
 
15990
 
 
15991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15992
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
15993
_ACEOF
 
15994
sed -n '
 
15995
h
 
15996
s/^/S["/; s/!.*/"]=/
 
15997
p
 
15998
g
 
15999
s/^[^!]*!//
 
16000
:repl
 
16001
t repl
 
16002
s/'"$ac_delim"'$//
 
16003
t delim
 
16004
:nl
 
16005
h
 
16006
s/\(.\{148\}\)..*/\1/
 
16007
t more1
 
16008
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
16009
p
 
16010
n
 
16011
b repl
 
16012
:more1
 
16013
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16014
p
 
16015
g
 
16016
s/.\{148\}//
 
16017
t nl
 
16018
:delim
 
16019
h
 
16020
s/\(.\{148\}\)..*/\1/
 
16021
t more2
 
16022
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
16023
p
 
16024
b
 
16025
:more2
 
16026
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16027
p
 
16028
g
 
16029
s/.\{148\}//
 
16030
t delim
 
16031
' <conf$$subs.awk | sed '
 
16032
/^[^""]/{
 
16033
  N
 
16034
  s/\n//
 
16035
}
 
16036
' >>$CONFIG_STATUS || ac_write_fail=1
 
16037
rm -f conf$$subs.awk
 
16038
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16039
_ACAWK
 
16040
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
16041
  for (key in S) S_is_set[key] = 1
 
16042
  FS = ""
 
16043
 
 
16044
}
 
16045
{
 
16046
  line = $ 0
 
16047
  nfields = split(line, field, "@")
 
16048
  substed = 0
 
16049
  len = length(field[1])
 
16050
  for (i = 2; i < nfields; i++) {
 
16051
    key = field[i]
 
16052
    keylen = length(key)
 
16053
    if (S_is_set[key]) {
 
16054
      value = S[key]
 
16055
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
16056
      len += length(value) + length(field[++i])
 
16057
      substed = 1
 
16058
    } else
 
16059
      len += 1 + keylen
 
16060
  }
 
16061
 
 
16062
  print line
 
16063
}
 
16064
 
 
16065
_ACAWK
 
16066
_ACEOF
 
16067
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16068
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
16069
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
16070
else
 
16071
  cat
 
16072
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16073
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
16074
_ACEOF
 
16075
 
 
16076
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16077
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
16078
# trailing colons and then remove the whole line if VPATH becomes empty
 
16079
# (actually we leave an empty line to preserve line numbers).
 
16080
if test "x$srcdir" = x.; then
 
16081
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16082
h
 
16083
s///
 
16084
s/^/:/
 
16085
s/[      ]*$/:/
 
16086
s/:\$(srcdir):/:/g
 
16087
s/:\${srcdir}:/:/g
 
16088
s/:@srcdir@:/:/g
 
16089
s/^:*//
 
16090
s/:*$//
 
16091
x
 
16092
s/\(=[   ]*\).*/\1/
 
16093
G
 
16094
s/\n//
 
16095
s/^[^=]*=[       ]*$//
 
16096
}'
 
16097
fi
 
16098
 
 
16099
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16100
fi # test -n "$CONFIG_FILES"
 
16101
 
 
16102
# Set up the scripts for CONFIG_HEADERS section.
 
16103
# No need to generate them if there are no CONFIG_HEADERS.
 
16104
# This happens for instance with `./config.status Makefile'.
 
16105
if test -n "$CONFIG_HEADERS"; then
 
16106
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
16107
BEGIN {
 
16108
_ACEOF
 
16109
 
 
16110
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
16111
# here-document in config.status, that substitutes the proper values into
 
16112
# config.h.in to produce config.h.
 
16113
 
 
16114
# Create a delimiter string that does not exist in confdefs.h, to ease
 
16115
# handling of long lines.
 
16116
ac_delim='%!_!# '
 
16117
for ac_last_try in false false :; do
 
16118
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16119
  if test -z "$ac_tt"; then
 
16120
    break
 
16121
  elif $ac_last_try; then
 
16122
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16123
  else
 
16124
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16125
  fi
 
16126
done
 
16127
 
 
16128
# For the awk script, D is an array of macro values keyed by name,
 
16129
# likewise P contains macro parameters if any.  Preserve backslash
 
16130
# newline sequences.
 
16131
 
 
16132
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
16133
sed -n '
 
16134
s/.\{148\}/&'"$ac_delim"'/g
 
16135
t rset
 
16136
:rset
 
16137
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
16138
t def
 
16139
d
 
16140
:def
 
16141
s/\\$//
 
16142
t bsnl
 
16143
s/["\\]/\\&/g
 
16144
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16145
D["\1"]=" \3"/p
 
16146
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
16147
d
 
16148
:bsnl
 
16149
s/["\\]/\\&/g
 
16150
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16151
D["\1"]=" \3\\\\\\n"\\/p
 
16152
t cont
 
16153
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
16154
t cont
 
16155
d
 
16156
:cont
 
16157
n
 
16158
s/.\{148\}/&'"$ac_delim"'/g
 
16159
t clear
 
16160
:clear
 
16161
s/\\$//
 
16162
t bsnlc
 
16163
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
16164
d
 
16165
:bsnlc
 
16166
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
16167
b cont
 
16168
' <confdefs.h | sed '
 
16169
s/'"$ac_delim"'/"\\\
 
16170
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
16171
 
 
16172
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16173
  for (key in D) D_is_set[key] = 1
 
16174
  FS = ""
 
16175
}
 
16176
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
16177
  line = \$ 0
 
16178
  split(line, arg, " ")
 
16179
  if (arg[1] == "#") {
 
16180
    defundef = arg[2]
 
16181
    mac1 = arg[3]
 
16182
  } else {
 
16183
    defundef = substr(arg[1], 2)
 
16184
    mac1 = arg[2]
 
16185
  }
 
16186
  split(mac1, mac2, "(") #)
 
16187
  macro = mac2[1]
 
16188
  prefix = substr(line, 1, index(line, defundef) - 1)
 
16189
  if (D_is_set[macro]) {
 
16190
    # Preserve the white space surrounding the "#".
 
16191
    print prefix "define", macro P[macro] D[macro]
 
16192
    next
 
16193
  } else {
 
16194
    # Replace #undef with comments.  This is necessary, for example,
 
16195
    # in the case of _POSIX_SOURCE, which is predefined and required
 
16196
    # on some systems where configure will not decide to define it.
 
16197
    if (defundef == "undef") {
 
16198
      print "/*", prefix defundef, macro, "*/"
 
16199
      next
 
16200
    }
 
16201
  }
 
16202
}
 
16203
{ print }
 
16204
_ACAWK
 
16205
_ACEOF
 
16206
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16207
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
16208
fi # test -n "$CONFIG_HEADERS"
 
16209
 
 
16210
 
 
16211
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
16212
shift
 
16213
for ac_tag
 
16214
do
 
16215
  case $ac_tag in
 
16216
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
16217
  esac
 
16218
  case $ac_mode$ac_tag in
 
16219
  :[FHL]*:*);;
 
16220
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16221
  :[FH]-) ac_tag=-:-;;
 
16222
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
16223
  esac
 
16224
  ac_save_IFS=$IFS
 
16225
  IFS=:
 
16226
  set x $ac_tag
 
16227
  IFS=$ac_save_IFS
 
16228
  shift
 
16229
  ac_file=$1
 
16230
  shift
 
16231
 
 
16232
  case $ac_mode in
 
16233
  :L) ac_source=$1;;
 
16234
  :[FH])
 
16235
    ac_file_inputs=
 
16236
    for ac_f
 
16237
    do
 
16238
      case $ac_f in
 
16239
      -) ac_f="$ac_tmp/stdin";;
 
16240
      *) # Look for the file first in the build tree, then in the source tree
 
16241
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
16242
         # because $ac_f cannot contain `:'.
 
16243
         test -f "$ac_f" ||
 
16244
           case $ac_f in
 
16245
           [\\/$]*) false;;
 
16246
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
16247
           esac ||
 
16248
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16249
      esac
 
16250
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
16251
      as_fn_append ac_file_inputs " '$ac_f'"
 
16252
    done
 
16253
 
 
16254
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
16255
    # use $as_me), people would be surprised to read:
 
16256
    #    /* config.h.  Generated by config.status.  */
 
16257
    configure_input='Generated from '`
 
16258
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
16259
        `' by configure.'
 
16260
    if test x"$ac_file" != x-; then
 
16261
      configure_input="$ac_file.  $configure_input"
 
16262
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
16263
$as_echo "$as_me: creating $ac_file" >&6;}
 
16264
    fi
 
16265
    # Neutralize special characters interpreted by sed in replacement strings.
 
16266
    case $configure_input in #(
 
16267
    *\&* | *\|* | *\\* )
 
16268
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
16269
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
16270
    *) ac_sed_conf_input=$configure_input;;
 
16271
    esac
 
16272
 
 
16273
    case $ac_tag in
 
16274
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16275
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
16276
    esac
 
16277
    ;;
 
16278
  esac
 
16279
 
 
16280
  ac_dir=`$as_dirname -- "$ac_file" ||
 
16281
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16282
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
16283
         X"$ac_file" : 'X\(//\)$' \| \
 
16284
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
16285
$as_echo X"$ac_file" |
 
16286
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16287
            s//\1/
 
16288
            q
 
16289
          }
 
16290
          /^X\(\/\/\)[^/].*/{
 
16291
            s//\1/
 
16292
            q
 
16293
          }
 
16294
          /^X\(\/\/\)$/{
 
16295
            s//\1/
 
16296
            q
 
16297
          }
 
16298
          /^X\(\/\).*/{
 
16299
            s//\1/
 
16300
            q
 
16301
          }
 
16302
          s/.*/./; q'`
 
16303
  as_dir="$ac_dir"; as_fn_mkdir_p
 
16304
  ac_builddir=.
 
16305
 
 
16306
case "$ac_dir" in
 
16307
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16308
*)
 
16309
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
16310
  # A ".." for each directory in $ac_dir_suffix.
 
16311
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
16312
  case $ac_top_builddir_sub in
 
16313
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16314
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
16315
  esac ;;
 
16316
esac
 
16317
ac_abs_top_builddir=$ac_pwd
 
16318
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
16319
# for backward compatibility:
 
16320
ac_top_builddir=$ac_top_build_prefix
 
16321
 
 
16322
case $srcdir in
 
16323
  .)  # We are building in place.
 
16324
    ac_srcdir=.
 
16325
    ac_top_srcdir=$ac_top_builddir_sub
 
16326
    ac_abs_top_srcdir=$ac_pwd ;;
 
16327
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
16328
    ac_srcdir=$srcdir$ac_dir_suffix;
 
16329
    ac_top_srcdir=$srcdir
 
16330
    ac_abs_top_srcdir=$srcdir ;;
 
16331
  *) # Relative name.
 
16332
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
16333
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
16334
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
16335
esac
 
16336
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
16337
 
 
16338
 
 
16339
  case $ac_mode in
 
16340
  :F)
 
16341
  #
 
16342
  # CONFIG_FILE
 
16343
  #
 
16344
 
 
16345
  case $INSTALL in
 
16346
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
16347
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
16348
  esac
 
16349
  ac_MKDIR_P=$MKDIR_P
 
16350
  case $MKDIR_P in
 
16351
  [\\/$]* | ?:[\\/]* ) ;;
 
16352
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
16353
  esac
 
16354
_ACEOF
 
16355
 
 
16356
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16357
# If the template does not know about datarootdir, expand it.
 
16358
# FIXME: This hack should be removed a few years after 2.60.
 
16359
ac_datarootdir_hack=; ac_datarootdir_seen=
 
16360
ac_sed_dataroot='
 
16361
/datarootdir/ {
 
16362
  p
 
16363
  q
 
16364
}
 
16365
/@datadir@/p
 
16366
/@docdir@/p
 
16367
/@infodir@/p
 
16368
/@localedir@/p
 
16369
/@mandir@/p'
 
16370
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
16371
*datarootdir*) ac_datarootdir_seen=yes;;
 
16372
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
16373
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
16374
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
16375
_ACEOF
 
16376
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16377
  ac_datarootdir_hack='
 
16378
  s&@datadir@&$datadir&g
 
16379
  s&@docdir@&$docdir&g
 
16380
  s&@infodir@&$infodir&g
 
16381
  s&@localedir@&$localedir&g
 
16382
  s&@mandir@&$mandir&g
 
16383
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
16384
esac
 
16385
_ACEOF
 
16386
 
 
16387
# Neutralize VPATH when `$srcdir' = `.'.
 
16388
# Shell code in configure.ac might set extrasub.
 
16389
# FIXME: do we really want to maintain this feature?
 
16390
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16391
ac_sed_extra="$ac_vpsub
 
16392
$extrasub
 
16393
_ACEOF
 
16394
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16395
:t
 
16396
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
16397
s|@configure_input@|$ac_sed_conf_input|;t t
 
16398
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
16399
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
16400
s&@srcdir@&$ac_srcdir&;t t
 
16401
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
16402
s&@top_srcdir@&$ac_top_srcdir&;t t
 
16403
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
16404
s&@builddir@&$ac_builddir&;t t
 
16405
s&@abs_builddir@&$ac_abs_builddir&;t t
 
16406
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
16407
s&@INSTALL@&$ac_INSTALL&;t t
 
16408
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
16409
$ac_datarootdir_hack
 
16410
"
 
16411
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16412
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16413
 
 
16414
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
16415
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16416
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16417
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
16418
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16419
which seems to be undefined.  Please make sure it is defined" >&5
 
16420
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16421
which seems to be undefined.  Please make sure it is defined" >&2;}
 
16422
 
 
16423
  rm -f "$ac_tmp/stdin"
 
16424
  case $ac_file in
 
16425
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16426
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
16427
  esac \
 
16428
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16429
 ;;
 
16430
  :H)
 
16431
  #
 
16432
  # CONFIG_HEADER
 
16433
  #
 
16434
  if test x"$ac_file" != x-; then
 
16435
    {
 
16436
      $as_echo "/* $configure_input  */" \
 
16437
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16438
    } >"$ac_tmp/config.h" \
 
16439
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16440
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
16441
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
16442
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
16443
    else
 
16444
      rm -f "$ac_file"
 
16445
      mv "$ac_tmp/config.h" "$ac_file" \
 
16446
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16447
    fi
 
16448
  else
 
16449
    $as_echo "/* $configure_input  */" \
 
16450
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
16451
      || as_fn_error $? "could not create -" "$LINENO" 5
 
16452
  fi
 
16453
# Compute "$ac_file"'s index in $config_headers.
 
16454
_am_arg="$ac_file"
 
16455
_am_stamp_count=1
 
16456
for _am_header in $config_headers :; do
 
16457
  case $_am_header in
 
16458
    $_am_arg | $_am_arg:* )
 
16459
      break ;;
 
16460
    * )
 
16461
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
16462
  esac
 
16463
done
 
16464
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
16465
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16466
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
16467
         X"$_am_arg" : 'X\(//\)$' \| \
 
16468
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
16469
$as_echo X"$_am_arg" |
 
16470
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16471
            s//\1/
 
16472
            q
 
16473
          }
 
16474
          /^X\(\/\/\)[^/].*/{
 
16475
            s//\1/
 
16476
            q
 
16477
          }
 
16478
          /^X\(\/\/\)$/{
 
16479
            s//\1/
 
16480
            q
 
16481
          }
 
16482
          /^X\(\/\).*/{
 
16483
            s//\1/
 
16484
            q
 
16485
          }
 
16486
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
16487
 ;;
 
16488
 
 
16489
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
16490
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
16491
 ;;
 
16492
  esac
 
16493
 
 
16494
 
 
16495
  case $ac_file$ac_mode in
 
16496
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
16497
  # Older Autoconf quotes --file arguments for eval, but not when files
 
16498
  # are listed without --file.  Let's play safe and only enable the eval
 
16499
  # if we detect the quoting.
 
16500
  case $CONFIG_FILES in
 
16501
  *\'*) eval set x "$CONFIG_FILES" ;;
 
16502
  *)   set x $CONFIG_FILES ;;
 
16503
  esac
 
16504
  shift
 
16505
  for mf
 
16506
  do
 
16507
    # Strip MF so we end up with the name of the file.
 
16508
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
16509
    # Check whether this is an Automake generated Makefile or not.
 
16510
    # We used to match only the files named 'Makefile.in', but
 
16511
    # some people rename them; so instead we look at the file content.
 
16512
    # Grep'ing the first line is not enough: some people post-process
 
16513
    # each Makefile.in and add a new line on top of each file to say so.
 
16514
    # Grep'ing the whole file is not good either: AIX grep has a line
 
16515
    # limit of 2048, but all sed's we know have understand at least 4000.
 
16516
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
16517
      dirpart=`$as_dirname -- "$mf" ||
 
16518
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16519
         X"$mf" : 'X\(//\)[^/]' \| \
 
16520
         X"$mf" : 'X\(//\)$' \| \
 
16521
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
16522
$as_echo X"$mf" |
 
16523
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16524
            s//\1/
 
16525
            q
 
16526
          }
 
16527
          /^X\(\/\/\)[^/].*/{
 
16528
            s//\1/
 
16529
            q
 
16530
          }
 
16531
          /^X\(\/\/\)$/{
 
16532
            s//\1/
 
16533
            q
 
16534
          }
 
16535
          /^X\(\/\).*/{
 
16536
            s//\1/
 
16537
            q
 
16538
          }
 
16539
          s/.*/./; q'`
 
16540
    else
 
16541
      continue
 
16542
    fi
 
16543
    # Extract the definition of DEPDIR, am__include, and am__quote
 
16544
    # from the Makefile without running 'make'.
 
16545
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
16546
    test -z "$DEPDIR" && continue
 
16547
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
16548
    test -z "am__include" && continue
 
16549
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
16550
    # Find all dependency output files, they are included files with
 
16551
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
16552
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
16553
    # expansion.
 
16554
    for file in `sed -n "
 
16555
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
16556
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 
16557
      # Make sure the directory exists.
 
16558
      test -f "$dirpart/$file" && continue
 
16559
      fdir=`$as_dirname -- "$file" ||
 
16560
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16561
         X"$file" : 'X\(//\)[^/]' \| \
 
16562
         X"$file" : 'X\(//\)$' \| \
 
16563
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
16564
$as_echo X"$file" |
 
16565
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16566
            s//\1/
 
16567
            q
 
16568
          }
 
16569
          /^X\(\/\/\)[^/].*/{
 
16570
            s//\1/
 
16571
            q
 
16572
          }
 
16573
          /^X\(\/\/\)$/{
 
16574
            s//\1/
 
16575
            q
 
16576
          }
 
16577
          /^X\(\/\).*/{
 
16578
            s//\1/
 
16579
            q
 
16580
          }
 
16581
          s/.*/./; q'`
 
16582
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
16583
      # echo "creating $dirpart/$file"
 
16584
      echo '# dummy' > "$dirpart/$file"
 
16585
    done
 
16586
  done
 
16587
}
 
16588
 ;;
 
16589
    "libtool":C)
 
16590
 
 
16591
    # See if we are running on zsh, and set the options which allow our
 
16592
    # commands through without removal of \ escapes.
 
16593
    if test -n "${ZSH_VERSION+set}" ; then
 
16594
      setopt NO_GLOB_SUBST
 
16595
    fi
 
16596
 
 
16597
    cfgfile="${ofile}T"
 
16598
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
16599
    $RM "$cfgfile"
 
16600
 
 
16601
    cat <<_LT_EOF >> "$cfgfile"
 
16602
#! $SHELL
 
16603
 
 
16604
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
16605
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
16606
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16607
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
16608
#
 
16609
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
16610
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
16611
#                 Foundation, Inc.
 
16612
#   Written by Gordon Matzigkeit, 1996
 
16613
#
 
16614
#   This file is part of GNU Libtool.
 
16615
#
 
16616
# GNU Libtool is free software; you can redistribute it and/or
 
16617
# modify it under the terms of the GNU General Public License as
 
16618
# published by the Free Software Foundation; either version 2 of
 
16619
# the License, or (at your option) any later version.
 
16620
#
 
16621
# As a special exception to the GNU General Public License,
 
16622
# if you distribute this file as part of a program or library that
 
16623
# is built using GNU Libtool, you may include this file under the
 
16624
# same distribution terms that you use for the rest of that program.
 
16625
#
 
16626
# GNU Libtool is distributed in the hope that it will be useful,
 
16627
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16628
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16629
# GNU General Public License for more details.
 
16630
#
 
16631
# You should have received a copy of the GNU General Public License
 
16632
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
16633
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
16634
# obtained by writing to the Free Software Foundation, Inc.,
 
16635
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
16636
 
 
16637
 
 
16638
# The names of the tagged configurations supported by this script.
 
16639
available_tags=""
 
16640
 
 
16641
# ### BEGIN LIBTOOL CONFIG
 
16642
 
 
16643
# Which release of libtool.m4 was used?
 
16644
macro_version=$macro_version
 
16645
macro_revision=$macro_revision
 
16646
 
 
16647
# Whether or not to build static libraries.
 
16648
build_old_libs=$enable_static
 
16649
 
 
16650
# Whether or not to build shared libraries.
 
16651
build_libtool_libs=$enable_shared
 
16652
 
 
16653
# What type of objects to build.
 
16654
pic_mode=$pic_mode
 
16655
 
 
16656
# Whether or not to optimize for fast installation.
 
16657
fast_install=$enable_fast_install
 
16658
 
 
16659
# Shell to use when invoking shell scripts.
 
16660
SHELL=$lt_SHELL
 
16661
 
 
16662
# An echo program that protects backslashes.
 
16663
ECHO=$lt_ECHO
 
16664
 
 
16665
# The PATH separator for the build system.
 
16666
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
16667
 
 
16668
# The host system.
 
16669
host_alias=$host_alias
 
16670
host=$host
 
16671
host_os=$host_os
 
16672
 
 
16673
# The build system.
 
16674
build_alias=$build_alias
 
16675
build=$build
 
16676
build_os=$build_os
 
16677
 
 
16678
# A sed program that does not truncate output.
 
16679
SED=$lt_SED
 
16680
 
 
16681
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
16682
Xsed="\$SED -e 1s/^X//"
 
16683
 
 
16684
# A grep program that handles long lines.
 
16685
GREP=$lt_GREP
 
16686
 
 
16687
# An ERE matcher.
 
16688
EGREP=$lt_EGREP
 
16689
 
 
16690
# A literal string matcher.
 
16691
FGREP=$lt_FGREP
 
16692
 
 
16693
# A BSD- or MS-compatible name lister.
 
16694
NM=$lt_NM
 
16695
 
 
16696
# Whether we need soft or hard links.
 
16697
LN_S=$lt_LN_S
 
16698
 
 
16699
# What is the maximum length of a command?
 
16700
max_cmd_len=$max_cmd_len
 
16701
 
 
16702
# Object file suffix (normally "o").
 
16703
objext=$ac_objext
 
16704
 
 
16705
# Executable file suffix (normally "").
 
16706
exeext=$exeext
 
16707
 
 
16708
# whether the shell understands "unset".
 
16709
lt_unset=$lt_unset
 
16710
 
 
16711
# turn spaces into newlines.
 
16712
SP2NL=$lt_lt_SP2NL
 
16713
 
 
16714
# turn newlines into spaces.
 
16715
NL2SP=$lt_lt_NL2SP
 
16716
 
 
16717
# convert \$build file names to \$host format.
 
16718
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16719
 
 
16720
# convert \$build files to toolchain format.
 
16721
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
16722
 
 
16723
# An object symbol dumper.
 
16724
OBJDUMP=$lt_OBJDUMP
 
16725
 
 
16726
# Method to check whether dependent libraries are shared objects.
 
16727
deplibs_check_method=$lt_deplibs_check_method
 
16728
 
 
16729
# Command to use when deplibs_check_method = "file_magic".
 
16730
file_magic_cmd=$lt_file_magic_cmd
 
16731
 
 
16732
# How to find potential files when deplibs_check_method = "file_magic".
 
16733
file_magic_glob=$lt_file_magic_glob
 
16734
 
 
16735
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16736
want_nocaseglob=$lt_want_nocaseglob
 
16737
 
 
16738
# DLL creation program.
 
16739
DLLTOOL=$lt_DLLTOOL
 
16740
 
 
16741
# Command to associate shared and link libraries.
 
16742
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16743
 
 
16744
# The archiver.
 
16745
AR=$lt_AR
 
16746
 
 
16747
# Flags to create an archive.
 
16748
AR_FLAGS=$lt_AR_FLAGS
 
16749
 
 
16750
# How to feed a file listing to the archiver.
 
16751
archiver_list_spec=$lt_archiver_list_spec
 
16752
 
 
16753
# A symbol stripping program.
 
16754
STRIP=$lt_STRIP
 
16755
 
 
16756
# Commands used to install an old-style archive.
 
16757
RANLIB=$lt_RANLIB
 
16758
old_postinstall_cmds=$lt_old_postinstall_cmds
 
16759
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
16760
 
 
16761
# Whether to use a lock for old archive extraction.
 
16762
lock_old_archive_extraction=$lock_old_archive_extraction
 
16763
 
 
16764
# A C compiler.
 
16765
LTCC=$lt_CC
 
16766
 
 
16767
# LTCC compiler flags.
 
16768
LTCFLAGS=$lt_CFLAGS
 
16769
 
 
16770
# Take the output of nm and produce a listing of raw symbols and C names.
 
16771
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
16772
 
 
16773
# Transform the output of nm in a proper C declaration.
 
16774
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
16775
 
 
16776
# Transform the output of nm in a C name address pair.
 
16777
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
16778
 
 
16779
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
16780
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
16781
 
 
16782
# Specify filename containing input files for \$NM.
 
16783
nm_file_list_spec=$lt_nm_file_list_spec
 
16784
 
 
16785
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16786
lt_sysroot=$lt_sysroot
 
16787
 
 
16788
# The name of the directory that contains temporary libtool files.
 
16789
objdir=$objdir
 
16790
 
 
16791
# Used to examine libraries when file_magic_cmd begins with "file".
 
16792
MAGIC_CMD=$MAGIC_CMD
 
16793
 
 
16794
# Must we lock files when doing compilation?
 
16795
need_locks=$lt_need_locks
 
16796
 
 
16797
# Manifest tool.
 
16798
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16799
 
 
16800
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
16801
DSYMUTIL=$lt_DSYMUTIL
 
16802
 
 
16803
# Tool to change global to local symbols on Mac OS X.
 
16804
NMEDIT=$lt_NMEDIT
 
16805
 
 
16806
# Tool to manipulate fat objects and archives on Mac OS X.
 
16807
LIPO=$lt_LIPO
 
16808
 
 
16809
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
16810
OTOOL=$lt_OTOOL
 
16811
 
 
16812
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
16813
OTOOL64=$lt_OTOOL64
 
16814
 
 
16815
# Old archive suffix (normally "a").
 
16816
libext=$libext
 
16817
 
 
16818
# Shared library suffix (normally ".so").
 
16819
shrext_cmds=$lt_shrext_cmds
 
16820
 
 
16821
# The commands to extract the exported symbol list from a shared archive.
 
16822
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
16823
 
 
16824
# Variables whose values should be saved in libtool wrapper scripts and
 
16825
# restored at link time.
 
16826
variables_saved_for_relink=$lt_variables_saved_for_relink
 
16827
 
 
16828
# Do we need the "lib" prefix for modules?
 
16829
need_lib_prefix=$need_lib_prefix
 
16830
 
 
16831
# Do we need a version for libraries?
 
16832
need_version=$need_version
 
16833
 
 
16834
# Library versioning type.
 
16835
version_type=$version_type
 
16836
 
 
16837
# Shared library runtime path variable.
 
16838
runpath_var=$runpath_var
 
16839
 
 
16840
# Shared library path variable.
 
16841
shlibpath_var=$shlibpath_var
 
16842
 
 
16843
# Is shlibpath searched before the hard-coded library search path?
 
16844
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
16845
 
 
16846
# Format of library name prefix.
 
16847
libname_spec=$lt_libname_spec
 
16848
 
 
16849
# List of archive names.  First name is the real one, the rest are links.
 
16850
# The last name is the one that the linker finds with -lNAME
 
16851
library_names_spec=$lt_library_names_spec
 
16852
 
 
16853
# The coded name of the library, if different from the real name.
 
16854
soname_spec=$lt_soname_spec
 
16855
 
 
16856
# Permission mode override for installation of shared libraries.
 
16857
install_override_mode=$lt_install_override_mode
 
16858
 
 
16859
# Command to use after installation of a shared archive.
 
16860
postinstall_cmds=$lt_postinstall_cmds
 
16861
 
 
16862
# Command to use after uninstallation of a shared archive.
 
16863
postuninstall_cmds=$lt_postuninstall_cmds
 
16864
 
 
16865
# Commands used to finish a libtool library installation in a directory.
 
16866
finish_cmds=$lt_finish_cmds
 
16867
 
 
16868
# As "finish_cmds", except a single script fragment to be evaled but
 
16869
# not shown.
 
16870
finish_eval=$lt_finish_eval
 
16871
 
 
16872
# Whether we should hardcode library paths into libraries.
 
16873
hardcode_into_libs=$hardcode_into_libs
 
16874
 
 
16875
# Compile-time system search path for libraries.
 
16876
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
16877
 
 
16878
# Run-time system search path for libraries.
 
16879
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
16880
 
 
16881
# Whether dlopen is supported.
 
16882
dlopen_support=$enable_dlopen
 
16883
 
 
16884
# Whether dlopen of programs is supported.
 
16885
dlopen_self=$enable_dlopen_self
 
16886
 
 
16887
# Whether dlopen of statically linked programs is supported.
 
16888
dlopen_self_static=$enable_dlopen_self_static
 
16889
 
 
16890
# Commands to strip libraries.
 
16891
old_striplib=$lt_old_striplib
 
16892
striplib=$lt_striplib
 
16893
 
 
16894
 
 
16895
# The linker used to build libraries.
 
16896
LD=$lt_LD
 
16897
 
 
16898
# How to create reloadable object files.
 
16899
reload_flag=$lt_reload_flag
 
16900
reload_cmds=$lt_reload_cmds
 
16901
 
 
16902
# Commands used to build an old-style archive.
 
16903
old_archive_cmds=$lt_old_archive_cmds
 
16904
 
 
16905
# A language specific compiler.
 
16906
CC=$lt_compiler
 
16907
 
 
16908
# Is the compiler the GNU compiler?
 
16909
with_gcc=$GCC
 
16910
 
 
16911
# Compiler flag to turn off builtin functions.
 
16912
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
16913
 
 
16914
# Additional compiler flags for building library objects.
 
16915
pic_flag=$lt_lt_prog_compiler_pic
 
16916
 
 
16917
# How to pass a linker flag through the compiler.
 
16918
wl=$lt_lt_prog_compiler_wl
 
16919
 
 
16920
# Compiler flag to prevent dynamic linking.
 
16921
link_static_flag=$lt_lt_prog_compiler_static
 
16922
 
 
16923
# Does compiler simultaneously support -c and -o options?
 
16924
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
16925
 
 
16926
# Whether or not to add -lc for building shared libraries.
 
16927
build_libtool_need_lc=$archive_cmds_need_lc
 
16928
 
 
16929
# Whether or not to disallow shared libs when runtime libs are static.
 
16930
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
16931
 
 
16932
# Compiler flag to allow reflexive dlopens.
 
16933
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
16934
 
 
16935
# Compiler flag to generate shared objects directly from archives.
 
16936
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
16937
 
 
16938
# Whether the compiler copes with passing no objects directly.
 
16939
compiler_needs_object=$lt_compiler_needs_object
 
16940
 
 
16941
# Create an old-style archive from a shared archive.
 
16942
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
16943
 
 
16944
# Create a temporary old-style archive to link instead of a shared archive.
 
16945
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
16946
 
 
16947
# Commands used to build a shared archive.
 
16948
archive_cmds=$lt_archive_cmds
 
16949
archive_expsym_cmds=$lt_archive_expsym_cmds
 
16950
 
 
16951
# Commands used to build a loadable module if different from building
 
16952
# a shared archive.
 
16953
module_cmds=$lt_module_cmds
 
16954
module_expsym_cmds=$lt_module_expsym_cmds
 
16955
 
 
16956
# Whether we are building with GNU ld or not.
 
16957
with_gnu_ld=$lt_with_gnu_ld
 
16958
 
 
16959
# Flag that allows shared libraries with undefined symbols to be built.
 
16960
allow_undefined_flag=$lt_allow_undefined_flag
 
16961
 
 
16962
# Flag that enforces no undefined symbols.
 
16963
no_undefined_flag=$lt_no_undefined_flag
 
16964
 
 
16965
# Flag to hardcode \$libdir into a binary during linking.
 
16966
# This must work even if \$libdir does not exist
 
16967
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
16968
 
 
16969
# Whether we need a single "-rpath" flag with a separated argument.
 
16970
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
16971
 
 
16972
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16973
# DIR into the resulting binary.
 
16974
hardcode_direct=$hardcode_direct
 
16975
 
 
16976
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16977
# DIR into the resulting binary and the resulting library dependency is
 
16978
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
16979
# library is relocated.
 
16980
hardcode_direct_absolute=$hardcode_direct_absolute
 
16981
 
 
16982
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
16983
# into the resulting binary.
 
16984
hardcode_minus_L=$hardcode_minus_L
 
16985
 
 
16986
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
16987
# into the resulting binary.
 
16988
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
16989
 
 
16990
# Set to "yes" if building a shared library automatically hardcodes DIR
 
16991
# into the library and all subsequent libraries and executables linked
 
16992
# against it.
 
16993
hardcode_automatic=$hardcode_automatic
 
16994
 
 
16995
# Set to yes if linker adds runtime paths of dependent libraries
 
16996
# to runtime path list.
 
16997
inherit_rpath=$inherit_rpath
 
16998
 
 
16999
# Whether libtool must link a program against all its dependency libraries.
 
17000
link_all_deplibs=$link_all_deplibs
 
17001
 
 
17002
# Set to "yes" if exported symbols are required.
 
17003
always_export_symbols=$always_export_symbols
 
17004
 
 
17005
# The commands to list exported symbols.
 
17006
export_symbols_cmds=$lt_export_symbols_cmds
 
17007
 
 
17008
# Symbols that should not be listed in the preloaded symbols.
 
17009
exclude_expsyms=$lt_exclude_expsyms
 
17010
 
 
17011
# Symbols that must always be exported.
 
17012
include_expsyms=$lt_include_expsyms
 
17013
 
 
17014
# Commands necessary for linking programs (against libraries) with templates.
 
17015
prelink_cmds=$lt_prelink_cmds
 
17016
 
 
17017
# Commands necessary for finishing linking programs.
 
17018
postlink_cmds=$lt_postlink_cmds
 
17019
 
 
17020
# Specify filename containing input files.
 
17021
file_list_spec=$lt_file_list_spec
 
17022
 
 
17023
# How to hardcode a shared library path into an executable.
 
17024
hardcode_action=$hardcode_action
 
17025
 
 
17026
# ### END LIBTOOL CONFIG
 
17027
 
 
17028
_LT_EOF
 
17029
 
 
17030
  case $host_os in
 
17031
  aix3*)
 
17032
    cat <<\_LT_EOF >> "$cfgfile"
 
17033
# AIX sometimes has problems with the GCC collect2 program.  For some
 
17034
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17035
# vanish in a puff of smoke.
 
17036
if test "X${COLLECT_NAMES+set}" != Xset; then
 
17037
  COLLECT_NAMES=
 
17038
  export COLLECT_NAMES
 
17039
fi
 
17040
_LT_EOF
 
17041
    ;;
 
17042
  esac
 
17043
 
 
17044
 
 
17045
ltmain="$ac_aux_dir/ltmain.sh"
 
17046
 
 
17047
 
 
17048
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17049
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17050
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17051
  # is reportedly fixed, but why not run on old versions too?
 
17052
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17053
     || (rm -f "$cfgfile"; exit 1)
 
17054
 
 
17055
  if test x"$xsi_shell" = xyes; then
 
17056
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17057
func_dirname ()\
 
17058
{\
 
17059
\    case ${1} in\
 
17060
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17061
\      *  ) func_dirname_result="${3}" ;;\
 
17062
\    esac\
 
17063
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17064
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17065
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17066
test 0 -eq $? || _lt_function_replace_fail=:
 
17067
 
 
17068
 
 
17069
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17070
func_basename ()\
 
17071
{\
 
17072
\    func_basename_result="${1##*/}"\
 
17073
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17074
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17075
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17076
test 0 -eq $? || _lt_function_replace_fail=:
 
17077
 
 
17078
 
 
17079
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17080
func_dirname_and_basename ()\
 
17081
{\
 
17082
\    case ${1} in\
 
17083
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17084
\      *  ) func_dirname_result="${3}" ;;\
 
17085
\    esac\
 
17086
\    func_basename_result="${1##*/}"\
 
17087
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17088
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17089
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17090
test 0 -eq $? || _lt_function_replace_fail=:
 
17091
 
 
17092
 
 
17093
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17094
func_stripname ()\
 
17095
{\
 
17096
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17097
\    # positional parameters, so assign one to ordinary parameter first.\
 
17098
\    func_stripname_result=${3}\
 
17099
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17100
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17101
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17102
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17103
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17104
test 0 -eq $? || _lt_function_replace_fail=:
 
17105
 
 
17106
 
 
17107
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17108
func_split_long_opt ()\
 
17109
{\
 
17110
\    func_split_long_opt_name=${1%%=*}\
 
17111
\    func_split_long_opt_arg=${1#*=}\
 
17112
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17113
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17114
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17115
test 0 -eq $? || _lt_function_replace_fail=:
 
17116
 
 
17117
 
 
17118
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17119
func_split_short_opt ()\
 
17120
{\
 
17121
\    func_split_short_opt_arg=${1#??}\
 
17122
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17123
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17124
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17125
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17126
test 0 -eq $? || _lt_function_replace_fail=:
 
17127
 
 
17128
 
 
17129
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17130
func_lo2o ()\
 
17131
{\
 
17132
\    case ${1} in\
 
17133
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17134
\      *)    func_lo2o_result=${1} ;;\
 
17135
\    esac\
 
17136
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17137
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17138
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17139
test 0 -eq $? || _lt_function_replace_fail=:
 
17140
 
 
17141
 
 
17142
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17143
func_xform ()\
 
17144
{\
 
17145
    func_xform_result=${1%.*}.lo\
 
17146
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17147
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17148
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17149
test 0 -eq $? || _lt_function_replace_fail=:
 
17150
 
 
17151
 
 
17152
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17153
func_arith ()\
 
17154
{\
 
17155
    func_arith_result=$(( $* ))\
 
17156
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17157
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17158
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17159
test 0 -eq $? || _lt_function_replace_fail=:
 
17160
 
 
17161
 
 
17162
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17163
func_len ()\
 
17164
{\
 
17165
    func_len_result=${#1}\
 
17166
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17167
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17168
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17169
test 0 -eq $? || _lt_function_replace_fail=:
 
17170
 
 
17171
fi
 
17172
 
 
17173
if test x"$lt_shell_append" = xyes; then
 
17174
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17175
func_append ()\
 
17176
{\
 
17177
    eval "${1}+=\\${2}"\
 
17178
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17179
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17180
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17181
test 0 -eq $? || _lt_function_replace_fail=:
 
17182
 
 
17183
 
 
17184
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17185
func_append_quoted ()\
 
17186
{\
 
17187
\    func_quote_for_eval "${2}"\
 
17188
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17189
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17190
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17191
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17192
test 0 -eq $? || _lt_function_replace_fail=:
 
17193
 
 
17194
 
 
17195
  # Save a `func_append' function call where possible by direct use of '+='
 
17196
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17197
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17198
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17199
  test 0 -eq $? || _lt_function_replace_fail=:
 
17200
else
 
17201
  # Save a `func_append' function call even when '+=' is not available
 
17202
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17203
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17204
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17205
  test 0 -eq $? || _lt_function_replace_fail=:
 
17206
fi
 
17207
 
 
17208
if test x"$_lt_function_replace_fail" = x":"; then
 
17209
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17210
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17211
fi
 
17212
 
 
17213
 
 
17214
   mv -f "$cfgfile" "$ofile" ||
 
17215
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17216
  chmod +x "$ofile"
 
17217
 
 
17218
 ;;
 
17219
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
17220
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
17221
      esac ;;
 
17222
    "po/stamp-it":C)
 
17223
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
17224
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
17225
    fi
 
17226
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
17227
    >"po/stamp-it.tmp"
 
17228
    sed '/^#/d
 
17229
         s/^[[].*] *//
 
17230
         /^[    ]*$/d
 
17231
        '"s|^|  $ac_top_srcdir/|" \
 
17232
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
17233
 
 
17234
    sed '/^POTFILES =/,/[^\\]$/ {
 
17235
                /^POTFILES =/!d
 
17236
                r po/POTFILES
 
17237
          }
 
17238
         ' "po/Makefile.in" >"po/Makefile"
 
17239
    rm -f "po/Makefile.tmp"
 
17240
    mv "po/stamp-it.tmp" "po/stamp-it"
 
17241
   ;;
 
17242
 
 
17243
  esac
 
17244
done # for ac_tag
 
17245
 
 
17246
 
 
17247
as_fn_exit 0
 
17248
_ACEOF
 
17249
ac_clean_files=$ac_clean_files_save
 
17250
 
 
17251
test $ac_write_fail = 0 ||
 
17252
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17253
 
 
17254
 
 
17255
# configure is writing to config.log, and then calls config.status.
 
17256
# config.status does its own redirection, appending to config.log.
 
17257
# Unfortunately, on DOS this fails, as config.log is still kept open
 
17258
# by configure, so config.status won't be able to write to it; its
 
17259
# output is simply discarded.  So we exec the FD to /dev/null,
 
17260
# effectively closing config.log, so it can be properly (re)opened and
 
17261
# appended to by config.status.  When coming back to configure, we
 
17262
# need to make the FD available again.
 
17263
if test "$no_create" != yes; then
 
17264
  ac_cs_success=:
 
17265
  ac_config_status_args=
 
17266
  test "$silent" = yes &&
 
17267
    ac_config_status_args="$ac_config_status_args --quiet"
 
17268
  exec 5>/dev/null
 
17269
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
17270
  exec 5>>config.log
 
17271
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
17272
  # would make configure fail if this is the last instruction.
 
17273
  $ac_cs_success || as_fn_exit 1
 
17274
fi
 
17275
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
17276
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
17277
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
17278
fi
 
17279
 
 
17280
 
 
17281
echo
 
17282
echo "Build Configuration:"
 
17283
echo
 
17284
echo "* Debug Support:  $enable_debug"
 
17285
echo "* GNU Visibility: $have_gnuc_visibility"
 
17286
echo