~ubuntu-branches/ubuntu/vivid/indicator-appmenu/vivid-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Automatic PS uploader, Mathieu Trudel-Lapierre, Didier Roche, Automatic PS uploader
  • Date: 2012-11-23 07:39:58 UTC
  • mfrom: (1.1.35)
  • Revision ID: package-import@ubuntu.com-20121123073958-rr5gz4chpdjfmafa
Tags: 12.10.4daily12.11.23-0ubuntu1
[ Mathieu Trudel-Lapierre ]
* debian/control:
  - Reorganize Build-Depends for clarity.
  - Adjust style to be consistent with other indicator packages.
  - Drop Build-Depends on cdbs.
  - Bump debhelper Build-Depends to (>= 9). 
  - Add gnome-common to Build-Depends.
  - Update Vcs-Bzr, Vcs-Browser and add notice to uploaders.
  - Add gtk-doc-tools to Build-Depends.
* debian/compat: bump compat level to 9.
* debian/rules:
  - Convert to using the dh sequencer.
  - Make sure the build fails if there are files not listed in install files
    when building the packages.
  - Override dh_autoreconf to call autogen.sh and not run configure.
  - Temporarily disable tests due to missing dependencies.
* debian/indicator-appmenu.install,
  debian/indicator-appmenu-tools.install: update paths to install private
  binaries to the /usr/lib/<triplet> paths.

[ Didier Roche ]
* Automatic snapshot from revision 219 (bootstrap):
  - Adds childless menu support to the Unity menu panel. (LP: #773101)
  - add pot template
* Unity global menu bar hides childless menu items (LP: #773101)

[ Automatic PS uploader ]
* Automatic snapshot from revision 221

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for indicator-appmenu 12.10.3.
4
 
#
5
 
# Report bugs to <http://bugs.launchpad.net/indicator-appmenu>.
6
 
#
7
 
#
8
 
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
 
#
10
 
#
11
 
# This configure script is free software; the Free Software Foundation
12
 
# gives unlimited permission to copy, distribute and modify it.
13
 
#
14
 
# Copyright 2010 Canonical
15
 
## -------------------- ##
16
 
## M4sh Initialization. ##
17
 
## -------------------- ##
18
 
 
19
 
# Be more Bourne compatible
20
 
DUALCASE=1; export DUALCASE # for MKS sh
21
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
 
  emulate sh
23
 
  NULLCMD=:
24
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
 
  # is contrary to our usage.  Disable this feature.
26
 
  alias -g '${1+"$@"}'='"$@"'
27
 
  setopt NO_GLOB_SUBST
28
 
else
29
 
  case `(set -o) 2>/dev/null` in #(
30
 
  *posix*) :
31
 
    set -o posix ;; #(
32
 
  *) :
33
 
     ;;
34
 
esac
35
 
fi
36
 
 
37
 
 
38
 
as_nl='
39
 
'
40
 
export as_nl
41
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
 
# but without wasting forks for bash or zsh.
47
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
 
  as_echo='print -r --'
50
 
  as_echo_n='print -rn --'
51
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
 
  as_echo='printf %s\n'
53
 
  as_echo_n='printf %s'
54
 
else
55
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
 
    as_echo_n='/usr/ucb/echo -n'
58
 
  else
59
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
 
    as_echo_n_body='eval
61
 
      arg=$1;
62
 
      case $arg in #(
63
 
      *"$as_nl"*)
64
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
 
      esac;
67
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
 
    '
69
 
    export as_echo_n_body
70
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
 
  fi
72
 
  export as_echo_body
73
 
  as_echo='sh -c $as_echo_body as_echo'
74
 
fi
75
 
 
76
 
# The user is always right.
77
 
if test "${PATH_SEPARATOR+set}" != set; then
78
 
  PATH_SEPARATOR=:
79
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
 
      PATH_SEPARATOR=';'
82
 
  }
83
 
fi
84
 
 
85
 
 
86
 
# IFS
87
 
# We need space, tab and new line, in precisely that order.  Quoting is
88
 
# there to prevent editors from complaining about space-tab.
89
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
 
# splitting by setting IFS to empty value.)
91
 
IFS=" ""        $as_nl"
92
 
 
93
 
# Find who we are.  Look in the path if we contain no directory separator.
94
 
as_myself=
95
 
case $0 in #((
96
 
  *[\\/]* ) as_myself=$0 ;;
97
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
 
for as_dir in $PATH
99
 
do
100
 
  IFS=$as_save_IFS
101
 
  test -z "$as_dir" && as_dir=.
102
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
 
  done
104
 
IFS=$as_save_IFS
105
 
 
106
 
     ;;
107
 
esac
108
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
 
# in which case we are not to be found in the path.
110
 
if test "x$as_myself" = x; then
111
 
  as_myself=$0
112
 
fi
113
 
if test ! -f "$as_myself"; then
114
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
 
  exit 1
116
 
fi
117
 
 
118
 
# Unset variables that we do not need and which cause bugs (e.g. in
119
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120
 
# suppresses any "Segmentation fault" message there.  '((' could
121
 
# trigger a bug in pdksh 5.2.14.
122
 
for as_var in BASH_ENV ENV MAIL MAILPATH
123
 
do eval test x\${$as_var+set} = xset \
124
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
 
done
126
 
PS1='$ '
127
 
PS2='> '
128
 
PS4='+ '
129
 
 
130
 
# NLS nuisances.
131
 
LC_ALL=C
132
 
export LC_ALL
133
 
LANGUAGE=C
134
 
export LANGUAGE
135
 
 
136
 
# CDPATH.
137
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
 
 
139
 
# Use a proper internal environment variable to ensure we don't fall
140
 
  # into an infinite loop, continuously re-executing ourselves.
141
 
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142
 
    _as_can_reexec=no; export _as_can_reexec;
143
 
    # We cannot yet assume a decent shell, so we have to provide a
144
 
# neutralization value for shells without unset; and this also
145
 
# works around shells that cannot unset nonexistent variables.
146
 
# Preserve -v and -x to the replacement shell.
147
 
BASH_ENV=/dev/null
148
 
ENV=/dev/null
149
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150
 
case $- in # ((((
151
 
  *v*x* | *x*v* ) as_opts=-vx ;;
152
 
  *v* ) as_opts=-v ;;
153
 
  *x* ) as_opts=-x ;;
154
 
  * ) as_opts= ;;
155
 
esac
156
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157
 
# Admittedly, this is quite paranoid, since all the known shells bail
158
 
# out after a failed `exec'.
159
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
 
as_fn_exit 255
161
 
  fi
162
 
  # We don't want this to propagate to other subprocesses.
163
 
          { _as_can_reexec=; unset _as_can_reexec;}
164
 
if test "x$CONFIG_SHELL" = x; then
165
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
 
  emulate sh
167
 
  NULLCMD=:
168
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169
 
  # is contrary to our usage.  Disable this feature.
170
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
 
  setopt NO_GLOB_SUBST
172
 
else
173
 
  case \`(set -o) 2>/dev/null\` in #(
174
 
  *posix*) :
175
 
    set -o posix ;; #(
176
 
  *) :
177
 
     ;;
178
 
esac
179
 
fi
180
 
"
181
 
  as_required="as_fn_return () { (exit \$1); }
182
 
as_fn_success () { as_fn_return 0; }
183
 
as_fn_failure () { as_fn_return 1; }
184
 
as_fn_ret_success () { return 0; }
185
 
as_fn_ret_failure () { return 1; }
186
 
 
187
 
exitcode=0
188
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
 
 
194
 
else
195
 
  exitcode=1; echo positional parameters were not saved.
196
 
fi
197
 
test x\$exitcode = x0 || exit 1
198
 
test -x / || exit 1"
199
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203
 
 
204
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208
 
    PATH=/empty FPATH=/empty; export PATH FPATH
209
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211
 
test \$(( 1 + 1 )) = 2 || exit 1"
212
 
  if (eval "$as_required") 2>/dev/null; then :
213
 
  as_have_required=yes
214
 
else
215
 
  as_have_required=no
216
 
fi
217
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
 
 
219
 
else
220
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221
 
as_found=false
222
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
 
do
224
 
  IFS=$as_save_IFS
225
 
  test -z "$as_dir" && as_dir=.
226
 
  as_found=:
227
 
  case $as_dir in #(
228
 
         /*)
229
 
           for as_base in sh bash ksh sh5; do
230
 
             # Try only shells that exist, to save several forks.
231
 
             as_shell=$as_dir/$as_base
232
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234
 
  CONFIG_SHELL=$as_shell as_have_required=yes
235
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
236
 
  break 2
237
 
fi
238
 
fi
239
 
           done;;
240
 
       esac
241
 
  as_found=false
242
 
done
243
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245
 
  CONFIG_SHELL=$SHELL as_have_required=yes
246
 
fi; }
247
 
IFS=$as_save_IFS
248
 
 
249
 
 
250
 
      if test "x$CONFIG_SHELL" != x; then :
251
 
  export CONFIG_SHELL
252
 
             # We cannot yet assume a decent shell, so we have to provide a
253
 
# neutralization value for shells without unset; and this also
254
 
# works around shells that cannot unset nonexistent variables.
255
 
# Preserve -v and -x to the replacement shell.
256
 
BASH_ENV=/dev/null
257
 
ENV=/dev/null
258
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
259
 
case $- in # ((((
260
 
  *v*x* | *x*v* ) as_opts=-vx ;;
261
 
  *v* ) as_opts=-v ;;
262
 
  *x* ) as_opts=-x ;;
263
 
  * ) as_opts= ;;
264
 
esac
265
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266
 
# Admittedly, this is quite paranoid, since all the known shells bail
267
 
# out after a failed `exec'.
268
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269
 
exit 255
270
 
fi
271
 
 
272
 
    if test x$as_have_required = xno; then :
273
 
  $as_echo "$0: This script requires a shell more modern than all"
274
 
  $as_echo "$0: the shells that I found on your system."
275
 
  if test x${ZSH_VERSION+set} = xset ; then
276
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278
 
  else
279
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
280
 
$0: http://bugs.launchpad.net/indicator-appmenu about your
281
 
$0: system, including any error possibly output before this
282
 
$0: message. Then install a modern shell, or manually run
283
 
$0: the script under such a shell if you do have one."
284
 
  fi
285
 
  exit 1
286
 
fi
287
 
fi
288
 
fi
289
 
SHELL=${CONFIG_SHELL-/bin/sh}
290
 
export SHELL
291
 
# Unset more variables known to interfere with behavior of common tools.
292
 
CLICOLOR_FORCE= GREP_OPTIONS=
293
 
unset CLICOLOR_FORCE GREP_OPTIONS
294
 
 
295
 
## --------------------- ##
296
 
## M4sh Shell Functions. ##
297
 
## --------------------- ##
298
 
# as_fn_unset VAR
299
 
# ---------------
300
 
# Portably unset VAR.
301
 
as_fn_unset ()
302
 
{
303
 
  { eval $1=; unset $1;}
304
 
}
305
 
as_unset=as_fn_unset
306
 
 
307
 
# as_fn_set_status STATUS
308
 
# -----------------------
309
 
# Set $? to STATUS, without forking.
310
 
as_fn_set_status ()
311
 
{
312
 
  return $1
313
 
} # as_fn_set_status
314
 
 
315
 
# as_fn_exit STATUS
316
 
# -----------------
317
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318
 
as_fn_exit ()
319
 
{
320
 
  set +e
321
 
  as_fn_set_status $1
322
 
  exit $1
323
 
} # as_fn_exit
324
 
 
325
 
# as_fn_mkdir_p
326
 
# -------------
327
 
# Create "$as_dir" as a directory, including parents if necessary.
328
 
as_fn_mkdir_p ()
329
 
{
330
 
 
331
 
  case $as_dir in #(
332
 
  -*) as_dir=./$as_dir;;
333
 
  esac
334
 
  test -d "$as_dir" || eval $as_mkdir_p || {
335
 
    as_dirs=
336
 
    while :; do
337
 
      case $as_dir in #(
338
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339
 
      *) as_qdir=$as_dir;;
340
 
      esac
341
 
      as_dirs="'$as_qdir' $as_dirs"
342
 
      as_dir=`$as_dirname -- "$as_dir" ||
343
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
345
 
         X"$as_dir" : 'X\(//\)$' \| \
346
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347
 
$as_echo X"$as_dir" |
348
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349
 
            s//\1/
350
 
            q
351
 
          }
352
 
          /^X\(\/\/\)[^/].*/{
353
 
            s//\1/
354
 
            q
355
 
          }
356
 
          /^X\(\/\/\)$/{
357
 
            s//\1/
358
 
            q
359
 
          }
360
 
          /^X\(\/\).*/{
361
 
            s//\1/
362
 
            q
363
 
          }
364
 
          s/.*/./; q'`
365
 
      test -d "$as_dir" && break
366
 
    done
367
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
368
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
 
 
370
 
 
371
 
} # as_fn_mkdir_p
372
 
 
373
 
# as_fn_executable_p FILE
374
 
# -----------------------
375
 
# Test if FILE is an executable regular file.
376
 
as_fn_executable_p ()
377
 
{
378
 
  test -f "$1" && test -x "$1"
379
 
} # as_fn_executable_p
380
 
# as_fn_append VAR VALUE
381
 
# ----------------------
382
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
383
 
# advantage of any shell optimizations that allow amortized linear growth over
384
 
# repeated appends, instead of the typical quadratic growth present in naive
385
 
# implementations.
386
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387
 
  eval 'as_fn_append ()
388
 
  {
389
 
    eval $1+=\$2
390
 
  }'
391
 
else
392
 
  as_fn_append ()
393
 
  {
394
 
    eval $1=\$$1\$2
395
 
  }
396
 
fi # as_fn_append
397
 
 
398
 
# as_fn_arith ARG...
399
 
# ------------------
400
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
401
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
402
 
# must be portable across $(()) and expr.
403
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
404
 
  eval 'as_fn_arith ()
405
 
  {
406
 
    as_val=$(( $* ))
407
 
  }'
408
 
else
409
 
  as_fn_arith ()
410
 
  {
411
 
    as_val=`expr "$@" || test $? -eq 1`
412
 
  }
413
 
fi # as_fn_arith
414
 
 
415
 
 
416
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
417
 
# ----------------------------------------
418
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420
 
# script with STATUS, using 1 if that was 0.
421
 
as_fn_error ()
422
 
{
423
 
  as_status=$1; test $as_status -eq 0 && as_status=1
424
 
  if test "$4"; then
425
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427
 
  fi
428
 
  $as_echo "$as_me: error: $2" >&2
429
 
  as_fn_exit $as_status
430
 
} # as_fn_error
431
 
 
432
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
433
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
434
 
  as_expr=expr
435
 
else
436
 
  as_expr=false
437
 
fi
438
 
 
439
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440
 
  as_basename=basename
441
 
else
442
 
  as_basename=false
443
 
fi
444
 
 
445
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446
 
  as_dirname=dirname
447
 
else
448
 
  as_dirname=false
449
 
fi
450
 
 
451
 
as_me=`$as_basename -- "$0" ||
452
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453
 
         X"$0" : 'X\(//\)$' \| \
454
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455
 
$as_echo X/"$0" |
456
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
457
 
            s//\1/
458
 
            q
459
 
          }
460
 
          /^X\/\(\/\/\)$/{
461
 
            s//\1/
462
 
            q
463
 
          }
464
 
          /^X\/\(\/\).*/{
465
 
            s//\1/
466
 
            q
467
 
          }
468
 
          s/.*/./; q'`
469
 
 
470
 
# Avoid depending upon Character Ranges.
471
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474
 
as_cr_digits='0123456789'
475
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
476
 
 
477
 
 
478
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
479
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
480
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
483
 
  sed -n '
484
 
    p
485
 
    /[$]LINENO/=
486
 
  ' <$as_myself |
487
 
    sed '
488
 
      s/[$]LINENO.*/&-/
489
 
      t lineno
490
 
      b
491
 
      :lineno
492
 
      N
493
 
      :loop
494
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495
 
      t loop
496
 
      s/-\n.*//
497
 
    ' >$as_me.lineno &&
498
 
  chmod +x "$as_me.lineno" ||
499
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
 
 
501
 
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502
 
  # already done that, so ensure we don't try to do so again and fall
503
 
  # in an infinite loop.  This has already happened in practice.
504
 
  _as_can_reexec=no; export _as_can_reexec
505
 
  # Don't try to exec as it changes $[0], causing all sort of problems
506
 
  # (the dirname of $[0] is not the place where we might find the
507
 
  # original and so on.  Autoconf is especially sensitive to this).
508
 
  . "./$as_me.lineno"
509
 
  # Exit status is that of the last command.
510
 
  exit
511
 
}
512
 
 
513
 
ECHO_C= ECHO_N= ECHO_T=
514
 
case `echo -n x` in #(((((
515
 
-n*)
516
 
  case `echo 'xy\c'` in
517
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
518
 
  xy)  ECHO_C='\c';;
519
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
520
 
       ECHO_T=' ';;
521
 
  esac;;
522
 
*)
523
 
  ECHO_N='-n';;
524
 
esac
525
 
 
526
 
rm -f conf$$ conf$$.exe conf$$.file
527
 
if test -d conf$$.dir; then
528
 
  rm -f conf$$.dir/conf$$.file
529
 
else
530
 
  rm -f conf$$.dir
531
 
  mkdir conf$$.dir 2>/dev/null
532
 
fi
533
 
if (echo >conf$$.file) 2>/dev/null; then
534
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
535
 
    as_ln_s='ln -s'
536
 
    # ... but there are two gotchas:
537
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539
 
    # In both cases, we have to default to `cp -pR'.
540
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541
 
      as_ln_s='cp -pR'
542
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
543
 
    as_ln_s=ln
544
 
  else
545
 
    as_ln_s='cp -pR'
546
 
  fi
547
 
else
548
 
  as_ln_s='cp -pR'
549
 
fi
550
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
551
 
rmdir conf$$.dir 2>/dev/null
552
 
 
553
 
if mkdir -p . 2>/dev/null; then
554
 
  as_mkdir_p='mkdir -p "$as_dir"'
555
 
else
556
 
  test -d ./-p && rmdir ./-p
557
 
  as_mkdir_p=false
558
 
fi
559
 
 
560
 
as_test_x='test -x'
561
 
as_executable_p=as_fn_executable_p
562
 
 
563
 
# Sed expression to map a string onto a valid CPP name.
564
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
 
 
566
 
# Sed expression to map a string onto a valid variable name.
567
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
 
 
569
 
as_awk_strverscmp='
570
 
  # Use only awk features that work with 7th edition Unix awk (1978).
571
 
  # My, what an old awk you have, Mr. Solaris!
572
 
  END {
573
 
    while (length(v1) && length(v2)) {
574
 
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
575
 
      # Normally this is a single character, but if v1 and v2 contain digits,
576
 
      # compare them as integers and fractions as strverscmp does.
577
 
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578
 
        # Split v1 and v2 into their leading digit string components d1 and d2,
579
 
        # and advance v1 and v2 past the leading digit strings.
580
 
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581
 
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582
 
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583
 
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
584
 
        if (d1 ~ /^0/) {
585
 
          if (d2 ~ /^0/) {
586
 
            # Compare two fractions.
587
 
            while (d1 ~ /^0/ && d2 ~ /^0/) {
588
 
              d1 = substr(d1, 2); len1--
589
 
              d2 = substr(d2, 2); len2--
590
 
            }
591
 
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592
 
              # The two components differ in length, and the common prefix
593
 
              # contains only leading zeros.  Consider the longer to be less.
594
 
              d1 = -len1
595
 
              d2 = -len2
596
 
            } else {
597
 
              # Otherwise, compare as strings.
598
 
              d1 = "x" d1
599
 
              d2 = "x" d2
600
 
            }
601
 
          } else {
602
 
            # A fraction is less than an integer.
603
 
            exit 1
604
 
          }
605
 
        } else {
606
 
          if (d2 ~ /^0/) {
607
 
            # An integer is greater than a fraction.
608
 
            exit 2
609
 
          } else {
610
 
            # Compare two integers.
611
 
            d1 += 0
612
 
            d2 += 0
613
 
          }
614
 
        }
615
 
      } else {
616
 
        # The normal case, without worrying about digits.
617
 
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618
 
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
619
 
      }
620
 
      if (d1 < d2) exit 1
621
 
      if (d1 > d2) exit 2
622
 
    }
623
 
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624
 
    # which mishandles some comparisons of empty strings to integers.
625
 
    if (length(v2)) exit 1
626
 
    if (length(v1)) exit 2
627
 
  }
628
 
'
629
 
SHELL=${CONFIG_SHELL-/bin/sh}
630
 
 
631
 
 
632
 
test -n "$DJDIR" || exec 7<&0 </dev/null
633
 
exec 6>&1
634
 
 
635
 
# Name of the host.
636
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
637
 
# so uname gets run too.
638
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
639
 
 
640
 
#
641
 
# Initializations.
642
 
#
643
 
ac_default_prefix=/usr/local
644
 
ac_clean_files=
645
 
ac_config_libobj_dir=.
646
 
LIBOBJS=
647
 
cross_compiling=no
648
 
subdirs=
649
 
MFLAGS=
650
 
MAKEFLAGS=
651
 
 
652
 
# Identity of this package.
653
 
PACKAGE_NAME='indicator-appmenu'
654
 
PACKAGE_TARNAME='indicator-appmenu'
655
 
PACKAGE_VERSION='12.10.3'
656
 
PACKAGE_STRING='indicator-appmenu 12.10.3'
657
 
PACKAGE_BUGREPORT='http://bugs.launchpad.net/indicator-appmenu'
658
 
PACKAGE_URL='http://launchpad.net/indicator-appmenu'
659
 
 
660
 
ac_unique_file="configure.ac"
661
 
# Factoring default headers for most tests.
662
 
ac_includes_default="\
663
 
#include <stdio.h>
664
 
#ifdef HAVE_SYS_TYPES_H
665
 
# include <sys/types.h>
666
 
#endif
667
 
#ifdef HAVE_SYS_STAT_H
668
 
# include <sys/stat.h>
669
 
#endif
670
 
#ifdef STDC_HEADERS
671
 
# include <stdlib.h>
672
 
# include <stddef.h>
673
 
#else
674
 
# ifdef HAVE_STDLIB_H
675
 
#  include <stdlib.h>
676
 
# endif
677
 
#endif
678
 
#ifdef HAVE_STRING_H
679
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
680
 
#  include <memory.h>
681
 
# endif
682
 
# include <string.h>
683
 
#endif
684
 
#ifdef HAVE_STRINGS_H
685
 
# include <strings.h>
686
 
#endif
687
 
#ifdef HAVE_INTTYPES_H
688
 
# include <inttypes.h>
689
 
#endif
690
 
#ifdef HAVE_STDINT_H
691
 
# include <stdint.h>
692
 
#endif
693
 
#ifdef HAVE_UNISTD_H
694
 
# include <unistd.h>
695
 
#endif"
696
 
 
697
 
gt_needs=
698
 
ac_subst_vars='am__EXEEXT_FALSE
699
 
am__EXEEXT_TRUE
700
 
LTLIBOBJS
701
 
LIBOBJS
702
 
GNOMELOCALEDIR
703
 
GETTEXT_PACKAGE
704
 
POSUB
705
 
LTLIBINTL
706
 
LIBINTL
707
 
INTLLIBS
708
 
LTLIBICONV
709
 
LIBICONV
710
 
INTL_MACOSX_LIBS
711
 
XGETTEXT_EXTRA_OPTIONS
712
 
XGETTEXT_015
713
 
GMSGFMT_015
714
 
MSGFMT_015
715
 
GETTEXT_MACRO_VERSION
716
 
DATADIRNAME
717
 
ALL_LINGUAS
718
 
INTLTOOL_PERL
719
 
GMSGFMT
720
 
MSGFMT
721
 
MSGMERGE
722
 
XGETTEXT
723
 
INTLTOOL_POLICY_RULE
724
 
INTLTOOL_SERVICE_RULE
725
 
INTLTOOL_THEME_RULE
726
 
INTLTOOL_SCHEMAS_RULE
727
 
INTLTOOL_CAVES_RULE
728
 
INTLTOOL_XML_NOMERGE_RULE
729
 
INTLTOOL_XML_RULE
730
 
INTLTOOL_KBD_RULE
731
 
INTLTOOL_XAM_RULE
732
 
INTLTOOL_UI_RULE
733
 
INTLTOOL_SOUNDLIST_RULE
734
 
INTLTOOL_SHEET_RULE
735
 
INTLTOOL_SERVER_RULE
736
 
INTLTOOL_PONG_RULE
737
 
INTLTOOL_OAF_RULE
738
 
INTLTOOL_PROP_RULE
739
 
INTLTOOL_KEYS_RULE
740
 
INTLTOOL_DIRECTORY_RULE
741
 
INTLTOOL_DESKTOP_RULE
742
 
intltool__v_merge_options_0
743
 
intltool__v_merge_options_
744
 
INTLTOOL_V_MERGE_OPTIONS
745
 
INTLTOOL__v_MERGE_0
746
 
INTLTOOL__v_MERGE_
747
 
INTLTOOL_V_MERGE
748
 
INTLTOOL_EXTRACT
749
 
INTLTOOL_MERGE
750
 
INTLTOOL_UPDATE
751
 
USE_NLS
752
 
DBUSSERVICEDIR
753
 
INDICATORICONSDIR
754
 
INDICATORDIR
755
 
XSLT_PROC
756
 
COVERAGE_LDFLAGS
757
 
COVERAGE_CXXFLAGS
758
 
COVERAGE_CFLAGS
759
 
HAVE_GCOVR_FALSE
760
 
HAVE_GCOVR_TRUE
761
 
HAVE_LCOV_FALSE
762
 
HAVE_LCOV_TRUE
763
 
HAVE_GCOV_FALSE
764
 
HAVE_GCOV_TRUE
765
 
GCOVR
766
 
GENHTML
767
 
LCOV
768
 
SHTOOL
769
 
BUILD_TESTS_FALSE
770
 
BUILD_TESTS_TRUE
771
 
INDICATORTEST_LIBS
772
 
INDICATORTEST_CFLAGS
773
 
BUILD_CLI_FALSE
774
 
BUILD_CLI_TRUE
775
 
HUD_LIBS
776
 
HUD_CFLAGS
777
 
INDICATOR_LIBS
778
 
INDICATOR_CFLAGS
779
 
gtk_LIBS
780
 
gtk_CFLAGS
781
 
GSETTINGS_RULES
782
 
GLIB_COMPILE_SCHEMAS
783
 
gsettingsschemadir
784
 
GSETTINGS_DISABLE_SCHEMAS_COMPILE
785
 
GTK_DOC_USE_REBASE_FALSE
786
 
GTK_DOC_USE_REBASE_TRUE
787
 
GTK_DOC_USE_LIBTOOL_FALSE
788
 
GTK_DOC_USE_LIBTOOL_TRUE
789
 
GTK_DOC_BUILD_PDF_FALSE
790
 
GTK_DOC_BUILD_PDF_TRUE
791
 
GTK_DOC_BUILD_HTML_FALSE
792
 
GTK_DOC_BUILD_HTML_TRUE
793
 
ENABLE_GTK_DOC_FALSE
794
 
ENABLE_GTK_DOC_TRUE
795
 
GTKDOC_DEPS_LIBS
796
 
GTKDOC_DEPS_CFLAGS
797
 
HTML_DIR
798
 
GTKDOC_MKPDF
799
 
GTKDOC_REBASE
800
 
GTKDOC_CHECK
801
 
PKG_CONFIG_LIBDIR
802
 
PKG_CONFIG_PATH
803
 
PKG_CONFIG
804
 
GLIB_GENMARSHAL
805
 
GLIB_MKENUMS
806
 
CPP
807
 
OTOOL64
808
 
OTOOL
809
 
LIPO
810
 
NMEDIT
811
 
DSYMUTIL
812
 
MANIFEST_TOOL
813
 
RANLIB
814
 
ac_ct_AR
815
 
AR
816
 
DLLTOOL
817
 
OBJDUMP
818
 
LN_S
819
 
NM
820
 
ac_ct_DUMPBIN
821
 
DUMPBIN
822
 
LD
823
 
FGREP
824
 
EGREP
825
 
GREP
826
 
SED
827
 
host_os
828
 
host_vendor
829
 
host_cpu
830
 
host
831
 
build_os
832
 
build_vendor
833
 
build_cpu
834
 
build
835
 
LIBTOOL
836
 
VALAC
837
 
am__fastdepCC_FALSE
838
 
am__fastdepCC_TRUE
839
 
CCDEPMODE
840
 
am__nodep
841
 
AMDEPBACKSLASH
842
 
AMDEP_FALSE
843
 
AMDEP_TRUE
844
 
am__quote
845
 
am__include
846
 
DEPDIR
847
 
OBJEXT
848
 
EXEEXT
849
 
ac_ct_CC
850
 
CPPFLAGS
851
 
LDFLAGS
852
 
CFLAGS
853
 
CC
854
 
AM_BACKSLASH
855
 
AM_DEFAULT_VERBOSITY
856
 
AM_DEFAULT_V
857
 
AM_V
858
 
MAINT
859
 
MAINTAINER_MODE_FALSE
860
 
MAINTAINER_MODE_TRUE
861
 
am__untar
862
 
am__tar
863
 
AMTAR
864
 
am__leading_dot
865
 
SET_MAKE
866
 
AWK
867
 
mkdir_p
868
 
MKDIR_P
869
 
INSTALL_STRIP_PROGRAM
870
 
STRIP
871
 
install_sh
872
 
MAKEINFO
873
 
AUTOHEADER
874
 
AUTOMAKE
875
 
AUTOCONF
876
 
ACLOCAL
877
 
VERSION
878
 
PACKAGE
879
 
CYGPATH_W
880
 
am__isrc
881
 
INSTALL_DATA
882
 
INSTALL_SCRIPT
883
 
INSTALL_PROGRAM
884
 
target_alias
885
 
host_alias
886
 
build_alias
887
 
LIBS
888
 
ECHO_T
889
 
ECHO_N
890
 
ECHO_C
891
 
DEFS
892
 
mandir
893
 
localedir
894
 
libdir
895
 
psdir
896
 
pdfdir
897
 
dvidir
898
 
htmldir
899
 
infodir
900
 
docdir
901
 
oldincludedir
902
 
includedir
903
 
localstatedir
904
 
sharedstatedir
905
 
sysconfdir
906
 
datadir
907
 
datarootdir
908
 
libexecdir
909
 
sbindir
910
 
bindir
911
 
program_transform_name
912
 
prefix
913
 
exec_prefix
914
 
PACKAGE_URL
915
 
PACKAGE_BUGREPORT
916
 
PACKAGE_STRING
917
 
PACKAGE_VERSION
918
 
PACKAGE_TARNAME
919
 
PACKAGE_NAME
920
 
PATH_SEPARATOR
921
 
SHELL'
922
 
ac_subst_files=''
923
 
ac_user_opts='
924
 
enable_option_checking
925
 
enable_maintainer_mode
926
 
enable_silent_rules
927
 
enable_dependency_tracking
928
 
enable_shared
929
 
enable_static
930
 
with_pic
931
 
enable_fast_install
932
 
with_gnu_ld
933
 
with_sysroot
934
 
enable_libtool_lock
935
 
enable_deprecations
936
 
with_html_dir
937
 
enable_gtk_doc
938
 
enable_gtk_doc_html
939
 
enable_gtk_doc_pdf
940
 
enable_schemas_compile
941
 
enable_tests
942
 
enable_gcov
943
 
enable_localinstall
944
 
enable_nls
945
 
enable_rpath
946
 
with_libiconv_prefix
947
 
with_libintl_prefix
948
 
'
949
 
      ac_precious_vars='build_alias
950
 
host_alias
951
 
target_alias
952
 
CC
953
 
CFLAGS
954
 
LDFLAGS
955
 
LIBS
956
 
CPPFLAGS
957
 
CPP
958
 
PKG_CONFIG
959
 
PKG_CONFIG_PATH
960
 
PKG_CONFIG_LIBDIR
961
 
GTKDOC_DEPS_CFLAGS
962
 
GTKDOC_DEPS_LIBS
963
 
gtk_CFLAGS
964
 
gtk_LIBS
965
 
INDICATOR_CFLAGS
966
 
INDICATOR_LIBS
967
 
HUD_CFLAGS
968
 
HUD_LIBS
969
 
INDICATORTEST_CFLAGS
970
 
INDICATORTEST_LIBS'
971
 
 
972
 
 
973
 
# Initialize some variables set by options.
974
 
ac_init_help=
975
 
ac_init_version=false
976
 
ac_unrecognized_opts=
977
 
ac_unrecognized_sep=
978
 
# The variables have the same names as the options, with
979
 
# dashes changed to underlines.
980
 
cache_file=/dev/null
981
 
exec_prefix=NONE
982
 
no_create=
983
 
no_recursion=
984
 
prefix=NONE
985
 
program_prefix=NONE
986
 
program_suffix=NONE
987
 
program_transform_name=s,x,x,
988
 
silent=
989
 
site=
990
 
srcdir=
991
 
verbose=
992
 
x_includes=NONE
993
 
x_libraries=NONE
994
 
 
995
 
# Installation directory options.
996
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
997
 
# and all the variables that are supposed to be based on exec_prefix
998
 
# by default will actually change.
999
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1000
 
# (The list follows the same order as the GNU Coding Standards.)
1001
 
bindir='${exec_prefix}/bin'
1002
 
sbindir='${exec_prefix}/sbin'
1003
 
libexecdir='${exec_prefix}/libexec'
1004
 
datarootdir='${prefix}/share'
1005
 
datadir='${datarootdir}'
1006
 
sysconfdir='${prefix}/etc'
1007
 
sharedstatedir='${prefix}/com'
1008
 
localstatedir='${prefix}/var'
1009
 
includedir='${prefix}/include'
1010
 
oldincludedir='/usr/include'
1011
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1012
 
infodir='${datarootdir}/info'
1013
 
htmldir='${docdir}'
1014
 
dvidir='${docdir}'
1015
 
pdfdir='${docdir}'
1016
 
psdir='${docdir}'
1017
 
libdir='${exec_prefix}/lib'
1018
 
localedir='${datarootdir}/locale'
1019
 
mandir='${datarootdir}/man'
1020
 
 
1021
 
ac_prev=
1022
 
ac_dashdash=
1023
 
for ac_option
1024
 
do
1025
 
  # If the previous option needs an argument, assign it.
1026
 
  if test -n "$ac_prev"; then
1027
 
    eval $ac_prev=\$ac_option
1028
 
    ac_prev=
1029
 
    continue
1030
 
  fi
1031
 
 
1032
 
  case $ac_option in
1033
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1034
 
  *=)   ac_optarg= ;;
1035
 
  *)    ac_optarg=yes ;;
1036
 
  esac
1037
 
 
1038
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1039
 
 
1040
 
  case $ac_dashdash$ac_option in
1041
 
  --)
1042
 
    ac_dashdash=yes ;;
1043
 
 
1044
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1045
 
    ac_prev=bindir ;;
1046
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1047
 
    bindir=$ac_optarg ;;
1048
 
 
1049
 
  -build | --build | --buil | --bui | --bu)
1050
 
    ac_prev=build_alias ;;
1051
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1052
 
    build_alias=$ac_optarg ;;
1053
 
 
1054
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1055
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1056
 
    ac_prev=cache_file ;;
1057
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1058
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1059
 
    cache_file=$ac_optarg ;;
1060
 
 
1061
 
  --config-cache | -C)
1062
 
    cache_file=config.cache ;;
1063
 
 
1064
 
  -datadir | --datadir | --datadi | --datad)
1065
 
    ac_prev=datadir ;;
1066
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1067
 
    datadir=$ac_optarg ;;
1068
 
 
1069
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1070
 
  | --dataroo | --dataro | --datar)
1071
 
    ac_prev=datarootdir ;;
1072
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1073
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1074
 
    datarootdir=$ac_optarg ;;
1075
 
 
1076
 
  -disable-* | --disable-*)
1077
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078
 
    # Reject names that are not valid shell variable names.
1079
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1081
 
    ac_useropt_orig=$ac_useropt
1082
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083
 
    case $ac_user_opts in
1084
 
      *"
1085
 
"enable_$ac_useropt"
1086
 
"*) ;;
1087
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088
 
         ac_unrecognized_sep=', ';;
1089
 
    esac
1090
 
    eval enable_$ac_useropt=no ;;
1091
 
 
1092
 
  -docdir | --docdir | --docdi | --doc | --do)
1093
 
    ac_prev=docdir ;;
1094
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1095
 
    docdir=$ac_optarg ;;
1096
 
 
1097
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1098
 
    ac_prev=dvidir ;;
1099
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1100
 
    dvidir=$ac_optarg ;;
1101
 
 
1102
 
  -enable-* | --enable-*)
1103
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104
 
    # Reject names that are not valid shell variable names.
1105
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1107
 
    ac_useropt_orig=$ac_useropt
1108
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109
 
    case $ac_user_opts in
1110
 
      *"
1111
 
"enable_$ac_useropt"
1112
 
"*) ;;
1113
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114
 
         ac_unrecognized_sep=', ';;
1115
 
    esac
1116
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1117
 
 
1118
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1119
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1120
 
  | --exec | --exe | --ex)
1121
 
    ac_prev=exec_prefix ;;
1122
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1123
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1124
 
  | --exec=* | --exe=* | --ex=*)
1125
 
    exec_prefix=$ac_optarg ;;
1126
 
 
1127
 
  -gas | --gas | --ga | --g)
1128
 
    # Obsolete; use --with-gas.
1129
 
    with_gas=yes ;;
1130
 
 
1131
 
  -help | --help | --hel | --he | -h)
1132
 
    ac_init_help=long ;;
1133
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1134
 
    ac_init_help=recursive ;;
1135
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1136
 
    ac_init_help=short ;;
1137
 
 
1138
 
  -host | --host | --hos | --ho)
1139
 
    ac_prev=host_alias ;;
1140
 
  -host=* | --host=* | --hos=* | --ho=*)
1141
 
    host_alias=$ac_optarg ;;
1142
 
 
1143
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1144
 
    ac_prev=htmldir ;;
1145
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1146
 
  | --ht=*)
1147
 
    htmldir=$ac_optarg ;;
1148
 
 
1149
 
  -includedir | --includedir | --includedi | --included | --include \
1150
 
  | --includ | --inclu | --incl | --inc)
1151
 
    ac_prev=includedir ;;
1152
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1153
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1154
 
    includedir=$ac_optarg ;;
1155
 
 
1156
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1157
 
    ac_prev=infodir ;;
1158
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1159
 
    infodir=$ac_optarg ;;
1160
 
 
1161
 
  -libdir | --libdir | --libdi | --libd)
1162
 
    ac_prev=libdir ;;
1163
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1164
 
    libdir=$ac_optarg ;;
1165
 
 
1166
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1167
 
  | --libexe | --libex | --libe)
1168
 
    ac_prev=libexecdir ;;
1169
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1170
 
  | --libexe=* | --libex=* | --libe=*)
1171
 
    libexecdir=$ac_optarg ;;
1172
 
 
1173
 
  -localedir | --localedir | --localedi | --localed | --locale)
1174
 
    ac_prev=localedir ;;
1175
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1176
 
    localedir=$ac_optarg ;;
1177
 
 
1178
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1179
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1180
 
    ac_prev=localstatedir ;;
1181
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1182
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1183
 
    localstatedir=$ac_optarg ;;
1184
 
 
1185
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1186
 
    ac_prev=mandir ;;
1187
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1188
 
    mandir=$ac_optarg ;;
1189
 
 
1190
 
  -nfp | --nfp | --nf)
1191
 
    # Obsolete; use --without-fp.
1192
 
    with_fp=no ;;
1193
 
 
1194
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1195
 
  | --no-cr | --no-c | -n)
1196
 
    no_create=yes ;;
1197
 
 
1198
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1199
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1200
 
    no_recursion=yes ;;
1201
 
 
1202
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1203
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1204
 
  | --oldin | --oldi | --old | --ol | --o)
1205
 
    ac_prev=oldincludedir ;;
1206
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1207
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1208
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1209
 
    oldincludedir=$ac_optarg ;;
1210
 
 
1211
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1212
 
    ac_prev=prefix ;;
1213
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1214
 
    prefix=$ac_optarg ;;
1215
 
 
1216
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1217
 
  | --program-pre | --program-pr | --program-p)
1218
 
    ac_prev=program_prefix ;;
1219
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1220
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1221
 
    program_prefix=$ac_optarg ;;
1222
 
 
1223
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1224
 
  | --program-suf | --program-su | --program-s)
1225
 
    ac_prev=program_suffix ;;
1226
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1227
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1228
 
    program_suffix=$ac_optarg ;;
1229
 
 
1230
 
  -program-transform-name | --program-transform-name \
1231
 
  | --program-transform-nam | --program-transform-na \
1232
 
  | --program-transform-n | --program-transform- \
1233
 
  | --program-transform | --program-transfor \
1234
 
  | --program-transfo | --program-transf \
1235
 
  | --program-trans | --program-tran \
1236
 
  | --progr-tra | --program-tr | --program-t)
1237
 
    ac_prev=program_transform_name ;;
1238
 
  -program-transform-name=* | --program-transform-name=* \
1239
 
  | --program-transform-nam=* | --program-transform-na=* \
1240
 
  | --program-transform-n=* | --program-transform-=* \
1241
 
  | --program-transform=* | --program-transfor=* \
1242
 
  | --program-transfo=* | --program-transf=* \
1243
 
  | --program-trans=* | --program-tran=* \
1244
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1245
 
    program_transform_name=$ac_optarg ;;
1246
 
 
1247
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1248
 
    ac_prev=pdfdir ;;
1249
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1250
 
    pdfdir=$ac_optarg ;;
1251
 
 
1252
 
  -psdir | --psdir | --psdi | --psd | --ps)
1253
 
    ac_prev=psdir ;;
1254
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1255
 
    psdir=$ac_optarg ;;
1256
 
 
1257
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1258
 
  | -silent | --silent | --silen | --sile | --sil)
1259
 
    silent=yes ;;
1260
 
 
1261
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1262
 
    ac_prev=sbindir ;;
1263
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1264
 
  | --sbi=* | --sb=*)
1265
 
    sbindir=$ac_optarg ;;
1266
 
 
1267
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1268
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1269
 
  | --sharedst | --shareds | --shared | --share | --shar \
1270
 
  | --sha | --sh)
1271
 
    ac_prev=sharedstatedir ;;
1272
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1273
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1274
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1275
 
  | --sha=* | --sh=*)
1276
 
    sharedstatedir=$ac_optarg ;;
1277
 
 
1278
 
  -site | --site | --sit)
1279
 
    ac_prev=site ;;
1280
 
  -site=* | --site=* | --sit=*)
1281
 
    site=$ac_optarg ;;
1282
 
 
1283
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1284
 
    ac_prev=srcdir ;;
1285
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1286
 
    srcdir=$ac_optarg ;;
1287
 
 
1288
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1289
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1290
 
    ac_prev=sysconfdir ;;
1291
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1292
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1293
 
    sysconfdir=$ac_optarg ;;
1294
 
 
1295
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1296
 
    ac_prev=target_alias ;;
1297
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1298
 
    target_alias=$ac_optarg ;;
1299
 
 
1300
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1301
 
    verbose=yes ;;
1302
 
 
1303
 
  -version | --version | --versio | --versi | --vers | -V)
1304
 
    ac_init_version=: ;;
1305
 
 
1306
 
  -with-* | --with-*)
1307
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308
 
    # Reject names that are not valid shell variable names.
1309
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310
 
      as_fn_error $? "invalid package name: $ac_useropt"
1311
 
    ac_useropt_orig=$ac_useropt
1312
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313
 
    case $ac_user_opts in
1314
 
      *"
1315
 
"with_$ac_useropt"
1316
 
"*) ;;
1317
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1318
 
         ac_unrecognized_sep=', ';;
1319
 
    esac
1320
 
    eval with_$ac_useropt=\$ac_optarg ;;
1321
 
 
1322
 
  -without-* | --without-*)
1323
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324
 
    # Reject names that are not valid shell variable names.
1325
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326
 
      as_fn_error $? "invalid package name: $ac_useropt"
1327
 
    ac_useropt_orig=$ac_useropt
1328
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329
 
    case $ac_user_opts in
1330
 
      *"
1331
 
"with_$ac_useropt"
1332
 
"*) ;;
1333
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334
 
         ac_unrecognized_sep=', ';;
1335
 
    esac
1336
 
    eval with_$ac_useropt=no ;;
1337
 
 
1338
 
  --x)
1339
 
    # Obsolete; use --with-x.
1340
 
    with_x=yes ;;
1341
 
 
1342
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1343
 
  | --x-incl | --x-inc | --x-in | --x-i)
1344
 
    ac_prev=x_includes ;;
1345
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1346
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1347
 
    x_includes=$ac_optarg ;;
1348
 
 
1349
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1350
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1351
 
    ac_prev=x_libraries ;;
1352
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1353
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1354
 
    x_libraries=$ac_optarg ;;
1355
 
 
1356
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1357
 
Try \`$0 --help' for more information"
1358
 
    ;;
1359
 
 
1360
 
  *=*)
1361
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1362
 
    # Reject names that are not valid shell variable names.
1363
 
    case $ac_envvar in #(
1364
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1365
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1366
 
    esac
1367
 
    eval $ac_envvar=\$ac_optarg
1368
 
    export $ac_envvar ;;
1369
 
 
1370
 
  *)
1371
 
    # FIXME: should be removed in autoconf 3.0.
1372
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1376
 
    ;;
1377
 
 
1378
 
  esac
1379
 
done
1380
 
 
1381
 
if test -n "$ac_prev"; then
1382
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1383
 
  as_fn_error $? "missing argument to $ac_option"
1384
 
fi
1385
 
 
1386
 
if test -n "$ac_unrecognized_opts"; then
1387
 
  case $enable_option_checking in
1388
 
    no) ;;
1389
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1390
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1391
 
  esac
1392
 
fi
1393
 
 
1394
 
# Check all directory arguments for consistency.
1395
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1396
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1397
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1398
 
                libdir localedir mandir
1399
 
do
1400
 
  eval ac_val=\$$ac_var
1401
 
  # Remove trailing slashes.
1402
 
  case $ac_val in
1403
 
    */ )
1404
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1405
 
      eval $ac_var=\$ac_val;;
1406
 
  esac
1407
 
  # Be sure to have absolute directory names.
1408
 
  case $ac_val in
1409
 
    [\\/$]* | ?:[\\/]* )  continue;;
1410
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1411
 
  esac
1412
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1413
 
done
1414
 
 
1415
 
# There might be people who depend on the old broken behavior: `$host'
1416
 
# used to hold the argument of --host etc.
1417
 
# FIXME: To remove some day.
1418
 
build=$build_alias
1419
 
host=$host_alias
1420
 
target=$target_alias
1421
 
 
1422
 
# FIXME: To remove some day.
1423
 
if test "x$host_alias" != x; then
1424
 
  if test "x$build_alias" = x; then
1425
 
    cross_compiling=maybe
1426
 
  elif test "x$build_alias" != "x$host_alias"; then
1427
 
    cross_compiling=yes
1428
 
  fi
1429
 
fi
1430
 
 
1431
 
ac_tool_prefix=
1432
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1433
 
 
1434
 
test "$silent" = yes && exec 6>/dev/null
1435
 
 
1436
 
 
1437
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1438
 
ac_ls_di=`ls -di .` &&
1439
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1440
 
  as_fn_error $? "working directory cannot be determined"
1441
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442
 
  as_fn_error $? "pwd does not report name of working directory"
1443
 
 
1444
 
 
1445
 
# Find the source files, if location was not specified.
1446
 
if test -z "$srcdir"; then
1447
 
  ac_srcdir_defaulted=yes
1448
 
  # Try the directory containing this script, then the parent directory.
1449
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1450
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1452
 
         X"$as_myself" : 'X\(//\)$' \| \
1453
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454
 
$as_echo X"$as_myself" |
1455
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1456
 
            s//\1/
1457
 
            q
1458
 
          }
1459
 
          /^X\(\/\/\)[^/].*/{
1460
 
            s//\1/
1461
 
            q
1462
 
          }
1463
 
          /^X\(\/\/\)$/{
1464
 
            s//\1/
1465
 
            q
1466
 
          }
1467
 
          /^X\(\/\).*/{
1468
 
            s//\1/
1469
 
            q
1470
 
          }
1471
 
          s/.*/./; q'`
1472
 
  srcdir=$ac_confdir
1473
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1474
 
    srcdir=..
1475
 
  fi
1476
 
else
1477
 
  ac_srcdir_defaulted=no
1478
 
fi
1479
 
if test ! -r "$srcdir/$ac_unique_file"; then
1480
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1481
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1482
 
fi
1483
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1484
 
ac_abs_confdir=`(
1485
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1486
 
        pwd)`
1487
 
# When building in place, set srcdir=.
1488
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1489
 
  srcdir=.
1490
 
fi
1491
 
# Remove unnecessary trailing slashes from srcdir.
1492
 
# Double slashes in file names in object file debugging info
1493
 
# mess up M-x gdb in Emacs.
1494
 
case $srcdir in
1495
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1496
 
esac
1497
 
for ac_var in $ac_precious_vars; do
1498
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1499
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1500
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1501
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1502
 
done
1503
 
 
1504
 
#
1505
 
# Report the --help message.
1506
 
#
1507
 
if test "$ac_init_help" = "long"; then
1508
 
  # Omit some internal or obsolete options to make the list less imposing.
1509
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1510
 
  cat <<_ACEOF
1511
 
\`configure' configures indicator-appmenu 12.10.3 to adapt to many kinds of systems.
1512
 
 
1513
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1514
 
 
1515
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1517
 
 
1518
 
Defaults for the options are specified in brackets.
1519
 
 
1520
 
Configuration:
1521
 
  -h, --help              display this help and exit
1522
 
      --help=short        display options specific to this package
1523
 
      --help=recursive    display the short help of all the included packages
1524
 
  -V, --version           display version information and exit
1525
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1526
 
      --cache-file=FILE   cache test results in FILE [disabled]
1527
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1528
 
  -n, --no-create         do not create output files
1529
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1530
 
 
1531
 
Installation directories:
1532
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1533
 
                          [$ac_default_prefix]
1534
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1535
 
                          [PREFIX]
1536
 
 
1537
 
By default, \`make install' will install all the files in
1538
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1539
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540
 
for instance \`--prefix=\$HOME'.
1541
 
 
1542
 
For better control, use the options below.
1543
 
 
1544
 
Fine tuning of the installation directories:
1545
 
  --bindir=DIR            user executables [EPREFIX/bin]
1546
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1547
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1548
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1549
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1550
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1551
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1552
 
  --includedir=DIR        C header files [PREFIX/include]
1553
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1554
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1555
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1556
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1557
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1558
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1559
 
  --docdir=DIR            documentation root
1560
 
                          [DATAROOTDIR/doc/indicator-appmenu]
1561
 
  --htmldir=DIR           html documentation [DOCDIR]
1562
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1563
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1564
 
  --psdir=DIR             ps documentation [DOCDIR]
1565
 
_ACEOF
1566
 
 
1567
 
  cat <<\_ACEOF
1568
 
 
1569
 
Program names:
1570
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1571
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1572
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1573
 
 
1574
 
System types:
1575
 
  --build=BUILD     configure for building on BUILD [guessed]
1576
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1577
 
_ACEOF
1578
 
fi
1579
 
 
1580
 
if test -n "$ac_init_help"; then
1581
 
  case $ac_init_help in
1582
 
     short | recursive ) echo "Configuration of indicator-appmenu 12.10.3:";;
1583
 
   esac
1584
 
  cat <<\_ACEOF
1585
 
 
1586
 
Optional Features:
1587
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1588
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1589
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1590
 
  --disable-maintainer-mode  disable make rules and dependencies not useful
1591
 
                          (and sometimes confusing) to the casual installer
1592
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1593
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1594
 
  --disable-dependency-tracking  speeds up one-time build
1595
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1596
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1597
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1598
 
  --enable-fast-install[=PKGS]
1599
 
                          optimize for fast installation [default=yes]
1600
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1601
 
  --enable-deprecations   allow deprecated API usage [default=yes]
1602
 
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1603
 
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1604
 
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1605
 
  --disable-schemas-compile
1606
 
                          Disable regeneration of gschemas.compiled on install
1607
 
  --disable-tests         Disable test scripts and tools
1608
 
  --enable-gcov           enable coverage testing with gcov
1609
 
  --enable-localinstall   install all of the files localy instead of system
1610
 
                          directories (for distcheck)
1611
 
  --disable-nls           do not use Native Language Support
1612
 
  --disable-rpath         do not hardcode runtime library paths
1613
 
 
1614
 
Optional Packages:
1615
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1616
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1617
 
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1618
 
                          both]
1619
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1620
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1621
 
                        (or the compiler's sysroot if not specified).
1622
 
  --with-html-dir=PATH    path to installed docs
1623
 
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1624
 
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1625
 
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1626
 
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1627
 
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1628
 
 
1629
 
Some influential environment variables:
1630
 
  CC          C compiler command
1631
 
  CFLAGS      C compiler flags
1632
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1633
 
              nonstandard directory <lib dir>
1634
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1635
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1636
 
              you have headers in a nonstandard directory <include dir>
1637
 
  CPP         C preprocessor
1638
 
  PKG_CONFIG  path to pkg-config utility
1639
 
  PKG_CONFIG_PATH
1640
 
              directories to add to pkg-config's search path
1641
 
  PKG_CONFIG_LIBDIR
1642
 
              path overriding pkg-config's built-in search path
1643
 
  GTKDOC_DEPS_CFLAGS
1644
 
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1645
 
  GTKDOC_DEPS_LIBS
1646
 
              linker flags for GTKDOC_DEPS, overriding pkg-config
1647
 
  gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1648
 
  gtk_LIBS    linker flags for gtk, overriding pkg-config
1649
 
  INDICATOR_CFLAGS
1650
 
              C compiler flags for INDICATOR, overriding pkg-config
1651
 
  INDICATOR_LIBS
1652
 
              linker flags for INDICATOR, overriding pkg-config
1653
 
  HUD_CFLAGS  C compiler flags for HUD, overriding pkg-config
1654
 
  HUD_LIBS    linker flags for HUD, overriding pkg-config
1655
 
  INDICATORTEST_CFLAGS
1656
 
              C compiler flags for INDICATORTEST, overriding pkg-config
1657
 
  INDICATORTEST_LIBS
1658
 
              linker flags for INDICATORTEST, overriding pkg-config
1659
 
 
1660
 
Use these variables to override the choices made by `configure' or to help
1661
 
it to find libraries and programs with nonstandard names/locations.
1662
 
 
1663
 
Report bugs to <http://bugs.launchpad.net/indicator-appmenu>.
1664
 
indicator-appmenu home page: <http://launchpad.net/indicator-appmenu>.
1665
 
_ACEOF
1666
 
ac_status=$?
1667
 
fi
1668
 
 
1669
 
if test "$ac_init_help" = "recursive"; then
1670
 
  # If there are subdirs, report their specific --help.
1671
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1672
 
    test -d "$ac_dir" ||
1673
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1674
 
      continue
1675
 
    ac_builddir=.
1676
 
 
1677
 
case "$ac_dir" in
1678
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1679
 
*)
1680
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1681
 
  # A ".." for each directory in $ac_dir_suffix.
1682
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1683
 
  case $ac_top_builddir_sub in
1684
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1685
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1686
 
  esac ;;
1687
 
esac
1688
 
ac_abs_top_builddir=$ac_pwd
1689
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1690
 
# for backward compatibility:
1691
 
ac_top_builddir=$ac_top_build_prefix
1692
 
 
1693
 
case $srcdir in
1694
 
  .)  # We are building in place.
1695
 
    ac_srcdir=.
1696
 
    ac_top_srcdir=$ac_top_builddir_sub
1697
 
    ac_abs_top_srcdir=$ac_pwd ;;
1698
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1699
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1700
 
    ac_top_srcdir=$srcdir
1701
 
    ac_abs_top_srcdir=$srcdir ;;
1702
 
  *) # Relative name.
1703
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1704
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1705
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1706
 
esac
1707
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1708
 
 
1709
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1710
 
    # Check for guested configure.
1711
 
    if test -f "$ac_srcdir/configure.gnu"; then
1712
 
      echo &&
1713
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1714
 
    elif test -f "$ac_srcdir/configure"; then
1715
 
      echo &&
1716
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1717
 
    else
1718
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1719
 
    fi || ac_status=$?
1720
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1721
 
  done
1722
 
fi
1723
 
 
1724
 
test -n "$ac_init_help" && exit $ac_status
1725
 
if $ac_init_version; then
1726
 
  cat <<\_ACEOF
1727
 
indicator-appmenu configure 12.10.3
1728
 
generated by GNU Autoconf 2.69
1729
 
 
1730
 
Copyright (C) 2012 Free Software Foundation, Inc.
1731
 
This configure script is free software; the Free Software Foundation
1732
 
gives unlimited permission to copy, distribute and modify it.
1733
 
 
1734
 
Copyright 2010 Canonical
1735
 
_ACEOF
1736
 
  exit
1737
 
fi
1738
 
 
1739
 
## ------------------------ ##
1740
 
## Autoconf initialization. ##
1741
 
## ------------------------ ##
1742
 
 
1743
 
# ac_fn_c_try_compile LINENO
1744
 
# --------------------------
1745
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1746
 
ac_fn_c_try_compile ()
1747
 
{
1748
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749
 
  rm -f conftest.$ac_objext
1750
 
  if { { ac_try="$ac_compile"
1751
 
case "(($ac_try" in
1752
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753
 
  *) ac_try_echo=$ac_try;;
1754
 
esac
1755
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756
 
$as_echo "$ac_try_echo"; } >&5
1757
 
  (eval "$ac_compile") 2>conftest.err
1758
 
  ac_status=$?
1759
 
  if test -s conftest.err; then
1760
 
    grep -v '^ *+' conftest.err >conftest.er1
1761
 
    cat conftest.er1 >&5
1762
 
    mv -f conftest.er1 conftest.err
1763
 
  fi
1764
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765
 
  test $ac_status = 0; } && {
1766
 
         test -z "$ac_c_werror_flag" ||
1767
 
         test ! -s conftest.err
1768
 
       } && test -s conftest.$ac_objext; then :
1769
 
  ac_retval=0
1770
 
else
1771
 
  $as_echo "$as_me: failed program was:" >&5
1772
 
sed 's/^/| /' conftest.$ac_ext >&5
1773
 
 
1774
 
        ac_retval=1
1775
 
fi
1776
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777
 
  as_fn_set_status $ac_retval
1778
 
 
1779
 
} # ac_fn_c_try_compile
1780
 
 
1781
 
# ac_fn_c_try_link LINENO
1782
 
# -----------------------
1783
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1784
 
ac_fn_c_try_link ()
1785
 
{
1786
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1788
 
  if { { ac_try="$ac_link"
1789
 
case "(($ac_try" in
1790
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791
 
  *) ac_try_echo=$ac_try;;
1792
 
esac
1793
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794
 
$as_echo "$ac_try_echo"; } >&5
1795
 
  (eval "$ac_link") 2>conftest.err
1796
 
  ac_status=$?
1797
 
  if test -s conftest.err; then
1798
 
    grep -v '^ *+' conftest.err >conftest.er1
1799
 
    cat conftest.er1 >&5
1800
 
    mv -f conftest.er1 conftest.err
1801
 
  fi
1802
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803
 
  test $ac_status = 0; } && {
1804
 
         test -z "$ac_c_werror_flag" ||
1805
 
         test ! -s conftest.err
1806
 
       } && test -s conftest$ac_exeext && {
1807
 
         test "$cross_compiling" = yes ||
1808
 
         test -x conftest$ac_exeext
1809
 
       }; then :
1810
 
  ac_retval=0
1811
 
else
1812
 
  $as_echo "$as_me: failed program was:" >&5
1813
 
sed 's/^/| /' conftest.$ac_ext >&5
1814
 
 
1815
 
        ac_retval=1
1816
 
fi
1817
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1818
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1819
 
  # interfere with the next link command; also delete a directory that is
1820
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1821
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1822
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823
 
  as_fn_set_status $ac_retval
1824
 
 
1825
 
} # ac_fn_c_try_link
1826
 
 
1827
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1828
 
# -------------------------------------------------------
1829
 
# Tests whether HEADER exists and can be compiled using the include files in
1830
 
# INCLUDES, setting the cache variable VAR accordingly.
1831
 
ac_fn_c_check_header_compile ()
1832
 
{
1833
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835
 
$as_echo_n "checking for $2... " >&6; }
1836
 
if eval \${$3+:} false; then :
1837
 
  $as_echo_n "(cached) " >&6
1838
 
else
1839
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840
 
/* end confdefs.h.  */
1841
 
$4
1842
 
#include <$2>
1843
 
_ACEOF
1844
 
if ac_fn_c_try_compile "$LINENO"; then :
1845
 
  eval "$3=yes"
1846
 
else
1847
 
  eval "$3=no"
1848
 
fi
1849
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850
 
fi
1851
 
eval ac_res=\$$3
1852
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853
 
$as_echo "$ac_res" >&6; }
1854
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855
 
 
1856
 
} # ac_fn_c_check_header_compile
1857
 
 
1858
 
# ac_fn_c_try_cpp LINENO
1859
 
# ----------------------
1860
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1861
 
ac_fn_c_try_cpp ()
1862
 
{
1863
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1865
 
case "(($ac_try" in
1866
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867
 
  *) ac_try_echo=$ac_try;;
1868
 
esac
1869
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870
 
$as_echo "$ac_try_echo"; } >&5
1871
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1872
 
  ac_status=$?
1873
 
  if test -s conftest.err; then
1874
 
    grep -v '^ *+' conftest.err >conftest.er1
1875
 
    cat conftest.er1 >&5
1876
 
    mv -f conftest.er1 conftest.err
1877
 
  fi
1878
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879
 
  test $ac_status = 0; } > conftest.i && {
1880
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1881
 
         test ! -s conftest.err
1882
 
       }; then :
1883
 
  ac_retval=0
1884
 
else
1885
 
  $as_echo "$as_me: failed program was:" >&5
1886
 
sed 's/^/| /' conftest.$ac_ext >&5
1887
 
 
1888
 
    ac_retval=1
1889
 
fi
1890
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891
 
  as_fn_set_status $ac_retval
1892
 
 
1893
 
} # ac_fn_c_try_cpp
1894
 
 
1895
 
# ac_fn_c_try_run LINENO
1896
 
# ----------------------
1897
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1898
 
# that executables *can* be run.
1899
 
ac_fn_c_try_run ()
1900
 
{
1901
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902
 
  if { { ac_try="$ac_link"
1903
 
case "(($ac_try" in
1904
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905
 
  *) ac_try_echo=$ac_try;;
1906
 
esac
1907
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908
 
$as_echo "$ac_try_echo"; } >&5
1909
 
  (eval "$ac_link") 2>&5
1910
 
  ac_status=$?
1911
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1913
 
  { { case "(($ac_try" in
1914
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915
 
  *) ac_try_echo=$ac_try;;
1916
 
esac
1917
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918
 
$as_echo "$ac_try_echo"; } >&5
1919
 
  (eval "$ac_try") 2>&5
1920
 
  ac_status=$?
1921
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922
 
  test $ac_status = 0; }; }; then :
1923
 
  ac_retval=0
1924
 
else
1925
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1926
 
       $as_echo "$as_me: failed program was:" >&5
1927
 
sed 's/^/| /' conftest.$ac_ext >&5
1928
 
 
1929
 
       ac_retval=$ac_status
1930
 
fi
1931
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1932
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933
 
  as_fn_set_status $ac_retval
1934
 
 
1935
 
} # ac_fn_c_try_run
1936
 
 
1937
 
# ac_fn_c_check_func LINENO FUNC VAR
1938
 
# ----------------------------------
1939
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1940
 
ac_fn_c_check_func ()
1941
 
{
1942
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944
 
$as_echo_n "checking for $2... " >&6; }
1945
 
if eval \${$3+:} false; then :
1946
 
  $as_echo_n "(cached) " >&6
1947
 
else
1948
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949
 
/* end confdefs.h.  */
1950
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1951
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1952
 
#define $2 innocuous_$2
1953
 
 
1954
 
/* System header to define __stub macros and hopefully few prototypes,
1955
 
    which can conflict with char $2 (); below.
1956
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1957
 
    <limits.h> exists even on freestanding compilers.  */
1958
 
 
1959
 
#ifdef __STDC__
1960
 
# include <limits.h>
1961
 
#else
1962
 
# include <assert.h>
1963
 
#endif
1964
 
 
1965
 
#undef $2
1966
 
 
1967
 
/* Override any GCC internal prototype to avoid an error.
1968
 
   Use char because int might match the return type of a GCC
1969
 
   builtin and then its argument prototype would still apply.  */
1970
 
#ifdef __cplusplus
1971
 
extern "C"
1972
 
#endif
1973
 
char $2 ();
1974
 
/* The GNU C library defines this for functions which it implements
1975
 
    to always fail with ENOSYS.  Some functions are actually named
1976
 
    something starting with __ and the normal name is an alias.  */
1977
 
#if defined __stub_$2 || defined __stub___$2
1978
 
choke me
1979
 
#endif
1980
 
 
1981
 
int
1982
 
main ()
1983
 
{
1984
 
return $2 ();
1985
 
  ;
1986
 
  return 0;
1987
 
}
1988
 
_ACEOF
1989
 
if ac_fn_c_try_link "$LINENO"; then :
1990
 
  eval "$3=yes"
1991
 
else
1992
 
  eval "$3=no"
1993
 
fi
1994
 
rm -f core conftest.err conftest.$ac_objext \
1995
 
    conftest$ac_exeext conftest.$ac_ext
1996
 
fi
1997
 
eval ac_res=\$$3
1998
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999
 
$as_echo "$ac_res" >&6; }
2000
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2001
 
 
2002
 
} # ac_fn_c_check_func
2003
 
 
2004
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2005
 
# -------------------------------------------------------
2006
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2007
 
# the include files in INCLUDES and setting the cache variable VAR
2008
 
# accordingly.
2009
 
ac_fn_c_check_header_mongrel ()
2010
 
{
2011
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012
 
  if eval \${$3+:} false; then :
2013
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014
 
$as_echo_n "checking for $2... " >&6; }
2015
 
if eval \${$3+:} false; then :
2016
 
  $as_echo_n "(cached) " >&6
2017
 
fi
2018
 
eval ac_res=\$$3
2019
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020
 
$as_echo "$ac_res" >&6; }
2021
 
else
2022
 
  # Is the header compilable?
2023
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2024
 
$as_echo_n "checking $2 usability... " >&6; }
2025
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026
 
/* end confdefs.h.  */
2027
 
$4
2028
 
#include <$2>
2029
 
_ACEOF
2030
 
if ac_fn_c_try_compile "$LINENO"; then :
2031
 
  ac_header_compiler=yes
2032
 
else
2033
 
  ac_header_compiler=no
2034
 
fi
2035
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2037
 
$as_echo "$ac_header_compiler" >&6; }
2038
 
 
2039
 
# Is the header present?
2040
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2041
 
$as_echo_n "checking $2 presence... " >&6; }
2042
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043
 
/* end confdefs.h.  */
2044
 
#include <$2>
2045
 
_ACEOF
2046
 
if ac_fn_c_try_cpp "$LINENO"; then :
2047
 
  ac_header_preproc=yes
2048
 
else
2049
 
  ac_header_preproc=no
2050
 
fi
2051
 
rm -f conftest.err conftest.i conftest.$ac_ext
2052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2053
 
$as_echo "$ac_header_preproc" >&6; }
2054
 
 
2055
 
# So?  What about this header?
2056
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2057
 
  yes:no: )
2058
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2059
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2060
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2061
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2062
 
    ;;
2063
 
  no:yes:* )
2064
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2065
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2066
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2067
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2068
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2069
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2070
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2071
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2072
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2073
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2074
 
( $as_echo "## ---------------------------------------------------------- ##
2075
 
## Report this to http://bugs.launchpad.net/indicator-appmenu ##
2076
 
## ---------------------------------------------------------- ##"
2077
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2078
 
    ;;
2079
 
esac
2080
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2081
 
$as_echo_n "checking for $2... " >&6; }
2082
 
if eval \${$3+:} false; then :
2083
 
  $as_echo_n "(cached) " >&6
2084
 
else
2085
 
  eval "$3=\$ac_header_compiler"
2086
 
fi
2087
 
eval ac_res=\$$3
2088
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089
 
$as_echo "$ac_res" >&6; }
2090
 
fi
2091
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2092
 
 
2093
 
} # ac_fn_c_check_header_mongrel
2094
 
cat >config.log <<_ACEOF
2095
 
This file contains any messages produced by compilers while
2096
 
running configure, to aid debugging if configure makes a mistake.
2097
 
 
2098
 
It was created by indicator-appmenu $as_me 12.10.3, which was
2099
 
generated by GNU Autoconf 2.69.  Invocation command line was
2100
 
 
2101
 
  $ $0 $@
2102
 
 
2103
 
_ACEOF
2104
 
exec 5>>config.log
2105
 
{
2106
 
cat <<_ASUNAME
2107
 
## --------- ##
2108
 
## Platform. ##
2109
 
## --------- ##
2110
 
 
2111
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2112
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2113
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2114
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2115
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2116
 
 
2117
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2118
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2119
 
 
2120
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2121
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2122
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2123
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2124
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2125
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2126
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2127
 
 
2128
 
_ASUNAME
2129
 
 
2130
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131
 
for as_dir in $PATH
2132
 
do
2133
 
  IFS=$as_save_IFS
2134
 
  test -z "$as_dir" && as_dir=.
2135
 
    $as_echo "PATH: $as_dir"
2136
 
  done
2137
 
IFS=$as_save_IFS
2138
 
 
2139
 
} >&5
2140
 
 
2141
 
cat >&5 <<_ACEOF
2142
 
 
2143
 
 
2144
 
## ----------- ##
2145
 
## Core tests. ##
2146
 
## ----------- ##
2147
 
 
2148
 
_ACEOF
2149
 
 
2150
 
 
2151
 
# Keep a trace of the command line.
2152
 
# Strip out --no-create and --no-recursion so they do not pile up.
2153
 
# Strip out --silent because we don't want to record it for future runs.
2154
 
# Also quote any args containing shell meta-characters.
2155
 
# Make two passes to allow for proper duplicate-argument suppression.
2156
 
ac_configure_args=
2157
 
ac_configure_args0=
2158
 
ac_configure_args1=
2159
 
ac_must_keep_next=false
2160
 
for ac_pass in 1 2
2161
 
do
2162
 
  for ac_arg
2163
 
  do
2164
 
    case $ac_arg in
2165
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2166
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2167
 
    | -silent | --silent | --silen | --sile | --sil)
2168
 
      continue ;;
2169
 
    *\'*)
2170
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2171
 
    esac
2172
 
    case $ac_pass in
2173
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2174
 
    2)
2175
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2176
 
      if test $ac_must_keep_next = true; then
2177
 
        ac_must_keep_next=false # Got value, back to normal.
2178
 
      else
2179
 
        case $ac_arg in
2180
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2181
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2182
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2183
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2184
 
            case "$ac_configure_args0 " in
2185
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2186
 
            esac
2187
 
            ;;
2188
 
          -* ) ac_must_keep_next=true ;;
2189
 
        esac
2190
 
      fi
2191
 
      as_fn_append ac_configure_args " '$ac_arg'"
2192
 
      ;;
2193
 
    esac
2194
 
  done
2195
 
done
2196
 
{ ac_configure_args0=; unset ac_configure_args0;}
2197
 
{ ac_configure_args1=; unset ac_configure_args1;}
2198
 
 
2199
 
# When interrupted or exit'd, cleanup temporary files, and complete
2200
 
# config.log.  We remove comments because anyway the quotes in there
2201
 
# would cause problems or look ugly.
2202
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2203
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2204
 
trap 'exit_status=$?
2205
 
  # Save into config.log some information that might help in debugging.
2206
 
  {
2207
 
    echo
2208
 
 
2209
 
    $as_echo "## ---------------- ##
2210
 
## Cache variables. ##
2211
 
## ---------------- ##"
2212
 
    echo
2213
 
    # The following way of writing the cache mishandles newlines in values,
2214
 
(
2215
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2216
 
    eval ac_val=\$$ac_var
2217
 
    case $ac_val in #(
2218
 
    *${as_nl}*)
2219
 
      case $ac_var in #(
2220
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2221
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2222
 
      esac
2223
 
      case $ac_var in #(
2224
 
      _ | IFS | as_nl) ;; #(
2225
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2226
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2227
 
      esac ;;
2228
 
    esac
2229
 
  done
2230
 
  (set) 2>&1 |
2231
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2232
 
    *${as_nl}ac_space=\ *)
2233
 
      sed -n \
2234
 
        "s/'\''/'\''\\\\'\'''\''/g;
2235
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2236
 
      ;; #(
2237
 
    *)
2238
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2239
 
      ;;
2240
 
    esac |
2241
 
    sort
2242
 
)
2243
 
    echo
2244
 
 
2245
 
    $as_echo "## ----------------- ##
2246
 
## Output variables. ##
2247
 
## ----------------- ##"
2248
 
    echo
2249
 
    for ac_var in $ac_subst_vars
2250
 
    do
2251
 
      eval ac_val=\$$ac_var
2252
 
      case $ac_val in
2253
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2254
 
      esac
2255
 
      $as_echo "$ac_var='\''$ac_val'\''"
2256
 
    done | sort
2257
 
    echo
2258
 
 
2259
 
    if test -n "$ac_subst_files"; then
2260
 
      $as_echo "## ------------------- ##
2261
 
## File substitutions. ##
2262
 
## ------------------- ##"
2263
 
      echo
2264
 
      for ac_var in $ac_subst_files
2265
 
      do
2266
 
        eval ac_val=\$$ac_var
2267
 
        case $ac_val in
2268
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2269
 
        esac
2270
 
        $as_echo "$ac_var='\''$ac_val'\''"
2271
 
      done | sort
2272
 
      echo
2273
 
    fi
2274
 
 
2275
 
    if test -s confdefs.h; then
2276
 
      $as_echo "## ----------- ##
2277
 
## confdefs.h. ##
2278
 
## ----------- ##"
2279
 
      echo
2280
 
      cat confdefs.h
2281
 
      echo
2282
 
    fi
2283
 
    test "$ac_signal" != 0 &&
2284
 
      $as_echo "$as_me: caught signal $ac_signal"
2285
 
    $as_echo "$as_me: exit $exit_status"
2286
 
  } >&5
2287
 
  rm -f core *.core core.conftest.* &&
2288
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2289
 
    exit $exit_status
2290
 
' 0
2291
 
for ac_signal in 1 2 13 15; do
2292
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2293
 
done
2294
 
ac_signal=0
2295
 
 
2296
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2297
 
rm -f -r conftest* confdefs.h
2298
 
 
2299
 
$as_echo "/* confdefs.h */" > confdefs.h
2300
 
 
2301
 
# Predefined preprocessor variables.
2302
 
 
2303
 
cat >>confdefs.h <<_ACEOF
2304
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2305
 
_ACEOF
2306
 
 
2307
 
cat >>confdefs.h <<_ACEOF
2308
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2309
 
_ACEOF
2310
 
 
2311
 
cat >>confdefs.h <<_ACEOF
2312
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2313
 
_ACEOF
2314
 
 
2315
 
cat >>confdefs.h <<_ACEOF
2316
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2317
 
_ACEOF
2318
 
 
2319
 
cat >>confdefs.h <<_ACEOF
2320
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2321
 
_ACEOF
2322
 
 
2323
 
cat >>confdefs.h <<_ACEOF
2324
 
#define PACKAGE_URL "$PACKAGE_URL"
2325
 
_ACEOF
2326
 
 
2327
 
 
2328
 
# Let the site file select an alternate cache file if it wants to.
2329
 
# Prefer an explicitly selected file to automatically selected ones.
2330
 
ac_site_file1=NONE
2331
 
ac_site_file2=NONE
2332
 
if test -n "$CONFIG_SITE"; then
2333
 
  # We do not want a PATH search for config.site.
2334
 
  case $CONFIG_SITE in #((
2335
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2336
 
    */*) ac_site_file1=$CONFIG_SITE;;
2337
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2338
 
  esac
2339
 
elif test "x$prefix" != xNONE; then
2340
 
  ac_site_file1=$prefix/share/config.site
2341
 
  ac_site_file2=$prefix/etc/config.site
2342
 
else
2343
 
  ac_site_file1=$ac_default_prefix/share/config.site
2344
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2345
 
fi
2346
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2347
 
do
2348
 
  test "x$ac_site_file" = xNONE && continue
2349
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2350
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2351
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2352
 
    sed 's/^/| /' "$ac_site_file" >&5
2353
 
    . "$ac_site_file" \
2354
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2355
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2356
 
as_fn_error $? "failed to load site script $ac_site_file
2357
 
See \`config.log' for more details" "$LINENO" 5; }
2358
 
  fi
2359
 
done
2360
 
 
2361
 
if test -r "$cache_file"; then
2362
 
  # Some versions of bash will fail to source /dev/null (special files
2363
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2364
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2365
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2366
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2367
 
    case $cache_file in
2368
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2369
 
      *)                      . "./$cache_file";;
2370
 
    esac
2371
 
  fi
2372
 
else
2373
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2374
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2375
 
  >$cache_file
2376
 
fi
2377
 
 
2378
 
gt_needs="$gt_needs "
2379
 
# Check that the precious variables saved in the cache have kept the same
2380
 
# value.
2381
 
ac_cache_corrupted=false
2382
 
for ac_var in $ac_precious_vars; do
2383
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2384
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2385
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2386
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2387
 
  case $ac_old_set,$ac_new_set in
2388
 
    set,)
2389
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2390
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2391
 
      ac_cache_corrupted=: ;;
2392
 
    ,set)
2393
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2394
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2395
 
      ac_cache_corrupted=: ;;
2396
 
    ,);;
2397
 
    *)
2398
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2399
 
        # differences in whitespace do not lead to failure.
2400
 
        ac_old_val_w=`echo x $ac_old_val`
2401
 
        ac_new_val_w=`echo x $ac_new_val`
2402
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2403
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2404
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2405
 
          ac_cache_corrupted=:
2406
 
        else
2407
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2408
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2409
 
          eval $ac_var=\$ac_old_val
2410
 
        fi
2411
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2412
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2413
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2414
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2415
 
      fi;;
2416
 
  esac
2417
 
  # Pass precious variables to config.status.
2418
 
  if test "$ac_new_set" = set; then
2419
 
    case $ac_new_val in
2420
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2421
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2422
 
    esac
2423
 
    case " $ac_configure_args " in
2424
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2425
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2426
 
    esac
2427
 
  fi
2428
 
done
2429
 
if $ac_cache_corrupted; then
2430
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2433
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2434
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2435
 
fi
2436
 
## -------------------- ##
2437
 
## Main body of script. ##
2438
 
## -------------------- ##
2439
 
 
2440
 
ac_ext=c
2441
 
ac_cpp='$CPP $CPPFLAGS'
2442
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2445
 
 
2446
 
 
2447
 
 
2448
 
 
2449
 
 
2450
 
 
2451
 
 
2452
 
ac_config_headers="$ac_config_headers config.h"
2453
 
 
2454
 
 
2455
 
 
2456
 
 
2457
 
am__api_version='1.11'
2458
 
 
2459
 
ac_aux_dir=
2460
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461
 
  if test -f "$ac_dir/install-sh"; then
2462
 
    ac_aux_dir=$ac_dir
2463
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2464
 
    break
2465
 
  elif test -f "$ac_dir/install.sh"; then
2466
 
    ac_aux_dir=$ac_dir
2467
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2468
 
    break
2469
 
  elif test -f "$ac_dir/shtool"; then
2470
 
    ac_aux_dir=$ac_dir
2471
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2472
 
    break
2473
 
  fi
2474
 
done
2475
 
if test -z "$ac_aux_dir"; then
2476
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2477
 
fi
2478
 
 
2479
 
# These three variables are undocumented and unsupported,
2480
 
# and are intended to be withdrawn in a future Autoconf release.
2481
 
# They can cause serious problems if a builder's source tree is in a directory
2482
 
# whose full name contains unusual characters.
2483
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2484
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2485
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2486
 
 
2487
 
 
2488
 
# Find a good install program.  We prefer a C program (faster),
2489
 
# so one script is as good as another.  But avoid the broken or
2490
 
# incompatible versions:
2491
 
# SysV /etc/install, /usr/sbin/install
2492
 
# SunOS /usr/etc/install
2493
 
# IRIX /sbin/install
2494
 
# AIX /bin/install
2495
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2496
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499
 
# OS/2's system install, which has a completely different semantic
2500
 
# ./install, which can be erroneously created by make from ./install.sh.
2501
 
# Reject install programs that cannot install multiple files.
2502
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2504
 
if test -z "$INSTALL"; then
2505
 
if ${ac_cv_path_install+:} false; then :
2506
 
  $as_echo_n "(cached) " >&6
2507
 
else
2508
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509
 
for as_dir in $PATH
2510
 
do
2511
 
  IFS=$as_save_IFS
2512
 
  test -z "$as_dir" && as_dir=.
2513
 
    # Account for people who put trailing slashes in PATH elements.
2514
 
case $as_dir/ in #((
2515
 
  ./ | .// | /[cC]/* | \
2516
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2517
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2518
 
  /usr/ucb/* ) ;;
2519
 
  *)
2520
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2521
 
    # Don't use installbsd from OSF since it installs stuff as root
2522
 
    # by default.
2523
 
    for ac_prog in ginstall scoinst install; do
2524
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2525
 
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526
 
          if test $ac_prog = install &&
2527
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528
 
            # AIX install.  It has an incompatible calling convention.
2529
 
            :
2530
 
          elif test $ac_prog = install &&
2531
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2532
 
            # program-specific install script used by HP pwplus--don't use.
2533
 
            :
2534
 
          else
2535
 
            rm -rf conftest.one conftest.two conftest.dir
2536
 
            echo one > conftest.one
2537
 
            echo two > conftest.two
2538
 
            mkdir conftest.dir
2539
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2540
 
              test -s conftest.one && test -s conftest.two &&
2541
 
              test -s conftest.dir/conftest.one &&
2542
 
              test -s conftest.dir/conftest.two
2543
 
            then
2544
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2545
 
              break 3
2546
 
            fi
2547
 
          fi
2548
 
        fi
2549
 
      done
2550
 
    done
2551
 
    ;;
2552
 
esac
2553
 
 
2554
 
  done
2555
 
IFS=$as_save_IFS
2556
 
 
2557
 
rm -rf conftest.one conftest.two conftest.dir
2558
 
 
2559
 
fi
2560
 
  if test "${ac_cv_path_install+set}" = set; then
2561
 
    INSTALL=$ac_cv_path_install
2562
 
  else
2563
 
    # As a last resort, use the slow shell script.  Don't cache a
2564
 
    # value for INSTALL within a source directory, because that will
2565
 
    # break other packages using the cache if that directory is
2566
 
    # removed, or if the value is a relative name.
2567
 
    INSTALL=$ac_install_sh
2568
 
  fi
2569
 
fi
2570
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571
 
$as_echo "$INSTALL" >&6; }
2572
 
 
2573
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574
 
# It thinks the first close brace ends the variable substitution.
2575
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2576
 
 
2577
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2578
 
 
2579
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2580
 
 
2581
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2583
 
# Just in case
2584
 
sleep 1
2585
 
echo timestamp > conftest.file
2586
 
# Reject unsafe characters in $srcdir or the absolute working directory
2587
 
# name.  Accept space and tab only in the latter.
2588
 
am_lf='
2589
 
'
2590
 
case `pwd` in
2591
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2592
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2593
 
esac
2594
 
case $srcdir in
2595
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2596
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2597
 
esac
2598
 
 
2599
 
# Do `set' in a subshell so we don't clobber the current shell's
2600
 
# arguments.  Must try -L first in case configure is actually a
2601
 
# symlink; some systems play weird games with the mod time of symlinks
2602
 
# (eg FreeBSD returns the mod time of the symlink's containing
2603
 
# directory).
2604
 
if (
2605
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606
 
   if test "$*" = "X"; then
2607
 
      # -L didn't work.
2608
 
      set X `ls -t "$srcdir/configure" conftest.file`
2609
 
   fi
2610
 
   rm -f conftest.file
2611
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2612
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2613
 
 
2614
 
      # If neither matched, then we have a broken ls.  This can happen
2615
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2616
 
      # broken ls alias from the environment.  This has actually
2617
 
      # happened.  Such a system could not be considered "sane".
2618
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2619
 
alias in your environment" "$LINENO" 5
2620
 
   fi
2621
 
 
2622
 
   test "$2" = conftest.file
2623
 
   )
2624
 
then
2625
 
   # Ok.
2626
 
   :
2627
 
else
2628
 
   as_fn_error $? "newly created file is older than distributed files!
2629
 
Check your system clock" "$LINENO" 5
2630
 
fi
2631
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632
 
$as_echo "yes" >&6; }
2633
 
test "$program_prefix" != NONE &&
2634
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2635
 
# Use a double $ so make ignores it.
2636
 
test "$program_suffix" != NONE &&
2637
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2638
 
# Double any \ or $.
2639
 
# By default was `s,x,x', remove it if useless.
2640
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2641
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2642
 
 
2643
 
# expand $ac_aux_dir to an absolute path
2644
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2645
 
 
2646
 
if test x"${MISSING+set}" != xset; then
2647
 
  case $am_aux_dir in
2648
 
  *\ * | *\     *)
2649
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2650
 
  *)
2651
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2652
 
  esac
2653
 
fi
2654
 
# Use eval to expand $SHELL
2655
 
if eval "$MISSING --run true"; then
2656
 
  am_missing_run="$MISSING --run "
2657
 
else
2658
 
  am_missing_run=
2659
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2660
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2661
 
fi
2662
 
 
2663
 
if test x"${install_sh}" != xset; then
2664
 
  case $am_aux_dir in
2665
 
  *\ * | *\     *)
2666
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2667
 
  *)
2668
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2669
 
  esac
2670
 
fi
2671
 
 
2672
 
# Installed binaries are usually stripped using `strip' when the user
2673
 
# run `make install-strip'.  However `strip' might not be the right
2674
 
# tool to use in cross-compilation environments, therefore Automake
2675
 
# will honor the `STRIP' environment variable to overrule this program.
2676
 
if test "$cross_compiling" != no; then
2677
 
  if test -n "$ac_tool_prefix"; then
2678
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2679
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681
 
$as_echo_n "checking for $ac_word... " >&6; }
2682
 
if ${ac_cv_prog_STRIP+:} false; then :
2683
 
  $as_echo_n "(cached) " >&6
2684
 
else
2685
 
  if test -n "$STRIP"; then
2686
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2687
 
else
2688
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689
 
for as_dir in $PATH
2690
 
do
2691
 
  IFS=$as_save_IFS
2692
 
  test -z "$as_dir" && as_dir=.
2693
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2694
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2696
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697
 
    break 2
2698
 
  fi
2699
 
done
2700
 
  done
2701
 
IFS=$as_save_IFS
2702
 
 
2703
 
fi
2704
 
fi
2705
 
STRIP=$ac_cv_prog_STRIP
2706
 
if test -n "$STRIP"; then
2707
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2708
 
$as_echo "$STRIP" >&6; }
2709
 
else
2710
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711
 
$as_echo "no" >&6; }
2712
 
fi
2713
 
 
2714
 
 
2715
 
fi
2716
 
if test -z "$ac_cv_prog_STRIP"; then
2717
 
  ac_ct_STRIP=$STRIP
2718
 
  # Extract the first word of "strip", so it can be a program name with args.
2719
 
set dummy strip; ac_word=$2
2720
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721
 
$as_echo_n "checking for $ac_word... " >&6; }
2722
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2723
 
  $as_echo_n "(cached) " >&6
2724
 
else
2725
 
  if test -n "$ac_ct_STRIP"; then
2726
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2727
 
else
2728
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729
 
for as_dir in $PATH
2730
 
do
2731
 
  IFS=$as_save_IFS
2732
 
  test -z "$as_dir" && as_dir=.
2733
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2734
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2735
 
    ac_cv_prog_ac_ct_STRIP="strip"
2736
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737
 
    break 2
2738
 
  fi
2739
 
done
2740
 
  done
2741
 
IFS=$as_save_IFS
2742
 
 
2743
 
fi
2744
 
fi
2745
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2746
 
if test -n "$ac_ct_STRIP"; then
2747
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2748
 
$as_echo "$ac_ct_STRIP" >&6; }
2749
 
else
2750
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751
 
$as_echo "no" >&6; }
2752
 
fi
2753
 
 
2754
 
  if test "x$ac_ct_STRIP" = x; then
2755
 
    STRIP=":"
2756
 
  else
2757
 
    case $cross_compiling:$ac_tool_warned in
2758
 
yes:)
2759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761
 
ac_tool_warned=yes ;;
2762
 
esac
2763
 
    STRIP=$ac_ct_STRIP
2764
 
  fi
2765
 
else
2766
 
  STRIP="$ac_cv_prog_STRIP"
2767
 
fi
2768
 
 
2769
 
fi
2770
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2771
 
 
2772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2773
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2774
 
if test -z "$MKDIR_P"; then
2775
 
  if ${ac_cv_path_mkdir+:} false; then :
2776
 
  $as_echo_n "(cached) " >&6
2777
 
else
2778
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2780
 
do
2781
 
  IFS=$as_save_IFS
2782
 
  test -z "$as_dir" && as_dir=.
2783
 
    for ac_prog in mkdir gmkdir; do
2784
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2785
 
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2786
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2787
 
             'mkdir (GNU coreutils) '* | \
2788
 
             'mkdir (coreutils) '* | \
2789
 
             'mkdir (fileutils) '4.1*)
2790
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2791
 
               break 3;;
2792
 
           esac
2793
 
         done
2794
 
       done
2795
 
  done
2796
 
IFS=$as_save_IFS
2797
 
 
2798
 
fi
2799
 
 
2800
 
  test -d ./--version && rmdir ./--version
2801
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2802
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2803
 
  else
2804
 
    # As a last resort, use the slow shell script.  Don't cache a
2805
 
    # value for MKDIR_P within a source directory, because that will
2806
 
    # break other packages using the cache if that directory is
2807
 
    # removed, or if the value is a relative name.
2808
 
    MKDIR_P="$ac_install_sh -d"
2809
 
  fi
2810
 
fi
2811
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2812
 
$as_echo "$MKDIR_P" >&6; }
2813
 
 
2814
 
mkdir_p="$MKDIR_P"
2815
 
case $mkdir_p in
2816
 
  [\\/$]* | ?:[\\/]*) ;;
2817
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2818
 
esac
2819
 
 
2820
 
for ac_prog in gawk mawk nawk awk
2821
 
do
2822
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2823
 
set dummy $ac_prog; ac_word=$2
2824
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825
 
$as_echo_n "checking for $ac_word... " >&6; }
2826
 
if ${ac_cv_prog_AWK+:} false; then :
2827
 
  $as_echo_n "(cached) " >&6
2828
 
else
2829
 
  if test -n "$AWK"; then
2830
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2831
 
else
2832
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833
 
for as_dir in $PATH
2834
 
do
2835
 
  IFS=$as_save_IFS
2836
 
  test -z "$as_dir" && as_dir=.
2837
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2838
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839
 
    ac_cv_prog_AWK="$ac_prog"
2840
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841
 
    break 2
2842
 
  fi
2843
 
done
2844
 
  done
2845
 
IFS=$as_save_IFS
2846
 
 
2847
 
fi
2848
 
fi
2849
 
AWK=$ac_cv_prog_AWK
2850
 
if test -n "$AWK"; then
2851
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2852
 
$as_echo "$AWK" >&6; }
2853
 
else
2854
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855
 
$as_echo "no" >&6; }
2856
 
fi
2857
 
 
2858
 
 
2859
 
  test -n "$AWK" && break
2860
 
done
2861
 
 
2862
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2863
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2864
 
set x ${MAKE-make}
2865
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2866
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2867
 
  $as_echo_n "(cached) " >&6
2868
 
else
2869
 
  cat >conftest.make <<\_ACEOF
2870
 
SHELL = /bin/sh
2871
 
all:
2872
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2873
 
_ACEOF
2874
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2875
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2876
 
  *@@@%%%=?*=@@@%%%*)
2877
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2878
 
  *)
2879
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2880
 
esac
2881
 
rm -f conftest.make
2882
 
fi
2883
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2884
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885
 
$as_echo "yes" >&6; }
2886
 
  SET_MAKE=
2887
 
else
2888
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889
 
$as_echo "no" >&6; }
2890
 
  SET_MAKE="MAKE=${MAKE-make}"
2891
 
fi
2892
 
 
2893
 
rm -rf .tst 2>/dev/null
2894
 
mkdir .tst 2>/dev/null
2895
 
if test -d .tst; then
2896
 
  am__leading_dot=.
2897
 
else
2898
 
  am__leading_dot=_
2899
 
fi
2900
 
rmdir .tst 2>/dev/null
2901
 
 
2902
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2903
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2904
 
  # is not polluted with repeated "-I."
2905
 
  am__isrc=' -I$(srcdir)'
2906
 
  # test to see if srcdir already configured
2907
 
  if test -f $srcdir/config.status; then
2908
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2909
 
  fi
2910
 
fi
2911
 
 
2912
 
# test whether we have cygpath
2913
 
if test -z "$CYGPATH_W"; then
2914
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2915
 
    CYGPATH_W='cygpath -w'
2916
 
  else
2917
 
    CYGPATH_W=echo
2918
 
  fi
2919
 
fi
2920
 
 
2921
 
 
2922
 
# Define the identity of the package.
2923
 
 PACKAGE='indicator-appmenu'
2924
 
 VERSION='12.10.3'
2925
 
 
2926
 
 
2927
 
cat >>confdefs.h <<_ACEOF
2928
 
#define PACKAGE "$PACKAGE"
2929
 
_ACEOF
2930
 
 
2931
 
 
2932
 
cat >>confdefs.h <<_ACEOF
2933
 
#define VERSION "$VERSION"
2934
 
_ACEOF
2935
 
 
2936
 
# Some tools Automake needs.
2937
 
 
2938
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2939
 
 
2940
 
 
2941
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2942
 
 
2943
 
 
2944
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2945
 
 
2946
 
 
2947
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2948
 
 
2949
 
 
2950
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2951
 
 
2952
 
# We need awk for the "check" target.  The system "awk" is bad on
2953
 
# some platforms.
2954
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
2955
 
# in the wild :-(  We should find a proper way to deprecate it ...
2956
 
AMTAR='$${TAR-tar}'
2957
 
 
2958
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2959
 
 
2960
 
 
2961
 
 
2962
 
 
2963
 
 
2964
 
 
2965
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2966
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2967
 
    # Check whether --enable-maintainer-mode was given.
2968
 
if test "${enable_maintainer_mode+set}" = set; then :
2969
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2970
 
else
2971
 
  USE_MAINTAINER_MODE=yes
2972
 
fi
2973
 
 
2974
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2975
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2976
 
   if test $USE_MAINTAINER_MODE = yes; then
2977
 
  MAINTAINER_MODE_TRUE=
2978
 
  MAINTAINER_MODE_FALSE='#'
2979
 
else
2980
 
  MAINTAINER_MODE_TRUE='#'
2981
 
  MAINTAINER_MODE_FALSE=
2982
 
fi
2983
 
 
2984
 
  MAINT=$MAINTAINER_MODE_TRUE
2985
 
 
2986
 
 
2987
 
 
2988
 
# Check whether --enable-silent-rules was given.
2989
 
if test "${enable_silent_rules+set}" = set; then :
2990
 
  enableval=$enable_silent_rules;
2991
 
fi
2992
 
 
2993
 
case $enable_silent_rules in
2994
 
yes) AM_DEFAULT_VERBOSITY=0;;
2995
 
no)  AM_DEFAULT_VERBOSITY=1;;
2996
 
*)   AM_DEFAULT_VERBOSITY=0;;
2997
 
esac
2998
 
am_make=${MAKE-make}
2999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3000
 
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3001
 
if ${am_cv_make_support_nested_variables+:} false; then :
3002
 
  $as_echo_n "(cached) " >&6
3003
 
else
3004
 
  if $as_echo 'TRUE=$(BAR$(V))
3005
 
BAR0=false
3006
 
BAR1=true
3007
 
V=1
3008
 
am__doit:
3009
 
        @$(TRUE)
3010
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3011
 
  am_cv_make_support_nested_variables=yes
3012
 
else
3013
 
  am_cv_make_support_nested_variables=no
3014
 
fi
3015
 
fi
3016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3017
 
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3018
 
if test $am_cv_make_support_nested_variables = yes; then
3019
 
    AM_V='$(V)'
3020
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3021
 
else
3022
 
  AM_V=$AM_DEFAULT_VERBOSITY
3023
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3024
 
fi
3025
 
AM_BACKSLASH='\'
3026
 
 
3027
 
 
3028
 
# Check for programs
3029
 
ac_ext=c
3030
 
ac_cpp='$CPP $CPPFLAGS'
3031
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3034
 
if test -n "$ac_tool_prefix"; then
3035
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3036
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038
 
$as_echo_n "checking for $ac_word... " >&6; }
3039
 
if ${ac_cv_prog_CC+:} false; then :
3040
 
  $as_echo_n "(cached) " >&6
3041
 
else
3042
 
  if test -n "$CC"; then
3043
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3044
 
else
3045
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046
 
for as_dir in $PATH
3047
 
do
3048
 
  IFS=$as_save_IFS
3049
 
  test -z "$as_dir" && as_dir=.
3050
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3051
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3052
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3053
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054
 
    break 2
3055
 
  fi
3056
 
done
3057
 
  done
3058
 
IFS=$as_save_IFS
3059
 
 
3060
 
fi
3061
 
fi
3062
 
CC=$ac_cv_prog_CC
3063
 
if test -n "$CC"; then
3064
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3065
 
$as_echo "$CC" >&6; }
3066
 
else
3067
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068
 
$as_echo "no" >&6; }
3069
 
fi
3070
 
 
3071
 
 
3072
 
fi
3073
 
if test -z "$ac_cv_prog_CC"; then
3074
 
  ac_ct_CC=$CC
3075
 
  # Extract the first word of "gcc", so it can be a program name with args.
3076
 
set dummy gcc; ac_word=$2
3077
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
 
$as_echo_n "checking for $ac_word... " >&6; }
3079
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3080
 
  $as_echo_n "(cached) " >&6
3081
 
else
3082
 
  if test -n "$ac_ct_CC"; then
3083
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3084
 
else
3085
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086
 
for as_dir in $PATH
3087
 
do
3088
 
  IFS=$as_save_IFS
3089
 
  test -z "$as_dir" && as_dir=.
3090
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3091
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3092
 
    ac_cv_prog_ac_ct_CC="gcc"
3093
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094
 
    break 2
3095
 
  fi
3096
 
done
3097
 
  done
3098
 
IFS=$as_save_IFS
3099
 
 
3100
 
fi
3101
 
fi
3102
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3103
 
if test -n "$ac_ct_CC"; then
3104
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3105
 
$as_echo "$ac_ct_CC" >&6; }
3106
 
else
3107
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108
 
$as_echo "no" >&6; }
3109
 
fi
3110
 
 
3111
 
  if test "x$ac_ct_CC" = x; then
3112
 
    CC=""
3113
 
  else
3114
 
    case $cross_compiling:$ac_tool_warned in
3115
 
yes:)
3116
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3117
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3118
 
ac_tool_warned=yes ;;
3119
 
esac
3120
 
    CC=$ac_ct_CC
3121
 
  fi
3122
 
else
3123
 
  CC="$ac_cv_prog_CC"
3124
 
fi
3125
 
 
3126
 
if test -z "$CC"; then
3127
 
          if test -n "$ac_tool_prefix"; then
3128
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3129
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131
 
$as_echo_n "checking for $ac_word... " >&6; }
3132
 
if ${ac_cv_prog_CC+:} false; then :
3133
 
  $as_echo_n "(cached) " >&6
3134
 
else
3135
 
  if test -n "$CC"; then
3136
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3137
 
else
3138
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139
 
for as_dir in $PATH
3140
 
do
3141
 
  IFS=$as_save_IFS
3142
 
  test -z "$as_dir" && as_dir=.
3143
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3144
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3146
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147
 
    break 2
3148
 
  fi
3149
 
done
3150
 
  done
3151
 
IFS=$as_save_IFS
3152
 
 
3153
 
fi
3154
 
fi
3155
 
CC=$ac_cv_prog_CC
3156
 
if test -n "$CC"; then
3157
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158
 
$as_echo "$CC" >&6; }
3159
 
else
3160
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161
 
$as_echo "no" >&6; }
3162
 
fi
3163
 
 
3164
 
 
3165
 
  fi
3166
 
fi
3167
 
if test -z "$CC"; then
3168
 
  # Extract the first word of "cc", so it can be a program name with args.
3169
 
set dummy cc; ac_word=$2
3170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171
 
$as_echo_n "checking for $ac_word... " >&6; }
3172
 
if ${ac_cv_prog_CC+:} false; then :
3173
 
  $as_echo_n "(cached) " >&6
3174
 
else
3175
 
  if test -n "$CC"; then
3176
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3177
 
else
3178
 
  ac_prog_rejected=no
3179
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180
 
for as_dir in $PATH
3181
 
do
3182
 
  IFS=$as_save_IFS
3183
 
  test -z "$as_dir" && as_dir=.
3184
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3185
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3186
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3187
 
       ac_prog_rejected=yes
3188
 
       continue
3189
 
     fi
3190
 
    ac_cv_prog_CC="cc"
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
 
if test $ac_prog_rejected = yes; then
3199
 
  # We found a bogon in the path, so make sure we never use it.
3200
 
  set dummy $ac_cv_prog_CC
3201
 
  shift
3202
 
  if test $# != 0; then
3203
 
    # We chose a different compiler from the bogus one.
3204
 
    # However, it has the same basename, so the bogon will be chosen
3205
 
    # first if we set CC to just the basename; use the full file name.
3206
 
    shift
3207
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3208
 
  fi
3209
 
fi
3210
 
fi
3211
 
fi
3212
 
CC=$ac_cv_prog_CC
3213
 
if test -n "$CC"; then
3214
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3215
 
$as_echo "$CC" >&6; }
3216
 
else
3217
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218
 
$as_echo "no" >&6; }
3219
 
fi
3220
 
 
3221
 
 
3222
 
fi
3223
 
if test -z "$CC"; then
3224
 
  if test -n "$ac_tool_prefix"; then
3225
 
  for ac_prog in cl.exe
3226
 
  do
3227
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3228
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230
 
$as_echo_n "checking for $ac_word... " >&6; }
3231
 
if ${ac_cv_prog_CC+:} false; then :
3232
 
  $as_echo_n "(cached) " >&6
3233
 
else
3234
 
  if test -n "$CC"; then
3235
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3236
 
else
3237
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238
 
for as_dir in $PATH
3239
 
do
3240
 
  IFS=$as_save_IFS
3241
 
  test -z "$as_dir" && as_dir=.
3242
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3243
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3245
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246
 
    break 2
3247
 
  fi
3248
 
done
3249
 
  done
3250
 
IFS=$as_save_IFS
3251
 
 
3252
 
fi
3253
 
fi
3254
 
CC=$ac_cv_prog_CC
3255
 
if test -n "$CC"; then
3256
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3257
 
$as_echo "$CC" >&6; }
3258
 
else
3259
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260
 
$as_echo "no" >&6; }
3261
 
fi
3262
 
 
3263
 
 
3264
 
    test -n "$CC" && break
3265
 
  done
3266
 
fi
3267
 
if test -z "$CC"; then
3268
 
  ac_ct_CC=$CC
3269
 
  for ac_prog in cl.exe
3270
 
do
3271
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3272
 
set dummy $ac_prog; ac_word=$2
3273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274
 
$as_echo_n "checking for $ac_word... " >&6; }
3275
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3276
 
  $as_echo_n "(cached) " >&6
3277
 
else
3278
 
  if test -n "$ac_ct_CC"; then
3279
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3280
 
else
3281
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282
 
for as_dir in $PATH
3283
 
do
3284
 
  IFS=$as_save_IFS
3285
 
  test -z "$as_dir" && as_dir=.
3286
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3287
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
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
 
fi
3297
 
fi
3298
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3299
 
if test -n "$ac_ct_CC"; then
3300
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3301
 
$as_echo "$ac_ct_CC" >&6; }
3302
 
else
3303
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304
 
$as_echo "no" >&6; }
3305
 
fi
3306
 
 
3307
 
 
3308
 
  test -n "$ac_ct_CC" && break
3309
 
done
3310
 
 
3311
 
  if test "x$ac_ct_CC" = x; then
3312
 
    CC=""
3313
 
  else
3314
 
    case $cross_compiling:$ac_tool_warned in
3315
 
yes:)
3316
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3317
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3318
 
ac_tool_warned=yes ;;
3319
 
esac
3320
 
    CC=$ac_ct_CC
3321
 
  fi
3322
 
fi
3323
 
 
3324
 
fi
3325
 
 
3326
 
 
3327
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3330
 
See \`config.log' for more details" "$LINENO" 5; }
3331
 
 
3332
 
# Provide some information about the compiler.
3333
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3334
 
set X $ac_compile
3335
 
ac_compiler=$2
3336
 
for ac_option in --version -v -V -qversion; do
3337
 
  { { ac_try="$ac_compiler $ac_option >&5"
3338
 
case "(($ac_try" in
3339
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340
 
  *) ac_try_echo=$ac_try;;
3341
 
esac
3342
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343
 
$as_echo "$ac_try_echo"; } >&5
3344
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3345
 
  ac_status=$?
3346
 
  if test -s conftest.err; then
3347
 
    sed '10a\
3348
 
... rest of stderr output deleted ...
3349
 
         10q' conftest.err >conftest.er1
3350
 
    cat conftest.er1 >&5
3351
 
  fi
3352
 
  rm -f conftest.er1 conftest.err
3353
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3354
 
  test $ac_status = 0; }
3355
 
done
3356
 
 
3357
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358
 
/* end confdefs.h.  */
3359
 
 
3360
 
int
3361
 
main ()
3362
 
{
3363
 
 
3364
 
  ;
3365
 
  return 0;
3366
 
}
3367
 
_ACEOF
3368
 
ac_clean_files_save=$ac_clean_files
3369
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3370
 
# Try to create an executable without -o first, disregard a.out.
3371
 
# It will help us diagnose broken compilers, and finding out an intuition
3372
 
# of exeext.
3373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3374
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3375
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3376
 
 
3377
 
# The possible output files:
3378
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3379
 
 
3380
 
ac_rmfiles=
3381
 
for ac_file in $ac_files
3382
 
do
3383
 
  case $ac_file in
3384
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3385
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3386
 
  esac
3387
 
done
3388
 
rm -f $ac_rmfiles
3389
 
 
3390
 
if { { ac_try="$ac_link_default"
3391
 
case "(($ac_try" in
3392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393
 
  *) ac_try_echo=$ac_try;;
3394
 
esac
3395
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396
 
$as_echo "$ac_try_echo"; } >&5
3397
 
  (eval "$ac_link_default") 2>&5
3398
 
  ac_status=$?
3399
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400
 
  test $ac_status = 0; }; then :
3401
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3402
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3403
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3404
 
# so that the user can short-circuit this test for compilers unknown to
3405
 
# Autoconf.
3406
 
for ac_file in $ac_files ''
3407
 
do
3408
 
  test -f "$ac_file" || continue
3409
 
  case $ac_file in
3410
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3411
 
        ;;
3412
 
    [ab].out )
3413
 
        # We found the default executable, but exeext='' is most
3414
 
        # certainly right.
3415
 
        break;;
3416
 
    *.* )
3417
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3418
 
        then :; else
3419
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3420
 
        fi
3421
 
        # We set ac_cv_exeext here because the later test for it is not
3422
 
        # safe: cross compilers may not add the suffix if given an `-o'
3423
 
        # argument, so we may need to know it at that point already.
3424
 
        # Even if this section looks crufty: it has the advantage of
3425
 
        # actually working.
3426
 
        break;;
3427
 
    * )
3428
 
        break;;
3429
 
  esac
3430
 
done
3431
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3432
 
 
3433
 
else
3434
 
  ac_file=''
3435
 
fi
3436
 
if test -z "$ac_file"; then :
3437
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438
 
$as_echo "no" >&6; }
3439
 
$as_echo "$as_me: failed program was:" >&5
3440
 
sed 's/^/| /' conftest.$ac_ext >&5
3441
 
 
3442
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444
 
as_fn_error 77 "C compiler cannot create executables
3445
 
See \`config.log' for more details" "$LINENO" 5; }
3446
 
else
3447
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3448
 
$as_echo "yes" >&6; }
3449
 
fi
3450
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3451
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3452
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3453
 
$as_echo "$ac_file" >&6; }
3454
 
ac_exeext=$ac_cv_exeext
3455
 
 
3456
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3457
 
ac_clean_files=$ac_clean_files_save
3458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3459
 
$as_echo_n "checking for suffix of executables... " >&6; }
3460
 
if { { ac_try="$ac_link"
3461
 
case "(($ac_try" in
3462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463
 
  *) ac_try_echo=$ac_try;;
3464
 
esac
3465
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3466
 
$as_echo "$ac_try_echo"; } >&5
3467
 
  (eval "$ac_link") 2>&5
3468
 
  ac_status=$?
3469
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470
 
  test $ac_status = 0; }; then :
3471
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3472
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3473
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3474
 
# `rm'.
3475
 
for ac_file in conftest.exe conftest conftest.*; do
3476
 
  test -f "$ac_file" || continue
3477
 
  case $ac_file in
3478
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3479
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3480
 
          break;;
3481
 
    * ) break;;
3482
 
  esac
3483
 
done
3484
 
else
3485
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3488
 
See \`config.log' for more details" "$LINENO" 5; }
3489
 
fi
3490
 
rm -f conftest conftest$ac_cv_exeext
3491
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3492
 
$as_echo "$ac_cv_exeext" >&6; }
3493
 
 
3494
 
rm -f conftest.$ac_ext
3495
 
EXEEXT=$ac_cv_exeext
3496
 
ac_exeext=$EXEEXT
3497
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498
 
/* end confdefs.h.  */
3499
 
#include <stdio.h>
3500
 
int
3501
 
main ()
3502
 
{
3503
 
FILE *f = fopen ("conftest.out", "w");
3504
 
 return ferror (f) || fclose (f) != 0;
3505
 
 
3506
 
  ;
3507
 
  return 0;
3508
 
}
3509
 
_ACEOF
3510
 
ac_clean_files="$ac_clean_files conftest.out"
3511
 
# Check that the compiler produces executables we can run.  If not, either
3512
 
# the compiler is broken, or we cross compile.
3513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3514
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3515
 
if test "$cross_compiling" != yes; then
3516
 
  { { ac_try="$ac_link"
3517
 
case "(($ac_try" in
3518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519
 
  *) ac_try_echo=$ac_try;;
3520
 
esac
3521
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522
 
$as_echo "$ac_try_echo"; } >&5
3523
 
  (eval "$ac_link") 2>&5
3524
 
  ac_status=$?
3525
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526
 
  test $ac_status = 0; }
3527
 
  if { ac_try='./conftest$ac_cv_exeext'
3528
 
  { { case "(($ac_try" in
3529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530
 
  *) ac_try_echo=$ac_try;;
3531
 
esac
3532
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533
 
$as_echo "$ac_try_echo"; } >&5
3534
 
  (eval "$ac_try") 2>&5
3535
 
  ac_status=$?
3536
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537
 
  test $ac_status = 0; }; }; then
3538
 
    cross_compiling=no
3539
 
  else
3540
 
    if test "$cross_compiling" = maybe; then
3541
 
        cross_compiling=yes
3542
 
    else
3543
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545
 
as_fn_error $? "cannot run C compiled programs.
3546
 
If you meant to cross compile, use \`--host'.
3547
 
See \`config.log' for more details" "$LINENO" 5; }
3548
 
    fi
3549
 
  fi
3550
 
fi
3551
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3552
 
$as_echo "$cross_compiling" >&6; }
3553
 
 
3554
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3555
 
ac_clean_files=$ac_clean_files_save
3556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3557
 
$as_echo_n "checking for suffix of object files... " >&6; }
3558
 
if ${ac_cv_objext+:} false; then :
3559
 
  $as_echo_n "(cached) " >&6
3560
 
else
3561
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562
 
/* end confdefs.h.  */
3563
 
 
3564
 
int
3565
 
main ()
3566
 
{
3567
 
 
3568
 
  ;
3569
 
  return 0;
3570
 
}
3571
 
_ACEOF
3572
 
rm -f conftest.o conftest.obj
3573
 
if { { ac_try="$ac_compile"
3574
 
case "(($ac_try" in
3575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576
 
  *) ac_try_echo=$ac_try;;
3577
 
esac
3578
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579
 
$as_echo "$ac_try_echo"; } >&5
3580
 
  (eval "$ac_compile") 2>&5
3581
 
  ac_status=$?
3582
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583
 
  test $ac_status = 0; }; then :
3584
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3585
 
  test -f "$ac_file" || continue;
3586
 
  case $ac_file in
3587
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3588
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3589
 
       break;;
3590
 
  esac
3591
 
done
3592
 
else
3593
 
  $as_echo "$as_me: failed program was:" >&5
3594
 
sed 's/^/| /' conftest.$ac_ext >&5
3595
 
 
3596
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3599
 
See \`config.log' for more details" "$LINENO" 5; }
3600
 
fi
3601
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3602
 
fi
3603
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3604
 
$as_echo "$ac_cv_objext" >&6; }
3605
 
OBJEXT=$ac_cv_objext
3606
 
ac_objext=$OBJEXT
3607
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3608
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3609
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3610
 
  $as_echo_n "(cached) " >&6
3611
 
else
3612
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613
 
/* end confdefs.h.  */
3614
 
 
3615
 
int
3616
 
main ()
3617
 
{
3618
 
#ifndef __GNUC__
3619
 
       choke me
3620
 
#endif
3621
 
 
3622
 
  ;
3623
 
  return 0;
3624
 
}
3625
 
_ACEOF
3626
 
if ac_fn_c_try_compile "$LINENO"; then :
3627
 
  ac_compiler_gnu=yes
3628
 
else
3629
 
  ac_compiler_gnu=no
3630
 
fi
3631
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3633
 
 
3634
 
fi
3635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3636
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3637
 
if test $ac_compiler_gnu = yes; then
3638
 
  GCC=yes
3639
 
else
3640
 
  GCC=
3641
 
fi
3642
 
ac_test_CFLAGS=${CFLAGS+set}
3643
 
ac_save_CFLAGS=$CFLAGS
3644
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3645
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3646
 
if ${ac_cv_prog_cc_g+:} false; then :
3647
 
  $as_echo_n "(cached) " >&6
3648
 
else
3649
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3650
 
   ac_c_werror_flag=yes
3651
 
   ac_cv_prog_cc_g=no
3652
 
   CFLAGS="-g"
3653
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654
 
/* end confdefs.h.  */
3655
 
 
3656
 
int
3657
 
main ()
3658
 
{
3659
 
 
3660
 
  ;
3661
 
  return 0;
3662
 
}
3663
 
_ACEOF
3664
 
if ac_fn_c_try_compile "$LINENO"; then :
3665
 
  ac_cv_prog_cc_g=yes
3666
 
else
3667
 
  CFLAGS=""
3668
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669
 
/* end confdefs.h.  */
3670
 
 
3671
 
int
3672
 
main ()
3673
 
{
3674
 
 
3675
 
  ;
3676
 
  return 0;
3677
 
}
3678
 
_ACEOF
3679
 
if ac_fn_c_try_compile "$LINENO"; then :
3680
 
 
3681
 
else
3682
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3683
 
         CFLAGS="-g"
3684
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685
 
/* end confdefs.h.  */
3686
 
 
3687
 
int
3688
 
main ()
3689
 
{
3690
 
 
3691
 
  ;
3692
 
  return 0;
3693
 
}
3694
 
_ACEOF
3695
 
if ac_fn_c_try_compile "$LINENO"; then :
3696
 
  ac_cv_prog_cc_g=yes
3697
 
fi
3698
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699
 
fi
3700
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3701
 
fi
3702
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3704
 
fi
3705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3706
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3707
 
if test "$ac_test_CFLAGS" = set; then
3708
 
  CFLAGS=$ac_save_CFLAGS
3709
 
elif test $ac_cv_prog_cc_g = yes; then
3710
 
  if test "$GCC" = yes; then
3711
 
    CFLAGS="-g -O2"
3712
 
  else
3713
 
    CFLAGS="-g"
3714
 
  fi
3715
 
else
3716
 
  if test "$GCC" = yes; then
3717
 
    CFLAGS="-O2"
3718
 
  else
3719
 
    CFLAGS=
3720
 
  fi
3721
 
fi
3722
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3723
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3724
 
if ${ac_cv_prog_cc_c89+:} false; then :
3725
 
  $as_echo_n "(cached) " >&6
3726
 
else
3727
 
  ac_cv_prog_cc_c89=no
3728
 
ac_save_CC=$CC
3729
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730
 
/* end confdefs.h.  */
3731
 
#include <stdarg.h>
3732
 
#include <stdio.h>
3733
 
struct stat;
3734
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3735
 
struct buf { int x; };
3736
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3737
 
static char *e (p, i)
3738
 
     char **p;
3739
 
     int i;
3740
 
{
3741
 
  return p[i];
3742
 
}
3743
 
static char *f (char * (*g) (char **, int), char **p, ...)
3744
 
{
3745
 
  char *s;
3746
 
  va_list v;
3747
 
  va_start (v,p);
3748
 
  s = g (p, va_arg (v,int));
3749
 
  va_end (v);
3750
 
  return s;
3751
 
}
3752
 
 
3753
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3754
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3755
 
   These don't provoke an error unfortunately, instead are silently treated
3756
 
   as 'x'.  The following induces an error, until -std is added to get
3757
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3758
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3759
 
   that's true only with -std.  */
3760
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3761
 
 
3762
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3763
 
   inside strings and character constants.  */
3764
 
#define FOO(x) 'x'
3765
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3766
 
 
3767
 
int test (int i, double x);
3768
 
struct s1 {int (*f) (int a);};
3769
 
struct s2 {int (*f) (double a);};
3770
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3771
 
int argc;
3772
 
char **argv;
3773
 
int
3774
 
main ()
3775
 
{
3776
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3777
 
  ;
3778
 
  return 0;
3779
 
}
3780
 
_ACEOF
3781
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3782
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3783
 
do
3784
 
  CC="$ac_save_CC $ac_arg"
3785
 
  if ac_fn_c_try_compile "$LINENO"; then :
3786
 
  ac_cv_prog_cc_c89=$ac_arg
3787
 
fi
3788
 
rm -f core conftest.err conftest.$ac_objext
3789
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3790
 
done
3791
 
rm -f conftest.$ac_ext
3792
 
CC=$ac_save_CC
3793
 
 
3794
 
fi
3795
 
# AC_CACHE_VAL
3796
 
case "x$ac_cv_prog_cc_c89" in
3797
 
  x)
3798
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3799
 
$as_echo "none needed" >&6; } ;;
3800
 
  xno)
3801
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3802
 
$as_echo "unsupported" >&6; } ;;
3803
 
  *)
3804
 
    CC="$CC $ac_cv_prog_cc_c89"
3805
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3806
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3807
 
esac
3808
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3809
 
 
3810
 
fi
3811
 
 
3812
 
ac_ext=c
3813
 
ac_cpp='$CPP $CPPFLAGS'
3814
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3817
 
DEPDIR="${am__leading_dot}deps"
3818
 
 
3819
 
ac_config_commands="$ac_config_commands depfiles"
3820
 
 
3821
 
 
3822
 
am_make=${MAKE-make}
3823
 
cat > confinc << 'END'
3824
 
am__doit:
3825
 
        @echo this is the am__doit target
3826
 
.PHONY: am__doit
3827
 
END
3828
 
# If we don't find an include directive, just comment out the code.
3829
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3830
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3831
 
am__include="#"
3832
 
am__quote=
3833
 
_am_result=none
3834
 
# First try GNU make style include.
3835
 
echo "include confinc" > confmf
3836
 
# Ignore all kinds of additional output from `make'.
3837
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3838
 
*the\ am__doit\ target*)
3839
 
  am__include=include
3840
 
  am__quote=
3841
 
  _am_result=GNU
3842
 
  ;;
3843
 
esac
3844
 
# Now try BSD make style include.
3845
 
if test "$am__include" = "#"; then
3846
 
   echo '.include "confinc"' > confmf
3847
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3848
 
   *the\ am__doit\ target*)
3849
 
     am__include=.include
3850
 
     am__quote="\""
3851
 
     _am_result=BSD
3852
 
     ;;
3853
 
   esac
3854
 
fi
3855
 
 
3856
 
 
3857
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3858
 
$as_echo "$_am_result" >&6; }
3859
 
rm -f confinc confmf
3860
 
 
3861
 
# Check whether --enable-dependency-tracking was given.
3862
 
if test "${enable_dependency_tracking+set}" = set; then :
3863
 
  enableval=$enable_dependency_tracking;
3864
 
fi
3865
 
 
3866
 
if test "x$enable_dependency_tracking" != xno; then
3867
 
  am_depcomp="$ac_aux_dir/depcomp"
3868
 
  AMDEPBACKSLASH='\'
3869
 
  am__nodep='_no'
3870
 
fi
3871
 
 if test "x$enable_dependency_tracking" != xno; then
3872
 
  AMDEP_TRUE=
3873
 
  AMDEP_FALSE='#'
3874
 
else
3875
 
  AMDEP_TRUE='#'
3876
 
  AMDEP_FALSE=
3877
 
fi
3878
 
 
3879
 
 
3880
 
 
3881
 
depcc="$CC"   am_compiler_list=
3882
 
 
3883
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3884
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3885
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3886
 
  $as_echo_n "(cached) " >&6
3887
 
else
3888
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3889
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3890
 
  # making bogus files that we don't know about and never remove.  For
3891
 
  # instance it was reported that on HP-UX the gcc test will end up
3892
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3893
 
  # in D'.
3894
 
  rm -rf conftest.dir
3895
 
  mkdir conftest.dir
3896
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3897
 
  # using a relative directory.
3898
 
  cp "$am_depcomp" conftest.dir
3899
 
  cd conftest.dir
3900
 
  # We will build objects and dependencies in a subdirectory because
3901
 
  # it helps to detect inapplicable dependency modes.  For instance
3902
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3903
 
  # side effect of compilation, but ICC will put the dependencies in
3904
 
  # the current directory while Tru64 will put them in the object
3905
 
  # directory.
3906
 
  mkdir sub
3907
 
 
3908
 
  am_cv_CC_dependencies_compiler_type=none
3909
 
  if test "$am_compiler_list" = ""; then
3910
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3911
 
  fi
3912
 
  am__universal=false
3913
 
  case " $depcc " in #(
3914
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3915
 
     esac
3916
 
 
3917
 
  for depmode in $am_compiler_list; do
3918
 
    # Setup a source with many dependencies, because some compilers
3919
 
    # like to wrap large dependency lists on column 80 (with \), and
3920
 
    # we should not choose a depcomp mode which is confused by this.
3921
 
    #
3922
 
    # We need to recreate these files for each test, as the compiler may
3923
 
    # overwrite some of them when testing with obscure command lines.
3924
 
    # This happens at least with the AIX C compiler.
3925
 
    : > sub/conftest.c
3926
 
    for i in 1 2 3 4 5 6; do
3927
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3928
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3929
 
      # Solaris 8's {/usr,}/bin/sh.
3930
 
      touch sub/conftst$i.h
3931
 
    done
3932
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3933
 
 
3934
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3935
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3936
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3937
 
    # versions had trouble with output in subdirs
3938
 
    am__obj=sub/conftest.${OBJEXT-o}
3939
 
    am__minus_obj="-o $am__obj"
3940
 
    case $depmode in
3941
 
    gcc)
3942
 
      # This depmode causes a compiler race in universal mode.
3943
 
      test "$am__universal" = false || continue
3944
 
      ;;
3945
 
    nosideeffect)
3946
 
      # after this tag, mechanisms are not by side-effect, so they'll
3947
 
      # only be used when explicitly requested
3948
 
      if test "x$enable_dependency_tracking" = xyes; then
3949
 
        continue
3950
 
      else
3951
 
        break
3952
 
      fi
3953
 
      ;;
3954
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3955
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3956
 
      # not run yet.  These depmodes are late enough in the game, and
3957
 
      # so weak that their functioning should not be impacted.
3958
 
      am__obj=conftest.${OBJEXT-o}
3959
 
      am__minus_obj=
3960
 
      ;;
3961
 
    none) break ;;
3962
 
    esac
3963
 
    if depmode=$depmode \
3964
 
       source=sub/conftest.c object=$am__obj \
3965
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3966
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3967
 
         >/dev/null 2>conftest.err &&
3968
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3969
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3970
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3971
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3972
 
      # icc doesn't choke on unknown options, it will just issue warnings
3973
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3974
 
      # that says an option was ignored or not supported.
3975
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3976
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3977
 
      # The diagnosis changed in icc 8.0:
3978
 
      #   icc: Command line remark: option '-MP' not supported
3979
 
      if (grep 'ignoring option' conftest.err ||
3980
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3981
 
        am_cv_CC_dependencies_compiler_type=$depmode
3982
 
        break
3983
 
      fi
3984
 
    fi
3985
 
  done
3986
 
 
3987
 
  cd ..
3988
 
  rm -rf conftest.dir
3989
 
else
3990
 
  am_cv_CC_dependencies_compiler_type=none
3991
 
fi
3992
 
 
3993
 
fi
3994
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3995
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3996
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3997
 
 
3998
 
 if
3999
 
  test "x$enable_dependency_tracking" != xno \
4000
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4001
 
  am__fastdepCC_TRUE=
4002
 
  am__fastdepCC_FALSE='#'
4003
 
else
4004
 
  am__fastdepCC_TRUE='#'
4005
 
  am__fastdepCC_FALSE=
4006
 
fi
4007
 
 
4008
 
 
4009
 
if test "x$CC" != xcc; then
4010
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4011
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4012
 
else
4013
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4014
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4015
 
fi
4016
 
set dummy $CC; ac_cc=`$as_echo "$2" |
4017
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4018
 
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4019
 
  $as_echo_n "(cached) " >&6
4020
 
else
4021
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022
 
/* end confdefs.h.  */
4023
 
 
4024
 
int
4025
 
main ()
4026
 
{
4027
 
 
4028
 
  ;
4029
 
  return 0;
4030
 
}
4031
 
_ACEOF
4032
 
# Make sure it works both with $CC and with simple cc.
4033
 
# We do the test twice because some compilers refuse to overwrite an
4034
 
# existing .o file with -o, though they will create one.
4035
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4036
 
rm -f conftest2.*
4037
 
if { { case "(($ac_try" in
4038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039
 
  *) ac_try_echo=$ac_try;;
4040
 
esac
4041
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042
 
$as_echo "$ac_try_echo"; } >&5
4043
 
  (eval "$ac_try") 2>&5
4044
 
  ac_status=$?
4045
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046
 
  test $ac_status = 0; } &&
4047
 
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049
 
  *) ac_try_echo=$ac_try;;
4050
 
esac
4051
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052
 
$as_echo "$ac_try_echo"; } >&5
4053
 
  (eval "$ac_try") 2>&5
4054
 
  ac_status=$?
4055
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056
 
  test $ac_status = 0; };
4057
 
then
4058
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4059
 
  if test "x$CC" != xcc; then
4060
 
    # Test first that cc exists at all.
4061
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
4062
 
  { { case "(($ac_try" in
4063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064
 
  *) ac_try_echo=$ac_try;;
4065
 
esac
4066
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067
 
$as_echo "$ac_try_echo"; } >&5
4068
 
  (eval "$ac_try") 2>&5
4069
 
  ac_status=$?
4070
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071
 
  test $ac_status = 0; }; }; then
4072
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4073
 
      rm -f conftest2.*
4074
 
      if { { case "(($ac_try" in
4075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076
 
  *) ac_try_echo=$ac_try;;
4077
 
esac
4078
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4079
 
$as_echo "$ac_try_echo"; } >&5
4080
 
  (eval "$ac_try") 2>&5
4081
 
  ac_status=$?
4082
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083
 
  test $ac_status = 0; } &&
4084
 
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
4085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086
 
  *) ac_try_echo=$ac_try;;
4087
 
esac
4088
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089
 
$as_echo "$ac_try_echo"; } >&5
4090
 
  (eval "$ac_try") 2>&5
4091
 
  ac_status=$?
4092
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093
 
  test $ac_status = 0; };
4094
 
      then
4095
 
        # cc works too.
4096
 
        :
4097
 
      else
4098
 
        # cc exists but doesn't like -o.
4099
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
4100
 
      fi
4101
 
    fi
4102
 
  fi
4103
 
else
4104
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4105
 
fi
4106
 
rm -f core conftest*
4107
 
 
4108
 
fi
4109
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4110
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4111
 
$as_echo "yes" >&6; }
4112
 
else
4113
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114
 
$as_echo "no" >&6; }
4115
 
 
4116
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4117
 
 
4118
 
fi
4119
 
 
4120
 
# FIXME: we rely on the cache variable name because
4121
 
# there is no other way.
4122
 
set dummy $CC
4123
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4124
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4125
 
if test "$am_t" != yes; then
4126
 
   # Losing compiler, so override with the script.
4127
 
   # FIXME: It is wrong to rewrite CC.
4128
 
   # But if we don't then we get into trouble of one sort or another.
4129
 
   # A longer-term fix would be to have automake use am__CC in this case,
4130
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4131
 
   CC="$am_aux_dir/compile $CC"
4132
 
fi
4133
 
 
4134
 
 
4135
 
# Extract the first word of "valac", so it can be a program name with args.
4136
 
set dummy valac; ac_word=$2
4137
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138
 
$as_echo_n "checking for $ac_word... " >&6; }
4139
 
if ${ac_cv_path_VALAC+:} false; then :
4140
 
  $as_echo_n "(cached) " >&6
4141
 
else
4142
 
  case $VALAC in
4143
 
  [\\/]* | ?:[\\/]*)
4144
 
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4145
 
  ;;
4146
 
  *)
4147
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148
 
for as_dir in $PATH
4149
 
do
4150
 
  IFS=$as_save_IFS
4151
 
  test -z "$as_dir" && as_dir=.
4152
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4153
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154
 
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4155
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156
 
    break 2
4157
 
  fi
4158
 
done
4159
 
  done
4160
 
IFS=$as_save_IFS
4161
 
 
4162
 
  ;;
4163
 
esac
4164
 
fi
4165
 
VALAC=$ac_cv_path_VALAC
4166
 
if test -n "$VALAC"; then
4167
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
4168
 
$as_echo "$VALAC" >&6; }
4169
 
else
4170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171
 
$as_echo "no" >&6; }
4172
 
fi
4173
 
 
4174
 
 
4175
 
 if test -z "$VALAC"; then :
4176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
4177
 
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
4178
 
else
4179
 
  if test -n ""; then :
4180
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version " >&5
4181
 
$as_echo_n "checking $VALAC is at least version ... " >&6; }
4182
 
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
4183
 
       as_arg_v1=
4184
 
as_arg_v2="$am__vala_version"
4185
 
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
4186
 
case $? in #(
4187
 
  1) :
4188
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4189
 
$as_echo "yes" >&6; } ;; #(
4190
 
  0) :
4191
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4192
 
$as_echo "yes" >&6; } ;; #(
4193
 
  2) :
4194
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195
 
$as_echo "no" >&6; }
4196
 
          as_fn_error $? "Vala  not found." "$LINENO" 5 ;; #(
4197
 
  *) :
4198
 
     ;;
4199
 
esac
4200
 
fi
4201
 
fi
4202
 
 
4203
 
 
4204
 
# Initialize libtool
4205
 
 
4206
 
case `pwd` in
4207
 
  *\ * | *\     *)
4208
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4209
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4210
 
esac
4211
 
 
4212
 
 
4213
 
 
4214
 
macro_version='2.4.2'
4215
 
macro_revision='1.3337'
4216
 
 
4217
 
 
4218
 
 
4219
 
 
4220
 
 
4221
 
 
4222
 
 
4223
 
 
4224
 
 
4225
 
 
4226
 
 
4227
 
 
4228
 
 
4229
 
ltmain="$ac_aux_dir/ltmain.sh"
4230
 
 
4231
 
# Make sure we can run config.sub.
4232
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4233
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4234
 
 
4235
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4236
 
$as_echo_n "checking build system type... " >&6; }
4237
 
if ${ac_cv_build+:} false; then :
4238
 
  $as_echo_n "(cached) " >&6
4239
 
else
4240
 
  ac_build_alias=$build_alias
4241
 
test "x$ac_build_alias" = x &&
4242
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4243
 
test "x$ac_build_alias" = x &&
4244
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4245
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4246
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4247
 
 
4248
 
fi
4249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4250
 
$as_echo "$ac_cv_build" >&6; }
4251
 
case $ac_cv_build in
4252
 
*-*-*) ;;
4253
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4254
 
esac
4255
 
build=$ac_cv_build
4256
 
ac_save_IFS=$IFS; IFS='-'
4257
 
set x $ac_cv_build
4258
 
shift
4259
 
build_cpu=$1
4260
 
build_vendor=$2
4261
 
shift; shift
4262
 
# Remember, the first character of IFS is used to create $*,
4263
 
# except with old shells:
4264
 
build_os=$*
4265
 
IFS=$ac_save_IFS
4266
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4267
 
 
4268
 
 
4269
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4270
 
$as_echo_n "checking host system type... " >&6; }
4271
 
if ${ac_cv_host+:} false; then :
4272
 
  $as_echo_n "(cached) " >&6
4273
 
else
4274
 
  if test "x$host_alias" = x; then
4275
 
  ac_cv_host=$ac_cv_build
4276
 
else
4277
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4278
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4279
 
fi
4280
 
 
4281
 
fi
4282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4283
 
$as_echo "$ac_cv_host" >&6; }
4284
 
case $ac_cv_host in
4285
 
*-*-*) ;;
4286
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4287
 
esac
4288
 
host=$ac_cv_host
4289
 
ac_save_IFS=$IFS; IFS='-'
4290
 
set x $ac_cv_host
4291
 
shift
4292
 
host_cpu=$1
4293
 
host_vendor=$2
4294
 
shift; shift
4295
 
# Remember, the first character of IFS is used to create $*,
4296
 
# except with old shells:
4297
 
host_os=$*
4298
 
IFS=$ac_save_IFS
4299
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4300
 
 
4301
 
 
4302
 
# Backslashify metacharacters that are still active within
4303
 
# double-quoted strings.
4304
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4305
 
 
4306
 
# Same as above, but do not quote variable references.
4307
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4308
 
 
4309
 
# Sed substitution to delay expansion of an escaped shell variable in a
4310
 
# double_quote_subst'ed string.
4311
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4312
 
 
4313
 
# Sed substitution to delay expansion of an escaped single quote.
4314
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4315
 
 
4316
 
# Sed substitution to avoid accidental globbing in evaled expressions
4317
 
no_glob_subst='s/\*/\\\*/g'
4318
 
 
4319
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4320
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4321
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4322
 
 
4323
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4324
 
$as_echo_n "checking how to print strings... " >&6; }
4325
 
# Test print first, because it will be a builtin if present.
4326
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4327
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4328
 
  ECHO='print -r --'
4329
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4330
 
  ECHO='printf %s\n'
4331
 
else
4332
 
  # Use this function as a fallback that always works.
4333
 
  func_fallback_echo ()
4334
 
  {
4335
 
    eval 'cat <<_LTECHO_EOF
4336
 
$1
4337
 
_LTECHO_EOF'
4338
 
  }
4339
 
  ECHO='func_fallback_echo'
4340
 
fi
4341
 
 
4342
 
# func_echo_all arg...
4343
 
# Invoke $ECHO with all args, space-separated.
4344
 
func_echo_all ()
4345
 
{
4346
 
    $ECHO ""
4347
 
}
4348
 
 
4349
 
case "$ECHO" in
4350
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4351
 
$as_echo "printf" >&6; } ;;
4352
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4353
 
$as_echo "print -r" >&6; } ;;
4354
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4355
 
$as_echo "cat" >&6; } ;;
4356
 
esac
4357
 
 
4358
 
 
4359
 
 
4360
 
 
4361
 
 
4362
 
 
4363
 
 
4364
 
 
4365
 
 
4366
 
 
4367
 
 
4368
 
 
4369
 
 
4370
 
 
4371
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4372
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4373
 
if ${ac_cv_path_SED+:} false; then :
4374
 
  $as_echo_n "(cached) " >&6
4375
 
else
4376
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4377
 
     for ac_i in 1 2 3 4 5 6 7; do
4378
 
       ac_script="$ac_script$as_nl$ac_script"
4379
 
     done
4380
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4381
 
     { ac_script=; unset ac_script;}
4382
 
     if test -z "$SED"; then
4383
 
  ac_path_SED_found=false
4384
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4385
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386
 
for as_dir in $PATH
4387
 
do
4388
 
  IFS=$as_save_IFS
4389
 
  test -z "$as_dir" && as_dir=.
4390
 
    for ac_prog in sed gsed; do
4391
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4392
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4393
 
      as_fn_executable_p "$ac_path_SED" || continue
4394
 
# Check for GNU ac_path_SED and select it if it is found.
4395
 
  # Check for GNU $ac_path_SED
4396
 
case `"$ac_path_SED" --version 2>&1` in
4397
 
*GNU*)
4398
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4399
 
*)
4400
 
  ac_count=0
4401
 
  $as_echo_n 0123456789 >"conftest.in"
4402
 
  while :
4403
 
  do
4404
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4405
 
    mv "conftest.tmp" "conftest.in"
4406
 
    cp "conftest.in" "conftest.nl"
4407
 
    $as_echo '' >> "conftest.nl"
4408
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4409
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4410
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4411
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4412
 
      # Best one so far, save it but keep looking for a better one
4413
 
      ac_cv_path_SED="$ac_path_SED"
4414
 
      ac_path_SED_max=$ac_count
4415
 
    fi
4416
 
    # 10*(2^10) chars as input seems more than enough
4417
 
    test $ac_count -gt 10 && break
4418
 
  done
4419
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4420
 
esac
4421
 
 
4422
 
      $ac_path_SED_found && break 3
4423
 
    done
4424
 
  done
4425
 
  done
4426
 
IFS=$as_save_IFS
4427
 
  if test -z "$ac_cv_path_SED"; then
4428
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4429
 
  fi
4430
 
else
4431
 
  ac_cv_path_SED=$SED
4432
 
fi
4433
 
 
4434
 
fi
4435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4436
 
$as_echo "$ac_cv_path_SED" >&6; }
4437
 
 SED="$ac_cv_path_SED"
4438
 
  rm -f conftest.sed
4439
 
 
4440
 
test -z "$SED" && SED=sed
4441
 
Xsed="$SED -e 1s/^X//"
4442
 
 
4443
 
 
4444
 
 
4445
 
 
4446
 
 
4447
 
 
4448
 
 
4449
 
 
4450
 
 
4451
 
 
4452
 
 
4453
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4454
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4455
 
if ${ac_cv_path_GREP+:} false; then :
4456
 
  $as_echo_n "(cached) " >&6
4457
 
else
4458
 
  if test -z "$GREP"; then
4459
 
  ac_path_GREP_found=false
4460
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4461
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4463
 
do
4464
 
  IFS=$as_save_IFS
4465
 
  test -z "$as_dir" && as_dir=.
4466
 
    for ac_prog in grep ggrep; do
4467
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4468
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4469
 
      as_fn_executable_p "$ac_path_GREP" || continue
4470
 
# Check for GNU ac_path_GREP and select it if it is found.
4471
 
  # Check for GNU $ac_path_GREP
4472
 
case `"$ac_path_GREP" --version 2>&1` in
4473
 
*GNU*)
4474
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4475
 
*)
4476
 
  ac_count=0
4477
 
  $as_echo_n 0123456789 >"conftest.in"
4478
 
  while :
4479
 
  do
4480
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4481
 
    mv "conftest.tmp" "conftest.in"
4482
 
    cp "conftest.in" "conftest.nl"
4483
 
    $as_echo 'GREP' >> "conftest.nl"
4484
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4485
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4486
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4487
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4488
 
      # Best one so far, save it but keep looking for a better one
4489
 
      ac_cv_path_GREP="$ac_path_GREP"
4490
 
      ac_path_GREP_max=$ac_count
4491
 
    fi
4492
 
    # 10*(2^10) chars as input seems more than enough
4493
 
    test $ac_count -gt 10 && break
4494
 
  done
4495
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4496
 
esac
4497
 
 
4498
 
      $ac_path_GREP_found && break 3
4499
 
    done
4500
 
  done
4501
 
  done
4502
 
IFS=$as_save_IFS
4503
 
  if test -z "$ac_cv_path_GREP"; then
4504
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4505
 
  fi
4506
 
else
4507
 
  ac_cv_path_GREP=$GREP
4508
 
fi
4509
 
 
4510
 
fi
4511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4512
 
$as_echo "$ac_cv_path_GREP" >&6; }
4513
 
 GREP="$ac_cv_path_GREP"
4514
 
 
4515
 
 
4516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4517
 
$as_echo_n "checking for egrep... " >&6; }
4518
 
if ${ac_cv_path_EGREP+:} false; then :
4519
 
  $as_echo_n "(cached) " >&6
4520
 
else
4521
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4522
 
   then ac_cv_path_EGREP="$GREP -E"
4523
 
   else
4524
 
     if test -z "$EGREP"; then
4525
 
  ac_path_EGREP_found=false
4526
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4527
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4529
 
do
4530
 
  IFS=$as_save_IFS
4531
 
  test -z "$as_dir" && as_dir=.
4532
 
    for ac_prog in egrep; do
4533
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4534
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4535
 
      as_fn_executable_p "$ac_path_EGREP" || continue
4536
 
# Check for GNU ac_path_EGREP and select it if it is found.
4537
 
  # Check for GNU $ac_path_EGREP
4538
 
case `"$ac_path_EGREP" --version 2>&1` in
4539
 
*GNU*)
4540
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4541
 
*)
4542
 
  ac_count=0
4543
 
  $as_echo_n 0123456789 >"conftest.in"
4544
 
  while :
4545
 
  do
4546
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4547
 
    mv "conftest.tmp" "conftest.in"
4548
 
    cp "conftest.in" "conftest.nl"
4549
 
    $as_echo 'EGREP' >> "conftest.nl"
4550
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4551
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4552
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4553
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4554
 
      # Best one so far, save it but keep looking for a better one
4555
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4556
 
      ac_path_EGREP_max=$ac_count
4557
 
    fi
4558
 
    # 10*(2^10) chars as input seems more than enough
4559
 
    test $ac_count -gt 10 && break
4560
 
  done
4561
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4562
 
esac
4563
 
 
4564
 
      $ac_path_EGREP_found && break 3
4565
 
    done
4566
 
  done
4567
 
  done
4568
 
IFS=$as_save_IFS
4569
 
  if test -z "$ac_cv_path_EGREP"; then
4570
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4571
 
  fi
4572
 
else
4573
 
  ac_cv_path_EGREP=$EGREP
4574
 
fi
4575
 
 
4576
 
   fi
4577
 
fi
4578
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4579
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4580
 
 EGREP="$ac_cv_path_EGREP"
4581
 
 
4582
 
 
4583
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4584
 
$as_echo_n "checking for fgrep... " >&6; }
4585
 
if ${ac_cv_path_FGREP+:} false; then :
4586
 
  $as_echo_n "(cached) " >&6
4587
 
else
4588
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4589
 
   then ac_cv_path_FGREP="$GREP -F"
4590
 
   else
4591
 
     if test -z "$FGREP"; then
4592
 
  ac_path_FGREP_found=false
4593
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4594
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4596
 
do
4597
 
  IFS=$as_save_IFS
4598
 
  test -z "$as_dir" && as_dir=.
4599
 
    for ac_prog in fgrep; do
4600
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4601
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4602
 
      as_fn_executable_p "$ac_path_FGREP" || continue
4603
 
# Check for GNU ac_path_FGREP and select it if it is found.
4604
 
  # Check for GNU $ac_path_FGREP
4605
 
case `"$ac_path_FGREP" --version 2>&1` in
4606
 
*GNU*)
4607
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4608
 
*)
4609
 
  ac_count=0
4610
 
  $as_echo_n 0123456789 >"conftest.in"
4611
 
  while :
4612
 
  do
4613
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4614
 
    mv "conftest.tmp" "conftest.in"
4615
 
    cp "conftest.in" "conftest.nl"
4616
 
    $as_echo 'FGREP' >> "conftest.nl"
4617
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4618
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4619
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4620
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4621
 
      # Best one so far, save it but keep looking for a better one
4622
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4623
 
      ac_path_FGREP_max=$ac_count
4624
 
    fi
4625
 
    # 10*(2^10) chars as input seems more than enough
4626
 
    test $ac_count -gt 10 && break
4627
 
  done
4628
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4629
 
esac
4630
 
 
4631
 
      $ac_path_FGREP_found && break 3
4632
 
    done
4633
 
  done
4634
 
  done
4635
 
IFS=$as_save_IFS
4636
 
  if test -z "$ac_cv_path_FGREP"; then
4637
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4638
 
  fi
4639
 
else
4640
 
  ac_cv_path_FGREP=$FGREP
4641
 
fi
4642
 
 
4643
 
   fi
4644
 
fi
4645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4646
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4647
 
 FGREP="$ac_cv_path_FGREP"
4648
 
 
4649
 
 
4650
 
test -z "$GREP" && GREP=grep
4651
 
 
4652
 
 
4653
 
 
4654
 
 
4655
 
 
4656
 
 
4657
 
 
4658
 
 
4659
 
 
4660
 
 
4661
 
 
4662
 
 
4663
 
 
4664
 
 
4665
 
 
4666
 
 
4667
 
 
4668
 
 
4669
 
 
4670
 
# Check whether --with-gnu-ld was given.
4671
 
if test "${with_gnu_ld+set}" = set; then :
4672
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4673
 
else
4674
 
  with_gnu_ld=no
4675
 
fi
4676
 
 
4677
 
ac_prog=ld
4678
 
if test "$GCC" = yes; then
4679
 
  # Check if gcc -print-prog-name=ld gives a path.
4680
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4681
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4682
 
  case $host in
4683
 
  *-*-mingw*)
4684
 
    # gcc leaves a trailing carriage return which upsets mingw
4685
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4686
 
  *)
4687
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4688
 
  esac
4689
 
  case $ac_prog in
4690
 
    # Accept absolute paths.
4691
 
    [\\/]* | ?:[\\/]*)
4692
 
      re_direlt='/[^/][^/]*/\.\./'
4693
 
      # Canonicalize the pathname of ld
4694
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4695
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4696
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4697
 
      done
4698
 
      test -z "$LD" && LD="$ac_prog"
4699
 
      ;;
4700
 
  "")
4701
 
    # If it fails, then pretend we aren't using GCC.
4702
 
    ac_prog=ld
4703
 
    ;;
4704
 
  *)
4705
 
    # If it is relative, then search for the first ld in PATH.
4706
 
    with_gnu_ld=unknown
4707
 
    ;;
4708
 
  esac
4709
 
elif test "$with_gnu_ld" = yes; then
4710
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4711
 
$as_echo_n "checking for GNU ld... " >&6; }
4712
 
else
4713
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4714
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4715
 
fi
4716
 
if ${lt_cv_path_LD+:} false; then :
4717
 
  $as_echo_n "(cached) " >&6
4718
 
else
4719
 
  if test -z "$LD"; then
4720
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4721
 
  for ac_dir in $PATH; do
4722
 
    IFS="$lt_save_ifs"
4723
 
    test -z "$ac_dir" && ac_dir=.
4724
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4725
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4726
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4727
 
      # but apparently some variants of GNU ld only accept -v.
4728
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4729
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4730
 
      *GNU* | *'with BFD'*)
4731
 
        test "$with_gnu_ld" != no && break
4732
 
        ;;
4733
 
      *)
4734
 
        test "$with_gnu_ld" != yes && break
4735
 
        ;;
4736
 
      esac
4737
 
    fi
4738
 
  done
4739
 
  IFS="$lt_save_ifs"
4740
 
else
4741
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4742
 
fi
4743
 
fi
4744
 
 
4745
 
LD="$lt_cv_path_LD"
4746
 
if test -n "$LD"; then
4747
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4748
 
$as_echo "$LD" >&6; }
4749
 
else
4750
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751
 
$as_echo "no" >&6; }
4752
 
fi
4753
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4754
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4755
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4756
 
if ${lt_cv_prog_gnu_ld+:} false; then :
4757
 
  $as_echo_n "(cached) " >&6
4758
 
else
4759
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4760
 
case `$LD -v 2>&1 </dev/null` in
4761
 
*GNU* | *'with BFD'*)
4762
 
  lt_cv_prog_gnu_ld=yes
4763
 
  ;;
4764
 
*)
4765
 
  lt_cv_prog_gnu_ld=no
4766
 
  ;;
4767
 
esac
4768
 
fi
4769
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4770
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4771
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4772
 
 
4773
 
 
4774
 
 
4775
 
 
4776
 
 
4777
 
 
4778
 
 
4779
 
 
4780
 
 
4781
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4782
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4783
 
if ${lt_cv_path_NM+:} false; then :
4784
 
  $as_echo_n "(cached) " >&6
4785
 
else
4786
 
  if test -n "$NM"; then
4787
 
  # Let the user override the test.
4788
 
  lt_cv_path_NM="$NM"
4789
 
else
4790
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4791
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4792
 
    lt_nm_to_check="$lt_nm_to_check nm"
4793
 
  fi
4794
 
  for lt_tmp_nm in $lt_nm_to_check; do
4795
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4796
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4797
 
      IFS="$lt_save_ifs"
4798
 
      test -z "$ac_dir" && ac_dir=.
4799
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4800
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4801
 
        # Check to see if the nm accepts a BSD-compat flag.
4802
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4803
 
        #   nm: unknown option "B" ignored
4804
 
        # Tru64's nm complains that /dev/null is an invalid object file
4805
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4806
 
        */dev/null* | *'Invalid file or object type'*)
4807
 
          lt_cv_path_NM="$tmp_nm -B"
4808
 
          break
4809
 
          ;;
4810
 
        *)
4811
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4812
 
          */dev/null*)
4813
 
            lt_cv_path_NM="$tmp_nm -p"
4814
 
            break
4815
 
            ;;
4816
 
          *)
4817
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4818
 
            continue # so that we can try to find one that supports BSD flags
4819
 
            ;;
4820
 
          esac
4821
 
          ;;
4822
 
        esac
4823
 
      fi
4824
 
    done
4825
 
    IFS="$lt_save_ifs"
4826
 
  done
4827
 
  : ${lt_cv_path_NM=no}
4828
 
fi
4829
 
fi
4830
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4831
 
$as_echo "$lt_cv_path_NM" >&6; }
4832
 
if test "$lt_cv_path_NM" != "no"; then
4833
 
  NM="$lt_cv_path_NM"
4834
 
else
4835
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
4836
 
  if test -n "$DUMPBIN"; then :
4837
 
    # Let the user override the test.
4838
 
  else
4839
 
    if test -n "$ac_tool_prefix"; then
4840
 
  for ac_prog in dumpbin "link -dump"
4841
 
  do
4842
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4843
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845
 
$as_echo_n "checking for $ac_word... " >&6; }
4846
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
4847
 
  $as_echo_n "(cached) " >&6
4848
 
else
4849
 
  if test -n "$DUMPBIN"; then
4850
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4851
 
else
4852
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4853
 
for as_dir in $PATH
4854
 
do
4855
 
  IFS=$as_save_IFS
4856
 
  test -z "$as_dir" && as_dir=.
4857
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4858
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4860
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861
 
    break 2
4862
 
  fi
4863
 
done
4864
 
  done
4865
 
IFS=$as_save_IFS
4866
 
 
4867
 
fi
4868
 
fi
4869
 
DUMPBIN=$ac_cv_prog_DUMPBIN
4870
 
if test -n "$DUMPBIN"; then
4871
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4872
 
$as_echo "$DUMPBIN" >&6; }
4873
 
else
4874
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875
 
$as_echo "no" >&6; }
4876
 
fi
4877
 
 
4878
 
 
4879
 
    test -n "$DUMPBIN" && break
4880
 
  done
4881
 
fi
4882
 
if test -z "$DUMPBIN"; then
4883
 
  ac_ct_DUMPBIN=$DUMPBIN
4884
 
  for ac_prog in dumpbin "link -dump"
4885
 
do
4886
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4887
 
set dummy $ac_prog; ac_word=$2
4888
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889
 
$as_echo_n "checking for $ac_word... " >&6; }
4890
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4891
 
  $as_echo_n "(cached) " >&6
4892
 
else
4893
 
  if test -n "$ac_ct_DUMPBIN"; then
4894
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4895
 
else
4896
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897
 
for as_dir in $PATH
4898
 
do
4899
 
  IFS=$as_save_IFS
4900
 
  test -z "$as_dir" && as_dir=.
4901
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4902
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4904
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905
 
    break 2
4906
 
  fi
4907
 
done
4908
 
  done
4909
 
IFS=$as_save_IFS
4910
 
 
4911
 
fi
4912
 
fi
4913
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4914
 
if test -n "$ac_ct_DUMPBIN"; then
4915
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4916
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
4917
 
else
4918
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919
 
$as_echo "no" >&6; }
4920
 
fi
4921
 
 
4922
 
 
4923
 
  test -n "$ac_ct_DUMPBIN" && break
4924
 
done
4925
 
 
4926
 
  if test "x$ac_ct_DUMPBIN" = x; then
4927
 
    DUMPBIN=":"
4928
 
  else
4929
 
    case $cross_compiling:$ac_tool_warned in
4930
 
yes:)
4931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4932
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4933
 
ac_tool_warned=yes ;;
4934
 
esac
4935
 
    DUMPBIN=$ac_ct_DUMPBIN
4936
 
  fi
4937
 
fi
4938
 
 
4939
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4940
 
    *COFF*)
4941
 
      DUMPBIN="$DUMPBIN -symbols"
4942
 
      ;;
4943
 
    *)
4944
 
      DUMPBIN=:
4945
 
      ;;
4946
 
    esac
4947
 
  fi
4948
 
 
4949
 
  if test "$DUMPBIN" != ":"; then
4950
 
    NM="$DUMPBIN"
4951
 
  fi
4952
 
fi
4953
 
test -z "$NM" && NM=nm
4954
 
 
4955
 
 
4956
 
 
4957
 
 
4958
 
 
4959
 
 
4960
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4961
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4962
 
if ${lt_cv_nm_interface+:} false; then :
4963
 
  $as_echo_n "(cached) " >&6
4964
 
else
4965
 
  lt_cv_nm_interface="BSD nm"
4966
 
  echo "int some_variable = 0;" > conftest.$ac_ext
4967
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4968
 
  (eval "$ac_compile" 2>conftest.err)
4969
 
  cat conftest.err >&5
4970
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4971
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4972
 
  cat conftest.err >&5
4973
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4974
 
  cat conftest.out >&5
4975
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4976
 
    lt_cv_nm_interface="MS dumpbin"
4977
 
  fi
4978
 
  rm -f conftest*
4979
 
fi
4980
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4981
 
$as_echo "$lt_cv_nm_interface" >&6; }
4982
 
 
4983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4984
 
$as_echo_n "checking whether ln -s works... " >&6; }
4985
 
LN_S=$as_ln_s
4986
 
if test "$LN_S" = "ln -s"; then
4987
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4988
 
$as_echo "yes" >&6; }
4989
 
else
4990
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4991
 
$as_echo "no, using $LN_S" >&6; }
4992
 
fi
4993
 
 
4994
 
# find the maximum length of command line arguments
4995
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4996
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4997
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
4998
 
  $as_echo_n "(cached) " >&6
4999
 
else
5000
 
    i=0
5001
 
  teststring="ABCD"
5002
 
 
5003
 
  case $build_os in
5004
 
  msdosdjgpp*)
5005
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5006
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5007
 
    # during glob expansion).  Even if it were fixed, the result of this
5008
 
    # check would be larger than it should be.
5009
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5010
 
    ;;
5011
 
 
5012
 
  gnu*)
5013
 
    # Under GNU Hurd, this test is not required because there is
5014
 
    # no limit to the length of command line arguments.
5015
 
    # Libtool will interpret -1 as no limit whatsoever
5016
 
    lt_cv_sys_max_cmd_len=-1;
5017
 
    ;;
5018
 
 
5019
 
  cygwin* | mingw* | cegcc*)
5020
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5021
 
    # about 5 minutes as the teststring grows exponentially.
5022
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5023
 
    # you end up with a "frozen" computer, even though with patience
5024
 
    # the test eventually succeeds (with a max line length of 256k).
5025
 
    # Instead, let's just punt: use the minimum linelength reported by
5026
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5027
 
    lt_cv_sys_max_cmd_len=8192;
5028
 
    ;;
5029
 
 
5030
 
  mint*)
5031
 
    # On MiNT this can take a long time and run out of memory.
5032
 
    lt_cv_sys_max_cmd_len=8192;
5033
 
    ;;
5034
 
 
5035
 
  amigaos*)
5036
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5037
 
    # So we just punt and use a minimum line length of 8192.
5038
 
    lt_cv_sys_max_cmd_len=8192;
5039
 
    ;;
5040
 
 
5041
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5042
 
    # This has been around since 386BSD, at least.  Likely further.
5043
 
    if test -x /sbin/sysctl; then
5044
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5045
 
    elif test -x /usr/sbin/sysctl; then
5046
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5047
 
    else
5048
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5049
 
    fi
5050
 
    # And add a safety zone
5051
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5052
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5053
 
    ;;
5054
 
 
5055
 
  interix*)
5056
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5057
 
    lt_cv_sys_max_cmd_len=196608
5058
 
    ;;
5059
 
 
5060
 
  os2*)
5061
 
    # The test takes a long time on OS/2.
5062
 
    lt_cv_sys_max_cmd_len=8192
5063
 
    ;;
5064
 
 
5065
 
  osf*)
5066
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5067
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5068
 
    # nice to cause kernel panics so lets avoid the loop below.
5069
 
    # First set a reasonable default.
5070
 
    lt_cv_sys_max_cmd_len=16384
5071
 
    #
5072
 
    if test -x /sbin/sysconfig; then
5073
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5074
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5075
 
      esac
5076
 
    fi
5077
 
    ;;
5078
 
  sco3.2v5*)
5079
 
    lt_cv_sys_max_cmd_len=102400
5080
 
    ;;
5081
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5082
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5083
 
    if test -n "$kargmax"; then
5084
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5085
 
    else
5086
 
      lt_cv_sys_max_cmd_len=32768
5087
 
    fi
5088
 
    ;;
5089
 
  *)
5090
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5091
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5092
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5093
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5094
 
    else
5095
 
      # Make teststring a little bigger before we do anything with it.
5096
 
      # a 1K string should be a reasonable start.
5097
 
      for i in 1 2 3 4 5 6 7 8 ; do
5098
 
        teststring=$teststring$teststring
5099
 
      done
5100
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5101
 
      # If test is not a shell built-in, we'll probably end up computing a
5102
 
      # maximum length that is only half of the actual maximum length, but
5103
 
      # we can't tell.
5104
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5105
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5106
 
              test $i != 17 # 1/2 MB should be enough
5107
 
      do
5108
 
        i=`expr $i + 1`
5109
 
        teststring=$teststring$teststring
5110
 
      done
5111
 
      # Only check the string length outside the loop.
5112
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5113
 
      teststring=
5114
 
      # Add a significant safety factor because C++ compilers can tack on
5115
 
      # massive amounts of additional arguments before passing them to the
5116
 
      # linker.  It appears as though 1/2 is a usable value.
5117
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5118
 
    fi
5119
 
    ;;
5120
 
  esac
5121
 
 
5122
 
fi
5123
 
 
5124
 
if test -n $lt_cv_sys_max_cmd_len ; then
5125
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5126
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5127
 
else
5128
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5129
 
$as_echo "none" >&6; }
5130
 
fi
5131
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5132
 
 
5133
 
 
5134
 
 
5135
 
 
5136
 
 
5137
 
 
5138
 
: ${CP="cp -f"}
5139
 
: ${MV="mv -f"}
5140
 
: ${RM="rm -f"}
5141
 
 
5142
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5143
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5144
 
# Try some XSI features
5145
 
xsi_shell=no
5146
 
( _lt_dummy="a/b/c"
5147
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5148
 
      = c,a/b,b/c, \
5149
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5150
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5151
 
  && xsi_shell=yes
5152
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5153
 
$as_echo "$xsi_shell" >&6; }
5154
 
 
5155
 
 
5156
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5157
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5158
 
lt_shell_append=no
5159
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5160
 
    >/dev/null 2>&1 \
5161
 
  && lt_shell_append=yes
5162
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5163
 
$as_echo "$lt_shell_append" >&6; }
5164
 
 
5165
 
 
5166
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5167
 
  lt_unset=unset
5168
 
else
5169
 
  lt_unset=false
5170
 
fi
5171
 
 
5172
 
 
5173
 
 
5174
 
 
5175
 
 
5176
 
# test EBCDIC or ASCII
5177
 
case `echo X|tr X '\101'` in
5178
 
 A) # ASCII based system
5179
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5180
 
  lt_SP2NL='tr \040 \012'
5181
 
  lt_NL2SP='tr \015\012 \040\040'
5182
 
  ;;
5183
 
 *) # EBCDIC based system
5184
 
  lt_SP2NL='tr \100 \n'
5185
 
  lt_NL2SP='tr \r\n \100\100'
5186
 
  ;;
5187
 
esac
5188
 
 
5189
 
 
5190
 
 
5191
 
 
5192
 
 
5193
 
 
5194
 
 
5195
 
 
5196
 
 
5197
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5198
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5199
 
if ${lt_cv_to_host_file_cmd+:} false; then :
5200
 
  $as_echo_n "(cached) " >&6
5201
 
else
5202
 
  case $host in
5203
 
  *-*-mingw* )
5204
 
    case $build in
5205
 
      *-*-mingw* ) # actually msys
5206
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5207
 
        ;;
5208
 
      *-*-cygwin* )
5209
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5210
 
        ;;
5211
 
      * ) # otherwise, assume *nix
5212
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5213
 
        ;;
5214
 
    esac
5215
 
    ;;
5216
 
  *-*-cygwin* )
5217
 
    case $build in
5218
 
      *-*-mingw* ) # actually msys
5219
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5220
 
        ;;
5221
 
      *-*-cygwin* )
5222
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5223
 
        ;;
5224
 
      * ) # otherwise, assume *nix
5225
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5226
 
        ;;
5227
 
    esac
5228
 
    ;;
5229
 
  * ) # unhandled hosts (and "normal" native builds)
5230
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5231
 
    ;;
5232
 
esac
5233
 
 
5234
 
fi
5235
 
 
5236
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5237
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5238
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5239
 
 
5240
 
 
5241
 
 
5242
 
 
5243
 
 
5244
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5245
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5246
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5247
 
  $as_echo_n "(cached) " >&6
5248
 
else
5249
 
  #assume ordinary cross tools, or native build.
5250
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5251
 
case $host in
5252
 
  *-*-mingw* )
5253
 
    case $build in
5254
 
      *-*-mingw* ) # actually msys
5255
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5256
 
        ;;
5257
 
    esac
5258
 
    ;;
5259
 
esac
5260
 
 
5261
 
fi
5262
 
 
5263
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5264
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5265
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5266
 
 
5267
 
 
5268
 
 
5269
 
 
5270
 
 
5271
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5272
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5273
 
if ${lt_cv_ld_reload_flag+:} false; then :
5274
 
  $as_echo_n "(cached) " >&6
5275
 
else
5276
 
  lt_cv_ld_reload_flag='-r'
5277
 
fi
5278
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5279
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5280
 
reload_flag=$lt_cv_ld_reload_flag
5281
 
case $reload_flag in
5282
 
"" | " "*) ;;
5283
 
*) reload_flag=" $reload_flag" ;;
5284
 
esac
5285
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5286
 
case $host_os in
5287
 
  cygwin* | mingw* | pw32* | cegcc*)
5288
 
    if test "$GCC" != yes; then
5289
 
      reload_cmds=false
5290
 
    fi
5291
 
    ;;
5292
 
  darwin*)
5293
 
    if test "$GCC" = yes; then
5294
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5295
 
    else
5296
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5297
 
    fi
5298
 
    ;;
5299
 
esac
5300
 
 
5301
 
 
5302
 
 
5303
 
 
5304
 
 
5305
 
 
5306
 
 
5307
 
 
5308
 
 
5309
 
if test -n "$ac_tool_prefix"; then
5310
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5311
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5312
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313
 
$as_echo_n "checking for $ac_word... " >&6; }
5314
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
5315
 
  $as_echo_n "(cached) " >&6
5316
 
else
5317
 
  if test -n "$OBJDUMP"; then
5318
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5319
 
else
5320
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321
 
for as_dir in $PATH
5322
 
do
5323
 
  IFS=$as_save_IFS
5324
 
  test -z "$as_dir" && as_dir=.
5325
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5326
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5328
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329
 
    break 2
5330
 
  fi
5331
 
done
5332
 
  done
5333
 
IFS=$as_save_IFS
5334
 
 
5335
 
fi
5336
 
fi
5337
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5338
 
if test -n "$OBJDUMP"; then
5339
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5340
 
$as_echo "$OBJDUMP" >&6; }
5341
 
else
5342
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343
 
$as_echo "no" >&6; }
5344
 
fi
5345
 
 
5346
 
 
5347
 
fi
5348
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5349
 
  ac_ct_OBJDUMP=$OBJDUMP
5350
 
  # Extract the first word of "objdump", so it can be a program name with args.
5351
 
set dummy objdump; ac_word=$2
5352
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353
 
$as_echo_n "checking for $ac_word... " >&6; }
5354
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5355
 
  $as_echo_n "(cached) " >&6
5356
 
else
5357
 
  if test -n "$ac_ct_OBJDUMP"; then
5358
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5359
 
else
5360
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361
 
for as_dir in $PATH
5362
 
do
5363
 
  IFS=$as_save_IFS
5364
 
  test -z "$as_dir" && as_dir=.
5365
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5366
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5368
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369
 
    break 2
5370
 
  fi
5371
 
done
5372
 
  done
5373
 
IFS=$as_save_IFS
5374
 
 
5375
 
fi
5376
 
fi
5377
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5378
 
if test -n "$ac_ct_OBJDUMP"; then
5379
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5380
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5381
 
else
5382
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383
 
$as_echo "no" >&6; }
5384
 
fi
5385
 
 
5386
 
  if test "x$ac_ct_OBJDUMP" = x; then
5387
 
    OBJDUMP="false"
5388
 
  else
5389
 
    case $cross_compiling:$ac_tool_warned in
5390
 
yes:)
5391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5392
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5393
 
ac_tool_warned=yes ;;
5394
 
esac
5395
 
    OBJDUMP=$ac_ct_OBJDUMP
5396
 
  fi
5397
 
else
5398
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5399
 
fi
5400
 
 
5401
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5402
 
 
5403
 
 
5404
 
 
5405
 
 
5406
 
 
5407
 
 
5408
 
 
5409
 
 
5410
 
 
5411
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5412
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5413
 
if ${lt_cv_deplibs_check_method+:} false; then :
5414
 
  $as_echo_n "(cached) " >&6
5415
 
else
5416
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5417
 
lt_cv_file_magic_test_file=
5418
 
lt_cv_deplibs_check_method='unknown'
5419
 
# Need to set the preceding variable on all platforms that support
5420
 
# interlibrary dependencies.
5421
 
# 'none' -- dependencies not supported.
5422
 
# `unknown' -- same as none, but documents that we really don't know.
5423
 
# 'pass_all' -- all dependencies passed with no checks.
5424
 
# 'test_compile' -- check by making test program.
5425
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5426
 
# which responds to the $file_magic_cmd with a given extended regex.
5427
 
# If you have `file' or equivalent on your system and you're not sure
5428
 
# whether `pass_all' will *always* work, you probably want this one.
5429
 
 
5430
 
case $host_os in
5431
 
aix[4-9]*)
5432
 
  lt_cv_deplibs_check_method=pass_all
5433
 
  ;;
5434
 
 
5435
 
beos*)
5436
 
  lt_cv_deplibs_check_method=pass_all
5437
 
  ;;
5438
 
 
5439
 
bsdi[45]*)
5440
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5441
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5442
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5443
 
  ;;
5444
 
 
5445
 
cygwin*)
5446
 
  # func_win32_libid is a shell function defined in ltmain.sh
5447
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5448
 
  lt_cv_file_magic_cmd='func_win32_libid'
5449
 
  ;;
5450
 
 
5451
 
mingw* | pw32*)
5452
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5453
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5454
 
  # unless we find 'file', for example because we are cross-compiling.
5455
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5456
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5457
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5458
 
    lt_cv_file_magic_cmd='func_win32_libid'
5459
 
  else
5460
 
    # Keep this pattern in sync with the one in func_win32_libid.
5461
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5462
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5463
 
  fi
5464
 
  ;;
5465
 
 
5466
 
cegcc*)
5467
 
  # use the weaker test based on 'objdump'. See mingw*.
5468
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5469
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5470
 
  ;;
5471
 
 
5472
 
darwin* | rhapsody*)
5473
 
  lt_cv_deplibs_check_method=pass_all
5474
 
  ;;
5475
 
 
5476
 
freebsd* | dragonfly*)
5477
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5478
 
    case $host_cpu in
5479
 
    i*86 )
5480
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5481
 
      # Let's accept both of them until this is cleared up.
5482
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5483
 
      lt_cv_file_magic_cmd=/usr/bin/file
5484
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5485
 
      ;;
5486
 
    esac
5487
 
  else
5488
 
    lt_cv_deplibs_check_method=pass_all
5489
 
  fi
5490
 
  ;;
5491
 
 
5492
 
gnu*)
5493
 
  lt_cv_deplibs_check_method=pass_all
5494
 
  ;;
5495
 
 
5496
 
haiku*)
5497
 
  lt_cv_deplibs_check_method=pass_all
5498
 
  ;;
5499
 
 
5500
 
hpux10.20* | hpux11*)
5501
 
  lt_cv_file_magic_cmd=/usr/bin/file
5502
 
  case $host_cpu in
5503
 
  ia64*)
5504
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5505
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5506
 
    ;;
5507
 
  hppa*64*)
5508
 
    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]'
5509
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5510
 
    ;;
5511
 
  *)
5512
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5513
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5514
 
    ;;
5515
 
  esac
5516
 
  ;;
5517
 
 
5518
 
interix[3-9]*)
5519
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5520
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5521
 
  ;;
5522
 
 
5523
 
irix5* | irix6* | nonstopux*)
5524
 
  case $LD in
5525
 
  *-32|*"-32 ") libmagic=32-bit;;
5526
 
  *-n32|*"-n32 ") libmagic=N32;;
5527
 
  *-64|*"-64 ") libmagic=64-bit;;
5528
 
  *) libmagic=never-match;;
5529
 
  esac
5530
 
  lt_cv_deplibs_check_method=pass_all
5531
 
  ;;
5532
 
 
5533
 
# This must be glibc/ELF.
5534
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5535
 
  lt_cv_deplibs_check_method=pass_all
5536
 
  ;;
5537
 
 
5538
 
netbsd* | netbsdelf*-gnu)
5539
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5540
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5541
 
  else
5542
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5543
 
  fi
5544
 
  ;;
5545
 
 
5546
 
newos6*)
5547
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5548
 
  lt_cv_file_magic_cmd=/usr/bin/file
5549
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5550
 
  ;;
5551
 
 
5552
 
*nto* | *qnx*)
5553
 
  lt_cv_deplibs_check_method=pass_all
5554
 
  ;;
5555
 
 
5556
 
openbsd*)
5557
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5558
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5559
 
  else
5560
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5561
 
  fi
5562
 
  ;;
5563
 
 
5564
 
osf3* | osf4* | osf5*)
5565
 
  lt_cv_deplibs_check_method=pass_all
5566
 
  ;;
5567
 
 
5568
 
rdos*)
5569
 
  lt_cv_deplibs_check_method=pass_all
5570
 
  ;;
5571
 
 
5572
 
solaris*)
5573
 
  lt_cv_deplibs_check_method=pass_all
5574
 
  ;;
5575
 
 
5576
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5577
 
  lt_cv_deplibs_check_method=pass_all
5578
 
  ;;
5579
 
 
5580
 
sysv4 | sysv4.3*)
5581
 
  case $host_vendor in
5582
 
  motorola)
5583
 
    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]'
5584
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5585
 
    ;;
5586
 
  ncr)
5587
 
    lt_cv_deplibs_check_method=pass_all
5588
 
    ;;
5589
 
  sequent)
5590
 
    lt_cv_file_magic_cmd='/bin/file'
5591
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5592
 
    ;;
5593
 
  sni)
5594
 
    lt_cv_file_magic_cmd='/bin/file'
5595
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5596
 
    lt_cv_file_magic_test_file=/lib/libc.so
5597
 
    ;;
5598
 
  siemens)
5599
 
    lt_cv_deplibs_check_method=pass_all
5600
 
    ;;
5601
 
  pc)
5602
 
    lt_cv_deplibs_check_method=pass_all
5603
 
    ;;
5604
 
  esac
5605
 
  ;;
5606
 
 
5607
 
tpf*)
5608
 
  lt_cv_deplibs_check_method=pass_all
5609
 
  ;;
5610
 
esac
5611
 
 
5612
 
fi
5613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5614
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5615
 
 
5616
 
file_magic_glob=
5617
 
want_nocaseglob=no
5618
 
if test "$build" = "$host"; then
5619
 
  case $host_os in
5620
 
  mingw* | pw32*)
5621
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5622
 
      want_nocaseglob=yes
5623
 
    else
5624
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5625
 
    fi
5626
 
    ;;
5627
 
  esac
5628
 
fi
5629
 
 
5630
 
file_magic_cmd=$lt_cv_file_magic_cmd
5631
 
deplibs_check_method=$lt_cv_deplibs_check_method
5632
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
 
 
5644
 
 
5645
 
 
5646
 
 
5647
 
 
5648
 
 
5649
 
 
5650
 
 
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
if test -n "$ac_tool_prefix"; then
5656
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5657
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659
 
$as_echo_n "checking for $ac_word... " >&6; }
5660
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
5661
 
  $as_echo_n "(cached) " >&6
5662
 
else
5663
 
  if test -n "$DLLTOOL"; then
5664
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5665
 
else
5666
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667
 
for as_dir in $PATH
5668
 
do
5669
 
  IFS=$as_save_IFS
5670
 
  test -z "$as_dir" && as_dir=.
5671
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5672
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5674
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675
 
    break 2
5676
 
  fi
5677
 
done
5678
 
  done
5679
 
IFS=$as_save_IFS
5680
 
 
5681
 
fi
5682
 
fi
5683
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5684
 
if test -n "$DLLTOOL"; then
5685
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5686
 
$as_echo "$DLLTOOL" >&6; }
5687
 
else
5688
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689
 
$as_echo "no" >&6; }
5690
 
fi
5691
 
 
5692
 
 
5693
 
fi
5694
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5695
 
  ac_ct_DLLTOOL=$DLLTOOL
5696
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5697
 
set dummy dlltool; ac_word=$2
5698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699
 
$as_echo_n "checking for $ac_word... " >&6; }
5700
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5701
 
  $as_echo_n "(cached) " >&6
5702
 
else
5703
 
  if test -n "$ac_ct_DLLTOOL"; then
5704
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5705
 
else
5706
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707
 
for as_dir in $PATH
5708
 
do
5709
 
  IFS=$as_save_IFS
5710
 
  test -z "$as_dir" && as_dir=.
5711
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5712
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5714
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715
 
    break 2
5716
 
  fi
5717
 
done
5718
 
  done
5719
 
IFS=$as_save_IFS
5720
 
 
5721
 
fi
5722
 
fi
5723
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5724
 
if test -n "$ac_ct_DLLTOOL"; then
5725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5726
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
5727
 
else
5728
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729
 
$as_echo "no" >&6; }
5730
 
fi
5731
 
 
5732
 
  if test "x$ac_ct_DLLTOOL" = x; then
5733
 
    DLLTOOL="false"
5734
 
  else
5735
 
    case $cross_compiling:$ac_tool_warned in
5736
 
yes:)
5737
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5738
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5739
 
ac_tool_warned=yes ;;
5740
 
esac
5741
 
    DLLTOOL=$ac_ct_DLLTOOL
5742
 
  fi
5743
 
else
5744
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5745
 
fi
5746
 
 
5747
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5748
 
 
5749
 
 
5750
 
 
5751
 
 
5752
 
 
5753
 
 
5754
 
 
5755
 
 
5756
 
 
5757
 
 
5758
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5759
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5760
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5761
 
  $as_echo_n "(cached) " >&6
5762
 
else
5763
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
5764
 
 
5765
 
case $host_os in
5766
 
cygwin* | mingw* | pw32* | cegcc*)
5767
 
  # two different shell functions defined in ltmain.sh
5768
 
  # decide which to use based on capabilities of $DLLTOOL
5769
 
  case `$DLLTOOL --help 2>&1` in
5770
 
  *--identify-strict*)
5771
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5772
 
    ;;
5773
 
  *)
5774
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5775
 
    ;;
5776
 
  esac
5777
 
  ;;
5778
 
*)
5779
 
  # fallback: assume linklib IS sharedlib
5780
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5781
 
  ;;
5782
 
esac
5783
 
 
5784
 
fi
5785
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5786
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5787
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5788
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
 
 
5794
 
 
5795
 
 
5796
 
 
5797
 
if test -n "$ac_tool_prefix"; then
5798
 
  for ac_prog in ar
5799
 
  do
5800
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5801
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5802
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803
 
$as_echo_n "checking for $ac_word... " >&6; }
5804
 
if ${ac_cv_prog_AR+:} false; then :
5805
 
  $as_echo_n "(cached) " >&6
5806
 
else
5807
 
  if test -n "$AR"; then
5808
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5809
 
else
5810
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811
 
for as_dir in $PATH
5812
 
do
5813
 
  IFS=$as_save_IFS
5814
 
  test -z "$as_dir" && as_dir=.
5815
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5816
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5818
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819
 
    break 2
5820
 
  fi
5821
 
done
5822
 
  done
5823
 
IFS=$as_save_IFS
5824
 
 
5825
 
fi
5826
 
fi
5827
 
AR=$ac_cv_prog_AR
5828
 
if test -n "$AR"; then
5829
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5830
 
$as_echo "$AR" >&6; }
5831
 
else
5832
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833
 
$as_echo "no" >&6; }
5834
 
fi
5835
 
 
5836
 
 
5837
 
    test -n "$AR" && break
5838
 
  done
5839
 
fi
5840
 
if test -z "$AR"; then
5841
 
  ac_ct_AR=$AR
5842
 
  for ac_prog in ar
5843
 
do
5844
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5845
 
set dummy $ac_prog; ac_word=$2
5846
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847
 
$as_echo_n "checking for $ac_word... " >&6; }
5848
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5849
 
  $as_echo_n "(cached) " >&6
5850
 
else
5851
 
  if test -n "$ac_ct_AR"; then
5852
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5853
 
else
5854
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855
 
for as_dir in $PATH
5856
 
do
5857
 
  IFS=$as_save_IFS
5858
 
  test -z "$as_dir" && as_dir=.
5859
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5860
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
5862
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863
 
    break 2
5864
 
  fi
5865
 
done
5866
 
  done
5867
 
IFS=$as_save_IFS
5868
 
 
5869
 
fi
5870
 
fi
5871
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5872
 
if test -n "$ac_ct_AR"; then
5873
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5874
 
$as_echo "$ac_ct_AR" >&6; }
5875
 
else
5876
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877
 
$as_echo "no" >&6; }
5878
 
fi
5879
 
 
5880
 
 
5881
 
  test -n "$ac_ct_AR" && break
5882
 
done
5883
 
 
5884
 
  if test "x$ac_ct_AR" = x; then
5885
 
    AR="false"
5886
 
  else
5887
 
    case $cross_compiling:$ac_tool_warned in
5888
 
yes:)
5889
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5890
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5891
 
ac_tool_warned=yes ;;
5892
 
esac
5893
 
    AR=$ac_ct_AR
5894
 
  fi
5895
 
fi
5896
 
 
5897
 
: ${AR=ar}
5898
 
: ${AR_FLAGS=cru}
5899
 
 
5900
 
 
5901
 
 
5902
 
 
5903
 
 
5904
 
 
5905
 
 
5906
 
 
5907
 
 
5908
 
 
5909
 
 
5910
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5911
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
5912
 
if ${lt_cv_ar_at_file+:} false; then :
5913
 
  $as_echo_n "(cached) " >&6
5914
 
else
5915
 
  lt_cv_ar_at_file=no
5916
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917
 
/* end confdefs.h.  */
5918
 
 
5919
 
int
5920
 
main ()
5921
 
{
5922
 
 
5923
 
  ;
5924
 
  return 0;
5925
 
}
5926
 
_ACEOF
5927
 
if ac_fn_c_try_compile "$LINENO"; then :
5928
 
  echo conftest.$ac_objext > conftest.lst
5929
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5930
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5931
 
  (eval $lt_ar_try) 2>&5
5932
 
  ac_status=$?
5933
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5934
 
  test $ac_status = 0; }
5935
 
      if test "$ac_status" -eq 0; then
5936
 
        # Ensure the archiver fails upon bogus file names.
5937
 
        rm -f conftest.$ac_objext libconftest.a
5938
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5939
 
  (eval $lt_ar_try) 2>&5
5940
 
  ac_status=$?
5941
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5942
 
  test $ac_status = 0; }
5943
 
        if test "$ac_status" -ne 0; then
5944
 
          lt_cv_ar_at_file=@
5945
 
        fi
5946
 
      fi
5947
 
      rm -f conftest.* libconftest.a
5948
 
 
5949
 
fi
5950
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5951
 
 
5952
 
fi
5953
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5954
 
$as_echo "$lt_cv_ar_at_file" >&6; }
5955
 
 
5956
 
if test "x$lt_cv_ar_at_file" = xno; then
5957
 
  archiver_list_spec=
5958
 
else
5959
 
  archiver_list_spec=$lt_cv_ar_at_file
5960
 
fi
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
 
 
5966
 
 
5967
 
 
5968
 
if test -n "$ac_tool_prefix"; then
5969
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5970
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972
 
$as_echo_n "checking for $ac_word... " >&6; }
5973
 
if ${ac_cv_prog_STRIP+:} false; then :
5974
 
  $as_echo_n "(cached) " >&6
5975
 
else
5976
 
  if test -n "$STRIP"; then
5977
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5978
 
else
5979
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980
 
for as_dir in $PATH
5981
 
do
5982
 
  IFS=$as_save_IFS
5983
 
  test -z "$as_dir" && as_dir=.
5984
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5985
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5987
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988
 
    break 2
5989
 
  fi
5990
 
done
5991
 
  done
5992
 
IFS=$as_save_IFS
5993
 
 
5994
 
fi
5995
 
fi
5996
 
STRIP=$ac_cv_prog_STRIP
5997
 
if test -n "$STRIP"; then
5998
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5999
 
$as_echo "$STRIP" >&6; }
6000
 
else
6001
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002
 
$as_echo "no" >&6; }
6003
 
fi
6004
 
 
6005
 
 
6006
 
fi
6007
 
if test -z "$ac_cv_prog_STRIP"; then
6008
 
  ac_ct_STRIP=$STRIP
6009
 
  # Extract the first word of "strip", so it can be a program name with args.
6010
 
set dummy strip; ac_word=$2
6011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012
 
$as_echo_n "checking for $ac_word... " >&6; }
6013
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6014
 
  $as_echo_n "(cached) " >&6
6015
 
else
6016
 
  if test -n "$ac_ct_STRIP"; then
6017
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6018
 
else
6019
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020
 
for as_dir in $PATH
6021
 
do
6022
 
  IFS=$as_save_IFS
6023
 
  test -z "$as_dir" && as_dir=.
6024
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6025
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026
 
    ac_cv_prog_ac_ct_STRIP="strip"
6027
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028
 
    break 2
6029
 
  fi
6030
 
done
6031
 
  done
6032
 
IFS=$as_save_IFS
6033
 
 
6034
 
fi
6035
 
fi
6036
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6037
 
if test -n "$ac_ct_STRIP"; then
6038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6039
 
$as_echo "$ac_ct_STRIP" >&6; }
6040
 
else
6041
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042
 
$as_echo "no" >&6; }
6043
 
fi
6044
 
 
6045
 
  if test "x$ac_ct_STRIP" = x; then
6046
 
    STRIP=":"
6047
 
  else
6048
 
    case $cross_compiling:$ac_tool_warned in
6049
 
yes:)
6050
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052
 
ac_tool_warned=yes ;;
6053
 
esac
6054
 
    STRIP=$ac_ct_STRIP
6055
 
  fi
6056
 
else
6057
 
  STRIP="$ac_cv_prog_STRIP"
6058
 
fi
6059
 
 
6060
 
test -z "$STRIP" && STRIP=:
6061
 
 
6062
 
 
6063
 
 
6064
 
 
6065
 
 
6066
 
 
6067
 
if test -n "$ac_tool_prefix"; then
6068
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6069
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071
 
$as_echo_n "checking for $ac_word... " >&6; }
6072
 
if ${ac_cv_prog_RANLIB+:} false; then :
6073
 
  $as_echo_n "(cached) " >&6
6074
 
else
6075
 
  if test -n "$RANLIB"; then
6076
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6077
 
else
6078
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079
 
for as_dir in $PATH
6080
 
do
6081
 
  IFS=$as_save_IFS
6082
 
  test -z "$as_dir" && as_dir=.
6083
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6084
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6086
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087
 
    break 2
6088
 
  fi
6089
 
done
6090
 
  done
6091
 
IFS=$as_save_IFS
6092
 
 
6093
 
fi
6094
 
fi
6095
 
RANLIB=$ac_cv_prog_RANLIB
6096
 
if test -n "$RANLIB"; then
6097
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6098
 
$as_echo "$RANLIB" >&6; }
6099
 
else
6100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101
 
$as_echo "no" >&6; }
6102
 
fi
6103
 
 
6104
 
 
6105
 
fi
6106
 
if test -z "$ac_cv_prog_RANLIB"; then
6107
 
  ac_ct_RANLIB=$RANLIB
6108
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6109
 
set dummy ranlib; ac_word=$2
6110
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111
 
$as_echo_n "checking for $ac_word... " >&6; }
6112
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6113
 
  $as_echo_n "(cached) " >&6
6114
 
else
6115
 
  if test -n "$ac_ct_RANLIB"; then
6116
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6117
 
else
6118
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119
 
for as_dir in $PATH
6120
 
do
6121
 
  IFS=$as_save_IFS
6122
 
  test -z "$as_dir" && as_dir=.
6123
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6124
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6126
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127
 
    break 2
6128
 
  fi
6129
 
done
6130
 
  done
6131
 
IFS=$as_save_IFS
6132
 
 
6133
 
fi
6134
 
fi
6135
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6136
 
if test -n "$ac_ct_RANLIB"; then
6137
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6138
 
$as_echo "$ac_ct_RANLIB" >&6; }
6139
 
else
6140
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141
 
$as_echo "no" >&6; }
6142
 
fi
6143
 
 
6144
 
  if test "x$ac_ct_RANLIB" = x; then
6145
 
    RANLIB=":"
6146
 
  else
6147
 
    case $cross_compiling:$ac_tool_warned in
6148
 
yes:)
6149
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6150
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6151
 
ac_tool_warned=yes ;;
6152
 
esac
6153
 
    RANLIB=$ac_ct_RANLIB
6154
 
  fi
6155
 
else
6156
 
  RANLIB="$ac_cv_prog_RANLIB"
6157
 
fi
6158
 
 
6159
 
test -z "$RANLIB" && RANLIB=:
6160
 
 
6161
 
 
6162
 
 
6163
 
 
6164
 
 
6165
 
 
6166
 
# Determine commands to create old-style static archives.
6167
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6168
 
old_postinstall_cmds='chmod 644 $oldlib'
6169
 
old_postuninstall_cmds=
6170
 
 
6171
 
if test -n "$RANLIB"; then
6172
 
  case $host_os in
6173
 
  openbsd*)
6174
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6175
 
    ;;
6176
 
  *)
6177
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6178
 
    ;;
6179
 
  esac
6180
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6181
 
fi
6182
 
 
6183
 
case $host_os in
6184
 
  darwin*)
6185
 
    lock_old_archive_extraction=yes ;;
6186
 
  *)
6187
 
    lock_old_archive_extraction=no ;;
6188
 
esac
6189
 
 
6190
 
 
6191
 
 
6192
 
 
6193
 
 
6194
 
 
6195
 
 
6196
 
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
 
 
6203
 
 
6204
 
 
6205
 
 
6206
 
 
6207
 
 
6208
 
 
6209
 
 
6210
 
 
6211
 
 
6212
 
 
6213
 
 
6214
 
 
6215
 
 
6216
 
 
6217
 
 
6218
 
 
6219
 
 
6220
 
 
6221
 
 
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
# If no C compiler was specified, use CC.
6229
 
LTCC=${LTCC-"$CC"}
6230
 
 
6231
 
# If no C compiler flags were specified, use CFLAGS.
6232
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6233
 
 
6234
 
# Allow CC to be a program name with arguments.
6235
 
compiler=$CC
6236
 
 
6237
 
 
6238
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6239
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6240
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6241
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6242
 
  $as_echo_n "(cached) " >&6
6243
 
else
6244
 
 
6245
 
# These are sane defaults that work on at least a few old systems.
6246
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6247
 
 
6248
 
# Character class describing NM global symbol codes.
6249
 
symcode='[BCDEGRST]'
6250
 
 
6251
 
# Regexp to match symbols that can be accessed directly from C.
6252
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6253
 
 
6254
 
# Define system-specific variables.
6255
 
case $host_os in
6256
 
aix*)
6257
 
  symcode='[BCDT]'
6258
 
  ;;
6259
 
cygwin* | mingw* | pw32* | cegcc*)
6260
 
  symcode='[ABCDGISTW]'
6261
 
  ;;
6262
 
hpux*)
6263
 
  if test "$host_cpu" = ia64; then
6264
 
    symcode='[ABCDEGRST]'
6265
 
  fi
6266
 
  ;;
6267
 
irix* | nonstopux*)
6268
 
  symcode='[BCDEGRST]'
6269
 
  ;;
6270
 
osf*)
6271
 
  symcode='[BCDEGQRST]'
6272
 
  ;;
6273
 
solaris*)
6274
 
  symcode='[BDRT]'
6275
 
  ;;
6276
 
sco3.2v5*)
6277
 
  symcode='[DT]'
6278
 
  ;;
6279
 
sysv4.2uw2*)
6280
 
  symcode='[DT]'
6281
 
  ;;
6282
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6283
 
  symcode='[ABDT]'
6284
 
  ;;
6285
 
sysv4)
6286
 
  symcode='[DFNSTU]'
6287
 
  ;;
6288
 
esac
6289
 
 
6290
 
# If we're using GNU nm, then use its standard symbol codes.
6291
 
case `$NM -V 2>&1` in
6292
 
*GNU* | *'with BFD'*)
6293
 
  symcode='[ABCDGIRSTW]' ;;
6294
 
esac
6295
 
 
6296
 
# Transform an extracted symbol line into a proper C declaration.
6297
 
# Some systems (esp. on ia64) link data and code symbols differently,
6298
 
# so use this general approach.
6299
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6300
 
 
6301
 
# Transform an extracted symbol line into symbol name and symbol address
6302
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6303
 
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'"
6304
 
 
6305
 
# Handle CRLF in mingw tool chain
6306
 
opt_cr=
6307
 
case $build_os in
6308
 
mingw*)
6309
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6310
 
  ;;
6311
 
esac
6312
 
 
6313
 
# Try without a prefix underscore, then with it.
6314
 
for ac_symprfx in "" "_"; do
6315
 
 
6316
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6317
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6318
 
 
6319
 
  # Write the raw and C identifiers.
6320
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6321
 
    # Fake it for dumpbin and say T for any non-static function
6322
 
    # and D for any global variable.
6323
 
    # Also find C++ and __fastcall symbols from MSVC++,
6324
 
    # which start with @ or ?.
6325
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6326
 
"     {last_section=section; section=\$ 3};"\
6327
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6328
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6329
 
"     \$ 0!~/External *\|/{next};"\
6330
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6331
 
"     {if(hide[section]) next};"\
6332
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6333
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6334
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6335
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6336
 
"     ' prfx=^$ac_symprfx"
6337
 
  else
6338
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6339
 
  fi
6340
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6341
 
 
6342
 
  # Check to see that the pipe works correctly.
6343
 
  pipe_works=no
6344
 
 
6345
 
  rm -f conftest*
6346
 
  cat > conftest.$ac_ext <<_LT_EOF
6347
 
#ifdef __cplusplus
6348
 
extern "C" {
6349
 
#endif
6350
 
char nm_test_var;
6351
 
void nm_test_func(void);
6352
 
void nm_test_func(void){}
6353
 
#ifdef __cplusplus
6354
 
}
6355
 
#endif
6356
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6357
 
_LT_EOF
6358
 
 
6359
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6360
 
  (eval $ac_compile) 2>&5
6361
 
  ac_status=$?
6362
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6363
 
  test $ac_status = 0; }; then
6364
 
    # Now try to grab the symbols.
6365
 
    nlist=conftest.nm
6366
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6367
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6368
 
  ac_status=$?
6369
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6370
 
  test $ac_status = 0; } && test -s "$nlist"; then
6371
 
      # Try sorting and uniquifying the output.
6372
 
      if sort "$nlist" | uniq > "$nlist"T; then
6373
 
        mv -f "$nlist"T "$nlist"
6374
 
      else
6375
 
        rm -f "$nlist"T
6376
 
      fi
6377
 
 
6378
 
      # Make sure that we snagged all the symbols we need.
6379
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6380
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6381
 
          cat <<_LT_EOF > conftest.$ac_ext
6382
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6383
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6384
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6385
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6386
 
# define LT_DLSYM_CONST
6387
 
#elif defined(__osf__)
6388
 
/* This system does not cope well with relocations in const data.  */
6389
 
# define LT_DLSYM_CONST
6390
 
#else
6391
 
# define LT_DLSYM_CONST const
6392
 
#endif
6393
 
 
6394
 
#ifdef __cplusplus
6395
 
extern "C" {
6396
 
#endif
6397
 
 
6398
 
_LT_EOF
6399
 
          # Now generate the symbol file.
6400
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6401
 
 
6402
 
          cat <<_LT_EOF >> conftest.$ac_ext
6403
 
 
6404
 
/* The mapping between symbol names and symbols.  */
6405
 
LT_DLSYM_CONST struct {
6406
 
  const char *name;
6407
 
  void       *address;
6408
 
}
6409
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6410
 
{
6411
 
  { "@PROGRAM@", (void *) 0 },
6412
 
_LT_EOF
6413
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6414
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6415
 
  {0, (void *) 0}
6416
 
};
6417
 
 
6418
 
/* This works around a problem in FreeBSD linker */
6419
 
#ifdef FREEBSD_WORKAROUND
6420
 
static const void *lt_preloaded_setup() {
6421
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6422
 
}
6423
 
#endif
6424
 
 
6425
 
#ifdef __cplusplus
6426
 
}
6427
 
#endif
6428
 
_LT_EOF
6429
 
          # Now try linking the two files.
6430
 
          mv conftest.$ac_objext conftstm.$ac_objext
6431
 
          lt_globsym_save_LIBS=$LIBS
6432
 
          lt_globsym_save_CFLAGS=$CFLAGS
6433
 
          LIBS="conftstm.$ac_objext"
6434
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6435
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6436
 
  (eval $ac_link) 2>&5
6437
 
  ac_status=$?
6438
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6439
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6440
 
            pipe_works=yes
6441
 
          fi
6442
 
          LIBS=$lt_globsym_save_LIBS
6443
 
          CFLAGS=$lt_globsym_save_CFLAGS
6444
 
        else
6445
 
          echo "cannot find nm_test_func in $nlist" >&5
6446
 
        fi
6447
 
      else
6448
 
        echo "cannot find nm_test_var in $nlist" >&5
6449
 
      fi
6450
 
    else
6451
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6452
 
    fi
6453
 
  else
6454
 
    echo "$progname: failed program was:" >&5
6455
 
    cat conftest.$ac_ext >&5
6456
 
  fi
6457
 
  rm -rf conftest* conftst*
6458
 
 
6459
 
  # Do not use the global_symbol_pipe unless it works.
6460
 
  if test "$pipe_works" = yes; then
6461
 
    break
6462
 
  else
6463
 
    lt_cv_sys_global_symbol_pipe=
6464
 
  fi
6465
 
done
6466
 
 
6467
 
fi
6468
 
 
6469
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6470
 
  lt_cv_sys_global_symbol_to_cdecl=
6471
 
fi
6472
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6473
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6474
 
$as_echo "failed" >&6; }
6475
 
else
6476
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6477
 
$as_echo "ok" >&6; }
6478
 
fi
6479
 
 
6480
 
# Response file support.
6481
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6482
 
  nm_file_list_spec='@'
6483
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6484
 
  nm_file_list_spec='@'
6485
 
fi
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
 
 
6510
 
 
6511
 
 
6512
 
 
6513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6514
 
$as_echo_n "checking for sysroot... " >&6; }
6515
 
 
6516
 
# Check whether --with-sysroot was given.
6517
 
if test "${with_sysroot+set}" = set; then :
6518
 
  withval=$with_sysroot;
6519
 
else
6520
 
  with_sysroot=no
6521
 
fi
6522
 
 
6523
 
 
6524
 
lt_sysroot=
6525
 
case ${with_sysroot} in #(
6526
 
 yes)
6527
 
   if test "$GCC" = yes; then
6528
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6529
 
   fi
6530
 
   ;; #(
6531
 
 /*)
6532
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6533
 
   ;; #(
6534
 
 no|'')
6535
 
   ;; #(
6536
 
 *)
6537
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6538
 
$as_echo "${with_sysroot}" >&6; }
6539
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6540
 
   ;;
6541
 
esac
6542
 
 
6543
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6544
 
$as_echo "${lt_sysroot:-no}" >&6; }
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
 
 
6550
 
# Check whether --enable-libtool-lock was given.
6551
 
if test "${enable_libtool_lock+set}" = set; then :
6552
 
  enableval=$enable_libtool_lock;
6553
 
fi
6554
 
 
6555
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6556
 
 
6557
 
# Some flags need to be propagated to the compiler or linker for good
6558
 
# libtool support.
6559
 
case $host in
6560
 
ia64-*-hpux*)
6561
 
  # Find out which ABI we are using.
6562
 
  echo 'int i;' > conftest.$ac_ext
6563
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6564
 
  (eval $ac_compile) 2>&5
6565
 
  ac_status=$?
6566
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6567
 
  test $ac_status = 0; }; then
6568
 
    case `/usr/bin/file conftest.$ac_objext` in
6569
 
      *ELF-32*)
6570
 
        HPUX_IA64_MODE="32"
6571
 
        ;;
6572
 
      *ELF-64*)
6573
 
        HPUX_IA64_MODE="64"
6574
 
        ;;
6575
 
    esac
6576
 
  fi
6577
 
  rm -rf conftest*
6578
 
  ;;
6579
 
*-*-irix6*)
6580
 
  # Find out which ABI we are using.
6581
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6582
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6583
 
  (eval $ac_compile) 2>&5
6584
 
  ac_status=$?
6585
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586
 
  test $ac_status = 0; }; then
6587
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6588
 
      case `/usr/bin/file conftest.$ac_objext` in
6589
 
        *32-bit*)
6590
 
          LD="${LD-ld} -melf32bsmip"
6591
 
          ;;
6592
 
        *N32*)
6593
 
          LD="${LD-ld} -melf32bmipn32"
6594
 
          ;;
6595
 
        *64-bit*)
6596
 
          LD="${LD-ld} -melf64bmip"
6597
 
        ;;
6598
 
      esac
6599
 
    else
6600
 
      case `/usr/bin/file conftest.$ac_objext` in
6601
 
        *32-bit*)
6602
 
          LD="${LD-ld} -32"
6603
 
          ;;
6604
 
        *N32*)
6605
 
          LD="${LD-ld} -n32"
6606
 
          ;;
6607
 
        *64-bit*)
6608
 
          LD="${LD-ld} -64"
6609
 
          ;;
6610
 
      esac
6611
 
    fi
6612
 
  fi
6613
 
  rm -rf conftest*
6614
 
  ;;
6615
 
 
6616
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6617
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6618
 
  # Find out which ABI we are using.
6619
 
  echo 'int i;' > conftest.$ac_ext
6620
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6621
 
  (eval $ac_compile) 2>&5
6622
 
  ac_status=$?
6623
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6624
 
  test $ac_status = 0; }; then
6625
 
    case `/usr/bin/file conftest.o` in
6626
 
      *32-bit*)
6627
 
        case $host in
6628
 
          x86_64-*kfreebsd*-gnu)
6629
 
            LD="${LD-ld} -m elf_i386_fbsd"
6630
 
            ;;
6631
 
          x86_64-*linux*)
6632
 
            LD="${LD-ld} -m elf_i386"
6633
 
            ;;
6634
 
          ppc64-*linux*|powerpc64-*linux*)
6635
 
            LD="${LD-ld} -m elf32ppclinux"
6636
 
            ;;
6637
 
          s390x-*linux*)
6638
 
            LD="${LD-ld} -m elf_s390"
6639
 
            ;;
6640
 
          sparc64-*linux*)
6641
 
            LD="${LD-ld} -m elf32_sparc"
6642
 
            ;;
6643
 
        esac
6644
 
        ;;
6645
 
      *64-bit*)
6646
 
        case $host in
6647
 
          x86_64-*kfreebsd*-gnu)
6648
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6649
 
            ;;
6650
 
          x86_64-*linux*)
6651
 
            LD="${LD-ld} -m elf_x86_64"
6652
 
            ;;
6653
 
          ppc*-*linux*|powerpc*-*linux*)
6654
 
            LD="${LD-ld} -m elf64ppc"
6655
 
            ;;
6656
 
          s390*-*linux*|s390*-*tpf*)
6657
 
            LD="${LD-ld} -m elf64_s390"
6658
 
            ;;
6659
 
          sparc*-*linux*)
6660
 
            LD="${LD-ld} -m elf64_sparc"
6661
 
            ;;
6662
 
        esac
6663
 
        ;;
6664
 
    esac
6665
 
  fi
6666
 
  rm -rf conftest*
6667
 
  ;;
6668
 
 
6669
 
*-*-sco3.2v5*)
6670
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6671
 
  SAVE_CFLAGS="$CFLAGS"
6672
 
  CFLAGS="$CFLAGS -belf"
6673
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6674
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6675
 
if ${lt_cv_cc_needs_belf+:} false; then :
6676
 
  $as_echo_n "(cached) " >&6
6677
 
else
6678
 
  ac_ext=c
6679
 
ac_cpp='$CPP $CPPFLAGS'
6680
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6681
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6682
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6683
 
 
6684
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6685
 
/* end confdefs.h.  */
6686
 
 
6687
 
int
6688
 
main ()
6689
 
{
6690
 
 
6691
 
  ;
6692
 
  return 0;
6693
 
}
6694
 
_ACEOF
6695
 
if ac_fn_c_try_link "$LINENO"; then :
6696
 
  lt_cv_cc_needs_belf=yes
6697
 
else
6698
 
  lt_cv_cc_needs_belf=no
6699
 
fi
6700
 
rm -f core conftest.err conftest.$ac_objext \
6701
 
    conftest$ac_exeext conftest.$ac_ext
6702
 
     ac_ext=c
6703
 
ac_cpp='$CPP $CPPFLAGS'
6704
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6705
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6706
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6707
 
 
6708
 
fi
6709
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6710
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6711
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6712
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6713
 
    CFLAGS="$SAVE_CFLAGS"
6714
 
  fi
6715
 
  ;;
6716
 
*-*solaris*)
6717
 
  # Find out which ABI we are using.
6718
 
  echo 'int i;' > conftest.$ac_ext
6719
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6720
 
  (eval $ac_compile) 2>&5
6721
 
  ac_status=$?
6722
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6723
 
  test $ac_status = 0; }; then
6724
 
    case `/usr/bin/file conftest.o` in
6725
 
    *64-bit*)
6726
 
      case $lt_cv_prog_gnu_ld in
6727
 
      yes*)
6728
 
        case $host in
6729
 
        i?86-*-solaris*)
6730
 
          LD="${LD-ld} -m elf_x86_64"
6731
 
          ;;
6732
 
        sparc*-*-solaris*)
6733
 
          LD="${LD-ld} -m elf64_sparc"
6734
 
          ;;
6735
 
        esac
6736
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6737
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6738
 
          LD="${LD-ld}_sol2"
6739
 
        fi
6740
 
        ;;
6741
 
      *)
6742
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6743
 
          LD="${LD-ld} -64"
6744
 
        fi
6745
 
        ;;
6746
 
      esac
6747
 
      ;;
6748
 
    esac
6749
 
  fi
6750
 
  rm -rf conftest*
6751
 
  ;;
6752
 
esac
6753
 
 
6754
 
need_locks="$enable_libtool_lock"
6755
 
 
6756
 
if test -n "$ac_tool_prefix"; then
6757
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6758
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
6759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760
 
$as_echo_n "checking for $ac_word... " >&6; }
6761
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6762
 
  $as_echo_n "(cached) " >&6
6763
 
else
6764
 
  if test -n "$MANIFEST_TOOL"; then
6765
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6766
 
else
6767
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768
 
for as_dir in $PATH
6769
 
do
6770
 
  IFS=$as_save_IFS
6771
 
  test -z "$as_dir" && as_dir=.
6772
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6773
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6775
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776
 
    break 2
6777
 
  fi
6778
 
done
6779
 
  done
6780
 
IFS=$as_save_IFS
6781
 
 
6782
 
fi
6783
 
fi
6784
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6785
 
if test -n "$MANIFEST_TOOL"; then
6786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6787
 
$as_echo "$MANIFEST_TOOL" >&6; }
6788
 
else
6789
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790
 
$as_echo "no" >&6; }
6791
 
fi
6792
 
 
6793
 
 
6794
 
fi
6795
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6796
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6797
 
  # Extract the first word of "mt", so it can be a program name with args.
6798
 
set dummy mt; ac_word=$2
6799
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800
 
$as_echo_n "checking for $ac_word... " >&6; }
6801
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6802
 
  $as_echo_n "(cached) " >&6
6803
 
else
6804
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
6805
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6806
 
else
6807
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808
 
for as_dir in $PATH
6809
 
do
6810
 
  IFS=$as_save_IFS
6811
 
  test -z "$as_dir" && as_dir=.
6812
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6813
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6814
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6815
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816
 
    break 2
6817
 
  fi
6818
 
done
6819
 
  done
6820
 
IFS=$as_save_IFS
6821
 
 
6822
 
fi
6823
 
fi
6824
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6825
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
6826
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6827
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6828
 
else
6829
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830
 
$as_echo "no" >&6; }
6831
 
fi
6832
 
 
6833
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6834
 
    MANIFEST_TOOL=":"
6835
 
  else
6836
 
    case $cross_compiling:$ac_tool_warned in
6837
 
yes:)
6838
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840
 
ac_tool_warned=yes ;;
6841
 
esac
6842
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6843
 
  fi
6844
 
else
6845
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6846
 
fi
6847
 
 
6848
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6849
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6850
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6851
 
if ${lt_cv_path_mainfest_tool+:} false; then :
6852
 
  $as_echo_n "(cached) " >&6
6853
 
else
6854
 
  lt_cv_path_mainfest_tool=no
6855
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6856
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6857
 
  cat conftest.err >&5
6858
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6859
 
    lt_cv_path_mainfest_tool=yes
6860
 
  fi
6861
 
  rm -f conftest*
6862
 
fi
6863
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6864
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6865
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6866
 
  MANIFEST_TOOL=:
6867
 
fi
6868
 
 
6869
 
 
6870
 
 
6871
 
 
6872
 
 
6873
 
 
6874
 
  case $host_os in
6875
 
    rhapsody* | darwin*)
6876
 
    if test -n "$ac_tool_prefix"; then
6877
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6878
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6879
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880
 
$as_echo_n "checking for $ac_word... " >&6; }
6881
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6882
 
  $as_echo_n "(cached) " >&6
6883
 
else
6884
 
  if test -n "$DSYMUTIL"; then
6885
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6886
 
else
6887
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888
 
for as_dir in $PATH
6889
 
do
6890
 
  IFS=$as_save_IFS
6891
 
  test -z "$as_dir" && as_dir=.
6892
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6893
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6895
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896
 
    break 2
6897
 
  fi
6898
 
done
6899
 
  done
6900
 
IFS=$as_save_IFS
6901
 
 
6902
 
fi
6903
 
fi
6904
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6905
 
if test -n "$DSYMUTIL"; then
6906
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6907
 
$as_echo "$DSYMUTIL" >&6; }
6908
 
else
6909
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
 
$as_echo "no" >&6; }
6911
 
fi
6912
 
 
6913
 
 
6914
 
fi
6915
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6916
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6917
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6918
 
set dummy dsymutil; ac_word=$2
6919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920
 
$as_echo_n "checking for $ac_word... " >&6; }
6921
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6922
 
  $as_echo_n "(cached) " >&6
6923
 
else
6924
 
  if test -n "$ac_ct_DSYMUTIL"; then
6925
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6926
 
else
6927
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928
 
for as_dir in $PATH
6929
 
do
6930
 
  IFS=$as_save_IFS
6931
 
  test -z "$as_dir" && as_dir=.
6932
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6933
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6935
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936
 
    break 2
6937
 
  fi
6938
 
done
6939
 
  done
6940
 
IFS=$as_save_IFS
6941
 
 
6942
 
fi
6943
 
fi
6944
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6945
 
if test -n "$ac_ct_DSYMUTIL"; then
6946
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6947
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6948
 
else
6949
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950
 
$as_echo "no" >&6; }
6951
 
fi
6952
 
 
6953
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6954
 
    DSYMUTIL=":"
6955
 
  else
6956
 
    case $cross_compiling:$ac_tool_warned in
6957
 
yes:)
6958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6959
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6960
 
ac_tool_warned=yes ;;
6961
 
esac
6962
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6963
 
  fi
6964
 
else
6965
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6966
 
fi
6967
 
 
6968
 
    if test -n "$ac_tool_prefix"; then
6969
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6970
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972
 
$as_echo_n "checking for $ac_word... " >&6; }
6973
 
if ${ac_cv_prog_NMEDIT+:} false; then :
6974
 
  $as_echo_n "(cached) " >&6
6975
 
else
6976
 
  if test -n "$NMEDIT"; then
6977
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6978
 
else
6979
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980
 
for as_dir in $PATH
6981
 
do
6982
 
  IFS=$as_save_IFS
6983
 
  test -z "$as_dir" && as_dir=.
6984
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6985
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6986
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6987
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988
 
    break 2
6989
 
  fi
6990
 
done
6991
 
  done
6992
 
IFS=$as_save_IFS
6993
 
 
6994
 
fi
6995
 
fi
6996
 
NMEDIT=$ac_cv_prog_NMEDIT
6997
 
if test -n "$NMEDIT"; then
6998
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6999
 
$as_echo "$NMEDIT" >&6; }
7000
 
else
7001
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002
 
$as_echo "no" >&6; }
7003
 
fi
7004
 
 
7005
 
 
7006
 
fi
7007
 
if test -z "$ac_cv_prog_NMEDIT"; then
7008
 
  ac_ct_NMEDIT=$NMEDIT
7009
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7010
 
set dummy nmedit; ac_word=$2
7011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7012
 
$as_echo_n "checking for $ac_word... " >&6; }
7013
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7014
 
  $as_echo_n "(cached) " >&6
7015
 
else
7016
 
  if test -n "$ac_ct_NMEDIT"; then
7017
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7018
 
else
7019
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020
 
for as_dir in $PATH
7021
 
do
7022
 
  IFS=$as_save_IFS
7023
 
  test -z "$as_dir" && as_dir=.
7024
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7025
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7026
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7027
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028
 
    break 2
7029
 
  fi
7030
 
done
7031
 
  done
7032
 
IFS=$as_save_IFS
7033
 
 
7034
 
fi
7035
 
fi
7036
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7037
 
if test -n "$ac_ct_NMEDIT"; then
7038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7039
 
$as_echo "$ac_ct_NMEDIT" >&6; }
7040
 
else
7041
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042
 
$as_echo "no" >&6; }
7043
 
fi
7044
 
 
7045
 
  if test "x$ac_ct_NMEDIT" = x; then
7046
 
    NMEDIT=":"
7047
 
  else
7048
 
    case $cross_compiling:$ac_tool_warned in
7049
 
yes:)
7050
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7051
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7052
 
ac_tool_warned=yes ;;
7053
 
esac
7054
 
    NMEDIT=$ac_ct_NMEDIT
7055
 
  fi
7056
 
else
7057
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7058
 
fi
7059
 
 
7060
 
    if test -n "$ac_tool_prefix"; then
7061
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7062
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7063
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064
 
$as_echo_n "checking for $ac_word... " >&6; }
7065
 
if ${ac_cv_prog_LIPO+:} false; then :
7066
 
  $as_echo_n "(cached) " >&6
7067
 
else
7068
 
  if test -n "$LIPO"; then
7069
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7070
 
else
7071
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072
 
for as_dir in $PATH
7073
 
do
7074
 
  IFS=$as_save_IFS
7075
 
  test -z "$as_dir" && as_dir=.
7076
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7077
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7078
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7079
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080
 
    break 2
7081
 
  fi
7082
 
done
7083
 
  done
7084
 
IFS=$as_save_IFS
7085
 
 
7086
 
fi
7087
 
fi
7088
 
LIPO=$ac_cv_prog_LIPO
7089
 
if test -n "$LIPO"; then
7090
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7091
 
$as_echo "$LIPO" >&6; }
7092
 
else
7093
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094
 
$as_echo "no" >&6; }
7095
 
fi
7096
 
 
7097
 
 
7098
 
fi
7099
 
if test -z "$ac_cv_prog_LIPO"; then
7100
 
  ac_ct_LIPO=$LIPO
7101
 
  # Extract the first word of "lipo", so it can be a program name with args.
7102
 
set dummy lipo; ac_word=$2
7103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104
 
$as_echo_n "checking for $ac_word... " >&6; }
7105
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7106
 
  $as_echo_n "(cached) " >&6
7107
 
else
7108
 
  if test -n "$ac_ct_LIPO"; then
7109
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7110
 
else
7111
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112
 
for as_dir in $PATH
7113
 
do
7114
 
  IFS=$as_save_IFS
7115
 
  test -z "$as_dir" && as_dir=.
7116
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7117
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118
 
    ac_cv_prog_ac_ct_LIPO="lipo"
7119
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120
 
    break 2
7121
 
  fi
7122
 
done
7123
 
  done
7124
 
IFS=$as_save_IFS
7125
 
 
7126
 
fi
7127
 
fi
7128
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7129
 
if test -n "$ac_ct_LIPO"; then
7130
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7131
 
$as_echo "$ac_ct_LIPO" >&6; }
7132
 
else
7133
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134
 
$as_echo "no" >&6; }
7135
 
fi
7136
 
 
7137
 
  if test "x$ac_ct_LIPO" = x; then
7138
 
    LIPO=":"
7139
 
  else
7140
 
    case $cross_compiling:$ac_tool_warned in
7141
 
yes:)
7142
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7143
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7144
 
ac_tool_warned=yes ;;
7145
 
esac
7146
 
    LIPO=$ac_ct_LIPO
7147
 
  fi
7148
 
else
7149
 
  LIPO="$ac_cv_prog_LIPO"
7150
 
fi
7151
 
 
7152
 
    if test -n "$ac_tool_prefix"; then
7153
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7154
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7155
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156
 
$as_echo_n "checking for $ac_word... " >&6; }
7157
 
if ${ac_cv_prog_OTOOL+:} false; then :
7158
 
  $as_echo_n "(cached) " >&6
7159
 
else
7160
 
  if test -n "$OTOOL"; then
7161
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7162
 
else
7163
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164
 
for as_dir in $PATH
7165
 
do
7166
 
  IFS=$as_save_IFS
7167
 
  test -z "$as_dir" && as_dir=.
7168
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7169
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7170
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7171
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172
 
    break 2
7173
 
  fi
7174
 
done
7175
 
  done
7176
 
IFS=$as_save_IFS
7177
 
 
7178
 
fi
7179
 
fi
7180
 
OTOOL=$ac_cv_prog_OTOOL
7181
 
if test -n "$OTOOL"; then
7182
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7183
 
$as_echo "$OTOOL" >&6; }
7184
 
else
7185
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7186
 
$as_echo "no" >&6; }
7187
 
fi
7188
 
 
7189
 
 
7190
 
fi
7191
 
if test -z "$ac_cv_prog_OTOOL"; then
7192
 
  ac_ct_OTOOL=$OTOOL
7193
 
  # Extract the first word of "otool", so it can be a program name with args.
7194
 
set dummy otool; ac_word=$2
7195
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196
 
$as_echo_n "checking for $ac_word... " >&6; }
7197
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7198
 
  $as_echo_n "(cached) " >&6
7199
 
else
7200
 
  if test -n "$ac_ct_OTOOL"; then
7201
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7202
 
else
7203
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204
 
for as_dir in $PATH
7205
 
do
7206
 
  IFS=$as_save_IFS
7207
 
  test -z "$as_dir" && as_dir=.
7208
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7209
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7211
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212
 
    break 2
7213
 
  fi
7214
 
done
7215
 
  done
7216
 
IFS=$as_save_IFS
7217
 
 
7218
 
fi
7219
 
fi
7220
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7221
 
if test -n "$ac_ct_OTOOL"; then
7222
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7223
 
$as_echo "$ac_ct_OTOOL" >&6; }
7224
 
else
7225
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226
 
$as_echo "no" >&6; }
7227
 
fi
7228
 
 
7229
 
  if test "x$ac_ct_OTOOL" = x; then
7230
 
    OTOOL=":"
7231
 
  else
7232
 
    case $cross_compiling:$ac_tool_warned in
7233
 
yes:)
7234
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7235
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7236
 
ac_tool_warned=yes ;;
7237
 
esac
7238
 
    OTOOL=$ac_ct_OTOOL
7239
 
  fi
7240
 
else
7241
 
  OTOOL="$ac_cv_prog_OTOOL"
7242
 
fi
7243
 
 
7244
 
    if test -n "$ac_tool_prefix"; then
7245
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7246
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248
 
$as_echo_n "checking for $ac_word... " >&6; }
7249
 
if ${ac_cv_prog_OTOOL64+:} false; then :
7250
 
  $as_echo_n "(cached) " >&6
7251
 
else
7252
 
  if test -n "$OTOOL64"; then
7253
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7254
 
else
7255
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256
 
for as_dir in $PATH
7257
 
do
7258
 
  IFS=$as_save_IFS
7259
 
  test -z "$as_dir" && as_dir=.
7260
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7261
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7262
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7263
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264
 
    break 2
7265
 
  fi
7266
 
done
7267
 
  done
7268
 
IFS=$as_save_IFS
7269
 
 
7270
 
fi
7271
 
fi
7272
 
OTOOL64=$ac_cv_prog_OTOOL64
7273
 
if test -n "$OTOOL64"; then
7274
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7275
 
$as_echo "$OTOOL64" >&6; }
7276
 
else
7277
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278
 
$as_echo "no" >&6; }
7279
 
fi
7280
 
 
7281
 
 
7282
 
fi
7283
 
if test -z "$ac_cv_prog_OTOOL64"; then
7284
 
  ac_ct_OTOOL64=$OTOOL64
7285
 
  # Extract the first word of "otool64", so it can be a program name with args.
7286
 
set dummy otool64; ac_word=$2
7287
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288
 
$as_echo_n "checking for $ac_word... " >&6; }
7289
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7290
 
  $as_echo_n "(cached) " >&6
7291
 
else
7292
 
  if test -n "$ac_ct_OTOOL64"; then
7293
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7294
 
else
7295
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296
 
for as_dir in $PATH
7297
 
do
7298
 
  IFS=$as_save_IFS
7299
 
  test -z "$as_dir" && as_dir=.
7300
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7301
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7303
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304
 
    break 2
7305
 
  fi
7306
 
done
7307
 
  done
7308
 
IFS=$as_save_IFS
7309
 
 
7310
 
fi
7311
 
fi
7312
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7313
 
if test -n "$ac_ct_OTOOL64"; then
7314
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7315
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7316
 
else
7317
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7318
 
$as_echo "no" >&6; }
7319
 
fi
7320
 
 
7321
 
  if test "x$ac_ct_OTOOL64" = x; then
7322
 
    OTOOL64=":"
7323
 
  else
7324
 
    case $cross_compiling:$ac_tool_warned in
7325
 
yes:)
7326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7327
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7328
 
ac_tool_warned=yes ;;
7329
 
esac
7330
 
    OTOOL64=$ac_ct_OTOOL64
7331
 
  fi
7332
 
else
7333
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7334
 
fi
7335
 
 
7336
 
 
7337
 
 
7338
 
 
7339
 
 
7340
 
 
7341
 
 
7342
 
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
 
 
7350
 
 
7351
 
 
7352
 
 
7353
 
 
7354
 
 
7355
 
 
7356
 
 
7357
 
 
7358
 
 
7359
 
 
7360
 
 
7361
 
 
7362
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7363
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7364
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7365
 
  $as_echo_n "(cached) " >&6
7366
 
else
7367
 
  lt_cv_apple_cc_single_mod=no
7368
 
      if test -z "${LT_MULTI_MODULE}"; then
7369
 
        # By default we will add the -single_module flag. You can override
7370
 
        # by either setting the environment variable LT_MULTI_MODULE
7371
 
        # non-empty at configure time, or by adding -multi_module to the
7372
 
        # link flags.
7373
 
        rm -rf libconftest.dylib*
7374
 
        echo "int foo(void){return 1;}" > conftest.c
7375
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7376
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7377
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7378
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7379
 
        _lt_result=$?
7380
 
        # If there is a non-empty error log, and "single_module"
7381
 
        # appears in it, assume the flag caused a linker warning
7382
 
        if test -s conftest.err && $GREP single_module conftest.err; then
7383
 
          cat conftest.err >&5
7384
 
        # Otherwise, if the output was created with a 0 exit code from
7385
 
        # the compiler, it worked.
7386
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7387
 
          lt_cv_apple_cc_single_mod=yes
7388
 
        else
7389
 
          cat conftest.err >&5
7390
 
        fi
7391
 
        rm -rf libconftest.dylib*
7392
 
        rm -f conftest.*
7393
 
      fi
7394
 
fi
7395
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7396
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7397
 
 
7398
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7399
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7400
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7401
 
  $as_echo_n "(cached) " >&6
7402
 
else
7403
 
  lt_cv_ld_exported_symbols_list=no
7404
 
      save_LDFLAGS=$LDFLAGS
7405
 
      echo "_main" > conftest.sym
7406
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7407
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408
 
/* end confdefs.h.  */
7409
 
 
7410
 
int
7411
 
main ()
7412
 
{
7413
 
 
7414
 
  ;
7415
 
  return 0;
7416
 
}
7417
 
_ACEOF
7418
 
if ac_fn_c_try_link "$LINENO"; then :
7419
 
  lt_cv_ld_exported_symbols_list=yes
7420
 
else
7421
 
  lt_cv_ld_exported_symbols_list=no
7422
 
fi
7423
 
rm -f core conftest.err conftest.$ac_objext \
7424
 
    conftest$ac_exeext conftest.$ac_ext
7425
 
        LDFLAGS="$save_LDFLAGS"
7426
 
 
7427
 
fi
7428
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7429
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7430
 
 
7431
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7432
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7433
 
if ${lt_cv_ld_force_load+:} false; then :
7434
 
  $as_echo_n "(cached) " >&6
7435
 
else
7436
 
  lt_cv_ld_force_load=no
7437
 
      cat > conftest.c << _LT_EOF
7438
 
int forced_loaded() { return 2;}
7439
 
_LT_EOF
7440
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7441
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7442
 
      echo "$AR cru libconftest.a conftest.o" >&5
7443
 
      $AR cru libconftest.a conftest.o 2>&5
7444
 
      echo "$RANLIB libconftest.a" >&5
7445
 
      $RANLIB libconftest.a 2>&5
7446
 
      cat > conftest.c << _LT_EOF
7447
 
int main() { return 0;}
7448
 
_LT_EOF
7449
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7450
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7451
 
      _lt_result=$?
7452
 
      if test -s conftest.err && $GREP force_load conftest.err; then
7453
 
        cat conftest.err >&5
7454
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7455
 
        lt_cv_ld_force_load=yes
7456
 
      else
7457
 
        cat conftest.err >&5
7458
 
      fi
7459
 
        rm -f conftest.err libconftest.a conftest conftest.c
7460
 
        rm -rf conftest.dSYM
7461
 
 
7462
 
fi
7463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7464
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7465
 
    case $host_os in
7466
 
    rhapsody* | darwin1.[012])
7467
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7468
 
    darwin1.*)
7469
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7470
 
    darwin*) # darwin 5.x on
7471
 
      # if running on 10.5 or later, the deployment target defaults
7472
 
      # to the OS version, if on x86, and 10.4, the deployment
7473
 
      # target defaults to 10.4. Don't you love it?
7474
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7475
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7476
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7477
 
        10.[012]*)
7478
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7479
 
        10.*)
7480
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7481
 
      esac
7482
 
    ;;
7483
 
  esac
7484
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7485
 
      _lt_dar_single_mod='$single_module'
7486
 
    fi
7487
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7488
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7489
 
    else
7490
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7491
 
    fi
7492
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7493
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7494
 
    else
7495
 
      _lt_dsymutil=
7496
 
    fi
7497
 
    ;;
7498
 
  esac
7499
 
 
7500
 
ac_ext=c
7501
 
ac_cpp='$CPP $CPPFLAGS'
7502
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7503
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7504
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7505
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7506
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7507
 
# On Suns, sometimes $CPP names a directory.
7508
 
if test -n "$CPP" && test -d "$CPP"; then
7509
 
  CPP=
7510
 
fi
7511
 
if test -z "$CPP"; then
7512
 
  if ${ac_cv_prog_CPP+:} false; then :
7513
 
  $as_echo_n "(cached) " >&6
7514
 
else
7515
 
      # Double quotes because CPP needs to be expanded
7516
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7517
 
    do
7518
 
      ac_preproc_ok=false
7519
 
for ac_c_preproc_warn_flag in '' yes
7520
 
do
7521
 
  # Use a header file that comes with gcc, so configuring glibc
7522
 
  # with a fresh cross-compiler works.
7523
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7524
 
  # <limits.h> exists even on freestanding compilers.
7525
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7526
 
  # not just through cpp. "Syntax error" is here to catch this case.
7527
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528
 
/* end confdefs.h.  */
7529
 
#ifdef __STDC__
7530
 
# include <limits.h>
7531
 
#else
7532
 
# include <assert.h>
7533
 
#endif
7534
 
                     Syntax error
7535
 
_ACEOF
7536
 
if ac_fn_c_try_cpp "$LINENO"; then :
7537
 
 
7538
 
else
7539
 
  # Broken: fails on valid input.
7540
 
continue
7541
 
fi
7542
 
rm -f conftest.err conftest.i conftest.$ac_ext
7543
 
 
7544
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7545
 
  # can be detected and how.
7546
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547
 
/* end confdefs.h.  */
7548
 
#include <ac_nonexistent.h>
7549
 
_ACEOF
7550
 
if ac_fn_c_try_cpp "$LINENO"; then :
7551
 
  # Broken: success on invalid input.
7552
 
continue
7553
 
else
7554
 
  # Passes both tests.
7555
 
ac_preproc_ok=:
7556
 
break
7557
 
fi
7558
 
rm -f conftest.err conftest.i conftest.$ac_ext
7559
 
 
7560
 
done
7561
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7562
 
rm -f conftest.i conftest.err conftest.$ac_ext
7563
 
if $ac_preproc_ok; then :
7564
 
  break
7565
 
fi
7566
 
 
7567
 
    done
7568
 
    ac_cv_prog_CPP=$CPP
7569
 
 
7570
 
fi
7571
 
  CPP=$ac_cv_prog_CPP
7572
 
else
7573
 
  ac_cv_prog_CPP=$CPP
7574
 
fi
7575
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7576
 
$as_echo "$CPP" >&6; }
7577
 
ac_preproc_ok=false
7578
 
for ac_c_preproc_warn_flag in '' yes
7579
 
do
7580
 
  # Use a header file that comes with gcc, so configuring glibc
7581
 
  # with a fresh cross-compiler works.
7582
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7583
 
  # <limits.h> exists even on freestanding compilers.
7584
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7585
 
  # not just through cpp. "Syntax error" is here to catch this case.
7586
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587
 
/* end confdefs.h.  */
7588
 
#ifdef __STDC__
7589
 
# include <limits.h>
7590
 
#else
7591
 
# include <assert.h>
7592
 
#endif
7593
 
                     Syntax error
7594
 
_ACEOF
7595
 
if ac_fn_c_try_cpp "$LINENO"; then :
7596
 
 
7597
 
else
7598
 
  # Broken: fails on valid input.
7599
 
continue
7600
 
fi
7601
 
rm -f conftest.err conftest.i conftest.$ac_ext
7602
 
 
7603
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7604
 
  # can be detected and how.
7605
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7606
 
/* end confdefs.h.  */
7607
 
#include <ac_nonexistent.h>
7608
 
_ACEOF
7609
 
if ac_fn_c_try_cpp "$LINENO"; then :
7610
 
  # Broken: success on invalid input.
7611
 
continue
7612
 
else
7613
 
  # Passes both tests.
7614
 
ac_preproc_ok=:
7615
 
break
7616
 
fi
7617
 
rm -f conftest.err conftest.i conftest.$ac_ext
7618
 
 
7619
 
done
7620
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7621
 
rm -f conftest.i conftest.err conftest.$ac_ext
7622
 
if $ac_preproc_ok; then :
7623
 
 
7624
 
else
7625
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7626
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7627
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7628
 
See \`config.log' for more details" "$LINENO" 5; }
7629
 
fi
7630
 
 
7631
 
ac_ext=c
7632
 
ac_cpp='$CPP $CPPFLAGS'
7633
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7634
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7635
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7636
 
 
7637
 
 
7638
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7639
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7640
 
if ${ac_cv_header_stdc+:} false; then :
7641
 
  $as_echo_n "(cached) " >&6
7642
 
else
7643
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644
 
/* end confdefs.h.  */
7645
 
#include <stdlib.h>
7646
 
#include <stdarg.h>
7647
 
#include <string.h>
7648
 
#include <float.h>
7649
 
 
7650
 
int
7651
 
main ()
7652
 
{
7653
 
 
7654
 
  ;
7655
 
  return 0;
7656
 
}
7657
 
_ACEOF
7658
 
if ac_fn_c_try_compile "$LINENO"; then :
7659
 
  ac_cv_header_stdc=yes
7660
 
else
7661
 
  ac_cv_header_stdc=no
7662
 
fi
7663
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7664
 
 
7665
 
if test $ac_cv_header_stdc = yes; then
7666
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7667
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668
 
/* end confdefs.h.  */
7669
 
#include <string.h>
7670
 
 
7671
 
_ACEOF
7672
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7673
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7674
 
 
7675
 
else
7676
 
  ac_cv_header_stdc=no
7677
 
fi
7678
 
rm -f conftest*
7679
 
 
7680
 
fi
7681
 
 
7682
 
if test $ac_cv_header_stdc = yes; then
7683
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7684
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7685
 
/* end confdefs.h.  */
7686
 
#include <stdlib.h>
7687
 
 
7688
 
_ACEOF
7689
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7690
 
  $EGREP "free" >/dev/null 2>&1; then :
7691
 
 
7692
 
else
7693
 
  ac_cv_header_stdc=no
7694
 
fi
7695
 
rm -f conftest*
7696
 
 
7697
 
fi
7698
 
 
7699
 
if test $ac_cv_header_stdc = yes; then
7700
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7701
 
  if test "$cross_compiling" = yes; then :
7702
 
  :
7703
 
else
7704
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7705
 
/* end confdefs.h.  */
7706
 
#include <ctype.h>
7707
 
#include <stdlib.h>
7708
 
#if ((' ' & 0x0FF) == 0x020)
7709
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7710
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7711
 
#else
7712
 
# define ISLOWER(c) \
7713
 
                   (('a' <= (c) && (c) <= 'i') \
7714
 
                     || ('j' <= (c) && (c) <= 'r') \
7715
 
                     || ('s' <= (c) && (c) <= 'z'))
7716
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7717
 
#endif
7718
 
 
7719
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7720
 
int
7721
 
main ()
7722
 
{
7723
 
  int i;
7724
 
  for (i = 0; i < 256; i++)
7725
 
    if (XOR (islower (i), ISLOWER (i))
7726
 
        || toupper (i) != TOUPPER (i))
7727
 
      return 2;
7728
 
  return 0;
7729
 
}
7730
 
_ACEOF
7731
 
if ac_fn_c_try_run "$LINENO"; then :
7732
 
 
7733
 
else
7734
 
  ac_cv_header_stdc=no
7735
 
fi
7736
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7737
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7738
 
fi
7739
 
 
7740
 
fi
7741
 
fi
7742
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7743
 
$as_echo "$ac_cv_header_stdc" >&6; }
7744
 
if test $ac_cv_header_stdc = yes; then
7745
 
 
7746
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7747
 
 
7748
 
fi
7749
 
 
7750
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7751
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7752
 
                  inttypes.h stdint.h unistd.h
7753
 
do :
7754
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7755
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7756
 
"
7757
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7758
 
  cat >>confdefs.h <<_ACEOF
7759
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7760
 
_ACEOF
7761
 
 
7762
 
fi
7763
 
 
7764
 
done
7765
 
 
7766
 
 
7767
 
for ac_header in dlfcn.h
7768
 
do :
7769
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7770
 
"
7771
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7772
 
  cat >>confdefs.h <<_ACEOF
7773
 
#define HAVE_DLFCN_H 1
7774
 
_ACEOF
7775
 
 
7776
 
fi
7777
 
 
7778
 
done
7779
 
 
7780
 
 
7781
 
 
7782
 
 
7783
 
 
7784
 
# Set options
7785
 
 
7786
 
 
7787
 
 
7788
 
        enable_dlopen=no
7789
 
 
7790
 
 
7791
 
  enable_win32_dll=no
7792
 
 
7793
 
 
7794
 
            # Check whether --enable-shared was given.
7795
 
if test "${enable_shared+set}" = set; then :
7796
 
  enableval=$enable_shared; p=${PACKAGE-default}
7797
 
    case $enableval in
7798
 
    yes) enable_shared=yes ;;
7799
 
    no) enable_shared=no ;;
7800
 
    *)
7801
 
      enable_shared=no
7802
 
      # Look at the argument we got.  We use all the common list separators.
7803
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7804
 
      for pkg in $enableval; do
7805
 
        IFS="$lt_save_ifs"
7806
 
        if test "X$pkg" = "X$p"; then
7807
 
          enable_shared=yes
7808
 
        fi
7809
 
      done
7810
 
      IFS="$lt_save_ifs"
7811
 
      ;;
7812
 
    esac
7813
 
else
7814
 
  enable_shared=yes
7815
 
fi
7816
 
 
7817
 
 
7818
 
 
7819
 
 
7820
 
 
7821
 
 
7822
 
 
7823
 
 
7824
 
 
7825
 
  # Check whether --enable-static was given.
7826
 
if test "${enable_static+set}" = set; then :
7827
 
  enableval=$enable_static; p=${PACKAGE-default}
7828
 
    case $enableval in
7829
 
    yes) enable_static=yes ;;
7830
 
    no) enable_static=no ;;
7831
 
    *)
7832
 
     enable_static=no
7833
 
      # Look at the argument we got.  We use all the common list separators.
7834
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7835
 
      for pkg in $enableval; do
7836
 
        IFS="$lt_save_ifs"
7837
 
        if test "X$pkg" = "X$p"; then
7838
 
          enable_static=yes
7839
 
        fi
7840
 
      done
7841
 
      IFS="$lt_save_ifs"
7842
 
      ;;
7843
 
    esac
7844
 
else
7845
 
  enable_static=yes
7846
 
fi
7847
 
 
7848
 
 
7849
 
 
7850
 
 
7851
 
 
7852
 
 
7853
 
 
7854
 
 
7855
 
 
7856
 
 
7857
 
# Check whether --with-pic was given.
7858
 
if test "${with_pic+set}" = set; then :
7859
 
  withval=$with_pic; lt_p=${PACKAGE-default}
7860
 
    case $withval in
7861
 
    yes|no) pic_mode=$withval ;;
7862
 
    *)
7863
 
      pic_mode=default
7864
 
      # Look at the argument we got.  We use all the common list separators.
7865
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866
 
      for lt_pkg in $withval; do
7867
 
        IFS="$lt_save_ifs"
7868
 
        if test "X$lt_pkg" = "X$lt_p"; then
7869
 
          pic_mode=yes
7870
 
        fi
7871
 
      done
7872
 
      IFS="$lt_save_ifs"
7873
 
      ;;
7874
 
    esac
7875
 
else
7876
 
  pic_mode=default
7877
 
fi
7878
 
 
7879
 
 
7880
 
test -z "$pic_mode" && pic_mode=default
7881
 
 
7882
 
 
7883
 
 
7884
 
 
7885
 
 
7886
 
 
7887
 
 
7888
 
  # Check whether --enable-fast-install was given.
7889
 
if test "${enable_fast_install+set}" = set; then :
7890
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7891
 
    case $enableval in
7892
 
    yes) enable_fast_install=yes ;;
7893
 
    no) enable_fast_install=no ;;
7894
 
    *)
7895
 
      enable_fast_install=no
7896
 
      # Look at the argument we got.  We use all the common list separators.
7897
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7898
 
      for pkg in $enableval; do
7899
 
        IFS="$lt_save_ifs"
7900
 
        if test "X$pkg" = "X$p"; then
7901
 
          enable_fast_install=yes
7902
 
        fi
7903
 
      done
7904
 
      IFS="$lt_save_ifs"
7905
 
      ;;
7906
 
    esac
7907
 
else
7908
 
  enable_fast_install=yes
7909
 
fi
7910
 
 
7911
 
 
7912
 
 
7913
 
 
7914
 
 
7915
 
 
7916
 
 
7917
 
 
7918
 
 
7919
 
 
7920
 
 
7921
 
# This can be used to rebuild libtool when needed
7922
 
LIBTOOL_DEPS="$ltmain"
7923
 
 
7924
 
# Always use our own libtool.
7925
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7926
 
 
7927
 
 
7928
 
 
7929
 
 
7930
 
 
7931
 
 
7932
 
 
7933
 
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
 
 
7945
 
 
7946
 
 
7947
 
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
 
7956
 
test -z "$LN_S" && LN_S="ln -s"
7957
 
 
7958
 
 
7959
 
 
7960
 
 
7961
 
 
7962
 
 
7963
 
 
7964
 
 
7965
 
 
7966
 
 
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
if test -n "${ZSH_VERSION+set}" ; then
7972
 
   setopt NO_GLOB_SUBST
7973
 
fi
7974
 
 
7975
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7976
 
$as_echo_n "checking for objdir... " >&6; }
7977
 
if ${lt_cv_objdir+:} false; then :
7978
 
  $as_echo_n "(cached) " >&6
7979
 
else
7980
 
  rm -f .libs 2>/dev/null
7981
 
mkdir .libs 2>/dev/null
7982
 
if test -d .libs; then
7983
 
  lt_cv_objdir=.libs
7984
 
else
7985
 
  # MS-DOS does not allow filenames that begin with a dot.
7986
 
  lt_cv_objdir=_libs
7987
 
fi
7988
 
rmdir .libs 2>/dev/null
7989
 
fi
7990
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7991
 
$as_echo "$lt_cv_objdir" >&6; }
7992
 
objdir=$lt_cv_objdir
7993
 
 
7994
 
 
7995
 
 
7996
 
 
7997
 
 
7998
 
cat >>confdefs.h <<_ACEOF
7999
 
#define LT_OBJDIR "$lt_cv_objdir/"
8000
 
_ACEOF
8001
 
 
8002
 
 
8003
 
 
8004
 
 
8005
 
case $host_os in
8006
 
aix3*)
8007
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8008
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8009
 
  # vanish in a puff of smoke.
8010
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8011
 
    COLLECT_NAMES=
8012
 
    export COLLECT_NAMES
8013
 
  fi
8014
 
  ;;
8015
 
esac
8016
 
 
8017
 
# Global variables:
8018
 
ofile=libtool
8019
 
can_build_shared=yes
8020
 
 
8021
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8022
 
# which needs '.lib').
8023
 
libext=a
8024
 
 
8025
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8026
 
 
8027
 
old_CC="$CC"
8028
 
old_CFLAGS="$CFLAGS"
8029
 
 
8030
 
# Set sane defaults for various variables
8031
 
test -z "$CC" && CC=cc
8032
 
test -z "$LTCC" && LTCC=$CC
8033
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8034
 
test -z "$LD" && LD=ld
8035
 
test -z "$ac_objext" && ac_objext=o
8036
 
 
8037
 
for cc_temp in $compiler""; do
8038
 
  case $cc_temp in
8039
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8040
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8041
 
    \-*) ;;
8042
 
    *) break;;
8043
 
  esac
8044
 
done
8045
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8046
 
 
8047
 
 
8048
 
# Only perform the check for file, if the check method requires it
8049
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8050
 
case $deplibs_check_method in
8051
 
file_magic*)
8052
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8053
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8054
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8055
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8056
 
  $as_echo_n "(cached) " >&6
8057
 
else
8058
 
  case $MAGIC_CMD in
8059
 
[\\/*] |  ?:[\\/]*)
8060
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8061
 
  ;;
8062
 
*)
8063
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8064
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8065
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8066
 
  for ac_dir in $ac_dummy; do
8067
 
    IFS="$lt_save_ifs"
8068
 
    test -z "$ac_dir" && ac_dir=.
8069
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8070
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8071
 
      if test -n "$file_magic_test_file"; then
8072
 
        case $deplibs_check_method in
8073
 
        "file_magic "*)
8074
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8075
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8076
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8077
 
            $EGREP "$file_magic_regex" > /dev/null; then
8078
 
            :
8079
 
          else
8080
 
            cat <<_LT_EOF 1>&2
8081
 
 
8082
 
*** Warning: the command libtool uses to detect shared libraries,
8083
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8084
 
*** The result is that libtool may fail to recognize shared libraries
8085
 
*** as such.  This will affect the creation of libtool libraries that
8086
 
*** depend on shared libraries, but programs linked with such libtool
8087
 
*** libraries will work regardless of this problem.  Nevertheless, you
8088
 
*** may want to report the problem to your system manager and/or to
8089
 
*** bug-libtool@gnu.org
8090
 
 
8091
 
_LT_EOF
8092
 
          fi ;;
8093
 
        esac
8094
 
      fi
8095
 
      break
8096
 
    fi
8097
 
  done
8098
 
  IFS="$lt_save_ifs"
8099
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8100
 
  ;;
8101
 
esac
8102
 
fi
8103
 
 
8104
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8105
 
if test -n "$MAGIC_CMD"; then
8106
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8107
 
$as_echo "$MAGIC_CMD" >&6; }
8108
 
else
8109
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110
 
$as_echo "no" >&6; }
8111
 
fi
8112
 
 
8113
 
 
8114
 
 
8115
 
 
8116
 
 
8117
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8118
 
  if test -n "$ac_tool_prefix"; then
8119
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8120
 
$as_echo_n "checking for file... " >&6; }
8121
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8122
 
  $as_echo_n "(cached) " >&6
8123
 
else
8124
 
  case $MAGIC_CMD in
8125
 
[\\/*] |  ?:[\\/]*)
8126
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8127
 
  ;;
8128
 
*)
8129
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8130
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8131
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8132
 
  for ac_dir in $ac_dummy; do
8133
 
    IFS="$lt_save_ifs"
8134
 
    test -z "$ac_dir" && ac_dir=.
8135
 
    if test -f $ac_dir/file; then
8136
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8137
 
      if test -n "$file_magic_test_file"; then
8138
 
        case $deplibs_check_method in
8139
 
        "file_magic "*)
8140
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8141
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8142
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8143
 
            $EGREP "$file_magic_regex" > /dev/null; then
8144
 
            :
8145
 
          else
8146
 
            cat <<_LT_EOF 1>&2
8147
 
 
8148
 
*** Warning: the command libtool uses to detect shared libraries,
8149
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8150
 
*** The result is that libtool may fail to recognize shared libraries
8151
 
*** as such.  This will affect the creation of libtool libraries that
8152
 
*** depend on shared libraries, but programs linked with such libtool
8153
 
*** libraries will work regardless of this problem.  Nevertheless, you
8154
 
*** may want to report the problem to your system manager and/or to
8155
 
*** bug-libtool@gnu.org
8156
 
 
8157
 
_LT_EOF
8158
 
          fi ;;
8159
 
        esac
8160
 
      fi
8161
 
      break
8162
 
    fi
8163
 
  done
8164
 
  IFS="$lt_save_ifs"
8165
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8166
 
  ;;
8167
 
esac
8168
 
fi
8169
 
 
8170
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8171
 
if test -n "$MAGIC_CMD"; then
8172
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8173
 
$as_echo "$MAGIC_CMD" >&6; }
8174
 
else
8175
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176
 
$as_echo "no" >&6; }
8177
 
fi
8178
 
 
8179
 
 
8180
 
  else
8181
 
    MAGIC_CMD=:
8182
 
  fi
8183
 
fi
8184
 
 
8185
 
  fi
8186
 
  ;;
8187
 
esac
8188
 
 
8189
 
# Use C for the default configuration in the libtool script
8190
 
 
8191
 
lt_save_CC="$CC"
8192
 
ac_ext=c
8193
 
ac_cpp='$CPP $CPPFLAGS'
8194
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8195
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8196
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8197
 
 
8198
 
 
8199
 
# Source file extension for C test sources.
8200
 
ac_ext=c
8201
 
 
8202
 
# Object file extension for compiled C test sources.
8203
 
objext=o
8204
 
objext=$objext
8205
 
 
8206
 
# Code to be used in simple compile tests
8207
 
lt_simple_compile_test_code="int some_variable = 0;"
8208
 
 
8209
 
# Code to be used in simple link tests
8210
 
lt_simple_link_test_code='int main(){return(0);}'
8211
 
 
8212
 
 
8213
 
 
8214
 
 
8215
 
 
8216
 
 
8217
 
 
8218
 
# If no C compiler was specified, use CC.
8219
 
LTCC=${LTCC-"$CC"}
8220
 
 
8221
 
# If no C compiler flags were specified, use CFLAGS.
8222
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8223
 
 
8224
 
# Allow CC to be a program name with arguments.
8225
 
compiler=$CC
8226
 
 
8227
 
# Save the default compiler, since it gets overwritten when the other
8228
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8229
 
compiler_DEFAULT=$CC
8230
 
 
8231
 
# save warnings/boilerplate of simple test code
8232
 
ac_outfile=conftest.$ac_objext
8233
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8234
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8235
 
_lt_compiler_boilerplate=`cat conftest.err`
8236
 
$RM conftest*
8237
 
 
8238
 
ac_outfile=conftest.$ac_objext
8239
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8240
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8241
 
_lt_linker_boilerplate=`cat conftest.err`
8242
 
$RM -r conftest*
8243
 
 
8244
 
 
8245
 
## CAVEAT EMPTOR:
8246
 
## There is no encapsulation within the following macros, do not change
8247
 
## the running order or otherwise move them around unless you know exactly
8248
 
## what you are doing...
8249
 
if test -n "$compiler"; then
8250
 
 
8251
 
lt_prog_compiler_no_builtin_flag=
8252
 
 
8253
 
if test "$GCC" = yes; then
8254
 
  case $cc_basename in
8255
 
  nvcc*)
8256
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8257
 
  *)
8258
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8259
 
  esac
8260
 
 
8261
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8262
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8263
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8264
 
  $as_echo_n "(cached) " >&6
8265
 
else
8266
 
  lt_cv_prog_compiler_rtti_exceptions=no
8267
 
   ac_outfile=conftest.$ac_objext
8268
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8269
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8270
 
   # Insert the option either (1) after the last *FLAGS variable, or
8271
 
   # (2) before a word containing "conftest.", or (3) at the end.
8272
 
   # Note that $ac_compile itself does not contain backslashes and begins
8273
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8274
 
   # The option is referenced via a variable to avoid confusing sed.
8275
 
   lt_compile=`echo "$ac_compile" | $SED \
8276
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278
 
   -e 's:$: $lt_compiler_flag:'`
8279
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8280
 
   (eval "$lt_compile" 2>conftest.err)
8281
 
   ac_status=$?
8282
 
   cat conftest.err >&5
8283
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8285
 
     # The compiler can only warn and ignore the option if not recognized
8286
 
     # So say no if there are warnings other than the usual output.
8287
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8288
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8289
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8290
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8291
 
     fi
8292
 
   fi
8293
 
   $RM conftest*
8294
 
 
8295
 
fi
8296
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8297
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8298
 
 
8299
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8300
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8301
 
else
8302
 
    :
8303
 
fi
8304
 
 
8305
 
fi
8306
 
 
8307
 
 
8308
 
 
8309
 
 
8310
 
 
8311
 
 
8312
 
  lt_prog_compiler_wl=
8313
 
lt_prog_compiler_pic=
8314
 
lt_prog_compiler_static=
8315
 
 
8316
 
 
8317
 
  if test "$GCC" = yes; then
8318
 
    lt_prog_compiler_wl='-Wl,'
8319
 
    lt_prog_compiler_static='-static'
8320
 
 
8321
 
    case $host_os in
8322
 
      aix*)
8323
 
      # All AIX code is PIC.
8324
 
      if test "$host_cpu" = ia64; then
8325
 
        # AIX 5 now supports IA64 processor
8326
 
        lt_prog_compiler_static='-Bstatic'
8327
 
      fi
8328
 
      ;;
8329
 
 
8330
 
    amigaos*)
8331
 
      case $host_cpu in
8332
 
      powerpc)
8333
 
            # see comment about AmigaOS4 .so support
8334
 
            lt_prog_compiler_pic='-fPIC'
8335
 
        ;;
8336
 
      m68k)
8337
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8338
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8339
 
            # like `-m68040'.
8340
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8341
 
        ;;
8342
 
      esac
8343
 
      ;;
8344
 
 
8345
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8346
 
      # PIC is the default for these OSes.
8347
 
      ;;
8348
 
 
8349
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8350
 
      # This hack is so that the source file can tell whether it is being
8351
 
      # built for inclusion in a dll (and should export symbols for example).
8352
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8353
 
      # (--disable-auto-import) libraries
8354
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8355
 
      ;;
8356
 
 
8357
 
    darwin* | rhapsody*)
8358
 
      # PIC is the default on this platform
8359
 
      # Common symbols not allowed in MH_DYLIB files
8360
 
      lt_prog_compiler_pic='-fno-common'
8361
 
      ;;
8362
 
 
8363
 
    haiku*)
8364
 
      # PIC is the default for Haiku.
8365
 
      # The "-static" flag exists, but is broken.
8366
 
      lt_prog_compiler_static=
8367
 
      ;;
8368
 
 
8369
 
    hpux*)
8370
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8371
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8372
 
      # sets the default TLS model and affects inlining.
8373
 
      case $host_cpu in
8374
 
      hppa*64*)
8375
 
        # +Z the default
8376
 
        ;;
8377
 
      *)
8378
 
        lt_prog_compiler_pic='-fPIC'
8379
 
        ;;
8380
 
      esac
8381
 
      ;;
8382
 
 
8383
 
    interix[3-9]*)
8384
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8385
 
      # Instead, we relocate shared libraries at runtime.
8386
 
      ;;
8387
 
 
8388
 
    msdosdjgpp*)
8389
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8390
 
      # on systems that don't support them.
8391
 
      lt_prog_compiler_can_build_shared=no
8392
 
      enable_shared=no
8393
 
      ;;
8394
 
 
8395
 
    *nto* | *qnx*)
8396
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8397
 
      # it will coredump.
8398
 
      lt_prog_compiler_pic='-fPIC -shared'
8399
 
      ;;
8400
 
 
8401
 
    sysv4*MP*)
8402
 
      if test -d /usr/nec; then
8403
 
        lt_prog_compiler_pic=-Kconform_pic
8404
 
      fi
8405
 
      ;;
8406
 
 
8407
 
    *)
8408
 
      lt_prog_compiler_pic='-fPIC'
8409
 
      ;;
8410
 
    esac
8411
 
 
8412
 
    case $cc_basename in
8413
 
    nvcc*) # Cuda Compiler Driver 2.2
8414
 
      lt_prog_compiler_wl='-Xlinker '
8415
 
      if test -n "$lt_prog_compiler_pic"; then
8416
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8417
 
      fi
8418
 
      ;;
8419
 
    esac
8420
 
  else
8421
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8422
 
    case $host_os in
8423
 
    aix*)
8424
 
      lt_prog_compiler_wl='-Wl,'
8425
 
      if test "$host_cpu" = ia64; then
8426
 
        # AIX 5 now supports IA64 processor
8427
 
        lt_prog_compiler_static='-Bstatic'
8428
 
      else
8429
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8430
 
      fi
8431
 
      ;;
8432
 
 
8433
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8434
 
      # This hack is so that the source file can tell whether it is being
8435
 
      # built for inclusion in a dll (and should export symbols for example).
8436
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8437
 
      ;;
8438
 
 
8439
 
    hpux9* | hpux10* | hpux11*)
8440
 
      lt_prog_compiler_wl='-Wl,'
8441
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8442
 
      # not for PA HP-UX.
8443
 
      case $host_cpu in
8444
 
      hppa*64*|ia64*)
8445
 
        # +Z the default
8446
 
        ;;
8447
 
      *)
8448
 
        lt_prog_compiler_pic='+Z'
8449
 
        ;;
8450
 
      esac
8451
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8452
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8453
 
      ;;
8454
 
 
8455
 
    irix5* | irix6* | nonstopux*)
8456
 
      lt_prog_compiler_wl='-Wl,'
8457
 
      # PIC (with -KPIC) is the default.
8458
 
      lt_prog_compiler_static='-non_shared'
8459
 
      ;;
8460
 
 
8461
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8462
 
      case $cc_basename in
8463
 
      # old Intel for x86_64 which still supported -KPIC.
8464
 
      ecc*)
8465
 
        lt_prog_compiler_wl='-Wl,'
8466
 
        lt_prog_compiler_pic='-KPIC'
8467
 
        lt_prog_compiler_static='-static'
8468
 
        ;;
8469
 
      # icc used to be incompatible with GCC.
8470
 
      # ICC 10 doesn't accept -KPIC any more.
8471
 
      icc* | ifort*)
8472
 
        lt_prog_compiler_wl='-Wl,'
8473
 
        lt_prog_compiler_pic='-fPIC'
8474
 
        lt_prog_compiler_static='-static'
8475
 
        ;;
8476
 
      # Lahey Fortran 8.1.
8477
 
      lf95*)
8478
 
        lt_prog_compiler_wl='-Wl,'
8479
 
        lt_prog_compiler_pic='--shared'
8480
 
        lt_prog_compiler_static='--static'
8481
 
        ;;
8482
 
      nagfor*)
8483
 
        # NAG Fortran compiler
8484
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8485
 
        lt_prog_compiler_pic='-PIC'
8486
 
        lt_prog_compiler_static='-Bstatic'
8487
 
        ;;
8488
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8489
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8490
 
        # which looks to be a dead project)
8491
 
        lt_prog_compiler_wl='-Wl,'
8492
 
        lt_prog_compiler_pic='-fpic'
8493
 
        lt_prog_compiler_static='-Bstatic'
8494
 
        ;;
8495
 
      ccc*)
8496
 
        lt_prog_compiler_wl='-Wl,'
8497
 
        # All Alpha code is PIC.
8498
 
        lt_prog_compiler_static='-non_shared'
8499
 
        ;;
8500
 
      xl* | bgxl* | bgf* | mpixl*)
8501
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8502
 
        lt_prog_compiler_wl='-Wl,'
8503
 
        lt_prog_compiler_pic='-qpic'
8504
 
        lt_prog_compiler_static='-qstaticlink'
8505
 
        ;;
8506
 
      *)
8507
 
        case `$CC -V 2>&1 | sed 5q` in
8508
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8509
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8510
 
          lt_prog_compiler_pic='-KPIC'
8511
 
          lt_prog_compiler_static='-Bstatic'
8512
 
          lt_prog_compiler_wl=''
8513
 
          ;;
8514
 
        *Sun\ F* | *Sun*Fortran*)
8515
 
          lt_prog_compiler_pic='-KPIC'
8516
 
          lt_prog_compiler_static='-Bstatic'
8517
 
          lt_prog_compiler_wl='-Qoption ld '
8518
 
          ;;
8519
 
        *Sun\ C*)
8520
 
          # Sun C 5.9
8521
 
          lt_prog_compiler_pic='-KPIC'
8522
 
          lt_prog_compiler_static='-Bstatic'
8523
 
          lt_prog_compiler_wl='-Wl,'
8524
 
          ;;
8525
 
        *Intel*\ [CF]*Compiler*)
8526
 
          lt_prog_compiler_wl='-Wl,'
8527
 
          lt_prog_compiler_pic='-fPIC'
8528
 
          lt_prog_compiler_static='-static'
8529
 
          ;;
8530
 
        *Portland\ Group*)
8531
 
          lt_prog_compiler_wl='-Wl,'
8532
 
          lt_prog_compiler_pic='-fpic'
8533
 
          lt_prog_compiler_static='-Bstatic'
8534
 
          ;;
8535
 
        esac
8536
 
        ;;
8537
 
      esac
8538
 
      ;;
8539
 
 
8540
 
    newsos6)
8541
 
      lt_prog_compiler_pic='-KPIC'
8542
 
      lt_prog_compiler_static='-Bstatic'
8543
 
      ;;
8544
 
 
8545
 
    *nto* | *qnx*)
8546
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8547
 
      # it will coredump.
8548
 
      lt_prog_compiler_pic='-fPIC -shared'
8549
 
      ;;
8550
 
 
8551
 
    osf3* | osf4* | osf5*)
8552
 
      lt_prog_compiler_wl='-Wl,'
8553
 
      # All OSF/1 code is PIC.
8554
 
      lt_prog_compiler_static='-non_shared'
8555
 
      ;;
8556
 
 
8557
 
    rdos*)
8558
 
      lt_prog_compiler_static='-non_shared'
8559
 
      ;;
8560
 
 
8561
 
    solaris*)
8562
 
      lt_prog_compiler_pic='-KPIC'
8563
 
      lt_prog_compiler_static='-Bstatic'
8564
 
      case $cc_basename in
8565
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8566
 
        lt_prog_compiler_wl='-Qoption ld ';;
8567
 
      *)
8568
 
        lt_prog_compiler_wl='-Wl,';;
8569
 
      esac
8570
 
      ;;
8571
 
 
8572
 
    sunos4*)
8573
 
      lt_prog_compiler_wl='-Qoption ld '
8574
 
      lt_prog_compiler_pic='-PIC'
8575
 
      lt_prog_compiler_static='-Bstatic'
8576
 
      ;;
8577
 
 
8578
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8579
 
      lt_prog_compiler_wl='-Wl,'
8580
 
      lt_prog_compiler_pic='-KPIC'
8581
 
      lt_prog_compiler_static='-Bstatic'
8582
 
      ;;
8583
 
 
8584
 
    sysv4*MP*)
8585
 
      if test -d /usr/nec ;then
8586
 
        lt_prog_compiler_pic='-Kconform_pic'
8587
 
        lt_prog_compiler_static='-Bstatic'
8588
 
      fi
8589
 
      ;;
8590
 
 
8591
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8592
 
      lt_prog_compiler_wl='-Wl,'
8593
 
      lt_prog_compiler_pic='-KPIC'
8594
 
      lt_prog_compiler_static='-Bstatic'
8595
 
      ;;
8596
 
 
8597
 
    unicos*)
8598
 
      lt_prog_compiler_wl='-Wl,'
8599
 
      lt_prog_compiler_can_build_shared=no
8600
 
      ;;
8601
 
 
8602
 
    uts4*)
8603
 
      lt_prog_compiler_pic='-pic'
8604
 
      lt_prog_compiler_static='-Bstatic'
8605
 
      ;;
8606
 
 
8607
 
    *)
8608
 
      lt_prog_compiler_can_build_shared=no
8609
 
      ;;
8610
 
    esac
8611
 
  fi
8612
 
 
8613
 
case $host_os in
8614
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8615
 
  *djgpp*)
8616
 
    lt_prog_compiler_pic=
8617
 
    ;;
8618
 
  *)
8619
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8620
 
    ;;
8621
 
esac
8622
 
 
8623
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8624
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8626
 
  $as_echo_n "(cached) " >&6
8627
 
else
8628
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8629
 
fi
8630
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8631
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8632
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8633
 
 
8634
 
#
8635
 
# Check to make sure the PIC flag actually works.
8636
 
#
8637
 
if test -n "$lt_prog_compiler_pic"; then
8638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8639
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8640
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8641
 
  $as_echo_n "(cached) " >&6
8642
 
else
8643
 
  lt_cv_prog_compiler_pic_works=no
8644
 
   ac_outfile=conftest.$ac_objext
8645
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8646
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8647
 
   # Insert the option either (1) after the last *FLAGS variable, or
8648
 
   # (2) before a word containing "conftest.", or (3) at the end.
8649
 
   # Note that $ac_compile itself does not contain backslashes and begins
8650
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8651
 
   # The option is referenced via a variable to avoid confusing sed.
8652
 
   lt_compile=`echo "$ac_compile" | $SED \
8653
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8654
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8655
 
   -e 's:$: $lt_compiler_flag:'`
8656
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8657
 
   (eval "$lt_compile" 2>conftest.err)
8658
 
   ac_status=$?
8659
 
   cat conftest.err >&5
8660
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8662
 
     # The compiler can only warn and ignore the option if not recognized
8663
 
     # So say no if there are warnings other than the usual output.
8664
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8665
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8667
 
       lt_cv_prog_compiler_pic_works=yes
8668
 
     fi
8669
 
   fi
8670
 
   $RM conftest*
8671
 
 
8672
 
fi
8673
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8674
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8675
 
 
8676
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8677
 
    case $lt_prog_compiler_pic in
8678
 
     "" | " "*) ;;
8679
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8680
 
     esac
8681
 
else
8682
 
    lt_prog_compiler_pic=
8683
 
     lt_prog_compiler_can_build_shared=no
8684
 
fi
8685
 
 
8686
 
fi
8687
 
 
8688
 
 
8689
 
 
8690
 
 
8691
 
 
8692
 
 
8693
 
 
8694
 
 
8695
 
 
8696
 
 
8697
 
 
8698
 
#
8699
 
# Check to make sure the static flag actually works.
8700
 
#
8701
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8702
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8703
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8704
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
8705
 
  $as_echo_n "(cached) " >&6
8706
 
else
8707
 
  lt_cv_prog_compiler_static_works=no
8708
 
   save_LDFLAGS="$LDFLAGS"
8709
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8710
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8711
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8712
 
     # The linker can only warn and ignore the option if not recognized
8713
 
     # So say no if there are warnings
8714
 
     if test -s conftest.err; then
8715
 
       # Append any errors to the config.log.
8716
 
       cat conftest.err 1>&5
8717
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8718
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8719
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8720
 
         lt_cv_prog_compiler_static_works=yes
8721
 
       fi
8722
 
     else
8723
 
       lt_cv_prog_compiler_static_works=yes
8724
 
     fi
8725
 
   fi
8726
 
   $RM -r conftest*
8727
 
   LDFLAGS="$save_LDFLAGS"
8728
 
 
8729
 
fi
8730
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8731
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8732
 
 
8733
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8734
 
    :
8735
 
else
8736
 
    lt_prog_compiler_static=
8737
 
fi
8738
 
 
8739
 
 
8740
 
 
8741
 
 
8742
 
 
8743
 
 
8744
 
 
8745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8746
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8747
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8748
 
  $as_echo_n "(cached) " >&6
8749
 
else
8750
 
  lt_cv_prog_compiler_c_o=no
8751
 
   $RM -r conftest 2>/dev/null
8752
 
   mkdir conftest
8753
 
   cd conftest
8754
 
   mkdir out
8755
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8756
 
 
8757
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8758
 
   # Insert the option either (1) after the last *FLAGS variable, or
8759
 
   # (2) before a word containing "conftest.", or (3) at the end.
8760
 
   # Note that $ac_compile itself does not contain backslashes and begins
8761
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8762
 
   lt_compile=`echo "$ac_compile" | $SED \
8763
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765
 
   -e 's:$: $lt_compiler_flag:'`
8766
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8767
 
   (eval "$lt_compile" 2>out/conftest.err)
8768
 
   ac_status=$?
8769
 
   cat out/conftest.err >&5
8770
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8772
 
   then
8773
 
     # The compiler can only warn and ignore the option if not recognized
8774
 
     # So say no if there are warnings
8775
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8776
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8777
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8778
 
       lt_cv_prog_compiler_c_o=yes
8779
 
     fi
8780
 
   fi
8781
 
   chmod u+w . 2>&5
8782
 
   $RM conftest*
8783
 
   # SGI C++ compiler will create directory out/ii_files/ for
8784
 
   # template instantiation
8785
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8786
 
   $RM out/* && rmdir out
8787
 
   cd ..
8788
 
   $RM -r conftest
8789
 
   $RM conftest*
8790
 
 
8791
 
fi
8792
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8793
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8794
 
 
8795
 
 
8796
 
 
8797
 
 
8798
 
 
8799
 
 
8800
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8801
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8802
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8803
 
  $as_echo_n "(cached) " >&6
8804
 
else
8805
 
  lt_cv_prog_compiler_c_o=no
8806
 
   $RM -r conftest 2>/dev/null
8807
 
   mkdir conftest
8808
 
   cd conftest
8809
 
   mkdir out
8810
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8811
 
 
8812
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8813
 
   # Insert the option either (1) after the last *FLAGS variable, or
8814
 
   # (2) before a word containing "conftest.", or (3) at the end.
8815
 
   # Note that $ac_compile itself does not contain backslashes and begins
8816
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8817
 
   lt_compile=`echo "$ac_compile" | $SED \
8818
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8819
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8820
 
   -e 's:$: $lt_compiler_flag:'`
8821
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8822
 
   (eval "$lt_compile" 2>out/conftest.err)
8823
 
   ac_status=$?
8824
 
   cat out/conftest.err >&5
8825
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8827
 
   then
8828
 
     # The compiler can only warn and ignore the option if not recognized
8829
 
     # So say no if there are warnings
8830
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8831
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8832
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8833
 
       lt_cv_prog_compiler_c_o=yes
8834
 
     fi
8835
 
   fi
8836
 
   chmod u+w . 2>&5
8837
 
   $RM conftest*
8838
 
   # SGI C++ compiler will create directory out/ii_files/ for
8839
 
   # template instantiation
8840
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8841
 
   $RM out/* && rmdir out
8842
 
   cd ..
8843
 
   $RM -r conftest
8844
 
   $RM conftest*
8845
 
 
8846
 
fi
8847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8848
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8849
 
 
8850
 
 
8851
 
 
8852
 
 
8853
 
hard_links="nottested"
8854
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8855
 
  # do not overwrite the value of need_locks provided by the user
8856
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8857
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8858
 
  hard_links=yes
8859
 
  $RM conftest*
8860
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8861
 
  touch conftest.a
8862
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8863
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8864
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8865
 
$as_echo "$hard_links" >&6; }
8866
 
  if test "$hard_links" = no; then
8867
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8868
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8869
 
    need_locks=warn
8870
 
  fi
8871
 
else
8872
 
  need_locks=no
8873
 
fi
8874
 
 
8875
 
 
8876
 
 
8877
 
 
8878
 
 
8879
 
 
8880
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8881
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8882
 
 
8883
 
  runpath_var=
8884
 
  allow_undefined_flag=
8885
 
  always_export_symbols=no
8886
 
  archive_cmds=
8887
 
  archive_expsym_cmds=
8888
 
  compiler_needs_object=no
8889
 
  enable_shared_with_static_runtimes=no
8890
 
  export_dynamic_flag_spec=
8891
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8892
 
  hardcode_automatic=no
8893
 
  hardcode_direct=no
8894
 
  hardcode_direct_absolute=no
8895
 
  hardcode_libdir_flag_spec=
8896
 
  hardcode_libdir_separator=
8897
 
  hardcode_minus_L=no
8898
 
  hardcode_shlibpath_var=unsupported
8899
 
  inherit_rpath=no
8900
 
  link_all_deplibs=unknown
8901
 
  module_cmds=
8902
 
  module_expsym_cmds=
8903
 
  old_archive_from_new_cmds=
8904
 
  old_archive_from_expsyms_cmds=
8905
 
  thread_safe_flag_spec=
8906
 
  whole_archive_flag_spec=
8907
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8908
 
  # included in the symbol list
8909
 
  include_expsyms=
8910
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8911
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8912
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8913
 
  # as well as any symbol that contains `d'.
8914
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8915
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8916
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8917
 
  # the symbol is explicitly referenced.  Since portable code cannot
8918
 
  # rely on this symbol name, it's probably fine to never include it in
8919
 
  # preloaded symbol tables.
8920
 
  # Exclude shared library initialization/finalization symbols.
8921
 
  extract_expsyms_cmds=
8922
 
 
8923
 
  case $host_os in
8924
 
  cygwin* | mingw* | pw32* | cegcc*)
8925
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8926
 
    # When not using gcc, we currently assume that we are using
8927
 
    # Microsoft Visual C++.
8928
 
    if test "$GCC" != yes; then
8929
 
      with_gnu_ld=no
8930
 
    fi
8931
 
    ;;
8932
 
  interix*)
8933
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8934
 
    with_gnu_ld=yes
8935
 
    ;;
8936
 
  openbsd*)
8937
 
    with_gnu_ld=no
8938
 
    ;;
8939
 
  linux* | k*bsd*-gnu | gnu*)
8940
 
    link_all_deplibs=no
8941
 
    ;;
8942
 
  esac
8943
 
 
8944
 
  ld_shlibs=yes
8945
 
 
8946
 
  # On some targets, GNU ld is compatible enough with the native linker
8947
 
  # that we're better off using the native interface for both.
8948
 
  lt_use_gnu_ld_interface=no
8949
 
  if test "$with_gnu_ld" = yes; then
8950
 
    case $host_os in
8951
 
      aix*)
8952
 
        # The AIX port of GNU ld has always aspired to compatibility
8953
 
        # with the native linker.  However, as the warning in the GNU ld
8954
 
        # block says, versions before 2.19.5* couldn't really create working
8955
 
        # shared libraries, regardless of the interface used.
8956
 
        case `$LD -v 2>&1` in
8957
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8958
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8959
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8960
 
          *)
8961
 
            lt_use_gnu_ld_interface=yes
8962
 
            ;;
8963
 
        esac
8964
 
        ;;
8965
 
      *)
8966
 
        lt_use_gnu_ld_interface=yes
8967
 
        ;;
8968
 
    esac
8969
 
  fi
8970
 
 
8971
 
  if test "$lt_use_gnu_ld_interface" = yes; then
8972
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8973
 
    wlarc='${wl}'
8974
 
 
8975
 
    # Set some defaults for GNU ld with shared library support. These
8976
 
    # are reset later if shared libraries are not supported. Putting them
8977
 
    # here allows them to be overridden if necessary.
8978
 
    runpath_var=LD_RUN_PATH
8979
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8980
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8981
 
    # ancient GNU ld didn't support --whole-archive et. al.
8982
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8983
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8984
 
    else
8985
 
      whole_archive_flag_spec=
8986
 
    fi
8987
 
    supports_anon_versioning=no
8988
 
    case `$LD -v 2>&1` in
8989
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8990
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8991
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8992
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8993
 
      *\ 2.11.*) ;; # other 2.11 versions
8994
 
      *) supports_anon_versioning=yes ;;
8995
 
    esac
8996
 
 
8997
 
    # See if GNU ld supports shared libraries.
8998
 
    case $host_os in
8999
 
    aix[3-9]*)
9000
 
      # On AIX/PPC, the GNU linker is very broken
9001
 
      if test "$host_cpu" != ia64; then
9002
 
        ld_shlibs=no
9003
 
        cat <<_LT_EOF 1>&2
9004
 
 
9005
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
9006
 
*** to be unable to reliably create shared libraries on AIX.
9007
 
*** Therefore, libtool is disabling shared libraries support.  If you
9008
 
*** really care for shared libraries, you may want to install binutils
9009
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9010
 
*** You will then need to restart the configuration process.
9011
 
 
9012
 
_LT_EOF
9013
 
      fi
9014
 
      ;;
9015
 
 
9016
 
    amigaos*)
9017
 
      case $host_cpu in
9018
 
      powerpc)
9019
 
            # see comment about AmigaOS4 .so support
9020
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9021
 
            archive_expsym_cmds=''
9022
 
        ;;
9023
 
      m68k)
9024
 
            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)'
9025
 
            hardcode_libdir_flag_spec='-L$libdir'
9026
 
            hardcode_minus_L=yes
9027
 
        ;;
9028
 
      esac
9029
 
      ;;
9030
 
 
9031
 
    beos*)
9032
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9033
 
        allow_undefined_flag=unsupported
9034
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9035
 
        # support --undefined.  This deserves some investigation.  FIXME
9036
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037
 
      else
9038
 
        ld_shlibs=no
9039
 
      fi
9040
 
      ;;
9041
 
 
9042
 
    cygwin* | mingw* | pw32* | cegcc*)
9043
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9044
 
      # as there is no search path for DLLs.
9045
 
      hardcode_libdir_flag_spec='-L$libdir'
9046
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9047
 
      allow_undefined_flag=unsupported
9048
 
      always_export_symbols=no
9049
 
      enable_shared_with_static_runtimes=yes
9050
 
      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'
9051
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9052
 
 
9053
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9054
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9055
 
        # If the export-symbols file already is a .def file (1st line
9056
 
        # is EXPORTS), use it as is; otherwise, prepend...
9057
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9058
 
          cp $export_symbols $output_objdir/$soname.def;
9059
 
        else
9060
 
          echo EXPORTS > $output_objdir/$soname.def;
9061
 
          cat $export_symbols >> $output_objdir/$soname.def;
9062
 
        fi~
9063
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9064
 
      else
9065
 
        ld_shlibs=no
9066
 
      fi
9067
 
      ;;
9068
 
 
9069
 
    haiku*)
9070
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071
 
      link_all_deplibs=yes
9072
 
      ;;
9073
 
 
9074
 
    interix[3-9]*)
9075
 
      hardcode_direct=no
9076
 
      hardcode_shlibpath_var=no
9077
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9078
 
      export_dynamic_flag_spec='${wl}-E'
9079
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9080
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9081
 
      # default) and relocated if they conflict, which is a slow very memory
9082
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9083
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9084
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9085
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9086
 
      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'
9087
 
      ;;
9088
 
 
9089
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9090
 
      tmp_diet=no
9091
 
      if test "$host_os" = linux-dietlibc; then
9092
 
        case $cc_basename in
9093
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9094
 
        esac
9095
 
      fi
9096
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9097
 
         && test "$tmp_diet" = no
9098
 
      then
9099
 
        tmp_addflag=' $pic_flag'
9100
 
        tmp_sharedflag='-shared'
9101
 
        case $cc_basename,$host_cpu in
9102
 
        pgcc*)                          # Portland Group C compiler
9103
 
          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'
9104
 
          tmp_addflag=' $pic_flag'
9105
 
          ;;
9106
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9107
 
                                        # Portland Group f77 and f90 compilers
9108
 
          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'
9109
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9110
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9111
 
          tmp_addflag=' -i_dynamic' ;;
9112
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9113
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9114
 
        ifc* | ifort*)                  # Intel Fortran compiler
9115
 
          tmp_addflag=' -nofor_main' ;;
9116
 
        lf95*)                          # Lahey Fortran 8.1
9117
 
          whole_archive_flag_spec=
9118
 
          tmp_sharedflag='--shared' ;;
9119
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9120
 
          tmp_sharedflag='-qmkshrobj'
9121
 
          tmp_addflag= ;;
9122
 
        nvcc*)  # Cuda Compiler Driver 2.2
9123
 
          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'
9124
 
          compiler_needs_object=yes
9125
 
          ;;
9126
 
        esac
9127
 
        case `$CC -V 2>&1 | sed 5q` in
9128
 
        *Sun\ C*)                       # Sun C 5.9
9129
 
          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'
9130
 
          compiler_needs_object=yes
9131
 
          tmp_sharedflag='-G' ;;
9132
 
        *Sun\ F*)                       # Sun Fortran 8.3
9133
 
          tmp_sharedflag='-G' ;;
9134
 
        esac
9135
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9136
 
 
9137
 
        if test "x$supports_anon_versioning" = xyes; then
9138
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9139
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9140
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9141
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9142
 
        fi
9143
 
 
9144
 
        case $cc_basename in
9145
 
        xlf* | bgf* | bgxlf* | mpixlf*)
9146
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9147
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9148
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9149
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9150
 
          if test "x$supports_anon_versioning" = xyes; then
9151
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9152
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9153
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9154
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9155
 
          fi
9156
 
          ;;
9157
 
        esac
9158
 
      else
9159
 
        ld_shlibs=no
9160
 
      fi
9161
 
      ;;
9162
 
 
9163
 
    netbsd* | netbsdelf*-gnu)
9164
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9165
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9166
 
        wlarc=
9167
 
      else
9168
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9169
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9170
 
      fi
9171
 
      ;;
9172
 
 
9173
 
    solaris*)
9174
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9175
 
        ld_shlibs=no
9176
 
        cat <<_LT_EOF 1>&2
9177
 
 
9178
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9179
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9180
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9181
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9182
 
*** your PATH or compiler configuration so that the native linker is
9183
 
*** used, and then restart.
9184
 
 
9185
 
_LT_EOF
9186
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9189
 
      else
9190
 
        ld_shlibs=no
9191
 
      fi
9192
 
      ;;
9193
 
 
9194
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9195
 
      case `$LD -v 2>&1` in
9196
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9197
 
        ld_shlibs=no
9198
 
        cat <<_LT_EOF 1>&2
9199
 
 
9200
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9201
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9202
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9203
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9204
 
*** your PATH or compiler configuration so that the native linker is
9205
 
*** used, and then restart.
9206
 
 
9207
 
_LT_EOF
9208
 
        ;;
9209
 
        *)
9210
 
          # For security reasons, it is highly recommended that you always
9211
 
          # use absolute paths for naming shared libraries, and exclude the
9212
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9213
 
          # requires that you compile everything twice, which is a pain.
9214
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9215
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9218
 
          else
9219
 
            ld_shlibs=no
9220
 
          fi
9221
 
        ;;
9222
 
      esac
9223
 
      ;;
9224
 
 
9225
 
    sunos4*)
9226
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9227
 
      wlarc=
9228
 
      hardcode_direct=yes
9229
 
      hardcode_shlibpath_var=no
9230
 
      ;;
9231
 
 
9232
 
    *)
9233
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9234
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9236
 
      else
9237
 
        ld_shlibs=no
9238
 
      fi
9239
 
      ;;
9240
 
    esac
9241
 
 
9242
 
    if test "$ld_shlibs" = no; then
9243
 
      runpath_var=
9244
 
      hardcode_libdir_flag_spec=
9245
 
      export_dynamic_flag_spec=
9246
 
      whole_archive_flag_spec=
9247
 
    fi
9248
 
  else
9249
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9250
 
    case $host_os in
9251
 
    aix3*)
9252
 
      allow_undefined_flag=unsupported
9253
 
      always_export_symbols=yes
9254
 
      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'
9255
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9256
 
      # are no directories specified by -L.
9257
 
      hardcode_minus_L=yes
9258
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9259
 
        # Neither direct hardcoding nor static linking is supported with a
9260
 
        # broken collect2.
9261
 
        hardcode_direct=unsupported
9262
 
      fi
9263
 
      ;;
9264
 
 
9265
 
    aix[4-9]*)
9266
 
      if test "$host_cpu" = ia64; then
9267
 
        # On IA64, the linker does run time linking by default, so we don't
9268
 
        # have to do anything special.
9269
 
        aix_use_runtimelinking=no
9270
 
        exp_sym_flag='-Bexport'
9271
 
        no_entry_flag=""
9272
 
      else
9273
 
        # If we're using GNU nm, then we don't want the "-C" option.
9274
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9275
 
        # Also, AIX nm treats weak defined symbols like other global
9276
 
        # defined symbols, whereas GNU nm marks them as "W".
9277
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9278
 
          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'
9279
 
        else
9280
 
          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'
9281
 
        fi
9282
 
        aix_use_runtimelinking=no
9283
 
 
9284
 
        # Test if we are trying to use run time linking or normal
9285
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9286
 
        # need to do runtime linking.
9287
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9288
 
          for ld_flag in $LDFLAGS; do
9289
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9290
 
            aix_use_runtimelinking=yes
9291
 
            break
9292
 
          fi
9293
 
          done
9294
 
          ;;
9295
 
        esac
9296
 
 
9297
 
        exp_sym_flag='-bexport'
9298
 
        no_entry_flag='-bnoentry'
9299
 
      fi
9300
 
 
9301
 
      # When large executables or shared objects are built, AIX ld can
9302
 
      # have problems creating the table of contents.  If linking a library
9303
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9304
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9305
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9306
 
 
9307
 
      archive_cmds=''
9308
 
      hardcode_direct=yes
9309
 
      hardcode_direct_absolute=yes
9310
 
      hardcode_libdir_separator=':'
9311
 
      link_all_deplibs=yes
9312
 
      file_list_spec='${wl}-f,'
9313
 
 
9314
 
      if test "$GCC" = yes; then
9315
 
        case $host_os in aix4.[012]|aix4.[012].*)
9316
 
        # We only want to do this on AIX 4.2 and lower, the check
9317
 
        # below for broken collect2 doesn't work under 4.3+
9318
 
          collect2name=`${CC} -print-prog-name=collect2`
9319
 
          if test -f "$collect2name" &&
9320
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9321
 
          then
9322
 
          # We have reworked collect2
9323
 
          :
9324
 
          else
9325
 
          # We have old collect2
9326
 
          hardcode_direct=unsupported
9327
 
          # It fails to find uninstalled libraries when the uninstalled
9328
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9329
 
          # to unsupported forces relinking
9330
 
          hardcode_minus_L=yes
9331
 
          hardcode_libdir_flag_spec='-L$libdir'
9332
 
          hardcode_libdir_separator=
9333
 
          fi
9334
 
          ;;
9335
 
        esac
9336
 
        shared_flag='-shared'
9337
 
        if test "$aix_use_runtimelinking" = yes; then
9338
 
          shared_flag="$shared_flag "'${wl}-G'
9339
 
        fi
9340
 
        link_all_deplibs=no
9341
 
      else
9342
 
        # not using gcc
9343
 
        if test "$host_cpu" = ia64; then
9344
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9345
 
        # chokes on -Wl,-G. The following line is correct:
9346
 
          shared_flag='-G'
9347
 
        else
9348
 
          if test "$aix_use_runtimelinking" = yes; then
9349
 
            shared_flag='${wl}-G'
9350
 
          else
9351
 
            shared_flag='${wl}-bM:SRE'
9352
 
          fi
9353
 
        fi
9354
 
      fi
9355
 
 
9356
 
      export_dynamic_flag_spec='${wl}-bexpall'
9357
 
      # It seems that -bexpall does not export symbols beginning with
9358
 
      # underscore (_), so it is better to generate a list of symbols to export.
9359
 
      always_export_symbols=yes
9360
 
      if test "$aix_use_runtimelinking" = yes; then
9361
 
        # Warning - without using the other runtime loading flags (-brtl),
9362
 
        # -berok will link without error, but may produce a broken library.
9363
 
        allow_undefined_flag='-berok'
9364
 
        # Determine the default libpath from the value encoded in an
9365
 
        # empty executable.
9366
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9367
 
  aix_libpath=$lt_cv_aix_libpath
9368
 
else
9369
 
  if ${lt_cv_aix_libpath_+:} false; then :
9370
 
  $as_echo_n "(cached) " >&6
9371
 
else
9372
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373
 
/* end confdefs.h.  */
9374
 
 
9375
 
int
9376
 
main ()
9377
 
{
9378
 
 
9379
 
  ;
9380
 
  return 0;
9381
 
}
9382
 
_ACEOF
9383
 
if ac_fn_c_try_link "$LINENO"; then :
9384
 
 
9385
 
  lt_aix_libpath_sed='
9386
 
      /Import File Strings/,/^$/ {
9387
 
          /^0/ {
9388
 
              s/^0  *\([^ ]*\) *$/\1/
9389
 
              p
9390
 
          }
9391
 
      }'
9392
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9393
 
  # Check for a 64-bit object if we didn't find anything.
9394
 
  if test -z "$lt_cv_aix_libpath_"; then
9395
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9396
 
  fi
9397
 
fi
9398
 
rm -f core conftest.err conftest.$ac_objext \
9399
 
    conftest$ac_exeext conftest.$ac_ext
9400
 
  if test -z "$lt_cv_aix_libpath_"; then
9401
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9402
 
  fi
9403
 
 
9404
 
fi
9405
 
 
9406
 
  aix_libpath=$lt_cv_aix_libpath_
9407
 
fi
9408
 
 
9409
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9410
 
        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"
9411
 
      else
9412
 
        if test "$host_cpu" = ia64; then
9413
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9414
 
          allow_undefined_flag="-z nodefs"
9415
 
          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"
9416
 
        else
9417
 
         # Determine the default libpath from the value encoded in an
9418
 
         # empty executable.
9419
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9420
 
  aix_libpath=$lt_cv_aix_libpath
9421
 
else
9422
 
  if ${lt_cv_aix_libpath_+:} false; then :
9423
 
  $as_echo_n "(cached) " >&6
9424
 
else
9425
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426
 
/* end confdefs.h.  */
9427
 
 
9428
 
int
9429
 
main ()
9430
 
{
9431
 
 
9432
 
  ;
9433
 
  return 0;
9434
 
}
9435
 
_ACEOF
9436
 
if ac_fn_c_try_link "$LINENO"; then :
9437
 
 
9438
 
  lt_aix_libpath_sed='
9439
 
      /Import File Strings/,/^$/ {
9440
 
          /^0/ {
9441
 
              s/^0  *\([^ ]*\) *$/\1/
9442
 
              p
9443
 
          }
9444
 
      }'
9445
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9446
 
  # Check for a 64-bit object if we didn't find anything.
9447
 
  if test -z "$lt_cv_aix_libpath_"; then
9448
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9449
 
  fi
9450
 
fi
9451
 
rm -f core conftest.err conftest.$ac_objext \
9452
 
    conftest$ac_exeext conftest.$ac_ext
9453
 
  if test -z "$lt_cv_aix_libpath_"; then
9454
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9455
 
  fi
9456
 
 
9457
 
fi
9458
 
 
9459
 
  aix_libpath=$lt_cv_aix_libpath_
9460
 
fi
9461
 
 
9462
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9463
 
          # Warning - without using the other run time loading flags,
9464
 
          # -berok will link without error, but may produce a broken library.
9465
 
          no_undefined_flag=' ${wl}-bernotok'
9466
 
          allow_undefined_flag=' ${wl}-berok'
9467
 
          if test "$with_gnu_ld" = yes; then
9468
 
            # We only use this code for GNU lds that support --whole-archive.
9469
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9470
 
          else
9471
 
            # Exported symbols can be pulled into shared objects from archives
9472
 
            whole_archive_flag_spec='$convenience'
9473
 
          fi
9474
 
          archive_cmds_need_lc=yes
9475
 
          # This is similar to how AIX traditionally builds its shared libraries.
9476
 
          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'
9477
 
        fi
9478
 
      fi
9479
 
      ;;
9480
 
 
9481
 
    amigaos*)
9482
 
      case $host_cpu in
9483
 
      powerpc)
9484
 
            # see comment about AmigaOS4 .so support
9485
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486
 
            archive_expsym_cmds=''
9487
 
        ;;
9488
 
      m68k)
9489
 
            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)'
9490
 
            hardcode_libdir_flag_spec='-L$libdir'
9491
 
            hardcode_minus_L=yes
9492
 
        ;;
9493
 
      esac
9494
 
      ;;
9495
 
 
9496
 
    bsdi[45]*)
9497
 
      export_dynamic_flag_spec=-rdynamic
9498
 
      ;;
9499
 
 
9500
 
    cygwin* | mingw* | pw32* | cegcc*)
9501
 
      # When not using gcc, we currently assume that we are using
9502
 
      # Microsoft Visual C++.
9503
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9504
 
      # no search path for DLLs.
9505
 
      case $cc_basename in
9506
 
      cl*)
9507
 
        # Native MSVC
9508
 
        hardcode_libdir_flag_spec=' '
9509
 
        allow_undefined_flag=unsupported
9510
 
        always_export_symbols=yes
9511
 
        file_list_spec='@'
9512
 
        # Tell ltmain to make .lib files, not .a files.
9513
 
        libext=lib
9514
 
        # Tell ltmain to make .dll files, not .so files.
9515
 
        shrext_cmds=".dll"
9516
 
        # FIXME: Setting linknames here is a bad hack.
9517
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9518
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9519
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9520
 
          else
9521
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9522
 
          fi~
9523
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9524
 
          linknames='
9525
 
        # The linker will not automatically build a static lib if we build a DLL.
9526
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9527
 
        enable_shared_with_static_runtimes=yes
9528
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9529
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9530
 
        # Don't use ranlib
9531
 
        old_postinstall_cmds='chmod 644 $oldlib'
9532
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9533
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9534
 
          case $lt_outputfile in
9535
 
            *.exe|*.EXE) ;;
9536
 
            *)
9537
 
              lt_outputfile="$lt_outputfile.exe"
9538
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9539
 
              ;;
9540
 
          esac~
9541
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9542
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9543
 
            $RM "$lt_outputfile.manifest";
9544
 
          fi'
9545
 
        ;;
9546
 
      *)
9547
 
        # Assume MSVC wrapper
9548
 
        hardcode_libdir_flag_spec=' '
9549
 
        allow_undefined_flag=unsupported
9550
 
        # Tell ltmain to make .lib files, not .a files.
9551
 
        libext=lib
9552
 
        # Tell ltmain to make .dll files, not .so files.
9553
 
        shrext_cmds=".dll"
9554
 
        # FIXME: Setting linknames here is a bad hack.
9555
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9556
 
        # The linker will automatically build a .lib file if we build a DLL.
9557
 
        old_archive_from_new_cmds='true'
9558
 
        # FIXME: Should let the user specify the lib program.
9559
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9560
 
        enable_shared_with_static_runtimes=yes
9561
 
        ;;
9562
 
      esac
9563
 
      ;;
9564
 
 
9565
 
    darwin* | rhapsody*)
9566
 
 
9567
 
 
9568
 
  archive_cmds_need_lc=no
9569
 
  hardcode_direct=no
9570
 
  hardcode_automatic=yes
9571
 
  hardcode_shlibpath_var=unsupported
9572
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9573
 
    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\"`'
9574
 
 
9575
 
  else
9576
 
    whole_archive_flag_spec=''
9577
 
  fi
9578
 
  link_all_deplibs=yes
9579
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9580
 
  case $cc_basename in
9581
 
     ifort*) _lt_dar_can_shared=yes ;;
9582
 
     *) _lt_dar_can_shared=$GCC ;;
9583
 
  esac
9584
 
  if test "$_lt_dar_can_shared" = "yes"; then
9585
 
    output_verbose_link_cmd=func_echo_all
9586
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9587
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9588
 
    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}"
9589
 
    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}"
9590
 
 
9591
 
  else
9592
 
  ld_shlibs=no
9593
 
  fi
9594
 
 
9595
 
      ;;
9596
 
 
9597
 
    dgux*)
9598
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9599
 
      hardcode_libdir_flag_spec='-L$libdir'
9600
 
      hardcode_shlibpath_var=no
9601
 
      ;;
9602
 
 
9603
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9604
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9605
 
    # does not break anything, and helps significantly (at the cost of a little
9606
 
    # extra space).
9607
 
    freebsd2.2*)
9608
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9609
 
      hardcode_libdir_flag_spec='-R$libdir'
9610
 
      hardcode_direct=yes
9611
 
      hardcode_shlibpath_var=no
9612
 
      ;;
9613
 
 
9614
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9615
 
    freebsd2.*)
9616
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9617
 
      hardcode_direct=yes
9618
 
      hardcode_minus_L=yes
9619
 
      hardcode_shlibpath_var=no
9620
 
      ;;
9621
 
 
9622
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9623
 
    freebsd* | dragonfly*)
9624
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9625
 
      hardcode_libdir_flag_spec='-R$libdir'
9626
 
      hardcode_direct=yes
9627
 
      hardcode_shlibpath_var=no
9628
 
      ;;
9629
 
 
9630
 
    hpux9*)
9631
 
      if test "$GCC" = yes; then
9632
 
        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'
9633
 
      else
9634
 
        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'
9635
 
      fi
9636
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637
 
      hardcode_libdir_separator=:
9638
 
      hardcode_direct=yes
9639
 
 
9640
 
      # hardcode_minus_L: Not really in the search PATH,
9641
 
      # but as the default location of the library.
9642
 
      hardcode_minus_L=yes
9643
 
      export_dynamic_flag_spec='${wl}-E'
9644
 
      ;;
9645
 
 
9646
 
    hpux10*)
9647
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9648
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9649
 
      else
9650
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9651
 
      fi
9652
 
      if test "$with_gnu_ld" = no; then
9653
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9654
 
        hardcode_libdir_separator=:
9655
 
        hardcode_direct=yes
9656
 
        hardcode_direct_absolute=yes
9657
 
        export_dynamic_flag_spec='${wl}-E'
9658
 
        # hardcode_minus_L: Not really in the search PATH,
9659
 
        # but as the default location of the library.
9660
 
        hardcode_minus_L=yes
9661
 
      fi
9662
 
      ;;
9663
 
 
9664
 
    hpux11*)
9665
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9666
 
        case $host_cpu in
9667
 
        hppa*64*)
9668
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9669
 
          ;;
9670
 
        ia64*)
9671
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9672
 
          ;;
9673
 
        *)
9674
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9675
 
          ;;
9676
 
        esac
9677
 
      else
9678
 
        case $host_cpu in
9679
 
        hppa*64*)
9680
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9681
 
          ;;
9682
 
        ia64*)
9683
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9684
 
          ;;
9685
 
        *)
9686
 
 
9687
 
          # Older versions of the 11.00 compiler do not understand -b yet
9688
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9689
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9690
 
$as_echo_n "checking if $CC understands -b... " >&6; }
9691
 
if ${lt_cv_prog_compiler__b+:} false; then :
9692
 
  $as_echo_n "(cached) " >&6
9693
 
else
9694
 
  lt_cv_prog_compiler__b=no
9695
 
   save_LDFLAGS="$LDFLAGS"
9696
 
   LDFLAGS="$LDFLAGS -b"
9697
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9698
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9699
 
     # The linker can only warn and ignore the option if not recognized
9700
 
     # So say no if there are warnings
9701
 
     if test -s conftest.err; then
9702
 
       # Append any errors to the config.log.
9703
 
       cat conftest.err 1>&5
9704
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9705
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9706
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9707
 
         lt_cv_prog_compiler__b=yes
9708
 
       fi
9709
 
     else
9710
 
       lt_cv_prog_compiler__b=yes
9711
 
     fi
9712
 
   fi
9713
 
   $RM -r conftest*
9714
 
   LDFLAGS="$save_LDFLAGS"
9715
 
 
9716
 
fi
9717
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9718
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9719
 
 
9720
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
9721
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9722
 
else
9723
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9724
 
fi
9725
 
 
9726
 
          ;;
9727
 
        esac
9728
 
      fi
9729
 
      if test "$with_gnu_ld" = no; then
9730
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9731
 
        hardcode_libdir_separator=:
9732
 
 
9733
 
        case $host_cpu in
9734
 
        hppa*64*|ia64*)
9735
 
          hardcode_direct=no
9736
 
          hardcode_shlibpath_var=no
9737
 
          ;;
9738
 
        *)
9739
 
          hardcode_direct=yes
9740
 
          hardcode_direct_absolute=yes
9741
 
          export_dynamic_flag_spec='${wl}-E'
9742
 
 
9743
 
          # hardcode_minus_L: Not really in the search PATH,
9744
 
          # but as the default location of the library.
9745
 
          hardcode_minus_L=yes
9746
 
          ;;
9747
 
        esac
9748
 
      fi
9749
 
      ;;
9750
 
 
9751
 
    irix5* | irix6* | nonstopux*)
9752
 
      if test "$GCC" = yes; then
9753
 
        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'
9754
 
        # Try to use the -exported_symbol ld option, if it does not
9755
 
        # work, assume that -exports_file does not work either and
9756
 
        # implicitly export all symbols.
9757
 
        # This should be the same for all languages, so no per-tag cache variable.
9758
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9759
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9760
 
if ${lt_cv_irix_exported_symbol+:} false; then :
9761
 
  $as_echo_n "(cached) " >&6
9762
 
else
9763
 
  save_LDFLAGS="$LDFLAGS"
9764
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9765
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766
 
/* end confdefs.h.  */
9767
 
int foo (void) { return 0; }
9768
 
_ACEOF
9769
 
if ac_fn_c_try_link "$LINENO"; then :
9770
 
  lt_cv_irix_exported_symbol=yes
9771
 
else
9772
 
  lt_cv_irix_exported_symbol=no
9773
 
fi
9774
 
rm -f core conftest.err conftest.$ac_objext \
9775
 
    conftest$ac_exeext conftest.$ac_ext
9776
 
           LDFLAGS="$save_LDFLAGS"
9777
 
fi
9778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9779
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9780
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
9781
 
          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'
9782
 
        fi
9783
 
      else
9784
 
        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'
9785
 
        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'
9786
 
      fi
9787
 
      archive_cmds_need_lc='no'
9788
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9789
 
      hardcode_libdir_separator=:
9790
 
      inherit_rpath=yes
9791
 
      link_all_deplibs=yes
9792
 
      ;;
9793
 
 
9794
 
    netbsd* | netbsdelf*-gnu)
9795
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9796
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9797
 
      else
9798
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9799
 
      fi
9800
 
      hardcode_libdir_flag_spec='-R$libdir'
9801
 
      hardcode_direct=yes
9802
 
      hardcode_shlibpath_var=no
9803
 
      ;;
9804
 
 
9805
 
    newsos6)
9806
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9807
 
      hardcode_direct=yes
9808
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809
 
      hardcode_libdir_separator=:
9810
 
      hardcode_shlibpath_var=no
9811
 
      ;;
9812
 
 
9813
 
    *nto* | *qnx*)
9814
 
      ;;
9815
 
 
9816
 
    openbsd*)
9817
 
      if test -f /usr/libexec/ld.so; then
9818
 
        hardcode_direct=yes
9819
 
        hardcode_shlibpath_var=no
9820
 
        hardcode_direct_absolute=yes
9821
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9822
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9823
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9824
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9825
 
          export_dynamic_flag_spec='${wl}-E'
9826
 
        else
9827
 
          case $host_os in
9828
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9829
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9830
 
             hardcode_libdir_flag_spec='-R$libdir'
9831
 
             ;;
9832
 
           *)
9833
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9834
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9835
 
             ;;
9836
 
          esac
9837
 
        fi
9838
 
      else
9839
 
        ld_shlibs=no
9840
 
      fi
9841
 
      ;;
9842
 
 
9843
 
    os2*)
9844
 
      hardcode_libdir_flag_spec='-L$libdir'
9845
 
      hardcode_minus_L=yes
9846
 
      allow_undefined_flag=unsupported
9847
 
      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'
9848
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9849
 
      ;;
9850
 
 
9851
 
    osf3*)
9852
 
      if test "$GCC" = yes; then
9853
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9854
 
        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'
9855
 
      else
9856
 
        allow_undefined_flag=' -expect_unresolved \*'
9857
 
        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'
9858
 
      fi
9859
 
      archive_cmds_need_lc='no'
9860
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9861
 
      hardcode_libdir_separator=:
9862
 
      ;;
9863
 
 
9864
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9865
 
      if test "$GCC" = yes; then
9866
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9867
 
        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'
9868
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9869
 
      else
9870
 
        allow_undefined_flag=' -expect_unresolved \*'
9871
 
        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'
9872
 
        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~
9873
 
        $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'
9874
 
 
9875
 
        # Both c and cxx compiler support -rpath directly
9876
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9877
 
      fi
9878
 
      archive_cmds_need_lc='no'
9879
 
      hardcode_libdir_separator=:
9880
 
      ;;
9881
 
 
9882
 
    solaris*)
9883
 
      no_undefined_flag=' -z defs'
9884
 
      if test "$GCC" = yes; then
9885
 
        wlarc='${wl}'
9886
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9887
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9888
 
          $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'
9889
 
      else
9890
 
        case `$CC -V 2>&1` in
9891
 
        *"Compilers 5.0"*)
9892
 
          wlarc=''
9893
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9894
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9895
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9896
 
          ;;
9897
 
        *)
9898
 
          wlarc='${wl}'
9899
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9900
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9901
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9902
 
          ;;
9903
 
        esac
9904
 
      fi
9905
 
      hardcode_libdir_flag_spec='-R$libdir'
9906
 
      hardcode_shlibpath_var=no
9907
 
      case $host_os in
9908
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9909
 
      *)
9910
 
        # The compiler driver will combine and reorder linker options,
9911
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9912
 
        # but is careful enough not to reorder.
9913
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9914
 
        if test "$GCC" = yes; then
9915
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9916
 
        else
9917
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9918
 
        fi
9919
 
        ;;
9920
 
      esac
9921
 
      link_all_deplibs=yes
9922
 
      ;;
9923
 
 
9924
 
    sunos4*)
9925
 
      if test "x$host_vendor" = xsequent; then
9926
 
        # Use $CC to link under sequent, because it throws in some extra .o
9927
 
        # files that make .init and .fini sections work.
9928
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9929
 
      else
9930
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9931
 
      fi
9932
 
      hardcode_libdir_flag_spec='-L$libdir'
9933
 
      hardcode_direct=yes
9934
 
      hardcode_minus_L=yes
9935
 
      hardcode_shlibpath_var=no
9936
 
      ;;
9937
 
 
9938
 
    sysv4)
9939
 
      case $host_vendor in
9940
 
        sni)
9941
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942
 
          hardcode_direct=yes # is this really true???
9943
 
        ;;
9944
 
        siemens)
9945
 
          ## LD is ld it makes a PLAMLIB
9946
 
          ## CC just makes a GrossModule.
9947
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9948
 
          reload_cmds='$CC -r -o $output$reload_objs'
9949
 
          hardcode_direct=no
9950
 
        ;;
9951
 
        motorola)
9952
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9954
 
        ;;
9955
 
      esac
9956
 
      runpath_var='LD_RUN_PATH'
9957
 
      hardcode_shlibpath_var=no
9958
 
      ;;
9959
 
 
9960
 
    sysv4.3*)
9961
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9962
 
      hardcode_shlibpath_var=no
9963
 
      export_dynamic_flag_spec='-Bexport'
9964
 
      ;;
9965
 
 
9966
 
    sysv4*MP*)
9967
 
      if test -d /usr/nec; then
9968
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9969
 
        hardcode_shlibpath_var=no
9970
 
        runpath_var=LD_RUN_PATH
9971
 
        hardcode_runpath_var=yes
9972
 
        ld_shlibs=yes
9973
 
      fi
9974
 
      ;;
9975
 
 
9976
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9977
 
      no_undefined_flag='${wl}-z,text'
9978
 
      archive_cmds_need_lc=no
9979
 
      hardcode_shlibpath_var=no
9980
 
      runpath_var='LD_RUN_PATH'
9981
 
 
9982
 
      if test "$GCC" = yes; then
9983
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9985
 
      else
9986
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9987
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9988
 
      fi
9989
 
      ;;
9990
 
 
9991
 
    sysv5* | sco3.2v5* | sco5v6*)
9992
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9993
 
      # link with -lc, and that would cause any symbols used from libc to
9994
 
      # always be unresolved, which means just about no library would
9995
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9996
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9997
 
      # as -z defs.
9998
 
      no_undefined_flag='${wl}-z,text'
9999
 
      allow_undefined_flag='${wl}-z,nodefs'
10000
 
      archive_cmds_need_lc=no
10001
 
      hardcode_shlibpath_var=no
10002
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10003
 
      hardcode_libdir_separator=':'
10004
 
      link_all_deplibs=yes
10005
 
      export_dynamic_flag_spec='${wl}-Bexport'
10006
 
      runpath_var='LD_RUN_PATH'
10007
 
 
10008
 
      if test "$GCC" = yes; then
10009
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10010
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10011
 
      else
10012
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10013
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10014
 
      fi
10015
 
      ;;
10016
 
 
10017
 
    uts4*)
10018
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019
 
      hardcode_libdir_flag_spec='-L$libdir'
10020
 
      hardcode_shlibpath_var=no
10021
 
      ;;
10022
 
 
10023
 
    *)
10024
 
      ld_shlibs=no
10025
 
      ;;
10026
 
    esac
10027
 
 
10028
 
    if test x$host_vendor = xsni; then
10029
 
      case $host in
10030
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10031
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10032
 
        ;;
10033
 
      esac
10034
 
    fi
10035
 
  fi
10036
 
 
10037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10038
 
$as_echo "$ld_shlibs" >&6; }
10039
 
test "$ld_shlibs" = no && can_build_shared=no
10040
 
 
10041
 
with_gnu_ld=$with_gnu_ld
10042
 
 
10043
 
 
10044
 
 
10045
 
 
10046
 
 
10047
 
 
10048
 
 
10049
 
 
10050
 
 
10051
 
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
#
10058
 
# Do we need to explicitly link libc?
10059
 
#
10060
 
case "x$archive_cmds_need_lc" in
10061
 
x|xyes)
10062
 
  # Assume -lc should be added
10063
 
  archive_cmds_need_lc=yes
10064
 
 
10065
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10066
 
    case $archive_cmds in
10067
 
    *'~'*)
10068
 
      # FIXME: we may have to deal with multi-command sequences.
10069
 
      ;;
10070
 
    '$CC '*)
10071
 
      # Test whether the compiler implicitly links with -lc since on some
10072
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10073
 
      # to ld, don't add -lc before -lgcc.
10074
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10075
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10076
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10077
 
  $as_echo_n "(cached) " >&6
10078
 
else
10079
 
  $RM conftest*
10080
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10081
 
 
10082
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10083
 
  (eval $ac_compile) 2>&5
10084
 
  ac_status=$?
10085
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10086
 
  test $ac_status = 0; } 2>conftest.err; then
10087
 
          soname=conftest
10088
 
          lib=conftest
10089
 
          libobjs=conftest.$ac_objext
10090
 
          deplibs=
10091
 
          wl=$lt_prog_compiler_wl
10092
 
          pic_flag=$lt_prog_compiler_pic
10093
 
          compiler_flags=-v
10094
 
          linker_flags=-v
10095
 
          verstring=
10096
 
          output_objdir=.
10097
 
          libname=conftest
10098
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10099
 
          allow_undefined_flag=
10100
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10101
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10102
 
  ac_status=$?
10103
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10104
 
  test $ac_status = 0; }
10105
 
          then
10106
 
            lt_cv_archive_cmds_need_lc=no
10107
 
          else
10108
 
            lt_cv_archive_cmds_need_lc=yes
10109
 
          fi
10110
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10111
 
        else
10112
 
          cat conftest.err 1>&5
10113
 
        fi
10114
 
        $RM conftest*
10115
 
 
10116
 
fi
10117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10118
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10119
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10120
 
      ;;
10121
 
    esac
10122
 
  fi
10123
 
  ;;
10124
 
esac
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
 
 
10196
 
 
10197
 
 
10198
 
 
10199
 
 
10200
 
 
10201
 
 
10202
 
 
10203
 
 
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10278
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10279
 
 
10280
 
if test "$GCC" = yes; then
10281
 
  case $host_os in
10282
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10283
 
    *) lt_awk_arg="/^libraries:/" ;;
10284
 
  esac
10285
 
  case $host_os in
10286
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10287
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10288
 
  esac
10289
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10290
 
  case $lt_search_path_spec in
10291
 
  *\;*)
10292
 
    # if the path contains ";" then we assume it to be the separator
10293
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10294
 
    # assumed that no part of a normal pathname contains ";" but that should
10295
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10296
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10297
 
    ;;
10298
 
  *)
10299
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10300
 
    ;;
10301
 
  esac
10302
 
  # Ok, now we have the path, separated by spaces, we can step through it
10303
 
  # and add multilib dir if necessary.
10304
 
  lt_tmp_lt_search_path_spec=
10305
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10306
 
  for lt_sys_path in $lt_search_path_spec; do
10307
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10308
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10309
 
    else
10310
 
      test -d "$lt_sys_path" && \
10311
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10312
 
    fi
10313
 
  done
10314
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10315
 
BEGIN {RS=" "; FS="/|\n";} {
10316
 
  lt_foo="";
10317
 
  lt_count=0;
10318
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10319
 
    if ($lt_i != "" && $lt_i != ".") {
10320
 
      if ($lt_i == "..") {
10321
 
        lt_count++;
10322
 
      } else {
10323
 
        if (lt_count == 0) {
10324
 
          lt_foo="/" $lt_i lt_foo;
10325
 
        } else {
10326
 
          lt_count--;
10327
 
        }
10328
 
      }
10329
 
    }
10330
 
  }
10331
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10332
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10333
 
}'`
10334
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10335
 
  # for these hosts.
10336
 
  case $host_os in
10337
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10338
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10339
 
  esac
10340
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10341
 
else
10342
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10343
 
fi
10344
 
library_names_spec=
10345
 
libname_spec='lib$name'
10346
 
soname_spec=
10347
 
shrext_cmds=".so"
10348
 
postinstall_cmds=
10349
 
postuninstall_cmds=
10350
 
finish_cmds=
10351
 
finish_eval=
10352
 
shlibpath_var=
10353
 
shlibpath_overrides_runpath=unknown
10354
 
version_type=none
10355
 
dynamic_linker="$host_os ld.so"
10356
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10357
 
need_lib_prefix=unknown
10358
 
hardcode_into_libs=no
10359
 
 
10360
 
# when you set need_version to no, make sure it does not cause -set_version
10361
 
# flags to be left without arguments
10362
 
need_version=unknown
10363
 
 
10364
 
case $host_os in
10365
 
aix3*)
10366
 
  version_type=linux # correct to gnu/linux during the next big refactor
10367
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10368
 
  shlibpath_var=LIBPATH
10369
 
 
10370
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10371
 
  soname_spec='${libname}${release}${shared_ext}$major'
10372
 
  ;;
10373
 
 
10374
 
aix[4-9]*)
10375
 
  version_type=linux # correct to gnu/linux during the next big refactor
10376
 
  need_lib_prefix=no
10377
 
  need_version=no
10378
 
  hardcode_into_libs=yes
10379
 
  if test "$host_cpu" = ia64; then
10380
 
    # AIX 5 supports IA64
10381
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10382
 
    shlibpath_var=LD_LIBRARY_PATH
10383
 
  else
10384
 
    # With GCC up to 2.95.x, collect2 would create an import file
10385
 
    # for dependence libraries.  The import file would start with
10386
 
    # the line `#! .'.  This would cause the generated library to
10387
 
    # depend on `.', always an invalid library.  This was fixed in
10388
 
    # development snapshots of GCC prior to 3.0.
10389
 
    case $host_os in
10390
 
      aix4 | aix4.[01] | aix4.[01].*)
10391
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10392
 
           echo ' yes '
10393
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10394
 
        :
10395
 
      else
10396
 
        can_build_shared=no
10397
 
      fi
10398
 
      ;;
10399
 
    esac
10400
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10401
 
    # soname into executable. Probably we can add versioning support to
10402
 
    # collect2, so additional links can be useful in future.
10403
 
    if test "$aix_use_runtimelinking" = yes; then
10404
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10405
 
      # instead of lib<name>.a to let people know that these are not
10406
 
      # typical AIX shared libraries.
10407
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10408
 
    else
10409
 
      # We preserve .a as extension for shared libraries through AIX4.2
10410
 
      # and later when we are not doing run time linking.
10411
 
      library_names_spec='${libname}${release}.a $libname.a'
10412
 
      soname_spec='${libname}${release}${shared_ext}$major'
10413
 
    fi
10414
 
    shlibpath_var=LIBPATH
10415
 
  fi
10416
 
  ;;
10417
 
 
10418
 
amigaos*)
10419
 
  case $host_cpu in
10420
 
  powerpc)
10421
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10422
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10423
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10424
 
    ;;
10425
 
  m68k)
10426
 
    library_names_spec='$libname.ixlibrary $libname.a'
10427
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10428
 
    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'
10429
 
    ;;
10430
 
  esac
10431
 
  ;;
10432
 
 
10433
 
beos*)
10434
 
  library_names_spec='${libname}${shared_ext}'
10435
 
  dynamic_linker="$host_os ld.so"
10436
 
  shlibpath_var=LIBRARY_PATH
10437
 
  ;;
10438
 
 
10439
 
bsdi[45]*)
10440
 
  version_type=linux # correct to gnu/linux during the next big refactor
10441
 
  need_version=no
10442
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443
 
  soname_spec='${libname}${release}${shared_ext}$major'
10444
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10445
 
  shlibpath_var=LD_LIBRARY_PATH
10446
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10447
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10448
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10449
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10450
 
  # libtool to hard-code these into programs
10451
 
  ;;
10452
 
 
10453
 
cygwin* | mingw* | pw32* | cegcc*)
10454
 
  version_type=windows
10455
 
  shrext_cmds=".dll"
10456
 
  need_version=no
10457
 
  need_lib_prefix=no
10458
 
 
10459
 
  case $GCC,$cc_basename in
10460
 
  yes,*)
10461
 
    # gcc
10462
 
    library_names_spec='$libname.dll.a'
10463
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10464
 
    postinstall_cmds='base_file=`basename \${file}`~
10465
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10466
 
      dldir=$destdir/`dirname \$dlpath`~
10467
 
      test -d \$dldir || mkdir -p \$dldir~
10468
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10469
 
      chmod a+x \$dldir/$dlname~
10470
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10471
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10472
 
      fi'
10473
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10474
 
      dlpath=$dir/\$dldll~
10475
 
       $RM \$dlpath'
10476
 
    shlibpath_overrides_runpath=yes
10477
 
 
10478
 
    case $host_os in
10479
 
    cygwin*)
10480
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10481
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10482
 
 
10483
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10484
 
      ;;
10485
 
    mingw* | cegcc*)
10486
 
      # MinGW DLLs use traditional 'lib' prefix
10487
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10488
 
      ;;
10489
 
    pw32*)
10490
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10491
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10492
 
      ;;
10493
 
    esac
10494
 
    dynamic_linker='Win32 ld.exe'
10495
 
    ;;
10496
 
 
10497
 
  *,cl*)
10498
 
    # Native MSVC
10499
 
    libname_spec='$name'
10500
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10501
 
    library_names_spec='${libname}.dll.lib'
10502
 
 
10503
 
    case $build_os in
10504
 
    mingw*)
10505
 
      sys_lib_search_path_spec=
10506
 
      lt_save_ifs=$IFS
10507
 
      IFS=';'
10508
 
      for lt_path in $LIB
10509
 
      do
10510
 
        IFS=$lt_save_ifs
10511
 
        # Let DOS variable expansion print the short 8.3 style file name.
10512
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10513
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10514
 
      done
10515
 
      IFS=$lt_save_ifs
10516
 
      # Convert to MSYS style.
10517
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10518
 
      ;;
10519
 
    cygwin*)
10520
 
      # Convert to unix form, then to dos form, then back to unix form
10521
 
      # but this time dos style (no spaces!) so that the unix form looks
10522
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10523
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10524
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10525
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10526
 
      ;;
10527
 
    *)
10528
 
      sys_lib_search_path_spec="$LIB"
10529
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10530
 
        # It is most probably a Windows format PATH.
10531
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10532
 
      else
10533
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10534
 
      fi
10535
 
      # FIXME: find the short name or the path components, as spaces are
10536
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10537
 
      ;;
10538
 
    esac
10539
 
 
10540
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10541
 
    postinstall_cmds='base_file=`basename \${file}`~
10542
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10543
 
      dldir=$destdir/`dirname \$dlpath`~
10544
 
      test -d \$dldir || mkdir -p \$dldir~
10545
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10546
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10547
 
      dlpath=$dir/\$dldll~
10548
 
       $RM \$dlpath'
10549
 
    shlibpath_overrides_runpath=yes
10550
 
    dynamic_linker='Win32 link.exe'
10551
 
    ;;
10552
 
 
10553
 
  *)
10554
 
    # Assume MSVC wrapper
10555
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10556
 
    dynamic_linker='Win32 ld.exe'
10557
 
    ;;
10558
 
  esac
10559
 
  # FIXME: first we should search . and the directory the executable is in
10560
 
  shlibpath_var=PATH
10561
 
  ;;
10562
 
 
10563
 
darwin* | rhapsody*)
10564
 
  dynamic_linker="$host_os dyld"
10565
 
  version_type=darwin
10566
 
  need_lib_prefix=no
10567
 
  need_version=no
10568
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10569
 
  soname_spec='${libname}${release}${major}$shared_ext'
10570
 
  shlibpath_overrides_runpath=yes
10571
 
  shlibpath_var=DYLD_LIBRARY_PATH
10572
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10573
 
 
10574
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10575
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10576
 
  ;;
10577
 
 
10578
 
dgux*)
10579
 
  version_type=linux # correct to gnu/linux during the next big refactor
10580
 
  need_lib_prefix=no
10581
 
  need_version=no
10582
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10583
 
  soname_spec='${libname}${release}${shared_ext}$major'
10584
 
  shlibpath_var=LD_LIBRARY_PATH
10585
 
  ;;
10586
 
 
10587
 
freebsd* | dragonfly*)
10588
 
  # DragonFly does not have aout.  When/if they implement a new
10589
 
  # versioning mechanism, adjust this.
10590
 
  if test -x /usr/bin/objformat; then
10591
 
    objformat=`/usr/bin/objformat`
10592
 
  else
10593
 
    case $host_os in
10594
 
    freebsd[23].*) objformat=aout ;;
10595
 
    *) objformat=elf ;;
10596
 
    esac
10597
 
  fi
10598
 
  version_type=freebsd-$objformat
10599
 
  case $version_type in
10600
 
    freebsd-elf*)
10601
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10602
 
      need_version=no
10603
 
      need_lib_prefix=no
10604
 
      ;;
10605
 
    freebsd-*)
10606
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10607
 
      need_version=yes
10608
 
      ;;
10609
 
  esac
10610
 
  shlibpath_var=LD_LIBRARY_PATH
10611
 
  case $host_os in
10612
 
  freebsd2.*)
10613
 
    shlibpath_overrides_runpath=yes
10614
 
    ;;
10615
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10616
 
    shlibpath_overrides_runpath=yes
10617
 
    hardcode_into_libs=yes
10618
 
    ;;
10619
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10620
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10621
 
    shlibpath_overrides_runpath=no
10622
 
    hardcode_into_libs=yes
10623
 
    ;;
10624
 
  *) # from 4.6 on, and DragonFly
10625
 
    shlibpath_overrides_runpath=yes
10626
 
    hardcode_into_libs=yes
10627
 
    ;;
10628
 
  esac
10629
 
  ;;
10630
 
 
10631
 
gnu*)
10632
 
  version_type=linux # correct to gnu/linux during the next big refactor
10633
 
  need_lib_prefix=no
10634
 
  need_version=no
10635
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10636
 
  soname_spec='${libname}${release}${shared_ext}$major'
10637
 
  shlibpath_var=LD_LIBRARY_PATH
10638
 
  shlibpath_overrides_runpath=no
10639
 
  hardcode_into_libs=yes
10640
 
  ;;
10641
 
 
10642
 
haiku*)
10643
 
  version_type=linux # correct to gnu/linux during the next big refactor
10644
 
  need_lib_prefix=no
10645
 
  need_version=no
10646
 
  dynamic_linker="$host_os runtime_loader"
10647
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10648
 
  soname_spec='${libname}${release}${shared_ext}$major'
10649
 
  shlibpath_var=LIBRARY_PATH
10650
 
  shlibpath_overrides_runpath=yes
10651
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10652
 
  hardcode_into_libs=yes
10653
 
  ;;
10654
 
 
10655
 
hpux9* | hpux10* | hpux11*)
10656
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10657
 
  # link against other versions.
10658
 
  version_type=sunos
10659
 
  need_lib_prefix=no
10660
 
  need_version=no
10661
 
  case $host_cpu in
10662
 
  ia64*)
10663
 
    shrext_cmds='.so'
10664
 
    hardcode_into_libs=yes
10665
 
    dynamic_linker="$host_os dld.so"
10666
 
    shlibpath_var=LD_LIBRARY_PATH
10667
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10668
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669
 
    soname_spec='${libname}${release}${shared_ext}$major'
10670
 
    if test "X$HPUX_IA64_MODE" = X32; then
10671
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10672
 
    else
10673
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10674
 
    fi
10675
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10676
 
    ;;
10677
 
  hppa*64*)
10678
 
    shrext_cmds='.sl'
10679
 
    hardcode_into_libs=yes
10680
 
    dynamic_linker="$host_os dld.sl"
10681
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10682
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10683
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684
 
    soname_spec='${libname}${release}${shared_ext}$major'
10685
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10686
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10687
 
    ;;
10688
 
  *)
10689
 
    shrext_cmds='.sl'
10690
 
    dynamic_linker="$host_os dld.sl"
10691
 
    shlibpath_var=SHLIB_PATH
10692
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10693
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694
 
    soname_spec='${libname}${release}${shared_ext}$major'
10695
 
    ;;
10696
 
  esac
10697
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10698
 
  postinstall_cmds='chmod 555 $lib'
10699
 
  # or fails outright, so override atomically:
10700
 
  install_override_mode=555
10701
 
  ;;
10702
 
 
10703
 
interix[3-9]*)
10704
 
  version_type=linux # correct to gnu/linux during the next big refactor
10705
 
  need_lib_prefix=no
10706
 
  need_version=no
10707
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10708
 
  soname_spec='${libname}${release}${shared_ext}$major'
10709
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10710
 
  shlibpath_var=LD_LIBRARY_PATH
10711
 
  shlibpath_overrides_runpath=no
10712
 
  hardcode_into_libs=yes
10713
 
  ;;
10714
 
 
10715
 
irix5* | irix6* | nonstopux*)
10716
 
  case $host_os in
10717
 
    nonstopux*) version_type=nonstopux ;;
10718
 
    *)
10719
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10720
 
                version_type=linux # correct to gnu/linux during the next big refactor
10721
 
        else
10722
 
                version_type=irix
10723
 
        fi ;;
10724
 
  esac
10725
 
  need_lib_prefix=no
10726
 
  need_version=no
10727
 
  soname_spec='${libname}${release}${shared_ext}$major'
10728
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10729
 
  case $host_os in
10730
 
  irix5* | nonstopux*)
10731
 
    libsuff= shlibsuff=
10732
 
    ;;
10733
 
  *)
10734
 
    case $LD in # libtool.m4 will add one of these switches to LD
10735
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10736
 
      libsuff= shlibsuff= libmagic=32-bit;;
10737
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10738
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10739
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10740
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10741
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10742
 
    esac
10743
 
    ;;
10744
 
  esac
10745
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10746
 
  shlibpath_overrides_runpath=no
10747
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10748
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10749
 
  hardcode_into_libs=yes
10750
 
  ;;
10751
 
 
10752
 
# No shared lib support for Linux oldld, aout, or coff.
10753
 
linux*oldld* | linux*aout* | linux*coff*)
10754
 
  dynamic_linker=no
10755
 
  ;;
10756
 
 
10757
 
# This must be glibc/ELF.
10758
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10759
 
  version_type=linux # correct to gnu/linux during the next big refactor
10760
 
  need_lib_prefix=no
10761
 
  need_version=no
10762
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763
 
  soname_spec='${libname}${release}${shared_ext}$major'
10764
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10765
 
  shlibpath_var=LD_LIBRARY_PATH
10766
 
  shlibpath_overrides_runpath=no
10767
 
 
10768
 
  # Some binutils ld are patched to set DT_RUNPATH
10769
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10770
 
  $as_echo_n "(cached) " >&6
10771
 
else
10772
 
  lt_cv_shlibpath_overrides_runpath=no
10773
 
    save_LDFLAGS=$LDFLAGS
10774
 
    save_libdir=$libdir
10775
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10776
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10777
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778
 
/* end confdefs.h.  */
10779
 
 
10780
 
int
10781
 
main ()
10782
 
{
10783
 
 
10784
 
  ;
10785
 
  return 0;
10786
 
}
10787
 
_ACEOF
10788
 
if ac_fn_c_try_link "$LINENO"; then :
10789
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10790
 
  lt_cv_shlibpath_overrides_runpath=yes
10791
 
fi
10792
 
fi
10793
 
rm -f core conftest.err conftest.$ac_objext \
10794
 
    conftest$ac_exeext conftest.$ac_ext
10795
 
    LDFLAGS=$save_LDFLAGS
10796
 
    libdir=$save_libdir
10797
 
 
10798
 
fi
10799
 
 
10800
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10801
 
 
10802
 
  # This implies no fast_install, which is unacceptable.
10803
 
  # Some rework will be needed to allow for fast_install
10804
 
  # before this can be enabled.
10805
 
  hardcode_into_libs=yes
10806
 
 
10807
 
  # Append ld.so.conf contents to the search path
10808
 
  if test -f /etc/ld.so.conf; then
10809
 
    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' ' '`
10810
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10811
 
  fi
10812
 
 
10813
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10814
 
  # powerpc, because MkLinux only supported shared libraries with the
10815
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10816
 
  # most powerpc-linux boxes support dynamic linking these days and
10817
 
  # people can always --disable-shared, the test was removed, and we
10818
 
  # assume the GNU/Linux dynamic linker is in use.
10819
 
  dynamic_linker='GNU/Linux ld.so'
10820
 
  ;;
10821
 
 
10822
 
netbsdelf*-gnu)
10823
 
  version_type=linux
10824
 
  need_lib_prefix=no
10825
 
  need_version=no
10826
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10827
 
  soname_spec='${libname}${release}${shared_ext}$major'
10828
 
  shlibpath_var=LD_LIBRARY_PATH
10829
 
  shlibpath_overrides_runpath=no
10830
 
  hardcode_into_libs=yes
10831
 
  dynamic_linker='NetBSD ld.elf_so'
10832
 
  ;;
10833
 
 
10834
 
netbsd*)
10835
 
  version_type=sunos
10836
 
  need_lib_prefix=no
10837
 
  need_version=no
10838
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10839
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10840
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10841
 
    dynamic_linker='NetBSD (a.out) ld.so'
10842
 
  else
10843
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10844
 
    soname_spec='${libname}${release}${shared_ext}$major'
10845
 
    dynamic_linker='NetBSD ld.elf_so'
10846
 
  fi
10847
 
  shlibpath_var=LD_LIBRARY_PATH
10848
 
  shlibpath_overrides_runpath=yes
10849
 
  hardcode_into_libs=yes
10850
 
  ;;
10851
 
 
10852
 
newsos6)
10853
 
  version_type=linux # correct to gnu/linux during the next big refactor
10854
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855
 
  shlibpath_var=LD_LIBRARY_PATH
10856
 
  shlibpath_overrides_runpath=yes
10857
 
  ;;
10858
 
 
10859
 
*nto* | *qnx*)
10860
 
  version_type=qnx
10861
 
  need_lib_prefix=no
10862
 
  need_version=no
10863
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864
 
  soname_spec='${libname}${release}${shared_ext}$major'
10865
 
  shlibpath_var=LD_LIBRARY_PATH
10866
 
  shlibpath_overrides_runpath=no
10867
 
  hardcode_into_libs=yes
10868
 
  dynamic_linker='ldqnx.so'
10869
 
  ;;
10870
 
 
10871
 
openbsd*)
10872
 
  version_type=sunos
10873
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10874
 
  need_lib_prefix=no
10875
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10876
 
  case $host_os in
10877
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10878
 
    *)                          need_version=no  ;;
10879
 
  esac
10880
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10881
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10882
 
  shlibpath_var=LD_LIBRARY_PATH
10883
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10884
 
    case $host_os in
10885
 
      openbsd2.[89] | openbsd2.[89].*)
10886
 
        shlibpath_overrides_runpath=no
10887
 
        ;;
10888
 
      *)
10889
 
        shlibpath_overrides_runpath=yes
10890
 
        ;;
10891
 
      esac
10892
 
  else
10893
 
    shlibpath_overrides_runpath=yes
10894
 
  fi
10895
 
  ;;
10896
 
 
10897
 
os2*)
10898
 
  libname_spec='$name'
10899
 
  shrext_cmds=".dll"
10900
 
  need_lib_prefix=no
10901
 
  library_names_spec='$libname${shared_ext} $libname.a'
10902
 
  dynamic_linker='OS/2 ld.exe'
10903
 
  shlibpath_var=LIBPATH
10904
 
  ;;
10905
 
 
10906
 
osf3* | osf4* | osf5*)
10907
 
  version_type=osf
10908
 
  need_lib_prefix=no
10909
 
  need_version=no
10910
 
  soname_spec='${libname}${release}${shared_ext}$major'
10911
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10912
 
  shlibpath_var=LD_LIBRARY_PATH
10913
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10914
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10915
 
  ;;
10916
 
 
10917
 
rdos*)
10918
 
  dynamic_linker=no
10919
 
  ;;
10920
 
 
10921
 
solaris*)
10922
 
  version_type=linux # correct to gnu/linux during the next big refactor
10923
 
  need_lib_prefix=no
10924
 
  need_version=no
10925
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926
 
  soname_spec='${libname}${release}${shared_ext}$major'
10927
 
  shlibpath_var=LD_LIBRARY_PATH
10928
 
  shlibpath_overrides_runpath=yes
10929
 
  hardcode_into_libs=yes
10930
 
  # ldd complains unless libraries are executable
10931
 
  postinstall_cmds='chmod +x $lib'
10932
 
  ;;
10933
 
 
10934
 
sunos4*)
10935
 
  version_type=sunos
10936
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10937
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10938
 
  shlibpath_var=LD_LIBRARY_PATH
10939
 
  shlibpath_overrides_runpath=yes
10940
 
  if test "$with_gnu_ld" = yes; then
10941
 
    need_lib_prefix=no
10942
 
  fi
10943
 
  need_version=yes
10944
 
  ;;
10945
 
 
10946
 
sysv4 | sysv4.3*)
10947
 
  version_type=linux # correct to gnu/linux during the next big refactor
10948
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10949
 
  soname_spec='${libname}${release}${shared_ext}$major'
10950
 
  shlibpath_var=LD_LIBRARY_PATH
10951
 
  case $host_vendor in
10952
 
    sni)
10953
 
      shlibpath_overrides_runpath=no
10954
 
      need_lib_prefix=no
10955
 
      runpath_var=LD_RUN_PATH
10956
 
      ;;
10957
 
    siemens)
10958
 
      need_lib_prefix=no
10959
 
      ;;
10960
 
    motorola)
10961
 
      need_lib_prefix=no
10962
 
      need_version=no
10963
 
      shlibpath_overrides_runpath=no
10964
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10965
 
      ;;
10966
 
  esac
10967
 
  ;;
10968
 
 
10969
 
sysv4*MP*)
10970
 
  if test -d /usr/nec ;then
10971
 
    version_type=linux # correct to gnu/linux during the next big refactor
10972
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10973
 
    soname_spec='$libname${shared_ext}.$major'
10974
 
    shlibpath_var=LD_LIBRARY_PATH
10975
 
  fi
10976
 
  ;;
10977
 
 
10978
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10979
 
  version_type=freebsd-elf
10980
 
  need_lib_prefix=no
10981
 
  need_version=no
10982
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10983
 
  soname_spec='${libname}${release}${shared_ext}$major'
10984
 
  shlibpath_var=LD_LIBRARY_PATH
10985
 
  shlibpath_overrides_runpath=yes
10986
 
  hardcode_into_libs=yes
10987
 
  if test "$with_gnu_ld" = yes; then
10988
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10989
 
  else
10990
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10991
 
    case $host_os in
10992
 
      sco3.2v5*)
10993
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10994
 
        ;;
10995
 
    esac
10996
 
  fi
10997
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10998
 
  ;;
10999
 
 
11000
 
tpf*)
11001
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11002
 
  version_type=linux # correct to gnu/linux during the next big refactor
11003
 
  need_lib_prefix=no
11004
 
  need_version=no
11005
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006
 
  shlibpath_var=LD_LIBRARY_PATH
11007
 
  shlibpath_overrides_runpath=no
11008
 
  hardcode_into_libs=yes
11009
 
  ;;
11010
 
 
11011
 
uts4*)
11012
 
  version_type=linux # correct to gnu/linux during the next big refactor
11013
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014
 
  soname_spec='${libname}${release}${shared_ext}$major'
11015
 
  shlibpath_var=LD_LIBRARY_PATH
11016
 
  ;;
11017
 
 
11018
 
*)
11019
 
  dynamic_linker=no
11020
 
  ;;
11021
 
esac
11022
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11023
 
$as_echo "$dynamic_linker" >&6; }
11024
 
test "$dynamic_linker" = no && can_build_shared=no
11025
 
 
11026
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11027
 
if test "$GCC" = yes; then
11028
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11029
 
fi
11030
 
 
11031
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11032
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11033
 
fi
11034
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11035
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11036
 
fi
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11130
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11131
 
hardcode_action=
11132
 
if test -n "$hardcode_libdir_flag_spec" ||
11133
 
   test -n "$runpath_var" ||
11134
 
   test "X$hardcode_automatic" = "Xyes" ; then
11135
 
 
11136
 
  # We can hardcode non-existent directories.
11137
 
  if test "$hardcode_direct" != no &&
11138
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11139
 
     # have to relink, otherwise we might link with an installed library
11140
 
     # when we should be linking with a yet-to-be-installed one
11141
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11142
 
     test "$hardcode_minus_L" != no; then
11143
 
    # Linking always hardcodes the temporary library directory.
11144
 
    hardcode_action=relink
11145
 
  else
11146
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11147
 
    hardcode_action=immediate
11148
 
  fi
11149
 
else
11150
 
  # We cannot hardcode anything, or else we can only hardcode existing
11151
 
  # directories.
11152
 
  hardcode_action=unsupported
11153
 
fi
11154
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11155
 
$as_echo "$hardcode_action" >&6; }
11156
 
 
11157
 
if test "$hardcode_action" = relink ||
11158
 
   test "$inherit_rpath" = yes; then
11159
 
  # Fast installation is not supported
11160
 
  enable_fast_install=no
11161
 
elif test "$shlibpath_overrides_runpath" = yes ||
11162
 
     test "$enable_shared" = no; then
11163
 
  # Fast installation is not necessary
11164
 
  enable_fast_install=needless
11165
 
fi
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
 
11171
 
 
11172
 
  if test "x$enable_dlopen" != xyes; then
11173
 
  enable_dlopen=unknown
11174
 
  enable_dlopen_self=unknown
11175
 
  enable_dlopen_self_static=unknown
11176
 
else
11177
 
  lt_cv_dlopen=no
11178
 
  lt_cv_dlopen_libs=
11179
 
 
11180
 
  case $host_os in
11181
 
  beos*)
11182
 
    lt_cv_dlopen="load_add_on"
11183
 
    lt_cv_dlopen_libs=
11184
 
    lt_cv_dlopen_self=yes
11185
 
    ;;
11186
 
 
11187
 
  mingw* | pw32* | cegcc*)
11188
 
    lt_cv_dlopen="LoadLibrary"
11189
 
    lt_cv_dlopen_libs=
11190
 
    ;;
11191
 
 
11192
 
  cygwin*)
11193
 
    lt_cv_dlopen="dlopen"
11194
 
    lt_cv_dlopen_libs=
11195
 
    ;;
11196
 
 
11197
 
  darwin*)
11198
 
  # if libdl is installed we need to link against it
11199
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11200
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11201
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11202
 
  $as_echo_n "(cached) " >&6
11203
 
else
11204
 
  ac_check_lib_save_LIBS=$LIBS
11205
 
LIBS="-ldl  $LIBS"
11206
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207
 
/* end confdefs.h.  */
11208
 
 
11209
 
/* Override any GCC internal prototype to avoid an error.
11210
 
   Use char because int might match the return type of a GCC
11211
 
   builtin and then its argument prototype would still apply.  */
11212
 
#ifdef __cplusplus
11213
 
extern "C"
11214
 
#endif
11215
 
char dlopen ();
11216
 
int
11217
 
main ()
11218
 
{
11219
 
return dlopen ();
11220
 
  ;
11221
 
  return 0;
11222
 
}
11223
 
_ACEOF
11224
 
if ac_fn_c_try_link "$LINENO"; then :
11225
 
  ac_cv_lib_dl_dlopen=yes
11226
 
else
11227
 
  ac_cv_lib_dl_dlopen=no
11228
 
fi
11229
 
rm -f core conftest.err conftest.$ac_objext \
11230
 
    conftest$ac_exeext conftest.$ac_ext
11231
 
LIBS=$ac_check_lib_save_LIBS
11232
 
fi
11233
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11234
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11235
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11236
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11237
 
else
11238
 
 
11239
 
    lt_cv_dlopen="dyld"
11240
 
    lt_cv_dlopen_libs=
11241
 
    lt_cv_dlopen_self=yes
11242
 
 
11243
 
fi
11244
 
 
11245
 
    ;;
11246
 
 
11247
 
  *)
11248
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11249
 
if test "x$ac_cv_func_shl_load" = xyes; then :
11250
 
  lt_cv_dlopen="shl_load"
11251
 
else
11252
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11253
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11254
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
11255
 
  $as_echo_n "(cached) " >&6
11256
 
else
11257
 
  ac_check_lib_save_LIBS=$LIBS
11258
 
LIBS="-ldld  $LIBS"
11259
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260
 
/* end confdefs.h.  */
11261
 
 
11262
 
/* Override any GCC internal prototype to avoid an error.
11263
 
   Use char because int might match the return type of a GCC
11264
 
   builtin and then its argument prototype would still apply.  */
11265
 
#ifdef __cplusplus
11266
 
extern "C"
11267
 
#endif
11268
 
char shl_load ();
11269
 
int
11270
 
main ()
11271
 
{
11272
 
return shl_load ();
11273
 
  ;
11274
 
  return 0;
11275
 
}
11276
 
_ACEOF
11277
 
if ac_fn_c_try_link "$LINENO"; then :
11278
 
  ac_cv_lib_dld_shl_load=yes
11279
 
else
11280
 
  ac_cv_lib_dld_shl_load=no
11281
 
fi
11282
 
rm -f core conftest.err conftest.$ac_objext \
11283
 
    conftest$ac_exeext conftest.$ac_ext
11284
 
LIBS=$ac_check_lib_save_LIBS
11285
 
fi
11286
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11287
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11288
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11289
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11290
 
else
11291
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11292
 
if test "x$ac_cv_func_dlopen" = xyes; then :
11293
 
  lt_cv_dlopen="dlopen"
11294
 
else
11295
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11296
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11297
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11298
 
  $as_echo_n "(cached) " >&6
11299
 
else
11300
 
  ac_check_lib_save_LIBS=$LIBS
11301
 
LIBS="-ldl  $LIBS"
11302
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303
 
/* end confdefs.h.  */
11304
 
 
11305
 
/* Override any GCC internal prototype to avoid an error.
11306
 
   Use char because int might match the return type of a GCC
11307
 
   builtin and then its argument prototype would still apply.  */
11308
 
#ifdef __cplusplus
11309
 
extern "C"
11310
 
#endif
11311
 
char dlopen ();
11312
 
int
11313
 
main ()
11314
 
{
11315
 
return dlopen ();
11316
 
  ;
11317
 
  return 0;
11318
 
}
11319
 
_ACEOF
11320
 
if ac_fn_c_try_link "$LINENO"; then :
11321
 
  ac_cv_lib_dl_dlopen=yes
11322
 
else
11323
 
  ac_cv_lib_dl_dlopen=no
11324
 
fi
11325
 
rm -f core conftest.err conftest.$ac_objext \
11326
 
    conftest$ac_exeext conftest.$ac_ext
11327
 
LIBS=$ac_check_lib_save_LIBS
11328
 
fi
11329
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11330
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11331
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11332
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11333
 
else
11334
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11335
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11336
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11337
 
  $as_echo_n "(cached) " >&6
11338
 
else
11339
 
  ac_check_lib_save_LIBS=$LIBS
11340
 
LIBS="-lsvld  $LIBS"
11341
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342
 
/* end confdefs.h.  */
11343
 
 
11344
 
/* Override any GCC internal prototype to avoid an error.
11345
 
   Use char because int might match the return type of a GCC
11346
 
   builtin and then its argument prototype would still apply.  */
11347
 
#ifdef __cplusplus
11348
 
extern "C"
11349
 
#endif
11350
 
char dlopen ();
11351
 
int
11352
 
main ()
11353
 
{
11354
 
return dlopen ();
11355
 
  ;
11356
 
  return 0;
11357
 
}
11358
 
_ACEOF
11359
 
if ac_fn_c_try_link "$LINENO"; then :
11360
 
  ac_cv_lib_svld_dlopen=yes
11361
 
else
11362
 
  ac_cv_lib_svld_dlopen=no
11363
 
fi
11364
 
rm -f core conftest.err conftest.$ac_objext \
11365
 
    conftest$ac_exeext conftest.$ac_ext
11366
 
LIBS=$ac_check_lib_save_LIBS
11367
 
fi
11368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11369
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11370
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11371
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11372
 
else
11373
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11374
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11375
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11376
 
  $as_echo_n "(cached) " >&6
11377
 
else
11378
 
  ac_check_lib_save_LIBS=$LIBS
11379
 
LIBS="-ldld  $LIBS"
11380
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381
 
/* end confdefs.h.  */
11382
 
 
11383
 
/* Override any GCC internal prototype to avoid an error.
11384
 
   Use char because int might match the return type of a GCC
11385
 
   builtin and then its argument prototype would still apply.  */
11386
 
#ifdef __cplusplus
11387
 
extern "C"
11388
 
#endif
11389
 
char dld_link ();
11390
 
int
11391
 
main ()
11392
 
{
11393
 
return dld_link ();
11394
 
  ;
11395
 
  return 0;
11396
 
}
11397
 
_ACEOF
11398
 
if ac_fn_c_try_link "$LINENO"; then :
11399
 
  ac_cv_lib_dld_dld_link=yes
11400
 
else
11401
 
  ac_cv_lib_dld_dld_link=no
11402
 
fi
11403
 
rm -f core conftest.err conftest.$ac_objext \
11404
 
    conftest$ac_exeext conftest.$ac_ext
11405
 
LIBS=$ac_check_lib_save_LIBS
11406
 
fi
11407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11408
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11409
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11410
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11411
 
fi
11412
 
 
11413
 
 
11414
 
fi
11415
 
 
11416
 
 
11417
 
fi
11418
 
 
11419
 
 
11420
 
fi
11421
 
 
11422
 
 
11423
 
fi
11424
 
 
11425
 
 
11426
 
fi
11427
 
 
11428
 
    ;;
11429
 
  esac
11430
 
 
11431
 
  if test "x$lt_cv_dlopen" != xno; then
11432
 
    enable_dlopen=yes
11433
 
  else
11434
 
    enable_dlopen=no
11435
 
  fi
11436
 
 
11437
 
  case $lt_cv_dlopen in
11438
 
  dlopen)
11439
 
    save_CPPFLAGS="$CPPFLAGS"
11440
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11441
 
 
11442
 
    save_LDFLAGS="$LDFLAGS"
11443
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11444
 
 
11445
 
    save_LIBS="$LIBS"
11446
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11447
 
 
11448
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11449
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11450
 
if ${lt_cv_dlopen_self+:} false; then :
11451
 
  $as_echo_n "(cached) " >&6
11452
 
else
11453
 
          if test "$cross_compiling" = yes; then :
11454
 
  lt_cv_dlopen_self=cross
11455
 
else
11456
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11457
 
  lt_status=$lt_dlunknown
11458
 
  cat > conftest.$ac_ext <<_LT_EOF
11459
 
#line $LINENO "configure"
11460
 
#include "confdefs.h"
11461
 
 
11462
 
#if HAVE_DLFCN_H
11463
 
#include <dlfcn.h>
11464
 
#endif
11465
 
 
11466
 
#include <stdio.h>
11467
 
 
11468
 
#ifdef RTLD_GLOBAL
11469
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11470
 
#else
11471
 
#  ifdef DL_GLOBAL
11472
 
#    define LT_DLGLOBAL         DL_GLOBAL
11473
 
#  else
11474
 
#    define LT_DLGLOBAL         0
11475
 
#  endif
11476
 
#endif
11477
 
 
11478
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11479
 
   find out it does not work in some platform. */
11480
 
#ifndef LT_DLLAZY_OR_NOW
11481
 
#  ifdef RTLD_LAZY
11482
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11483
 
#  else
11484
 
#    ifdef DL_LAZY
11485
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11486
 
#    else
11487
 
#      ifdef RTLD_NOW
11488
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11489
 
#      else
11490
 
#        ifdef DL_NOW
11491
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11492
 
#        else
11493
 
#          define LT_DLLAZY_OR_NOW      0
11494
 
#        endif
11495
 
#      endif
11496
 
#    endif
11497
 
#  endif
11498
 
#endif
11499
 
 
11500
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11501
 
   correspondingly for the symbols needed.  */
11502
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11503
 
int fnord () __attribute__((visibility("default")));
11504
 
#endif
11505
 
 
11506
 
int fnord () { return 42; }
11507
 
int main ()
11508
 
{
11509
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11510
 
  int status = $lt_dlunknown;
11511
 
 
11512
 
  if (self)
11513
 
    {
11514
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11515
 
      else
11516
 
        {
11517
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11518
 
          else puts (dlerror ());
11519
 
        }
11520
 
      /* dlclose (self); */
11521
 
    }
11522
 
  else
11523
 
    puts (dlerror ());
11524
 
 
11525
 
  return status;
11526
 
}
11527
 
_LT_EOF
11528
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11529
 
  (eval $ac_link) 2>&5
11530
 
  ac_status=$?
11531
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11532
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11533
 
    (./conftest; exit; ) >&5 2>/dev/null
11534
 
    lt_status=$?
11535
 
    case x$lt_status in
11536
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11537
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11538
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11539
 
    esac
11540
 
  else :
11541
 
    # compilation failed
11542
 
    lt_cv_dlopen_self=no
11543
 
  fi
11544
 
fi
11545
 
rm -fr conftest*
11546
 
 
11547
 
 
11548
 
fi
11549
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11550
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11551
 
 
11552
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11553
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11554
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11555
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11556
 
if ${lt_cv_dlopen_self_static+:} false; then :
11557
 
  $as_echo_n "(cached) " >&6
11558
 
else
11559
 
          if test "$cross_compiling" = yes; then :
11560
 
  lt_cv_dlopen_self_static=cross
11561
 
else
11562
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11563
 
  lt_status=$lt_dlunknown
11564
 
  cat > conftest.$ac_ext <<_LT_EOF
11565
 
#line $LINENO "configure"
11566
 
#include "confdefs.h"
11567
 
 
11568
 
#if HAVE_DLFCN_H
11569
 
#include <dlfcn.h>
11570
 
#endif
11571
 
 
11572
 
#include <stdio.h>
11573
 
 
11574
 
#ifdef RTLD_GLOBAL
11575
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11576
 
#else
11577
 
#  ifdef DL_GLOBAL
11578
 
#    define LT_DLGLOBAL         DL_GLOBAL
11579
 
#  else
11580
 
#    define LT_DLGLOBAL         0
11581
 
#  endif
11582
 
#endif
11583
 
 
11584
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11585
 
   find out it does not work in some platform. */
11586
 
#ifndef LT_DLLAZY_OR_NOW
11587
 
#  ifdef RTLD_LAZY
11588
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11589
 
#  else
11590
 
#    ifdef DL_LAZY
11591
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11592
 
#    else
11593
 
#      ifdef RTLD_NOW
11594
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11595
 
#      else
11596
 
#        ifdef DL_NOW
11597
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11598
 
#        else
11599
 
#          define LT_DLLAZY_OR_NOW      0
11600
 
#        endif
11601
 
#      endif
11602
 
#    endif
11603
 
#  endif
11604
 
#endif
11605
 
 
11606
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11607
 
   correspondingly for the symbols needed.  */
11608
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11609
 
int fnord () __attribute__((visibility("default")));
11610
 
#endif
11611
 
 
11612
 
int fnord () { return 42; }
11613
 
int main ()
11614
 
{
11615
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11616
 
  int status = $lt_dlunknown;
11617
 
 
11618
 
  if (self)
11619
 
    {
11620
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11621
 
      else
11622
 
        {
11623
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11624
 
          else puts (dlerror ());
11625
 
        }
11626
 
      /* dlclose (self); */
11627
 
    }
11628
 
  else
11629
 
    puts (dlerror ());
11630
 
 
11631
 
  return status;
11632
 
}
11633
 
_LT_EOF
11634
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11635
 
  (eval $ac_link) 2>&5
11636
 
  ac_status=$?
11637
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11638
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11639
 
    (./conftest; exit; ) >&5 2>/dev/null
11640
 
    lt_status=$?
11641
 
    case x$lt_status in
11642
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11643
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11644
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11645
 
    esac
11646
 
  else :
11647
 
    # compilation failed
11648
 
    lt_cv_dlopen_self_static=no
11649
 
  fi
11650
 
fi
11651
 
rm -fr conftest*
11652
 
 
11653
 
 
11654
 
fi
11655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11656
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11657
 
    fi
11658
 
 
11659
 
    CPPFLAGS="$save_CPPFLAGS"
11660
 
    LDFLAGS="$save_LDFLAGS"
11661
 
    LIBS="$save_LIBS"
11662
 
    ;;
11663
 
  esac
11664
 
 
11665
 
  case $lt_cv_dlopen_self in
11666
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11667
 
  *) enable_dlopen_self=unknown ;;
11668
 
  esac
11669
 
 
11670
 
  case $lt_cv_dlopen_self_static in
11671
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11672
 
  *) enable_dlopen_self_static=unknown ;;
11673
 
  esac
11674
 
fi
11675
 
 
11676
 
 
11677
 
 
11678
 
 
11679
 
 
11680
 
 
11681
 
 
11682
 
 
11683
 
 
11684
 
 
11685
 
 
11686
 
 
11687
 
 
11688
 
 
11689
 
 
11690
 
 
11691
 
 
11692
 
striplib=
11693
 
old_striplib=
11694
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11695
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11696
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11697
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11698
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11699
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11700
 
$as_echo "yes" >&6; }
11701
 
else
11702
 
# FIXME - insert some real tests, host_os isn't really good enough
11703
 
  case $host_os in
11704
 
  darwin*)
11705
 
    if test -n "$STRIP" ; then
11706
 
      striplib="$STRIP -x"
11707
 
      old_striplib="$STRIP -S"
11708
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11709
 
$as_echo "yes" >&6; }
11710
 
    else
11711
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712
 
$as_echo "no" >&6; }
11713
 
    fi
11714
 
    ;;
11715
 
  *)
11716
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11717
 
$as_echo "no" >&6; }
11718
 
    ;;
11719
 
  esac
11720
 
fi
11721
 
 
11722
 
 
11723
 
 
11724
 
 
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
  # Report which library types will actually be built
11734
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11735
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11736
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11737
 
$as_echo "$can_build_shared" >&6; }
11738
 
 
11739
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11740
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11741
 
  test "$can_build_shared" = "no" && enable_shared=no
11742
 
 
11743
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11744
 
  # are all built from PIC.
11745
 
  case $host_os in
11746
 
  aix3*)
11747
 
    test "$enable_shared" = yes && enable_static=no
11748
 
    if test -n "$RANLIB"; then
11749
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11750
 
      postinstall_cmds='$RANLIB $lib'
11751
 
    fi
11752
 
    ;;
11753
 
 
11754
 
  aix[4-9]*)
11755
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11756
 
      test "$enable_shared" = yes && enable_static=no
11757
 
    fi
11758
 
    ;;
11759
 
  esac
11760
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11761
 
$as_echo "$enable_shared" >&6; }
11762
 
 
11763
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11764
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11765
 
  # Make sure either enable_shared or enable_static is yes.
11766
 
  test "$enable_shared" = yes || enable_static=yes
11767
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11768
 
$as_echo "$enable_static" >&6; }
11769
 
 
11770
 
 
11771
 
 
11772
 
 
11773
 
fi
11774
 
ac_ext=c
11775
 
ac_cpp='$CPP $CPPFLAGS'
11776
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11777
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11778
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11779
 
 
11780
 
CC="$lt_save_CC"
11781
 
 
11782
 
 
11783
 
 
11784
 
 
11785
 
 
11786
 
 
11787
 
 
11788
 
 
11789
 
 
11790
 
 
11791
 
 
11792
 
 
11793
 
 
11794
 
 
11795
 
 
11796
 
        ac_config_commands="$ac_config_commands libtool"
11797
 
 
11798
 
 
11799
 
 
11800
 
 
11801
 
# Only expand once:
11802
 
 
11803
 
 
11804
 
 
11805
 
# Extract the first word of "glib-mkenums", so it can be a program name with args.
11806
 
set dummy glib-mkenums; ac_word=$2
11807
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11808
 
$as_echo_n "checking for $ac_word... " >&6; }
11809
 
if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
11810
 
  $as_echo_n "(cached) " >&6
11811
 
else
11812
 
  case $GLIB_MKENUMS in
11813
 
  [\\/]* | ?:[\\/]*)
11814
 
  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
11815
 
  ;;
11816
 
  *)
11817
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818
 
for as_dir in $PATH
11819
 
do
11820
 
  IFS=$as_save_IFS
11821
 
  test -z "$as_dir" && as_dir=.
11822
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11823
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11824
 
    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
11825
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11826
 
    break 2
11827
 
  fi
11828
 
done
11829
 
  done
11830
 
IFS=$as_save_IFS
11831
 
 
11832
 
  ;;
11833
 
esac
11834
 
fi
11835
 
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
11836
 
if test -n "$GLIB_MKENUMS"; then
11837
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
11838
 
$as_echo "$GLIB_MKENUMS" >&6; }
11839
 
else
11840
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841
 
$as_echo "no" >&6; }
11842
 
fi
11843
 
 
11844
 
 
11845
 
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
11846
 
set dummy glib-genmarshal; ac_word=$2
11847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11848
 
$as_echo_n "checking for $ac_word... " >&6; }
11849
 
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
11850
 
  $as_echo_n "(cached) " >&6
11851
 
else
11852
 
  case $GLIB_GENMARSHAL in
11853
 
  [\\/]* | ?:[\\/]*)
11854
 
  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
11855
 
  ;;
11856
 
  *)
11857
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858
 
for as_dir in $PATH
11859
 
do
11860
 
  IFS=$as_save_IFS
11861
 
  test -z "$as_dir" && as_dir=.
11862
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11863
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11864
 
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
11865
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11866
 
    break 2
11867
 
  fi
11868
 
done
11869
 
  done
11870
 
IFS=$as_save_IFS
11871
 
 
11872
 
  ;;
11873
 
esac
11874
 
fi
11875
 
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
11876
 
if test -n "$GLIB_GENMARSHAL"; then
11877
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
11878
 
$as_echo "$GLIB_GENMARSHAL" >&6; }
11879
 
else
11880
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881
 
$as_echo "no" >&6; }
11882
 
fi
11883
 
 
11884
 
 
11885
 
 
11886
 
 
11887
 
 
11888
 
 
11889
 
 
11890
 
 
11891
 
 
11892
 
 
11893
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11894
 
        if test -n "$ac_tool_prefix"; then
11895
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11896
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11897
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11898
 
$as_echo_n "checking for $ac_word... " >&6; }
11899
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
11900
 
  $as_echo_n "(cached) " >&6
11901
 
else
11902
 
  case $PKG_CONFIG in
11903
 
  [\\/]* | ?:[\\/]*)
11904
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11905
 
  ;;
11906
 
  *)
11907
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908
 
for as_dir in $PATH
11909
 
do
11910
 
  IFS=$as_save_IFS
11911
 
  test -z "$as_dir" && as_dir=.
11912
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11913
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11914
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11915
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11916
 
    break 2
11917
 
  fi
11918
 
done
11919
 
  done
11920
 
IFS=$as_save_IFS
11921
 
 
11922
 
  ;;
11923
 
esac
11924
 
fi
11925
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11926
 
if test -n "$PKG_CONFIG"; then
11927
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11928
 
$as_echo "$PKG_CONFIG" >&6; }
11929
 
else
11930
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931
 
$as_echo "no" >&6; }
11932
 
fi
11933
 
 
11934
 
 
11935
 
fi
11936
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
11937
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
11938
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
11939
 
set dummy pkg-config; ac_word=$2
11940
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11941
 
$as_echo_n "checking for $ac_word... " >&6; }
11942
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11943
 
  $as_echo_n "(cached) " >&6
11944
 
else
11945
 
  case $ac_pt_PKG_CONFIG in
11946
 
  [\\/]* | ?:[\\/]*)
11947
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11948
 
  ;;
11949
 
  *)
11950
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11951
 
for as_dir in $PATH
11952
 
do
11953
 
  IFS=$as_save_IFS
11954
 
  test -z "$as_dir" && as_dir=.
11955
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11956
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11957
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11958
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11959
 
    break 2
11960
 
  fi
11961
 
done
11962
 
  done
11963
 
IFS=$as_save_IFS
11964
 
 
11965
 
  ;;
11966
 
esac
11967
 
fi
11968
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11969
 
if test -n "$ac_pt_PKG_CONFIG"; then
11970
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11971
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11972
 
else
11973
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974
 
$as_echo "no" >&6; }
11975
 
fi
11976
 
 
11977
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
11978
 
    PKG_CONFIG=""
11979
 
  else
11980
 
    case $cross_compiling:$ac_tool_warned in
11981
 
yes:)
11982
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11983
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11984
 
ac_tool_warned=yes ;;
11985
 
esac
11986
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
11987
 
  fi
11988
 
else
11989
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11990
 
fi
11991
 
 
11992
 
fi
11993
 
if test -n "$PKG_CONFIG"; then
11994
 
        _pkg_min_version=0.9.0
11995
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11996
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11997
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11998
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11999
 
$as_echo "yes" >&6; }
12000
 
        else
12001
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12002
 
$as_echo "no" >&6; }
12003
 
                PKG_CONFIG=""
12004
 
        fi
12005
 
fi
12006
 
 
12007
 
# Check whether --enable-deprecations was given.
12008
 
if test "${enable_deprecations+set}" = set; then :
12009
 
  enableval=$enable_deprecations;
12010
 
else
12011
 
  enable_deprecations=yes
12012
 
fi
12013
 
 
12014
 
if test "x$enable_deprecations" = xno; then :
12015
 
  CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES"
12016
 
 
12017
 
fi
12018
 
 
12019
 
###########################
12020
 
# GTK Doc
12021
 
###########################
12022
 
 
12023
 
 
12024
 
 
12025
 
 
12026
 
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12027
 
set dummy gtkdoc-check; ac_word=$2
12028
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029
 
$as_echo_n "checking for $ac_word... " >&6; }
12030
 
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12031
 
  $as_echo_n "(cached) " >&6
12032
 
else
12033
 
  case $GTKDOC_CHECK in
12034
 
  [\\/]* | ?:[\\/]*)
12035
 
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12036
 
  ;;
12037
 
  *)
12038
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12039
 
for as_dir in $PATH
12040
 
do
12041
 
  IFS=$as_save_IFS
12042
 
  test -z "$as_dir" && as_dir=.
12043
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12044
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12045
 
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12046
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12047
 
    break 2
12048
 
  fi
12049
 
done
12050
 
  done
12051
 
IFS=$as_save_IFS
12052
 
 
12053
 
  ;;
12054
 
esac
12055
 
fi
12056
 
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12057
 
if test -n "$GTKDOC_CHECK"; then
12058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12059
 
$as_echo "$GTKDOC_CHECK" >&6; }
12060
 
else
12061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062
 
$as_echo "no" >&6; }
12063
 
fi
12064
 
 
12065
 
 
12066
 
  for ac_prog in gtkdoc-rebase
12067
 
do
12068
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12069
 
set dummy $ac_prog; ac_word=$2
12070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12071
 
$as_echo_n "checking for $ac_word... " >&6; }
12072
 
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12073
 
  $as_echo_n "(cached) " >&6
12074
 
else
12075
 
  case $GTKDOC_REBASE in
12076
 
  [\\/]* | ?:[\\/]*)
12077
 
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12078
 
  ;;
12079
 
  *)
12080
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12081
 
for as_dir in $PATH
12082
 
do
12083
 
  IFS=$as_save_IFS
12084
 
  test -z "$as_dir" && as_dir=.
12085
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12086
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12087
 
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12088
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12089
 
    break 2
12090
 
  fi
12091
 
done
12092
 
  done
12093
 
IFS=$as_save_IFS
12094
 
 
12095
 
  ;;
12096
 
esac
12097
 
fi
12098
 
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12099
 
if test -n "$GTKDOC_REBASE"; then
12100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12101
 
$as_echo "$GTKDOC_REBASE" >&6; }
12102
 
else
12103
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104
 
$as_echo "no" >&6; }
12105
 
fi
12106
 
 
12107
 
 
12108
 
  test -n "$GTKDOC_REBASE" && break
12109
 
done
12110
 
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12111
 
 
12112
 
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12113
 
set dummy gtkdoc-mkpdf; ac_word=$2
12114
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12115
 
$as_echo_n "checking for $ac_word... " >&6; }
12116
 
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12117
 
  $as_echo_n "(cached) " >&6
12118
 
else
12119
 
  case $GTKDOC_MKPDF in
12120
 
  [\\/]* | ?:[\\/]*)
12121
 
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12122
 
  ;;
12123
 
  *)
12124
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12125
 
for as_dir in $PATH
12126
 
do
12127
 
  IFS=$as_save_IFS
12128
 
  test -z "$as_dir" && as_dir=.
12129
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12130
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12131
 
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12132
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12133
 
    break 2
12134
 
  fi
12135
 
done
12136
 
  done
12137
 
IFS=$as_save_IFS
12138
 
 
12139
 
  ;;
12140
 
esac
12141
 
fi
12142
 
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12143
 
if test -n "$GTKDOC_MKPDF"; then
12144
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12145
 
$as_echo "$GTKDOC_MKPDF" >&6; }
12146
 
else
12147
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148
 
$as_echo "no" >&6; }
12149
 
fi
12150
 
 
12151
 
 
12152
 
 
12153
 
 
12154
 
# Check whether --with-html-dir was given.
12155
 
if test "${with_html_dir+set}" = set; then :
12156
 
  withval=$with_html_dir;
12157
 
else
12158
 
  with_html_dir='${datadir}/gtk-doc/html'
12159
 
fi
12160
 
 
12161
 
  HTML_DIR="$with_html_dir"
12162
 
 
12163
 
 
12164
 
    # Check whether --enable-gtk-doc was given.
12165
 
if test "${enable_gtk_doc+set}" = set; then :
12166
 
  enableval=$enable_gtk_doc;
12167
 
else
12168
 
  enable_gtk_doc=no
12169
 
fi
12170
 
 
12171
 
 
12172
 
  if test x$enable_gtk_doc = xyes; then
12173
 
    if test -n "$PKG_CONFIG" && \
12174
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
12175
 
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
12176
 
  ac_status=$?
12177
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12178
 
  test $ac_status = 0; }; then
12179
 
  :
12180
 
else
12181
 
  as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
12182
 
fi
12183
 
        if test "x$PACKAGE_NAME" != "xglib"; then
12184
 
 
12185
 
pkg_failed=no
12186
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12187
 
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12188
 
 
12189
 
if test -n "$GTKDOC_DEPS_CFLAGS"; then
12190
 
    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12191
 
 elif test -n "$PKG_CONFIG"; then
12192
 
    if test -n "$PKG_CONFIG" && \
12193
 
    { { $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
12194
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12195
 
  ac_status=$?
12196
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197
 
  test $ac_status = 0; }; then
12198
 
  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12199
 
                      test "x$?" != "x0" && pkg_failed=yes
12200
 
else
12201
 
  pkg_failed=yes
12202
 
fi
12203
 
 else
12204
 
    pkg_failed=untried
12205
 
fi
12206
 
if test -n "$GTKDOC_DEPS_LIBS"; then
12207
 
    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12208
 
 elif test -n "$PKG_CONFIG"; then
12209
 
    if test -n "$PKG_CONFIG" && \
12210
 
    { { $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
12211
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12212
 
  ac_status=$?
12213
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12214
 
  test $ac_status = 0; }; then
12215
 
  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12216
 
                      test "x$?" != "x0" && pkg_failed=yes
12217
 
else
12218
 
  pkg_failed=yes
12219
 
fi
12220
 
 else
12221
 
    pkg_failed=untried
12222
 
fi
12223
 
 
12224
 
 
12225
 
 
12226
 
if test $pkg_failed = yes; then
12227
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12228
 
$as_echo "no" >&6; }
12229
 
 
12230
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12231
 
        _pkg_short_errors_supported=yes
12232
 
else
12233
 
        _pkg_short_errors_supported=no
12234
 
fi
12235
 
        if test $_pkg_short_errors_supported = yes; then
12236
 
                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`
12237
 
        else
12238
 
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12239
 
        fi
12240
 
        # Put the nasty error message in config.log where it belongs
12241
 
        echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12242
 
 
12243
 
        as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12244
 
 
12245
 
$GTKDOC_DEPS_PKG_ERRORS
12246
 
 
12247
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12248
 
installed software in a non-standard prefix.
12249
 
 
12250
 
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12251
 
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12252
 
See the pkg-config man page for more details." "$LINENO" 5
12253
 
elif test $pkg_failed = untried; then
12254
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12255
 
$as_echo "no" >&6; }
12256
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12257
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12258
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12259
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12260
 
path to pkg-config.
12261
 
 
12262
 
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12263
 
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12264
 
See the pkg-config man page for more details.
12265
 
 
12266
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12267
 
See \`config.log' for more details" "$LINENO" 5; }
12268
 
else
12269
 
        GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12270
 
        GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12271
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12272
 
$as_echo "yes" >&6; }
12273
 
 
12274
 
fi
12275
 
    fi
12276
 
  fi
12277
 
 
12278
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12279
 
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12280
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12281
 
$as_echo "$enable_gtk_doc" >&6; }
12282
 
 
12283
 
    # Check whether --enable-gtk-doc-html was given.
12284
 
if test "${enable_gtk_doc_html+set}" = set; then :
12285
 
  enableval=$enable_gtk_doc_html;
12286
 
else
12287
 
  enable_gtk_doc_html=yes
12288
 
fi
12289
 
 
12290
 
    # Check whether --enable-gtk-doc-pdf was given.
12291
 
if test "${enable_gtk_doc_pdf+set}" = set; then :
12292
 
  enableval=$enable_gtk_doc_pdf;
12293
 
else
12294
 
  enable_gtk_doc_pdf=no
12295
 
fi
12296
 
 
12297
 
 
12298
 
  if test -z "$GTKDOC_MKPDF"; then
12299
 
    enable_gtk_doc_pdf=no
12300
 
  fi
12301
 
 
12302
 
 
12303
 
   if test x$enable_gtk_doc = xyes; then
12304
 
  ENABLE_GTK_DOC_TRUE=
12305
 
  ENABLE_GTK_DOC_FALSE='#'
12306
 
else
12307
 
  ENABLE_GTK_DOC_TRUE='#'
12308
 
  ENABLE_GTK_DOC_FALSE=
12309
 
fi
12310
 
 
12311
 
   if test x$enable_gtk_doc_html = xyes; then
12312
 
  GTK_DOC_BUILD_HTML_TRUE=
12313
 
  GTK_DOC_BUILD_HTML_FALSE='#'
12314
 
else
12315
 
  GTK_DOC_BUILD_HTML_TRUE='#'
12316
 
  GTK_DOC_BUILD_HTML_FALSE=
12317
 
fi
12318
 
 
12319
 
   if test x$enable_gtk_doc_pdf = xyes; then
12320
 
  GTK_DOC_BUILD_PDF_TRUE=
12321
 
  GTK_DOC_BUILD_PDF_FALSE='#'
12322
 
else
12323
 
  GTK_DOC_BUILD_PDF_TRUE='#'
12324
 
  GTK_DOC_BUILD_PDF_FALSE=
12325
 
fi
12326
 
 
12327
 
   if test -n "$LIBTOOL"; then
12328
 
  GTK_DOC_USE_LIBTOOL_TRUE=
12329
 
  GTK_DOC_USE_LIBTOOL_FALSE='#'
12330
 
else
12331
 
  GTK_DOC_USE_LIBTOOL_TRUE='#'
12332
 
  GTK_DOC_USE_LIBTOOL_FALSE=
12333
 
fi
12334
 
 
12335
 
   if test -n "$GTKDOC_REBASE"; then
12336
 
  GTK_DOC_USE_REBASE_TRUE=
12337
 
  GTK_DOC_USE_REBASE_FALSE='#'
12338
 
else
12339
 
  GTK_DOC_USE_REBASE_TRUE='#'
12340
 
  GTK_DOC_USE_REBASE_FALSE=
12341
 
fi
12342
 
 
12343
 
 
12344
 
 
12345
 
 
12346
 
###########################
12347
 
# GLib GSettings
12348
 
###########################
12349
 
 
12350
 
 
12351
 
 
12352
 
  # Check whether --enable-schemas-compile was given.
12353
 
if test "${enable_schemas_compile+set}" = set; then :
12354
 
  enableval=$enable_schemas_compile; case ${enableval} in
12355
 
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
12356
 
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12357
 
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12358
 
                 esac
12359
 
fi
12360
 
 
12361
 
 
12362
 
 
12363
 
 
12364
 
 
12365
 
 
12366
 
 
12367
 
 
12368
 
 
12369
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12370
 
        if test -n "$ac_tool_prefix"; then
12371
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12372
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12374
 
$as_echo_n "checking for $ac_word... " >&6; }
12375
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12376
 
  $as_echo_n "(cached) " >&6
12377
 
else
12378
 
  case $PKG_CONFIG in
12379
 
  [\\/]* | ?:[\\/]*)
12380
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12381
 
  ;;
12382
 
  *)
12383
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12384
 
for as_dir in $PATH
12385
 
do
12386
 
  IFS=$as_save_IFS
12387
 
  test -z "$as_dir" && as_dir=.
12388
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12389
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12390
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12391
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12392
 
    break 2
12393
 
  fi
12394
 
done
12395
 
  done
12396
 
IFS=$as_save_IFS
12397
 
 
12398
 
  ;;
12399
 
esac
12400
 
fi
12401
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12402
 
if test -n "$PKG_CONFIG"; then
12403
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12404
 
$as_echo "$PKG_CONFIG" >&6; }
12405
 
else
12406
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12407
 
$as_echo "no" >&6; }
12408
 
fi
12409
 
 
12410
 
 
12411
 
fi
12412
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12413
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12414
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12415
 
set dummy pkg-config; ac_word=$2
12416
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12417
 
$as_echo_n "checking for $ac_word... " >&6; }
12418
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12419
 
  $as_echo_n "(cached) " >&6
12420
 
else
12421
 
  case $ac_pt_PKG_CONFIG in
12422
 
  [\\/]* | ?:[\\/]*)
12423
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12424
 
  ;;
12425
 
  *)
12426
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12427
 
for as_dir in $PATH
12428
 
do
12429
 
  IFS=$as_save_IFS
12430
 
  test -z "$as_dir" && as_dir=.
12431
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12432
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12433
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12434
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12435
 
    break 2
12436
 
  fi
12437
 
done
12438
 
  done
12439
 
IFS=$as_save_IFS
12440
 
 
12441
 
  ;;
12442
 
esac
12443
 
fi
12444
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12445
 
if test -n "$ac_pt_PKG_CONFIG"; then
12446
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12447
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12448
 
else
12449
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12450
 
$as_echo "no" >&6; }
12451
 
fi
12452
 
 
12453
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12454
 
    PKG_CONFIG=""
12455
 
  else
12456
 
    case $cross_compiling:$ac_tool_warned in
12457
 
yes:)
12458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12459
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12460
 
ac_tool_warned=yes ;;
12461
 
esac
12462
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12463
 
  fi
12464
 
else
12465
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12466
 
fi
12467
 
 
12468
 
fi
12469
 
if test -n "$PKG_CONFIG"; then
12470
 
        _pkg_min_version=0.16
12471
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12472
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12473
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12474
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12475
 
$as_echo "yes" >&6; }
12476
 
        else
12477
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478
 
$as_echo "no" >&6; }
12479
 
                PKG_CONFIG=""
12480
 
        fi
12481
 
fi
12482
 
  gsettingsschemadir=${datadir}/glib-2.0/schemas
12483
 
 
12484
 
  if test x$cross_compiling != xyes; then
12485
 
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12486
 
  else
12487
 
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12488
 
set dummy glib-compile-schemas; ac_word=$2
12489
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12490
 
$as_echo_n "checking for $ac_word... " >&6; }
12491
 
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12492
 
  $as_echo_n "(cached) " >&6
12493
 
else
12494
 
  case $GLIB_COMPILE_SCHEMAS in
12495
 
  [\\/]* | ?:[\\/]*)
12496
 
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12497
 
  ;;
12498
 
  *)
12499
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12500
 
for as_dir in $PATH
12501
 
do
12502
 
  IFS=$as_save_IFS
12503
 
  test -z "$as_dir" && as_dir=.
12504
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12505
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12506
 
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12507
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12508
 
    break 2
12509
 
  fi
12510
 
done
12511
 
  done
12512
 
IFS=$as_save_IFS
12513
 
 
12514
 
  ;;
12515
 
esac
12516
 
fi
12517
 
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12518
 
if test -n "$GLIB_COMPILE_SCHEMAS"; then
12519
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12520
 
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12521
 
else
12522
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12523
 
$as_echo "no" >&6; }
12524
 
fi
12525
 
 
12526
 
 
12527
 
  fi
12528
 
 
12529
 
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12530
 
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12531
 
  else
12532
 
    :
12533
 
  fi
12534
 
 
12535
 
  GSETTINGS_RULES='
12536
 
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12537
 
 
12538
 
mostlyclean-am: clean-gsettings-schemas
12539
 
 
12540
 
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12541
 
 
12542
 
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12543
 
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12544
 
 
12545
 
all-am: $(gsettings_SCHEMAS:.xml=.valid)
12546
 
uninstall-am: uninstall-gsettings-schemas
12547
 
install-data-am: install-gsettings-schemas
12548
 
 
12549
 
.SECONDARY: $(gsettings_SCHEMAS)
12550
 
 
12551
 
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12552
 
        @$(NORMAL_INSTALL)
12553
 
        if test -n "$^"; then \
12554
 
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12555
 
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12556
 
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12557
 
        fi
12558
 
 
12559
 
uninstall-gsettings-schemas:
12560
 
        @$(NORMAL_UNINSTALL)
12561
 
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12562
 
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12563
 
        test -n "$$files" || exit 0; \
12564
 
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12565
 
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12566
 
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12567
 
 
12568
 
clean-gsettings-schemas:
12569
 
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12570
 
 
12571
 
ifdef gsettings_ENUM_NAMESPACE
12572
 
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
12573
 
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
12574
 
endif
12575
 
'
12576
 
 
12577
 
 
12578
 
 
12579
 
 
12580
 
 
12581
 
 
12582
 
 
12583
 
###########################
12584
 
# Dependencies
12585
 
###########################
12586
 
 
12587
 
GTK_REQUIRED_VERSION=3.0
12588
 
GIO_REQUIRED_VERSION=2.26
12589
 
INDICATOR_REQUIRED_VERSION=0.3.90
12590
 
DBUSMENUGTK_REQUIRED_VERSION=0.5.90
12591
 
BAMF_REQUIRED_VERSION=0.2.53
12592
 
 
12593
 
 
12594
 
pkg_failed=no
12595
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
12596
 
$as_echo_n "checking for gtk... " >&6; }
12597
 
 
12598
 
if test -n "$gtk_CFLAGS"; then
12599
 
    pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
12600
 
 elif test -n "$PKG_CONFIG"; then
12601
 
    if test -n "$PKG_CONFIG" && \
12602
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
12603
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION") 2>&5
12604
 
  ac_status=$?
12605
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12606
 
  test $ac_status = 0; }; then
12607
 
  pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
12608
 
                      test "x$?" != "x0" && pkg_failed=yes
12609
 
else
12610
 
  pkg_failed=yes
12611
 
fi
12612
 
 else
12613
 
    pkg_failed=untried
12614
 
fi
12615
 
if test -n "$gtk_LIBS"; then
12616
 
    pkg_cv_gtk_LIBS="$gtk_LIBS"
12617
 
 elif test -n "$PKG_CONFIG"; then
12618
 
    if test -n "$PKG_CONFIG" && \
12619
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
12620
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION") 2>&5
12621
 
  ac_status=$?
12622
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12623
 
  test $ac_status = 0; }; then
12624
 
  pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
12625
 
                      test "x$?" != "x0" && pkg_failed=yes
12626
 
else
12627
 
  pkg_failed=yes
12628
 
fi
12629
 
 else
12630
 
    pkg_failed=untried
12631
 
fi
12632
 
 
12633
 
 
12634
 
 
12635
 
if test $pkg_failed = yes; then
12636
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637
 
$as_echo "no" >&6; }
12638
 
 
12639
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12640
 
        _pkg_short_errors_supported=yes
12641
 
else
12642
 
        _pkg_short_errors_supported=no
12643
 
fi
12644
 
        if test $_pkg_short_errors_supported = yes; then
12645
 
                gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>&1`
12646
 
        else
12647
 
                gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>&1`
12648
 
        fi
12649
 
        # Put the nasty error message in config.log where it belongs
12650
 
        echo "$gtk_PKG_ERRORS" >&5
12651
 
 
12652
 
        as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED_VERSION) were not met:
12653
 
 
12654
 
$gtk_PKG_ERRORS
12655
 
 
12656
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12657
 
installed software in a non-standard prefix.
12658
 
 
12659
 
Alternatively, you may set the environment variables gtk_CFLAGS
12660
 
and gtk_LIBS to avoid the need to call pkg-config.
12661
 
See the pkg-config man page for more details." "$LINENO" 5
12662
 
elif test $pkg_failed = untried; then
12663
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12664
 
$as_echo "no" >&6; }
12665
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12666
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12667
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12668
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12669
 
path to pkg-config.
12670
 
 
12671
 
Alternatively, you may set the environment variables gtk_CFLAGS
12672
 
and gtk_LIBS to avoid the need to call pkg-config.
12673
 
See the pkg-config man page for more details.
12674
 
 
12675
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12676
 
See \`config.log' for more details" "$LINENO" 5; }
12677
 
else
12678
 
        gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
12679
 
        gtk_LIBS=$pkg_cv_gtk_LIBS
12680
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12681
 
$as_echo "yes" >&6; }
12682
 
 
12683
 
fi
12684
 
 
12685
 
pkg_failed=no
12686
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INDICATOR" >&5
12687
 
$as_echo_n "checking for INDICATOR... " >&6; }
12688
 
 
12689
 
if test -n "$INDICATOR_CFLAGS"; then
12690
 
    pkg_cv_INDICATOR_CFLAGS="$INDICATOR_CFLAGS"
12691
 
 elif test -n "$PKG_CONFIG"; then
12692
 
    if test -n "$PKG_CONFIG" && \
12693
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION
12694
 
                              gio-2.0 >= \$GIO_REQUIRED_VERSION
12695
 
                              indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
12696
 
                              dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
12697
 
                              libbamf3 >= \$BAMF_REQUIRED_VERSION\""; } >&5
12698
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12699
 
                              gio-2.0 >= $GIO_REQUIRED_VERSION
12700
 
                              indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12701
 
                              dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12702
 
                              libbamf3 >= $BAMF_REQUIRED_VERSION") 2>&5
12703
 
  ac_status=$?
12704
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12705
 
  test $ac_status = 0; }; then
12706
 
  pkg_cv_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12707
 
                              gio-2.0 >= $GIO_REQUIRED_VERSION
12708
 
                              indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12709
 
                              dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12710
 
                              libbamf3 >= $BAMF_REQUIRED_VERSION" 2>/dev/null`
12711
 
                      test "x$?" != "x0" && pkg_failed=yes
12712
 
else
12713
 
  pkg_failed=yes
12714
 
fi
12715
 
 else
12716
 
    pkg_failed=untried
12717
 
fi
12718
 
if test -n "$INDICATOR_LIBS"; then
12719
 
    pkg_cv_INDICATOR_LIBS="$INDICATOR_LIBS"
12720
 
 elif test -n "$PKG_CONFIG"; then
12721
 
    if test -n "$PKG_CONFIG" && \
12722
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION
12723
 
                              gio-2.0 >= \$GIO_REQUIRED_VERSION
12724
 
                              indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
12725
 
                              dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
12726
 
                              libbamf3 >= \$BAMF_REQUIRED_VERSION\""; } >&5
12727
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12728
 
                              gio-2.0 >= $GIO_REQUIRED_VERSION
12729
 
                              indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12730
 
                              dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12731
 
                              libbamf3 >= $BAMF_REQUIRED_VERSION") 2>&5
12732
 
  ac_status=$?
12733
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12734
 
  test $ac_status = 0; }; then
12735
 
  pkg_cv_INDICATOR_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12736
 
                              gio-2.0 >= $GIO_REQUIRED_VERSION
12737
 
                              indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12738
 
                              dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12739
 
                              libbamf3 >= $BAMF_REQUIRED_VERSION" 2>/dev/null`
12740
 
                      test "x$?" != "x0" && pkg_failed=yes
12741
 
else
12742
 
  pkg_failed=yes
12743
 
fi
12744
 
 else
12745
 
    pkg_failed=untried
12746
 
fi
12747
 
 
12748
 
 
12749
 
 
12750
 
if test $pkg_failed = yes; then
12751
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752
 
$as_echo "no" >&6; }
12753
 
 
12754
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12755
 
        _pkg_short_errors_supported=yes
12756
 
else
12757
 
        _pkg_short_errors_supported=no
12758
 
fi
12759
 
        if test $_pkg_short_errors_supported = yes; then
12760
 
                INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12761
 
                              gio-2.0 >= $GIO_REQUIRED_VERSION
12762
 
                              indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12763
 
                              dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12764
 
                              libbamf3 >= $BAMF_REQUIRED_VERSION" 2>&1`
12765
 
        else
12766
 
                INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12767
 
                              gio-2.0 >= $GIO_REQUIRED_VERSION
12768
 
                              indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12769
 
                              dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12770
 
                              libbamf3 >= $BAMF_REQUIRED_VERSION" 2>&1`
12771
 
        fi
12772
 
        # Put the nasty error message in config.log where it belongs
12773
 
        echo "$INDICATOR_PKG_ERRORS" >&5
12774
 
 
12775
 
        as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED_VERSION
12776
 
                              gio-2.0 >= $GIO_REQUIRED_VERSION
12777
 
                              indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12778
 
                              dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12779
 
                              libbamf3 >= $BAMF_REQUIRED_VERSION) were not met:
12780
 
 
12781
 
$INDICATOR_PKG_ERRORS
12782
 
 
12783
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12784
 
installed software in a non-standard prefix.
12785
 
 
12786
 
Alternatively, you may set the environment variables INDICATOR_CFLAGS
12787
 
and INDICATOR_LIBS to avoid the need to call pkg-config.
12788
 
See the pkg-config man page for more details." "$LINENO" 5
12789
 
elif test $pkg_failed = untried; then
12790
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12791
 
$as_echo "no" >&6; }
12792
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12793
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12794
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12795
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12796
 
path to pkg-config.
12797
 
 
12798
 
Alternatively, you may set the environment variables INDICATOR_CFLAGS
12799
 
and INDICATOR_LIBS to avoid the need to call pkg-config.
12800
 
See the pkg-config man page for more details.
12801
 
 
12802
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12803
 
See \`config.log' for more details" "$LINENO" 5; }
12804
 
else
12805
 
        INDICATOR_CFLAGS=$pkg_cv_INDICATOR_CFLAGS
12806
 
        INDICATOR_LIBS=$pkg_cv_INDICATOR_LIBS
12807
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12808
 
$as_echo "yes" >&6; }
12809
 
 
12810
 
fi
12811
 
 
12812
 
 
12813
 
 
12814
 
###########################
12815
 
# Dependencies
12816
 
###########################
12817
 
 
12818
 
DBUSMENU_GLIB_REQUIRED_VERSION=0.4.0
12819
 
BAMF_REQUIRED_VERSION=0.2.53
12820
 
SQLITE_REQUIRED_VERSION=0.0
12821
 
 
12822
 
 
12823
 
pkg_failed=no
12824
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HUD" >&5
12825
 
$as_echo_n "checking for HUD... " >&6; }
12826
 
 
12827
 
if test -n "$HUD_CFLAGS"; then
12828
 
    pkg_cv_HUD_CFLAGS="$HUD_CFLAGS"
12829
 
 elif test -n "$PKG_CONFIG"; then
12830
 
    if test -n "$PKG_CONFIG" && \
12831
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12832
 
                dbusmenu-glib-0.4 >= \$DBUSMENU_GLIB_REQUIRED_VERSION
12833
 
                libbamf3
12834
 
                sqlite3 >= \$SQLITE_REQUIRED_VERSION
12835
 
\""; } >&5
12836
 
  ($PKG_CONFIG --exists --print-errors "
12837
 
                dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12838
 
                libbamf3
12839
 
                sqlite3 >= $SQLITE_REQUIRED_VERSION
12840
 
") 2>&5
12841
 
  ac_status=$?
12842
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12843
 
  test $ac_status = 0; }; then
12844
 
  pkg_cv_HUD_CFLAGS=`$PKG_CONFIG --cflags "
12845
 
                dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12846
 
                libbamf3
12847
 
                sqlite3 >= $SQLITE_REQUIRED_VERSION
12848
 
" 2>/dev/null`
12849
 
                      test "x$?" != "x0" && pkg_failed=yes
12850
 
else
12851
 
  pkg_failed=yes
12852
 
fi
12853
 
 else
12854
 
    pkg_failed=untried
12855
 
fi
12856
 
if test -n "$HUD_LIBS"; then
12857
 
    pkg_cv_HUD_LIBS="$HUD_LIBS"
12858
 
 elif test -n "$PKG_CONFIG"; then
12859
 
    if test -n "$PKG_CONFIG" && \
12860
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12861
 
                dbusmenu-glib-0.4 >= \$DBUSMENU_GLIB_REQUIRED_VERSION
12862
 
                libbamf3
12863
 
                sqlite3 >= \$SQLITE_REQUIRED_VERSION
12864
 
\""; } >&5
12865
 
  ($PKG_CONFIG --exists --print-errors "
12866
 
                dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12867
 
                libbamf3
12868
 
                sqlite3 >= $SQLITE_REQUIRED_VERSION
12869
 
") 2>&5
12870
 
  ac_status=$?
12871
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12872
 
  test $ac_status = 0; }; then
12873
 
  pkg_cv_HUD_LIBS=`$PKG_CONFIG --libs "
12874
 
                dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12875
 
                libbamf3
12876
 
                sqlite3 >= $SQLITE_REQUIRED_VERSION
12877
 
" 2>/dev/null`
12878
 
                      test "x$?" != "x0" && pkg_failed=yes
12879
 
else
12880
 
  pkg_failed=yes
12881
 
fi
12882
 
 else
12883
 
    pkg_failed=untried
12884
 
fi
12885
 
 
12886
 
 
12887
 
 
12888
 
if test $pkg_failed = yes; then
12889
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890
 
$as_echo "no" >&6; }
12891
 
 
12892
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12893
 
        _pkg_short_errors_supported=yes
12894
 
else
12895
 
        _pkg_short_errors_supported=no
12896
 
fi
12897
 
        if test $_pkg_short_errors_supported = yes; then
12898
 
                HUD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
12899
 
                dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12900
 
                libbamf3
12901
 
                sqlite3 >= $SQLITE_REQUIRED_VERSION
12902
 
" 2>&1`
12903
 
        else
12904
 
                HUD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
12905
 
                dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12906
 
                libbamf3
12907
 
                sqlite3 >= $SQLITE_REQUIRED_VERSION
12908
 
" 2>&1`
12909
 
        fi
12910
 
        # Put the nasty error message in config.log where it belongs
12911
 
        echo "$HUD_PKG_ERRORS" >&5
12912
 
 
12913
 
        as_fn_error $? "Package requirements (
12914
 
                dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12915
 
                libbamf3
12916
 
                sqlite3 >= $SQLITE_REQUIRED_VERSION
12917
 
) were not met:
12918
 
 
12919
 
$HUD_PKG_ERRORS
12920
 
 
12921
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12922
 
installed software in a non-standard prefix.
12923
 
 
12924
 
Alternatively, you may set the environment variables HUD_CFLAGS
12925
 
and HUD_LIBS to avoid the need to call pkg-config.
12926
 
See the pkg-config man page for more details." "$LINENO" 5
12927
 
elif test $pkg_failed = untried; then
12928
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929
 
$as_echo "no" >&6; }
12930
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12931
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12932
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12933
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12934
 
path to pkg-config.
12935
 
 
12936
 
Alternatively, you may set the environment variables HUD_CFLAGS
12937
 
and HUD_LIBS to avoid the need to call pkg-config.
12938
 
See the pkg-config man page for more details.
12939
 
 
12940
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12941
 
See \`config.log' for more details" "$LINENO" 5; }
12942
 
else
12943
 
        HUD_CFLAGS=$pkg_cv_HUD_CFLAGS
12944
 
        HUD_LIBS=$pkg_cv_HUD_LIBS
12945
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12946
 
$as_echo "yes" >&6; }
12947
 
 
12948
 
fi
12949
 
 
12950
 
###########################
12951
 
# CLI Dependencies
12952
 
###########################
12953
 
 
12954
 
as_ac_Header=`$as_echo "ac_cv_header_"readline/readline.h"" | $as_tr_sh`
12955
 
ac_fn_c_check_header_mongrel "$LINENO" ""readline/readline.h"" "$as_ac_Header" "$ac_includes_default"
12956
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12957
 
  has_readline_h="yes"
12958
 
fi
12959
 
 
12960
 
 
12961
 
as_ac_Header=`$as_echo "ac_cv_header_"readline/history.h"" | $as_tr_sh`
12962
 
ac_fn_c_check_header_mongrel "$LINENO" ""readline/history.h"" "$as_ac_Header" "$ac_includes_default"
12963
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12964
 
  has_history_h="yes"
12965
 
fi
12966
 
 
12967
 
 
12968
 
as_ac_Header=`$as_echo "ac_cv_header_"curses.h"" | $as_tr_sh`
12969
 
ac_fn_c_check_header_mongrel "$LINENO" ""curses.h"" "$as_ac_Header" "$ac_includes_default"
12970
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12971
 
  has_curses_h="yes"
12972
 
fi
12973
 
 
12974
 
 
12975
 
 
12976
 
 if test "x$has_readline_h" == "xyes" && test "x$has_history_h" == "xyes" && test "x$has_curses_h" == "xyes"; then
12977
 
  BUILD_CLI_TRUE=
12978
 
  BUILD_CLI_FALSE='#'
12979
 
else
12980
 
  BUILD_CLI_TRUE='#'
12981
 
  BUILD_CLI_FALSE=
12982
 
fi
12983
 
,
12984
 
 
12985
 
###########################
12986
 
# Test Dependencies
12987
 
###########################
12988
 
 
12989
 
DBUSMENU_JSONLOADER_REQUIRED_VERSION=0.3.3
12990
 
LIBAPPINDICATOR_REQUIRED_VERSION=0.0.0
12991
 
 
12992
 
# Check whether --enable-tests was given.
12993
 
if test "${enable_tests+set}" = set; then :
12994
 
  enableval=$enable_tests;
12995
 
else
12996
 
  enable_tests=auto
12997
 
fi
12998
 
 
12999
 
 
13000
 
if test x"$enable_tests" != x"no" ; then
13001
 
 
13002
 
pkg_failed=no
13003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INDICATORTEST" >&5
13004
 
$as_echo_n "checking for INDICATORTEST... " >&6; }
13005
 
 
13006
 
if test -n "$INDICATORTEST_CFLAGS"; then
13007
 
    pkg_cv_INDICATORTEST_CFLAGS="$INDICATORTEST_CFLAGS"
13008
 
 elif test -n "$PKG_CONFIG"; then
13009
 
    if test -n "$PKG_CONFIG" && \
13010
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-jsonloader-0.4 >= \$DBUSMENU_JSONLOADER_REQUIRED_VERSION
13011
 
                     appindicator3-0.1 >= \$LIBAPPINDICATOR_REQUIRED_VERSION\""; } >&5
13012
 
  ($PKG_CONFIG --exists --print-errors "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13013
 
                     appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION") 2>&5
13014
 
  ac_status=$?
13015
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13016
 
  test $ac_status = 0; }; then
13017
 
  pkg_cv_INDICATORTEST_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13018
 
                     appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>/dev/null`
13019
 
                      test "x$?" != "x0" && pkg_failed=yes
13020
 
else
13021
 
  pkg_failed=yes
13022
 
fi
13023
 
 else
13024
 
    pkg_failed=untried
13025
 
fi
13026
 
if test -n "$INDICATORTEST_LIBS"; then
13027
 
    pkg_cv_INDICATORTEST_LIBS="$INDICATORTEST_LIBS"
13028
 
 elif test -n "$PKG_CONFIG"; then
13029
 
    if test -n "$PKG_CONFIG" && \
13030
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-jsonloader-0.4 >= \$DBUSMENU_JSONLOADER_REQUIRED_VERSION
13031
 
                     appindicator3-0.1 >= \$LIBAPPINDICATOR_REQUIRED_VERSION\""; } >&5
13032
 
  ($PKG_CONFIG --exists --print-errors "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13033
 
                     appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION") 2>&5
13034
 
  ac_status=$?
13035
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13036
 
  test $ac_status = 0; }; then
13037
 
  pkg_cv_INDICATORTEST_LIBS=`$PKG_CONFIG --libs "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13038
 
                     appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>/dev/null`
13039
 
                      test "x$?" != "x0" && pkg_failed=yes
13040
 
else
13041
 
  pkg_failed=yes
13042
 
fi
13043
 
 else
13044
 
    pkg_failed=untried
13045
 
fi
13046
 
 
13047
 
 
13048
 
 
13049
 
if test $pkg_failed = yes; then
13050
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13051
 
$as_echo "no" >&6; }
13052
 
 
13053
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13054
 
        _pkg_short_errors_supported=yes
13055
 
else
13056
 
        _pkg_short_errors_supported=no
13057
 
fi
13058
 
        if test $_pkg_short_errors_supported = yes; then
13059
 
                INDICATORTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13060
 
                     appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>&1`
13061
 
        else
13062
 
                INDICATORTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13063
 
                     appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>&1`
13064
 
        fi
13065
 
        # Put the nasty error message in config.log where it belongs
13066
 
        echo "$INDICATORTEST_PKG_ERRORS" >&5
13067
 
 
13068
 
        have_dbusmenu_jsonloader=no
13069
 
 
13070
 
elif test $pkg_failed = untried; then
13071
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13072
 
$as_echo "no" >&6; }
13073
 
        have_dbusmenu_jsonloader=no
13074
 
 
13075
 
else
13076
 
        INDICATORTEST_CFLAGS=$pkg_cv_INDICATORTEST_CFLAGS
13077
 
        INDICATORTEST_LIBS=$pkg_cv_INDICATORTEST_LIBS
13078
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13079
 
$as_echo "yes" >&6; }
13080
 
        have_dbusmenu_jsonloader=yes
13081
 
fi
13082
 
   if test x${enable_tests} = xyes && test x${have_dbusmenu_jsonloader} = xno; then
13083
 
     as_fn_error $? "Test scripts and tools configured but dbusmenu-jsonloader not found" "$LINENO" 5
13084
 
   fi
13085
 
else
13086
 
   have_dbusmenu-jsonloader=no
13087
 
fi
13088
 
 if test x${have_dbusmenu_jsonloader} = xyes; then
13089
 
  BUILD_TESTS_TRUE=
13090
 
  BUILD_TESTS_FALSE='#'
13091
 
else
13092
 
  BUILD_TESTS_TRUE='#'
13093
 
  BUILD_TESTS_FALSE=
13094
 
fi
13095
 
 
13096
 
 
13097
 
 
13098
 
 
13099
 
 
13100
 
###########################
13101
 
# gcov coverage reporting
13102
 
###########################
13103
 
 
13104
 
# Checks for existence of coverage tools:
13105
 
#  * gcov
13106
 
#  * lcov
13107
 
#  * genhtml
13108
 
#  * gcovr
13109
 
#
13110
 
# Sets ac_cv_check_gcov to yes if tooling is present
13111
 
# and reports the executables to the variables LCOV, GCOVR and GENHTML.
13112
 
 # AC_TDD_GCOV
13113
 
 
13114
 
 
13115
 
  # Check whether --enable-gcov was given.
13116
 
if test "${enable_gcov+set}" = set; then :
13117
 
  enableval=$enable_gcov; use_gcov=$enableval
13118
 
else
13119
 
  use_gcov=no
13120
 
fi
13121
 
 
13122
 
 
13123
 
  if test "x$use_gcov" = "xyes"; then
13124
 
  # we need gcc:
13125
 
  if test "$GCC" != "yes"; then
13126
 
    as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
13127
 
  fi
13128
 
 
13129
 
  # Check if ccache is being used
13130
 
  # Extract the first word of "shtool", so it can be a program name with args.
13131
 
set dummy shtool; ac_word=$2
13132
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13133
 
$as_echo_n "checking for $ac_word... " >&6; }
13134
 
if ${ac_cv_prog_SHTOOL+:} false; then :
13135
 
  $as_echo_n "(cached) " >&6
13136
 
else
13137
 
  if test -n "$SHTOOL"; then
13138
 
  ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
13139
 
else
13140
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13141
 
for as_dir in $PATH
13142
 
do
13143
 
  IFS=$as_save_IFS
13144
 
  test -z "$as_dir" && as_dir=.
13145
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13146
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13147
 
    ac_cv_prog_SHTOOL="shtool"
13148
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13149
 
    break 2
13150
 
  fi
13151
 
done
13152
 
  done
13153
 
IFS=$as_save_IFS
13154
 
 
13155
 
fi
13156
 
fi
13157
 
SHTOOL=$ac_cv_prog_SHTOOL
13158
 
if test -n "$SHTOOL"; then
13159
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
13160
 
$as_echo "$SHTOOL" >&6; }
13161
 
else
13162
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13163
 
$as_echo "no" >&6; }
13164
 
fi
13165
 
 
13166
 
 
13167
 
  case `$SHTOOL path $CC` in
13168
 
    *ccache*) gcc_ccache=yes;;
13169
 
    *) gcc_ccache=no;;
13170
 
  esac
13171
 
 
13172
 
  if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
13173
 
    as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
13174
 
  fi
13175
 
 
13176
 
  lcov_version_list="1.6 1.7 1.8 1.9"
13177
 
  # Extract the first word of "lcov", so it can be a program name with args.
13178
 
set dummy lcov; ac_word=$2
13179
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13180
 
$as_echo_n "checking for $ac_word... " >&6; }
13181
 
if ${ac_cv_prog_LCOV+:} false; then :
13182
 
  $as_echo_n "(cached) " >&6
13183
 
else
13184
 
  if test -n "$LCOV"; then
13185
 
  ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
13186
 
else
13187
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13188
 
for as_dir in $PATH
13189
 
do
13190
 
  IFS=$as_save_IFS
13191
 
  test -z "$as_dir" && as_dir=.
13192
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13193
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13194
 
    ac_cv_prog_LCOV="lcov"
13195
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13196
 
    break 2
13197
 
  fi
13198
 
done
13199
 
  done
13200
 
IFS=$as_save_IFS
13201
 
 
13202
 
fi
13203
 
fi
13204
 
LCOV=$ac_cv_prog_LCOV
13205
 
if test -n "$LCOV"; then
13206
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
13207
 
$as_echo "$LCOV" >&6; }
13208
 
else
13209
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13210
 
$as_echo "no" >&6; }
13211
 
fi
13212
 
 
13213
 
 
13214
 
  # Extract the first word of "genhtml", so it can be a program name with args.
13215
 
set dummy genhtml; ac_word=$2
13216
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13217
 
$as_echo_n "checking for $ac_word... " >&6; }
13218
 
if ${ac_cv_prog_GENHTML+:} false; then :
13219
 
  $as_echo_n "(cached) " >&6
13220
 
else
13221
 
  if test -n "$GENHTML"; then
13222
 
  ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
13223
 
else
13224
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13225
 
for as_dir in $PATH
13226
 
do
13227
 
  IFS=$as_save_IFS
13228
 
  test -z "$as_dir" && as_dir=.
13229
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13230
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13231
 
    ac_cv_prog_GENHTML="genhtml"
13232
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13233
 
    break 2
13234
 
  fi
13235
 
done
13236
 
  done
13237
 
IFS=$as_save_IFS
13238
 
 
13239
 
fi
13240
 
fi
13241
 
GENHTML=$ac_cv_prog_GENHTML
13242
 
if test -n "$GENHTML"; then
13243
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
13244
 
$as_echo "$GENHTML" >&6; }
13245
 
else
13246
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13247
 
$as_echo "no" >&6; }
13248
 
fi
13249
 
 
13250
 
 
13251
 
 
13252
 
  if test "$LCOV"; then
13253
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
13254
 
$as_echo_n "checking for lcov version... " >&6; }
13255
 
if ${glib_cv_lcov_version+:} false; then :
13256
 
  $as_echo_n "(cached) " >&6
13257
 
else
13258
 
 
13259
 
      glib_cv_lcov_version=invalid
13260
 
      lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
13261
 
      for lcov_check_version in $lcov_version_list; do
13262
 
        if test "$lcov_version" = "$lcov_check_version"; then
13263
 
          glib_cv_lcov_version="$lcov_check_version (ok)"
13264
 
        fi
13265
 
      done
13266
 
 
13267
 
fi
13268
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_lcov_version" >&5
13269
 
$as_echo "$glib_cv_lcov_version" >&6; }
13270
 
  else
13271
 
    lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
13272
 
    as_fn_error $? "$lcov_msg" "$LINENO" 5
13273
 
  fi
13274
 
 
13275
 
  case $glib_cv_lcov_version in
13276
 
    ""|invalid)
13277
 
      lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
13278
 
      as_fn_error $? "$lcov_msg" "$LINENO" 5
13279
 
      LCOV="exit 0;"
13280
 
      ;;
13281
 
  esac
13282
 
 
13283
 
  if test -z "$GENHTML"; then
13284
 
    as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
13285
 
  fi
13286
 
 
13287
 
  ac_cv_check_gcov=yes
13288
 
  ac_cv_check_lcov=yes
13289
 
 
13290
 
  # Remove all optimization flags from CFLAGS
13291
 
 
13292
 
  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
13293
 
 
13294
 
 
13295
 
  # Add the special gcc flags
13296
 
  COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
13297
 
  COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
13298
 
  COVERAGE_LDFLAGS="-lgcov"
13299
 
 
13300
 
  # Check availability of gcovr
13301
 
  # Extract the first word of "gcovr", so it can be a program name with args.
13302
 
set dummy gcovr; ac_word=$2
13303
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13304
 
$as_echo_n "checking for $ac_word... " >&6; }
13305
 
if ${ac_cv_prog_GCOVR+:} false; then :
13306
 
  $as_echo_n "(cached) " >&6
13307
 
else
13308
 
  if test -n "$GCOVR"; then
13309
 
  ac_cv_prog_GCOVR="$GCOVR" # Let the user override the test.
13310
 
else
13311
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312
 
for as_dir in $PATH
13313
 
do
13314
 
  IFS=$as_save_IFS
13315
 
  test -z "$as_dir" && as_dir=.
13316
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13317
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13318
 
    ac_cv_prog_GCOVR="gcovr"
13319
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13320
 
    break 2
13321
 
  fi
13322
 
done
13323
 
  done
13324
 
IFS=$as_save_IFS
13325
 
 
13326
 
fi
13327
 
fi
13328
 
GCOVR=$ac_cv_prog_GCOVR
13329
 
if test -n "$GCOVR"; then
13330
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOVR" >&5
13331
 
$as_echo "$GCOVR" >&6; }
13332
 
else
13333
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13334
 
$as_echo "no" >&6; }
13335
 
fi
13336
 
 
13337
 
 
13338
 
  if test -z "$GCOVR"; then
13339
 
    ac_cv_check_gcovr=no
13340
 
  else
13341
 
    ac_cv_check_gcovr=yes
13342
 
  fi
13343
 
 
13344
 
fi
13345
 
 
13346
 
 if test "x$ac_cv_check_gcov" = xyes; then
13347
 
  HAVE_GCOV_TRUE=
13348
 
  HAVE_GCOV_FALSE='#'
13349
 
else
13350
 
  HAVE_GCOV_TRUE='#'
13351
 
  HAVE_GCOV_FALSE=
13352
 
fi
13353
 
 
13354
 
 if test "x$ac_cv_check_lcov" = xyes; then
13355
 
  HAVE_LCOV_TRUE=
13356
 
  HAVE_LCOV_FALSE='#'
13357
 
else
13358
 
  HAVE_LCOV_TRUE='#'
13359
 
  HAVE_LCOV_FALSE=
13360
 
fi
13361
 
 
13362
 
 if test "x$ac_cv_check_gcovr" = xyes; then
13363
 
  HAVE_GCOVR_TRUE=
13364
 
  HAVE_GCOVR_FALSE='#'
13365
 
else
13366
 
  HAVE_GCOVR_TRUE='#'
13367
 
  HAVE_GCOVR_FALSE=
13368
 
fi
13369
 
 
13370
 
 
13371
 
 
13372
 
 
13373
 
 
13374
 
###########################
13375
 
# XSLT Processor
13376
 
###########################
13377
 
 
13378
 
# Extract the first word of "xsltproc", so it can be a program name with args.
13379
 
set dummy xsltproc; ac_word=$2
13380
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13381
 
$as_echo_n "checking for $ac_word... " >&6; }
13382
 
if ${ac_cv_path_XSLT_PROC+:} false; then :
13383
 
  $as_echo_n "(cached) " >&6
13384
 
else
13385
 
  case $XSLT_PROC in
13386
 
  [\\/]* | ?:[\\/]*)
13387
 
  ac_cv_path_XSLT_PROC="$XSLT_PROC" # Let the user override the test with a path.
13388
 
  ;;
13389
 
  *)
13390
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13391
 
for as_dir in $PATH
13392
 
do
13393
 
  IFS=$as_save_IFS
13394
 
  test -z "$as_dir" && as_dir=.
13395
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13396
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13397
 
    ac_cv_path_XSLT_PROC="$as_dir/$ac_word$ac_exec_ext"
13398
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13399
 
    break 2
13400
 
  fi
13401
 
done
13402
 
  done
13403
 
IFS=$as_save_IFS
13404
 
 
13405
 
  ;;
13406
 
esac
13407
 
fi
13408
 
XSLT_PROC=$ac_cv_path_XSLT_PROC
13409
 
if test -n "$XSLT_PROC"; then
13410
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_PROC" >&5
13411
 
$as_echo "$XSLT_PROC" >&6; }
13412
 
else
13413
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13414
 
$as_echo "no" >&6; }
13415
 
fi
13416
 
 
13417
 
 
13418
 
 
13419
 
###########################
13420
 
# Check to see if we're local
13421
 
###########################
13422
 
 
13423
 
with_localinstall="no"
13424
 
# Check whether --enable-localinstall was given.
13425
 
if test "${enable_localinstall+set}" = set; then :
13426
 
  enableval=$enable_localinstall; with_localinstall=$enableval
13427
 
else
13428
 
  with_localinstall=no
13429
 
fi
13430
 
 
13431
 
 
13432
 
###########################
13433
 
# Indicator Info
13434
 
###########################
13435
 
 
13436
 
if test "x$with_localinstall" = "xyes"; then
13437
 
        INDICATORDIR="${libdir}/indicators/3/"
13438
 
        INDICATORICONSDIR="${datadir}/libindicate/icons/"
13439
 
elif test "x$with_gtk" = x2; then
13440
 
        INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator-0.4`
13441
 
        INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator-0.4`
13442
 
else
13443
 
        INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3-0.4`
13444
 
        INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator3-0.4`
13445
 
fi
13446
 
 
13447
 
 
13448
 
 
13449
 
###########################
13450
 
# DBus Service Info
13451
 
###########################
13452
 
 
13453
 
if test "x$with_localinstall" = "xyes"; then
13454
 
        DBUSSERVICEDIR="${datadir}/dbus-1/services/"
13455
 
else
13456
 
        DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
13457
 
fi
13458
 
 
13459
 
 
13460
 
##############################
13461
 
# Custom Junk
13462
 
##############################
13463
 
 
13464
 
 
13465
 
 
13466
 
###########################
13467
 
# Internationalization
13468
 
###########################
13469
 
 
13470
 
GETTEXT_PACKAGE=indicator-appmenu
13471
 
 
13472
 
 
13473
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13474
 
$as_echo_n "checking whether NLS is requested... " >&6; }
13475
 
    # Check whether --enable-nls was given.
13476
 
if test "${enable_nls+set}" = set; then :
13477
 
  enableval=$enable_nls; USE_NLS=$enableval
13478
 
else
13479
 
  USE_NLS=yes
13480
 
fi
13481
 
 
13482
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13483
 
$as_echo "$USE_NLS" >&6; }
13484
 
 
13485
 
 
13486
 
 
13487
 
 
13488
 
case "$am__api_version" in
13489
 
    1.01234)
13490
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13491
 
    ;;
13492
 
    *)
13493
 
    ;;
13494
 
esac
13495
 
 
13496
 
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.50.2 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13497
 
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13498
 
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13499
 
if test -n "0.50.2"; then
13500
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.50.2" >&5
13501
 
$as_echo_n "checking for intltool >= 0.50.2... " >&6; }
13502
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13503
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13504
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13505
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.50.2 or later." "$LINENO" 5
13506
 
fi
13507
 
 
13508
 
# Extract the first word of "intltool-update", so it can be a program name with args.
13509
 
set dummy intltool-update; ac_word=$2
13510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13511
 
$as_echo_n "checking for $ac_word... " >&6; }
13512
 
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13513
 
  $as_echo_n "(cached) " >&6
13514
 
else
13515
 
  case $INTLTOOL_UPDATE in
13516
 
  [\\/]* | ?:[\\/]*)
13517
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13518
 
  ;;
13519
 
  *)
13520
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13521
 
for as_dir in $PATH
13522
 
do
13523
 
  IFS=$as_save_IFS
13524
 
  test -z "$as_dir" && as_dir=.
13525
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13526
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13527
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13528
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13529
 
    break 2
13530
 
  fi
13531
 
done
13532
 
  done
13533
 
IFS=$as_save_IFS
13534
 
 
13535
 
  ;;
13536
 
esac
13537
 
fi
13538
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13539
 
if test -n "$INTLTOOL_UPDATE"; then
13540
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13541
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
13542
 
else
13543
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13544
 
$as_echo "no" >&6; }
13545
 
fi
13546
 
 
13547
 
 
13548
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
13549
 
set dummy intltool-merge; ac_word=$2
13550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13551
 
$as_echo_n "checking for $ac_word... " >&6; }
13552
 
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13553
 
  $as_echo_n "(cached) " >&6
13554
 
else
13555
 
  case $INTLTOOL_MERGE in
13556
 
  [\\/]* | ?:[\\/]*)
13557
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13558
 
  ;;
13559
 
  *)
13560
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13561
 
for as_dir in $PATH
13562
 
do
13563
 
  IFS=$as_save_IFS
13564
 
  test -z "$as_dir" && as_dir=.
13565
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13566
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13567
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13568
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13569
 
    break 2
13570
 
  fi
13571
 
done
13572
 
  done
13573
 
IFS=$as_save_IFS
13574
 
 
13575
 
  ;;
13576
 
esac
13577
 
fi
13578
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13579
 
if test -n "$INTLTOOL_MERGE"; then
13580
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13581
 
$as_echo "$INTLTOOL_MERGE" >&6; }
13582
 
else
13583
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13584
 
$as_echo "no" >&6; }
13585
 
fi
13586
 
 
13587
 
 
13588
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
13589
 
set dummy intltool-extract; ac_word=$2
13590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13591
 
$as_echo_n "checking for $ac_word... " >&6; }
13592
 
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13593
 
  $as_echo_n "(cached) " >&6
13594
 
else
13595
 
  case $INTLTOOL_EXTRACT in
13596
 
  [\\/]* | ?:[\\/]*)
13597
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13598
 
  ;;
13599
 
  *)
13600
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13601
 
for as_dir in $PATH
13602
 
do
13603
 
  IFS=$as_save_IFS
13604
 
  test -z "$as_dir" && as_dir=.
13605
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13606
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13607
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13608
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13609
 
    break 2
13610
 
  fi
13611
 
done
13612
 
  done
13613
 
IFS=$as_save_IFS
13614
 
 
13615
 
  ;;
13616
 
esac
13617
 
fi
13618
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13619
 
if test -n "$INTLTOOL_EXTRACT"; then
13620
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13621
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
13622
 
else
13623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13624
 
$as_echo "no" >&6; }
13625
 
fi
13626
 
 
13627
 
 
13628
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13629
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13630
 
fi
13631
 
 
13632
 
if test -z "$AM_DEFAULT_VERBOSITY"; then
13633
 
  AM_DEFAULT_VERBOSITY=1
13634
 
fi
13635
 
 
13636
 
 
13637
 
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13638
 
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13639
 
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13640
 
 
13641
 
 
13642
 
 
13643
 
 
13644
 
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13645
 
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13646
 
intltool__v_merge_options_0='-q'
13647
 
 
13648
 
 
13649
 
 
13650
 
 
13651
 
  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 $< $@'
13652
 
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 $< $@'
13653
 
     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 $< $@'
13654
 
     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 $< $@'
13655
 
      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 $< $@'
13656
 
     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 $< $@'
13657
 
   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 $< $@'
13658
 
    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 $< $@'
13659
 
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 $< $@'
13660
 
       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 $< $@'
13661
 
      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 $< $@'
13662
 
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13663
 
      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 $< $@'
13664
 
else
13665
 
      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'
13666
 
fi
13667
 
      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 $< $@'
13668
 
      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 $< $@'
13669
 
    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 $< $@'
13670
 
  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 $< $@'
13671
 
    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 $< $@'
13672
 
    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 $< $@'
13673
 
   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 $< $@'
13674
 
 
13675
 
 
13676
 
 
13677
 
 
13678
 
 
13679
 
 
13680
 
 
13681
 
 
13682
 
 
13683
 
 
13684
 
 
13685
 
 
13686
 
 
13687
 
 
13688
 
 
13689
 
 
13690
 
 
13691
 
 
13692
 
 
13693
 
 
13694
 
 
13695
 
 
13696
 
 
13697
 
 
13698
 
 
13699
 
 
13700
 
 
13701
 
 
13702
 
 
13703
 
 
13704
 
 
13705
 
 
13706
 
 
13707
 
 
13708
 
 
13709
 
 
13710
 
 
13711
 
 
13712
 
 
13713
 
 
13714
 
 
13715
 
 
13716
 
 
13717
 
 
13718
 
 
13719
 
 
13720
 
 
13721
 
 
13722
 
 
13723
 
 
13724
 
 
13725
 
 
13726
 
 
13727
 
 
13728
 
 
13729
 
 
13730
 
 
13731
 
 
13732
 
 
13733
 
 
13734
 
 
13735
 
 
13736
 
 
13737
 
 
13738
 
 
13739
 
 
13740
 
 
13741
 
 
13742
 
 
13743
 
 
13744
 
 
13745
 
 
13746
 
 
13747
 
 
13748
 
 
13749
 
 
13750
 
 
13751
 
 
13752
 
 
13753
 
 
13754
 
 
13755
 
 
13756
 
 
13757
 
 
13758
 
 
13759
 
 
13760
 
 
13761
 
 
13762
 
 
13763
 
 
13764
 
 
13765
 
 
13766
 
 
13767
 
 
13768
 
 
13769
 
 
13770
 
 
13771
 
# Check the gettext tools to make sure they are GNU
13772
 
# Extract the first word of "xgettext", so it can be a program name with args.
13773
 
set dummy xgettext; ac_word=$2
13774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13775
 
$as_echo_n "checking for $ac_word... " >&6; }
13776
 
if ${ac_cv_path_XGETTEXT+:} false; then :
13777
 
  $as_echo_n "(cached) " >&6
13778
 
else
13779
 
  case $XGETTEXT in
13780
 
  [\\/]* | ?:[\\/]*)
13781
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13782
 
  ;;
13783
 
  *)
13784
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13785
 
for as_dir in $PATH
13786
 
do
13787
 
  IFS=$as_save_IFS
13788
 
  test -z "$as_dir" && as_dir=.
13789
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13790
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13791
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13792
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13793
 
    break 2
13794
 
  fi
13795
 
done
13796
 
  done
13797
 
IFS=$as_save_IFS
13798
 
 
13799
 
  ;;
13800
 
esac
13801
 
fi
13802
 
XGETTEXT=$ac_cv_path_XGETTEXT
13803
 
if test -n "$XGETTEXT"; then
13804
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13805
 
$as_echo "$XGETTEXT" >&6; }
13806
 
else
13807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13808
 
$as_echo "no" >&6; }
13809
 
fi
13810
 
 
13811
 
 
13812
 
# Extract the first word of "msgmerge", so it can be a program name with args.
13813
 
set dummy msgmerge; ac_word=$2
13814
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13815
 
$as_echo_n "checking for $ac_word... " >&6; }
13816
 
if ${ac_cv_path_MSGMERGE+:} false; then :
13817
 
  $as_echo_n "(cached) " >&6
13818
 
else
13819
 
  case $MSGMERGE in
13820
 
  [\\/]* | ?:[\\/]*)
13821
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13822
 
  ;;
13823
 
  *)
13824
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13825
 
for as_dir in $PATH
13826
 
do
13827
 
  IFS=$as_save_IFS
13828
 
  test -z "$as_dir" && as_dir=.
13829
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13830
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13831
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13832
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13833
 
    break 2
13834
 
  fi
13835
 
done
13836
 
  done
13837
 
IFS=$as_save_IFS
13838
 
 
13839
 
  ;;
13840
 
esac
13841
 
fi
13842
 
MSGMERGE=$ac_cv_path_MSGMERGE
13843
 
if test -n "$MSGMERGE"; then
13844
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13845
 
$as_echo "$MSGMERGE" >&6; }
13846
 
else
13847
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13848
 
$as_echo "no" >&6; }
13849
 
fi
13850
 
 
13851
 
 
13852
 
# Extract the first word of "msgfmt", so it can be a program name with args.
13853
 
set dummy msgfmt; ac_word=$2
13854
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13855
 
$as_echo_n "checking for $ac_word... " >&6; }
13856
 
if ${ac_cv_path_MSGFMT+:} false; then :
13857
 
  $as_echo_n "(cached) " >&6
13858
 
else
13859
 
  case $MSGFMT in
13860
 
  [\\/]* | ?:[\\/]*)
13861
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13862
 
  ;;
13863
 
  *)
13864
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13865
 
for as_dir in $PATH
13866
 
do
13867
 
  IFS=$as_save_IFS
13868
 
  test -z "$as_dir" && as_dir=.
13869
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13870
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13871
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13872
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13873
 
    break 2
13874
 
  fi
13875
 
done
13876
 
  done
13877
 
IFS=$as_save_IFS
13878
 
 
13879
 
  ;;
13880
 
esac
13881
 
fi
13882
 
MSGFMT=$ac_cv_path_MSGFMT
13883
 
if test -n "$MSGFMT"; then
13884
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13885
 
$as_echo "$MSGFMT" >&6; }
13886
 
else
13887
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13888
 
$as_echo "no" >&6; }
13889
 
fi
13890
 
 
13891
 
 
13892
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13893
 
set dummy gmsgfmt; ac_word=$2
13894
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13895
 
$as_echo_n "checking for $ac_word... " >&6; }
13896
 
if ${ac_cv_path_GMSGFMT+:} false; then :
13897
 
  $as_echo_n "(cached) " >&6
13898
 
else
13899
 
  case $GMSGFMT in
13900
 
  [\\/]* | ?:[\\/]*)
13901
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13902
 
  ;;
13903
 
  *)
13904
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13905
 
for as_dir in $PATH
13906
 
do
13907
 
  IFS=$as_save_IFS
13908
 
  test -z "$as_dir" && as_dir=.
13909
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13910
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13911
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13912
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13913
 
    break 2
13914
 
  fi
13915
 
done
13916
 
  done
13917
 
IFS=$as_save_IFS
13918
 
 
13919
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13920
 
  ;;
13921
 
esac
13922
 
fi
13923
 
GMSGFMT=$ac_cv_path_GMSGFMT
13924
 
if test -n "$GMSGFMT"; then
13925
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13926
 
$as_echo "$GMSGFMT" >&6; }
13927
 
else
13928
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13929
 
$as_echo "no" >&6; }
13930
 
fi
13931
 
 
13932
 
 
13933
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13934
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13935
 
fi
13936
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13937
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13938
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13939
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13940
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13941
 
fi
13942
 
 
13943
 
# Extract the first word of "perl", so it can be a program name with args.
13944
 
set dummy perl; ac_word=$2
13945
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13946
 
$as_echo_n "checking for $ac_word... " >&6; }
13947
 
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13948
 
  $as_echo_n "(cached) " >&6
13949
 
else
13950
 
  case $INTLTOOL_PERL in
13951
 
  [\\/]* | ?:[\\/]*)
13952
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13953
 
  ;;
13954
 
  *)
13955
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13956
 
for as_dir in $PATH
13957
 
do
13958
 
  IFS=$as_save_IFS
13959
 
  test -z "$as_dir" && as_dir=.
13960
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13961
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13962
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13963
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13964
 
    break 2
13965
 
  fi
13966
 
done
13967
 
  done
13968
 
IFS=$as_save_IFS
13969
 
 
13970
 
  ;;
13971
 
esac
13972
 
fi
13973
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13974
 
if test -n "$INTLTOOL_PERL"; then
13975
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13976
 
$as_echo "$INTLTOOL_PERL" >&6; }
13977
 
else
13978
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13979
 
$as_echo "no" >&6; }
13980
 
fi
13981
 
 
13982
 
 
13983
 
if test -z "$INTLTOOL_PERL"; then
13984
 
   as_fn_error $? "perl not found" "$LINENO" 5
13985
 
fi
13986
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13987
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13988
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13989
 
if test $? -ne 0; then
13990
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13991
 
else
13992
 
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13993
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13994
 
$as_echo "$IT_PERL_VERSION" >&6; }
13995
 
fi
13996
 
if test "x" != "xno-xml"; then
13997
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13998
 
$as_echo_n "checking for XML::Parser... " >&6; }
13999
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
14000
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14001
 
$as_echo "ok" >&6; }
14002
 
   else
14003
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
14004
 
   fi
14005
 
fi
14006
 
 
14007
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
14008
 
 
14009
 
 
14010
 
# Set DATADIRNAME correctly if it is not set yet
14011
 
# (copied from glib-gettext.m4)
14012
 
if test -z "$DATADIRNAME"; then
14013
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014
 
/* end confdefs.h.  */
14015
 
 
14016
 
int
14017
 
main ()
14018
 
{
14019
 
extern int _nl_msg_cat_cntr;
14020
 
                       return _nl_msg_cat_cntr
14021
 
  ;
14022
 
  return 0;
14023
 
}
14024
 
_ACEOF
14025
 
if ac_fn_c_try_link "$LINENO"; then :
14026
 
  DATADIRNAME=share
14027
 
else
14028
 
  case $host in
14029
 
    *-*-solaris*)
14030
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14031
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14032
 
  DATADIRNAME=share
14033
 
else
14034
 
  DATADIRNAME=lib
14035
 
fi
14036
 
 
14037
 
    ;;
14038
 
    *)
14039
 
    DATADIRNAME=lib
14040
 
    ;;
14041
 
    esac
14042
 
fi
14043
 
rm -f core conftest.err conftest.$ac_objext \
14044
 
    conftest$ac_exeext conftest.$ac_ext
14045
 
fi
14046
 
 
14047
 
 
14048
 
 
14049
 
 
14050
 
 
14051
 
 
14052
 
 
14053
 
 
14054
 
      GETTEXT_MACRO_VERSION=0.17
14055
 
 
14056
 
 
14057
 
 
14058
 
 
14059
 
# Prepare PATH_SEPARATOR.
14060
 
# The user is always right.
14061
 
if test "${PATH_SEPARATOR+set}" != set; then
14062
 
  echo "#! /bin/sh" >conf$$.sh
14063
 
  echo  "exit 0"   >>conf$$.sh
14064
 
  chmod +x conf$$.sh
14065
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14066
 
    PATH_SEPARATOR=';'
14067
 
  else
14068
 
    PATH_SEPARATOR=:
14069
 
  fi
14070
 
  rm -f conf$$.sh
14071
 
fi
14072
 
 
14073
 
# Find out how to test for executable files. Don't use a zero-byte file,
14074
 
# as systems may use methods other than mode bits to determine executability.
14075
 
cat >conf$$.file <<_ASEOF
14076
 
#! /bin/sh
14077
 
exit 0
14078
 
_ASEOF
14079
 
chmod +x conf$$.file
14080
 
if test -x conf$$.file >/dev/null 2>&1; then
14081
 
  ac_executable_p="test -x"
14082
 
else
14083
 
  ac_executable_p="test -f"
14084
 
fi
14085
 
rm -f conf$$.file
14086
 
 
14087
 
# Extract the first word of "msgfmt", so it can be a program name with args.
14088
 
set dummy msgfmt; ac_word=$2
14089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14090
 
$as_echo_n "checking for $ac_word... " >&6; }
14091
 
if ${ac_cv_path_MSGFMT+:} false; then :
14092
 
  $as_echo_n "(cached) " >&6
14093
 
else
14094
 
  case "$MSGFMT" in
14095
 
  [\\/]* | ?:[\\/]*)
14096
 
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14097
 
    ;;
14098
 
  *)
14099
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14100
 
    for ac_dir in $PATH; do
14101
 
      IFS="$ac_save_IFS"
14102
 
      test -z "$ac_dir" && ac_dir=.
14103
 
      for ac_exec_ext in '' $ac_executable_extensions; do
14104
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14105
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14106
 
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14107
 
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14108
 
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14109
 
            break 2
14110
 
          fi
14111
 
        fi
14112
 
      done
14113
 
    done
14114
 
    IFS="$ac_save_IFS"
14115
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14116
 
    ;;
14117
 
esac
14118
 
fi
14119
 
MSGFMT="$ac_cv_path_MSGFMT"
14120
 
if test "$MSGFMT" != ":"; then
14121
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14122
 
$as_echo "$MSGFMT" >&6; }
14123
 
else
14124
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14125
 
$as_echo "no" >&6; }
14126
 
fi
14127
 
 
14128
 
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14129
 
set dummy gmsgfmt; ac_word=$2
14130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14131
 
$as_echo_n "checking for $ac_word... " >&6; }
14132
 
if ${ac_cv_path_GMSGFMT+:} false; then :
14133
 
  $as_echo_n "(cached) " >&6
14134
 
else
14135
 
  case $GMSGFMT in
14136
 
  [\\/]* | ?:[\\/]*)
14137
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14138
 
  ;;
14139
 
  *)
14140
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14141
 
for as_dir in $PATH
14142
 
do
14143
 
  IFS=$as_save_IFS
14144
 
  test -z "$as_dir" && as_dir=.
14145
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14146
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14147
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14148
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14149
 
    break 2
14150
 
  fi
14151
 
done
14152
 
  done
14153
 
IFS=$as_save_IFS
14154
 
 
14155
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14156
 
  ;;
14157
 
esac
14158
 
fi
14159
 
GMSGFMT=$ac_cv_path_GMSGFMT
14160
 
if test -n "$GMSGFMT"; then
14161
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14162
 
$as_echo "$GMSGFMT" >&6; }
14163
 
else
14164
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14165
 
$as_echo "no" >&6; }
14166
 
fi
14167
 
 
14168
 
 
14169
 
 
14170
 
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14171
 
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14172
 
    *) MSGFMT_015=$MSGFMT ;;
14173
 
  esac
14174
 
 
14175
 
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14176
 
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14177
 
    *) GMSGFMT_015=$GMSGFMT ;;
14178
 
  esac
14179
 
 
14180
 
 
14181
 
 
14182
 
# Prepare PATH_SEPARATOR.
14183
 
# The user is always right.
14184
 
if test "${PATH_SEPARATOR+set}" != set; then
14185
 
  echo "#! /bin/sh" >conf$$.sh
14186
 
  echo  "exit 0"   >>conf$$.sh
14187
 
  chmod +x conf$$.sh
14188
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14189
 
    PATH_SEPARATOR=';'
14190
 
  else
14191
 
    PATH_SEPARATOR=:
14192
 
  fi
14193
 
  rm -f conf$$.sh
14194
 
fi
14195
 
 
14196
 
# Find out how to test for executable files. Don't use a zero-byte file,
14197
 
# as systems may use methods other than mode bits to determine executability.
14198
 
cat >conf$$.file <<_ASEOF
14199
 
#! /bin/sh
14200
 
exit 0
14201
 
_ASEOF
14202
 
chmod +x conf$$.file
14203
 
if test -x conf$$.file >/dev/null 2>&1; then
14204
 
  ac_executable_p="test -x"
14205
 
else
14206
 
  ac_executable_p="test -f"
14207
 
fi
14208
 
rm -f conf$$.file
14209
 
 
14210
 
# Extract the first word of "xgettext", so it can be a program name with args.
14211
 
set dummy xgettext; ac_word=$2
14212
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14213
 
$as_echo_n "checking for $ac_word... " >&6; }
14214
 
if ${ac_cv_path_XGETTEXT+:} false; then :
14215
 
  $as_echo_n "(cached) " >&6
14216
 
else
14217
 
  case "$XGETTEXT" in
14218
 
  [\\/]* | ?:[\\/]*)
14219
 
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14220
 
    ;;
14221
 
  *)
14222
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14223
 
    for ac_dir in $PATH; do
14224
 
      IFS="$ac_save_IFS"
14225
 
      test -z "$ac_dir" && ac_dir=.
14226
 
      for ac_exec_ext in '' $ac_executable_extensions; do
14227
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14228
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14229
 
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14230
 
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14231
 
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14232
 
            break 2
14233
 
          fi
14234
 
        fi
14235
 
      done
14236
 
    done
14237
 
    IFS="$ac_save_IFS"
14238
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14239
 
    ;;
14240
 
esac
14241
 
fi
14242
 
XGETTEXT="$ac_cv_path_XGETTEXT"
14243
 
if test "$XGETTEXT" != ":"; then
14244
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14245
 
$as_echo "$XGETTEXT" >&6; }
14246
 
else
14247
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248
 
$as_echo "no" >&6; }
14249
 
fi
14250
 
 
14251
 
    rm -f messages.po
14252
 
 
14253
 
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14254
 
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14255
 
    *) XGETTEXT_015=$XGETTEXT ;;
14256
 
  esac
14257
 
 
14258
 
 
14259
 
 
14260
 
# Prepare PATH_SEPARATOR.
14261
 
# The user is always right.
14262
 
if test "${PATH_SEPARATOR+set}" != set; then
14263
 
  echo "#! /bin/sh" >conf$$.sh
14264
 
  echo  "exit 0"   >>conf$$.sh
14265
 
  chmod +x conf$$.sh
14266
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14267
 
    PATH_SEPARATOR=';'
14268
 
  else
14269
 
    PATH_SEPARATOR=:
14270
 
  fi
14271
 
  rm -f conf$$.sh
14272
 
fi
14273
 
 
14274
 
# Find out how to test for executable files. Don't use a zero-byte file,
14275
 
# as systems may use methods other than mode bits to determine executability.
14276
 
cat >conf$$.file <<_ASEOF
14277
 
#! /bin/sh
14278
 
exit 0
14279
 
_ASEOF
14280
 
chmod +x conf$$.file
14281
 
if test -x conf$$.file >/dev/null 2>&1; then
14282
 
  ac_executable_p="test -x"
14283
 
else
14284
 
  ac_executable_p="test -f"
14285
 
fi
14286
 
rm -f conf$$.file
14287
 
 
14288
 
# Extract the first word of "msgmerge", so it can be a program name with args.
14289
 
set dummy msgmerge; ac_word=$2
14290
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14291
 
$as_echo_n "checking for $ac_word... " >&6; }
14292
 
if ${ac_cv_path_MSGMERGE+:} false; then :
14293
 
  $as_echo_n "(cached) " >&6
14294
 
else
14295
 
  case "$MSGMERGE" in
14296
 
  [\\/]* | ?:[\\/]*)
14297
 
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14298
 
    ;;
14299
 
  *)
14300
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14301
 
    for ac_dir in $PATH; do
14302
 
      IFS="$ac_save_IFS"
14303
 
      test -z "$ac_dir" && ac_dir=.
14304
 
      for ac_exec_ext in '' $ac_executable_extensions; do
14305
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14306
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
14307
 
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14308
 
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14309
 
            break 2
14310
 
          fi
14311
 
        fi
14312
 
      done
14313
 
    done
14314
 
    IFS="$ac_save_IFS"
14315
 
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14316
 
    ;;
14317
 
esac
14318
 
fi
14319
 
MSGMERGE="$ac_cv_path_MSGMERGE"
14320
 
if test "$MSGMERGE" != ":"; then
14321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14322
 
$as_echo "$MSGMERGE" >&6; }
14323
 
else
14324
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325
 
$as_echo "no" >&6; }
14326
 
fi
14327
 
 
14328
 
 
14329
 
        test -n "$localedir" || localedir='${datadir}/locale'
14330
 
 
14331
 
 
14332
 
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14333
 
 
14334
 
 
14335
 
  ac_config_commands="$ac_config_commands po-directories"
14336
 
 
14337
 
 
14338
 
 
14339
 
      if test "X$prefix" = "XNONE"; then
14340
 
    acl_final_prefix="$ac_default_prefix"
14341
 
  else
14342
 
    acl_final_prefix="$prefix"
14343
 
  fi
14344
 
  if test "X$exec_prefix" = "XNONE"; then
14345
 
    acl_final_exec_prefix='${prefix}'
14346
 
  else
14347
 
    acl_final_exec_prefix="$exec_prefix"
14348
 
  fi
14349
 
  acl_save_prefix="$prefix"
14350
 
  prefix="$acl_final_prefix"
14351
 
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14352
 
  prefix="$acl_save_prefix"
14353
 
 
14354
 
 
14355
 
# Check whether --with-gnu-ld was given.
14356
 
if test "${with_gnu_ld+set}" = set; then :
14357
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14358
 
else
14359
 
  with_gnu_ld=no
14360
 
fi
14361
 
 
14362
 
# Prepare PATH_SEPARATOR.
14363
 
# The user is always right.
14364
 
if test "${PATH_SEPARATOR+set}" != set; then
14365
 
  echo "#! /bin/sh" >conf$$.sh
14366
 
  echo  "exit 0"   >>conf$$.sh
14367
 
  chmod +x conf$$.sh
14368
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14369
 
    PATH_SEPARATOR=';'
14370
 
  else
14371
 
    PATH_SEPARATOR=:
14372
 
  fi
14373
 
  rm -f conf$$.sh
14374
 
fi
14375
 
ac_prog=ld
14376
 
if test "$GCC" = yes; then
14377
 
  # Check if gcc -print-prog-name=ld gives a path.
14378
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14379
 
$as_echo_n "checking for ld used by GCC... " >&6; }
14380
 
  case $host in
14381
 
  *-*-mingw*)
14382
 
    # gcc leaves a trailing carriage return which upsets mingw
14383
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14384
 
  *)
14385
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14386
 
  esac
14387
 
  case $ac_prog in
14388
 
    # Accept absolute paths.
14389
 
    [\\/]* | [A-Za-z]:[\\/]*)
14390
 
      re_direlt='/[^/][^/]*/\.\./'
14391
 
      # Canonicalize the path of ld
14392
 
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14393
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14394
 
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14395
 
      done
14396
 
      test -z "$LD" && LD="$ac_prog"
14397
 
      ;;
14398
 
  "")
14399
 
    # If it fails, then pretend we aren't using GCC.
14400
 
    ac_prog=ld
14401
 
    ;;
14402
 
  *)
14403
 
    # If it is relative, then search for the first ld in PATH.
14404
 
    with_gnu_ld=unknown
14405
 
    ;;
14406
 
  esac
14407
 
elif test "$with_gnu_ld" = yes; then
14408
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14409
 
$as_echo_n "checking for GNU ld... " >&6; }
14410
 
else
14411
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14412
 
$as_echo_n "checking for non-GNU ld... " >&6; }
14413
 
fi
14414
 
if ${acl_cv_path_LD+:} false; then :
14415
 
  $as_echo_n "(cached) " >&6
14416
 
else
14417
 
  if test -z "$LD"; then
14418
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14419
 
  for ac_dir in $PATH; do
14420
 
    test -z "$ac_dir" && ac_dir=.
14421
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14422
 
      acl_cv_path_LD="$ac_dir/$ac_prog"
14423
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
14424
 
      # but apparently some GNU ld's only accept -v.
14425
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
14426
 
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14427
 
      *GNU* | *'with BFD'*)
14428
 
        test "$with_gnu_ld" != no && break ;;
14429
 
      *)
14430
 
        test "$with_gnu_ld" != yes && break ;;
14431
 
      esac
14432
 
    fi
14433
 
  done
14434
 
  IFS="$ac_save_ifs"
14435
 
else
14436
 
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
14437
 
fi
14438
 
fi
14439
 
 
14440
 
LD="$acl_cv_path_LD"
14441
 
if test -n "$LD"; then
14442
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14443
 
$as_echo "$LD" >&6; }
14444
 
else
14445
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14446
 
$as_echo "no" >&6; }
14447
 
fi
14448
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14450
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14451
 
if ${acl_cv_prog_gnu_ld+:} false; then :
14452
 
  $as_echo_n "(cached) " >&6
14453
 
else
14454
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14455
 
case `$LD -v 2>&1 </dev/null` in
14456
 
*GNU* | *'with BFD'*)
14457
 
  acl_cv_prog_gnu_ld=yes ;;
14458
 
*)
14459
 
  acl_cv_prog_gnu_ld=no ;;
14460
 
esac
14461
 
fi
14462
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14463
 
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
14464
 
with_gnu_ld=$acl_cv_prog_gnu_ld
14465
 
 
14466
 
 
14467
 
 
14468
 
 
14469
 
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14470
 
$as_echo_n "checking for shared library run path origin... " >&6; }
14471
 
if ${acl_cv_rpath+:} false; then :
14472
 
  $as_echo_n "(cached) " >&6
14473
 
else
14474
 
 
14475
 
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14476
 
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14477
 
    . ./conftest.sh
14478
 
    rm -f ./conftest.sh
14479
 
    acl_cv_rpath=done
14480
 
 
14481
 
fi
14482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14483
 
$as_echo "$acl_cv_rpath" >&6; }
14484
 
  wl="$acl_cv_wl"
14485
 
  acl_libext="$acl_cv_libext"
14486
 
  acl_shlibext="$acl_cv_shlibext"
14487
 
  acl_libname_spec="$acl_cv_libname_spec"
14488
 
  acl_library_names_spec="$acl_cv_library_names_spec"
14489
 
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14490
 
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14491
 
  acl_hardcode_direct="$acl_cv_hardcode_direct"
14492
 
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14493
 
    # Check whether --enable-rpath was given.
14494
 
if test "${enable_rpath+set}" = set; then :
14495
 
  enableval=$enable_rpath; :
14496
 
else
14497
 
  enable_rpath=yes
14498
 
fi
14499
 
 
14500
 
 
14501
 
 
14502
 
                  acl_libdirstem=lib
14503
 
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14504
 
  if test -n "$searchpath"; then
14505
 
    acl_save_IFS="${IFS=        }"; IFS=":"
14506
 
    for searchdir in $searchpath; do
14507
 
      if test -d "$searchdir"; then
14508
 
        case "$searchdir" in
14509
 
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14510
 
          *) searchdir=`cd "$searchdir" && pwd`
14511
 
             case "$searchdir" in
14512
 
               */lib64 ) acl_libdirstem=lib64 ;;
14513
 
             esac ;;
14514
 
        esac
14515
 
      fi
14516
 
    done
14517
 
    IFS="$acl_save_IFS"
14518
 
  fi
14519
 
 
14520
 
 
14521
 
 
14522
 
 
14523
 
 
14524
 
 
14525
 
 
14526
 
 
14527
 
 
14528
 
    use_additional=yes
14529
 
 
14530
 
  acl_save_prefix="$prefix"
14531
 
  prefix="$acl_final_prefix"
14532
 
  acl_save_exec_prefix="$exec_prefix"
14533
 
  exec_prefix="$acl_final_exec_prefix"
14534
 
 
14535
 
    eval additional_includedir=\"$includedir\"
14536
 
    eval additional_libdir=\"$libdir\"
14537
 
 
14538
 
  exec_prefix="$acl_save_exec_prefix"
14539
 
  prefix="$acl_save_prefix"
14540
 
 
14541
 
 
14542
 
# Check whether --with-libiconv-prefix was given.
14543
 
if test "${with_libiconv_prefix+set}" = set; then :
14544
 
  withval=$with_libiconv_prefix;
14545
 
    if test "X$withval" = "Xno"; then
14546
 
      use_additional=no
14547
 
    else
14548
 
      if test "X$withval" = "X"; then
14549
 
 
14550
 
  acl_save_prefix="$prefix"
14551
 
  prefix="$acl_final_prefix"
14552
 
  acl_save_exec_prefix="$exec_prefix"
14553
 
  exec_prefix="$acl_final_exec_prefix"
14554
 
 
14555
 
          eval additional_includedir=\"$includedir\"
14556
 
          eval additional_libdir=\"$libdir\"
14557
 
 
14558
 
  exec_prefix="$acl_save_exec_prefix"
14559
 
  prefix="$acl_save_prefix"
14560
 
 
14561
 
      else
14562
 
        additional_includedir="$withval/include"
14563
 
        additional_libdir="$withval/$acl_libdirstem"
14564
 
      fi
14565
 
    fi
14566
 
 
14567
 
fi
14568
 
 
14569
 
      LIBICONV=
14570
 
  LTLIBICONV=
14571
 
  INCICONV=
14572
 
  LIBICONV_PREFIX=
14573
 
  rpathdirs=
14574
 
  ltrpathdirs=
14575
 
  names_already_handled=
14576
 
  names_next_round='iconv '
14577
 
  while test -n "$names_next_round"; do
14578
 
    names_this_round="$names_next_round"
14579
 
    names_next_round=
14580
 
    for name in $names_this_round; do
14581
 
      already_handled=
14582
 
      for n in $names_already_handled; do
14583
 
        if test "$n" = "$name"; then
14584
 
          already_handled=yes
14585
 
          break
14586
 
        fi
14587
 
      done
14588
 
      if test -z "$already_handled"; then
14589
 
        names_already_handled="$names_already_handled $name"
14590
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14591
 
        eval value=\"\$HAVE_LIB$uppername\"
14592
 
        if test -n "$value"; then
14593
 
          if test "$value" = yes; then
14594
 
            eval value=\"\$LIB$uppername\"
14595
 
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14596
 
            eval value=\"\$LTLIB$uppername\"
14597
 
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14598
 
          else
14599
 
                                    :
14600
 
          fi
14601
 
        else
14602
 
                              found_dir=
14603
 
          found_la=
14604
 
          found_so=
14605
 
          found_a=
14606
 
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14607
 
          if test -n "$acl_shlibext"; then
14608
 
            shrext=".$acl_shlibext"             # typically: shrext=.so
14609
 
          else
14610
 
            shrext=
14611
 
          fi
14612
 
          if test $use_additional = yes; then
14613
 
            dir="$additional_libdir"
14614
 
                                    if test -n "$acl_shlibext"; then
14615
 
              if test -f "$dir/$libname$shrext"; then
14616
 
                found_dir="$dir"
14617
 
                found_so="$dir/$libname$shrext"
14618
 
              else
14619
 
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14620
 
                  ver=`(cd "$dir" && \
14621
 
                        for f in "$libname$shrext".*; do echo "$f"; done \
14622
 
                        | sed -e "s,^$libname$shrext\\\\.,," \
14623
 
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14624
 
                        | sed 1q ) 2>/dev/null`
14625
 
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14626
 
                    found_dir="$dir"
14627
 
                    found_so="$dir/$libname$shrext.$ver"
14628
 
                  fi
14629
 
                else
14630
 
                  eval library_names=\"$acl_library_names_spec\"
14631
 
                  for f in $library_names; do
14632
 
                    if test -f "$dir/$f"; then
14633
 
                      found_dir="$dir"
14634
 
                      found_so="$dir/$f"
14635
 
                      break
14636
 
                    fi
14637
 
                  done
14638
 
                fi
14639
 
              fi
14640
 
            fi
14641
 
                        if test "X$found_dir" = "X"; then
14642
 
              if test -f "$dir/$libname.$acl_libext"; then
14643
 
                found_dir="$dir"
14644
 
                found_a="$dir/$libname.$acl_libext"
14645
 
              fi
14646
 
            fi
14647
 
            if test "X$found_dir" != "X"; then
14648
 
              if test -f "$dir/$libname.la"; then
14649
 
                found_la="$dir/$libname.la"
14650
 
              fi
14651
 
            fi
14652
 
          fi
14653
 
          if test "X$found_dir" = "X"; then
14654
 
            for x in $LDFLAGS $LTLIBICONV; do
14655
 
 
14656
 
  acl_save_prefix="$prefix"
14657
 
  prefix="$acl_final_prefix"
14658
 
  acl_save_exec_prefix="$exec_prefix"
14659
 
  exec_prefix="$acl_final_exec_prefix"
14660
 
  eval x=\"$x\"
14661
 
  exec_prefix="$acl_save_exec_prefix"
14662
 
  prefix="$acl_save_prefix"
14663
 
 
14664
 
              case "$x" in
14665
 
                -L*)
14666
 
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
14667
 
                                    if test -n "$acl_shlibext"; then
14668
 
                    if test -f "$dir/$libname$shrext"; then
14669
 
                      found_dir="$dir"
14670
 
                      found_so="$dir/$libname$shrext"
14671
 
                    else
14672
 
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14673
 
                        ver=`(cd "$dir" && \
14674
 
                              for f in "$libname$shrext".*; do echo "$f"; done \
14675
 
                              | sed -e "s,^$libname$shrext\\\\.,," \
14676
 
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14677
 
                              | sed 1q ) 2>/dev/null`
14678
 
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14679
 
                          found_dir="$dir"
14680
 
                          found_so="$dir/$libname$shrext.$ver"
14681
 
                        fi
14682
 
                      else
14683
 
                        eval library_names=\"$acl_library_names_spec\"
14684
 
                        for f in $library_names; do
14685
 
                          if test -f "$dir/$f"; then
14686
 
                            found_dir="$dir"
14687
 
                            found_so="$dir/$f"
14688
 
                            break
14689
 
                          fi
14690
 
                        done
14691
 
                      fi
14692
 
                    fi
14693
 
                  fi
14694
 
                                    if test "X$found_dir" = "X"; then
14695
 
                    if test -f "$dir/$libname.$acl_libext"; then
14696
 
                      found_dir="$dir"
14697
 
                      found_a="$dir/$libname.$acl_libext"
14698
 
                    fi
14699
 
                  fi
14700
 
                  if test "X$found_dir" != "X"; then
14701
 
                    if test -f "$dir/$libname.la"; then
14702
 
                      found_la="$dir/$libname.la"
14703
 
                    fi
14704
 
                  fi
14705
 
                  ;;
14706
 
              esac
14707
 
              if test "X$found_dir" != "X"; then
14708
 
                break
14709
 
              fi
14710
 
            done
14711
 
          fi
14712
 
          if test "X$found_dir" != "X"; then
14713
 
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14714
 
            if test "X$found_so" != "X"; then
14715
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14716
 
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14717
 
              else
14718
 
                                                                                haveit=
14719
 
                for x in $ltrpathdirs; do
14720
 
                  if test "X$x" = "X$found_dir"; then
14721
 
                    haveit=yes
14722
 
                    break
14723
 
                  fi
14724
 
                done
14725
 
                if test -z "$haveit"; then
14726
 
                  ltrpathdirs="$ltrpathdirs $found_dir"
14727
 
                fi
14728
 
                                if test "$acl_hardcode_direct" = yes; then
14729
 
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14730
 
                else
14731
 
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14732
 
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14733
 
                                                            haveit=
14734
 
                    for x in $rpathdirs; do
14735
 
                      if test "X$x" = "X$found_dir"; then
14736
 
                        haveit=yes
14737
 
                        break
14738
 
                      fi
14739
 
                    done
14740
 
                    if test -z "$haveit"; then
14741
 
                      rpathdirs="$rpathdirs $found_dir"
14742
 
                    fi
14743
 
                  else
14744
 
                                                                                haveit=
14745
 
                    for x in $LDFLAGS $LIBICONV; do
14746
 
 
14747
 
  acl_save_prefix="$prefix"
14748
 
  prefix="$acl_final_prefix"
14749
 
  acl_save_exec_prefix="$exec_prefix"
14750
 
  exec_prefix="$acl_final_exec_prefix"
14751
 
  eval x=\"$x\"
14752
 
  exec_prefix="$acl_save_exec_prefix"
14753
 
  prefix="$acl_save_prefix"
14754
 
 
14755
 
                      if test "X$x" = "X-L$found_dir"; then
14756
 
                        haveit=yes
14757
 
                        break
14758
 
                      fi
14759
 
                    done
14760
 
                    if test -z "$haveit"; then
14761
 
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14762
 
                    fi
14763
 
                    if test "$acl_hardcode_minus_L" != no; then
14764
 
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14765
 
                    else
14766
 
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14767
 
                    fi
14768
 
                  fi
14769
 
                fi
14770
 
              fi
14771
 
            else
14772
 
              if test "X$found_a" != "X"; then
14773
 
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14774
 
              else
14775
 
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14776
 
              fi
14777
 
            fi
14778
 
                        additional_includedir=
14779
 
            case "$found_dir" in
14780
 
              */$acl_libdirstem | */$acl_libdirstem/)
14781
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14782
 
                LIBICONV_PREFIX="$basedir"
14783
 
                additional_includedir="$basedir/include"
14784
 
                ;;
14785
 
            esac
14786
 
            if test "X$additional_includedir" != "X"; then
14787
 
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14788
 
                haveit=
14789
 
                if test "X$additional_includedir" = "X/usr/local/include"; then
14790
 
                  if test -n "$GCC"; then
14791
 
                    case $host_os in
14792
 
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14793
 
                    esac
14794
 
                  fi
14795
 
                fi
14796
 
                if test -z "$haveit"; then
14797
 
                  for x in $CPPFLAGS $INCICONV; do
14798
 
 
14799
 
  acl_save_prefix="$prefix"
14800
 
  prefix="$acl_final_prefix"
14801
 
  acl_save_exec_prefix="$exec_prefix"
14802
 
  exec_prefix="$acl_final_exec_prefix"
14803
 
  eval x=\"$x\"
14804
 
  exec_prefix="$acl_save_exec_prefix"
14805
 
  prefix="$acl_save_prefix"
14806
 
 
14807
 
                    if test "X$x" = "X-I$additional_includedir"; then
14808
 
                      haveit=yes
14809
 
                      break
14810
 
                    fi
14811
 
                  done
14812
 
                  if test -z "$haveit"; then
14813
 
                    if test -d "$additional_includedir"; then
14814
 
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14815
 
                    fi
14816
 
                  fi
14817
 
                fi
14818
 
              fi
14819
 
            fi
14820
 
                        if test -n "$found_la"; then
14821
 
                                                        save_libdir="$libdir"
14822
 
              case "$found_la" in
14823
 
                */* | *\\*) . "$found_la" ;;
14824
 
                *) . "./$found_la" ;;
14825
 
              esac
14826
 
              libdir="$save_libdir"
14827
 
                            for dep in $dependency_libs; do
14828
 
                case "$dep" in
14829
 
                  -L*)
14830
 
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14831
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14832
 
                      haveit=
14833
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14834
 
                        if test -n "$GCC"; then
14835
 
                          case $host_os in
14836
 
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14837
 
                          esac
14838
 
                        fi
14839
 
                      fi
14840
 
                      if test -z "$haveit"; then
14841
 
                        haveit=
14842
 
                        for x in $LDFLAGS $LIBICONV; do
14843
 
 
14844
 
  acl_save_prefix="$prefix"
14845
 
  prefix="$acl_final_prefix"
14846
 
  acl_save_exec_prefix="$exec_prefix"
14847
 
  exec_prefix="$acl_final_exec_prefix"
14848
 
  eval x=\"$x\"
14849
 
  exec_prefix="$acl_save_exec_prefix"
14850
 
  prefix="$acl_save_prefix"
14851
 
 
14852
 
                          if test "X$x" = "X-L$additional_libdir"; then
14853
 
                            haveit=yes
14854
 
                            break
14855
 
                          fi
14856
 
                        done
14857
 
                        if test -z "$haveit"; then
14858
 
                          if test -d "$additional_libdir"; then
14859
 
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14860
 
                          fi
14861
 
                        fi
14862
 
                        haveit=
14863
 
                        for x in $LDFLAGS $LTLIBICONV; do
14864
 
 
14865
 
  acl_save_prefix="$prefix"
14866
 
  prefix="$acl_final_prefix"
14867
 
  acl_save_exec_prefix="$exec_prefix"
14868
 
  exec_prefix="$acl_final_exec_prefix"
14869
 
  eval x=\"$x\"
14870
 
  exec_prefix="$acl_save_exec_prefix"
14871
 
  prefix="$acl_save_prefix"
14872
 
 
14873
 
                          if test "X$x" = "X-L$additional_libdir"; then
14874
 
                            haveit=yes
14875
 
                            break
14876
 
                          fi
14877
 
                        done
14878
 
                        if test -z "$haveit"; then
14879
 
                          if test -d "$additional_libdir"; then
14880
 
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14881
 
                          fi
14882
 
                        fi
14883
 
                      fi
14884
 
                    fi
14885
 
                    ;;
14886
 
                  -R*)
14887
 
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
14888
 
                    if test "$enable_rpath" != no; then
14889
 
                                                                  haveit=
14890
 
                      for x in $rpathdirs; do
14891
 
                        if test "X$x" = "X$dir"; then
14892
 
                          haveit=yes
14893
 
                          break
14894
 
                        fi
14895
 
                      done
14896
 
                      if test -z "$haveit"; then
14897
 
                        rpathdirs="$rpathdirs $dir"
14898
 
                      fi
14899
 
                                                                  haveit=
14900
 
                      for x in $ltrpathdirs; do
14901
 
                        if test "X$x" = "X$dir"; then
14902
 
                          haveit=yes
14903
 
                          break
14904
 
                        fi
14905
 
                      done
14906
 
                      if test -z "$haveit"; then
14907
 
                        ltrpathdirs="$ltrpathdirs $dir"
14908
 
                      fi
14909
 
                    fi
14910
 
                    ;;
14911
 
                  -l*)
14912
 
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14913
 
                    ;;
14914
 
                  *.la)
14915
 
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14916
 
                    ;;
14917
 
                  *)
14918
 
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14919
 
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14920
 
                    ;;
14921
 
                esac
14922
 
              done
14923
 
            fi
14924
 
          else
14925
 
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14926
 
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14927
 
          fi
14928
 
        fi
14929
 
      fi
14930
 
    done
14931
 
  done
14932
 
  if test "X$rpathdirs" != "X"; then
14933
 
    if test -n "$acl_hardcode_libdir_separator"; then
14934
 
                        alldirs=
14935
 
      for found_dir in $rpathdirs; do
14936
 
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14937
 
      done
14938
 
            acl_save_libdir="$libdir"
14939
 
      libdir="$alldirs"
14940
 
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
14941
 
      libdir="$acl_save_libdir"
14942
 
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14943
 
    else
14944
 
            for found_dir in $rpathdirs; do
14945
 
        acl_save_libdir="$libdir"
14946
 
        libdir="$found_dir"
14947
 
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
14948
 
        libdir="$acl_save_libdir"
14949
 
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14950
 
      done
14951
 
    fi
14952
 
  fi
14953
 
  if test "X$ltrpathdirs" != "X"; then
14954
 
            for found_dir in $ltrpathdirs; do
14955
 
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14956
 
    done
14957
 
  fi
14958
 
 
14959
 
 
14960
 
 
14961
 
 
14962
 
 
14963
 
 
14964
 
 
14965
 
 
14966
 
 
14967
 
 
14968
 
 
14969
 
 
14970
 
 
14971
 
 
14972
 
 
14973
 
 
14974
 
 
14975
 
 
14976
 
 
14977
 
 
14978
 
 
14979
 
 
14980
 
 
14981
 
 
14982
 
 
14983
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14984
 
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14985
 
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14986
 
  $as_echo_n "(cached) " >&6
14987
 
else
14988
 
  gt_save_LIBS="$LIBS"
14989
 
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14990
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991
 
/* end confdefs.h.  */
14992
 
#include <CoreFoundation/CFPreferences.h>
14993
 
int
14994
 
main ()
14995
 
{
14996
 
CFPreferencesCopyAppValue(NULL, NULL)
14997
 
  ;
14998
 
  return 0;
14999
 
}
15000
 
_ACEOF
15001
 
if ac_fn_c_try_link "$LINENO"; then :
15002
 
  gt_cv_func_CFPreferencesCopyAppValue=yes
15003
 
else
15004
 
  gt_cv_func_CFPreferencesCopyAppValue=no
15005
 
fi
15006
 
rm -f core conftest.err conftest.$ac_objext \
15007
 
    conftest$ac_exeext conftest.$ac_ext
15008
 
     LIBS="$gt_save_LIBS"
15009
 
fi
15010
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15011
 
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15012
 
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15013
 
 
15014
 
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15015
 
 
15016
 
  fi
15017
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15018
 
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15019
 
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15020
 
  $as_echo_n "(cached) " >&6
15021
 
else
15022
 
  gt_save_LIBS="$LIBS"
15023
 
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15024
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025
 
/* end confdefs.h.  */
15026
 
#include <CoreFoundation/CFLocale.h>
15027
 
int
15028
 
main ()
15029
 
{
15030
 
CFLocaleCopyCurrent();
15031
 
  ;
15032
 
  return 0;
15033
 
}
15034
 
_ACEOF
15035
 
if ac_fn_c_try_link "$LINENO"; then :
15036
 
  gt_cv_func_CFLocaleCopyCurrent=yes
15037
 
else
15038
 
  gt_cv_func_CFLocaleCopyCurrent=no
15039
 
fi
15040
 
rm -f core conftest.err conftest.$ac_objext \
15041
 
    conftest$ac_exeext conftest.$ac_ext
15042
 
     LIBS="$gt_save_LIBS"
15043
 
fi
15044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15045
 
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15046
 
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15047
 
 
15048
 
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15049
 
 
15050
 
  fi
15051
 
  INTL_MACOSX_LIBS=
15052
 
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15053
 
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15054
 
  fi
15055
 
 
15056
 
 
15057
 
 
15058
 
 
15059
 
 
15060
 
 
15061
 
  LIBINTL=
15062
 
  LTLIBINTL=
15063
 
  POSUB=
15064
 
 
15065
 
    case " $gt_needs " in
15066
 
    *" need-formatstring-macros "*) gt_api_version=3 ;;
15067
 
    *" need-ngettext "*) gt_api_version=2 ;;
15068
 
    *) gt_api_version=1 ;;
15069
 
  esac
15070
 
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15071
 
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15072
 
 
15073
 
    if test "$USE_NLS" = "yes"; then
15074
 
    gt_use_preinstalled_gnugettext=no
15075
 
 
15076
 
 
15077
 
        if test $gt_api_version -ge 3; then
15078
 
          gt_revision_test_code='
15079
 
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15080
 
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15081
 
#endif
15082
 
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15083
 
'
15084
 
        else
15085
 
          gt_revision_test_code=
15086
 
        fi
15087
 
        if test $gt_api_version -ge 2; then
15088
 
          gt_expression_test_code=' + * ngettext ("", "", 0)'
15089
 
        else
15090
 
          gt_expression_test_code=
15091
 
        fi
15092
 
 
15093
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15094
 
$as_echo_n "checking for GNU gettext in libc... " >&6; }
15095
 
if eval \${$gt_func_gnugettext_libc+:} false; then :
15096
 
  $as_echo_n "(cached) " >&6
15097
 
else
15098
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099
 
/* end confdefs.h.  */
15100
 
#include <libintl.h>
15101
 
$gt_revision_test_code
15102
 
extern int _nl_msg_cat_cntr;
15103
 
extern int *_nl_domain_bindings;
15104
 
int
15105
 
main ()
15106
 
{
15107
 
bindtextdomain ("", "");
15108
 
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15109
 
  ;
15110
 
  return 0;
15111
 
}
15112
 
_ACEOF
15113
 
if ac_fn_c_try_link "$LINENO"; then :
15114
 
  eval "$gt_func_gnugettext_libc=yes"
15115
 
else
15116
 
  eval "$gt_func_gnugettext_libc=no"
15117
 
fi
15118
 
rm -f core conftest.err conftest.$ac_objext \
15119
 
    conftest$ac_exeext conftest.$ac_ext
15120
 
fi
15121
 
eval ac_res=\$$gt_func_gnugettext_libc
15122
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15123
 
$as_echo "$ac_res" >&6; }
15124
 
 
15125
 
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15126
 
 
15127
 
 
15128
 
 
15129
 
 
15130
 
 
15131
 
          am_save_CPPFLAGS="$CPPFLAGS"
15132
 
 
15133
 
  for element in $INCICONV; do
15134
 
    haveit=
15135
 
    for x in $CPPFLAGS; do
15136
 
 
15137
 
  acl_save_prefix="$prefix"
15138
 
  prefix="$acl_final_prefix"
15139
 
  acl_save_exec_prefix="$exec_prefix"
15140
 
  exec_prefix="$acl_final_exec_prefix"
15141
 
  eval x=\"$x\"
15142
 
  exec_prefix="$acl_save_exec_prefix"
15143
 
  prefix="$acl_save_prefix"
15144
 
 
15145
 
      if test "X$x" = "X$element"; then
15146
 
        haveit=yes
15147
 
        break
15148
 
      fi
15149
 
    done
15150
 
    if test -z "$haveit"; then
15151
 
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15152
 
    fi
15153
 
  done
15154
 
 
15155
 
 
15156
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15157
 
$as_echo_n "checking for iconv... " >&6; }
15158
 
if ${am_cv_func_iconv+:} false; then :
15159
 
  $as_echo_n "(cached) " >&6
15160
 
else
15161
 
 
15162
 
    am_cv_func_iconv="no, consider installing GNU libiconv"
15163
 
    am_cv_lib_iconv=no
15164
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165
 
/* end confdefs.h.  */
15166
 
#include <stdlib.h>
15167
 
#include <iconv.h>
15168
 
int
15169
 
main ()
15170
 
{
15171
 
iconv_t cd = iconv_open("","");
15172
 
       iconv(cd,NULL,NULL,NULL,NULL);
15173
 
       iconv_close(cd);
15174
 
  ;
15175
 
  return 0;
15176
 
}
15177
 
_ACEOF
15178
 
if ac_fn_c_try_link "$LINENO"; then :
15179
 
  am_cv_func_iconv=yes
15180
 
fi
15181
 
rm -f core conftest.err conftest.$ac_objext \
15182
 
    conftest$ac_exeext conftest.$ac_ext
15183
 
    if test "$am_cv_func_iconv" != yes; then
15184
 
      am_save_LIBS="$LIBS"
15185
 
      LIBS="$LIBS $LIBICONV"
15186
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187
 
/* end confdefs.h.  */
15188
 
#include <stdlib.h>
15189
 
#include <iconv.h>
15190
 
int
15191
 
main ()
15192
 
{
15193
 
iconv_t cd = iconv_open("","");
15194
 
         iconv(cd,NULL,NULL,NULL,NULL);
15195
 
         iconv_close(cd);
15196
 
  ;
15197
 
  return 0;
15198
 
}
15199
 
_ACEOF
15200
 
if ac_fn_c_try_link "$LINENO"; then :
15201
 
  am_cv_lib_iconv=yes
15202
 
        am_cv_func_iconv=yes
15203
 
fi
15204
 
rm -f core conftest.err conftest.$ac_objext \
15205
 
    conftest$ac_exeext conftest.$ac_ext
15206
 
      LIBS="$am_save_LIBS"
15207
 
    fi
15208
 
 
15209
 
fi
15210
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15211
 
$as_echo "$am_cv_func_iconv" >&6; }
15212
 
  if test "$am_cv_func_iconv" = yes; then
15213
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15214
 
$as_echo_n "checking for working iconv... " >&6; }
15215
 
if ${am_cv_func_iconv_works+:} false; then :
15216
 
  $as_echo_n "(cached) " >&6
15217
 
else
15218
 
 
15219
 
            am_save_LIBS="$LIBS"
15220
 
      if test $am_cv_lib_iconv = yes; then
15221
 
        LIBS="$LIBS $LIBICONV"
15222
 
      fi
15223
 
      if test "$cross_compiling" = yes; then :
15224
 
  case "$host_os" in
15225
 
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15226
 
           *)            am_cv_func_iconv_works="guessing yes" ;;
15227
 
         esac
15228
 
else
15229
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230
 
/* end confdefs.h.  */
15231
 
 
15232
 
#include <iconv.h>
15233
 
#include <string.h>
15234
 
int main ()
15235
 
{
15236
 
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15237
 
     returns.  */
15238
 
  {
15239
 
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15240
 
    if (cd_utf8_to_88591 != (iconv_t)(-1))
15241
 
      {
15242
 
        static const char input[] = "\342\202\254"; /* EURO SIGN */
15243
 
        char buf[10];
15244
 
        const char *inptr = input;
15245
 
        size_t inbytesleft = strlen (input);
15246
 
        char *outptr = buf;
15247
 
        size_t outbytesleft = sizeof (buf);
15248
 
        size_t res = iconv (cd_utf8_to_88591,
15249
 
                            (char **) &inptr, &inbytesleft,
15250
 
                            &outptr, &outbytesleft);
15251
 
        if (res == 0)
15252
 
          return 1;
15253
 
      }
15254
 
  }
15255
 
#if 0 /* This bug could be worked around by the caller.  */
15256
 
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
15257
 
  {
15258
 
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15259
 
    if (cd_88591_to_utf8 != (iconv_t)(-1))
15260
 
      {
15261
 
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15262
 
        char buf[50];
15263
 
        const char *inptr = input;
15264
 
        size_t inbytesleft = strlen (input);
15265
 
        char *outptr = buf;
15266
 
        size_t outbytesleft = sizeof (buf);
15267
 
        size_t res = iconv (cd_88591_to_utf8,
15268
 
                            (char **) &inptr, &inbytesleft,
15269
 
                            &outptr, &outbytesleft);
15270
 
        if ((int)res > 0)
15271
 
          return 1;
15272
 
      }
15273
 
  }
15274
 
#endif
15275
 
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15276
 
     provided.  */
15277
 
  if (/* Try standardized names.  */
15278
 
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15279
 
      /* Try IRIX, OSF/1 names.  */
15280
 
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15281
 
      /* Try AIX names.  */
15282
 
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15283
 
      /* Try HP-UX names.  */
15284
 
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15285
 
    return 1;
15286
 
  return 0;
15287
 
}
15288
 
_ACEOF
15289
 
if ac_fn_c_try_run "$LINENO"; then :
15290
 
  am_cv_func_iconv_works=yes
15291
 
else
15292
 
  am_cv_func_iconv_works=no
15293
 
fi
15294
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15295
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
15296
 
fi
15297
 
 
15298
 
      LIBS="$am_save_LIBS"
15299
 
 
15300
 
fi
15301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15302
 
$as_echo "$am_cv_func_iconv_works" >&6; }
15303
 
    case "$am_cv_func_iconv_works" in
15304
 
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15305
 
      *)   am_func_iconv=yes ;;
15306
 
    esac
15307
 
  else
15308
 
    am_func_iconv=no am_cv_lib_iconv=no
15309
 
  fi
15310
 
  if test "$am_func_iconv" = yes; then
15311
 
 
15312
 
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
15313
 
 
15314
 
  fi
15315
 
  if test "$am_cv_lib_iconv" = yes; then
15316
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15317
 
$as_echo_n "checking how to link with libiconv... " >&6; }
15318
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15319
 
$as_echo "$LIBICONV" >&6; }
15320
 
  else
15321
 
            CPPFLAGS="$am_save_CPPFLAGS"
15322
 
    LIBICONV=
15323
 
    LTLIBICONV=
15324
 
  fi
15325
 
 
15326
 
 
15327
 
 
15328
 
 
15329
 
 
15330
 
 
15331
 
 
15332
 
 
15333
 
    use_additional=yes
15334
 
 
15335
 
  acl_save_prefix="$prefix"
15336
 
  prefix="$acl_final_prefix"
15337
 
  acl_save_exec_prefix="$exec_prefix"
15338
 
  exec_prefix="$acl_final_exec_prefix"
15339
 
 
15340
 
    eval additional_includedir=\"$includedir\"
15341
 
    eval additional_libdir=\"$libdir\"
15342
 
 
15343
 
  exec_prefix="$acl_save_exec_prefix"
15344
 
  prefix="$acl_save_prefix"
15345
 
 
15346
 
 
15347
 
# Check whether --with-libintl-prefix was given.
15348
 
if test "${with_libintl_prefix+set}" = set; then :
15349
 
  withval=$with_libintl_prefix;
15350
 
    if test "X$withval" = "Xno"; then
15351
 
      use_additional=no
15352
 
    else
15353
 
      if test "X$withval" = "X"; then
15354
 
 
15355
 
  acl_save_prefix="$prefix"
15356
 
  prefix="$acl_final_prefix"
15357
 
  acl_save_exec_prefix="$exec_prefix"
15358
 
  exec_prefix="$acl_final_exec_prefix"
15359
 
 
15360
 
          eval additional_includedir=\"$includedir\"
15361
 
          eval additional_libdir=\"$libdir\"
15362
 
 
15363
 
  exec_prefix="$acl_save_exec_prefix"
15364
 
  prefix="$acl_save_prefix"
15365
 
 
15366
 
      else
15367
 
        additional_includedir="$withval/include"
15368
 
        additional_libdir="$withval/$acl_libdirstem"
15369
 
      fi
15370
 
    fi
15371
 
 
15372
 
fi
15373
 
 
15374
 
      LIBINTL=
15375
 
  LTLIBINTL=
15376
 
  INCINTL=
15377
 
  LIBINTL_PREFIX=
15378
 
  rpathdirs=
15379
 
  ltrpathdirs=
15380
 
  names_already_handled=
15381
 
  names_next_round='intl '
15382
 
  while test -n "$names_next_round"; do
15383
 
    names_this_round="$names_next_round"
15384
 
    names_next_round=
15385
 
    for name in $names_this_round; do
15386
 
      already_handled=
15387
 
      for n in $names_already_handled; do
15388
 
        if test "$n" = "$name"; then
15389
 
          already_handled=yes
15390
 
          break
15391
 
        fi
15392
 
      done
15393
 
      if test -z "$already_handled"; then
15394
 
        names_already_handled="$names_already_handled $name"
15395
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15396
 
        eval value=\"\$HAVE_LIB$uppername\"
15397
 
        if test -n "$value"; then
15398
 
          if test "$value" = yes; then
15399
 
            eval value=\"\$LIB$uppername\"
15400
 
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15401
 
            eval value=\"\$LTLIB$uppername\"
15402
 
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15403
 
          else
15404
 
                                    :
15405
 
          fi
15406
 
        else
15407
 
                              found_dir=
15408
 
          found_la=
15409
 
          found_so=
15410
 
          found_a=
15411
 
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
15412
 
          if test -n "$acl_shlibext"; then
15413
 
            shrext=".$acl_shlibext"             # typically: shrext=.so
15414
 
          else
15415
 
            shrext=
15416
 
          fi
15417
 
          if test $use_additional = yes; then
15418
 
            dir="$additional_libdir"
15419
 
                                    if test -n "$acl_shlibext"; then
15420
 
              if test -f "$dir/$libname$shrext"; then
15421
 
                found_dir="$dir"
15422
 
                found_so="$dir/$libname$shrext"
15423
 
              else
15424
 
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15425
 
                  ver=`(cd "$dir" && \
15426
 
                        for f in "$libname$shrext".*; do echo "$f"; done \
15427
 
                        | sed -e "s,^$libname$shrext\\\\.,," \
15428
 
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15429
 
                        | sed 1q ) 2>/dev/null`
15430
 
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15431
 
                    found_dir="$dir"
15432
 
                    found_so="$dir/$libname$shrext.$ver"
15433
 
                  fi
15434
 
                else
15435
 
                  eval library_names=\"$acl_library_names_spec\"
15436
 
                  for f in $library_names; do
15437
 
                    if test -f "$dir/$f"; then
15438
 
                      found_dir="$dir"
15439
 
                      found_so="$dir/$f"
15440
 
                      break
15441
 
                    fi
15442
 
                  done
15443
 
                fi
15444
 
              fi
15445
 
            fi
15446
 
                        if test "X$found_dir" = "X"; then
15447
 
              if test -f "$dir/$libname.$acl_libext"; then
15448
 
                found_dir="$dir"
15449
 
                found_a="$dir/$libname.$acl_libext"
15450
 
              fi
15451
 
            fi
15452
 
            if test "X$found_dir" != "X"; then
15453
 
              if test -f "$dir/$libname.la"; then
15454
 
                found_la="$dir/$libname.la"
15455
 
              fi
15456
 
            fi
15457
 
          fi
15458
 
          if test "X$found_dir" = "X"; then
15459
 
            for x in $LDFLAGS $LTLIBINTL; do
15460
 
 
15461
 
  acl_save_prefix="$prefix"
15462
 
  prefix="$acl_final_prefix"
15463
 
  acl_save_exec_prefix="$exec_prefix"
15464
 
  exec_prefix="$acl_final_exec_prefix"
15465
 
  eval x=\"$x\"
15466
 
  exec_prefix="$acl_save_exec_prefix"
15467
 
  prefix="$acl_save_prefix"
15468
 
 
15469
 
              case "$x" in
15470
 
                -L*)
15471
 
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
15472
 
                                    if test -n "$acl_shlibext"; then
15473
 
                    if test -f "$dir/$libname$shrext"; then
15474
 
                      found_dir="$dir"
15475
 
                      found_so="$dir/$libname$shrext"
15476
 
                    else
15477
 
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15478
 
                        ver=`(cd "$dir" && \
15479
 
                              for f in "$libname$shrext".*; do echo "$f"; done \
15480
 
                              | sed -e "s,^$libname$shrext\\\\.,," \
15481
 
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15482
 
                              | sed 1q ) 2>/dev/null`
15483
 
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15484
 
                          found_dir="$dir"
15485
 
                          found_so="$dir/$libname$shrext.$ver"
15486
 
                        fi
15487
 
                      else
15488
 
                        eval library_names=\"$acl_library_names_spec\"
15489
 
                        for f in $library_names; do
15490
 
                          if test -f "$dir/$f"; then
15491
 
                            found_dir="$dir"
15492
 
                            found_so="$dir/$f"
15493
 
                            break
15494
 
                          fi
15495
 
                        done
15496
 
                      fi
15497
 
                    fi
15498
 
                  fi
15499
 
                                    if test "X$found_dir" = "X"; then
15500
 
                    if test -f "$dir/$libname.$acl_libext"; then
15501
 
                      found_dir="$dir"
15502
 
                      found_a="$dir/$libname.$acl_libext"
15503
 
                    fi
15504
 
                  fi
15505
 
                  if test "X$found_dir" != "X"; then
15506
 
                    if test -f "$dir/$libname.la"; then
15507
 
                      found_la="$dir/$libname.la"
15508
 
                    fi
15509
 
                  fi
15510
 
                  ;;
15511
 
              esac
15512
 
              if test "X$found_dir" != "X"; then
15513
 
                break
15514
 
              fi
15515
 
            done
15516
 
          fi
15517
 
          if test "X$found_dir" != "X"; then
15518
 
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15519
 
            if test "X$found_so" != "X"; then
15520
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15521
 
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15522
 
              else
15523
 
                                                                                haveit=
15524
 
                for x in $ltrpathdirs; do
15525
 
                  if test "X$x" = "X$found_dir"; then
15526
 
                    haveit=yes
15527
 
                    break
15528
 
                  fi
15529
 
                done
15530
 
                if test -z "$haveit"; then
15531
 
                  ltrpathdirs="$ltrpathdirs $found_dir"
15532
 
                fi
15533
 
                                if test "$acl_hardcode_direct" = yes; then
15534
 
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15535
 
                else
15536
 
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15537
 
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15538
 
                                                            haveit=
15539
 
                    for x in $rpathdirs; do
15540
 
                      if test "X$x" = "X$found_dir"; then
15541
 
                        haveit=yes
15542
 
                        break
15543
 
                      fi
15544
 
                    done
15545
 
                    if test -z "$haveit"; then
15546
 
                      rpathdirs="$rpathdirs $found_dir"
15547
 
                    fi
15548
 
                  else
15549
 
                                                                                haveit=
15550
 
                    for x in $LDFLAGS $LIBINTL; do
15551
 
 
15552
 
  acl_save_prefix="$prefix"
15553
 
  prefix="$acl_final_prefix"
15554
 
  acl_save_exec_prefix="$exec_prefix"
15555
 
  exec_prefix="$acl_final_exec_prefix"
15556
 
  eval x=\"$x\"
15557
 
  exec_prefix="$acl_save_exec_prefix"
15558
 
  prefix="$acl_save_prefix"
15559
 
 
15560
 
                      if test "X$x" = "X-L$found_dir"; then
15561
 
                        haveit=yes
15562
 
                        break
15563
 
                      fi
15564
 
                    done
15565
 
                    if test -z "$haveit"; then
15566
 
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15567
 
                    fi
15568
 
                    if test "$acl_hardcode_minus_L" != no; then
15569
 
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15570
 
                    else
15571
 
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15572
 
                    fi
15573
 
                  fi
15574
 
                fi
15575
 
              fi
15576
 
            else
15577
 
              if test "X$found_a" != "X"; then
15578
 
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15579
 
              else
15580
 
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15581
 
              fi
15582
 
            fi
15583
 
                        additional_includedir=
15584
 
            case "$found_dir" in
15585
 
              */$acl_libdirstem | */$acl_libdirstem/)
15586
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15587
 
                LIBINTL_PREFIX="$basedir"
15588
 
                additional_includedir="$basedir/include"
15589
 
                ;;
15590
 
            esac
15591
 
            if test "X$additional_includedir" != "X"; then
15592
 
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
15593
 
                haveit=
15594
 
                if test "X$additional_includedir" = "X/usr/local/include"; then
15595
 
                  if test -n "$GCC"; then
15596
 
                    case $host_os in
15597
 
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15598
 
                    esac
15599
 
                  fi
15600
 
                fi
15601
 
                if test -z "$haveit"; then
15602
 
                  for x in $CPPFLAGS $INCINTL; do
15603
 
 
15604
 
  acl_save_prefix="$prefix"
15605
 
  prefix="$acl_final_prefix"
15606
 
  acl_save_exec_prefix="$exec_prefix"
15607
 
  exec_prefix="$acl_final_exec_prefix"
15608
 
  eval x=\"$x\"
15609
 
  exec_prefix="$acl_save_exec_prefix"
15610
 
  prefix="$acl_save_prefix"
15611
 
 
15612
 
                    if test "X$x" = "X-I$additional_includedir"; then
15613
 
                      haveit=yes
15614
 
                      break
15615
 
                    fi
15616
 
                  done
15617
 
                  if test -z "$haveit"; then
15618
 
                    if test -d "$additional_includedir"; then
15619
 
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15620
 
                    fi
15621
 
                  fi
15622
 
                fi
15623
 
              fi
15624
 
            fi
15625
 
                        if test -n "$found_la"; then
15626
 
                                                        save_libdir="$libdir"
15627
 
              case "$found_la" in
15628
 
                */* | *\\*) . "$found_la" ;;
15629
 
                *) . "./$found_la" ;;
15630
 
              esac
15631
 
              libdir="$save_libdir"
15632
 
                            for dep in $dependency_libs; do
15633
 
                case "$dep" in
15634
 
                  -L*)
15635
 
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15636
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15637
 
                      haveit=
15638
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15639
 
                        if test -n "$GCC"; then
15640
 
                          case $host_os in
15641
 
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15642
 
                          esac
15643
 
                        fi
15644
 
                      fi
15645
 
                      if test -z "$haveit"; then
15646
 
                        haveit=
15647
 
                        for x in $LDFLAGS $LIBINTL; do
15648
 
 
15649
 
  acl_save_prefix="$prefix"
15650
 
  prefix="$acl_final_prefix"
15651
 
  acl_save_exec_prefix="$exec_prefix"
15652
 
  exec_prefix="$acl_final_exec_prefix"
15653
 
  eval x=\"$x\"
15654
 
  exec_prefix="$acl_save_exec_prefix"
15655
 
  prefix="$acl_save_prefix"
15656
 
 
15657
 
                          if test "X$x" = "X-L$additional_libdir"; then
15658
 
                            haveit=yes
15659
 
                            break
15660
 
                          fi
15661
 
                        done
15662
 
                        if test -z "$haveit"; then
15663
 
                          if test -d "$additional_libdir"; then
15664
 
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15665
 
                          fi
15666
 
                        fi
15667
 
                        haveit=
15668
 
                        for x in $LDFLAGS $LTLIBINTL; do
15669
 
 
15670
 
  acl_save_prefix="$prefix"
15671
 
  prefix="$acl_final_prefix"
15672
 
  acl_save_exec_prefix="$exec_prefix"
15673
 
  exec_prefix="$acl_final_exec_prefix"
15674
 
  eval x=\"$x\"
15675
 
  exec_prefix="$acl_save_exec_prefix"
15676
 
  prefix="$acl_save_prefix"
15677
 
 
15678
 
                          if test "X$x" = "X-L$additional_libdir"; then
15679
 
                            haveit=yes
15680
 
                            break
15681
 
                          fi
15682
 
                        done
15683
 
                        if test -z "$haveit"; then
15684
 
                          if test -d "$additional_libdir"; then
15685
 
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15686
 
                          fi
15687
 
                        fi
15688
 
                      fi
15689
 
                    fi
15690
 
                    ;;
15691
 
                  -R*)
15692
 
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
15693
 
                    if test "$enable_rpath" != no; then
15694
 
                                                                  haveit=
15695
 
                      for x in $rpathdirs; do
15696
 
                        if test "X$x" = "X$dir"; then
15697
 
                          haveit=yes
15698
 
                          break
15699
 
                        fi
15700
 
                      done
15701
 
                      if test -z "$haveit"; then
15702
 
                        rpathdirs="$rpathdirs $dir"
15703
 
                      fi
15704
 
                                                                  haveit=
15705
 
                      for x in $ltrpathdirs; do
15706
 
                        if test "X$x" = "X$dir"; then
15707
 
                          haveit=yes
15708
 
                          break
15709
 
                        fi
15710
 
                      done
15711
 
                      if test -z "$haveit"; then
15712
 
                        ltrpathdirs="$ltrpathdirs $dir"
15713
 
                      fi
15714
 
                    fi
15715
 
                    ;;
15716
 
                  -l*)
15717
 
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15718
 
                    ;;
15719
 
                  *.la)
15720
 
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15721
 
                    ;;
15722
 
                  *)
15723
 
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15724
 
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15725
 
                    ;;
15726
 
                esac
15727
 
              done
15728
 
            fi
15729
 
          else
15730
 
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15731
 
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15732
 
          fi
15733
 
        fi
15734
 
      fi
15735
 
    done
15736
 
  done
15737
 
  if test "X$rpathdirs" != "X"; then
15738
 
    if test -n "$acl_hardcode_libdir_separator"; then
15739
 
                        alldirs=
15740
 
      for found_dir in $rpathdirs; do
15741
 
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15742
 
      done
15743
 
            acl_save_libdir="$libdir"
15744
 
      libdir="$alldirs"
15745
 
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
15746
 
      libdir="$acl_save_libdir"
15747
 
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15748
 
    else
15749
 
            for found_dir in $rpathdirs; do
15750
 
        acl_save_libdir="$libdir"
15751
 
        libdir="$found_dir"
15752
 
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
15753
 
        libdir="$acl_save_libdir"
15754
 
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15755
 
      done
15756
 
    fi
15757
 
  fi
15758
 
  if test "X$ltrpathdirs" != "X"; then
15759
 
            for found_dir in $ltrpathdirs; do
15760
 
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15761
 
    done
15762
 
  fi
15763
 
 
15764
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15765
 
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15766
 
if eval \${$gt_func_gnugettext_libintl+:} false; then :
15767
 
  $as_echo_n "(cached) " >&6
15768
 
else
15769
 
  gt_save_CPPFLAGS="$CPPFLAGS"
15770
 
            CPPFLAGS="$CPPFLAGS $INCINTL"
15771
 
            gt_save_LIBS="$LIBS"
15772
 
            LIBS="$LIBS $LIBINTL"
15773
 
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15774
 
/* end confdefs.h.  */
15775
 
#include <libintl.h>
15776
 
$gt_revision_test_code
15777
 
extern int _nl_msg_cat_cntr;
15778
 
extern
15779
 
#ifdef __cplusplus
15780
 
"C"
15781
 
#endif
15782
 
const char *_nl_expand_alias (const char *);
15783
 
int
15784
 
main ()
15785
 
{
15786
 
bindtextdomain ("", "");
15787
 
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15788
 
  ;
15789
 
  return 0;
15790
 
}
15791
 
_ACEOF
15792
 
if ac_fn_c_try_link "$LINENO"; then :
15793
 
  eval "$gt_func_gnugettext_libintl=yes"
15794
 
else
15795
 
  eval "$gt_func_gnugettext_libintl=no"
15796
 
fi
15797
 
rm -f core conftest.err conftest.$ac_objext \
15798
 
    conftest$ac_exeext conftest.$ac_ext
15799
 
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15800
 
              LIBS="$LIBS $LIBICONV"
15801
 
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802
 
/* end confdefs.h.  */
15803
 
#include <libintl.h>
15804
 
$gt_revision_test_code
15805
 
extern int _nl_msg_cat_cntr;
15806
 
extern
15807
 
#ifdef __cplusplus
15808
 
"C"
15809
 
#endif
15810
 
const char *_nl_expand_alias (const char *);
15811
 
int
15812
 
main ()
15813
 
{
15814
 
bindtextdomain ("", "");
15815
 
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15816
 
  ;
15817
 
  return 0;
15818
 
}
15819
 
_ACEOF
15820
 
if ac_fn_c_try_link "$LINENO"; then :
15821
 
  LIBINTL="$LIBINTL $LIBICONV"
15822
 
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15823
 
                eval "$gt_func_gnugettext_libintl=yes"
15824
 
 
15825
 
fi
15826
 
rm -f core conftest.err conftest.$ac_objext \
15827
 
    conftest$ac_exeext conftest.$ac_ext
15828
 
            fi
15829
 
            CPPFLAGS="$gt_save_CPPFLAGS"
15830
 
            LIBS="$gt_save_LIBS"
15831
 
fi
15832
 
eval ac_res=\$$gt_func_gnugettext_libintl
15833
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15834
 
$as_echo "$ac_res" >&6; }
15835
 
        fi
15836
 
 
15837
 
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15838
 
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15839
 
                && test "$PACKAGE" != gettext-runtime \
15840
 
                && test "$PACKAGE" != gettext-tools; }; then
15841
 
          gt_use_preinstalled_gnugettext=yes
15842
 
        else
15843
 
                    LIBINTL=
15844
 
          LTLIBINTL=
15845
 
          INCINTL=
15846
 
        fi
15847
 
 
15848
 
 
15849
 
 
15850
 
    if test -n "$INTL_MACOSX_LIBS"; then
15851
 
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
15852
 
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
15853
 
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15854
 
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15855
 
      fi
15856
 
    fi
15857
 
 
15858
 
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
15859
 
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
15860
 
 
15861
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15862
 
 
15863
 
    else
15864
 
      USE_NLS=no
15865
 
    fi
15866
 
  fi
15867
 
 
15868
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15869
 
$as_echo_n "checking whether to use NLS... " >&6; }
15870
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15871
 
$as_echo "$USE_NLS" >&6; }
15872
 
  if test "$USE_NLS" = "yes"; then
15873
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15874
 
$as_echo_n "checking where the gettext function comes from... " >&6; }
15875
 
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15876
 
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15877
 
        gt_source="external libintl"
15878
 
      else
15879
 
        gt_source="libc"
15880
 
      fi
15881
 
    else
15882
 
      gt_source="included intl directory"
15883
 
    fi
15884
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15885
 
$as_echo "$gt_source" >&6; }
15886
 
  fi
15887
 
 
15888
 
  if test "$USE_NLS" = "yes"; then
15889
 
 
15890
 
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15891
 
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15892
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15893
 
$as_echo_n "checking how to link with libintl... " >&6; }
15894
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15895
 
$as_echo "$LIBINTL" >&6; }
15896
 
 
15897
 
  for element in $INCINTL; do
15898
 
    haveit=
15899
 
    for x in $CPPFLAGS; do
15900
 
 
15901
 
  acl_save_prefix="$prefix"
15902
 
  prefix="$acl_final_prefix"
15903
 
  acl_save_exec_prefix="$exec_prefix"
15904
 
  exec_prefix="$acl_final_exec_prefix"
15905
 
  eval x=\"$x\"
15906
 
  exec_prefix="$acl_save_exec_prefix"
15907
 
  prefix="$acl_save_prefix"
15908
 
 
15909
 
      if test "X$x" = "X$element"; then
15910
 
        haveit=yes
15911
 
        break
15912
 
      fi
15913
 
    done
15914
 
    if test -z "$haveit"; then
15915
 
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15916
 
    fi
15917
 
  done
15918
 
 
15919
 
      fi
15920
 
 
15921
 
 
15922
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15923
 
 
15924
 
 
15925
 
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15926
 
 
15927
 
    fi
15928
 
 
15929
 
        POSUB=po
15930
 
  fi
15931
 
 
15932
 
 
15933
 
 
15934
 
    INTLLIBS="$LIBINTL"
15935
 
 
15936
 
 
15937
 
 
15938
 
 
15939
 
 
15940
 
 
15941
 
 
15942
 
 
15943
 
 
15944
 
 
15945
 
cat >>confdefs.h <<_ACEOF
15946
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15947
 
_ACEOF
15948
 
 
15949
 
 
15950
 
        test "x$prefix" = xNONE && prefix="$ac_default_prefix"
15951
 
        test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15952
 
        ac_define_path=`eval echo $"${datadir}/locale"`
15953
 
        ac_define_path=`eval echo $ac_define_path`
15954
 
        GNOMELOCALEDIR="$ac_define_path"
15955
 
 
15956
 
 
15957
 
cat >>confdefs.h <<_ACEOF
15958
 
#define GNOMELOCALEDIR "$ac_define_path"
15959
 
_ACEOF
15960
 
 
15961
 
 
15962
 
 
15963
 
###########################
15964
 
# Files
15965
 
###########################
15966
 
 
15967
 
ac_config_files="$ac_config_files Makefile src/Makefile scripts/Makefile data/Makefile tools/Makefile po/Makefile.in tools-vala/Makefile tests/Makefile tests/manual/Makefile docs/Makefile docs/man/Makefile docs/devel/Makefile"
15968
 
 
15969
 
cat >confcache <<\_ACEOF
15970
 
# This file is a shell script that caches the results of configure
15971
 
# tests run on this system so they can be shared between configure
15972
 
# scripts and configure runs, see configure's option --config-cache.
15973
 
# It is not useful on other systems.  If it contains results you don't
15974
 
# want to keep, you may remove or edit it.
15975
 
#
15976
 
# config.status only pays attention to the cache file if you give it
15977
 
# the --recheck option to rerun configure.
15978
 
#
15979
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15980
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15981
 
# following values.
15982
 
 
15983
 
_ACEOF
15984
 
 
15985
 
# The following way of writing the cache mishandles newlines in values,
15986
 
# but we know of no workaround that is simple, portable, and efficient.
15987
 
# So, we kill variables containing newlines.
15988
 
# Ultrix sh set writes to stderr and can't be redirected directly,
15989
 
# and sets the high bit in the cache file unless we assign to the vars.
15990
 
(
15991
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15992
 
    eval ac_val=\$$ac_var
15993
 
    case $ac_val in #(
15994
 
    *${as_nl}*)
15995
 
      case $ac_var in #(
15996
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15997
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15998
 
      esac
15999
 
      case $ac_var in #(
16000
 
      _ | IFS | as_nl) ;; #(
16001
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16002
 
      *) { eval $ac_var=; unset $ac_var;} ;;
16003
 
      esac ;;
16004
 
    esac
16005
 
  done
16006
 
 
16007
 
  (set) 2>&1 |
16008
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16009
 
    *${as_nl}ac_space=\ *)
16010
 
      # `set' does not quote correctly, so add quotes: double-quote
16011
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16012
 
      sed -n \
16013
 
        "s/'/'\\\\''/g;
16014
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16015
 
      ;; #(
16016
 
    *)
16017
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
16018
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16019
 
      ;;
16020
 
    esac |
16021
 
    sort
16022
 
) |
16023
 
  sed '
16024
 
     /^ac_cv_env_/b end
16025
 
     t clear
16026
 
     :clear
16027
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16028
 
     t end
16029
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16030
 
     :end' >>confcache
16031
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16032
 
  if test -w "$cache_file"; then
16033
 
    if test "x$cache_file" != "x/dev/null"; then
16034
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16035
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
16036
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
16037
 
        cat confcache >"$cache_file"
16038
 
      else
16039
 
        case $cache_file in #(
16040
 
        */* | ?:*)
16041
 
          mv -f confcache "$cache_file"$$ &&
16042
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
16043
 
        *)
16044
 
          mv -f confcache "$cache_file" ;;
16045
 
        esac
16046
 
      fi
16047
 
    fi
16048
 
  else
16049
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16050
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16051
 
  fi
16052
 
fi
16053
 
rm -f confcache
16054
 
 
16055
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16056
 
# Let make expand exec_prefix.
16057
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16058
 
 
16059
 
DEFS=-DHAVE_CONFIG_H
16060
 
 
16061
 
ac_libobjs=
16062
 
ac_ltlibobjs=
16063
 
U=
16064
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16065
 
  # 1. Remove the extension, and $U if already installed.
16066
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16067
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16068
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16069
 
  #    will be set to the directory where LIBOBJS objects are built.
16070
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16071
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16072
 
done
16073
 
LIBOBJS=$ac_libobjs
16074
 
 
16075
 
LTLIBOBJS=$ac_ltlibobjs
16076
 
 
16077
 
 
16078
 
 if test -n "$EXEEXT"; then
16079
 
  am__EXEEXT_TRUE=
16080
 
  am__EXEEXT_FALSE='#'
16081
 
else
16082
 
  am__EXEEXT_TRUE='#'
16083
 
  am__EXEEXT_FALSE=
16084
 
fi
16085
 
 
16086
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16087
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16088
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16089
 
fi
16090
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16091
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
16092
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16093
 
fi
16094
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16095
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16096
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16097
 
fi
16098
 
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16099
 
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16100
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16101
 
fi
16102
 
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16103
 
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16104
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16105
 
fi
16106
 
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16107
 
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16108
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16109
 
fi
16110
 
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16111
 
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16112
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16113
 
fi
16114
 
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16115
 
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16116
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16117
 
fi
16118
 
if test -z "${BUILD_CLI_TRUE}" && test -z "${BUILD_CLI_FALSE}"; then
16119
 
  as_fn_error $? "conditional \"BUILD_CLI\" was never defined.
16120
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16121
 
fi
16122
 
if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
16123
 
  as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
16124
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16125
 
fi
16126
 
if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
16127
 
  as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
16128
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16129
 
fi
16130
 
if test -z "${HAVE_LCOV_TRUE}" && test -z "${HAVE_LCOV_FALSE}"; then
16131
 
  as_fn_error $? "conditional \"HAVE_LCOV\" was never defined.
16132
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16133
 
fi
16134
 
if test -z "${HAVE_GCOVR_TRUE}" && test -z "${HAVE_GCOVR_FALSE}"; then
16135
 
  as_fn_error $? "conditional \"HAVE_GCOVR\" was never defined.
16136
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16137
 
fi
16138
 
 
16139
 
  ac_config_commands="$ac_config_commands po/stamp-it"
16140
 
 
16141
 
 
16142
 
 
16143
 
: "${CONFIG_STATUS=./config.status}"
16144
 
ac_write_fail=0
16145
 
ac_clean_files_save=$ac_clean_files
16146
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16147
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16148
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16149
 
as_write_fail=0
16150
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16151
 
#! $SHELL
16152
 
# Generated by $as_me.
16153
 
# Run this file to recreate the current configuration.
16154
 
# Compiler output produced by configure, useful for debugging
16155
 
# configure, is in config.log if it exists.
16156
 
 
16157
 
debug=false
16158
 
ac_cs_recheck=false
16159
 
ac_cs_silent=false
16160
 
 
16161
 
SHELL=\${CONFIG_SHELL-$SHELL}
16162
 
export SHELL
16163
 
_ASEOF
16164
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16165
 
## -------------------- ##
16166
 
## M4sh Initialization. ##
16167
 
## -------------------- ##
16168
 
 
16169
 
# Be more Bourne compatible
16170
 
DUALCASE=1; export DUALCASE # for MKS sh
16171
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16172
 
  emulate sh
16173
 
  NULLCMD=:
16174
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16175
 
  # is contrary to our usage.  Disable this feature.
16176
 
  alias -g '${1+"$@"}'='"$@"'
16177
 
  setopt NO_GLOB_SUBST
16178
 
else
16179
 
  case `(set -o) 2>/dev/null` in #(
16180
 
  *posix*) :
16181
 
    set -o posix ;; #(
16182
 
  *) :
16183
 
     ;;
16184
 
esac
16185
 
fi
16186
 
 
16187
 
 
16188
 
as_nl='
16189
 
'
16190
 
export as_nl
16191
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16192
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16193
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16194
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16195
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
16196
 
# but without wasting forks for bash or zsh.
16197
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
16198
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16199
 
  as_echo='print -r --'
16200
 
  as_echo_n='print -rn --'
16201
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16202
 
  as_echo='printf %s\n'
16203
 
  as_echo_n='printf %s'
16204
 
else
16205
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16206
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16207
 
    as_echo_n='/usr/ucb/echo -n'
16208
 
  else
16209
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16210
 
    as_echo_n_body='eval
16211
 
      arg=$1;
16212
 
      case $arg in #(
16213
 
      *"$as_nl"*)
16214
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
16215
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16216
 
      esac;
16217
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16218
 
    '
16219
 
    export as_echo_n_body
16220
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
16221
 
  fi
16222
 
  export as_echo_body
16223
 
  as_echo='sh -c $as_echo_body as_echo'
16224
 
fi
16225
 
 
16226
 
# The user is always right.
16227
 
if test "${PATH_SEPARATOR+set}" != set; then
16228
 
  PATH_SEPARATOR=:
16229
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16230
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16231
 
      PATH_SEPARATOR=';'
16232
 
  }
16233
 
fi
16234
 
 
16235
 
 
16236
 
# IFS
16237
 
# We need space, tab and new line, in precisely that order.  Quoting is
16238
 
# there to prevent editors from complaining about space-tab.
16239
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16240
 
# splitting by setting IFS to empty value.)
16241
 
IFS=" ""        $as_nl"
16242
 
 
16243
 
# Find who we are.  Look in the path if we contain no directory separator.
16244
 
as_myself=
16245
 
case $0 in #((
16246
 
  *[\\/]* ) as_myself=$0 ;;
16247
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16248
 
for as_dir in $PATH
16249
 
do
16250
 
  IFS=$as_save_IFS
16251
 
  test -z "$as_dir" && as_dir=.
16252
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16253
 
  done
16254
 
IFS=$as_save_IFS
16255
 
 
16256
 
     ;;
16257
 
esac
16258
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
16259
 
# in which case we are not to be found in the path.
16260
 
if test "x$as_myself" = x; then
16261
 
  as_myself=$0
16262
 
fi
16263
 
if test ! -f "$as_myself"; then
16264
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16265
 
  exit 1
16266
 
fi
16267
 
 
16268
 
# Unset variables that we do not need and which cause bugs (e.g. in
16269
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16270
 
# suppresses any "Segmentation fault" message there.  '((' could
16271
 
# trigger a bug in pdksh 5.2.14.
16272
 
for as_var in BASH_ENV ENV MAIL MAILPATH
16273
 
do eval test x\${$as_var+set} = xset \
16274
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16275
 
done
16276
 
PS1='$ '
16277
 
PS2='> '
16278
 
PS4='+ '
16279
 
 
16280
 
# NLS nuisances.
16281
 
LC_ALL=C
16282
 
export LC_ALL
16283
 
LANGUAGE=C
16284
 
export LANGUAGE
16285
 
 
16286
 
# CDPATH.
16287
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16288
 
 
16289
 
 
16290
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
16291
 
# ----------------------------------------
16292
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16293
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16294
 
# script with STATUS, using 1 if that was 0.
16295
 
as_fn_error ()
16296
 
{
16297
 
  as_status=$1; test $as_status -eq 0 && as_status=1
16298
 
  if test "$4"; then
16299
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16300
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16301
 
  fi
16302
 
  $as_echo "$as_me: error: $2" >&2
16303
 
  as_fn_exit $as_status
16304
 
} # as_fn_error
16305
 
 
16306
 
 
16307
 
# as_fn_set_status STATUS
16308
 
# -----------------------
16309
 
# Set $? to STATUS, without forking.
16310
 
as_fn_set_status ()
16311
 
{
16312
 
  return $1
16313
 
} # as_fn_set_status
16314
 
 
16315
 
# as_fn_exit STATUS
16316
 
# -----------------
16317
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16318
 
as_fn_exit ()
16319
 
{
16320
 
  set +e
16321
 
  as_fn_set_status $1
16322
 
  exit $1
16323
 
} # as_fn_exit
16324
 
 
16325
 
# as_fn_unset VAR
16326
 
# ---------------
16327
 
# Portably unset VAR.
16328
 
as_fn_unset ()
16329
 
{
16330
 
  { eval $1=; unset $1;}
16331
 
}
16332
 
as_unset=as_fn_unset
16333
 
# as_fn_append VAR VALUE
16334
 
# ----------------------
16335
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
16336
 
# advantage of any shell optimizations that allow amortized linear growth over
16337
 
# repeated appends, instead of the typical quadratic growth present in naive
16338
 
# implementations.
16339
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16340
 
  eval 'as_fn_append ()
16341
 
  {
16342
 
    eval $1+=\$2
16343
 
  }'
16344
 
else
16345
 
  as_fn_append ()
16346
 
  {
16347
 
    eval $1=\$$1\$2
16348
 
  }
16349
 
fi # as_fn_append
16350
 
 
16351
 
# as_fn_arith ARG...
16352
 
# ------------------
16353
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
16354
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16355
 
# must be portable across $(()) and expr.
16356
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16357
 
  eval 'as_fn_arith ()
16358
 
  {
16359
 
    as_val=$(( $* ))
16360
 
  }'
16361
 
else
16362
 
  as_fn_arith ()
16363
 
  {
16364
 
    as_val=`expr "$@" || test $? -eq 1`
16365
 
  }
16366
 
fi # as_fn_arith
16367
 
 
16368
 
 
16369
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
16370
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16371
 
  as_expr=expr
16372
 
else
16373
 
  as_expr=false
16374
 
fi
16375
 
 
16376
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16377
 
  as_basename=basename
16378
 
else
16379
 
  as_basename=false
16380
 
fi
16381
 
 
16382
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16383
 
  as_dirname=dirname
16384
 
else
16385
 
  as_dirname=false
16386
 
fi
16387
 
 
16388
 
as_me=`$as_basename -- "$0" ||
16389
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16390
 
         X"$0" : 'X\(//\)$' \| \
16391
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16392
 
$as_echo X/"$0" |
16393
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
16394
 
            s//\1/
16395
 
            q
16396
 
          }
16397
 
          /^X\/\(\/\/\)$/{
16398
 
            s//\1/
16399
 
            q
16400
 
          }
16401
 
          /^X\/\(\/\).*/{
16402
 
            s//\1/
16403
 
            q
16404
 
          }
16405
 
          s/.*/./; q'`
16406
 
 
16407
 
# Avoid depending upon Character Ranges.
16408
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16409
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16410
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16411
 
as_cr_digits='0123456789'
16412
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
16413
 
 
16414
 
ECHO_C= ECHO_N= ECHO_T=
16415
 
case `echo -n x` in #(((((
16416
 
-n*)
16417
 
  case `echo 'xy\c'` in
16418
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16419
 
  xy)  ECHO_C='\c';;
16420
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16421
 
       ECHO_T=' ';;
16422
 
  esac;;
16423
 
*)
16424
 
  ECHO_N='-n';;
16425
 
esac
16426
 
 
16427
 
rm -f conf$$ conf$$.exe conf$$.file
16428
 
if test -d conf$$.dir; then
16429
 
  rm -f conf$$.dir/conf$$.file
16430
 
else
16431
 
  rm -f conf$$.dir
16432
 
  mkdir conf$$.dir 2>/dev/null
16433
 
fi
16434
 
if (echo >conf$$.file) 2>/dev/null; then
16435
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
16436
 
    as_ln_s='ln -s'
16437
 
    # ... but there are two gotchas:
16438
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16439
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16440
 
    # In both cases, we have to default to `cp -pR'.
16441
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16442
 
      as_ln_s='cp -pR'
16443
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
16444
 
    as_ln_s=ln
16445
 
  else
16446
 
    as_ln_s='cp -pR'
16447
 
  fi
16448
 
else
16449
 
  as_ln_s='cp -pR'
16450
 
fi
16451
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16452
 
rmdir conf$$.dir 2>/dev/null
16453
 
 
16454
 
 
16455
 
# as_fn_mkdir_p
16456
 
# -------------
16457
 
# Create "$as_dir" as a directory, including parents if necessary.
16458
 
as_fn_mkdir_p ()
16459
 
{
16460
 
 
16461
 
  case $as_dir in #(
16462
 
  -*) as_dir=./$as_dir;;
16463
 
  esac
16464
 
  test -d "$as_dir" || eval $as_mkdir_p || {
16465
 
    as_dirs=
16466
 
    while :; do
16467
 
      case $as_dir in #(
16468
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16469
 
      *) as_qdir=$as_dir;;
16470
 
      esac
16471
 
      as_dirs="'$as_qdir' $as_dirs"
16472
 
      as_dir=`$as_dirname -- "$as_dir" ||
16473
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16474
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16475
 
         X"$as_dir" : 'X\(//\)$' \| \
16476
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16477
 
$as_echo X"$as_dir" |
16478
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16479
 
            s//\1/
16480
 
            q
16481
 
          }
16482
 
          /^X\(\/\/\)[^/].*/{
16483
 
            s//\1/
16484
 
            q
16485
 
          }
16486
 
          /^X\(\/\/\)$/{
16487
 
            s//\1/
16488
 
            q
16489
 
          }
16490
 
          /^X\(\/\).*/{
16491
 
            s//\1/
16492
 
            q
16493
 
          }
16494
 
          s/.*/./; q'`
16495
 
      test -d "$as_dir" && break
16496
 
    done
16497
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16498
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16499
 
 
16500
 
 
16501
 
} # as_fn_mkdir_p
16502
 
if mkdir -p . 2>/dev/null; then
16503
 
  as_mkdir_p='mkdir -p "$as_dir"'
16504
 
else
16505
 
  test -d ./-p && rmdir ./-p
16506
 
  as_mkdir_p=false
16507
 
fi
16508
 
 
16509
 
 
16510
 
# as_fn_executable_p FILE
16511
 
# -----------------------
16512
 
# Test if FILE is an executable regular file.
16513
 
as_fn_executable_p ()
16514
 
{
16515
 
  test -f "$1" && test -x "$1"
16516
 
} # as_fn_executable_p
16517
 
as_test_x='test -x'
16518
 
as_executable_p=as_fn_executable_p
16519
 
 
16520
 
# Sed expression to map a string onto a valid CPP name.
16521
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16522
 
 
16523
 
# Sed expression to map a string onto a valid variable name.
16524
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16525
 
 
16526
 
 
16527
 
exec 6>&1
16528
 
## ----------------------------------- ##
16529
 
## Main body of $CONFIG_STATUS script. ##
16530
 
## ----------------------------------- ##
16531
 
_ASEOF
16532
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16533
 
 
16534
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16535
 
# Save the log message, to keep $0 and so on meaningful, and to
16536
 
# report actual input values of CONFIG_FILES etc. instead of their
16537
 
# values after options handling.
16538
 
ac_log="
16539
 
This file was extended by indicator-appmenu $as_me 12.10.3, which was
16540
 
generated by GNU Autoconf 2.69.  Invocation command line was
16541
 
 
16542
 
  CONFIG_FILES    = $CONFIG_FILES
16543
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
16544
 
  CONFIG_LINKS    = $CONFIG_LINKS
16545
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
16546
 
  $ $0 $@
16547
 
 
16548
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16549
 
"
16550
 
 
16551
 
_ACEOF
16552
 
 
16553
 
case $ac_config_files in *"
16554
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16555
 
esac
16556
 
 
16557
 
case $ac_config_headers in *"
16558
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16559
 
esac
16560
 
 
16561
 
 
16562
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16563
 
# Files that config.status was made for.
16564
 
config_files="$ac_config_files"
16565
 
config_headers="$ac_config_headers"
16566
 
config_commands="$ac_config_commands"
16567
 
 
16568
 
_ACEOF
16569
 
 
16570
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16571
 
ac_cs_usage="\
16572
 
\`$as_me' instantiates files and other configuration actions
16573
 
from templates according to the current configuration.  Unless the files
16574
 
and actions are specified as TAGs, all are instantiated by default.
16575
 
 
16576
 
Usage: $0 [OPTION]... [TAG]...
16577
 
 
16578
 
  -h, --help       print this help, then exit
16579
 
  -V, --version    print version number and configuration settings, then exit
16580
 
      --config     print configuration, then exit
16581
 
  -q, --quiet, --silent
16582
 
                   do not print progress messages
16583
 
  -d, --debug      don't remove temporary files
16584
 
      --recheck    update $as_me by reconfiguring in the same conditions
16585
 
      --file=FILE[:TEMPLATE]
16586
 
                   instantiate the configuration file FILE
16587
 
      --header=FILE[:TEMPLATE]
16588
 
                   instantiate the configuration header FILE
16589
 
 
16590
 
Configuration files:
16591
 
$config_files
16592
 
 
16593
 
Configuration headers:
16594
 
$config_headers
16595
 
 
16596
 
Configuration commands:
16597
 
$config_commands
16598
 
 
16599
 
Report bugs to <http://bugs.launchpad.net/indicator-appmenu>.
16600
 
indicator-appmenu home page: <http://launchpad.net/indicator-appmenu>."
16601
 
 
16602
 
_ACEOF
16603
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16604
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16605
 
ac_cs_version="\\
16606
 
indicator-appmenu config.status 12.10.3
16607
 
configured by $0, generated by GNU Autoconf 2.69,
16608
 
  with options \\"\$ac_cs_config\\"
16609
 
 
16610
 
Copyright (C) 2012 Free Software Foundation, Inc.
16611
 
This config.status script is free software; the Free Software Foundation
16612
 
gives unlimited permission to copy, distribute and modify it."
16613
 
 
16614
 
ac_pwd='$ac_pwd'
16615
 
srcdir='$srcdir'
16616
 
INSTALL='$INSTALL'
16617
 
MKDIR_P='$MKDIR_P'
16618
 
AWK='$AWK'
16619
 
test -n "\$AWK" || AWK=awk
16620
 
_ACEOF
16621
 
 
16622
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16623
 
# The default lists apply if the user does not specify any file.
16624
 
ac_need_defaults=:
16625
 
while test $# != 0
16626
 
do
16627
 
  case $1 in
16628
 
  --*=?*)
16629
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16630
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16631
 
    ac_shift=:
16632
 
    ;;
16633
 
  --*=)
16634
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16635
 
    ac_optarg=
16636
 
    ac_shift=:
16637
 
    ;;
16638
 
  *)
16639
 
    ac_option=$1
16640
 
    ac_optarg=$2
16641
 
    ac_shift=shift
16642
 
    ;;
16643
 
  esac
16644
 
 
16645
 
  case $ac_option in
16646
 
  # Handling of the options.
16647
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16648
 
    ac_cs_recheck=: ;;
16649
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16650
 
    $as_echo "$ac_cs_version"; exit ;;
16651
 
  --config | --confi | --conf | --con | --co | --c )
16652
 
    $as_echo "$ac_cs_config"; exit ;;
16653
 
  --debug | --debu | --deb | --de | --d | -d )
16654
 
    debug=: ;;
16655
 
  --file | --fil | --fi | --f )
16656
 
    $ac_shift
16657
 
    case $ac_optarg in
16658
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16659
 
    '') as_fn_error $? "missing file argument" ;;
16660
 
    esac
16661
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16662
 
    ac_need_defaults=false;;
16663
 
  --header | --heade | --head | --hea )
16664
 
    $ac_shift
16665
 
    case $ac_optarg in
16666
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16667
 
    esac
16668
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16669
 
    ac_need_defaults=false;;
16670
 
  --he | --h)
16671
 
    # Conflict between --help and --header
16672
 
    as_fn_error $? "ambiguous option: \`$1'
16673
 
Try \`$0 --help' for more information.";;
16674
 
  --help | --hel | -h )
16675
 
    $as_echo "$ac_cs_usage"; exit ;;
16676
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16677
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16678
 
    ac_cs_silent=: ;;
16679
 
 
16680
 
  # This is an error.
16681
 
  -*) as_fn_error $? "unrecognized option: \`$1'
16682
 
Try \`$0 --help' for more information." ;;
16683
 
 
16684
 
  *) as_fn_append ac_config_targets " $1"
16685
 
     ac_need_defaults=false ;;
16686
 
 
16687
 
  esac
16688
 
  shift
16689
 
done
16690
 
 
16691
 
ac_configure_extra_args=
16692
 
 
16693
 
if $ac_cs_silent; then
16694
 
  exec 6>/dev/null
16695
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
16696
 
fi
16697
 
 
16698
 
_ACEOF
16699
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16700
 
if \$ac_cs_recheck; then
16701
 
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16702
 
  shift
16703
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16704
 
  CONFIG_SHELL='$SHELL'
16705
 
  export CONFIG_SHELL
16706
 
  exec "\$@"
16707
 
fi
16708
 
 
16709
 
_ACEOF
16710
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16711
 
exec 5>>config.log
16712
 
{
16713
 
  echo
16714
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16715
 
## Running $as_me. ##
16716
 
_ASBOX
16717
 
  $as_echo "$ac_log"
16718
 
} >&5
16719
 
 
16720
 
_ACEOF
16721
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16722
 
#
16723
 
# INIT-COMMANDS
16724
 
#
16725
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16726
 
 
16727
 
 
16728
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
16729
 
# if CDPATH is set.
16730
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16731
 
 
16732
 
sed_quote_subst='$sed_quote_subst'
16733
 
double_quote_subst='$double_quote_subst'
16734
 
delay_variable_subst='$delay_variable_subst'
16735
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16736
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16737
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16738
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16739
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16740
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16741
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16742
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16743
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16744
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16745
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16746
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16747
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16748
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16749
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16750
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16751
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16752
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16753
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16754
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16755
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16756
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16757
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16758
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16759
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16760
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16761
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16762
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16763
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16764
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16765
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16766
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16767
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16768
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16769
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16770
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16771
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16772
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16773
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16774
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16775
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16776
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16777
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16778
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16779
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16780
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16781
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16782
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16783
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16784
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16785
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16786
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16787
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16788
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16789
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16790
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16791
 
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"`'
16792
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16793
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16794
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16795
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16796
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16797
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16798
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16799
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16800
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16801
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16802
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16803
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16804
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16805
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16806
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16807
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16808
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16809
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16810
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16811
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16812
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16813
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16814
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16815
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16816
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16817
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16818
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16819
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16820
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16821
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16822
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16823
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16824
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16825
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16826
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16827
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16828
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16829
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16830
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16831
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16832
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16833
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16834
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16835
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16836
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16837
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16838
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16839
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16840
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16841
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16842
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16843
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16844
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16845
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16846
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16847
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16848
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16849
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16850
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16851
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16852
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16853
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16854
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16855
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16856
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16857
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16858
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16859
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16860
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16861
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16862
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16863
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16864
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16865
 
 
16866
 
LTCC='$LTCC'
16867
 
LTCFLAGS='$LTCFLAGS'
16868
 
compiler='$compiler_DEFAULT'
16869
 
 
16870
 
# A function that is used when there is no print builtin or printf.
16871
 
func_fallback_echo ()
16872
 
{
16873
 
  eval 'cat <<_LTECHO_EOF
16874
 
\$1
16875
 
_LTECHO_EOF'
16876
 
}
16877
 
 
16878
 
# Quote evaled strings.
16879
 
for var in SHELL \
16880
 
ECHO \
16881
 
PATH_SEPARATOR \
16882
 
SED \
16883
 
GREP \
16884
 
EGREP \
16885
 
FGREP \
16886
 
LD \
16887
 
NM \
16888
 
LN_S \
16889
 
lt_SP2NL \
16890
 
lt_NL2SP \
16891
 
reload_flag \
16892
 
OBJDUMP \
16893
 
deplibs_check_method \
16894
 
file_magic_cmd \
16895
 
file_magic_glob \
16896
 
want_nocaseglob \
16897
 
DLLTOOL \
16898
 
sharedlib_from_linklib_cmd \
16899
 
AR \
16900
 
AR_FLAGS \
16901
 
archiver_list_spec \
16902
 
STRIP \
16903
 
RANLIB \
16904
 
CC \
16905
 
CFLAGS \
16906
 
compiler \
16907
 
lt_cv_sys_global_symbol_pipe \
16908
 
lt_cv_sys_global_symbol_to_cdecl \
16909
 
lt_cv_sys_global_symbol_to_c_name_address \
16910
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16911
 
nm_file_list_spec \
16912
 
lt_prog_compiler_no_builtin_flag \
16913
 
lt_prog_compiler_pic \
16914
 
lt_prog_compiler_wl \
16915
 
lt_prog_compiler_static \
16916
 
lt_cv_prog_compiler_c_o \
16917
 
need_locks \
16918
 
MANIFEST_TOOL \
16919
 
DSYMUTIL \
16920
 
NMEDIT \
16921
 
LIPO \
16922
 
OTOOL \
16923
 
OTOOL64 \
16924
 
shrext_cmds \
16925
 
export_dynamic_flag_spec \
16926
 
whole_archive_flag_spec \
16927
 
compiler_needs_object \
16928
 
with_gnu_ld \
16929
 
allow_undefined_flag \
16930
 
no_undefined_flag \
16931
 
hardcode_libdir_flag_spec \
16932
 
hardcode_libdir_separator \
16933
 
exclude_expsyms \
16934
 
include_expsyms \
16935
 
file_list_spec \
16936
 
variables_saved_for_relink \
16937
 
libname_spec \
16938
 
library_names_spec \
16939
 
soname_spec \
16940
 
install_override_mode \
16941
 
finish_eval \
16942
 
old_striplib \
16943
 
striplib; do
16944
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16945
 
    *[\\\\\\\`\\"\\\$]*)
16946
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16947
 
      ;;
16948
 
    *)
16949
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16950
 
      ;;
16951
 
    esac
16952
 
done
16953
 
 
16954
 
# Double-quote double-evaled strings.
16955
 
for var in reload_cmds \
16956
 
old_postinstall_cmds \
16957
 
old_postuninstall_cmds \
16958
 
old_archive_cmds \
16959
 
extract_expsyms_cmds \
16960
 
old_archive_from_new_cmds \
16961
 
old_archive_from_expsyms_cmds \
16962
 
archive_cmds \
16963
 
archive_expsym_cmds \
16964
 
module_cmds \
16965
 
module_expsym_cmds \
16966
 
export_symbols_cmds \
16967
 
prelink_cmds \
16968
 
postlink_cmds \
16969
 
postinstall_cmds \
16970
 
postuninstall_cmds \
16971
 
finish_cmds \
16972
 
sys_lib_search_path_spec \
16973
 
sys_lib_dlsearch_path_spec; do
16974
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16975
 
    *[\\\\\\\`\\"\\\$]*)
16976
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16977
 
      ;;
16978
 
    *)
16979
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16980
 
      ;;
16981
 
    esac
16982
 
done
16983
 
 
16984
 
ac_aux_dir='$ac_aux_dir'
16985
 
xsi_shell='$xsi_shell'
16986
 
lt_shell_append='$lt_shell_append'
16987
 
 
16988
 
# See if we are running on zsh, and set the options which allow our
16989
 
# commands through without removal of \ escapes INIT.
16990
 
if test -n "\${ZSH_VERSION+set}" ; then
16991
 
   setopt NO_GLOB_SUBST
16992
 
fi
16993
 
 
16994
 
 
16995
 
    PACKAGE='$PACKAGE'
16996
 
    VERSION='$VERSION'
16997
 
    TIMESTAMP='$TIMESTAMP'
16998
 
    RM='$RM'
16999
 
    ofile='$ofile'
17000
 
 
17001
 
 
17002
 
 
17003
 
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
17004
 
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17005
 
    # from automake < 1.5.
17006
 
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17007
 
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
17008
 
    LINGUAS="${LINGUAS-%UNSET%}"
17009
 
 
17010
 
 
17011
 
_ACEOF
17012
 
 
17013
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17014
 
 
17015
 
# Handling of arguments.
17016
 
for ac_config_target in $ac_config_targets
17017
 
do
17018
 
  case $ac_config_target in
17019
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17020
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17021
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17022
 
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17023
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17024
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17025
 
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
17026
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17027
 
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17028
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17029
 
    "tools-vala/Makefile") CONFIG_FILES="$CONFIG_FILES tools-vala/Makefile" ;;
17030
 
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17031
 
    "tests/manual/Makefile") CONFIG_FILES="$CONFIG_FILES tests/manual/Makefile" ;;
17032
 
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17033
 
    "docs/man/Makefile") CONFIG_FILES="$CONFIG_FILES docs/man/Makefile" ;;
17034
 
    "docs/devel/Makefile") CONFIG_FILES="$CONFIG_FILES docs/devel/Makefile" ;;
17035
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17036
 
 
17037
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17038
 
  esac
17039
 
done
17040
 
 
17041
 
 
17042
 
# If the user did not use the arguments to specify the items to instantiate,
17043
 
# then the envvar interface is used.  Set only those that are not.
17044
 
# We use the long form for the default assignment because of an extremely
17045
 
# bizarre bug on SunOS 4.1.3.
17046
 
if $ac_need_defaults; then
17047
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17048
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17049
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17050
 
fi
17051
 
 
17052
 
# Have a temporary directory for convenience.  Make it in the build tree
17053
 
# simply because there is no reason against having it here, and in addition,
17054
 
# creating and moving files from /tmp can sometimes cause problems.
17055
 
# Hook for its removal unless debugging.
17056
 
# Note that there is a small window in which the directory will not be cleaned:
17057
 
# after its creation but before its name has been assigned to `$tmp'.
17058
 
$debug ||
17059
 
{
17060
 
  tmp= ac_tmp=
17061
 
  trap 'exit_status=$?
17062
 
  : "${ac_tmp:=$tmp}"
17063
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17064
 
' 0
17065
 
  trap 'as_fn_exit 1' 1 2 13 15
17066
 
}
17067
 
# Create a (secure) tmp directory for tmp files.
17068
 
 
17069
 
{
17070
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17071
 
  test -d "$tmp"
17072
 
}  ||
17073
 
{
17074
 
  tmp=./conf$$-$RANDOM
17075
 
  (umask 077 && mkdir "$tmp")
17076
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17077
 
ac_tmp=$tmp
17078
 
 
17079
 
# Set up the scripts for CONFIG_FILES section.
17080
 
# No need to generate them if there are no CONFIG_FILES.
17081
 
# This happens for instance with `./config.status config.h'.
17082
 
if test -n "$CONFIG_FILES"; then
17083
 
 
17084
 
 
17085
 
ac_cr=`echo X | tr X '\015'`
17086
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17087
 
# But we know of no other shell where ac_cr would be empty at this
17088
 
# point, so we can use a bashism as a fallback.
17089
 
if test "x$ac_cr" = x; then
17090
 
  eval ac_cr=\$\'\\r\'
17091
 
fi
17092
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17093
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17094
 
  ac_cs_awk_cr='\\r'
17095
 
else
17096
 
  ac_cs_awk_cr=$ac_cr
17097
 
fi
17098
 
 
17099
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17100
 
_ACEOF
17101
 
 
17102
 
 
17103
 
{
17104
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
17105
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17106
 
  echo "_ACEOF"
17107
 
} >conf$$subs.sh ||
17108
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17109
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17110
 
ac_delim='%!_!# '
17111
 
for ac_last_try in false false false false false :; do
17112
 
  . ./conf$$subs.sh ||
17113
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17114
 
 
17115
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17116
 
  if test $ac_delim_n = $ac_delim_num; then
17117
 
    break
17118
 
  elif $ac_last_try; then
17119
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17120
 
  else
17121
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17122
 
  fi
17123
 
done
17124
 
rm -f conf$$subs.sh
17125
 
 
17126
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17127
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17128
 
_ACEOF
17129
 
sed -n '
17130
 
h
17131
 
s/^/S["/; s/!.*/"]=/
17132
 
p
17133
 
g
17134
 
s/^[^!]*!//
17135
 
:repl
17136
 
t repl
17137
 
s/'"$ac_delim"'$//
17138
 
t delim
17139
 
:nl
17140
 
h
17141
 
s/\(.\{148\}\)..*/\1/
17142
 
t more1
17143
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17144
 
p
17145
 
n
17146
 
b repl
17147
 
:more1
17148
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17149
 
p
17150
 
g
17151
 
s/.\{148\}//
17152
 
t nl
17153
 
:delim
17154
 
h
17155
 
s/\(.\{148\}\)..*/\1/
17156
 
t more2
17157
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
17158
 
p
17159
 
b
17160
 
:more2
17161
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17162
 
p
17163
 
g
17164
 
s/.\{148\}//
17165
 
t delim
17166
 
' <conf$$subs.awk | sed '
17167
 
/^[^""]/{
17168
 
  N
17169
 
  s/\n//
17170
 
}
17171
 
' >>$CONFIG_STATUS || ac_write_fail=1
17172
 
rm -f conf$$subs.awk
17173
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17174
 
_ACAWK
17175
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17176
 
  for (key in S) S_is_set[key] = 1
17177
 
  FS = ""
17178
 
 
17179
 
}
17180
 
{
17181
 
  line = $ 0
17182
 
  nfields = split(line, field, "@")
17183
 
  substed = 0
17184
 
  len = length(field[1])
17185
 
  for (i = 2; i < nfields; i++) {
17186
 
    key = field[i]
17187
 
    keylen = length(key)
17188
 
    if (S_is_set[key]) {
17189
 
      value = S[key]
17190
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17191
 
      len += length(value) + length(field[++i])
17192
 
      substed = 1
17193
 
    } else
17194
 
      len += 1 + keylen
17195
 
  }
17196
 
 
17197
 
  print line
17198
 
}
17199
 
 
17200
 
_ACAWK
17201
 
_ACEOF
17202
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17203
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17204
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17205
 
else
17206
 
  cat
17207
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17208
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17209
 
_ACEOF
17210
 
 
17211
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17212
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17213
 
# trailing colons and then remove the whole line if VPATH becomes empty
17214
 
# (actually we leave an empty line to preserve line numbers).
17215
 
if test "x$srcdir" = x.; then
17216
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17217
 
h
17218
 
s///
17219
 
s/^/:/
17220
 
s/[      ]*$/:/
17221
 
s/:\$(srcdir):/:/g
17222
 
s/:\${srcdir}:/:/g
17223
 
s/:@srcdir@:/:/g
17224
 
s/^:*//
17225
 
s/:*$//
17226
 
x
17227
 
s/\(=[   ]*\).*/\1/
17228
 
G
17229
 
s/\n//
17230
 
s/^[^=]*=[       ]*$//
17231
 
}'
17232
 
fi
17233
 
 
17234
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17235
 
fi # test -n "$CONFIG_FILES"
17236
 
 
17237
 
# Set up the scripts for CONFIG_HEADERS section.
17238
 
# No need to generate them if there are no CONFIG_HEADERS.
17239
 
# This happens for instance with `./config.status Makefile'.
17240
 
if test -n "$CONFIG_HEADERS"; then
17241
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17242
 
BEGIN {
17243
 
_ACEOF
17244
 
 
17245
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
17246
 
# here-document in config.status, that substitutes the proper values into
17247
 
# config.h.in to produce config.h.
17248
 
 
17249
 
# Create a delimiter string that does not exist in confdefs.h, to ease
17250
 
# handling of long lines.
17251
 
ac_delim='%!_!# '
17252
 
for ac_last_try in false false :; do
17253
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17254
 
  if test -z "$ac_tt"; then
17255
 
    break
17256
 
  elif $ac_last_try; then
17257
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17258
 
  else
17259
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17260
 
  fi
17261
 
done
17262
 
 
17263
 
# For the awk script, D is an array of macro values keyed by name,
17264
 
# likewise P contains macro parameters if any.  Preserve backslash
17265
 
# newline sequences.
17266
 
 
17267
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17268
 
sed -n '
17269
 
s/.\{148\}/&'"$ac_delim"'/g
17270
 
t rset
17271
 
:rset
17272
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
17273
 
t def
17274
 
d
17275
 
:def
17276
 
s/\\$//
17277
 
t bsnl
17278
 
s/["\\]/\\&/g
17279
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17280
 
D["\1"]=" \3"/p
17281
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17282
 
d
17283
 
:bsnl
17284
 
s/["\\]/\\&/g
17285
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17286
 
D["\1"]=" \3\\\\\\n"\\/p
17287
 
t cont
17288
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17289
 
t cont
17290
 
d
17291
 
:cont
17292
 
n
17293
 
s/.\{148\}/&'"$ac_delim"'/g
17294
 
t clear
17295
 
:clear
17296
 
s/\\$//
17297
 
t bsnlc
17298
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17299
 
d
17300
 
:bsnlc
17301
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17302
 
b cont
17303
 
' <confdefs.h | sed '
17304
 
s/'"$ac_delim"'/"\\\
17305
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17306
 
 
17307
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17308
 
  for (key in D) D_is_set[key] = 1
17309
 
  FS = ""
17310
 
}
17311
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17312
 
  line = \$ 0
17313
 
  split(line, arg, " ")
17314
 
  if (arg[1] == "#") {
17315
 
    defundef = arg[2]
17316
 
    mac1 = arg[3]
17317
 
  } else {
17318
 
    defundef = substr(arg[1], 2)
17319
 
    mac1 = arg[2]
17320
 
  }
17321
 
  split(mac1, mac2, "(") #)
17322
 
  macro = mac2[1]
17323
 
  prefix = substr(line, 1, index(line, defundef) - 1)
17324
 
  if (D_is_set[macro]) {
17325
 
    # Preserve the white space surrounding the "#".
17326
 
    print prefix "define", macro P[macro] D[macro]
17327
 
    next
17328
 
  } else {
17329
 
    # Replace #undef with comments.  This is necessary, for example,
17330
 
    # in the case of _POSIX_SOURCE, which is predefined and required
17331
 
    # on some systems where configure will not decide to define it.
17332
 
    if (defundef == "undef") {
17333
 
      print "/*", prefix defundef, macro, "*/"
17334
 
      next
17335
 
    }
17336
 
  }
17337
 
}
17338
 
{ print }
17339
 
_ACAWK
17340
 
_ACEOF
17341
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17342
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17343
 
fi # test -n "$CONFIG_HEADERS"
17344
 
 
17345
 
 
17346
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17347
 
shift
17348
 
for ac_tag
17349
 
do
17350
 
  case $ac_tag in
17351
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
17352
 
  esac
17353
 
  case $ac_mode$ac_tag in
17354
 
  :[FHL]*:*);;
17355
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17356
 
  :[FH]-) ac_tag=-:-;;
17357
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17358
 
  esac
17359
 
  ac_save_IFS=$IFS
17360
 
  IFS=:
17361
 
  set x $ac_tag
17362
 
  IFS=$ac_save_IFS
17363
 
  shift
17364
 
  ac_file=$1
17365
 
  shift
17366
 
 
17367
 
  case $ac_mode in
17368
 
  :L) ac_source=$1;;
17369
 
  :[FH])
17370
 
    ac_file_inputs=
17371
 
    for ac_f
17372
 
    do
17373
 
      case $ac_f in
17374
 
      -) ac_f="$ac_tmp/stdin";;
17375
 
      *) # Look for the file first in the build tree, then in the source tree
17376
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
17377
 
         # because $ac_f cannot contain `:'.
17378
 
         test -f "$ac_f" ||
17379
 
           case $ac_f in
17380
 
           [\\/$]*) false;;
17381
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17382
 
           esac ||
17383
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17384
 
      esac
17385
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17386
 
      as_fn_append ac_file_inputs " '$ac_f'"
17387
 
    done
17388
 
 
17389
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
17390
 
    # use $as_me), people would be surprised to read:
17391
 
    #    /* config.h.  Generated by config.status.  */
17392
 
    configure_input='Generated from '`
17393
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17394
 
        `' by configure.'
17395
 
    if test x"$ac_file" != x-; then
17396
 
      configure_input="$ac_file.  $configure_input"
17397
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17398
 
$as_echo "$as_me: creating $ac_file" >&6;}
17399
 
    fi
17400
 
    # Neutralize special characters interpreted by sed in replacement strings.
17401
 
    case $configure_input in #(
17402
 
    *\&* | *\|* | *\\* )
17403
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
17404
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17405
 
    *) ac_sed_conf_input=$configure_input;;
17406
 
    esac
17407
 
 
17408
 
    case $ac_tag in
17409
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17410
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17411
 
    esac
17412
 
    ;;
17413
 
  esac
17414
 
 
17415
 
  ac_dir=`$as_dirname -- "$ac_file" ||
17416
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17417
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
17418
 
         X"$ac_file" : 'X\(//\)$' \| \
17419
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17420
 
$as_echo X"$ac_file" |
17421
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17422
 
            s//\1/
17423
 
            q
17424
 
          }
17425
 
          /^X\(\/\/\)[^/].*/{
17426
 
            s//\1/
17427
 
            q
17428
 
          }
17429
 
          /^X\(\/\/\)$/{
17430
 
            s//\1/
17431
 
            q
17432
 
          }
17433
 
          /^X\(\/\).*/{
17434
 
            s//\1/
17435
 
            q
17436
 
          }
17437
 
          s/.*/./; q'`
17438
 
  as_dir="$ac_dir"; as_fn_mkdir_p
17439
 
  ac_builddir=.
17440
 
 
17441
 
case "$ac_dir" in
17442
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17443
 
*)
17444
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17445
 
  # A ".." for each directory in $ac_dir_suffix.
17446
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17447
 
  case $ac_top_builddir_sub in
17448
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17449
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17450
 
  esac ;;
17451
 
esac
17452
 
ac_abs_top_builddir=$ac_pwd
17453
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17454
 
# for backward compatibility:
17455
 
ac_top_builddir=$ac_top_build_prefix
17456
 
 
17457
 
case $srcdir in
17458
 
  .)  # We are building in place.
17459
 
    ac_srcdir=.
17460
 
    ac_top_srcdir=$ac_top_builddir_sub
17461
 
    ac_abs_top_srcdir=$ac_pwd ;;
17462
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
17463
 
    ac_srcdir=$srcdir$ac_dir_suffix;
17464
 
    ac_top_srcdir=$srcdir
17465
 
    ac_abs_top_srcdir=$srcdir ;;
17466
 
  *) # Relative name.
17467
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17468
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
17469
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17470
 
esac
17471
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17472
 
 
17473
 
 
17474
 
  case $ac_mode in
17475
 
  :F)
17476
 
  #
17477
 
  # CONFIG_FILE
17478
 
  #
17479
 
 
17480
 
  case $INSTALL in
17481
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17482
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17483
 
  esac
17484
 
  ac_MKDIR_P=$MKDIR_P
17485
 
  case $MKDIR_P in
17486
 
  [\\/$]* | ?:[\\/]* ) ;;
17487
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17488
 
  esac
17489
 
_ACEOF
17490
 
 
17491
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17492
 
# If the template does not know about datarootdir, expand it.
17493
 
# FIXME: This hack should be removed a few years after 2.60.
17494
 
ac_datarootdir_hack=; ac_datarootdir_seen=
17495
 
ac_sed_dataroot='
17496
 
/datarootdir/ {
17497
 
  p
17498
 
  q
17499
 
}
17500
 
/@datadir@/p
17501
 
/@docdir@/p
17502
 
/@infodir@/p
17503
 
/@localedir@/p
17504
 
/@mandir@/p'
17505
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17506
 
*datarootdir*) ac_datarootdir_seen=yes;;
17507
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17508
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17509
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17510
 
_ACEOF
17511
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17512
 
  ac_datarootdir_hack='
17513
 
  s&@datadir@&$datadir&g
17514
 
  s&@docdir@&$docdir&g
17515
 
  s&@infodir@&$infodir&g
17516
 
  s&@localedir@&$localedir&g
17517
 
  s&@mandir@&$mandir&g
17518
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
17519
 
esac
17520
 
_ACEOF
17521
 
 
17522
 
# Neutralize VPATH when `$srcdir' = `.'.
17523
 
# Shell code in configure.ac might set extrasub.
17524
 
# FIXME: do we really want to maintain this feature?
17525
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17526
 
ac_sed_extra="$ac_vpsub
17527
 
$extrasub
17528
 
_ACEOF
17529
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17530
 
:t
17531
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17532
 
s|@configure_input@|$ac_sed_conf_input|;t t
17533
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
17534
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17535
 
s&@srcdir@&$ac_srcdir&;t t
17536
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17537
 
s&@top_srcdir@&$ac_top_srcdir&;t t
17538
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17539
 
s&@builddir@&$ac_builddir&;t t
17540
 
s&@abs_builddir@&$ac_abs_builddir&;t t
17541
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17542
 
s&@INSTALL@&$ac_INSTALL&;t t
17543
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17544
 
$ac_datarootdir_hack
17545
 
"
17546
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17547
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17548
 
 
17549
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17550
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17551
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17552
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17553
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17554
 
which seems to be undefined.  Please make sure it is defined" >&5
17555
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17556
 
which seems to be undefined.  Please make sure it is defined" >&2;}
17557
 
 
17558
 
  rm -f "$ac_tmp/stdin"
17559
 
  case $ac_file in
17560
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17561
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17562
 
  esac \
17563
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17564
 
 ;;
17565
 
  :H)
17566
 
  #
17567
 
  # CONFIG_HEADER
17568
 
  #
17569
 
  if test x"$ac_file" != x-; then
17570
 
    {
17571
 
      $as_echo "/* $configure_input  */" \
17572
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17573
 
    } >"$ac_tmp/config.h" \
17574
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17575
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17576
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17577
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17578
 
    else
17579
 
      rm -f "$ac_file"
17580
 
      mv "$ac_tmp/config.h" "$ac_file" \
17581
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17582
 
    fi
17583
 
  else
17584
 
    $as_echo "/* $configure_input  */" \
17585
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17586
 
      || as_fn_error $? "could not create -" "$LINENO" 5
17587
 
  fi
17588
 
# Compute "$ac_file"'s index in $config_headers.
17589
 
_am_arg="$ac_file"
17590
 
_am_stamp_count=1
17591
 
for _am_header in $config_headers :; do
17592
 
  case $_am_header in
17593
 
    $_am_arg | $_am_arg:* )
17594
 
      break ;;
17595
 
    * )
17596
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17597
 
  esac
17598
 
done
17599
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17600
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17601
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
17602
 
         X"$_am_arg" : 'X\(//\)$' \| \
17603
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17604
 
$as_echo X"$_am_arg" |
17605
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17606
 
            s//\1/
17607
 
            q
17608
 
          }
17609
 
          /^X\(\/\/\)[^/].*/{
17610
 
            s//\1/
17611
 
            q
17612
 
          }
17613
 
          /^X\(\/\/\)$/{
17614
 
            s//\1/
17615
 
            q
17616
 
          }
17617
 
          /^X\(\/\).*/{
17618
 
            s//\1/
17619
 
            q
17620
 
          }
17621
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
17622
 
 ;;
17623
 
 
17624
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17625
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
17626
 
 ;;
17627
 
  esac
17628
 
 
17629
 
 
17630
 
  case $ac_file$ac_mode in
17631
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17632
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17633
 
  # are listed without --file.  Let's play safe and only enable the eval
17634
 
  # if we detect the quoting.
17635
 
  case $CONFIG_FILES in
17636
 
  *\'*) eval set x "$CONFIG_FILES" ;;
17637
 
  *)   set x $CONFIG_FILES ;;
17638
 
  esac
17639
 
  shift
17640
 
  for mf
17641
 
  do
17642
 
    # Strip MF so we end up with the name of the file.
17643
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
17644
 
    # Check whether this is an Automake generated Makefile or not.
17645
 
    # We used to match only the files named `Makefile.in', but
17646
 
    # some people rename them; so instead we look at the file content.
17647
 
    # Grep'ing the first line is not enough: some people post-process
17648
 
    # each Makefile.in and add a new line on top of each file to say so.
17649
 
    # Grep'ing the whole file is not good either: AIX grep has a line
17650
 
    # limit of 2048, but all sed's we know have understand at least 4000.
17651
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17652
 
      dirpart=`$as_dirname -- "$mf" ||
17653
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17654
 
         X"$mf" : 'X\(//\)[^/]' \| \
17655
 
         X"$mf" : 'X\(//\)$' \| \
17656
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17657
 
$as_echo X"$mf" |
17658
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17659
 
            s//\1/
17660
 
            q
17661
 
          }
17662
 
          /^X\(\/\/\)[^/].*/{
17663
 
            s//\1/
17664
 
            q
17665
 
          }
17666
 
          /^X\(\/\/\)$/{
17667
 
            s//\1/
17668
 
            q
17669
 
          }
17670
 
          /^X\(\/\).*/{
17671
 
            s//\1/
17672
 
            q
17673
 
          }
17674
 
          s/.*/./; q'`
17675
 
    else
17676
 
      continue
17677
 
    fi
17678
 
    # Extract the definition of DEPDIR, am__include, and am__quote
17679
 
    # from the Makefile without running `make'.
17680
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17681
 
    test -z "$DEPDIR" && continue
17682
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17683
 
    test -z "am__include" && continue
17684
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17685
 
    # When using ansi2knr, U may be empty or an underscore; expand it
17686
 
    U=`sed -n 's/^U = //p' < "$mf"`
17687
 
    # Find all dependency output files, they are included files with
17688
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17689
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
17690
 
    # expansion.
17691
 
    for file in `sed -n "
17692
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17693
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17694
 
      # Make sure the directory exists.
17695
 
      test -f "$dirpart/$file" && continue
17696
 
      fdir=`$as_dirname -- "$file" ||
17697
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17698
 
         X"$file" : 'X\(//\)[^/]' \| \
17699
 
         X"$file" : 'X\(//\)$' \| \
17700
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17701
 
$as_echo X"$file" |
17702
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17703
 
            s//\1/
17704
 
            q
17705
 
          }
17706
 
          /^X\(\/\/\)[^/].*/{
17707
 
            s//\1/
17708
 
            q
17709
 
          }
17710
 
          /^X\(\/\/\)$/{
17711
 
            s//\1/
17712
 
            q
17713
 
          }
17714
 
          /^X\(\/\).*/{
17715
 
            s//\1/
17716
 
            q
17717
 
          }
17718
 
          s/.*/./; q'`
17719
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17720
 
      # echo "creating $dirpart/$file"
17721
 
      echo '# dummy' > "$dirpart/$file"
17722
 
    done
17723
 
  done
17724
 
}
17725
 
 ;;
17726
 
    "libtool":C)
17727
 
 
17728
 
    # See if we are running on zsh, and set the options which allow our
17729
 
    # commands through without removal of \ escapes.
17730
 
    if test -n "${ZSH_VERSION+set}" ; then
17731
 
      setopt NO_GLOB_SUBST
17732
 
    fi
17733
 
 
17734
 
    cfgfile="${ofile}T"
17735
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17736
 
    $RM "$cfgfile"
17737
 
 
17738
 
    cat <<_LT_EOF >> "$cfgfile"
17739
 
#! $SHELL
17740
 
 
17741
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17742
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17743
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17744
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17745
 
#
17746
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17747
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17748
 
#                 Foundation, Inc.
17749
 
#   Written by Gordon Matzigkeit, 1996
17750
 
#
17751
 
#   This file is part of GNU Libtool.
17752
 
#
17753
 
# GNU Libtool is free software; you can redistribute it and/or
17754
 
# modify it under the terms of the GNU General Public License as
17755
 
# published by the Free Software Foundation; either version 2 of
17756
 
# the License, or (at your option) any later version.
17757
 
#
17758
 
# As a special exception to the GNU General Public License,
17759
 
# if you distribute this file as part of a program or library that
17760
 
# is built using GNU Libtool, you may include this file under the
17761
 
# same distribution terms that you use for the rest of that program.
17762
 
#
17763
 
# GNU Libtool is distributed in the hope that it will be useful,
17764
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17765
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17766
 
# GNU General Public License for more details.
17767
 
#
17768
 
# You should have received a copy of the GNU General Public License
17769
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
17770
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17771
 
# obtained by writing to the Free Software Foundation, Inc.,
17772
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17773
 
 
17774
 
 
17775
 
# The names of the tagged configurations supported by this script.
17776
 
available_tags=""
17777
 
 
17778
 
# ### BEGIN LIBTOOL CONFIG
17779
 
 
17780
 
# Which release of libtool.m4 was used?
17781
 
macro_version=$macro_version
17782
 
macro_revision=$macro_revision
17783
 
 
17784
 
# Whether or not to build shared libraries.
17785
 
build_libtool_libs=$enable_shared
17786
 
 
17787
 
# Whether or not to build static libraries.
17788
 
build_old_libs=$enable_static
17789
 
 
17790
 
# What type of objects to build.
17791
 
pic_mode=$pic_mode
17792
 
 
17793
 
# Whether or not to optimize for fast installation.
17794
 
fast_install=$enable_fast_install
17795
 
 
17796
 
# Shell to use when invoking shell scripts.
17797
 
SHELL=$lt_SHELL
17798
 
 
17799
 
# An echo program that protects backslashes.
17800
 
ECHO=$lt_ECHO
17801
 
 
17802
 
# The PATH separator for the build system.
17803
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
17804
 
 
17805
 
# The host system.
17806
 
host_alias=$host_alias
17807
 
host=$host
17808
 
host_os=$host_os
17809
 
 
17810
 
# The build system.
17811
 
build_alias=$build_alias
17812
 
build=$build
17813
 
build_os=$build_os
17814
 
 
17815
 
# A sed program that does not truncate output.
17816
 
SED=$lt_SED
17817
 
 
17818
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17819
 
Xsed="\$SED -e 1s/^X//"
17820
 
 
17821
 
# A grep program that handles long lines.
17822
 
GREP=$lt_GREP
17823
 
 
17824
 
# An ERE matcher.
17825
 
EGREP=$lt_EGREP
17826
 
 
17827
 
# A literal string matcher.
17828
 
FGREP=$lt_FGREP
17829
 
 
17830
 
# A BSD- or MS-compatible name lister.
17831
 
NM=$lt_NM
17832
 
 
17833
 
# Whether we need soft or hard links.
17834
 
LN_S=$lt_LN_S
17835
 
 
17836
 
# What is the maximum length of a command?
17837
 
max_cmd_len=$max_cmd_len
17838
 
 
17839
 
# Object file suffix (normally "o").
17840
 
objext=$ac_objext
17841
 
 
17842
 
# Executable file suffix (normally "").
17843
 
exeext=$exeext
17844
 
 
17845
 
# whether the shell understands "unset".
17846
 
lt_unset=$lt_unset
17847
 
 
17848
 
# turn spaces into newlines.
17849
 
SP2NL=$lt_lt_SP2NL
17850
 
 
17851
 
# turn newlines into spaces.
17852
 
NL2SP=$lt_lt_NL2SP
17853
 
 
17854
 
# convert \$build file names to \$host format.
17855
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
17856
 
 
17857
 
# convert \$build files to toolchain format.
17858
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17859
 
 
17860
 
# An object symbol dumper.
17861
 
OBJDUMP=$lt_OBJDUMP
17862
 
 
17863
 
# Method to check whether dependent libraries are shared objects.
17864
 
deplibs_check_method=$lt_deplibs_check_method
17865
 
 
17866
 
# Command to use when deplibs_check_method = "file_magic".
17867
 
file_magic_cmd=$lt_file_magic_cmd
17868
 
 
17869
 
# How to find potential files when deplibs_check_method = "file_magic".
17870
 
file_magic_glob=$lt_file_magic_glob
17871
 
 
17872
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17873
 
want_nocaseglob=$lt_want_nocaseglob
17874
 
 
17875
 
# DLL creation program.
17876
 
DLLTOOL=$lt_DLLTOOL
17877
 
 
17878
 
# Command to associate shared and link libraries.
17879
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17880
 
 
17881
 
# The archiver.
17882
 
AR=$lt_AR
17883
 
 
17884
 
# Flags to create an archive.
17885
 
AR_FLAGS=$lt_AR_FLAGS
17886
 
 
17887
 
# How to feed a file listing to the archiver.
17888
 
archiver_list_spec=$lt_archiver_list_spec
17889
 
 
17890
 
# A symbol stripping program.
17891
 
STRIP=$lt_STRIP
17892
 
 
17893
 
# Commands used to install an old-style archive.
17894
 
RANLIB=$lt_RANLIB
17895
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17896
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17897
 
 
17898
 
# Whether to use a lock for old archive extraction.
17899
 
lock_old_archive_extraction=$lock_old_archive_extraction
17900
 
 
17901
 
# A C compiler.
17902
 
LTCC=$lt_CC
17903
 
 
17904
 
# LTCC compiler flags.
17905
 
LTCFLAGS=$lt_CFLAGS
17906
 
 
17907
 
# Take the output of nm and produce a listing of raw symbols and C names.
17908
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17909
 
 
17910
 
# Transform the output of nm in a proper C declaration.
17911
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17912
 
 
17913
 
# Transform the output of nm in a C name address pair.
17914
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17915
 
 
17916
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
17917
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17918
 
 
17919
 
# Specify filename containing input files for \$NM.
17920
 
nm_file_list_spec=$lt_nm_file_list_spec
17921
 
 
17922
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
17923
 
lt_sysroot=$lt_sysroot
17924
 
 
17925
 
# The name of the directory that contains temporary libtool files.
17926
 
objdir=$objdir
17927
 
 
17928
 
# Used to examine libraries when file_magic_cmd begins with "file".
17929
 
MAGIC_CMD=$MAGIC_CMD
17930
 
 
17931
 
# Must we lock files when doing compilation?
17932
 
need_locks=$lt_need_locks
17933
 
 
17934
 
# Manifest tool.
17935
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17936
 
 
17937
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17938
 
DSYMUTIL=$lt_DSYMUTIL
17939
 
 
17940
 
# Tool to change global to local symbols on Mac OS X.
17941
 
NMEDIT=$lt_NMEDIT
17942
 
 
17943
 
# Tool to manipulate fat objects and archives on Mac OS X.
17944
 
LIPO=$lt_LIPO
17945
 
 
17946
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17947
 
OTOOL=$lt_OTOOL
17948
 
 
17949
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17950
 
OTOOL64=$lt_OTOOL64
17951
 
 
17952
 
# Old archive suffix (normally "a").
17953
 
libext=$libext
17954
 
 
17955
 
# Shared library suffix (normally ".so").
17956
 
shrext_cmds=$lt_shrext_cmds
17957
 
 
17958
 
# The commands to extract the exported symbol list from a shared archive.
17959
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17960
 
 
17961
 
# Variables whose values should be saved in libtool wrapper scripts and
17962
 
# restored at link time.
17963
 
variables_saved_for_relink=$lt_variables_saved_for_relink
17964
 
 
17965
 
# Do we need the "lib" prefix for modules?
17966
 
need_lib_prefix=$need_lib_prefix
17967
 
 
17968
 
# Do we need a version for libraries?
17969
 
need_version=$need_version
17970
 
 
17971
 
# Library versioning type.
17972
 
version_type=$version_type
17973
 
 
17974
 
# Shared library runtime path variable.
17975
 
runpath_var=$runpath_var
17976
 
 
17977
 
# Shared library path variable.
17978
 
shlibpath_var=$shlibpath_var
17979
 
 
17980
 
# Is shlibpath searched before the hard-coded library search path?
17981
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17982
 
 
17983
 
# Format of library name prefix.
17984
 
libname_spec=$lt_libname_spec
17985
 
 
17986
 
# List of archive names.  First name is the real one, the rest are links.
17987
 
# The last name is the one that the linker finds with -lNAME
17988
 
library_names_spec=$lt_library_names_spec
17989
 
 
17990
 
# The coded name of the library, if different from the real name.
17991
 
soname_spec=$lt_soname_spec
17992
 
 
17993
 
# Permission mode override for installation of shared libraries.
17994
 
install_override_mode=$lt_install_override_mode
17995
 
 
17996
 
# Command to use after installation of a shared archive.
17997
 
postinstall_cmds=$lt_postinstall_cmds
17998
 
 
17999
 
# Command to use after uninstallation of a shared archive.
18000
 
postuninstall_cmds=$lt_postuninstall_cmds
18001
 
 
18002
 
# Commands used to finish a libtool library installation in a directory.
18003
 
finish_cmds=$lt_finish_cmds
18004
 
 
18005
 
# As "finish_cmds", except a single script fragment to be evaled but
18006
 
# not shown.
18007
 
finish_eval=$lt_finish_eval
18008
 
 
18009
 
# Whether we should hardcode library paths into libraries.
18010
 
hardcode_into_libs=$hardcode_into_libs
18011
 
 
18012
 
# Compile-time system search path for libraries.
18013
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18014
 
 
18015
 
# Run-time system search path for libraries.
18016
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18017
 
 
18018
 
# Whether dlopen is supported.
18019
 
dlopen_support=$enable_dlopen
18020
 
 
18021
 
# Whether dlopen of programs is supported.
18022
 
dlopen_self=$enable_dlopen_self
18023
 
 
18024
 
# Whether dlopen of statically linked programs is supported.
18025
 
dlopen_self_static=$enable_dlopen_self_static
18026
 
 
18027
 
# Commands to strip libraries.
18028
 
old_striplib=$lt_old_striplib
18029
 
striplib=$lt_striplib
18030
 
 
18031
 
 
18032
 
# The linker used to build libraries.
18033
 
LD=$lt_LD
18034
 
 
18035
 
# How to create reloadable object files.
18036
 
reload_flag=$lt_reload_flag
18037
 
reload_cmds=$lt_reload_cmds
18038
 
 
18039
 
# Commands used to build an old-style archive.
18040
 
old_archive_cmds=$lt_old_archive_cmds
18041
 
 
18042
 
# A language specific compiler.
18043
 
CC=$lt_compiler
18044
 
 
18045
 
# Is the compiler the GNU compiler?
18046
 
with_gcc=$GCC
18047
 
 
18048
 
# Compiler flag to turn off builtin functions.
18049
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18050
 
 
18051
 
# Additional compiler flags for building library objects.
18052
 
pic_flag=$lt_lt_prog_compiler_pic
18053
 
 
18054
 
# How to pass a linker flag through the compiler.
18055
 
wl=$lt_lt_prog_compiler_wl
18056
 
 
18057
 
# Compiler flag to prevent dynamic linking.
18058
 
link_static_flag=$lt_lt_prog_compiler_static
18059
 
 
18060
 
# Does compiler simultaneously support -c and -o options?
18061
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18062
 
 
18063
 
# Whether or not to add -lc for building shared libraries.
18064
 
build_libtool_need_lc=$archive_cmds_need_lc
18065
 
 
18066
 
# Whether or not to disallow shared libs when runtime libs are static.
18067
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18068
 
 
18069
 
# Compiler flag to allow reflexive dlopens.
18070
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18071
 
 
18072
 
# Compiler flag to generate shared objects directly from archives.
18073
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18074
 
 
18075
 
# Whether the compiler copes with passing no objects directly.
18076
 
compiler_needs_object=$lt_compiler_needs_object
18077
 
 
18078
 
# Create an old-style archive from a shared archive.
18079
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18080
 
 
18081
 
# Create a temporary old-style archive to link instead of a shared archive.
18082
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18083
 
 
18084
 
# Commands used to build a shared archive.
18085
 
archive_cmds=$lt_archive_cmds
18086
 
archive_expsym_cmds=$lt_archive_expsym_cmds
18087
 
 
18088
 
# Commands used to build a loadable module if different from building
18089
 
# a shared archive.
18090
 
module_cmds=$lt_module_cmds
18091
 
module_expsym_cmds=$lt_module_expsym_cmds
18092
 
 
18093
 
# Whether we are building with GNU ld or not.
18094
 
with_gnu_ld=$lt_with_gnu_ld
18095
 
 
18096
 
# Flag that allows shared libraries with undefined symbols to be built.
18097
 
allow_undefined_flag=$lt_allow_undefined_flag
18098
 
 
18099
 
# Flag that enforces no undefined symbols.
18100
 
no_undefined_flag=$lt_no_undefined_flag
18101
 
 
18102
 
# Flag to hardcode \$libdir into a binary during linking.
18103
 
# This must work even if \$libdir does not exist
18104
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18105
 
 
18106
 
# Whether we need a single "-rpath" flag with a separated argument.
18107
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18108
 
 
18109
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18110
 
# DIR into the resulting binary.
18111
 
hardcode_direct=$hardcode_direct
18112
 
 
18113
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18114
 
# DIR into the resulting binary and the resulting library dependency is
18115
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18116
 
# library is relocated.
18117
 
hardcode_direct_absolute=$hardcode_direct_absolute
18118
 
 
18119
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18120
 
# into the resulting binary.
18121
 
hardcode_minus_L=$hardcode_minus_L
18122
 
 
18123
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18124
 
# into the resulting binary.
18125
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
18126
 
 
18127
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18128
 
# into the library and all subsequent libraries and executables linked
18129
 
# against it.
18130
 
hardcode_automatic=$hardcode_automatic
18131
 
 
18132
 
# Set to yes if linker adds runtime paths of dependent libraries
18133
 
# to runtime path list.
18134
 
inherit_rpath=$inherit_rpath
18135
 
 
18136
 
# Whether libtool must link a program against all its dependency libraries.
18137
 
link_all_deplibs=$link_all_deplibs
18138
 
 
18139
 
# Set to "yes" if exported symbols are required.
18140
 
always_export_symbols=$always_export_symbols
18141
 
 
18142
 
# The commands to list exported symbols.
18143
 
export_symbols_cmds=$lt_export_symbols_cmds
18144
 
 
18145
 
# Symbols that should not be listed in the preloaded symbols.
18146
 
exclude_expsyms=$lt_exclude_expsyms
18147
 
 
18148
 
# Symbols that must always be exported.
18149
 
include_expsyms=$lt_include_expsyms
18150
 
 
18151
 
# Commands necessary for linking programs (against libraries) with templates.
18152
 
prelink_cmds=$lt_prelink_cmds
18153
 
 
18154
 
# Commands necessary for finishing linking programs.
18155
 
postlink_cmds=$lt_postlink_cmds
18156
 
 
18157
 
# Specify filename containing input files.
18158
 
file_list_spec=$lt_file_list_spec
18159
 
 
18160
 
# How to hardcode a shared library path into an executable.
18161
 
hardcode_action=$hardcode_action
18162
 
 
18163
 
# ### END LIBTOOL CONFIG
18164
 
 
18165
 
_LT_EOF
18166
 
 
18167
 
  case $host_os in
18168
 
  aix3*)
18169
 
    cat <<\_LT_EOF >> "$cfgfile"
18170
 
# AIX sometimes has problems with the GCC collect2 program.  For some
18171
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
18172
 
# vanish in a puff of smoke.
18173
 
if test "X${COLLECT_NAMES+set}" != Xset; then
18174
 
  COLLECT_NAMES=
18175
 
  export COLLECT_NAMES
18176
 
fi
18177
 
_LT_EOF
18178
 
    ;;
18179
 
  esac
18180
 
 
18181
 
 
18182
 
ltmain="$ac_aux_dir/ltmain.sh"
18183
 
 
18184
 
 
18185
 
  # We use sed instead of cat because bash on DJGPP gets confused if
18186
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18187
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
18188
 
  # is reportedly fixed, but why not run on old versions too?
18189
 
  sed '$q' "$ltmain" >> "$cfgfile" \
18190
 
     || (rm -f "$cfgfile"; exit 1)
18191
 
 
18192
 
  if test x"$xsi_shell" = xyes; then
18193
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18194
 
func_dirname ()\
18195
 
{\
18196
 
\    case ${1} in\
18197
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
18198
 
\      *  ) func_dirname_result="${3}" ;;\
18199
 
\    esac\
18200
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18201
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18202
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18203
 
test 0 -eq $? || _lt_function_replace_fail=:
18204
 
 
18205
 
 
18206
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18207
 
func_basename ()\
18208
 
{\
18209
 
\    func_basename_result="${1##*/}"\
18210
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18211
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18212
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18213
 
test 0 -eq $? || _lt_function_replace_fail=:
18214
 
 
18215
 
 
18216
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18217
 
func_dirname_and_basename ()\
18218
 
{\
18219
 
\    case ${1} in\
18220
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
18221
 
\      *  ) func_dirname_result="${3}" ;;\
18222
 
\    esac\
18223
 
\    func_basename_result="${1##*/}"\
18224
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18225
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18226
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18227
 
test 0 -eq $? || _lt_function_replace_fail=:
18228
 
 
18229
 
 
18230
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18231
 
func_stripname ()\
18232
 
{\
18233
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18234
 
\    # positional parameters, so assign one to ordinary parameter first.\
18235
 
\    func_stripname_result=${3}\
18236
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
18237
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
18238
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18239
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18240
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18241
 
test 0 -eq $? || _lt_function_replace_fail=:
18242
 
 
18243
 
 
18244
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18245
 
func_split_long_opt ()\
18246
 
{\
18247
 
\    func_split_long_opt_name=${1%%=*}\
18248
 
\    func_split_long_opt_arg=${1#*=}\
18249
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18250
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18251
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18252
 
test 0 -eq $? || _lt_function_replace_fail=:
18253
 
 
18254
 
 
18255
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18256
 
func_split_short_opt ()\
18257
 
{\
18258
 
\    func_split_short_opt_arg=${1#??}\
18259
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18260
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18261
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18262
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18263
 
test 0 -eq $? || _lt_function_replace_fail=:
18264
 
 
18265
 
 
18266
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18267
 
func_lo2o ()\
18268
 
{\
18269
 
\    case ${1} in\
18270
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18271
 
\      *)    func_lo2o_result=${1} ;;\
18272
 
\    esac\
18273
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18274
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18275
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18276
 
test 0 -eq $? || _lt_function_replace_fail=:
18277
 
 
18278
 
 
18279
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18280
 
func_xform ()\
18281
 
{\
18282
 
    func_xform_result=${1%.*}.lo\
18283
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18284
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18285
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18286
 
test 0 -eq $? || _lt_function_replace_fail=:
18287
 
 
18288
 
 
18289
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18290
 
func_arith ()\
18291
 
{\
18292
 
    func_arith_result=$(( $* ))\
18293
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18294
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18295
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18296
 
test 0 -eq $? || _lt_function_replace_fail=:
18297
 
 
18298
 
 
18299
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
18300
 
func_len ()\
18301
 
{\
18302
 
    func_len_result=${#1}\
18303
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18304
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18305
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18306
 
test 0 -eq $? || _lt_function_replace_fail=:
18307
 
 
18308
 
fi
18309
 
 
18310
 
if test x"$lt_shell_append" = xyes; then
18311
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
18312
 
func_append ()\
18313
 
{\
18314
 
    eval "${1}+=\\${2}"\
18315
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18316
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18317
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18318
 
test 0 -eq $? || _lt_function_replace_fail=:
18319
 
 
18320
 
 
18321
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18322
 
func_append_quoted ()\
18323
 
{\
18324
 
\    func_quote_for_eval "${2}"\
18325
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18326
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18327
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18328
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18329
 
test 0 -eq $? || _lt_function_replace_fail=:
18330
 
 
18331
 
 
18332
 
  # Save a `func_append' function call where possible by direct use of '+='
18333
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18334
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
18335
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18336
 
  test 0 -eq $? || _lt_function_replace_fail=:
18337
 
else
18338
 
  # Save a `func_append' function call even when '+=' is not available
18339
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18340
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
18341
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18342
 
  test 0 -eq $? || _lt_function_replace_fail=:
18343
 
fi
18344
 
 
18345
 
if test x"$_lt_function_replace_fail" = x":"; then
18346
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18347
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18348
 
fi
18349
 
 
18350
 
 
18351
 
   mv -f "$cfgfile" "$ofile" ||
18352
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18353
 
  chmod +x "$ofile"
18354
 
 
18355
 
 ;;
18356
 
    "po-directories":C)
18357
 
    for ac_file in $CONFIG_FILES; do
18358
 
      # Support "outfile[:infile[:infile...]]"
18359
 
      case "$ac_file" in
18360
 
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18361
 
      esac
18362
 
      # PO directories have a Makefile.in generated from Makefile.in.in.
18363
 
      case "$ac_file" in */Makefile.in)
18364
 
        # Adjust a relative srcdir.
18365
 
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18366
 
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18367
 
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18368
 
        # In autoconf-2.13 it is called $ac_given_srcdir.
18369
 
        # In autoconf-2.50 it is called $srcdir.
18370
 
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18371
 
        case "$ac_given_srcdir" in
18372
 
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18373
 
          /*) top_srcdir="$ac_given_srcdir" ;;
18374
 
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
18375
 
        esac
18376
 
        # Treat a directory as a PO directory if and only if it has a
18377
 
        # POTFILES.in file. This allows packages to have multiple PO
18378
 
        # directories under different names or in different locations.
18379
 
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18380
 
          rm -f "$ac_dir/POTFILES"
18381
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18382
 
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18383
 
          POMAKEFILEDEPS="POTFILES.in"
18384
 
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18385
 
          # on $ac_dir but don't depend on user-specified configuration
18386
 
          # parameters.
18387
 
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18388
 
            # The LINGUAS file contains the set of available languages.
18389
 
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
18390
 
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18391
 
            fi
18392
 
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18393
 
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
18394
 
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18395
 
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18396
 
          else
18397
 
            # The set of available languages was given in configure.in.
18398
 
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
18399
 
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18400
 
          fi
18401
 
          # Compute POFILES
18402
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18403
 
          # Compute UPDATEPOFILES
18404
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18405
 
          # Compute DUMMYPOFILES
18406
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18407
 
          # Compute GMOFILES
18408
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18409
 
          case "$ac_given_srcdir" in
18410
 
            .) srcdirpre= ;;
18411
 
            *) srcdirpre='$(srcdir)/' ;;
18412
 
          esac
18413
 
          POFILES=
18414
 
          UPDATEPOFILES=
18415
 
          DUMMYPOFILES=
18416
 
          GMOFILES=
18417
 
          for lang in $ALL_LINGUAS; do
18418
 
            POFILES="$POFILES $srcdirpre$lang.po"
18419
 
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18420
 
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18421
 
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18422
 
          done
18423
 
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
18424
 
          # environment variable.
18425
 
          INST_LINGUAS=
18426
 
          if test -n "$ALL_LINGUAS"; then
18427
 
            for presentlang in $ALL_LINGUAS; do
18428
 
              useit=no
18429
 
              if test "%UNSET%" != "$LINGUAS"; then
18430
 
                desiredlanguages="$LINGUAS"
18431
 
              else
18432
 
                desiredlanguages="$ALL_LINGUAS"
18433
 
              fi
18434
 
              for desiredlang in $desiredlanguages; do
18435
 
                # Use the presentlang catalog if desiredlang is
18436
 
                #   a. equal to presentlang, or
18437
 
                #   b. a variant of presentlang (because in this case,
18438
 
                #      presentlang can be used as a fallback for messages
18439
 
                #      which are not translated in the desiredlang catalog).
18440
 
                case "$desiredlang" in
18441
 
                  "$presentlang"*) useit=yes;;
18442
 
                esac
18443
 
              done
18444
 
              if test $useit = yes; then
18445
 
                INST_LINGUAS="$INST_LINGUAS $presentlang"
18446
 
              fi
18447
 
            done
18448
 
          fi
18449
 
          CATALOGS=
18450
 
          if test -n "$INST_LINGUAS"; then
18451
 
            for lang in $INST_LINGUAS; do
18452
 
              CATALOGS="$CATALOGS $lang.gmo"
18453
 
            done
18454
 
          fi
18455
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18456
 
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18457
 
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18458
 
            if test -f "$f"; then
18459
 
              case "$f" in
18460
 
                *.orig | *.bak | *~) ;;
18461
 
                *) cat "$f" >> "$ac_dir/Makefile" ;;
18462
 
              esac
18463
 
            fi
18464
 
          done
18465
 
        fi
18466
 
        ;;
18467
 
      esac
18468
 
    done ;;
18469
 
    "po/stamp-it":C)
18470
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18471
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18472
 
    fi
18473
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18474
 
    >"po/stamp-it.tmp"
18475
 
    sed '/^#/d
18476
 
         s/^[[].*] *//
18477
 
         /^[    ]*$/d
18478
 
        '"s|^|  $ac_top_srcdir/|" \
18479
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18480
 
 
18481
 
    sed '/^POTFILES =/,/[^\\]$/ {
18482
 
                /^POTFILES =/!d
18483
 
                r po/POTFILES
18484
 
          }
18485
 
         ' "po/Makefile.in" >"po/Makefile"
18486
 
    rm -f "po/Makefile.tmp"
18487
 
    mv "po/stamp-it.tmp" "po/stamp-it"
18488
 
   ;;
18489
 
 
18490
 
  esac
18491
 
done # for ac_tag
18492
 
 
18493
 
 
18494
 
as_fn_exit 0
18495
 
_ACEOF
18496
 
ac_clean_files=$ac_clean_files_save
18497
 
 
18498
 
test $ac_write_fail = 0 ||
18499
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18500
 
 
18501
 
 
18502
 
# configure is writing to config.log, and then calls config.status.
18503
 
# config.status does its own redirection, appending to config.log.
18504
 
# Unfortunately, on DOS this fails, as config.log is still kept open
18505
 
# by configure, so config.status won't be able to write to it; its
18506
 
# output is simply discarded.  So we exec the FD to /dev/null,
18507
 
# effectively closing config.log, so it can be properly (re)opened and
18508
 
# appended to by config.status.  When coming back to configure, we
18509
 
# need to make the FD available again.
18510
 
if test "$no_create" != yes; then
18511
 
  ac_cs_success=:
18512
 
  ac_config_status_args=
18513
 
  test "$silent" = yes &&
18514
 
    ac_config_status_args="$ac_config_status_args --quiet"
18515
 
  exec 5>/dev/null
18516
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18517
 
  exec 5>>config.log
18518
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18519
 
  # would make configure fail if this is the last instruction.
18520
 
  $ac_cs_success || as_fn_exit 1
18521
 
fi
18522
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18523
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18524
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18525
 
fi
18526
 
 
18527
 
 
18528
 
###########################
18529
 
# Results
18530
 
###########################
18531
 
 
18532
 
{ $as_echo "$as_me:${as_lineno-$LINENO}:
18533
 
 
18534
 
App Menu Indicator Configuration:
18535
 
 
18536
 
        Prefix:        $prefix
18537
 
        Indicator Dir: $INDICATORDIR
18538
 
        gcov:          $use_gcov
18539
 
        Local Install: $with_localinstall
18540
 
        Test tools:    $have_dbusmenu_jsonloader
18541
 
" >&5
18542
 
$as_echo "$as_me:
18543
 
 
18544
 
App Menu Indicator Configuration:
18545
 
 
18546
 
        Prefix:        $prefix
18547
 
        Indicator Dir: $INDICATORDIR
18548
 
        gcov:          $use_gcov
18549
 
        Local Install: $with_localinstall
18550
 
        Test tools:    $have_dbusmenu_jsonloader
18551
 
" >&6;}