~brunonova/ubuntu/trusty/ibus/lp1240198_2

« back to all changes in this revision

Viewing changes to .pc/proper-gtk-plugin-path.patch/configure

  • Committer: Package Import Robot
  • Author(s): Osamu Aoki
  • Date: 2011-12-07 23:35:51 UTC
  • Revision ID: package-import@ubuntu.com-20111207233551-d4stt82k4oxou4li
Tags: 1.4.0-2
* Fix "The xim doesn't work; the location to install gtk im modules
  doesn't consider multiarch", thanks Steve Langasek.
  (Closes: #642317)
* Fix "checking for ibus support in gtk2 and gtk3 separately", thanks Steve
  Langasek and Osamu Aoki (Closes: #645729)
* Remove old README.source (Closes:#645728)
* Add README.Debian to improve documentation. (Closes: #600414) 
* Breaks should be used instead of Conflicts for versioned case.

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.68 for ibus 1.4.0.
 
4
#
 
5
# Report bugs to <http://code.google.com/p/ibus/issues/entry>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
 
18
 
 
19
# Be more Bourne compatible
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22
  emulate sh
 
23
  NULLCMD=:
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
25
  # is contrary to our usage.  Disable this feature.
 
26
  alias -g '${1+"$@"}'='"$@"'
 
27
  setopt NO_GLOB_SUBST
 
28
else
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
 
34
esac
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
 
75
 
 
76
# The user is always right.
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
 
83
fi
 
84
 
 
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
IFS=" ""        $as_nl"
 
92
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
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
if test "x$CONFIG_SHELL" = x; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
 
187
  as_have_required=yes
 
188
else
 
189
  as_have_required=no
 
190
fi
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
 
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
197
do
 
198
  IFS=$as_save_IFS
 
199
  test -z "$as_dir" && as_dir=.
 
200
  as_found=:
 
201
  case $as_dir in #(
 
202
         /*)
 
203
           for as_base in sh bash ksh sh5; do
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
 
213
           done;;
 
214
       esac
 
215
  as_found=false
 
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
 
221
IFS=$as_save_IFS
 
222
 
 
223
 
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
232
        export CONFIG_SHELL
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: http://code.google.com/p/ibus/issues/entry about your
 
251
$0: system, including any error possibly output before this
 
252
$0: message. Then install a modern shell, or manually run
 
253
$0: the script under such a shell if you do have one."
 
254
  fi
 
255
  exit 1
 
256
fi
 
257
fi
 
258
fi
 
259
SHELL=${CONFIG_SHELL-/bin/sh}
 
260
export SHELL
 
261
# Unset more variables known to interfere with behavior of common tools.
 
262
CLICOLOR_FORCE= GREP_OPTIONS=
 
263
unset CLICOLOR_FORCE GREP_OPTIONS
 
264
 
 
265
## --------------------- ##
 
266
## M4sh Shell Functions. ##
 
267
## --------------------- ##
 
268
# as_fn_unset VAR
 
269
# ---------------
 
270
# Portably unset VAR.
 
271
as_fn_unset ()
 
272
{
 
273
  { eval $1=; unset $1;}
 
274
}
 
275
as_unset=as_fn_unset
 
276
 
 
277
# as_fn_set_status STATUS
 
278
# -----------------------
 
279
# Set $? to STATUS, without forking.
 
280
as_fn_set_status ()
 
281
{
 
282
  return $1
 
283
} # as_fn_set_status
 
284
 
 
285
# as_fn_exit STATUS
 
286
# -----------------
 
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
288
as_fn_exit ()
 
289
{
 
290
  set +e
 
291
  as_fn_set_status $1
 
292
  exit $1
 
293
} # as_fn_exit
 
294
 
 
295
# as_fn_mkdir_p
 
296
# -------------
 
297
# Create "$as_dir" as a directory, including parents if necessary.
 
298
as_fn_mkdir_p ()
 
299
{
 
300
 
 
301
  case $as_dir in #(
 
302
  -*) as_dir=./$as_dir;;
 
303
  esac
 
304
  test -d "$as_dir" || eval $as_mkdir_p || {
 
305
    as_dirs=
 
306
    while :; do
 
307
      case $as_dir in #(
 
308
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
309
      *) as_qdir=$as_dir;;
 
310
      esac
 
311
      as_dirs="'$as_qdir' $as_dirs"
 
312
      as_dir=`$as_dirname -- "$as_dir" ||
 
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
314
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
315
         X"$as_dir" : 'X\(//\)$' \| \
 
316
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
317
$as_echo X"$as_dir" |
 
318
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\/\)[^/].*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          /^X\(\/\/\)$/{
 
327
            s//\1/
 
328
            q
 
329
          }
 
330
          /^X\(\/\).*/{
 
331
            s//\1/
 
332
            q
 
333
          }
 
334
          s/.*/./; q'`
 
335
      test -d "$as_dir" && break
 
336
    done
 
337
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
338
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
339
 
 
340
 
 
341
} # as_fn_mkdir_p
 
342
# as_fn_append VAR VALUE
 
343
# ----------------------
 
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
345
# advantage of any shell optimizations that allow amortized linear growth over
 
346
# repeated appends, instead of the typical quadratic growth present in naive
 
347
# implementations.
 
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
349
  eval 'as_fn_append ()
 
350
  {
 
351
    eval $1+=\$2
 
352
  }'
 
353
else
 
354
  as_fn_append ()
 
355
  {
 
356
    eval $1=\$$1\$2
 
357
  }
 
358
fi # as_fn_append
 
359
 
 
360
# as_fn_arith ARG...
 
361
# ------------------
 
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
364
# must be portable across $(()) and expr.
 
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
366
  eval 'as_fn_arith ()
 
367
  {
 
368
    as_val=$(( $* ))
 
369
  }'
 
370
else
 
371
  as_fn_arith ()
 
372
  {
 
373
    as_val=`expr "$@" || test $? -eq 1`
 
374
  }
 
375
fi # as_fn_arith
 
376
 
 
377
 
 
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
379
# ----------------------------------------
 
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
382
# script with STATUS, using 1 if that was 0.
 
383
as_fn_error ()
 
384
{
 
385
  as_status=$1; test $as_status -eq 0 && as_status=1
 
386
  if test "$4"; then
 
387
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
388
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
389
  fi
 
390
  $as_echo "$as_me: error: $2" >&2
 
391
  as_fn_exit $as_status
 
392
} # as_fn_error
 
393
 
 
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
395
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
396
  as_expr=expr
 
397
else
 
398
  as_expr=false
 
399
fi
 
400
 
 
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
402
  as_basename=basename
 
403
else
 
404
  as_basename=false
 
405
fi
 
406
 
 
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
408
  as_dirname=dirname
 
409
else
 
410
  as_dirname=false
 
411
fi
 
412
 
 
413
as_me=`$as_basename -- "$0" ||
 
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
415
         X"$0" : 'X\(//\)$' \| \
 
416
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
417
$as_echo X/"$0" |
 
418
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          /^X\/\(\/\/\)$/{
 
423
            s//\1/
 
424
            q
 
425
          }
 
426
          /^X\/\(\/\).*/{
 
427
            s//\1/
 
428
            q
 
429
          }
 
430
          s/.*/./; q'`
 
431
 
 
432
# Avoid depending upon Character Ranges.
 
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
436
as_cr_digits='0123456789'
 
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
438
 
 
439
 
 
440
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
441
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
442
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
443
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
444
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
445
  sed -n '
 
446
    p
 
447
    /[$]LINENO/=
 
448
  ' <$as_myself |
 
449
    sed '
 
450
      s/[$]LINENO.*/&-/
 
451
      t lineno
 
452
      b
 
453
      :lineno
 
454
      N
 
455
      :loop
 
456
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
457
      t loop
 
458
      s/-\n.*//
 
459
    ' >$as_me.lineno &&
 
460
  chmod +x "$as_me.lineno" ||
 
461
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
462
 
 
463
  # Don't try to exec as it changes $[0], causing all sort of problems
 
464
  # (the dirname of $[0] is not the place where we might find the
 
465
  # original and so on.  Autoconf is especially sensitive to this).
 
466
  . "./$as_me.lineno"
 
467
  # Exit status is that of the last command.
 
468
  exit
 
469
}
 
470
 
 
471
ECHO_C= ECHO_N= ECHO_T=
 
472
case `echo -n x` in #(((((
 
473
-n*)
 
474
  case `echo 'xy\c'` in
 
475
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
476
  xy)  ECHO_C='\c';;
 
477
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
478
       ECHO_T=' ';;
 
479
  esac;;
 
480
*)
 
481
  ECHO_N='-n';;
 
482
esac
 
483
 
 
484
rm -f conf$$ conf$$.exe conf$$.file
 
485
if test -d conf$$.dir; then
 
486
  rm -f conf$$.dir/conf$$.file
 
487
else
 
488
  rm -f conf$$.dir
 
489
  mkdir conf$$.dir 2>/dev/null
 
490
fi
 
491
if (echo >conf$$.file) 2>/dev/null; then
 
492
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
493
    as_ln_s='ln -s'
 
494
    # ... but there are two gotchas:
 
495
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
496
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
497
    # In both cases, we have to default to `cp -p'.
 
498
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
499
      as_ln_s='cp -p'
 
500
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
501
    as_ln_s=ln
 
502
  else
 
503
    as_ln_s='cp -p'
 
504
  fi
 
505
else
 
506
  as_ln_s='cp -p'
 
507
fi
 
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
509
rmdir conf$$.dir 2>/dev/null
 
510
 
 
511
if mkdir -p . 2>/dev/null; then
 
512
  as_mkdir_p='mkdir -p "$as_dir"'
 
513
else
 
514
  test -d ./-p && rmdir ./-p
 
515
  as_mkdir_p=false
 
516
fi
 
517
 
 
518
if test -x / >/dev/null 2>&1; then
 
519
  as_test_x='test -x'
 
520
else
 
521
  if ls -dL / >/dev/null 2>&1; then
 
522
    as_ls_L_option=L
 
523
  else
 
524
    as_ls_L_option=
 
525
  fi
 
526
  as_test_x='
 
527
    eval sh -c '\''
 
528
      if test -d "$1"; then
 
529
        test -d "$1/.";
 
530
      else
 
531
        case $1 in #(
 
532
        -*)set "./$1";;
 
533
        esac;
 
534
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
535
        ???[sx]*):;;*)false;;esac;fi
 
536
    '\'' sh
 
537
  '
 
538
fi
 
539
as_executable_p=$as_test_x
 
540
 
 
541
# Sed expression to map a string onto a valid CPP name.
 
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
543
 
 
544
# Sed expression to map a string onto a valid variable name.
 
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
546
 
 
547
SHELL=${CONFIG_SHELL-/bin/sh}
 
548
 
 
549
 
 
550
test -n "$DJDIR" || exec 7<&0 </dev/null
 
551
exec 6>&1
 
552
 
 
553
# Name of the host.
 
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
555
# so uname gets run too.
 
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
557
 
 
558
#
 
559
# Initializations.
 
560
#
 
561
ac_default_prefix=/usr/local
 
562
ac_clean_files=
 
563
ac_config_libobj_dir=.
 
564
LIBOBJS=
 
565
cross_compiling=no
 
566
subdirs=
 
567
MFLAGS=
 
568
MAKEFLAGS=
 
569
 
 
570
# Identity of this package.
 
571
PACKAGE_NAME='ibus'
 
572
PACKAGE_TARNAME='ibus'
 
573
PACKAGE_VERSION='1.4.0'
 
574
PACKAGE_STRING='ibus 1.4.0'
 
575
PACKAGE_BUGREPORT='http://code.google.com/p/ibus/issues/entry'
 
576
PACKAGE_URL=''
 
577
 
 
578
# Factoring default headers for most tests.
 
579
ac_includes_default="\
 
580
#include <stdio.h>
 
581
#ifdef HAVE_SYS_TYPES_H
 
582
# include <sys/types.h>
 
583
#endif
 
584
#ifdef HAVE_SYS_STAT_H
 
585
# include <sys/stat.h>
 
586
#endif
 
587
#ifdef STDC_HEADERS
 
588
# include <stdlib.h>
 
589
# include <stddef.h>
 
590
#else
 
591
# ifdef HAVE_STDLIB_H
 
592
#  include <stdlib.h>
 
593
# endif
 
594
#endif
 
595
#ifdef HAVE_STRING_H
 
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
597
#  include <memory.h>
 
598
# endif
 
599
# include <string.h>
 
600
#endif
 
601
#ifdef HAVE_STRINGS_H
 
602
# include <strings.h>
 
603
#endif
 
604
#ifdef HAVE_INTTYPES_H
 
605
# include <inttypes.h>
 
606
#endif
 
607
#ifdef HAVE_STDINT_H
 
608
# include <stdint.h>
 
609
#endif
 
610
#ifdef HAVE_UNISTD_H
 
611
# include <unistd.h>
 
612
#endif"
 
613
 
 
614
ac_subst_vars='am__EXEEXT_FALSE
 
615
am__EXEEXT_TRUE
 
616
LTLIBOBJS
 
617
LIBOBJS
 
618
ISOCODES_PREFIX
 
619
ISOCODES_LIBS
 
620
ISOCODES_CFLAGS
 
621
IBUS_ICON_KEYBOARD
 
622
DBUS_PYTHON_LIBS
 
623
DBUS_PYTHON_CFLAGS
 
624
GTK3_IM_MODULEDIR
 
625
GTK2_IM_MODULEDIR
 
626
PYTHON_LIBS
 
627
PYTHON_INCLUDES
 
628
PYTHON_CFLAGS
 
629
PYTHON_CONFIG
 
630
pkgpyexecdir
 
631
pyexecdir
 
632
pkgpythondir
 
633
pythondir
 
634
PYTHON_PLATFORM
 
635
PYTHON_EXEC_PREFIX
 
636
PYTHON_PREFIX
 
637
PYTHON_VERSION
 
638
PYTHON
 
639
ENABLE_DAEMON_FALSE
 
640
ENABLE_DAEMON_TRUE
 
641
ENABLE_PYTHON_FALSE
 
642
ENABLE_PYTHON_TRUE
 
643
ENV_IBUS_TEST
 
644
ENABLE_DCONF_FALSE
 
645
ENABLE_DCONF_TRUE
 
646
GSETTINGS_RULES
 
647
GLIB_COMPILE_SCHEMAS
 
648
gsettingsschemadir
 
649
GSETTINGS_DISABLE_SCHEMAS_COMPILE
 
650
DCONF_LIBS
 
651
DCONF_CFLAGS
 
652
ENABLE_MEMCONF_FALSE
 
653
ENABLE_MEMCONF_TRUE
 
654
GCONF_SCHEMAS_INSTALL_FALSE
 
655
GCONF_SCHEMAS_INSTALL_TRUE
 
656
GCONF_SCHEMA_FILE_DIR
 
657
GCONF_SCHEMA_CONFIG_SOURCE
 
658
GCONFTOOL
 
659
GCONF_LIBS
 
660
GCONF_CFLAGS
 
661
ENABLE_GCONF_FALSE
 
662
ENABLE_GCONF_TRUE
 
663
DBUS_LIBS
 
664
DBUS_CFLAGS
 
665
GTK_DOC_USE_REBASE_FALSE
 
666
GTK_DOC_USE_REBASE_TRUE
 
667
GTK_DOC_USE_LIBTOOL_FALSE
 
668
GTK_DOC_USE_LIBTOOL_TRUE
 
669
GTK_DOC_BUILD_PDF_FALSE
 
670
GTK_DOC_BUILD_PDF_TRUE
 
671
GTK_DOC_BUILD_HTML_FALSE
 
672
GTK_DOC_BUILD_HTML_TRUE
 
673
ENABLE_GTK_DOC_FALSE
 
674
ENABLE_GTK_DOC_TRUE
 
675
HTML_DIR
 
676
GTKDOC_MKPDF
 
677
GTKDOC_REBASE
 
678
GTKDOC_CHECK
 
679
IBUS_GIR_SCANNERFLAGS
 
680
HAVE_INTROSPECTION_FALSE
 
681
HAVE_INTROSPECTION_TRUE
 
682
INTROSPECTION_MAKEFILE
 
683
INTROSPECTION_LIBS
 
684
INTROSPECTION_CFLAGS
 
685
INTROSPECTION_TYPELIBDIR
 
686
INTROSPECTION_GIRDIR
 
687
INTROSPECTION_GENERATE
 
688
INTROSPECTION_COMPILER
 
689
INTROSPECTION_SCANNER
 
690
X11_LIBS
 
691
X11_CFLAGS
 
692
GDK3_LIBS
 
693
GDK3_CFLAGS
 
694
GTK3_LIBS
 
695
GTK3_CFLAGS
 
696
GDK2_LIBS
 
697
GDK2_CFLAGS
 
698
GTK2_LIBS
 
699
GTK2_CFLAGS
 
700
ENABLE_VALA_FALSE
 
701
ENABLE_VALA_TRUE
 
702
ENABLE_XIM_FALSE
 
703
ENABLE_XIM_TRUE
 
704
ENABLE_GTK3_FALSE
 
705
ENABLE_GTK3_TRUE
 
706
ENABLE_GTK2_FALSE
 
707
ENABLE_GTK2_TRUE
 
708
GTHREAD2_LIBS
 
709
GTHREAD2_CFLAGS
 
710
GIO2_LIBS
 
711
GIO2_CFLAGS
 
712
GOBJECT2_LIBS
 
713
GOBJECT2_CFLAGS
 
714
GLIB2_LIBS
 
715
GLIB2_CFLAGS
 
716
GLIB_MKENUMS
 
717
GOBJECT_QUERY
 
718
GLIB_GENMARSHAL
 
719
GLIB_LIBS
 
720
GLIB_CFLAGS
 
721
PKG_CONFIG_LIBDIR
 
722
PKG_CONFIG_PATH
 
723
PKG_CONFIG
 
724
ALL_LINGUAS
 
725
INTLTOOL_PERL
 
726
MSGMERGE
 
727
INTLTOOL_POLICY_RULE
 
728
INTLTOOL_SERVICE_RULE
 
729
INTLTOOL_THEME_RULE
 
730
INTLTOOL_SCHEMAS_RULE
 
731
INTLTOOL_CAVES_RULE
 
732
INTLTOOL_XML_NOMERGE_RULE
 
733
INTLTOOL_XML_RULE
 
734
INTLTOOL_KBD_RULE
 
735
INTLTOOL_XAM_RULE
 
736
INTLTOOL_UI_RULE
 
737
INTLTOOL_SOUNDLIST_RULE
 
738
INTLTOOL_SHEET_RULE
 
739
INTLTOOL_SERVER_RULE
 
740
INTLTOOL_PONG_RULE
 
741
INTLTOOL_OAF_RULE
 
742
INTLTOOL_PROP_RULE
 
743
INTLTOOL_KEYS_RULE
 
744
INTLTOOL_DIRECTORY_RULE
 
745
INTLTOOL_DESKTOP_RULE
 
746
INTLTOOL_EXTRACT
 
747
INTLTOOL_MERGE
 
748
INTLTOOL_UPDATE
 
749
OTOOL64
 
750
OTOOL
 
751
LIPO
 
752
NMEDIT
 
753
DSYMUTIL
 
754
MANIFEST_TOOL
 
755
RANLIB
 
756
ac_ct_AR
 
757
AR
 
758
DLLTOOL
 
759
OBJDUMP
 
760
LN_S
 
761
NM
 
762
ac_ct_DUMPBIN
 
763
DUMPBIN
 
764
LD
 
765
FGREP
 
766
SED
 
767
host_os
 
768
host_vendor
 
769
host_cpu
 
770
host
 
771
build_os
 
772
build_vendor
 
773
build_cpu
 
774
build
 
775
LIBTOOL
 
776
MKINSTALLDIRS
 
777
POSUB
 
778
POFILES
 
779
PO_IN_DATADIR_FALSE
 
780
PO_IN_DATADIR_TRUE
 
781
INTLLIBS
 
782
INSTOBJEXT
 
783
GMOFILES
 
784
DATADIRNAME
 
785
CATOBJEXT
 
786
CATALOGS
 
787
XGETTEXT
 
788
GMSGFMT
 
789
MSGFMT_OPTS
 
790
MSGFMT
 
791
USE_NLS
 
792
DATE_DISPLAY
 
793
GETTEXT_PACKAGE
 
794
LT_CURRENT_MINUS_AGE
 
795
LT_VERSION_INFO
 
796
IBUS_BINARY_VERSION
 
797
IBUS_VERSION
 
798
IBUS_API_VERSION
 
799
IBUS_BINARY_AGE
 
800
IBUS_INTERFACE_AGE
 
801
IBUS_MICRO_VERSION
 
802
IBUS_MINOR_VERSION
 
803
IBUS_MAJOR_VERSION
 
804
AM_BACKSLASH
 
805
AM_DEFAULT_VERBOSITY
 
806
EGREP
 
807
GREP
 
808
CPP
 
809
am__fastdepCC_FALSE
 
810
am__fastdepCC_TRUE
 
811
CCDEPMODE
 
812
AMDEPBACKSLASH
 
813
AMDEP_FALSE
 
814
AMDEP_TRUE
 
815
am__quote
 
816
am__include
 
817
DEPDIR
 
818
OBJEXT
 
819
EXEEXT
 
820
ac_ct_CC
 
821
CPPFLAGS
 
822
LDFLAGS
 
823
CFLAGS
 
824
CC
 
825
MAINT
 
826
MAINTAINER_MODE_FALSE
 
827
MAINTAINER_MODE_TRUE
 
828
am__untar
 
829
am__tar
 
830
AMTAR
 
831
am__leading_dot
 
832
SET_MAKE
 
833
AWK
 
834
mkdir_p
 
835
MKDIR_P
 
836
INSTALL_STRIP_PROGRAM
 
837
STRIP
 
838
install_sh
 
839
MAKEINFO
 
840
AUTOHEADER
 
841
AUTOMAKE
 
842
AUTOCONF
 
843
ACLOCAL
 
844
VERSION
 
845
PACKAGE
 
846
CYGPATH_W
 
847
am__isrc
 
848
INSTALL_DATA
 
849
INSTALL_SCRIPT
 
850
INSTALL_PROGRAM
 
851
target_alias
 
852
host_alias
 
853
build_alias
 
854
LIBS
 
855
ECHO_T
 
856
ECHO_N
 
857
ECHO_C
 
858
DEFS
 
859
mandir
 
860
localedir
 
861
libdir
 
862
psdir
 
863
pdfdir
 
864
dvidir
 
865
htmldir
 
866
infodir
 
867
docdir
 
868
oldincludedir
 
869
includedir
 
870
localstatedir
 
871
sharedstatedir
 
872
sysconfdir
 
873
datadir
 
874
datarootdir
 
875
libexecdir
 
876
sbindir
 
877
bindir
 
878
program_transform_name
 
879
prefix
 
880
exec_prefix
 
881
PACKAGE_URL
 
882
PACKAGE_BUGREPORT
 
883
PACKAGE_STRING
 
884
PACKAGE_VERSION
 
885
PACKAGE_TARNAME
 
886
PACKAGE_NAME
 
887
PATH_SEPARATOR
 
888
SHELL'
 
889
ac_subst_files=''
 
890
ac_user_opts='
 
891
enable_option_checking
 
892
enable_maintainer_mode
 
893
enable_dependency_tracking
 
894
enable_silent_rules
 
895
enable_static
 
896
enable_shared
 
897
with_pic
 
898
enable_fast_install
 
899
with_gnu_ld
 
900
with_sysroot
 
901
enable_libtool_lock
 
902
enable_nls
 
903
enable_glibtest
 
904
enable_gtk2
 
905
enable_gtk3
 
906
enable_xim
 
907
enable_vala
 
908
enable_introspection
 
909
with_html_dir
 
910
enable_gtk_doc
 
911
enable_gtk_doc_html
 
912
enable_gtk_doc_pdf
 
913
enable_gconf
 
914
with_gconf_source
 
915
with_gconf_schema_file_dir
 
916
enable_schemas_install
 
917
enable_memconf
 
918
enable_dconf
 
919
enable_schemas_compile
 
920
enable_python
 
921
with_gtk2_im_module_dir
 
922
with_gtk3_im_module_dir
 
923
enable_dbus_python_check
 
924
enable_key_snooper
 
925
with_no_snooper_apps
 
926
with_panel_icon_keyboard
 
927
enable_surrounding_text
 
928
'
 
929
      ac_precious_vars='build_alias
 
930
host_alias
 
931
target_alias
 
932
CC
 
933
CFLAGS
 
934
LDFLAGS
 
935
LIBS
 
936
CPPFLAGS
 
937
CPP
 
938
PKG_CONFIG
 
939
PKG_CONFIG_PATH
 
940
PKG_CONFIG_LIBDIR
 
941
GLIB2_CFLAGS
 
942
GLIB2_LIBS
 
943
GOBJECT2_CFLAGS
 
944
GOBJECT2_LIBS
 
945
GIO2_CFLAGS
 
946
GIO2_LIBS
 
947
GTHREAD2_CFLAGS
 
948
GTHREAD2_LIBS
 
949
GTK2_CFLAGS
 
950
GTK2_LIBS
 
951
GDK2_CFLAGS
 
952
GDK2_LIBS
 
953
GTK3_CFLAGS
 
954
GTK3_LIBS
 
955
GDK3_CFLAGS
 
956
GDK3_LIBS
 
957
X11_CFLAGS
 
958
X11_LIBS
 
959
DBUS_CFLAGS
 
960
DBUS_LIBS
 
961
GCONF_CFLAGS
 
962
GCONF_LIBS
 
963
DCONF_CFLAGS
 
964
DCONF_LIBS
 
965
DBUS_PYTHON_CFLAGS
 
966
DBUS_PYTHON_LIBS
 
967
ISOCODES_CFLAGS
 
968
ISOCODES_LIBS'
 
969
 
 
970
 
 
971
# Initialize some variables set by options.
 
972
ac_init_help=
 
973
ac_init_version=false
 
974
ac_unrecognized_opts=
 
975
ac_unrecognized_sep=
 
976
# The variables have the same names as the options, with
 
977
# dashes changed to underlines.
 
978
cache_file=/dev/null
 
979
exec_prefix=NONE
 
980
no_create=
 
981
no_recursion=
 
982
prefix=NONE
 
983
program_prefix=NONE
 
984
program_suffix=NONE
 
985
program_transform_name=s,x,x,
 
986
silent=
 
987
site=
 
988
srcdir=
 
989
verbose=
 
990
x_includes=NONE
 
991
x_libraries=NONE
 
992
 
 
993
# Installation directory options.
 
994
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
995
# and all the variables that are supposed to be based on exec_prefix
 
996
# by default will actually change.
 
997
# Use braces instead of parens because sh, perl, etc. also accept them.
 
998
# (The list follows the same order as the GNU Coding Standards.)
 
999
bindir='${exec_prefix}/bin'
 
1000
sbindir='${exec_prefix}/sbin'
 
1001
libexecdir='${exec_prefix}/libexec'
 
1002
datarootdir='${prefix}/share'
 
1003
datadir='${datarootdir}'
 
1004
sysconfdir='${prefix}/etc'
 
1005
sharedstatedir='${prefix}/com'
 
1006
localstatedir='${prefix}/var'
 
1007
includedir='${prefix}/include'
 
1008
oldincludedir='/usr/include'
 
1009
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1010
infodir='${datarootdir}/info'
 
1011
htmldir='${docdir}'
 
1012
dvidir='${docdir}'
 
1013
pdfdir='${docdir}'
 
1014
psdir='${docdir}'
 
1015
libdir='${exec_prefix}/lib'
 
1016
localedir='${datarootdir}/locale'
 
1017
mandir='${datarootdir}/man'
 
1018
 
 
1019
ac_prev=
 
1020
ac_dashdash=
 
1021
for ac_option
 
1022
do
 
1023
  # If the previous option needs an argument, assign it.
 
1024
  if test -n "$ac_prev"; then
 
1025
    eval $ac_prev=\$ac_option
 
1026
    ac_prev=
 
1027
    continue
 
1028
  fi
 
1029
 
 
1030
  case $ac_option in
 
1031
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1032
  *=)   ac_optarg= ;;
 
1033
  *)    ac_optarg=yes ;;
 
1034
  esac
 
1035
 
 
1036
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1037
 
 
1038
  case $ac_dashdash$ac_option in
 
1039
  --)
 
1040
    ac_dashdash=yes ;;
 
1041
 
 
1042
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1043
    ac_prev=bindir ;;
 
1044
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1045
    bindir=$ac_optarg ;;
 
1046
 
 
1047
  -build | --build | --buil | --bui | --bu)
 
1048
    ac_prev=build_alias ;;
 
1049
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1050
    build_alias=$ac_optarg ;;
 
1051
 
 
1052
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1053
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1054
    ac_prev=cache_file ;;
 
1055
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1056
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1057
    cache_file=$ac_optarg ;;
 
1058
 
 
1059
  --config-cache | -C)
 
1060
    cache_file=config.cache ;;
 
1061
 
 
1062
  -datadir | --datadir | --datadi | --datad)
 
1063
    ac_prev=datadir ;;
 
1064
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1065
    datadir=$ac_optarg ;;
 
1066
 
 
1067
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1068
  | --dataroo | --dataro | --datar)
 
1069
    ac_prev=datarootdir ;;
 
1070
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1071
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1072
    datarootdir=$ac_optarg ;;
 
1073
 
 
1074
  -disable-* | --disable-*)
 
1075
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1076
    # Reject names that are not valid shell variable names.
 
1077
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1078
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1079
    ac_useropt_orig=$ac_useropt
 
1080
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1081
    case $ac_user_opts in
 
1082
      *"
 
1083
"enable_$ac_useropt"
 
1084
"*) ;;
 
1085
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1086
         ac_unrecognized_sep=', ';;
 
1087
    esac
 
1088
    eval enable_$ac_useropt=no ;;
 
1089
 
 
1090
  -docdir | --docdir | --docdi | --doc | --do)
 
1091
    ac_prev=docdir ;;
 
1092
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1093
    docdir=$ac_optarg ;;
 
1094
 
 
1095
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1096
    ac_prev=dvidir ;;
 
1097
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1098
    dvidir=$ac_optarg ;;
 
1099
 
 
1100
  -enable-* | --enable-*)
 
1101
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1102
    # Reject names that are not valid shell variable names.
 
1103
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1104
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1105
    ac_useropt_orig=$ac_useropt
 
1106
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1107
    case $ac_user_opts in
 
1108
      *"
 
1109
"enable_$ac_useropt"
 
1110
"*) ;;
 
1111
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1112
         ac_unrecognized_sep=', ';;
 
1113
    esac
 
1114
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1115
 
 
1116
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1117
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1118
  | --exec | --exe | --ex)
 
1119
    ac_prev=exec_prefix ;;
 
1120
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1121
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1122
  | --exec=* | --exe=* | --ex=*)
 
1123
    exec_prefix=$ac_optarg ;;
 
1124
 
 
1125
  -gas | --gas | --ga | --g)
 
1126
    # Obsolete; use --with-gas.
 
1127
    with_gas=yes ;;
 
1128
 
 
1129
  -help | --help | --hel | --he | -h)
 
1130
    ac_init_help=long ;;
 
1131
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1132
    ac_init_help=recursive ;;
 
1133
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1134
    ac_init_help=short ;;
 
1135
 
 
1136
  -host | --host | --hos | --ho)
 
1137
    ac_prev=host_alias ;;
 
1138
  -host=* | --host=* | --hos=* | --ho=*)
 
1139
    host_alias=$ac_optarg ;;
 
1140
 
 
1141
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1142
    ac_prev=htmldir ;;
 
1143
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1144
  | --ht=*)
 
1145
    htmldir=$ac_optarg ;;
 
1146
 
 
1147
  -includedir | --includedir | --includedi | --included | --include \
 
1148
  | --includ | --inclu | --incl | --inc)
 
1149
    ac_prev=includedir ;;
 
1150
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1151
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1152
    includedir=$ac_optarg ;;
 
1153
 
 
1154
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1155
    ac_prev=infodir ;;
 
1156
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1157
    infodir=$ac_optarg ;;
 
1158
 
 
1159
  -libdir | --libdir | --libdi | --libd)
 
1160
    ac_prev=libdir ;;
 
1161
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1162
    libdir=$ac_optarg ;;
 
1163
 
 
1164
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1165
  | --libexe | --libex | --libe)
 
1166
    ac_prev=libexecdir ;;
 
1167
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1168
  | --libexe=* | --libex=* | --libe=*)
 
1169
    libexecdir=$ac_optarg ;;
 
1170
 
 
1171
  -localedir | --localedir | --localedi | --localed | --locale)
 
1172
    ac_prev=localedir ;;
 
1173
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1174
    localedir=$ac_optarg ;;
 
1175
 
 
1176
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1177
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1178
    ac_prev=localstatedir ;;
 
1179
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1180
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1181
    localstatedir=$ac_optarg ;;
 
1182
 
 
1183
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1184
    ac_prev=mandir ;;
 
1185
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1186
    mandir=$ac_optarg ;;
 
1187
 
 
1188
  -nfp | --nfp | --nf)
 
1189
    # Obsolete; use --without-fp.
 
1190
    with_fp=no ;;
 
1191
 
 
1192
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1193
  | --no-cr | --no-c | -n)
 
1194
    no_create=yes ;;
 
1195
 
 
1196
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1197
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1198
    no_recursion=yes ;;
 
1199
 
 
1200
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1201
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1202
  | --oldin | --oldi | --old | --ol | --o)
 
1203
    ac_prev=oldincludedir ;;
 
1204
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1205
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1206
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1207
    oldincludedir=$ac_optarg ;;
 
1208
 
 
1209
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1210
    ac_prev=prefix ;;
 
1211
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1212
    prefix=$ac_optarg ;;
 
1213
 
 
1214
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1215
  | --program-pre | --program-pr | --program-p)
 
1216
    ac_prev=program_prefix ;;
 
1217
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1218
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1219
    program_prefix=$ac_optarg ;;
 
1220
 
 
1221
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1222
  | --program-suf | --program-su | --program-s)
 
1223
    ac_prev=program_suffix ;;
 
1224
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1225
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1226
    program_suffix=$ac_optarg ;;
 
1227
 
 
1228
  -program-transform-name | --program-transform-name \
 
1229
  | --program-transform-nam | --program-transform-na \
 
1230
  | --program-transform-n | --program-transform- \
 
1231
  | --program-transform | --program-transfor \
 
1232
  | --program-transfo | --program-transf \
 
1233
  | --program-trans | --program-tran \
 
1234
  | --progr-tra | --program-tr | --program-t)
 
1235
    ac_prev=program_transform_name ;;
 
1236
  -program-transform-name=* | --program-transform-name=* \
 
1237
  | --program-transform-nam=* | --program-transform-na=* \
 
1238
  | --program-transform-n=* | --program-transform-=* \
 
1239
  | --program-transform=* | --program-transfor=* \
 
1240
  | --program-transfo=* | --program-transf=* \
 
1241
  | --program-trans=* | --program-tran=* \
 
1242
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1243
    program_transform_name=$ac_optarg ;;
 
1244
 
 
1245
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1246
    ac_prev=pdfdir ;;
 
1247
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1248
    pdfdir=$ac_optarg ;;
 
1249
 
 
1250
  -psdir | --psdir | --psdi | --psd | --ps)
 
1251
    ac_prev=psdir ;;
 
1252
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1253
    psdir=$ac_optarg ;;
 
1254
 
 
1255
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1256
  | -silent | --silent | --silen | --sile | --sil)
 
1257
    silent=yes ;;
 
1258
 
 
1259
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1260
    ac_prev=sbindir ;;
 
1261
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1262
  | --sbi=* | --sb=*)
 
1263
    sbindir=$ac_optarg ;;
 
1264
 
 
1265
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1266
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1267
  | --sharedst | --shareds | --shared | --share | --shar \
 
1268
  | --sha | --sh)
 
1269
    ac_prev=sharedstatedir ;;
 
1270
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1271
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1272
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1273
  | --sha=* | --sh=*)
 
1274
    sharedstatedir=$ac_optarg ;;
 
1275
 
 
1276
  -site | --site | --sit)
 
1277
    ac_prev=site ;;
 
1278
  -site=* | --site=* | --sit=*)
 
1279
    site=$ac_optarg ;;
 
1280
 
 
1281
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1282
    ac_prev=srcdir ;;
 
1283
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1284
    srcdir=$ac_optarg ;;
 
1285
 
 
1286
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1287
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1288
    ac_prev=sysconfdir ;;
 
1289
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1290
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1291
    sysconfdir=$ac_optarg ;;
 
1292
 
 
1293
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1294
    ac_prev=target_alias ;;
 
1295
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1296
    target_alias=$ac_optarg ;;
 
1297
 
 
1298
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1299
    verbose=yes ;;
 
1300
 
 
1301
  -version | --version | --versio | --versi | --vers | -V)
 
1302
    ac_init_version=: ;;
 
1303
 
 
1304
  -with-* | --with-*)
 
1305
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1306
    # Reject names that are not valid shell variable names.
 
1307
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1308
      as_fn_error $? "invalid package name: $ac_useropt"
 
1309
    ac_useropt_orig=$ac_useropt
 
1310
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1311
    case $ac_user_opts in
 
1312
      *"
 
1313
"with_$ac_useropt"
 
1314
"*) ;;
 
1315
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1316
         ac_unrecognized_sep=', ';;
 
1317
    esac
 
1318
    eval with_$ac_useropt=\$ac_optarg ;;
 
1319
 
 
1320
  -without-* | --without-*)
 
1321
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1322
    # Reject names that are not valid shell variable names.
 
1323
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1324
      as_fn_error $? "invalid package name: $ac_useropt"
 
1325
    ac_useropt_orig=$ac_useropt
 
1326
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1327
    case $ac_user_opts in
 
1328
      *"
 
1329
"with_$ac_useropt"
 
1330
"*) ;;
 
1331
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1332
         ac_unrecognized_sep=', ';;
 
1333
    esac
 
1334
    eval with_$ac_useropt=no ;;
 
1335
 
 
1336
  --x)
 
1337
    # Obsolete; use --with-x.
 
1338
    with_x=yes ;;
 
1339
 
 
1340
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1341
  | --x-incl | --x-inc | --x-in | --x-i)
 
1342
    ac_prev=x_includes ;;
 
1343
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1344
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1345
    x_includes=$ac_optarg ;;
 
1346
 
 
1347
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1348
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1349
    ac_prev=x_libraries ;;
 
1350
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1351
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1352
    x_libraries=$ac_optarg ;;
 
1353
 
 
1354
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1355
Try \`$0 --help' for more information"
 
1356
    ;;
 
1357
 
 
1358
  *=*)
 
1359
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1360
    # Reject names that are not valid shell variable names.
 
1361
    case $ac_envvar in #(
 
1362
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1363
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1364
    esac
 
1365
    eval $ac_envvar=\$ac_optarg
 
1366
    export $ac_envvar ;;
 
1367
 
 
1368
  *)
 
1369
    # FIXME: should be removed in autoconf 3.0.
 
1370
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1371
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1372
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1373
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1374
    ;;
 
1375
 
 
1376
  esac
 
1377
done
 
1378
 
 
1379
if test -n "$ac_prev"; then
 
1380
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1381
  as_fn_error $? "missing argument to $ac_option"
 
1382
fi
 
1383
 
 
1384
if test -n "$ac_unrecognized_opts"; then
 
1385
  case $enable_option_checking in
 
1386
    no) ;;
 
1387
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1388
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1389
  esac
 
1390
fi
 
1391
 
 
1392
# Check all directory arguments for consistency.
 
1393
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1394
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1395
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1396
                libdir localedir mandir
 
1397
do
 
1398
  eval ac_val=\$$ac_var
 
1399
  # Remove trailing slashes.
 
1400
  case $ac_val in
 
1401
    */ )
 
1402
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1403
      eval $ac_var=\$ac_val;;
 
1404
  esac
 
1405
  # Be sure to have absolute directory names.
 
1406
  case $ac_val in
 
1407
    [\\/$]* | ?:[\\/]* )  continue;;
 
1408
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1409
  esac
 
1410
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1411
done
 
1412
 
 
1413
# There might be people who depend on the old broken behavior: `$host'
 
1414
# used to hold the argument of --host etc.
 
1415
# FIXME: To remove some day.
 
1416
build=$build_alias
 
1417
host=$host_alias
 
1418
target=$target_alias
 
1419
 
 
1420
# FIXME: To remove some day.
 
1421
if test "x$host_alias" != x; then
 
1422
  if test "x$build_alias" = x; then
 
1423
    cross_compiling=maybe
 
1424
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1425
    If a cross compiler is detected then cross compile mode will be used" >&2
 
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 ibus 1.4.0 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 [DATAROOTDIR/doc/ibus]
 
1560
  --htmldir=DIR           html documentation [DOCDIR]
 
1561
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1562
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1563
  --psdir=DIR             ps documentation [DOCDIR]
 
1564
_ACEOF
 
1565
 
 
1566
  cat <<\_ACEOF
 
1567
 
 
1568
Program names:
 
1569
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1570
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1571
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1572
 
 
1573
System types:
 
1574
  --build=BUILD     configure for building on BUILD [guessed]
 
1575
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1576
_ACEOF
 
1577
fi
 
1578
 
 
1579
if test -n "$ac_init_help"; then
 
1580
  case $ac_init_help in
 
1581
     short | recursive ) echo "Configuration of ibus 1.4.0:";;
 
1582
   esac
 
1583
  cat <<\_ACEOF
 
1584
 
 
1585
Optional Features:
 
1586
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1587
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1588
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1589
  --disable-maintainer-mode  disable make rules and dependencies not useful
 
1590
                          (and sometimes confusing) to the casual installer
 
1591
  --disable-dependency-tracking  speeds up one-time build
 
1592
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1593
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1594
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1595
  --enable-static[=PKGS]  build static libraries [default=no]
 
1596
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1597
  --enable-fast-install[=PKGS]
 
1598
                          optimize for fast installation [default=yes]
 
1599
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1600
  --disable-nls           do not use Native Language Support
 
1601
  --disable-glibtest      do not try to compile and run a test GLIB program
 
1602
  --disable-gtk2          Do not build gtk2 im module
 
1603
  --disable-gtk3          Build gtk3 im module
 
1604
  --disable-xim           Do not build xim server
 
1605
  --disable-vala          Do not build ibus vala binding
 
1606
  --enable-introspection=[no/auto/yes]
 
1607
                          Enable introspection for this build
 
1608
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1609
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1610
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
 
1611
  --disable-gconf         Do not use GConf code
 
1612
  --disable-schemas-install
 
1613
                          Disable the schemas installation
 
1614
  --enable-memconf        Enable configure base on memory
 
1615
  --enable-dconf          Enable configure base on dconf
 
1616
  --disable-schemas-compile
 
1617
                          Disable regeneration of gschemas.compiled on install
 
1618
  --disable-python        Do not use Python code
 
1619
  --disable-dbus-python-check
 
1620
                          Do not check dbus-python
 
1621
  --disable-key-snooper   Always disable key snooper in gtk im module
 
1622
  --enable-surrounding-text
 
1623
                          Enable surrounding-text support
 
1624
 
 
1625
Optional Packages:
 
1626
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1627
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1628
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1629
                          both]
 
1630
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1631
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1632
                        (or the compiler's sysroot if not specified).
 
1633
  --with-html-dir=PATH    path to installed docs
 
1634
  --with-gconf-source=sourceaddress
 
1635
                          Config database for installing schema files.
 
1636
  --with-gconf-schema-file-dir=dir
 
1637
                          Directory for installing schema files.
 
1638
  --with-gtk2-im-module-dir=DIR
 
1639
                          Select gtk2 immodule dir
 
1640
  --with-gtk3-im-module-dir=DIR
 
1641
                          Select gtk3 immodule dir
 
1642
  --with-no-snooper-apps=regex1,regex2
 
1643
                          Does not enable keyboard snooper in those
 
1644
                          applications (like: .*chrome.*,firefox.*)
 
1645
  --with-panel-icon-keyboard=icon_name
 
1646
                          Set the default panel icon (default:
 
1647
                          "input-keyboard-symbolic")
 
1648
 
 
1649
Some influential environment variables:
 
1650
  CC          C compiler command
 
1651
  CFLAGS      C compiler flags
 
1652
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1653
              nonstandard directory <lib dir>
 
1654
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1655
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1656
              you have headers in a nonstandard directory <include dir>
 
1657
  CPP         C preprocessor
 
1658
  PKG_CONFIG  path to pkg-config utility
 
1659
  PKG_CONFIG_PATH
 
1660
              directories to add to pkg-config's search path
 
1661
  PKG_CONFIG_LIBDIR
 
1662
              path overriding pkg-config's built-in search path
 
1663
  GLIB2_CFLAGS
 
1664
              C compiler flags for GLIB2, overriding pkg-config
 
1665
  GLIB2_LIBS  linker flags for GLIB2, overriding pkg-config
 
1666
  GOBJECT2_CFLAGS
 
1667
              C compiler flags for GOBJECT2, overriding pkg-config
 
1668
  GOBJECT2_LIBS
 
1669
              linker flags for GOBJECT2, overriding pkg-config
 
1670
  GIO2_CFLAGS C compiler flags for GIO2, overriding pkg-config
 
1671
  GIO2_LIBS   linker flags for GIO2, overriding pkg-config
 
1672
  GTHREAD2_CFLAGS
 
1673
              C compiler flags for GTHREAD2, overriding pkg-config
 
1674
  GTHREAD2_LIBS
 
1675
              linker flags for GTHREAD2, overriding pkg-config
 
1676
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
 
1677
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
 
1678
  GDK2_CFLAGS C compiler flags for GDK2, overriding pkg-config
 
1679
  GDK2_LIBS   linker flags for GDK2, overriding pkg-config
 
1680
  GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
 
1681
  GTK3_LIBS   linker flags for GTK3, overriding pkg-config
 
1682
  GDK3_CFLAGS C compiler flags for GDK3, overriding pkg-config
 
1683
  GDK3_LIBS   linker flags for GDK3, overriding pkg-config
 
1684
  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
 
1685
  X11_LIBS    linker flags for X11, overriding pkg-config
 
1686
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
 
1687
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
 
1688
  GCONF_CFLAGS
 
1689
              C compiler flags for GCONF, overriding pkg-config
 
1690
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
 
1691
  DCONF_CFLAGS
 
1692
              C compiler flags for DCONF, overriding pkg-config
 
1693
  DCONF_LIBS  linker flags for DCONF, overriding pkg-config
 
1694
  DBUS_PYTHON_CFLAGS
 
1695
              C compiler flags for DBUS_PYTHON, overriding pkg-config
 
1696
  DBUS_PYTHON_LIBS
 
1697
              linker flags for DBUS_PYTHON, overriding pkg-config
 
1698
  ISOCODES_CFLAGS
 
1699
              C compiler flags for ISOCODES, overriding pkg-config
 
1700
  ISOCODES_LIBS
 
1701
              linker flags for ISOCODES, overriding pkg-config
 
1702
 
 
1703
Use these variables to override the choices made by `configure' or to help
 
1704
it to find libraries and programs with nonstandard names/locations.
 
1705
 
 
1706
Report bugs to <http://code.google.com/p/ibus/issues/entry>.
 
1707
_ACEOF
 
1708
ac_status=$?
 
1709
fi
 
1710
 
 
1711
if test "$ac_init_help" = "recursive"; then
 
1712
  # If there are subdirs, report their specific --help.
 
1713
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1714
    test -d "$ac_dir" ||
 
1715
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1716
      continue
 
1717
    ac_builddir=.
 
1718
 
 
1719
case "$ac_dir" in
 
1720
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1721
*)
 
1722
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1723
  # A ".." for each directory in $ac_dir_suffix.
 
1724
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1725
  case $ac_top_builddir_sub in
 
1726
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1727
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1728
  esac ;;
 
1729
esac
 
1730
ac_abs_top_builddir=$ac_pwd
 
1731
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1732
# for backward compatibility:
 
1733
ac_top_builddir=$ac_top_build_prefix
 
1734
 
 
1735
case $srcdir in
 
1736
  .)  # We are building in place.
 
1737
    ac_srcdir=.
 
1738
    ac_top_srcdir=$ac_top_builddir_sub
 
1739
    ac_abs_top_srcdir=$ac_pwd ;;
 
1740
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1741
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1742
    ac_top_srcdir=$srcdir
 
1743
    ac_abs_top_srcdir=$srcdir ;;
 
1744
  *) # Relative name.
 
1745
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1746
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1747
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1748
esac
 
1749
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1750
 
 
1751
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1752
    # Check for guested configure.
 
1753
    if test -f "$ac_srcdir/configure.gnu"; then
 
1754
      echo &&
 
1755
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1756
    elif test -f "$ac_srcdir/configure"; then
 
1757
      echo &&
 
1758
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1759
    else
 
1760
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1761
    fi || ac_status=$?
 
1762
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1763
  done
 
1764
fi
 
1765
 
 
1766
test -n "$ac_init_help" && exit $ac_status
 
1767
if $ac_init_version; then
 
1768
  cat <<\_ACEOF
 
1769
ibus configure 1.4.0
 
1770
generated by GNU Autoconf 2.68
 
1771
 
 
1772
Copyright (C) 2010 Free Software Foundation, Inc.
 
1773
This configure script is free software; the Free Software Foundation
 
1774
gives unlimited permission to copy, distribute and modify it.
 
1775
_ACEOF
 
1776
  exit
 
1777
fi
 
1778
 
 
1779
## ------------------------ ##
 
1780
## Autoconf initialization. ##
 
1781
## ------------------------ ##
 
1782
 
 
1783
# ac_fn_c_try_compile LINENO
 
1784
# --------------------------
 
1785
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1786
ac_fn_c_try_compile ()
 
1787
{
 
1788
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1789
  rm -f conftest.$ac_objext
 
1790
  if { { ac_try="$ac_compile"
 
1791
case "(($ac_try" in
 
1792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1793
  *) ac_try_echo=$ac_try;;
 
1794
esac
 
1795
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1796
$as_echo "$ac_try_echo"; } >&5
 
1797
  (eval "$ac_compile") 2>conftest.err
 
1798
  ac_status=$?
 
1799
  if test -s conftest.err; then
 
1800
    grep -v '^ *+' conftest.err >conftest.er1
 
1801
    cat conftest.er1 >&5
 
1802
    mv -f conftest.er1 conftest.err
 
1803
  fi
 
1804
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1805
  test $ac_status = 0; } && {
 
1806
         test -z "$ac_c_werror_flag" ||
 
1807
         test ! -s conftest.err
 
1808
       } && test -s conftest.$ac_objext; then :
 
1809
  ac_retval=0
 
1810
else
 
1811
  $as_echo "$as_me: failed program was:" >&5
 
1812
sed 's/^/| /' conftest.$ac_ext >&5
 
1813
 
 
1814
        ac_retval=1
 
1815
fi
 
1816
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1817
  as_fn_set_status $ac_retval
 
1818
 
 
1819
} # ac_fn_c_try_compile
 
1820
 
 
1821
# ac_fn_c_try_cpp LINENO
 
1822
# ----------------------
 
1823
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1824
ac_fn_c_try_cpp ()
 
1825
{
 
1826
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1827
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1828
case "(($ac_try" in
 
1829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1830
  *) ac_try_echo=$ac_try;;
 
1831
esac
 
1832
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1833
$as_echo "$ac_try_echo"; } >&5
 
1834
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1835
  ac_status=$?
 
1836
  if test -s conftest.err; then
 
1837
    grep -v '^ *+' conftest.err >conftest.er1
 
1838
    cat conftest.er1 >&5
 
1839
    mv -f conftest.er1 conftest.err
 
1840
  fi
 
1841
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1842
  test $ac_status = 0; } > conftest.i && {
 
1843
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1844
         test ! -s conftest.err
 
1845
       }; then :
 
1846
  ac_retval=0
 
1847
else
 
1848
  $as_echo "$as_me: failed program was:" >&5
 
1849
sed 's/^/| /' conftest.$ac_ext >&5
 
1850
 
 
1851
    ac_retval=1
 
1852
fi
 
1853
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1854
  as_fn_set_status $ac_retval
 
1855
 
 
1856
} # ac_fn_c_try_cpp
 
1857
 
 
1858
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1859
# -------------------------------------------------------
 
1860
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1861
# the include files in INCLUDES and setting the cache variable VAR
 
1862
# accordingly.
 
1863
ac_fn_c_check_header_mongrel ()
 
1864
{
 
1865
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1866
  if eval \${$3+:} false; then :
 
1867
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1868
$as_echo_n "checking for $2... " >&6; }
 
1869
if eval \${$3+:} false; then :
 
1870
  $as_echo_n "(cached) " >&6
 
1871
fi
 
1872
eval ac_res=\$$3
 
1873
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1874
$as_echo "$ac_res" >&6; }
 
1875
else
 
1876
  # Is the header compilable?
 
1877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1878
$as_echo_n "checking $2 usability... " >&6; }
 
1879
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1880
/* end confdefs.h.  */
 
1881
$4
 
1882
#include <$2>
 
1883
_ACEOF
 
1884
if ac_fn_c_try_compile "$LINENO"; then :
 
1885
  ac_header_compiler=yes
 
1886
else
 
1887
  ac_header_compiler=no
 
1888
fi
 
1889
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1891
$as_echo "$ac_header_compiler" >&6; }
 
1892
 
 
1893
# Is the header present?
 
1894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1895
$as_echo_n "checking $2 presence... " >&6; }
 
1896
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1897
/* end confdefs.h.  */
 
1898
#include <$2>
 
1899
_ACEOF
 
1900
if ac_fn_c_try_cpp "$LINENO"; then :
 
1901
  ac_header_preproc=yes
 
1902
else
 
1903
  ac_header_preproc=no
 
1904
fi
 
1905
rm -f conftest.err conftest.i conftest.$ac_ext
 
1906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1907
$as_echo "$ac_header_preproc" >&6; }
 
1908
 
 
1909
# So?  What about this header?
 
1910
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1911
  yes:no: )
 
1912
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1913
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1914
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1915
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1916
    ;;
 
1917
  no:yes:* )
 
1918
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1919
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1920
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1921
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1922
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1923
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1924
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1925
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1926
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1927
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1928
( $as_echo "## --------------------------------------------------------- ##
 
1929
## Report this to http://code.google.com/p/ibus/issues/entry ##
 
1930
## --------------------------------------------------------- ##"
 
1931
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1932
    ;;
 
1933
esac
 
1934
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1935
$as_echo_n "checking for $2... " >&6; }
 
1936
if eval \${$3+:} false; then :
 
1937
  $as_echo_n "(cached) " >&6
 
1938
else
 
1939
  eval "$3=\$ac_header_compiler"
 
1940
fi
 
1941
eval ac_res=\$$3
 
1942
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1943
$as_echo "$ac_res" >&6; }
 
1944
fi
 
1945
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1946
 
 
1947
} # ac_fn_c_check_header_mongrel
 
1948
 
 
1949
# ac_fn_c_try_run LINENO
 
1950
# ----------------------
 
1951
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1952
# that executables *can* be run.
 
1953
ac_fn_c_try_run ()
 
1954
{
 
1955
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1956
  if { { ac_try="$ac_link"
 
1957
case "(($ac_try" in
 
1958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1959
  *) ac_try_echo=$ac_try;;
 
1960
esac
 
1961
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1962
$as_echo "$ac_try_echo"; } >&5
 
1963
  (eval "$ac_link") 2>&5
 
1964
  ac_status=$?
 
1965
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1966
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1967
  { { case "(($ac_try" in
 
1968
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1969
  *) ac_try_echo=$ac_try;;
 
1970
esac
 
1971
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1972
$as_echo "$ac_try_echo"; } >&5
 
1973
  (eval "$ac_try") 2>&5
 
1974
  ac_status=$?
 
1975
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1976
  test $ac_status = 0; }; }; then :
 
1977
  ac_retval=0
 
1978
else
 
1979
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1980
       $as_echo "$as_me: failed program was:" >&5
 
1981
sed 's/^/| /' conftest.$ac_ext >&5
 
1982
 
 
1983
       ac_retval=$ac_status
 
1984
fi
 
1985
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1986
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1987
  as_fn_set_status $ac_retval
 
1988
 
 
1989
} # ac_fn_c_try_run
 
1990
 
 
1991
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1992
# -------------------------------------------------------
 
1993
# Tests whether HEADER exists and can be compiled using the include files in
 
1994
# INCLUDES, setting the cache variable VAR accordingly.
 
1995
ac_fn_c_check_header_compile ()
 
1996
{
 
1997
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1998
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1999
$as_echo_n "checking for $2... " >&6; }
 
2000
if eval \${$3+:} false; then :
 
2001
  $as_echo_n "(cached) " >&6
 
2002
else
 
2003
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2004
/* end confdefs.h.  */
 
2005
$4
 
2006
#include <$2>
 
2007
_ACEOF
 
2008
if ac_fn_c_try_compile "$LINENO"; then :
 
2009
  eval "$3=yes"
 
2010
else
 
2011
  eval "$3=no"
 
2012
fi
 
2013
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2014
fi
 
2015
eval ac_res=\$$3
 
2016
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2017
$as_echo "$ac_res" >&6; }
 
2018
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2019
 
 
2020
} # ac_fn_c_check_header_compile
 
2021
 
 
2022
# ac_fn_c_try_link LINENO
 
2023
# -----------------------
 
2024
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2025
ac_fn_c_try_link ()
 
2026
{
 
2027
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2028
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2029
  if { { ac_try="$ac_link"
 
2030
case "(($ac_try" in
 
2031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2032
  *) ac_try_echo=$ac_try;;
 
2033
esac
 
2034
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2035
$as_echo "$ac_try_echo"; } >&5
 
2036
  (eval "$ac_link") 2>conftest.err
 
2037
  ac_status=$?
 
2038
  if test -s conftest.err; then
 
2039
    grep -v '^ *+' conftest.err >conftest.er1
 
2040
    cat conftest.er1 >&5
 
2041
    mv -f conftest.er1 conftest.err
 
2042
  fi
 
2043
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2044
  test $ac_status = 0; } && {
 
2045
         test -z "$ac_c_werror_flag" ||
 
2046
         test ! -s conftest.err
 
2047
       } && test -s conftest$ac_exeext && {
 
2048
         test "$cross_compiling" = yes ||
 
2049
         $as_test_x conftest$ac_exeext
 
2050
       }; then :
 
2051
  ac_retval=0
 
2052
else
 
2053
  $as_echo "$as_me: failed program was:" >&5
 
2054
sed 's/^/| /' conftest.$ac_ext >&5
 
2055
 
 
2056
        ac_retval=1
 
2057
fi
 
2058
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2059
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2060
  # interfere with the next link command; also delete a directory that is
 
2061
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2062
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2063
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2064
  as_fn_set_status $ac_retval
 
2065
 
 
2066
} # ac_fn_c_try_link
 
2067
 
 
2068
# ac_fn_c_check_func LINENO FUNC VAR
 
2069
# ----------------------------------
 
2070
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2071
ac_fn_c_check_func ()
 
2072
{
 
2073
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2074
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2075
$as_echo_n "checking for $2... " >&6; }
 
2076
if eval \${$3+:} false; then :
 
2077
  $as_echo_n "(cached) " >&6
 
2078
else
 
2079
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2080
/* end confdefs.h.  */
 
2081
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2082
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2083
#define $2 innocuous_$2
 
2084
 
 
2085
/* System header to define __stub macros and hopefully few prototypes,
 
2086
    which can conflict with char $2 (); below.
 
2087
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2088
    <limits.h> exists even on freestanding compilers.  */
 
2089
 
 
2090
#ifdef __STDC__
 
2091
# include <limits.h>
 
2092
#else
 
2093
# include <assert.h>
 
2094
#endif
 
2095
 
 
2096
#undef $2
 
2097
 
 
2098
/* Override any GCC internal prototype to avoid an error.
 
2099
   Use char because int might match the return type of a GCC
 
2100
   builtin and then its argument prototype would still apply.  */
 
2101
#ifdef __cplusplus
 
2102
extern "C"
 
2103
#endif
 
2104
char $2 ();
 
2105
/* The GNU C library defines this for functions which it implements
 
2106
    to always fail with ENOSYS.  Some functions are actually named
 
2107
    something starting with __ and the normal name is an alias.  */
 
2108
#if defined __stub_$2 || defined __stub___$2
 
2109
choke me
 
2110
#endif
 
2111
 
 
2112
int
 
2113
main ()
 
2114
{
 
2115
return $2 ();
 
2116
  ;
 
2117
  return 0;
 
2118
}
 
2119
_ACEOF
 
2120
if ac_fn_c_try_link "$LINENO"; then :
 
2121
  eval "$3=yes"
 
2122
else
 
2123
  eval "$3=no"
 
2124
fi
 
2125
rm -f core conftest.err conftest.$ac_objext \
 
2126
    conftest$ac_exeext conftest.$ac_ext
 
2127
fi
 
2128
eval ac_res=\$$3
 
2129
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2130
$as_echo "$ac_res" >&6; }
 
2131
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2132
 
 
2133
} # ac_fn_c_check_func
 
2134
cat >config.log <<_ACEOF
 
2135
This file contains any messages produced by compilers while
 
2136
running configure, to aid debugging if configure makes a mistake.
 
2137
 
 
2138
It was created by ibus $as_me 1.4.0, which was
 
2139
generated by GNU Autoconf 2.68.  Invocation command line was
 
2140
 
 
2141
  $ $0 $@
 
2142
 
 
2143
_ACEOF
 
2144
exec 5>>config.log
 
2145
{
 
2146
cat <<_ASUNAME
 
2147
## --------- ##
 
2148
## Platform. ##
 
2149
## --------- ##
 
2150
 
 
2151
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2152
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2153
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2154
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2155
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2156
 
 
2157
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2158
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2159
 
 
2160
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2161
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2162
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2163
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2164
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2165
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2166
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2167
 
 
2168
_ASUNAME
 
2169
 
 
2170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2171
for as_dir in $PATH
 
2172
do
 
2173
  IFS=$as_save_IFS
 
2174
  test -z "$as_dir" && as_dir=.
 
2175
    $as_echo "PATH: $as_dir"
 
2176
  done
 
2177
IFS=$as_save_IFS
 
2178
 
 
2179
} >&5
 
2180
 
 
2181
cat >&5 <<_ACEOF
 
2182
 
 
2183
 
 
2184
## ----------- ##
 
2185
## Core tests. ##
 
2186
## ----------- ##
 
2187
 
 
2188
_ACEOF
 
2189
 
 
2190
 
 
2191
# Keep a trace of the command line.
 
2192
# Strip out --no-create and --no-recursion so they do not pile up.
 
2193
# Strip out --silent because we don't want to record it for future runs.
 
2194
# Also quote any args containing shell meta-characters.
 
2195
# Make two passes to allow for proper duplicate-argument suppression.
 
2196
ac_configure_args=
 
2197
ac_configure_args0=
 
2198
ac_configure_args1=
 
2199
ac_must_keep_next=false
 
2200
for ac_pass in 1 2
 
2201
do
 
2202
  for ac_arg
 
2203
  do
 
2204
    case $ac_arg in
 
2205
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2206
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2207
    | -silent | --silent | --silen | --sile | --sil)
 
2208
      continue ;;
 
2209
    *\'*)
 
2210
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2211
    esac
 
2212
    case $ac_pass in
 
2213
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2214
    2)
 
2215
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2216
      if test $ac_must_keep_next = true; then
 
2217
        ac_must_keep_next=false # Got value, back to normal.
 
2218
      else
 
2219
        case $ac_arg in
 
2220
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2221
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2222
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2223
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2224
            case "$ac_configure_args0 " in
 
2225
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2226
            esac
 
2227
            ;;
 
2228
          -* ) ac_must_keep_next=true ;;
 
2229
        esac
 
2230
      fi
 
2231
      as_fn_append ac_configure_args " '$ac_arg'"
 
2232
      ;;
 
2233
    esac
 
2234
  done
 
2235
done
 
2236
{ ac_configure_args0=; unset ac_configure_args0;}
 
2237
{ ac_configure_args1=; unset ac_configure_args1;}
 
2238
 
 
2239
# When interrupted or exit'd, cleanup temporary files, and complete
 
2240
# config.log.  We remove comments because anyway the quotes in there
 
2241
# would cause problems or look ugly.
 
2242
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2243
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2244
trap 'exit_status=$?
 
2245
  # Save into config.log some information that might help in debugging.
 
2246
  {
 
2247
    echo
 
2248
 
 
2249
    $as_echo "## ---------------- ##
 
2250
## Cache variables. ##
 
2251
## ---------------- ##"
 
2252
    echo
 
2253
    # The following way of writing the cache mishandles newlines in values,
 
2254
(
 
2255
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2256
    eval ac_val=\$$ac_var
 
2257
    case $ac_val in #(
 
2258
    *${as_nl}*)
 
2259
      case $ac_var in #(
 
2260
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2261
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2262
      esac
 
2263
      case $ac_var in #(
 
2264
      _ | IFS | as_nl) ;; #(
 
2265
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2266
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2267
      esac ;;
 
2268
    esac
 
2269
  done
 
2270
  (set) 2>&1 |
 
2271
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2272
    *${as_nl}ac_space=\ *)
 
2273
      sed -n \
 
2274
        "s/'\''/'\''\\\\'\'''\''/g;
 
2275
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2276
      ;; #(
 
2277
    *)
 
2278
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2279
      ;;
 
2280
    esac |
 
2281
    sort
 
2282
)
 
2283
    echo
 
2284
 
 
2285
    $as_echo "## ----------------- ##
 
2286
## Output variables. ##
 
2287
## ----------------- ##"
 
2288
    echo
 
2289
    for ac_var in $ac_subst_vars
 
2290
    do
 
2291
      eval ac_val=\$$ac_var
 
2292
      case $ac_val in
 
2293
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2294
      esac
 
2295
      $as_echo "$ac_var='\''$ac_val'\''"
 
2296
    done | sort
 
2297
    echo
 
2298
 
 
2299
    if test -n "$ac_subst_files"; then
 
2300
      $as_echo "## ------------------- ##
 
2301
## File substitutions. ##
 
2302
## ------------------- ##"
 
2303
      echo
 
2304
      for ac_var in $ac_subst_files
 
2305
      do
 
2306
        eval ac_val=\$$ac_var
 
2307
        case $ac_val in
 
2308
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2309
        esac
 
2310
        $as_echo "$ac_var='\''$ac_val'\''"
 
2311
      done | sort
 
2312
      echo
 
2313
    fi
 
2314
 
 
2315
    if test -s confdefs.h; then
 
2316
      $as_echo "## ----------- ##
 
2317
## confdefs.h. ##
 
2318
## ----------- ##"
 
2319
      echo
 
2320
      cat confdefs.h
 
2321
      echo
 
2322
    fi
 
2323
    test "$ac_signal" != 0 &&
 
2324
      $as_echo "$as_me: caught signal $ac_signal"
 
2325
    $as_echo "$as_me: exit $exit_status"
 
2326
  } >&5
 
2327
  rm -f core *.core core.conftest.* &&
 
2328
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2329
    exit $exit_status
 
2330
' 0
 
2331
for ac_signal in 1 2 13 15; do
 
2332
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2333
done
 
2334
ac_signal=0
 
2335
 
 
2336
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2337
rm -f -r conftest* confdefs.h
 
2338
 
 
2339
$as_echo "/* confdefs.h */" > confdefs.h
 
2340
 
 
2341
# Predefined preprocessor variables.
 
2342
 
 
2343
cat >>confdefs.h <<_ACEOF
 
2344
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2345
_ACEOF
 
2346
 
 
2347
cat >>confdefs.h <<_ACEOF
 
2348
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2349
_ACEOF
 
2350
 
 
2351
cat >>confdefs.h <<_ACEOF
 
2352
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2353
_ACEOF
 
2354
 
 
2355
cat >>confdefs.h <<_ACEOF
 
2356
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2357
_ACEOF
 
2358
 
 
2359
cat >>confdefs.h <<_ACEOF
 
2360
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2361
_ACEOF
 
2362
 
 
2363
cat >>confdefs.h <<_ACEOF
 
2364
#define PACKAGE_URL "$PACKAGE_URL"
 
2365
_ACEOF
 
2366
 
 
2367
 
 
2368
# Let the site file select an alternate cache file if it wants to.
 
2369
# Prefer an explicitly selected file to automatically selected ones.
 
2370
ac_site_file1=NONE
 
2371
ac_site_file2=NONE
 
2372
if test -n "$CONFIG_SITE"; then
 
2373
  # We do not want a PATH search for config.site.
 
2374
  case $CONFIG_SITE in #((
 
2375
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2376
    */*) ac_site_file1=$CONFIG_SITE;;
 
2377
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2378
  esac
 
2379
elif test "x$prefix" != xNONE; then
 
2380
  ac_site_file1=$prefix/share/config.site
 
2381
  ac_site_file2=$prefix/etc/config.site
 
2382
else
 
2383
  ac_site_file1=$ac_default_prefix/share/config.site
 
2384
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2385
fi
 
2386
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2387
do
 
2388
  test "x$ac_site_file" = xNONE && continue
 
2389
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2390
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2391
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2392
    sed 's/^/| /' "$ac_site_file" >&5
 
2393
    . "$ac_site_file" \
 
2394
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2395
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2396
as_fn_error $? "failed to load site script $ac_site_file
 
2397
See \`config.log' for more details" "$LINENO" 5; }
 
2398
  fi
 
2399
done
 
2400
 
 
2401
if test -r "$cache_file"; then
 
2402
  # Some versions of bash will fail to source /dev/null (special files
 
2403
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2404
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2405
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2406
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2407
    case $cache_file in
 
2408
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2409
      *)                      . "./$cache_file";;
 
2410
    esac
 
2411
  fi
 
2412
else
 
2413
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2414
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2415
  >$cache_file
 
2416
fi
 
2417
 
 
2418
# Check that the precious variables saved in the cache have kept the same
 
2419
# value.
 
2420
ac_cache_corrupted=false
 
2421
for ac_var in $ac_precious_vars; do
 
2422
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2423
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2424
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2425
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2426
  case $ac_old_set,$ac_new_set in
 
2427
    set,)
 
2428
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2429
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2430
      ac_cache_corrupted=: ;;
 
2431
    ,set)
 
2432
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2433
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2434
      ac_cache_corrupted=: ;;
 
2435
    ,);;
 
2436
    *)
 
2437
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2438
        # differences in whitespace do not lead to failure.
 
2439
        ac_old_val_w=`echo x $ac_old_val`
 
2440
        ac_new_val_w=`echo x $ac_new_val`
 
2441
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2442
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2443
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2444
          ac_cache_corrupted=:
 
2445
        else
 
2446
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2447
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2448
          eval $ac_var=\$ac_old_val
 
2449
        fi
 
2450
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2451
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2452
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2453
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2454
      fi;;
 
2455
  esac
 
2456
  # Pass precious variables to config.status.
 
2457
  if test "$ac_new_set" = set; then
 
2458
    case $ac_new_val in
 
2459
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2460
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2461
    esac
 
2462
    case " $ac_configure_args " in
 
2463
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2464
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2465
    esac
 
2466
  fi
 
2467
done
 
2468
if $ac_cache_corrupted; then
 
2469
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2470
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2471
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2472
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2473
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2474
fi
 
2475
## -------------------- ##
 
2476
## Main body of script. ##
 
2477
## -------------------- ##
 
2478
 
 
2479
ac_ext=c
 
2480
ac_cpp='$CPP $CPPFLAGS'
 
2481
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2482
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2483
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2484
 
 
2485
 
 
2486
 
 
2487
ac_config_headers="$ac_config_headers config.h"
 
2488
 
 
2489
 
 
2490
 
 
2491
 
 
2492
 
 
2493
# Required versions of other packages.
 
2494
 
 
2495
 
 
2496
 
 
2497
# Init automake.
 
2498
am__api_version='1.11'
 
2499
 
 
2500
ac_aux_dir=
 
2501
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2502
  if test -f "$ac_dir/install-sh"; then
 
2503
    ac_aux_dir=$ac_dir
 
2504
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2505
    break
 
2506
  elif test -f "$ac_dir/install.sh"; then
 
2507
    ac_aux_dir=$ac_dir
 
2508
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2509
    break
 
2510
  elif test -f "$ac_dir/shtool"; then
 
2511
    ac_aux_dir=$ac_dir
 
2512
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2513
    break
 
2514
  fi
 
2515
done
 
2516
if test -z "$ac_aux_dir"; then
 
2517
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2518
fi
 
2519
 
 
2520
# These three variables are undocumented and unsupported,
 
2521
# and are intended to be withdrawn in a future Autoconf release.
 
2522
# They can cause serious problems if a builder's source tree is in a directory
 
2523
# whose full name contains unusual characters.
 
2524
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2525
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2526
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2527
 
 
2528
 
 
2529
# Find a good install program.  We prefer a C program (faster),
 
2530
# so one script is as good as another.  But avoid the broken or
 
2531
# incompatible versions:
 
2532
# SysV /etc/install, /usr/sbin/install
 
2533
# SunOS /usr/etc/install
 
2534
# IRIX /sbin/install
 
2535
# AIX /bin/install
 
2536
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2537
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2538
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2539
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2540
# OS/2's system install, which has a completely different semantic
 
2541
# ./install, which can be erroneously created by make from ./install.sh.
 
2542
# Reject install programs that cannot install multiple files.
 
2543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2544
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2545
if test -z "$INSTALL"; then
 
2546
if ${ac_cv_path_install+:} false; then :
 
2547
  $as_echo_n "(cached) " >&6
 
2548
else
 
2549
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2550
for as_dir in $PATH
 
2551
do
 
2552
  IFS=$as_save_IFS
 
2553
  test -z "$as_dir" && as_dir=.
 
2554
    # Account for people who put trailing slashes in PATH elements.
 
2555
case $as_dir/ in #((
 
2556
  ./ | .// | /[cC]/* | \
 
2557
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2558
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2559
  /usr/ucb/* ) ;;
 
2560
  *)
 
2561
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2562
    # Don't use installbsd from OSF since it installs stuff as root
 
2563
    # by default.
 
2564
    for ac_prog in ginstall scoinst install; do
 
2565
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2566
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2567
          if test $ac_prog = install &&
 
2568
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2569
            # AIX install.  It has an incompatible calling convention.
 
2570
            :
 
2571
          elif test $ac_prog = install &&
 
2572
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2573
            # program-specific install script used by HP pwplus--don't use.
 
2574
            :
 
2575
          else
 
2576
            rm -rf conftest.one conftest.two conftest.dir
 
2577
            echo one > conftest.one
 
2578
            echo two > conftest.two
 
2579
            mkdir conftest.dir
 
2580
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2581
              test -s conftest.one && test -s conftest.two &&
 
2582
              test -s conftest.dir/conftest.one &&
 
2583
              test -s conftest.dir/conftest.two
 
2584
            then
 
2585
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2586
              break 3
 
2587
            fi
 
2588
          fi
 
2589
        fi
 
2590
      done
 
2591
    done
 
2592
    ;;
 
2593
esac
 
2594
 
 
2595
  done
 
2596
IFS=$as_save_IFS
 
2597
 
 
2598
rm -rf conftest.one conftest.two conftest.dir
 
2599
 
 
2600
fi
 
2601
  if test "${ac_cv_path_install+set}" = set; then
 
2602
    INSTALL=$ac_cv_path_install
 
2603
  else
 
2604
    # As a last resort, use the slow shell script.  Don't cache a
 
2605
    # value for INSTALL within a source directory, because that will
 
2606
    # break other packages using the cache if that directory is
 
2607
    # removed, or if the value is a relative name.
 
2608
    INSTALL=$ac_install_sh
 
2609
  fi
 
2610
fi
 
2611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2612
$as_echo "$INSTALL" >&6; }
 
2613
 
 
2614
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2615
# It thinks the first close brace ends the variable substitution.
 
2616
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2617
 
 
2618
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2619
 
 
2620
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2621
 
 
2622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2623
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2624
# Just in case
 
2625
sleep 1
 
2626
echo timestamp > conftest.file
 
2627
# Reject unsafe characters in $srcdir or the absolute working directory
 
2628
# name.  Accept space and tab only in the latter.
 
2629
am_lf='
 
2630
'
 
2631
case `pwd` in
 
2632
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2633
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2634
esac
 
2635
case $srcdir in
 
2636
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2637
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2638
esac
 
2639
 
 
2640
# Do `set' in a subshell so we don't clobber the current shell's
 
2641
# arguments.  Must try -L first in case configure is actually a
 
2642
# symlink; some systems play weird games with the mod time of symlinks
 
2643
# (eg FreeBSD returns the mod time of the symlink's containing
 
2644
# directory).
 
2645
if (
 
2646
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2647
   if test "$*" = "X"; then
 
2648
      # -L didn't work.
 
2649
      set X `ls -t "$srcdir/configure" conftest.file`
 
2650
   fi
 
2651
   rm -f conftest.file
 
2652
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2653
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2654
 
 
2655
      # If neither matched, then we have a broken ls.  This can happen
 
2656
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2657
      # broken ls alias from the environment.  This has actually
 
2658
      # happened.  Such a system could not be considered "sane".
 
2659
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2660
alias in your environment" "$LINENO" 5
 
2661
   fi
 
2662
 
 
2663
   test "$2" = conftest.file
 
2664
   )
 
2665
then
 
2666
   # Ok.
 
2667
   :
 
2668
else
 
2669
   as_fn_error $? "newly created file is older than distributed files!
 
2670
Check your system clock" "$LINENO" 5
 
2671
fi
 
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2673
$as_echo "yes" >&6; }
 
2674
test "$program_prefix" != NONE &&
 
2675
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2676
# Use a double $ so make ignores it.
 
2677
test "$program_suffix" != NONE &&
 
2678
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2679
# Double any \ or $.
 
2680
# By default was `s,x,x', remove it if useless.
 
2681
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2682
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2683
 
 
2684
# expand $ac_aux_dir to an absolute path
 
2685
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2686
 
 
2687
if test x"${MISSING+set}" != xset; then
 
2688
  case $am_aux_dir in
 
2689
  *\ * | *\     *)
 
2690
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2691
  *)
 
2692
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2693
  esac
 
2694
fi
 
2695
# Use eval to expand $SHELL
 
2696
if eval "$MISSING --run true"; then
 
2697
  am_missing_run="$MISSING --run "
 
2698
else
 
2699
  am_missing_run=
 
2700
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2701
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2702
fi
 
2703
 
 
2704
if test x"${install_sh}" != xset; then
 
2705
  case $am_aux_dir in
 
2706
  *\ * | *\     *)
 
2707
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2708
  *)
 
2709
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2710
  esac
 
2711
fi
 
2712
 
 
2713
# Installed binaries are usually stripped using `strip' when the user
 
2714
# run `make install-strip'.  However `strip' might not be the right
 
2715
# tool to use in cross-compilation environments, therefore Automake
 
2716
# will honor the `STRIP' environment variable to overrule this program.
 
2717
if test "$cross_compiling" != no; then
 
2718
  if test -n "$ac_tool_prefix"; then
 
2719
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2720
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2722
$as_echo_n "checking for $ac_word... " >&6; }
 
2723
if ${ac_cv_prog_STRIP+:} false; then :
 
2724
  $as_echo_n "(cached) " >&6
 
2725
else
 
2726
  if test -n "$STRIP"; then
 
2727
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2728
else
 
2729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2730
for as_dir in $PATH
 
2731
do
 
2732
  IFS=$as_save_IFS
 
2733
  test -z "$as_dir" && as_dir=.
 
2734
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2735
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2736
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2737
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2738
    break 2
 
2739
  fi
 
2740
done
 
2741
  done
 
2742
IFS=$as_save_IFS
 
2743
 
 
2744
fi
 
2745
fi
 
2746
STRIP=$ac_cv_prog_STRIP
 
2747
if test -n "$STRIP"; then
 
2748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2749
$as_echo "$STRIP" >&6; }
 
2750
else
 
2751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2752
$as_echo "no" >&6; }
 
2753
fi
 
2754
 
 
2755
 
 
2756
fi
 
2757
if test -z "$ac_cv_prog_STRIP"; then
 
2758
  ac_ct_STRIP=$STRIP
 
2759
  # Extract the first word of "strip", so it can be a program name with args.
 
2760
set dummy strip; ac_word=$2
 
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2762
$as_echo_n "checking for $ac_word... " >&6; }
 
2763
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2764
  $as_echo_n "(cached) " >&6
 
2765
else
 
2766
  if test -n "$ac_ct_STRIP"; then
 
2767
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2768
else
 
2769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2770
for as_dir in $PATH
 
2771
do
 
2772
  IFS=$as_save_IFS
 
2773
  test -z "$as_dir" && as_dir=.
 
2774
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2776
    ac_cv_prog_ac_ct_STRIP="strip"
 
2777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2778
    break 2
 
2779
  fi
 
2780
done
 
2781
  done
 
2782
IFS=$as_save_IFS
 
2783
 
 
2784
fi
 
2785
fi
 
2786
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2787
if test -n "$ac_ct_STRIP"; then
 
2788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2789
$as_echo "$ac_ct_STRIP" >&6; }
 
2790
else
 
2791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2792
$as_echo "no" >&6; }
 
2793
fi
 
2794
 
 
2795
  if test "x$ac_ct_STRIP" = x; then
 
2796
    STRIP=":"
 
2797
  else
 
2798
    case $cross_compiling:$ac_tool_warned in
 
2799
yes:)
 
2800
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2801
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2802
ac_tool_warned=yes ;;
 
2803
esac
 
2804
    STRIP=$ac_ct_STRIP
 
2805
  fi
 
2806
else
 
2807
  STRIP="$ac_cv_prog_STRIP"
 
2808
fi
 
2809
 
 
2810
fi
 
2811
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2812
 
 
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2814
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2815
if test -z "$MKDIR_P"; then
 
2816
  if ${ac_cv_path_mkdir+:} false; then :
 
2817
  $as_echo_n "(cached) " >&6
 
2818
else
 
2819
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2820
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2821
do
 
2822
  IFS=$as_save_IFS
 
2823
  test -z "$as_dir" && as_dir=.
 
2824
    for ac_prog in mkdir gmkdir; do
 
2825
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2826
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2827
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2828
             'mkdir (GNU coreutils) '* | \
 
2829
             'mkdir (coreutils) '* | \
 
2830
             'mkdir (fileutils) '4.1*)
 
2831
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2832
               break 3;;
 
2833
           esac
 
2834
         done
 
2835
       done
 
2836
  done
 
2837
IFS=$as_save_IFS
 
2838
 
 
2839
fi
 
2840
 
 
2841
  test -d ./--version && rmdir ./--version
 
2842
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2843
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2844
  else
 
2845
    # As a last resort, use the slow shell script.  Don't cache a
 
2846
    # value for MKDIR_P within a source directory, because that will
 
2847
    # break other packages using the cache if that directory is
 
2848
    # removed, or if the value is a relative name.
 
2849
    MKDIR_P="$ac_install_sh -d"
 
2850
  fi
 
2851
fi
 
2852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2853
$as_echo "$MKDIR_P" >&6; }
 
2854
 
 
2855
mkdir_p="$MKDIR_P"
 
2856
case $mkdir_p in
 
2857
  [\\/$]* | ?:[\\/]*) ;;
 
2858
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2859
esac
 
2860
 
 
2861
for ac_prog in gawk mawk nawk awk
 
2862
do
 
2863
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2864
set dummy $ac_prog; ac_word=$2
 
2865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2866
$as_echo_n "checking for $ac_word... " >&6; }
 
2867
if ${ac_cv_prog_AWK+:} false; then :
 
2868
  $as_echo_n "(cached) " >&6
 
2869
else
 
2870
  if test -n "$AWK"; then
 
2871
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2872
else
 
2873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2874
for as_dir in $PATH
 
2875
do
 
2876
  IFS=$as_save_IFS
 
2877
  test -z "$as_dir" && as_dir=.
 
2878
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2879
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2880
    ac_cv_prog_AWK="$ac_prog"
 
2881
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2882
    break 2
 
2883
  fi
 
2884
done
 
2885
  done
 
2886
IFS=$as_save_IFS
 
2887
 
 
2888
fi
 
2889
fi
 
2890
AWK=$ac_cv_prog_AWK
 
2891
if test -n "$AWK"; then
 
2892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2893
$as_echo "$AWK" >&6; }
 
2894
else
 
2895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2896
$as_echo "no" >&6; }
 
2897
fi
 
2898
 
 
2899
 
 
2900
  test -n "$AWK" && break
 
2901
done
 
2902
 
 
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2904
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2905
set x ${MAKE-make}
 
2906
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2907
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2908
  $as_echo_n "(cached) " >&6
 
2909
else
 
2910
  cat >conftest.make <<\_ACEOF
 
2911
SHELL = /bin/sh
 
2912
all:
 
2913
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2914
_ACEOF
 
2915
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2916
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2917
  *@@@%%%=?*=@@@%%%*)
 
2918
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2919
  *)
 
2920
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2921
esac
 
2922
rm -f conftest.make
 
2923
fi
 
2924
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2926
$as_echo "yes" >&6; }
 
2927
  SET_MAKE=
 
2928
else
 
2929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2930
$as_echo "no" >&6; }
 
2931
  SET_MAKE="MAKE=${MAKE-make}"
 
2932
fi
 
2933
 
 
2934
rm -rf .tst 2>/dev/null
 
2935
mkdir .tst 2>/dev/null
 
2936
if test -d .tst; then
 
2937
  am__leading_dot=.
 
2938
else
 
2939
  am__leading_dot=_
 
2940
fi
 
2941
rmdir .tst 2>/dev/null
 
2942
 
 
2943
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2944
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2945
  # is not polluted with repeated "-I."
 
2946
  am__isrc=' -I$(srcdir)'
 
2947
  # test to see if srcdir already configured
 
2948
  if test -f $srcdir/config.status; then
 
2949
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2950
  fi
 
2951
fi
 
2952
 
 
2953
# test whether we have cygpath
 
2954
if test -z "$CYGPATH_W"; then
 
2955
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2956
    CYGPATH_W='cygpath -w'
 
2957
  else
 
2958
    CYGPATH_W=echo
 
2959
  fi
 
2960
fi
 
2961
 
 
2962
 
 
2963
# Define the identity of the package.
 
2964
 PACKAGE='ibus'
 
2965
 VERSION='1.4.0'
 
2966
 
 
2967
 
 
2968
cat >>confdefs.h <<_ACEOF
 
2969
#define PACKAGE "$PACKAGE"
 
2970
_ACEOF
 
2971
 
 
2972
 
 
2973
cat >>confdefs.h <<_ACEOF
 
2974
#define VERSION "$VERSION"
 
2975
_ACEOF
 
2976
 
 
2977
# Some tools Automake needs.
 
2978
 
 
2979
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2980
 
 
2981
 
 
2982
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2983
 
 
2984
 
 
2985
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2986
 
 
2987
 
 
2988
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2989
 
 
2990
 
 
2991
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2992
 
 
2993
# We need awk for the "check" target.  The system "awk" is bad on
 
2994
# some platforms.
 
2995
# Always define AMTAR for backward compatibility.
 
2996
 
 
2997
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2998
 
 
2999
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3000
 
 
3001
 
 
3002
 
 
3003
 
 
3004
 
 
3005
 
 
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
 
3007
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
 
3008
    # Check whether --enable-maintainer-mode was given.
 
3009
if test "${enable_maintainer_mode+set}" = set; then :
 
3010
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
3011
else
 
3012
  USE_MAINTAINER_MODE=yes
 
3013
fi
 
3014
 
 
3015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
3016
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
3017
   if test $USE_MAINTAINER_MODE = yes; then
 
3018
  MAINTAINER_MODE_TRUE=
 
3019
  MAINTAINER_MODE_FALSE='#'
 
3020
else
 
3021
  MAINTAINER_MODE_TRUE='#'
 
3022
  MAINTAINER_MODE_FALSE=
 
3023
fi
 
3024
 
 
3025
  MAINT=$MAINTAINER_MODE_TRUE
 
3026
 
 
3027
 
 
3028
DEPDIR="${am__leading_dot}deps"
 
3029
 
 
3030
ac_config_commands="$ac_config_commands depfiles"
 
3031
 
 
3032
 
 
3033
am_make=${MAKE-make}
 
3034
cat > confinc << 'END'
 
3035
am__doit:
 
3036
        @echo this is the am__doit target
 
3037
.PHONY: am__doit
 
3038
END
 
3039
# If we don't find an include directive, just comment out the code.
 
3040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3041
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3042
am__include="#"
 
3043
am__quote=
 
3044
_am_result=none
 
3045
# First try GNU make style include.
 
3046
echo "include confinc" > confmf
 
3047
# Ignore all kinds of additional output from `make'.
 
3048
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3049
*the\ am__doit\ target*)
 
3050
  am__include=include
 
3051
  am__quote=
 
3052
  _am_result=GNU
 
3053
  ;;
 
3054
esac
 
3055
# Now try BSD make style include.
 
3056
if test "$am__include" = "#"; then
 
3057
   echo '.include "confinc"' > confmf
 
3058
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3059
   *the\ am__doit\ target*)
 
3060
     am__include=.include
 
3061
     am__quote="\""
 
3062
     _am_result=BSD
 
3063
     ;;
 
3064
   esac
 
3065
fi
 
3066
 
 
3067
 
 
3068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3069
$as_echo "$_am_result" >&6; }
 
3070
rm -f confinc confmf
 
3071
 
 
3072
# Check whether --enable-dependency-tracking was given.
 
3073
if test "${enable_dependency_tracking+set}" = set; then :
 
3074
  enableval=$enable_dependency_tracking;
 
3075
fi
 
3076
 
 
3077
if test "x$enable_dependency_tracking" != xno; then
 
3078
  am_depcomp="$ac_aux_dir/depcomp"
 
3079
  AMDEPBACKSLASH='\'
 
3080
fi
 
3081
 if test "x$enable_dependency_tracking" != xno; then
 
3082
  AMDEP_TRUE=
 
3083
  AMDEP_FALSE='#'
 
3084
else
 
3085
  AMDEP_TRUE='#'
 
3086
  AMDEP_FALSE=
 
3087
fi
 
3088
 
 
3089
 
 
3090
ac_ext=c
 
3091
ac_cpp='$CPP $CPPFLAGS'
 
3092
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3093
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3094
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3095
if test -n "$ac_tool_prefix"; then
 
3096
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3097
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3099
$as_echo_n "checking for $ac_word... " >&6; }
 
3100
if ${ac_cv_prog_CC+:} false; then :
 
3101
  $as_echo_n "(cached) " >&6
 
3102
else
 
3103
  if test -n "$CC"; then
 
3104
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3105
else
 
3106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3107
for as_dir in $PATH
 
3108
do
 
3109
  IFS=$as_save_IFS
 
3110
  test -z "$as_dir" && as_dir=.
 
3111
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3112
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3113
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3114
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3115
    break 2
 
3116
  fi
 
3117
done
 
3118
  done
 
3119
IFS=$as_save_IFS
 
3120
 
 
3121
fi
 
3122
fi
 
3123
CC=$ac_cv_prog_CC
 
3124
if test -n "$CC"; then
 
3125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3126
$as_echo "$CC" >&6; }
 
3127
else
 
3128
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3129
$as_echo "no" >&6; }
 
3130
fi
 
3131
 
 
3132
 
 
3133
fi
 
3134
if test -z "$ac_cv_prog_CC"; then
 
3135
  ac_ct_CC=$CC
 
3136
  # Extract the first word of "gcc", so it can be a program name with args.
 
3137
set dummy gcc; ac_word=$2
 
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3139
$as_echo_n "checking for $ac_word... " >&6; }
 
3140
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3141
  $as_echo_n "(cached) " >&6
 
3142
else
 
3143
  if test -n "$ac_ct_CC"; then
 
3144
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3145
else
 
3146
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3147
for as_dir in $PATH
 
3148
do
 
3149
  IFS=$as_save_IFS
 
3150
  test -z "$as_dir" && as_dir=.
 
3151
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3152
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3153
    ac_cv_prog_ac_ct_CC="gcc"
 
3154
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3155
    break 2
 
3156
  fi
 
3157
done
 
3158
  done
 
3159
IFS=$as_save_IFS
 
3160
 
 
3161
fi
 
3162
fi
 
3163
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3164
if test -n "$ac_ct_CC"; then
 
3165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3166
$as_echo "$ac_ct_CC" >&6; }
 
3167
else
 
3168
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3169
$as_echo "no" >&6; }
 
3170
fi
 
3171
 
 
3172
  if test "x$ac_ct_CC" = x; then
 
3173
    CC=""
 
3174
  else
 
3175
    case $cross_compiling:$ac_tool_warned in
 
3176
yes:)
 
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3178
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3179
ac_tool_warned=yes ;;
 
3180
esac
 
3181
    CC=$ac_ct_CC
 
3182
  fi
 
3183
else
 
3184
  CC="$ac_cv_prog_CC"
 
3185
fi
 
3186
 
 
3187
if test -z "$CC"; then
 
3188
          if test -n "$ac_tool_prefix"; then
 
3189
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3190
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3192
$as_echo_n "checking for $ac_word... " >&6; }
 
3193
if ${ac_cv_prog_CC+:} false; then :
 
3194
  $as_echo_n "(cached) " >&6
 
3195
else
 
3196
  if test -n "$CC"; then
 
3197
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3198
else
 
3199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3200
for as_dir in $PATH
 
3201
do
 
3202
  IFS=$as_save_IFS
 
3203
  test -z "$as_dir" && as_dir=.
 
3204
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3206
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3208
    break 2
 
3209
  fi
 
3210
done
 
3211
  done
 
3212
IFS=$as_save_IFS
 
3213
 
 
3214
fi
 
3215
fi
 
3216
CC=$ac_cv_prog_CC
 
3217
if test -n "$CC"; then
 
3218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3219
$as_echo "$CC" >&6; }
 
3220
else
 
3221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3222
$as_echo "no" >&6; }
 
3223
fi
 
3224
 
 
3225
 
 
3226
  fi
 
3227
fi
 
3228
if test -z "$CC"; then
 
3229
  # Extract the first word of "cc", so it can be a program name with args.
 
3230
set dummy cc; ac_word=$2
 
3231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3232
$as_echo_n "checking for $ac_word... " >&6; }
 
3233
if ${ac_cv_prog_CC+:} false; then :
 
3234
  $as_echo_n "(cached) " >&6
 
3235
else
 
3236
  if test -n "$CC"; then
 
3237
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3238
else
 
3239
  ac_prog_rejected=no
 
3240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3241
for as_dir in $PATH
 
3242
do
 
3243
  IFS=$as_save_IFS
 
3244
  test -z "$as_dir" && as_dir=.
 
3245
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3246
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3247
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3248
       ac_prog_rejected=yes
 
3249
       continue
 
3250
     fi
 
3251
    ac_cv_prog_CC="cc"
 
3252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3253
    break 2
 
3254
  fi
 
3255
done
 
3256
  done
 
3257
IFS=$as_save_IFS
 
3258
 
 
3259
if test $ac_prog_rejected = yes; then
 
3260
  # We found a bogon in the path, so make sure we never use it.
 
3261
  set dummy $ac_cv_prog_CC
 
3262
  shift
 
3263
  if test $# != 0; then
 
3264
    # We chose a different compiler from the bogus one.
 
3265
    # However, it has the same basename, so the bogon will be chosen
 
3266
    # first if we set CC to just the basename; use the full file name.
 
3267
    shift
 
3268
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3269
  fi
 
3270
fi
 
3271
fi
 
3272
fi
 
3273
CC=$ac_cv_prog_CC
 
3274
if test -n "$CC"; then
 
3275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3276
$as_echo "$CC" >&6; }
 
3277
else
 
3278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3279
$as_echo "no" >&6; }
 
3280
fi
 
3281
 
 
3282
 
 
3283
fi
 
3284
if test -z "$CC"; then
 
3285
  if test -n "$ac_tool_prefix"; then
 
3286
  for ac_prog in cl.exe
 
3287
  do
 
3288
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3289
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3291
$as_echo_n "checking for $ac_word... " >&6; }
 
3292
if ${ac_cv_prog_CC+:} false; then :
 
3293
  $as_echo_n "(cached) " >&6
 
3294
else
 
3295
  if test -n "$CC"; then
 
3296
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3297
else
 
3298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3299
for as_dir in $PATH
 
3300
do
 
3301
  IFS=$as_save_IFS
 
3302
  test -z "$as_dir" && as_dir=.
 
3303
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3304
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3305
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3306
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3307
    break 2
 
3308
  fi
 
3309
done
 
3310
  done
 
3311
IFS=$as_save_IFS
 
3312
 
 
3313
fi
 
3314
fi
 
3315
CC=$ac_cv_prog_CC
 
3316
if test -n "$CC"; then
 
3317
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3318
$as_echo "$CC" >&6; }
 
3319
else
 
3320
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3321
$as_echo "no" >&6; }
 
3322
fi
 
3323
 
 
3324
 
 
3325
    test -n "$CC" && break
 
3326
  done
 
3327
fi
 
3328
if test -z "$CC"; then
 
3329
  ac_ct_CC=$CC
 
3330
  for ac_prog in cl.exe
 
3331
do
 
3332
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3333
set dummy $ac_prog; ac_word=$2
 
3334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3335
$as_echo_n "checking for $ac_word... " >&6; }
 
3336
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3337
  $as_echo_n "(cached) " >&6
 
3338
else
 
3339
  if test -n "$ac_ct_CC"; then
 
3340
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3341
else
 
3342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3343
for as_dir in $PATH
 
3344
do
 
3345
  IFS=$as_save_IFS
 
3346
  test -z "$as_dir" && as_dir=.
 
3347
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3348
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3349
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3350
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3351
    break 2
 
3352
  fi
 
3353
done
 
3354
  done
 
3355
IFS=$as_save_IFS
 
3356
 
 
3357
fi
 
3358
fi
 
3359
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3360
if test -n "$ac_ct_CC"; then
 
3361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3362
$as_echo "$ac_ct_CC" >&6; }
 
3363
else
 
3364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3365
$as_echo "no" >&6; }
 
3366
fi
 
3367
 
 
3368
 
 
3369
  test -n "$ac_ct_CC" && break
 
3370
done
 
3371
 
 
3372
  if test "x$ac_ct_CC" = x; then
 
3373
    CC=""
 
3374
  else
 
3375
    case $cross_compiling:$ac_tool_warned in
 
3376
yes:)
 
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3378
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3379
ac_tool_warned=yes ;;
 
3380
esac
 
3381
    CC=$ac_ct_CC
 
3382
  fi
 
3383
fi
 
3384
 
 
3385
fi
 
3386
 
 
3387
 
 
3388
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3389
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3390
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3391
See \`config.log' for more details" "$LINENO" 5; }
 
3392
 
 
3393
# Provide some information about the compiler.
 
3394
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3395
set X $ac_compile
 
3396
ac_compiler=$2
 
3397
for ac_option in --version -v -V -qversion; do
 
3398
  { { ac_try="$ac_compiler $ac_option >&5"
 
3399
case "(($ac_try" in
 
3400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3401
  *) ac_try_echo=$ac_try;;
 
3402
esac
 
3403
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3404
$as_echo "$ac_try_echo"; } >&5
 
3405
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3406
  ac_status=$?
 
3407
  if test -s conftest.err; then
 
3408
    sed '10a\
 
3409
... rest of stderr output deleted ...
 
3410
         10q' conftest.err >conftest.er1
 
3411
    cat conftest.er1 >&5
 
3412
  fi
 
3413
  rm -f conftest.er1 conftest.err
 
3414
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3415
  test $ac_status = 0; }
 
3416
done
 
3417
 
 
3418
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3419
/* end confdefs.h.  */
 
3420
 
 
3421
int
 
3422
main ()
 
3423
{
 
3424
 
 
3425
  ;
 
3426
  return 0;
 
3427
}
 
3428
_ACEOF
 
3429
ac_clean_files_save=$ac_clean_files
 
3430
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3431
# Try to create an executable without -o first, disregard a.out.
 
3432
# It will help us diagnose broken compilers, and finding out an intuition
 
3433
# of exeext.
 
3434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3435
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3436
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3437
 
 
3438
# The possible output files:
 
3439
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3440
 
 
3441
ac_rmfiles=
 
3442
for ac_file in $ac_files
 
3443
do
 
3444
  case $ac_file in
 
3445
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3446
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3447
  esac
 
3448
done
 
3449
rm -f $ac_rmfiles
 
3450
 
 
3451
if { { ac_try="$ac_link_default"
 
3452
case "(($ac_try" in
 
3453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3454
  *) ac_try_echo=$ac_try;;
 
3455
esac
 
3456
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3457
$as_echo "$ac_try_echo"; } >&5
 
3458
  (eval "$ac_link_default") 2>&5
 
3459
  ac_status=$?
 
3460
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3461
  test $ac_status = 0; }; then :
 
3462
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3463
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3464
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3465
# so that the user can short-circuit this test for compilers unknown to
 
3466
# Autoconf.
 
3467
for ac_file in $ac_files ''
 
3468
do
 
3469
  test -f "$ac_file" || continue
 
3470
  case $ac_file in
 
3471
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3472
        ;;
 
3473
    [ab].out )
 
3474
        # We found the default executable, but exeext='' is most
 
3475
        # certainly right.
 
3476
        break;;
 
3477
    *.* )
 
3478
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3479
        then :; else
 
3480
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3481
        fi
 
3482
        # We set ac_cv_exeext here because the later test for it is not
 
3483
        # safe: cross compilers may not add the suffix if given an `-o'
 
3484
        # argument, so we may need to know it at that point already.
 
3485
        # Even if this section looks crufty: it has the advantage of
 
3486
        # actually working.
 
3487
        break;;
 
3488
    * )
 
3489
        break;;
 
3490
  esac
 
3491
done
 
3492
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3493
 
 
3494
else
 
3495
  ac_file=''
 
3496
fi
 
3497
if test -z "$ac_file"; then :
 
3498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3499
$as_echo "no" >&6; }
 
3500
$as_echo "$as_me: failed program was:" >&5
 
3501
sed 's/^/| /' conftest.$ac_ext >&5
 
3502
 
 
3503
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3504
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3505
as_fn_error 77 "C compiler cannot create executables
 
3506
See \`config.log' for more details" "$LINENO" 5; }
 
3507
else
 
3508
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3509
$as_echo "yes" >&6; }
 
3510
fi
 
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3512
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3514
$as_echo "$ac_file" >&6; }
 
3515
ac_exeext=$ac_cv_exeext
 
3516
 
 
3517
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3518
ac_clean_files=$ac_clean_files_save
 
3519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3520
$as_echo_n "checking for suffix of executables... " >&6; }
 
3521
if { { ac_try="$ac_link"
 
3522
case "(($ac_try" in
 
3523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3524
  *) ac_try_echo=$ac_try;;
 
3525
esac
 
3526
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3527
$as_echo "$ac_try_echo"; } >&5
 
3528
  (eval "$ac_link") 2>&5
 
3529
  ac_status=$?
 
3530
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3531
  test $ac_status = 0; }; then :
 
3532
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3533
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3534
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3535
# `rm'.
 
3536
for ac_file in conftest.exe conftest conftest.*; do
 
3537
  test -f "$ac_file" || continue
 
3538
  case $ac_file in
 
3539
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3540
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3541
          break;;
 
3542
    * ) break;;
 
3543
  esac
 
3544
done
 
3545
else
 
3546
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3547
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3548
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3549
See \`config.log' for more details" "$LINENO" 5; }
 
3550
fi
 
3551
rm -f conftest conftest$ac_cv_exeext
 
3552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3553
$as_echo "$ac_cv_exeext" >&6; }
 
3554
 
 
3555
rm -f conftest.$ac_ext
 
3556
EXEEXT=$ac_cv_exeext
 
3557
ac_exeext=$EXEEXT
 
3558
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3559
/* end confdefs.h.  */
 
3560
#include <stdio.h>
 
3561
int
 
3562
main ()
 
3563
{
 
3564
FILE *f = fopen ("conftest.out", "w");
 
3565
 return ferror (f) || fclose (f) != 0;
 
3566
 
 
3567
  ;
 
3568
  return 0;
 
3569
}
 
3570
_ACEOF
 
3571
ac_clean_files="$ac_clean_files conftest.out"
 
3572
# Check that the compiler produces executables we can run.  If not, either
 
3573
# the compiler is broken, or we cross compile.
 
3574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3575
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3576
if test "$cross_compiling" != yes; then
 
3577
  { { ac_try="$ac_link"
 
3578
case "(($ac_try" in
 
3579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3580
  *) ac_try_echo=$ac_try;;
 
3581
esac
 
3582
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3583
$as_echo "$ac_try_echo"; } >&5
 
3584
  (eval "$ac_link") 2>&5
 
3585
  ac_status=$?
 
3586
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3587
  test $ac_status = 0; }
 
3588
  if { ac_try='./conftest$ac_cv_exeext'
 
3589
  { { case "(($ac_try" in
 
3590
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3591
  *) ac_try_echo=$ac_try;;
 
3592
esac
 
3593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3594
$as_echo "$ac_try_echo"; } >&5
 
3595
  (eval "$ac_try") 2>&5
 
3596
  ac_status=$?
 
3597
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3598
  test $ac_status = 0; }; }; then
 
3599
    cross_compiling=no
 
3600
  else
 
3601
    if test "$cross_compiling" = maybe; then
 
3602
        cross_compiling=yes
 
3603
    else
 
3604
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3605
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3606
as_fn_error $? "cannot run C compiled programs.
 
3607
If you meant to cross compile, use \`--host'.
 
3608
See \`config.log' for more details" "$LINENO" 5; }
 
3609
    fi
 
3610
  fi
 
3611
fi
 
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3613
$as_echo "$cross_compiling" >&6; }
 
3614
 
 
3615
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3616
ac_clean_files=$ac_clean_files_save
 
3617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3618
$as_echo_n "checking for suffix of object files... " >&6; }
 
3619
if ${ac_cv_objext+:} false; then :
 
3620
  $as_echo_n "(cached) " >&6
 
3621
else
 
3622
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3623
/* end confdefs.h.  */
 
3624
 
 
3625
int
 
3626
main ()
 
3627
{
 
3628
 
 
3629
  ;
 
3630
  return 0;
 
3631
}
 
3632
_ACEOF
 
3633
rm -f conftest.o conftest.obj
 
3634
if { { ac_try="$ac_compile"
 
3635
case "(($ac_try" in
 
3636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3637
  *) ac_try_echo=$ac_try;;
 
3638
esac
 
3639
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3640
$as_echo "$ac_try_echo"; } >&5
 
3641
  (eval "$ac_compile") 2>&5
 
3642
  ac_status=$?
 
3643
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3644
  test $ac_status = 0; }; then :
 
3645
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3646
  test -f "$ac_file" || continue;
 
3647
  case $ac_file in
 
3648
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3649
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3650
       break;;
 
3651
  esac
 
3652
done
 
3653
else
 
3654
  $as_echo "$as_me: failed program was:" >&5
 
3655
sed 's/^/| /' conftest.$ac_ext >&5
 
3656
 
 
3657
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3658
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3659
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3660
See \`config.log' for more details" "$LINENO" 5; }
 
3661
fi
 
3662
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3663
fi
 
3664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3665
$as_echo "$ac_cv_objext" >&6; }
 
3666
OBJEXT=$ac_cv_objext
 
3667
ac_objext=$OBJEXT
 
3668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3669
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3670
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3671
  $as_echo_n "(cached) " >&6
 
3672
else
 
3673
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3674
/* end confdefs.h.  */
 
3675
 
 
3676
int
 
3677
main ()
 
3678
{
 
3679
#ifndef __GNUC__
 
3680
       choke me
 
3681
#endif
 
3682
 
 
3683
  ;
 
3684
  return 0;
 
3685
}
 
3686
_ACEOF
 
3687
if ac_fn_c_try_compile "$LINENO"; then :
 
3688
  ac_compiler_gnu=yes
 
3689
else
 
3690
  ac_compiler_gnu=no
 
3691
fi
 
3692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3693
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3694
 
 
3695
fi
 
3696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3697
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3698
if test $ac_compiler_gnu = yes; then
 
3699
  GCC=yes
 
3700
else
 
3701
  GCC=
 
3702
fi
 
3703
ac_test_CFLAGS=${CFLAGS+set}
 
3704
ac_save_CFLAGS=$CFLAGS
 
3705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3706
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3707
if ${ac_cv_prog_cc_g+:} false; then :
 
3708
  $as_echo_n "(cached) " >&6
 
3709
else
 
3710
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3711
   ac_c_werror_flag=yes
 
3712
   ac_cv_prog_cc_g=no
 
3713
   CFLAGS="-g"
 
3714
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3715
/* end confdefs.h.  */
 
3716
 
 
3717
int
 
3718
main ()
 
3719
{
 
3720
 
 
3721
  ;
 
3722
  return 0;
 
3723
}
 
3724
_ACEOF
 
3725
if ac_fn_c_try_compile "$LINENO"; then :
 
3726
  ac_cv_prog_cc_g=yes
 
3727
else
 
3728
  CFLAGS=""
 
3729
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3730
/* end confdefs.h.  */
 
3731
 
 
3732
int
 
3733
main ()
 
3734
{
 
3735
 
 
3736
  ;
 
3737
  return 0;
 
3738
}
 
3739
_ACEOF
 
3740
if ac_fn_c_try_compile "$LINENO"; then :
 
3741
 
 
3742
else
 
3743
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3744
         CFLAGS="-g"
 
3745
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3746
/* end confdefs.h.  */
 
3747
 
 
3748
int
 
3749
main ()
 
3750
{
 
3751
 
 
3752
  ;
 
3753
  return 0;
 
3754
}
 
3755
_ACEOF
 
3756
if ac_fn_c_try_compile "$LINENO"; then :
 
3757
  ac_cv_prog_cc_g=yes
 
3758
fi
 
3759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3760
fi
 
3761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3762
fi
 
3763
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3764
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3765
fi
 
3766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3767
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3768
if test "$ac_test_CFLAGS" = set; then
 
3769
  CFLAGS=$ac_save_CFLAGS
 
3770
elif test $ac_cv_prog_cc_g = yes; then
 
3771
  if test "$GCC" = yes; then
 
3772
    CFLAGS="-g -O2"
 
3773
  else
 
3774
    CFLAGS="-g"
 
3775
  fi
 
3776
else
 
3777
  if test "$GCC" = yes; then
 
3778
    CFLAGS="-O2"
 
3779
  else
 
3780
    CFLAGS=
 
3781
  fi
 
3782
fi
 
3783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3784
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3785
if ${ac_cv_prog_cc_c89+:} false; then :
 
3786
  $as_echo_n "(cached) " >&6
 
3787
else
 
3788
  ac_cv_prog_cc_c89=no
 
3789
ac_save_CC=$CC
 
3790
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3791
/* end confdefs.h.  */
 
3792
#include <stdarg.h>
 
3793
#include <stdio.h>
 
3794
#include <sys/types.h>
 
3795
#include <sys/stat.h>
 
3796
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3797
struct buf { int x; };
 
3798
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3799
static char *e (p, i)
 
3800
     char **p;
 
3801
     int i;
 
3802
{
 
3803
  return p[i];
 
3804
}
 
3805
static char *f (char * (*g) (char **, int), char **p, ...)
 
3806
{
 
3807
  char *s;
 
3808
  va_list v;
 
3809
  va_start (v,p);
 
3810
  s = g (p, va_arg (v,int));
 
3811
  va_end (v);
 
3812
  return s;
 
3813
}
 
3814
 
 
3815
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3816
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3817
   These don't provoke an error unfortunately, instead are silently treated
 
3818
   as 'x'.  The following induces an error, until -std is added to get
 
3819
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3820
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3821
   that's true only with -std.  */
 
3822
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3823
 
 
3824
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3825
   inside strings and character constants.  */
 
3826
#define FOO(x) 'x'
 
3827
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3828
 
 
3829
int test (int i, double x);
 
3830
struct s1 {int (*f) (int a);};
 
3831
struct s2 {int (*f) (double a);};
 
3832
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3833
int argc;
 
3834
char **argv;
 
3835
int
 
3836
main ()
 
3837
{
 
3838
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3839
  ;
 
3840
  return 0;
 
3841
}
 
3842
_ACEOF
 
3843
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3844
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3845
do
 
3846
  CC="$ac_save_CC $ac_arg"
 
3847
  if ac_fn_c_try_compile "$LINENO"; then :
 
3848
  ac_cv_prog_cc_c89=$ac_arg
 
3849
fi
 
3850
rm -f core conftest.err conftest.$ac_objext
 
3851
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3852
done
 
3853
rm -f conftest.$ac_ext
 
3854
CC=$ac_save_CC
 
3855
 
 
3856
fi
 
3857
# AC_CACHE_VAL
 
3858
case "x$ac_cv_prog_cc_c89" in
 
3859
  x)
 
3860
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3861
$as_echo "none needed" >&6; } ;;
 
3862
  xno)
 
3863
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3864
$as_echo "unsupported" >&6; } ;;
 
3865
  *)
 
3866
    CC="$CC $ac_cv_prog_cc_c89"
 
3867
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3868
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3869
esac
 
3870
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3871
 
 
3872
fi
 
3873
 
 
3874
ac_ext=c
 
3875
ac_cpp='$CPP $CPPFLAGS'
 
3876
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3877
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3878
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3879
 
 
3880
depcc="$CC"   am_compiler_list=
 
3881
 
 
3882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3883
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3884
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3885
  $as_echo_n "(cached) " >&6
 
3886
else
 
3887
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3888
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3889
  # making bogus files that we don't know about and never remove.  For
 
3890
  # instance it was reported that on HP-UX the gcc test will end up
 
3891
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3892
  # in D'.
 
3893
  mkdir conftest.dir
 
3894
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3895
  # using a relative directory.
 
3896
  cp "$am_depcomp" conftest.dir
 
3897
  cd conftest.dir
 
3898
  # We will build objects and dependencies in a subdirectory because
 
3899
  # it helps to detect inapplicable dependency modes.  For instance
 
3900
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3901
  # side effect of compilation, but ICC will put the dependencies in
 
3902
  # the current directory while Tru64 will put them in the object
 
3903
  # directory.
 
3904
  mkdir sub
 
3905
 
 
3906
  am_cv_CC_dependencies_compiler_type=none
 
3907
  if test "$am_compiler_list" = ""; then
 
3908
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3909
  fi
 
3910
  am__universal=false
 
3911
  case " $depcc " in #(
 
3912
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3913
     esac
 
3914
 
 
3915
  for depmode in $am_compiler_list; do
 
3916
    # Setup a source with many dependencies, because some compilers
 
3917
    # like to wrap large dependency lists on column 80 (with \), and
 
3918
    # we should not choose a depcomp mode which is confused by this.
 
3919
    #
 
3920
    # We need to recreate these files for each test, as the compiler may
 
3921
    # overwrite some of them when testing with obscure command lines.
 
3922
    # This happens at least with the AIX C compiler.
 
3923
    : > sub/conftest.c
 
3924
    for i in 1 2 3 4 5 6; do
 
3925
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3926
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3927
      # Solaris 8's {/usr,}/bin/sh.
 
3928
      touch sub/conftst$i.h
 
3929
    done
 
3930
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3931
 
 
3932
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3933
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3934
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3935
    # versions had trouble with output in subdirs
 
3936
    am__obj=sub/conftest.${OBJEXT-o}
 
3937
    am__minus_obj="-o $am__obj"
 
3938
    case $depmode in
 
3939
    gcc)
 
3940
      # This depmode causes a compiler race in universal mode.
 
3941
      test "$am__universal" = false || continue
 
3942
      ;;
 
3943
    nosideeffect)
 
3944
      # after this tag, mechanisms are not by side-effect, so they'll
 
3945
      # only be used when explicitly requested
 
3946
      if test "x$enable_dependency_tracking" = xyes; then
 
3947
        continue
 
3948
      else
 
3949
        break
 
3950
      fi
 
3951
      ;;
 
3952
    msvisualcpp | msvcmsys)
 
3953
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3954
      # not run yet.  These depmodes are late enough in the game, and
 
3955
      # so weak that their functioning should not be impacted.
 
3956
      am__obj=conftest.${OBJEXT-o}
 
3957
      am__minus_obj=
 
3958
      ;;
 
3959
    none) break ;;
 
3960
    esac
 
3961
    if depmode=$depmode \
 
3962
       source=sub/conftest.c object=$am__obj \
 
3963
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3964
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3965
         >/dev/null 2>conftest.err &&
 
3966
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3967
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3968
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3969
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3970
      # icc doesn't choke on unknown options, it will just issue warnings
 
3971
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3972
      # that says an option was ignored or not supported.
 
3973
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3974
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3975
      # The diagnosis changed in icc 8.0:
 
3976
      #   icc: Command line remark: option '-MP' not supported
 
3977
      if (grep 'ignoring option' conftest.err ||
 
3978
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3979
        am_cv_CC_dependencies_compiler_type=$depmode
 
3980
        break
 
3981
      fi
 
3982
    fi
 
3983
  done
 
3984
 
 
3985
  cd ..
 
3986
  rm -rf conftest.dir
 
3987
else
 
3988
  am_cv_CC_dependencies_compiler_type=none
 
3989
fi
 
3990
 
 
3991
fi
 
3992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3993
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3994
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3995
 
 
3996
 if
 
3997
  test "x$enable_dependency_tracking" != xno \
 
3998
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3999
  am__fastdepCC_TRUE=
 
4000
  am__fastdepCC_FALSE='#'
 
4001
else
 
4002
  am__fastdepCC_TRUE='#'
 
4003
  am__fastdepCC_FALSE=
 
4004
fi
 
4005
 
 
4006
 
 
4007
 
 
4008
ac_ext=c
 
4009
ac_cpp='$CPP $CPPFLAGS'
 
4010
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4011
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4012
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4014
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4015
# On Suns, sometimes $CPP names a directory.
 
4016
if test -n "$CPP" && test -d "$CPP"; then
 
4017
  CPP=
 
4018
fi
 
4019
if test -z "$CPP"; then
 
4020
  if ${ac_cv_prog_CPP+:} false; then :
 
4021
  $as_echo_n "(cached) " >&6
 
4022
else
 
4023
      # Double quotes because CPP needs to be expanded
 
4024
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4025
    do
 
4026
      ac_preproc_ok=false
 
4027
for ac_c_preproc_warn_flag in '' yes
 
4028
do
 
4029
  # Use a header file that comes with gcc, so configuring glibc
 
4030
  # with a fresh cross-compiler works.
 
4031
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4032
  # <limits.h> exists even on freestanding compilers.
 
4033
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4034
  # not just through cpp. "Syntax error" is here to catch this case.
 
4035
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4036
/* end confdefs.h.  */
 
4037
#ifdef __STDC__
 
4038
# include <limits.h>
 
4039
#else
 
4040
# include <assert.h>
 
4041
#endif
 
4042
                     Syntax error
 
4043
_ACEOF
 
4044
if ac_fn_c_try_cpp "$LINENO"; then :
 
4045
 
 
4046
else
 
4047
  # Broken: fails on valid input.
 
4048
continue
 
4049
fi
 
4050
rm -f conftest.err conftest.i conftest.$ac_ext
 
4051
 
 
4052
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4053
  # can be detected and how.
 
4054
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4055
/* end confdefs.h.  */
 
4056
#include <ac_nonexistent.h>
 
4057
_ACEOF
 
4058
if ac_fn_c_try_cpp "$LINENO"; then :
 
4059
  # Broken: success on invalid input.
 
4060
continue
 
4061
else
 
4062
  # Passes both tests.
 
4063
ac_preproc_ok=:
 
4064
break
 
4065
fi
 
4066
rm -f conftest.err conftest.i conftest.$ac_ext
 
4067
 
 
4068
done
 
4069
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4070
rm -f conftest.i conftest.err conftest.$ac_ext
 
4071
if $ac_preproc_ok; then :
 
4072
  break
 
4073
fi
 
4074
 
 
4075
    done
 
4076
    ac_cv_prog_CPP=$CPP
 
4077
 
 
4078
fi
 
4079
  CPP=$ac_cv_prog_CPP
 
4080
else
 
4081
  ac_cv_prog_CPP=$CPP
 
4082
fi
 
4083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4084
$as_echo "$CPP" >&6; }
 
4085
ac_preproc_ok=false
 
4086
for ac_c_preproc_warn_flag in '' yes
 
4087
do
 
4088
  # Use a header file that comes with gcc, so configuring glibc
 
4089
  # with a fresh cross-compiler works.
 
4090
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4091
  # <limits.h> exists even on freestanding compilers.
 
4092
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4093
  # not just through cpp. "Syntax error" is here to catch this case.
 
4094
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4095
/* end confdefs.h.  */
 
4096
#ifdef __STDC__
 
4097
# include <limits.h>
 
4098
#else
 
4099
# include <assert.h>
 
4100
#endif
 
4101
                     Syntax error
 
4102
_ACEOF
 
4103
if ac_fn_c_try_cpp "$LINENO"; then :
 
4104
 
 
4105
else
 
4106
  # Broken: fails on valid input.
 
4107
continue
 
4108
fi
 
4109
rm -f conftest.err conftest.i conftest.$ac_ext
 
4110
 
 
4111
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4112
  # can be detected and how.
 
4113
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4114
/* end confdefs.h.  */
 
4115
#include <ac_nonexistent.h>
 
4116
_ACEOF
 
4117
if ac_fn_c_try_cpp "$LINENO"; then :
 
4118
  # Broken: success on invalid input.
 
4119
continue
 
4120
else
 
4121
  # Passes both tests.
 
4122
ac_preproc_ok=:
 
4123
break
 
4124
fi
 
4125
rm -f conftest.err conftest.i conftest.$ac_ext
 
4126
 
 
4127
done
 
4128
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4129
rm -f conftest.i conftest.err conftest.$ac_ext
 
4130
if $ac_preproc_ok; then :
 
4131
 
 
4132
else
 
4133
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4134
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4135
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4136
See \`config.log' for more details" "$LINENO" 5; }
 
4137
fi
 
4138
 
 
4139
ac_ext=c
 
4140
ac_cpp='$CPP $CPPFLAGS'
 
4141
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4142
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4143
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4144
 
 
4145
 
 
4146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4147
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4148
if ${ac_cv_path_GREP+:} false; then :
 
4149
  $as_echo_n "(cached) " >&6
 
4150
else
 
4151
  if test -z "$GREP"; then
 
4152
  ac_path_GREP_found=false
 
4153
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4154
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4155
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4156
do
 
4157
  IFS=$as_save_IFS
 
4158
  test -z "$as_dir" && as_dir=.
 
4159
    for ac_prog in grep ggrep; do
 
4160
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4161
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4162
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4163
# Check for GNU ac_path_GREP and select it if it is found.
 
4164
  # Check for GNU $ac_path_GREP
 
4165
case `"$ac_path_GREP" --version 2>&1` in
 
4166
*GNU*)
 
4167
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4168
*)
 
4169
  ac_count=0
 
4170
  $as_echo_n 0123456789 >"conftest.in"
 
4171
  while :
 
4172
  do
 
4173
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4174
    mv "conftest.tmp" "conftest.in"
 
4175
    cp "conftest.in" "conftest.nl"
 
4176
    $as_echo 'GREP' >> "conftest.nl"
 
4177
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4178
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4179
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4180
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4181
      # Best one so far, save it but keep looking for a better one
 
4182
      ac_cv_path_GREP="$ac_path_GREP"
 
4183
      ac_path_GREP_max=$ac_count
 
4184
    fi
 
4185
    # 10*(2^10) chars as input seems more than enough
 
4186
    test $ac_count -gt 10 && break
 
4187
  done
 
4188
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4189
esac
 
4190
 
 
4191
      $ac_path_GREP_found && break 3
 
4192
    done
 
4193
  done
 
4194
  done
 
4195
IFS=$as_save_IFS
 
4196
  if test -z "$ac_cv_path_GREP"; then
 
4197
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4198
  fi
 
4199
else
 
4200
  ac_cv_path_GREP=$GREP
 
4201
fi
 
4202
 
 
4203
fi
 
4204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4205
$as_echo "$ac_cv_path_GREP" >&6; }
 
4206
 GREP="$ac_cv_path_GREP"
 
4207
 
 
4208
 
 
4209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4210
$as_echo_n "checking for egrep... " >&6; }
 
4211
if ${ac_cv_path_EGREP+:} false; then :
 
4212
  $as_echo_n "(cached) " >&6
 
4213
else
 
4214
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4215
   then ac_cv_path_EGREP="$GREP -E"
 
4216
   else
 
4217
     if test -z "$EGREP"; then
 
4218
  ac_path_EGREP_found=false
 
4219
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4220
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4221
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4222
do
 
4223
  IFS=$as_save_IFS
 
4224
  test -z "$as_dir" && as_dir=.
 
4225
    for ac_prog in egrep; do
 
4226
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4227
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4228
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4229
# Check for GNU ac_path_EGREP and select it if it is found.
 
4230
  # Check for GNU $ac_path_EGREP
 
4231
case `"$ac_path_EGREP" --version 2>&1` in
 
4232
*GNU*)
 
4233
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4234
*)
 
4235
  ac_count=0
 
4236
  $as_echo_n 0123456789 >"conftest.in"
 
4237
  while :
 
4238
  do
 
4239
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4240
    mv "conftest.tmp" "conftest.in"
 
4241
    cp "conftest.in" "conftest.nl"
 
4242
    $as_echo 'EGREP' >> "conftest.nl"
 
4243
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4244
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4245
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4246
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4247
      # Best one so far, save it but keep looking for a better one
 
4248
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4249
      ac_path_EGREP_max=$ac_count
 
4250
    fi
 
4251
    # 10*(2^10) chars as input seems more than enough
 
4252
    test $ac_count -gt 10 && break
 
4253
  done
 
4254
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4255
esac
 
4256
 
 
4257
      $ac_path_EGREP_found && break 3
 
4258
    done
 
4259
  done
 
4260
  done
 
4261
IFS=$as_save_IFS
 
4262
  if test -z "$ac_cv_path_EGREP"; then
 
4263
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4264
  fi
 
4265
else
 
4266
  ac_cv_path_EGREP=$EGREP
 
4267
fi
 
4268
 
 
4269
   fi
 
4270
fi
 
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4272
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4273
 EGREP="$ac_cv_path_EGREP"
 
4274
 
 
4275
 
 
4276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4277
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4278
if ${ac_cv_header_stdc+:} false; then :
 
4279
  $as_echo_n "(cached) " >&6
 
4280
else
 
4281
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4282
/* end confdefs.h.  */
 
4283
#include <stdlib.h>
 
4284
#include <stdarg.h>
 
4285
#include <string.h>
 
4286
#include <float.h>
 
4287
 
 
4288
int
 
4289
main ()
 
4290
{
 
4291
 
 
4292
  ;
 
4293
  return 0;
 
4294
}
 
4295
_ACEOF
 
4296
if ac_fn_c_try_compile "$LINENO"; then :
 
4297
  ac_cv_header_stdc=yes
 
4298
else
 
4299
  ac_cv_header_stdc=no
 
4300
fi
 
4301
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4302
 
 
4303
if test $ac_cv_header_stdc = yes; then
 
4304
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4305
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4306
/* end confdefs.h.  */
 
4307
#include <string.h>
 
4308
 
 
4309
_ACEOF
 
4310
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4311
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4312
 
 
4313
else
 
4314
  ac_cv_header_stdc=no
 
4315
fi
 
4316
rm -f conftest*
 
4317
 
 
4318
fi
 
4319
 
 
4320
if test $ac_cv_header_stdc = yes; then
 
4321
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4322
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4323
/* end confdefs.h.  */
 
4324
#include <stdlib.h>
 
4325
 
 
4326
_ACEOF
 
4327
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4328
  $EGREP "free" >/dev/null 2>&1; then :
 
4329
 
 
4330
else
 
4331
  ac_cv_header_stdc=no
 
4332
fi
 
4333
rm -f conftest*
 
4334
 
 
4335
fi
 
4336
 
 
4337
if test $ac_cv_header_stdc = yes; then
 
4338
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4339
  if test "$cross_compiling" = yes; then :
 
4340
  :
 
4341
else
 
4342
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4343
/* end confdefs.h.  */
 
4344
#include <ctype.h>
 
4345
#include <stdlib.h>
 
4346
#if ((' ' & 0x0FF) == 0x020)
 
4347
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4348
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4349
#else
 
4350
# define ISLOWER(c) \
 
4351
                   (('a' <= (c) && (c) <= 'i') \
 
4352
                     || ('j' <= (c) && (c) <= 'r') \
 
4353
                     || ('s' <= (c) && (c) <= 'z'))
 
4354
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4355
#endif
 
4356
 
 
4357
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4358
int
 
4359
main ()
 
4360
{
 
4361
  int i;
 
4362
  for (i = 0; i < 256; i++)
 
4363
    if (XOR (islower (i), ISLOWER (i))
 
4364
        || toupper (i) != TOUPPER (i))
 
4365
      return 2;
 
4366
  return 0;
 
4367
}
 
4368
_ACEOF
 
4369
if ac_fn_c_try_run "$LINENO"; then :
 
4370
 
 
4371
else
 
4372
  ac_cv_header_stdc=no
 
4373
fi
 
4374
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4375
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4376
fi
 
4377
 
 
4378
fi
 
4379
fi
 
4380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4381
$as_echo "$ac_cv_header_stdc" >&6; }
 
4382
if test $ac_cv_header_stdc = yes; then
 
4383
 
 
4384
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4385
 
 
4386
fi
 
4387
 
 
4388
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4389
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4390
                  inttypes.h stdint.h unistd.h
 
4391
do :
 
4392
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4393
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4394
"
 
4395
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4396
  cat >>confdefs.h <<_ACEOF
 
4397
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4398
_ACEOF
 
4399
 
 
4400
fi
 
4401
 
 
4402
done
 
4403
 
 
4404
 
 
4405
 
 
4406
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
4407
if test "x$ac_cv_header_minix_config_h" = xyes; then :
 
4408
  MINIX=yes
 
4409
else
 
4410
  MINIX=
 
4411
fi
 
4412
 
 
4413
 
 
4414
  if test "$MINIX" = yes; then
 
4415
 
 
4416
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
4417
 
 
4418
 
 
4419
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
4420
 
 
4421
 
 
4422
$as_echo "#define _MINIX 1" >>confdefs.h
 
4423
 
 
4424
  fi
 
4425
 
 
4426
 
 
4427
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 
4428
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 
4429
if ${ac_cv_safe_to_define___extensions__+:} false; then :
 
4430
  $as_echo_n "(cached) " >&6
 
4431
else
 
4432
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4433
/* end confdefs.h.  */
 
4434
 
 
4435
#         define __EXTENSIONS__ 1
 
4436
          $ac_includes_default
 
4437
int
 
4438
main ()
 
4439
{
 
4440
 
 
4441
  ;
 
4442
  return 0;
 
4443
}
 
4444
_ACEOF
 
4445
if ac_fn_c_try_compile "$LINENO"; then :
 
4446
  ac_cv_safe_to_define___extensions__=yes
 
4447
else
 
4448
  ac_cv_safe_to_define___extensions__=no
 
4449
fi
 
4450
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4451
fi
 
4452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 
4453
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 
4454
  test $ac_cv_safe_to_define___extensions__ = yes &&
 
4455
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
4456
 
 
4457
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
4458
 
 
4459
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
4460
 
 
4461
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
4462
 
 
4463
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
4464
 
 
4465
 
 
4466
 
 
4467
 
 
4468
# Support silent build rules. Disable
 
4469
# by either passing --disable-silent-rules to configure or passing V=1
 
4470
# to make
 
4471
# Check whether --enable-silent-rules was given.
 
4472
if test "${enable_silent_rules+set}" = set; then :
 
4473
  enableval=$enable_silent_rules;
 
4474
fi
 
4475
 
 
4476
case $enable_silent_rules in
 
4477
yes) AM_DEFAULT_VERBOSITY=0;;
 
4478
no)  AM_DEFAULT_VERBOSITY=1;;
 
4479
*)   AM_DEFAULT_VERBOSITY=0;;
 
4480
esac
 
4481
AM_BACKSLASH='\'
 
4482
 
 
4483
 
 
4484
# Define sustituted variables:
 
4485
IBUS_MAJOR_VERSION=1
 
4486
IBUS_MINOR_VERSION=4
 
4487
IBUS_MICRO_VERSION=0
 
4488
IBUS_INTERFACE_AGE=0
 
4489
IBUS_BINARY_AGE=400
 
4490
IBUS_VERSION=1.4.0
 
4491
IBUS_API_VERSION=1.0
 
4492
IBUS_BINARY_VERSION=1.0.0
 
4493
 
 
4494
 
 
4495
 
 
4496
 
 
4497
 
 
4498
 
 
4499
 
 
4500
 
 
4501
 
 
4502
# libtool versioning
 
4503
 
 
4504
 
 
4505
 
 
4506
LT_VERSION_INFO="400:0:400"
 
4507
LT_CURRENT_MINUS_AGE=0
 
4508
 
 
4509
 
 
4510
 
 
4511
# Define GETTEXT_* variables.
 
4512
GETTEXT_PACKAGE=ibus10
 
4513
 
 
4514
 
 
4515
cat >>confdefs.h <<_ACEOF
 
4516
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
4517
_ACEOF
 
4518
 
 
4519
 
 
4520
# For dislpay date.
 
4521
 
 
4522
DATE_DISPLAY="Fri Sep 23 2011"
 
4523
 
 
4524
 
 
4525
 
 
4526
# Check for programs.
 
4527
ac_ext=c
 
4528
ac_cpp='$CPP $CPPFLAGS'
 
4529
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4530
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4531
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4532
if test -n "$ac_tool_prefix"; then
 
4533
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4534
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4536
$as_echo_n "checking for $ac_word... " >&6; }
 
4537
if ${ac_cv_prog_CC+:} false; then :
 
4538
  $as_echo_n "(cached) " >&6
 
4539
else
 
4540
  if test -n "$CC"; then
 
4541
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4542
else
 
4543
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4544
for as_dir in $PATH
 
4545
do
 
4546
  IFS=$as_save_IFS
 
4547
  test -z "$as_dir" && as_dir=.
 
4548
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4550
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4551
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4552
    break 2
 
4553
  fi
 
4554
done
 
4555
  done
 
4556
IFS=$as_save_IFS
 
4557
 
 
4558
fi
 
4559
fi
 
4560
CC=$ac_cv_prog_CC
 
4561
if test -n "$CC"; then
 
4562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4563
$as_echo "$CC" >&6; }
 
4564
else
 
4565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4566
$as_echo "no" >&6; }
 
4567
fi
 
4568
 
 
4569
 
 
4570
fi
 
4571
if test -z "$ac_cv_prog_CC"; then
 
4572
  ac_ct_CC=$CC
 
4573
  # Extract the first word of "gcc", so it can be a program name with args.
 
4574
set dummy gcc; ac_word=$2
 
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4576
$as_echo_n "checking for $ac_word... " >&6; }
 
4577
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4578
  $as_echo_n "(cached) " >&6
 
4579
else
 
4580
  if test -n "$ac_ct_CC"; then
 
4581
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4582
else
 
4583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4584
for as_dir in $PATH
 
4585
do
 
4586
  IFS=$as_save_IFS
 
4587
  test -z "$as_dir" && as_dir=.
 
4588
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4589
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4590
    ac_cv_prog_ac_ct_CC="gcc"
 
4591
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4592
    break 2
 
4593
  fi
 
4594
done
 
4595
  done
 
4596
IFS=$as_save_IFS
 
4597
 
 
4598
fi
 
4599
fi
 
4600
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4601
if test -n "$ac_ct_CC"; then
 
4602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4603
$as_echo "$ac_ct_CC" >&6; }
 
4604
else
 
4605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4606
$as_echo "no" >&6; }
 
4607
fi
 
4608
 
 
4609
  if test "x$ac_ct_CC" = x; then
 
4610
    CC=""
 
4611
  else
 
4612
    case $cross_compiling:$ac_tool_warned in
 
4613
yes:)
 
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4615
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4616
ac_tool_warned=yes ;;
 
4617
esac
 
4618
    CC=$ac_ct_CC
 
4619
  fi
 
4620
else
 
4621
  CC="$ac_cv_prog_CC"
 
4622
fi
 
4623
 
 
4624
if test -z "$CC"; then
 
4625
          if test -n "$ac_tool_prefix"; then
 
4626
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4627
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4629
$as_echo_n "checking for $ac_word... " >&6; }
 
4630
if ${ac_cv_prog_CC+:} false; then :
 
4631
  $as_echo_n "(cached) " >&6
 
4632
else
 
4633
  if test -n "$CC"; then
 
4634
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4635
else
 
4636
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4637
for as_dir in $PATH
 
4638
do
 
4639
  IFS=$as_save_IFS
 
4640
  test -z "$as_dir" && as_dir=.
 
4641
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4643
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4644
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4645
    break 2
 
4646
  fi
 
4647
done
 
4648
  done
 
4649
IFS=$as_save_IFS
 
4650
 
 
4651
fi
 
4652
fi
 
4653
CC=$ac_cv_prog_CC
 
4654
if test -n "$CC"; then
 
4655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4656
$as_echo "$CC" >&6; }
 
4657
else
 
4658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4659
$as_echo "no" >&6; }
 
4660
fi
 
4661
 
 
4662
 
 
4663
  fi
 
4664
fi
 
4665
if test -z "$CC"; then
 
4666
  # Extract the first word of "cc", so it can be a program name with args.
 
4667
set dummy cc; ac_word=$2
 
4668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4669
$as_echo_n "checking for $ac_word... " >&6; }
 
4670
if ${ac_cv_prog_CC+:} false; then :
 
4671
  $as_echo_n "(cached) " >&6
 
4672
else
 
4673
  if test -n "$CC"; then
 
4674
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4675
else
 
4676
  ac_prog_rejected=no
 
4677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4678
for as_dir in $PATH
 
4679
do
 
4680
  IFS=$as_save_IFS
 
4681
  test -z "$as_dir" && as_dir=.
 
4682
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4684
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4685
       ac_prog_rejected=yes
 
4686
       continue
 
4687
     fi
 
4688
    ac_cv_prog_CC="cc"
 
4689
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4690
    break 2
 
4691
  fi
 
4692
done
 
4693
  done
 
4694
IFS=$as_save_IFS
 
4695
 
 
4696
if test $ac_prog_rejected = yes; then
 
4697
  # We found a bogon in the path, so make sure we never use it.
 
4698
  set dummy $ac_cv_prog_CC
 
4699
  shift
 
4700
  if test $# != 0; then
 
4701
    # We chose a different compiler from the bogus one.
 
4702
    # However, it has the same basename, so the bogon will be chosen
 
4703
    # first if we set CC to just the basename; use the full file name.
 
4704
    shift
 
4705
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4706
  fi
 
4707
fi
 
4708
fi
 
4709
fi
 
4710
CC=$ac_cv_prog_CC
 
4711
if test -n "$CC"; then
 
4712
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4713
$as_echo "$CC" >&6; }
 
4714
else
 
4715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4716
$as_echo "no" >&6; }
 
4717
fi
 
4718
 
 
4719
 
 
4720
fi
 
4721
if test -z "$CC"; then
 
4722
  if test -n "$ac_tool_prefix"; then
 
4723
  for ac_prog in cl.exe
 
4724
  do
 
4725
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4726
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4728
$as_echo_n "checking for $ac_word... " >&6; }
 
4729
if ${ac_cv_prog_CC+:} false; then :
 
4730
  $as_echo_n "(cached) " >&6
 
4731
else
 
4732
  if test -n "$CC"; then
 
4733
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4734
else
 
4735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4736
for as_dir in $PATH
 
4737
do
 
4738
  IFS=$as_save_IFS
 
4739
  test -z "$as_dir" && as_dir=.
 
4740
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4742
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4743
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4744
    break 2
 
4745
  fi
 
4746
done
 
4747
  done
 
4748
IFS=$as_save_IFS
 
4749
 
 
4750
fi
 
4751
fi
 
4752
CC=$ac_cv_prog_CC
 
4753
if test -n "$CC"; then
 
4754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4755
$as_echo "$CC" >&6; }
 
4756
else
 
4757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4758
$as_echo "no" >&6; }
 
4759
fi
 
4760
 
 
4761
 
 
4762
    test -n "$CC" && break
 
4763
  done
 
4764
fi
 
4765
if test -z "$CC"; then
 
4766
  ac_ct_CC=$CC
 
4767
  for ac_prog in cl.exe
 
4768
do
 
4769
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4770
set dummy $ac_prog; ac_word=$2
 
4771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4772
$as_echo_n "checking for $ac_word... " >&6; }
 
4773
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4774
  $as_echo_n "(cached) " >&6
 
4775
else
 
4776
  if test -n "$ac_ct_CC"; then
 
4777
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4778
else
 
4779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4780
for as_dir in $PATH
 
4781
do
 
4782
  IFS=$as_save_IFS
 
4783
  test -z "$as_dir" && as_dir=.
 
4784
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4785
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4786
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4787
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4788
    break 2
 
4789
  fi
 
4790
done
 
4791
  done
 
4792
IFS=$as_save_IFS
 
4793
 
 
4794
fi
 
4795
fi
 
4796
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4797
if test -n "$ac_ct_CC"; then
 
4798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4799
$as_echo "$ac_ct_CC" >&6; }
 
4800
else
 
4801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4802
$as_echo "no" >&6; }
 
4803
fi
 
4804
 
 
4805
 
 
4806
  test -n "$ac_ct_CC" && break
 
4807
done
 
4808
 
 
4809
  if test "x$ac_ct_CC" = x; then
 
4810
    CC=""
 
4811
  else
 
4812
    case $cross_compiling:$ac_tool_warned in
 
4813
yes:)
 
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4815
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4816
ac_tool_warned=yes ;;
 
4817
esac
 
4818
    CC=$ac_ct_CC
 
4819
  fi
 
4820
fi
 
4821
 
 
4822
fi
 
4823
 
 
4824
 
 
4825
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4826
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4827
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4828
See \`config.log' for more details" "$LINENO" 5; }
 
4829
 
 
4830
# Provide some information about the compiler.
 
4831
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4832
set X $ac_compile
 
4833
ac_compiler=$2
 
4834
for ac_option in --version -v -V -qversion; do
 
4835
  { { ac_try="$ac_compiler $ac_option >&5"
 
4836
case "(($ac_try" in
 
4837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4838
  *) ac_try_echo=$ac_try;;
 
4839
esac
 
4840
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4841
$as_echo "$ac_try_echo"; } >&5
 
4842
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4843
  ac_status=$?
 
4844
  if test -s conftest.err; then
 
4845
    sed '10a\
 
4846
... rest of stderr output deleted ...
 
4847
         10q' conftest.err >conftest.er1
 
4848
    cat conftest.er1 >&5
 
4849
  fi
 
4850
  rm -f conftest.er1 conftest.err
 
4851
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4852
  test $ac_status = 0; }
 
4853
done
 
4854
 
 
4855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4856
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4857
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4858
  $as_echo_n "(cached) " >&6
 
4859
else
 
4860
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4861
/* end confdefs.h.  */
 
4862
 
 
4863
int
 
4864
main ()
 
4865
{
 
4866
#ifndef __GNUC__
 
4867
       choke me
 
4868
#endif
 
4869
 
 
4870
  ;
 
4871
  return 0;
 
4872
}
 
4873
_ACEOF
 
4874
if ac_fn_c_try_compile "$LINENO"; then :
 
4875
  ac_compiler_gnu=yes
 
4876
else
 
4877
  ac_compiler_gnu=no
 
4878
fi
 
4879
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4880
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4881
 
 
4882
fi
 
4883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4884
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4885
if test $ac_compiler_gnu = yes; then
 
4886
  GCC=yes
 
4887
else
 
4888
  GCC=
 
4889
fi
 
4890
ac_test_CFLAGS=${CFLAGS+set}
 
4891
ac_save_CFLAGS=$CFLAGS
 
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4893
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4894
if ${ac_cv_prog_cc_g+:} false; then :
 
4895
  $as_echo_n "(cached) " >&6
 
4896
else
 
4897
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4898
   ac_c_werror_flag=yes
 
4899
   ac_cv_prog_cc_g=no
 
4900
   CFLAGS="-g"
 
4901
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4902
/* end confdefs.h.  */
 
4903
 
 
4904
int
 
4905
main ()
 
4906
{
 
4907
 
 
4908
  ;
 
4909
  return 0;
 
4910
}
 
4911
_ACEOF
 
4912
if ac_fn_c_try_compile "$LINENO"; then :
 
4913
  ac_cv_prog_cc_g=yes
 
4914
else
 
4915
  CFLAGS=""
 
4916
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4917
/* end confdefs.h.  */
 
4918
 
 
4919
int
 
4920
main ()
 
4921
{
 
4922
 
 
4923
  ;
 
4924
  return 0;
 
4925
}
 
4926
_ACEOF
 
4927
if ac_fn_c_try_compile "$LINENO"; then :
 
4928
 
 
4929
else
 
4930
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4931
         CFLAGS="-g"
 
4932
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4933
/* end confdefs.h.  */
 
4934
 
 
4935
int
 
4936
main ()
 
4937
{
 
4938
 
 
4939
  ;
 
4940
  return 0;
 
4941
}
 
4942
_ACEOF
 
4943
if ac_fn_c_try_compile "$LINENO"; then :
 
4944
  ac_cv_prog_cc_g=yes
 
4945
fi
 
4946
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4947
fi
 
4948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4949
fi
 
4950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4951
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4952
fi
 
4953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4954
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4955
if test "$ac_test_CFLAGS" = set; then
 
4956
  CFLAGS=$ac_save_CFLAGS
 
4957
elif test $ac_cv_prog_cc_g = yes; then
 
4958
  if test "$GCC" = yes; then
 
4959
    CFLAGS="-g -O2"
 
4960
  else
 
4961
    CFLAGS="-g"
 
4962
  fi
 
4963
else
 
4964
  if test "$GCC" = yes; then
 
4965
    CFLAGS="-O2"
 
4966
  else
 
4967
    CFLAGS=
 
4968
  fi
 
4969
fi
 
4970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4971
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4972
if ${ac_cv_prog_cc_c89+:} false; then :
 
4973
  $as_echo_n "(cached) " >&6
 
4974
else
 
4975
  ac_cv_prog_cc_c89=no
 
4976
ac_save_CC=$CC
 
4977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4978
/* end confdefs.h.  */
 
4979
#include <stdarg.h>
 
4980
#include <stdio.h>
 
4981
#include <sys/types.h>
 
4982
#include <sys/stat.h>
 
4983
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4984
struct buf { int x; };
 
4985
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4986
static char *e (p, i)
 
4987
     char **p;
 
4988
     int i;
 
4989
{
 
4990
  return p[i];
 
4991
}
 
4992
static char *f (char * (*g) (char **, int), char **p, ...)
 
4993
{
 
4994
  char *s;
 
4995
  va_list v;
 
4996
  va_start (v,p);
 
4997
  s = g (p, va_arg (v,int));
 
4998
  va_end (v);
 
4999
  return s;
 
5000
}
 
5001
 
 
5002
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5003
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5004
   These don't provoke an error unfortunately, instead are silently treated
 
5005
   as 'x'.  The following induces an error, until -std is added to get
 
5006
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5007
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5008
   that's true only with -std.  */
 
5009
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5010
 
 
5011
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5012
   inside strings and character constants.  */
 
5013
#define FOO(x) 'x'
 
5014
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5015
 
 
5016
int test (int i, double x);
 
5017
struct s1 {int (*f) (int a);};
 
5018
struct s2 {int (*f) (double a);};
 
5019
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5020
int argc;
 
5021
char **argv;
 
5022
int
 
5023
main ()
 
5024
{
 
5025
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5026
  ;
 
5027
  return 0;
 
5028
}
 
5029
_ACEOF
 
5030
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5031
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5032
do
 
5033
  CC="$ac_save_CC $ac_arg"
 
5034
  if ac_fn_c_try_compile "$LINENO"; then :
 
5035
  ac_cv_prog_cc_c89=$ac_arg
 
5036
fi
 
5037
rm -f core conftest.err conftest.$ac_objext
 
5038
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5039
done
 
5040
rm -f conftest.$ac_ext
 
5041
CC=$ac_save_CC
 
5042
 
 
5043
fi
 
5044
# AC_CACHE_VAL
 
5045
case "x$ac_cv_prog_cc_c89" in
 
5046
  x)
 
5047
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5048
$as_echo "none needed" >&6; } ;;
 
5049
  xno)
 
5050
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5051
$as_echo "unsupported" >&6; } ;;
 
5052
  *)
 
5053
    CC="$CC $ac_cv_prog_cc_c89"
 
5054
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5055
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5056
esac
 
5057
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5058
 
 
5059
fi
 
5060
 
 
5061
ac_ext=c
 
5062
ac_cpp='$CPP $CPPFLAGS'
 
5063
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5064
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5065
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5066
 
 
5067
depcc="$CC"   am_compiler_list=
 
5068
 
 
5069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5070
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5071
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
5072
  $as_echo_n "(cached) " >&6
 
5073
else
 
5074
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5075
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5076
  # making bogus files that we don't know about and never remove.  For
 
5077
  # instance it was reported that on HP-UX the gcc test will end up
 
5078
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5079
  # in D'.
 
5080
  mkdir conftest.dir
 
5081
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5082
  # using a relative directory.
 
5083
  cp "$am_depcomp" conftest.dir
 
5084
  cd conftest.dir
 
5085
  # We will build objects and dependencies in a subdirectory because
 
5086
  # it helps to detect inapplicable dependency modes.  For instance
 
5087
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5088
  # side effect of compilation, but ICC will put the dependencies in
 
5089
  # the current directory while Tru64 will put them in the object
 
5090
  # directory.
 
5091
  mkdir sub
 
5092
 
 
5093
  am_cv_CC_dependencies_compiler_type=none
 
5094
  if test "$am_compiler_list" = ""; then
 
5095
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5096
  fi
 
5097
  am__universal=false
 
5098
  case " $depcc " in #(
 
5099
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5100
     esac
 
5101
 
 
5102
  for depmode in $am_compiler_list; do
 
5103
    # Setup a source with many dependencies, because some compilers
 
5104
    # like to wrap large dependency lists on column 80 (with \), and
 
5105
    # we should not choose a depcomp mode which is confused by this.
 
5106
    #
 
5107
    # We need to recreate these files for each test, as the compiler may
 
5108
    # overwrite some of them when testing with obscure command lines.
 
5109
    # This happens at least with the AIX C compiler.
 
5110
    : > sub/conftest.c
 
5111
    for i in 1 2 3 4 5 6; do
 
5112
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5113
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5114
      # Solaris 8's {/usr,}/bin/sh.
 
5115
      touch sub/conftst$i.h
 
5116
    done
 
5117
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5118
 
 
5119
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5120
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5121
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5122
    # versions had trouble with output in subdirs
 
5123
    am__obj=sub/conftest.${OBJEXT-o}
 
5124
    am__minus_obj="-o $am__obj"
 
5125
    case $depmode in
 
5126
    gcc)
 
5127
      # This depmode causes a compiler race in universal mode.
 
5128
      test "$am__universal" = false || continue
 
5129
      ;;
 
5130
    nosideeffect)
 
5131
      # after this tag, mechanisms are not by side-effect, so they'll
 
5132
      # only be used when explicitly requested
 
5133
      if test "x$enable_dependency_tracking" = xyes; then
 
5134
        continue
 
5135
      else
 
5136
        break
 
5137
      fi
 
5138
      ;;
 
5139
    msvisualcpp | msvcmsys)
 
5140
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5141
      # not run yet.  These depmodes are late enough in the game, and
 
5142
      # so weak that their functioning should not be impacted.
 
5143
      am__obj=conftest.${OBJEXT-o}
 
5144
      am__minus_obj=
 
5145
      ;;
 
5146
    none) break ;;
 
5147
    esac
 
5148
    if depmode=$depmode \
 
5149
       source=sub/conftest.c object=$am__obj \
 
5150
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5151
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
5152
         >/dev/null 2>conftest.err &&
 
5153
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5154
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5155
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
5156
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5157
      # icc doesn't choke on unknown options, it will just issue warnings
 
5158
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5159
      # that says an option was ignored or not supported.
 
5160
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5161
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5162
      # The diagnosis changed in icc 8.0:
 
5163
      #   icc: Command line remark: option '-MP' not supported
 
5164
      if (grep 'ignoring option' conftest.err ||
 
5165
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5166
        am_cv_CC_dependencies_compiler_type=$depmode
 
5167
        break
 
5168
      fi
 
5169
    fi
 
5170
  done
 
5171
 
 
5172
  cd ..
 
5173
  rm -rf conftest.dir
 
5174
else
 
5175
  am_cv_CC_dependencies_compiler_type=none
 
5176
fi
 
5177
 
 
5178
fi
 
5179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5180
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5181
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5182
 
 
5183
 if
 
5184
  test "x$enable_dependency_tracking" != xno \
 
5185
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5186
  am__fastdepCC_TRUE=
 
5187
  am__fastdepCC_FALSE='#'
 
5188
else
 
5189
  am__fastdepCC_TRUE='#'
 
5190
  am__fastdepCC_FALSE=
 
5191
fi
 
5192
 
 
5193
 
 
5194
if test "x$CC" != xcc; then
 
5195
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
5196
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
5197
else
 
5198
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
5199
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
5200
fi
 
5201
set dummy $CC; ac_cc=`$as_echo "$2" |
 
5202
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5203
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
5204
  $as_echo_n "(cached) " >&6
 
5205
else
 
5206
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5207
/* end confdefs.h.  */
 
5208
 
 
5209
int
 
5210
main ()
 
5211
{
 
5212
 
 
5213
  ;
 
5214
  return 0;
 
5215
}
 
5216
_ACEOF
 
5217
# Make sure it works both with $CC and with simple cc.
 
5218
# We do the test twice because some compilers refuse to overwrite an
 
5219
# existing .o file with -o, though they will create one.
 
5220
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5221
rm -f conftest2.*
 
5222
if { { case "(($ac_try" in
 
5223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5224
  *) ac_try_echo=$ac_try;;
 
5225
esac
 
5226
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5227
$as_echo "$ac_try_echo"; } >&5
 
5228
  (eval "$ac_try") 2>&5
 
5229
  ac_status=$?
 
5230
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5231
  test $ac_status = 0; } &&
 
5232
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5234
  *) ac_try_echo=$ac_try;;
 
5235
esac
 
5236
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5237
$as_echo "$ac_try_echo"; } >&5
 
5238
  (eval "$ac_try") 2>&5
 
5239
  ac_status=$?
 
5240
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5241
  test $ac_status = 0; };
 
5242
then
 
5243
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
5244
  if test "x$CC" != xcc; then
 
5245
    # Test first that cc exists at all.
 
5246
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
5247
  { { case "(($ac_try" in
 
5248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5249
  *) ac_try_echo=$ac_try;;
 
5250
esac
 
5251
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5252
$as_echo "$ac_try_echo"; } >&5
 
5253
  (eval "$ac_try") 2>&5
 
5254
  ac_status=$?
 
5255
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5256
  test $ac_status = 0; }; }; then
 
5257
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
5258
      rm -f conftest2.*
 
5259
      if { { case "(($ac_try" in
 
5260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5261
  *) ac_try_echo=$ac_try;;
 
5262
esac
 
5263
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5264
$as_echo "$ac_try_echo"; } >&5
 
5265
  (eval "$ac_try") 2>&5
 
5266
  ac_status=$?
 
5267
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5268
  test $ac_status = 0; } &&
 
5269
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5271
  *) ac_try_echo=$ac_try;;
 
5272
esac
 
5273
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5274
$as_echo "$ac_try_echo"; } >&5
 
5275
  (eval "$ac_try") 2>&5
 
5276
  ac_status=$?
 
5277
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5278
  test $ac_status = 0; };
 
5279
      then
 
5280
        # cc works too.
 
5281
        :
 
5282
      else
 
5283
        # cc exists but doesn't like -o.
 
5284
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5285
      fi
 
5286
    fi
 
5287
  fi
 
5288
else
 
5289
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
5290
fi
 
5291
rm -f core conftest*
 
5292
 
 
5293
fi
 
5294
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
5295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5296
$as_echo "yes" >&6; }
 
5297
else
 
5298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5299
$as_echo "no" >&6; }
 
5300
 
 
5301
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
5302
 
 
5303
fi
 
5304
 
 
5305
# FIXME: we rely on the cache variable name because
 
5306
# there is no other way.
 
5307
set dummy $CC
 
5308
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
5309
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
5310
if test "$am_t" != yes; then
 
5311
   # Losing compiler, so override with the script.
 
5312
   # FIXME: It is wrong to rewrite CC.
 
5313
   # But if we don't then we get into trouble of one sort or another.
 
5314
   # A longer-term fix would be to have automake use am__CC in this case,
 
5315
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
5316
   CC="$am_aux_dir/compile $CC"
 
5317
fi
 
5318
 
 
5319
 
 
5320
   case $ac_cv_prog_cc_stdc in #(
 
5321
  no) :
 
5322
    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
 
5323
  *) :
 
5324
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
 
5325
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
 
5326
if ${ac_cv_prog_cc_c99+:} false; then :
 
5327
  $as_echo_n "(cached) " >&6
 
5328
else
 
5329
  ac_cv_prog_cc_c99=no
 
5330
ac_save_CC=$CC
 
5331
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5332
/* end confdefs.h.  */
 
5333
#include <stdarg.h>
 
5334
#include <stdbool.h>
 
5335
#include <stdlib.h>
 
5336
#include <wchar.h>
 
5337
#include <stdio.h>
 
5338
 
 
5339
// Check varargs macros.  These examples are taken from C99 6.10.3.5.
 
5340
#define debug(...) fprintf (stderr, __VA_ARGS__)
 
5341
#define showlist(...) puts (#__VA_ARGS__)
 
5342
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
 
5343
static void
 
5344
test_varargs_macros (void)
 
5345
{
 
5346
  int x = 1234;
 
5347
  int y = 5678;
 
5348
  debug ("Flag");
 
5349
  debug ("X = %d\n", x);
 
5350
  showlist (The first, second, and third items.);
 
5351
  report (x>y, "x is %d but y is %d", x, y);
 
5352
}
 
5353
 
 
5354
// Check long long types.
 
5355
#define BIG64 18446744073709551615ull
 
5356
#define BIG32 4294967295ul
 
5357
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
 
5358
#if !BIG_OK
 
5359
  your preprocessor is broken;
 
5360
#endif
 
5361
#if BIG_OK
 
5362
#else
 
5363
  your preprocessor is broken;
 
5364
#endif
 
5365
static long long int bignum = -9223372036854775807LL;
 
5366
static unsigned long long int ubignum = BIG64;
 
5367
 
 
5368
struct incomplete_array
 
5369
{
 
5370
  int datasize;
 
5371
  double data[];
 
5372
};
 
5373
 
 
5374
struct named_init {
 
5375
  int number;
 
5376
  const wchar_t *name;
 
5377
  double average;
 
5378
};
 
5379
 
 
5380
typedef const char *ccp;
 
5381
 
 
5382
static inline int
 
5383
test_restrict (ccp restrict text)
 
5384
{
 
5385
  // See if C++-style comments work.
 
5386
  // Iterate through items via the restricted pointer.
 
5387
  // Also check for declarations in for loops.
 
5388
  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
 
5389
    continue;
 
5390
  return 0;
 
5391
}
 
5392
 
 
5393
// Check varargs and va_copy.
 
5394
static void
 
5395
test_varargs (const char *format, ...)
 
5396
{
 
5397
  va_list args;
 
5398
  va_start (args, format);
 
5399
  va_list args_copy;
 
5400
  va_copy (args_copy, args);
 
5401
 
 
5402
  const char *str;
 
5403
  int number;
 
5404
  float fnumber;
 
5405
 
 
5406
  while (*format)
 
5407
    {
 
5408
      switch (*format++)
 
5409
        {
 
5410
        case 's': // string
 
5411
          str = va_arg (args_copy, const char *);
 
5412
          break;
 
5413
        case 'd': // int
 
5414
          number = va_arg (args_copy, int);
 
5415
          break;
 
5416
        case 'f': // float
 
5417
          fnumber = va_arg (args_copy, double);
 
5418
          break;
 
5419
        default:
 
5420
          break;
 
5421
        }
 
5422
    }
 
5423
  va_end (args_copy);
 
5424
  va_end (args);
 
5425
}
 
5426
 
 
5427
int
 
5428
main ()
 
5429
{
 
5430
 
 
5431
  // Check bool.
 
5432
  _Bool success = false;
 
5433
 
 
5434
  // Check restrict.
 
5435
  if (test_restrict ("String literal") == 0)
 
5436
    success = true;
 
5437
  char *restrict newvar = "Another string";
 
5438
 
 
5439
  // Check varargs.
 
5440
  test_varargs ("s, d' f .", "string", 65, 34.234);
 
5441
  test_varargs_macros ();
 
5442
 
 
5443
  // Check flexible array members.
 
5444
  struct incomplete_array *ia =
 
5445
    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
 
5446
  ia->datasize = 10;
 
5447
  for (int i = 0; i < ia->datasize; ++i)
 
5448
    ia->data[i] = i * 1.234;
 
5449
 
 
5450
  // Check named initializers.
 
5451
  struct named_init ni = {
 
5452
    .number = 34,
 
5453
    .name = L"Test wide string",
 
5454
    .average = 543.34343,
 
5455
  };
 
5456
 
 
5457
  ni.number = 58;
 
5458
 
 
5459
  int dynamic_array[ni.number];
 
5460
  dynamic_array[ni.number - 1] = 543;
 
5461
 
 
5462
  // work around unused variable warnings
 
5463
  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
 
5464
          || dynamic_array[ni.number - 1] != 543);
 
5465
 
 
5466
  ;
 
5467
  return 0;
 
5468
}
 
5469
_ACEOF
 
5470
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
 
5471
do
 
5472
  CC="$ac_save_CC $ac_arg"
 
5473
  if ac_fn_c_try_compile "$LINENO"; then :
 
5474
  ac_cv_prog_cc_c99=$ac_arg
 
5475
fi
 
5476
rm -f core conftest.err conftest.$ac_objext
 
5477
  test "x$ac_cv_prog_cc_c99" != "xno" && break
 
5478
done
 
5479
rm -f conftest.$ac_ext
 
5480
CC=$ac_save_CC
 
5481
 
 
5482
fi
 
5483
# AC_CACHE_VAL
 
5484
case "x$ac_cv_prog_cc_c99" in
 
5485
  x)
 
5486
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5487
$as_echo "none needed" >&6; } ;;
 
5488
  xno)
 
5489
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5490
$as_echo "unsupported" >&6; } ;;
 
5491
  *)
 
5492
    CC="$CC $ac_cv_prog_cc_c99"
 
5493
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
 
5494
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
 
5495
esac
 
5496
if test "x$ac_cv_prog_cc_c99" != xno; then :
 
5497
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
 
5498
else
 
5499
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5500
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5501
if ${ac_cv_prog_cc_c89+:} false; then :
 
5502
  $as_echo_n "(cached) " >&6
 
5503
else
 
5504
  ac_cv_prog_cc_c89=no
 
5505
ac_save_CC=$CC
 
5506
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5507
/* end confdefs.h.  */
 
5508
#include <stdarg.h>
 
5509
#include <stdio.h>
 
5510
#include <sys/types.h>
 
5511
#include <sys/stat.h>
 
5512
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5513
struct buf { int x; };
 
5514
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5515
static char *e (p, i)
 
5516
     char **p;
 
5517
     int i;
 
5518
{
 
5519
  return p[i];
 
5520
}
 
5521
static char *f (char * (*g) (char **, int), char **p, ...)
 
5522
{
 
5523
  char *s;
 
5524
  va_list v;
 
5525
  va_start (v,p);
 
5526
  s = g (p, va_arg (v,int));
 
5527
  va_end (v);
 
5528
  return s;
 
5529
}
 
5530
 
 
5531
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5532
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5533
   These don't provoke an error unfortunately, instead are silently treated
 
5534
   as 'x'.  The following induces an error, until -std is added to get
 
5535
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5536
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5537
   that's true only with -std.  */
 
5538
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5539
 
 
5540
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5541
   inside strings and character constants.  */
 
5542
#define FOO(x) 'x'
 
5543
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5544
 
 
5545
int test (int i, double x);
 
5546
struct s1 {int (*f) (int a);};
 
5547
struct s2 {int (*f) (double a);};
 
5548
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5549
int argc;
 
5550
char **argv;
 
5551
int
 
5552
main ()
 
5553
{
 
5554
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5555
  ;
 
5556
  return 0;
 
5557
}
 
5558
_ACEOF
 
5559
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5560
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5561
do
 
5562
  CC="$ac_save_CC $ac_arg"
 
5563
  if ac_fn_c_try_compile "$LINENO"; then :
 
5564
  ac_cv_prog_cc_c89=$ac_arg
 
5565
fi
 
5566
rm -f core conftest.err conftest.$ac_objext
 
5567
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5568
done
 
5569
rm -f conftest.$ac_ext
 
5570
CC=$ac_save_CC
 
5571
 
 
5572
fi
 
5573
# AC_CACHE_VAL
 
5574
case "x$ac_cv_prog_cc_c89" in
 
5575
  x)
 
5576
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5577
$as_echo "none needed" >&6; } ;;
 
5578
  xno)
 
5579
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5580
$as_echo "unsupported" >&6; } ;;
 
5581
  *)
 
5582
    CC="$CC $ac_cv_prog_cc_c89"
 
5583
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5584
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5585
esac
 
5586
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5587
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
 
5588
else
 
5589
  ac_cv_prog_cc_stdc=no
 
5590
fi
 
5591
 
 
5592
fi
 
5593
 ;;
 
5594
esac
 
5595
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
 
5596
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
 
5597
  if ${ac_cv_prog_cc_stdc+:} false; then :
 
5598
  $as_echo_n "(cached) " >&6
 
5599
fi
 
5600
 
 
5601
  case $ac_cv_prog_cc_stdc in #(
 
5602
  no) :
 
5603
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5604
$as_echo "unsupported" >&6; } ;; #(
 
5605
  '') :
 
5606
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5607
$as_echo "none needed" >&6; } ;; #(
 
5608
  *) :
 
5609
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
 
5610
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
 
5611
esac
 
5612
 
 
5613
 
 
5614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
5615
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
5616
set x ${MAKE-make}
 
5617
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
5618
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
5619
  $as_echo_n "(cached) " >&6
 
5620
else
 
5621
  cat >conftest.make <<\_ACEOF
 
5622
SHELL = /bin/sh
 
5623
all:
 
5624
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
5625
_ACEOF
 
5626
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
5627
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
5628
  *@@@%%%=?*=@@@%%%*)
 
5629
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
5630
  *)
 
5631
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
5632
esac
 
5633
rm -f conftest.make
 
5634
fi
 
5635
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
5636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5637
$as_echo "yes" >&6; }
 
5638
  SET_MAKE=
 
5639
else
 
5640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5641
$as_echo "no" >&6; }
 
5642
  SET_MAKE="MAKE=${MAKE-make}"
 
5643
fi
 
5644
 
 
5645
 
 
5646
# i18n stuff
 
5647
 
 
5648
   for ac_header in locale.h
 
5649
do :
 
5650
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
5651
if test "x$ac_cv_header_locale_h" = xyes; then :
 
5652
  cat >>confdefs.h <<_ACEOF
 
5653
#define HAVE_LOCALE_H 1
 
5654
_ACEOF
 
5655
 
 
5656
fi
 
5657
 
 
5658
done
 
5659
 
 
5660
    if test $ac_cv_header_locale_h = yes; then
 
5661
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
5662
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
5663
if ${am_cv_val_LC_MESSAGES+:} false; then :
 
5664
  $as_echo_n "(cached) " >&6
 
5665
else
 
5666
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5667
/* end confdefs.h.  */
 
5668
#include <locale.h>
 
5669
int
 
5670
main ()
 
5671
{
 
5672
return LC_MESSAGES
 
5673
  ;
 
5674
  return 0;
 
5675
}
 
5676
_ACEOF
 
5677
if ac_fn_c_try_link "$LINENO"; then :
 
5678
  am_cv_val_LC_MESSAGES=yes
 
5679
else
 
5680
  am_cv_val_LC_MESSAGES=no
 
5681
fi
 
5682
rm -f core conftest.err conftest.$ac_objext \
 
5683
    conftest$ac_exeext conftest.$ac_ext
 
5684
fi
 
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
5686
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
5687
    if test $am_cv_val_LC_MESSAGES = yes; then
 
5688
 
 
5689
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
5690
 
 
5691
    fi
 
5692
  fi
 
5693
     USE_NLS=yes
 
5694
 
 
5695
 
 
5696
    gt_cv_have_gettext=no
 
5697
 
 
5698
    CATOBJEXT=NONE
 
5699
    XGETTEXT=:
 
5700
    INTLLIBS=
 
5701
 
 
5702
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
5703
if test "x$ac_cv_header_libintl_h" = xyes; then :
 
5704
  gt_cv_func_dgettext_libintl="no"
 
5705
      libintl_extra_libs=""
 
5706
 
 
5707
      #
 
5708
      # First check in libc
 
5709
      #
 
5710
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
5711
$as_echo_n "checking for ngettext in libc... " >&6; }
 
5712
if ${gt_cv_func_ngettext_libc+:} false; then :
 
5713
  $as_echo_n "(cached) " >&6
 
5714
else
 
5715
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5716
/* end confdefs.h.  */
 
5717
 
 
5718
#include <libintl.h>
 
5719
 
 
5720
int
 
5721
main ()
 
5722
{
 
5723
return !ngettext ("","", 1)
 
5724
  ;
 
5725
  return 0;
 
5726
}
 
5727
_ACEOF
 
5728
if ac_fn_c_try_link "$LINENO"; then :
 
5729
  gt_cv_func_ngettext_libc=yes
 
5730
else
 
5731
  gt_cv_func_ngettext_libc=no
 
5732
fi
 
5733
rm -f core conftest.err conftest.$ac_objext \
 
5734
    conftest$ac_exeext conftest.$ac_ext
 
5735
 
 
5736
fi
 
5737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
5738
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
5739
 
 
5740
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
5741
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
5742
$as_echo_n "checking for dgettext in libc... " >&6; }
 
5743
if ${gt_cv_func_dgettext_libc+:} false; then :
 
5744
  $as_echo_n "(cached) " >&6
 
5745
else
 
5746
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5747
/* end confdefs.h.  */
 
5748
 
 
5749
#include <libintl.h>
 
5750
 
 
5751
int
 
5752
main ()
 
5753
{
 
5754
return !dgettext ("","")
 
5755
  ;
 
5756
  return 0;
 
5757
}
 
5758
_ACEOF
 
5759
if ac_fn_c_try_link "$LINENO"; then :
 
5760
  gt_cv_func_dgettext_libc=yes
 
5761
else
 
5762
  gt_cv_func_dgettext_libc=no
 
5763
fi
 
5764
rm -f core conftest.err conftest.$ac_objext \
 
5765
    conftest$ac_exeext conftest.$ac_ext
 
5766
 
 
5767
fi
 
5768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
5769
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
5770
      fi
 
5771
 
 
5772
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
5773
        for ac_func in bind_textdomain_codeset
 
5774
do :
 
5775
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5776
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
5777
  cat >>confdefs.h <<_ACEOF
 
5778
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
5779
_ACEOF
 
5780
 
 
5781
fi
 
5782
done
 
5783
 
 
5784
      fi
 
5785
 
 
5786
      #
 
5787
      # If we don't have everything we want, check in libintl
 
5788
      #
 
5789
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
5790
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
5791
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
5792
 
 
5793
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
5794
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
5795
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
 
5796
  $as_echo_n "(cached) " >&6
 
5797
else
 
5798
  ac_check_lib_save_LIBS=$LIBS
 
5799
LIBS="-lintl  $LIBS"
 
5800
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5801
/* end confdefs.h.  */
 
5802
 
 
5803
/* Override any GCC internal prototype to avoid an error.
 
5804
   Use char because int might match the return type of a GCC
 
5805
   builtin and then its argument prototype would still apply.  */
 
5806
#ifdef __cplusplus
 
5807
extern "C"
 
5808
#endif
 
5809
char bindtextdomain ();
 
5810
int
 
5811
main ()
 
5812
{
 
5813
return bindtextdomain ();
 
5814
  ;
 
5815
  return 0;
 
5816
}
 
5817
_ACEOF
 
5818
if ac_fn_c_try_link "$LINENO"; then :
 
5819
  ac_cv_lib_intl_bindtextdomain=yes
 
5820
else
 
5821
  ac_cv_lib_intl_bindtextdomain=no
 
5822
fi
 
5823
rm -f core conftest.err conftest.$ac_objext \
 
5824
    conftest$ac_exeext conftest.$ac_ext
 
5825
LIBS=$ac_check_lib_save_LIBS
 
5826
fi
 
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
5828
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
5829
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
5830
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5831
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5832
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
5833
  $as_echo_n "(cached) " >&6
 
5834
else
 
5835
  ac_check_lib_save_LIBS=$LIBS
 
5836
LIBS="-lintl  $LIBS"
 
5837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5838
/* end confdefs.h.  */
 
5839
 
 
5840
/* Override any GCC internal prototype to avoid an error.
 
5841
   Use char because int might match the return type of a GCC
 
5842
   builtin and then its argument prototype would still apply.  */
 
5843
#ifdef __cplusplus
 
5844
extern "C"
 
5845
#endif
 
5846
char ngettext ();
 
5847
int
 
5848
main ()
 
5849
{
 
5850
return ngettext ();
 
5851
  ;
 
5852
  return 0;
 
5853
}
 
5854
_ACEOF
 
5855
if ac_fn_c_try_link "$LINENO"; then :
 
5856
  ac_cv_lib_intl_ngettext=yes
 
5857
else
 
5858
  ac_cv_lib_intl_ngettext=no
 
5859
fi
 
5860
rm -f core conftest.err conftest.$ac_objext \
 
5861
    conftest$ac_exeext conftest.$ac_ext
 
5862
LIBS=$ac_check_lib_save_LIBS
 
5863
fi
 
5864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5865
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5866
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
5867
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
5868
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
5869
if ${ac_cv_lib_intl_dgettext+:} false; then :
 
5870
  $as_echo_n "(cached) " >&6
 
5871
else
 
5872
  ac_check_lib_save_LIBS=$LIBS
 
5873
LIBS="-lintl  $LIBS"
 
5874
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5875
/* end confdefs.h.  */
 
5876
 
 
5877
/* Override any GCC internal prototype to avoid an error.
 
5878
   Use char because int might match the return type of a GCC
 
5879
   builtin and then its argument prototype would still apply.  */
 
5880
#ifdef __cplusplus
 
5881
extern "C"
 
5882
#endif
 
5883
char dgettext ();
 
5884
int
 
5885
main ()
 
5886
{
 
5887
return dgettext ();
 
5888
  ;
 
5889
  return 0;
 
5890
}
 
5891
_ACEOF
 
5892
if ac_fn_c_try_link "$LINENO"; then :
 
5893
  ac_cv_lib_intl_dgettext=yes
 
5894
else
 
5895
  ac_cv_lib_intl_dgettext=no
 
5896
fi
 
5897
rm -f core conftest.err conftest.$ac_objext \
 
5898
    conftest$ac_exeext conftest.$ac_ext
 
5899
LIBS=$ac_check_lib_save_LIBS
 
5900
fi
 
5901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
5902
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
5903
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
 
5904
  gt_cv_func_dgettext_libintl=yes
 
5905
fi
 
5906
 
 
5907
fi
 
5908
 
 
5909
fi
 
5910
 
 
5911
 
 
5912
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
5913
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
5914
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
5915
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
5916
$as_echo "" >&6; }
 
5917
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5918
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5919
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
5920
  $as_echo_n "(cached) " >&6
 
5921
else
 
5922
  ac_check_lib_save_LIBS=$LIBS
 
5923
LIBS="-lintl -liconv $LIBS"
 
5924
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5925
/* end confdefs.h.  */
 
5926
 
 
5927
/* Override any GCC internal prototype to avoid an error.
 
5928
   Use char because int might match the return type of a GCC
 
5929
   builtin and then its argument prototype would still apply.  */
 
5930
#ifdef __cplusplus
 
5931
extern "C"
 
5932
#endif
 
5933
char ngettext ();
 
5934
int
 
5935
main ()
 
5936
{
 
5937
return ngettext ();
 
5938
  ;
 
5939
  return 0;
 
5940
}
 
5941
_ACEOF
 
5942
if ac_fn_c_try_link "$LINENO"; then :
 
5943
  ac_cv_lib_intl_ngettext=yes
 
5944
else
 
5945
  ac_cv_lib_intl_ngettext=no
 
5946
fi
 
5947
rm -f core conftest.err conftest.$ac_objext \
 
5948
    conftest$ac_exeext conftest.$ac_ext
 
5949
LIBS=$ac_check_lib_save_LIBS
 
5950
fi
 
5951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5952
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5953
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
5954
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
5955
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
5956
if ${ac_cv_lib_intl_dcgettext+:} false; then :
 
5957
  $as_echo_n "(cached) " >&6
 
5958
else
 
5959
  ac_check_lib_save_LIBS=$LIBS
 
5960
LIBS="-lintl -liconv $LIBS"
 
5961
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5962
/* end confdefs.h.  */
 
5963
 
 
5964
/* Override any GCC internal prototype to avoid an error.
 
5965
   Use char because int might match the return type of a GCC
 
5966
   builtin and then its argument prototype would still apply.  */
 
5967
#ifdef __cplusplus
 
5968
extern "C"
 
5969
#endif
 
5970
char dcgettext ();
 
5971
int
 
5972
main ()
 
5973
{
 
5974
return dcgettext ();
 
5975
  ;
 
5976
  return 0;
 
5977
}
 
5978
_ACEOF
 
5979
if ac_fn_c_try_link "$LINENO"; then :
 
5980
  ac_cv_lib_intl_dcgettext=yes
 
5981
else
 
5982
  ac_cv_lib_intl_dcgettext=no
 
5983
fi
 
5984
rm -f core conftest.err conftest.$ac_objext \
 
5985
    conftest$ac_exeext conftest.$ac_ext
 
5986
LIBS=$ac_check_lib_save_LIBS
 
5987
fi
 
5988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
5989
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
5990
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
 
5991
  gt_cv_func_dgettext_libintl=yes
 
5992
                        libintl_extra_libs=-liconv
 
5993
else
 
5994
  :
 
5995
fi
 
5996
 
 
5997
else
 
5998
  :
 
5999
fi
 
6000
 
 
6001
        fi
 
6002
 
 
6003
        #
 
6004
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
6005
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
6006
        # and both have dgettext and ngettext
 
6007
        #
 
6008
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
6009
          glib_save_LIBS="$LIBS"
 
6010
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
6011
          unset ac_cv_func_bind_textdomain_codeset
 
6012
          for ac_func in bind_textdomain_codeset
 
6013
do :
 
6014
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6015
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
6016
  cat >>confdefs.h <<_ACEOF
 
6017
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
6018
_ACEOF
 
6019
 
 
6020
fi
 
6021
done
 
6022
 
 
6023
          LIBS="$glib_save_LIBS"
 
6024
 
 
6025
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
6026
            gt_cv_func_dgettext_libc=no
 
6027
          else
 
6028
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
6029
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
6030
              gt_cv_func_dgettext_libintl=no
 
6031
            fi
 
6032
          fi
 
6033
        fi
 
6034
      fi
 
6035
 
 
6036
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
6037
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
6038
        gt_cv_have_gettext=yes
 
6039
      fi
 
6040
 
 
6041
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
6042
        INTLLIBS="-lintl $libintl_extra_libs"
 
6043
      fi
 
6044
 
 
6045
      if test "$gt_cv_have_gettext" = "yes"; then
 
6046
 
 
6047
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
6048
 
 
6049
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
6050
set dummy msgfmt; ac_word=$2
 
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6052
$as_echo_n "checking for $ac_word... " >&6; }
 
6053
if ${ac_cv_path_MSGFMT+:} false; then :
 
6054
  $as_echo_n "(cached) " >&6
 
6055
else
 
6056
  case "$MSGFMT" in
 
6057
  /*)
 
6058
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
6059
  ;;
 
6060
  *)
 
6061
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
6062
  for ac_dir in $PATH; do
 
6063
    test -z "$ac_dir" && ac_dir=.
 
6064
    if test -f $ac_dir/$ac_word; then
 
6065
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
6066
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
6067
        break
 
6068
      fi
 
6069
    fi
 
6070
  done
 
6071
  IFS="$ac_save_ifs"
 
6072
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
6073
  ;;
 
6074
esac
 
6075
fi
 
6076
MSGFMT="$ac_cv_path_MSGFMT"
 
6077
if test "$MSGFMT" != "no"; then
 
6078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
6079
$as_echo "$MSGFMT" >&6; }
 
6080
else
 
6081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6082
$as_echo "no" >&6; }
 
6083
fi
 
6084
        if test "$MSGFMT" != "no"; then
 
6085
          glib_save_LIBS="$LIBS"
 
6086
          LIBS="$LIBS $INTLLIBS"
 
6087
          for ac_func in dcgettext
 
6088
do :
 
6089
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
6090
if test "x$ac_cv_func_dcgettext" = xyes; then :
 
6091
  cat >>confdefs.h <<_ACEOF
 
6092
#define HAVE_DCGETTEXT 1
 
6093
_ACEOF
 
6094
 
 
6095
fi
 
6096
done
 
6097
 
 
6098
          MSGFMT_OPTS=
 
6099
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
6100
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
6101
          cat >conftest.foo <<_ACEOF
 
6102
 
 
6103
msgid ""
 
6104
msgstr ""
 
6105
"Content-Type: text/plain; charset=UTF-8\n"
 
6106
"Project-Id-Version: test 1.0\n"
 
6107
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
6108
"Last-Translator: test <foo@bar.xx>\n"
 
6109
"Language-Team: C <LL@li.org>\n"
 
6110
"MIME-Version: 1.0\n"
 
6111
"Content-Transfer-Encoding: 8bit\n"
 
6112
 
 
6113
_ACEOF
 
6114
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
6115
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
6116
  ac_status=$?
 
6117
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6118
  test $ac_status = 0; }; then
 
6119
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6120
$as_echo "yes" >&6; }
 
6121
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6122
$as_echo "no" >&6; }
 
6123
echo "$as_me: failed input was:" >&5
 
6124
sed 's/^/| /' conftest.foo >&5
 
6125
fi
 
6126
 
 
6127
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
6128
set dummy gmsgfmt; ac_word=$2
 
6129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6130
$as_echo_n "checking for $ac_word... " >&6; }
 
6131
if ${ac_cv_path_GMSGFMT+:} false; then :
 
6132
  $as_echo_n "(cached) " >&6
 
6133
else
 
6134
  case $GMSGFMT in
 
6135
  [\\/]* | ?:[\\/]*)
 
6136
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
6137
  ;;
 
6138
  *)
 
6139
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6140
for as_dir in $PATH
 
6141
do
 
6142
  IFS=$as_save_IFS
 
6143
  test -z "$as_dir" && as_dir=.
 
6144
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6146
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
6147
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6148
    break 2
 
6149
  fi
 
6150
done
 
6151
  done
 
6152
IFS=$as_save_IFS
 
6153
 
 
6154
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
6155
  ;;
 
6156
esac
 
6157
fi
 
6158
GMSGFMT=$ac_cv_path_GMSGFMT
 
6159
if test -n "$GMSGFMT"; then
 
6160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
6161
$as_echo "$GMSGFMT" >&6; }
 
6162
else
 
6163
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6164
$as_echo "no" >&6; }
 
6165
fi
 
6166
 
 
6167
 
 
6168
          # Extract the first word of "xgettext", so it can be a program name with args.
 
6169
set dummy xgettext; ac_word=$2
 
6170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6171
$as_echo_n "checking for $ac_word... " >&6; }
 
6172
if ${ac_cv_path_XGETTEXT+:} false; then :
 
6173
  $as_echo_n "(cached) " >&6
 
6174
else
 
6175
  case "$XGETTEXT" in
 
6176
  /*)
 
6177
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
6178
  ;;
 
6179
  *)
 
6180
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
6181
  for ac_dir in $PATH; do
 
6182
    test -z "$ac_dir" && ac_dir=.
 
6183
    if test -f $ac_dir/$ac_word; then
 
6184
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
6185
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
6186
        break
 
6187
      fi
 
6188
    fi
 
6189
  done
 
6190
  IFS="$ac_save_ifs"
 
6191
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
6192
  ;;
 
6193
esac
 
6194
fi
 
6195
XGETTEXT="$ac_cv_path_XGETTEXT"
 
6196
if test "$XGETTEXT" != ":"; then
 
6197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
6198
$as_echo "$XGETTEXT" >&6; }
 
6199
else
 
6200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6201
$as_echo "no" >&6; }
 
6202
fi
 
6203
 
 
6204
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6205
/* end confdefs.h.  */
 
6206
 
 
6207
int
 
6208
main ()
 
6209
{
 
6210
extern int _nl_msg_cat_cntr;
 
6211
                         return _nl_msg_cat_cntr
 
6212
  ;
 
6213
  return 0;
 
6214
}
 
6215
_ACEOF
 
6216
if ac_fn_c_try_link "$LINENO"; then :
 
6217
  CATOBJEXT=.gmo
 
6218
             DATADIRNAME=share
 
6219
else
 
6220
  case $host in
 
6221
            *-*-solaris*)
 
6222
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6223
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
6224
  CATOBJEXT=.gmo
 
6225
               DATADIRNAME=share
 
6226
else
 
6227
  CATOBJEXT=.mo
 
6228
               DATADIRNAME=lib
 
6229
fi
 
6230
 
 
6231
            ;;
 
6232
            *)
 
6233
            CATOBJEXT=.mo
 
6234
            DATADIRNAME=lib
 
6235
            ;;
 
6236
            esac
 
6237
fi
 
6238
rm -f core conftest.err conftest.$ac_objext \
 
6239
    conftest$ac_exeext conftest.$ac_ext
 
6240
          LIBS="$glib_save_LIBS"
 
6241
          INSTOBJEXT=.mo
 
6242
        else
 
6243
          gt_cv_have_gettext=no
 
6244
        fi
 
6245
      fi
 
6246
 
 
6247
fi
 
6248
 
 
6249
 
 
6250
 
 
6251
    if test "$gt_cv_have_gettext" = "yes" ; then
 
6252
 
 
6253
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
6254
 
 
6255
    fi
 
6256
 
 
6257
        if test "$XGETTEXT" != ":"; then
 
6258
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
6259
        : ;
 
6260
      else
 
6261
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
6262
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
6263
        XGETTEXT=":"
 
6264
      fi
 
6265
    fi
 
6266
 
 
6267
    # We need to process the po/ directory.
 
6268
    POSUB=po
 
6269
 
 
6270
    ac_config_commands="$ac_config_commands default-1"
 
6271
 
 
6272
 
 
6273
                for lang in $ALL_LINGUAS; do
 
6274
      GMOFILES="$GMOFILES $lang.gmo"
 
6275
      POFILES="$POFILES $lang.po"
 
6276
    done
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
 
 
6284
 
 
6285
 
 
6286
 
 
6287
 
 
6288
 
 
6289
 
 
6290
   if test "$gt_cv_have_gettext" = "yes"; then
 
6291
     if test "x$ALL_LINGUAS" = "x"; then
 
6292
       LINGUAS=
 
6293
     else
 
6294
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
6295
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
6296
       NEW_LINGUAS=
 
6297
       for presentlang in $ALL_LINGUAS; do
 
6298
         useit=no
 
6299
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
6300
           desiredlanguages="$LINGUAS"
 
6301
         else
 
6302
           desiredlanguages="$ALL_LINGUAS"
 
6303
         fi
 
6304
         for desiredlang in $desiredlanguages; do
 
6305
           # Use the presentlang catalog if desiredlang is
 
6306
           #   a. equal to presentlang, or
 
6307
           #   b. a variant of presentlang (because in this case,
 
6308
           #      presentlang can be used as a fallback for messages
 
6309
           #      which are not translated in the desiredlang catalog).
 
6310
           case "$desiredlang" in
 
6311
             "$presentlang"*) useit=yes;;
 
6312
           esac
 
6313
         done
 
6314
         if test $useit = yes; then
 
6315
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
6316
         fi
 
6317
       done
 
6318
       LINGUAS=$NEW_LINGUAS
 
6319
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
6320
$as_echo "$LINGUAS" >&6; }
 
6321
     fi
 
6322
 
 
6323
          if test -n "$LINGUAS"; then
 
6324
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
6325
     fi
 
6326
   fi
 
6327
 
 
6328
            MKINSTALLDIRS=
 
6329
   if test -n "$ac_aux_dir"; then
 
6330
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
6331
   fi
 
6332
   if test -z "$MKINSTALLDIRS"; then
 
6333
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
6334
   fi
 
6335
 
 
6336
 
 
6337
         test -d po || mkdir po
 
6338
   if test "x$srcdir" != "x."; then
 
6339
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
6340
       posrcprefix="$srcdir/"
 
6341
     else
 
6342
       posrcprefix="../$srcdir/"
 
6343
     fi
 
6344
   else
 
6345
     posrcprefix="../"
 
6346
   fi
 
6347
   rm -f po/POTFILES
 
6348
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
6349
        < $srcdir/po/POTFILES.in > po/POTFILES
 
6350
 
 
6351
 
 
6352
# Define PACKAGE_VERSION_* variables.
 
6353
# Check whether --enable-static was given.
 
6354
if test "${enable_static+set}" = set; then :
 
6355
  enableval=$enable_static; p=${PACKAGE-default}
 
6356
    case $enableval in
 
6357
    yes) enable_static=yes ;;
 
6358
    no) enable_static=no ;;
 
6359
    *)
 
6360
     enable_static=no
 
6361
      # Look at the argument we got.  We use all the common list separators.
 
6362
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6363
      for pkg in $enableval; do
 
6364
        IFS="$lt_save_ifs"
 
6365
        if test "X$pkg" = "X$p"; then
 
6366
          enable_static=yes
 
6367
        fi
 
6368
      done
 
6369
      IFS="$lt_save_ifs"
 
6370
      ;;
 
6371
    esac
 
6372
else
 
6373
  enable_static=no
 
6374
fi
 
6375
 
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
 
6382
 
 
6383
 
 
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
6385
$as_echo_n "checking for library containing strerror... " >&6; }
 
6386
if ${ac_cv_search_strerror+:} false; then :
 
6387
  $as_echo_n "(cached) " >&6
 
6388
else
 
6389
  ac_func_search_save_LIBS=$LIBS
 
6390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6391
/* end confdefs.h.  */
 
6392
 
 
6393
/* Override any GCC internal prototype to avoid an error.
 
6394
   Use char because int might match the return type of a GCC
 
6395
   builtin and then its argument prototype would still apply.  */
 
6396
#ifdef __cplusplus
 
6397
extern "C"
 
6398
#endif
 
6399
char strerror ();
 
6400
int
 
6401
main ()
 
6402
{
 
6403
return strerror ();
 
6404
  ;
 
6405
  return 0;
 
6406
}
 
6407
_ACEOF
 
6408
for ac_lib in '' cposix; do
 
6409
  if test -z "$ac_lib"; then
 
6410
    ac_res="none required"
 
6411
  else
 
6412
    ac_res=-l$ac_lib
 
6413
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
6414
  fi
 
6415
  if ac_fn_c_try_link "$LINENO"; then :
 
6416
  ac_cv_search_strerror=$ac_res
 
6417
fi
 
6418
rm -f core conftest.err conftest.$ac_objext \
 
6419
    conftest$ac_exeext
 
6420
  if ${ac_cv_search_strerror+:} false; then :
 
6421
  break
 
6422
fi
 
6423
done
 
6424
if ${ac_cv_search_strerror+:} false; then :
 
6425
 
 
6426
else
 
6427
  ac_cv_search_strerror=no
 
6428
fi
 
6429
rm conftest.$ac_ext
 
6430
LIBS=$ac_func_search_save_LIBS
 
6431
fi
 
6432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
6433
$as_echo "$ac_cv_search_strerror" >&6; }
 
6434
ac_res=$ac_cv_search_strerror
 
6435
if test "$ac_res" != no; then :
 
6436
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
6437
 
 
6438
fi
 
6439
 
 
6440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
6441
$as_echo_n "checking for ANSI C header files... " >&6; }
 
6442
if ${ac_cv_header_stdc+:} false; then :
 
6443
  $as_echo_n "(cached) " >&6
 
6444
else
 
6445
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6446
/* end confdefs.h.  */
 
6447
#include <stdlib.h>
 
6448
#include <stdarg.h>
 
6449
#include <string.h>
 
6450
#include <float.h>
 
6451
 
 
6452
int
 
6453
main ()
 
6454
{
 
6455
 
 
6456
  ;
 
6457
  return 0;
 
6458
}
 
6459
_ACEOF
 
6460
if ac_fn_c_try_compile "$LINENO"; then :
 
6461
  ac_cv_header_stdc=yes
 
6462
else
 
6463
  ac_cv_header_stdc=no
 
6464
fi
 
6465
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6466
 
 
6467
if test $ac_cv_header_stdc = yes; then
 
6468
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6469
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6470
/* end confdefs.h.  */
 
6471
#include <string.h>
 
6472
 
 
6473
_ACEOF
 
6474
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6475
  $EGREP "memchr" >/dev/null 2>&1; then :
 
6476
 
 
6477
else
 
6478
  ac_cv_header_stdc=no
 
6479
fi
 
6480
rm -f conftest*
 
6481
 
 
6482
fi
 
6483
 
 
6484
if test $ac_cv_header_stdc = yes; then
 
6485
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6486
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6487
/* end confdefs.h.  */
 
6488
#include <stdlib.h>
 
6489
 
 
6490
_ACEOF
 
6491
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6492
  $EGREP "free" >/dev/null 2>&1; then :
 
6493
 
 
6494
else
 
6495
  ac_cv_header_stdc=no
 
6496
fi
 
6497
rm -f conftest*
 
6498
 
 
6499
fi
 
6500
 
 
6501
if test $ac_cv_header_stdc = yes; then
 
6502
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6503
  if test "$cross_compiling" = yes; then :
 
6504
  :
 
6505
else
 
6506
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6507
/* end confdefs.h.  */
 
6508
#include <ctype.h>
 
6509
#include <stdlib.h>
 
6510
#if ((' ' & 0x0FF) == 0x020)
 
6511
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6512
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6513
#else
 
6514
# define ISLOWER(c) \
 
6515
                   (('a' <= (c) && (c) <= 'i') \
 
6516
                     || ('j' <= (c) && (c) <= 'r') \
 
6517
                     || ('s' <= (c) && (c) <= 'z'))
 
6518
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6519
#endif
 
6520
 
 
6521
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6522
int
 
6523
main ()
 
6524
{
 
6525
  int i;
 
6526
  for (i = 0; i < 256; i++)
 
6527
    if (XOR (islower (i), ISLOWER (i))
 
6528
        || toupper (i) != TOUPPER (i))
 
6529
      return 2;
 
6530
  return 0;
 
6531
}
 
6532
_ACEOF
 
6533
if ac_fn_c_try_run "$LINENO"; then :
 
6534
 
 
6535
else
 
6536
  ac_cv_header_stdc=no
 
6537
fi
 
6538
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6539
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6540
fi
 
6541
 
 
6542
fi
 
6543
fi
 
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
6545
$as_echo "$ac_cv_header_stdc" >&6; }
 
6546
if test $ac_cv_header_stdc = yes; then
 
6547
 
 
6548
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
6549
 
 
6550
fi
 
6551
 
 
6552
case `pwd` in
 
6553
  *\ * | *\     *)
 
6554
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6555
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
6556
esac
 
6557
 
 
6558
 
 
6559
 
 
6560
macro_version='2.4'
 
6561
macro_revision='1.3293'
 
6562
 
 
6563
 
 
6564
 
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
 
 
6572
 
 
6573
 
 
6574
 
 
6575
ltmain="$ac_aux_dir/ltmain.sh"
 
6576
 
 
6577
# Make sure we can run config.sub.
 
6578
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
6579
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
6580
 
 
6581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
6582
$as_echo_n "checking build system type... " >&6; }
 
6583
if ${ac_cv_build+:} false; then :
 
6584
  $as_echo_n "(cached) " >&6
 
6585
else
 
6586
  ac_build_alias=$build_alias
 
6587
test "x$ac_build_alias" = x &&
 
6588
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
6589
test "x$ac_build_alias" = x &&
 
6590
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
6591
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
6592
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
6593
 
 
6594
fi
 
6595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
6596
$as_echo "$ac_cv_build" >&6; }
 
6597
case $ac_cv_build in
 
6598
*-*-*) ;;
 
6599
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
6600
esac
 
6601
build=$ac_cv_build
 
6602
ac_save_IFS=$IFS; IFS='-'
 
6603
set x $ac_cv_build
 
6604
shift
 
6605
build_cpu=$1
 
6606
build_vendor=$2
 
6607
shift; shift
 
6608
# Remember, the first character of IFS is used to create $*,
 
6609
# except with old shells:
 
6610
build_os=$*
 
6611
IFS=$ac_save_IFS
 
6612
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
6613
 
 
6614
 
 
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
6616
$as_echo_n "checking host system type... " >&6; }
 
6617
if ${ac_cv_host+:} false; then :
 
6618
  $as_echo_n "(cached) " >&6
 
6619
else
 
6620
  if test "x$host_alias" = x; then
 
6621
  ac_cv_host=$ac_cv_build
 
6622
else
 
6623
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
6624
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
6625
fi
 
6626
 
 
6627
fi
 
6628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
6629
$as_echo "$ac_cv_host" >&6; }
 
6630
case $ac_cv_host in
 
6631
*-*-*) ;;
 
6632
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
6633
esac
 
6634
host=$ac_cv_host
 
6635
ac_save_IFS=$IFS; IFS='-'
 
6636
set x $ac_cv_host
 
6637
shift
 
6638
host_cpu=$1
 
6639
host_vendor=$2
 
6640
shift; shift
 
6641
# Remember, the first character of IFS is used to create $*,
 
6642
# except with old shells:
 
6643
host_os=$*
 
6644
IFS=$ac_save_IFS
 
6645
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
6646
 
 
6647
 
 
6648
# Backslashify metacharacters that are still active within
 
6649
# double-quoted strings.
 
6650
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
6651
 
 
6652
# Same as above, but do not quote variable references.
 
6653
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
6654
 
 
6655
# Sed substitution to delay expansion of an escaped shell variable in a
 
6656
# double_quote_subst'ed string.
 
6657
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
6658
 
 
6659
# Sed substitution to delay expansion of an escaped single quote.
 
6660
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
6661
 
 
6662
# Sed substitution to avoid accidental globbing in evaled expressions
 
6663
no_glob_subst='s/\*/\\\*/g'
 
6664
 
 
6665
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6666
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
6667
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
6668
 
 
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
6670
$as_echo_n "checking how to print strings... " >&6; }
 
6671
# Test print first, because it will be a builtin if present.
 
6672
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
6673
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6674
  ECHO='print -r --'
 
6675
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6676
  ECHO='printf %s\n'
 
6677
else
 
6678
  # Use this function as a fallback that always works.
 
6679
  func_fallback_echo ()
 
6680
  {
 
6681
    eval 'cat <<_LTECHO_EOF
 
6682
$1
 
6683
_LTECHO_EOF'
 
6684
  }
 
6685
  ECHO='func_fallback_echo'
 
6686
fi
 
6687
 
 
6688
# func_echo_all arg...
 
6689
# Invoke $ECHO with all args, space-separated.
 
6690
func_echo_all ()
 
6691
{
 
6692
    $ECHO ""
 
6693
}
 
6694
 
 
6695
case "$ECHO" in
 
6696
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
6697
$as_echo "printf" >&6; } ;;
 
6698
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
6699
$as_echo "print -r" >&6; } ;;
 
6700
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
6701
$as_echo "cat" >&6; } ;;
 
6702
esac
 
6703
 
 
6704
 
 
6705
 
 
6706
 
 
6707
 
 
6708
 
 
6709
 
 
6710
 
 
6711
 
 
6712
 
 
6713
 
 
6714
 
 
6715
 
 
6716
 
 
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
6718
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
6719
if ${ac_cv_path_SED+:} false; then :
 
6720
  $as_echo_n "(cached) " >&6
 
6721
else
 
6722
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
6723
     for ac_i in 1 2 3 4 5 6 7; do
 
6724
       ac_script="$ac_script$as_nl$ac_script"
 
6725
     done
 
6726
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
6727
     { ac_script=; unset ac_script;}
 
6728
     if test -z "$SED"; then
 
6729
  ac_path_SED_found=false
 
6730
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6731
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6732
for as_dir in $PATH
 
6733
do
 
6734
  IFS=$as_save_IFS
 
6735
  test -z "$as_dir" && as_dir=.
 
6736
    for ac_prog in sed gsed; do
 
6737
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6738
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6739
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
6740
# Check for GNU ac_path_SED and select it if it is found.
 
6741
  # Check for GNU $ac_path_SED
 
6742
case `"$ac_path_SED" --version 2>&1` in
 
6743
*GNU*)
 
6744
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
6745
*)
 
6746
  ac_count=0
 
6747
  $as_echo_n 0123456789 >"conftest.in"
 
6748
  while :
 
6749
  do
 
6750
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6751
    mv "conftest.tmp" "conftest.in"
 
6752
    cp "conftest.in" "conftest.nl"
 
6753
    $as_echo '' >> "conftest.nl"
 
6754
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6755
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6756
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6757
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
6758
      # Best one so far, save it but keep looking for a better one
 
6759
      ac_cv_path_SED="$ac_path_SED"
 
6760
      ac_path_SED_max=$ac_count
 
6761
    fi
 
6762
    # 10*(2^10) chars as input seems more than enough
 
6763
    test $ac_count -gt 10 && break
 
6764
  done
 
6765
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6766
esac
 
6767
 
 
6768
      $ac_path_SED_found && break 3
 
6769
    done
 
6770
  done
 
6771
  done
 
6772
IFS=$as_save_IFS
 
6773
  if test -z "$ac_cv_path_SED"; then
 
6774
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
6775
  fi
 
6776
else
 
6777
  ac_cv_path_SED=$SED
 
6778
fi
 
6779
 
 
6780
fi
 
6781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
6782
$as_echo "$ac_cv_path_SED" >&6; }
 
6783
 SED="$ac_cv_path_SED"
 
6784
  rm -f conftest.sed
 
6785
 
 
6786
test -z "$SED" && SED=sed
 
6787
Xsed="$SED -e 1s/^X//"
 
6788
 
 
6789
 
 
6790
 
 
6791
 
 
6792
 
 
6793
 
 
6794
 
 
6795
 
 
6796
 
 
6797
 
 
6798
 
 
6799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
6800
$as_echo_n "checking for fgrep... " >&6; }
 
6801
if ${ac_cv_path_FGREP+:} false; then :
 
6802
  $as_echo_n "(cached) " >&6
 
6803
else
 
6804
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6805
   then ac_cv_path_FGREP="$GREP -F"
 
6806
   else
 
6807
     if test -z "$FGREP"; then
 
6808
  ac_path_FGREP_found=false
 
6809
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6810
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6811
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6812
do
 
6813
  IFS=$as_save_IFS
 
6814
  test -z "$as_dir" && as_dir=.
 
6815
    for ac_prog in fgrep; do
 
6816
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6817
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6818
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6819
# Check for GNU ac_path_FGREP and select it if it is found.
 
6820
  # Check for GNU $ac_path_FGREP
 
6821
case `"$ac_path_FGREP" --version 2>&1` in
 
6822
*GNU*)
 
6823
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6824
*)
 
6825
  ac_count=0
 
6826
  $as_echo_n 0123456789 >"conftest.in"
 
6827
  while :
 
6828
  do
 
6829
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6830
    mv "conftest.tmp" "conftest.in"
 
6831
    cp "conftest.in" "conftest.nl"
 
6832
    $as_echo 'FGREP' >> "conftest.nl"
 
6833
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6834
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6835
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6836
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6837
      # Best one so far, save it but keep looking for a better one
 
6838
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6839
      ac_path_FGREP_max=$ac_count
 
6840
    fi
 
6841
    # 10*(2^10) chars as input seems more than enough
 
6842
    test $ac_count -gt 10 && break
 
6843
  done
 
6844
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6845
esac
 
6846
 
 
6847
      $ac_path_FGREP_found && break 3
 
6848
    done
 
6849
  done
 
6850
  done
 
6851
IFS=$as_save_IFS
 
6852
  if test -z "$ac_cv_path_FGREP"; then
 
6853
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6854
  fi
 
6855
else
 
6856
  ac_cv_path_FGREP=$FGREP
 
6857
fi
 
6858
 
 
6859
   fi
 
6860
fi
 
6861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
6862
$as_echo "$ac_cv_path_FGREP" >&6; }
 
6863
 FGREP="$ac_cv_path_FGREP"
 
6864
 
 
6865
 
 
6866
test -z "$GREP" && GREP=grep
 
6867
 
 
6868
 
 
6869
 
 
6870
 
 
6871
 
 
6872
 
 
6873
 
 
6874
 
 
6875
 
 
6876
 
 
6877
 
 
6878
 
 
6879
 
 
6880
 
 
6881
 
 
6882
 
 
6883
 
 
6884
 
 
6885
 
 
6886
# Check whether --with-gnu-ld was given.
 
6887
if test "${with_gnu_ld+set}" = set; then :
 
6888
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
6889
else
 
6890
  with_gnu_ld=no
 
6891
fi
 
6892
 
 
6893
ac_prog=ld
 
6894
if test "$GCC" = yes; then
 
6895
  # Check if gcc -print-prog-name=ld gives a path.
 
6896
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
6897
$as_echo_n "checking for ld used by $CC... " >&6; }
 
6898
  case $host in
 
6899
  *-*-mingw*)
 
6900
    # gcc leaves a trailing carriage return which upsets mingw
 
6901
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
6902
  *)
 
6903
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
6904
  esac
 
6905
  case $ac_prog in
 
6906
    # Accept absolute paths.
 
6907
    [\\/]* | ?:[\\/]*)
 
6908
      re_direlt='/[^/][^/]*/\.\./'
 
6909
      # Canonicalize the pathname of ld
 
6910
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6911
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6912
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
6913
      done
 
6914
      test -z "$LD" && LD="$ac_prog"
 
6915
      ;;
 
6916
  "")
 
6917
    # If it fails, then pretend we aren't using GCC.
 
6918
    ac_prog=ld
 
6919
    ;;
 
6920
  *)
 
6921
    # If it is relative, then search for the first ld in PATH.
 
6922
    with_gnu_ld=unknown
 
6923
    ;;
 
6924
  esac
 
6925
elif test "$with_gnu_ld" = yes; then
 
6926
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
6927
$as_echo_n "checking for GNU ld... " >&6; }
 
6928
else
 
6929
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
6930
$as_echo_n "checking for non-GNU ld... " >&6; }
 
6931
fi
 
6932
if ${lt_cv_path_LD+:} false; then :
 
6933
  $as_echo_n "(cached) " >&6
 
6934
else
 
6935
  if test -z "$LD"; then
 
6936
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6937
  for ac_dir in $PATH; do
 
6938
    IFS="$lt_save_ifs"
 
6939
    test -z "$ac_dir" && ac_dir=.
 
6940
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
6941
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
6942
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
6943
      # but apparently some variants of GNU ld only accept -v.
 
6944
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
6945
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
6946
      *GNU* | *'with BFD'*)
 
6947
        test "$with_gnu_ld" != no && break
 
6948
        ;;
 
6949
      *)
 
6950
        test "$with_gnu_ld" != yes && break
 
6951
        ;;
 
6952
      esac
 
6953
    fi
 
6954
  done
 
6955
  IFS="$lt_save_ifs"
 
6956
else
 
6957
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
6958
fi
 
6959
fi
 
6960
 
 
6961
LD="$lt_cv_path_LD"
 
6962
if test -n "$LD"; then
 
6963
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
6964
$as_echo "$LD" >&6; }
 
6965
else
 
6966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6967
$as_echo "no" >&6; }
 
6968
fi
 
6969
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
6971
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
6972
if ${lt_cv_prog_gnu_ld+:} false; then :
 
6973
  $as_echo_n "(cached) " >&6
 
6974
else
 
6975
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
6976
case `$LD -v 2>&1 </dev/null` in
 
6977
*GNU* | *'with BFD'*)
 
6978
  lt_cv_prog_gnu_ld=yes
 
6979
  ;;
 
6980
*)
 
6981
  lt_cv_prog_gnu_ld=no
 
6982
  ;;
 
6983
esac
 
6984
fi
 
6985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
6986
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
6987
with_gnu_ld=$lt_cv_prog_gnu_ld
 
6988
 
 
6989
 
 
6990
 
 
6991
 
 
6992
 
 
6993
 
 
6994
 
 
6995
 
 
6996
 
 
6997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6998
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6999
if ${lt_cv_path_NM+:} false; then :
 
7000
  $as_echo_n "(cached) " >&6
 
7001
else
 
7002
  if test -n "$NM"; then
 
7003
  # Let the user override the test.
 
7004
  lt_cv_path_NM="$NM"
 
7005
else
 
7006
  lt_nm_to_check="${ac_tool_prefix}nm"
 
7007
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
7008
    lt_nm_to_check="$lt_nm_to_check nm"
 
7009
  fi
 
7010
  for lt_tmp_nm in $lt_nm_to_check; do
 
7011
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7012
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
7013
      IFS="$lt_save_ifs"
 
7014
      test -z "$ac_dir" && ac_dir=.
 
7015
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
7016
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
7017
        # Check to see if the nm accepts a BSD-compat flag.
 
7018
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
7019
        #   nm: unknown option "B" ignored
 
7020
        # Tru64's nm complains that /dev/null is an invalid object file
 
7021
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
7022
        */dev/null* | *'Invalid file or object type'*)
 
7023
          lt_cv_path_NM="$tmp_nm -B"
 
7024
          break
 
7025
          ;;
 
7026
        *)
 
7027
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
7028
          */dev/null*)
 
7029
            lt_cv_path_NM="$tmp_nm -p"
 
7030
            break
 
7031
            ;;
 
7032
          *)
 
7033
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
7034
            continue # so that we can try to find one that supports BSD flags
 
7035
            ;;
 
7036
          esac
 
7037
          ;;
 
7038
        esac
 
7039
      fi
 
7040
    done
 
7041
    IFS="$lt_save_ifs"
 
7042
  done
 
7043
  : ${lt_cv_path_NM=no}
 
7044
fi
 
7045
fi
 
7046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
7047
$as_echo "$lt_cv_path_NM" >&6; }
 
7048
if test "$lt_cv_path_NM" != "no"; then
 
7049
  NM="$lt_cv_path_NM"
 
7050
else
 
7051
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
7052
  if test -n "$DUMPBIN"; then :
 
7053
    # Let the user override the test.
 
7054
  else
 
7055
    if test -n "$ac_tool_prefix"; then
 
7056
  for ac_prog in dumpbin "link -dump"
 
7057
  do
 
7058
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7059
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7061
$as_echo_n "checking for $ac_word... " >&6; }
 
7062
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
7063
  $as_echo_n "(cached) " >&6
 
7064
else
 
7065
  if test -n "$DUMPBIN"; then
 
7066
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7067
else
 
7068
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7069
for as_dir in $PATH
 
7070
do
 
7071
  IFS=$as_save_IFS
 
7072
  test -z "$as_dir" && as_dir=.
 
7073
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7074
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7075
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7076
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7077
    break 2
 
7078
  fi
 
7079
done
 
7080
  done
 
7081
IFS=$as_save_IFS
 
7082
 
 
7083
fi
 
7084
fi
 
7085
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7086
if test -n "$DUMPBIN"; then
 
7087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
7088
$as_echo "$DUMPBIN" >&6; }
 
7089
else
 
7090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7091
$as_echo "no" >&6; }
 
7092
fi
 
7093
 
 
7094
 
 
7095
    test -n "$DUMPBIN" && break
 
7096
  done
 
7097
fi
 
7098
if test -z "$DUMPBIN"; then
 
7099
  ac_ct_DUMPBIN=$DUMPBIN
 
7100
  for ac_prog in dumpbin "link -dump"
 
7101
do
 
7102
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7103
set dummy $ac_prog; ac_word=$2
 
7104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7105
$as_echo_n "checking for $ac_word... " >&6; }
 
7106
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
7107
  $as_echo_n "(cached) " >&6
 
7108
else
 
7109
  if test -n "$ac_ct_DUMPBIN"; then
 
7110
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7111
else
 
7112
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7113
for as_dir in $PATH
 
7114
do
 
7115
  IFS=$as_save_IFS
 
7116
  test -z "$as_dir" && as_dir=.
 
7117
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7118
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7119
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7120
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7121
    break 2
 
7122
  fi
 
7123
done
 
7124
  done
 
7125
IFS=$as_save_IFS
 
7126
 
 
7127
fi
 
7128
fi
 
7129
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7130
if test -n "$ac_ct_DUMPBIN"; then
 
7131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
7132
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7133
else
 
7134
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7135
$as_echo "no" >&6; }
 
7136
fi
 
7137
 
 
7138
 
 
7139
  test -n "$ac_ct_DUMPBIN" && break
 
7140
done
 
7141
 
 
7142
  if test "x$ac_ct_DUMPBIN" = x; then
 
7143
    DUMPBIN=":"
 
7144
  else
 
7145
    case $cross_compiling:$ac_tool_warned in
 
7146
yes:)
 
7147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7148
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7149
ac_tool_warned=yes ;;
 
7150
esac
 
7151
    DUMPBIN=$ac_ct_DUMPBIN
 
7152
  fi
 
7153
fi
 
7154
 
 
7155
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
7156
    *COFF*)
 
7157
      DUMPBIN="$DUMPBIN -symbols"
 
7158
      ;;
 
7159
    *)
 
7160
      DUMPBIN=:
 
7161
      ;;
 
7162
    esac
 
7163
  fi
 
7164
 
 
7165
  if test "$DUMPBIN" != ":"; then
 
7166
    NM="$DUMPBIN"
 
7167
  fi
 
7168
fi
 
7169
test -z "$NM" && NM=nm
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
7177
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7178
if ${lt_cv_nm_interface+:} false; then :
 
7179
  $as_echo_n "(cached) " >&6
 
7180
else
 
7181
  lt_cv_nm_interface="BSD nm"
 
7182
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7183
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
7184
  (eval "$ac_compile" 2>conftest.err)
 
7185
  cat conftest.err >&5
 
7186
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7187
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7188
  cat conftest.err >&5
 
7189
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
7190
  cat conftest.out >&5
 
7191
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7192
    lt_cv_nm_interface="MS dumpbin"
 
7193
  fi
 
7194
  rm -f conftest*
 
7195
fi
 
7196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
7197
$as_echo "$lt_cv_nm_interface" >&6; }
 
7198
 
 
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
7200
$as_echo_n "checking whether ln -s works... " >&6; }
 
7201
LN_S=$as_ln_s
 
7202
if test "$LN_S" = "ln -s"; then
 
7203
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7204
$as_echo "yes" >&6; }
 
7205
else
 
7206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
7207
$as_echo "no, using $LN_S" >&6; }
 
7208
fi
 
7209
 
 
7210
# find the maximum length of command line arguments
 
7211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
7212
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7213
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
7214
  $as_echo_n "(cached) " >&6
 
7215
else
 
7216
    i=0
 
7217
  teststring="ABCD"
 
7218
 
 
7219
  case $build_os in
 
7220
  msdosdjgpp*)
 
7221
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7222
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7223
    # during glob expansion).  Even if it were fixed, the result of this
 
7224
    # check would be larger than it should be.
 
7225
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7226
    ;;
 
7227
 
 
7228
  gnu*)
 
7229
    # Under GNU Hurd, this test is not required because there is
 
7230
    # no limit to the length of command line arguments.
 
7231
    # Libtool will interpret -1 as no limit whatsoever
 
7232
    lt_cv_sys_max_cmd_len=-1;
 
7233
    ;;
 
7234
 
 
7235
  cygwin* | mingw* | cegcc*)
 
7236
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7237
    # about 5 minutes as the teststring grows exponentially.
 
7238
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7239
    # you end up with a "frozen" computer, even though with patience
 
7240
    # the test eventually succeeds (with a max line length of 256k).
 
7241
    # Instead, let's just punt: use the minimum linelength reported by
 
7242
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7243
    lt_cv_sys_max_cmd_len=8192;
 
7244
    ;;
 
7245
 
 
7246
  mint*)
 
7247
    # On MiNT this can take a long time and run out of memory.
 
7248
    lt_cv_sys_max_cmd_len=8192;
 
7249
    ;;
 
7250
 
 
7251
  amigaos*)
 
7252
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7253
    # So we just punt and use a minimum line length of 8192.
 
7254
    lt_cv_sys_max_cmd_len=8192;
 
7255
    ;;
 
7256
 
 
7257
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7258
    # This has been around since 386BSD, at least.  Likely further.
 
7259
    if test -x /sbin/sysctl; then
 
7260
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7261
    elif test -x /usr/sbin/sysctl; then
 
7262
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7263
    else
 
7264
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7265
    fi
 
7266
    # And add a safety zone
 
7267
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7268
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7269
    ;;
 
7270
 
 
7271
  interix*)
 
7272
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7273
    lt_cv_sys_max_cmd_len=196608
 
7274
    ;;
 
7275
 
 
7276
  osf*)
 
7277
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7278
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7279
    # nice to cause kernel panics so lets avoid the loop below.
 
7280
    # First set a reasonable default.
 
7281
    lt_cv_sys_max_cmd_len=16384
 
7282
    #
 
7283
    if test -x /sbin/sysconfig; then
 
7284
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7285
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7286
      esac
 
7287
    fi
 
7288
    ;;
 
7289
  sco3.2v5*)
 
7290
    lt_cv_sys_max_cmd_len=102400
 
7291
    ;;
 
7292
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7293
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7294
    if test -n "$kargmax"; then
 
7295
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7296
    else
 
7297
      lt_cv_sys_max_cmd_len=32768
 
7298
    fi
 
7299
    ;;
 
7300
  *)
 
7301
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7302
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7303
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7304
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7305
    else
 
7306
      # Make teststring a little bigger before we do anything with it.
 
7307
      # a 1K string should be a reasonable start.
 
7308
      for i in 1 2 3 4 5 6 7 8 ; do
 
7309
        teststring=$teststring$teststring
 
7310
      done
 
7311
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7312
      # If test is not a shell built-in, we'll probably end up computing a
 
7313
      # maximum length that is only half of the actual maximum length, but
 
7314
      # we can't tell.
 
7315
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
7316
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
7317
              test $i != 17 # 1/2 MB should be enough
 
7318
      do
 
7319
        i=`expr $i + 1`
 
7320
        teststring=$teststring$teststring
 
7321
      done
 
7322
      # Only check the string length outside the loop.
 
7323
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7324
      teststring=
 
7325
      # Add a significant safety factor because C++ compilers can tack on
 
7326
      # massive amounts of additional arguments before passing them to the
 
7327
      # linker.  It appears as though 1/2 is a usable value.
 
7328
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7329
    fi
 
7330
    ;;
 
7331
  esac
 
7332
 
 
7333
fi
 
7334
 
 
7335
if test -n $lt_cv_sys_max_cmd_len ; then
 
7336
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
7337
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
7338
else
 
7339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
7340
$as_echo "none" >&6; }
 
7341
fi
 
7342
max_cmd_len=$lt_cv_sys_max_cmd_len
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
: ${CP="cp -f"}
 
7350
: ${MV="mv -f"}
 
7351
: ${RM="rm -f"}
 
7352
 
 
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
7354
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
7355
# Try some XSI features
 
7356
xsi_shell=no
 
7357
( _lt_dummy="a/b/c"
 
7358
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
7359
      = c,a/b,b/c, \
 
7360
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
7361
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
7362
  && xsi_shell=yes
 
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
7364
$as_echo "$xsi_shell" >&6; }
 
7365
 
 
7366
 
 
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
7368
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
7369
lt_shell_append=no
 
7370
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
7371
    >/dev/null 2>&1 \
 
7372
  && lt_shell_append=yes
 
7373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
7374
$as_echo "$lt_shell_append" >&6; }
 
7375
 
 
7376
 
 
7377
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
7378
  lt_unset=unset
 
7379
else
 
7380
  lt_unset=false
 
7381
fi
 
7382
 
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
# test EBCDIC or ASCII
 
7388
case `echo X|tr X '\101'` in
 
7389
 A) # ASCII based system
 
7390
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
7391
  lt_SP2NL='tr \040 \012'
 
7392
  lt_NL2SP='tr \015\012 \040\040'
 
7393
  ;;
 
7394
 *) # EBCDIC based system
 
7395
  lt_SP2NL='tr \100 \n'
 
7396
  lt_NL2SP='tr \r\n \100\100'
 
7397
  ;;
 
7398
esac
 
7399
 
 
7400
 
 
7401
 
 
7402
 
 
7403
 
 
7404
 
 
7405
 
 
7406
 
 
7407
 
 
7408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
7409
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
7410
if ${lt_cv_to_host_file_cmd+:} false; then :
 
7411
  $as_echo_n "(cached) " >&6
 
7412
else
 
7413
  case $host in
 
7414
  *-*-mingw* )
 
7415
    case $build in
 
7416
      *-*-mingw* ) # actually msys
 
7417
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
7418
        ;;
 
7419
      *-*-cygwin* )
 
7420
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
7421
        ;;
 
7422
      * ) # otherwise, assume *nix
 
7423
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
7424
        ;;
 
7425
    esac
 
7426
    ;;
 
7427
  *-*-cygwin* )
 
7428
    case $build in
 
7429
      *-*-mingw* ) # actually msys
 
7430
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
7431
        ;;
 
7432
      *-*-cygwin* )
 
7433
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
7434
        ;;
 
7435
      * ) # otherwise, assume *nix
 
7436
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
7437
        ;;
 
7438
    esac
 
7439
    ;;
 
7440
  * ) # unhandled hosts (and "normal" native builds)
 
7441
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
7442
    ;;
 
7443
esac
 
7444
 
 
7445
fi
 
7446
 
 
7447
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
7449
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
 
 
7455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
7456
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
7457
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
7458
  $as_echo_n "(cached) " >&6
 
7459
else
 
7460
  #assume ordinary cross tools, or native build.
 
7461
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
7462
case $host in
 
7463
  *-*-mingw* )
 
7464
    case $build in
 
7465
      *-*-mingw* ) # actually msys
 
7466
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
7467
        ;;
 
7468
    esac
 
7469
    ;;
 
7470
esac
 
7471
 
 
7472
fi
 
7473
 
 
7474
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
7475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
7476
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
7477
 
 
7478
 
 
7479
 
 
7480
 
 
7481
 
 
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
7483
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7484
if ${lt_cv_ld_reload_flag+:} false; then :
 
7485
  $as_echo_n "(cached) " >&6
 
7486
else
 
7487
  lt_cv_ld_reload_flag='-r'
 
7488
fi
 
7489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
7490
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7491
reload_flag=$lt_cv_ld_reload_flag
 
7492
case $reload_flag in
 
7493
"" | " "*) ;;
 
7494
*) reload_flag=" $reload_flag" ;;
 
7495
esac
 
7496
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7497
case $host_os in
 
7498
  cygwin* | mingw* | pw32* | cegcc*)
 
7499
    if test "$GCC" != yes; then
 
7500
      reload_cmds=false
 
7501
    fi
 
7502
    ;;
 
7503
  darwin*)
 
7504
    if test "$GCC" = yes; then
 
7505
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7506
    else
 
7507
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7508
    fi
 
7509
    ;;
 
7510
esac
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
 
 
7517
 
 
7518
 
 
7519
 
 
7520
if test -n "$ac_tool_prefix"; then
 
7521
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7522
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7524
$as_echo_n "checking for $ac_word... " >&6; }
 
7525
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
7526
  $as_echo_n "(cached) " >&6
 
7527
else
 
7528
  if test -n "$OBJDUMP"; then
 
7529
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7530
else
 
7531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7532
for as_dir in $PATH
 
7533
do
 
7534
  IFS=$as_save_IFS
 
7535
  test -z "$as_dir" && as_dir=.
 
7536
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7537
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7538
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7539
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7540
    break 2
 
7541
  fi
 
7542
done
 
7543
  done
 
7544
IFS=$as_save_IFS
 
7545
 
 
7546
fi
 
7547
fi
 
7548
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7549
if test -n "$OBJDUMP"; then
 
7550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
7551
$as_echo "$OBJDUMP" >&6; }
 
7552
else
 
7553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7554
$as_echo "no" >&6; }
 
7555
fi
 
7556
 
 
7557
 
 
7558
fi
 
7559
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7560
  ac_ct_OBJDUMP=$OBJDUMP
 
7561
  # Extract the first word of "objdump", so it can be a program name with args.
 
7562
set dummy objdump; ac_word=$2
 
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7564
$as_echo_n "checking for $ac_word... " >&6; }
 
7565
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
7566
  $as_echo_n "(cached) " >&6
 
7567
else
 
7568
  if test -n "$ac_ct_OBJDUMP"; then
 
7569
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7570
else
 
7571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7572
for as_dir in $PATH
 
7573
do
 
7574
  IFS=$as_save_IFS
 
7575
  test -z "$as_dir" && as_dir=.
 
7576
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7577
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7578
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7579
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7580
    break 2
 
7581
  fi
 
7582
done
 
7583
  done
 
7584
IFS=$as_save_IFS
 
7585
 
 
7586
fi
 
7587
fi
 
7588
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7589
if test -n "$ac_ct_OBJDUMP"; then
 
7590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
7591
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7592
else
 
7593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7594
$as_echo "no" >&6; }
 
7595
fi
 
7596
 
 
7597
  if test "x$ac_ct_OBJDUMP" = x; then
 
7598
    OBJDUMP="false"
 
7599
  else
 
7600
    case $cross_compiling:$ac_tool_warned in
 
7601
yes:)
 
7602
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7603
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7604
ac_tool_warned=yes ;;
 
7605
esac
 
7606
    OBJDUMP=$ac_ct_OBJDUMP
 
7607
  fi
 
7608
else
 
7609
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7610
fi
 
7611
 
 
7612
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7613
 
 
7614
 
 
7615
 
 
7616
 
 
7617
 
 
7618
 
 
7619
 
 
7620
 
 
7621
 
 
7622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
7623
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
7624
if ${lt_cv_deplibs_check_method+:} false; then :
 
7625
  $as_echo_n "(cached) " >&6
 
7626
else
 
7627
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7628
lt_cv_file_magic_test_file=
 
7629
lt_cv_deplibs_check_method='unknown'
 
7630
# Need to set the preceding variable on all platforms that support
 
7631
# interlibrary dependencies.
 
7632
# 'none' -- dependencies not supported.
 
7633
# `unknown' -- same as none, but documents that we really don't know.
 
7634
# 'pass_all' -- all dependencies passed with no checks.
 
7635
# 'test_compile' -- check by making test program.
 
7636
# 'file_magic [[regex]]' -- check by looking for files in library path
 
7637
# which responds to the $file_magic_cmd with a given extended regex.
 
7638
# If you have `file' or equivalent on your system and you're not sure
 
7639
# whether `pass_all' will *always* work, you probably want this one.
 
7640
 
 
7641
case $host_os in
 
7642
aix[4-9]*)
 
7643
  lt_cv_deplibs_check_method=pass_all
 
7644
  ;;
 
7645
 
 
7646
beos*)
 
7647
  lt_cv_deplibs_check_method=pass_all
 
7648
  ;;
 
7649
 
 
7650
bsdi[45]*)
 
7651
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
7652
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7653
  lt_cv_file_magic_test_file=/shlib/libc.so
 
7654
  ;;
 
7655
 
 
7656
cygwin*)
 
7657
  # func_win32_libid is a shell function defined in ltmain.sh
 
7658
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7659
  lt_cv_file_magic_cmd='func_win32_libid'
 
7660
  ;;
 
7661
 
 
7662
mingw* | pw32*)
 
7663
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7664
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7665
  # unless we find 'file', for example because we are cross-compiling.
 
7666
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
7667
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
7668
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7669
    lt_cv_file_magic_cmd='func_win32_libid'
 
7670
  else
 
7671
    # Keep this pattern in sync with the one in func_win32_libid.
 
7672
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
7673
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7674
  fi
 
7675
  ;;
 
7676
 
 
7677
cegcc*)
 
7678
  # use the weaker test based on 'objdump'. See mingw*.
 
7679
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7680
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7681
  ;;
 
7682
 
 
7683
darwin* | rhapsody*)
 
7684
  lt_cv_deplibs_check_method=pass_all
 
7685
  ;;
 
7686
 
 
7687
freebsd* | dragonfly*)
 
7688
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7689
    case $host_cpu in
 
7690
    i*86 )
 
7691
      # Not sure whether the presence of OpenBSD here was a mistake.
 
7692
      # Let's accept both of them until this is cleared up.
 
7693
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
7694
      lt_cv_file_magic_cmd=/usr/bin/file
 
7695
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7696
      ;;
 
7697
    esac
 
7698
  else
 
7699
    lt_cv_deplibs_check_method=pass_all
 
7700
  fi
 
7701
  ;;
 
7702
 
 
7703
gnu*)
 
7704
  lt_cv_deplibs_check_method=pass_all
 
7705
  ;;
 
7706
 
 
7707
haiku*)
 
7708
  lt_cv_deplibs_check_method=pass_all
 
7709
  ;;
 
7710
 
 
7711
hpux10.20* | hpux11*)
 
7712
  lt_cv_file_magic_cmd=/usr/bin/file
 
7713
  case $host_cpu in
 
7714
  ia64*)
 
7715
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
7716
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7717
    ;;
 
7718
  hppa*64*)
 
7719
    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]'
 
7720
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7721
    ;;
 
7722
  *)
 
7723
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
7724
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7725
    ;;
 
7726
  esac
 
7727
  ;;
 
7728
 
 
7729
interix[3-9]*)
 
7730
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
7731
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
7732
  ;;
 
7733
 
 
7734
irix5* | irix6* | nonstopux*)
 
7735
  case $LD in
 
7736
  *-32|*"-32 ") libmagic=32-bit;;
 
7737
  *-n32|*"-n32 ") libmagic=N32;;
 
7738
  *-64|*"-64 ") libmagic=64-bit;;
 
7739
  *) libmagic=never-match;;
 
7740
  esac
 
7741
  lt_cv_deplibs_check_method=pass_all
 
7742
  ;;
 
7743
 
 
7744
# This must be Linux ELF.
 
7745
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7746
  lt_cv_deplibs_check_method=pass_all
 
7747
  ;;
 
7748
 
 
7749
netbsd*)
 
7750
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7751
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7752
  else
 
7753
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
7754
  fi
 
7755
  ;;
 
7756
 
 
7757
newos6*)
 
7758
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
7759
  lt_cv_file_magic_cmd=/usr/bin/file
 
7760
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7761
  ;;
 
7762
 
 
7763
*nto* | *qnx*)
 
7764
  lt_cv_deplibs_check_method=pass_all
 
7765
  ;;
 
7766
 
 
7767
openbsd*)
 
7768
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7769
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
7770
  else
 
7771
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7772
  fi
 
7773
  ;;
 
7774
 
 
7775
osf3* | osf4* | osf5*)
 
7776
  lt_cv_deplibs_check_method=pass_all
 
7777
  ;;
 
7778
 
 
7779
rdos*)
 
7780
  lt_cv_deplibs_check_method=pass_all
 
7781
  ;;
 
7782
 
 
7783
solaris*)
 
7784
  lt_cv_deplibs_check_method=pass_all
 
7785
  ;;
 
7786
 
 
7787
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7788
  lt_cv_deplibs_check_method=pass_all
 
7789
  ;;
 
7790
 
 
7791
sysv4 | sysv4.3*)
 
7792
  case $host_vendor in
 
7793
  motorola)
 
7794
    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]'
 
7795
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
7796
    ;;
 
7797
  ncr)
 
7798
    lt_cv_deplibs_check_method=pass_all
 
7799
    ;;
 
7800
  sequent)
 
7801
    lt_cv_file_magic_cmd='/bin/file'
 
7802
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
7803
    ;;
 
7804
  sni)
 
7805
    lt_cv_file_magic_cmd='/bin/file'
 
7806
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
7807
    lt_cv_file_magic_test_file=/lib/libc.so
 
7808
    ;;
 
7809
  siemens)
 
7810
    lt_cv_deplibs_check_method=pass_all
 
7811
    ;;
 
7812
  pc)
 
7813
    lt_cv_deplibs_check_method=pass_all
 
7814
    ;;
 
7815
  esac
 
7816
  ;;
 
7817
 
 
7818
tpf*)
 
7819
  lt_cv_deplibs_check_method=pass_all
 
7820
  ;;
 
7821
esac
 
7822
 
 
7823
fi
 
7824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
7825
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7826
 
 
7827
file_magic_glob=
 
7828
want_nocaseglob=no
 
7829
if test "$build" = "$host"; then
 
7830
  case $host_os in
 
7831
  mingw* | pw32*)
 
7832
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7833
      want_nocaseglob=yes
 
7834
    else
 
7835
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7836
    fi
 
7837
    ;;
 
7838
  esac
 
7839
fi
 
7840
 
 
7841
file_magic_cmd=$lt_cv_file_magic_cmd
 
7842
deplibs_check_method=$lt_cv_deplibs_check_method
 
7843
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
7844
 
 
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
 
 
7850
 
 
7851
 
 
7852
 
 
7853
 
 
7854
 
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
7862
 
 
7863
 
 
7864
 
 
7865
 
 
7866
if test -n "$ac_tool_prefix"; then
 
7867
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7868
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7870
$as_echo_n "checking for $ac_word... " >&6; }
 
7871
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7872
  $as_echo_n "(cached) " >&6
 
7873
else
 
7874
  if test -n "$DLLTOOL"; then
 
7875
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7876
else
 
7877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7878
for as_dir in $PATH
 
7879
do
 
7880
  IFS=$as_save_IFS
 
7881
  test -z "$as_dir" && as_dir=.
 
7882
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7883
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7884
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7885
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7886
    break 2
 
7887
  fi
 
7888
done
 
7889
  done
 
7890
IFS=$as_save_IFS
 
7891
 
 
7892
fi
 
7893
fi
 
7894
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7895
if test -n "$DLLTOOL"; then
 
7896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7897
$as_echo "$DLLTOOL" >&6; }
 
7898
else
 
7899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7900
$as_echo "no" >&6; }
 
7901
fi
 
7902
 
 
7903
 
 
7904
fi
 
7905
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7906
  ac_ct_DLLTOOL=$DLLTOOL
 
7907
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7908
set dummy dlltool; ac_word=$2
 
7909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7910
$as_echo_n "checking for $ac_word... " >&6; }
 
7911
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7912
  $as_echo_n "(cached) " >&6
 
7913
else
 
7914
  if test -n "$ac_ct_DLLTOOL"; then
 
7915
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7916
else
 
7917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7918
for as_dir in $PATH
 
7919
do
 
7920
  IFS=$as_save_IFS
 
7921
  test -z "$as_dir" && as_dir=.
 
7922
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7923
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7924
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7925
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7926
    break 2
 
7927
  fi
 
7928
done
 
7929
  done
 
7930
IFS=$as_save_IFS
 
7931
 
 
7932
fi
 
7933
fi
 
7934
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7935
if test -n "$ac_ct_DLLTOOL"; then
 
7936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7937
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7938
else
 
7939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7940
$as_echo "no" >&6; }
 
7941
fi
 
7942
 
 
7943
  if test "x$ac_ct_DLLTOOL" = x; then
 
7944
    DLLTOOL="false"
 
7945
  else
 
7946
    case $cross_compiling:$ac_tool_warned in
 
7947
yes:)
 
7948
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7949
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7950
ac_tool_warned=yes ;;
 
7951
esac
 
7952
    DLLTOOL=$ac_ct_DLLTOOL
 
7953
  fi
 
7954
else
 
7955
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7956
fi
 
7957
 
 
7958
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7959
 
 
7960
 
 
7961
 
 
7962
 
 
7963
 
 
7964
 
 
7965
 
 
7966
 
 
7967
 
 
7968
 
 
7969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7970
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7971
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7972
  $as_echo_n "(cached) " >&6
 
7973
else
 
7974
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7975
 
 
7976
case $host_os in
 
7977
cygwin* | mingw* | pw32* | cegcc*)
 
7978
  # two different shell functions defined in ltmain.sh
 
7979
  # decide which to use based on capabilities of $DLLTOOL
 
7980
  case `$DLLTOOL --help 2>&1` in
 
7981
  *--identify-strict*)
 
7982
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7983
    ;;
 
7984
  *)
 
7985
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7986
    ;;
 
7987
  esac
 
7988
  ;;
 
7989
*)
 
7990
  # fallback: assume linklib IS sharedlib
 
7991
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7992
  ;;
 
7993
esac
 
7994
 
 
7995
fi
 
7996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7997
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7998
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7999
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
8000
 
 
8001
 
 
8002
 
 
8003
 
 
8004
 
 
8005
 
 
8006
 
 
8007
if test -n "$ac_tool_prefix"; then
 
8008
  for ac_prog in ar
 
8009
  do
 
8010
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
8011
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
8012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8013
$as_echo_n "checking for $ac_word... " >&6; }
 
8014
if ${ac_cv_prog_AR+:} false; then :
 
8015
  $as_echo_n "(cached) " >&6
 
8016
else
 
8017
  if test -n "$AR"; then
 
8018
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
8019
else
 
8020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8021
for as_dir in $PATH
 
8022
do
 
8023
  IFS=$as_save_IFS
 
8024
  test -z "$as_dir" && as_dir=.
 
8025
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8027
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
8028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8029
    break 2
 
8030
  fi
 
8031
done
 
8032
  done
 
8033
IFS=$as_save_IFS
 
8034
 
 
8035
fi
 
8036
fi
 
8037
AR=$ac_cv_prog_AR
 
8038
if test -n "$AR"; then
 
8039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
8040
$as_echo "$AR" >&6; }
 
8041
else
 
8042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8043
$as_echo "no" >&6; }
 
8044
fi
 
8045
 
 
8046
 
 
8047
    test -n "$AR" && break
 
8048
  done
 
8049
fi
 
8050
if test -z "$AR"; then
 
8051
  ac_ct_AR=$AR
 
8052
  for ac_prog in ar
 
8053
do
 
8054
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8055
set dummy $ac_prog; ac_word=$2
 
8056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8057
$as_echo_n "checking for $ac_word... " >&6; }
 
8058
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
8059
  $as_echo_n "(cached) " >&6
 
8060
else
 
8061
  if test -n "$ac_ct_AR"; then
 
8062
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8063
else
 
8064
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8065
for as_dir in $PATH
 
8066
do
 
8067
  IFS=$as_save_IFS
 
8068
  test -z "$as_dir" && as_dir=.
 
8069
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8070
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8071
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
8072
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8073
    break 2
 
8074
  fi
 
8075
done
 
8076
  done
 
8077
IFS=$as_save_IFS
 
8078
 
 
8079
fi
 
8080
fi
 
8081
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8082
if test -n "$ac_ct_AR"; then
 
8083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
8084
$as_echo "$ac_ct_AR" >&6; }
 
8085
else
 
8086
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8087
$as_echo "no" >&6; }
 
8088
fi
 
8089
 
 
8090
 
 
8091
  test -n "$ac_ct_AR" && break
 
8092
done
 
8093
 
 
8094
  if test "x$ac_ct_AR" = x; then
 
8095
    AR="false"
 
8096
  else
 
8097
    case $cross_compiling:$ac_tool_warned in
 
8098
yes:)
 
8099
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8100
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8101
ac_tool_warned=yes ;;
 
8102
esac
 
8103
    AR=$ac_ct_AR
 
8104
  fi
 
8105
fi
 
8106
 
 
8107
: ${AR=ar}
 
8108
: ${AR_FLAGS=cru}
 
8109
 
 
8110
 
 
8111
 
 
8112
 
 
8113
 
 
8114
 
 
8115
 
 
8116
 
 
8117
 
 
8118
 
 
8119
 
 
8120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
8121
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
8122
if ${lt_cv_ar_at_file+:} false; then :
 
8123
  $as_echo_n "(cached) " >&6
 
8124
else
 
8125
  lt_cv_ar_at_file=no
 
8126
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8127
/* end confdefs.h.  */
 
8128
 
 
8129
int
 
8130
main ()
 
8131
{
 
8132
 
 
8133
  ;
 
8134
  return 0;
 
8135
}
 
8136
_ACEOF
 
8137
if ac_fn_c_try_compile "$LINENO"; then :
 
8138
  echo conftest.$ac_objext > conftest.lst
 
8139
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
8140
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
8141
  (eval $lt_ar_try) 2>&5
 
8142
  ac_status=$?
 
8143
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8144
  test $ac_status = 0; }
 
8145
      if test "$ac_status" -eq 0; then
 
8146
        # Ensure the archiver fails upon bogus file names.
 
8147
        rm -f conftest.$ac_objext libconftest.a
 
8148
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
8149
  (eval $lt_ar_try) 2>&5
 
8150
  ac_status=$?
 
8151
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8152
  test $ac_status = 0; }
 
8153
        if test "$ac_status" -ne 0; then
 
8154
          lt_cv_ar_at_file=@
 
8155
        fi
 
8156
      fi
 
8157
      rm -f conftest.* libconftest.a
 
8158
 
 
8159
fi
 
8160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8161
 
 
8162
fi
 
8163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
8164
$as_echo "$lt_cv_ar_at_file" >&6; }
 
8165
 
 
8166
if test "x$lt_cv_ar_at_file" = xno; then
 
8167
  archiver_list_spec=
 
8168
else
 
8169
  archiver_list_spec=$lt_cv_ar_at_file
 
8170
fi
 
8171
 
 
8172
 
 
8173
 
 
8174
 
 
8175
 
 
8176
 
 
8177
 
 
8178
if test -n "$ac_tool_prefix"; then
 
8179
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8180
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8182
$as_echo_n "checking for $ac_word... " >&6; }
 
8183
if ${ac_cv_prog_STRIP+:} false; then :
 
8184
  $as_echo_n "(cached) " >&6
 
8185
else
 
8186
  if test -n "$STRIP"; then
 
8187
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8188
else
 
8189
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8190
for as_dir in $PATH
 
8191
do
 
8192
  IFS=$as_save_IFS
 
8193
  test -z "$as_dir" && as_dir=.
 
8194
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8195
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8196
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8197
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8198
    break 2
 
8199
  fi
 
8200
done
 
8201
  done
 
8202
IFS=$as_save_IFS
 
8203
 
 
8204
fi
 
8205
fi
 
8206
STRIP=$ac_cv_prog_STRIP
 
8207
if test -n "$STRIP"; then
 
8208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8209
$as_echo "$STRIP" >&6; }
 
8210
else
 
8211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8212
$as_echo "no" >&6; }
 
8213
fi
 
8214
 
 
8215
 
 
8216
fi
 
8217
if test -z "$ac_cv_prog_STRIP"; then
 
8218
  ac_ct_STRIP=$STRIP
 
8219
  # Extract the first word of "strip", so it can be a program name with args.
 
8220
set dummy strip; ac_word=$2
 
8221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8222
$as_echo_n "checking for $ac_word... " >&6; }
 
8223
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
8224
  $as_echo_n "(cached) " >&6
 
8225
else
 
8226
  if test -n "$ac_ct_STRIP"; then
 
8227
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8228
else
 
8229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8230
for as_dir in $PATH
 
8231
do
 
8232
  IFS=$as_save_IFS
 
8233
  test -z "$as_dir" && as_dir=.
 
8234
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8235
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8236
    ac_cv_prog_ac_ct_STRIP="strip"
 
8237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8238
    break 2
 
8239
  fi
 
8240
done
 
8241
  done
 
8242
IFS=$as_save_IFS
 
8243
 
 
8244
fi
 
8245
fi
 
8246
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8247
if test -n "$ac_ct_STRIP"; then
 
8248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
8249
$as_echo "$ac_ct_STRIP" >&6; }
 
8250
else
 
8251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8252
$as_echo "no" >&6; }
 
8253
fi
 
8254
 
 
8255
  if test "x$ac_ct_STRIP" = x; then
 
8256
    STRIP=":"
 
8257
  else
 
8258
    case $cross_compiling:$ac_tool_warned in
 
8259
yes:)
 
8260
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8261
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8262
ac_tool_warned=yes ;;
 
8263
esac
 
8264
    STRIP=$ac_ct_STRIP
 
8265
  fi
 
8266
else
 
8267
  STRIP="$ac_cv_prog_STRIP"
 
8268
fi
 
8269
 
 
8270
test -z "$STRIP" && STRIP=:
 
8271
 
 
8272
 
 
8273
 
 
8274
 
 
8275
 
 
8276
 
 
8277
if test -n "$ac_tool_prefix"; then
 
8278
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8279
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8281
$as_echo_n "checking for $ac_word... " >&6; }
 
8282
if ${ac_cv_prog_RANLIB+:} false; then :
 
8283
  $as_echo_n "(cached) " >&6
 
8284
else
 
8285
  if test -n "$RANLIB"; then
 
8286
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8287
else
 
8288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8289
for as_dir in $PATH
 
8290
do
 
8291
  IFS=$as_save_IFS
 
8292
  test -z "$as_dir" && as_dir=.
 
8293
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8294
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8295
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8296
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8297
    break 2
 
8298
  fi
 
8299
done
 
8300
  done
 
8301
IFS=$as_save_IFS
 
8302
 
 
8303
fi
 
8304
fi
 
8305
RANLIB=$ac_cv_prog_RANLIB
 
8306
if test -n "$RANLIB"; then
 
8307
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8308
$as_echo "$RANLIB" >&6; }
 
8309
else
 
8310
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8311
$as_echo "no" >&6; }
 
8312
fi
 
8313
 
 
8314
 
 
8315
fi
 
8316
if test -z "$ac_cv_prog_RANLIB"; then
 
8317
  ac_ct_RANLIB=$RANLIB
 
8318
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8319
set dummy ranlib; ac_word=$2
 
8320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8321
$as_echo_n "checking for $ac_word... " >&6; }
 
8322
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
8323
  $as_echo_n "(cached) " >&6
 
8324
else
 
8325
  if test -n "$ac_ct_RANLIB"; then
 
8326
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8327
else
 
8328
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8329
for as_dir in $PATH
 
8330
do
 
8331
  IFS=$as_save_IFS
 
8332
  test -z "$as_dir" && as_dir=.
 
8333
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8334
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8335
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8336
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8337
    break 2
 
8338
  fi
 
8339
done
 
8340
  done
 
8341
IFS=$as_save_IFS
 
8342
 
 
8343
fi
 
8344
fi
 
8345
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8346
if test -n "$ac_ct_RANLIB"; then
 
8347
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
8348
$as_echo "$ac_ct_RANLIB" >&6; }
 
8349
else
 
8350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8351
$as_echo "no" >&6; }
 
8352
fi
 
8353
 
 
8354
  if test "x$ac_ct_RANLIB" = x; then
 
8355
    RANLIB=":"
 
8356
  else
 
8357
    case $cross_compiling:$ac_tool_warned in
 
8358
yes:)
 
8359
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8360
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8361
ac_tool_warned=yes ;;
 
8362
esac
 
8363
    RANLIB=$ac_ct_RANLIB
 
8364
  fi
 
8365
else
 
8366
  RANLIB="$ac_cv_prog_RANLIB"
 
8367
fi
 
8368
 
 
8369
test -z "$RANLIB" && RANLIB=:
 
8370
 
 
8371
 
 
8372
 
 
8373
 
 
8374
 
 
8375
 
 
8376
# Determine commands to create old-style static archives.
 
8377
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8378
old_postinstall_cmds='chmod 644 $oldlib'
 
8379
old_postuninstall_cmds=
 
8380
 
 
8381
if test -n "$RANLIB"; then
 
8382
  case $host_os in
 
8383
  openbsd*)
 
8384
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8385
    ;;
 
8386
  *)
 
8387
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8388
    ;;
 
8389
  esac
 
8390
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8391
fi
 
8392
 
 
8393
case $host_os in
 
8394
  darwin*)
 
8395
    lock_old_archive_extraction=yes ;;
 
8396
  *)
 
8397
    lock_old_archive_extraction=no ;;
 
8398
esac
 
8399
 
 
8400
 
 
8401
 
 
8402
 
 
8403
 
 
8404
 
 
8405
 
 
8406
 
 
8407
 
 
8408
 
 
8409
 
 
8410
 
 
8411
 
 
8412
 
 
8413
 
 
8414
 
 
8415
 
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
 
 
8426
 
 
8427
 
 
8428
 
 
8429
 
 
8430
 
 
8431
 
 
8432
 
 
8433
 
 
8434
 
 
8435
 
 
8436
 
 
8437
 
 
8438
# If no C compiler was specified, use CC.
 
8439
LTCC=${LTCC-"$CC"}
 
8440
 
 
8441
# If no C compiler flags were specified, use CFLAGS.
 
8442
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8443
 
 
8444
# Allow CC to be a program name with arguments.
 
8445
compiler=$CC
 
8446
 
 
8447
 
 
8448
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
8449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
8450
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
8451
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
8452
  $as_echo_n "(cached) " >&6
 
8453
else
 
8454
 
 
8455
# These are sane defaults that work on at least a few old systems.
 
8456
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
8457
 
 
8458
# Character class describing NM global symbol codes.
 
8459
symcode='[BCDEGRST]'
 
8460
 
 
8461
# Regexp to match symbols that can be accessed directly from C.
 
8462
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
8463
 
 
8464
# Define system-specific variables.
 
8465
case $host_os in
 
8466
aix*)
 
8467
  symcode='[BCDT]'
 
8468
  ;;
 
8469
cygwin* | mingw* | pw32* | cegcc*)
 
8470
  symcode='[ABCDGISTW]'
 
8471
  ;;
 
8472
hpux*)
 
8473
  if test "$host_cpu" = ia64; then
 
8474
    symcode='[ABCDEGRST]'
 
8475
  fi
 
8476
  ;;
 
8477
irix* | nonstopux*)
 
8478
  symcode='[BCDEGRST]'
 
8479
  ;;
 
8480
osf*)
 
8481
  symcode='[BCDEGQRST]'
 
8482
  ;;
 
8483
solaris*)
 
8484
  symcode='[BDRT]'
 
8485
  ;;
 
8486
sco3.2v5*)
 
8487
  symcode='[DT]'
 
8488
  ;;
 
8489
sysv4.2uw2*)
 
8490
  symcode='[DT]'
 
8491
  ;;
 
8492
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8493
  symcode='[ABDT]'
 
8494
  ;;
 
8495
sysv4)
 
8496
  symcode='[DFNSTU]'
 
8497
  ;;
 
8498
esac
 
8499
 
 
8500
# If we're using GNU nm, then use its standard symbol codes.
 
8501
case `$NM -V 2>&1` in
 
8502
*GNU* | *'with BFD'*)
 
8503
  symcode='[ABCDGIRSTW]' ;;
 
8504
esac
 
8505
 
 
8506
# Transform an extracted symbol line into a proper C declaration.
 
8507
# Some systems (esp. on ia64) link data and code symbols differently,
 
8508
# so use this general approach.
 
8509
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8510
 
 
8511
# Transform an extracted symbol line into symbol name and symbol address
 
8512
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8513
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'"
 
8514
 
 
8515
# Handle CRLF in mingw tool chain
 
8516
opt_cr=
 
8517
case $build_os in
 
8518
mingw*)
 
8519
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8520
  ;;
 
8521
esac
 
8522
 
 
8523
# Try without a prefix underscore, then with it.
 
8524
for ac_symprfx in "" "_"; do
 
8525
 
 
8526
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
8527
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
8528
 
 
8529
  # Write the raw and C identifiers.
 
8530
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8531
    # Fake it for dumpbin and say T for any non-static function
 
8532
    # and D for any global variable.
 
8533
    # Also find C++ and __fastcall symbols from MSVC++,
 
8534
    # which start with @ or ?.
 
8535
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8536
"     {last_section=section; section=\$ 3};"\
 
8537
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8538
"     \$ 0!~/External *\|/{next};"\
 
8539
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8540
"     {if(hide[section]) next};"\
 
8541
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8542
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8543
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8544
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8545
"     ' prfx=^$ac_symprfx"
 
8546
  else
 
8547
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8548
  fi
 
8549
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
8550
 
 
8551
  # Check to see that the pipe works correctly.
 
8552
  pipe_works=no
 
8553
 
 
8554
  rm -f conftest*
 
8555
  cat > conftest.$ac_ext <<_LT_EOF
 
8556
#ifdef __cplusplus
 
8557
extern "C" {
 
8558
#endif
 
8559
char nm_test_var;
 
8560
void nm_test_func(void);
 
8561
void nm_test_func(void){}
 
8562
#ifdef __cplusplus
 
8563
}
 
8564
#endif
 
8565
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8566
_LT_EOF
 
8567
 
 
8568
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8569
  (eval $ac_compile) 2>&5
 
8570
  ac_status=$?
 
8571
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8572
  test $ac_status = 0; }; then
 
8573
    # Now try to grab the symbols.
 
8574
    nlist=conftest.nm
 
8575
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
8576
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
8577
  ac_status=$?
 
8578
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8579
  test $ac_status = 0; } && test -s "$nlist"; then
 
8580
      # Try sorting and uniquifying the output.
 
8581
      if sort "$nlist" | uniq > "$nlist"T; then
 
8582
        mv -f "$nlist"T "$nlist"
 
8583
      else
 
8584
        rm -f "$nlist"T
 
8585
      fi
 
8586
 
 
8587
      # Make sure that we snagged all the symbols we need.
 
8588
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8589
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8590
          cat <<_LT_EOF > conftest.$ac_ext
 
8591
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
8592
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
8593
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
8594
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
8595
# define LT_DLSYM_CONST
 
8596
#elif defined(__osf__)
 
8597
/* This system does not cope well with relocations in const data.  */
 
8598
# define LT_DLSYM_CONST
 
8599
#else
 
8600
# define LT_DLSYM_CONST const
 
8601
#endif
 
8602
 
 
8603
#ifdef __cplusplus
 
8604
extern "C" {
 
8605
#endif
 
8606
 
 
8607
_LT_EOF
 
8608
          # Now generate the symbol file.
 
8609
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8610
 
 
8611
          cat <<_LT_EOF >> conftest.$ac_ext
 
8612
 
 
8613
/* The mapping between symbol names and symbols.  */
 
8614
LT_DLSYM_CONST struct {
 
8615
  const char *name;
 
8616
  void       *address;
 
8617
}
 
8618
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8619
{
 
8620
  { "@PROGRAM@", (void *) 0 },
 
8621
_LT_EOF
 
8622
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8623
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8624
  {0, (void *) 0}
 
8625
};
 
8626
 
 
8627
/* This works around a problem in FreeBSD linker */
 
8628
#ifdef FREEBSD_WORKAROUND
 
8629
static const void *lt_preloaded_setup() {
 
8630
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8631
}
 
8632
#endif
 
8633
 
 
8634
#ifdef __cplusplus
 
8635
}
 
8636
#endif
 
8637
_LT_EOF
 
8638
          # Now try linking the two files.
 
8639
          mv conftest.$ac_objext conftstm.$ac_objext
 
8640
          lt_globsym_save_LIBS=$LIBS
 
8641
          lt_globsym_save_CFLAGS=$CFLAGS
 
8642
          LIBS="conftstm.$ac_objext"
 
8643
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8644
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8645
  (eval $ac_link) 2>&5
 
8646
  ac_status=$?
 
8647
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8648
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8649
            pipe_works=yes
 
8650
          fi
 
8651
          LIBS=$lt_globsym_save_LIBS
 
8652
          CFLAGS=$lt_globsym_save_CFLAGS
 
8653
        else
 
8654
          echo "cannot find nm_test_func in $nlist" >&5
 
8655
        fi
 
8656
      else
 
8657
        echo "cannot find nm_test_var in $nlist" >&5
 
8658
      fi
 
8659
    else
 
8660
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8661
    fi
 
8662
  else
 
8663
    echo "$progname: failed program was:" >&5
 
8664
    cat conftest.$ac_ext >&5
 
8665
  fi
 
8666
  rm -rf conftest* conftst*
 
8667
 
 
8668
  # Do not use the global_symbol_pipe unless it works.
 
8669
  if test "$pipe_works" = yes; then
 
8670
    break
 
8671
  else
 
8672
    lt_cv_sys_global_symbol_pipe=
 
8673
  fi
 
8674
done
 
8675
 
 
8676
fi
 
8677
 
 
8678
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8679
  lt_cv_sys_global_symbol_to_cdecl=
 
8680
fi
 
8681
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
8682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
8683
$as_echo "failed" >&6; }
 
8684
else
 
8685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
8686
$as_echo "ok" >&6; }
 
8687
fi
 
8688
 
 
8689
# Response file support.
 
8690
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8691
  nm_file_list_spec='@'
 
8692
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
8693
  nm_file_list_spec='@'
 
8694
fi
 
8695
 
 
8696
 
 
8697
 
 
8698
 
 
8699
 
 
8700
 
 
8701
 
 
8702
 
 
8703
 
 
8704
 
 
8705
 
 
8706
 
 
8707
 
 
8708
 
 
8709
 
 
8710
 
 
8711
 
 
8712
 
 
8713
 
 
8714
 
 
8715
 
 
8716
 
 
8717
 
 
8718
 
 
8719
 
 
8720
 
 
8721
 
 
8722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
8723
$as_echo_n "checking for sysroot... " >&6; }
 
8724
 
 
8725
# Check whether --with-sysroot was given.
 
8726
if test "${with_sysroot+set}" = set; then :
 
8727
  withval=$with_sysroot;
 
8728
else
 
8729
  with_sysroot=no
 
8730
fi
 
8731
 
 
8732
 
 
8733
lt_sysroot=
 
8734
case ${with_sysroot} in #(
 
8735
 yes)
 
8736
   if test "$GCC" = yes; then
 
8737
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
8738
   fi
 
8739
   ;; #(
 
8740
 /*)
 
8741
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
8742
   ;; #(
 
8743
 no|'')
 
8744
   ;; #(
 
8745
 *)
 
8746
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8747
$as_echo "${with_sysroot}" >&6; }
 
8748
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8749
   ;;
 
8750
esac
 
8751
 
 
8752
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8753
$as_echo "${lt_sysroot:-no}" >&6; }
 
8754
 
 
8755
 
 
8756
 
 
8757
 
 
8758
 
 
8759
# Check whether --enable-libtool-lock was given.
 
8760
if test "${enable_libtool_lock+set}" = set; then :
 
8761
  enableval=$enable_libtool_lock;
 
8762
fi
 
8763
 
 
8764
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8765
 
 
8766
# Some flags need to be propagated to the compiler or linker for good
 
8767
# libtool support.
 
8768
case $host in
 
8769
ia64-*-hpux*)
 
8770
  # Find out which ABI we are using.
 
8771
  echo 'int i;' > conftest.$ac_ext
 
8772
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8773
  (eval $ac_compile) 2>&5
 
8774
  ac_status=$?
 
8775
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8776
  test $ac_status = 0; }; then
 
8777
    case `/usr/bin/file conftest.$ac_objext` in
 
8778
      *ELF-32*)
 
8779
        HPUX_IA64_MODE="32"
 
8780
        ;;
 
8781
      *ELF-64*)
 
8782
        HPUX_IA64_MODE="64"
 
8783
        ;;
 
8784
    esac
 
8785
  fi
 
8786
  rm -rf conftest*
 
8787
  ;;
 
8788
*-*-irix6*)
 
8789
  # Find out which ABI we are using.
 
8790
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
8791
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8792
  (eval $ac_compile) 2>&5
 
8793
  ac_status=$?
 
8794
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8795
  test $ac_status = 0; }; then
 
8796
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8797
      case `/usr/bin/file conftest.$ac_objext` in
 
8798
        *32-bit*)
 
8799
          LD="${LD-ld} -melf32bsmip"
 
8800
          ;;
 
8801
        *N32*)
 
8802
          LD="${LD-ld} -melf32bmipn32"
 
8803
          ;;
 
8804
        *64-bit*)
 
8805
          LD="${LD-ld} -melf64bmip"
 
8806
        ;;
 
8807
      esac
 
8808
    else
 
8809
      case `/usr/bin/file conftest.$ac_objext` in
 
8810
        *32-bit*)
 
8811
          LD="${LD-ld} -32"
 
8812
          ;;
 
8813
        *N32*)
 
8814
          LD="${LD-ld} -n32"
 
8815
          ;;
 
8816
        *64-bit*)
 
8817
          LD="${LD-ld} -64"
 
8818
          ;;
 
8819
      esac
 
8820
    fi
 
8821
  fi
 
8822
  rm -rf conftest*
 
8823
  ;;
 
8824
 
 
8825
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8826
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8827
  # Find out which ABI we are using.
 
8828
  echo 'int i;' > conftest.$ac_ext
 
8829
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8830
  (eval $ac_compile) 2>&5
 
8831
  ac_status=$?
 
8832
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8833
  test $ac_status = 0; }; then
 
8834
    case `/usr/bin/file conftest.o` in
 
8835
      *32-bit*)
 
8836
        case $host in
 
8837
          x86_64-*kfreebsd*-gnu)
 
8838
            LD="${LD-ld} -m elf_i386_fbsd"
 
8839
            ;;
 
8840
          x86_64-*linux*)
 
8841
            LD="${LD-ld} -m elf_i386"
 
8842
            ;;
 
8843
          ppc64-*linux*|powerpc64-*linux*)
 
8844
            LD="${LD-ld} -m elf32ppclinux"
 
8845
            ;;
 
8846
          s390x-*linux*)
 
8847
            LD="${LD-ld} -m elf_s390"
 
8848
            ;;
 
8849
          sparc64-*linux*)
 
8850
            LD="${LD-ld} -m elf32_sparc"
 
8851
            ;;
 
8852
        esac
 
8853
        ;;
 
8854
      *64-bit*)
 
8855
        case $host in
 
8856
          x86_64-*kfreebsd*-gnu)
 
8857
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8858
            ;;
 
8859
          x86_64-*linux*)
 
8860
            LD="${LD-ld} -m elf_x86_64"
 
8861
            ;;
 
8862
          ppc*-*linux*|powerpc*-*linux*)
 
8863
            LD="${LD-ld} -m elf64ppc"
 
8864
            ;;
 
8865
          s390*-*linux*|s390*-*tpf*)
 
8866
            LD="${LD-ld} -m elf64_s390"
 
8867
            ;;
 
8868
          sparc*-*linux*)
 
8869
            LD="${LD-ld} -m elf64_sparc"
 
8870
            ;;
 
8871
        esac
 
8872
        ;;
 
8873
    esac
 
8874
  fi
 
8875
  rm -rf conftest*
 
8876
  ;;
 
8877
 
 
8878
*-*-sco3.2v5*)
 
8879
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8880
  SAVE_CFLAGS="$CFLAGS"
 
8881
  CFLAGS="$CFLAGS -belf"
 
8882
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
8883
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8884
if ${lt_cv_cc_needs_belf+:} false; then :
 
8885
  $as_echo_n "(cached) " >&6
 
8886
else
 
8887
  ac_ext=c
 
8888
ac_cpp='$CPP $CPPFLAGS'
 
8889
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8890
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8891
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8892
 
 
8893
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8894
/* end confdefs.h.  */
 
8895
 
 
8896
int
 
8897
main ()
 
8898
{
 
8899
 
 
8900
  ;
 
8901
  return 0;
 
8902
}
 
8903
_ACEOF
 
8904
if ac_fn_c_try_link "$LINENO"; then :
 
8905
  lt_cv_cc_needs_belf=yes
 
8906
else
 
8907
  lt_cv_cc_needs_belf=no
 
8908
fi
 
8909
rm -f core conftest.err conftest.$ac_objext \
 
8910
    conftest$ac_exeext conftest.$ac_ext
 
8911
     ac_ext=c
 
8912
ac_cpp='$CPP $CPPFLAGS'
 
8913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8916
 
 
8917
fi
 
8918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
8919
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8920
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8921
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8922
    CFLAGS="$SAVE_CFLAGS"
 
8923
  fi
 
8924
  ;;
 
8925
sparc*-*solaris*)
 
8926
  # Find out which ABI we are using.
 
8927
  echo 'int i;' > conftest.$ac_ext
 
8928
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8929
  (eval $ac_compile) 2>&5
 
8930
  ac_status=$?
 
8931
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8932
  test $ac_status = 0; }; then
 
8933
    case `/usr/bin/file conftest.o` in
 
8934
    *64-bit*)
 
8935
      case $lt_cv_prog_gnu_ld in
 
8936
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
8937
      *)
 
8938
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8939
          LD="${LD-ld} -64"
 
8940
        fi
 
8941
        ;;
 
8942
      esac
 
8943
      ;;
 
8944
    esac
 
8945
  fi
 
8946
  rm -rf conftest*
 
8947
  ;;
 
8948
esac
 
8949
 
 
8950
need_locks="$enable_libtool_lock"
 
8951
 
 
8952
if test -n "$ac_tool_prefix"; then
 
8953
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8954
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8956
$as_echo_n "checking for $ac_word... " >&6; }
 
8957
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8958
  $as_echo_n "(cached) " >&6
 
8959
else
 
8960
  if test -n "$MANIFEST_TOOL"; then
 
8961
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8962
else
 
8963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8964
for as_dir in $PATH
 
8965
do
 
8966
  IFS=$as_save_IFS
 
8967
  test -z "$as_dir" && as_dir=.
 
8968
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8969
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8970
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8971
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8972
    break 2
 
8973
  fi
 
8974
done
 
8975
  done
 
8976
IFS=$as_save_IFS
 
8977
 
 
8978
fi
 
8979
fi
 
8980
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8981
if test -n "$MANIFEST_TOOL"; then
 
8982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8983
$as_echo "$MANIFEST_TOOL" >&6; }
 
8984
else
 
8985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8986
$as_echo "no" >&6; }
 
8987
fi
 
8988
 
 
8989
 
 
8990
fi
 
8991
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8992
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8993
  # Extract the first word of "mt", so it can be a program name with args.
 
8994
set dummy mt; ac_word=$2
 
8995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8996
$as_echo_n "checking for $ac_word... " >&6; }
 
8997
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8998
  $as_echo_n "(cached) " >&6
 
8999
else
 
9000
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
9001
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
9002
else
 
9003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9004
for as_dir in $PATH
 
9005
do
 
9006
  IFS=$as_save_IFS
 
9007
  test -z "$as_dir" && as_dir=.
 
9008
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9010
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
9011
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9012
    break 2
 
9013
  fi
 
9014
done
 
9015
  done
 
9016
IFS=$as_save_IFS
 
9017
 
 
9018
fi
 
9019
fi
 
9020
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
9021
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
9022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
9023
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
9024
else
 
9025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9026
$as_echo "no" >&6; }
 
9027
fi
 
9028
 
 
9029
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
9030
    MANIFEST_TOOL=":"
 
9031
  else
 
9032
    case $cross_compiling:$ac_tool_warned in
 
9033
yes:)
 
9034
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9035
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9036
ac_tool_warned=yes ;;
 
9037
esac
 
9038
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
9039
  fi
 
9040
else
 
9041
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
9042
fi
 
9043
 
 
9044
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
9045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
9046
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
9047
if ${lt_cv_path_mainfest_tool+:} false; then :
 
9048
  $as_echo_n "(cached) " >&6
 
9049
else
 
9050
  lt_cv_path_mainfest_tool=no
 
9051
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
9052
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
9053
  cat conftest.err >&5
 
9054
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
9055
    lt_cv_path_mainfest_tool=yes
 
9056
  fi
 
9057
  rm -f conftest*
 
9058
fi
 
9059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
9060
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
9061
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
9062
  MANIFEST_TOOL=:
 
9063
fi
 
9064
 
 
9065
 
 
9066
 
 
9067
 
 
9068
 
 
9069
 
 
9070
  case $host_os in
 
9071
    rhapsody* | darwin*)
 
9072
    if test -n "$ac_tool_prefix"; then
 
9073
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
9074
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
9075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9076
$as_echo_n "checking for $ac_word... " >&6; }
 
9077
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
9078
  $as_echo_n "(cached) " >&6
 
9079
else
 
9080
  if test -n "$DSYMUTIL"; then
 
9081
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
9082
else
 
9083
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9084
for as_dir in $PATH
 
9085
do
 
9086
  IFS=$as_save_IFS
 
9087
  test -z "$as_dir" && as_dir=.
 
9088
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9089
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9090
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
9091
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9092
    break 2
 
9093
  fi
 
9094
done
 
9095
  done
 
9096
IFS=$as_save_IFS
 
9097
 
 
9098
fi
 
9099
fi
 
9100
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
9101
if test -n "$DSYMUTIL"; then
 
9102
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
9103
$as_echo "$DSYMUTIL" >&6; }
 
9104
else
 
9105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9106
$as_echo "no" >&6; }
 
9107
fi
 
9108
 
 
9109
 
 
9110
fi
 
9111
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
9112
  ac_ct_DSYMUTIL=$DSYMUTIL
 
9113
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
9114
set dummy dsymutil; ac_word=$2
 
9115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9116
$as_echo_n "checking for $ac_word... " >&6; }
 
9117
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
9118
  $as_echo_n "(cached) " >&6
 
9119
else
 
9120
  if test -n "$ac_ct_DSYMUTIL"; then
 
9121
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
9122
else
 
9123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9124
for as_dir in $PATH
 
9125
do
 
9126
  IFS=$as_save_IFS
 
9127
  test -z "$as_dir" && as_dir=.
 
9128
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9129
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9130
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
9131
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9132
    break 2
 
9133
  fi
 
9134
done
 
9135
  done
 
9136
IFS=$as_save_IFS
 
9137
 
 
9138
fi
 
9139
fi
 
9140
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
9141
if test -n "$ac_ct_DSYMUTIL"; then
 
9142
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
9143
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
9144
else
 
9145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9146
$as_echo "no" >&6; }
 
9147
fi
 
9148
 
 
9149
  if test "x$ac_ct_DSYMUTIL" = x; then
 
9150
    DSYMUTIL=":"
 
9151
  else
 
9152
    case $cross_compiling:$ac_tool_warned in
 
9153
yes:)
 
9154
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9155
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9156
ac_tool_warned=yes ;;
 
9157
esac
 
9158
    DSYMUTIL=$ac_ct_DSYMUTIL
 
9159
  fi
 
9160
else
 
9161
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
9162
fi
 
9163
 
 
9164
    if test -n "$ac_tool_prefix"; then
 
9165
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
9166
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
9167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9168
$as_echo_n "checking for $ac_word... " >&6; }
 
9169
if ${ac_cv_prog_NMEDIT+:} false; then :
 
9170
  $as_echo_n "(cached) " >&6
 
9171
else
 
9172
  if test -n "$NMEDIT"; then
 
9173
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
9174
else
 
9175
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9176
for as_dir in $PATH
 
9177
do
 
9178
  IFS=$as_save_IFS
 
9179
  test -z "$as_dir" && as_dir=.
 
9180
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9181
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9182
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
9183
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9184
    break 2
 
9185
  fi
 
9186
done
 
9187
  done
 
9188
IFS=$as_save_IFS
 
9189
 
 
9190
fi
 
9191
fi
 
9192
NMEDIT=$ac_cv_prog_NMEDIT
 
9193
if test -n "$NMEDIT"; then
 
9194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
9195
$as_echo "$NMEDIT" >&6; }
 
9196
else
 
9197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9198
$as_echo "no" >&6; }
 
9199
fi
 
9200
 
 
9201
 
 
9202
fi
 
9203
if test -z "$ac_cv_prog_NMEDIT"; then
 
9204
  ac_ct_NMEDIT=$NMEDIT
 
9205
  # Extract the first word of "nmedit", so it can be a program name with args.
 
9206
set dummy nmedit; ac_word=$2
 
9207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9208
$as_echo_n "checking for $ac_word... " >&6; }
 
9209
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
9210
  $as_echo_n "(cached) " >&6
 
9211
else
 
9212
  if test -n "$ac_ct_NMEDIT"; then
 
9213
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
9214
else
 
9215
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9216
for as_dir in $PATH
 
9217
do
 
9218
  IFS=$as_save_IFS
 
9219
  test -z "$as_dir" && as_dir=.
 
9220
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9221
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9222
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
9223
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9224
    break 2
 
9225
  fi
 
9226
done
 
9227
  done
 
9228
IFS=$as_save_IFS
 
9229
 
 
9230
fi
 
9231
fi
 
9232
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
9233
if test -n "$ac_ct_NMEDIT"; then
 
9234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
9235
$as_echo "$ac_ct_NMEDIT" >&6; }
 
9236
else
 
9237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9238
$as_echo "no" >&6; }
 
9239
fi
 
9240
 
 
9241
  if test "x$ac_ct_NMEDIT" = x; then
 
9242
    NMEDIT=":"
 
9243
  else
 
9244
    case $cross_compiling:$ac_tool_warned in
 
9245
yes:)
 
9246
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9247
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9248
ac_tool_warned=yes ;;
 
9249
esac
 
9250
    NMEDIT=$ac_ct_NMEDIT
 
9251
  fi
 
9252
else
 
9253
  NMEDIT="$ac_cv_prog_NMEDIT"
 
9254
fi
 
9255
 
 
9256
    if test -n "$ac_tool_prefix"; then
 
9257
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
9258
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
9259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9260
$as_echo_n "checking for $ac_word... " >&6; }
 
9261
if ${ac_cv_prog_LIPO+:} false; then :
 
9262
  $as_echo_n "(cached) " >&6
 
9263
else
 
9264
  if test -n "$LIPO"; then
 
9265
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
9266
else
 
9267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9268
for as_dir in $PATH
 
9269
do
 
9270
  IFS=$as_save_IFS
 
9271
  test -z "$as_dir" && as_dir=.
 
9272
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9273
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9274
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
9275
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9276
    break 2
 
9277
  fi
 
9278
done
 
9279
  done
 
9280
IFS=$as_save_IFS
 
9281
 
 
9282
fi
 
9283
fi
 
9284
LIPO=$ac_cv_prog_LIPO
 
9285
if test -n "$LIPO"; then
 
9286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
9287
$as_echo "$LIPO" >&6; }
 
9288
else
 
9289
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9290
$as_echo "no" >&6; }
 
9291
fi
 
9292
 
 
9293
 
 
9294
fi
 
9295
if test -z "$ac_cv_prog_LIPO"; then
 
9296
  ac_ct_LIPO=$LIPO
 
9297
  # Extract the first word of "lipo", so it can be a program name with args.
 
9298
set dummy lipo; ac_word=$2
 
9299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9300
$as_echo_n "checking for $ac_word... " >&6; }
 
9301
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
9302
  $as_echo_n "(cached) " >&6
 
9303
else
 
9304
  if test -n "$ac_ct_LIPO"; then
 
9305
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
9306
else
 
9307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9308
for as_dir in $PATH
 
9309
do
 
9310
  IFS=$as_save_IFS
 
9311
  test -z "$as_dir" && as_dir=.
 
9312
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9313
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9314
    ac_cv_prog_ac_ct_LIPO="lipo"
 
9315
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9316
    break 2
 
9317
  fi
 
9318
done
 
9319
  done
 
9320
IFS=$as_save_IFS
 
9321
 
 
9322
fi
 
9323
fi
 
9324
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
9325
if test -n "$ac_ct_LIPO"; then
 
9326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
9327
$as_echo "$ac_ct_LIPO" >&6; }
 
9328
else
 
9329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9330
$as_echo "no" >&6; }
 
9331
fi
 
9332
 
 
9333
  if test "x$ac_ct_LIPO" = x; then
 
9334
    LIPO=":"
 
9335
  else
 
9336
    case $cross_compiling:$ac_tool_warned in
 
9337
yes:)
 
9338
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9339
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9340
ac_tool_warned=yes ;;
 
9341
esac
 
9342
    LIPO=$ac_ct_LIPO
 
9343
  fi
 
9344
else
 
9345
  LIPO="$ac_cv_prog_LIPO"
 
9346
fi
 
9347
 
 
9348
    if test -n "$ac_tool_prefix"; then
 
9349
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9350
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9352
$as_echo_n "checking for $ac_word... " >&6; }
 
9353
if ${ac_cv_prog_OTOOL+:} false; then :
 
9354
  $as_echo_n "(cached) " >&6
 
9355
else
 
9356
  if test -n "$OTOOL"; then
 
9357
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9358
else
 
9359
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9360
for as_dir in $PATH
 
9361
do
 
9362
  IFS=$as_save_IFS
 
9363
  test -z "$as_dir" && as_dir=.
 
9364
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9365
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9366
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9367
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9368
    break 2
 
9369
  fi
 
9370
done
 
9371
  done
 
9372
IFS=$as_save_IFS
 
9373
 
 
9374
fi
 
9375
fi
 
9376
OTOOL=$ac_cv_prog_OTOOL
 
9377
if test -n "$OTOOL"; then
 
9378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
9379
$as_echo "$OTOOL" >&6; }
 
9380
else
 
9381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9382
$as_echo "no" >&6; }
 
9383
fi
 
9384
 
 
9385
 
 
9386
fi
 
9387
if test -z "$ac_cv_prog_OTOOL"; then
 
9388
  ac_ct_OTOOL=$OTOOL
 
9389
  # Extract the first word of "otool", so it can be a program name with args.
 
9390
set dummy otool; ac_word=$2
 
9391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9392
$as_echo_n "checking for $ac_word... " >&6; }
 
9393
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
9394
  $as_echo_n "(cached) " >&6
 
9395
else
 
9396
  if test -n "$ac_ct_OTOOL"; then
 
9397
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9398
else
 
9399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9400
for as_dir in $PATH
 
9401
do
 
9402
  IFS=$as_save_IFS
 
9403
  test -z "$as_dir" && as_dir=.
 
9404
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9405
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9406
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9407
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9408
    break 2
 
9409
  fi
 
9410
done
 
9411
  done
 
9412
IFS=$as_save_IFS
 
9413
 
 
9414
fi
 
9415
fi
 
9416
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9417
if test -n "$ac_ct_OTOOL"; then
 
9418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
9419
$as_echo "$ac_ct_OTOOL" >&6; }
 
9420
else
 
9421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9422
$as_echo "no" >&6; }
 
9423
fi
 
9424
 
 
9425
  if test "x$ac_ct_OTOOL" = x; then
 
9426
    OTOOL=":"
 
9427
  else
 
9428
    case $cross_compiling:$ac_tool_warned in
 
9429
yes:)
 
9430
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9431
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9432
ac_tool_warned=yes ;;
 
9433
esac
 
9434
    OTOOL=$ac_ct_OTOOL
 
9435
  fi
 
9436
else
 
9437
  OTOOL="$ac_cv_prog_OTOOL"
 
9438
fi
 
9439
 
 
9440
    if test -n "$ac_tool_prefix"; then
 
9441
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9442
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9444
$as_echo_n "checking for $ac_word... " >&6; }
 
9445
if ${ac_cv_prog_OTOOL64+:} false; then :
 
9446
  $as_echo_n "(cached) " >&6
 
9447
else
 
9448
  if test -n "$OTOOL64"; then
 
9449
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9450
else
 
9451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9452
for as_dir in $PATH
 
9453
do
 
9454
  IFS=$as_save_IFS
 
9455
  test -z "$as_dir" && as_dir=.
 
9456
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9458
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9459
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9460
    break 2
 
9461
  fi
 
9462
done
 
9463
  done
 
9464
IFS=$as_save_IFS
 
9465
 
 
9466
fi
 
9467
fi
 
9468
OTOOL64=$ac_cv_prog_OTOOL64
 
9469
if test -n "$OTOOL64"; then
 
9470
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
9471
$as_echo "$OTOOL64" >&6; }
 
9472
else
 
9473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9474
$as_echo "no" >&6; }
 
9475
fi
 
9476
 
 
9477
 
 
9478
fi
 
9479
if test -z "$ac_cv_prog_OTOOL64"; then
 
9480
  ac_ct_OTOOL64=$OTOOL64
 
9481
  # Extract the first word of "otool64", so it can be a program name with args.
 
9482
set dummy otool64; ac_word=$2
 
9483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9484
$as_echo_n "checking for $ac_word... " >&6; }
 
9485
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
9486
  $as_echo_n "(cached) " >&6
 
9487
else
 
9488
  if test -n "$ac_ct_OTOOL64"; then
 
9489
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9490
else
 
9491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9492
for as_dir in $PATH
 
9493
do
 
9494
  IFS=$as_save_IFS
 
9495
  test -z "$as_dir" && as_dir=.
 
9496
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9498
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9499
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9500
    break 2
 
9501
  fi
 
9502
done
 
9503
  done
 
9504
IFS=$as_save_IFS
 
9505
 
 
9506
fi
 
9507
fi
 
9508
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9509
if test -n "$ac_ct_OTOOL64"; then
 
9510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
9511
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9512
else
 
9513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9514
$as_echo "no" >&6; }
 
9515
fi
 
9516
 
 
9517
  if test "x$ac_ct_OTOOL64" = x; then
 
9518
    OTOOL64=":"
 
9519
  else
 
9520
    case $cross_compiling:$ac_tool_warned in
 
9521
yes:)
 
9522
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9523
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9524
ac_tool_warned=yes ;;
 
9525
esac
 
9526
    OTOOL64=$ac_ct_OTOOL64
 
9527
  fi
 
9528
else
 
9529
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9530
fi
 
9531
 
 
9532
 
 
9533
 
 
9534
 
 
9535
 
 
9536
 
 
9537
 
 
9538
 
 
9539
 
 
9540
 
 
9541
 
 
9542
 
 
9543
 
 
9544
 
 
9545
 
 
9546
 
 
9547
 
 
9548
 
 
9549
 
 
9550
 
 
9551
 
 
9552
 
 
9553
 
 
9554
 
 
9555
 
 
9556
 
 
9557
 
 
9558
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9559
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9560
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
9561
  $as_echo_n "(cached) " >&6
 
9562
else
 
9563
  lt_cv_apple_cc_single_mod=no
 
9564
      if test -z "${LT_MULTI_MODULE}"; then
 
9565
        # By default we will add the -single_module flag. You can override
 
9566
        # by either setting the environment variable LT_MULTI_MODULE
 
9567
        # non-empty at configure time, or by adding -multi_module to the
 
9568
        # link flags.
 
9569
        rm -rf libconftest.dylib*
 
9570
        echo "int foo(void){return 1;}" > conftest.c
 
9571
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9572
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9573
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9574
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9575
        _lt_result=$?
 
9576
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9577
          lt_cv_apple_cc_single_mod=yes
 
9578
        else
 
9579
          cat conftest.err >&5
 
9580
        fi
 
9581
        rm -rf libconftest.dylib*
 
9582
        rm -f conftest.*
 
9583
      fi
 
9584
fi
 
9585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9586
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9587
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9588
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9589
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
9590
  $as_echo_n "(cached) " >&6
 
9591
else
 
9592
  lt_cv_ld_exported_symbols_list=no
 
9593
      save_LDFLAGS=$LDFLAGS
 
9594
      echo "_main" > conftest.sym
 
9595
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9596
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9597
/* end confdefs.h.  */
 
9598
 
 
9599
int
 
9600
main ()
 
9601
{
 
9602
 
 
9603
  ;
 
9604
  return 0;
 
9605
}
 
9606
_ACEOF
 
9607
if ac_fn_c_try_link "$LINENO"; then :
 
9608
  lt_cv_ld_exported_symbols_list=yes
 
9609
else
 
9610
  lt_cv_ld_exported_symbols_list=no
 
9611
fi
 
9612
rm -f core conftest.err conftest.$ac_objext \
 
9613
    conftest$ac_exeext conftest.$ac_ext
 
9614
        LDFLAGS="$save_LDFLAGS"
 
9615
 
 
9616
fi
 
9617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9618
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9619
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
9620
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
9621
if ${lt_cv_ld_force_load+:} false; then :
 
9622
  $as_echo_n "(cached) " >&6
 
9623
else
 
9624
  lt_cv_ld_force_load=no
 
9625
      cat > conftest.c << _LT_EOF
 
9626
int forced_loaded() { return 2;}
 
9627
_LT_EOF
 
9628
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
9629
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
9630
      echo "$AR cru libconftest.a conftest.o" >&5
 
9631
      $AR cru libconftest.a conftest.o 2>&5
 
9632
      echo "$RANLIB libconftest.a" >&5
 
9633
      $RANLIB libconftest.a 2>&5
 
9634
      cat > conftest.c << _LT_EOF
 
9635
int main() { return 0;}
 
9636
_LT_EOF
 
9637
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
9638
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
9639
      _lt_result=$?
 
9640
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
9641
        lt_cv_ld_force_load=yes
 
9642
      else
 
9643
        cat conftest.err >&5
 
9644
      fi
 
9645
        rm -f conftest.err libconftest.a conftest conftest.c
 
9646
        rm -rf conftest.dSYM
 
9647
 
 
9648
fi
 
9649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
9650
$as_echo "$lt_cv_ld_force_load" >&6; }
 
9651
    case $host_os in
 
9652
    rhapsody* | darwin1.[012])
 
9653
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9654
    darwin1.*)
 
9655
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9656
    darwin*) # darwin 5.x on
 
9657
      # if running on 10.5 or later, the deployment target defaults
 
9658
      # to the OS version, if on x86, and 10.4, the deployment
 
9659
      # target defaults to 10.4. Don't you love it?
 
9660
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9661
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9662
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9663
        10.[012]*)
 
9664
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9665
        10.*)
 
9666
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9667
      esac
 
9668
    ;;
 
9669
  esac
 
9670
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9671
      _lt_dar_single_mod='$single_module'
 
9672
    fi
 
9673
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9674
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9675
    else
 
9676
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9677
    fi
 
9678
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
9679
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9680
    else
 
9681
      _lt_dsymutil=
 
9682
    fi
 
9683
    ;;
 
9684
  esac
 
9685
 
 
9686
for ac_header in dlfcn.h
 
9687
do :
 
9688
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
9689
"
 
9690
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
9691
  cat >>confdefs.h <<_ACEOF
 
9692
#define HAVE_DLFCN_H 1
 
9693
_ACEOF
 
9694
 
 
9695
fi
 
9696
 
 
9697
done
 
9698
 
 
9699
 
 
9700
 
 
9701
 
 
9702
 
 
9703
# Set options
 
9704
 
 
9705
 
 
9706
 
 
9707
        enable_dlopen=no
 
9708
 
 
9709
 
 
9710
  enable_win32_dll=no
 
9711
 
 
9712
 
 
9713
            # Check whether --enable-shared was given.
 
9714
if test "${enable_shared+set}" = set; then :
 
9715
  enableval=$enable_shared; p=${PACKAGE-default}
 
9716
    case $enableval in
 
9717
    yes) enable_shared=yes ;;
 
9718
    no) enable_shared=no ;;
 
9719
    *)
 
9720
      enable_shared=no
 
9721
      # Look at the argument we got.  We use all the common list separators.
 
9722
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9723
      for pkg in $enableval; do
 
9724
        IFS="$lt_save_ifs"
 
9725
        if test "X$pkg" = "X$p"; then
 
9726
          enable_shared=yes
 
9727
        fi
 
9728
      done
 
9729
      IFS="$lt_save_ifs"
 
9730
      ;;
 
9731
    esac
 
9732
else
 
9733
  enable_shared=yes
 
9734
fi
 
9735
 
 
9736
 
 
9737
 
 
9738
 
 
9739
 
 
9740
 
 
9741
 
 
9742
 
 
9743
 
 
9744
 
 
9745
 
 
9746
# Check whether --with-pic was given.
 
9747
if test "${with_pic+set}" = set; then :
 
9748
  withval=$with_pic; pic_mode="$withval"
 
9749
else
 
9750
  pic_mode=default
 
9751
fi
 
9752
 
 
9753
 
 
9754
test -z "$pic_mode" && pic_mode=default
 
9755
 
 
9756
 
 
9757
 
 
9758
 
 
9759
 
 
9760
 
 
9761
 
 
9762
  # Check whether --enable-fast-install was given.
 
9763
if test "${enable_fast_install+set}" = set; then :
 
9764
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9765
    case $enableval in
 
9766
    yes) enable_fast_install=yes ;;
 
9767
    no) enable_fast_install=no ;;
 
9768
    *)
 
9769
      enable_fast_install=no
 
9770
      # Look at the argument we got.  We use all the common list separators.
 
9771
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9772
      for pkg in $enableval; do
 
9773
        IFS="$lt_save_ifs"
 
9774
        if test "X$pkg" = "X$p"; then
 
9775
          enable_fast_install=yes
 
9776
        fi
 
9777
      done
 
9778
      IFS="$lt_save_ifs"
 
9779
      ;;
 
9780
    esac
 
9781
else
 
9782
  enable_fast_install=yes
 
9783
fi
 
9784
 
 
9785
 
 
9786
 
 
9787
 
 
9788
 
 
9789
 
 
9790
 
 
9791
 
 
9792
 
 
9793
 
 
9794
 
 
9795
# This can be used to rebuild libtool when needed
 
9796
LIBTOOL_DEPS="$ltmain"
 
9797
 
 
9798
# Always use our own libtool.
 
9799
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
9800
 
 
9801
 
 
9802
 
 
9803
 
 
9804
 
 
9805
 
 
9806
 
 
9807
 
 
9808
 
 
9809
 
 
9810
 
 
9811
 
 
9812
 
 
9813
 
 
9814
 
 
9815
 
 
9816
 
 
9817
 
 
9818
 
 
9819
 
 
9820
 
 
9821
 
 
9822
 
 
9823
 
 
9824
 
 
9825
 
 
9826
test -z "$LN_S" && LN_S="ln -s"
 
9827
 
 
9828
 
 
9829
 
 
9830
 
 
9831
 
 
9832
 
 
9833
 
 
9834
 
 
9835
 
 
9836
 
 
9837
 
 
9838
 
 
9839
 
 
9840
 
 
9841
if test -n "${ZSH_VERSION+set}" ; then
 
9842
   setopt NO_GLOB_SUBST
 
9843
fi
 
9844
 
 
9845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9846
$as_echo_n "checking for objdir... " >&6; }
 
9847
if ${lt_cv_objdir+:} false; then :
 
9848
  $as_echo_n "(cached) " >&6
 
9849
else
 
9850
  rm -f .libs 2>/dev/null
 
9851
mkdir .libs 2>/dev/null
 
9852
if test -d .libs; then
 
9853
  lt_cv_objdir=.libs
 
9854
else
 
9855
  # MS-DOS does not allow filenames that begin with a dot.
 
9856
  lt_cv_objdir=_libs
 
9857
fi
 
9858
rmdir .libs 2>/dev/null
 
9859
fi
 
9860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9861
$as_echo "$lt_cv_objdir" >&6; }
 
9862
objdir=$lt_cv_objdir
 
9863
 
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
cat >>confdefs.h <<_ACEOF
 
9869
#define LT_OBJDIR "$lt_cv_objdir/"
 
9870
_ACEOF
 
9871
 
 
9872
 
 
9873
 
 
9874
 
 
9875
case $host_os in
 
9876
aix3*)
 
9877
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
9878
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
9879
  # vanish in a puff of smoke.
 
9880
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
9881
    COLLECT_NAMES=
 
9882
    export COLLECT_NAMES
 
9883
  fi
 
9884
  ;;
 
9885
esac
 
9886
 
 
9887
# Global variables:
 
9888
ofile=libtool
 
9889
can_build_shared=yes
 
9890
 
 
9891
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9892
# which needs '.lib').
 
9893
libext=a
 
9894
 
 
9895
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9896
 
 
9897
old_CC="$CC"
 
9898
old_CFLAGS="$CFLAGS"
 
9899
 
 
9900
# Set sane defaults for various variables
 
9901
test -z "$CC" && CC=cc
 
9902
test -z "$LTCC" && LTCC=$CC
 
9903
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
9904
test -z "$LD" && LD=ld
 
9905
test -z "$ac_objext" && ac_objext=o
 
9906
 
 
9907
for cc_temp in $compiler""; do
 
9908
  case $cc_temp in
 
9909
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9910
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9911
    \-*) ;;
 
9912
    *) break;;
 
9913
  esac
 
9914
done
 
9915
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9916
 
 
9917
 
 
9918
# Only perform the check for file, if the check method requires it
 
9919
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9920
case $deplibs_check_method in
 
9921
file_magic*)
 
9922
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9923
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9924
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9925
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9926
  $as_echo_n "(cached) " >&6
 
9927
else
 
9928
  case $MAGIC_CMD in
 
9929
[\\/*] |  ?:[\\/]*)
 
9930
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9931
  ;;
 
9932
*)
 
9933
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9934
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9935
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9936
  for ac_dir in $ac_dummy; do
 
9937
    IFS="$lt_save_ifs"
 
9938
    test -z "$ac_dir" && ac_dir=.
 
9939
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9940
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9941
      if test -n "$file_magic_test_file"; then
 
9942
        case $deplibs_check_method in
 
9943
        "file_magic "*)
 
9944
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9945
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9946
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9947
            $EGREP "$file_magic_regex" > /dev/null; then
 
9948
            :
 
9949
          else
 
9950
            cat <<_LT_EOF 1>&2
 
9951
 
 
9952
*** Warning: the command libtool uses to detect shared libraries,
 
9953
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9954
*** The result is that libtool may fail to recognize shared libraries
 
9955
*** as such.  This will affect the creation of libtool libraries that
 
9956
*** depend on shared libraries, but programs linked with such libtool
 
9957
*** libraries will work regardless of this problem.  Nevertheless, you
 
9958
*** may want to report the problem to your system manager and/or to
 
9959
*** bug-libtool@gnu.org
 
9960
 
 
9961
_LT_EOF
 
9962
          fi ;;
 
9963
        esac
 
9964
      fi
 
9965
      break
 
9966
    fi
 
9967
  done
 
9968
  IFS="$lt_save_ifs"
 
9969
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9970
  ;;
 
9971
esac
 
9972
fi
 
9973
 
 
9974
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9975
if test -n "$MAGIC_CMD"; then
 
9976
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9977
$as_echo "$MAGIC_CMD" >&6; }
 
9978
else
 
9979
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9980
$as_echo "no" >&6; }
 
9981
fi
 
9982
 
 
9983
 
 
9984
 
 
9985
 
 
9986
 
 
9987
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
9988
  if test -n "$ac_tool_prefix"; then
 
9989
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9990
$as_echo_n "checking for file... " >&6; }
 
9991
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9992
  $as_echo_n "(cached) " >&6
 
9993
else
 
9994
  case $MAGIC_CMD in
 
9995
[\\/*] |  ?:[\\/]*)
 
9996
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9997
  ;;
 
9998
*)
 
9999
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10000
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10001
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10002
  for ac_dir in $ac_dummy; do
 
10003
    IFS="$lt_save_ifs"
 
10004
    test -z "$ac_dir" && ac_dir=.
 
10005
    if test -f $ac_dir/file; then
 
10006
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
10007
      if test -n "$file_magic_test_file"; then
 
10008
        case $deplibs_check_method in
 
10009
        "file_magic "*)
 
10010
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10011
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10012
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10013
            $EGREP "$file_magic_regex" > /dev/null; then
 
10014
            :
 
10015
          else
 
10016
            cat <<_LT_EOF 1>&2
 
10017
 
 
10018
*** Warning: the command libtool uses to detect shared libraries,
 
10019
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10020
*** The result is that libtool may fail to recognize shared libraries
 
10021
*** as such.  This will affect the creation of libtool libraries that
 
10022
*** depend on shared libraries, but programs linked with such libtool
 
10023
*** libraries will work regardless of this problem.  Nevertheless, you
 
10024
*** may want to report the problem to your system manager and/or to
 
10025
*** bug-libtool@gnu.org
 
10026
 
 
10027
_LT_EOF
 
10028
          fi ;;
 
10029
        esac
 
10030
      fi
 
10031
      break
 
10032
    fi
 
10033
  done
 
10034
  IFS="$lt_save_ifs"
 
10035
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10036
  ;;
 
10037
esac
 
10038
fi
 
10039
 
 
10040
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10041
if test -n "$MAGIC_CMD"; then
 
10042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
10043
$as_echo "$MAGIC_CMD" >&6; }
 
10044
else
 
10045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10046
$as_echo "no" >&6; }
 
10047
fi
 
10048
 
 
10049
 
 
10050
  else
 
10051
    MAGIC_CMD=:
 
10052
  fi
 
10053
fi
 
10054
 
 
10055
  fi
 
10056
  ;;
 
10057
esac
 
10058
 
 
10059
# Use C for the default configuration in the libtool script
 
10060
 
 
10061
lt_save_CC="$CC"
 
10062
ac_ext=c
 
10063
ac_cpp='$CPP $CPPFLAGS'
 
10064
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10065
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10066
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10067
 
 
10068
 
 
10069
# Source file extension for C test sources.
 
10070
ac_ext=c
 
10071
 
 
10072
# Object file extension for compiled C test sources.
 
10073
objext=o
 
10074
objext=$objext
 
10075
 
 
10076
# Code to be used in simple compile tests
 
10077
lt_simple_compile_test_code="int some_variable = 0;"
 
10078
 
 
10079
# Code to be used in simple link tests
 
10080
lt_simple_link_test_code='int main(){return(0);}'
 
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
10086
 
 
10087
 
 
10088
# If no C compiler was specified, use CC.
 
10089
LTCC=${LTCC-"$CC"}
 
10090
 
 
10091
# If no C compiler flags were specified, use CFLAGS.
 
10092
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10093
 
 
10094
# Allow CC to be a program name with arguments.
 
10095
compiler=$CC
 
10096
 
 
10097
# Save the default compiler, since it gets overwritten when the other
 
10098
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
10099
compiler_DEFAULT=$CC
 
10100
 
 
10101
# save warnings/boilerplate of simple test code
 
10102
ac_outfile=conftest.$ac_objext
 
10103
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10104
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10105
_lt_compiler_boilerplate=`cat conftest.err`
 
10106
$RM conftest*
 
10107
 
 
10108
ac_outfile=conftest.$ac_objext
 
10109
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
10110
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10111
_lt_linker_boilerplate=`cat conftest.err`
 
10112
$RM -r conftest*
 
10113
 
 
10114
 
 
10115
## CAVEAT EMPTOR:
 
10116
## There is no encapsulation within the following macros, do not change
 
10117
## the running order or otherwise move them around unless you know exactly
 
10118
## what you are doing...
 
10119
if test -n "$compiler"; then
 
10120
 
 
10121
lt_prog_compiler_no_builtin_flag=
 
10122
 
 
10123
if test "$GCC" = yes; then
 
10124
  case $cc_basename in
 
10125
  nvcc*)
 
10126
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
10127
  *)
 
10128
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
10129
  esac
 
10130
 
 
10131
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10132
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
10133
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
10134
  $as_echo_n "(cached) " >&6
 
10135
else
 
10136
  lt_cv_prog_compiler_rtti_exceptions=no
 
10137
   ac_outfile=conftest.$ac_objext
 
10138
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10139
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
10140
   # Insert the option either (1) after the last *FLAGS variable, or
 
10141
   # (2) before a word containing "conftest.", or (3) at the end.
 
10142
   # Note that $ac_compile itself does not contain backslashes and begins
 
10143
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10144
   # The option is referenced via a variable to avoid confusing sed.
 
10145
   lt_compile=`echo "$ac_compile" | $SED \
 
10146
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10147
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10148
   -e 's:$: $lt_compiler_flag:'`
 
10149
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10150
   (eval "$lt_compile" 2>conftest.err)
 
10151
   ac_status=$?
 
10152
   cat conftest.err >&5
 
10153
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10154
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10155
     # The compiler can only warn and ignore the option if not recognized
 
10156
     # So say no if there are warnings other than the usual output.
 
10157
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10158
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10159
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10160
       lt_cv_prog_compiler_rtti_exceptions=yes
 
10161
     fi
 
10162
   fi
 
10163
   $RM conftest*
 
10164
 
 
10165
fi
 
10166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10167
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
10168
 
 
10169
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
10170
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
10171
else
 
10172
    :
 
10173
fi
 
10174
 
 
10175
fi
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
  lt_prog_compiler_wl=
 
10183
lt_prog_compiler_pic=
 
10184
lt_prog_compiler_static=
 
10185
 
 
10186
 
 
10187
  if test "$GCC" = yes; then
 
10188
    lt_prog_compiler_wl='-Wl,'
 
10189
    lt_prog_compiler_static='-static'
 
10190
 
 
10191
    case $host_os in
 
10192
      aix*)
 
10193
      # All AIX code is PIC.
 
10194
      if test "$host_cpu" = ia64; then
 
10195
        # AIX 5 now supports IA64 processor
 
10196
        lt_prog_compiler_static='-Bstatic'
 
10197
      fi
 
10198
      ;;
 
10199
 
 
10200
    amigaos*)
 
10201
      case $host_cpu in
 
10202
      powerpc)
 
10203
            # see comment about AmigaOS4 .so support
 
10204
            lt_prog_compiler_pic='-fPIC'
 
10205
        ;;
 
10206
      m68k)
 
10207
            # FIXME: we need at least 68020 code to build shared libraries, but
 
10208
            # adding the `-m68020' flag to GCC prevents building anything better,
 
10209
            # like `-m68040'.
 
10210
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10211
        ;;
 
10212
      esac
 
10213
      ;;
 
10214
 
 
10215
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10216
      # PIC is the default for these OSes.
 
10217
      ;;
 
10218
 
 
10219
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10220
      # This hack is so that the source file can tell whether it is being
 
10221
      # built for inclusion in a dll (and should export symbols for example).
 
10222
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
10223
      # (--disable-auto-import) libraries
 
10224
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10225
      ;;
 
10226
 
 
10227
    darwin* | rhapsody*)
 
10228
      # PIC is the default on this platform
 
10229
      # Common symbols not allowed in MH_DYLIB files
 
10230
      lt_prog_compiler_pic='-fno-common'
 
10231
      ;;
 
10232
 
 
10233
    haiku*)
 
10234
      # PIC is the default for Haiku.
 
10235
      # The "-static" flag exists, but is broken.
 
10236
      lt_prog_compiler_static=
 
10237
      ;;
 
10238
 
 
10239
    hpux*)
 
10240
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
10241
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
10242
      # sets the default TLS model and affects inlining.
 
10243
      case $host_cpu in
 
10244
      hppa*64*)
 
10245
        # +Z the default
 
10246
        ;;
 
10247
      *)
 
10248
        lt_prog_compiler_pic='-fPIC'
 
10249
        ;;
 
10250
      esac
 
10251
      ;;
 
10252
 
 
10253
    interix[3-9]*)
 
10254
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
10255
      # Instead, we relocate shared libraries at runtime.
 
10256
      ;;
 
10257
 
 
10258
    msdosdjgpp*)
 
10259
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
10260
      # on systems that don't support them.
 
10261
      lt_prog_compiler_can_build_shared=no
 
10262
      enable_shared=no
 
10263
      ;;
 
10264
 
 
10265
    *nto* | *qnx*)
 
10266
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10267
      # it will coredump.
 
10268
      lt_prog_compiler_pic='-fPIC -shared'
 
10269
      ;;
 
10270
 
 
10271
    sysv4*MP*)
 
10272
      if test -d /usr/nec; then
 
10273
        lt_prog_compiler_pic=-Kconform_pic
 
10274
      fi
 
10275
      ;;
 
10276
 
 
10277
    *)
 
10278
      lt_prog_compiler_pic='-fPIC'
 
10279
      ;;
 
10280
    esac
 
10281
 
 
10282
    case $cc_basename in
 
10283
    nvcc*) # Cuda Compiler Driver 2.2
 
10284
      lt_prog_compiler_wl='-Xlinker '
 
10285
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
10286
      ;;
 
10287
    esac
 
10288
  else
 
10289
    # PORTME Check for flag to pass linker flags through the system compiler.
 
10290
    case $host_os in
 
10291
    aix*)
 
10292
      lt_prog_compiler_wl='-Wl,'
 
10293
      if test "$host_cpu" = ia64; then
 
10294
        # AIX 5 now supports IA64 processor
 
10295
        lt_prog_compiler_static='-Bstatic'
 
10296
      else
 
10297
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
10298
      fi
 
10299
      ;;
 
10300
 
 
10301
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10302
      # This hack is so that the source file can tell whether it is being
 
10303
      # built for inclusion in a dll (and should export symbols for example).
 
10304
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10305
      ;;
 
10306
 
 
10307
    hpux9* | hpux10* | hpux11*)
 
10308
      lt_prog_compiler_wl='-Wl,'
 
10309
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10310
      # not for PA HP-UX.
 
10311
      case $host_cpu in
 
10312
      hppa*64*|ia64*)
 
10313
        # +Z the default
 
10314
        ;;
 
10315
      *)
 
10316
        lt_prog_compiler_pic='+Z'
 
10317
        ;;
 
10318
      esac
 
10319
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
10320
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
10321
      ;;
 
10322
 
 
10323
    irix5* | irix6* | nonstopux*)
 
10324
      lt_prog_compiler_wl='-Wl,'
 
10325
      # PIC (with -KPIC) is the default.
 
10326
      lt_prog_compiler_static='-non_shared'
 
10327
      ;;
 
10328
 
 
10329
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10330
      case $cc_basename in
 
10331
      # old Intel for x86_64 which still supported -KPIC.
 
10332
      ecc*)
 
10333
        lt_prog_compiler_wl='-Wl,'
 
10334
        lt_prog_compiler_pic='-KPIC'
 
10335
        lt_prog_compiler_static='-static'
 
10336
        ;;
 
10337
      # icc used to be incompatible with GCC.
 
10338
      # ICC 10 doesn't accept -KPIC any more.
 
10339
      icc* | ifort*)
 
10340
        lt_prog_compiler_wl='-Wl,'
 
10341
        lt_prog_compiler_pic='-fPIC'
 
10342
        lt_prog_compiler_static='-static'
 
10343
        ;;
 
10344
      # Lahey Fortran 8.1.
 
10345
      lf95*)
 
10346
        lt_prog_compiler_wl='-Wl,'
 
10347
        lt_prog_compiler_pic='--shared'
 
10348
        lt_prog_compiler_static='--static'
 
10349
        ;;
 
10350
      nagfor*)
 
10351
        # NAG Fortran compiler
 
10352
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
10353
        lt_prog_compiler_pic='-PIC'
 
10354
        lt_prog_compiler_static='-Bstatic'
 
10355
        ;;
 
10356
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
10357
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
10358
        # which looks to be a dead project)
 
10359
        lt_prog_compiler_wl='-Wl,'
 
10360
        lt_prog_compiler_pic='-fpic'
 
10361
        lt_prog_compiler_static='-Bstatic'
 
10362
        ;;
 
10363
      ccc*)
 
10364
        lt_prog_compiler_wl='-Wl,'
 
10365
        # All Alpha code is PIC.
 
10366
        lt_prog_compiler_static='-non_shared'
 
10367
        ;;
 
10368
      xl* | bgxl* | bgf* | mpixl*)
 
10369
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
10370
        lt_prog_compiler_wl='-Wl,'
 
10371
        lt_prog_compiler_pic='-qpic'
 
10372
        lt_prog_compiler_static='-qstaticlink'
 
10373
        ;;
 
10374
      *)
 
10375
        case `$CC -V 2>&1 | sed 5q` in
 
10376
        *Sun\ F* | *Sun*Fortran*)
 
10377
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
10378
          lt_prog_compiler_pic='-KPIC'
 
10379
          lt_prog_compiler_static='-Bstatic'
 
10380
          lt_prog_compiler_wl=''
 
10381
          ;;
 
10382
        *Sun\ C*)
 
10383
          # Sun C 5.9
 
10384
          lt_prog_compiler_pic='-KPIC'
 
10385
          lt_prog_compiler_static='-Bstatic'
 
10386
          lt_prog_compiler_wl='-Wl,'
 
10387
          ;;
 
10388
        esac
 
10389
        ;;
 
10390
      esac
 
10391
      ;;
 
10392
 
 
10393
    newsos6)
 
10394
      lt_prog_compiler_pic='-KPIC'
 
10395
      lt_prog_compiler_static='-Bstatic'
 
10396
      ;;
 
10397
 
 
10398
    *nto* | *qnx*)
 
10399
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10400
      # it will coredump.
 
10401
      lt_prog_compiler_pic='-fPIC -shared'
 
10402
      ;;
 
10403
 
 
10404
    osf3* | osf4* | osf5*)
 
10405
      lt_prog_compiler_wl='-Wl,'
 
10406
      # All OSF/1 code is PIC.
 
10407
      lt_prog_compiler_static='-non_shared'
 
10408
      ;;
 
10409
 
 
10410
    rdos*)
 
10411
      lt_prog_compiler_static='-non_shared'
 
10412
      ;;
 
10413
 
 
10414
    solaris*)
 
10415
      lt_prog_compiler_pic='-KPIC'
 
10416
      lt_prog_compiler_static='-Bstatic'
 
10417
      case $cc_basename in
 
10418
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
10419
        lt_prog_compiler_wl='-Qoption ld ';;
 
10420
      *)
 
10421
        lt_prog_compiler_wl='-Wl,';;
 
10422
      esac
 
10423
      ;;
 
10424
 
 
10425
    sunos4*)
 
10426
      lt_prog_compiler_wl='-Qoption ld '
 
10427
      lt_prog_compiler_pic='-PIC'
 
10428
      lt_prog_compiler_static='-Bstatic'
 
10429
      ;;
 
10430
 
 
10431
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
10432
      lt_prog_compiler_wl='-Wl,'
 
10433
      lt_prog_compiler_pic='-KPIC'
 
10434
      lt_prog_compiler_static='-Bstatic'
 
10435
      ;;
 
10436
 
 
10437
    sysv4*MP*)
 
10438
      if test -d /usr/nec ;then
 
10439
        lt_prog_compiler_pic='-Kconform_pic'
 
10440
        lt_prog_compiler_static='-Bstatic'
 
10441
      fi
 
10442
      ;;
 
10443
 
 
10444
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
10445
      lt_prog_compiler_wl='-Wl,'
 
10446
      lt_prog_compiler_pic='-KPIC'
 
10447
      lt_prog_compiler_static='-Bstatic'
 
10448
      ;;
 
10449
 
 
10450
    unicos*)
 
10451
      lt_prog_compiler_wl='-Wl,'
 
10452
      lt_prog_compiler_can_build_shared=no
 
10453
      ;;
 
10454
 
 
10455
    uts4*)
 
10456
      lt_prog_compiler_pic='-pic'
 
10457
      lt_prog_compiler_static='-Bstatic'
 
10458
      ;;
 
10459
 
 
10460
    *)
 
10461
      lt_prog_compiler_can_build_shared=no
 
10462
      ;;
 
10463
    esac
 
10464
  fi
 
10465
 
 
10466
case $host_os in
 
10467
  # For platforms which do not support PIC, -DPIC is meaningless:
 
10468
  *djgpp*)
 
10469
    lt_prog_compiler_pic=
 
10470
    ;;
 
10471
  *)
 
10472
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
10473
    ;;
 
10474
esac
 
10475
 
 
10476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10477
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10478
if ${lt_cv_prog_compiler_pic+:} false; then :
 
10479
  $as_echo_n "(cached) " >&6
 
10480
else
 
10481
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
10482
fi
 
10483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
10484
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
10485
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
10486
 
 
10487
#
 
10488
# Check to make sure the PIC flag actually works.
 
10489
#
 
10490
if test -n "$lt_prog_compiler_pic"; then
 
10491
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10492
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10493
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
10494
  $as_echo_n "(cached) " >&6
 
10495
else
 
10496
  lt_cv_prog_compiler_pic_works=no
 
10497
   ac_outfile=conftest.$ac_objext
 
10498
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10499
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
10500
   # Insert the option either (1) after the last *FLAGS variable, or
 
10501
   # (2) before a word containing "conftest.", or (3) at the end.
 
10502
   # Note that $ac_compile itself does not contain backslashes and begins
 
10503
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10504
   # The option is referenced via a variable to avoid confusing sed.
 
10505
   lt_compile=`echo "$ac_compile" | $SED \
 
10506
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10507
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10508
   -e 's:$: $lt_compiler_flag:'`
 
10509
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10510
   (eval "$lt_compile" 2>conftest.err)
 
10511
   ac_status=$?
 
10512
   cat conftest.err >&5
 
10513
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10514
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10515
     # The compiler can only warn and ignore the option if not recognized
 
10516
     # So say no if there are warnings other than the usual output.
 
10517
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10518
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10519
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10520
       lt_cv_prog_compiler_pic_works=yes
 
10521
     fi
 
10522
   fi
 
10523
   $RM conftest*
 
10524
 
 
10525
fi
 
10526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
10527
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
10528
 
 
10529
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10530
    case $lt_prog_compiler_pic in
 
10531
     "" | " "*) ;;
 
10532
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
10533
     esac
 
10534
else
 
10535
    lt_prog_compiler_pic=
 
10536
     lt_prog_compiler_can_build_shared=no
 
10537
fi
 
10538
 
 
10539
fi
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
#
 
10552
# Check to make sure the static flag actually works.
 
10553
#
 
10554
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
10555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10556
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10557
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
10558
  $as_echo_n "(cached) " >&6
 
10559
else
 
10560
  lt_cv_prog_compiler_static_works=no
 
10561
   save_LDFLAGS="$LDFLAGS"
 
10562
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10563
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10564
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10565
     # The linker can only warn and ignore the option if not recognized
 
10566
     # So say no if there are warnings
 
10567
     if test -s conftest.err; then
 
10568
       # Append any errors to the config.log.
 
10569
       cat conftest.err 1>&5
 
10570
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10571
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10572
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10573
         lt_cv_prog_compiler_static_works=yes
 
10574
       fi
 
10575
     else
 
10576
       lt_cv_prog_compiler_static_works=yes
 
10577
     fi
 
10578
   fi
 
10579
   $RM -r conftest*
 
10580
   LDFLAGS="$save_LDFLAGS"
 
10581
 
 
10582
fi
 
10583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10584
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10585
 
 
10586
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10587
    :
 
10588
else
 
10589
    lt_prog_compiler_static=
 
10590
fi
 
10591
 
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10599
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10600
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10601
  $as_echo_n "(cached) " >&6
 
10602
else
 
10603
  lt_cv_prog_compiler_c_o=no
 
10604
   $RM -r conftest 2>/dev/null
 
10605
   mkdir conftest
 
10606
   cd conftest
 
10607
   mkdir out
 
10608
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10609
 
 
10610
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10611
   # Insert the option either (1) after the last *FLAGS variable, or
 
10612
   # (2) before a word containing "conftest.", or (3) at the end.
 
10613
   # Note that $ac_compile itself does not contain backslashes and begins
 
10614
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10615
   lt_compile=`echo "$ac_compile" | $SED \
 
10616
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10617
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10618
   -e 's:$: $lt_compiler_flag:'`
 
10619
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10620
   (eval "$lt_compile" 2>out/conftest.err)
 
10621
   ac_status=$?
 
10622
   cat out/conftest.err >&5
 
10623
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10624
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10625
   then
 
10626
     # The compiler can only warn and ignore the option if not recognized
 
10627
     # So say no if there are warnings
 
10628
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10629
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10630
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10631
       lt_cv_prog_compiler_c_o=yes
 
10632
     fi
 
10633
   fi
 
10634
   chmod u+w . 2>&5
 
10635
   $RM conftest*
 
10636
   # SGI C++ compiler will create directory out/ii_files/ for
 
10637
   # template instantiation
 
10638
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10639
   $RM out/* && rmdir out
 
10640
   cd ..
 
10641
   $RM -r conftest
 
10642
   $RM conftest*
 
10643
 
 
10644
fi
 
10645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10646
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10647
 
 
10648
 
 
10649
 
 
10650
 
 
10651
 
 
10652
 
 
10653
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10654
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10655
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10656
  $as_echo_n "(cached) " >&6
 
10657
else
 
10658
  lt_cv_prog_compiler_c_o=no
 
10659
   $RM -r conftest 2>/dev/null
 
10660
   mkdir conftest
 
10661
   cd conftest
 
10662
   mkdir out
 
10663
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10664
 
 
10665
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10666
   # Insert the option either (1) after the last *FLAGS variable, or
 
10667
   # (2) before a word containing "conftest.", or (3) at the end.
 
10668
   # Note that $ac_compile itself does not contain backslashes and begins
 
10669
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10670
   lt_compile=`echo "$ac_compile" | $SED \
 
10671
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10672
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10673
   -e 's:$: $lt_compiler_flag:'`
 
10674
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10675
   (eval "$lt_compile" 2>out/conftest.err)
 
10676
   ac_status=$?
 
10677
   cat out/conftest.err >&5
 
10678
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10679
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10680
   then
 
10681
     # The compiler can only warn and ignore the option if not recognized
 
10682
     # So say no if there are warnings
 
10683
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10684
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10685
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10686
       lt_cv_prog_compiler_c_o=yes
 
10687
     fi
 
10688
   fi
 
10689
   chmod u+w . 2>&5
 
10690
   $RM conftest*
 
10691
   # SGI C++ compiler will create directory out/ii_files/ for
 
10692
   # template instantiation
 
10693
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10694
   $RM out/* && rmdir out
 
10695
   cd ..
 
10696
   $RM -r conftest
 
10697
   $RM conftest*
 
10698
 
 
10699
fi
 
10700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10701
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
hard_links="nottested"
 
10707
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10708
  # do not overwrite the value of need_locks provided by the user
 
10709
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10710
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
10711
  hard_links=yes
 
10712
  $RM conftest*
 
10713
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10714
  touch conftest.a
 
10715
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
10716
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10717
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10718
$as_echo "$hard_links" >&6; }
 
10719
  if test "$hard_links" = no; then
 
10720
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10721
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10722
    need_locks=warn
 
10723
  fi
 
10724
else
 
10725
  need_locks=no
 
10726
fi
 
10727
 
 
10728
 
 
10729
 
 
10730
 
 
10731
 
 
10732
 
 
10733
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10734
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
10735
 
 
10736
  runpath_var=
 
10737
  allow_undefined_flag=
 
10738
  always_export_symbols=no
 
10739
  archive_cmds=
 
10740
  archive_expsym_cmds=
 
10741
  compiler_needs_object=no
 
10742
  enable_shared_with_static_runtimes=no
 
10743
  export_dynamic_flag_spec=
 
10744
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10745
  hardcode_automatic=no
 
10746
  hardcode_direct=no
 
10747
  hardcode_direct_absolute=no
 
10748
  hardcode_libdir_flag_spec=
 
10749
  hardcode_libdir_flag_spec_ld=
 
10750
  hardcode_libdir_separator=
 
10751
  hardcode_minus_L=no
 
10752
  hardcode_shlibpath_var=unsupported
 
10753
  inherit_rpath=no
 
10754
  link_all_deplibs=unknown
 
10755
  module_cmds=
 
10756
  module_expsym_cmds=
 
10757
  old_archive_from_new_cmds=
 
10758
  old_archive_from_expsyms_cmds=
 
10759
  thread_safe_flag_spec=
 
10760
  whole_archive_flag_spec=
 
10761
  # include_expsyms should be a list of space-separated symbols to be *always*
 
10762
  # included in the symbol list
 
10763
  include_expsyms=
 
10764
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10765
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10766
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10767
  # as well as any symbol that contains `d'.
 
10768
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
10769
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10770
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10771
  # the symbol is explicitly referenced.  Since portable code cannot
 
10772
  # rely on this symbol name, it's probably fine to never include it in
 
10773
  # preloaded symbol tables.
 
10774
  # Exclude shared library initialization/finalization symbols.
 
10775
  extract_expsyms_cmds=
 
10776
 
 
10777
  case $host_os in
 
10778
  cygwin* | mingw* | pw32* | cegcc*)
 
10779
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10780
    # When not using gcc, we currently assume that we are using
 
10781
    # Microsoft Visual C++.
 
10782
    if test "$GCC" != yes; then
 
10783
      with_gnu_ld=no
 
10784
    fi
 
10785
    ;;
 
10786
  interix*)
 
10787
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
10788
    with_gnu_ld=yes
 
10789
    ;;
 
10790
  openbsd*)
 
10791
    with_gnu_ld=no
 
10792
    ;;
 
10793
  esac
 
10794
 
 
10795
  ld_shlibs=yes
 
10796
 
 
10797
  # On some targets, GNU ld is compatible enough with the native linker
 
10798
  # that we're better off using the native interface for both.
 
10799
  lt_use_gnu_ld_interface=no
 
10800
  if test "$with_gnu_ld" = yes; then
 
10801
    case $host_os in
 
10802
      aix*)
 
10803
        # The AIX port of GNU ld has always aspired to compatibility
 
10804
        # with the native linker.  However, as the warning in the GNU ld
 
10805
        # block says, versions before 2.19.5* couldn't really create working
 
10806
        # shared libraries, regardless of the interface used.
 
10807
        case `$LD -v 2>&1` in
 
10808
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10809
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10810
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10811
          *)
 
10812
            lt_use_gnu_ld_interface=yes
 
10813
            ;;
 
10814
        esac
 
10815
        ;;
 
10816
      *)
 
10817
        lt_use_gnu_ld_interface=yes
 
10818
        ;;
 
10819
    esac
 
10820
  fi
 
10821
 
 
10822
  if test "$lt_use_gnu_ld_interface" = yes; then
 
10823
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
10824
    wlarc='${wl}'
 
10825
 
 
10826
    # Set some defaults for GNU ld with shared library support. These
 
10827
    # are reset later if shared libraries are not supported. Putting them
 
10828
    # here allows them to be overridden if necessary.
 
10829
    runpath_var=LD_RUN_PATH
 
10830
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10831
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
10832
    # ancient GNU ld didn't support --whole-archive et. al.
 
10833
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
10834
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10835
    else
 
10836
      whole_archive_flag_spec=
 
10837
    fi
 
10838
    supports_anon_versioning=no
 
10839
    case `$LD -v 2>&1` in
 
10840
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
10841
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
10842
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
10843
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
10844
      *\ 2.11.*) ;; # other 2.11 versions
 
10845
      *) supports_anon_versioning=yes ;;
 
10846
    esac
 
10847
 
 
10848
    # See if GNU ld supports shared libraries.
 
10849
    case $host_os in
 
10850
    aix[3-9]*)
 
10851
      # On AIX/PPC, the GNU linker is very broken
 
10852
      if test "$host_cpu" != ia64; then
 
10853
        ld_shlibs=no
 
10854
        cat <<_LT_EOF 1>&2
 
10855
 
 
10856
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
10857
*** to be unable to reliably create shared libraries on AIX.
 
10858
*** Therefore, libtool is disabling shared libraries support.  If you
 
10859
*** really care for shared libraries, you may want to install binutils
 
10860
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10861
*** You will then need to restart the configuration process.
 
10862
 
 
10863
_LT_EOF
 
10864
      fi
 
10865
      ;;
 
10866
 
 
10867
    amigaos*)
 
10868
      case $host_cpu in
 
10869
      powerpc)
 
10870
            # see comment about AmigaOS4 .so support
 
10871
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10872
            archive_expsym_cmds=''
 
10873
        ;;
 
10874
      m68k)
 
10875
            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)'
 
10876
            hardcode_libdir_flag_spec='-L$libdir'
 
10877
            hardcode_minus_L=yes
 
10878
        ;;
 
10879
      esac
 
10880
      ;;
 
10881
 
 
10882
    beos*)
 
10883
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10884
        allow_undefined_flag=unsupported
 
10885
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10886
        # support --undefined.  This deserves some investigation.  FIXME
 
10887
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10888
      else
 
10889
        ld_shlibs=no
 
10890
      fi
 
10891
      ;;
 
10892
 
 
10893
    cygwin* | mingw* | pw32* | cegcc*)
 
10894
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
10895
      # as there is no search path for DLLs.
 
10896
      hardcode_libdir_flag_spec='-L$libdir'
 
10897
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
10898
      allow_undefined_flag=unsupported
 
10899
      always_export_symbols=no
 
10900
      enable_shared_with_static_runtimes=yes
 
10901
      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'
 
10902
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
10903
 
 
10904
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
10905
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10906
        # If the export-symbols file already is a .def file (1st line
 
10907
        # is EXPORTS), use it as is; otherwise, prepend...
 
10908
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10909
          cp $export_symbols $output_objdir/$soname.def;
 
10910
        else
 
10911
          echo EXPORTS > $output_objdir/$soname.def;
 
10912
          cat $export_symbols >> $output_objdir/$soname.def;
 
10913
        fi~
 
10914
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10915
      else
 
10916
        ld_shlibs=no
 
10917
      fi
 
10918
      ;;
 
10919
 
 
10920
    haiku*)
 
10921
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10922
      link_all_deplibs=yes
 
10923
      ;;
 
10924
 
 
10925
    interix[3-9]*)
 
10926
      hardcode_direct=no
 
10927
      hardcode_shlibpath_var=no
 
10928
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10929
      export_dynamic_flag_spec='${wl}-E'
 
10930
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
10931
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
10932
      # default) and relocated if they conflict, which is a slow very memory
 
10933
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
10934
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
10935
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
10936
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
10937
      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'
 
10938
      ;;
 
10939
 
 
10940
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
10941
      tmp_diet=no
 
10942
      if test "$host_os" = linux-dietlibc; then
 
10943
        case $cc_basename in
 
10944
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10945
        esac
 
10946
      fi
 
10947
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
10948
         && test "$tmp_diet" = no
 
10949
      then
 
10950
        tmp_addflag=' $pic_flag'
 
10951
        tmp_sharedflag='-shared'
 
10952
        case $cc_basename,$host_cpu in
 
10953
        pgcc*)                          # Portland Group C compiler
 
10954
          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'
 
10955
          tmp_addflag=' $pic_flag'
 
10956
          ;;
 
10957
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10958
                                        # Portland Group f77 and f90 compilers
 
10959
          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'
 
10960
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
10961
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
10962
          tmp_addflag=' -i_dynamic' ;;
 
10963
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
10964
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
10965
        ifc* | ifort*)                  # Intel Fortran compiler
 
10966
          tmp_addflag=' -nofor_main' ;;
 
10967
        lf95*)                          # Lahey Fortran 8.1
 
10968
          whole_archive_flag_spec=
 
10969
          tmp_sharedflag='--shared' ;;
 
10970
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
10971
          tmp_sharedflag='-qmkshrobj'
 
10972
          tmp_addflag= ;;
 
10973
        nvcc*)  # Cuda Compiler Driver 2.2
 
10974
          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'
 
10975
          compiler_needs_object=yes
 
10976
          ;;
 
10977
        esac
 
10978
        case `$CC -V 2>&1 | sed 5q` in
 
10979
        *Sun\ C*)                       # Sun C 5.9
 
10980
          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'
 
10981
          compiler_needs_object=yes
 
10982
          tmp_sharedflag='-G' ;;
 
10983
        *Sun\ F*)                       # Sun Fortran 8.3
 
10984
          tmp_sharedflag='-G' ;;
 
10985
        esac
 
10986
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10987
 
 
10988
        if test "x$supports_anon_versioning" = xyes; then
 
10989
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10990
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10991
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10992
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10993
        fi
 
10994
 
 
10995
        case $cc_basename in
 
10996
        xlf* | bgf* | bgxlf* | mpixlf*)
 
10997
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10998
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10999
          hardcode_libdir_flag_spec=
 
11000
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
11001
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
11002
          if test "x$supports_anon_versioning" = xyes; then
 
11003
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11004
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11005
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11006
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11007
          fi
 
11008
          ;;
 
11009
        esac
 
11010
      else
 
11011
        ld_shlibs=no
 
11012
      fi
 
11013
      ;;
 
11014
 
 
11015
    netbsd*)
 
11016
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11017
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
11018
        wlarc=
 
11019
      else
 
11020
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11021
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11022
      fi
 
11023
      ;;
 
11024
 
 
11025
    solaris*)
 
11026
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
11027
        ld_shlibs=no
 
11028
        cat <<_LT_EOF 1>&2
 
11029
 
 
11030
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
11031
*** create shared libraries on Solaris systems.  Therefore, libtool
 
11032
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11033
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
11034
*** your PATH or compiler configuration so that the native linker is
 
11035
*** used, and then restart.
 
11036
 
 
11037
_LT_EOF
 
11038
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11039
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11040
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11041
      else
 
11042
        ld_shlibs=no
 
11043
      fi
 
11044
      ;;
 
11045
 
 
11046
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
11047
      case `$LD -v 2>&1` in
 
11048
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
11049
        ld_shlibs=no
 
11050
        cat <<_LT_EOF 1>&2
 
11051
 
 
11052
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
11053
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
11054
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11055
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
11056
*** your PATH or compiler configuration so that the native linker is
 
11057
*** used, and then restart.
 
11058
 
 
11059
_LT_EOF
 
11060
        ;;
 
11061
        *)
 
11062
          # For security reasons, it is highly recommended that you always
 
11063
          # use absolute paths for naming shared libraries, and exclude the
 
11064
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
11065
          # requires that you compile everything twice, which is a pain.
 
11066
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11067
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11068
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11069
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11070
          else
 
11071
            ld_shlibs=no
 
11072
          fi
 
11073
        ;;
 
11074
      esac
 
11075
      ;;
 
11076
 
 
11077
    sunos4*)
 
11078
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11079
      wlarc=
 
11080
      hardcode_direct=yes
 
11081
      hardcode_shlibpath_var=no
 
11082
      ;;
 
11083
 
 
11084
    *)
 
11085
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11086
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11087
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11088
      else
 
11089
        ld_shlibs=no
 
11090
      fi
 
11091
      ;;
 
11092
    esac
 
11093
 
 
11094
    if test "$ld_shlibs" = no; then
 
11095
      runpath_var=
 
11096
      hardcode_libdir_flag_spec=
 
11097
      export_dynamic_flag_spec=
 
11098
      whole_archive_flag_spec=
 
11099
    fi
 
11100
  else
 
11101
    # PORTME fill in a description of your system's linker (not GNU ld)
 
11102
    case $host_os in
 
11103
    aix3*)
 
11104
      allow_undefined_flag=unsupported
 
11105
      always_export_symbols=yes
 
11106
      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'
 
11107
      # Note: this linker hardcodes the directories in LIBPATH if there
 
11108
      # are no directories specified by -L.
 
11109
      hardcode_minus_L=yes
 
11110
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
11111
        # Neither direct hardcoding nor static linking is supported with a
 
11112
        # broken collect2.
 
11113
        hardcode_direct=unsupported
 
11114
      fi
 
11115
      ;;
 
11116
 
 
11117
    aix[4-9]*)
 
11118
      if test "$host_cpu" = ia64; then
 
11119
        # On IA64, the linker does run time linking by default, so we don't
 
11120
        # have to do anything special.
 
11121
        aix_use_runtimelinking=no
 
11122
        exp_sym_flag='-Bexport'
 
11123
        no_entry_flag=""
 
11124
      else
 
11125
        # If we're using GNU nm, then we don't want the "-C" option.
 
11126
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
11127
        # Also, AIX nm treats weak defined symbols like other global
 
11128
        # defined symbols, whereas GNU nm marks them as "W".
 
11129
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
11130
          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'
 
11131
        else
 
11132
          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'
 
11133
        fi
 
11134
        aix_use_runtimelinking=no
 
11135
 
 
11136
        # Test if we are trying to use run time linking or normal
 
11137
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
11138
        # need to do runtime linking.
 
11139
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
11140
          for ld_flag in $LDFLAGS; do
 
11141
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
11142
            aix_use_runtimelinking=yes
 
11143
            break
 
11144
          fi
 
11145
          done
 
11146
          ;;
 
11147
        esac
 
11148
 
 
11149
        exp_sym_flag='-bexport'
 
11150
        no_entry_flag='-bnoentry'
 
11151
      fi
 
11152
 
 
11153
      # When large executables or shared objects are built, AIX ld can
 
11154
      # have problems creating the table of contents.  If linking a library
 
11155
      # or program results in "error TOC overflow" add -mminimal-toc to
 
11156
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
11157
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
11158
 
 
11159
      archive_cmds=''
 
11160
      hardcode_direct=yes
 
11161
      hardcode_direct_absolute=yes
 
11162
      hardcode_libdir_separator=':'
 
11163
      link_all_deplibs=yes
 
11164
      file_list_spec='${wl}-f,'
 
11165
 
 
11166
      if test "$GCC" = yes; then
 
11167
        case $host_os in aix4.[012]|aix4.[012].*)
 
11168
        # We only want to do this on AIX 4.2 and lower, the check
 
11169
        # below for broken collect2 doesn't work under 4.3+
 
11170
          collect2name=`${CC} -print-prog-name=collect2`
 
11171
          if test -f "$collect2name" &&
 
11172
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
11173
          then
 
11174
          # We have reworked collect2
 
11175
          :
 
11176
          else
 
11177
          # We have old collect2
 
11178
          hardcode_direct=unsupported
 
11179
          # It fails to find uninstalled libraries when the uninstalled
 
11180
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
11181
          # to unsupported forces relinking
 
11182
          hardcode_minus_L=yes
 
11183
          hardcode_libdir_flag_spec='-L$libdir'
 
11184
          hardcode_libdir_separator=
 
11185
          fi
 
11186
          ;;
 
11187
        esac
 
11188
        shared_flag='-shared'
 
11189
        if test "$aix_use_runtimelinking" = yes; then
 
11190
          shared_flag="$shared_flag "'${wl}-G'
 
11191
        fi
 
11192
      else
 
11193
        # not using gcc
 
11194
        if test "$host_cpu" = ia64; then
 
11195
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11196
        # chokes on -Wl,-G. The following line is correct:
 
11197
          shared_flag='-G'
 
11198
        else
 
11199
          if test "$aix_use_runtimelinking" = yes; then
 
11200
            shared_flag='${wl}-G'
 
11201
          else
 
11202
            shared_flag='${wl}-bM:SRE'
 
11203
          fi
 
11204
        fi
 
11205
      fi
 
11206
 
 
11207
      export_dynamic_flag_spec='${wl}-bexpall'
 
11208
      # It seems that -bexpall does not export symbols beginning with
 
11209
      # underscore (_), so it is better to generate a list of symbols to export.
 
11210
      always_export_symbols=yes
 
11211
      if test "$aix_use_runtimelinking" = yes; then
 
11212
        # Warning - without using the other runtime loading flags (-brtl),
 
11213
        # -berok will link without error, but may produce a broken library.
 
11214
        allow_undefined_flag='-berok'
 
11215
        # Determine the default libpath from the value encoded in an
 
11216
        # empty executable.
 
11217
        if test "${lt_cv_aix_libpath+set}" = set; then
 
11218
  aix_libpath=$lt_cv_aix_libpath
 
11219
else
 
11220
  if ${lt_cv_aix_libpath_+:} false; then :
 
11221
  $as_echo_n "(cached) " >&6
 
11222
else
 
11223
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11224
/* end confdefs.h.  */
 
11225
 
 
11226
int
 
11227
main ()
 
11228
{
 
11229
 
 
11230
  ;
 
11231
  return 0;
 
11232
}
 
11233
_ACEOF
 
11234
if ac_fn_c_try_link "$LINENO"; then :
 
11235
 
 
11236
  lt_aix_libpath_sed='
 
11237
      /Import File Strings/,/^$/ {
 
11238
          /^0/ {
 
11239
              s/^0  *\([^ ]*\) *$/\1/
 
11240
              p
 
11241
          }
 
11242
      }'
 
11243
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11244
  # Check for a 64-bit object if we didn't find anything.
 
11245
  if test -z "$lt_cv_aix_libpath_"; then
 
11246
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11247
  fi
 
11248
fi
 
11249
rm -f core conftest.err conftest.$ac_objext \
 
11250
    conftest$ac_exeext conftest.$ac_ext
 
11251
  if test -z "$lt_cv_aix_libpath_"; then
 
11252
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11253
  fi
 
11254
 
 
11255
fi
 
11256
 
 
11257
  aix_libpath=$lt_cv_aix_libpath_
 
11258
fi
 
11259
 
 
11260
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11261
        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"
 
11262
      else
 
11263
        if test "$host_cpu" = ia64; then
 
11264
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
11265
          allow_undefined_flag="-z nodefs"
 
11266
          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"
 
11267
        else
 
11268
         # Determine the default libpath from the value encoded in an
 
11269
         # empty executable.
 
11270
         if test "${lt_cv_aix_libpath+set}" = set; then
 
11271
  aix_libpath=$lt_cv_aix_libpath
 
11272
else
 
11273
  if ${lt_cv_aix_libpath_+:} false; then :
 
11274
  $as_echo_n "(cached) " >&6
 
11275
else
 
11276
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11277
/* end confdefs.h.  */
 
11278
 
 
11279
int
 
11280
main ()
 
11281
{
 
11282
 
 
11283
  ;
 
11284
  return 0;
 
11285
}
 
11286
_ACEOF
 
11287
if ac_fn_c_try_link "$LINENO"; then :
 
11288
 
 
11289
  lt_aix_libpath_sed='
 
11290
      /Import File Strings/,/^$/ {
 
11291
          /^0/ {
 
11292
              s/^0  *\([^ ]*\) *$/\1/
 
11293
              p
 
11294
          }
 
11295
      }'
 
11296
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11297
  # Check for a 64-bit object if we didn't find anything.
 
11298
  if test -z "$lt_cv_aix_libpath_"; then
 
11299
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11300
  fi
 
11301
fi
 
11302
rm -f core conftest.err conftest.$ac_objext \
 
11303
    conftest$ac_exeext conftest.$ac_ext
 
11304
  if test -z "$lt_cv_aix_libpath_"; then
 
11305
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11306
  fi
 
11307
 
 
11308
fi
 
11309
 
 
11310
  aix_libpath=$lt_cv_aix_libpath_
 
11311
fi
 
11312
 
 
11313
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11314
          # Warning - without using the other run time loading flags,
 
11315
          # -berok will link without error, but may produce a broken library.
 
11316
          no_undefined_flag=' ${wl}-bernotok'
 
11317
          allow_undefined_flag=' ${wl}-berok'
 
11318
          if test "$with_gnu_ld" = yes; then
 
11319
            # We only use this code for GNU lds that support --whole-archive.
 
11320
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
11321
          else
 
11322
            # Exported symbols can be pulled into shared objects from archives
 
11323
            whole_archive_flag_spec='$convenience'
 
11324
          fi
 
11325
          archive_cmds_need_lc=yes
 
11326
          # This is similar to how AIX traditionally builds its shared libraries.
 
11327
          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'
 
11328
        fi
 
11329
      fi
 
11330
      ;;
 
11331
 
 
11332
    amigaos*)
 
11333
      case $host_cpu in
 
11334
      powerpc)
 
11335
            # see comment about AmigaOS4 .so support
 
11336
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11337
            archive_expsym_cmds=''
 
11338
        ;;
 
11339
      m68k)
 
11340
            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)'
 
11341
            hardcode_libdir_flag_spec='-L$libdir'
 
11342
            hardcode_minus_L=yes
 
11343
        ;;
 
11344
      esac
 
11345
      ;;
 
11346
 
 
11347
    bsdi[45]*)
 
11348
      export_dynamic_flag_spec=-rdynamic
 
11349
      ;;
 
11350
 
 
11351
    cygwin* | mingw* | pw32* | cegcc*)
 
11352
      # When not using gcc, we currently assume that we are using
 
11353
      # Microsoft Visual C++.
 
11354
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
11355
      # no search path for DLLs.
 
11356
      case $cc_basename in
 
11357
      cl*)
 
11358
        # Native MSVC
 
11359
        hardcode_libdir_flag_spec=' '
 
11360
        allow_undefined_flag=unsupported
 
11361
        always_export_symbols=yes
 
11362
        file_list_spec='@'
 
11363
        # Tell ltmain to make .lib files, not .a files.
 
11364
        libext=lib
 
11365
        # Tell ltmain to make .dll files, not .so files.
 
11366
        shrext_cmds=".dll"
 
11367
        # FIXME: Setting linknames here is a bad hack.
 
11368
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
11369
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11370
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
11371
          else
 
11372
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
11373
          fi~
 
11374
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
11375
          linknames='
 
11376
        # The linker will not automatically build a static lib if we build a DLL.
 
11377
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
11378
        enable_shared_with_static_runtimes=yes
 
11379
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
11380
        # Don't use ranlib
 
11381
        old_postinstall_cmds='chmod 644 $oldlib'
 
11382
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
11383
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
11384
          case $lt_outputfile in
 
11385
            *.exe|*.EXE) ;;
 
11386
            *)
 
11387
              lt_outputfile="$lt_outputfile.exe"
 
11388
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
11389
              ;;
 
11390
          esac~
 
11391
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
11392
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
11393
            $RM "$lt_outputfile.manifest";
 
11394
          fi'
 
11395
        ;;
 
11396
      *)
 
11397
        # Assume MSVC wrapper
 
11398
        hardcode_libdir_flag_spec=' '
 
11399
        allow_undefined_flag=unsupported
 
11400
        # Tell ltmain to make .lib files, not .a files.
 
11401
        libext=lib
 
11402
        # Tell ltmain to make .dll files, not .so files.
 
11403
        shrext_cmds=".dll"
 
11404
        # FIXME: Setting linknames here is a bad hack.
 
11405
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
11406
        # The linker will automatically build a .lib file if we build a DLL.
 
11407
        old_archive_from_new_cmds='true'
 
11408
        # FIXME: Should let the user specify the lib program.
 
11409
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
11410
        enable_shared_with_static_runtimes=yes
 
11411
        ;;
 
11412
      esac
 
11413
      ;;
 
11414
 
 
11415
    darwin* | rhapsody*)
 
11416
 
 
11417
 
 
11418
  archive_cmds_need_lc=no
 
11419
  hardcode_direct=no
 
11420
  hardcode_automatic=yes
 
11421
  hardcode_shlibpath_var=unsupported
 
11422
  if test "$lt_cv_ld_force_load" = "yes"; then
 
11423
    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\"`'
 
11424
  else
 
11425
    whole_archive_flag_spec=''
 
11426
  fi
 
11427
  link_all_deplibs=yes
 
11428
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
11429
  case $cc_basename in
 
11430
     ifort*) _lt_dar_can_shared=yes ;;
 
11431
     *) _lt_dar_can_shared=$GCC ;;
 
11432
  esac
 
11433
  if test "$_lt_dar_can_shared" = "yes"; then
 
11434
    output_verbose_link_cmd=func_echo_all
 
11435
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11436
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11437
    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}"
 
11438
    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}"
 
11439
 
 
11440
  else
 
11441
  ld_shlibs=no
 
11442
  fi
 
11443
 
 
11444
      ;;
 
11445
 
 
11446
    dgux*)
 
11447
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11448
      hardcode_libdir_flag_spec='-L$libdir'
 
11449
      hardcode_shlibpath_var=no
 
11450
      ;;
 
11451
 
 
11452
    freebsd1*)
 
11453
      ld_shlibs=no
 
11454
      ;;
 
11455
 
 
11456
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
11457
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
11458
    # does not break anything, and helps significantly (at the cost of a little
 
11459
    # extra space).
 
11460
    freebsd2.2*)
 
11461
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
11462
      hardcode_libdir_flag_spec='-R$libdir'
 
11463
      hardcode_direct=yes
 
11464
      hardcode_shlibpath_var=no
 
11465
      ;;
 
11466
 
 
11467
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
11468
    freebsd2*)
 
11469
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11470
      hardcode_direct=yes
 
11471
      hardcode_minus_L=yes
 
11472
      hardcode_shlibpath_var=no
 
11473
      ;;
 
11474
 
 
11475
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
11476
    freebsd* | dragonfly*)
 
11477
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11478
      hardcode_libdir_flag_spec='-R$libdir'
 
11479
      hardcode_direct=yes
 
11480
      hardcode_shlibpath_var=no
 
11481
      ;;
 
11482
 
 
11483
    hpux9*)
 
11484
      if test "$GCC" = yes; then
 
11485
        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'
 
11486
      else
 
11487
        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'
 
11488
      fi
 
11489
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11490
      hardcode_libdir_separator=:
 
11491
      hardcode_direct=yes
 
11492
 
 
11493
      # hardcode_minus_L: Not really in the search PATH,
 
11494
      # but as the default location of the library.
 
11495
      hardcode_minus_L=yes
 
11496
      export_dynamic_flag_spec='${wl}-E'
 
11497
      ;;
 
11498
 
 
11499
    hpux10*)
 
11500
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11501
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11502
      else
 
11503
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11504
      fi
 
11505
      if test "$with_gnu_ld" = no; then
 
11506
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11507
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
11508
        hardcode_libdir_separator=:
 
11509
        hardcode_direct=yes
 
11510
        hardcode_direct_absolute=yes
 
11511
        export_dynamic_flag_spec='${wl}-E'
 
11512
        # hardcode_minus_L: Not really in the search PATH,
 
11513
        # but as the default location of the library.
 
11514
        hardcode_minus_L=yes
 
11515
      fi
 
11516
      ;;
 
11517
 
 
11518
    hpux11*)
 
11519
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11520
        case $host_cpu in
 
11521
        hppa*64*)
 
11522
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11523
          ;;
 
11524
        ia64*)
 
11525
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11526
          ;;
 
11527
        *)
 
11528
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11529
          ;;
 
11530
        esac
 
11531
      else
 
11532
        case $host_cpu in
 
11533
        hppa*64*)
 
11534
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11535
          ;;
 
11536
        ia64*)
 
11537
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11538
          ;;
 
11539
        *)
 
11540
 
 
11541
          # Older versions of the 11.00 compiler do not understand -b yet
 
11542
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11543
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11544
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11545
if ${lt_cv_prog_compiler__b+:} false; then :
 
11546
  $as_echo_n "(cached) " >&6
 
11547
else
 
11548
  lt_cv_prog_compiler__b=no
 
11549
   save_LDFLAGS="$LDFLAGS"
 
11550
   LDFLAGS="$LDFLAGS -b"
 
11551
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11552
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11553
     # The linker can only warn and ignore the option if not recognized
 
11554
     # So say no if there are warnings
 
11555
     if test -s conftest.err; then
 
11556
       # Append any errors to the config.log.
 
11557
       cat conftest.err 1>&5
 
11558
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11559
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11560
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11561
         lt_cv_prog_compiler__b=yes
 
11562
       fi
 
11563
     else
 
11564
       lt_cv_prog_compiler__b=yes
 
11565
     fi
 
11566
   fi
 
11567
   $RM -r conftest*
 
11568
   LDFLAGS="$save_LDFLAGS"
 
11569
 
 
11570
fi
 
11571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11572
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11573
 
 
11574
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11575
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11576
else
 
11577
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11578
fi
 
11579
 
 
11580
          ;;
 
11581
        esac
 
11582
      fi
 
11583
      if test "$with_gnu_ld" = no; then
 
11584
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11585
        hardcode_libdir_separator=:
 
11586
 
 
11587
        case $host_cpu in
 
11588
        hppa*64*|ia64*)
 
11589
          hardcode_direct=no
 
11590
          hardcode_shlibpath_var=no
 
11591
          ;;
 
11592
        *)
 
11593
          hardcode_direct=yes
 
11594
          hardcode_direct_absolute=yes
 
11595
          export_dynamic_flag_spec='${wl}-E'
 
11596
 
 
11597
          # hardcode_minus_L: Not really in the search PATH,
 
11598
          # but as the default location of the library.
 
11599
          hardcode_minus_L=yes
 
11600
          ;;
 
11601
        esac
 
11602
      fi
 
11603
      ;;
 
11604
 
 
11605
    irix5* | irix6* | nonstopux*)
 
11606
      if test "$GCC" = yes; then
 
11607
        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'
 
11608
        # Try to use the -exported_symbol ld option, if it does not
 
11609
        # work, assume that -exports_file does not work either and
 
11610
        # implicitly export all symbols.
 
11611
        # This should be the same for all languages, so no per-tag cache variable.
 
11612
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11613
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11614
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11615
  $as_echo_n "(cached) " >&6
 
11616
else
 
11617
  save_LDFLAGS="$LDFLAGS"
 
11618
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11619
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11620
/* end confdefs.h.  */
 
11621
int foo (void) { return 0; }
 
11622
_ACEOF
 
11623
if ac_fn_c_try_link "$LINENO"; then :
 
11624
  lt_cv_irix_exported_symbol=yes
 
11625
else
 
11626
  lt_cv_irix_exported_symbol=no
 
11627
fi
 
11628
rm -f core conftest.err conftest.$ac_objext \
 
11629
    conftest$ac_exeext conftest.$ac_ext
 
11630
           LDFLAGS="$save_LDFLAGS"
 
11631
fi
 
11632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11633
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11634
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11635
          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'
 
11636
        fi
 
11637
      else
 
11638
        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'
 
11639
        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'
 
11640
      fi
 
11641
      archive_cmds_need_lc='no'
 
11642
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11643
      hardcode_libdir_separator=:
 
11644
      inherit_rpath=yes
 
11645
      link_all_deplibs=yes
 
11646
      ;;
 
11647
 
 
11648
    netbsd*)
 
11649
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11650
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11651
      else
 
11652
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11653
      fi
 
11654
      hardcode_libdir_flag_spec='-R$libdir'
 
11655
      hardcode_direct=yes
 
11656
      hardcode_shlibpath_var=no
 
11657
      ;;
 
11658
 
 
11659
    newsos6)
 
11660
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11661
      hardcode_direct=yes
 
11662
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11663
      hardcode_libdir_separator=:
 
11664
      hardcode_shlibpath_var=no
 
11665
      ;;
 
11666
 
 
11667
    *nto* | *qnx*)
 
11668
      ;;
 
11669
 
 
11670
    openbsd*)
 
11671
      if test -f /usr/libexec/ld.so; then
 
11672
        hardcode_direct=yes
 
11673
        hardcode_shlibpath_var=no
 
11674
        hardcode_direct_absolute=yes
 
11675
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11676
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11677
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11678
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11679
          export_dynamic_flag_spec='${wl}-E'
 
11680
        else
 
11681
          case $host_os in
 
11682
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11683
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11684
             hardcode_libdir_flag_spec='-R$libdir'
 
11685
             ;;
 
11686
           *)
 
11687
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11688
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11689
             ;;
 
11690
          esac
 
11691
        fi
 
11692
      else
 
11693
        ld_shlibs=no
 
11694
      fi
 
11695
      ;;
 
11696
 
 
11697
    os2*)
 
11698
      hardcode_libdir_flag_spec='-L$libdir'
 
11699
      hardcode_minus_L=yes
 
11700
      allow_undefined_flag=unsupported
 
11701
      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'
 
11702
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11703
      ;;
 
11704
 
 
11705
    osf3*)
 
11706
      if test "$GCC" = yes; then
 
11707
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11708
        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'
 
11709
      else
 
11710
        allow_undefined_flag=' -expect_unresolved \*'
 
11711
        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'
 
11712
      fi
 
11713
      archive_cmds_need_lc='no'
 
11714
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11715
      hardcode_libdir_separator=:
 
11716
      ;;
 
11717
 
 
11718
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
11719
      if test "$GCC" = yes; then
 
11720
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11721
        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'
 
11722
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11723
      else
 
11724
        allow_undefined_flag=' -expect_unresolved \*'
 
11725
        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'
 
11726
        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~
 
11727
        $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'
 
11728
 
 
11729
        # Both c and cxx compiler support -rpath directly
 
11730
        hardcode_libdir_flag_spec='-rpath $libdir'
 
11731
      fi
 
11732
      archive_cmds_need_lc='no'
 
11733
      hardcode_libdir_separator=:
 
11734
      ;;
 
11735
 
 
11736
    solaris*)
 
11737
      no_undefined_flag=' -z defs'
 
11738
      if test "$GCC" = yes; then
 
11739
        wlarc='${wl}'
 
11740
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11741
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11742
          $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'
 
11743
      else
 
11744
        case `$CC -V 2>&1` in
 
11745
        *"Compilers 5.0"*)
 
11746
          wlarc=''
 
11747
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11748
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11749
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11750
          ;;
 
11751
        *)
 
11752
          wlarc='${wl}'
 
11753
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11754
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11755
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11756
          ;;
 
11757
        esac
 
11758
      fi
 
11759
      hardcode_libdir_flag_spec='-R$libdir'
 
11760
      hardcode_shlibpath_var=no
 
11761
      case $host_os in
 
11762
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11763
      *)
 
11764
        # The compiler driver will combine and reorder linker options,
 
11765
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11766
        # but is careful enough not to reorder.
 
11767
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11768
        if test "$GCC" = yes; then
 
11769
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11770
        else
 
11771
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11772
        fi
 
11773
        ;;
 
11774
      esac
 
11775
      link_all_deplibs=yes
 
11776
      ;;
 
11777
 
 
11778
    sunos4*)
 
11779
      if test "x$host_vendor" = xsequent; then
 
11780
        # Use $CC to link under sequent, because it throws in some extra .o
 
11781
        # files that make .init and .fini sections work.
 
11782
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11783
      else
 
11784
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11785
      fi
 
11786
      hardcode_libdir_flag_spec='-L$libdir'
 
11787
      hardcode_direct=yes
 
11788
      hardcode_minus_L=yes
 
11789
      hardcode_shlibpath_var=no
 
11790
      ;;
 
11791
 
 
11792
    sysv4)
 
11793
      case $host_vendor in
 
11794
        sni)
 
11795
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11796
          hardcode_direct=yes # is this really true???
 
11797
        ;;
 
11798
        siemens)
 
11799
          ## LD is ld it makes a PLAMLIB
 
11800
          ## CC just makes a GrossModule.
 
11801
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11802
          reload_cmds='$CC -r -o $output$reload_objs'
 
11803
          hardcode_direct=no
 
11804
        ;;
 
11805
        motorola)
 
11806
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11807
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
11808
        ;;
 
11809
      esac
 
11810
      runpath_var='LD_RUN_PATH'
 
11811
      hardcode_shlibpath_var=no
 
11812
      ;;
 
11813
 
 
11814
    sysv4.3*)
 
11815
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11816
      hardcode_shlibpath_var=no
 
11817
      export_dynamic_flag_spec='-Bexport'
 
11818
      ;;
 
11819
 
 
11820
    sysv4*MP*)
 
11821
      if test -d /usr/nec; then
 
11822
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11823
        hardcode_shlibpath_var=no
 
11824
        runpath_var=LD_RUN_PATH
 
11825
        hardcode_runpath_var=yes
 
11826
        ld_shlibs=yes
 
11827
      fi
 
11828
      ;;
 
11829
 
 
11830
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11831
      no_undefined_flag='${wl}-z,text'
 
11832
      archive_cmds_need_lc=no
 
11833
      hardcode_shlibpath_var=no
 
11834
      runpath_var='LD_RUN_PATH'
 
11835
 
 
11836
      if test "$GCC" = yes; then
 
11837
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11838
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11839
      else
 
11840
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11841
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11842
      fi
 
11843
      ;;
 
11844
 
 
11845
    sysv5* | sco3.2v5* | sco5v6*)
 
11846
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11847
      # link with -lc, and that would cause any symbols used from libc to
 
11848
      # always be unresolved, which means just about no library would
 
11849
      # ever link correctly.  If we're not using GNU ld we use -z text
 
11850
      # though, which does catch some bad symbols but isn't as heavy-handed
 
11851
      # as -z defs.
 
11852
      no_undefined_flag='${wl}-z,text'
 
11853
      allow_undefined_flag='${wl}-z,nodefs'
 
11854
      archive_cmds_need_lc=no
 
11855
      hardcode_shlibpath_var=no
 
11856
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11857
      hardcode_libdir_separator=':'
 
11858
      link_all_deplibs=yes
 
11859
      export_dynamic_flag_spec='${wl}-Bexport'
 
11860
      runpath_var='LD_RUN_PATH'
 
11861
 
 
11862
      if test "$GCC" = yes; then
 
11863
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11864
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11865
      else
 
11866
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11867
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11868
      fi
 
11869
      ;;
 
11870
 
 
11871
    uts4*)
 
11872
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11873
      hardcode_libdir_flag_spec='-L$libdir'
 
11874
      hardcode_shlibpath_var=no
 
11875
      ;;
 
11876
 
 
11877
    *)
 
11878
      ld_shlibs=no
 
11879
      ;;
 
11880
    esac
 
11881
 
 
11882
    if test x$host_vendor = xsni; then
 
11883
      case $host in
 
11884
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11885
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
11886
        ;;
 
11887
      esac
 
11888
    fi
 
11889
  fi
 
11890
 
 
11891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11892
$as_echo "$ld_shlibs" >&6; }
 
11893
test "$ld_shlibs" = no && can_build_shared=no
 
11894
 
 
11895
with_gnu_ld=$with_gnu_ld
 
11896
 
 
11897
 
 
11898
 
 
11899
 
 
11900
 
 
11901
 
 
11902
 
 
11903
 
 
11904
 
 
11905
 
 
11906
 
 
11907
 
 
11908
 
 
11909
 
 
11910
 
 
11911
#
 
11912
# Do we need to explicitly link libc?
 
11913
#
 
11914
case "x$archive_cmds_need_lc" in
 
11915
x|xyes)
 
11916
  # Assume -lc should be added
 
11917
  archive_cmds_need_lc=yes
 
11918
 
 
11919
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
11920
    case $archive_cmds in
 
11921
    *'~'*)
 
11922
      # FIXME: we may have to deal with multi-command sequences.
 
11923
      ;;
 
11924
    '$CC '*)
 
11925
      # Test whether the compiler implicitly links with -lc since on some
 
11926
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
11927
      # to ld, don't add -lc before -lgcc.
 
11928
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11929
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
11930
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11931
  $as_echo_n "(cached) " >&6
 
11932
else
 
11933
  $RM conftest*
 
11934
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11935
 
 
11936
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11937
  (eval $ac_compile) 2>&5
 
11938
  ac_status=$?
 
11939
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11940
  test $ac_status = 0; } 2>conftest.err; then
 
11941
          soname=conftest
 
11942
          lib=conftest
 
11943
          libobjs=conftest.$ac_objext
 
11944
          deplibs=
 
11945
          wl=$lt_prog_compiler_wl
 
11946
          pic_flag=$lt_prog_compiler_pic
 
11947
          compiler_flags=-v
 
11948
          linker_flags=-v
 
11949
          verstring=
 
11950
          output_objdir=.
 
11951
          libname=conftest
 
11952
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11953
          allow_undefined_flag=
 
11954
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11955
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
11956
  ac_status=$?
 
11957
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11958
  test $ac_status = 0; }
 
11959
          then
 
11960
            lt_cv_archive_cmds_need_lc=no
 
11961
          else
 
11962
            lt_cv_archive_cmds_need_lc=yes
 
11963
          fi
 
11964
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11965
        else
 
11966
          cat conftest.err 1>&5
 
11967
        fi
 
11968
        $RM conftest*
 
11969
 
 
11970
fi
 
11971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11972
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11973
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
11974
      ;;
 
11975
    esac
 
11976
  fi
 
11977
  ;;
 
11978
esac
 
11979
 
 
11980
 
 
11981
 
 
11982
 
 
11983
 
 
11984
 
 
11985
 
 
11986
 
 
11987
 
 
11988
 
 
11989
 
 
11990
 
 
11991
 
 
11992
 
 
11993
 
 
11994
 
 
11995
 
 
11996
 
 
11997
 
 
11998
 
 
11999
 
 
12000
 
 
12001
 
 
12002
 
 
12003
 
 
12004
 
 
12005
 
 
12006
 
 
12007
 
 
12008
 
 
12009
 
 
12010
 
 
12011
 
 
12012
 
 
12013
 
 
12014
 
 
12015
 
 
12016
 
 
12017
 
 
12018
 
 
12019
 
 
12020
 
 
12021
 
 
12022
 
 
12023
 
 
12024
 
 
12025
 
 
12026
 
 
12027
 
 
12028
 
 
12029
 
 
12030
 
 
12031
 
 
12032
 
 
12033
 
 
12034
 
 
12035
 
 
12036
 
 
12037
 
 
12038
 
 
12039
 
 
12040
 
 
12041
 
 
12042
 
 
12043
 
 
12044
 
 
12045
 
 
12046
 
 
12047
 
 
12048
 
 
12049
 
 
12050
 
 
12051
 
 
12052
 
 
12053
 
 
12054
 
 
12055
 
 
12056
 
 
12057
 
 
12058
 
 
12059
 
 
12060
 
 
12061
 
 
12062
 
 
12063
 
 
12064
 
 
12065
 
 
12066
 
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
 
12072
 
 
12073
 
 
12074
 
 
12075
 
 
12076
 
 
12077
 
 
12078
 
 
12079
 
 
12080
 
 
12081
 
 
12082
 
 
12083
 
 
12084
 
 
12085
 
 
12086
 
 
12087
 
 
12088
 
 
12089
 
 
12090
 
 
12091
 
 
12092
 
 
12093
 
 
12094
 
 
12095
 
 
12096
 
 
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
 
 
12103
 
 
12104
 
 
12105
 
 
12106
 
 
12107
 
 
12108
 
 
12109
 
 
12110
 
 
12111
 
 
12112
 
 
12113
 
 
12114
 
 
12115
 
 
12116
 
 
12117
 
 
12118
 
 
12119
 
 
12120
 
 
12121
 
 
12122
 
 
12123
 
 
12124
 
 
12125
 
 
12126
 
 
12127
 
 
12128
 
 
12129
 
 
12130
 
 
12131
 
 
12132
 
 
12133
 
 
12134
 
 
12135
 
 
12136
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
12137
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
12138
 
 
12139
if test "$GCC" = yes; then
 
12140
  case $host_os in
 
12141
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
12142
    *) lt_awk_arg="/^libraries:/" ;;
 
12143
  esac
 
12144
  case $host_os in
 
12145
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
12146
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
12147
  esac
 
12148
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
12149
  case $lt_search_path_spec in
 
12150
  *\;*)
 
12151
    # if the path contains ";" then we assume it to be the separator
 
12152
    # otherwise default to the standard path separator (i.e. ":") - it is
 
12153
    # assumed that no part of a normal pathname contains ";" but that should
 
12154
    # okay in the real world where ";" in dirpaths is itself problematic.
 
12155
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
12156
    ;;
 
12157
  *)
 
12158
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
12159
    ;;
 
12160
  esac
 
12161
  # Ok, now we have the path, separated by spaces, we can step through it
 
12162
  # and add multilib dir if necessary.
 
12163
  lt_tmp_lt_search_path_spec=
 
12164
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
12165
  for lt_sys_path in $lt_search_path_spec; do
 
12166
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
12167
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
12168
    else
 
12169
      test -d "$lt_sys_path" && \
 
12170
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
12171
    fi
 
12172
  done
 
12173
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
12174
BEGIN {RS=" "; FS="/|\n";} {
 
12175
  lt_foo="";
 
12176
  lt_count=0;
 
12177
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
12178
    if ($lt_i != "" && $lt_i != ".") {
 
12179
      if ($lt_i == "..") {
 
12180
        lt_count++;
 
12181
      } else {
 
12182
        if (lt_count == 0) {
 
12183
          lt_foo="/" $lt_i lt_foo;
 
12184
        } else {
 
12185
          lt_count--;
 
12186
        }
 
12187
      }
 
12188
    }
 
12189
  }
 
12190
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
12191
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
12192
}'`
 
12193
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
12194
  # for these hosts.
 
12195
  case $host_os in
 
12196
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
12197
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
12198
  esac
 
12199
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
12200
else
 
12201
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
12202
fi
 
12203
library_names_spec=
 
12204
libname_spec='lib$name'
 
12205
soname_spec=
 
12206
shrext_cmds=".so"
 
12207
postinstall_cmds=
 
12208
postuninstall_cmds=
 
12209
finish_cmds=
 
12210
finish_eval=
 
12211
shlibpath_var=
 
12212
shlibpath_overrides_runpath=unknown
 
12213
version_type=none
 
12214
dynamic_linker="$host_os ld.so"
 
12215
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
12216
need_lib_prefix=unknown
 
12217
hardcode_into_libs=no
 
12218
 
 
12219
# when you set need_version to no, make sure it does not cause -set_version
 
12220
# flags to be left without arguments
 
12221
need_version=unknown
 
12222
 
 
12223
case $host_os in
 
12224
aix3*)
 
12225
  version_type=linux
 
12226
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
12227
  shlibpath_var=LIBPATH
 
12228
 
 
12229
  # AIX 3 has no versioning support, so we append a major version to the name.
 
12230
  soname_spec='${libname}${release}${shared_ext}$major'
 
12231
  ;;
 
12232
 
 
12233
aix[4-9]*)
 
12234
  version_type=linux
 
12235
  need_lib_prefix=no
 
12236
  need_version=no
 
12237
  hardcode_into_libs=yes
 
12238
  if test "$host_cpu" = ia64; then
 
12239
    # AIX 5 supports IA64
 
12240
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
12241
    shlibpath_var=LD_LIBRARY_PATH
 
12242
  else
 
12243
    # With GCC up to 2.95.x, collect2 would create an import file
 
12244
    # for dependence libraries.  The import file would start with
 
12245
    # the line `#! .'.  This would cause the generated library to
 
12246
    # depend on `.', always an invalid library.  This was fixed in
 
12247
    # development snapshots of GCC prior to 3.0.
 
12248
    case $host_os in
 
12249
      aix4 | aix4.[01] | aix4.[01].*)
 
12250
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
12251
           echo ' yes '
 
12252
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
12253
        :
 
12254
      else
 
12255
        can_build_shared=no
 
12256
      fi
 
12257
      ;;
 
12258
    esac
 
12259
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
12260
    # soname into executable. Probably we can add versioning support to
 
12261
    # collect2, so additional links can be useful in future.
 
12262
    if test "$aix_use_runtimelinking" = yes; then
 
12263
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
12264
      # instead of lib<name>.a to let people know that these are not
 
12265
      # typical AIX shared libraries.
 
12266
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12267
    else
 
12268
      # We preserve .a as extension for shared libraries through AIX4.2
 
12269
      # and later when we are not doing run time linking.
 
12270
      library_names_spec='${libname}${release}.a $libname.a'
 
12271
      soname_spec='${libname}${release}${shared_ext}$major'
 
12272
    fi
 
12273
    shlibpath_var=LIBPATH
 
12274
  fi
 
12275
  ;;
 
12276
 
 
12277
amigaos*)
 
12278
  case $host_cpu in
 
12279
  powerpc)
 
12280
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
12281
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
12282
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12283
    ;;
 
12284
  m68k)
 
12285
    library_names_spec='$libname.ixlibrary $libname.a'
 
12286
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
12287
    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'
 
12288
    ;;
 
12289
  esac
 
12290
  ;;
 
12291
 
 
12292
beos*)
 
12293
  library_names_spec='${libname}${shared_ext}'
 
12294
  dynamic_linker="$host_os ld.so"
 
12295
  shlibpath_var=LIBRARY_PATH
 
12296
  ;;
 
12297
 
 
12298
bsdi[45]*)
 
12299
  version_type=linux
 
12300
  need_version=no
 
12301
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12302
  soname_spec='${libname}${release}${shared_ext}$major'
 
12303
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
12304
  shlibpath_var=LD_LIBRARY_PATH
 
12305
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
12306
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
12307
  # the default ld.so.conf also contains /usr/contrib/lib and
 
12308
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
12309
  # libtool to hard-code these into programs
 
12310
  ;;
 
12311
 
 
12312
cygwin* | mingw* | pw32* | cegcc*)
 
12313
  version_type=windows
 
12314
  shrext_cmds=".dll"
 
12315
  need_version=no
 
12316
  need_lib_prefix=no
 
12317
 
 
12318
  case $GCC,$cc_basename in
 
12319
  yes,*)
 
12320
    # gcc
 
12321
    library_names_spec='$libname.dll.a'
 
12322
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
12323
    postinstall_cmds='base_file=`basename \${file}`~
 
12324
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12325
      dldir=$destdir/`dirname \$dlpath`~
 
12326
      test -d \$dldir || mkdir -p \$dldir~
 
12327
      $install_prog $dir/$dlname \$dldir/$dlname~
 
12328
      chmod a+x \$dldir/$dlname~
 
12329
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
12330
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
12331
      fi'
 
12332
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12333
      dlpath=$dir/\$dldll~
 
12334
       $RM \$dlpath'
 
12335
    shlibpath_overrides_runpath=yes
 
12336
 
 
12337
    case $host_os in
 
12338
    cygwin*)
 
12339
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
12340
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12341
 
 
12342
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
12343
      ;;
 
12344
    mingw* | cegcc*)
 
12345
      # MinGW DLLs use traditional 'lib' prefix
 
12346
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12347
      ;;
 
12348
    pw32*)
 
12349
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
12350
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12351
      ;;
 
12352
    esac
 
12353
    dynamic_linker='Win32 ld.exe'
 
12354
    ;;
 
12355
 
 
12356
  *,cl*)
 
12357
    # Native MSVC
 
12358
    libname_spec='$name'
 
12359
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12360
    library_names_spec='${libname}.dll.lib'
 
12361
 
 
12362
    case $build_os in
 
12363
    mingw*)
 
12364
      sys_lib_search_path_spec=
 
12365
      lt_save_ifs=$IFS
 
12366
      IFS=';'
 
12367
      for lt_path in $LIB
 
12368
      do
 
12369
        IFS=$lt_save_ifs
 
12370
        # Let DOS variable expansion print the short 8.3 style file name.
 
12371
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
12372
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
12373
      done
 
12374
      IFS=$lt_save_ifs
 
12375
      # Convert to MSYS style.
 
12376
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
12377
      ;;
 
12378
    cygwin*)
 
12379
      # Convert to unix form, then to dos form, then back to unix form
 
12380
      # but this time dos style (no spaces!) so that the unix form looks
 
12381
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
12382
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
12383
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
12384
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
12385
      ;;
 
12386
    *)
 
12387
      sys_lib_search_path_spec="$LIB"
 
12388
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
12389
        # It is most probably a Windows format PATH.
 
12390
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
12391
      else
 
12392
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
12393
      fi
 
12394
      # FIXME: find the short name or the path components, as spaces are
 
12395
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
12396
      ;;
 
12397
    esac
 
12398
 
 
12399
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
12400
    postinstall_cmds='base_file=`basename \${file}`~
 
12401
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12402
      dldir=$destdir/`dirname \$dlpath`~
 
12403
      test -d \$dldir || mkdir -p \$dldir~
 
12404
      $install_prog $dir/$dlname \$dldir/$dlname'
 
12405
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12406
      dlpath=$dir/\$dldll~
 
12407
       $RM \$dlpath'
 
12408
    shlibpath_overrides_runpath=yes
 
12409
    dynamic_linker='Win32 link.exe'
 
12410
    ;;
 
12411
 
 
12412
  *)
 
12413
    # Assume MSVC wrapper
 
12414
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
12415
    dynamic_linker='Win32 ld.exe'
 
12416
    ;;
 
12417
  esac
 
12418
  # FIXME: first we should search . and the directory the executable is in
 
12419
  shlibpath_var=PATH
 
12420
  ;;
 
12421
 
 
12422
darwin* | rhapsody*)
 
12423
  dynamic_linker="$host_os dyld"
 
12424
  version_type=darwin
 
12425
  need_lib_prefix=no
 
12426
  need_version=no
 
12427
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
12428
  soname_spec='${libname}${release}${major}$shared_ext'
 
12429
  shlibpath_overrides_runpath=yes
 
12430
  shlibpath_var=DYLD_LIBRARY_PATH
 
12431
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
12432
 
 
12433
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
12434
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
12435
  ;;
 
12436
 
 
12437
dgux*)
 
12438
  version_type=linux
 
12439
  need_lib_prefix=no
 
12440
  need_version=no
 
12441
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
12442
  soname_spec='${libname}${release}${shared_ext}$major'
 
12443
  shlibpath_var=LD_LIBRARY_PATH
 
12444
  ;;
 
12445
 
 
12446
freebsd1*)
 
12447
  dynamic_linker=no
 
12448
  ;;
 
12449
 
 
12450
freebsd* | dragonfly*)
 
12451
  # DragonFly does not have aout.  When/if they implement a new
 
12452
  # versioning mechanism, adjust this.
 
12453
  if test -x /usr/bin/objformat; then
 
12454
    objformat=`/usr/bin/objformat`
 
12455
  else
 
12456
    case $host_os in
 
12457
    freebsd[123]*) objformat=aout ;;
 
12458
    *) objformat=elf ;;
 
12459
    esac
 
12460
  fi
 
12461
  version_type=freebsd-$objformat
 
12462
  case $version_type in
 
12463
    freebsd-elf*)
 
12464
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12465
      need_version=no
 
12466
      need_lib_prefix=no
 
12467
      ;;
 
12468
    freebsd-*)
 
12469
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
12470
      need_version=yes
 
12471
      ;;
 
12472
  esac
 
12473
  shlibpath_var=LD_LIBRARY_PATH
 
12474
  case $host_os in
 
12475
  freebsd2*)
 
12476
    shlibpath_overrides_runpath=yes
 
12477
    ;;
 
12478
  freebsd3.[01]* | freebsdelf3.[01]*)
 
12479
    shlibpath_overrides_runpath=yes
 
12480
    hardcode_into_libs=yes
 
12481
    ;;
 
12482
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12483
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
12484
    shlibpath_overrides_runpath=no
 
12485
    hardcode_into_libs=yes
 
12486
    ;;
 
12487
  *) # from 4.6 on, and DragonFly
 
12488
    shlibpath_overrides_runpath=yes
 
12489
    hardcode_into_libs=yes
 
12490
    ;;
 
12491
  esac
 
12492
  ;;
 
12493
 
 
12494
gnu*)
 
12495
  version_type=linux
 
12496
  need_lib_prefix=no
 
12497
  need_version=no
 
12498
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12499
  soname_spec='${libname}${release}${shared_ext}$major'
 
12500
  shlibpath_var=LD_LIBRARY_PATH
 
12501
  hardcode_into_libs=yes
 
12502
  ;;
 
12503
 
 
12504
haiku*)
 
12505
  version_type=linux
 
12506
  need_lib_prefix=no
 
12507
  need_version=no
 
12508
  dynamic_linker="$host_os runtime_loader"
 
12509
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12510
  soname_spec='${libname}${release}${shared_ext}$major'
 
12511
  shlibpath_var=LIBRARY_PATH
 
12512
  shlibpath_overrides_runpath=yes
 
12513
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
12514
  hardcode_into_libs=yes
 
12515
  ;;
 
12516
 
 
12517
hpux9* | hpux10* | hpux11*)
 
12518
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
12519
  # link against other versions.
 
12520
  version_type=sunos
 
12521
  need_lib_prefix=no
 
12522
  need_version=no
 
12523
  case $host_cpu in
 
12524
  ia64*)
 
12525
    shrext_cmds='.so'
 
12526
    hardcode_into_libs=yes
 
12527
    dynamic_linker="$host_os dld.so"
 
12528
    shlibpath_var=LD_LIBRARY_PATH
 
12529
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12530
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12531
    soname_spec='${libname}${release}${shared_ext}$major'
 
12532
    if test "X$HPUX_IA64_MODE" = X32; then
 
12533
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12534
    else
 
12535
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12536
    fi
 
12537
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12538
    ;;
 
12539
  hppa*64*)
 
12540
    shrext_cmds='.sl'
 
12541
    hardcode_into_libs=yes
 
12542
    dynamic_linker="$host_os dld.sl"
 
12543
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
12544
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12545
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12546
    soname_spec='${libname}${release}${shared_ext}$major'
 
12547
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
12548
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12549
    ;;
 
12550
  *)
 
12551
    shrext_cmds='.sl'
 
12552
    dynamic_linker="$host_os dld.sl"
 
12553
    shlibpath_var=SHLIB_PATH
 
12554
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
12555
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12556
    soname_spec='${libname}${release}${shared_ext}$major'
 
12557
    ;;
 
12558
  esac
 
12559
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
12560
  postinstall_cmds='chmod 555 $lib'
 
12561
  # or fails outright, so override atomically:
 
12562
  install_override_mode=555
 
12563
  ;;
 
12564
 
 
12565
interix[3-9]*)
 
12566
  version_type=linux
 
12567
  need_lib_prefix=no
 
12568
  need_version=no
 
12569
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12570
  soname_spec='${libname}${release}${shared_ext}$major'
 
12571
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12572
  shlibpath_var=LD_LIBRARY_PATH
 
12573
  shlibpath_overrides_runpath=no
 
12574
  hardcode_into_libs=yes
 
12575
  ;;
 
12576
 
 
12577
irix5* | irix6* | nonstopux*)
 
12578
  case $host_os in
 
12579
    nonstopux*) version_type=nonstopux ;;
 
12580
    *)
 
12581
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12582
                version_type=linux
 
12583
        else
 
12584
                version_type=irix
 
12585
        fi ;;
 
12586
  esac
 
12587
  need_lib_prefix=no
 
12588
  need_version=no
 
12589
  soname_spec='${libname}${release}${shared_ext}$major'
 
12590
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12591
  case $host_os in
 
12592
  irix5* | nonstopux*)
 
12593
    libsuff= shlibsuff=
 
12594
    ;;
 
12595
  *)
 
12596
    case $LD in # libtool.m4 will add one of these switches to LD
 
12597
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12598
      libsuff= shlibsuff= libmagic=32-bit;;
 
12599
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12600
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12601
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12602
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12603
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12604
    esac
 
12605
    ;;
 
12606
  esac
 
12607
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12608
  shlibpath_overrides_runpath=no
 
12609
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12610
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12611
  hardcode_into_libs=yes
 
12612
  ;;
 
12613
 
 
12614
# No shared lib support for Linux oldld, aout, or coff.
 
12615
linux*oldld* | linux*aout* | linux*coff*)
 
12616
  dynamic_linker=no
 
12617
  ;;
 
12618
 
 
12619
# This must be Linux ELF.
 
12620
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12621
  version_type=linux
 
12622
  need_lib_prefix=no
 
12623
  need_version=no
 
12624
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12625
  soname_spec='${libname}${release}${shared_ext}$major'
 
12626
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12627
  shlibpath_var=LD_LIBRARY_PATH
 
12628
  shlibpath_overrides_runpath=no
 
12629
 
 
12630
  # Some binutils ld are patched to set DT_RUNPATH
 
12631
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12632
  $as_echo_n "(cached) " >&6
 
12633
else
 
12634
  lt_cv_shlibpath_overrides_runpath=no
 
12635
    save_LDFLAGS=$LDFLAGS
 
12636
    save_libdir=$libdir
 
12637
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12638
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12639
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12640
/* end confdefs.h.  */
 
12641
 
 
12642
int
 
12643
main ()
 
12644
{
 
12645
 
 
12646
  ;
 
12647
  return 0;
 
12648
}
 
12649
_ACEOF
 
12650
if ac_fn_c_try_link "$LINENO"; then :
 
12651
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
12652
  lt_cv_shlibpath_overrides_runpath=yes
 
12653
fi
 
12654
fi
 
12655
rm -f core conftest.err conftest.$ac_objext \
 
12656
    conftest$ac_exeext conftest.$ac_ext
 
12657
    LDFLAGS=$save_LDFLAGS
 
12658
    libdir=$save_libdir
 
12659
 
 
12660
fi
 
12661
 
 
12662
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
12663
 
 
12664
  # This implies no fast_install, which is unacceptable.
 
12665
  # Some rework will be needed to allow for fast_install
 
12666
  # before this can be enabled.
 
12667
  hardcode_into_libs=yes
 
12668
 
 
12669
  # Add ABI-specific directories to the system library path.
 
12670
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
12671
 
 
12672
  # Append ld.so.conf contents to the search path
 
12673
  if test -f /etc/ld.so.conf; then
 
12674
    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' ' '`
 
12675
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
12676
 
 
12677
  fi
 
12678
 
 
12679
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
12680
  # powerpc, because MkLinux only supported shared libraries with the
 
12681
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
12682
  # most powerpc-linux boxes support dynamic linking these days and
 
12683
  # people can always --disable-shared, the test was removed, and we
 
12684
  # assume the GNU/Linux dynamic linker is in use.
 
12685
  dynamic_linker='GNU/Linux ld.so'
 
12686
  ;;
 
12687
 
 
12688
netbsd*)
 
12689
  version_type=sunos
 
12690
  need_lib_prefix=no
 
12691
  need_version=no
 
12692
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12693
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12694
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12695
    dynamic_linker='NetBSD (a.out) ld.so'
 
12696
  else
 
12697
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12698
    soname_spec='${libname}${release}${shared_ext}$major'
 
12699
    dynamic_linker='NetBSD ld.elf_so'
 
12700
  fi
 
12701
  shlibpath_var=LD_LIBRARY_PATH
 
12702
  shlibpath_overrides_runpath=yes
 
12703
  hardcode_into_libs=yes
 
12704
  ;;
 
12705
 
 
12706
newsos6)
 
12707
  version_type=linux
 
12708
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12709
  shlibpath_var=LD_LIBRARY_PATH
 
12710
  shlibpath_overrides_runpath=yes
 
12711
  ;;
 
12712
 
 
12713
*nto* | *qnx*)
 
12714
  version_type=qnx
 
12715
  need_lib_prefix=no
 
12716
  need_version=no
 
12717
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12718
  soname_spec='${libname}${release}${shared_ext}$major'
 
12719
  shlibpath_var=LD_LIBRARY_PATH
 
12720
  shlibpath_overrides_runpath=no
 
12721
  hardcode_into_libs=yes
 
12722
  dynamic_linker='ldqnx.so'
 
12723
  ;;
 
12724
 
 
12725
openbsd*)
 
12726
  version_type=sunos
 
12727
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12728
  need_lib_prefix=no
 
12729
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12730
  case $host_os in
 
12731
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
12732
    *)                          need_version=no  ;;
 
12733
  esac
 
12734
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12735
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12736
  shlibpath_var=LD_LIBRARY_PATH
 
12737
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12738
    case $host_os in
 
12739
      openbsd2.[89] | openbsd2.[89].*)
 
12740
        shlibpath_overrides_runpath=no
 
12741
        ;;
 
12742
      *)
 
12743
        shlibpath_overrides_runpath=yes
 
12744
        ;;
 
12745
      esac
 
12746
  else
 
12747
    shlibpath_overrides_runpath=yes
 
12748
  fi
 
12749
  ;;
 
12750
 
 
12751
os2*)
 
12752
  libname_spec='$name'
 
12753
  shrext_cmds=".dll"
 
12754
  need_lib_prefix=no
 
12755
  library_names_spec='$libname${shared_ext} $libname.a'
 
12756
  dynamic_linker='OS/2 ld.exe'
 
12757
  shlibpath_var=LIBPATH
 
12758
  ;;
 
12759
 
 
12760
osf3* | osf4* | osf5*)
 
12761
  version_type=osf
 
12762
  need_lib_prefix=no
 
12763
  need_version=no
 
12764
  soname_spec='${libname}${release}${shared_ext}$major'
 
12765
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12766
  shlibpath_var=LD_LIBRARY_PATH
 
12767
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
12768
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12769
  ;;
 
12770
 
 
12771
rdos*)
 
12772
  dynamic_linker=no
 
12773
  ;;
 
12774
 
 
12775
solaris*)
 
12776
  version_type=linux
 
12777
  need_lib_prefix=no
 
12778
  need_version=no
 
12779
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12780
  soname_spec='${libname}${release}${shared_ext}$major'
 
12781
  shlibpath_var=LD_LIBRARY_PATH
 
12782
  shlibpath_overrides_runpath=yes
 
12783
  hardcode_into_libs=yes
 
12784
  # ldd complains unless libraries are executable
 
12785
  postinstall_cmds='chmod +x $lib'
 
12786
  ;;
 
12787
 
 
12788
sunos4*)
 
12789
  version_type=sunos
 
12790
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12791
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
12792
  shlibpath_var=LD_LIBRARY_PATH
 
12793
  shlibpath_overrides_runpath=yes
 
12794
  if test "$with_gnu_ld" = yes; then
 
12795
    need_lib_prefix=no
 
12796
  fi
 
12797
  need_version=yes
 
12798
  ;;
 
12799
 
 
12800
sysv4 | sysv4.3*)
 
12801
  version_type=linux
 
12802
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12803
  soname_spec='${libname}${release}${shared_ext}$major'
 
12804
  shlibpath_var=LD_LIBRARY_PATH
 
12805
  case $host_vendor in
 
12806
    sni)
 
12807
      shlibpath_overrides_runpath=no
 
12808
      need_lib_prefix=no
 
12809
      runpath_var=LD_RUN_PATH
 
12810
      ;;
 
12811
    siemens)
 
12812
      need_lib_prefix=no
 
12813
      ;;
 
12814
    motorola)
 
12815
      need_lib_prefix=no
 
12816
      need_version=no
 
12817
      shlibpath_overrides_runpath=no
 
12818
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
12819
      ;;
 
12820
  esac
 
12821
  ;;
 
12822
 
 
12823
sysv4*MP*)
 
12824
  if test -d /usr/nec ;then
 
12825
    version_type=linux
 
12826
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
12827
    soname_spec='$libname${shared_ext}.$major'
 
12828
    shlibpath_var=LD_LIBRARY_PATH
 
12829
  fi
 
12830
  ;;
 
12831
 
 
12832
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12833
  version_type=freebsd-elf
 
12834
  need_lib_prefix=no
 
12835
  need_version=no
 
12836
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12837
  soname_spec='${libname}${release}${shared_ext}$major'
 
12838
  shlibpath_var=LD_LIBRARY_PATH
 
12839
  shlibpath_overrides_runpath=yes
 
12840
  hardcode_into_libs=yes
 
12841
  if test "$with_gnu_ld" = yes; then
 
12842
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12843
  else
 
12844
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12845
    case $host_os in
 
12846
      sco3.2v5*)
 
12847
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12848
        ;;
 
12849
    esac
 
12850
  fi
 
12851
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12852
  ;;
 
12853
 
 
12854
tpf*)
 
12855
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
12856
  version_type=linux
 
12857
  need_lib_prefix=no
 
12858
  need_version=no
 
12859
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12860
  shlibpath_var=LD_LIBRARY_PATH
 
12861
  shlibpath_overrides_runpath=no
 
12862
  hardcode_into_libs=yes
 
12863
  ;;
 
12864
 
 
12865
uts4*)
 
12866
  version_type=linux
 
12867
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12868
  soname_spec='${libname}${release}${shared_ext}$major'
 
12869
  shlibpath_var=LD_LIBRARY_PATH
 
12870
  ;;
 
12871
 
 
12872
*)
 
12873
  dynamic_linker=no
 
12874
  ;;
 
12875
esac
 
12876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12877
$as_echo "$dynamic_linker" >&6; }
 
12878
test "$dynamic_linker" = no && can_build_shared=no
 
12879
 
 
12880
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12881
if test "$GCC" = yes; then
 
12882
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12883
fi
 
12884
 
 
12885
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12886
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12887
fi
 
12888
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12889
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12890
fi
 
12891
 
 
12892
 
 
12893
 
 
12894
 
 
12895
 
 
12896
 
 
12897
 
 
12898
 
 
12899
 
 
12900
 
 
12901
 
 
12902
 
 
12903
 
 
12904
 
 
12905
 
 
12906
 
 
12907
 
 
12908
 
 
12909
 
 
12910
 
 
12911
 
 
12912
 
 
12913
 
 
12914
 
 
12915
 
 
12916
 
 
12917
 
 
12918
 
 
12919
 
 
12920
 
 
12921
 
 
12922
 
 
12923
 
 
12924
 
 
12925
 
 
12926
 
 
12927
 
 
12928
 
 
12929
 
 
12930
 
 
12931
 
 
12932
 
 
12933
 
 
12934
 
 
12935
 
 
12936
 
 
12937
 
 
12938
 
 
12939
 
 
12940
 
 
12941
 
 
12942
 
 
12943
 
 
12944
 
 
12945
 
 
12946
 
 
12947
 
 
12948
 
 
12949
 
 
12950
 
 
12951
 
 
12952
 
 
12953
 
 
12954
 
 
12955
 
 
12956
 
 
12957
 
 
12958
 
 
12959
 
 
12960
 
 
12961
 
 
12962
 
 
12963
 
 
12964
 
 
12965
 
 
12966
 
 
12967
 
 
12968
 
 
12969
 
 
12970
 
 
12971
 
 
12972
 
 
12973
 
 
12974
 
 
12975
 
 
12976
 
 
12977
 
 
12978
 
 
12979
 
 
12980
 
 
12981
 
 
12982
 
 
12983
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
12984
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
12985
hardcode_action=
 
12986
if test -n "$hardcode_libdir_flag_spec" ||
 
12987
   test -n "$runpath_var" ||
 
12988
   test "X$hardcode_automatic" = "Xyes" ; then
 
12989
 
 
12990
  # We can hardcode non-existent directories.
 
12991
  if test "$hardcode_direct" != no &&
 
12992
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
12993
     # have to relink, otherwise we might link with an installed library
 
12994
     # when we should be linking with a yet-to-be-installed one
 
12995
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
12996
     test "$hardcode_minus_L" != no; then
 
12997
    # Linking always hardcodes the temporary library directory.
 
12998
    hardcode_action=relink
 
12999
  else
 
13000
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
13001
    hardcode_action=immediate
 
13002
  fi
 
13003
else
 
13004
  # We cannot hardcode anything, or else we can only hardcode existing
 
13005
  # directories.
 
13006
  hardcode_action=unsupported
 
13007
fi
 
13008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
13009
$as_echo "$hardcode_action" >&6; }
 
13010
 
 
13011
if test "$hardcode_action" = relink ||
 
13012
   test "$inherit_rpath" = yes; then
 
13013
  # Fast installation is not supported
 
13014
  enable_fast_install=no
 
13015
elif test "$shlibpath_overrides_runpath" = yes ||
 
13016
     test "$enable_shared" = no; then
 
13017
  # Fast installation is not necessary
 
13018
  enable_fast_install=needless
 
13019
fi
 
13020
 
 
13021
 
 
13022
 
 
13023
 
 
13024
 
 
13025
 
 
13026
  if test "x$enable_dlopen" != xyes; then
 
13027
  enable_dlopen=unknown
 
13028
  enable_dlopen_self=unknown
 
13029
  enable_dlopen_self_static=unknown
 
13030
else
 
13031
  lt_cv_dlopen=no
 
13032
  lt_cv_dlopen_libs=
 
13033
 
 
13034
  case $host_os in
 
13035
  beos*)
 
13036
    lt_cv_dlopen="load_add_on"
 
13037
    lt_cv_dlopen_libs=
 
13038
    lt_cv_dlopen_self=yes
 
13039
    ;;
 
13040
 
 
13041
  mingw* | pw32* | cegcc*)
 
13042
    lt_cv_dlopen="LoadLibrary"
 
13043
    lt_cv_dlopen_libs=
 
13044
    ;;
 
13045
 
 
13046
  cygwin*)
 
13047
    lt_cv_dlopen="dlopen"
 
13048
    lt_cv_dlopen_libs=
 
13049
    ;;
 
13050
 
 
13051
  darwin*)
 
13052
  # if libdl is installed we need to link against it
 
13053
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13054
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13055
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13056
  $as_echo_n "(cached) " >&6
 
13057
else
 
13058
  ac_check_lib_save_LIBS=$LIBS
 
13059
LIBS="-ldl  $LIBS"
 
13060
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13061
/* end confdefs.h.  */
 
13062
 
 
13063
/* Override any GCC internal prototype to avoid an error.
 
13064
   Use char because int might match the return type of a GCC
 
13065
   builtin and then its argument prototype would still apply.  */
 
13066
#ifdef __cplusplus
 
13067
extern "C"
 
13068
#endif
 
13069
char dlopen ();
 
13070
int
 
13071
main ()
 
13072
{
 
13073
return dlopen ();
 
13074
  ;
 
13075
  return 0;
 
13076
}
 
13077
_ACEOF
 
13078
if ac_fn_c_try_link "$LINENO"; then :
 
13079
  ac_cv_lib_dl_dlopen=yes
 
13080
else
 
13081
  ac_cv_lib_dl_dlopen=no
 
13082
fi
 
13083
rm -f core conftest.err conftest.$ac_objext \
 
13084
    conftest$ac_exeext conftest.$ac_ext
 
13085
LIBS=$ac_check_lib_save_LIBS
 
13086
fi
 
13087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13088
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13089
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13090
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13091
else
 
13092
 
 
13093
    lt_cv_dlopen="dyld"
 
13094
    lt_cv_dlopen_libs=
 
13095
    lt_cv_dlopen_self=yes
 
13096
 
 
13097
fi
 
13098
 
 
13099
    ;;
 
13100
 
 
13101
  *)
 
13102
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
13103
if test "x$ac_cv_func_shl_load" = xyes; then :
 
13104
  lt_cv_dlopen="shl_load"
 
13105
else
 
13106
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
13107
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
13108
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
13109
  $as_echo_n "(cached) " >&6
 
13110
else
 
13111
  ac_check_lib_save_LIBS=$LIBS
 
13112
LIBS="-ldld  $LIBS"
 
13113
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13114
/* end confdefs.h.  */
 
13115
 
 
13116
/* Override any GCC internal prototype to avoid an error.
 
13117
   Use char because int might match the return type of a GCC
 
13118
   builtin and then its argument prototype would still apply.  */
 
13119
#ifdef __cplusplus
 
13120
extern "C"
 
13121
#endif
 
13122
char shl_load ();
 
13123
int
 
13124
main ()
 
13125
{
 
13126
return shl_load ();
 
13127
  ;
 
13128
  return 0;
 
13129
}
 
13130
_ACEOF
 
13131
if ac_fn_c_try_link "$LINENO"; then :
 
13132
  ac_cv_lib_dld_shl_load=yes
 
13133
else
 
13134
  ac_cv_lib_dld_shl_load=no
 
13135
fi
 
13136
rm -f core conftest.err conftest.$ac_objext \
 
13137
    conftest$ac_exeext conftest.$ac_ext
 
13138
LIBS=$ac_check_lib_save_LIBS
 
13139
fi
 
13140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
13141
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
13142
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
13143
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
13144
else
 
13145
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
13146
if test "x$ac_cv_func_dlopen" = xyes; then :
 
13147
  lt_cv_dlopen="dlopen"
 
13148
else
 
13149
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13150
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13151
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13152
  $as_echo_n "(cached) " >&6
 
13153
else
 
13154
  ac_check_lib_save_LIBS=$LIBS
 
13155
LIBS="-ldl  $LIBS"
 
13156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13157
/* end confdefs.h.  */
 
13158
 
 
13159
/* Override any GCC internal prototype to avoid an error.
 
13160
   Use char because int might match the return type of a GCC
 
13161
   builtin and then its argument prototype would still apply.  */
 
13162
#ifdef __cplusplus
 
13163
extern "C"
 
13164
#endif
 
13165
char dlopen ();
 
13166
int
 
13167
main ()
 
13168
{
 
13169
return dlopen ();
 
13170
  ;
 
13171
  return 0;
 
13172
}
 
13173
_ACEOF
 
13174
if ac_fn_c_try_link "$LINENO"; then :
 
13175
  ac_cv_lib_dl_dlopen=yes
 
13176
else
 
13177
  ac_cv_lib_dl_dlopen=no
 
13178
fi
 
13179
rm -f core conftest.err conftest.$ac_objext \
 
13180
    conftest$ac_exeext conftest.$ac_ext
 
13181
LIBS=$ac_check_lib_save_LIBS
 
13182
fi
 
13183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13184
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13185
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13186
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13187
else
 
13188
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
13189
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
13190
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
13191
  $as_echo_n "(cached) " >&6
 
13192
else
 
13193
  ac_check_lib_save_LIBS=$LIBS
 
13194
LIBS="-lsvld  $LIBS"
 
13195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13196
/* end confdefs.h.  */
 
13197
 
 
13198
/* Override any GCC internal prototype to avoid an error.
 
13199
   Use char because int might match the return type of a GCC
 
13200
   builtin and then its argument prototype would still apply.  */
 
13201
#ifdef __cplusplus
 
13202
extern "C"
 
13203
#endif
 
13204
char dlopen ();
 
13205
int
 
13206
main ()
 
13207
{
 
13208
return dlopen ();
 
13209
  ;
 
13210
  return 0;
 
13211
}
 
13212
_ACEOF
 
13213
if ac_fn_c_try_link "$LINENO"; then :
 
13214
  ac_cv_lib_svld_dlopen=yes
 
13215
else
 
13216
  ac_cv_lib_svld_dlopen=no
 
13217
fi
 
13218
rm -f core conftest.err conftest.$ac_objext \
 
13219
    conftest$ac_exeext conftest.$ac_ext
 
13220
LIBS=$ac_check_lib_save_LIBS
 
13221
fi
 
13222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
13223
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
13224
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
13225
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
13226
else
 
13227
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
13228
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
13229
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
13230
  $as_echo_n "(cached) " >&6
 
13231
else
 
13232
  ac_check_lib_save_LIBS=$LIBS
 
13233
LIBS="-ldld  $LIBS"
 
13234
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13235
/* end confdefs.h.  */
 
13236
 
 
13237
/* Override any GCC internal prototype to avoid an error.
 
13238
   Use char because int might match the return type of a GCC
 
13239
   builtin and then its argument prototype would still apply.  */
 
13240
#ifdef __cplusplus
 
13241
extern "C"
 
13242
#endif
 
13243
char dld_link ();
 
13244
int
 
13245
main ()
 
13246
{
 
13247
return dld_link ();
 
13248
  ;
 
13249
  return 0;
 
13250
}
 
13251
_ACEOF
 
13252
if ac_fn_c_try_link "$LINENO"; then :
 
13253
  ac_cv_lib_dld_dld_link=yes
 
13254
else
 
13255
  ac_cv_lib_dld_dld_link=no
 
13256
fi
 
13257
rm -f core conftest.err conftest.$ac_objext \
 
13258
    conftest$ac_exeext conftest.$ac_ext
 
13259
LIBS=$ac_check_lib_save_LIBS
 
13260
fi
 
13261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
13262
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
13263
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
13264
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
13265
fi
 
13266
 
 
13267
 
 
13268
fi
 
13269
 
 
13270
 
 
13271
fi
 
13272
 
 
13273
 
 
13274
fi
 
13275
 
 
13276
 
 
13277
fi
 
13278
 
 
13279
 
 
13280
fi
 
13281
 
 
13282
    ;;
 
13283
  esac
 
13284
 
 
13285
  if test "x$lt_cv_dlopen" != xno; then
 
13286
    enable_dlopen=yes
 
13287
  else
 
13288
    enable_dlopen=no
 
13289
  fi
 
13290
 
 
13291
  case $lt_cv_dlopen in
 
13292
  dlopen)
 
13293
    save_CPPFLAGS="$CPPFLAGS"
 
13294
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
13295
 
 
13296
    save_LDFLAGS="$LDFLAGS"
 
13297
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
13298
 
 
13299
    save_LIBS="$LIBS"
 
13300
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
13301
 
 
13302
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
13303
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
13304
if ${lt_cv_dlopen_self+:} false; then :
 
13305
  $as_echo_n "(cached) " >&6
 
13306
else
 
13307
          if test "$cross_compiling" = yes; then :
 
13308
  lt_cv_dlopen_self=cross
 
13309
else
 
13310
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13311
  lt_status=$lt_dlunknown
 
13312
  cat > conftest.$ac_ext <<_LT_EOF
 
13313
#line $LINENO "configure"
 
13314
#include "confdefs.h"
 
13315
 
 
13316
#if HAVE_DLFCN_H
 
13317
#include <dlfcn.h>
 
13318
#endif
 
13319
 
 
13320
#include <stdio.h>
 
13321
 
 
13322
#ifdef RTLD_GLOBAL
 
13323
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13324
#else
 
13325
#  ifdef DL_GLOBAL
 
13326
#    define LT_DLGLOBAL         DL_GLOBAL
 
13327
#  else
 
13328
#    define LT_DLGLOBAL         0
 
13329
#  endif
 
13330
#endif
 
13331
 
 
13332
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13333
   find out it does not work in some platform. */
 
13334
#ifndef LT_DLLAZY_OR_NOW
 
13335
#  ifdef RTLD_LAZY
 
13336
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13337
#  else
 
13338
#    ifdef DL_LAZY
 
13339
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13340
#    else
 
13341
#      ifdef RTLD_NOW
 
13342
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13343
#      else
 
13344
#        ifdef DL_NOW
 
13345
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13346
#        else
 
13347
#          define LT_DLLAZY_OR_NOW      0
 
13348
#        endif
 
13349
#      endif
 
13350
#    endif
 
13351
#  endif
 
13352
#endif
 
13353
 
 
13354
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13355
   correspondingly for the symbols needed.  */
 
13356
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13357
int fnord () __attribute__((visibility("default")));
 
13358
#endif
 
13359
 
 
13360
int fnord () { return 42; }
 
13361
int main ()
 
13362
{
 
13363
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13364
  int status = $lt_dlunknown;
 
13365
 
 
13366
  if (self)
 
13367
    {
 
13368
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13369
      else
 
13370
        {
 
13371
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13372
          else puts (dlerror ());
 
13373
        }
 
13374
      /* dlclose (self); */
 
13375
    }
 
13376
  else
 
13377
    puts (dlerror ());
 
13378
 
 
13379
  return status;
 
13380
}
 
13381
_LT_EOF
 
13382
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13383
  (eval $ac_link) 2>&5
 
13384
  ac_status=$?
 
13385
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13386
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13387
    (./conftest; exit; ) >&5 2>/dev/null
 
13388
    lt_status=$?
 
13389
    case x$lt_status in
 
13390
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
13391
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
13392
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
13393
    esac
 
13394
  else :
 
13395
    # compilation failed
 
13396
    lt_cv_dlopen_self=no
 
13397
  fi
 
13398
fi
 
13399
rm -fr conftest*
 
13400
 
 
13401
 
 
13402
fi
 
13403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
13404
$as_echo "$lt_cv_dlopen_self" >&6; }
 
13405
 
 
13406
    if test "x$lt_cv_dlopen_self" = xyes; then
 
13407
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
13408
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
13409
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
13410
if ${lt_cv_dlopen_self_static+:} false; then :
 
13411
  $as_echo_n "(cached) " >&6
 
13412
else
 
13413
          if test "$cross_compiling" = yes; then :
 
13414
  lt_cv_dlopen_self_static=cross
 
13415
else
 
13416
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13417
  lt_status=$lt_dlunknown
 
13418
  cat > conftest.$ac_ext <<_LT_EOF
 
13419
#line $LINENO "configure"
 
13420
#include "confdefs.h"
 
13421
 
 
13422
#if HAVE_DLFCN_H
 
13423
#include <dlfcn.h>
 
13424
#endif
 
13425
 
 
13426
#include <stdio.h>
 
13427
 
 
13428
#ifdef RTLD_GLOBAL
 
13429
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13430
#else
 
13431
#  ifdef DL_GLOBAL
 
13432
#    define LT_DLGLOBAL         DL_GLOBAL
 
13433
#  else
 
13434
#    define LT_DLGLOBAL         0
 
13435
#  endif
 
13436
#endif
 
13437
 
 
13438
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13439
   find out it does not work in some platform. */
 
13440
#ifndef LT_DLLAZY_OR_NOW
 
13441
#  ifdef RTLD_LAZY
 
13442
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13443
#  else
 
13444
#    ifdef DL_LAZY
 
13445
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13446
#    else
 
13447
#      ifdef RTLD_NOW
 
13448
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13449
#      else
 
13450
#        ifdef DL_NOW
 
13451
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13452
#        else
 
13453
#          define LT_DLLAZY_OR_NOW      0
 
13454
#        endif
 
13455
#      endif
 
13456
#    endif
 
13457
#  endif
 
13458
#endif
 
13459
 
 
13460
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13461
   correspondingly for the symbols needed.  */
 
13462
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13463
int fnord () __attribute__((visibility("default")));
 
13464
#endif
 
13465
 
 
13466
int fnord () { return 42; }
 
13467
int main ()
 
13468
{
 
13469
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13470
  int status = $lt_dlunknown;
 
13471
 
 
13472
  if (self)
 
13473
    {
 
13474
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13475
      else
 
13476
        {
 
13477
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13478
          else puts (dlerror ());
 
13479
        }
 
13480
      /* dlclose (self); */
 
13481
    }
 
13482
  else
 
13483
    puts (dlerror ());
 
13484
 
 
13485
  return status;
 
13486
}
 
13487
_LT_EOF
 
13488
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13489
  (eval $ac_link) 2>&5
 
13490
  ac_status=$?
 
13491
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13492
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13493
    (./conftest; exit; ) >&5 2>/dev/null
 
13494
    lt_status=$?
 
13495
    case x$lt_status in
 
13496
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
13497
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
13498
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
13499
    esac
 
13500
  else :
 
13501
    # compilation failed
 
13502
    lt_cv_dlopen_self_static=no
 
13503
  fi
 
13504
fi
 
13505
rm -fr conftest*
 
13506
 
 
13507
 
 
13508
fi
 
13509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
13510
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
13511
    fi
 
13512
 
 
13513
    CPPFLAGS="$save_CPPFLAGS"
 
13514
    LDFLAGS="$save_LDFLAGS"
 
13515
    LIBS="$save_LIBS"
 
13516
    ;;
 
13517
  esac
 
13518
 
 
13519
  case $lt_cv_dlopen_self in
 
13520
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
13521
  *) enable_dlopen_self=unknown ;;
 
13522
  esac
 
13523
 
 
13524
  case $lt_cv_dlopen_self_static in
 
13525
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
13526
  *) enable_dlopen_self_static=unknown ;;
 
13527
  esac
 
13528
fi
 
13529
 
 
13530
 
 
13531
 
 
13532
 
 
13533
 
 
13534
 
 
13535
 
 
13536
 
 
13537
 
 
13538
 
 
13539
 
 
13540
 
 
13541
 
 
13542
 
 
13543
 
 
13544
 
 
13545
 
 
13546
striplib=
 
13547
old_striplib=
 
13548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
13549
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
13550
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
13551
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
13552
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
13553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13554
$as_echo "yes" >&6; }
 
13555
else
 
13556
# FIXME - insert some real tests, host_os isn't really good enough
 
13557
  case $host_os in
 
13558
  darwin*)
 
13559
    if test -n "$STRIP" ; then
 
13560
      striplib="$STRIP -x"
 
13561
      old_striplib="$STRIP -S"
 
13562
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13563
$as_echo "yes" >&6; }
 
13564
    else
 
13565
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13566
$as_echo "no" >&6; }
 
13567
    fi
 
13568
    ;;
 
13569
  *)
 
13570
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13571
$as_echo "no" >&6; }
 
13572
    ;;
 
13573
  esac
 
13574
fi
 
13575
 
 
13576
 
 
13577
 
 
13578
 
 
13579
 
 
13580
 
 
13581
 
 
13582
 
 
13583
 
 
13584
 
 
13585
 
 
13586
 
 
13587
  # Report which library types will actually be built
 
13588
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
13589
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
13591
$as_echo "$can_build_shared" >&6; }
 
13592
 
 
13593
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
13594
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13595
  test "$can_build_shared" = "no" && enable_shared=no
 
13596
 
 
13597
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13598
  # are all built from PIC.
 
13599
  case $host_os in
 
13600
  aix3*)
 
13601
    test "$enable_shared" = yes && enable_static=no
 
13602
    if test -n "$RANLIB"; then
 
13603
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13604
      postinstall_cmds='$RANLIB $lib'
 
13605
    fi
 
13606
    ;;
 
13607
 
 
13608
  aix[4-9]*)
 
13609
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13610
      test "$enable_shared" = yes && enable_static=no
 
13611
    fi
 
13612
    ;;
 
13613
  esac
 
13614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
13615
$as_echo "$enable_shared" >&6; }
 
13616
 
 
13617
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
13618
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13619
  # Make sure either enable_shared or enable_static is yes.
 
13620
  test "$enable_shared" = yes || enable_static=yes
 
13621
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
13622
$as_echo "$enable_static" >&6; }
 
13623
 
 
13624
 
 
13625
 
 
13626
 
 
13627
fi
 
13628
ac_ext=c
 
13629
ac_cpp='$CPP $CPPFLAGS'
 
13630
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13631
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13632
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13633
 
 
13634
CC="$lt_save_CC"
 
13635
 
 
13636
 
 
13637
 
 
13638
 
 
13639
 
 
13640
 
 
13641
 
 
13642
 
 
13643
 
 
13644
 
 
13645
 
 
13646
 
 
13647
 
 
13648
        ac_config_commands="$ac_config_commands libtool"
 
13649
 
 
13650
 
 
13651
 
 
13652
 
 
13653
# Only expand once:
 
13654
 
 
13655
 
 
13656
 
 
13657
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
13658
$as_echo_n "checking whether NLS is requested... " >&6; }
 
13659
    # Check whether --enable-nls was given.
 
13660
if test "${enable_nls+set}" = set; then :
 
13661
  enableval=$enable_nls; USE_NLS=$enableval
 
13662
else
 
13663
  USE_NLS=yes
 
13664
fi
 
13665
 
 
13666
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
13667
$as_echo "$USE_NLS" >&6; }
 
13668
 
 
13669
 
 
13670
 
 
13671
 
 
13672
case "$am__api_version" in
 
13673
    1.01234)
 
13674
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
13675
    ;;
 
13676
    *)
 
13677
    ;;
 
13678
esac
 
13679
 
 
13680
if test -n "0.35.0"; then
 
13681
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
13682
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
13683
 
 
13684
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
13685
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
13686
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
13687
 
 
13688
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
13689
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
13690
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
13691
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
13692
fi
 
13693
 
 
13694
# Extract the first word of "intltool-update", so it can be a program name with args.
 
13695
set dummy intltool-update; ac_word=$2
 
13696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13697
$as_echo_n "checking for $ac_word... " >&6; }
 
13698
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
13699
  $as_echo_n "(cached) " >&6
 
13700
else
 
13701
  case $INTLTOOL_UPDATE in
 
13702
  [\\/]* | ?:[\\/]*)
 
13703
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
13704
  ;;
 
13705
  *)
 
13706
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13707
for as_dir in $PATH
 
13708
do
 
13709
  IFS=$as_save_IFS
 
13710
  test -z "$as_dir" && as_dir=.
 
13711
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13712
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13713
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
13714
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13715
    break 2
 
13716
  fi
 
13717
done
 
13718
  done
 
13719
IFS=$as_save_IFS
 
13720
 
 
13721
  ;;
 
13722
esac
 
13723
fi
 
13724
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
13725
if test -n "$INTLTOOL_UPDATE"; then
 
13726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
13727
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
13728
else
 
13729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13730
$as_echo "no" >&6; }
 
13731
fi
 
13732
 
 
13733
 
 
13734
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
13735
set dummy intltool-merge; ac_word=$2
 
13736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13737
$as_echo_n "checking for $ac_word... " >&6; }
 
13738
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
13739
  $as_echo_n "(cached) " >&6
 
13740
else
 
13741
  case $INTLTOOL_MERGE in
 
13742
  [\\/]* | ?:[\\/]*)
 
13743
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
13744
  ;;
 
13745
  *)
 
13746
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13747
for as_dir in $PATH
 
13748
do
 
13749
  IFS=$as_save_IFS
 
13750
  test -z "$as_dir" && as_dir=.
 
13751
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13752
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13753
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
13754
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13755
    break 2
 
13756
  fi
 
13757
done
 
13758
  done
 
13759
IFS=$as_save_IFS
 
13760
 
 
13761
  ;;
 
13762
esac
 
13763
fi
 
13764
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
13765
if test -n "$INTLTOOL_MERGE"; then
 
13766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
13767
$as_echo "$INTLTOOL_MERGE" >&6; }
 
13768
else
 
13769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13770
$as_echo "no" >&6; }
 
13771
fi
 
13772
 
 
13773
 
 
13774
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
13775
set dummy intltool-extract; ac_word=$2
 
13776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13777
$as_echo_n "checking for $ac_word... " >&6; }
 
13778
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
13779
  $as_echo_n "(cached) " >&6
 
13780
else
 
13781
  case $INTLTOOL_EXTRACT in
 
13782
  [\\/]* | ?:[\\/]*)
 
13783
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
13784
  ;;
 
13785
  *)
 
13786
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13787
for as_dir in $PATH
 
13788
do
 
13789
  IFS=$as_save_IFS
 
13790
  test -z "$as_dir" && as_dir=.
 
13791
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13793
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
13794
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13795
    break 2
 
13796
  fi
 
13797
done
 
13798
  done
 
13799
IFS=$as_save_IFS
 
13800
 
 
13801
  ;;
 
13802
esac
 
13803
fi
 
13804
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
13805
if test -n "$INTLTOOL_EXTRACT"; then
 
13806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
13807
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
13808
else
 
13809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13810
$as_echo "no" >&6; }
 
13811
fi
 
13812
 
 
13813
 
 
13814
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
13815
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
13816
fi
 
13817
 
 
13818
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13819
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13820
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13821
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13822
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
13823
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13824
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13825
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13826
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13827
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13828
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13829
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
13830
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13831
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13832
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13833
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13834
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13835
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13836
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13837
 
 
13838
 
 
13839
 
 
13840
 
 
13841
 
 
13842
 
 
13843
 
 
13844
 
 
13845
 
 
13846
 
 
13847
 
 
13848
 
 
13849
 
 
13850
 
 
13851
 
 
13852
 
 
13853
 
 
13854
 
 
13855
 
 
13856
 
 
13857
 
 
13858
 
 
13859
 
 
13860
 
 
13861
 
 
13862
 
 
13863
 
 
13864
 
 
13865
 
 
13866
 
 
13867
 
 
13868
 
 
13869
 
 
13870
 
 
13871
 
 
13872
 
 
13873
 
 
13874
 
 
13875
 
 
13876
 
 
13877
 
 
13878
 
 
13879
 
 
13880
 
 
13881
 
 
13882
 
 
13883
 
 
13884
 
 
13885
 
 
13886
 
 
13887
 
 
13888
 
 
13889
 
 
13890
 
 
13891
 
 
13892
 
 
13893
 
 
13894
 
 
13895
 
 
13896
 
 
13897
 
 
13898
 
 
13899
 
 
13900
 
 
13901
 
 
13902
 
 
13903
 
 
13904
 
 
13905
 
 
13906
 
 
13907
 
 
13908
 
 
13909
 
 
13910
 
 
13911
 
 
13912
 
 
13913
 
 
13914
 
 
13915
 
 
13916
 
 
13917
 
 
13918
 
 
13919
 
 
13920
 
 
13921
 
 
13922
 
 
13923
 
 
13924
 
 
13925
 
 
13926
 
 
13927
 
 
13928
 
 
13929
 
 
13930
 
 
13931
 
 
13932
 
 
13933
 
 
13934
# Check the gettext tools to make sure they are GNU
 
13935
# Extract the first word of "xgettext", so it can be a program name with args.
 
13936
set dummy xgettext; ac_word=$2
 
13937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13938
$as_echo_n "checking for $ac_word... " >&6; }
 
13939
if ${ac_cv_path_XGETTEXT+:} false; then :
 
13940
  $as_echo_n "(cached) " >&6
 
13941
else
 
13942
  case $XGETTEXT in
 
13943
  [\\/]* | ?:[\\/]*)
 
13944
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
13945
  ;;
 
13946
  *)
 
13947
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13948
for as_dir in $PATH
 
13949
do
 
13950
  IFS=$as_save_IFS
 
13951
  test -z "$as_dir" && as_dir=.
 
13952
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13954
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
13955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13956
    break 2
 
13957
  fi
 
13958
done
 
13959
  done
 
13960
IFS=$as_save_IFS
 
13961
 
 
13962
  ;;
 
13963
esac
 
13964
fi
 
13965
XGETTEXT=$ac_cv_path_XGETTEXT
 
13966
if test -n "$XGETTEXT"; then
 
13967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
13968
$as_echo "$XGETTEXT" >&6; }
 
13969
else
 
13970
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13971
$as_echo "no" >&6; }
 
13972
fi
 
13973
 
 
13974
 
 
13975
# Extract the first word of "msgmerge", so it can be a program name with args.
 
13976
set dummy msgmerge; ac_word=$2
 
13977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13978
$as_echo_n "checking for $ac_word... " >&6; }
 
13979
if ${ac_cv_path_MSGMERGE+:} false; then :
 
13980
  $as_echo_n "(cached) " >&6
 
13981
else
 
13982
  case $MSGMERGE in
 
13983
  [\\/]* | ?:[\\/]*)
 
13984
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
13985
  ;;
 
13986
  *)
 
13987
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13988
for as_dir in $PATH
 
13989
do
 
13990
  IFS=$as_save_IFS
 
13991
  test -z "$as_dir" && as_dir=.
 
13992
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13994
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
13995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13996
    break 2
 
13997
  fi
 
13998
done
 
13999
  done
 
14000
IFS=$as_save_IFS
 
14001
 
 
14002
  ;;
 
14003
esac
 
14004
fi
 
14005
MSGMERGE=$ac_cv_path_MSGMERGE
 
14006
if test -n "$MSGMERGE"; then
 
14007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
14008
$as_echo "$MSGMERGE" >&6; }
 
14009
else
 
14010
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14011
$as_echo "no" >&6; }
 
14012
fi
 
14013
 
 
14014
 
 
14015
# Extract the first word of "msgfmt", so it can be a program name with args.
 
14016
set dummy msgfmt; ac_word=$2
 
14017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14018
$as_echo_n "checking for $ac_word... " >&6; }
 
14019
if ${ac_cv_path_MSGFMT+:} false; then :
 
14020
  $as_echo_n "(cached) " >&6
 
14021
else
 
14022
  case $MSGFMT in
 
14023
  [\\/]* | ?:[\\/]*)
 
14024
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
14025
  ;;
 
14026
  *)
 
14027
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14028
for as_dir in $PATH
 
14029
do
 
14030
  IFS=$as_save_IFS
 
14031
  test -z "$as_dir" && as_dir=.
 
14032
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14033
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14034
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
14035
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14036
    break 2
 
14037
  fi
 
14038
done
 
14039
  done
 
14040
IFS=$as_save_IFS
 
14041
 
 
14042
  ;;
 
14043
esac
 
14044
fi
 
14045
MSGFMT=$ac_cv_path_MSGFMT
 
14046
if test -n "$MSGFMT"; then
 
14047
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
14048
$as_echo "$MSGFMT" >&6; }
 
14049
else
 
14050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14051
$as_echo "no" >&6; }
 
14052
fi
 
14053
 
 
14054
 
 
14055
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
14056
set dummy gmsgfmt; ac_word=$2
 
14057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14058
$as_echo_n "checking for $ac_word... " >&6; }
 
14059
if ${ac_cv_path_GMSGFMT+:} false; then :
 
14060
  $as_echo_n "(cached) " >&6
 
14061
else
 
14062
  case $GMSGFMT in
 
14063
  [\\/]* | ?:[\\/]*)
 
14064
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
14065
  ;;
 
14066
  *)
 
14067
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14068
for as_dir in $PATH
 
14069
do
 
14070
  IFS=$as_save_IFS
 
14071
  test -z "$as_dir" && as_dir=.
 
14072
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14073
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14074
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
14075
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14076
    break 2
 
14077
  fi
 
14078
done
 
14079
  done
 
14080
IFS=$as_save_IFS
 
14081
 
 
14082
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
14083
  ;;
 
14084
esac
 
14085
fi
 
14086
GMSGFMT=$ac_cv_path_GMSGFMT
 
14087
if test -n "$GMSGFMT"; then
 
14088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
14089
$as_echo "$GMSGFMT" >&6; }
 
14090
else
 
14091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14092
$as_echo "no" >&6; }
 
14093
fi
 
14094
 
 
14095
 
 
14096
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
14097
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
14098
fi
 
14099
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
14100
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
14101
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
14102
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
14103
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
14104
fi
 
14105
 
 
14106
# Extract the first word of "perl", so it can be a program name with args.
 
14107
set dummy perl; ac_word=$2
 
14108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14109
$as_echo_n "checking for $ac_word... " >&6; }
 
14110
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
14111
  $as_echo_n "(cached) " >&6
 
14112
else
 
14113
  case $INTLTOOL_PERL in
 
14114
  [\\/]* | ?:[\\/]*)
 
14115
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
14116
  ;;
 
14117
  *)
 
14118
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14119
for as_dir in $PATH
 
14120
do
 
14121
  IFS=$as_save_IFS
 
14122
  test -z "$as_dir" && as_dir=.
 
14123
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14125
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
14126
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14127
    break 2
 
14128
  fi
 
14129
done
 
14130
  done
 
14131
IFS=$as_save_IFS
 
14132
 
 
14133
  ;;
 
14134
esac
 
14135
fi
 
14136
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
14137
if test -n "$INTLTOOL_PERL"; then
 
14138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
14139
$as_echo "$INTLTOOL_PERL" >&6; }
 
14140
else
 
14141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14142
$as_echo "no" >&6; }
 
14143
fi
 
14144
 
 
14145
 
 
14146
if test -z "$INTLTOOL_PERL"; then
 
14147
   as_fn_error $? "perl not found" "$LINENO" 5
 
14148
fi
 
14149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
14150
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
14151
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
14152
if test $? -ne 0; then
 
14153
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
14154
else
 
14155
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
14156
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
14157
$as_echo "$IT_PERL_VERSION" >&6; }
 
14158
fi
 
14159
if test "x" != "xno-xml"; then
 
14160
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
14161
$as_echo_n "checking for XML::Parser... " >&6; }
 
14162
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
14163
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
14164
$as_echo "ok" >&6; }
 
14165
   else
 
14166
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
14167
   fi
 
14168
fi
 
14169
 
 
14170
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
14171
 
 
14172
 
 
14173
# Set DATADIRNAME correctly if it is not set yet
 
14174
# (copied from glib-gettext.m4)
 
14175
if test -z "$DATADIRNAME"; then
 
14176
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14177
/* end confdefs.h.  */
 
14178
 
 
14179
int
 
14180
main ()
 
14181
{
 
14182
extern int _nl_msg_cat_cntr;
 
14183
                       return _nl_msg_cat_cntr
 
14184
  ;
 
14185
  return 0;
 
14186
}
 
14187
_ACEOF
 
14188
if ac_fn_c_try_link "$LINENO"; then :
 
14189
  DATADIRNAME=share
 
14190
else
 
14191
  case $host in
 
14192
    *-*-solaris*)
 
14193
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14194
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14195
  DATADIRNAME=share
 
14196
else
 
14197
  DATADIRNAME=lib
 
14198
fi
 
14199
 
 
14200
    ;;
 
14201
    *)
 
14202
    DATADIRNAME=lib
 
14203
    ;;
 
14204
    esac
 
14205
fi
 
14206
rm -f core conftest.err conftest.$ac_objext \
 
14207
    conftest$ac_exeext conftest.$ac_ext
 
14208
fi
 
14209
 
 
14210
 
 
14211
 
 
14212
 
 
14213
 
 
14214
 
 
14215
# Check functions.
 
14216
for ac_func in daemon
 
14217
do :
 
14218
  ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
 
14219
if test "x$ac_cv_func_daemon" = xyes; then :
 
14220
  cat >>confdefs.h <<_ACEOF
 
14221
#define HAVE_DAEMON 1
 
14222
_ACEOF
 
14223
 
 
14224
fi
 
14225
done
 
14226
 
 
14227
 
 
14228
# Check packages.
 
14229
# Check glib2.
 
14230
# Check whether --enable-glibtest was given.
 
14231
if test "${enable_glibtest+set}" = set; then :
 
14232
  enableval=$enable_glibtest;
 
14233
else
 
14234
  enable_glibtest=yes
 
14235
fi
 
14236
 
 
14237
 
 
14238
  pkg_config_args=glib-2.0
 
14239
  for module in .
 
14240
  do
 
14241
      case "$module" in
 
14242
         gmodule)
 
14243
             pkg_config_args="$pkg_config_args gmodule-2.0"
 
14244
         ;;
 
14245
         gmodule-no-export)
 
14246
             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
 
14247
         ;;
 
14248
         gobject)
 
14249
             pkg_config_args="$pkg_config_args gobject-2.0"
 
14250
         ;;
 
14251
         gthread)
 
14252
             pkg_config_args="$pkg_config_args gthread-2.0"
 
14253
         ;;
 
14254
         gio*)
 
14255
             pkg_config_args="$pkg_config_args $module-2.0"
 
14256
         ;;
 
14257
      esac
 
14258
  done
 
14259
 
 
14260
 
 
14261
 
 
14262
 
 
14263
 
 
14264
 
 
14265
 
 
14266
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
14267
        if test -n "$ac_tool_prefix"; then
 
14268
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
14269
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
14270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14271
$as_echo_n "checking for $ac_word... " >&6; }
 
14272
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
14273
  $as_echo_n "(cached) " >&6
 
14274
else
 
14275
  case $PKG_CONFIG in
 
14276
  [\\/]* | ?:[\\/]*)
 
14277
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
14278
  ;;
 
14279
  *)
 
14280
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14281
for as_dir in $PATH
 
14282
do
 
14283
  IFS=$as_save_IFS
 
14284
  test -z "$as_dir" && as_dir=.
 
14285
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14287
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14288
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14289
    break 2
 
14290
  fi
 
14291
done
 
14292
  done
 
14293
IFS=$as_save_IFS
 
14294
 
 
14295
  ;;
 
14296
esac
 
14297
fi
 
14298
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
14299
if test -n "$PKG_CONFIG"; then
 
14300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
14301
$as_echo "$PKG_CONFIG" >&6; }
 
14302
else
 
14303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14304
$as_echo "no" >&6; }
 
14305
fi
 
14306
 
 
14307
 
 
14308
fi
 
14309
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
14310
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
14311
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
14312
set dummy pkg-config; ac_word=$2
 
14313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14314
$as_echo_n "checking for $ac_word... " >&6; }
 
14315
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
14316
  $as_echo_n "(cached) " >&6
 
14317
else
 
14318
  case $ac_pt_PKG_CONFIG in
 
14319
  [\\/]* | ?:[\\/]*)
 
14320
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
14321
  ;;
 
14322
  *)
 
14323
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14324
for as_dir in $PATH
 
14325
do
 
14326
  IFS=$as_save_IFS
 
14327
  test -z "$as_dir" && as_dir=.
 
14328
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14330
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14331
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14332
    break 2
 
14333
  fi
 
14334
done
 
14335
  done
 
14336
IFS=$as_save_IFS
 
14337
 
 
14338
  ;;
 
14339
esac
 
14340
fi
 
14341
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
14342
if test -n "$ac_pt_PKG_CONFIG"; then
 
14343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
14344
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
14345
else
 
14346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14347
$as_echo "no" >&6; }
 
14348
fi
 
14349
 
 
14350
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
14351
    PKG_CONFIG=""
 
14352
  else
 
14353
    case $cross_compiling:$ac_tool_warned in
 
14354
yes:)
 
14355
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
14356
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14357
ac_tool_warned=yes ;;
 
14358
esac
 
14359
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
14360
  fi
 
14361
else
 
14362
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
14363
fi
 
14364
 
 
14365
fi
 
14366
if test -n "$PKG_CONFIG"; then
 
14367
        _pkg_min_version=0.16
 
14368
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
14369
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
14370
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
14371
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14372
$as_echo "yes" >&6; }
 
14373
        else
 
14374
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14375
$as_echo "no" >&6; }
 
14376
                PKG_CONFIG=""
 
14377
        fi
 
14378
fi
 
14379
 
 
14380
  no_glib=""
 
14381
 
 
14382
  if test "x$PKG_CONFIG" = x ; then
 
14383
    no_glib=yes
 
14384
    PKG_CONFIG=no
 
14385
  fi
 
14386
 
 
14387
  min_glib_version=2.0.0
 
14388
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
 
14389
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
 
14390
 
 
14391
  if test x$PKG_CONFIG != xno ; then
 
14392
    ## don't try to run the test against uninstalled libtool libs
 
14393
    if $PKG_CONFIG --uninstalled $pkg_config_args; then
 
14394
          echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
 
14395
          enable_glibtest=no
 
14396
    fi
 
14397
 
 
14398
    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
 
14399
          :
 
14400
    else
 
14401
          no_glib=yes
 
14402
    fi
 
14403
  fi
 
14404
 
 
14405
  if test x"$no_glib" = x ; then
 
14406
    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
 
14407
    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
 
14408
    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 
14409
 
 
14410
    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
 
14411
    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
 
14412
    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
 
14413
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
14414
    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
 
14415
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
14416
    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
 
14417
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
14418
    if test "x$enable_glibtest" = "xyes" ; then
 
14419
      ac_save_CFLAGS="$CFLAGS"
 
14420
      ac_save_LIBS="$LIBS"
 
14421
      CFLAGS="$CFLAGS $GLIB_CFLAGS"
 
14422
      LIBS="$GLIB_LIBS $LIBS"
 
14423
      rm -f conf.glibtest
 
14424
      if test "$cross_compiling" = yes; then :
 
14425
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
14426
else
 
14427
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14428
/* end confdefs.h.  */
 
14429
 
 
14430
#include <glib.h>
 
14431
#include <stdio.h>
 
14432
#include <stdlib.h>
 
14433
 
 
14434
int
 
14435
main ()
 
14436
{
 
14437
  unsigned int major, minor, micro;
 
14438
  char *tmp_version;
 
14439
 
 
14440
  fclose (fopen ("conf.glibtest", "w"));
 
14441
 
 
14442
  /* HP/UX 9 (%@#!) writes to sscanf strings */
 
14443
  tmp_version = g_strdup("$min_glib_version");
 
14444
  if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
 
14445
     printf("%s, bad version string\n", "$min_glib_version");
 
14446
     exit(1);
 
14447
   }
 
14448
 
 
14449
  if ((glib_major_version != $glib_config_major_version) ||
 
14450
      (glib_minor_version != $glib_config_minor_version) ||
 
14451
      (glib_micro_version != $glib_config_micro_version))
 
14452
    {
 
14453
      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
 
14454
             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
 
14455
             glib_major_version, glib_minor_version, glib_micro_version);
 
14456
      printf ("*** was found! If pkg-config was correct, then it is best\n");
 
14457
      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
 
14458
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
 
14459
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
 
14460
      printf("*** required on your system.\n");
 
14461
      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
 
14462
      printf("*** to point to the correct configuration files\n");
 
14463
    }
 
14464
  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
 
14465
           (glib_minor_version != GLIB_MINOR_VERSION) ||
 
14466
           (glib_micro_version != GLIB_MICRO_VERSION))
 
14467
    {
 
14468
      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
 
14469
             GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
 
14470
      printf("*** library (version %d.%d.%d)\n",
 
14471
             glib_major_version, glib_minor_version, glib_micro_version);
 
14472
    }
 
14473
  else
 
14474
    {
 
14475
      if ((glib_major_version > major) ||
 
14476
        ((glib_major_version == major) && (glib_minor_version > minor)) ||
 
14477
        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
 
14478
      {
 
14479
        return 0;
 
14480
       }
 
14481
     else
 
14482
      {
 
14483
        printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
 
14484
               glib_major_version, glib_minor_version, glib_micro_version);
 
14485
        printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
 
14486
               major, minor, micro);
 
14487
        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
 
14488
        printf("***\n");
 
14489
        printf("*** If you have already installed a sufficiently new version, this error\n");
 
14490
        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
 
14491
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
 
14492
        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
 
14493
        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
 
14494
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
 
14495
        printf("*** so that the correct libraries are found at run-time))\n");
 
14496
      }
 
14497
    }
 
14498
  return 1;
 
14499
}
 
14500
 
 
14501
_ACEOF
 
14502
if ac_fn_c_try_run "$LINENO"; then :
 
14503
 
 
14504
else
 
14505
  no_glib=yes
 
14506
fi
 
14507
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14508
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14509
fi
 
14510
 
 
14511
       CFLAGS="$ac_save_CFLAGS"
 
14512
       LIBS="$ac_save_LIBS"
 
14513
     fi
 
14514
  fi
 
14515
  if test "x$no_glib" = x ; then
 
14516
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
 
14517
$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
 
14518
     :
 
14519
  else
 
14520
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14521
$as_echo "no" >&6; }
 
14522
     if test "$PKG_CONFIG" = "no" ; then
 
14523
       echo "*** A new enough version of pkg-config was not found."
 
14524
       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
 
14525
     else
 
14526
       if test -f conf.glibtest ; then
 
14527
        :
 
14528
       else
 
14529
          echo "*** Could not run GLIB test program, checking why..."
 
14530
          ac_save_CFLAGS="$CFLAGS"
 
14531
          ac_save_LIBS="$LIBS"
 
14532
          CFLAGS="$CFLAGS $GLIB_CFLAGS"
 
14533
          LIBS="$LIBS $GLIB_LIBS"
 
14534
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14535
/* end confdefs.h.  */
 
14536
 
 
14537
#include <glib.h>
 
14538
#include <stdio.h>
 
14539
 
 
14540
int
 
14541
main ()
 
14542
{
 
14543
 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
 
14544
  ;
 
14545
  return 0;
 
14546
}
 
14547
_ACEOF
 
14548
if ac_fn_c_try_link "$LINENO"; then :
 
14549
   echo "*** The test program compiled, but did not run. This usually means"
 
14550
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
 
14551
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
 
14552
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
14553
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
14554
          echo "*** is required on your system"
 
14555
          echo "***"
 
14556
          echo "*** If you have an old version installed, it is best to remove it, although"
 
14557
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
14558
else
 
14559
   echo "*** The test program failed to compile or link. See the file config.log for the"
 
14560
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
 
14561
fi
 
14562
rm -f core conftest.err conftest.$ac_objext \
 
14563
    conftest$ac_exeext conftest.$ac_ext
 
14564
          CFLAGS="$ac_save_CFLAGS"
 
14565
          LIBS="$ac_save_LIBS"
 
14566
       fi
 
14567
     fi
 
14568
     GLIB_CFLAGS=""
 
14569
     GLIB_LIBS=""
 
14570
     GLIB_GENMARSHAL=""
 
14571
     GOBJECT_QUERY=""
 
14572
     GLIB_MKENUMS=""
 
14573
     :
 
14574
  fi
 
14575
 
 
14576
 
 
14577
 
 
14578
 
 
14579
 
 
14580
  rm -f conf.glibtest
 
14581
 
 
14582
 
 
14583
pkg_failed=no
 
14584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
 
14585
$as_echo_n "checking for GLIB2... " >&6; }
 
14586
 
 
14587
if test -n "$GLIB2_CFLAGS"; then
 
14588
    pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
 
14589
 elif test -n "$PKG_CONFIG"; then
 
14590
    if test -n "$PKG_CONFIG" && \
 
14591
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14592
    glib-2.0 >= 2.26.0
 
14593
\""; } >&5
 
14594
  ($PKG_CONFIG --exists --print-errors "
 
14595
    glib-2.0 >= 2.26.0
 
14596
") 2>&5
 
14597
  ac_status=$?
 
14598
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14599
  test $ac_status = 0; }; then
 
14600
  pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "
 
14601
    glib-2.0 >= 2.26.0
 
14602
" 2>/dev/null`
 
14603
else
 
14604
  pkg_failed=yes
 
14605
fi
 
14606
 else
 
14607
    pkg_failed=untried
 
14608
fi
 
14609
if test -n "$GLIB2_LIBS"; then
 
14610
    pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
 
14611
 elif test -n "$PKG_CONFIG"; then
 
14612
    if test -n "$PKG_CONFIG" && \
 
14613
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14614
    glib-2.0 >= 2.26.0
 
14615
\""; } >&5
 
14616
  ($PKG_CONFIG --exists --print-errors "
 
14617
    glib-2.0 >= 2.26.0
 
14618
") 2>&5
 
14619
  ac_status=$?
 
14620
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14621
  test $ac_status = 0; }; then
 
14622
  pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "
 
14623
    glib-2.0 >= 2.26.0
 
14624
" 2>/dev/null`
 
14625
else
 
14626
  pkg_failed=yes
 
14627
fi
 
14628
 else
 
14629
    pkg_failed=untried
 
14630
fi
 
14631
 
 
14632
 
 
14633
 
 
14634
if test $pkg_failed = yes; then
 
14635
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14636
$as_echo "no" >&6; }
 
14637
 
 
14638
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14639
        _pkg_short_errors_supported=yes
 
14640
else
 
14641
        _pkg_short_errors_supported=no
 
14642
fi
 
14643
        if test $_pkg_short_errors_supported = yes; then
 
14644
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
14645
    glib-2.0 >= 2.26.0
 
14646
" 2>&1`
 
14647
        else
 
14648
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
14649
    glib-2.0 >= 2.26.0
 
14650
" 2>&1`
 
14651
        fi
 
14652
        # Put the nasty error message in config.log where it belongs
 
14653
        echo "$GLIB2_PKG_ERRORS" >&5
 
14654
 
 
14655
        as_fn_error $? "Package requirements (
 
14656
    glib-2.0 >= 2.26.0
 
14657
) were not met:
 
14658
 
 
14659
$GLIB2_PKG_ERRORS
 
14660
 
 
14661
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14662
installed software in a non-standard prefix.
 
14663
 
 
14664
Alternatively, you may set the environment variables GLIB2_CFLAGS
 
14665
and GLIB2_LIBS to avoid the need to call pkg-config.
 
14666
See the pkg-config man page for more details." "$LINENO" 5
 
14667
 
 
14668
elif test $pkg_failed = untried; then
 
14669
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14670
$as_echo "no" >&6; }
 
14671
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14672
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14673
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14674
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14675
path to pkg-config.
 
14676
 
 
14677
Alternatively, you may set the environment variables GLIB2_CFLAGS
 
14678
and GLIB2_LIBS to avoid the need to call pkg-config.
 
14679
See the pkg-config man page for more details.
 
14680
 
 
14681
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14682
See \`config.log' for more details" "$LINENO" 5; }
 
14683
 
 
14684
else
 
14685
        GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
 
14686
        GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
 
14687
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14688
$as_echo "yes" >&6; }
 
14689
 
 
14690
fi
 
14691
 
 
14692
pkg_failed=no
 
14693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT2" >&5
 
14694
$as_echo_n "checking for GOBJECT2... " >&6; }
 
14695
 
 
14696
if test -n "$GOBJECT2_CFLAGS"; then
 
14697
    pkg_cv_GOBJECT2_CFLAGS="$GOBJECT2_CFLAGS"
 
14698
 elif test -n "$PKG_CONFIG"; then
 
14699
    if test -n "$PKG_CONFIG" && \
 
14700
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14701
    gobject-2.0 >= 2.26.0
 
14702
\""; } >&5
 
14703
  ($PKG_CONFIG --exists --print-errors "
 
14704
    gobject-2.0 >= 2.26.0
 
14705
") 2>&5
 
14706
  ac_status=$?
 
14707
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14708
  test $ac_status = 0; }; then
 
14709
  pkg_cv_GOBJECT2_CFLAGS=`$PKG_CONFIG --cflags "
 
14710
    gobject-2.0 >= 2.26.0
 
14711
" 2>/dev/null`
 
14712
else
 
14713
  pkg_failed=yes
 
14714
fi
 
14715
 else
 
14716
    pkg_failed=untried
 
14717
fi
 
14718
if test -n "$GOBJECT2_LIBS"; then
 
14719
    pkg_cv_GOBJECT2_LIBS="$GOBJECT2_LIBS"
 
14720
 elif test -n "$PKG_CONFIG"; then
 
14721
    if test -n "$PKG_CONFIG" && \
 
14722
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14723
    gobject-2.0 >= 2.26.0
 
14724
\""; } >&5
 
14725
  ($PKG_CONFIG --exists --print-errors "
 
14726
    gobject-2.0 >= 2.26.0
 
14727
") 2>&5
 
14728
  ac_status=$?
 
14729
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14730
  test $ac_status = 0; }; then
 
14731
  pkg_cv_GOBJECT2_LIBS=`$PKG_CONFIG --libs "
 
14732
    gobject-2.0 >= 2.26.0
 
14733
" 2>/dev/null`
 
14734
else
 
14735
  pkg_failed=yes
 
14736
fi
 
14737
 else
 
14738
    pkg_failed=untried
 
14739
fi
 
14740
 
 
14741
 
 
14742
 
 
14743
if test $pkg_failed = yes; then
 
14744
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14745
$as_echo "no" >&6; }
 
14746
 
 
14747
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14748
        _pkg_short_errors_supported=yes
 
14749
else
 
14750
        _pkg_short_errors_supported=no
 
14751
fi
 
14752
        if test $_pkg_short_errors_supported = yes; then
 
14753
                GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
14754
    gobject-2.0 >= 2.26.0
 
14755
" 2>&1`
 
14756
        else
 
14757
                GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
14758
    gobject-2.0 >= 2.26.0
 
14759
" 2>&1`
 
14760
        fi
 
14761
        # Put the nasty error message in config.log where it belongs
 
14762
        echo "$GOBJECT2_PKG_ERRORS" >&5
 
14763
 
 
14764
        as_fn_error $? "Package requirements (
 
14765
    gobject-2.0 >= 2.26.0
 
14766
) were not met:
 
14767
 
 
14768
$GOBJECT2_PKG_ERRORS
 
14769
 
 
14770
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14771
installed software in a non-standard prefix.
 
14772
 
 
14773
Alternatively, you may set the environment variables GOBJECT2_CFLAGS
 
14774
and GOBJECT2_LIBS to avoid the need to call pkg-config.
 
14775
See the pkg-config man page for more details." "$LINENO" 5
 
14776
 
 
14777
elif test $pkg_failed = untried; then
 
14778
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14779
$as_echo "no" >&6; }
 
14780
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14781
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14782
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14783
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14784
path to pkg-config.
 
14785
 
 
14786
Alternatively, you may set the environment variables GOBJECT2_CFLAGS
 
14787
and GOBJECT2_LIBS to avoid the need to call pkg-config.
 
14788
See the pkg-config man page for more details.
 
14789
 
 
14790
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14791
See \`config.log' for more details" "$LINENO" 5; }
 
14792
 
 
14793
else
 
14794
        GOBJECT2_CFLAGS=$pkg_cv_GOBJECT2_CFLAGS
 
14795
        GOBJECT2_LIBS=$pkg_cv_GOBJECT2_LIBS
 
14796
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14797
$as_echo "yes" >&6; }
 
14798
 
 
14799
fi
 
14800
 
 
14801
pkg_failed=no
 
14802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO2" >&5
 
14803
$as_echo_n "checking for GIO2... " >&6; }
 
14804
 
 
14805
if test -n "$GIO2_CFLAGS"; then
 
14806
    pkg_cv_GIO2_CFLAGS="$GIO2_CFLAGS"
 
14807
 elif test -n "$PKG_CONFIG"; then
 
14808
    if test -n "$PKG_CONFIG" && \
 
14809
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14810
    gio-2.0 >= 2.26.0
 
14811
\""; } >&5
 
14812
  ($PKG_CONFIG --exists --print-errors "
 
14813
    gio-2.0 >= 2.26.0
 
14814
") 2>&5
 
14815
  ac_status=$?
 
14816
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14817
  test $ac_status = 0; }; then
 
14818
  pkg_cv_GIO2_CFLAGS=`$PKG_CONFIG --cflags "
 
14819
    gio-2.0 >= 2.26.0
 
14820
" 2>/dev/null`
 
14821
else
 
14822
  pkg_failed=yes
 
14823
fi
 
14824
 else
 
14825
    pkg_failed=untried
 
14826
fi
 
14827
if test -n "$GIO2_LIBS"; then
 
14828
    pkg_cv_GIO2_LIBS="$GIO2_LIBS"
 
14829
 elif test -n "$PKG_CONFIG"; then
 
14830
    if test -n "$PKG_CONFIG" && \
 
14831
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14832
    gio-2.0 >= 2.26.0
 
14833
\""; } >&5
 
14834
  ($PKG_CONFIG --exists --print-errors "
 
14835
    gio-2.0 >= 2.26.0
 
14836
") 2>&5
 
14837
  ac_status=$?
 
14838
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14839
  test $ac_status = 0; }; then
 
14840
  pkg_cv_GIO2_LIBS=`$PKG_CONFIG --libs "
 
14841
    gio-2.0 >= 2.26.0
 
14842
" 2>/dev/null`
 
14843
else
 
14844
  pkg_failed=yes
 
14845
fi
 
14846
 else
 
14847
    pkg_failed=untried
 
14848
fi
 
14849
 
 
14850
 
 
14851
 
 
14852
if test $pkg_failed = yes; then
 
14853
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14854
$as_echo "no" >&6; }
 
14855
 
 
14856
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14857
        _pkg_short_errors_supported=yes
 
14858
else
 
14859
        _pkg_short_errors_supported=no
 
14860
fi
 
14861
        if test $_pkg_short_errors_supported = yes; then
 
14862
                GIO2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
14863
    gio-2.0 >= 2.26.0
 
14864
" 2>&1`
 
14865
        else
 
14866
                GIO2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
14867
    gio-2.0 >= 2.26.0
 
14868
" 2>&1`
 
14869
        fi
 
14870
        # Put the nasty error message in config.log where it belongs
 
14871
        echo "$GIO2_PKG_ERRORS" >&5
 
14872
 
 
14873
        as_fn_error $? "Package requirements (
 
14874
    gio-2.0 >= 2.26.0
 
14875
) were not met:
 
14876
 
 
14877
$GIO2_PKG_ERRORS
 
14878
 
 
14879
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14880
installed software in a non-standard prefix.
 
14881
 
 
14882
Alternatively, you may set the environment variables GIO2_CFLAGS
 
14883
and GIO2_LIBS to avoid the need to call pkg-config.
 
14884
See the pkg-config man page for more details." "$LINENO" 5
 
14885
 
 
14886
elif test $pkg_failed = untried; then
 
14887
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14888
$as_echo "no" >&6; }
 
14889
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14890
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14891
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14892
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14893
path to pkg-config.
 
14894
 
 
14895
Alternatively, you may set the environment variables GIO2_CFLAGS
 
14896
and GIO2_LIBS to avoid the need to call pkg-config.
 
14897
See the pkg-config man page for more details.
 
14898
 
 
14899
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14900
See \`config.log' for more details" "$LINENO" 5; }
 
14901
 
 
14902
else
 
14903
        GIO2_CFLAGS=$pkg_cv_GIO2_CFLAGS
 
14904
        GIO2_LIBS=$pkg_cv_GIO2_LIBS
 
14905
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14906
$as_echo "yes" >&6; }
 
14907
 
 
14908
fi
 
14909
 
 
14910
pkg_failed=no
 
14911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD2" >&5
 
14912
$as_echo_n "checking for GTHREAD2... " >&6; }
 
14913
 
 
14914
if test -n "$GTHREAD2_CFLAGS"; then
 
14915
    pkg_cv_GTHREAD2_CFLAGS="$GTHREAD2_CFLAGS"
 
14916
 elif test -n "$PKG_CONFIG"; then
 
14917
    if test -n "$PKG_CONFIG" && \
 
14918
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14919
    gthread-2.0 >= 2.26.0
 
14920
\""; } >&5
 
14921
  ($PKG_CONFIG --exists --print-errors "
 
14922
    gthread-2.0 >= 2.26.0
 
14923
") 2>&5
 
14924
  ac_status=$?
 
14925
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14926
  test $ac_status = 0; }; then
 
14927
  pkg_cv_GTHREAD2_CFLAGS=`$PKG_CONFIG --cflags "
 
14928
    gthread-2.0 >= 2.26.0
 
14929
" 2>/dev/null`
 
14930
else
 
14931
  pkg_failed=yes
 
14932
fi
 
14933
 else
 
14934
    pkg_failed=untried
 
14935
fi
 
14936
if test -n "$GTHREAD2_LIBS"; then
 
14937
    pkg_cv_GTHREAD2_LIBS="$GTHREAD2_LIBS"
 
14938
 elif test -n "$PKG_CONFIG"; then
 
14939
    if test -n "$PKG_CONFIG" && \
 
14940
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
14941
    gthread-2.0 >= 2.26.0
 
14942
\""; } >&5
 
14943
  ($PKG_CONFIG --exists --print-errors "
 
14944
    gthread-2.0 >= 2.26.0
 
14945
") 2>&5
 
14946
  ac_status=$?
 
14947
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14948
  test $ac_status = 0; }; then
 
14949
  pkg_cv_GTHREAD2_LIBS=`$PKG_CONFIG --libs "
 
14950
    gthread-2.0 >= 2.26.0
 
14951
" 2>/dev/null`
 
14952
else
 
14953
  pkg_failed=yes
 
14954
fi
 
14955
 else
 
14956
    pkg_failed=untried
 
14957
fi
 
14958
 
 
14959
 
 
14960
 
 
14961
if test $pkg_failed = yes; then
 
14962
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14963
$as_echo "no" >&6; }
 
14964
 
 
14965
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14966
        _pkg_short_errors_supported=yes
 
14967
else
 
14968
        _pkg_short_errors_supported=no
 
14969
fi
 
14970
        if test $_pkg_short_errors_supported = yes; then
 
14971
                GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
14972
    gthread-2.0 >= 2.26.0
 
14973
" 2>&1`
 
14974
        else
 
14975
                GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
14976
    gthread-2.0 >= 2.26.0
 
14977
" 2>&1`
 
14978
        fi
 
14979
        # Put the nasty error message in config.log where it belongs
 
14980
        echo "$GTHREAD2_PKG_ERRORS" >&5
 
14981
 
 
14982
        as_fn_error $? "Package requirements (
 
14983
    gthread-2.0 >= 2.26.0
 
14984
) were not met:
 
14985
 
 
14986
$GTHREAD2_PKG_ERRORS
 
14987
 
 
14988
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14989
installed software in a non-standard prefix.
 
14990
 
 
14991
Alternatively, you may set the environment variables GTHREAD2_CFLAGS
 
14992
and GTHREAD2_LIBS to avoid the need to call pkg-config.
 
14993
See the pkg-config man page for more details." "$LINENO" 5
 
14994
 
 
14995
elif test $pkg_failed = untried; then
 
14996
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14997
$as_echo "no" >&6; }
 
14998
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14999
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15000
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15001
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15002
path to pkg-config.
 
15003
 
 
15004
Alternatively, you may set the environment variables GTHREAD2_CFLAGS
 
15005
and GTHREAD2_LIBS to avoid the need to call pkg-config.
 
15006
See the pkg-config man page for more details.
 
15007
 
 
15008
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15009
See \`config.log' for more details" "$LINENO" 5; }
 
15010
 
 
15011
else
 
15012
        GTHREAD2_CFLAGS=$pkg_cv_GTHREAD2_CFLAGS
 
15013
        GTHREAD2_LIBS=$pkg_cv_GTHREAD2_LIBS
 
15014
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15015
$as_echo "yes" >&6; }
 
15016
 
 
15017
fi
 
15018
 
 
15019
# --disable-gtk2 option.
 
15020
# Check whether --enable-gtk2 was given.
 
15021
if test "${enable_gtk2+set}" = set; then :
 
15022
  enableval=$enable_gtk2; enable_gtk2=$enableval
 
15023
else
 
15024
  enable_gtk2=yes
 
15025
 
 
15026
fi
 
15027
 
 
15028
 if test x"$enable_gtk2" = x"yes"; then
 
15029
  ENABLE_GTK2_TRUE=
 
15030
  ENABLE_GTK2_FALSE='#'
 
15031
else
 
15032
  ENABLE_GTK2_TRUE='#'
 
15033
  ENABLE_GTK2_FALSE=
 
15034
fi
 
15035
 
 
15036
 
 
15037
# --disable-gtk3 option.
 
15038
# Check whether --enable-gtk3 was given.
 
15039
if test "${enable_gtk3+set}" = set; then :
 
15040
  enableval=$enable_gtk3; enable_gtk3=$enableval
 
15041
else
 
15042
  enable_gtk3=yes
 
15043
 
 
15044
fi
 
15045
 
 
15046
 if test x"$enable_gtk3" = x"yes"; then
 
15047
  ENABLE_GTK3_TRUE=
 
15048
  ENABLE_GTK3_FALSE='#'
 
15049
else
 
15050
  ENABLE_GTK3_TRUE='#'
 
15051
  ENABLE_GTK3_FALSE=
 
15052
fi
 
15053
 
 
15054
 
 
15055
# --disable-xim option.
 
15056
# Check whether --enable-xim was given.
 
15057
if test "${enable_xim+set}" = set; then :
 
15058
  enableval=$enable_xim; enable_xim=$enableval
 
15059
else
 
15060
  enable_xim=yes
 
15061
 
 
15062
fi
 
15063
 
 
15064
 if test x"$enable_xim" = x"yes"; then
 
15065
  ENABLE_XIM_TRUE=
 
15066
  ENABLE_XIM_FALSE='#'
 
15067
else
 
15068
  ENABLE_XIM_TRUE='#'
 
15069
  ENABLE_XIM_FALSE=
 
15070
fi
 
15071
 
 
15072
 
 
15073
# --disable-vala option.
 
15074
# Check whether --enable-vala was given.
 
15075
if test "${enable_vala+set}" = set; then :
 
15076
  enableval=$enable_vala; enable_vala=$enableval
 
15077
else
 
15078
  enable_vala=yes
 
15079
 
 
15080
fi
 
15081
 
 
15082
 if test x"$enable_vala" = x"yes"; then
 
15083
  ENABLE_VALA_TRUE=
 
15084
  ENABLE_VALA_FALSE='#'
 
15085
else
 
15086
  ENABLE_VALA_TRUE='#'
 
15087
  ENABLE_VALA_FALSE=
 
15088
fi
 
15089
 
 
15090
if test x"$enable_vala" != x"yes"; then
 
15091
    enable_vala="no (disabled, use --enable-vala to enable)"
 
15092
fi
 
15093
 
 
15094
if test x"$enable_gtk2" = x"yes" -o x"$enable_xim" = x"yes" ; then
 
15095
    # check for gtk2
 
15096
 
 
15097
pkg_failed=no
 
15098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
 
15099
$as_echo_n "checking for GTK2... " >&6; }
 
15100
 
 
15101
if test -n "$GTK2_CFLAGS"; then
 
15102
    pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
 
15103
 elif test -n "$PKG_CONFIG"; then
 
15104
    if test -n "$PKG_CONFIG" && \
 
15105
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15106
        gtk+-2.0
 
15107
    \""; } >&5
 
15108
  ($PKG_CONFIG --exists --print-errors "
 
15109
        gtk+-2.0
 
15110
    ") 2>&5
 
15111
  ac_status=$?
 
15112
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15113
  test $ac_status = 0; }; then
 
15114
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "
 
15115
        gtk+-2.0
 
15116
    " 2>/dev/null`
 
15117
else
 
15118
  pkg_failed=yes
 
15119
fi
 
15120
 else
 
15121
    pkg_failed=untried
 
15122
fi
 
15123
if test -n "$GTK2_LIBS"; then
 
15124
    pkg_cv_GTK2_LIBS="$GTK2_LIBS"
 
15125
 elif test -n "$PKG_CONFIG"; then
 
15126
    if test -n "$PKG_CONFIG" && \
 
15127
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15128
        gtk+-2.0
 
15129
    \""; } >&5
 
15130
  ($PKG_CONFIG --exists --print-errors "
 
15131
        gtk+-2.0
 
15132
    ") 2>&5
 
15133
  ac_status=$?
 
15134
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15135
  test $ac_status = 0; }; then
 
15136
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "
 
15137
        gtk+-2.0
 
15138
    " 2>/dev/null`
 
15139
else
 
15140
  pkg_failed=yes
 
15141
fi
 
15142
 else
 
15143
    pkg_failed=untried
 
15144
fi
 
15145
 
 
15146
 
 
15147
 
 
15148
if test $pkg_failed = yes; then
 
15149
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15150
$as_echo "no" >&6; }
 
15151
 
 
15152
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15153
        _pkg_short_errors_supported=yes
 
15154
else
 
15155
        _pkg_short_errors_supported=no
 
15156
fi
 
15157
        if test $_pkg_short_errors_supported = yes; then
 
15158
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
15159
        gtk+-2.0
 
15160
    " 2>&1`
 
15161
        else
 
15162
                GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
15163
        gtk+-2.0
 
15164
    " 2>&1`
 
15165
        fi
 
15166
        # Put the nasty error message in config.log where it belongs
 
15167
        echo "$GTK2_PKG_ERRORS" >&5
 
15168
 
 
15169
        as_fn_error $? "Package requirements (
 
15170
        gtk+-2.0
 
15171
    ) were not met:
 
15172
 
 
15173
$GTK2_PKG_ERRORS
 
15174
 
 
15175
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15176
installed software in a non-standard prefix.
 
15177
 
 
15178
Alternatively, you may set the environment variables GTK2_CFLAGS
 
15179
and GTK2_LIBS to avoid the need to call pkg-config.
 
15180
See the pkg-config man page for more details." "$LINENO" 5
 
15181
 
 
15182
elif test $pkg_failed = untried; then
 
15183
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15184
$as_echo "no" >&6; }
 
15185
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15186
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15187
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15188
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15189
path to pkg-config.
 
15190
 
 
15191
Alternatively, you may set the environment variables GTK2_CFLAGS
 
15192
and GTK2_LIBS to avoid the need to call pkg-config.
 
15193
See the pkg-config man page for more details.
 
15194
 
 
15195
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15196
See \`config.log' for more details" "$LINENO" 5; }
 
15197
 
 
15198
else
 
15199
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
 
15200
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
 
15201
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15202
$as_echo "yes" >&6; }
 
15203
 
 
15204
fi
 
15205
fi
 
15206
 
 
15207
if test x"$enable_gtk2" = x"yes"; then
 
15208
    # check for gdk2
 
15209
    gtk2_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
 
15210
    GTK2_IM_MODULEDIR="$libdir"/gtk-2.0/$gtk2_binary_version/immodules
 
15211
 
 
15212
 
 
15213
pkg_failed=no
 
15214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK2" >&5
 
15215
$as_echo_n "checking for GDK2... " >&6; }
 
15216
 
 
15217
if test -n "$GDK2_CFLAGS"; then
 
15218
    pkg_cv_GDK2_CFLAGS="$GDK2_CFLAGS"
 
15219
 elif test -n "$PKG_CONFIG"; then
 
15220
    if test -n "$PKG_CONFIG" && \
 
15221
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15222
        gdk-2.0
 
15223
    \""; } >&5
 
15224
  ($PKG_CONFIG --exists --print-errors "
 
15225
        gdk-2.0
 
15226
    ") 2>&5
 
15227
  ac_status=$?
 
15228
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15229
  test $ac_status = 0; }; then
 
15230
  pkg_cv_GDK2_CFLAGS=`$PKG_CONFIG --cflags "
 
15231
        gdk-2.0
 
15232
    " 2>/dev/null`
 
15233
else
 
15234
  pkg_failed=yes
 
15235
fi
 
15236
 else
 
15237
    pkg_failed=untried
 
15238
fi
 
15239
if test -n "$GDK2_LIBS"; then
 
15240
    pkg_cv_GDK2_LIBS="$GDK2_LIBS"
 
15241
 elif test -n "$PKG_CONFIG"; then
 
15242
    if test -n "$PKG_CONFIG" && \
 
15243
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15244
        gdk-2.0
 
15245
    \""; } >&5
 
15246
  ($PKG_CONFIG --exists --print-errors "
 
15247
        gdk-2.0
 
15248
    ") 2>&5
 
15249
  ac_status=$?
 
15250
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15251
  test $ac_status = 0; }; then
 
15252
  pkg_cv_GDK2_LIBS=`$PKG_CONFIG --libs "
 
15253
        gdk-2.0
 
15254
    " 2>/dev/null`
 
15255
else
 
15256
  pkg_failed=yes
 
15257
fi
 
15258
 else
 
15259
    pkg_failed=untried
 
15260
fi
 
15261
 
 
15262
 
 
15263
 
 
15264
if test $pkg_failed = yes; then
 
15265
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15266
$as_echo "no" >&6; }
 
15267
 
 
15268
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15269
        _pkg_short_errors_supported=yes
 
15270
else
 
15271
        _pkg_short_errors_supported=no
 
15272
fi
 
15273
        if test $_pkg_short_errors_supported = yes; then
 
15274
                GDK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
15275
        gdk-2.0
 
15276
    " 2>&1`
 
15277
        else
 
15278
                GDK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
15279
        gdk-2.0
 
15280
    " 2>&1`
 
15281
        fi
 
15282
        # Put the nasty error message in config.log where it belongs
 
15283
        echo "$GDK2_PKG_ERRORS" >&5
 
15284
 
 
15285
        as_fn_error $? "Package requirements (
 
15286
        gdk-2.0
 
15287
    ) were not met:
 
15288
 
 
15289
$GDK2_PKG_ERRORS
 
15290
 
 
15291
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15292
installed software in a non-standard prefix.
 
15293
 
 
15294
Alternatively, you may set the environment variables GDK2_CFLAGS
 
15295
and GDK2_LIBS to avoid the need to call pkg-config.
 
15296
See the pkg-config man page for more details." "$LINENO" 5
 
15297
 
 
15298
elif test $pkg_failed = untried; then
 
15299
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15300
$as_echo "no" >&6; }
 
15301
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15302
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15303
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15304
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15305
path to pkg-config.
 
15306
 
 
15307
Alternatively, you may set the environment variables GDK2_CFLAGS
 
15308
and GDK2_LIBS to avoid the need to call pkg-config.
 
15309
See the pkg-config man page for more details.
 
15310
 
 
15311
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15312
See \`config.log' for more details" "$LINENO" 5; }
 
15313
 
 
15314
else
 
15315
        GDK2_CFLAGS=$pkg_cv_GDK2_CFLAGS
 
15316
        GDK2_LIBS=$pkg_cv_GDK2_LIBS
 
15317
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15318
$as_echo "yes" >&6; }
 
15319
 
 
15320
fi
 
15321
else
 
15322
    enable_gtk2="no (disabled, use --enable-gtk2 to enable)"
 
15323
fi
 
15324
 
 
15325
if test x"$enable_gtk3" = x"yes"; then
 
15326
    # check for gtk3, gdk3
 
15327
 
 
15328
pkg_failed=no
 
15329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
 
15330
$as_echo_n "checking for GTK3... " >&6; }
 
15331
 
 
15332
if test -n "$GTK3_CFLAGS"; then
 
15333
    pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
 
15334
 elif test -n "$PKG_CONFIG"; then
 
15335
    if test -n "$PKG_CONFIG" && \
 
15336
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15337
        gtk+-3.0
 
15338
    \""; } >&5
 
15339
  ($PKG_CONFIG --exists --print-errors "
 
15340
        gtk+-3.0
 
15341
    ") 2>&5
 
15342
  ac_status=$?
 
15343
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15344
  test $ac_status = 0; }; then
 
15345
  pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "
 
15346
        gtk+-3.0
 
15347
    " 2>/dev/null`
 
15348
else
 
15349
  pkg_failed=yes
 
15350
fi
 
15351
 else
 
15352
    pkg_failed=untried
 
15353
fi
 
15354
if test -n "$GTK3_LIBS"; then
 
15355
    pkg_cv_GTK3_LIBS="$GTK3_LIBS"
 
15356
 elif test -n "$PKG_CONFIG"; then
 
15357
    if test -n "$PKG_CONFIG" && \
 
15358
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15359
        gtk+-3.0
 
15360
    \""; } >&5
 
15361
  ($PKG_CONFIG --exists --print-errors "
 
15362
        gtk+-3.0
 
15363
    ") 2>&5
 
15364
  ac_status=$?
 
15365
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15366
  test $ac_status = 0; }; then
 
15367
  pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "
 
15368
        gtk+-3.0
 
15369
    " 2>/dev/null`
 
15370
else
 
15371
  pkg_failed=yes
 
15372
fi
 
15373
 else
 
15374
    pkg_failed=untried
 
15375
fi
 
15376
 
 
15377
 
 
15378
 
 
15379
if test $pkg_failed = yes; then
 
15380
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15381
$as_echo "no" >&6; }
 
15382
 
 
15383
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15384
        _pkg_short_errors_supported=yes
 
15385
else
 
15386
        _pkg_short_errors_supported=no
 
15387
fi
 
15388
        if test $_pkg_short_errors_supported = yes; then
 
15389
                GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
15390
        gtk+-3.0
 
15391
    " 2>&1`
 
15392
        else
 
15393
                GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
15394
        gtk+-3.0
 
15395
    " 2>&1`
 
15396
        fi
 
15397
        # Put the nasty error message in config.log where it belongs
 
15398
        echo "$GTK3_PKG_ERRORS" >&5
 
15399
 
 
15400
        as_fn_error $? "Package requirements (
 
15401
        gtk+-3.0
 
15402
    ) were not met:
 
15403
 
 
15404
$GTK3_PKG_ERRORS
 
15405
 
 
15406
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15407
installed software in a non-standard prefix.
 
15408
 
 
15409
Alternatively, you may set the environment variables GTK3_CFLAGS
 
15410
and GTK3_LIBS to avoid the need to call pkg-config.
 
15411
See the pkg-config man page for more details." "$LINENO" 5
 
15412
 
 
15413
elif test $pkg_failed = untried; then
 
15414
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15415
$as_echo "no" >&6; }
 
15416
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15417
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15418
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15419
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15420
path to pkg-config.
 
15421
 
 
15422
Alternatively, you may set the environment variables GTK3_CFLAGS
 
15423
and GTK3_LIBS to avoid the need to call pkg-config.
 
15424
See the pkg-config man page for more details.
 
15425
 
 
15426
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15427
See \`config.log' for more details" "$LINENO" 5; }
 
15428
 
 
15429
else
 
15430
        GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
 
15431
        GTK3_LIBS=$pkg_cv_GTK3_LIBS
 
15432
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15433
$as_echo "yes" >&6; }
 
15434
 
 
15435
fi
 
15436
 
 
15437
    gtk3_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`
 
15438
    GTK3_IM_MODULEDIR="$libdir"/gtk-3.0/$gtk3_binary_version/immodules
 
15439
 
 
15440
 
 
15441
pkg_failed=no
 
15442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK3" >&5
 
15443
$as_echo_n "checking for GDK3... " >&6; }
 
15444
 
 
15445
if test -n "$GDK3_CFLAGS"; then
 
15446
    pkg_cv_GDK3_CFLAGS="$GDK3_CFLAGS"
 
15447
 elif test -n "$PKG_CONFIG"; then
 
15448
    if test -n "$PKG_CONFIG" && \
 
15449
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15450
        gdk-3.0
 
15451
    \""; } >&5
 
15452
  ($PKG_CONFIG --exists --print-errors "
 
15453
        gdk-3.0
 
15454
    ") 2>&5
 
15455
  ac_status=$?
 
15456
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15457
  test $ac_status = 0; }; then
 
15458
  pkg_cv_GDK3_CFLAGS=`$PKG_CONFIG --cflags "
 
15459
        gdk-3.0
 
15460
    " 2>/dev/null`
 
15461
else
 
15462
  pkg_failed=yes
 
15463
fi
 
15464
 else
 
15465
    pkg_failed=untried
 
15466
fi
 
15467
if test -n "$GDK3_LIBS"; then
 
15468
    pkg_cv_GDK3_LIBS="$GDK3_LIBS"
 
15469
 elif test -n "$PKG_CONFIG"; then
 
15470
    if test -n "$PKG_CONFIG" && \
 
15471
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15472
        gdk-3.0
 
15473
    \""; } >&5
 
15474
  ($PKG_CONFIG --exists --print-errors "
 
15475
        gdk-3.0
 
15476
    ") 2>&5
 
15477
  ac_status=$?
 
15478
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15479
  test $ac_status = 0; }; then
 
15480
  pkg_cv_GDK3_LIBS=`$PKG_CONFIG --libs "
 
15481
        gdk-3.0
 
15482
    " 2>/dev/null`
 
15483
else
 
15484
  pkg_failed=yes
 
15485
fi
 
15486
 else
 
15487
    pkg_failed=untried
 
15488
fi
 
15489
 
 
15490
 
 
15491
 
 
15492
if test $pkg_failed = yes; then
 
15493
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15494
$as_echo "no" >&6; }
 
15495
 
 
15496
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15497
        _pkg_short_errors_supported=yes
 
15498
else
 
15499
        _pkg_short_errors_supported=no
 
15500
fi
 
15501
        if test $_pkg_short_errors_supported = yes; then
 
15502
                GDK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
15503
        gdk-3.0
 
15504
    " 2>&1`
 
15505
        else
 
15506
                GDK3_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
15507
        gdk-3.0
 
15508
    " 2>&1`
 
15509
        fi
 
15510
        # Put the nasty error message in config.log where it belongs
 
15511
        echo "$GDK3_PKG_ERRORS" >&5
 
15512
 
 
15513
        as_fn_error $? "Package requirements (
 
15514
        gdk-3.0
 
15515
    ) were not met:
 
15516
 
 
15517
$GDK3_PKG_ERRORS
 
15518
 
 
15519
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15520
installed software in a non-standard prefix.
 
15521
 
 
15522
Alternatively, you may set the environment variables GDK3_CFLAGS
 
15523
and GDK3_LIBS to avoid the need to call pkg-config.
 
15524
See the pkg-config man page for more details." "$LINENO" 5
 
15525
 
 
15526
elif test $pkg_failed = untried; then
 
15527
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15528
$as_echo "no" >&6; }
 
15529
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15530
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15531
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15532
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15533
path to pkg-config.
 
15534
 
 
15535
Alternatively, you may set the environment variables GDK3_CFLAGS
 
15536
and GDK3_LIBS to avoid the need to call pkg-config.
 
15537
See the pkg-config man page for more details.
 
15538
 
 
15539
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15540
See \`config.log' for more details" "$LINENO" 5; }
 
15541
 
 
15542
else
 
15543
        GDK3_CFLAGS=$pkg_cv_GDK3_CFLAGS
 
15544
        GDK3_LIBS=$pkg_cv_GDK3_LIBS
 
15545
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15546
$as_echo "yes" >&6; }
 
15547
 
 
15548
fi
 
15549
else
 
15550
    enable_gtk3="no (disabled, use --enable-gtk3 to enable)"
 
15551
fi
 
15552
 
 
15553
if test x"$enable_xim" = x"yes"; then
 
15554
    # Check for x11
 
15555
 
 
15556
pkg_failed=no
 
15557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
 
15558
$as_echo_n "checking for X11... " >&6; }
 
15559
 
 
15560
if test -n "$X11_CFLAGS"; then
 
15561
    pkg_cv_X11_CFLAGS="$X11_CFLAGS"
 
15562
 elif test -n "$PKG_CONFIG"; then
 
15563
    if test -n "$PKG_CONFIG" && \
 
15564
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15565
        x11
 
15566
    \""; } >&5
 
15567
  ($PKG_CONFIG --exists --print-errors "
 
15568
        x11
 
15569
    ") 2>&5
 
15570
  ac_status=$?
 
15571
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15572
  test $ac_status = 0; }; then
 
15573
  pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "
 
15574
        x11
 
15575
    " 2>/dev/null`
 
15576
else
 
15577
  pkg_failed=yes
 
15578
fi
 
15579
 else
 
15580
    pkg_failed=untried
 
15581
fi
 
15582
if test -n "$X11_LIBS"; then
 
15583
    pkg_cv_X11_LIBS="$X11_LIBS"
 
15584
 elif test -n "$PKG_CONFIG"; then
 
15585
    if test -n "$PKG_CONFIG" && \
 
15586
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
15587
        x11
 
15588
    \""; } >&5
 
15589
  ($PKG_CONFIG --exists --print-errors "
 
15590
        x11
 
15591
    ") 2>&5
 
15592
  ac_status=$?
 
15593
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15594
  test $ac_status = 0; }; then
 
15595
  pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "
 
15596
        x11
 
15597
    " 2>/dev/null`
 
15598
else
 
15599
  pkg_failed=yes
 
15600
fi
 
15601
 else
 
15602
    pkg_failed=untried
 
15603
fi
 
15604
 
 
15605
 
 
15606
 
 
15607
if test $pkg_failed = yes; then
 
15608
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15609
$as_echo "no" >&6; }
 
15610
 
 
15611
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15612
        _pkg_short_errors_supported=yes
 
15613
else
 
15614
        _pkg_short_errors_supported=no
 
15615
fi
 
15616
        if test $_pkg_short_errors_supported = yes; then
 
15617
                X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
15618
        x11
 
15619
    " 2>&1`
 
15620
        else
 
15621
                X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
15622
        x11
 
15623
    " 2>&1`
 
15624
        fi
 
15625
        # Put the nasty error message in config.log where it belongs
 
15626
        echo "$X11_PKG_ERRORS" >&5
 
15627
 
 
15628
        as_fn_error $? "Package requirements (
 
15629
        x11
 
15630
    ) were not met:
 
15631
 
 
15632
$X11_PKG_ERRORS
 
15633
 
 
15634
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15635
installed software in a non-standard prefix.
 
15636
 
 
15637
Alternatively, you may set the environment variables X11_CFLAGS
 
15638
and X11_LIBS to avoid the need to call pkg-config.
 
15639
See the pkg-config man page for more details." "$LINENO" 5
 
15640
 
 
15641
elif test $pkg_failed = untried; then
 
15642
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15643
$as_echo "no" >&6; }
 
15644
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15645
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15646
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15647
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15648
path to pkg-config.
 
15649
 
 
15650
Alternatively, you may set the environment variables X11_CFLAGS
 
15651
and X11_LIBS to avoid the need to call pkg-config.
 
15652
See the pkg-config man page for more details.
 
15653
 
 
15654
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15655
See \`config.log' for more details" "$LINENO" 5; }
 
15656
 
 
15657
else
 
15658
        X11_CFLAGS=$pkg_cv_X11_CFLAGS
 
15659
        X11_LIBS=$pkg_cv_X11_LIBS
 
15660
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15661
$as_echo "yes" >&6; }
 
15662
 
 
15663
fi
 
15664
    for ac_header in X11/XKBlib.h
 
15665
do :
 
15666
  ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
 
15667
if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
 
15668
  cat >>confdefs.h <<_ACEOF
 
15669
#define HAVE_X11_XKBLIB_H 1
 
15670
_ACEOF
 
15671
 
 
15672
fi
 
15673
 
 
15674
done
 
15675
 
 
15676
else
 
15677
    enable_xim="no (disabled, use --enable-xim to enable)"
 
15678
fi
 
15679
 
 
15680
# GObject introspection
 
15681
 
 
15682
 
 
15683
 
 
15684
                # Check whether --enable-introspection was given.
 
15685
if test "${enable_introspection+set}" = set; then :
 
15686
  enableval=$enable_introspection;
 
15687
else
 
15688
  enable_introspection=auto
 
15689
fi
 
15690
 
 
15691
 
 
15692
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
 
15693
$as_echo_n "checking for gobject-introspection... " >&6; }
 
15694
 
 
15695
        case $enable_introspection in #(
 
15696
  no) :
 
15697
            found_introspection="no (disabled, use --enable-introspection to enable)"
 
15698
     ;; #(
 
15699
      yes) :
 
15700
            if test -n "$PKG_CONFIG" && \
 
15701
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
 
15702
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
 
15703
  ac_status=$?
 
15704
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15705
  test $ac_status = 0; }; then
 
15706
  :
 
15707
else
 
15708
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
15709
fi
 
15710
        if test -n "$PKG_CONFIG" && \
 
15711
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
 
15712
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
 
15713
  ac_status=$?
 
15714
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15715
  test $ac_status = 0; }; then
 
15716
  found_introspection=yes
 
15717
else
 
15718
  as_fn_error $? "You need to have gobject-introspection >= 0.6.8 installed to build ibus" "$LINENO" 5
 
15719
fi
 
15720
     ;; #(
 
15721
      auto) :
 
15722
            if test -n "$PKG_CONFIG" && \
 
15723
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
 
15724
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
 
15725
  ac_status=$?
 
15726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15727
  test $ac_status = 0; }; then
 
15728
  found_introspection=yes
 
15729
else
 
15730
  found_introspection=no
 
15731
fi
 
15732
     ;; #(
 
15733
  *) :
 
15734
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
15735
     ;;
 
15736
esac
 
15737
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
 
15738
$as_echo "$found_introspection" >&6; }
 
15739
 
 
15740
    INTROSPECTION_SCANNER=
 
15741
    INTROSPECTION_COMPILER=
 
15742
    INTROSPECTION_GENERATE=
 
15743
    INTROSPECTION_GIRDIR=
 
15744
    INTROSPECTION_TYPELIBDIR=
 
15745
    if test "x$found_introspection" = "xyes"; then
 
15746
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
 
15747
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
 
15748
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
 
15749
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
 
15750
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
 
15751
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
 
15752
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
 
15753
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
 
15754
    fi
 
15755
 
 
15756
 
 
15757
 
 
15758
 
 
15759
 
 
15760
 
 
15761
 
 
15762
 
 
15763
 
 
15764
     if test "x$found_introspection" = "xyes"; then
 
15765
  HAVE_INTROSPECTION_TRUE=
 
15766
  HAVE_INTROSPECTION_FALSE='#'
 
15767
else
 
15768
  HAVE_INTROSPECTION_TRUE='#'
 
15769
  HAVE_INTROSPECTION_FALSE=
 
15770
fi
 
15771
 
 
15772
 
 
15773
 
 
15774
 
 
15775
IBUS_GIR_SCANNERFLAGS=
 
15776
if test x"$found_introspection" = x"yes" ; then
 
15777
    IBUS_GIR_SCANNERFLAGS="--identifier-prefix=IBus --symbol-prefix=ibus"
 
15778
    if test -n "$PKG_CONFIG" && \
 
15779
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
 
15780
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
 
15781
  ac_status=$?
 
15782
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15783
  test $ac_status = 0; }; then
 
15784
  gir_symbol_prefix=yes
 
15785
else
 
15786
  gir_symbol_prefix=no
 
15787
fi
 
15788
    if test x"$gir_symbol_prefix" = x"no" ; then
 
15789
        IBUS_GIR_SCANNERFLAGS="--strip-prefix=IBus"
 
15790
    fi
 
15791
fi
 
15792
 
 
15793
 
 
15794
# Check for gtk-doc.
 
15795
 
 
15796
 
 
15797
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
15798
set dummy gtkdoc-check; ac_word=$2
 
15799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15800
$as_echo_n "checking for $ac_word... " >&6; }
 
15801
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
 
15802
  $as_echo_n "(cached) " >&6
 
15803
else
 
15804
  case $GTKDOC_CHECK in
 
15805
  [\\/]* | ?:[\\/]*)
 
15806
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
 
15807
  ;;
 
15808
  *)
 
15809
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15810
for as_dir in $PATH
 
15811
do
 
15812
  IFS=$as_save_IFS
 
15813
  test -z "$as_dir" && as_dir=.
 
15814
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15816
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
 
15817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15818
    break 2
 
15819
  fi
 
15820
done
 
15821
  done
 
15822
IFS=$as_save_IFS
 
15823
 
 
15824
  ;;
 
15825
esac
 
15826
fi
 
15827
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
 
15828
if test -n "$GTKDOC_CHECK"; then
 
15829
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
15830
$as_echo "$GTKDOC_CHECK" >&6; }
 
15831
else
 
15832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15833
$as_echo "no" >&6; }
 
15834
fi
 
15835
 
 
15836
 
 
15837
  for ac_prog in gtkdoc-rebase
 
15838
do
 
15839
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
15840
set dummy $ac_prog; ac_word=$2
 
15841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15842
$as_echo_n "checking for $ac_word... " >&6; }
 
15843
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
 
15844
  $as_echo_n "(cached) " >&6
 
15845
else
 
15846
  case $GTKDOC_REBASE in
 
15847
  [\\/]* | ?:[\\/]*)
 
15848
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
15849
  ;;
 
15850
  *)
 
15851
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15852
for as_dir in $PATH
 
15853
do
 
15854
  IFS=$as_save_IFS
 
15855
  test -z "$as_dir" && as_dir=.
 
15856
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15857
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15858
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
15859
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15860
    break 2
 
15861
  fi
 
15862
done
 
15863
  done
 
15864
IFS=$as_save_IFS
 
15865
 
 
15866
  ;;
 
15867
esac
 
15868
fi
 
15869
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
15870
if test -n "$GTKDOC_REBASE"; then
 
15871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
15872
$as_echo "$GTKDOC_REBASE" >&6; }
 
15873
else
 
15874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15875
$as_echo "no" >&6; }
 
15876
fi
 
15877
 
 
15878
 
 
15879
  test -n "$GTKDOC_REBASE" && break
 
15880
done
 
15881
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
15882
 
 
15883
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
15884
set dummy gtkdoc-mkpdf; ac_word=$2
 
15885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15886
$as_echo_n "checking for $ac_word... " >&6; }
 
15887
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
 
15888
  $as_echo_n "(cached) " >&6
 
15889
else
 
15890
  case $GTKDOC_MKPDF in
 
15891
  [\\/]* | ?:[\\/]*)
 
15892
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
15893
  ;;
 
15894
  *)
 
15895
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15896
for as_dir in $PATH
 
15897
do
 
15898
  IFS=$as_save_IFS
 
15899
  test -z "$as_dir" && as_dir=.
 
15900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15902
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
15903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15904
    break 2
 
15905
  fi
 
15906
done
 
15907
  done
 
15908
IFS=$as_save_IFS
 
15909
 
 
15910
  ;;
 
15911
esac
 
15912
fi
 
15913
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
15914
if test -n "$GTKDOC_MKPDF"; then
 
15915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
15916
$as_echo "$GTKDOC_MKPDF" >&6; }
 
15917
else
 
15918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15919
$as_echo "no" >&6; }
 
15920
fi
 
15921
 
 
15922
 
 
15923
 
 
15924
 
 
15925
# Check whether --with-html-dir was given.
 
15926
if test "${with_html_dir+set}" = set; then :
 
15927
  withval=$with_html_dir;
 
15928
else
 
15929
  with_html_dir='${datadir}/gtk-doc/html'
 
15930
fi
 
15931
 
 
15932
  HTML_DIR="$with_html_dir"
 
15933
 
 
15934
 
 
15935
    # Check whether --enable-gtk-doc was given.
 
15936
if test "${enable_gtk_doc+set}" = set; then :
 
15937
  enableval=$enable_gtk_doc;
 
15938
else
 
15939
  enable_gtk_doc=no
 
15940
fi
 
15941
 
 
15942
 
 
15943
  if test x$enable_gtk_doc = xyes; then
 
15944
    if test -n "$PKG_CONFIG" && \
 
15945
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
 
15946
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
 
15947
  ac_status=$?
 
15948
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15949
  test $ac_status = 0; }; then
 
15950
  :
 
15951
else
 
15952
  as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
 
15953
fi
 
15954
  fi
 
15955
 
 
15956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
 
15957
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
 
15958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
 
15959
$as_echo "$enable_gtk_doc" >&6; }
 
15960
 
 
15961
    # Check whether --enable-gtk-doc-html was given.
 
15962
if test "${enable_gtk_doc_html+set}" = set; then :
 
15963
  enableval=$enable_gtk_doc_html;
 
15964
else
 
15965
  enable_gtk_doc_html=yes
 
15966
fi
 
15967
 
 
15968
    # Check whether --enable-gtk-doc-pdf was given.
 
15969
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
15970
  enableval=$enable_gtk_doc_pdf;
 
15971
else
 
15972
  enable_gtk_doc_pdf=no
 
15973
fi
 
15974
 
 
15975
 
 
15976
  if test -z "$GTKDOC_MKPDF"; then
 
15977
    enable_gtk_doc_pdf=no
 
15978
  fi
 
15979
 
 
15980
 
 
15981
   if test x$enable_gtk_doc = xyes; then
 
15982
  ENABLE_GTK_DOC_TRUE=
 
15983
  ENABLE_GTK_DOC_FALSE='#'
 
15984
else
 
15985
  ENABLE_GTK_DOC_TRUE='#'
 
15986
  ENABLE_GTK_DOC_FALSE=
 
15987
fi
 
15988
 
 
15989
   if test x$enable_gtk_doc_html = xyes; then
 
15990
  GTK_DOC_BUILD_HTML_TRUE=
 
15991
  GTK_DOC_BUILD_HTML_FALSE='#'
 
15992
else
 
15993
  GTK_DOC_BUILD_HTML_TRUE='#'
 
15994
  GTK_DOC_BUILD_HTML_FALSE=
 
15995
fi
 
15996
 
 
15997
   if test x$enable_gtk_doc_pdf = xyes; then
 
15998
  GTK_DOC_BUILD_PDF_TRUE=
 
15999
  GTK_DOC_BUILD_PDF_FALSE='#'
 
16000
else
 
16001
  GTK_DOC_BUILD_PDF_TRUE='#'
 
16002
  GTK_DOC_BUILD_PDF_FALSE=
 
16003
fi
 
16004
 
 
16005
   if test -n "$LIBTOOL"; then
 
16006
  GTK_DOC_USE_LIBTOOL_TRUE=
 
16007
  GTK_DOC_USE_LIBTOOL_FALSE='#'
 
16008
else
 
16009
  GTK_DOC_USE_LIBTOOL_TRUE='#'
 
16010
  GTK_DOC_USE_LIBTOOL_FALSE=
 
16011
fi
 
16012
 
 
16013
   if test -n "$GTKDOC_REBASE"; then
 
16014
  GTK_DOC_USE_REBASE_TRUE=
 
16015
  GTK_DOC_USE_REBASE_FALSE='#'
 
16016
else
 
16017
  GTK_DOC_USE_REBASE_TRUE='#'
 
16018
  GTK_DOC_USE_REBASE_FALSE=
 
16019
fi
 
16020
 
 
16021
 
 
16022
if test x"$enable_gtk_doc" = x"no"; then
 
16023
    enable_gtk_doc="no (disabled, use --enable-gtk-doc to enable)"
 
16024
fi
 
16025
 
 
16026
# Check for dbus.
 
16027
 
 
16028
pkg_failed=no
 
16029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
 
16030
$as_echo_n "checking for DBUS... " >&6; }
 
16031
 
 
16032
if test -n "$DBUS_CFLAGS"; then
 
16033
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
 
16034
 elif test -n "$PKG_CONFIG"; then
 
16035
    if test -n "$PKG_CONFIG" && \
 
16036
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
16037
    dbus-1
 
16038
\""; } >&5
 
16039
  ($PKG_CONFIG --exists --print-errors "
 
16040
    dbus-1
 
16041
") 2>&5
 
16042
  ac_status=$?
 
16043
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16044
  test $ac_status = 0; }; then
 
16045
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "
 
16046
    dbus-1
 
16047
" 2>/dev/null`
 
16048
else
 
16049
  pkg_failed=yes
 
16050
fi
 
16051
 else
 
16052
    pkg_failed=untried
 
16053
fi
 
16054
if test -n "$DBUS_LIBS"; then
 
16055
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
 
16056
 elif test -n "$PKG_CONFIG"; then
 
16057
    if test -n "$PKG_CONFIG" && \
 
16058
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
16059
    dbus-1
 
16060
\""; } >&5
 
16061
  ($PKG_CONFIG --exists --print-errors "
 
16062
    dbus-1
 
16063
") 2>&5
 
16064
  ac_status=$?
 
16065
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16066
  test $ac_status = 0; }; then
 
16067
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "
 
16068
    dbus-1
 
16069
" 2>/dev/null`
 
16070
else
 
16071
  pkg_failed=yes
 
16072
fi
 
16073
 else
 
16074
    pkg_failed=untried
 
16075
fi
 
16076
 
 
16077
 
 
16078
 
 
16079
if test $pkg_failed = yes; then
 
16080
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16081
$as_echo "no" >&6; }
 
16082
 
 
16083
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16084
        _pkg_short_errors_supported=yes
 
16085
else
 
16086
        _pkg_short_errors_supported=no
 
16087
fi
 
16088
        if test $_pkg_short_errors_supported = yes; then
 
16089
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
16090
    dbus-1
 
16091
" 2>&1`
 
16092
        else
 
16093
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
16094
    dbus-1
 
16095
" 2>&1`
 
16096
        fi
 
16097
        # Put the nasty error message in config.log where it belongs
 
16098
        echo "$DBUS_PKG_ERRORS" >&5
 
16099
 
 
16100
        as_fn_error $? "Package requirements (
 
16101
    dbus-1
 
16102
) were not met:
 
16103
 
 
16104
$DBUS_PKG_ERRORS
 
16105
 
 
16106
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
16107
installed software in a non-standard prefix.
 
16108
 
 
16109
Alternatively, you may set the environment variables DBUS_CFLAGS
 
16110
and DBUS_LIBS to avoid the need to call pkg-config.
 
16111
See the pkg-config man page for more details." "$LINENO" 5
 
16112
 
 
16113
elif test $pkg_failed = untried; then
 
16114
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16115
$as_echo "no" >&6; }
 
16116
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
16117
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
16118
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
16119
is in your PATH or set the PKG_CONFIG environment variable to the full
 
16120
path to pkg-config.
 
16121
 
 
16122
Alternatively, you may set the environment variables DBUS_CFLAGS
 
16123
and DBUS_LIBS to avoid the need to call pkg-config.
 
16124
See the pkg-config man page for more details.
 
16125
 
 
16126
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
16127
See \`config.log' for more details" "$LINENO" 5; }
 
16128
 
 
16129
else
 
16130
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
 
16131
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
 
16132
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16133
$as_echo "yes" >&6; }
 
16134
 
 
16135
fi
 
16136
 
 
16137
# --disable-gconf option.
 
16138
# Check whether --enable-gconf was given.
 
16139
if test "${enable_gconf+set}" = set; then :
 
16140
  enableval=$enable_gconf; enable_gconf=$enableval
 
16141
else
 
16142
  enable_gconf=yes
 
16143
 
 
16144
fi
 
16145
 
 
16146
 if test x"$enable_gconf" = x"yes"; then
 
16147
  ENABLE_GCONF_TRUE=
 
16148
  ENABLE_GCONF_FALSE='#'
 
16149
else
 
16150
  ENABLE_GCONF_TRUE='#'
 
16151
  ENABLE_GCONF_FALSE=
 
16152
fi
 
16153
 
 
16154
 
 
16155
if test x"$enable_gconf" = x"yes"; then
 
16156
    # check gconf
 
16157
 
 
16158
pkg_failed=no
 
16159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
 
16160
$as_echo_n "checking for GCONF... " >&6; }
 
16161
 
 
16162
if test -n "$GCONF_CFLAGS"; then
 
16163
    pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
 
16164
 elif test -n "$PKG_CONFIG"; then
 
16165
    if test -n "$PKG_CONFIG" && \
 
16166
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.12\""; } >&5
 
16167
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.12") 2>&5
 
16168
  ac_status=$?
 
16169
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16170
  test $ac_status = 0; }; then
 
16171
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.12" 2>/dev/null`
 
16172
else
 
16173
  pkg_failed=yes
 
16174
fi
 
16175
 else
 
16176
    pkg_failed=untried
 
16177
fi
 
16178
if test -n "$GCONF_LIBS"; then
 
16179
    pkg_cv_GCONF_LIBS="$GCONF_LIBS"
 
16180
 elif test -n "$PKG_CONFIG"; then
 
16181
    if test -n "$PKG_CONFIG" && \
 
16182
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.12\""; } >&5
 
16183
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.12") 2>&5
 
16184
  ac_status=$?
 
16185
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16186
  test $ac_status = 0; }; then
 
16187
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.12" 2>/dev/null`
 
16188
else
 
16189
  pkg_failed=yes
 
16190
fi
 
16191
 else
 
16192
    pkg_failed=untried
 
16193
fi
 
16194
 
 
16195
 
 
16196
 
 
16197
if test $pkg_failed = yes; then
 
16198
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16199
$as_echo "no" >&6; }
 
16200
 
 
16201
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16202
        _pkg_short_errors_supported=yes
 
16203
else
 
16204
        _pkg_short_errors_supported=no
 
16205
fi
 
16206
        if test $_pkg_short_errors_supported = yes; then
 
16207
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0 >= 2.12" 2>&1`
 
16208
        else
 
16209
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0 >= 2.12" 2>&1`
 
16210
        fi
 
16211
        # Put the nasty error message in config.log where it belongs
 
16212
        echo "$GCONF_PKG_ERRORS" >&5
 
16213
 
 
16214
        as_fn_error $? "Package requirements (gconf-2.0 >= 2.12) were not met:
 
16215
 
 
16216
$GCONF_PKG_ERRORS
 
16217
 
 
16218
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
16219
installed software in a non-standard prefix.
 
16220
 
 
16221
Alternatively, you may set the environment variables GCONF_CFLAGS
 
16222
and GCONF_LIBS to avoid the need to call pkg-config.
 
16223
See the pkg-config man page for more details." "$LINENO" 5
 
16224
 
 
16225
elif test $pkg_failed = untried; then
 
16226
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16227
$as_echo "no" >&6; }
 
16228
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
16229
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
16230
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
16231
is in your PATH or set the PKG_CONFIG environment variable to the full
 
16232
path to pkg-config.
 
16233
 
 
16234
Alternatively, you may set the environment variables GCONF_CFLAGS
 
16235
and GCONF_LIBS to avoid the need to call pkg-config.
 
16236
See the pkg-config man page for more details.
 
16237
 
 
16238
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
16239
See \`config.log' for more details" "$LINENO" 5; }
 
16240
 
 
16241
else
 
16242
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
 
16243
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
 
16244
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16245
$as_echo "yes" >&6; }
 
16246
 
 
16247
fi
 
16248
 
 
16249
    # Extract the first word of "gconftool-2", so it can be a program name with args.
 
16250
set dummy gconftool-2; ac_word=$2
 
16251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16252
$as_echo_n "checking for $ac_word... " >&6; }
 
16253
if ${ac_cv_path_GCONFTOOL+:} false; then :
 
16254
  $as_echo_n "(cached) " >&6
 
16255
else
 
16256
  case $GCONFTOOL in
 
16257
  [\\/]* | ?:[\\/]*)
 
16258
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
 
16259
  ;;
 
16260
  *)
 
16261
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16262
for as_dir in $PATH
 
16263
do
 
16264
  IFS=$as_save_IFS
 
16265
  test -z "$as_dir" && as_dir=.
 
16266
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16268
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
 
16269
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16270
    break 2
 
16271
  fi
 
16272
done
 
16273
  done
 
16274
IFS=$as_save_IFS
 
16275
 
 
16276
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
 
16277
  ;;
 
16278
esac
 
16279
fi
 
16280
GCONFTOOL=$ac_cv_path_GCONFTOOL
 
16281
if test -n "$GCONFTOOL"; then
 
16282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
 
16283
$as_echo "$GCONFTOOL" >&6; }
 
16284
else
 
16285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16286
$as_echo "no" >&6; }
 
16287
fi
 
16288
 
 
16289
 
 
16290
    if test x"$GCONFTOOL" = xno; then
 
16291
        as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
 
16292
    fi
 
16293
 
 
16294
 
 
16295
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
 
16296
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 
16297
  else
 
16298
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
 
16299
  fi
 
16300
 
 
16301
 
 
16302
# Check whether --with-gconf-source was given.
 
16303
if test "${with_gconf_source+set}" = set; then :
 
16304
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
 
16305
fi
 
16306
 
 
16307
 
 
16308
 
 
16309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
16310
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
 
16311
 
 
16312
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
 
16313
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
 
16314
  fi
 
16315
 
 
16316
 
 
16317
# Check whether --with-gconf-schema-file-dir was given.
 
16318
if test "${with_gconf_schema_file_dir+set}" = set; then :
 
16319
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
 
16320
fi
 
16321
 
 
16322
 
 
16323
 
 
16324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
16325
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
 
16326
 
 
16327
  # Check whether --enable-schemas-install was given.
 
16328
if test "${enable_schemas_install+set}" = set; then :
 
16329
  enableval=$enable_schemas_install; case ${enableval} in
 
16330
       yes|no) ;;
 
16331
       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
 
16332
      esac
 
16333
fi
 
16334
 
 
16335
   if test "$enable_schemas_install" != no; then
 
16336
  GCONF_SCHEMAS_INSTALL_TRUE=
 
16337
  GCONF_SCHEMAS_INSTALL_FALSE='#'
 
16338
else
 
16339
  GCONF_SCHEMAS_INSTALL_TRUE='#'
 
16340
  GCONF_SCHEMAS_INSTALL_FALSE=
 
16341
fi
 
16342
 
 
16343
 
 
16344
    # GCONF_SCHEMAS_INSTALL should be set in macro AM_GCONF_SOURCE_2
 
16345
else
 
16346
     if false; then
 
16347
  GCONF_SCHEMAS_INSTALL_TRUE=
 
16348
  GCONF_SCHEMAS_INSTALL_FALSE='#'
 
16349
else
 
16350
  GCONF_SCHEMAS_INSTALL_TRUE='#'
 
16351
  GCONF_SCHEMAS_INSTALL_FALSE=
 
16352
fi
 
16353
 
 
16354
    enable_gconf="no (disabled, use --enable-gconf to enable)"
 
16355
fi
 
16356
 
 
16357
# --enable-memconf option.
 
16358
# Check whether --enable-memconf was given.
 
16359
if test "${enable_memconf+set}" = set; then :
 
16360
  enableval=$enable_memconf; enable_memconf=$enableval
 
16361
else
 
16362
  enable_memconf=no
 
16363
 
 
16364
fi
 
16365
 
 
16366
 if test "x$enable_memconf" = "xyes"; then
 
16367
  ENABLE_MEMCONF_TRUE=
 
16368
  ENABLE_MEMCONF_FALSE='#'
 
16369
else
 
16370
  ENABLE_MEMCONF_TRUE='#'
 
16371
  ENABLE_MEMCONF_FALSE=
 
16372
fi
 
16373
 
 
16374
 
 
16375
# Check whether --enable-dconf was given.
 
16376
if test "${enable_dconf+set}" = set; then :
 
16377
  enableval=$enable_dconf; enable_dconf=$enableval
 
16378
else
 
16379
  enable_dconf=no
 
16380
 
 
16381
fi
 
16382
 
 
16383
 
 
16384
if test x"$enable_dconf" = x"yes"; then
 
16385
    # check dconf
 
16386
 
 
16387
pkg_failed=no
 
16388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DCONF" >&5
 
16389
$as_echo_n "checking for DCONF... " >&6; }
 
16390
 
 
16391
if test -n "$DCONF_CFLAGS"; then
 
16392
    pkg_cv_DCONF_CFLAGS="$DCONF_CFLAGS"
 
16393
 elif test -n "$PKG_CONFIG"; then
 
16394
    if test -n "$PKG_CONFIG" && \
 
16395
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5
 
16396
  ($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5
 
16397
  ac_status=$?
 
16398
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16399
  test $ac_status = 0; }; then
 
16400
  pkg_cv_DCONF_CFLAGS=`$PKG_CONFIG --cflags "dconf >= 0.7.5" 2>/dev/null`
 
16401
else
 
16402
  pkg_failed=yes
 
16403
fi
 
16404
 else
 
16405
    pkg_failed=untried
 
16406
fi
 
16407
if test -n "$DCONF_LIBS"; then
 
16408
    pkg_cv_DCONF_LIBS="$DCONF_LIBS"
 
16409
 elif test -n "$PKG_CONFIG"; then
 
16410
    if test -n "$PKG_CONFIG" && \
 
16411
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5
 
16412
  ($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5
 
16413
  ac_status=$?
 
16414
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16415
  test $ac_status = 0; }; then
 
16416
  pkg_cv_DCONF_LIBS=`$PKG_CONFIG --libs "dconf >= 0.7.5" 2>/dev/null`
 
16417
else
 
16418
  pkg_failed=yes
 
16419
fi
 
16420
 else
 
16421
    pkg_failed=untried
 
16422
fi
 
16423
 
 
16424
 
 
16425
 
 
16426
if test $pkg_failed = yes; then
 
16427
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16428
$as_echo "no" >&6; }
 
16429
 
 
16430
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16431
        _pkg_short_errors_supported=yes
 
16432
else
 
16433
        _pkg_short_errors_supported=no
 
16434
fi
 
16435
        if test $_pkg_short_errors_supported = yes; then
 
16436
                DCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dconf >= 0.7.5" 2>&1`
 
16437
        else
 
16438
                DCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "dconf >= 0.7.5" 2>&1`
 
16439
        fi
 
16440
        # Put the nasty error message in config.log where it belongs
 
16441
        echo "$DCONF_PKG_ERRORS" >&5
 
16442
 
 
16443
        enable_dconf=no
 
16444
 
 
16445
elif test $pkg_failed = untried; then
 
16446
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16447
$as_echo "no" >&6; }
 
16448
        enable_dconf=no
 
16449
 
 
16450
else
 
16451
        DCONF_CFLAGS=$pkg_cv_DCONF_CFLAGS
 
16452
        DCONF_LIBS=$pkg_cv_DCONF_LIBS
 
16453
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16454
$as_echo "yes" >&6; }
 
16455
 
 
16456
fi
 
16457
    # check glib-compile-schemas
 
16458
 
 
16459
 
 
16460
  # Check whether --enable-schemas-compile was given.
 
16461
if test "${enable_schemas_compile+set}" = set; then :
 
16462
  enableval=$enable_schemas_compile; case ${enableval} in
 
16463
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
16464
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
16465
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
 
16466
                 esac
 
16467
fi
 
16468
 
 
16469
 
 
16470
 
 
16471
 
 
16472
 
 
16473
 
 
16474
 
 
16475
 
 
16476
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
16477
        if test -n "$ac_tool_prefix"; then
 
16478
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
16479
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
16480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16481
$as_echo_n "checking for $ac_word... " >&6; }
 
16482
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
16483
  $as_echo_n "(cached) " >&6
 
16484
else
 
16485
  case $PKG_CONFIG in
 
16486
  [\\/]* | ?:[\\/]*)
 
16487
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
16488
  ;;
 
16489
  *)
 
16490
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16491
for as_dir in $PATH
 
16492
do
 
16493
  IFS=$as_save_IFS
 
16494
  test -z "$as_dir" && as_dir=.
 
16495
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16496
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16497
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
16498
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16499
    break 2
 
16500
  fi
 
16501
done
 
16502
  done
 
16503
IFS=$as_save_IFS
 
16504
 
 
16505
  ;;
 
16506
esac
 
16507
fi
 
16508
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
16509
if test -n "$PKG_CONFIG"; then
 
16510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
16511
$as_echo "$PKG_CONFIG" >&6; }
 
16512
else
 
16513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16514
$as_echo "no" >&6; }
 
16515
fi
 
16516
 
 
16517
 
 
16518
fi
 
16519
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
16520
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
16521
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
16522
set dummy pkg-config; ac_word=$2
 
16523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16524
$as_echo_n "checking for $ac_word... " >&6; }
 
16525
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
16526
  $as_echo_n "(cached) " >&6
 
16527
else
 
16528
  case $ac_pt_PKG_CONFIG in
 
16529
  [\\/]* | ?:[\\/]*)
 
16530
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
16531
  ;;
 
16532
  *)
 
16533
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16534
for as_dir in $PATH
 
16535
do
 
16536
  IFS=$as_save_IFS
 
16537
  test -z "$as_dir" && as_dir=.
 
16538
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16540
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
16541
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16542
    break 2
 
16543
  fi
 
16544
done
 
16545
  done
 
16546
IFS=$as_save_IFS
 
16547
 
 
16548
  ;;
 
16549
esac
 
16550
fi
 
16551
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
16552
if test -n "$ac_pt_PKG_CONFIG"; then
 
16553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
16554
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
16555
else
 
16556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16557
$as_echo "no" >&6; }
 
16558
fi
 
16559
 
 
16560
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
16561
    PKG_CONFIG=""
 
16562
  else
 
16563
    case $cross_compiling:$ac_tool_warned in
 
16564
yes:)
 
16565
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
16566
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
16567
ac_tool_warned=yes ;;
 
16568
esac
 
16569
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
16570
  fi
 
16571
else
 
16572
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
16573
fi
 
16574
 
 
16575
fi
 
16576
if test -n "$PKG_CONFIG"; then
 
16577
        _pkg_min_version=0.16
 
16578
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
16579
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
16580
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
16581
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16582
$as_echo "yes" >&6; }
 
16583
        else
 
16584
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16585
$as_echo "no" >&6; }
 
16586
                PKG_CONFIG=""
 
16587
        fi
 
16588
fi
 
16589
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
16590
 
 
16591
  if test x$cross_compiling != xyes; then
 
16592
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
16593
  else
 
16594
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
16595
set dummy glib-compile-schemas; ac_word=$2
 
16596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16597
$as_echo_n "checking for $ac_word... " >&6; }
 
16598
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
 
16599
  $as_echo_n "(cached) " >&6
 
16600
else
 
16601
  case $GLIB_COMPILE_SCHEMAS in
 
16602
  [\\/]* | ?:[\\/]*)
 
16603
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
16604
  ;;
 
16605
  *)
 
16606
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16607
for as_dir in $PATH
 
16608
do
 
16609
  IFS=$as_save_IFS
 
16610
  test -z "$as_dir" && as_dir=.
 
16611
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16612
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16613
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
16614
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16615
    break 2
 
16616
  fi
 
16617
done
 
16618
  done
 
16619
IFS=$as_save_IFS
 
16620
 
 
16621
  ;;
 
16622
esac
 
16623
fi
 
16624
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
16625
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
16626
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
16627
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
16628
else
 
16629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16630
$as_echo "no" >&6; }
 
16631
fi
 
16632
 
 
16633
 
 
16634
  fi
 
16635
 
 
16636
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
16637
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
 
16638
  else
 
16639
    :
 
16640
  fi
 
16641
 
 
16642
  GSETTINGS_RULES='
 
16643
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
16644
 
 
16645
mostlyclean-am: clean-gsettings-schemas
 
16646
 
 
16647
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
16648
 
 
16649
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
16650
        $(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 $@
 
16651
 
 
16652
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
16653
uninstall-am: uninstall-gsettings-schemas
 
16654
install-data-am: install-gsettings-schemas
 
16655
 
 
16656
.SECONDARY: $(gsettings_SCHEMAS)
 
16657
 
 
16658
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
16659
        @$(NORMAL_INSTALL)
 
16660
        if test -n "$^"; then \
 
16661
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
16662
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
16663
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
16664
        fi
 
16665
 
 
16666
uninstall-gsettings-schemas:
 
16667
        @$(NORMAL_UNINSTALL)
 
16668
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
16669
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
16670
        test -n "$$files" || exit 0; \
 
16671
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
16672
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
16673
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
16674
 
 
16675
clean-gsettings-schemas:
 
16676
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
16677
 
 
16678
ifdef gsettings_ENUM_NAMESPACE
 
16679
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
16680
        $(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 $@
 
16681
endif
 
16682
'
 
16683
 
 
16684
 
 
16685
 
 
16686
 
 
16687
 
 
16688
 
 
16689
fi
 
16690
 if test x"$enable_dconf" = x"yes"; then
 
16691
  ENABLE_DCONF_TRUE=
 
16692
  ENABLE_DCONF_FALSE='#'
 
16693
else
 
16694
  ENABLE_DCONF_TRUE='#'
 
16695
  ENABLE_DCONF_FALSE=
 
16696
fi
 
16697
 
 
16698
 
 
16699
# Check env.
 
16700
# Extract the first word of "env", so it can be a program name with args.
 
16701
set dummy env; ac_word=$2
 
16702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16703
$as_echo_n "checking for $ac_word... " >&6; }
 
16704
if ${ac_cv_path_ENV_IBUS_TEST+:} false; then :
 
16705
  $as_echo_n "(cached) " >&6
 
16706
else
 
16707
  case $ENV_IBUS_TEST in
 
16708
  [\\/]* | ?:[\\/]*)
 
16709
  ac_cv_path_ENV_IBUS_TEST="$ENV_IBUS_TEST" # Let the user override the test with a path.
 
16710
  ;;
 
16711
  *)
 
16712
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16713
for as_dir in $PATH
 
16714
do
 
16715
  IFS=$as_save_IFS
 
16716
  test -z "$as_dir" && as_dir=.
 
16717
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16719
    ac_cv_path_ENV_IBUS_TEST="$as_dir/$ac_word$ac_exec_ext"
 
16720
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16721
    break 2
 
16722
  fi
 
16723
done
 
16724
  done
 
16725
IFS=$as_save_IFS
 
16726
 
 
16727
  ;;
 
16728
esac
 
16729
fi
 
16730
ENV_IBUS_TEST=$ac_cv_path_ENV_IBUS_TEST
 
16731
if test -n "$ENV_IBUS_TEST"; then
 
16732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENV_IBUS_TEST" >&5
 
16733
$as_echo "$ENV_IBUS_TEST" >&6; }
 
16734
else
 
16735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16736
$as_echo "no" >&6; }
 
16737
fi
 
16738
 
 
16739
 
 
16740
 
 
16741
 
 
16742
# Check whether --enable-python was given.
 
16743
if test "${enable_python+set}" = set; then :
 
16744
  enableval=$enable_python; enable_python=$enableval
 
16745
else
 
16746
  enable_python=yes
 
16747
 
 
16748
fi
 
16749
 
 
16750
 
 
16751
 if test x"$enable_python" = x"yes"; then
 
16752
  ENABLE_PYTHON_TRUE=
 
16753
  ENABLE_PYTHON_FALSE='#'
 
16754
else
 
16755
  ENABLE_PYTHON_TRUE='#'
 
16756
  ENABLE_PYTHON_FALSE=
 
16757
fi
 
16758
 
 
16759
 if true; then
 
16760
  ENABLE_DAEMON_TRUE=
 
16761
  ENABLE_DAEMON_FALSE='#'
 
16762
else
 
16763
  ENABLE_DAEMON_TRUE='#'
 
16764
  ENABLE_DAEMON_FALSE=
 
16765
fi
 
16766
 
 
16767
 
 
16768
if test x"$enable_python" = x"yes"; then
 
16769
    # Check python.
 
16770
 
 
16771
 
 
16772
 
 
16773
 
 
16774
        if test -n "$PYTHON"; then
 
16775
      # If the user set $PYTHON, use it and don't search something else.
 
16776
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
 
16777
$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
 
16778
      prog="import sys
 
16779
# split strings by '.' and convert to numeric.  Append some zeros
 
16780
# because we need at least 4 digits for the hex conversion.
 
16781
# map returns an iterator in Python 3.0 and a list in 2.x
 
16782
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
 
16783
minverhex = 0
 
16784
# xrange is not present in Python 3.0 and range returns an iterator
 
16785
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
 
16786
sys.exit(sys.hexversion < minverhex)"
 
16787
  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
 
16788
   ($PYTHON -c "$prog") >&5 2>&5
 
16789
   ac_status=$?
 
16790
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16791
   (exit $ac_status); }; then :
 
16792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16793
$as_echo "yes" >&6; }
 
16794
else
 
16795
  as_fn_error $? "too old" "$LINENO" 5
 
16796
fi
 
16797
      am_display_PYTHON=$PYTHON
 
16798
    else
 
16799
      # Otherwise, try each interpreter until we find one that satisfies
 
16800
      # VERSION.
 
16801
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
 
16802
$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
 
16803
if ${am_cv_pathless_PYTHON+:} false; then :
 
16804
  $as_echo_n "(cached) " >&6
 
16805
else
 
16806
 
 
16807
        for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
 
16808
          test "$am_cv_pathless_PYTHON" = none && break
 
16809
          prog="import sys
 
16810
# split strings by '.' and convert to numeric.  Append some zeros
 
16811
# because we need at least 4 digits for the hex conversion.
 
16812
# map returns an iterator in Python 3.0 and a list in 2.x
 
16813
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
 
16814
minverhex = 0
 
16815
# xrange is not present in Python 3.0 and range returns an iterator
 
16816
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
 
16817
sys.exit(sys.hexversion < minverhex)"
 
16818
  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
 
16819
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
 
16820
   ac_status=$?
 
16821
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16822
   (exit $ac_status); }; then :
 
16823
  break
 
16824
fi
 
16825
        done
 
16826
fi
 
16827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
 
16828
$as_echo "$am_cv_pathless_PYTHON" >&6; }
 
16829
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
 
16830
      if test "$am_cv_pathless_PYTHON" = none; then
 
16831
        PYTHON=:
 
16832
      else
 
16833
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
 
16834
set dummy $am_cv_pathless_PYTHON; ac_word=$2
 
16835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16836
$as_echo_n "checking for $ac_word... " >&6; }
 
16837
if ${ac_cv_path_PYTHON+:} false; then :
 
16838
  $as_echo_n "(cached) " >&6
 
16839
else
 
16840
  case $PYTHON in
 
16841
  [\\/]* | ?:[\\/]*)
 
16842
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
16843
  ;;
 
16844
  *)
 
16845
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16846
for as_dir in $PATH
 
16847
do
 
16848
  IFS=$as_save_IFS
 
16849
  test -z "$as_dir" && as_dir=.
 
16850
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16851
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16852
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
16853
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16854
    break 2
 
16855
  fi
 
16856
done
 
16857
  done
 
16858
IFS=$as_save_IFS
 
16859
 
 
16860
  ;;
 
16861
esac
 
16862
fi
 
16863
PYTHON=$ac_cv_path_PYTHON
 
16864
if test -n "$PYTHON"; then
 
16865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
16866
$as_echo "$PYTHON" >&6; }
 
16867
else
 
16868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16869
$as_echo "no" >&6; }
 
16870
fi
 
16871
 
 
16872
 
 
16873
      fi
 
16874
      am_display_PYTHON=$am_cv_pathless_PYTHON
 
16875
    fi
 
16876
 
 
16877
 
 
16878
  if test "$PYTHON" = :; then
 
16879
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
 
16880
  else
 
16881
 
 
16882
 
 
16883
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
16884
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
16885
if ${am_cv_python_version+:} false; then :
 
16886
  $as_echo_n "(cached) " >&6
 
16887
else
 
16888
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
 
16889
fi
 
16890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
16891
$as_echo "$am_cv_python_version" >&6; }
 
16892
  PYTHON_VERSION=$am_cv_python_version
 
16893
 
 
16894
 
 
16895
 
 
16896
  PYTHON_PREFIX='${prefix}'
 
16897
 
 
16898
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
16899
 
 
16900
 
 
16901
 
 
16902
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
16903
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
16904
if ${am_cv_python_platform+:} false; then :
 
16905
  $as_echo_n "(cached) " >&6
 
16906
else
 
16907
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
 
16908
fi
 
16909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
16910
$as_echo "$am_cv_python_platform" >&6; }
 
16911
  PYTHON_PLATFORM=$am_cv_python_platform
 
16912
 
 
16913
 
 
16914
 
 
16915
 
 
16916
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
16917
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
16918
if ${am_cv_python_pythondir+:} false; then :
 
16919
  $as_echo_n "(cached) " >&6
 
16920
else
 
16921
  if test "x$prefix" = xNONE
 
16922
     then
 
16923
       am_py_prefix=$ac_default_prefix
 
16924
     else
 
16925
       am_py_prefix=$prefix
 
16926
     fi
 
16927
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
 
16928
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
16929
     case $am_cv_python_pythondir in
 
16930
     $am_py_prefix*)
 
16931
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
16932
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
16933
       ;;
 
16934
     *)
 
16935
       case $am_py_prefix in
 
16936
         /usr|/System*) ;;
 
16937
         *)
 
16938
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
16939
          ;;
 
16940
       esac
 
16941
       ;;
 
16942
     esac
 
16943
 
 
16944
fi
 
16945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
16946
$as_echo "$am_cv_python_pythondir" >&6; }
 
16947
  pythondir=$am_cv_python_pythondir
 
16948
 
 
16949
 
 
16950
 
 
16951
  pkgpythondir=\${pythondir}/$PACKAGE
 
16952
 
 
16953
 
 
16954
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
16955
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
16956
if ${am_cv_python_pyexecdir+:} false; then :
 
16957
  $as_echo_n "(cached) " >&6
 
16958
else
 
16959
  if test "x$exec_prefix" = xNONE
 
16960
     then
 
16961
       am_py_exec_prefix=$am_py_prefix
 
16962
     else
 
16963
       am_py_exec_prefix=$exec_prefix
 
16964
     fi
 
16965
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
 
16966
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
16967
     case $am_cv_python_pyexecdir in
 
16968
     $am_py_exec_prefix*)
 
16969
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
16970
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
16971
       ;;
 
16972
     *)
 
16973
       case $am_py_exec_prefix in
 
16974
         /usr|/System*) ;;
 
16975
         *)
 
16976
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
16977
           ;;
 
16978
       esac
 
16979
       ;;
 
16980
     esac
 
16981
 
 
16982
fi
 
16983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
16984
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
16985
  pyexecdir=$am_cv_python_pyexecdir
 
16986
 
 
16987
 
 
16988
 
 
16989
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
16990
 
 
16991
 
 
16992
 
 
16993
  fi
 
16994
 
 
16995
 
 
16996
    # Extract the first word of "python$PYTHON_VERSION-config", so it can be a program name with args.
 
16997
set dummy python$PYTHON_VERSION-config; ac_word=$2
 
16998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16999
$as_echo_n "checking for $ac_word... " >&6; }
 
17000
if ${ac_cv_path_PYTHON_CONFIG+:} false; then :
 
17001
  $as_echo_n "(cached) " >&6
 
17002
else
 
17003
  case $PYTHON_CONFIG in
 
17004
  [\\/]* | ?:[\\/]*)
 
17005
  ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
 
17006
  ;;
 
17007
  *)
 
17008
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17009
for as_dir in $PATH
 
17010
do
 
17011
  IFS=$as_save_IFS
 
17012
  test -z "$as_dir" && as_dir=.
 
17013
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17014
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17015
    ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
17016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17017
    break 2
 
17018
  fi
 
17019
done
 
17020
  done
 
17021
IFS=$as_save_IFS
 
17022
 
 
17023
  ;;
 
17024
esac
 
17025
fi
 
17026
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
 
17027
if test -n "$PYTHON_CONFIG"; then
 
17028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
 
17029
$as_echo "$PYTHON_CONFIG" >&6; }
 
17030
else
 
17031
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17032
$as_echo "no" >&6; }
 
17033
fi
 
17034
 
 
17035
 
 
17036
    if test x"$PYTHON_CONFIG" = x""; then
 
17037
        # Extract the first word of "python-config", so it can be a program name with args.
 
17038
set dummy python-config; ac_word=$2
 
17039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17040
$as_echo_n "checking for $ac_word... " >&6; }
 
17041
if ${ac_cv_path_PYTHON_CONFIG+:} false; then :
 
17042
  $as_echo_n "(cached) " >&6
 
17043
else
 
17044
  case $PYTHON_CONFIG in
 
17045
  [\\/]* | ?:[\\/]*)
 
17046
  ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
 
17047
  ;;
 
17048
  *)
 
17049
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17050
for as_dir in $PATH
 
17051
do
 
17052
  IFS=$as_save_IFS
 
17053
  test -z "$as_dir" && as_dir=.
 
17054
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17055
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17056
    ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
17057
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17058
    break 2
 
17059
  fi
 
17060
done
 
17061
  done
 
17062
IFS=$as_save_IFS
 
17063
 
 
17064
  ;;
 
17065
esac
 
17066
fi
 
17067
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
 
17068
if test -n "$PYTHON_CONFIG"; then
 
17069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
 
17070
$as_echo "$PYTHON_CONFIG" >&6; }
 
17071
else
 
17072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17073
$as_echo "no" >&6; }
 
17074
fi
 
17075
 
 
17076
 
 
17077
    fi
 
17078
    if test x"$PYTHON_CONFIG" != x""; then
 
17079
        PYTHON_CFLAGS=`$PYTHON_CONFIG --includes`
 
17080
        PYTHON_LIBS=`$PYTHON_CONFIG --libs`
 
17081
    else
 
17082
        PYTHON_CFLAGS=`$PYTHON $srcdir/python-config.py --includes`
 
17083
        PYTHON_LIBS=`$PYTHON $srcdir/python-config.py --libs`
 
17084
    fi
 
17085
    PYTHON_INCLUDES="$PYTHON_CFLAGS"
 
17086
 
 
17087
 
 
17088
 
 
17089
else
 
17090
    enable_python="no (disabled, use --enable-python to enable)"
 
17091
fi
 
17092
 
 
17093
# Define gtk2 immodule dir.
 
17094
 
 
17095
# Check whether --with-gtk2-im-module-dir was given.
 
17096
if test "${with_gtk2_im_module_dir+set}" = set; then :
 
17097
  withval=$with_gtk2_im_module_dir; GTK2_IM_MODULEDIR=$with_gtk2_im_module_dir
 
17098
 
 
17099
fi
 
17100
 
 
17101
 
 
17102
 
 
17103
# Define gtk3 immodule dir.
 
17104
 
 
17105
# Check whether --with-gtk3-im-module-dir was given.
 
17106
if test "${with_gtk3_im_module_dir+set}" = set; then :
 
17107
  withval=$with_gtk3_im_module_dir; GTK3_IM_MODULEDIR=$with_gtk3_im_module_dir
 
17108
 
 
17109
fi
 
17110
 
 
17111
 
 
17112
 
 
17113
if test x"$enable_python" = x"yes"; then
 
17114
    # Check for dbus-python.
 
17115
    # Check whether --enable-dbus-python-check was given.
 
17116
if test "${enable_dbus_python_check+set}" = set; then :
 
17117
  enableval=$enable_dbus_python_check; enable_dbus_python_check=$enableval
 
17118
else
 
17119
  enable_dbus_python_check=yes
 
17120
 
 
17121
fi
 
17122
 
 
17123
 
 
17124
pkg_failed=no
 
17125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_PYTHON" >&5
 
17126
$as_echo_n "checking for DBUS_PYTHON... " >&6; }
 
17127
 
 
17128
if test -n "$DBUS_PYTHON_CFLAGS"; then
 
17129
    pkg_cv_DBUS_PYTHON_CFLAGS="$DBUS_PYTHON_CFLAGS"
 
17130
 elif test -n "$PKG_CONFIG"; then
 
17131
    if test -n "$PKG_CONFIG" && \
 
17132
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5
 
17133
  ($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5
 
17134
  ac_status=$?
 
17135
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17136
  test $ac_status = 0; }; then
 
17137
  pkg_cv_DBUS_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "dbus-python >= 0.83.0" 2>/dev/null`
 
17138
else
 
17139
  pkg_failed=yes
 
17140
fi
 
17141
 else
 
17142
    pkg_failed=untried
 
17143
fi
 
17144
if test -n "$DBUS_PYTHON_LIBS"; then
 
17145
    pkg_cv_DBUS_PYTHON_LIBS="$DBUS_PYTHON_LIBS"
 
17146
 elif test -n "$PKG_CONFIG"; then
 
17147
    if test -n "$PKG_CONFIG" && \
 
17148
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5
 
17149
  ($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5
 
17150
  ac_status=$?
 
17151
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17152
  test $ac_status = 0; }; then
 
17153
  pkg_cv_DBUS_PYTHON_LIBS=`$PKG_CONFIG --libs "dbus-python >= 0.83.0" 2>/dev/null`
 
17154
else
 
17155
  pkg_failed=yes
 
17156
fi
 
17157
 else
 
17158
    pkg_failed=untried
 
17159
fi
 
17160
 
 
17161
 
 
17162
 
 
17163
if test $pkg_failed = yes; then
 
17164
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17165
$as_echo "no" >&6; }
 
17166
 
 
17167
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17168
        _pkg_short_errors_supported=yes
 
17169
else
 
17170
        _pkg_short_errors_supported=no
 
17171
fi
 
17172
        if test $_pkg_short_errors_supported = yes; then
 
17173
                DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-python >= 0.83.0" 2>&1`
 
17174
        else
 
17175
                DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-python >= 0.83.0" 2>&1`
 
17176
        fi
 
17177
        # Put the nasty error message in config.log where it belongs
 
17178
        echo "$DBUS_PYTHON_PKG_ERRORS" >&5
 
17179
 
 
17180
        IBUS_HAS_DBUS_PYTHON=no
 
17181
 
 
17182
elif test $pkg_failed = untried; then
 
17183
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17184
$as_echo "no" >&6; }
 
17185
        IBUS_HAS_DBUS_PYTHON=no
 
17186
 
 
17187
else
 
17188
        DBUS_PYTHON_CFLAGS=$pkg_cv_DBUS_PYTHON_CFLAGS
 
17189
        DBUS_PYTHON_LIBS=$pkg_cv_DBUS_PYTHON_LIBS
 
17190
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17191
$as_echo "yes" >&6; }
 
17192
        IBUS_HAS_DBUS_PYTHON=yes
 
17193
fi
 
17194
    if test x"$IBUS_HAS_DBUS_PYTHON" != x"yes"; then
 
17195
        if test x"$enable_dbus_python_check" != x"no"; then
 
17196
            as_fn_error $? "can not find dbus-python >= 0.83.0. Please install or update dbus-python." "$LINENO" 5
 
17197
        else
 
17198
            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can not find dbus-python >= 0.83.0. It is required." >&5
 
17199
$as_echo "$as_me: WARNING: can not find dbus-python >= 0.83.0. It is required." >&2;}
 
17200
        fi
 
17201
    fi
 
17202
fi
 
17203
 
 
17204
# Option for always disable snooper applications.
 
17205
# Check whether --enable-key-snooper was given.
 
17206
if test "${enable_key_snooper+set}" = set; then :
 
17207
  enableval=$enable_key_snooper; enable_key_snooper=$enableval
 
17208
else
 
17209
  enable_key_snooper=yes
 
17210
 
 
17211
fi
 
17212
 
 
17213
if test x"$enable_key_snooper" = x"yes"; then
 
17214
 
 
17215
$as_echo "#define ENABLE_SNOOPER TRUE" >>confdefs.h
 
17216
 
 
17217
else
 
17218
 
 
17219
$as_echo "#define ENABLE_SNOOPER FALSE" >>confdefs.h
 
17220
 
 
17221
    enable_key_snooper="no (disabled, use --enable-key-snooper to enable)"
 
17222
fi
 
17223
 
 
17224
# Option for no snooper applications.
 
17225
 
 
17226
# Check whether --with-no-snooper-apps was given.
 
17227
if test "${with_no_snooper_apps+set}" = set; then :
 
17228
  withval=$with_no_snooper_apps; NO_SNOOPER_APPS=$with_no_snooper_apps
 
17229
else
 
17230
  NO_SNOOPER_APPS=.*chrome.*,.*chromium.*,firefox.*,Do.*
 
17231
 
 
17232
fi
 
17233
 
 
17234
 
 
17235
cat >>confdefs.h <<_ACEOF
 
17236
#define NO_SNOOPER_APPS "$NO_SNOOPER_APPS"
 
17237
_ACEOF
 
17238
 
 
17239
 
 
17240
# GNOME 3 uses the theme's icon.
 
17241
 
 
17242
# Check whether --with-panel-icon-keyboard was given.
 
17243
if test "${with_panel_icon_keyboard+set}" = set; then :
 
17244
  withval=$with_panel_icon_keyboard; if test x"$with_panel_icon_keyboard" = x"yes" -o \
 
17245
             x"$with_panel_icon_keyboard" = x; then
 
17246
         with_panel_icon_keyboard="input-keyboard-symbolic"
 
17247
     fi
 
17248
     if test x"$with_panel_icon_keyboard" = x"legacy"; then
 
17249
         with_panel_icon_keyboard="ibus-keyboard"
 
17250
     fi
 
17251
     IBUS_ICON_KEYBOARD=$with_panel_icon_keyboard
 
17252
 
 
17253
else
 
17254
  IBUS_ICON_KEYBOARD="input-keyboard-symbolic"
 
17255
 
 
17256
fi
 
17257
 
 
17258
 
 
17259
 
 
17260
# --enable-surrounding-text option.
 
17261
# Check whether --enable-surrounding-text was given.
 
17262
if test "${enable_surrounding_text+set}" = set; then :
 
17263
  enableval=$enable_surrounding_text; enable_surrounding_text=$enableval
 
17264
else
 
17265
  enable_surrounding_text=no
 
17266
 
 
17267
fi
 
17268
 
 
17269
if test x"$enable_surrounding_text" = x"yes"; then
 
17270
 
 
17271
$as_echo "#define ENABLE_SURROUNDING TRUE" >>confdefs.h
 
17272
 
 
17273
else
 
17274
    enable_surrounding_text="no (disabled, use --enable-surrounding-text to enable)"
 
17275
fi
 
17276
 
 
17277
# Check iso-codes.
 
17278
 
 
17279
pkg_failed=no
 
17280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISOCODES" >&5
 
17281
$as_echo_n "checking for ISOCODES... " >&6; }
 
17282
 
 
17283
if test -n "$ISOCODES_CFLAGS"; then
 
17284
    pkg_cv_ISOCODES_CFLAGS="$ISOCODES_CFLAGS"
 
17285
 elif test -n "$PKG_CONFIG"; then
 
17286
    if test -n "$PKG_CONFIG" && \
 
17287
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
17288
    iso-codes
 
17289
\""; } >&5
 
17290
  ($PKG_CONFIG --exists --print-errors "
 
17291
    iso-codes
 
17292
") 2>&5
 
17293
  ac_status=$?
 
17294
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17295
  test $ac_status = 0; }; then
 
17296
  pkg_cv_ISOCODES_CFLAGS=`$PKG_CONFIG --cflags "
 
17297
    iso-codes
 
17298
" 2>/dev/null`
 
17299
else
 
17300
  pkg_failed=yes
 
17301
fi
 
17302
 else
 
17303
    pkg_failed=untried
 
17304
fi
 
17305
if test -n "$ISOCODES_LIBS"; then
 
17306
    pkg_cv_ISOCODES_LIBS="$ISOCODES_LIBS"
 
17307
 elif test -n "$PKG_CONFIG"; then
 
17308
    if test -n "$PKG_CONFIG" && \
 
17309
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
17310
    iso-codes
 
17311
\""; } >&5
 
17312
  ($PKG_CONFIG --exists --print-errors "
 
17313
    iso-codes
 
17314
") 2>&5
 
17315
  ac_status=$?
 
17316
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17317
  test $ac_status = 0; }; then
 
17318
  pkg_cv_ISOCODES_LIBS=`$PKG_CONFIG --libs "
 
17319
    iso-codes
 
17320
" 2>/dev/null`
 
17321
else
 
17322
  pkg_failed=yes
 
17323
fi
 
17324
 else
 
17325
    pkg_failed=untried
 
17326
fi
 
17327
 
 
17328
 
 
17329
 
 
17330
if test $pkg_failed = yes; then
 
17331
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17332
$as_echo "no" >&6; }
 
17333
 
 
17334
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17335
        _pkg_short_errors_supported=yes
 
17336
else
 
17337
        _pkg_short_errors_supported=no
 
17338
fi
 
17339
        if test $_pkg_short_errors_supported = yes; then
 
17340
                ISOCODES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
17341
    iso-codes
 
17342
" 2>&1`
 
17343
        else
 
17344
                ISOCODES_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
17345
    iso-codes
 
17346
" 2>&1`
 
17347
        fi
 
17348
        # Put the nasty error message in config.log where it belongs
 
17349
        echo "$ISOCODES_PKG_ERRORS" >&5
 
17350
 
 
17351
        as_fn_error $? "Package requirements (
 
17352
    iso-codes
 
17353
) were not met:
 
17354
 
 
17355
$ISOCODES_PKG_ERRORS
 
17356
 
 
17357
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17358
installed software in a non-standard prefix.
 
17359
 
 
17360
Alternatively, you may set the environment variables ISOCODES_CFLAGS
 
17361
and ISOCODES_LIBS to avoid the need to call pkg-config.
 
17362
See the pkg-config man page for more details." "$LINENO" 5
 
17363
 
 
17364
elif test $pkg_failed = untried; then
 
17365
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17366
$as_echo "no" >&6; }
 
17367
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17368
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17369
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
17370
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17371
path to pkg-config.
 
17372
 
 
17373
Alternatively, you may set the environment variables ISOCODES_CFLAGS
 
17374
and ISOCODES_LIBS to avoid the need to call pkg-config.
 
17375
See the pkg-config man page for more details.
 
17376
 
 
17377
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17378
See \`config.log' for more details" "$LINENO" 5; }
 
17379
 
 
17380
else
 
17381
        ISOCODES_CFLAGS=$pkg_cv_ISOCODES_CFLAGS
 
17382
        ISOCODES_LIBS=$pkg_cv_ISOCODES_LIBS
 
17383
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17384
$as_echo "yes" >&6; }
 
17385
 
 
17386
fi
 
17387
ISOCODES_PREFIX=`pkg-config iso-codes --variable=prefix`
 
17388
 
 
17389
 
 
17390
# OUTPUT files
 
17391
ac_config_files="$ac_config_files po/Makefile.in Makefile ibus-1.0.pc ibus.spec xinput-ibus memconf/Makefile memconf/memconf.xml.in client/Makefile client/gtk2/Makefile client/gtk3/Makefile client/x11/Makefile src/Makefile src/ibusversion.h src/tests/Makefile bus/Makefile util/Makefile util/IMdkit/Makefile data/Makefile data/icons/Makefile data/keymaps/Makefile data/dconf/Makefile docs/Makefile docs/reference/Makefile docs/reference/ibus/ibus-docs.sgml docs/reference/ibus/Makefile m4/Makefile ibus/_config.py ibus/Makefile ibus/interface/Makefile ui/Makefile ui/gtk/Makefile ui/gtk/ibus-ui-gtk ui/gtk/gtkpanel.xml.in setup/Makefile setup/ibus-setup gconf/Makefile gconf/gconf.xml.in bindings/Makefile bindings/vala/Makefile dconf/Makefile dconf/dconf.xml.in"
 
17392
 
 
17393
 
 
17394
cat >confcache <<\_ACEOF
 
17395
# This file is a shell script that caches the results of configure
 
17396
# tests run on this system so they can be shared between configure
 
17397
# scripts and configure runs, see configure's option --config-cache.
 
17398
# It is not useful on other systems.  If it contains results you don't
 
17399
# want to keep, you may remove or edit it.
 
17400
#
 
17401
# config.status only pays attention to the cache file if you give it
 
17402
# the --recheck option to rerun configure.
 
17403
#
 
17404
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
17405
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
17406
# following values.
 
17407
 
 
17408
_ACEOF
 
17409
 
 
17410
# The following way of writing the cache mishandles newlines in values,
 
17411
# but we know of no workaround that is simple, portable, and efficient.
 
17412
# So, we kill variables containing newlines.
 
17413
# Ultrix sh set writes to stderr and can't be redirected directly,
 
17414
# and sets the high bit in the cache file unless we assign to the vars.
 
17415
(
 
17416
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
17417
    eval ac_val=\$$ac_var
 
17418
    case $ac_val in #(
 
17419
    *${as_nl}*)
 
17420
      case $ac_var in #(
 
17421
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
17422
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
17423
      esac
 
17424
      case $ac_var in #(
 
17425
      _ | IFS | as_nl) ;; #(
 
17426
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
17427
      *) { eval $ac_var=; unset $ac_var;} ;;
 
17428
      esac ;;
 
17429
    esac
 
17430
  done
 
17431
 
 
17432
  (set) 2>&1 |
 
17433
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
17434
    *${as_nl}ac_space=\ *)
 
17435
      # `set' does not quote correctly, so add quotes: double-quote
 
17436
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
17437
      sed -n \
 
17438
        "s/'/'\\\\''/g;
 
17439
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
17440
      ;; #(
 
17441
    *)
 
17442
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
17443
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
17444
      ;;
 
17445
    esac |
 
17446
    sort
 
17447
) |
 
17448
  sed '
 
17449
     /^ac_cv_env_/b end
 
17450
     t clear
 
17451
     :clear
 
17452
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
17453
     t end
 
17454
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
17455
     :end' >>confcache
 
17456
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
17457
  if test -w "$cache_file"; then
 
17458
    if test "x$cache_file" != "x/dev/null"; then
 
17459
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
17460
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
17461
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
17462
        cat confcache >"$cache_file"
 
17463
      else
 
17464
        case $cache_file in #(
 
17465
        */* | ?:*)
 
17466
          mv -f confcache "$cache_file"$$ &&
 
17467
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
17468
        *)
 
17469
          mv -f confcache "$cache_file" ;;
 
17470
        esac
 
17471
      fi
 
17472
    fi
 
17473
  else
 
17474
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
17475
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
17476
  fi
 
17477
fi
 
17478
rm -f confcache
 
17479
 
 
17480
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
17481
# Let make expand exec_prefix.
 
17482
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
17483
 
 
17484
DEFS=-DHAVE_CONFIG_H
 
17485
 
 
17486
ac_libobjs=
 
17487
ac_ltlibobjs=
 
17488
U=
 
17489
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
17490
  # 1. Remove the extension, and $U if already installed.
 
17491
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
17492
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
17493
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
17494
  #    will be set to the directory where LIBOBJS objects are built.
 
17495
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17496
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
17497
done
 
17498
LIBOBJS=$ac_libobjs
 
17499
 
 
17500
LTLIBOBJS=$ac_ltlibobjs
 
17501
 
 
17502
 
 
17503
 if test -n "$EXEEXT"; then
 
17504
  am__EXEEXT_TRUE=
 
17505
  am__EXEEXT_FALSE='#'
 
17506
else
 
17507
  am__EXEEXT_TRUE='#'
 
17508
  am__EXEEXT_FALSE=
 
17509
fi
 
17510
 
 
17511
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
17512
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
17513
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17514
fi
 
17515
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
17516
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
17517
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17518
fi
 
17519
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17520
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
17521
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17522
fi
 
17523
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
17524
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
17525
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17526
fi
 
17527
 
 
17528
  ac_config_commands="$ac_config_commands po/stamp-it"
 
17529
 
 
17530
 
 
17531
if test -z "${ENABLE_GTK2_TRUE}" && test -z "${ENABLE_GTK2_FALSE}"; then
 
17532
  as_fn_error $? "conditional \"ENABLE_GTK2\" was never defined.
 
17533
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17534
fi
 
17535
if test -z "${ENABLE_GTK3_TRUE}" && test -z "${ENABLE_GTK3_FALSE}"; then
 
17536
  as_fn_error $? "conditional \"ENABLE_GTK3\" was never defined.
 
17537
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17538
fi
 
17539
if test -z "${ENABLE_XIM_TRUE}" && test -z "${ENABLE_XIM_FALSE}"; then
 
17540
  as_fn_error $? "conditional \"ENABLE_XIM\" was never defined.
 
17541
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17542
fi
 
17543
if test -z "${ENABLE_VALA_TRUE}" && test -z "${ENABLE_VALA_FALSE}"; then
 
17544
  as_fn_error $? "conditional \"ENABLE_VALA\" was never defined.
 
17545
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17546
fi
 
17547
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
 
17548
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
 
17549
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17550
fi
 
17551
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
 
17552
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
 
17553
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17554
fi
 
17555
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
 
17556
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
17557
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17558
fi
 
17559
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
 
17560
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
17561
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17562
fi
 
17563
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
 
17564
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
17565
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17566
fi
 
17567
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
 
17568
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
17569
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17570
fi
 
17571
if test -z "${ENABLE_GCONF_TRUE}" && test -z "${ENABLE_GCONF_FALSE}"; then
 
17572
  as_fn_error $? "conditional \"ENABLE_GCONF\" was never defined.
 
17573
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17574
fi
 
17575
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
17576
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
17577
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17578
fi
 
17579
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
17580
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
17581
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17582
fi
 
17583
if test -z "${ENABLE_MEMCONF_TRUE}" && test -z "${ENABLE_MEMCONF_FALSE}"; then
 
17584
  as_fn_error $? "conditional \"ENABLE_MEMCONF\" was never defined.
 
17585
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17586
fi
 
17587
if test -z "${ENABLE_DCONF_TRUE}" && test -z "${ENABLE_DCONF_FALSE}"; then
 
17588
  as_fn_error $? "conditional \"ENABLE_DCONF\" was never defined.
 
17589
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17590
fi
 
17591
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
 
17592
  as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
 
17593
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17594
fi
 
17595
if test -z "${ENABLE_DAEMON_TRUE}" && test -z "${ENABLE_DAEMON_FALSE}"; then
 
17596
  as_fn_error $? "conditional \"ENABLE_DAEMON\" was never defined.
 
17597
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17598
fi
 
17599
 
 
17600
: "${CONFIG_STATUS=./config.status}"
 
17601
ac_write_fail=0
 
17602
ac_clean_files_save=$ac_clean_files
 
17603
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
17604
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
17605
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
17606
as_write_fail=0
 
17607
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
17608
#! $SHELL
 
17609
# Generated by $as_me.
 
17610
# Run this file to recreate the current configuration.
 
17611
# Compiler output produced by configure, useful for debugging
 
17612
# configure, is in config.log if it exists.
 
17613
 
 
17614
debug=false
 
17615
ac_cs_recheck=false
 
17616
ac_cs_silent=false
 
17617
 
 
17618
SHELL=\${CONFIG_SHELL-$SHELL}
 
17619
export SHELL
 
17620
_ASEOF
 
17621
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
17622
## -------------------- ##
 
17623
## M4sh Initialization. ##
 
17624
## -------------------- ##
 
17625
 
 
17626
# Be more Bourne compatible
 
17627
DUALCASE=1; export DUALCASE # for MKS sh
 
17628
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
17629
  emulate sh
 
17630
  NULLCMD=:
 
17631
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
17632
  # is contrary to our usage.  Disable this feature.
 
17633
  alias -g '${1+"$@"}'='"$@"'
 
17634
  setopt NO_GLOB_SUBST
 
17635
else
 
17636
  case `(set -o) 2>/dev/null` in #(
 
17637
  *posix*) :
 
17638
    set -o posix ;; #(
 
17639
  *) :
 
17640
     ;;
 
17641
esac
 
17642
fi
 
17643
 
 
17644
 
 
17645
as_nl='
 
17646
'
 
17647
export as_nl
 
17648
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
17649
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
17650
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
17651
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
17652
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
17653
# but without wasting forks for bash or zsh.
 
17654
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
17655
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17656
  as_echo='print -r --'
 
17657
  as_echo_n='print -rn --'
 
17658
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17659
  as_echo='printf %s\n'
 
17660
  as_echo_n='printf %s'
 
17661
else
 
17662
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
17663
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
17664
    as_echo_n='/usr/ucb/echo -n'
 
17665
  else
 
17666
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
17667
    as_echo_n_body='eval
 
17668
      arg=$1;
 
17669
      case $arg in #(
 
17670
      *"$as_nl"*)
 
17671
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
17672
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
17673
      esac;
 
17674
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
17675
    '
 
17676
    export as_echo_n_body
 
17677
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
17678
  fi
 
17679
  export as_echo_body
 
17680
  as_echo='sh -c $as_echo_body as_echo'
 
17681
fi
 
17682
 
 
17683
# The user is always right.
 
17684
if test "${PATH_SEPARATOR+set}" != set; then
 
17685
  PATH_SEPARATOR=:
 
17686
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
17687
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
17688
      PATH_SEPARATOR=';'
 
17689
  }
 
17690
fi
 
17691
 
 
17692
 
 
17693
# IFS
 
17694
# We need space, tab and new line, in precisely that order.  Quoting is
 
17695
# there to prevent editors from complaining about space-tab.
 
17696
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
17697
# splitting by setting IFS to empty value.)
 
17698
IFS=" ""        $as_nl"
 
17699
 
 
17700
# Find who we are.  Look in the path if we contain no directory separator.
 
17701
as_myself=
 
17702
case $0 in #((
 
17703
  *[\\/]* ) as_myself=$0 ;;
 
17704
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17705
for as_dir in $PATH
 
17706
do
 
17707
  IFS=$as_save_IFS
 
17708
  test -z "$as_dir" && as_dir=.
 
17709
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
17710
  done
 
17711
IFS=$as_save_IFS
 
17712
 
 
17713
     ;;
 
17714
esac
 
17715
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
17716
# in which case we are not to be found in the path.
 
17717
if test "x$as_myself" = x; then
 
17718
  as_myself=$0
 
17719
fi
 
17720
if test ! -f "$as_myself"; then
 
17721
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
17722
  exit 1
 
17723
fi
 
17724
 
 
17725
# Unset variables that we do not need and which cause bugs (e.g. in
 
17726
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
17727
# suppresses any "Segmentation fault" message there.  '((' could
 
17728
# trigger a bug in pdksh 5.2.14.
 
17729
for as_var in BASH_ENV ENV MAIL MAILPATH
 
17730
do eval test x\${$as_var+set} = xset \
 
17731
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
17732
done
 
17733
PS1='$ '
 
17734
PS2='> '
 
17735
PS4='+ '
 
17736
 
 
17737
# NLS nuisances.
 
17738
LC_ALL=C
 
17739
export LC_ALL
 
17740
LANGUAGE=C
 
17741
export LANGUAGE
 
17742
 
 
17743
# CDPATH.
 
17744
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17745
 
 
17746
 
 
17747
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
17748
# ----------------------------------------
 
17749
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
17750
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
17751
# script with STATUS, using 1 if that was 0.
 
17752
as_fn_error ()
 
17753
{
 
17754
  as_status=$1; test $as_status -eq 0 && as_status=1
 
17755
  if test "$4"; then
 
17756
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
17757
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
17758
  fi
 
17759
  $as_echo "$as_me: error: $2" >&2
 
17760
  as_fn_exit $as_status
 
17761
} # as_fn_error
 
17762
 
 
17763
 
 
17764
# as_fn_set_status STATUS
 
17765
# -----------------------
 
17766
# Set $? to STATUS, without forking.
 
17767
as_fn_set_status ()
 
17768
{
 
17769
  return $1
 
17770
} # as_fn_set_status
 
17771
 
 
17772
# as_fn_exit STATUS
 
17773
# -----------------
 
17774
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
17775
as_fn_exit ()
 
17776
{
 
17777
  set +e
 
17778
  as_fn_set_status $1
 
17779
  exit $1
 
17780
} # as_fn_exit
 
17781
 
 
17782
# as_fn_unset VAR
 
17783
# ---------------
 
17784
# Portably unset VAR.
 
17785
as_fn_unset ()
 
17786
{
 
17787
  { eval $1=; unset $1;}
 
17788
}
 
17789
as_unset=as_fn_unset
 
17790
# as_fn_append VAR VALUE
 
17791
# ----------------------
 
17792
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
17793
# advantage of any shell optimizations that allow amortized linear growth over
 
17794
# repeated appends, instead of the typical quadratic growth present in naive
 
17795
# implementations.
 
17796
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
17797
  eval 'as_fn_append ()
 
17798
  {
 
17799
    eval $1+=\$2
 
17800
  }'
 
17801
else
 
17802
  as_fn_append ()
 
17803
  {
 
17804
    eval $1=\$$1\$2
 
17805
  }
 
17806
fi # as_fn_append
 
17807
 
 
17808
# as_fn_arith ARG...
 
17809
# ------------------
 
17810
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
17811
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
17812
# must be portable across $(()) and expr.
 
17813
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
17814
  eval 'as_fn_arith ()
 
17815
  {
 
17816
    as_val=$(( $* ))
 
17817
  }'
 
17818
else
 
17819
  as_fn_arith ()
 
17820
  {
 
17821
    as_val=`expr "$@" || test $? -eq 1`
 
17822
  }
 
17823
fi # as_fn_arith
 
17824
 
 
17825
 
 
17826
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
17827
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
17828
  as_expr=expr
 
17829
else
 
17830
  as_expr=false
 
17831
fi
 
17832
 
 
17833
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
17834
  as_basename=basename
 
17835
else
 
17836
  as_basename=false
 
17837
fi
 
17838
 
 
17839
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
17840
  as_dirname=dirname
 
17841
else
 
17842
  as_dirname=false
 
17843
fi
 
17844
 
 
17845
as_me=`$as_basename -- "$0" ||
 
17846
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
17847
         X"$0" : 'X\(//\)$' \| \
 
17848
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
17849
$as_echo X/"$0" |
 
17850
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
17851
            s//\1/
 
17852
            q
 
17853
          }
 
17854
          /^X\/\(\/\/\)$/{
 
17855
            s//\1/
 
17856
            q
 
17857
          }
 
17858
          /^X\/\(\/\).*/{
 
17859
            s//\1/
 
17860
            q
 
17861
          }
 
17862
          s/.*/./; q'`
 
17863
 
 
17864
# Avoid depending upon Character Ranges.
 
17865
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
17866
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
17867
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
17868
as_cr_digits='0123456789'
 
17869
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
17870
 
 
17871
ECHO_C= ECHO_N= ECHO_T=
 
17872
case `echo -n x` in #(((((
 
17873
-n*)
 
17874
  case `echo 'xy\c'` in
 
17875
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
17876
  xy)  ECHO_C='\c';;
 
17877
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
17878
       ECHO_T=' ';;
 
17879
  esac;;
 
17880
*)
 
17881
  ECHO_N='-n';;
 
17882
esac
 
17883
 
 
17884
rm -f conf$$ conf$$.exe conf$$.file
 
17885
if test -d conf$$.dir; then
 
17886
  rm -f conf$$.dir/conf$$.file
 
17887
else
 
17888
  rm -f conf$$.dir
 
17889
  mkdir conf$$.dir 2>/dev/null
 
17890
fi
 
17891
if (echo >conf$$.file) 2>/dev/null; then
 
17892
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
17893
    as_ln_s='ln -s'
 
17894
    # ... but there are two gotchas:
 
17895
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
17896
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
17897
    # In both cases, we have to default to `cp -p'.
 
17898
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
17899
      as_ln_s='cp -p'
 
17900
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
17901
    as_ln_s=ln
 
17902
  else
 
17903
    as_ln_s='cp -p'
 
17904
  fi
 
17905
else
 
17906
  as_ln_s='cp -p'
 
17907
fi
 
17908
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
17909
rmdir conf$$.dir 2>/dev/null
 
17910
 
 
17911
 
 
17912
# as_fn_mkdir_p
 
17913
# -------------
 
17914
# Create "$as_dir" as a directory, including parents if necessary.
 
17915
as_fn_mkdir_p ()
 
17916
{
 
17917
 
 
17918
  case $as_dir in #(
 
17919
  -*) as_dir=./$as_dir;;
 
17920
  esac
 
17921
  test -d "$as_dir" || eval $as_mkdir_p || {
 
17922
    as_dirs=
 
17923
    while :; do
 
17924
      case $as_dir in #(
 
17925
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
17926
      *) as_qdir=$as_dir;;
 
17927
      esac
 
17928
      as_dirs="'$as_qdir' $as_dirs"
 
17929
      as_dir=`$as_dirname -- "$as_dir" ||
 
17930
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17931
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
17932
         X"$as_dir" : 'X\(//\)$' \| \
 
17933
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
17934
$as_echo X"$as_dir" |
 
17935
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17936
            s//\1/
 
17937
            q
 
17938
          }
 
17939
          /^X\(\/\/\)[^/].*/{
 
17940
            s//\1/
 
17941
            q
 
17942
          }
 
17943
          /^X\(\/\/\)$/{
 
17944
            s//\1/
 
17945
            q
 
17946
          }
 
17947
          /^X\(\/\).*/{
 
17948
            s//\1/
 
17949
            q
 
17950
          }
 
17951
          s/.*/./; q'`
 
17952
      test -d "$as_dir" && break
 
17953
    done
 
17954
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
17955
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
17956
 
 
17957
 
 
17958
} # as_fn_mkdir_p
 
17959
if mkdir -p . 2>/dev/null; then
 
17960
  as_mkdir_p='mkdir -p "$as_dir"'
 
17961
else
 
17962
  test -d ./-p && rmdir ./-p
 
17963
  as_mkdir_p=false
 
17964
fi
 
17965
 
 
17966
if test -x / >/dev/null 2>&1; then
 
17967
  as_test_x='test -x'
 
17968
else
 
17969
  if ls -dL / >/dev/null 2>&1; then
 
17970
    as_ls_L_option=L
 
17971
  else
 
17972
    as_ls_L_option=
 
17973
  fi
 
17974
  as_test_x='
 
17975
    eval sh -c '\''
 
17976
      if test -d "$1"; then
 
17977
        test -d "$1/.";
 
17978
      else
 
17979
        case $1 in #(
 
17980
        -*)set "./$1";;
 
17981
        esac;
 
17982
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
17983
        ???[sx]*):;;*)false;;esac;fi
 
17984
    '\'' sh
 
17985
  '
 
17986
fi
 
17987
as_executable_p=$as_test_x
 
17988
 
 
17989
# Sed expression to map a string onto a valid CPP name.
 
17990
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
17991
 
 
17992
# Sed expression to map a string onto a valid variable name.
 
17993
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
17994
 
 
17995
 
 
17996
exec 6>&1
 
17997
## ----------------------------------- ##
 
17998
## Main body of $CONFIG_STATUS script. ##
 
17999
## ----------------------------------- ##
 
18000
_ASEOF
 
18001
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
18002
 
 
18003
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18004
# Save the log message, to keep $0 and so on meaningful, and to
 
18005
# report actual input values of CONFIG_FILES etc. instead of their
 
18006
# values after options handling.
 
18007
ac_log="
 
18008
This file was extended by ibus $as_me 1.4.0, which was
 
18009
generated by GNU Autoconf 2.68.  Invocation command line was
 
18010
 
 
18011
  CONFIG_FILES    = $CONFIG_FILES
 
18012
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
18013
  CONFIG_LINKS    = $CONFIG_LINKS
 
18014
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
18015
  $ $0 $@
 
18016
 
 
18017
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
18018
"
 
18019
 
 
18020
_ACEOF
 
18021
 
 
18022
case $ac_config_files in *"
 
18023
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
18024
esac
 
18025
 
 
18026
case $ac_config_headers in *"
 
18027
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
18028
esac
 
18029
 
 
18030
 
 
18031
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18032
# Files that config.status was made for.
 
18033
config_files="$ac_config_files"
 
18034
config_headers="$ac_config_headers"
 
18035
config_commands="$ac_config_commands"
 
18036
 
 
18037
_ACEOF
 
18038
 
 
18039
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18040
ac_cs_usage="\
 
18041
\`$as_me' instantiates files and other configuration actions
 
18042
from templates according to the current configuration.  Unless the files
 
18043
and actions are specified as TAGs, all are instantiated by default.
 
18044
 
 
18045
Usage: $0 [OPTION]... [TAG]...
 
18046
 
 
18047
  -h, --help       print this help, then exit
 
18048
  -V, --version    print version number and configuration settings, then exit
 
18049
      --config     print configuration, then exit
 
18050
  -q, --quiet, --silent
 
18051
                   do not print progress messages
 
18052
  -d, --debug      don't remove temporary files
 
18053
      --recheck    update $as_me by reconfiguring in the same conditions
 
18054
      --file=FILE[:TEMPLATE]
 
18055
                   instantiate the configuration file FILE
 
18056
      --header=FILE[:TEMPLATE]
 
18057
                   instantiate the configuration header FILE
 
18058
 
 
18059
Configuration files:
 
18060
$config_files
 
18061
 
 
18062
Configuration headers:
 
18063
$config_headers
 
18064
 
 
18065
Configuration commands:
 
18066
$config_commands
 
18067
 
 
18068
Report bugs to <http://code.google.com/p/ibus/issues/entry>."
 
18069
 
 
18070
_ACEOF
 
18071
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18072
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
18073
ac_cs_version="\\
 
18074
ibus config.status 1.4.0
 
18075
configured by $0, generated by GNU Autoconf 2.68,
 
18076
  with options \\"\$ac_cs_config\\"
 
18077
 
 
18078
Copyright (C) 2010 Free Software Foundation, Inc.
 
18079
This config.status script is free software; the Free Software Foundation
 
18080
gives unlimited permission to copy, distribute and modify it."
 
18081
 
 
18082
ac_pwd='$ac_pwd'
 
18083
srcdir='$srcdir'
 
18084
INSTALL='$INSTALL'
 
18085
MKDIR_P='$MKDIR_P'
 
18086
AWK='$AWK'
 
18087
test -n "\$AWK" || AWK=awk
 
18088
_ACEOF
 
18089
 
 
18090
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18091
# The default lists apply if the user does not specify any file.
 
18092
ac_need_defaults=:
 
18093
while test $# != 0
 
18094
do
 
18095
  case $1 in
 
18096
  --*=?*)
 
18097
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
18098
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
18099
    ac_shift=:
 
18100
    ;;
 
18101
  --*=)
 
18102
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
18103
    ac_optarg=
 
18104
    ac_shift=:
 
18105
    ;;
 
18106
  *)
 
18107
    ac_option=$1
 
18108
    ac_optarg=$2
 
18109
    ac_shift=shift
 
18110
    ;;
 
18111
  esac
 
18112
 
 
18113
  case $ac_option in
 
18114
  # Handling of the options.
 
18115
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
18116
    ac_cs_recheck=: ;;
 
18117
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
18118
    $as_echo "$ac_cs_version"; exit ;;
 
18119
  --config | --confi | --conf | --con | --co | --c )
 
18120
    $as_echo "$ac_cs_config"; exit ;;
 
18121
  --debug | --debu | --deb | --de | --d | -d )
 
18122
    debug=: ;;
 
18123
  --file | --fil | --fi | --f )
 
18124
    $ac_shift
 
18125
    case $ac_optarg in
 
18126
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18127
    '') as_fn_error $? "missing file argument" ;;
 
18128
    esac
 
18129
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
18130
    ac_need_defaults=false;;
 
18131
  --header | --heade | --head | --hea )
 
18132
    $ac_shift
 
18133
    case $ac_optarg in
 
18134
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18135
    esac
 
18136
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
18137
    ac_need_defaults=false;;
 
18138
  --he | --h)
 
18139
    # Conflict between --help and --header
 
18140
    as_fn_error $? "ambiguous option: \`$1'
 
18141
Try \`$0 --help' for more information.";;
 
18142
  --help | --hel | -h )
 
18143
    $as_echo "$ac_cs_usage"; exit ;;
 
18144
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
18145
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
18146
    ac_cs_silent=: ;;
 
18147
 
 
18148
  # This is an error.
 
18149
  -*) as_fn_error $? "unrecognized option: \`$1'
 
18150
Try \`$0 --help' for more information." ;;
 
18151
 
 
18152
  *) as_fn_append ac_config_targets " $1"
 
18153
     ac_need_defaults=false ;;
 
18154
 
 
18155
  esac
 
18156
  shift
 
18157
done
 
18158
 
 
18159
ac_configure_extra_args=
 
18160
 
 
18161
if $ac_cs_silent; then
 
18162
  exec 6>/dev/null
 
18163
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
18164
fi
 
18165
 
 
18166
_ACEOF
 
18167
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18168
if \$ac_cs_recheck; then
 
18169
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18170
  shift
 
18171
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
18172
  CONFIG_SHELL='$SHELL'
 
18173
  export CONFIG_SHELL
 
18174
  exec "\$@"
 
18175
fi
 
18176
 
 
18177
_ACEOF
 
18178
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18179
exec 5>>config.log
 
18180
{
 
18181
  echo
 
18182
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
18183
## Running $as_me. ##
 
18184
_ASBOX
 
18185
  $as_echo "$ac_log"
 
18186
} >&5
 
18187
 
 
18188
_ACEOF
 
18189
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18190
#
 
18191
# INIT-COMMANDS
 
18192
#
 
18193
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
18194
 
 
18195
 
 
18196
 
 
18197
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
18198
# if CDPATH is set.
 
18199
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18200
 
 
18201
sed_quote_subst='$sed_quote_subst'
 
18202
double_quote_subst='$double_quote_subst'
 
18203
delay_variable_subst='$delay_variable_subst'
 
18204
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
18205
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
18206
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
18207
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
18208
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
18209
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
18210
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
18211
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
18212
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
18213
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
18214
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
18215
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
18216
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
18217
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
18218
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
18219
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
18220
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
18221
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
18222
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
18223
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
18224
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
18225
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
18226
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
18227
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
18228
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
18229
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
18230
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
18231
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
18232
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
18233
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
18234
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
18235
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
18236
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
18237
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
18238
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
18239
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
18240
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
18241
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
18242
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
18243
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
18244
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
18245
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
18246
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
18247
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
18248
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18249
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18250
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
18251
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
18252
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
18253
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
18254
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
18255
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
18256
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
18257
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
18258
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
18259
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"`'
 
18260
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
18261
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
18262
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
18263
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
18264
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
18265
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
18266
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
18267
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
18268
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
18269
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
18270
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
18271
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
18272
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
18273
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
18274
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
18275
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
18276
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
18277
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
18278
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
18279
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
18280
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
18281
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
18282
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
18283
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
18284
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
18285
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
18286
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
18287
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
18288
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
18289
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
18290
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
18291
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
18292
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
18293
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
18294
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
18295
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
18296
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
18297
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
18298
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
18299
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
18300
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
18301
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
18302
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
18303
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
18304
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
18305
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
18306
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
18307
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
18308
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
18309
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
18310
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
18311
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
18312
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
18313
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
18314
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
18315
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
18316
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
18317
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
18318
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
18319
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
18320
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
18321
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18322
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18323
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
18324
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
18325
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
18326
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
18327
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
18328
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
18329
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
18330
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
18331
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
18332
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
18333
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
18334
 
 
18335
LTCC='$LTCC'
 
18336
LTCFLAGS='$LTCFLAGS'
 
18337
compiler='$compiler_DEFAULT'
 
18338
 
 
18339
# A function that is used when there is no print builtin or printf.
 
18340
func_fallback_echo ()
 
18341
{
 
18342
  eval 'cat <<_LTECHO_EOF
 
18343
\$1
 
18344
_LTECHO_EOF'
 
18345
}
 
18346
 
 
18347
# Quote evaled strings.
 
18348
for var in SHELL \
 
18349
ECHO \
 
18350
SED \
 
18351
GREP \
 
18352
EGREP \
 
18353
FGREP \
 
18354
LD \
 
18355
NM \
 
18356
LN_S \
 
18357
lt_SP2NL \
 
18358
lt_NL2SP \
 
18359
reload_flag \
 
18360
OBJDUMP \
 
18361
deplibs_check_method \
 
18362
file_magic_cmd \
 
18363
file_magic_glob \
 
18364
want_nocaseglob \
 
18365
DLLTOOL \
 
18366
sharedlib_from_linklib_cmd \
 
18367
AR \
 
18368
AR_FLAGS \
 
18369
archiver_list_spec \
 
18370
STRIP \
 
18371
RANLIB \
 
18372
CC \
 
18373
CFLAGS \
 
18374
compiler \
 
18375
lt_cv_sys_global_symbol_pipe \
 
18376
lt_cv_sys_global_symbol_to_cdecl \
 
18377
lt_cv_sys_global_symbol_to_c_name_address \
 
18378
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
18379
nm_file_list_spec \
 
18380
lt_prog_compiler_no_builtin_flag \
 
18381
lt_prog_compiler_pic \
 
18382
lt_prog_compiler_wl \
 
18383
lt_prog_compiler_static \
 
18384
lt_cv_prog_compiler_c_o \
 
18385
need_locks \
 
18386
MANIFEST_TOOL \
 
18387
DSYMUTIL \
 
18388
NMEDIT \
 
18389
LIPO \
 
18390
OTOOL \
 
18391
OTOOL64 \
 
18392
shrext_cmds \
 
18393
export_dynamic_flag_spec \
 
18394
whole_archive_flag_spec \
 
18395
compiler_needs_object \
 
18396
with_gnu_ld \
 
18397
allow_undefined_flag \
 
18398
no_undefined_flag \
 
18399
hardcode_libdir_flag_spec \
 
18400
hardcode_libdir_flag_spec_ld \
 
18401
hardcode_libdir_separator \
 
18402
exclude_expsyms \
 
18403
include_expsyms \
 
18404
file_list_spec \
 
18405
variables_saved_for_relink \
 
18406
libname_spec \
 
18407
library_names_spec \
 
18408
soname_spec \
 
18409
install_override_mode \
 
18410
finish_eval \
 
18411
old_striplib \
 
18412
striplib; do
 
18413
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
18414
    *[\\\\\\\`\\"\\\$]*)
 
18415
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
18416
      ;;
 
18417
    *)
 
18418
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18419
      ;;
 
18420
    esac
 
18421
done
 
18422
 
 
18423
# Double-quote double-evaled strings.
 
18424
for var in reload_cmds \
 
18425
old_postinstall_cmds \
 
18426
old_postuninstall_cmds \
 
18427
old_archive_cmds \
 
18428
extract_expsyms_cmds \
 
18429
old_archive_from_new_cmds \
 
18430
old_archive_from_expsyms_cmds \
 
18431
archive_cmds \
 
18432
archive_expsym_cmds \
 
18433
module_cmds \
 
18434
module_expsym_cmds \
 
18435
export_symbols_cmds \
 
18436
prelink_cmds \
 
18437
postlink_cmds \
 
18438
postinstall_cmds \
 
18439
postuninstall_cmds \
 
18440
finish_cmds \
 
18441
sys_lib_search_path_spec \
 
18442
sys_lib_dlsearch_path_spec; do
 
18443
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
18444
    *[\\\\\\\`\\"\\\$]*)
 
18445
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
18446
      ;;
 
18447
    *)
 
18448
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18449
      ;;
 
18450
    esac
 
18451
done
 
18452
 
 
18453
ac_aux_dir='$ac_aux_dir'
 
18454
xsi_shell='$xsi_shell'
 
18455
lt_shell_append='$lt_shell_append'
 
18456
 
 
18457
# See if we are running on zsh, and set the options which allow our
 
18458
# commands through without removal of \ escapes INIT.
 
18459
if test -n "\${ZSH_VERSION+set}" ; then
 
18460
   setopt NO_GLOB_SUBST
 
18461
fi
 
18462
 
 
18463
 
 
18464
    PACKAGE='$PACKAGE'
 
18465
    VERSION='$VERSION'
 
18466
    TIMESTAMP='$TIMESTAMP'
 
18467
    RM='$RM'
 
18468
    ofile='$ofile'
 
18469
 
 
18470
 
 
18471
 
 
18472
 
 
18473
_ACEOF
 
18474
 
 
18475
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18476
 
 
18477
# Handling of arguments.
 
18478
for ac_config_target in $ac_config_targets
 
18479
do
 
18480
  case $ac_config_target in
 
18481
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
18482
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
18483
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
18484
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
18485
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
18486
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
18487
    "ibus-1.0.pc") CONFIG_FILES="$CONFIG_FILES ibus-1.0.pc" ;;
 
18488
    "ibus.spec") CONFIG_FILES="$CONFIG_FILES ibus.spec" ;;
 
18489
    "xinput-ibus") CONFIG_FILES="$CONFIG_FILES xinput-ibus" ;;
 
18490
    "memconf/Makefile") CONFIG_FILES="$CONFIG_FILES memconf/Makefile" ;;
 
18491
    "memconf/memconf.xml.in") CONFIG_FILES="$CONFIG_FILES memconf/memconf.xml.in" ;;
 
18492
    "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
 
18493
    "client/gtk2/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk2/Makefile" ;;
 
18494
    "client/gtk3/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk3/Makefile" ;;
 
18495
    "client/x11/Makefile") CONFIG_FILES="$CONFIG_FILES client/x11/Makefile" ;;
 
18496
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
18497
    "src/ibusversion.h") CONFIG_FILES="$CONFIG_FILES src/ibusversion.h" ;;
 
18498
    "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
 
18499
    "bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
 
18500
    "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
 
18501
    "util/IMdkit/Makefile") CONFIG_FILES="$CONFIG_FILES util/IMdkit/Makefile" ;;
 
18502
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
18503
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
 
18504
    "data/keymaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/keymaps/Makefile" ;;
 
18505
    "data/dconf/Makefile") CONFIG_FILES="$CONFIG_FILES data/dconf/Makefile" ;;
 
18506
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
 
18507
    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
 
18508
    "docs/reference/ibus/ibus-docs.sgml") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/ibus-docs.sgml" ;;
 
18509
    "docs/reference/ibus/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/Makefile" ;;
 
18510
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 
18511
    "ibus/_config.py") CONFIG_FILES="$CONFIG_FILES ibus/_config.py" ;;
 
18512
    "ibus/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/Makefile" ;;
 
18513
    "ibus/interface/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/interface/Makefile" ;;
 
18514
    "ui/Makefile") CONFIG_FILES="$CONFIG_FILES ui/Makefile" ;;
 
18515
    "ui/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES ui/gtk/Makefile" ;;
 
18516
    "ui/gtk/ibus-ui-gtk") CONFIG_FILES="$CONFIG_FILES ui/gtk/ibus-ui-gtk" ;;
 
18517
    "ui/gtk/gtkpanel.xml.in") CONFIG_FILES="$CONFIG_FILES ui/gtk/gtkpanel.xml.in" ;;
 
18518
    "setup/Makefile") CONFIG_FILES="$CONFIG_FILES setup/Makefile" ;;
 
18519
    "setup/ibus-setup") CONFIG_FILES="$CONFIG_FILES setup/ibus-setup" ;;
 
18520
    "gconf/Makefile") CONFIG_FILES="$CONFIG_FILES gconf/Makefile" ;;
 
18521
    "gconf/gconf.xml.in") CONFIG_FILES="$CONFIG_FILES gconf/gconf.xml.in" ;;
 
18522
    "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
 
18523
    "bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;;
 
18524
    "dconf/Makefile") CONFIG_FILES="$CONFIG_FILES dconf/Makefile" ;;
 
18525
    "dconf/dconf.xml.in") CONFIG_FILES="$CONFIG_FILES dconf/dconf.xml.in" ;;
 
18526
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
18527
 
 
18528
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
18529
  esac
 
18530
done
 
18531
 
 
18532
 
 
18533
# If the user did not use the arguments to specify the items to instantiate,
 
18534
# then the envvar interface is used.  Set only those that are not.
 
18535
# We use the long form for the default assignment because of an extremely
 
18536
# bizarre bug on SunOS 4.1.3.
 
18537
if $ac_need_defaults; then
 
18538
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
18539
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
18540
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
18541
fi
 
18542
 
 
18543
# Have a temporary directory for convenience.  Make it in the build tree
 
18544
# simply because there is no reason against having it here, and in addition,
 
18545
# creating and moving files from /tmp can sometimes cause problems.
 
18546
# Hook for its removal unless debugging.
 
18547
# Note that there is a small window in which the directory will not be cleaned:
 
18548
# after its creation but before its name has been assigned to `$tmp'.
 
18549
$debug ||
 
18550
{
 
18551
  tmp= ac_tmp=
 
18552
  trap 'exit_status=$?
 
18553
  : "${ac_tmp:=$tmp}"
 
18554
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
18555
' 0
 
18556
  trap 'as_fn_exit 1' 1 2 13 15
 
18557
}
 
18558
# Create a (secure) tmp directory for tmp files.
 
18559
 
 
18560
{
 
18561
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
18562
  test -d "$tmp"
 
18563
}  ||
 
18564
{
 
18565
  tmp=./conf$$-$RANDOM
 
18566
  (umask 077 && mkdir "$tmp")
 
18567
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
18568
ac_tmp=$tmp
 
18569
 
 
18570
# Set up the scripts for CONFIG_FILES section.
 
18571
# No need to generate them if there are no CONFIG_FILES.
 
18572
# This happens for instance with `./config.status config.h'.
 
18573
if test -n "$CONFIG_FILES"; then
 
18574
 
 
18575
 
 
18576
ac_cr=`echo X | tr X '\015'`
 
18577
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
18578
# But we know of no other shell where ac_cr would be empty at this
 
18579
# point, so we can use a bashism as a fallback.
 
18580
if test "x$ac_cr" = x; then
 
18581
  eval ac_cr=\$\'\\r\'
 
18582
fi
 
18583
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
18584
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
18585
  ac_cs_awk_cr='\\r'
 
18586
else
 
18587
  ac_cs_awk_cr=$ac_cr
 
18588
fi
 
18589
 
 
18590
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
18591
_ACEOF
 
18592
 
 
18593
 
 
18594
{
 
18595
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
18596
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
18597
  echo "_ACEOF"
 
18598
} >conf$$subs.sh ||
 
18599
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
18600
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
18601
ac_delim='%!_!# '
 
18602
for ac_last_try in false false false false false :; do
 
18603
  . ./conf$$subs.sh ||
 
18604
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
18605
 
 
18606
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
18607
  if test $ac_delim_n = $ac_delim_num; then
 
18608
    break
 
18609
  elif $ac_last_try; then
 
18610
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
18611
  else
 
18612
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18613
  fi
 
18614
done
 
18615
rm -f conf$$subs.sh
 
18616
 
 
18617
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18618
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
18619
_ACEOF
 
18620
sed -n '
 
18621
h
 
18622
s/^/S["/; s/!.*/"]=/
 
18623
p
 
18624
g
 
18625
s/^[^!]*!//
 
18626
:repl
 
18627
t repl
 
18628
s/'"$ac_delim"'$//
 
18629
t delim
 
18630
:nl
 
18631
h
 
18632
s/\(.\{148\}\)..*/\1/
 
18633
t more1
 
18634
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
18635
p
 
18636
n
 
18637
b repl
 
18638
:more1
 
18639
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18640
p
 
18641
g
 
18642
s/.\{148\}//
 
18643
t nl
 
18644
:delim
 
18645
h
 
18646
s/\(.\{148\}\)..*/\1/
 
18647
t more2
 
18648
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
18649
p
 
18650
b
 
18651
:more2
 
18652
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
18653
p
 
18654
g
 
18655
s/.\{148\}//
 
18656
t delim
 
18657
' <conf$$subs.awk | sed '
 
18658
/^[^""]/{
 
18659
  N
 
18660
  s/\n//
 
18661
}
 
18662
' >>$CONFIG_STATUS || ac_write_fail=1
 
18663
rm -f conf$$subs.awk
 
18664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18665
_ACAWK
 
18666
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
18667
  for (key in S) S_is_set[key] = 1
 
18668
  FS = ""
 
18669
 
 
18670
}
 
18671
{
 
18672
  line = $ 0
 
18673
  nfields = split(line, field, "@")
 
18674
  substed = 0
 
18675
  len = length(field[1])
 
18676
  for (i = 2; i < nfields; i++) {
 
18677
    key = field[i]
 
18678
    keylen = length(key)
 
18679
    if (S_is_set[key]) {
 
18680
      value = S[key]
 
18681
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
18682
      len += length(value) + length(field[++i])
 
18683
      substed = 1
 
18684
    } else
 
18685
      len += 1 + keylen
 
18686
  }
 
18687
 
 
18688
  print line
 
18689
}
 
18690
 
 
18691
_ACAWK
 
18692
_ACEOF
 
18693
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18694
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
18695
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
18696
else
 
18697
  cat
 
18698
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
18699
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
18700
_ACEOF
 
18701
 
 
18702
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
18703
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
18704
# trailing colons and then remove the whole line if VPATH becomes empty
 
18705
# (actually we leave an empty line to preserve line numbers).
 
18706
if test "x$srcdir" = x.; then
 
18707
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
18708
h
 
18709
s///
 
18710
s/^/:/
 
18711
s/[      ]*$/:/
 
18712
s/:\$(srcdir):/:/g
 
18713
s/:\${srcdir}:/:/g
 
18714
s/:@srcdir@:/:/g
 
18715
s/^:*//
 
18716
s/:*$//
 
18717
x
 
18718
s/\(=[   ]*\).*/\1/
 
18719
G
 
18720
s/\n//
 
18721
s/^[^=]*=[       ]*$//
 
18722
}'
 
18723
fi
 
18724
 
 
18725
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18726
fi # test -n "$CONFIG_FILES"
 
18727
 
 
18728
# Set up the scripts for CONFIG_HEADERS section.
 
18729
# No need to generate them if there are no CONFIG_HEADERS.
 
18730
# This happens for instance with `./config.status Makefile'.
 
18731
if test -n "$CONFIG_HEADERS"; then
 
18732
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
18733
BEGIN {
 
18734
_ACEOF
 
18735
 
 
18736
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
18737
# here-document in config.status, that substitutes the proper values into
 
18738
# config.h.in to produce config.h.
 
18739
 
 
18740
# Create a delimiter string that does not exist in confdefs.h, to ease
 
18741
# handling of long lines.
 
18742
ac_delim='%!_!# '
 
18743
for ac_last_try in false false :; do
 
18744
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
18745
  if test -z "$ac_tt"; then
 
18746
    break
 
18747
  elif $ac_last_try; then
 
18748
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
18749
  else
 
18750
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
18751
  fi
 
18752
done
 
18753
 
 
18754
# For the awk script, D is an array of macro values keyed by name,
 
18755
# likewise P contains macro parameters if any.  Preserve backslash
 
18756
# newline sequences.
 
18757
 
 
18758
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
18759
sed -n '
 
18760
s/.\{148\}/&'"$ac_delim"'/g
 
18761
t rset
 
18762
:rset
 
18763
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
18764
t def
 
18765
d
 
18766
:def
 
18767
s/\\$//
 
18768
t bsnl
 
18769
s/["\\]/\\&/g
 
18770
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18771
D["\1"]=" \3"/p
 
18772
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
18773
d
 
18774
:bsnl
 
18775
s/["\\]/\\&/g
 
18776
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
18777
D["\1"]=" \3\\\\\\n"\\/p
 
18778
t cont
 
18779
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
18780
t cont
 
18781
d
 
18782
:cont
 
18783
n
 
18784
s/.\{148\}/&'"$ac_delim"'/g
 
18785
t clear
 
18786
:clear
 
18787
s/\\$//
 
18788
t bsnlc
 
18789
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
18790
d
 
18791
:bsnlc
 
18792
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
18793
b cont
 
18794
' <confdefs.h | sed '
 
18795
s/'"$ac_delim"'/"\\\
 
18796
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
18797
 
 
18798
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18799
  for (key in D) D_is_set[key] = 1
 
18800
  FS = ""
 
18801
}
 
18802
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
18803
  line = \$ 0
 
18804
  split(line, arg, " ")
 
18805
  if (arg[1] == "#") {
 
18806
    defundef = arg[2]
 
18807
    mac1 = arg[3]
 
18808
  } else {
 
18809
    defundef = substr(arg[1], 2)
 
18810
    mac1 = arg[2]
 
18811
  }
 
18812
  split(mac1, mac2, "(") #)
 
18813
  macro = mac2[1]
 
18814
  prefix = substr(line, 1, index(line, defundef) - 1)
 
18815
  if (D_is_set[macro]) {
 
18816
    # Preserve the white space surrounding the "#".
 
18817
    print prefix "define", macro P[macro] D[macro]
 
18818
    next
 
18819
  } else {
 
18820
    # Replace #undef with comments.  This is necessary, for example,
 
18821
    # in the case of _POSIX_SOURCE, which is predefined and required
 
18822
    # on some systems where configure will not decide to define it.
 
18823
    if (defundef == "undef") {
 
18824
      print "/*", prefix defundef, macro, "*/"
 
18825
      next
 
18826
    }
 
18827
  }
 
18828
}
 
18829
{ print }
 
18830
_ACAWK
 
18831
_ACEOF
 
18832
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18833
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
18834
fi # test -n "$CONFIG_HEADERS"
 
18835
 
 
18836
 
 
18837
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
18838
shift
 
18839
for ac_tag
 
18840
do
 
18841
  case $ac_tag in
 
18842
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
18843
  esac
 
18844
  case $ac_mode$ac_tag in
 
18845
  :[FHL]*:*);;
 
18846
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
18847
  :[FH]-) ac_tag=-:-;;
 
18848
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
18849
  esac
 
18850
  ac_save_IFS=$IFS
 
18851
  IFS=:
 
18852
  set x $ac_tag
 
18853
  IFS=$ac_save_IFS
 
18854
  shift
 
18855
  ac_file=$1
 
18856
  shift
 
18857
 
 
18858
  case $ac_mode in
 
18859
  :L) ac_source=$1;;
 
18860
  :[FH])
 
18861
    ac_file_inputs=
 
18862
    for ac_f
 
18863
    do
 
18864
      case $ac_f in
 
18865
      -) ac_f="$ac_tmp/stdin";;
 
18866
      *) # Look for the file first in the build tree, then in the source tree
 
18867
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
18868
         # because $ac_f cannot contain `:'.
 
18869
         test -f "$ac_f" ||
 
18870
           case $ac_f in
 
18871
           [\\/$]*) false;;
 
18872
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
18873
           esac ||
 
18874
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
18875
      esac
 
18876
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
18877
      as_fn_append ac_file_inputs " '$ac_f'"
 
18878
    done
 
18879
 
 
18880
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
18881
    # use $as_me), people would be surprised to read:
 
18882
    #    /* config.h.  Generated by config.status.  */
 
18883
    configure_input='Generated from '`
 
18884
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
18885
        `' by configure.'
 
18886
    if test x"$ac_file" != x-; then
 
18887
      configure_input="$ac_file.  $configure_input"
 
18888
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
18889
$as_echo "$as_me: creating $ac_file" >&6;}
 
18890
    fi
 
18891
    # Neutralize special characters interpreted by sed in replacement strings.
 
18892
    case $configure_input in #(
 
18893
    *\&* | *\|* | *\\* )
 
18894
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
18895
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
18896
    *) ac_sed_conf_input=$configure_input;;
 
18897
    esac
 
18898
 
 
18899
    case $ac_tag in
 
18900
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
18901
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
18902
    esac
 
18903
    ;;
 
18904
  esac
 
18905
 
 
18906
  ac_dir=`$as_dirname -- "$ac_file" ||
 
18907
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18908
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
18909
         X"$ac_file" : 'X\(//\)$' \| \
 
18910
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
18911
$as_echo X"$ac_file" |
 
18912
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18913
            s//\1/
 
18914
            q
 
18915
          }
 
18916
          /^X\(\/\/\)[^/].*/{
 
18917
            s//\1/
 
18918
            q
 
18919
          }
 
18920
          /^X\(\/\/\)$/{
 
18921
            s//\1/
 
18922
            q
 
18923
          }
 
18924
          /^X\(\/\).*/{
 
18925
            s//\1/
 
18926
            q
 
18927
          }
 
18928
          s/.*/./; q'`
 
18929
  as_dir="$ac_dir"; as_fn_mkdir_p
 
18930
  ac_builddir=.
 
18931
 
 
18932
case "$ac_dir" in
 
18933
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
18934
*)
 
18935
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
18936
  # A ".." for each directory in $ac_dir_suffix.
 
18937
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
18938
  case $ac_top_builddir_sub in
 
18939
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
18940
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
18941
  esac ;;
 
18942
esac
 
18943
ac_abs_top_builddir=$ac_pwd
 
18944
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
18945
# for backward compatibility:
 
18946
ac_top_builddir=$ac_top_build_prefix
 
18947
 
 
18948
case $srcdir in
 
18949
  .)  # We are building in place.
 
18950
    ac_srcdir=.
 
18951
    ac_top_srcdir=$ac_top_builddir_sub
 
18952
    ac_abs_top_srcdir=$ac_pwd ;;
 
18953
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
18954
    ac_srcdir=$srcdir$ac_dir_suffix;
 
18955
    ac_top_srcdir=$srcdir
 
18956
    ac_abs_top_srcdir=$srcdir ;;
 
18957
  *) # Relative name.
 
18958
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
18959
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
18960
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
18961
esac
 
18962
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
18963
 
 
18964
 
 
18965
  case $ac_mode in
 
18966
  :F)
 
18967
  #
 
18968
  # CONFIG_FILE
 
18969
  #
 
18970
 
 
18971
  case $INSTALL in
 
18972
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
18973
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
18974
  esac
 
18975
  ac_MKDIR_P=$MKDIR_P
 
18976
  case $MKDIR_P in
 
18977
  [\\/$]* | ?:[\\/]* ) ;;
 
18978
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
18979
  esac
 
18980
_ACEOF
 
18981
 
 
18982
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18983
# If the template does not know about datarootdir, expand it.
 
18984
# FIXME: This hack should be removed a few years after 2.60.
 
18985
ac_datarootdir_hack=; ac_datarootdir_seen=
 
18986
ac_sed_dataroot='
 
18987
/datarootdir/ {
 
18988
  p
 
18989
  q
 
18990
}
 
18991
/@datadir@/p
 
18992
/@docdir@/p
 
18993
/@infodir@/p
 
18994
/@localedir@/p
 
18995
/@mandir@/p'
 
18996
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
18997
*datarootdir*) ac_datarootdir_seen=yes;;
 
18998
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
18999
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
19000
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
19001
_ACEOF
 
19002
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19003
  ac_datarootdir_hack='
 
19004
  s&@datadir@&$datadir&g
 
19005
  s&@docdir@&$docdir&g
 
19006
  s&@infodir@&$infodir&g
 
19007
  s&@localedir@&$localedir&g
 
19008
  s&@mandir@&$mandir&g
 
19009
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
19010
esac
 
19011
_ACEOF
 
19012
 
 
19013
# Neutralize VPATH when `$srcdir' = `.'.
 
19014
# Shell code in configure.ac might set extrasub.
 
19015
# FIXME: do we really want to maintain this feature?
 
19016
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19017
ac_sed_extra="$ac_vpsub
 
19018
$extrasub
 
19019
_ACEOF
 
19020
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19021
:t
 
19022
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
19023
s|@configure_input@|$ac_sed_conf_input|;t t
 
19024
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
19025
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
19026
s&@srcdir@&$ac_srcdir&;t t
 
19027
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
19028
s&@top_srcdir@&$ac_top_srcdir&;t t
 
19029
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
19030
s&@builddir@&$ac_builddir&;t t
 
19031
s&@abs_builddir@&$ac_abs_builddir&;t t
 
19032
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
19033
s&@INSTALL@&$ac_INSTALL&;t t
 
19034
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
19035
$ac_datarootdir_hack
 
19036
"
 
19037
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
19038
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
19039
 
 
19040
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
19041
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
19042
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
19043
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
19044
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19045
which seems to be undefined.  Please make sure it is defined" >&5
 
19046
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19047
which seems to be undefined.  Please make sure it is defined" >&2;}
 
19048
 
 
19049
  rm -f "$ac_tmp/stdin"
 
19050
  case $ac_file in
 
19051
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
19052
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
19053
  esac \
 
19054
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
19055
 ;;
 
19056
  :H)
 
19057
  #
 
19058
  # CONFIG_HEADER
 
19059
  #
 
19060
  if test x"$ac_file" != x-; then
 
19061
    {
 
19062
      $as_echo "/* $configure_input  */" \
 
19063
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
19064
    } >"$ac_tmp/config.h" \
 
19065
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
19066
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
19067
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
19068
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
19069
    else
 
19070
      rm -f "$ac_file"
 
19071
      mv "$ac_tmp/config.h" "$ac_file" \
 
19072
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
19073
    fi
 
19074
  else
 
19075
    $as_echo "/* $configure_input  */" \
 
19076
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
19077
      || as_fn_error $? "could not create -" "$LINENO" 5
 
19078
  fi
 
19079
# Compute "$ac_file"'s index in $config_headers.
 
19080
_am_arg="$ac_file"
 
19081
_am_stamp_count=1
 
19082
for _am_header in $config_headers :; do
 
19083
  case $_am_header in
 
19084
    $_am_arg | $_am_arg:* )
 
19085
      break ;;
 
19086
    * )
 
19087
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
19088
  esac
 
19089
done
 
19090
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
19091
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19092
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
19093
         X"$_am_arg" : 'X\(//\)$' \| \
 
19094
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
19095
$as_echo X"$_am_arg" |
 
19096
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19097
            s//\1/
 
19098
            q
 
19099
          }
 
19100
          /^X\(\/\/\)[^/].*/{
 
19101
            s//\1/
 
19102
            q
 
19103
          }
 
19104
          /^X\(\/\/\)$/{
 
19105
            s//\1/
 
19106
            q
 
19107
          }
 
19108
          /^X\(\/\).*/{
 
19109
            s//\1/
 
19110
            q
 
19111
          }
 
19112
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
19113
 ;;
 
19114
 
 
19115
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
19116
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
19117
 ;;
 
19118
  esac
 
19119
 
 
19120
 
 
19121
  case $ac_file$ac_mode in
 
19122
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
19123
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
19124
  # are listed without --file.  Let's play safe and only enable the eval
 
19125
  # if we detect the quoting.
 
19126
  case $CONFIG_FILES in
 
19127
  *\'*) eval set x "$CONFIG_FILES" ;;
 
19128
  *)   set x $CONFIG_FILES ;;
 
19129
  esac
 
19130
  shift
 
19131
  for mf
 
19132
  do
 
19133
    # Strip MF so we end up with the name of the file.
 
19134
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
19135
    # Check whether this is an Automake generated Makefile or not.
 
19136
    # We used to match only the files named `Makefile.in', but
 
19137
    # some people rename them; so instead we look at the file content.
 
19138
    # Grep'ing the first line is not enough: some people post-process
 
19139
    # each Makefile.in and add a new line on top of each file to say so.
 
19140
    # Grep'ing the whole file is not good either: AIX grep has a line
 
19141
    # limit of 2048, but all sed's we know have understand at least 4000.
 
19142
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
19143
      dirpart=`$as_dirname -- "$mf" ||
 
19144
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19145
         X"$mf" : 'X\(//\)[^/]' \| \
 
19146
         X"$mf" : 'X\(//\)$' \| \
 
19147
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
19148
$as_echo X"$mf" |
 
19149
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19150
            s//\1/
 
19151
            q
 
19152
          }
 
19153
          /^X\(\/\/\)[^/].*/{
 
19154
            s//\1/
 
19155
            q
 
19156
          }
 
19157
          /^X\(\/\/\)$/{
 
19158
            s//\1/
 
19159
            q
 
19160
          }
 
19161
          /^X\(\/\).*/{
 
19162
            s//\1/
 
19163
            q
 
19164
          }
 
19165
          s/.*/./; q'`
 
19166
    else
 
19167
      continue
 
19168
    fi
 
19169
    # Extract the definition of DEPDIR, am__include, and am__quote
 
19170
    # from the Makefile without running `make'.
 
19171
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
19172
    test -z "$DEPDIR" && continue
 
19173
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
19174
    test -z "am__include" && continue
 
19175
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
19176
    # When using ansi2knr, U may be empty or an underscore; expand it
 
19177
    U=`sed -n 's/^U = //p' < "$mf"`
 
19178
    # Find all dependency output files, they are included files with
 
19179
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
19180
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
19181
    # expansion.
 
19182
    for file in `sed -n "
 
19183
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
19184
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
19185
      # Make sure the directory exists.
 
19186
      test -f "$dirpart/$file" && continue
 
19187
      fdir=`$as_dirname -- "$file" ||
 
19188
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19189
         X"$file" : 'X\(//\)[^/]' \| \
 
19190
         X"$file" : 'X\(//\)$' \| \
 
19191
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
19192
$as_echo X"$file" |
 
19193
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19194
            s//\1/
 
19195
            q
 
19196
          }
 
19197
          /^X\(\/\/\)[^/].*/{
 
19198
            s//\1/
 
19199
            q
 
19200
          }
 
19201
          /^X\(\/\/\)$/{
 
19202
            s//\1/
 
19203
            q
 
19204
          }
 
19205
          /^X\(\/\).*/{
 
19206
            s//\1/
 
19207
            q
 
19208
          }
 
19209
          s/.*/./; q'`
 
19210
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
19211
      # echo "creating $dirpart/$file"
 
19212
      echo '# dummy' > "$dirpart/$file"
 
19213
    done
 
19214
  done
 
19215
}
 
19216
 ;;
 
19217
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
19218
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
19219
      esac ;;
 
19220
    "libtool":C)
 
19221
 
 
19222
    # See if we are running on zsh, and set the options which allow our
 
19223
    # commands through without removal of \ escapes.
 
19224
    if test -n "${ZSH_VERSION+set}" ; then
 
19225
      setopt NO_GLOB_SUBST
 
19226
    fi
 
19227
 
 
19228
    cfgfile="${ofile}T"
 
19229
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
19230
    $RM "$cfgfile"
 
19231
 
 
19232
    cat <<_LT_EOF >> "$cfgfile"
 
19233
#! $SHELL
 
19234
 
 
19235
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
19236
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
19237
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
19238
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
19239
#
 
19240
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
19241
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
19242
#                 Inc.
 
19243
#   Written by Gordon Matzigkeit, 1996
 
19244
#
 
19245
#   This file is part of GNU Libtool.
 
19246
#
 
19247
# GNU Libtool is free software; you can redistribute it and/or
 
19248
# modify it under the terms of the GNU General Public License as
 
19249
# published by the Free Software Foundation; either version 2 of
 
19250
# the License, or (at your option) any later version.
 
19251
#
 
19252
# As a special exception to the GNU General Public License,
 
19253
# if you distribute this file as part of a program or library that
 
19254
# is built using GNU Libtool, you may include this file under the
 
19255
# same distribution terms that you use for the rest of that program.
 
19256
#
 
19257
# GNU Libtool is distributed in the hope that it will be useful,
 
19258
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19259
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19260
# GNU General Public License for more details.
 
19261
#
 
19262
# You should have received a copy of the GNU General Public License
 
19263
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
19264
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
19265
# obtained by writing to the Free Software Foundation, Inc.,
 
19266
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
19267
 
 
19268
 
 
19269
# The names of the tagged configurations supported by this script.
 
19270
available_tags=""
 
19271
 
 
19272
# ### BEGIN LIBTOOL CONFIG
 
19273
 
 
19274
# Whether or not to build static libraries.
 
19275
build_old_libs=$enable_static
 
19276
 
 
19277
# Which release of libtool.m4 was used?
 
19278
macro_version=$macro_version
 
19279
macro_revision=$macro_revision
 
19280
 
 
19281
# Whether or not to build shared libraries.
 
19282
build_libtool_libs=$enable_shared
 
19283
 
 
19284
# What type of objects to build.
 
19285
pic_mode=$pic_mode
 
19286
 
 
19287
# Whether or not to optimize for fast installation.
 
19288
fast_install=$enable_fast_install
 
19289
 
 
19290
# Shell to use when invoking shell scripts.
 
19291
SHELL=$lt_SHELL
 
19292
 
 
19293
# An echo program that protects backslashes.
 
19294
ECHO=$lt_ECHO
 
19295
 
 
19296
# The host system.
 
19297
host_alias=$host_alias
 
19298
host=$host
 
19299
host_os=$host_os
 
19300
 
 
19301
# The build system.
 
19302
build_alias=$build_alias
 
19303
build=$build
 
19304
build_os=$build_os
 
19305
 
 
19306
# A sed program that does not truncate output.
 
19307
SED=$lt_SED
 
19308
 
 
19309
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
19310
Xsed="\$SED -e 1s/^X//"
 
19311
 
 
19312
# A grep program that handles long lines.
 
19313
GREP=$lt_GREP
 
19314
 
 
19315
# An ERE matcher.
 
19316
EGREP=$lt_EGREP
 
19317
 
 
19318
# A literal string matcher.
 
19319
FGREP=$lt_FGREP
 
19320
 
 
19321
# A BSD- or MS-compatible name lister.
 
19322
NM=$lt_NM
 
19323
 
 
19324
# Whether we need soft or hard links.
 
19325
LN_S=$lt_LN_S
 
19326
 
 
19327
# What is the maximum length of a command?
 
19328
max_cmd_len=$max_cmd_len
 
19329
 
 
19330
# Object file suffix (normally "o").
 
19331
objext=$ac_objext
 
19332
 
 
19333
# Executable file suffix (normally "").
 
19334
exeext=$exeext
 
19335
 
 
19336
# whether the shell understands "unset".
 
19337
lt_unset=$lt_unset
 
19338
 
 
19339
# turn spaces into newlines.
 
19340
SP2NL=$lt_lt_SP2NL
 
19341
 
 
19342
# turn newlines into spaces.
 
19343
NL2SP=$lt_lt_NL2SP
 
19344
 
 
19345
# convert \$build file names to \$host format.
 
19346
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
19347
 
 
19348
# convert \$build files to toolchain format.
 
19349
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
19350
 
 
19351
# An object symbol dumper.
 
19352
OBJDUMP=$lt_OBJDUMP
 
19353
 
 
19354
# Method to check whether dependent libraries are shared objects.
 
19355
deplibs_check_method=$lt_deplibs_check_method
 
19356
 
 
19357
# Command to use when deplibs_check_method = "file_magic".
 
19358
file_magic_cmd=$lt_file_magic_cmd
 
19359
 
 
19360
# How to find potential files when deplibs_check_method = "file_magic".
 
19361
file_magic_glob=$lt_file_magic_glob
 
19362
 
 
19363
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
19364
want_nocaseglob=$lt_want_nocaseglob
 
19365
 
 
19366
# DLL creation program.
 
19367
DLLTOOL=$lt_DLLTOOL
 
19368
 
 
19369
# Command to associate shared and link libraries.
 
19370
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
19371
 
 
19372
# The archiver.
 
19373
AR=$lt_AR
 
19374
 
 
19375
# Flags to create an archive.
 
19376
AR_FLAGS=$lt_AR_FLAGS
 
19377
 
 
19378
# How to feed a file listing to the archiver.
 
19379
archiver_list_spec=$lt_archiver_list_spec
 
19380
 
 
19381
# A symbol stripping program.
 
19382
STRIP=$lt_STRIP
 
19383
 
 
19384
# Commands used to install an old-style archive.
 
19385
RANLIB=$lt_RANLIB
 
19386
old_postinstall_cmds=$lt_old_postinstall_cmds
 
19387
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
19388
 
 
19389
# Whether to use a lock for old archive extraction.
 
19390
lock_old_archive_extraction=$lock_old_archive_extraction
 
19391
 
 
19392
# A C compiler.
 
19393
LTCC=$lt_CC
 
19394
 
 
19395
# LTCC compiler flags.
 
19396
LTCFLAGS=$lt_CFLAGS
 
19397
 
 
19398
# Take the output of nm and produce a listing of raw symbols and C names.
 
19399
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
19400
 
 
19401
# Transform the output of nm in a proper C declaration.
 
19402
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
19403
 
 
19404
# Transform the output of nm in a C name address pair.
 
19405
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
19406
 
 
19407
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
19408
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
19409
 
 
19410
# Specify filename containing input files for \$NM.
 
19411
nm_file_list_spec=$lt_nm_file_list_spec
 
19412
 
 
19413
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
19414
lt_sysroot=$lt_sysroot
 
19415
 
 
19416
# The name of the directory that contains temporary libtool files.
 
19417
objdir=$objdir
 
19418
 
 
19419
# Used to examine libraries when file_magic_cmd begins with "file".
 
19420
MAGIC_CMD=$MAGIC_CMD
 
19421
 
 
19422
# Must we lock files when doing compilation?
 
19423
need_locks=$lt_need_locks
 
19424
 
 
19425
# Manifest tool.
 
19426
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
19427
 
 
19428
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
19429
DSYMUTIL=$lt_DSYMUTIL
 
19430
 
 
19431
# Tool to change global to local symbols on Mac OS X.
 
19432
NMEDIT=$lt_NMEDIT
 
19433
 
 
19434
# Tool to manipulate fat objects and archives on Mac OS X.
 
19435
LIPO=$lt_LIPO
 
19436
 
 
19437
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
19438
OTOOL=$lt_OTOOL
 
19439
 
 
19440
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
19441
OTOOL64=$lt_OTOOL64
 
19442
 
 
19443
# Old archive suffix (normally "a").
 
19444
libext=$libext
 
19445
 
 
19446
# Shared library suffix (normally ".so").
 
19447
shrext_cmds=$lt_shrext_cmds
 
19448
 
 
19449
# The commands to extract the exported symbol list from a shared archive.
 
19450
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
19451
 
 
19452
# Variables whose values should be saved in libtool wrapper scripts and
 
19453
# restored at link time.
 
19454
variables_saved_for_relink=$lt_variables_saved_for_relink
 
19455
 
 
19456
# Do we need the "lib" prefix for modules?
 
19457
need_lib_prefix=$need_lib_prefix
 
19458
 
 
19459
# Do we need a version for libraries?
 
19460
need_version=$need_version
 
19461
 
 
19462
# Library versioning type.
 
19463
version_type=$version_type
 
19464
 
 
19465
# Shared library runtime path variable.
 
19466
runpath_var=$runpath_var
 
19467
 
 
19468
# Shared library path variable.
 
19469
shlibpath_var=$shlibpath_var
 
19470
 
 
19471
# Is shlibpath searched before the hard-coded library search path?
 
19472
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
19473
 
 
19474
# Format of library name prefix.
 
19475
libname_spec=$lt_libname_spec
 
19476
 
 
19477
# List of archive names.  First name is the real one, the rest are links.
 
19478
# The last name is the one that the linker finds with -lNAME
 
19479
library_names_spec=$lt_library_names_spec
 
19480
 
 
19481
# The coded name of the library, if different from the real name.
 
19482
soname_spec=$lt_soname_spec
 
19483
 
 
19484
# Permission mode override for installation of shared libraries.
 
19485
install_override_mode=$lt_install_override_mode
 
19486
 
 
19487
# Command to use after installation of a shared archive.
 
19488
postinstall_cmds=$lt_postinstall_cmds
 
19489
 
 
19490
# Command to use after uninstallation of a shared archive.
 
19491
postuninstall_cmds=$lt_postuninstall_cmds
 
19492
 
 
19493
# Commands used to finish a libtool library installation in a directory.
 
19494
finish_cmds=$lt_finish_cmds
 
19495
 
 
19496
# As "finish_cmds", except a single script fragment to be evaled but
 
19497
# not shown.
 
19498
finish_eval=$lt_finish_eval
 
19499
 
 
19500
# Whether we should hardcode library paths into libraries.
 
19501
hardcode_into_libs=$hardcode_into_libs
 
19502
 
 
19503
# Compile-time system search path for libraries.
 
19504
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
19505
 
 
19506
# Run-time system search path for libraries.
 
19507
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
19508
 
 
19509
# Whether dlopen is supported.
 
19510
dlopen_support=$enable_dlopen
 
19511
 
 
19512
# Whether dlopen of programs is supported.
 
19513
dlopen_self=$enable_dlopen_self
 
19514
 
 
19515
# Whether dlopen of statically linked programs is supported.
 
19516
dlopen_self_static=$enable_dlopen_self_static
 
19517
 
 
19518
# Commands to strip libraries.
 
19519
old_striplib=$lt_old_striplib
 
19520
striplib=$lt_striplib
 
19521
 
 
19522
 
 
19523
# The linker used to build libraries.
 
19524
LD=$lt_LD
 
19525
 
 
19526
# How to create reloadable object files.
 
19527
reload_flag=$lt_reload_flag
 
19528
reload_cmds=$lt_reload_cmds
 
19529
 
 
19530
# Commands used to build an old-style archive.
 
19531
old_archive_cmds=$lt_old_archive_cmds
 
19532
 
 
19533
# A language specific compiler.
 
19534
CC=$lt_compiler
 
19535
 
 
19536
# Is the compiler the GNU compiler?
 
19537
with_gcc=$GCC
 
19538
 
 
19539
# Compiler flag to turn off builtin functions.
 
19540
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
19541
 
 
19542
# Additional compiler flags for building library objects.
 
19543
pic_flag=$lt_lt_prog_compiler_pic
 
19544
 
 
19545
# How to pass a linker flag through the compiler.
 
19546
wl=$lt_lt_prog_compiler_wl
 
19547
 
 
19548
# Compiler flag to prevent dynamic linking.
 
19549
link_static_flag=$lt_lt_prog_compiler_static
 
19550
 
 
19551
# Does compiler simultaneously support -c and -o options?
 
19552
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
19553
 
 
19554
# Whether or not to add -lc for building shared libraries.
 
19555
build_libtool_need_lc=$archive_cmds_need_lc
 
19556
 
 
19557
# Whether or not to disallow shared libs when runtime libs are static.
 
19558
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
19559
 
 
19560
# Compiler flag to allow reflexive dlopens.
 
19561
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
19562
 
 
19563
# Compiler flag to generate shared objects directly from archives.
 
19564
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
19565
 
 
19566
# Whether the compiler copes with passing no objects directly.
 
19567
compiler_needs_object=$lt_compiler_needs_object
 
19568
 
 
19569
# Create an old-style archive from a shared archive.
 
19570
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
19571
 
 
19572
# Create a temporary old-style archive to link instead of a shared archive.
 
19573
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
19574
 
 
19575
# Commands used to build a shared archive.
 
19576
archive_cmds=$lt_archive_cmds
 
19577
archive_expsym_cmds=$lt_archive_expsym_cmds
 
19578
 
 
19579
# Commands used to build a loadable module if different from building
 
19580
# a shared archive.
 
19581
module_cmds=$lt_module_cmds
 
19582
module_expsym_cmds=$lt_module_expsym_cmds
 
19583
 
 
19584
# Whether we are building with GNU ld or not.
 
19585
with_gnu_ld=$lt_with_gnu_ld
 
19586
 
 
19587
# Flag that allows shared libraries with undefined symbols to be built.
 
19588
allow_undefined_flag=$lt_allow_undefined_flag
 
19589
 
 
19590
# Flag that enforces no undefined symbols.
 
19591
no_undefined_flag=$lt_no_undefined_flag
 
19592
 
 
19593
# Flag to hardcode \$libdir into a binary during linking.
 
19594
# This must work even if \$libdir does not exist
 
19595
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
19596
 
 
19597
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
19598
# during linking.  This must work even if \$libdir does not exist.
 
19599
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
19600
 
 
19601
# Whether we need a single "-rpath" flag with a separated argument.
 
19602
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
19603
 
 
19604
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19605
# DIR into the resulting binary.
 
19606
hardcode_direct=$hardcode_direct
 
19607
 
 
19608
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19609
# DIR into the resulting binary and the resulting library dependency is
 
19610
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
19611
# library is relocated.
 
19612
hardcode_direct_absolute=$hardcode_direct_absolute
 
19613
 
 
19614
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
19615
# into the resulting binary.
 
19616
hardcode_minus_L=$hardcode_minus_L
 
19617
 
 
19618
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
19619
# into the resulting binary.
 
19620
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
19621
 
 
19622
# Set to "yes" if building a shared library automatically hardcodes DIR
 
19623
# into the library and all subsequent libraries and executables linked
 
19624
# against it.
 
19625
hardcode_automatic=$hardcode_automatic
 
19626
 
 
19627
# Set to yes if linker adds runtime paths of dependent libraries
 
19628
# to runtime path list.
 
19629
inherit_rpath=$inherit_rpath
 
19630
 
 
19631
# Whether libtool must link a program against all its dependency libraries.
 
19632
link_all_deplibs=$link_all_deplibs
 
19633
 
 
19634
# Set to "yes" if exported symbols are required.
 
19635
always_export_symbols=$always_export_symbols
 
19636
 
 
19637
# The commands to list exported symbols.
 
19638
export_symbols_cmds=$lt_export_symbols_cmds
 
19639
 
 
19640
# Symbols that should not be listed in the preloaded symbols.
 
19641
exclude_expsyms=$lt_exclude_expsyms
 
19642
 
 
19643
# Symbols that must always be exported.
 
19644
include_expsyms=$lt_include_expsyms
 
19645
 
 
19646
# Commands necessary for linking programs (against libraries) with templates.
 
19647
prelink_cmds=$lt_prelink_cmds
 
19648
 
 
19649
# Commands necessary for finishing linking programs.
 
19650
postlink_cmds=$lt_postlink_cmds
 
19651
 
 
19652
# Specify filename containing input files.
 
19653
file_list_spec=$lt_file_list_spec
 
19654
 
 
19655
# How to hardcode a shared library path into an executable.
 
19656
hardcode_action=$hardcode_action
 
19657
 
 
19658
# ### END LIBTOOL CONFIG
 
19659
 
 
19660
_LT_EOF
 
19661
 
 
19662
  case $host_os in
 
19663
  aix3*)
 
19664
    cat <<\_LT_EOF >> "$cfgfile"
 
19665
# AIX sometimes has problems with the GCC collect2 program.  For some
 
19666
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
19667
# vanish in a puff of smoke.
 
19668
if test "X${COLLECT_NAMES+set}" != Xset; then
 
19669
  COLLECT_NAMES=
 
19670
  export COLLECT_NAMES
 
19671
fi
 
19672
_LT_EOF
 
19673
    ;;
 
19674
  esac
 
19675
 
 
19676
 
 
19677
ltmain="$ac_aux_dir/ltmain.sh"
 
19678
 
 
19679
 
 
19680
  # We use sed instead of cat because bash on DJGPP gets confused if
 
19681
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
19682
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
19683
  # is reportedly fixed, but why not run on old versions too?
 
19684
  sed '$q' "$ltmain" >> "$cfgfile" \
 
19685
     || (rm -f "$cfgfile"; exit 1)
 
19686
 
 
19687
  if test x"$xsi_shell" = xyes; then
 
19688
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
19689
func_dirname ()\
 
19690
{\
 
19691
\    case ${1} in\
 
19692
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
19693
\      *  ) func_dirname_result="${3}" ;;\
 
19694
\    esac\
 
19695
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
19696
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19697
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19698
test 0 -eq $? || _lt_function_replace_fail=:
 
19699
 
 
19700
 
 
19701
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
19702
func_basename ()\
 
19703
{\
 
19704
\    func_basename_result="${1##*/}"\
 
19705
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
19706
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19707
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19708
test 0 -eq $? || _lt_function_replace_fail=:
 
19709
 
 
19710
 
 
19711
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
19712
func_dirname_and_basename ()\
 
19713
{\
 
19714
\    case ${1} in\
 
19715
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
19716
\      *  ) func_dirname_result="${3}" ;;\
 
19717
\    esac\
 
19718
\    func_basename_result="${1##*/}"\
 
19719
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
19720
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19721
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19722
test 0 -eq $? || _lt_function_replace_fail=:
 
19723
 
 
19724
 
 
19725
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
19726
func_stripname ()\
 
19727
{\
 
19728
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
19729
\    # positional parameters, so assign one to ordinary parameter first.\
 
19730
\    func_stripname_result=${3}\
 
19731
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
19732
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
19733
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
19734
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19735
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19736
test 0 -eq $? || _lt_function_replace_fail=:
 
19737
 
 
19738
 
 
19739
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
19740
func_split_long_opt ()\
 
19741
{\
 
19742
\    func_split_long_opt_name=${1%%=*}\
 
19743
\    func_split_long_opt_arg=${1#*=}\
 
19744
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
19745
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19746
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19747
test 0 -eq $? || _lt_function_replace_fail=:
 
19748
 
 
19749
 
 
19750
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
19751
func_split_short_opt ()\
 
19752
{\
 
19753
\    func_split_short_opt_arg=${1#??}\
 
19754
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
19755
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
19756
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19757
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19758
test 0 -eq $? || _lt_function_replace_fail=:
 
19759
 
 
19760
 
 
19761
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
19762
func_lo2o ()\
 
19763
{\
 
19764
\    case ${1} in\
 
19765
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
19766
\      *)    func_lo2o_result=${1} ;;\
 
19767
\    esac\
 
19768
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
19769
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19770
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19771
test 0 -eq $? || _lt_function_replace_fail=:
 
19772
 
 
19773
 
 
19774
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
19775
func_xform ()\
 
19776
{\
 
19777
    func_xform_result=${1%.*}.lo\
 
19778
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
19779
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19780
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19781
test 0 -eq $? || _lt_function_replace_fail=:
 
19782
 
 
19783
 
 
19784
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
19785
func_arith ()\
 
19786
{\
 
19787
    func_arith_result=$(( $* ))\
 
19788
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
19789
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19790
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19791
test 0 -eq $? || _lt_function_replace_fail=:
 
19792
 
 
19793
 
 
19794
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
19795
func_len ()\
 
19796
{\
 
19797
    func_len_result=${#1}\
 
19798
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
19799
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19800
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19801
test 0 -eq $? || _lt_function_replace_fail=:
 
19802
 
 
19803
fi
 
19804
 
 
19805
if test x"$lt_shell_append" = xyes; then
 
19806
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
19807
func_append ()\
 
19808
{\
 
19809
    eval "${1}+=\\${2}"\
 
19810
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
19811
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19812
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19813
test 0 -eq $? || _lt_function_replace_fail=:
 
19814
 
 
19815
 
 
19816
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
19817
func_append_quoted ()\
 
19818
{\
 
19819
\    func_quote_for_eval "${2}"\
 
19820
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
19821
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
19822
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19823
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19824
test 0 -eq $? || _lt_function_replace_fail=:
 
19825
 
 
19826
 
 
19827
  # Save a `func_append' function call where possible by direct use of '+='
 
19828
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
19829
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19830
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19831
  test 0 -eq $? || _lt_function_replace_fail=:
 
19832
else
 
19833
  # Save a `func_append' function call even when '+=' is not available
 
19834
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
19835
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19836
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19837
  test 0 -eq $? || _lt_function_replace_fail=:
 
19838
fi
 
19839
 
 
19840
if test x"$_lt_function_replace_fail" = x":"; then
 
19841
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
19842
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
19843
fi
 
19844
 
 
19845
 
 
19846
   mv -f "$cfgfile" "$ofile" ||
 
19847
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
19848
  chmod +x "$ofile"
 
19849
 
 
19850
 ;;
 
19851
    "po/stamp-it":C)
 
19852
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
19853
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
19854
    fi
 
19855
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
19856
    >"po/stamp-it.tmp"
 
19857
    sed '/^#/d
 
19858
         s/^[[].*] *//
 
19859
         /^[    ]*$/d
 
19860
        '"s|^|  $ac_top_srcdir/|" \
 
19861
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
19862
 
 
19863
    sed '/^POTFILES =/,/[^\\]$/ {
 
19864
                /^POTFILES =/!d
 
19865
                r po/POTFILES
 
19866
          }
 
19867
         ' "po/Makefile.in" >"po/Makefile"
 
19868
    rm -f "po/Makefile.tmp"
 
19869
    mv "po/stamp-it.tmp" "po/stamp-it"
 
19870
   ;;
 
19871
 
 
19872
  esac
 
19873
done # for ac_tag
 
19874
 
 
19875
 
 
19876
as_fn_exit 0
 
19877
_ACEOF
 
19878
ac_clean_files=$ac_clean_files_save
 
19879
 
 
19880
test $ac_write_fail = 0 ||
 
19881
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
19882
 
 
19883
 
 
19884
# configure is writing to config.log, and then calls config.status.
 
19885
# config.status does its own redirection, appending to config.log.
 
19886
# Unfortunately, on DOS this fails, as config.log is still kept open
 
19887
# by configure, so config.status won't be able to write to it; its
 
19888
# output is simply discarded.  So we exec the FD to /dev/null,
 
19889
# effectively closing config.log, so it can be properly (re)opened and
 
19890
# appended to by config.status.  When coming back to configure, we
 
19891
# need to make the FD available again.
 
19892
if test "$no_create" != yes; then
 
19893
  ac_cs_success=:
 
19894
  ac_config_status_args=
 
19895
  test "$silent" = yes &&
 
19896
    ac_config_status_args="$ac_config_status_args --quiet"
 
19897
  exec 5>/dev/null
 
19898
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
19899
  exec 5>>config.log
 
19900
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
19901
  # would make configure fail if this is the last instruction.
 
19902
  $ac_cs_success || as_fn_exit 1
 
19903
fi
 
19904
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
19905
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19906
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
19907
fi
 
19908
 
 
19909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
 
19910
Build options:
 
19911
  Version                   $IBUS_VERSION
 
19912
  Install prefix            $prefix
 
19913
  Build shared libs         $enable_shared
 
19914
  Build static libs         $enable_static
 
19915
  CFLAGS                    $CFLAGS
 
19916
  Gtk2 immodule dir         $GTK2_IM_MODULEDIR
 
19917
  Gtk3 immodule dir         $GTK3_IM_MODULEDIR
 
19918
  Build gtk2 immodule       $enable_gtk2
 
19919
  Build gtk3 immodule       $enable_gtk3
 
19920
  Build XIM agent server    $enable_xim
 
19921
  Build python modules      $enable_python
 
19922
  Build gconf modules       $enable_gconf
 
19923
  Build memconf modules     $enable_memconf
 
19924
  Build dconf modules       $enable_dconf
 
19925
  Build introspection       $found_introspection
 
19926
  IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\"
 
19927
  Build vala binding        $enable_vala
 
19928
  Build document            $enable_gtk_doc
 
19929
  Enable key snooper        $enable_key_snooper
 
19930
  No snooper regexes        \"$NO_SNOOPER_APPS\"
 
19931
  Panel icon                \"$IBUS_ICON_KEYBOARD\"
 
19932
  Enable surrounding-text   $enable_surrounding_text
 
19933
" >&5
 
19934
$as_echo "
 
19935
Build options:
 
19936
  Version                   $IBUS_VERSION
 
19937
  Install prefix            $prefix
 
19938
  Build shared libs         $enable_shared
 
19939
  Build static libs         $enable_static
 
19940
  CFLAGS                    $CFLAGS
 
19941
  Gtk2 immodule dir         $GTK2_IM_MODULEDIR
 
19942
  Gtk3 immodule dir         $GTK3_IM_MODULEDIR
 
19943
  Build gtk2 immodule       $enable_gtk2
 
19944
  Build gtk3 immodule       $enable_gtk3
 
19945
  Build XIM agent server    $enable_xim
 
19946
  Build python modules      $enable_python
 
19947
  Build gconf modules       $enable_gconf
 
19948
  Build memconf modules     $enable_memconf
 
19949
  Build dconf modules       $enable_dconf
 
19950
  Build introspection       $found_introspection
 
19951
  IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\"
 
19952
  Build vala binding        $enable_vala
 
19953
  Build document            $enable_gtk_doc
 
19954
  Enable key snooper        $enable_key_snooper
 
19955
  No snooper regexes        \"$NO_SNOOPER_APPS\"
 
19956
  Panel icon                \"$IBUS_ICON_KEYBOARD\"
 
19957
  Enable surrounding-text   $enable_surrounding_text
 
19958
" >&6; }
 
19959