~ubuntu-branches/ubuntu/quantal/cheese/quantal

« back to all changes in this revision

Viewing changes to .pc/debian-changes-3.2.2-0ubuntu1/configure

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2011-11-22 15:02:36 UTC
  • Revision ID: package-import@ubuntu.com-20111122150236-6fs4o0adktyojxm2
Tags: 3.2.2-0ubuntu2
* debian/control:
  - Drop Vcs-Bzr and update maintainer; this is in universe, not maintained
    by the Desktop Team.
* debian/patches/debian-changes-3.2.2-0ubuntu1:
  - Dropped, looks like an accidental change
* debian/patches/add-missing-cheese-common-vapi.patch:
  - Add missing file from the tarball, grabbed from bzr.  Fixes FTBFS

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 cheese 3.2.2.
4
 
#
5
 
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
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://bugzilla.gnome.org/enter_bug.cgi?product=cheese
251
 
$0: about your system, including any error possibly output
252
 
$0: before this message. Then install a modern shell, or
253
 
$0: manually run the script under such a shell if you do
254
 
$0: have one."
255
 
  fi
256
 
  exit 1
257
 
fi
258
 
fi
259
 
fi
260
 
SHELL=${CONFIG_SHELL-/bin/sh}
261
 
export SHELL
262
 
# Unset more variables known to interfere with behavior of common tools.
263
 
CLICOLOR_FORCE= GREP_OPTIONS=
264
 
unset CLICOLOR_FORCE GREP_OPTIONS
265
 
 
266
 
## --------------------- ##
267
 
## M4sh Shell Functions. ##
268
 
## --------------------- ##
269
 
# as_fn_unset VAR
270
 
# ---------------
271
 
# Portably unset VAR.
272
 
as_fn_unset ()
273
 
{
274
 
  { eval $1=; unset $1;}
275
 
}
276
 
as_unset=as_fn_unset
277
 
 
278
 
# as_fn_set_status STATUS
279
 
# -----------------------
280
 
# Set $? to STATUS, without forking.
281
 
as_fn_set_status ()
282
 
{
283
 
  return $1
284
 
} # as_fn_set_status
285
 
 
286
 
# as_fn_exit STATUS
287
 
# -----------------
288
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289
 
as_fn_exit ()
290
 
{
291
 
  set +e
292
 
  as_fn_set_status $1
293
 
  exit $1
294
 
} # as_fn_exit
295
 
 
296
 
# as_fn_mkdir_p
297
 
# -------------
298
 
# Create "$as_dir" as a directory, including parents if necessary.
299
 
as_fn_mkdir_p ()
300
 
{
301
 
 
302
 
  case $as_dir in #(
303
 
  -*) as_dir=./$as_dir;;
304
 
  esac
305
 
  test -d "$as_dir" || eval $as_mkdir_p || {
306
 
    as_dirs=
307
 
    while :; do
308
 
      case $as_dir in #(
309
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310
 
      *) as_qdir=$as_dir;;
311
 
      esac
312
 
      as_dirs="'$as_qdir' $as_dirs"
313
 
      as_dir=`$as_dirname -- "$as_dir" ||
314
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
316
 
         X"$as_dir" : 'X\(//\)$' \| \
317
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318
 
$as_echo X"$as_dir" |
319
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
 
            s//\1/
321
 
            q
322
 
          }
323
 
          /^X\(\/\/\)[^/].*/{
324
 
            s//\1/
325
 
            q
326
 
          }
327
 
          /^X\(\/\/\)$/{
328
 
            s//\1/
329
 
            q
330
 
          }
331
 
          /^X\(\/\).*/{
332
 
            s//\1/
333
 
            q
334
 
          }
335
 
          s/.*/./; q'`
336
 
      test -d "$as_dir" && break
337
 
    done
338
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
339
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
 
 
341
 
 
342
 
} # as_fn_mkdir_p
343
 
# as_fn_append VAR VALUE
344
 
# ----------------------
345
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
346
 
# advantage of any shell optimizations that allow amortized linear growth over
347
 
# repeated appends, instead of the typical quadratic growth present in naive
348
 
# implementations.
349
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350
 
  eval 'as_fn_append ()
351
 
  {
352
 
    eval $1+=\$2
353
 
  }'
354
 
else
355
 
  as_fn_append ()
356
 
  {
357
 
    eval $1=\$$1\$2
358
 
  }
359
 
fi # as_fn_append
360
 
 
361
 
# as_fn_arith ARG...
362
 
# ------------------
363
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
364
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
365
 
# must be portable across $(()) and expr.
366
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367
 
  eval 'as_fn_arith ()
368
 
  {
369
 
    as_val=$(( $* ))
370
 
  }'
371
 
else
372
 
  as_fn_arith ()
373
 
  {
374
 
    as_val=`expr "$@" || test $? -eq 1`
375
 
  }
376
 
fi # as_fn_arith
377
 
 
378
 
 
379
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
380
 
# ----------------------------------------
381
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383
 
# script with STATUS, using 1 if that was 0.
384
 
as_fn_error ()
385
 
{
386
 
  as_status=$1; test $as_status -eq 0 && as_status=1
387
 
  if test "$4"; then
388
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390
 
  fi
391
 
  $as_echo "$as_me: error: $2" >&2
392
 
  as_fn_exit $as_status
393
 
} # as_fn_error
394
 
 
395
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
396
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
397
 
  as_expr=expr
398
 
else
399
 
  as_expr=false
400
 
fi
401
 
 
402
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403
 
  as_basename=basename
404
 
else
405
 
  as_basename=false
406
 
fi
407
 
 
408
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409
 
  as_dirname=dirname
410
 
else
411
 
  as_dirname=false
412
 
fi
413
 
 
414
 
as_me=`$as_basename -- "$0" ||
415
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416
 
         X"$0" : 'X\(//\)$' \| \
417
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
 
$as_echo X/"$0" |
419
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
420
 
            s//\1/
421
 
            q
422
 
          }
423
 
          /^X\/\(\/\/\)$/{
424
 
            s//\1/
425
 
            q
426
 
          }
427
 
          /^X\/\(\/\).*/{
428
 
            s//\1/
429
 
            q
430
 
          }
431
 
          s/.*/./; q'`
432
 
 
433
 
# Avoid depending upon Character Ranges.
434
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437
 
as_cr_digits='0123456789'
438
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
439
 
 
440
 
 
441
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
442
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
443
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446
 
  sed -n '
447
 
    p
448
 
    /[$]LINENO/=
449
 
  ' <$as_myself |
450
 
    sed '
451
 
      s/[$]LINENO.*/&-/
452
 
      t lineno
453
 
      b
454
 
      :lineno
455
 
      N
456
 
      :loop
457
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458
 
      t loop
459
 
      s/-\n.*//
460
 
    ' >$as_me.lineno &&
461
 
  chmod +x "$as_me.lineno" ||
462
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
 
 
464
 
  # Don't try to exec as it changes $[0], causing all sort of problems
465
 
  # (the dirname of $[0] is not the place where we might find the
466
 
  # original and so on.  Autoconf is especially sensitive to this).
467
 
  . "./$as_me.lineno"
468
 
  # Exit status is that of the last command.
469
 
  exit
470
 
}
471
 
 
472
 
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in #(((((
474
 
-n*)
475
 
  case `echo 'xy\c'` in
476
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  xy)  ECHO_C='\c';;
478
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479
 
       ECHO_T=' ';;
480
 
  esac;;
481
 
*)
482
 
  ECHO_N='-n';;
483
 
esac
484
 
 
485
 
rm -f conf$$ conf$$.exe conf$$.file
486
 
if test -d conf$$.dir; then
487
 
  rm -f conf$$.dir/conf$$.file
488
 
else
489
 
  rm -f conf$$.dir
490
 
  mkdir conf$$.dir 2>/dev/null
491
 
fi
492
 
if (echo >conf$$.file) 2>/dev/null; then
493
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
494
 
    as_ln_s='ln -s'
495
 
    # ... but there are two gotchas:
496
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498
 
    # In both cases, we have to default to `cp -p'.
499
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
 
      as_ln_s='cp -p'
501
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
502
 
    as_ln_s=ln
503
 
  else
504
 
    as_ln_s='cp -p'
505
 
  fi
506
 
else
507
 
  as_ln_s='cp -p'
508
 
fi
509
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510
 
rmdir conf$$.dir 2>/dev/null
511
 
 
512
 
if mkdir -p . 2>/dev/null; then
513
 
  as_mkdir_p='mkdir -p "$as_dir"'
514
 
else
515
 
  test -d ./-p && rmdir ./-p
516
 
  as_mkdir_p=false
517
 
fi
518
 
 
519
 
if test -x / >/dev/null 2>&1; then
520
 
  as_test_x='test -x'
521
 
else
522
 
  if ls -dL / >/dev/null 2>&1; then
523
 
    as_ls_L_option=L
524
 
  else
525
 
    as_ls_L_option=
526
 
  fi
527
 
  as_test_x='
528
 
    eval sh -c '\''
529
 
      if test -d "$1"; then
530
 
        test -d "$1/.";
531
 
      else
532
 
        case $1 in #(
533
 
        -*)set "./$1";;
534
 
        esac;
535
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536
 
        ???[sx]*):;;*)false;;esac;fi
537
 
    '\'' sh
538
 
  '
539
 
fi
540
 
as_executable_p=$as_test_x
541
 
 
542
 
# Sed expression to map a string onto a valid CPP name.
543
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
 
 
545
 
# Sed expression to map a string onto a valid variable name.
546
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
 
 
548
 
as_awk_strverscmp='
549
 
  # Use only awk features that work with 7th edition Unix awk (1978).
550
 
  # My, what an old awk you have, Mr. Solaris!
551
 
  END {
552
 
    while (length(v1) && length(v2)) {
553
 
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
554
 
      # Normally this is a single character, but if v1 and v2 contain digits,
555
 
      # compare them as integers and fractions as strverscmp does.
556
 
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
557
 
        # Split v1 and v2 into their leading digit string components d1 and d2,
558
 
        # and advance v1 and v2 past the leading digit strings.
559
 
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
560
 
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
561
 
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
562
 
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
563
 
        if (d1 ~ /^0/) {
564
 
          if (d2 ~ /^0/) {
565
 
            # Compare two fractions.
566
 
            while (d1 ~ /^0/ && d2 ~ /^0/) {
567
 
              d1 = substr(d1, 2); len1--
568
 
              d2 = substr(d2, 2); len2--
569
 
            }
570
 
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
571
 
              # The two components differ in length, and the common prefix
572
 
              # contains only leading zeros.  Consider the longer to be less.
573
 
              d1 = -len1
574
 
              d2 = -len2
575
 
            } else {
576
 
              # Otherwise, compare as strings.
577
 
              d1 = "x" d1
578
 
              d2 = "x" d2
579
 
            }
580
 
          } else {
581
 
            # A fraction is less than an integer.
582
 
            exit 1
583
 
          }
584
 
        } else {
585
 
          if (d2 ~ /^0/) {
586
 
            # An integer is greater than a fraction.
587
 
            exit 2
588
 
          } else {
589
 
            # Compare two integers.
590
 
            d1 += 0
591
 
            d2 += 0
592
 
          }
593
 
        }
594
 
      } else {
595
 
        # The normal case, without worrying about digits.
596
 
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
597
 
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
598
 
      }
599
 
      if (d1 < d2) exit 1
600
 
      if (d1 > d2) exit 2
601
 
    }
602
 
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
603
 
    # which mishandles some comparisons of empty strings to integers.
604
 
    if (length(v2)) exit 1
605
 
    if (length(v1)) exit 2
606
 
  }
607
 
'
608
 
SHELL=${CONFIG_SHELL-/bin/sh}
609
 
 
610
 
 
611
 
test -n "$DJDIR" || exec 7<&0 </dev/null
612
 
exec 6>&1
613
 
 
614
 
# Name of the host.
615
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
616
 
# so uname gets run too.
617
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
618
 
 
619
 
#
620
 
# Initializations.
621
 
#
622
 
ac_default_prefix=/usr/local
623
 
ac_clean_files=
624
 
ac_config_libobj_dir=.
625
 
LIBOBJS=
626
 
cross_compiling=no
627
 
subdirs=
628
 
MFLAGS=
629
 
MAKEFLAGS=
630
 
 
631
 
# Identity of this package.
632
 
PACKAGE_NAME='cheese'
633
 
PACKAGE_TARNAME='cheese'
634
 
PACKAGE_VERSION='3.2.2'
635
 
PACKAGE_STRING='cheese 3.2.2'
636
 
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=cheese'
637
 
PACKAGE_URL='http://projects.gnome.org/cheese/'
638
 
 
639
 
ac_unique_file="configure.ac"
640
 
# Factoring default headers for most tests.
641
 
ac_includes_default="\
642
 
#include <stdio.h>
643
 
#ifdef HAVE_SYS_TYPES_H
644
 
# include <sys/types.h>
645
 
#endif
646
 
#ifdef HAVE_SYS_STAT_H
647
 
# include <sys/stat.h>
648
 
#endif
649
 
#ifdef STDC_HEADERS
650
 
# include <stdlib.h>
651
 
# include <stddef.h>
652
 
#else
653
 
# ifdef HAVE_STDLIB_H
654
 
#  include <stdlib.h>
655
 
# endif
656
 
#endif
657
 
#ifdef HAVE_STRING_H
658
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
659
 
#  include <memory.h>
660
 
# endif
661
 
# include <string.h>
662
 
#endif
663
 
#ifdef HAVE_STRINGS_H
664
 
# include <strings.h>
665
 
#endif
666
 
#ifdef HAVE_INTTYPES_H
667
 
# include <inttypes.h>
668
 
#endif
669
 
#ifdef HAVE_STDINT_H
670
 
# include <stdint.h>
671
 
#endif
672
 
#ifdef HAVE_UNISTD_H
673
 
# include <unistd.h>
674
 
#endif"
675
 
 
676
 
ac_subst_vars='am__EXEEXT_FALSE
677
 
am__EXEEXT_TRUE
678
 
LTLIBOBJS
679
 
LIBOBJS
680
 
GSETTINGS_RULES
681
 
GLIB_COMPILE_SCHEMAS
682
 
gsettingsschemadir
683
 
GSETTINGS_DISABLE_SCHEMAS_COMPILE
684
 
HAVE_GNOME_DOC_UTILS_FALSE
685
 
HAVE_GNOME_DOC_UTILS_TRUE
686
 
DISTCHECK_CONFIGURE_FLAGS
687
 
ENABLE_SK_FALSE
688
 
ENABLE_SK_TRUE
689
 
DOC_USER_FORMATS
690
 
OMF_DIR
691
 
HELP_DIR
692
 
GTK_DOC_USE_REBASE_FALSE
693
 
GTK_DOC_USE_REBASE_TRUE
694
 
GTK_DOC_USE_LIBTOOL_FALSE
695
 
GTK_DOC_USE_LIBTOOL_TRUE
696
 
GTK_DOC_BUILD_PDF_FALSE
697
 
GTK_DOC_BUILD_PDF_TRUE
698
 
GTK_DOC_BUILD_HTML_FALSE
699
 
GTK_DOC_BUILD_HTML_TRUE
700
 
ENABLE_GTK_DOC_FALSE
701
 
ENABLE_GTK_DOC_TRUE
702
 
GTKDOC_DEPS_LIBS
703
 
GTKDOC_DEPS_CFLAGS
704
 
HTML_DIR
705
 
GTKDOC_MKPDF
706
 
GTKDOC_REBASE
707
 
GTKDOC_CHECK
708
 
HAVE_INTROSPECTION_FALSE
709
 
HAVE_INTROSPECTION_TRUE
710
 
INTROSPECTION_MAKEFILE
711
 
INTROSPECTION_LIBS
712
 
INTROSPECTION_CFLAGS
713
 
INTROSPECTION_TYPELIBDIR
714
 
INTROSPECTION_GIRDIR
715
 
INTROSPECTION_GENERATE
716
 
INTROSPECTION_COMPILER
717
 
INTROSPECTION_SCANNER
718
 
GLIB_MKENUMS
719
 
GLIB_GENMARSHAL
720
 
CHEESE_GTK_LIBS
721
 
CHEESE_GTK_CFLAGS
722
 
CHEESE_LIBS
723
 
CHEESE_CFLAGS
724
 
HAVE_XTEST_FALSE
725
 
HAVE_XTEST_TRUE
726
 
XTEST_LIBS
727
 
OS_LINUX
728
 
UDEV_LIBS
729
 
UDEV_CFLAGS
730
 
PKG_CONFIG_LIBDIR
731
 
PKG_CONFIG_PATH
732
 
PKG_CONFIG
733
 
DATADIRNAME
734
 
ALL_LINGUAS
735
 
INTLTOOL_PERL
736
 
GMSGFMT
737
 
MSGFMT
738
 
MSGMERGE
739
 
XGETTEXT
740
 
INTLTOOL_POLICY_RULE
741
 
INTLTOOL_SERVICE_RULE
742
 
INTLTOOL_THEME_RULE
743
 
INTLTOOL_SCHEMAS_RULE
744
 
INTLTOOL_CAVES_RULE
745
 
INTLTOOL_XML_NOMERGE_RULE
746
 
INTLTOOL_XML_RULE
747
 
INTLTOOL_KBD_RULE
748
 
INTLTOOL_XAM_RULE
749
 
INTLTOOL_UI_RULE
750
 
INTLTOOL_SOUNDLIST_RULE
751
 
INTLTOOL_SHEET_RULE
752
 
INTLTOOL_SERVER_RULE
753
 
INTLTOOL_PONG_RULE
754
 
INTLTOOL_OAF_RULE
755
 
INTLTOOL_PROP_RULE
756
 
INTLTOOL_KEYS_RULE
757
 
INTLTOOL_DIRECTORY_RULE
758
 
INTLTOOL_DESKTOP_RULE
759
 
INTLTOOL_EXTRACT
760
 
INTLTOOL_MERGE
761
 
INTLTOOL_UPDATE
762
 
USE_NLS
763
 
GETTEXT_PACKAGE
764
 
FULL_LIBEXECDIR
765
 
LIBCHEESE_GTK_LT_VERSION
766
 
LIBCHEESE_LT_VERSION
767
 
WARN_CFLAGS
768
 
DISABLE_DEPRECATED
769
 
OTOOL64
770
 
OTOOL
771
 
LIPO
772
 
NMEDIT
773
 
DSYMUTIL
774
 
MANIFEST_TOOL
775
 
RANLIB
776
 
ac_ct_AR
777
 
AR
778
 
DLLTOOL
779
 
OBJDUMP
780
 
LN_S
781
 
NM
782
 
ac_ct_DUMPBIN
783
 
DUMPBIN
784
 
LD
785
 
FGREP
786
 
SED
787
 
host_os
788
 
host_vendor
789
 
host_cpu
790
 
host
791
 
build_os
792
 
build_vendor
793
 
build_cpu
794
 
build
795
 
LIBTOOL
796
 
VALAC
797
 
EGREP
798
 
GREP
799
 
CPP
800
 
am__fastdepCC_FALSE
801
 
am__fastdepCC_TRUE
802
 
CCDEPMODE
803
 
AMDEPBACKSLASH
804
 
AMDEP_FALSE
805
 
AMDEP_TRUE
806
 
am__quote
807
 
am__include
808
 
DEPDIR
809
 
OBJEXT
810
 
EXEEXT
811
 
ac_ct_CC
812
 
CPPFLAGS
813
 
LDFLAGS
814
 
CFLAGS
815
 
CC
816
 
MAINT
817
 
MAINTAINER_MODE_FALSE
818
 
MAINTAINER_MODE_TRUE
819
 
am__untar
820
 
am__tar
821
 
AMTAR
822
 
am__leading_dot
823
 
SET_MAKE
824
 
AWK
825
 
mkdir_p
826
 
MKDIR_P
827
 
INSTALL_STRIP_PROGRAM
828
 
STRIP
829
 
install_sh
830
 
MAKEINFO
831
 
AUTOHEADER
832
 
AUTOMAKE
833
 
AUTOCONF
834
 
ACLOCAL
835
 
VERSION
836
 
PACKAGE
837
 
CYGPATH_W
838
 
am__isrc
839
 
INSTALL_DATA
840
 
INSTALL_SCRIPT
841
 
INSTALL_PROGRAM
842
 
target_alias
843
 
host_alias
844
 
build_alias
845
 
LIBS
846
 
ECHO_T
847
 
ECHO_N
848
 
ECHO_C
849
 
DEFS
850
 
mandir
851
 
localedir
852
 
libdir
853
 
psdir
854
 
pdfdir
855
 
dvidir
856
 
htmldir
857
 
infodir
858
 
docdir
859
 
oldincludedir
860
 
includedir
861
 
localstatedir
862
 
sharedstatedir
863
 
sysconfdir
864
 
datadir
865
 
datarootdir
866
 
libexecdir
867
 
sbindir
868
 
bindir
869
 
program_transform_name
870
 
prefix
871
 
exec_prefix
872
 
PACKAGE_URL
873
 
PACKAGE_BUGREPORT
874
 
PACKAGE_STRING
875
 
PACKAGE_VERSION
876
 
PACKAGE_TARNAME
877
 
PACKAGE_NAME
878
 
PATH_SEPARATOR
879
 
SHELL'
880
 
ac_subst_files=''
881
 
ac_user_opts='
882
 
enable_option_checking
883
 
enable_maintainer_mode
884
 
enable_dependency_tracking
885
 
enable_shared
886
 
enable_static
887
 
with_pic
888
 
enable_fast_install
889
 
with_gnu_ld
890
 
with_sysroot
891
 
enable_libtool_lock
892
 
enable_compile_warnings
893
 
enable_iso_c
894
 
enable_nls
895
 
enable_introspection
896
 
with_html_dir
897
 
enable_gtk_doc
898
 
enable_gtk_doc_html
899
 
enable_gtk_doc_pdf
900
 
with_help_dir
901
 
with_omf_dir
902
 
with_help_formats
903
 
enable_scrollkeeper
904
 
enable_schemas_compile
905
 
'
906
 
      ac_precious_vars='build_alias
907
 
host_alias
908
 
target_alias
909
 
CC
910
 
CFLAGS
911
 
LDFLAGS
912
 
LIBS
913
 
CPPFLAGS
914
 
CPP
915
 
PKG_CONFIG
916
 
PKG_CONFIG_PATH
917
 
PKG_CONFIG_LIBDIR
918
 
UDEV_CFLAGS
919
 
UDEV_LIBS
920
 
CHEESE_CFLAGS
921
 
CHEESE_LIBS
922
 
CHEESE_GTK_CFLAGS
923
 
CHEESE_GTK_LIBS
924
 
GTKDOC_DEPS_CFLAGS
925
 
GTKDOC_DEPS_LIBS'
926
 
 
927
 
 
928
 
# Initialize some variables set by options.
929
 
ac_init_help=
930
 
ac_init_version=false
931
 
ac_unrecognized_opts=
932
 
ac_unrecognized_sep=
933
 
# The variables have the same names as the options, with
934
 
# dashes changed to underlines.
935
 
cache_file=/dev/null
936
 
exec_prefix=NONE
937
 
no_create=
938
 
no_recursion=
939
 
prefix=NONE
940
 
program_prefix=NONE
941
 
program_suffix=NONE
942
 
program_transform_name=s,x,x,
943
 
silent=
944
 
site=
945
 
srcdir=
946
 
verbose=
947
 
x_includes=NONE
948
 
x_libraries=NONE
949
 
 
950
 
# Installation directory options.
951
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
952
 
# and all the variables that are supposed to be based on exec_prefix
953
 
# by default will actually change.
954
 
# Use braces instead of parens because sh, perl, etc. also accept them.
955
 
# (The list follows the same order as the GNU Coding Standards.)
956
 
bindir='${exec_prefix}/bin'
957
 
sbindir='${exec_prefix}/sbin'
958
 
libexecdir='${exec_prefix}/libexec'
959
 
datarootdir='${prefix}/share'
960
 
datadir='${datarootdir}'
961
 
sysconfdir='${prefix}/etc'
962
 
sharedstatedir='${prefix}/com'
963
 
localstatedir='${prefix}/var'
964
 
includedir='${prefix}/include'
965
 
oldincludedir='/usr/include'
966
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
967
 
infodir='${datarootdir}/info'
968
 
htmldir='${docdir}'
969
 
dvidir='${docdir}'
970
 
pdfdir='${docdir}'
971
 
psdir='${docdir}'
972
 
libdir='${exec_prefix}/lib'
973
 
localedir='${datarootdir}/locale'
974
 
mandir='${datarootdir}/man'
975
 
 
976
 
ac_prev=
977
 
ac_dashdash=
978
 
for ac_option
979
 
do
980
 
  # If the previous option needs an argument, assign it.
981
 
  if test -n "$ac_prev"; then
982
 
    eval $ac_prev=\$ac_option
983
 
    ac_prev=
984
 
    continue
985
 
  fi
986
 
 
987
 
  case $ac_option in
988
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
989
 
  *=)   ac_optarg= ;;
990
 
  *)    ac_optarg=yes ;;
991
 
  esac
992
 
 
993
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
994
 
 
995
 
  case $ac_dashdash$ac_option in
996
 
  --)
997
 
    ac_dashdash=yes ;;
998
 
 
999
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1000
 
    ac_prev=bindir ;;
1001
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1002
 
    bindir=$ac_optarg ;;
1003
 
 
1004
 
  -build | --build | --buil | --bui | --bu)
1005
 
    ac_prev=build_alias ;;
1006
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1007
 
    build_alias=$ac_optarg ;;
1008
 
 
1009
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1010
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1011
 
    ac_prev=cache_file ;;
1012
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1013
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1014
 
    cache_file=$ac_optarg ;;
1015
 
 
1016
 
  --config-cache | -C)
1017
 
    cache_file=config.cache ;;
1018
 
 
1019
 
  -datadir | --datadir | --datadi | --datad)
1020
 
    ac_prev=datadir ;;
1021
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1022
 
    datadir=$ac_optarg ;;
1023
 
 
1024
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1025
 
  | --dataroo | --dataro | --datar)
1026
 
    ac_prev=datarootdir ;;
1027
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1028
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1029
 
    datarootdir=$ac_optarg ;;
1030
 
 
1031
 
  -disable-* | --disable-*)
1032
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033
 
    # Reject names that are not valid shell variable names.
1034
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1036
 
    ac_useropt_orig=$ac_useropt
1037
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038
 
    case $ac_user_opts in
1039
 
      *"
1040
 
"enable_$ac_useropt"
1041
 
"*) ;;
1042
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043
 
         ac_unrecognized_sep=', ';;
1044
 
    esac
1045
 
    eval enable_$ac_useropt=no ;;
1046
 
 
1047
 
  -docdir | --docdir | --docdi | --doc | --do)
1048
 
    ac_prev=docdir ;;
1049
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1050
 
    docdir=$ac_optarg ;;
1051
 
 
1052
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1053
 
    ac_prev=dvidir ;;
1054
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1055
 
    dvidir=$ac_optarg ;;
1056
 
 
1057
 
  -enable-* | --enable-*)
1058
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059
 
    # Reject names that are not valid shell variable names.
1060
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1062
 
    ac_useropt_orig=$ac_useropt
1063
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064
 
    case $ac_user_opts in
1065
 
      *"
1066
 
"enable_$ac_useropt"
1067
 
"*) ;;
1068
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069
 
         ac_unrecognized_sep=', ';;
1070
 
    esac
1071
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1072
 
 
1073
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1074
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1075
 
  | --exec | --exe | --ex)
1076
 
    ac_prev=exec_prefix ;;
1077
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1078
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1079
 
  | --exec=* | --exe=* | --ex=*)
1080
 
    exec_prefix=$ac_optarg ;;
1081
 
 
1082
 
  -gas | --gas | --ga | --g)
1083
 
    # Obsolete; use --with-gas.
1084
 
    with_gas=yes ;;
1085
 
 
1086
 
  -help | --help | --hel | --he | -h)
1087
 
    ac_init_help=long ;;
1088
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1089
 
    ac_init_help=recursive ;;
1090
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1091
 
    ac_init_help=short ;;
1092
 
 
1093
 
  -host | --host | --hos | --ho)
1094
 
    ac_prev=host_alias ;;
1095
 
  -host=* | --host=* | --hos=* | --ho=*)
1096
 
    host_alias=$ac_optarg ;;
1097
 
 
1098
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1099
 
    ac_prev=htmldir ;;
1100
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1101
 
  | --ht=*)
1102
 
    htmldir=$ac_optarg ;;
1103
 
 
1104
 
  -includedir | --includedir | --includedi | --included | --include \
1105
 
  | --includ | --inclu | --incl | --inc)
1106
 
    ac_prev=includedir ;;
1107
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1108
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1109
 
    includedir=$ac_optarg ;;
1110
 
 
1111
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1112
 
    ac_prev=infodir ;;
1113
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1114
 
    infodir=$ac_optarg ;;
1115
 
 
1116
 
  -libdir | --libdir | --libdi | --libd)
1117
 
    ac_prev=libdir ;;
1118
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1119
 
    libdir=$ac_optarg ;;
1120
 
 
1121
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1122
 
  | --libexe | --libex | --libe)
1123
 
    ac_prev=libexecdir ;;
1124
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1125
 
  | --libexe=* | --libex=* | --libe=*)
1126
 
    libexecdir=$ac_optarg ;;
1127
 
 
1128
 
  -localedir | --localedir | --localedi | --localed | --locale)
1129
 
    ac_prev=localedir ;;
1130
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1131
 
    localedir=$ac_optarg ;;
1132
 
 
1133
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1134
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1135
 
    ac_prev=localstatedir ;;
1136
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1137
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1138
 
    localstatedir=$ac_optarg ;;
1139
 
 
1140
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1141
 
    ac_prev=mandir ;;
1142
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1143
 
    mandir=$ac_optarg ;;
1144
 
 
1145
 
  -nfp | --nfp | --nf)
1146
 
    # Obsolete; use --without-fp.
1147
 
    with_fp=no ;;
1148
 
 
1149
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1150
 
  | --no-cr | --no-c | -n)
1151
 
    no_create=yes ;;
1152
 
 
1153
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1154
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1155
 
    no_recursion=yes ;;
1156
 
 
1157
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1158
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1159
 
  | --oldin | --oldi | --old | --ol | --o)
1160
 
    ac_prev=oldincludedir ;;
1161
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1162
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1163
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1164
 
    oldincludedir=$ac_optarg ;;
1165
 
 
1166
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1167
 
    ac_prev=prefix ;;
1168
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1169
 
    prefix=$ac_optarg ;;
1170
 
 
1171
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1172
 
  | --program-pre | --program-pr | --program-p)
1173
 
    ac_prev=program_prefix ;;
1174
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1175
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1176
 
    program_prefix=$ac_optarg ;;
1177
 
 
1178
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1179
 
  | --program-suf | --program-su | --program-s)
1180
 
    ac_prev=program_suffix ;;
1181
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1182
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1183
 
    program_suffix=$ac_optarg ;;
1184
 
 
1185
 
  -program-transform-name | --program-transform-name \
1186
 
  | --program-transform-nam | --program-transform-na \
1187
 
  | --program-transform-n | --program-transform- \
1188
 
  | --program-transform | --program-transfor \
1189
 
  | --program-transfo | --program-transf \
1190
 
  | --program-trans | --program-tran \
1191
 
  | --progr-tra | --program-tr | --program-t)
1192
 
    ac_prev=program_transform_name ;;
1193
 
  -program-transform-name=* | --program-transform-name=* \
1194
 
  | --program-transform-nam=* | --program-transform-na=* \
1195
 
  | --program-transform-n=* | --program-transform-=* \
1196
 
  | --program-transform=* | --program-transfor=* \
1197
 
  | --program-transfo=* | --program-transf=* \
1198
 
  | --program-trans=* | --program-tran=* \
1199
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1200
 
    program_transform_name=$ac_optarg ;;
1201
 
 
1202
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1203
 
    ac_prev=pdfdir ;;
1204
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1205
 
    pdfdir=$ac_optarg ;;
1206
 
 
1207
 
  -psdir | --psdir | --psdi | --psd | --ps)
1208
 
    ac_prev=psdir ;;
1209
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1210
 
    psdir=$ac_optarg ;;
1211
 
 
1212
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213
 
  | -silent | --silent | --silen | --sile | --sil)
1214
 
    silent=yes ;;
1215
 
 
1216
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1217
 
    ac_prev=sbindir ;;
1218
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1219
 
  | --sbi=* | --sb=*)
1220
 
    sbindir=$ac_optarg ;;
1221
 
 
1222
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1223
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1224
 
  | --sharedst | --shareds | --shared | --share | --shar \
1225
 
  | --sha | --sh)
1226
 
    ac_prev=sharedstatedir ;;
1227
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1228
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1229
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1230
 
  | --sha=* | --sh=*)
1231
 
    sharedstatedir=$ac_optarg ;;
1232
 
 
1233
 
  -site | --site | --sit)
1234
 
    ac_prev=site ;;
1235
 
  -site=* | --site=* | --sit=*)
1236
 
    site=$ac_optarg ;;
1237
 
 
1238
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1239
 
    ac_prev=srcdir ;;
1240
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1241
 
    srcdir=$ac_optarg ;;
1242
 
 
1243
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1244
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1245
 
    ac_prev=sysconfdir ;;
1246
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1247
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1248
 
    sysconfdir=$ac_optarg ;;
1249
 
 
1250
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1251
 
    ac_prev=target_alias ;;
1252
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1253
 
    target_alias=$ac_optarg ;;
1254
 
 
1255
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1256
 
    verbose=yes ;;
1257
 
 
1258
 
  -version | --version | --versio | --versi | --vers | -V)
1259
 
    ac_init_version=: ;;
1260
 
 
1261
 
  -with-* | --with-*)
1262
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263
 
    # Reject names that are not valid shell variable names.
1264
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265
 
      as_fn_error $? "invalid package name: $ac_useropt"
1266
 
    ac_useropt_orig=$ac_useropt
1267
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268
 
    case $ac_user_opts in
1269
 
      *"
1270
 
"with_$ac_useropt"
1271
 
"*) ;;
1272
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273
 
         ac_unrecognized_sep=', ';;
1274
 
    esac
1275
 
    eval with_$ac_useropt=\$ac_optarg ;;
1276
 
 
1277
 
  -without-* | --without-*)
1278
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279
 
    # Reject names that are not valid shell variable names.
1280
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281
 
      as_fn_error $? "invalid package name: $ac_useropt"
1282
 
    ac_useropt_orig=$ac_useropt
1283
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284
 
    case $ac_user_opts in
1285
 
      *"
1286
 
"with_$ac_useropt"
1287
 
"*) ;;
1288
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289
 
         ac_unrecognized_sep=', ';;
1290
 
    esac
1291
 
    eval with_$ac_useropt=no ;;
1292
 
 
1293
 
  --x)
1294
 
    # Obsolete; use --with-x.
1295
 
    with_x=yes ;;
1296
 
 
1297
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1298
 
  | --x-incl | --x-inc | --x-in | --x-i)
1299
 
    ac_prev=x_includes ;;
1300
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1301
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1302
 
    x_includes=$ac_optarg ;;
1303
 
 
1304
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1305
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1306
 
    ac_prev=x_libraries ;;
1307
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1308
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1309
 
    x_libraries=$ac_optarg ;;
1310
 
 
1311
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1312
 
Try \`$0 --help' for more information"
1313
 
    ;;
1314
 
 
1315
 
  *=*)
1316
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1317
 
    # Reject names that are not valid shell variable names.
1318
 
    case $ac_envvar in #(
1319
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1320
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1321
 
    esac
1322
 
    eval $ac_envvar=\$ac_optarg
1323
 
    export $ac_envvar ;;
1324
 
 
1325
 
  *)
1326
 
    # FIXME: should be removed in autoconf 3.0.
1327
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1329
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1331
 
    ;;
1332
 
 
1333
 
  esac
1334
 
done
1335
 
 
1336
 
if test -n "$ac_prev"; then
1337
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1338
 
  as_fn_error $? "missing argument to $ac_option"
1339
 
fi
1340
 
 
1341
 
if test -n "$ac_unrecognized_opts"; then
1342
 
  case $enable_option_checking in
1343
 
    no) ;;
1344
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1345
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1346
 
  esac
1347
 
fi
1348
 
 
1349
 
# Check all directory arguments for consistency.
1350
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1352
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353
 
                libdir localedir mandir
1354
 
do
1355
 
  eval ac_val=\$$ac_var
1356
 
  # Remove trailing slashes.
1357
 
  case $ac_val in
1358
 
    */ )
1359
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360
 
      eval $ac_var=\$ac_val;;
1361
 
  esac
1362
 
  # Be sure to have absolute directory names.
1363
 
  case $ac_val in
1364
 
    [\\/$]* | ?:[\\/]* )  continue;;
1365
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1366
 
  esac
1367
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1368
 
done
1369
 
 
1370
 
# There might be people who depend on the old broken behavior: `$host'
1371
 
# used to hold the argument of --host etc.
1372
 
# FIXME: To remove some day.
1373
 
build=$build_alias
1374
 
host=$host_alias
1375
 
target=$target_alias
1376
 
 
1377
 
# FIXME: To remove some day.
1378
 
if test "x$host_alias" != x; then
1379
 
  if test "x$build_alias" = x; then
1380
 
    cross_compiling=maybe
1381
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1382
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1383
 
  elif test "x$build_alias" != "x$host_alias"; then
1384
 
    cross_compiling=yes
1385
 
  fi
1386
 
fi
1387
 
 
1388
 
ac_tool_prefix=
1389
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1390
 
 
1391
 
test "$silent" = yes && exec 6>/dev/null
1392
 
 
1393
 
 
1394
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1395
 
ac_ls_di=`ls -di .` &&
1396
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1397
 
  as_fn_error $? "working directory cannot be determined"
1398
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399
 
  as_fn_error $? "pwd does not report name of working directory"
1400
 
 
1401
 
 
1402
 
# Find the source files, if location was not specified.
1403
 
if test -z "$srcdir"; then
1404
 
  ac_srcdir_defaulted=yes
1405
 
  # Try the directory containing this script, then the parent directory.
1406
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1407
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1409
 
         X"$as_myself" : 'X\(//\)$' \| \
1410
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411
 
$as_echo X"$as_myself" |
1412
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1413
 
            s//\1/
1414
 
            q
1415
 
          }
1416
 
          /^X\(\/\/\)[^/].*/{
1417
 
            s//\1/
1418
 
            q
1419
 
          }
1420
 
          /^X\(\/\/\)$/{
1421
 
            s//\1/
1422
 
            q
1423
 
          }
1424
 
          /^X\(\/\).*/{
1425
 
            s//\1/
1426
 
            q
1427
 
          }
1428
 
          s/.*/./; q'`
1429
 
  srcdir=$ac_confdir
1430
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1431
 
    srcdir=..
1432
 
  fi
1433
 
else
1434
 
  ac_srcdir_defaulted=no
1435
 
fi
1436
 
if test ! -r "$srcdir/$ac_unique_file"; then
1437
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1438
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1439
 
fi
1440
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1441
 
ac_abs_confdir=`(
1442
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1443
 
        pwd)`
1444
 
# When building in place, set srcdir=.
1445
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1446
 
  srcdir=.
1447
 
fi
1448
 
# Remove unnecessary trailing slashes from srcdir.
1449
 
# Double slashes in file names in object file debugging info
1450
 
# mess up M-x gdb in Emacs.
1451
 
case $srcdir in
1452
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1453
 
esac
1454
 
for ac_var in $ac_precious_vars; do
1455
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1456
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1457
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1458
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1459
 
done
1460
 
 
1461
 
#
1462
 
# Report the --help message.
1463
 
#
1464
 
if test "$ac_init_help" = "long"; then
1465
 
  # Omit some internal or obsolete options to make the list less imposing.
1466
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1467
 
  cat <<_ACEOF
1468
 
\`configure' configures cheese 3.2.2 to adapt to many kinds of systems.
1469
 
 
1470
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1471
 
 
1472
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1474
 
 
1475
 
Defaults for the options are specified in brackets.
1476
 
 
1477
 
Configuration:
1478
 
  -h, --help              display this help and exit
1479
 
      --help=short        display options specific to this package
1480
 
      --help=recursive    display the short help of all the included packages
1481
 
  -V, --version           display version information and exit
1482
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1483
 
      --cache-file=FILE   cache test results in FILE [disabled]
1484
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1485
 
  -n, --no-create         do not create output files
1486
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1487
 
 
1488
 
Installation directories:
1489
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1490
 
                          [$ac_default_prefix]
1491
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1492
 
                          [PREFIX]
1493
 
 
1494
 
By default, \`make install' will install all the files in
1495
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1496
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497
 
for instance \`--prefix=\$HOME'.
1498
 
 
1499
 
For better control, use the options below.
1500
 
 
1501
 
Fine tuning of the installation directories:
1502
 
  --bindir=DIR            user executables [EPREFIX/bin]
1503
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1504
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1505
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1506
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1507
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1508
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1509
 
  --includedir=DIR        C header files [PREFIX/include]
1510
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1511
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1512
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1513
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1514
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1515
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1516
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/cheese]
1517
 
  --htmldir=DIR           html documentation [DOCDIR]
1518
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1519
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1520
 
  --psdir=DIR             ps documentation [DOCDIR]
1521
 
_ACEOF
1522
 
 
1523
 
  cat <<\_ACEOF
1524
 
 
1525
 
Program names:
1526
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1527
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1528
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1529
 
 
1530
 
System types:
1531
 
  --build=BUILD     configure for building on BUILD [guessed]
1532
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1533
 
_ACEOF
1534
 
fi
1535
 
 
1536
 
if test -n "$ac_init_help"; then
1537
 
  case $ac_init_help in
1538
 
     short | recursive ) echo "Configuration of cheese 3.2.2:";;
1539
 
   esac
1540
 
  cat <<\_ACEOF
1541
 
 
1542
 
Optional Features:
1543
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1544
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1545
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1546
 
  --disable-maintainer-mode  disable make rules and dependencies not useful
1547
 
                          (and sometimes confusing) to the casual installer
1548
 
  --disable-dependency-tracking  speeds up one-time build
1549
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1550
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1551
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1552
 
  --enable-fast-install[=PKGS]
1553
 
                          optimize for fast installation [default=yes]
1554
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1555
 
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1556
 
                          Turn on compiler warnings
1557
 
  --enable-iso-c          Try to warn if code is not ISO C
1558
 
  --disable-nls           do not use Native Language Support
1559
 
  --enable-introspection=[no/auto/yes]
1560
 
                          Enable introspection for this build
1561
 
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1562
 
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1563
 
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1564
 
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1565
 
  --disable-schemas-compile
1566
 
                          Disable regeneration of gschemas.compiled on install
1567
 
 
1568
 
Optional Packages:
1569
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1570
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1571
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1572
 
                          both]
1573
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1574
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1575
 
                        (or the compiler's sysroot if not specified).
1576
 
  --with-html-dir=PATH    path to installed docs
1577
 
  --with-help-dir=DIR     path to help docs
1578
 
  --with-omf-dir=DIR      path to OMF files
1579
 
  --with-help-formats=FORMATS
1580
 
                          list of formats
1581
 
 
1582
 
Some influential environment variables:
1583
 
  CC          C compiler command
1584
 
  CFLAGS      C compiler flags
1585
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1586
 
              nonstandard directory <lib dir>
1587
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1588
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1589
 
              you have headers in a nonstandard directory <include dir>
1590
 
  CPP         C preprocessor
1591
 
  PKG_CONFIG  path to pkg-config utility
1592
 
  PKG_CONFIG_PATH
1593
 
              directories to add to pkg-config's search path
1594
 
  PKG_CONFIG_LIBDIR
1595
 
              path overriding pkg-config's built-in search path
1596
 
  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1597
 
  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
1598
 
  CHEESE_CFLAGS
1599
 
              C compiler flags for CHEESE, overriding pkg-config
1600
 
  CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
1601
 
  CHEESE_GTK_CFLAGS
1602
 
              C compiler flags for CHEESE_GTK, overriding pkg-config
1603
 
  CHEESE_GTK_LIBS
1604
 
              linker flags for CHEESE_GTK, overriding pkg-config
1605
 
  GTKDOC_DEPS_CFLAGS
1606
 
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1607
 
  GTKDOC_DEPS_LIBS
1608
 
              linker flags for GTKDOC_DEPS, overriding pkg-config
1609
 
 
1610
 
Use these variables to override the choices made by `configure' or to help
1611
 
it to find libraries and programs with nonstandard names/locations.
1612
 
 
1613
 
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
1614
 
cheese home page: <http://projects.gnome.org/cheese/>.
1615
 
_ACEOF
1616
 
ac_status=$?
1617
 
fi
1618
 
 
1619
 
if test "$ac_init_help" = "recursive"; then
1620
 
  # If there are subdirs, report their specific --help.
1621
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622
 
    test -d "$ac_dir" ||
1623
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624
 
      continue
1625
 
    ac_builddir=.
1626
 
 
1627
 
case "$ac_dir" in
1628
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629
 
*)
1630
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631
 
  # A ".." for each directory in $ac_dir_suffix.
1632
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633
 
  case $ac_top_builddir_sub in
1634
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636
 
  esac ;;
1637
 
esac
1638
 
ac_abs_top_builddir=$ac_pwd
1639
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640
 
# for backward compatibility:
1641
 
ac_top_builddir=$ac_top_build_prefix
1642
 
 
1643
 
case $srcdir in
1644
 
  .)  # We are building in place.
1645
 
    ac_srcdir=.
1646
 
    ac_top_srcdir=$ac_top_builddir_sub
1647
 
    ac_abs_top_srcdir=$ac_pwd ;;
1648
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1649
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1650
 
    ac_top_srcdir=$srcdir
1651
 
    ac_abs_top_srcdir=$srcdir ;;
1652
 
  *) # Relative name.
1653
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1655
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656
 
esac
1657
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
 
 
1659
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1660
 
    # Check for guested configure.
1661
 
    if test -f "$ac_srcdir/configure.gnu"; then
1662
 
      echo &&
1663
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664
 
    elif test -f "$ac_srcdir/configure"; then
1665
 
      echo &&
1666
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1667
 
    else
1668
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669
 
    fi || ac_status=$?
1670
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1671
 
  done
1672
 
fi
1673
 
 
1674
 
test -n "$ac_init_help" && exit $ac_status
1675
 
if $ac_init_version; then
1676
 
  cat <<\_ACEOF
1677
 
cheese configure 3.2.2
1678
 
generated by GNU Autoconf 2.68
1679
 
 
1680
 
Copyright (C) 2010 Free Software Foundation, Inc.
1681
 
This configure script is free software; the Free Software Foundation
1682
 
gives unlimited permission to copy, distribute and modify it.
1683
 
_ACEOF
1684
 
  exit
1685
 
fi
1686
 
 
1687
 
## ------------------------ ##
1688
 
## Autoconf initialization. ##
1689
 
## ------------------------ ##
1690
 
 
1691
 
# ac_fn_c_try_compile LINENO
1692
 
# --------------------------
1693
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1694
 
ac_fn_c_try_compile ()
1695
 
{
1696
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697
 
  rm -f conftest.$ac_objext
1698
 
  if { { ac_try="$ac_compile"
1699
 
case "(($ac_try" in
1700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701
 
  *) ac_try_echo=$ac_try;;
1702
 
esac
1703
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704
 
$as_echo "$ac_try_echo"; } >&5
1705
 
  (eval "$ac_compile") 2>conftest.err
1706
 
  ac_status=$?
1707
 
  if test -s conftest.err; then
1708
 
    grep -v '^ *+' conftest.err >conftest.er1
1709
 
    cat conftest.er1 >&5
1710
 
    mv -f conftest.er1 conftest.err
1711
 
  fi
1712
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713
 
  test $ac_status = 0; } && {
1714
 
         test -z "$ac_c_werror_flag" ||
1715
 
         test ! -s conftest.err
1716
 
       } && test -s conftest.$ac_objext; then :
1717
 
  ac_retval=0
1718
 
else
1719
 
  $as_echo "$as_me: failed program was:" >&5
1720
 
sed 's/^/| /' conftest.$ac_ext >&5
1721
 
 
1722
 
        ac_retval=1
1723
 
fi
1724
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725
 
  as_fn_set_status $ac_retval
1726
 
 
1727
 
} # ac_fn_c_try_compile
1728
 
 
1729
 
# ac_fn_c_try_cpp LINENO
1730
 
# ----------------------
1731
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1732
 
ac_fn_c_try_cpp ()
1733
 
{
1734
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1736
 
case "(($ac_try" in
1737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738
 
  *) ac_try_echo=$ac_try;;
1739
 
esac
1740
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741
 
$as_echo "$ac_try_echo"; } >&5
1742
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1743
 
  ac_status=$?
1744
 
  if test -s conftest.err; then
1745
 
    grep -v '^ *+' conftest.err >conftest.er1
1746
 
    cat conftest.er1 >&5
1747
 
    mv -f conftest.er1 conftest.err
1748
 
  fi
1749
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750
 
  test $ac_status = 0; } > conftest.i && {
1751
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1752
 
         test ! -s conftest.err
1753
 
       }; then :
1754
 
  ac_retval=0
1755
 
else
1756
 
  $as_echo "$as_me: failed program was:" >&5
1757
 
sed 's/^/| /' conftest.$ac_ext >&5
1758
 
 
1759
 
    ac_retval=1
1760
 
fi
1761
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762
 
  as_fn_set_status $ac_retval
1763
 
 
1764
 
} # ac_fn_c_try_cpp
1765
 
 
1766
 
# ac_fn_c_try_run LINENO
1767
 
# ----------------------
1768
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1769
 
# that executables *can* be run.
1770
 
ac_fn_c_try_run ()
1771
 
{
1772
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773
 
  if { { ac_try="$ac_link"
1774
 
case "(($ac_try" in
1775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776
 
  *) ac_try_echo=$ac_try;;
1777
 
esac
1778
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779
 
$as_echo "$ac_try_echo"; } >&5
1780
 
  (eval "$ac_link") 2>&5
1781
 
  ac_status=$?
1782
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1784
 
  { { case "(($ac_try" in
1785
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786
 
  *) ac_try_echo=$ac_try;;
1787
 
esac
1788
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789
 
$as_echo "$ac_try_echo"; } >&5
1790
 
  (eval "$ac_try") 2>&5
1791
 
  ac_status=$?
1792
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793
 
  test $ac_status = 0; }; }; then :
1794
 
  ac_retval=0
1795
 
else
1796
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1797
 
       $as_echo "$as_me: failed program was:" >&5
1798
 
sed 's/^/| /' conftest.$ac_ext >&5
1799
 
 
1800
 
       ac_retval=$ac_status
1801
 
fi
1802
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804
 
  as_fn_set_status $ac_retval
1805
 
 
1806
 
} # ac_fn_c_try_run
1807
 
 
1808
 
# ac_fn_c_try_link LINENO
1809
 
# -----------------------
1810
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1811
 
ac_fn_c_try_link ()
1812
 
{
1813
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1815
 
  if { { ac_try="$ac_link"
1816
 
case "(($ac_try" in
1817
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818
 
  *) ac_try_echo=$ac_try;;
1819
 
esac
1820
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821
 
$as_echo "$ac_try_echo"; } >&5
1822
 
  (eval "$ac_link") 2>conftest.err
1823
 
  ac_status=$?
1824
 
  if test -s conftest.err; then
1825
 
    grep -v '^ *+' conftest.err >conftest.er1
1826
 
    cat conftest.er1 >&5
1827
 
    mv -f conftest.er1 conftest.err
1828
 
  fi
1829
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830
 
  test $ac_status = 0; } && {
1831
 
         test -z "$ac_c_werror_flag" ||
1832
 
         test ! -s conftest.err
1833
 
       } && test -s conftest$ac_exeext && {
1834
 
         test "$cross_compiling" = yes ||
1835
 
         $as_test_x conftest$ac_exeext
1836
 
       }; then :
1837
 
  ac_retval=0
1838
 
else
1839
 
  $as_echo "$as_me: failed program was:" >&5
1840
 
sed 's/^/| /' conftest.$ac_ext >&5
1841
 
 
1842
 
        ac_retval=1
1843
 
fi
1844
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1845
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1846
 
  # interfere with the next link command; also delete a directory that is
1847
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1848
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850
 
  as_fn_set_status $ac_retval
1851
 
 
1852
 
} # ac_fn_c_try_link
1853
 
 
1854
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1855
 
# -------------------------------------------------------
1856
 
# Tests whether HEADER exists and can be compiled using the include files in
1857
 
# INCLUDES, setting the cache variable VAR accordingly.
1858
 
ac_fn_c_check_header_compile ()
1859
 
{
1860
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862
 
$as_echo_n "checking for $2... " >&6; }
1863
 
if eval \${$3+:} false; then :
1864
 
  $as_echo_n "(cached) " >&6
1865
 
else
1866
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867
 
/* end confdefs.h.  */
1868
 
$4
1869
 
#include <$2>
1870
 
_ACEOF
1871
 
if ac_fn_c_try_compile "$LINENO"; then :
1872
 
  eval "$3=yes"
1873
 
else
1874
 
  eval "$3=no"
1875
 
fi
1876
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877
 
fi
1878
 
eval ac_res=\$$3
1879
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880
 
$as_echo "$ac_res" >&6; }
1881
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882
 
 
1883
 
} # ac_fn_c_check_header_compile
1884
 
 
1885
 
# ac_fn_c_check_func LINENO FUNC VAR
1886
 
# ----------------------------------
1887
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1888
 
ac_fn_c_check_func ()
1889
 
{
1890
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892
 
$as_echo_n "checking for $2... " >&6; }
1893
 
if eval \${$3+:} false; then :
1894
 
  $as_echo_n "(cached) " >&6
1895
 
else
1896
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897
 
/* end confdefs.h.  */
1898
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1900
 
#define $2 innocuous_$2
1901
 
 
1902
 
/* System header to define __stub macros and hopefully few prototypes,
1903
 
    which can conflict with char $2 (); below.
1904
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905
 
    <limits.h> exists even on freestanding compilers.  */
1906
 
 
1907
 
#ifdef __STDC__
1908
 
# include <limits.h>
1909
 
#else
1910
 
# include <assert.h>
1911
 
#endif
1912
 
 
1913
 
#undef $2
1914
 
 
1915
 
/* Override any GCC internal prototype to avoid an error.
1916
 
   Use char because int might match the return type of a GCC
1917
 
   builtin and then its argument prototype would still apply.  */
1918
 
#ifdef __cplusplus
1919
 
extern "C"
1920
 
#endif
1921
 
char $2 ();
1922
 
/* The GNU C library defines this for functions which it implements
1923
 
    to always fail with ENOSYS.  Some functions are actually named
1924
 
    something starting with __ and the normal name is an alias.  */
1925
 
#if defined __stub_$2 || defined __stub___$2
1926
 
choke me
1927
 
#endif
1928
 
 
1929
 
int
1930
 
main ()
1931
 
{
1932
 
return $2 ();
1933
 
  ;
1934
 
  return 0;
1935
 
}
1936
 
_ACEOF
1937
 
if ac_fn_c_try_link "$LINENO"; then :
1938
 
  eval "$3=yes"
1939
 
else
1940
 
  eval "$3=no"
1941
 
fi
1942
 
rm -f core conftest.err conftest.$ac_objext \
1943
 
    conftest$ac_exeext conftest.$ac_ext
1944
 
fi
1945
 
eval ac_res=\$$3
1946
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947
 
$as_echo "$ac_res" >&6; }
1948
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949
 
 
1950
 
} # ac_fn_c_check_func
1951
 
 
1952
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1953
 
# -------------------------------------------------------
1954
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1955
 
# the include files in INCLUDES and setting the cache variable VAR
1956
 
# accordingly.
1957
 
ac_fn_c_check_header_mongrel ()
1958
 
{
1959
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960
 
  if eval \${$3+:} false; then :
1961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962
 
$as_echo_n "checking for $2... " >&6; }
1963
 
if eval \${$3+:} false; then :
1964
 
  $as_echo_n "(cached) " >&6
1965
 
fi
1966
 
eval ac_res=\$$3
1967
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968
 
$as_echo "$ac_res" >&6; }
1969
 
else
1970
 
  # Is the header compilable?
1971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1972
 
$as_echo_n "checking $2 usability... " >&6; }
1973
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974
 
/* end confdefs.h.  */
1975
 
$4
1976
 
#include <$2>
1977
 
_ACEOF
1978
 
if ac_fn_c_try_compile "$LINENO"; then :
1979
 
  ac_header_compiler=yes
1980
 
else
1981
 
  ac_header_compiler=no
1982
 
fi
1983
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1985
 
$as_echo "$ac_header_compiler" >&6; }
1986
 
 
1987
 
# Is the header present?
1988
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1989
 
$as_echo_n "checking $2 presence... " >&6; }
1990
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991
 
/* end confdefs.h.  */
1992
 
#include <$2>
1993
 
_ACEOF
1994
 
if ac_fn_c_try_cpp "$LINENO"; then :
1995
 
  ac_header_preproc=yes
1996
 
else
1997
 
  ac_header_preproc=no
1998
 
fi
1999
 
rm -f conftest.err conftest.i conftest.$ac_ext
2000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2001
 
$as_echo "$ac_header_preproc" >&6; }
2002
 
 
2003
 
# So?  What about this header?
2004
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2005
 
  yes:no: )
2006
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2007
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2008
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2009
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2010
 
    ;;
2011
 
  no:yes:* )
2012
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2013
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2014
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2015
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2016
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2017
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2018
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2019
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2020
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2022
 
( $as_echo "## --------------------------------------------------------------------- ##
2023
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=cheese ##
2024
 
## --------------------------------------------------------------------- ##"
2025
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2026
 
    ;;
2027
 
esac
2028
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029
 
$as_echo_n "checking for $2... " >&6; }
2030
 
if eval \${$3+:} false; then :
2031
 
  $as_echo_n "(cached) " >&6
2032
 
else
2033
 
  eval "$3=\$ac_header_compiler"
2034
 
fi
2035
 
eval ac_res=\$$3
2036
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037
 
$as_echo "$ac_res" >&6; }
2038
 
fi
2039
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040
 
 
2041
 
} # ac_fn_c_check_header_mongrel
2042
 
cat >config.log <<_ACEOF
2043
 
This file contains any messages produced by compilers while
2044
 
running configure, to aid debugging if configure makes a mistake.
2045
 
 
2046
 
It was created by cheese $as_me 3.2.2, which was
2047
 
generated by GNU Autoconf 2.68.  Invocation command line was
2048
 
 
2049
 
  $ $0 $@
2050
 
 
2051
 
_ACEOF
2052
 
exec 5>>config.log
2053
 
{
2054
 
cat <<_ASUNAME
2055
 
## --------- ##
2056
 
## Platform. ##
2057
 
## --------- ##
2058
 
 
2059
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2060
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2061
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2062
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2063
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2064
 
 
2065
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2066
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2067
 
 
2068
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2069
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2070
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2071
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2072
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2073
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2074
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2075
 
 
2076
 
_ASUNAME
2077
 
 
2078
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079
 
for as_dir in $PATH
2080
 
do
2081
 
  IFS=$as_save_IFS
2082
 
  test -z "$as_dir" && as_dir=.
2083
 
    $as_echo "PATH: $as_dir"
2084
 
  done
2085
 
IFS=$as_save_IFS
2086
 
 
2087
 
} >&5
2088
 
 
2089
 
cat >&5 <<_ACEOF
2090
 
 
2091
 
 
2092
 
## ----------- ##
2093
 
## Core tests. ##
2094
 
## ----------- ##
2095
 
 
2096
 
_ACEOF
2097
 
 
2098
 
 
2099
 
# Keep a trace of the command line.
2100
 
# Strip out --no-create and --no-recursion so they do not pile up.
2101
 
# Strip out --silent because we don't want to record it for future runs.
2102
 
# Also quote any args containing shell meta-characters.
2103
 
# Make two passes to allow for proper duplicate-argument suppression.
2104
 
ac_configure_args=
2105
 
ac_configure_args0=
2106
 
ac_configure_args1=
2107
 
ac_must_keep_next=false
2108
 
for ac_pass in 1 2
2109
 
do
2110
 
  for ac_arg
2111
 
  do
2112
 
    case $ac_arg in
2113
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2114
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2115
 
    | -silent | --silent | --silen | --sile | --sil)
2116
 
      continue ;;
2117
 
    *\'*)
2118
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2119
 
    esac
2120
 
    case $ac_pass in
2121
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2122
 
    2)
2123
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2124
 
      if test $ac_must_keep_next = true; then
2125
 
        ac_must_keep_next=false # Got value, back to normal.
2126
 
      else
2127
 
        case $ac_arg in
2128
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2129
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2130
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2131
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2132
 
            case "$ac_configure_args0 " in
2133
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2134
 
            esac
2135
 
            ;;
2136
 
          -* ) ac_must_keep_next=true ;;
2137
 
        esac
2138
 
      fi
2139
 
      as_fn_append ac_configure_args " '$ac_arg'"
2140
 
      ;;
2141
 
    esac
2142
 
  done
2143
 
done
2144
 
{ ac_configure_args0=; unset ac_configure_args0;}
2145
 
{ ac_configure_args1=; unset ac_configure_args1;}
2146
 
 
2147
 
# When interrupted or exit'd, cleanup temporary files, and complete
2148
 
# config.log.  We remove comments because anyway the quotes in there
2149
 
# would cause problems or look ugly.
2150
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2151
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2152
 
trap 'exit_status=$?
2153
 
  # Save into config.log some information that might help in debugging.
2154
 
  {
2155
 
    echo
2156
 
 
2157
 
    $as_echo "## ---------------- ##
2158
 
## Cache variables. ##
2159
 
## ---------------- ##"
2160
 
    echo
2161
 
    # The following way of writing the cache mishandles newlines in values,
2162
 
(
2163
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164
 
    eval ac_val=\$$ac_var
2165
 
    case $ac_val in #(
2166
 
    *${as_nl}*)
2167
 
      case $ac_var in #(
2168
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2169
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2170
 
      esac
2171
 
      case $ac_var in #(
2172
 
      _ | IFS | as_nl) ;; #(
2173
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2174
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2175
 
      esac ;;
2176
 
    esac
2177
 
  done
2178
 
  (set) 2>&1 |
2179
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180
 
    *${as_nl}ac_space=\ *)
2181
 
      sed -n \
2182
 
        "s/'\''/'\''\\\\'\'''\''/g;
2183
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2184
 
      ;; #(
2185
 
    *)
2186
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2187
 
      ;;
2188
 
    esac |
2189
 
    sort
2190
 
)
2191
 
    echo
2192
 
 
2193
 
    $as_echo "## ----------------- ##
2194
 
## Output variables. ##
2195
 
## ----------------- ##"
2196
 
    echo
2197
 
    for ac_var in $ac_subst_vars
2198
 
    do
2199
 
      eval ac_val=\$$ac_var
2200
 
      case $ac_val in
2201
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202
 
      esac
2203
 
      $as_echo "$ac_var='\''$ac_val'\''"
2204
 
    done | sort
2205
 
    echo
2206
 
 
2207
 
    if test -n "$ac_subst_files"; then
2208
 
      $as_echo "## ------------------- ##
2209
 
## File substitutions. ##
2210
 
## ------------------- ##"
2211
 
      echo
2212
 
      for ac_var in $ac_subst_files
2213
 
      do
2214
 
        eval ac_val=\$$ac_var
2215
 
        case $ac_val in
2216
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217
 
        esac
2218
 
        $as_echo "$ac_var='\''$ac_val'\''"
2219
 
      done | sort
2220
 
      echo
2221
 
    fi
2222
 
 
2223
 
    if test -s confdefs.h; then
2224
 
      $as_echo "## ----------- ##
2225
 
## confdefs.h. ##
2226
 
## ----------- ##"
2227
 
      echo
2228
 
      cat confdefs.h
2229
 
      echo
2230
 
    fi
2231
 
    test "$ac_signal" != 0 &&
2232
 
      $as_echo "$as_me: caught signal $ac_signal"
2233
 
    $as_echo "$as_me: exit $exit_status"
2234
 
  } >&5
2235
 
  rm -f core *.core core.conftest.* &&
2236
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2237
 
    exit $exit_status
2238
 
' 0
2239
 
for ac_signal in 1 2 13 15; do
2240
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2241
 
done
2242
 
ac_signal=0
2243
 
 
2244
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2245
 
rm -f -r conftest* confdefs.h
2246
 
 
2247
 
$as_echo "/* confdefs.h */" > confdefs.h
2248
 
 
2249
 
# Predefined preprocessor variables.
2250
 
 
2251
 
cat >>confdefs.h <<_ACEOF
2252
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2253
 
_ACEOF
2254
 
 
2255
 
cat >>confdefs.h <<_ACEOF
2256
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2257
 
_ACEOF
2258
 
 
2259
 
cat >>confdefs.h <<_ACEOF
2260
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2261
 
_ACEOF
2262
 
 
2263
 
cat >>confdefs.h <<_ACEOF
2264
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2265
 
_ACEOF
2266
 
 
2267
 
cat >>confdefs.h <<_ACEOF
2268
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2269
 
_ACEOF
2270
 
 
2271
 
cat >>confdefs.h <<_ACEOF
2272
 
#define PACKAGE_URL "$PACKAGE_URL"
2273
 
_ACEOF
2274
 
 
2275
 
 
2276
 
# Let the site file select an alternate cache file if it wants to.
2277
 
# Prefer an explicitly selected file to automatically selected ones.
2278
 
ac_site_file1=NONE
2279
 
ac_site_file2=NONE
2280
 
if test -n "$CONFIG_SITE"; then
2281
 
  # We do not want a PATH search for config.site.
2282
 
  case $CONFIG_SITE in #((
2283
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2284
 
    */*) ac_site_file1=$CONFIG_SITE;;
2285
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2286
 
  esac
2287
 
elif test "x$prefix" != xNONE; then
2288
 
  ac_site_file1=$prefix/share/config.site
2289
 
  ac_site_file2=$prefix/etc/config.site
2290
 
else
2291
 
  ac_site_file1=$ac_default_prefix/share/config.site
2292
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2293
 
fi
2294
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2295
 
do
2296
 
  test "x$ac_site_file" = xNONE && continue
2297
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2298
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2299
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2300
 
    sed 's/^/| /' "$ac_site_file" >&5
2301
 
    . "$ac_site_file" \
2302
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304
 
as_fn_error $? "failed to load site script $ac_site_file
2305
 
See \`config.log' for more details" "$LINENO" 5; }
2306
 
  fi
2307
 
done
2308
 
 
2309
 
if test -r "$cache_file"; then
2310
 
  # Some versions of bash will fail to source /dev/null (special files
2311
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2312
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2313
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2314
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2315
 
    case $cache_file in
2316
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2317
 
      *)                      . "./$cache_file";;
2318
 
    esac
2319
 
  fi
2320
 
else
2321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2322
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2323
 
  >$cache_file
2324
 
fi
2325
 
 
2326
 
# Check that the precious variables saved in the cache have kept the same
2327
 
# value.
2328
 
ac_cache_corrupted=false
2329
 
for ac_var in $ac_precious_vars; do
2330
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2331
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2332
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2333
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2334
 
  case $ac_old_set,$ac_new_set in
2335
 
    set,)
2336
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2337
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2338
 
      ac_cache_corrupted=: ;;
2339
 
    ,set)
2340
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2341
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2342
 
      ac_cache_corrupted=: ;;
2343
 
    ,);;
2344
 
    *)
2345
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2346
 
        # differences in whitespace do not lead to failure.
2347
 
        ac_old_val_w=`echo x $ac_old_val`
2348
 
        ac_new_val_w=`echo x $ac_new_val`
2349
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2350
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2351
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2352
 
          ac_cache_corrupted=:
2353
 
        else
2354
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2355
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2356
 
          eval $ac_var=\$ac_old_val
2357
 
        fi
2358
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2359
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2360
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2361
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2362
 
      fi;;
2363
 
  esac
2364
 
  # Pass precious variables to config.status.
2365
 
  if test "$ac_new_set" = set; then
2366
 
    case $ac_new_val in
2367
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2368
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2369
 
    esac
2370
 
    case " $ac_configure_args " in
2371
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2372
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2373
 
    esac
2374
 
  fi
2375
 
done
2376
 
if $ac_cache_corrupted; then
2377
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2378
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2379
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2380
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2381
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2382
 
fi
2383
 
## -------------------- ##
2384
 
## Main body of script. ##
2385
 
## -------------------- ##
2386
 
 
2387
 
ac_ext=c
2388
 
ac_cpp='$CPP $CPPFLAGS'
2389
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392
 
 
2393
 
 
2394
 
 
2395
 
ac_config_headers="$ac_config_headers cheese-config.h"
2396
 
 
2397
 
 
2398
 
 
2399
 
 
2400
 
am__api_version='1.11'
2401
 
 
2402
 
ac_aux_dir=
2403
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2404
 
  if test -f "$ac_dir/install-sh"; then
2405
 
    ac_aux_dir=$ac_dir
2406
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2407
 
    break
2408
 
  elif test -f "$ac_dir/install.sh"; then
2409
 
    ac_aux_dir=$ac_dir
2410
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2411
 
    break
2412
 
  elif test -f "$ac_dir/shtool"; then
2413
 
    ac_aux_dir=$ac_dir
2414
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2415
 
    break
2416
 
  fi
2417
 
done
2418
 
if test -z "$ac_aux_dir"; then
2419
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2420
 
fi
2421
 
 
2422
 
# These three variables are undocumented and unsupported,
2423
 
# and are intended to be withdrawn in a future Autoconf release.
2424
 
# They can cause serious problems if a builder's source tree is in a directory
2425
 
# whose full name contains unusual characters.
2426
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2427
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2428
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2429
 
 
2430
 
 
2431
 
# Find a good install program.  We prefer a C program (faster),
2432
 
# so one script is as good as another.  But avoid the broken or
2433
 
# incompatible versions:
2434
 
# SysV /etc/install, /usr/sbin/install
2435
 
# SunOS /usr/etc/install
2436
 
# IRIX /sbin/install
2437
 
# AIX /bin/install
2438
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2439
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442
 
# OS/2's system install, which has a completely different semantic
2443
 
# ./install, which can be erroneously created by make from ./install.sh.
2444
 
# Reject install programs that cannot install multiple files.
2445
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2446
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2447
 
if test -z "$INSTALL"; then
2448
 
if ${ac_cv_path_install+:} false; then :
2449
 
  $as_echo_n "(cached) " >&6
2450
 
else
2451
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452
 
for as_dir in $PATH
2453
 
do
2454
 
  IFS=$as_save_IFS
2455
 
  test -z "$as_dir" && as_dir=.
2456
 
    # Account for people who put trailing slashes in PATH elements.
2457
 
case $as_dir/ in #((
2458
 
  ./ | .// | /[cC]/* | \
2459
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2460
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2461
 
  /usr/ucb/* ) ;;
2462
 
  *)
2463
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2464
 
    # Don't use installbsd from OSF since it installs stuff as root
2465
 
    # by default.
2466
 
    for ac_prog in ginstall scoinst install; do
2467
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2468
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2469
 
          if test $ac_prog = install &&
2470
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2471
 
            # AIX install.  It has an incompatible calling convention.
2472
 
            :
2473
 
          elif test $ac_prog = install &&
2474
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2475
 
            # program-specific install script used by HP pwplus--don't use.
2476
 
            :
2477
 
          else
2478
 
            rm -rf conftest.one conftest.two conftest.dir
2479
 
            echo one > conftest.one
2480
 
            echo two > conftest.two
2481
 
            mkdir conftest.dir
2482
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2483
 
              test -s conftest.one && test -s conftest.two &&
2484
 
              test -s conftest.dir/conftest.one &&
2485
 
              test -s conftest.dir/conftest.two
2486
 
            then
2487
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2488
 
              break 3
2489
 
            fi
2490
 
          fi
2491
 
        fi
2492
 
      done
2493
 
    done
2494
 
    ;;
2495
 
esac
2496
 
 
2497
 
  done
2498
 
IFS=$as_save_IFS
2499
 
 
2500
 
rm -rf conftest.one conftest.two conftest.dir
2501
 
 
2502
 
fi
2503
 
  if test "${ac_cv_path_install+set}" = set; then
2504
 
    INSTALL=$ac_cv_path_install
2505
 
  else
2506
 
    # As a last resort, use the slow shell script.  Don't cache a
2507
 
    # value for INSTALL within a source directory, because that will
2508
 
    # break other packages using the cache if that directory is
2509
 
    # removed, or if the value is a relative name.
2510
 
    INSTALL=$ac_install_sh
2511
 
  fi
2512
 
fi
2513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2514
 
$as_echo "$INSTALL" >&6; }
2515
 
 
2516
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517
 
# It thinks the first close brace ends the variable substitution.
2518
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2519
 
 
2520
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2521
 
 
2522
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2523
 
 
2524
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2525
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2526
 
# Just in case
2527
 
sleep 1
2528
 
echo timestamp > conftest.file
2529
 
# Reject unsafe characters in $srcdir or the absolute working directory
2530
 
# name.  Accept space and tab only in the latter.
2531
 
am_lf='
2532
 
'
2533
 
case `pwd` in
2534
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2535
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2536
 
esac
2537
 
case $srcdir in
2538
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2539
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2540
 
esac
2541
 
 
2542
 
# Do `set' in a subshell so we don't clobber the current shell's
2543
 
# arguments.  Must try -L first in case configure is actually a
2544
 
# symlink; some systems play weird games with the mod time of symlinks
2545
 
# (eg FreeBSD returns the mod time of the symlink's containing
2546
 
# directory).
2547
 
if (
2548
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2549
 
   if test "$*" = "X"; then
2550
 
      # -L didn't work.
2551
 
      set X `ls -t "$srcdir/configure" conftest.file`
2552
 
   fi
2553
 
   rm -f conftest.file
2554
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2555
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2556
 
 
2557
 
      # If neither matched, then we have a broken ls.  This can happen
2558
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2559
 
      # broken ls alias from the environment.  This has actually
2560
 
      # happened.  Such a system could not be considered "sane".
2561
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2562
 
alias in your environment" "$LINENO" 5
2563
 
   fi
2564
 
 
2565
 
   test "$2" = conftest.file
2566
 
   )
2567
 
then
2568
 
   # Ok.
2569
 
   :
2570
 
else
2571
 
   as_fn_error $? "newly created file is older than distributed files!
2572
 
Check your system clock" "$LINENO" 5
2573
 
fi
2574
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575
 
$as_echo "yes" >&6; }
2576
 
test "$program_prefix" != NONE &&
2577
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2578
 
# Use a double $ so make ignores it.
2579
 
test "$program_suffix" != NONE &&
2580
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2581
 
# Double any \ or $.
2582
 
# By default was `s,x,x', remove it if useless.
2583
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2584
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2585
 
 
2586
 
# expand $ac_aux_dir to an absolute path
2587
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2588
 
 
2589
 
if test x"${MISSING+set}" != xset; then
2590
 
  case $am_aux_dir in
2591
 
  *\ * | *\     *)
2592
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2593
 
  *)
2594
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2595
 
  esac
2596
 
fi
2597
 
# Use eval to expand $SHELL
2598
 
if eval "$MISSING --run true"; then
2599
 
  am_missing_run="$MISSING --run "
2600
 
else
2601
 
  am_missing_run=
2602
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2603
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2604
 
fi
2605
 
 
2606
 
if test x"${install_sh}" != xset; then
2607
 
  case $am_aux_dir in
2608
 
  *\ * | *\     *)
2609
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2610
 
  *)
2611
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2612
 
  esac
2613
 
fi
2614
 
 
2615
 
# Installed binaries are usually stripped using `strip' when the user
2616
 
# run `make install-strip'.  However `strip' might not be the right
2617
 
# tool to use in cross-compilation environments, therefore Automake
2618
 
# will honor the `STRIP' environment variable to overrule this program.
2619
 
if test "$cross_compiling" != no; then
2620
 
  if test -n "$ac_tool_prefix"; then
2621
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2622
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2623
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624
 
$as_echo_n "checking for $ac_word... " >&6; }
2625
 
if ${ac_cv_prog_STRIP+:} false; then :
2626
 
  $as_echo_n "(cached) " >&6
2627
 
else
2628
 
  if test -n "$STRIP"; then
2629
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2630
 
else
2631
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632
 
for as_dir in $PATH
2633
 
do
2634
 
  IFS=$as_save_IFS
2635
 
  test -z "$as_dir" && as_dir=.
2636
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2637
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2639
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640
 
    break 2
2641
 
  fi
2642
 
done
2643
 
  done
2644
 
IFS=$as_save_IFS
2645
 
 
2646
 
fi
2647
 
fi
2648
 
STRIP=$ac_cv_prog_STRIP
2649
 
if test -n "$STRIP"; then
2650
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2651
 
$as_echo "$STRIP" >&6; }
2652
 
else
2653
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654
 
$as_echo "no" >&6; }
2655
 
fi
2656
 
 
2657
 
 
2658
 
fi
2659
 
if test -z "$ac_cv_prog_STRIP"; then
2660
 
  ac_ct_STRIP=$STRIP
2661
 
  # Extract the first word of "strip", so it can be a program name with args.
2662
 
set dummy strip; ac_word=$2
2663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664
 
$as_echo_n "checking for $ac_word... " >&6; }
2665
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2666
 
  $as_echo_n "(cached) " >&6
2667
 
else
2668
 
  if test -n "$ac_ct_STRIP"; then
2669
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2670
 
else
2671
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672
 
for as_dir in $PATH
2673
 
do
2674
 
  IFS=$as_save_IFS
2675
 
  test -z "$as_dir" && as_dir=.
2676
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2677
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678
 
    ac_cv_prog_ac_ct_STRIP="strip"
2679
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680
 
    break 2
2681
 
  fi
2682
 
done
2683
 
  done
2684
 
IFS=$as_save_IFS
2685
 
 
2686
 
fi
2687
 
fi
2688
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2689
 
if test -n "$ac_ct_STRIP"; then
2690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2691
 
$as_echo "$ac_ct_STRIP" >&6; }
2692
 
else
2693
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694
 
$as_echo "no" >&6; }
2695
 
fi
2696
 
 
2697
 
  if test "x$ac_ct_STRIP" = x; then
2698
 
    STRIP=":"
2699
 
  else
2700
 
    case $cross_compiling:$ac_tool_warned in
2701
 
yes:)
2702
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2703
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2704
 
ac_tool_warned=yes ;;
2705
 
esac
2706
 
    STRIP=$ac_ct_STRIP
2707
 
  fi
2708
 
else
2709
 
  STRIP="$ac_cv_prog_STRIP"
2710
 
fi
2711
 
 
2712
 
fi
2713
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2714
 
 
2715
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2716
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2717
 
if test -z "$MKDIR_P"; then
2718
 
  if ${ac_cv_path_mkdir+:} false; then :
2719
 
  $as_echo_n "(cached) " >&6
2720
 
else
2721
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2723
 
do
2724
 
  IFS=$as_save_IFS
2725
 
  test -z "$as_dir" && as_dir=.
2726
 
    for ac_prog in mkdir gmkdir; do
2727
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2728
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2729
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2730
 
             'mkdir (GNU coreutils) '* | \
2731
 
             'mkdir (coreutils) '* | \
2732
 
             'mkdir (fileutils) '4.1*)
2733
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2734
 
               break 3;;
2735
 
           esac
2736
 
         done
2737
 
       done
2738
 
  done
2739
 
IFS=$as_save_IFS
2740
 
 
2741
 
fi
2742
 
 
2743
 
  test -d ./--version && rmdir ./--version
2744
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2745
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2746
 
  else
2747
 
    # As a last resort, use the slow shell script.  Don't cache a
2748
 
    # value for MKDIR_P within a source directory, because that will
2749
 
    # break other packages using the cache if that directory is
2750
 
    # removed, or if the value is a relative name.
2751
 
    MKDIR_P="$ac_install_sh -d"
2752
 
  fi
2753
 
fi
2754
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2755
 
$as_echo "$MKDIR_P" >&6; }
2756
 
 
2757
 
mkdir_p="$MKDIR_P"
2758
 
case $mkdir_p in
2759
 
  [\\/$]* | ?:[\\/]*) ;;
2760
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2761
 
esac
2762
 
 
2763
 
for ac_prog in gawk mawk nawk awk
2764
 
do
2765
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2766
 
set dummy $ac_prog; ac_word=$2
2767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768
 
$as_echo_n "checking for $ac_word... " >&6; }
2769
 
if ${ac_cv_prog_AWK+:} false; then :
2770
 
  $as_echo_n "(cached) " >&6
2771
 
else
2772
 
  if test -n "$AWK"; then
2773
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2774
 
else
2775
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776
 
for as_dir in $PATH
2777
 
do
2778
 
  IFS=$as_save_IFS
2779
 
  test -z "$as_dir" && as_dir=.
2780
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2781
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782
 
    ac_cv_prog_AWK="$ac_prog"
2783
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784
 
    break 2
2785
 
  fi
2786
 
done
2787
 
  done
2788
 
IFS=$as_save_IFS
2789
 
 
2790
 
fi
2791
 
fi
2792
 
AWK=$ac_cv_prog_AWK
2793
 
if test -n "$AWK"; then
2794
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2795
 
$as_echo "$AWK" >&6; }
2796
 
else
2797
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798
 
$as_echo "no" >&6; }
2799
 
fi
2800
 
 
2801
 
 
2802
 
  test -n "$AWK" && break
2803
 
done
2804
 
 
2805
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2806
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2807
 
set x ${MAKE-make}
2808
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2809
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2810
 
  $as_echo_n "(cached) " >&6
2811
 
else
2812
 
  cat >conftest.make <<\_ACEOF
2813
 
SHELL = /bin/sh
2814
 
all:
2815
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2816
 
_ACEOF
2817
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2818
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2819
 
  *@@@%%%=?*=@@@%%%*)
2820
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2821
 
  *)
2822
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2823
 
esac
2824
 
rm -f conftest.make
2825
 
fi
2826
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2827
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828
 
$as_echo "yes" >&6; }
2829
 
  SET_MAKE=
2830
 
else
2831
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832
 
$as_echo "no" >&6; }
2833
 
  SET_MAKE="MAKE=${MAKE-make}"
2834
 
fi
2835
 
 
2836
 
rm -rf .tst 2>/dev/null
2837
 
mkdir .tst 2>/dev/null
2838
 
if test -d .tst; then
2839
 
  am__leading_dot=.
2840
 
else
2841
 
  am__leading_dot=_
2842
 
fi
2843
 
rmdir .tst 2>/dev/null
2844
 
 
2845
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2846
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2847
 
  # is not polluted with repeated "-I."
2848
 
  am__isrc=' -I$(srcdir)'
2849
 
  # test to see if srcdir already configured
2850
 
  if test -f $srcdir/config.status; then
2851
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2852
 
  fi
2853
 
fi
2854
 
 
2855
 
# test whether we have cygpath
2856
 
if test -z "$CYGPATH_W"; then
2857
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2858
 
    CYGPATH_W='cygpath -w'
2859
 
  else
2860
 
    CYGPATH_W=echo
2861
 
  fi
2862
 
fi
2863
 
 
2864
 
 
2865
 
# Define the identity of the package.
2866
 
 PACKAGE='cheese'
2867
 
 VERSION='3.2.2'
2868
 
 
2869
 
 
2870
 
cat >>confdefs.h <<_ACEOF
2871
 
#define PACKAGE "$PACKAGE"
2872
 
_ACEOF
2873
 
 
2874
 
 
2875
 
cat >>confdefs.h <<_ACEOF
2876
 
#define VERSION "$VERSION"
2877
 
_ACEOF
2878
 
 
2879
 
# Some tools Automake needs.
2880
 
 
2881
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2882
 
 
2883
 
 
2884
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2885
 
 
2886
 
 
2887
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2888
 
 
2889
 
 
2890
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2891
 
 
2892
 
 
2893
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2894
 
 
2895
 
# We need awk for the "check" target.  The system "awk" is bad on
2896
 
# some platforms.
2897
 
# Always define AMTAR for backward compatibility.
2898
 
 
2899
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2900
 
 
2901
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2902
 
 
2903
 
 
2904
 
 
2905
 
 
2906
 
 
2907
 
 
2908
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2909
 
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2910
 
    # Check whether --enable-maintainer-mode was given.
2911
 
if test "${enable_maintainer_mode+set}" = set; then :
2912
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2913
 
else
2914
 
  USE_MAINTAINER_MODE=yes
2915
 
fi
2916
 
 
2917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2918
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2919
 
   if test $USE_MAINTAINER_MODE = yes; then
2920
 
  MAINTAINER_MODE_TRUE=
2921
 
  MAINTAINER_MODE_FALSE='#'
2922
 
else
2923
 
  MAINTAINER_MODE_TRUE='#'
2924
 
  MAINTAINER_MODE_FALSE=
2925
 
fi
2926
 
 
2927
 
  MAINT=$MAINTAINER_MODE_TRUE
2928
 
 
2929
 
 
2930
 
 
2931
 
# Check for programs
2932
 
ac_ext=c
2933
 
ac_cpp='$CPP $CPPFLAGS'
2934
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937
 
if test -n "$ac_tool_prefix"; then
2938
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2939
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2940
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941
 
$as_echo_n "checking for $ac_word... " >&6; }
2942
 
if ${ac_cv_prog_CC+:} false; then :
2943
 
  $as_echo_n "(cached) " >&6
2944
 
else
2945
 
  if test -n "$CC"; then
2946
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2947
 
else
2948
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949
 
for as_dir in $PATH
2950
 
do
2951
 
  IFS=$as_save_IFS
2952
 
  test -z "$as_dir" && as_dir=.
2953
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2954
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2955
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2956
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957
 
    break 2
2958
 
  fi
2959
 
done
2960
 
  done
2961
 
IFS=$as_save_IFS
2962
 
 
2963
 
fi
2964
 
fi
2965
 
CC=$ac_cv_prog_CC
2966
 
if test -n "$CC"; then
2967
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2968
 
$as_echo "$CC" >&6; }
2969
 
else
2970
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971
 
$as_echo "no" >&6; }
2972
 
fi
2973
 
 
2974
 
 
2975
 
fi
2976
 
if test -z "$ac_cv_prog_CC"; then
2977
 
  ac_ct_CC=$CC
2978
 
  # Extract the first word of "gcc", so it can be a program name with args.
2979
 
set dummy gcc; ac_word=$2
2980
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981
 
$as_echo_n "checking for $ac_word... " >&6; }
2982
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2983
 
  $as_echo_n "(cached) " >&6
2984
 
else
2985
 
  if test -n "$ac_ct_CC"; then
2986
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2987
 
else
2988
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989
 
for as_dir in $PATH
2990
 
do
2991
 
  IFS=$as_save_IFS
2992
 
  test -z "$as_dir" && as_dir=.
2993
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2994
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2995
 
    ac_cv_prog_ac_ct_CC="gcc"
2996
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997
 
    break 2
2998
 
  fi
2999
 
done
3000
 
  done
3001
 
IFS=$as_save_IFS
3002
 
 
3003
 
fi
3004
 
fi
3005
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3006
 
if test -n "$ac_ct_CC"; then
3007
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3008
 
$as_echo "$ac_ct_CC" >&6; }
3009
 
else
3010
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011
 
$as_echo "no" >&6; }
3012
 
fi
3013
 
 
3014
 
  if test "x$ac_ct_CC" = x; then
3015
 
    CC=""
3016
 
  else
3017
 
    case $cross_compiling:$ac_tool_warned in
3018
 
yes:)
3019
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3020
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3021
 
ac_tool_warned=yes ;;
3022
 
esac
3023
 
    CC=$ac_ct_CC
3024
 
  fi
3025
 
else
3026
 
  CC="$ac_cv_prog_CC"
3027
 
fi
3028
 
 
3029
 
if test -z "$CC"; then
3030
 
          if test -n "$ac_tool_prefix"; then
3031
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3032
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
 
$as_echo_n "checking for $ac_word... " >&6; }
3035
 
if ${ac_cv_prog_CC+:} false; then :
3036
 
  $as_echo_n "(cached) " >&6
3037
 
else
3038
 
  if test -n "$CC"; then
3039
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3040
 
else
3041
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042
 
for as_dir in $PATH
3043
 
do
3044
 
  IFS=$as_save_IFS
3045
 
  test -z "$as_dir" && as_dir=.
3046
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3047
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3049
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050
 
    break 2
3051
 
  fi
3052
 
done
3053
 
  done
3054
 
IFS=$as_save_IFS
3055
 
 
3056
 
fi
3057
 
fi
3058
 
CC=$ac_cv_prog_CC
3059
 
if test -n "$CC"; then
3060
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3061
 
$as_echo "$CC" >&6; }
3062
 
else
3063
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
 
$as_echo "no" >&6; }
3065
 
fi
3066
 
 
3067
 
 
3068
 
  fi
3069
 
fi
3070
 
if test -z "$CC"; then
3071
 
  # Extract the first word of "cc", so it can be a program name with args.
3072
 
set dummy cc; ac_word=$2
3073
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074
 
$as_echo_n "checking for $ac_word... " >&6; }
3075
 
if ${ac_cv_prog_CC+:} false; then :
3076
 
  $as_echo_n "(cached) " >&6
3077
 
else
3078
 
  if test -n "$CC"; then
3079
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3080
 
else
3081
 
  ac_prog_rejected=no
3082
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083
 
for as_dir in $PATH
3084
 
do
3085
 
  IFS=$as_save_IFS
3086
 
  test -z "$as_dir" && as_dir=.
3087
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3088
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3089
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3090
 
       ac_prog_rejected=yes
3091
 
       continue
3092
 
     fi
3093
 
    ac_cv_prog_CC="cc"
3094
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095
 
    break 2
3096
 
  fi
3097
 
done
3098
 
  done
3099
 
IFS=$as_save_IFS
3100
 
 
3101
 
if test $ac_prog_rejected = yes; then
3102
 
  # We found a bogon in the path, so make sure we never use it.
3103
 
  set dummy $ac_cv_prog_CC
3104
 
  shift
3105
 
  if test $# != 0; then
3106
 
    # We chose a different compiler from the bogus one.
3107
 
    # However, it has the same basename, so the bogon will be chosen
3108
 
    # first if we set CC to just the basename; use the full file name.
3109
 
    shift
3110
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3111
 
  fi
3112
 
fi
3113
 
fi
3114
 
fi
3115
 
CC=$ac_cv_prog_CC
3116
 
if test -n "$CC"; then
3117
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118
 
$as_echo "$CC" >&6; }
3119
 
else
3120
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121
 
$as_echo "no" >&6; }
3122
 
fi
3123
 
 
3124
 
 
3125
 
fi
3126
 
if test -z "$CC"; then
3127
 
  if test -n "$ac_tool_prefix"; then
3128
 
  for ac_prog in cl.exe
3129
 
  do
3130
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3131
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3132
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133
 
$as_echo_n "checking for $ac_word... " >&6; }
3134
 
if ${ac_cv_prog_CC+:} false; then :
3135
 
  $as_echo_n "(cached) " >&6
3136
 
else
3137
 
  if test -n "$CC"; then
3138
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3139
 
else
3140
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141
 
for as_dir in $PATH
3142
 
do
3143
 
  IFS=$as_save_IFS
3144
 
  test -z "$as_dir" && as_dir=.
3145
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3146
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3147
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3148
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149
 
    break 2
3150
 
  fi
3151
 
done
3152
 
  done
3153
 
IFS=$as_save_IFS
3154
 
 
3155
 
fi
3156
 
fi
3157
 
CC=$ac_cv_prog_CC
3158
 
if test -n "$CC"; then
3159
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3160
 
$as_echo "$CC" >&6; }
3161
 
else
3162
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163
 
$as_echo "no" >&6; }
3164
 
fi
3165
 
 
3166
 
 
3167
 
    test -n "$CC" && break
3168
 
  done
3169
 
fi
3170
 
if test -z "$CC"; then
3171
 
  ac_ct_CC=$CC
3172
 
  for ac_prog in cl.exe
3173
 
do
3174
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3175
 
set dummy $ac_prog; ac_word=$2
3176
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177
 
$as_echo_n "checking for $ac_word... " >&6; }
3178
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3179
 
  $as_echo_n "(cached) " >&6
3180
 
else
3181
 
  if test -n "$ac_ct_CC"; then
3182
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3183
 
else
3184
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185
 
for as_dir in $PATH
3186
 
do
3187
 
  IFS=$as_save_IFS
3188
 
  test -z "$as_dir" && as_dir=.
3189
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3190
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3192
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193
 
    break 2
3194
 
  fi
3195
 
done
3196
 
  done
3197
 
IFS=$as_save_IFS
3198
 
 
3199
 
fi
3200
 
fi
3201
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3202
 
if test -n "$ac_ct_CC"; then
3203
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3204
 
$as_echo "$ac_ct_CC" >&6; }
3205
 
else
3206
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207
 
$as_echo "no" >&6; }
3208
 
fi
3209
 
 
3210
 
 
3211
 
  test -n "$ac_ct_CC" && break
3212
 
done
3213
 
 
3214
 
  if test "x$ac_ct_CC" = x; then
3215
 
    CC=""
3216
 
  else
3217
 
    case $cross_compiling:$ac_tool_warned in
3218
 
yes:)
3219
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3220
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3221
 
ac_tool_warned=yes ;;
3222
 
esac
3223
 
    CC=$ac_ct_CC
3224
 
  fi
3225
 
fi
3226
 
 
3227
 
fi
3228
 
 
3229
 
 
3230
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3231
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3232
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3233
 
See \`config.log' for more details" "$LINENO" 5; }
3234
 
 
3235
 
# Provide some information about the compiler.
3236
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3237
 
set X $ac_compile
3238
 
ac_compiler=$2
3239
 
for ac_option in --version -v -V -qversion; do
3240
 
  { { ac_try="$ac_compiler $ac_option >&5"
3241
 
case "(($ac_try" in
3242
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243
 
  *) ac_try_echo=$ac_try;;
3244
 
esac
3245
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246
 
$as_echo "$ac_try_echo"; } >&5
3247
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3248
 
  ac_status=$?
3249
 
  if test -s conftest.err; then
3250
 
    sed '10a\
3251
 
... rest of stderr output deleted ...
3252
 
         10q' conftest.err >conftest.er1
3253
 
    cat conftest.er1 >&5
3254
 
  fi
3255
 
  rm -f conftest.er1 conftest.err
3256
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257
 
  test $ac_status = 0; }
3258
 
done
3259
 
 
3260
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261
 
/* end confdefs.h.  */
3262
 
 
3263
 
int
3264
 
main ()
3265
 
{
3266
 
 
3267
 
  ;
3268
 
  return 0;
3269
 
}
3270
 
_ACEOF
3271
 
ac_clean_files_save=$ac_clean_files
3272
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3273
 
# Try to create an executable without -o first, disregard a.out.
3274
 
# It will help us diagnose broken compilers, and finding out an intuition
3275
 
# of exeext.
3276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3277
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3278
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3279
 
 
3280
 
# The possible output files:
3281
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3282
 
 
3283
 
ac_rmfiles=
3284
 
for ac_file in $ac_files
3285
 
do
3286
 
  case $ac_file in
3287
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3288
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3289
 
  esac
3290
 
done
3291
 
rm -f $ac_rmfiles
3292
 
 
3293
 
if { { ac_try="$ac_link_default"
3294
 
case "(($ac_try" in
3295
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296
 
  *) ac_try_echo=$ac_try;;
3297
 
esac
3298
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299
 
$as_echo "$ac_try_echo"; } >&5
3300
 
  (eval "$ac_link_default") 2>&5
3301
 
  ac_status=$?
3302
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3303
 
  test $ac_status = 0; }; then :
3304
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3305
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3306
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3307
 
# so that the user can short-circuit this test for compilers unknown to
3308
 
# Autoconf.
3309
 
for ac_file in $ac_files ''
3310
 
do
3311
 
  test -f "$ac_file" || continue
3312
 
  case $ac_file in
3313
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3314
 
        ;;
3315
 
    [ab].out )
3316
 
        # We found the default executable, but exeext='' is most
3317
 
        # certainly right.
3318
 
        break;;
3319
 
    *.* )
3320
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3321
 
        then :; else
3322
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3323
 
        fi
3324
 
        # We set ac_cv_exeext here because the later test for it is not
3325
 
        # safe: cross compilers may not add the suffix if given an `-o'
3326
 
        # argument, so we may need to know it at that point already.
3327
 
        # Even if this section looks crufty: it has the advantage of
3328
 
        # actually working.
3329
 
        break;;
3330
 
    * )
3331
 
        break;;
3332
 
  esac
3333
 
done
3334
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3335
 
 
3336
 
else
3337
 
  ac_file=''
3338
 
fi
3339
 
if test -z "$ac_file"; then :
3340
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341
 
$as_echo "no" >&6; }
3342
 
$as_echo "$as_me: failed program was:" >&5
3343
 
sed 's/^/| /' conftest.$ac_ext >&5
3344
 
 
3345
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347
 
as_fn_error 77 "C compiler cannot create executables
3348
 
See \`config.log' for more details" "$LINENO" 5; }
3349
 
else
3350
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3351
 
$as_echo "yes" >&6; }
3352
 
fi
3353
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3354
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3355
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3356
 
$as_echo "$ac_file" >&6; }
3357
 
ac_exeext=$ac_cv_exeext
3358
 
 
3359
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3360
 
ac_clean_files=$ac_clean_files_save
3361
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3362
 
$as_echo_n "checking for suffix of executables... " >&6; }
3363
 
if { { ac_try="$ac_link"
3364
 
case "(($ac_try" in
3365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366
 
  *) ac_try_echo=$ac_try;;
3367
 
esac
3368
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3369
 
$as_echo "$ac_try_echo"; } >&5
3370
 
  (eval "$ac_link") 2>&5
3371
 
  ac_status=$?
3372
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3373
 
  test $ac_status = 0; }; then :
3374
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3375
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3376
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3377
 
# `rm'.
3378
 
for ac_file in conftest.exe conftest conftest.*; do
3379
 
  test -f "$ac_file" || continue
3380
 
  case $ac_file in
3381
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3382
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3383
 
          break;;
3384
 
    * ) break;;
3385
 
  esac
3386
 
done
3387
 
else
3388
 
  { { $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 $? "cannot compute suffix of executables: cannot compile and link
3391
 
See \`config.log' for more details" "$LINENO" 5; }
3392
 
fi
3393
 
rm -f conftest conftest$ac_cv_exeext
3394
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3395
 
$as_echo "$ac_cv_exeext" >&6; }
3396
 
 
3397
 
rm -f conftest.$ac_ext
3398
 
EXEEXT=$ac_cv_exeext
3399
 
ac_exeext=$EXEEXT
3400
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401
 
/* end confdefs.h.  */
3402
 
#include <stdio.h>
3403
 
int
3404
 
main ()
3405
 
{
3406
 
FILE *f = fopen ("conftest.out", "w");
3407
 
 return ferror (f) || fclose (f) != 0;
3408
 
 
3409
 
  ;
3410
 
  return 0;
3411
 
}
3412
 
_ACEOF
3413
 
ac_clean_files="$ac_clean_files conftest.out"
3414
 
# Check that the compiler produces executables we can run.  If not, either
3415
 
# the compiler is broken, or we cross compile.
3416
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3417
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3418
 
if test "$cross_compiling" != yes; then
3419
 
  { { ac_try="$ac_link"
3420
 
case "(($ac_try" in
3421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422
 
  *) ac_try_echo=$ac_try;;
3423
 
esac
3424
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3425
 
$as_echo "$ac_try_echo"; } >&5
3426
 
  (eval "$ac_link") 2>&5
3427
 
  ac_status=$?
3428
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3429
 
  test $ac_status = 0; }
3430
 
  if { ac_try='./conftest$ac_cv_exeext'
3431
 
  { { case "(($ac_try" in
3432
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433
 
  *) ac_try_echo=$ac_try;;
3434
 
esac
3435
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436
 
$as_echo "$ac_try_echo"; } >&5
3437
 
  (eval "$ac_try") 2>&5
3438
 
  ac_status=$?
3439
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3440
 
  test $ac_status = 0; }; }; then
3441
 
    cross_compiling=no
3442
 
  else
3443
 
    if test "$cross_compiling" = maybe; then
3444
 
        cross_compiling=yes
3445
 
    else
3446
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3447
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3448
 
as_fn_error $? "cannot run C compiled programs.
3449
 
If you meant to cross compile, use \`--host'.
3450
 
See \`config.log' for more details" "$LINENO" 5; }
3451
 
    fi
3452
 
  fi
3453
 
fi
3454
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3455
 
$as_echo "$cross_compiling" >&6; }
3456
 
 
3457
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3458
 
ac_clean_files=$ac_clean_files_save
3459
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3460
 
$as_echo_n "checking for suffix of object files... " >&6; }
3461
 
if ${ac_cv_objext+:} false; then :
3462
 
  $as_echo_n "(cached) " >&6
3463
 
else
3464
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465
 
/* end confdefs.h.  */
3466
 
 
3467
 
int
3468
 
main ()
3469
 
{
3470
 
 
3471
 
  ;
3472
 
  return 0;
3473
 
}
3474
 
_ACEOF
3475
 
rm -f conftest.o conftest.obj
3476
 
if { { ac_try="$ac_compile"
3477
 
case "(($ac_try" in
3478
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479
 
  *) ac_try_echo=$ac_try;;
3480
 
esac
3481
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482
 
$as_echo "$ac_try_echo"; } >&5
3483
 
  (eval "$ac_compile") 2>&5
3484
 
  ac_status=$?
3485
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486
 
  test $ac_status = 0; }; then :
3487
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3488
 
  test -f "$ac_file" || continue;
3489
 
  case $ac_file in
3490
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3491
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3492
 
       break;;
3493
 
  esac
3494
 
done
3495
 
else
3496
 
  $as_echo "$as_me: failed program was:" >&5
3497
 
sed 's/^/| /' conftest.$ac_ext >&5
3498
 
 
3499
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3502
 
See \`config.log' for more details" "$LINENO" 5; }
3503
 
fi
3504
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3505
 
fi
3506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3507
 
$as_echo "$ac_cv_objext" >&6; }
3508
 
OBJEXT=$ac_cv_objext
3509
 
ac_objext=$OBJEXT
3510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3511
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3512
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3513
 
  $as_echo_n "(cached) " >&6
3514
 
else
3515
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516
 
/* end confdefs.h.  */
3517
 
 
3518
 
int
3519
 
main ()
3520
 
{
3521
 
#ifndef __GNUC__
3522
 
       choke me
3523
 
#endif
3524
 
 
3525
 
  ;
3526
 
  return 0;
3527
 
}
3528
 
_ACEOF
3529
 
if ac_fn_c_try_compile "$LINENO"; then :
3530
 
  ac_compiler_gnu=yes
3531
 
else
3532
 
  ac_compiler_gnu=no
3533
 
fi
3534
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3536
 
 
3537
 
fi
3538
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3539
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3540
 
if test $ac_compiler_gnu = yes; then
3541
 
  GCC=yes
3542
 
else
3543
 
  GCC=
3544
 
fi
3545
 
ac_test_CFLAGS=${CFLAGS+set}
3546
 
ac_save_CFLAGS=$CFLAGS
3547
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3548
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3549
 
if ${ac_cv_prog_cc_g+:} false; then :
3550
 
  $as_echo_n "(cached) " >&6
3551
 
else
3552
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3553
 
   ac_c_werror_flag=yes
3554
 
   ac_cv_prog_cc_g=no
3555
 
   CFLAGS="-g"
3556
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557
 
/* end confdefs.h.  */
3558
 
 
3559
 
int
3560
 
main ()
3561
 
{
3562
 
 
3563
 
  ;
3564
 
  return 0;
3565
 
}
3566
 
_ACEOF
3567
 
if ac_fn_c_try_compile "$LINENO"; then :
3568
 
  ac_cv_prog_cc_g=yes
3569
 
else
3570
 
  CFLAGS=""
3571
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572
 
/* end confdefs.h.  */
3573
 
 
3574
 
int
3575
 
main ()
3576
 
{
3577
 
 
3578
 
  ;
3579
 
  return 0;
3580
 
}
3581
 
_ACEOF
3582
 
if ac_fn_c_try_compile "$LINENO"; then :
3583
 
 
3584
 
else
3585
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3586
 
         CFLAGS="-g"
3587
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588
 
/* end confdefs.h.  */
3589
 
 
3590
 
int
3591
 
main ()
3592
 
{
3593
 
 
3594
 
  ;
3595
 
  return 0;
3596
 
}
3597
 
_ACEOF
3598
 
if ac_fn_c_try_compile "$LINENO"; then :
3599
 
  ac_cv_prog_cc_g=yes
3600
 
fi
3601
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602
 
fi
3603
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604
 
fi
3605
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3607
 
fi
3608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3609
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3610
 
if test "$ac_test_CFLAGS" = set; then
3611
 
  CFLAGS=$ac_save_CFLAGS
3612
 
elif test $ac_cv_prog_cc_g = yes; then
3613
 
  if test "$GCC" = yes; then
3614
 
    CFLAGS="-g -O2"
3615
 
  else
3616
 
    CFLAGS="-g"
3617
 
  fi
3618
 
else
3619
 
  if test "$GCC" = yes; then
3620
 
    CFLAGS="-O2"
3621
 
  else
3622
 
    CFLAGS=
3623
 
  fi
3624
 
fi
3625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3626
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3627
 
if ${ac_cv_prog_cc_c89+:} false; then :
3628
 
  $as_echo_n "(cached) " >&6
3629
 
else
3630
 
  ac_cv_prog_cc_c89=no
3631
 
ac_save_CC=$CC
3632
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633
 
/* end confdefs.h.  */
3634
 
#include <stdarg.h>
3635
 
#include <stdio.h>
3636
 
#include <sys/types.h>
3637
 
#include <sys/stat.h>
3638
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3639
 
struct buf { int x; };
3640
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3641
 
static char *e (p, i)
3642
 
     char **p;
3643
 
     int i;
3644
 
{
3645
 
  return p[i];
3646
 
}
3647
 
static char *f (char * (*g) (char **, int), char **p, ...)
3648
 
{
3649
 
  char *s;
3650
 
  va_list v;
3651
 
  va_start (v,p);
3652
 
  s = g (p, va_arg (v,int));
3653
 
  va_end (v);
3654
 
  return s;
3655
 
}
3656
 
 
3657
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3658
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3659
 
   These don't provoke an error unfortunately, instead are silently treated
3660
 
   as 'x'.  The following induces an error, until -std is added to get
3661
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3662
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3663
 
   that's true only with -std.  */
3664
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3665
 
 
3666
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3667
 
   inside strings and character constants.  */
3668
 
#define FOO(x) 'x'
3669
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3670
 
 
3671
 
int test (int i, double x);
3672
 
struct s1 {int (*f) (int a);};
3673
 
struct s2 {int (*f) (double a);};
3674
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3675
 
int argc;
3676
 
char **argv;
3677
 
int
3678
 
main ()
3679
 
{
3680
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3681
 
  ;
3682
 
  return 0;
3683
 
}
3684
 
_ACEOF
3685
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3686
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3687
 
do
3688
 
  CC="$ac_save_CC $ac_arg"
3689
 
  if ac_fn_c_try_compile "$LINENO"; then :
3690
 
  ac_cv_prog_cc_c89=$ac_arg
3691
 
fi
3692
 
rm -f core conftest.err conftest.$ac_objext
3693
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3694
 
done
3695
 
rm -f conftest.$ac_ext
3696
 
CC=$ac_save_CC
3697
 
 
3698
 
fi
3699
 
# AC_CACHE_VAL
3700
 
case "x$ac_cv_prog_cc_c89" in
3701
 
  x)
3702
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3703
 
$as_echo "none needed" >&6; } ;;
3704
 
  xno)
3705
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3706
 
$as_echo "unsupported" >&6; } ;;
3707
 
  *)
3708
 
    CC="$CC $ac_cv_prog_cc_c89"
3709
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3710
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3711
 
esac
3712
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3713
 
 
3714
 
fi
3715
 
 
3716
 
ac_ext=c
3717
 
ac_cpp='$CPP $CPPFLAGS'
3718
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721
 
DEPDIR="${am__leading_dot}deps"
3722
 
 
3723
 
ac_config_commands="$ac_config_commands depfiles"
3724
 
 
3725
 
 
3726
 
am_make=${MAKE-make}
3727
 
cat > confinc << 'END'
3728
 
am__doit:
3729
 
        @echo this is the am__doit target
3730
 
.PHONY: am__doit
3731
 
END
3732
 
# If we don't find an include directive, just comment out the code.
3733
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3734
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3735
 
am__include="#"
3736
 
am__quote=
3737
 
_am_result=none
3738
 
# First try GNU make style include.
3739
 
echo "include confinc" > confmf
3740
 
# Ignore all kinds of additional output from `make'.
3741
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3742
 
*the\ am__doit\ target*)
3743
 
  am__include=include
3744
 
  am__quote=
3745
 
  _am_result=GNU
3746
 
  ;;
3747
 
esac
3748
 
# Now try BSD make style include.
3749
 
if test "$am__include" = "#"; then
3750
 
   echo '.include "confinc"' > confmf
3751
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3752
 
   *the\ am__doit\ target*)
3753
 
     am__include=.include
3754
 
     am__quote="\""
3755
 
     _am_result=BSD
3756
 
     ;;
3757
 
   esac
3758
 
fi
3759
 
 
3760
 
 
3761
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3762
 
$as_echo "$_am_result" >&6; }
3763
 
rm -f confinc confmf
3764
 
 
3765
 
# Check whether --enable-dependency-tracking was given.
3766
 
if test "${enable_dependency_tracking+set}" = set; then :
3767
 
  enableval=$enable_dependency_tracking;
3768
 
fi
3769
 
 
3770
 
if test "x$enable_dependency_tracking" != xno; then
3771
 
  am_depcomp="$ac_aux_dir/depcomp"
3772
 
  AMDEPBACKSLASH='\'
3773
 
fi
3774
 
 if test "x$enable_dependency_tracking" != xno; then
3775
 
  AMDEP_TRUE=
3776
 
  AMDEP_FALSE='#'
3777
 
else
3778
 
  AMDEP_TRUE='#'
3779
 
  AMDEP_FALSE=
3780
 
fi
3781
 
 
3782
 
 
3783
 
 
3784
 
depcc="$CC"   am_compiler_list=
3785
 
 
3786
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3787
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3788
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3789
 
  $as_echo_n "(cached) " >&6
3790
 
else
3791
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3792
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3793
 
  # making bogus files that we don't know about and never remove.  For
3794
 
  # instance it was reported that on HP-UX the gcc test will end up
3795
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3796
 
  # in D'.
3797
 
  mkdir conftest.dir
3798
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3799
 
  # using a relative directory.
3800
 
  cp "$am_depcomp" conftest.dir
3801
 
  cd conftest.dir
3802
 
  # We will build objects and dependencies in a subdirectory because
3803
 
  # it helps to detect inapplicable dependency modes.  For instance
3804
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3805
 
  # side effect of compilation, but ICC will put the dependencies in
3806
 
  # the current directory while Tru64 will put them in the object
3807
 
  # directory.
3808
 
  mkdir sub
3809
 
 
3810
 
  am_cv_CC_dependencies_compiler_type=none
3811
 
  if test "$am_compiler_list" = ""; then
3812
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3813
 
  fi
3814
 
  am__universal=false
3815
 
  case " $depcc " in #(
3816
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3817
 
     esac
3818
 
 
3819
 
  for depmode in $am_compiler_list; do
3820
 
    # Setup a source with many dependencies, because some compilers
3821
 
    # like to wrap large dependency lists on column 80 (with \), and
3822
 
    # we should not choose a depcomp mode which is confused by this.
3823
 
    #
3824
 
    # We need to recreate these files for each test, as the compiler may
3825
 
    # overwrite some of them when testing with obscure command lines.
3826
 
    # This happens at least with the AIX C compiler.
3827
 
    : > sub/conftest.c
3828
 
    for i in 1 2 3 4 5 6; do
3829
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3830
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3831
 
      # Solaris 8's {/usr,}/bin/sh.
3832
 
      touch sub/conftst$i.h
3833
 
    done
3834
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3835
 
 
3836
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3837
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3838
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3839
 
    # versions had trouble with output in subdirs
3840
 
    am__obj=sub/conftest.${OBJEXT-o}
3841
 
    am__minus_obj="-o $am__obj"
3842
 
    case $depmode in
3843
 
    gcc)
3844
 
      # This depmode causes a compiler race in universal mode.
3845
 
      test "$am__universal" = false || continue
3846
 
      ;;
3847
 
    nosideeffect)
3848
 
      # after this tag, mechanisms are not by side-effect, so they'll
3849
 
      # only be used when explicitly requested
3850
 
      if test "x$enable_dependency_tracking" = xyes; then
3851
 
        continue
3852
 
      else
3853
 
        break
3854
 
      fi
3855
 
      ;;
3856
 
    msvisualcpp | msvcmsys)
3857
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3858
 
      # not run yet.  These depmodes are late enough in the game, and
3859
 
      # so weak that their functioning should not be impacted.
3860
 
      am__obj=conftest.${OBJEXT-o}
3861
 
      am__minus_obj=
3862
 
      ;;
3863
 
    none) break ;;
3864
 
    esac
3865
 
    if depmode=$depmode \
3866
 
       source=sub/conftest.c object=$am__obj \
3867
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3868
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3869
 
         >/dev/null 2>conftest.err &&
3870
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3871
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3872
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3873
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3874
 
      # icc doesn't choke on unknown options, it will just issue warnings
3875
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3876
 
      # that says an option was ignored or not supported.
3877
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3878
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3879
 
      # The diagnosis changed in icc 8.0:
3880
 
      #   icc: Command line remark: option '-MP' not supported
3881
 
      if (grep 'ignoring option' conftest.err ||
3882
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3883
 
        am_cv_CC_dependencies_compiler_type=$depmode
3884
 
        break
3885
 
      fi
3886
 
    fi
3887
 
  done
3888
 
 
3889
 
  cd ..
3890
 
  rm -rf conftest.dir
3891
 
else
3892
 
  am_cv_CC_dependencies_compiler_type=none
3893
 
fi
3894
 
 
3895
 
fi
3896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3897
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3898
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3899
 
 
3900
 
 if
3901
 
  test "x$enable_dependency_tracking" != xno \
3902
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3903
 
  am__fastdepCC_TRUE=
3904
 
  am__fastdepCC_FALSE='#'
3905
 
else
3906
 
  am__fastdepCC_TRUE='#'
3907
 
  am__fastdepCC_FALSE=
3908
 
fi
3909
 
 
3910
 
 
3911
 
ac_ext=c
3912
 
ac_cpp='$CPP $CPPFLAGS'
3913
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916
 
if test -n "$ac_tool_prefix"; then
3917
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3918
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920
 
$as_echo_n "checking for $ac_word... " >&6; }
3921
 
if ${ac_cv_prog_CC+:} false; then :
3922
 
  $as_echo_n "(cached) " >&6
3923
 
else
3924
 
  if test -n "$CC"; then
3925
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3926
 
else
3927
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928
 
for as_dir in $PATH
3929
 
do
3930
 
  IFS=$as_save_IFS
3931
 
  test -z "$as_dir" && as_dir=.
3932
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3933
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3934
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3935
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3936
 
    break 2
3937
 
  fi
3938
 
done
3939
 
  done
3940
 
IFS=$as_save_IFS
3941
 
 
3942
 
fi
3943
 
fi
3944
 
CC=$ac_cv_prog_CC
3945
 
if test -n "$CC"; then
3946
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3947
 
$as_echo "$CC" >&6; }
3948
 
else
3949
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950
 
$as_echo "no" >&6; }
3951
 
fi
3952
 
 
3953
 
 
3954
 
fi
3955
 
if test -z "$ac_cv_prog_CC"; then
3956
 
  ac_ct_CC=$CC
3957
 
  # Extract the first word of "gcc", so it can be a program name with args.
3958
 
set dummy gcc; ac_word=$2
3959
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960
 
$as_echo_n "checking for $ac_word... " >&6; }
3961
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3962
 
  $as_echo_n "(cached) " >&6
3963
 
else
3964
 
  if test -n "$ac_ct_CC"; then
3965
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3966
 
else
3967
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968
 
for as_dir in $PATH
3969
 
do
3970
 
  IFS=$as_save_IFS
3971
 
  test -z "$as_dir" && as_dir=.
3972
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3973
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3974
 
    ac_cv_prog_ac_ct_CC="gcc"
3975
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3976
 
    break 2
3977
 
  fi
3978
 
done
3979
 
  done
3980
 
IFS=$as_save_IFS
3981
 
 
3982
 
fi
3983
 
fi
3984
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3985
 
if test -n "$ac_ct_CC"; then
3986
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3987
 
$as_echo "$ac_ct_CC" >&6; }
3988
 
else
3989
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990
 
$as_echo "no" >&6; }
3991
 
fi
3992
 
 
3993
 
  if test "x$ac_ct_CC" = x; then
3994
 
    CC=""
3995
 
  else
3996
 
    case $cross_compiling:$ac_tool_warned in
3997
 
yes:)
3998
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000
 
ac_tool_warned=yes ;;
4001
 
esac
4002
 
    CC=$ac_ct_CC
4003
 
  fi
4004
 
else
4005
 
  CC="$ac_cv_prog_CC"
4006
 
fi
4007
 
 
4008
 
if test -z "$CC"; then
4009
 
          if test -n "$ac_tool_prefix"; then
4010
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4011
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4012
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013
 
$as_echo_n "checking for $ac_word... " >&6; }
4014
 
if ${ac_cv_prog_CC+:} false; then :
4015
 
  $as_echo_n "(cached) " >&6
4016
 
else
4017
 
  if test -n "$CC"; then
4018
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4019
 
else
4020
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021
 
for as_dir in $PATH
4022
 
do
4023
 
  IFS=$as_save_IFS
4024
 
  test -z "$as_dir" && as_dir=.
4025
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4026
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4027
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4028
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029
 
    break 2
4030
 
  fi
4031
 
done
4032
 
  done
4033
 
IFS=$as_save_IFS
4034
 
 
4035
 
fi
4036
 
fi
4037
 
CC=$ac_cv_prog_CC
4038
 
if test -n "$CC"; then
4039
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4040
 
$as_echo "$CC" >&6; }
4041
 
else
4042
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043
 
$as_echo "no" >&6; }
4044
 
fi
4045
 
 
4046
 
 
4047
 
  fi
4048
 
fi
4049
 
if test -z "$CC"; then
4050
 
  # Extract the first word of "cc", so it can be a program name with args.
4051
 
set dummy cc; ac_word=$2
4052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053
 
$as_echo_n "checking for $ac_word... " >&6; }
4054
 
if ${ac_cv_prog_CC+:} false; then :
4055
 
  $as_echo_n "(cached) " >&6
4056
 
else
4057
 
  if test -n "$CC"; then
4058
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4059
 
else
4060
 
  ac_prog_rejected=no
4061
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062
 
for as_dir in $PATH
4063
 
do
4064
 
  IFS=$as_save_IFS
4065
 
  test -z "$as_dir" && as_dir=.
4066
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4067
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4068
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4069
 
       ac_prog_rejected=yes
4070
 
       continue
4071
 
     fi
4072
 
    ac_cv_prog_CC="cc"
4073
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074
 
    break 2
4075
 
  fi
4076
 
done
4077
 
  done
4078
 
IFS=$as_save_IFS
4079
 
 
4080
 
if test $ac_prog_rejected = yes; then
4081
 
  # We found a bogon in the path, so make sure we never use it.
4082
 
  set dummy $ac_cv_prog_CC
4083
 
  shift
4084
 
  if test $# != 0; then
4085
 
    # We chose a different compiler from the bogus one.
4086
 
    # However, it has the same basename, so the bogon will be chosen
4087
 
    # first if we set CC to just the basename; use the full file name.
4088
 
    shift
4089
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4090
 
  fi
4091
 
fi
4092
 
fi
4093
 
fi
4094
 
CC=$ac_cv_prog_CC
4095
 
if test -n "$CC"; then
4096
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4097
 
$as_echo "$CC" >&6; }
4098
 
else
4099
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100
 
$as_echo "no" >&6; }
4101
 
fi
4102
 
 
4103
 
 
4104
 
fi
4105
 
if test -z "$CC"; then
4106
 
  if test -n "$ac_tool_prefix"; then
4107
 
  for ac_prog in cl.exe
4108
 
  do
4109
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4110
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4111
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112
 
$as_echo_n "checking for $ac_word... " >&6; }
4113
 
if ${ac_cv_prog_CC+:} false; then :
4114
 
  $as_echo_n "(cached) " >&6
4115
 
else
4116
 
  if test -n "$CC"; then
4117
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4118
 
else
4119
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120
 
for as_dir in $PATH
4121
 
do
4122
 
  IFS=$as_save_IFS
4123
 
  test -z "$as_dir" && as_dir=.
4124
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4125
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4127
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128
 
    break 2
4129
 
  fi
4130
 
done
4131
 
  done
4132
 
IFS=$as_save_IFS
4133
 
 
4134
 
fi
4135
 
fi
4136
 
CC=$ac_cv_prog_CC
4137
 
if test -n "$CC"; then
4138
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4139
 
$as_echo "$CC" >&6; }
4140
 
else
4141
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142
 
$as_echo "no" >&6; }
4143
 
fi
4144
 
 
4145
 
 
4146
 
    test -n "$CC" && break
4147
 
  done
4148
 
fi
4149
 
if test -z "$CC"; then
4150
 
  ac_ct_CC=$CC
4151
 
  for ac_prog in cl.exe
4152
 
do
4153
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4154
 
set dummy $ac_prog; ac_word=$2
4155
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156
 
$as_echo_n "checking for $ac_word... " >&6; }
4157
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4158
 
  $as_echo_n "(cached) " >&6
4159
 
else
4160
 
  if test -n "$ac_ct_CC"; then
4161
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4162
 
else
4163
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164
 
for as_dir in $PATH
4165
 
do
4166
 
  IFS=$as_save_IFS
4167
 
  test -z "$as_dir" && as_dir=.
4168
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4169
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4170
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4171
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172
 
    break 2
4173
 
  fi
4174
 
done
4175
 
  done
4176
 
IFS=$as_save_IFS
4177
 
 
4178
 
fi
4179
 
fi
4180
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4181
 
if test -n "$ac_ct_CC"; then
4182
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4183
 
$as_echo "$ac_ct_CC" >&6; }
4184
 
else
4185
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186
 
$as_echo "no" >&6; }
4187
 
fi
4188
 
 
4189
 
 
4190
 
  test -n "$ac_ct_CC" && break
4191
 
done
4192
 
 
4193
 
  if test "x$ac_ct_CC" = x; then
4194
 
    CC=""
4195
 
  else
4196
 
    case $cross_compiling:$ac_tool_warned in
4197
 
yes:)
4198
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4199
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4200
 
ac_tool_warned=yes ;;
4201
 
esac
4202
 
    CC=$ac_ct_CC
4203
 
  fi
4204
 
fi
4205
 
 
4206
 
fi
4207
 
 
4208
 
 
4209
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4210
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4211
 
as_fn_error $? "no acceptable C compiler found in \$PATH
4212
 
See \`config.log' for more details" "$LINENO" 5; }
4213
 
 
4214
 
# Provide some information about the compiler.
4215
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4216
 
set X $ac_compile
4217
 
ac_compiler=$2
4218
 
for ac_option in --version -v -V -qversion; do
4219
 
  { { ac_try="$ac_compiler $ac_option >&5"
4220
 
case "(($ac_try" in
4221
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222
 
  *) ac_try_echo=$ac_try;;
4223
 
esac
4224
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4225
 
$as_echo "$ac_try_echo"; } >&5
4226
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4227
 
  ac_status=$?
4228
 
  if test -s conftest.err; then
4229
 
    sed '10a\
4230
 
... rest of stderr output deleted ...
4231
 
         10q' conftest.err >conftest.er1
4232
 
    cat conftest.er1 >&5
4233
 
  fi
4234
 
  rm -f conftest.er1 conftest.err
4235
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236
 
  test $ac_status = 0; }
4237
 
done
4238
 
 
4239
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4240
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4241
 
if ${ac_cv_c_compiler_gnu+:} false; then :
4242
 
  $as_echo_n "(cached) " >&6
4243
 
else
4244
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245
 
/* end confdefs.h.  */
4246
 
 
4247
 
int
4248
 
main ()
4249
 
{
4250
 
#ifndef __GNUC__
4251
 
       choke me
4252
 
#endif
4253
 
 
4254
 
  ;
4255
 
  return 0;
4256
 
}
4257
 
_ACEOF
4258
 
if ac_fn_c_try_compile "$LINENO"; then :
4259
 
  ac_compiler_gnu=yes
4260
 
else
4261
 
  ac_compiler_gnu=no
4262
 
fi
4263
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4265
 
 
4266
 
fi
4267
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4268
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4269
 
if test $ac_compiler_gnu = yes; then
4270
 
  GCC=yes
4271
 
else
4272
 
  GCC=
4273
 
fi
4274
 
ac_test_CFLAGS=${CFLAGS+set}
4275
 
ac_save_CFLAGS=$CFLAGS
4276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4277
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4278
 
if ${ac_cv_prog_cc_g+:} false; then :
4279
 
  $as_echo_n "(cached) " >&6
4280
 
else
4281
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4282
 
   ac_c_werror_flag=yes
4283
 
   ac_cv_prog_cc_g=no
4284
 
   CFLAGS="-g"
4285
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286
 
/* end confdefs.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_prog_cc_g=yes
4298
 
else
4299
 
  CFLAGS=""
4300
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301
 
/* end confdefs.h.  */
4302
 
 
4303
 
int
4304
 
main ()
4305
 
{
4306
 
 
4307
 
  ;
4308
 
  return 0;
4309
 
}
4310
 
_ACEOF
4311
 
if ac_fn_c_try_compile "$LINENO"; then :
4312
 
 
4313
 
else
4314
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4315
 
         CFLAGS="-g"
4316
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317
 
/* end confdefs.h.  */
4318
 
 
4319
 
int
4320
 
main ()
4321
 
{
4322
 
 
4323
 
  ;
4324
 
  return 0;
4325
 
}
4326
 
_ACEOF
4327
 
if ac_fn_c_try_compile "$LINENO"; then :
4328
 
  ac_cv_prog_cc_g=yes
4329
 
fi
4330
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331
 
fi
4332
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333
 
fi
4334
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4336
 
fi
4337
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4338
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4339
 
if test "$ac_test_CFLAGS" = set; then
4340
 
  CFLAGS=$ac_save_CFLAGS
4341
 
elif test $ac_cv_prog_cc_g = yes; then
4342
 
  if test "$GCC" = yes; then
4343
 
    CFLAGS="-g -O2"
4344
 
  else
4345
 
    CFLAGS="-g"
4346
 
  fi
4347
 
else
4348
 
  if test "$GCC" = yes; then
4349
 
    CFLAGS="-O2"
4350
 
  else
4351
 
    CFLAGS=
4352
 
  fi
4353
 
fi
4354
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4355
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4356
 
if ${ac_cv_prog_cc_c89+:} false; then :
4357
 
  $as_echo_n "(cached) " >&6
4358
 
else
4359
 
  ac_cv_prog_cc_c89=no
4360
 
ac_save_CC=$CC
4361
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362
 
/* end confdefs.h.  */
4363
 
#include <stdarg.h>
4364
 
#include <stdio.h>
4365
 
#include <sys/types.h>
4366
 
#include <sys/stat.h>
4367
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4368
 
struct buf { int x; };
4369
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4370
 
static char *e (p, i)
4371
 
     char **p;
4372
 
     int i;
4373
 
{
4374
 
  return p[i];
4375
 
}
4376
 
static char *f (char * (*g) (char **, int), char **p, ...)
4377
 
{
4378
 
  char *s;
4379
 
  va_list v;
4380
 
  va_start (v,p);
4381
 
  s = g (p, va_arg (v,int));
4382
 
  va_end (v);
4383
 
  return s;
4384
 
}
4385
 
 
4386
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4387
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4388
 
   These don't provoke an error unfortunately, instead are silently treated
4389
 
   as 'x'.  The following induces an error, until -std is added to get
4390
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4391
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4392
 
   that's true only with -std.  */
4393
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4394
 
 
4395
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4396
 
   inside strings and character constants.  */
4397
 
#define FOO(x) 'x'
4398
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4399
 
 
4400
 
int test (int i, double x);
4401
 
struct s1 {int (*f) (int a);};
4402
 
struct s2 {int (*f) (double a);};
4403
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4404
 
int argc;
4405
 
char **argv;
4406
 
int
4407
 
main ()
4408
 
{
4409
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4410
 
  ;
4411
 
  return 0;
4412
 
}
4413
 
_ACEOF
4414
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4415
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4416
 
do
4417
 
  CC="$ac_save_CC $ac_arg"
4418
 
  if ac_fn_c_try_compile "$LINENO"; then :
4419
 
  ac_cv_prog_cc_c89=$ac_arg
4420
 
fi
4421
 
rm -f core conftest.err conftest.$ac_objext
4422
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4423
 
done
4424
 
rm -f conftest.$ac_ext
4425
 
CC=$ac_save_CC
4426
 
 
4427
 
fi
4428
 
# AC_CACHE_VAL
4429
 
case "x$ac_cv_prog_cc_c89" in
4430
 
  x)
4431
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4432
 
$as_echo "none needed" >&6; } ;;
4433
 
  xno)
4434
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4435
 
$as_echo "unsupported" >&6; } ;;
4436
 
  *)
4437
 
    CC="$CC $ac_cv_prog_cc_c89"
4438
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4439
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4440
 
esac
4441
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4442
 
 
4443
 
fi
4444
 
 
4445
 
ac_ext=c
4446
 
ac_cpp='$CPP $CPPFLAGS'
4447
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4448
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4449
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4450
 
 
4451
 
depcc="$CC"   am_compiler_list=
4452
 
 
4453
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4454
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4455
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4456
 
  $as_echo_n "(cached) " >&6
4457
 
else
4458
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4459
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4460
 
  # making bogus files that we don't know about and never remove.  For
4461
 
  # instance it was reported that on HP-UX the gcc test will end up
4462
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4463
 
  # in D'.
4464
 
  mkdir conftest.dir
4465
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4466
 
  # using a relative directory.
4467
 
  cp "$am_depcomp" conftest.dir
4468
 
  cd conftest.dir
4469
 
  # We will build objects and dependencies in a subdirectory because
4470
 
  # it helps to detect inapplicable dependency modes.  For instance
4471
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4472
 
  # side effect of compilation, but ICC will put the dependencies in
4473
 
  # the current directory while Tru64 will put them in the object
4474
 
  # directory.
4475
 
  mkdir sub
4476
 
 
4477
 
  am_cv_CC_dependencies_compiler_type=none
4478
 
  if test "$am_compiler_list" = ""; then
4479
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4480
 
  fi
4481
 
  am__universal=false
4482
 
  case " $depcc " in #(
4483
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4484
 
     esac
4485
 
 
4486
 
  for depmode in $am_compiler_list; do
4487
 
    # Setup a source with many dependencies, because some compilers
4488
 
    # like to wrap large dependency lists on column 80 (with \), and
4489
 
    # we should not choose a depcomp mode which is confused by this.
4490
 
    #
4491
 
    # We need to recreate these files for each test, as the compiler may
4492
 
    # overwrite some of them when testing with obscure command lines.
4493
 
    # This happens at least with the AIX C compiler.
4494
 
    : > sub/conftest.c
4495
 
    for i in 1 2 3 4 5 6; do
4496
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4497
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4498
 
      # Solaris 8's {/usr,}/bin/sh.
4499
 
      touch sub/conftst$i.h
4500
 
    done
4501
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4502
 
 
4503
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4504
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4505
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4506
 
    # versions had trouble with output in subdirs
4507
 
    am__obj=sub/conftest.${OBJEXT-o}
4508
 
    am__minus_obj="-o $am__obj"
4509
 
    case $depmode in
4510
 
    gcc)
4511
 
      # This depmode causes a compiler race in universal mode.
4512
 
      test "$am__universal" = false || continue
4513
 
      ;;
4514
 
    nosideeffect)
4515
 
      # after this tag, mechanisms are not by side-effect, so they'll
4516
 
      # only be used when explicitly requested
4517
 
      if test "x$enable_dependency_tracking" = xyes; then
4518
 
        continue
4519
 
      else
4520
 
        break
4521
 
      fi
4522
 
      ;;
4523
 
    msvisualcpp | msvcmsys)
4524
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4525
 
      # not run yet.  These depmodes are late enough in the game, and
4526
 
      # so weak that their functioning should not be impacted.
4527
 
      am__obj=conftest.${OBJEXT-o}
4528
 
      am__minus_obj=
4529
 
      ;;
4530
 
    none) break ;;
4531
 
    esac
4532
 
    if depmode=$depmode \
4533
 
       source=sub/conftest.c object=$am__obj \
4534
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4535
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4536
 
         >/dev/null 2>conftest.err &&
4537
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4538
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4539
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4540
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4541
 
      # icc doesn't choke on unknown options, it will just issue warnings
4542
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4543
 
      # that says an option was ignored or not supported.
4544
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4545
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4546
 
      # The diagnosis changed in icc 8.0:
4547
 
      #   icc: Command line remark: option '-MP' not supported
4548
 
      if (grep 'ignoring option' conftest.err ||
4549
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4550
 
        am_cv_CC_dependencies_compiler_type=$depmode
4551
 
        break
4552
 
      fi
4553
 
    fi
4554
 
  done
4555
 
 
4556
 
  cd ..
4557
 
  rm -rf conftest.dir
4558
 
else
4559
 
  am_cv_CC_dependencies_compiler_type=none
4560
 
fi
4561
 
 
4562
 
fi
4563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4564
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4565
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4566
 
 
4567
 
 if
4568
 
  test "x$enable_dependency_tracking" != xno \
4569
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4570
 
  am__fastdepCC_TRUE=
4571
 
  am__fastdepCC_FALSE='#'
4572
 
else
4573
 
  am__fastdepCC_TRUE='#'
4574
 
  am__fastdepCC_FALSE=
4575
 
fi
4576
 
 
4577
 
 
4578
 
 
4579
 
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4580
 
 
4581
 
 
4582
 
ac_ext=c
4583
 
ac_cpp='$CPP $CPPFLAGS'
4584
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4587
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4588
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4589
 
# On Suns, sometimes $CPP names a directory.
4590
 
if test -n "$CPP" && test -d "$CPP"; then
4591
 
  CPP=
4592
 
fi
4593
 
if test -z "$CPP"; then
4594
 
  if ${ac_cv_prog_CPP+:} false; then :
4595
 
  $as_echo_n "(cached) " >&6
4596
 
else
4597
 
      # Double quotes because CPP needs to be expanded
4598
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4599
 
    do
4600
 
      ac_preproc_ok=false
4601
 
for ac_c_preproc_warn_flag in '' yes
4602
 
do
4603
 
  # Use a header file that comes with gcc, so configuring glibc
4604
 
  # with a fresh cross-compiler works.
4605
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4606
 
  # <limits.h> exists even on freestanding compilers.
4607
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4608
 
  # not just through cpp. "Syntax error" is here to catch this case.
4609
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610
 
/* end confdefs.h.  */
4611
 
#ifdef __STDC__
4612
 
# include <limits.h>
4613
 
#else
4614
 
# include <assert.h>
4615
 
#endif
4616
 
                     Syntax error
4617
 
_ACEOF
4618
 
if ac_fn_c_try_cpp "$LINENO"; then :
4619
 
 
4620
 
else
4621
 
  # Broken: fails on valid input.
4622
 
continue
4623
 
fi
4624
 
rm -f conftest.err conftest.i conftest.$ac_ext
4625
 
 
4626
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4627
 
  # can be detected and how.
4628
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629
 
/* end confdefs.h.  */
4630
 
#include <ac_nonexistent.h>
4631
 
_ACEOF
4632
 
if ac_fn_c_try_cpp "$LINENO"; then :
4633
 
  # Broken: success on invalid input.
4634
 
continue
4635
 
else
4636
 
  # Passes both tests.
4637
 
ac_preproc_ok=:
4638
 
break
4639
 
fi
4640
 
rm -f conftest.err conftest.i conftest.$ac_ext
4641
 
 
4642
 
done
4643
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4644
 
rm -f conftest.i conftest.err conftest.$ac_ext
4645
 
if $ac_preproc_ok; then :
4646
 
  break
4647
 
fi
4648
 
 
4649
 
    done
4650
 
    ac_cv_prog_CPP=$CPP
4651
 
 
4652
 
fi
4653
 
  CPP=$ac_cv_prog_CPP
4654
 
else
4655
 
  ac_cv_prog_CPP=$CPP
4656
 
fi
4657
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4658
 
$as_echo "$CPP" >&6; }
4659
 
ac_preproc_ok=false
4660
 
for ac_c_preproc_warn_flag in '' yes
4661
 
do
4662
 
  # Use a header file that comes with gcc, so configuring glibc
4663
 
  # with a fresh cross-compiler works.
4664
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665
 
  # <limits.h> exists even on freestanding compilers.
4666
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4667
 
  # not just through cpp. "Syntax error" is here to catch this case.
4668
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669
 
/* end confdefs.h.  */
4670
 
#ifdef __STDC__
4671
 
# include <limits.h>
4672
 
#else
4673
 
# include <assert.h>
4674
 
#endif
4675
 
                     Syntax error
4676
 
_ACEOF
4677
 
if ac_fn_c_try_cpp "$LINENO"; then :
4678
 
 
4679
 
else
4680
 
  # Broken: fails on valid input.
4681
 
continue
4682
 
fi
4683
 
rm -f conftest.err conftest.i conftest.$ac_ext
4684
 
 
4685
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4686
 
  # can be detected and how.
4687
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688
 
/* end confdefs.h.  */
4689
 
#include <ac_nonexistent.h>
4690
 
_ACEOF
4691
 
if ac_fn_c_try_cpp "$LINENO"; then :
4692
 
  # Broken: success on invalid input.
4693
 
continue
4694
 
else
4695
 
  # Passes both tests.
4696
 
ac_preproc_ok=:
4697
 
break
4698
 
fi
4699
 
rm -f conftest.err conftest.i conftest.$ac_ext
4700
 
 
4701
 
done
4702
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4703
 
rm -f conftest.i conftest.err conftest.$ac_ext
4704
 
if $ac_preproc_ok; then :
4705
 
 
4706
 
else
4707
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4708
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4709
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4710
 
See \`config.log' for more details" "$LINENO" 5; }
4711
 
fi
4712
 
 
4713
 
ac_ext=c
4714
 
ac_cpp='$CPP $CPPFLAGS'
4715
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4718
 
 
4719
 
 
4720
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4721
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4722
 
if ${ac_cv_path_GREP+:} false; then :
4723
 
  $as_echo_n "(cached) " >&6
4724
 
else
4725
 
  if test -z "$GREP"; then
4726
 
  ac_path_GREP_found=false
4727
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4728
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4730
 
do
4731
 
  IFS=$as_save_IFS
4732
 
  test -z "$as_dir" && as_dir=.
4733
 
    for ac_prog in grep ggrep; do
4734
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4735
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4736
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4737
 
# Check for GNU ac_path_GREP and select it if it is found.
4738
 
  # Check for GNU $ac_path_GREP
4739
 
case `"$ac_path_GREP" --version 2>&1` in
4740
 
*GNU*)
4741
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4742
 
*)
4743
 
  ac_count=0
4744
 
  $as_echo_n 0123456789 >"conftest.in"
4745
 
  while :
4746
 
  do
4747
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4748
 
    mv "conftest.tmp" "conftest.in"
4749
 
    cp "conftest.in" "conftest.nl"
4750
 
    $as_echo 'GREP' >> "conftest.nl"
4751
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4752
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4753
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4754
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4755
 
      # Best one so far, save it but keep looking for a better one
4756
 
      ac_cv_path_GREP="$ac_path_GREP"
4757
 
      ac_path_GREP_max=$ac_count
4758
 
    fi
4759
 
    # 10*(2^10) chars as input seems more than enough
4760
 
    test $ac_count -gt 10 && break
4761
 
  done
4762
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4763
 
esac
4764
 
 
4765
 
      $ac_path_GREP_found && break 3
4766
 
    done
4767
 
  done
4768
 
  done
4769
 
IFS=$as_save_IFS
4770
 
  if test -z "$ac_cv_path_GREP"; then
4771
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4772
 
  fi
4773
 
else
4774
 
  ac_cv_path_GREP=$GREP
4775
 
fi
4776
 
 
4777
 
fi
4778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4779
 
$as_echo "$ac_cv_path_GREP" >&6; }
4780
 
 GREP="$ac_cv_path_GREP"
4781
 
 
4782
 
 
4783
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4784
 
$as_echo_n "checking for egrep... " >&6; }
4785
 
if ${ac_cv_path_EGREP+:} false; then :
4786
 
  $as_echo_n "(cached) " >&6
4787
 
else
4788
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4789
 
   then ac_cv_path_EGREP="$GREP -E"
4790
 
   else
4791
 
     if test -z "$EGREP"; then
4792
 
  ac_path_EGREP_found=false
4793
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4794
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4796
 
do
4797
 
  IFS=$as_save_IFS
4798
 
  test -z "$as_dir" && as_dir=.
4799
 
    for ac_prog in egrep; do
4800
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4801
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4802
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4803
 
# Check for GNU ac_path_EGREP and select it if it is found.
4804
 
  # Check for GNU $ac_path_EGREP
4805
 
case `"$ac_path_EGREP" --version 2>&1` in
4806
 
*GNU*)
4807
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4808
 
*)
4809
 
  ac_count=0
4810
 
  $as_echo_n 0123456789 >"conftest.in"
4811
 
  while :
4812
 
  do
4813
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4814
 
    mv "conftest.tmp" "conftest.in"
4815
 
    cp "conftest.in" "conftest.nl"
4816
 
    $as_echo 'EGREP' >> "conftest.nl"
4817
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4818
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4819
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4820
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4821
 
      # Best one so far, save it but keep looking for a better one
4822
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4823
 
      ac_path_EGREP_max=$ac_count
4824
 
    fi
4825
 
    # 10*(2^10) chars as input seems more than enough
4826
 
    test $ac_count -gt 10 && break
4827
 
  done
4828
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4829
 
esac
4830
 
 
4831
 
      $ac_path_EGREP_found && break 3
4832
 
    done
4833
 
  done
4834
 
  done
4835
 
IFS=$as_save_IFS
4836
 
  if test -z "$ac_cv_path_EGREP"; then
4837
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4838
 
  fi
4839
 
else
4840
 
  ac_cv_path_EGREP=$EGREP
4841
 
fi
4842
 
 
4843
 
   fi
4844
 
fi
4845
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4846
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4847
 
 EGREP="$ac_cv_path_EGREP"
4848
 
 
4849
 
 
4850
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4851
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4852
 
if ${ac_cv_header_stdc+:} false; then :
4853
 
  $as_echo_n "(cached) " >&6
4854
 
else
4855
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856
 
/* end confdefs.h.  */
4857
 
#include <stdlib.h>
4858
 
#include <stdarg.h>
4859
 
#include <string.h>
4860
 
#include <float.h>
4861
 
 
4862
 
int
4863
 
main ()
4864
 
{
4865
 
 
4866
 
  ;
4867
 
  return 0;
4868
 
}
4869
 
_ACEOF
4870
 
if ac_fn_c_try_compile "$LINENO"; then :
4871
 
  ac_cv_header_stdc=yes
4872
 
else
4873
 
  ac_cv_header_stdc=no
4874
 
fi
4875
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876
 
 
4877
 
if test $ac_cv_header_stdc = yes; then
4878
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4879
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880
 
/* end confdefs.h.  */
4881
 
#include <string.h>
4882
 
 
4883
 
_ACEOF
4884
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4885
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4886
 
 
4887
 
else
4888
 
  ac_cv_header_stdc=no
4889
 
fi
4890
 
rm -f conftest*
4891
 
 
4892
 
fi
4893
 
 
4894
 
if test $ac_cv_header_stdc = yes; then
4895
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4896
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897
 
/* end confdefs.h.  */
4898
 
#include <stdlib.h>
4899
 
 
4900
 
_ACEOF
4901
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4902
 
  $EGREP "free" >/dev/null 2>&1; then :
4903
 
 
4904
 
else
4905
 
  ac_cv_header_stdc=no
4906
 
fi
4907
 
rm -f conftest*
4908
 
 
4909
 
fi
4910
 
 
4911
 
if test $ac_cv_header_stdc = yes; then
4912
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4913
 
  if test "$cross_compiling" = yes; then :
4914
 
  :
4915
 
else
4916
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917
 
/* end confdefs.h.  */
4918
 
#include <ctype.h>
4919
 
#include <stdlib.h>
4920
 
#if ((' ' & 0x0FF) == 0x020)
4921
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4922
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4923
 
#else
4924
 
# define ISLOWER(c) \
4925
 
                   (('a' <= (c) && (c) <= 'i') \
4926
 
                     || ('j' <= (c) && (c) <= 'r') \
4927
 
                     || ('s' <= (c) && (c) <= 'z'))
4928
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4929
 
#endif
4930
 
 
4931
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4932
 
int
4933
 
main ()
4934
 
{
4935
 
  int i;
4936
 
  for (i = 0; i < 256; i++)
4937
 
    if (XOR (islower (i), ISLOWER (i))
4938
 
        || toupper (i) != TOUPPER (i))
4939
 
      return 2;
4940
 
  return 0;
4941
 
}
4942
 
_ACEOF
4943
 
if ac_fn_c_try_run "$LINENO"; then :
4944
 
 
4945
 
else
4946
 
  ac_cv_header_stdc=no
4947
 
fi
4948
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4949
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4950
 
fi
4951
 
 
4952
 
fi
4953
 
fi
4954
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4955
 
$as_echo "$ac_cv_header_stdc" >&6; }
4956
 
if test $ac_cv_header_stdc = yes; then
4957
 
 
4958
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4959
 
 
4960
 
fi
4961
 
 
4962
 
# Extract the first word of "valac", so it can be a program name with args.
4963
 
set dummy valac; ac_word=$2
4964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965
 
$as_echo_n "checking for $ac_word... " >&6; }
4966
 
if ${ac_cv_path_VALAC+:} false; then :
4967
 
  $as_echo_n "(cached) " >&6
4968
 
else
4969
 
  case $VALAC in
4970
 
  [\\/]* | ?:[\\/]*)
4971
 
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4972
 
  ;;
4973
 
  *)
4974
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975
 
for as_dir in $PATH
4976
 
do
4977
 
  IFS=$as_save_IFS
4978
 
  test -z "$as_dir" && as_dir=.
4979
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4980
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981
 
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4982
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983
 
    break 2
4984
 
  fi
4985
 
done
4986
 
  done
4987
 
IFS=$as_save_IFS
4988
 
 
4989
 
  ;;
4990
 
esac
4991
 
fi
4992
 
VALAC=$ac_cv_path_VALAC
4993
 
if test -n "$VALAC"; then
4994
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
4995
 
$as_echo "$VALAC" >&6; }
4996
 
else
4997
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998
 
$as_echo "no" >&6; }
4999
 
fi
5000
 
 
5001
 
 
5002
 
 if test -z "$VALAC"; then :
5003
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
5004
 
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
5005
 
else
5006
 
  if test -n "0.13.2"; then :
5007
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.13.2" >&5
5008
 
$as_echo_n "checking $VALAC is at least version 0.13.2... " >&6; }
5009
 
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
5010
 
       as_arg_v1=0.13.2
5011
 
as_arg_v2="$am__vala_version"
5012
 
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
5013
 
case $? in #(
5014
 
  1) :
5015
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5016
 
$as_echo "yes" >&6; } ;; #(
5017
 
  0) :
5018
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5019
 
$as_echo "yes" >&6; } ;; #(
5020
 
  2) :
5021
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022
 
$as_echo "no" >&6; }
5023
 
          as_fn_error $? "Vala 0.13.2 not found." "$LINENO" 5 ;; #(
5024
 
  *) :
5025
 
     ;;
5026
 
esac
5027
 
fi
5028
 
fi
5029
 
 
5030
 
 
5031
 
# Initialize libtool
5032
 
 
5033
 
case `pwd` in
5034
 
  *\ * | *\     *)
5035
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5036
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5037
 
esac
5038
 
 
5039
 
 
5040
 
 
5041
 
macro_version='2.4'
5042
 
macro_revision='1.3293'
5043
 
 
5044
 
 
5045
 
 
5046
 
 
5047
 
 
5048
 
 
5049
 
 
5050
 
 
5051
 
 
5052
 
 
5053
 
 
5054
 
 
5055
 
 
5056
 
ltmain="$ac_aux_dir/ltmain.sh"
5057
 
 
5058
 
# Make sure we can run config.sub.
5059
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5060
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5061
 
 
5062
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5063
 
$as_echo_n "checking build system type... " >&6; }
5064
 
if ${ac_cv_build+:} false; then :
5065
 
  $as_echo_n "(cached) " >&6
5066
 
else
5067
 
  ac_build_alias=$build_alias
5068
 
test "x$ac_build_alias" = x &&
5069
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5070
 
test "x$ac_build_alias" = x &&
5071
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5072
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5073
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5074
 
 
5075
 
fi
5076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5077
 
$as_echo "$ac_cv_build" >&6; }
5078
 
case $ac_cv_build in
5079
 
*-*-*) ;;
5080
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5081
 
esac
5082
 
build=$ac_cv_build
5083
 
ac_save_IFS=$IFS; IFS='-'
5084
 
set x $ac_cv_build
5085
 
shift
5086
 
build_cpu=$1
5087
 
build_vendor=$2
5088
 
shift; shift
5089
 
# Remember, the first character of IFS is used to create $*,
5090
 
# except with old shells:
5091
 
build_os=$*
5092
 
IFS=$ac_save_IFS
5093
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5094
 
 
5095
 
 
5096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5097
 
$as_echo_n "checking host system type... " >&6; }
5098
 
if ${ac_cv_host+:} false; then :
5099
 
  $as_echo_n "(cached) " >&6
5100
 
else
5101
 
  if test "x$host_alias" = x; then
5102
 
  ac_cv_host=$ac_cv_build
5103
 
else
5104
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5105
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5106
 
fi
5107
 
 
5108
 
fi
5109
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5110
 
$as_echo "$ac_cv_host" >&6; }
5111
 
case $ac_cv_host in
5112
 
*-*-*) ;;
5113
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5114
 
esac
5115
 
host=$ac_cv_host
5116
 
ac_save_IFS=$IFS; IFS='-'
5117
 
set x $ac_cv_host
5118
 
shift
5119
 
host_cpu=$1
5120
 
host_vendor=$2
5121
 
shift; shift
5122
 
# Remember, the first character of IFS is used to create $*,
5123
 
# except with old shells:
5124
 
host_os=$*
5125
 
IFS=$ac_save_IFS
5126
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5127
 
 
5128
 
 
5129
 
# Backslashify metacharacters that are still active within
5130
 
# double-quoted strings.
5131
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5132
 
 
5133
 
# Same as above, but do not quote variable references.
5134
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5135
 
 
5136
 
# Sed substitution to delay expansion of an escaped shell variable in a
5137
 
# double_quote_subst'ed string.
5138
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5139
 
 
5140
 
# Sed substitution to delay expansion of an escaped single quote.
5141
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5142
 
 
5143
 
# Sed substitution to avoid accidental globbing in evaled expressions
5144
 
no_glob_subst='s/\*/\\\*/g'
5145
 
 
5146
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5147
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5148
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5149
 
 
5150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5151
 
$as_echo_n "checking how to print strings... " >&6; }
5152
 
# Test print first, because it will be a builtin if present.
5153
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5154
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5155
 
  ECHO='print -r --'
5156
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5157
 
  ECHO='printf %s\n'
5158
 
else
5159
 
  # Use this function as a fallback that always works.
5160
 
  func_fallback_echo ()
5161
 
  {
5162
 
    eval 'cat <<_LTECHO_EOF
5163
 
$1
5164
 
_LTECHO_EOF'
5165
 
  }
5166
 
  ECHO='func_fallback_echo'
5167
 
fi
5168
 
 
5169
 
# func_echo_all arg...
5170
 
# Invoke $ECHO with all args, space-separated.
5171
 
func_echo_all ()
5172
 
{
5173
 
    $ECHO ""
5174
 
}
5175
 
 
5176
 
case "$ECHO" in
5177
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5178
 
$as_echo "printf" >&6; } ;;
5179
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5180
 
$as_echo "print -r" >&6; } ;;
5181
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5182
 
$as_echo "cat" >&6; } ;;
5183
 
esac
5184
 
 
5185
 
 
5186
 
 
5187
 
 
5188
 
 
5189
 
 
5190
 
 
5191
 
 
5192
 
 
5193
 
 
5194
 
 
5195
 
 
5196
 
 
5197
 
 
5198
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5199
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5200
 
if ${ac_cv_path_SED+:} false; then :
5201
 
  $as_echo_n "(cached) " >&6
5202
 
else
5203
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5204
 
     for ac_i in 1 2 3 4 5 6 7; do
5205
 
       ac_script="$ac_script$as_nl$ac_script"
5206
 
     done
5207
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5208
 
     { ac_script=; unset ac_script;}
5209
 
     if test -z "$SED"; then
5210
 
  ac_path_SED_found=false
5211
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5212
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213
 
for as_dir in $PATH
5214
 
do
5215
 
  IFS=$as_save_IFS
5216
 
  test -z "$as_dir" && as_dir=.
5217
 
    for ac_prog in sed gsed; do
5218
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5219
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5220
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5221
 
# Check for GNU ac_path_SED and select it if it is found.
5222
 
  # Check for GNU $ac_path_SED
5223
 
case `"$ac_path_SED" --version 2>&1` in
5224
 
*GNU*)
5225
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5226
 
*)
5227
 
  ac_count=0
5228
 
  $as_echo_n 0123456789 >"conftest.in"
5229
 
  while :
5230
 
  do
5231
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5232
 
    mv "conftest.tmp" "conftest.in"
5233
 
    cp "conftest.in" "conftest.nl"
5234
 
    $as_echo '' >> "conftest.nl"
5235
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5236
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5237
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5238
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5239
 
      # Best one so far, save it but keep looking for a better one
5240
 
      ac_cv_path_SED="$ac_path_SED"
5241
 
      ac_path_SED_max=$ac_count
5242
 
    fi
5243
 
    # 10*(2^10) chars as input seems more than enough
5244
 
    test $ac_count -gt 10 && break
5245
 
  done
5246
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5247
 
esac
5248
 
 
5249
 
      $ac_path_SED_found && break 3
5250
 
    done
5251
 
  done
5252
 
  done
5253
 
IFS=$as_save_IFS
5254
 
  if test -z "$ac_cv_path_SED"; then
5255
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5256
 
  fi
5257
 
else
5258
 
  ac_cv_path_SED=$SED
5259
 
fi
5260
 
 
5261
 
fi
5262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5263
 
$as_echo "$ac_cv_path_SED" >&6; }
5264
 
 SED="$ac_cv_path_SED"
5265
 
  rm -f conftest.sed
5266
 
 
5267
 
test -z "$SED" && SED=sed
5268
 
Xsed="$SED -e 1s/^X//"
5269
 
 
5270
 
 
5271
 
 
5272
 
 
5273
 
 
5274
 
 
5275
 
 
5276
 
 
5277
 
 
5278
 
 
5279
 
 
5280
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5281
 
$as_echo_n "checking for fgrep... " >&6; }
5282
 
if ${ac_cv_path_FGREP+:} false; then :
5283
 
  $as_echo_n "(cached) " >&6
5284
 
else
5285
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5286
 
   then ac_cv_path_FGREP="$GREP -F"
5287
 
   else
5288
 
     if test -z "$FGREP"; then
5289
 
  ac_path_FGREP_found=false
5290
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5291
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5293
 
do
5294
 
  IFS=$as_save_IFS
5295
 
  test -z "$as_dir" && as_dir=.
5296
 
    for ac_prog in fgrep; do
5297
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5298
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5299
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5300
 
# Check for GNU ac_path_FGREP and select it if it is found.
5301
 
  # Check for GNU $ac_path_FGREP
5302
 
case `"$ac_path_FGREP" --version 2>&1` in
5303
 
*GNU*)
5304
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5305
 
*)
5306
 
  ac_count=0
5307
 
  $as_echo_n 0123456789 >"conftest.in"
5308
 
  while :
5309
 
  do
5310
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5311
 
    mv "conftest.tmp" "conftest.in"
5312
 
    cp "conftest.in" "conftest.nl"
5313
 
    $as_echo 'FGREP' >> "conftest.nl"
5314
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5315
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5316
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5317
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5318
 
      # Best one so far, save it but keep looking for a better one
5319
 
      ac_cv_path_FGREP="$ac_path_FGREP"
5320
 
      ac_path_FGREP_max=$ac_count
5321
 
    fi
5322
 
    # 10*(2^10) chars as input seems more than enough
5323
 
    test $ac_count -gt 10 && break
5324
 
  done
5325
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5326
 
esac
5327
 
 
5328
 
      $ac_path_FGREP_found && break 3
5329
 
    done
5330
 
  done
5331
 
  done
5332
 
IFS=$as_save_IFS
5333
 
  if test -z "$ac_cv_path_FGREP"; then
5334
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5335
 
  fi
5336
 
else
5337
 
  ac_cv_path_FGREP=$FGREP
5338
 
fi
5339
 
 
5340
 
   fi
5341
 
fi
5342
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5343
 
$as_echo "$ac_cv_path_FGREP" >&6; }
5344
 
 FGREP="$ac_cv_path_FGREP"
5345
 
 
5346
 
 
5347
 
test -z "$GREP" && GREP=grep
5348
 
 
5349
 
 
5350
 
 
5351
 
 
5352
 
 
5353
 
 
5354
 
 
5355
 
 
5356
 
 
5357
 
 
5358
 
 
5359
 
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
 
 
5366
 
 
5367
 
# Check whether --with-gnu-ld was given.
5368
 
if test "${with_gnu_ld+set}" = set; then :
5369
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5370
 
else
5371
 
  with_gnu_ld=no
5372
 
fi
5373
 
 
5374
 
ac_prog=ld
5375
 
if test "$GCC" = yes; then
5376
 
  # Check if gcc -print-prog-name=ld gives a path.
5377
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5378
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5379
 
  case $host in
5380
 
  *-*-mingw*)
5381
 
    # gcc leaves a trailing carriage return which upsets mingw
5382
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5383
 
  *)
5384
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5385
 
  esac
5386
 
  case $ac_prog in
5387
 
    # Accept absolute paths.
5388
 
    [\\/]* | ?:[\\/]*)
5389
 
      re_direlt='/[^/][^/]*/\.\./'
5390
 
      # Canonicalize the pathname of ld
5391
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5392
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5393
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5394
 
      done
5395
 
      test -z "$LD" && LD="$ac_prog"
5396
 
      ;;
5397
 
  "")
5398
 
    # If it fails, then pretend we aren't using GCC.
5399
 
    ac_prog=ld
5400
 
    ;;
5401
 
  *)
5402
 
    # If it is relative, then search for the first ld in PATH.
5403
 
    with_gnu_ld=unknown
5404
 
    ;;
5405
 
  esac
5406
 
elif test "$with_gnu_ld" = yes; then
5407
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5408
 
$as_echo_n "checking for GNU ld... " >&6; }
5409
 
else
5410
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5411
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5412
 
fi
5413
 
if ${lt_cv_path_LD+:} false; then :
5414
 
  $as_echo_n "(cached) " >&6
5415
 
else
5416
 
  if test -z "$LD"; then
5417
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5418
 
  for ac_dir in $PATH; do
5419
 
    IFS="$lt_save_ifs"
5420
 
    test -z "$ac_dir" && ac_dir=.
5421
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5422
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5423
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5424
 
      # but apparently some variants of GNU ld only accept -v.
5425
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5426
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5427
 
      *GNU* | *'with BFD'*)
5428
 
        test "$with_gnu_ld" != no && break
5429
 
        ;;
5430
 
      *)
5431
 
        test "$with_gnu_ld" != yes && break
5432
 
        ;;
5433
 
      esac
5434
 
    fi
5435
 
  done
5436
 
  IFS="$lt_save_ifs"
5437
 
else
5438
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5439
 
fi
5440
 
fi
5441
 
 
5442
 
LD="$lt_cv_path_LD"
5443
 
if test -n "$LD"; then
5444
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5445
 
$as_echo "$LD" >&6; }
5446
 
else
5447
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448
 
$as_echo "no" >&6; }
5449
 
fi
5450
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5451
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5452
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5453
 
if ${lt_cv_prog_gnu_ld+:} false; then :
5454
 
  $as_echo_n "(cached) " >&6
5455
 
else
5456
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5457
 
case `$LD -v 2>&1 </dev/null` in
5458
 
*GNU* | *'with BFD'*)
5459
 
  lt_cv_prog_gnu_ld=yes
5460
 
  ;;
5461
 
*)
5462
 
  lt_cv_prog_gnu_ld=no
5463
 
  ;;
5464
 
esac
5465
 
fi
5466
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5467
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5468
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5469
 
 
5470
 
 
5471
 
 
5472
 
 
5473
 
 
5474
 
 
5475
 
 
5476
 
 
5477
 
 
5478
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5479
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5480
 
if ${lt_cv_path_NM+:} false; then :
5481
 
  $as_echo_n "(cached) " >&6
5482
 
else
5483
 
  if test -n "$NM"; then
5484
 
  # Let the user override the test.
5485
 
  lt_cv_path_NM="$NM"
5486
 
else
5487
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5488
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5489
 
    lt_nm_to_check="$lt_nm_to_check nm"
5490
 
  fi
5491
 
  for lt_tmp_nm in $lt_nm_to_check; do
5492
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5493
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5494
 
      IFS="$lt_save_ifs"
5495
 
      test -z "$ac_dir" && ac_dir=.
5496
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5497
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5498
 
        # Check to see if the nm accepts a BSD-compat flag.
5499
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5500
 
        #   nm: unknown option "B" ignored
5501
 
        # Tru64's nm complains that /dev/null is an invalid object file
5502
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5503
 
        */dev/null* | *'Invalid file or object type'*)
5504
 
          lt_cv_path_NM="$tmp_nm -B"
5505
 
          break
5506
 
          ;;
5507
 
        *)
5508
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5509
 
          */dev/null*)
5510
 
            lt_cv_path_NM="$tmp_nm -p"
5511
 
            break
5512
 
            ;;
5513
 
          *)
5514
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5515
 
            continue # so that we can try to find one that supports BSD flags
5516
 
            ;;
5517
 
          esac
5518
 
          ;;
5519
 
        esac
5520
 
      fi
5521
 
    done
5522
 
    IFS="$lt_save_ifs"
5523
 
  done
5524
 
  : ${lt_cv_path_NM=no}
5525
 
fi
5526
 
fi
5527
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5528
 
$as_echo "$lt_cv_path_NM" >&6; }
5529
 
if test "$lt_cv_path_NM" != "no"; then
5530
 
  NM="$lt_cv_path_NM"
5531
 
else
5532
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5533
 
  if test -n "$DUMPBIN"; then :
5534
 
    # Let the user override the test.
5535
 
  else
5536
 
    if test -n "$ac_tool_prefix"; then
5537
 
  for ac_prog in dumpbin "link -dump"
5538
 
  do
5539
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5540
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5541
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542
 
$as_echo_n "checking for $ac_word... " >&6; }
5543
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
5544
 
  $as_echo_n "(cached) " >&6
5545
 
else
5546
 
  if test -n "$DUMPBIN"; then
5547
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5548
 
else
5549
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550
 
for as_dir in $PATH
5551
 
do
5552
 
  IFS=$as_save_IFS
5553
 
  test -z "$as_dir" && as_dir=.
5554
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5555
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5557
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558
 
    break 2
5559
 
  fi
5560
 
done
5561
 
  done
5562
 
IFS=$as_save_IFS
5563
 
 
5564
 
fi
5565
 
fi
5566
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5567
 
if test -n "$DUMPBIN"; then
5568
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5569
 
$as_echo "$DUMPBIN" >&6; }
5570
 
else
5571
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572
 
$as_echo "no" >&6; }
5573
 
fi
5574
 
 
5575
 
 
5576
 
    test -n "$DUMPBIN" && break
5577
 
  done
5578
 
fi
5579
 
if test -z "$DUMPBIN"; then
5580
 
  ac_ct_DUMPBIN=$DUMPBIN
5581
 
  for ac_prog in dumpbin "link -dump"
5582
 
do
5583
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5584
 
set dummy $ac_prog; ac_word=$2
5585
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586
 
$as_echo_n "checking for $ac_word... " >&6; }
5587
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5588
 
  $as_echo_n "(cached) " >&6
5589
 
else
5590
 
  if test -n "$ac_ct_DUMPBIN"; then
5591
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5592
 
else
5593
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594
 
for as_dir in $PATH
5595
 
do
5596
 
  IFS=$as_save_IFS
5597
 
  test -z "$as_dir" && as_dir=.
5598
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5599
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5601
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602
 
    break 2
5603
 
  fi
5604
 
done
5605
 
  done
5606
 
IFS=$as_save_IFS
5607
 
 
5608
 
fi
5609
 
fi
5610
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5611
 
if test -n "$ac_ct_DUMPBIN"; then
5612
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5613
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5614
 
else
5615
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616
 
$as_echo "no" >&6; }
5617
 
fi
5618
 
 
5619
 
 
5620
 
  test -n "$ac_ct_DUMPBIN" && break
5621
 
done
5622
 
 
5623
 
  if test "x$ac_ct_DUMPBIN" = x; then
5624
 
    DUMPBIN=":"
5625
 
  else
5626
 
    case $cross_compiling:$ac_tool_warned in
5627
 
yes:)
5628
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5629
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5630
 
ac_tool_warned=yes ;;
5631
 
esac
5632
 
    DUMPBIN=$ac_ct_DUMPBIN
5633
 
  fi
5634
 
fi
5635
 
 
5636
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5637
 
    *COFF*)
5638
 
      DUMPBIN="$DUMPBIN -symbols"
5639
 
      ;;
5640
 
    *)
5641
 
      DUMPBIN=:
5642
 
      ;;
5643
 
    esac
5644
 
  fi
5645
 
 
5646
 
  if test "$DUMPBIN" != ":"; then
5647
 
    NM="$DUMPBIN"
5648
 
  fi
5649
 
fi
5650
 
test -z "$NM" && NM=nm
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
 
5656
 
 
5657
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5658
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5659
 
if ${lt_cv_nm_interface+:} false; then :
5660
 
  $as_echo_n "(cached) " >&6
5661
 
else
5662
 
  lt_cv_nm_interface="BSD nm"
5663
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5664
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5665
 
  (eval "$ac_compile" 2>conftest.err)
5666
 
  cat conftest.err >&5
5667
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5668
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5669
 
  cat conftest.err >&5
5670
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5671
 
  cat conftest.out >&5
5672
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5673
 
    lt_cv_nm_interface="MS dumpbin"
5674
 
  fi
5675
 
  rm -f conftest*
5676
 
fi
5677
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5678
 
$as_echo "$lt_cv_nm_interface" >&6; }
5679
 
 
5680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5681
 
$as_echo_n "checking whether ln -s works... " >&6; }
5682
 
LN_S=$as_ln_s
5683
 
if test "$LN_S" = "ln -s"; then
5684
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5685
 
$as_echo "yes" >&6; }
5686
 
else
5687
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5688
 
$as_echo "no, using $LN_S" >&6; }
5689
 
fi
5690
 
 
5691
 
# find the maximum length of command line arguments
5692
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5693
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5694
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
5695
 
  $as_echo_n "(cached) " >&6
5696
 
else
5697
 
    i=0
5698
 
  teststring="ABCD"
5699
 
 
5700
 
  case $build_os in
5701
 
  msdosdjgpp*)
5702
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5703
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5704
 
    # during glob expansion).  Even if it were fixed, the result of this
5705
 
    # check would be larger than it should be.
5706
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5707
 
    ;;
5708
 
 
5709
 
  gnu*)
5710
 
    # Under GNU Hurd, this test is not required because there is
5711
 
    # no limit to the length of command line arguments.
5712
 
    # Libtool will interpret -1 as no limit whatsoever
5713
 
    lt_cv_sys_max_cmd_len=-1;
5714
 
    ;;
5715
 
 
5716
 
  cygwin* | mingw* | cegcc*)
5717
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5718
 
    # about 5 minutes as the teststring grows exponentially.
5719
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5720
 
    # you end up with a "frozen" computer, even though with patience
5721
 
    # the test eventually succeeds (with a max line length of 256k).
5722
 
    # Instead, let's just punt: use the minimum linelength reported by
5723
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5724
 
    lt_cv_sys_max_cmd_len=8192;
5725
 
    ;;
5726
 
 
5727
 
  mint*)
5728
 
    # On MiNT this can take a long time and run out of memory.
5729
 
    lt_cv_sys_max_cmd_len=8192;
5730
 
    ;;
5731
 
 
5732
 
  amigaos*)
5733
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5734
 
    # So we just punt and use a minimum line length of 8192.
5735
 
    lt_cv_sys_max_cmd_len=8192;
5736
 
    ;;
5737
 
 
5738
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5739
 
    # This has been around since 386BSD, at least.  Likely further.
5740
 
    if test -x /sbin/sysctl; then
5741
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5742
 
    elif test -x /usr/sbin/sysctl; then
5743
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5744
 
    else
5745
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5746
 
    fi
5747
 
    # And add a safety zone
5748
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5749
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5750
 
    ;;
5751
 
 
5752
 
  interix*)
5753
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5754
 
    lt_cv_sys_max_cmd_len=196608
5755
 
    ;;
5756
 
 
5757
 
  osf*)
5758
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5759
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5760
 
    # nice to cause kernel panics so lets avoid the loop below.
5761
 
    # First set a reasonable default.
5762
 
    lt_cv_sys_max_cmd_len=16384
5763
 
    #
5764
 
    if test -x /sbin/sysconfig; then
5765
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5766
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5767
 
      esac
5768
 
    fi
5769
 
    ;;
5770
 
  sco3.2v5*)
5771
 
    lt_cv_sys_max_cmd_len=102400
5772
 
    ;;
5773
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5774
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5775
 
    if test -n "$kargmax"; then
5776
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5777
 
    else
5778
 
      lt_cv_sys_max_cmd_len=32768
5779
 
    fi
5780
 
    ;;
5781
 
  *)
5782
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5783
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5784
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5785
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5786
 
    else
5787
 
      # Make teststring a little bigger before we do anything with it.
5788
 
      # a 1K string should be a reasonable start.
5789
 
      for i in 1 2 3 4 5 6 7 8 ; do
5790
 
        teststring=$teststring$teststring
5791
 
      done
5792
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5793
 
      # If test is not a shell built-in, we'll probably end up computing a
5794
 
      # maximum length that is only half of the actual maximum length, but
5795
 
      # we can't tell.
5796
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5797
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5798
 
              test $i != 17 # 1/2 MB should be enough
5799
 
      do
5800
 
        i=`expr $i + 1`
5801
 
        teststring=$teststring$teststring
5802
 
      done
5803
 
      # Only check the string length outside the loop.
5804
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5805
 
      teststring=
5806
 
      # Add a significant safety factor because C++ compilers can tack on
5807
 
      # massive amounts of additional arguments before passing them to the
5808
 
      # linker.  It appears as though 1/2 is a usable value.
5809
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5810
 
    fi
5811
 
    ;;
5812
 
  esac
5813
 
 
5814
 
fi
5815
 
 
5816
 
if test -n $lt_cv_sys_max_cmd_len ; then
5817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5818
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5819
 
else
5820
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5821
 
$as_echo "none" >&6; }
5822
 
fi
5823
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5824
 
 
5825
 
 
5826
 
 
5827
 
 
5828
 
 
5829
 
 
5830
 
: ${CP="cp -f"}
5831
 
: ${MV="mv -f"}
5832
 
: ${RM="rm -f"}
5833
 
 
5834
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5835
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5836
 
# Try some XSI features
5837
 
xsi_shell=no
5838
 
( _lt_dummy="a/b/c"
5839
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5840
 
      = c,a/b,b/c, \
5841
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5842
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5843
 
  && xsi_shell=yes
5844
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5845
 
$as_echo "$xsi_shell" >&6; }
5846
 
 
5847
 
 
5848
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5849
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5850
 
lt_shell_append=no
5851
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5852
 
    >/dev/null 2>&1 \
5853
 
  && lt_shell_append=yes
5854
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5855
 
$as_echo "$lt_shell_append" >&6; }
5856
 
 
5857
 
 
5858
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5859
 
  lt_unset=unset
5860
 
else
5861
 
  lt_unset=false
5862
 
fi
5863
 
 
5864
 
 
5865
 
 
5866
 
 
5867
 
 
5868
 
# test EBCDIC or ASCII
5869
 
case `echo X|tr X '\101'` in
5870
 
 A) # ASCII based system
5871
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5872
 
  lt_SP2NL='tr \040 \012'
5873
 
  lt_NL2SP='tr \015\012 \040\040'
5874
 
  ;;
5875
 
 *) # EBCDIC based system
5876
 
  lt_SP2NL='tr \100 \n'
5877
 
  lt_NL2SP='tr \r\n \100\100'
5878
 
  ;;
5879
 
esac
5880
 
 
5881
 
 
5882
 
 
5883
 
 
5884
 
 
5885
 
 
5886
 
 
5887
 
 
5888
 
 
5889
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5890
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5891
 
if ${lt_cv_to_host_file_cmd+:} false; then :
5892
 
  $as_echo_n "(cached) " >&6
5893
 
else
5894
 
  case $host in
5895
 
  *-*-mingw* )
5896
 
    case $build in
5897
 
      *-*-mingw* ) # actually msys
5898
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5899
 
        ;;
5900
 
      *-*-cygwin* )
5901
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5902
 
        ;;
5903
 
      * ) # otherwise, assume *nix
5904
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5905
 
        ;;
5906
 
    esac
5907
 
    ;;
5908
 
  *-*-cygwin* )
5909
 
    case $build in
5910
 
      *-*-mingw* ) # actually msys
5911
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5912
 
        ;;
5913
 
      *-*-cygwin* )
5914
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5915
 
        ;;
5916
 
      * ) # otherwise, assume *nix
5917
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5918
 
        ;;
5919
 
    esac
5920
 
    ;;
5921
 
  * ) # unhandled hosts (and "normal" native builds)
5922
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5923
 
    ;;
5924
 
esac
5925
 
 
5926
 
fi
5927
 
 
5928
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5929
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5930
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5931
 
 
5932
 
 
5933
 
 
5934
 
 
5935
 
 
5936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5937
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5938
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5939
 
  $as_echo_n "(cached) " >&6
5940
 
else
5941
 
  #assume ordinary cross tools, or native build.
5942
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5943
 
case $host in
5944
 
  *-*-mingw* )
5945
 
    case $build in
5946
 
      *-*-mingw* ) # actually msys
5947
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5948
 
        ;;
5949
 
    esac
5950
 
    ;;
5951
 
esac
5952
 
 
5953
 
fi
5954
 
 
5955
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5956
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5957
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5958
 
 
5959
 
 
5960
 
 
5961
 
 
5962
 
 
5963
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5964
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5965
 
if ${lt_cv_ld_reload_flag+:} false; then :
5966
 
  $as_echo_n "(cached) " >&6
5967
 
else
5968
 
  lt_cv_ld_reload_flag='-r'
5969
 
fi
5970
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5971
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5972
 
reload_flag=$lt_cv_ld_reload_flag
5973
 
case $reload_flag in
5974
 
"" | " "*) ;;
5975
 
*) reload_flag=" $reload_flag" ;;
5976
 
esac
5977
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5978
 
case $host_os in
5979
 
  cygwin* | mingw* | pw32* | cegcc*)
5980
 
    if test "$GCC" != yes; then
5981
 
      reload_cmds=false
5982
 
    fi
5983
 
    ;;
5984
 
  darwin*)
5985
 
    if test "$GCC" = yes; then
5986
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5987
 
    else
5988
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5989
 
    fi
5990
 
    ;;
5991
 
esac
5992
 
 
5993
 
 
5994
 
 
5995
 
 
5996
 
 
5997
 
 
5998
 
 
5999
 
 
6000
 
 
6001
 
if test -n "$ac_tool_prefix"; then
6002
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6003
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6004
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005
 
$as_echo_n "checking for $ac_word... " >&6; }
6006
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
6007
 
  $as_echo_n "(cached) " >&6
6008
 
else
6009
 
  if test -n "$OBJDUMP"; then
6010
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6011
 
else
6012
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013
 
for as_dir in $PATH
6014
 
do
6015
 
  IFS=$as_save_IFS
6016
 
  test -z "$as_dir" && as_dir=.
6017
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6018
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6020
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021
 
    break 2
6022
 
  fi
6023
 
done
6024
 
  done
6025
 
IFS=$as_save_IFS
6026
 
 
6027
 
fi
6028
 
fi
6029
 
OBJDUMP=$ac_cv_prog_OBJDUMP
6030
 
if test -n "$OBJDUMP"; then
6031
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6032
 
$as_echo "$OBJDUMP" >&6; }
6033
 
else
6034
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035
 
$as_echo "no" >&6; }
6036
 
fi
6037
 
 
6038
 
 
6039
 
fi
6040
 
if test -z "$ac_cv_prog_OBJDUMP"; then
6041
 
  ac_ct_OBJDUMP=$OBJDUMP
6042
 
  # Extract the first word of "objdump", so it can be a program name with args.
6043
 
set dummy objdump; ac_word=$2
6044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045
 
$as_echo_n "checking for $ac_word... " >&6; }
6046
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6047
 
  $as_echo_n "(cached) " >&6
6048
 
else
6049
 
  if test -n "$ac_ct_OBJDUMP"; then
6050
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6051
 
else
6052
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053
 
for as_dir in $PATH
6054
 
do
6055
 
  IFS=$as_save_IFS
6056
 
  test -z "$as_dir" && as_dir=.
6057
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6058
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6060
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061
 
    break 2
6062
 
  fi
6063
 
done
6064
 
  done
6065
 
IFS=$as_save_IFS
6066
 
 
6067
 
fi
6068
 
fi
6069
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6070
 
if test -n "$ac_ct_OBJDUMP"; then
6071
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6072
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
6073
 
else
6074
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075
 
$as_echo "no" >&6; }
6076
 
fi
6077
 
 
6078
 
  if test "x$ac_ct_OBJDUMP" = x; then
6079
 
    OBJDUMP="false"
6080
 
  else
6081
 
    case $cross_compiling:$ac_tool_warned in
6082
 
yes:)
6083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6084
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6085
 
ac_tool_warned=yes ;;
6086
 
esac
6087
 
    OBJDUMP=$ac_ct_OBJDUMP
6088
 
  fi
6089
 
else
6090
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6091
 
fi
6092
 
 
6093
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6094
 
 
6095
 
 
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6104
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6105
 
if ${lt_cv_deplibs_check_method+:} false; then :
6106
 
  $as_echo_n "(cached) " >&6
6107
 
else
6108
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6109
 
lt_cv_file_magic_test_file=
6110
 
lt_cv_deplibs_check_method='unknown'
6111
 
# Need to set the preceding variable on all platforms that support
6112
 
# interlibrary dependencies.
6113
 
# 'none' -- dependencies not supported.
6114
 
# `unknown' -- same as none, but documents that we really don't know.
6115
 
# 'pass_all' -- all dependencies passed with no checks.
6116
 
# 'test_compile' -- check by making test program.
6117
 
# 'file_magic [[regex]]' -- check by looking for files in library path
6118
 
# which responds to the $file_magic_cmd with a given extended regex.
6119
 
# If you have `file' or equivalent on your system and you're not sure
6120
 
# whether `pass_all' will *always* work, you probably want this one.
6121
 
 
6122
 
case $host_os in
6123
 
aix[4-9]*)
6124
 
  lt_cv_deplibs_check_method=pass_all
6125
 
  ;;
6126
 
 
6127
 
beos*)
6128
 
  lt_cv_deplibs_check_method=pass_all
6129
 
  ;;
6130
 
 
6131
 
bsdi[45]*)
6132
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6133
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6134
 
  lt_cv_file_magic_test_file=/shlib/libc.so
6135
 
  ;;
6136
 
 
6137
 
cygwin*)
6138
 
  # func_win32_libid is a shell function defined in ltmain.sh
6139
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6140
 
  lt_cv_file_magic_cmd='func_win32_libid'
6141
 
  ;;
6142
 
 
6143
 
mingw* | pw32*)
6144
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
6145
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6146
 
  # unless we find 'file', for example because we are cross-compiling.
6147
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6148
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6149
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6150
 
    lt_cv_file_magic_cmd='func_win32_libid'
6151
 
  else
6152
 
    # Keep this pattern in sync with the one in func_win32_libid.
6153
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6154
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6155
 
  fi
6156
 
  ;;
6157
 
 
6158
 
cegcc*)
6159
 
  # use the weaker test based on 'objdump'. See mingw*.
6160
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6161
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6162
 
  ;;
6163
 
 
6164
 
darwin* | rhapsody*)
6165
 
  lt_cv_deplibs_check_method=pass_all
6166
 
  ;;
6167
 
 
6168
 
freebsd* | dragonfly*)
6169
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6170
 
    case $host_cpu in
6171
 
    i*86 )
6172
 
      # Not sure whether the presence of OpenBSD here was a mistake.
6173
 
      # Let's accept both of them until this is cleared up.
6174
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6175
 
      lt_cv_file_magic_cmd=/usr/bin/file
6176
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6177
 
      ;;
6178
 
    esac
6179
 
  else
6180
 
    lt_cv_deplibs_check_method=pass_all
6181
 
  fi
6182
 
  ;;
6183
 
 
6184
 
gnu*)
6185
 
  lt_cv_deplibs_check_method=pass_all
6186
 
  ;;
6187
 
 
6188
 
haiku*)
6189
 
  lt_cv_deplibs_check_method=pass_all
6190
 
  ;;
6191
 
 
6192
 
hpux10.20* | hpux11*)
6193
 
  lt_cv_file_magic_cmd=/usr/bin/file
6194
 
  case $host_cpu in
6195
 
  ia64*)
6196
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6197
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6198
 
    ;;
6199
 
  hppa*64*)
6200
 
    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]'
6201
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6202
 
    ;;
6203
 
  *)
6204
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6205
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6206
 
    ;;
6207
 
  esac
6208
 
  ;;
6209
 
 
6210
 
interix[3-9]*)
6211
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6212
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6213
 
  ;;
6214
 
 
6215
 
irix5* | irix6* | nonstopux*)
6216
 
  case $LD in
6217
 
  *-32|*"-32 ") libmagic=32-bit;;
6218
 
  *-n32|*"-n32 ") libmagic=N32;;
6219
 
  *-64|*"-64 ") libmagic=64-bit;;
6220
 
  *) libmagic=never-match;;
6221
 
  esac
6222
 
  lt_cv_deplibs_check_method=pass_all
6223
 
  ;;
6224
 
 
6225
 
# This must be Linux ELF.
6226
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6227
 
  lt_cv_deplibs_check_method=pass_all
6228
 
  ;;
6229
 
 
6230
 
netbsd*)
6231
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6232
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6233
 
  else
6234
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6235
 
  fi
6236
 
  ;;
6237
 
 
6238
 
newos6*)
6239
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6240
 
  lt_cv_file_magic_cmd=/usr/bin/file
6241
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6242
 
  ;;
6243
 
 
6244
 
*nto* | *qnx*)
6245
 
  lt_cv_deplibs_check_method=pass_all
6246
 
  ;;
6247
 
 
6248
 
openbsd*)
6249
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6250
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6251
 
  else
6252
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6253
 
  fi
6254
 
  ;;
6255
 
 
6256
 
osf3* | osf4* | osf5*)
6257
 
  lt_cv_deplibs_check_method=pass_all
6258
 
  ;;
6259
 
 
6260
 
rdos*)
6261
 
  lt_cv_deplibs_check_method=pass_all
6262
 
  ;;
6263
 
 
6264
 
solaris*)
6265
 
  lt_cv_deplibs_check_method=pass_all
6266
 
  ;;
6267
 
 
6268
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6269
 
  lt_cv_deplibs_check_method=pass_all
6270
 
  ;;
6271
 
 
6272
 
sysv4 | sysv4.3*)
6273
 
  case $host_vendor in
6274
 
  motorola)
6275
 
    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]'
6276
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6277
 
    ;;
6278
 
  ncr)
6279
 
    lt_cv_deplibs_check_method=pass_all
6280
 
    ;;
6281
 
  sequent)
6282
 
    lt_cv_file_magic_cmd='/bin/file'
6283
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6284
 
    ;;
6285
 
  sni)
6286
 
    lt_cv_file_magic_cmd='/bin/file'
6287
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6288
 
    lt_cv_file_magic_test_file=/lib/libc.so
6289
 
    ;;
6290
 
  siemens)
6291
 
    lt_cv_deplibs_check_method=pass_all
6292
 
    ;;
6293
 
  pc)
6294
 
    lt_cv_deplibs_check_method=pass_all
6295
 
    ;;
6296
 
  esac
6297
 
  ;;
6298
 
 
6299
 
tpf*)
6300
 
  lt_cv_deplibs_check_method=pass_all
6301
 
  ;;
6302
 
esac
6303
 
 
6304
 
fi
6305
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6306
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6307
 
 
6308
 
file_magic_glob=
6309
 
want_nocaseglob=no
6310
 
if test "$build" = "$host"; then
6311
 
  case $host_os in
6312
 
  mingw* | pw32*)
6313
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6314
 
      want_nocaseglob=yes
6315
 
    else
6316
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6317
 
    fi
6318
 
    ;;
6319
 
  esac
6320
 
fi
6321
 
 
6322
 
file_magic_cmd=$lt_cv_file_magic_cmd
6323
 
deplibs_check_method=$lt_cv_deplibs_check_method
6324
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6325
 
 
6326
 
 
6327
 
 
6328
 
 
6329
 
 
6330
 
 
6331
 
 
6332
 
 
6333
 
 
6334
 
 
6335
 
 
6336
 
 
6337
 
 
6338
 
 
6339
 
 
6340
 
 
6341
 
 
6342
 
 
6343
 
 
6344
 
 
6345
 
 
6346
 
 
6347
 
if test -n "$ac_tool_prefix"; then
6348
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6349
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6350
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351
 
$as_echo_n "checking for $ac_word... " >&6; }
6352
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
6353
 
  $as_echo_n "(cached) " >&6
6354
 
else
6355
 
  if test -n "$DLLTOOL"; then
6356
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6357
 
else
6358
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359
 
for as_dir in $PATH
6360
 
do
6361
 
  IFS=$as_save_IFS
6362
 
  test -z "$as_dir" && as_dir=.
6363
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6364
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6365
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6366
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367
 
    break 2
6368
 
  fi
6369
 
done
6370
 
  done
6371
 
IFS=$as_save_IFS
6372
 
 
6373
 
fi
6374
 
fi
6375
 
DLLTOOL=$ac_cv_prog_DLLTOOL
6376
 
if test -n "$DLLTOOL"; then
6377
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6378
 
$as_echo "$DLLTOOL" >&6; }
6379
 
else
6380
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381
 
$as_echo "no" >&6; }
6382
 
fi
6383
 
 
6384
 
 
6385
 
fi
6386
 
if test -z "$ac_cv_prog_DLLTOOL"; then
6387
 
  ac_ct_DLLTOOL=$DLLTOOL
6388
 
  # Extract the first word of "dlltool", so it can be a program name with args.
6389
 
set dummy dlltool; ac_word=$2
6390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391
 
$as_echo_n "checking for $ac_word... " >&6; }
6392
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6393
 
  $as_echo_n "(cached) " >&6
6394
 
else
6395
 
  if test -n "$ac_ct_DLLTOOL"; then
6396
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6397
 
else
6398
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399
 
for as_dir in $PATH
6400
 
do
6401
 
  IFS=$as_save_IFS
6402
 
  test -z "$as_dir" && as_dir=.
6403
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6404
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6405
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6406
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407
 
    break 2
6408
 
  fi
6409
 
done
6410
 
  done
6411
 
IFS=$as_save_IFS
6412
 
 
6413
 
fi
6414
 
fi
6415
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6416
 
if test -n "$ac_ct_DLLTOOL"; then
6417
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6418
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
6419
 
else
6420
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421
 
$as_echo "no" >&6; }
6422
 
fi
6423
 
 
6424
 
  if test "x$ac_ct_DLLTOOL" = x; then
6425
 
    DLLTOOL="false"
6426
 
  else
6427
 
    case $cross_compiling:$ac_tool_warned in
6428
 
yes:)
6429
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6430
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6431
 
ac_tool_warned=yes ;;
6432
 
esac
6433
 
    DLLTOOL=$ac_ct_DLLTOOL
6434
 
  fi
6435
 
else
6436
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
6437
 
fi
6438
 
 
6439
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6440
 
 
6441
 
 
6442
 
 
6443
 
 
6444
 
 
6445
 
 
6446
 
 
6447
 
 
6448
 
 
6449
 
 
6450
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6451
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6452
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6453
 
  $as_echo_n "(cached) " >&6
6454
 
else
6455
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
6456
 
 
6457
 
case $host_os in
6458
 
cygwin* | mingw* | pw32* | cegcc*)
6459
 
  # two different shell functions defined in ltmain.sh
6460
 
  # decide which to use based on capabilities of $DLLTOOL
6461
 
  case `$DLLTOOL --help 2>&1` in
6462
 
  *--identify-strict*)
6463
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6464
 
    ;;
6465
 
  *)
6466
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6467
 
    ;;
6468
 
  esac
6469
 
  ;;
6470
 
*)
6471
 
  # fallback: assume linklib IS sharedlib
6472
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6473
 
  ;;
6474
 
esac
6475
 
 
6476
 
fi
6477
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6478
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6479
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6480
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6481
 
 
6482
 
 
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
 
6488
 
if test -n "$ac_tool_prefix"; then
6489
 
  for ac_prog in ar
6490
 
  do
6491
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6492
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6493
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494
 
$as_echo_n "checking for $ac_word... " >&6; }
6495
 
if ${ac_cv_prog_AR+:} false; then :
6496
 
  $as_echo_n "(cached) " >&6
6497
 
else
6498
 
  if test -n "$AR"; then
6499
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6500
 
else
6501
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502
 
for as_dir in $PATH
6503
 
do
6504
 
  IFS=$as_save_IFS
6505
 
  test -z "$as_dir" && as_dir=.
6506
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6507
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6508
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6509
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510
 
    break 2
6511
 
  fi
6512
 
done
6513
 
  done
6514
 
IFS=$as_save_IFS
6515
 
 
6516
 
fi
6517
 
fi
6518
 
AR=$ac_cv_prog_AR
6519
 
if test -n "$AR"; then
6520
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6521
 
$as_echo "$AR" >&6; }
6522
 
else
6523
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524
 
$as_echo "no" >&6; }
6525
 
fi
6526
 
 
6527
 
 
6528
 
    test -n "$AR" && break
6529
 
  done
6530
 
fi
6531
 
if test -z "$AR"; then
6532
 
  ac_ct_AR=$AR
6533
 
  for ac_prog in ar
6534
 
do
6535
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6536
 
set dummy $ac_prog; ac_word=$2
6537
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538
 
$as_echo_n "checking for $ac_word... " >&6; }
6539
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6540
 
  $as_echo_n "(cached) " >&6
6541
 
else
6542
 
  if test -n "$ac_ct_AR"; then
6543
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6544
 
else
6545
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546
 
for as_dir in $PATH
6547
 
do
6548
 
  IFS=$as_save_IFS
6549
 
  test -z "$as_dir" && as_dir=.
6550
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6551
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
6553
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554
 
    break 2
6555
 
  fi
6556
 
done
6557
 
  done
6558
 
IFS=$as_save_IFS
6559
 
 
6560
 
fi
6561
 
fi
6562
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6563
 
if test -n "$ac_ct_AR"; then
6564
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6565
 
$as_echo "$ac_ct_AR" >&6; }
6566
 
else
6567
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568
 
$as_echo "no" >&6; }
6569
 
fi
6570
 
 
6571
 
 
6572
 
  test -n "$ac_ct_AR" && break
6573
 
done
6574
 
 
6575
 
  if test "x$ac_ct_AR" = x; then
6576
 
    AR="false"
6577
 
  else
6578
 
    case $cross_compiling:$ac_tool_warned in
6579
 
yes:)
6580
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6581
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6582
 
ac_tool_warned=yes ;;
6583
 
esac
6584
 
    AR=$ac_ct_AR
6585
 
  fi
6586
 
fi
6587
 
 
6588
 
: ${AR=ar}
6589
 
: ${AR_FLAGS=cru}
6590
 
 
6591
 
 
6592
 
 
6593
 
 
6594
 
 
6595
 
 
6596
 
 
6597
 
 
6598
 
 
6599
 
 
6600
 
 
6601
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6602
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
6603
 
if ${lt_cv_ar_at_file+:} false; then :
6604
 
  $as_echo_n "(cached) " >&6
6605
 
else
6606
 
  lt_cv_ar_at_file=no
6607
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608
 
/* end confdefs.h.  */
6609
 
 
6610
 
int
6611
 
main ()
6612
 
{
6613
 
 
6614
 
  ;
6615
 
  return 0;
6616
 
}
6617
 
_ACEOF
6618
 
if ac_fn_c_try_compile "$LINENO"; then :
6619
 
  echo conftest.$ac_objext > conftest.lst
6620
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6621
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6622
 
  (eval $lt_ar_try) 2>&5
6623
 
  ac_status=$?
6624
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6625
 
  test $ac_status = 0; }
6626
 
      if test "$ac_status" -eq 0; then
6627
 
        # Ensure the archiver fails upon bogus file names.
6628
 
        rm -f conftest.$ac_objext libconftest.a
6629
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6630
 
  (eval $lt_ar_try) 2>&5
6631
 
  ac_status=$?
6632
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633
 
  test $ac_status = 0; }
6634
 
        if test "$ac_status" -ne 0; then
6635
 
          lt_cv_ar_at_file=@
6636
 
        fi
6637
 
      fi
6638
 
      rm -f conftest.* libconftest.a
6639
 
 
6640
 
fi
6641
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6642
 
 
6643
 
fi
6644
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6645
 
$as_echo "$lt_cv_ar_at_file" >&6; }
6646
 
 
6647
 
if test "x$lt_cv_ar_at_file" = xno; then
6648
 
  archiver_list_spec=
6649
 
else
6650
 
  archiver_list_spec=$lt_cv_ar_at_file
6651
 
fi
6652
 
 
6653
 
 
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
 
if test -n "$ac_tool_prefix"; then
6660
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6661
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6662
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663
 
$as_echo_n "checking for $ac_word... " >&6; }
6664
 
if ${ac_cv_prog_STRIP+:} false; then :
6665
 
  $as_echo_n "(cached) " >&6
6666
 
else
6667
 
  if test -n "$STRIP"; then
6668
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6669
 
else
6670
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671
 
for as_dir in $PATH
6672
 
do
6673
 
  IFS=$as_save_IFS
6674
 
  test -z "$as_dir" && as_dir=.
6675
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6676
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6678
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679
 
    break 2
6680
 
  fi
6681
 
done
6682
 
  done
6683
 
IFS=$as_save_IFS
6684
 
 
6685
 
fi
6686
 
fi
6687
 
STRIP=$ac_cv_prog_STRIP
6688
 
if test -n "$STRIP"; then
6689
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6690
 
$as_echo "$STRIP" >&6; }
6691
 
else
6692
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693
 
$as_echo "no" >&6; }
6694
 
fi
6695
 
 
6696
 
 
6697
 
fi
6698
 
if test -z "$ac_cv_prog_STRIP"; then
6699
 
  ac_ct_STRIP=$STRIP
6700
 
  # Extract the first word of "strip", so it can be a program name with args.
6701
 
set dummy strip; ac_word=$2
6702
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703
 
$as_echo_n "checking for $ac_word... " >&6; }
6704
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6705
 
  $as_echo_n "(cached) " >&6
6706
 
else
6707
 
  if test -n "$ac_ct_STRIP"; then
6708
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6709
 
else
6710
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711
 
for as_dir in $PATH
6712
 
do
6713
 
  IFS=$as_save_IFS
6714
 
  test -z "$as_dir" && as_dir=.
6715
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6716
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717
 
    ac_cv_prog_ac_ct_STRIP="strip"
6718
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719
 
    break 2
6720
 
  fi
6721
 
done
6722
 
  done
6723
 
IFS=$as_save_IFS
6724
 
 
6725
 
fi
6726
 
fi
6727
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6728
 
if test -n "$ac_ct_STRIP"; then
6729
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6730
 
$as_echo "$ac_ct_STRIP" >&6; }
6731
 
else
6732
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733
 
$as_echo "no" >&6; }
6734
 
fi
6735
 
 
6736
 
  if test "x$ac_ct_STRIP" = x; then
6737
 
    STRIP=":"
6738
 
  else
6739
 
    case $cross_compiling:$ac_tool_warned in
6740
 
yes:)
6741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743
 
ac_tool_warned=yes ;;
6744
 
esac
6745
 
    STRIP=$ac_ct_STRIP
6746
 
  fi
6747
 
else
6748
 
  STRIP="$ac_cv_prog_STRIP"
6749
 
fi
6750
 
 
6751
 
test -z "$STRIP" && STRIP=:
6752
 
 
6753
 
 
6754
 
 
6755
 
 
6756
 
 
6757
 
 
6758
 
if test -n "$ac_tool_prefix"; then
6759
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6760
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6761
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762
 
$as_echo_n "checking for $ac_word... " >&6; }
6763
 
if ${ac_cv_prog_RANLIB+:} false; then :
6764
 
  $as_echo_n "(cached) " >&6
6765
 
else
6766
 
  if test -n "$RANLIB"; then
6767
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6768
 
else
6769
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770
 
for as_dir in $PATH
6771
 
do
6772
 
  IFS=$as_save_IFS
6773
 
  test -z "$as_dir" && as_dir=.
6774
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6775
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6776
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6777
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778
 
    break 2
6779
 
  fi
6780
 
done
6781
 
  done
6782
 
IFS=$as_save_IFS
6783
 
 
6784
 
fi
6785
 
fi
6786
 
RANLIB=$ac_cv_prog_RANLIB
6787
 
if test -n "$RANLIB"; then
6788
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6789
 
$as_echo "$RANLIB" >&6; }
6790
 
else
6791
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792
 
$as_echo "no" >&6; }
6793
 
fi
6794
 
 
6795
 
 
6796
 
fi
6797
 
if test -z "$ac_cv_prog_RANLIB"; then
6798
 
  ac_ct_RANLIB=$RANLIB
6799
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6800
 
set dummy ranlib; ac_word=$2
6801
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802
 
$as_echo_n "checking for $ac_word... " >&6; }
6803
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6804
 
  $as_echo_n "(cached) " >&6
6805
 
else
6806
 
  if test -n "$ac_ct_RANLIB"; then
6807
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6808
 
else
6809
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810
 
for as_dir in $PATH
6811
 
do
6812
 
  IFS=$as_save_IFS
6813
 
  test -z "$as_dir" && as_dir=.
6814
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6815
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6816
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6817
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818
 
    break 2
6819
 
  fi
6820
 
done
6821
 
  done
6822
 
IFS=$as_save_IFS
6823
 
 
6824
 
fi
6825
 
fi
6826
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6827
 
if test -n "$ac_ct_RANLIB"; then
6828
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6829
 
$as_echo "$ac_ct_RANLIB" >&6; }
6830
 
else
6831
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832
 
$as_echo "no" >&6; }
6833
 
fi
6834
 
 
6835
 
  if test "x$ac_ct_RANLIB" = x; then
6836
 
    RANLIB=":"
6837
 
  else
6838
 
    case $cross_compiling:$ac_tool_warned in
6839
 
yes:)
6840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6841
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6842
 
ac_tool_warned=yes ;;
6843
 
esac
6844
 
    RANLIB=$ac_ct_RANLIB
6845
 
  fi
6846
 
else
6847
 
  RANLIB="$ac_cv_prog_RANLIB"
6848
 
fi
6849
 
 
6850
 
test -z "$RANLIB" && RANLIB=:
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
# Determine commands to create old-style static archives.
6858
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6859
 
old_postinstall_cmds='chmod 644 $oldlib'
6860
 
old_postuninstall_cmds=
6861
 
 
6862
 
if test -n "$RANLIB"; then
6863
 
  case $host_os in
6864
 
  openbsd*)
6865
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6866
 
    ;;
6867
 
  *)
6868
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6869
 
    ;;
6870
 
  esac
6871
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6872
 
fi
6873
 
 
6874
 
case $host_os in
6875
 
  darwin*)
6876
 
    lock_old_archive_extraction=yes ;;
6877
 
  *)
6878
 
    lock_old_archive_extraction=no ;;
6879
 
esac
6880
 
 
6881
 
 
6882
 
 
6883
 
 
6884
 
 
6885
 
 
6886
 
 
6887
 
 
6888
 
 
6889
 
 
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
 
 
6896
 
 
6897
 
 
6898
 
 
6899
 
 
6900
 
 
6901
 
 
6902
 
 
6903
 
 
6904
 
 
6905
 
 
6906
 
 
6907
 
 
6908
 
 
6909
 
 
6910
 
 
6911
 
 
6912
 
 
6913
 
 
6914
 
 
6915
 
 
6916
 
 
6917
 
 
6918
 
 
6919
 
# If no C compiler was specified, use CC.
6920
 
LTCC=${LTCC-"$CC"}
6921
 
 
6922
 
# If no C compiler flags were specified, use CFLAGS.
6923
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6924
 
 
6925
 
# Allow CC to be a program name with arguments.
6926
 
compiler=$CC
6927
 
 
6928
 
 
6929
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6930
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6931
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6932
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6933
 
  $as_echo_n "(cached) " >&6
6934
 
else
6935
 
 
6936
 
# These are sane defaults that work on at least a few old systems.
6937
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6938
 
 
6939
 
# Character class describing NM global symbol codes.
6940
 
symcode='[BCDEGRST]'
6941
 
 
6942
 
# Regexp to match symbols that can be accessed directly from C.
6943
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6944
 
 
6945
 
# Define system-specific variables.
6946
 
case $host_os in
6947
 
aix*)
6948
 
  symcode='[BCDT]'
6949
 
  ;;
6950
 
cygwin* | mingw* | pw32* | cegcc*)
6951
 
  symcode='[ABCDGISTW]'
6952
 
  ;;
6953
 
hpux*)
6954
 
  if test "$host_cpu" = ia64; then
6955
 
    symcode='[ABCDEGRST]'
6956
 
  fi
6957
 
  ;;
6958
 
irix* | nonstopux*)
6959
 
  symcode='[BCDEGRST]'
6960
 
  ;;
6961
 
osf*)
6962
 
  symcode='[BCDEGQRST]'
6963
 
  ;;
6964
 
solaris*)
6965
 
  symcode='[BDRT]'
6966
 
  ;;
6967
 
sco3.2v5*)
6968
 
  symcode='[DT]'
6969
 
  ;;
6970
 
sysv4.2uw2*)
6971
 
  symcode='[DT]'
6972
 
  ;;
6973
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6974
 
  symcode='[ABDT]'
6975
 
  ;;
6976
 
sysv4)
6977
 
  symcode='[DFNSTU]'
6978
 
  ;;
6979
 
esac
6980
 
 
6981
 
# If we're using GNU nm, then use its standard symbol codes.
6982
 
case `$NM -V 2>&1` in
6983
 
*GNU* | *'with BFD'*)
6984
 
  symcode='[ABCDGIRSTW]' ;;
6985
 
esac
6986
 
 
6987
 
# Transform an extracted symbol line into a proper C declaration.
6988
 
# Some systems (esp. on ia64) link data and code symbols differently,
6989
 
# so use this general approach.
6990
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6991
 
 
6992
 
# Transform an extracted symbol line into symbol name and symbol address
6993
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6994
 
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'"
6995
 
 
6996
 
# Handle CRLF in mingw tool chain
6997
 
opt_cr=
6998
 
case $build_os in
6999
 
mingw*)
7000
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7001
 
  ;;
7002
 
esac
7003
 
 
7004
 
# Try without a prefix underscore, then with it.
7005
 
for ac_symprfx in "" "_"; do
7006
 
 
7007
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7008
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7009
 
 
7010
 
  # Write the raw and C identifiers.
7011
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7012
 
    # Fake it for dumpbin and say T for any non-static function
7013
 
    # and D for any global variable.
7014
 
    # Also find C++ and __fastcall symbols from MSVC++,
7015
 
    # which start with @ or ?.
7016
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7017
 
"     {last_section=section; section=\$ 3};"\
7018
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7019
 
"     \$ 0!~/External *\|/{next};"\
7020
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7021
 
"     {if(hide[section]) next};"\
7022
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7023
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7024
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7025
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7026
 
"     ' prfx=^$ac_symprfx"
7027
 
  else
7028
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7029
 
  fi
7030
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7031
 
 
7032
 
  # Check to see that the pipe works correctly.
7033
 
  pipe_works=no
7034
 
 
7035
 
  rm -f conftest*
7036
 
  cat > conftest.$ac_ext <<_LT_EOF
7037
 
#ifdef __cplusplus
7038
 
extern "C" {
7039
 
#endif
7040
 
char nm_test_var;
7041
 
void nm_test_func(void);
7042
 
void nm_test_func(void){}
7043
 
#ifdef __cplusplus
7044
 
}
7045
 
#endif
7046
 
int main(){nm_test_var='a';nm_test_func();return(0);}
7047
 
_LT_EOF
7048
 
 
7049
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7050
 
  (eval $ac_compile) 2>&5
7051
 
  ac_status=$?
7052
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7053
 
  test $ac_status = 0; }; then
7054
 
    # Now try to grab the symbols.
7055
 
    nlist=conftest.nm
7056
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7057
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7058
 
  ac_status=$?
7059
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060
 
  test $ac_status = 0; } && test -s "$nlist"; then
7061
 
      # Try sorting and uniquifying the output.
7062
 
      if sort "$nlist" | uniq > "$nlist"T; then
7063
 
        mv -f "$nlist"T "$nlist"
7064
 
      else
7065
 
        rm -f "$nlist"T
7066
 
      fi
7067
 
 
7068
 
      # Make sure that we snagged all the symbols we need.
7069
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7070
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7071
 
          cat <<_LT_EOF > conftest.$ac_ext
7072
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7073
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7074
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7075
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7076
 
# define LT_DLSYM_CONST
7077
 
#elif defined(__osf__)
7078
 
/* This system does not cope well with relocations in const data.  */
7079
 
# define LT_DLSYM_CONST
7080
 
#else
7081
 
# define LT_DLSYM_CONST const
7082
 
#endif
7083
 
 
7084
 
#ifdef __cplusplus
7085
 
extern "C" {
7086
 
#endif
7087
 
 
7088
 
_LT_EOF
7089
 
          # Now generate the symbol file.
7090
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7091
 
 
7092
 
          cat <<_LT_EOF >> conftest.$ac_ext
7093
 
 
7094
 
/* The mapping between symbol names and symbols.  */
7095
 
LT_DLSYM_CONST struct {
7096
 
  const char *name;
7097
 
  void       *address;
7098
 
}
7099
 
lt__PROGRAM__LTX_preloaded_symbols[] =
7100
 
{
7101
 
  { "@PROGRAM@", (void *) 0 },
7102
 
_LT_EOF
7103
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7104
 
          cat <<\_LT_EOF >> conftest.$ac_ext
7105
 
  {0, (void *) 0}
7106
 
};
7107
 
 
7108
 
/* This works around a problem in FreeBSD linker */
7109
 
#ifdef FREEBSD_WORKAROUND
7110
 
static const void *lt_preloaded_setup() {
7111
 
  return lt__PROGRAM__LTX_preloaded_symbols;
7112
 
}
7113
 
#endif
7114
 
 
7115
 
#ifdef __cplusplus
7116
 
}
7117
 
#endif
7118
 
_LT_EOF
7119
 
          # Now try linking the two files.
7120
 
          mv conftest.$ac_objext conftstm.$ac_objext
7121
 
          lt_globsym_save_LIBS=$LIBS
7122
 
          lt_globsym_save_CFLAGS=$CFLAGS
7123
 
          LIBS="conftstm.$ac_objext"
7124
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7125
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7126
 
  (eval $ac_link) 2>&5
7127
 
  ac_status=$?
7128
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7130
 
            pipe_works=yes
7131
 
          fi
7132
 
          LIBS=$lt_globsym_save_LIBS
7133
 
          CFLAGS=$lt_globsym_save_CFLAGS
7134
 
        else
7135
 
          echo "cannot find nm_test_func in $nlist" >&5
7136
 
        fi
7137
 
      else
7138
 
        echo "cannot find nm_test_var in $nlist" >&5
7139
 
      fi
7140
 
    else
7141
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7142
 
    fi
7143
 
  else
7144
 
    echo "$progname: failed program was:" >&5
7145
 
    cat conftest.$ac_ext >&5
7146
 
  fi
7147
 
  rm -rf conftest* conftst*
7148
 
 
7149
 
  # Do not use the global_symbol_pipe unless it works.
7150
 
  if test "$pipe_works" = yes; then
7151
 
    break
7152
 
  else
7153
 
    lt_cv_sys_global_symbol_pipe=
7154
 
  fi
7155
 
done
7156
 
 
7157
 
fi
7158
 
 
7159
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7160
 
  lt_cv_sys_global_symbol_to_cdecl=
7161
 
fi
7162
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7163
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7164
 
$as_echo "failed" >&6; }
7165
 
else
7166
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7167
 
$as_echo "ok" >&6; }
7168
 
fi
7169
 
 
7170
 
# Response file support.
7171
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7172
 
  nm_file_list_spec='@'
7173
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7174
 
  nm_file_list_spec='@'
7175
 
fi
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
 
7192
 
 
7193
 
 
7194
 
 
7195
 
 
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7204
 
$as_echo_n "checking for sysroot... " >&6; }
7205
 
 
7206
 
# Check whether --with-sysroot was given.
7207
 
if test "${with_sysroot+set}" = set; then :
7208
 
  withval=$with_sysroot;
7209
 
else
7210
 
  with_sysroot=no
7211
 
fi
7212
 
 
7213
 
 
7214
 
lt_sysroot=
7215
 
case ${with_sysroot} in #(
7216
 
 yes)
7217
 
   if test "$GCC" = yes; then
7218
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7219
 
   fi
7220
 
   ;; #(
7221
 
 /*)
7222
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7223
 
   ;; #(
7224
 
 no|'')
7225
 
   ;; #(
7226
 
 *)
7227
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7228
 
$as_echo "${with_sysroot}" >&6; }
7229
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7230
 
   ;;
7231
 
esac
7232
 
 
7233
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7234
 
$as_echo "${lt_sysroot:-no}" >&6; }
7235
 
 
7236
 
 
7237
 
 
7238
 
 
7239
 
 
7240
 
# Check whether --enable-libtool-lock was given.
7241
 
if test "${enable_libtool_lock+set}" = set; then :
7242
 
  enableval=$enable_libtool_lock;
7243
 
fi
7244
 
 
7245
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7246
 
 
7247
 
# Some flags need to be propagated to the compiler or linker for good
7248
 
# libtool support.
7249
 
case $host in
7250
 
ia64-*-hpux*)
7251
 
  # Find out which ABI we are using.
7252
 
  echo 'int i;' > conftest.$ac_ext
7253
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254
 
  (eval $ac_compile) 2>&5
7255
 
  ac_status=$?
7256
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257
 
  test $ac_status = 0; }; then
7258
 
    case `/usr/bin/file conftest.$ac_objext` in
7259
 
      *ELF-32*)
7260
 
        HPUX_IA64_MODE="32"
7261
 
        ;;
7262
 
      *ELF-64*)
7263
 
        HPUX_IA64_MODE="64"
7264
 
        ;;
7265
 
    esac
7266
 
  fi
7267
 
  rm -rf conftest*
7268
 
  ;;
7269
 
*-*-irix6*)
7270
 
  # Find out which ABI we are using.
7271
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7272
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7273
 
  (eval $ac_compile) 2>&5
7274
 
  ac_status=$?
7275
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7276
 
  test $ac_status = 0; }; then
7277
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7278
 
      case `/usr/bin/file conftest.$ac_objext` in
7279
 
        *32-bit*)
7280
 
          LD="${LD-ld} -melf32bsmip"
7281
 
          ;;
7282
 
        *N32*)
7283
 
          LD="${LD-ld} -melf32bmipn32"
7284
 
          ;;
7285
 
        *64-bit*)
7286
 
          LD="${LD-ld} -melf64bmip"
7287
 
        ;;
7288
 
      esac
7289
 
    else
7290
 
      case `/usr/bin/file conftest.$ac_objext` in
7291
 
        *32-bit*)
7292
 
          LD="${LD-ld} -32"
7293
 
          ;;
7294
 
        *N32*)
7295
 
          LD="${LD-ld} -n32"
7296
 
          ;;
7297
 
        *64-bit*)
7298
 
          LD="${LD-ld} -64"
7299
 
          ;;
7300
 
      esac
7301
 
    fi
7302
 
  fi
7303
 
  rm -rf conftest*
7304
 
  ;;
7305
 
 
7306
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7307
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7308
 
  # Find out which ABI we are using.
7309
 
  echo 'int i;' > conftest.$ac_ext
7310
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311
 
  (eval $ac_compile) 2>&5
7312
 
  ac_status=$?
7313
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314
 
  test $ac_status = 0; }; then
7315
 
    case `/usr/bin/file conftest.o` in
7316
 
      *32-bit*)
7317
 
        case $host in
7318
 
          x86_64-*kfreebsd*-gnu)
7319
 
            LD="${LD-ld} -m elf_i386_fbsd"
7320
 
            ;;
7321
 
          x86_64-*linux*)
7322
 
            LD="${LD-ld} -m elf_i386"
7323
 
            ;;
7324
 
          ppc64-*linux*|powerpc64-*linux*)
7325
 
            LD="${LD-ld} -m elf32ppclinux"
7326
 
            ;;
7327
 
          s390x-*linux*)
7328
 
            LD="${LD-ld} -m elf_s390"
7329
 
            ;;
7330
 
          sparc64-*linux*)
7331
 
            LD="${LD-ld} -m elf32_sparc"
7332
 
            ;;
7333
 
        esac
7334
 
        ;;
7335
 
      *64-bit*)
7336
 
        case $host in
7337
 
          x86_64-*kfreebsd*-gnu)
7338
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7339
 
            ;;
7340
 
          x86_64-*linux*)
7341
 
            LD="${LD-ld} -m elf_x86_64"
7342
 
            ;;
7343
 
          ppc*-*linux*|powerpc*-*linux*)
7344
 
            LD="${LD-ld} -m elf64ppc"
7345
 
            ;;
7346
 
          s390*-*linux*|s390*-*tpf*)
7347
 
            LD="${LD-ld} -m elf64_s390"
7348
 
            ;;
7349
 
          sparc*-*linux*)
7350
 
            LD="${LD-ld} -m elf64_sparc"
7351
 
            ;;
7352
 
        esac
7353
 
        ;;
7354
 
    esac
7355
 
  fi
7356
 
  rm -rf conftest*
7357
 
  ;;
7358
 
 
7359
 
*-*-sco3.2v5*)
7360
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7361
 
  SAVE_CFLAGS="$CFLAGS"
7362
 
  CFLAGS="$CFLAGS -belf"
7363
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7364
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7365
 
if ${lt_cv_cc_needs_belf+:} false; then :
7366
 
  $as_echo_n "(cached) " >&6
7367
 
else
7368
 
  ac_ext=c
7369
 
ac_cpp='$CPP $CPPFLAGS'
7370
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7371
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7372
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373
 
 
7374
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375
 
/* end confdefs.h.  */
7376
 
 
7377
 
int
7378
 
main ()
7379
 
{
7380
 
 
7381
 
  ;
7382
 
  return 0;
7383
 
}
7384
 
_ACEOF
7385
 
if ac_fn_c_try_link "$LINENO"; then :
7386
 
  lt_cv_cc_needs_belf=yes
7387
 
else
7388
 
  lt_cv_cc_needs_belf=no
7389
 
fi
7390
 
rm -f core conftest.err conftest.$ac_objext \
7391
 
    conftest$ac_exeext conftest.$ac_ext
7392
 
     ac_ext=c
7393
 
ac_cpp='$CPP $CPPFLAGS'
7394
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7395
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7396
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7397
 
 
7398
 
fi
7399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7400
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7401
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7402
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7403
 
    CFLAGS="$SAVE_CFLAGS"
7404
 
  fi
7405
 
  ;;
7406
 
sparc*-*solaris*)
7407
 
  # Find out which ABI we are using.
7408
 
  echo 'int i;' > conftest.$ac_ext
7409
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7410
 
  (eval $ac_compile) 2>&5
7411
 
  ac_status=$?
7412
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7413
 
  test $ac_status = 0; }; then
7414
 
    case `/usr/bin/file conftest.o` in
7415
 
    *64-bit*)
7416
 
      case $lt_cv_prog_gnu_ld in
7417
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7418
 
      *)
7419
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7420
 
          LD="${LD-ld} -64"
7421
 
        fi
7422
 
        ;;
7423
 
      esac
7424
 
      ;;
7425
 
    esac
7426
 
  fi
7427
 
  rm -rf conftest*
7428
 
  ;;
7429
 
esac
7430
 
 
7431
 
need_locks="$enable_libtool_lock"
7432
 
 
7433
 
if test -n "$ac_tool_prefix"; then
7434
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7435
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
7436
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437
 
$as_echo_n "checking for $ac_word... " >&6; }
7438
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7439
 
  $as_echo_n "(cached) " >&6
7440
 
else
7441
 
  if test -n "$MANIFEST_TOOL"; then
7442
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7443
 
else
7444
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445
 
for as_dir in $PATH
7446
 
do
7447
 
  IFS=$as_save_IFS
7448
 
  test -z "$as_dir" && as_dir=.
7449
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7450
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7452
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453
 
    break 2
7454
 
  fi
7455
 
done
7456
 
  done
7457
 
IFS=$as_save_IFS
7458
 
 
7459
 
fi
7460
 
fi
7461
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7462
 
if test -n "$MANIFEST_TOOL"; then
7463
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7464
 
$as_echo "$MANIFEST_TOOL" >&6; }
7465
 
else
7466
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467
 
$as_echo "no" >&6; }
7468
 
fi
7469
 
 
7470
 
 
7471
 
fi
7472
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7473
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7474
 
  # Extract the first word of "mt", so it can be a program name with args.
7475
 
set dummy mt; ac_word=$2
7476
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477
 
$as_echo_n "checking for $ac_word... " >&6; }
7478
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7479
 
  $as_echo_n "(cached) " >&6
7480
 
else
7481
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
7482
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7483
 
else
7484
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485
 
for as_dir in $PATH
7486
 
do
7487
 
  IFS=$as_save_IFS
7488
 
  test -z "$as_dir" && as_dir=.
7489
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7490
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7492
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493
 
    break 2
7494
 
  fi
7495
 
done
7496
 
  done
7497
 
IFS=$as_save_IFS
7498
 
 
7499
 
fi
7500
 
fi
7501
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7502
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
7503
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7504
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7505
 
else
7506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507
 
$as_echo "no" >&6; }
7508
 
fi
7509
 
 
7510
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7511
 
    MANIFEST_TOOL=":"
7512
 
  else
7513
 
    case $cross_compiling:$ac_tool_warned in
7514
 
yes:)
7515
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517
 
ac_tool_warned=yes ;;
7518
 
esac
7519
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7520
 
  fi
7521
 
else
7522
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7523
 
fi
7524
 
 
7525
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7526
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7527
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7528
 
if ${lt_cv_path_mainfest_tool+:} false; then :
7529
 
  $as_echo_n "(cached) " >&6
7530
 
else
7531
 
  lt_cv_path_mainfest_tool=no
7532
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7533
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7534
 
  cat conftest.err >&5
7535
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7536
 
    lt_cv_path_mainfest_tool=yes
7537
 
  fi
7538
 
  rm -f conftest*
7539
 
fi
7540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7541
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7542
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7543
 
  MANIFEST_TOOL=:
7544
 
fi
7545
 
 
7546
 
 
7547
 
 
7548
 
 
7549
 
 
7550
 
 
7551
 
  case $host_os in
7552
 
    rhapsody* | darwin*)
7553
 
    if test -n "$ac_tool_prefix"; then
7554
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7555
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557
 
$as_echo_n "checking for $ac_word... " >&6; }
7558
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7559
 
  $as_echo_n "(cached) " >&6
7560
 
else
7561
 
  if test -n "$DSYMUTIL"; then
7562
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7563
 
else
7564
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565
 
for as_dir in $PATH
7566
 
do
7567
 
  IFS=$as_save_IFS
7568
 
  test -z "$as_dir" && as_dir=.
7569
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7570
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7572
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573
 
    break 2
7574
 
  fi
7575
 
done
7576
 
  done
7577
 
IFS=$as_save_IFS
7578
 
 
7579
 
fi
7580
 
fi
7581
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7582
 
if test -n "$DSYMUTIL"; then
7583
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7584
 
$as_echo "$DSYMUTIL" >&6; }
7585
 
else
7586
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587
 
$as_echo "no" >&6; }
7588
 
fi
7589
 
 
7590
 
 
7591
 
fi
7592
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
7593
 
  ac_ct_DSYMUTIL=$DSYMUTIL
7594
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
7595
 
set dummy dsymutil; ac_word=$2
7596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597
 
$as_echo_n "checking for $ac_word... " >&6; }
7598
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7599
 
  $as_echo_n "(cached) " >&6
7600
 
else
7601
 
  if test -n "$ac_ct_DSYMUTIL"; then
7602
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7603
 
else
7604
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7605
 
for as_dir in $PATH
7606
 
do
7607
 
  IFS=$as_save_IFS
7608
 
  test -z "$as_dir" && as_dir=.
7609
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7610
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7612
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613
 
    break 2
7614
 
  fi
7615
 
done
7616
 
  done
7617
 
IFS=$as_save_IFS
7618
 
 
7619
 
fi
7620
 
fi
7621
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7622
 
if test -n "$ac_ct_DSYMUTIL"; then
7623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7624
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7625
 
else
7626
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627
 
$as_echo "no" >&6; }
7628
 
fi
7629
 
 
7630
 
  if test "x$ac_ct_DSYMUTIL" = x; then
7631
 
    DSYMUTIL=":"
7632
 
  else
7633
 
    case $cross_compiling:$ac_tool_warned in
7634
 
yes:)
7635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7636
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7637
 
ac_tool_warned=yes ;;
7638
 
esac
7639
 
    DSYMUTIL=$ac_ct_DSYMUTIL
7640
 
  fi
7641
 
else
7642
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7643
 
fi
7644
 
 
7645
 
    if test -n "$ac_tool_prefix"; then
7646
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7647
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649
 
$as_echo_n "checking for $ac_word... " >&6; }
7650
 
if ${ac_cv_prog_NMEDIT+:} false; then :
7651
 
  $as_echo_n "(cached) " >&6
7652
 
else
7653
 
  if test -n "$NMEDIT"; then
7654
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7655
 
else
7656
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657
 
for as_dir in $PATH
7658
 
do
7659
 
  IFS=$as_save_IFS
7660
 
  test -z "$as_dir" && as_dir=.
7661
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7662
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7663
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7664
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665
 
    break 2
7666
 
  fi
7667
 
done
7668
 
  done
7669
 
IFS=$as_save_IFS
7670
 
 
7671
 
fi
7672
 
fi
7673
 
NMEDIT=$ac_cv_prog_NMEDIT
7674
 
if test -n "$NMEDIT"; then
7675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7676
 
$as_echo "$NMEDIT" >&6; }
7677
 
else
7678
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7679
 
$as_echo "no" >&6; }
7680
 
fi
7681
 
 
7682
 
 
7683
 
fi
7684
 
if test -z "$ac_cv_prog_NMEDIT"; then
7685
 
  ac_ct_NMEDIT=$NMEDIT
7686
 
  # Extract the first word of "nmedit", so it can be a program name with args.
7687
 
set dummy nmedit; ac_word=$2
7688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689
 
$as_echo_n "checking for $ac_word... " >&6; }
7690
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7691
 
  $as_echo_n "(cached) " >&6
7692
 
else
7693
 
  if test -n "$ac_ct_NMEDIT"; then
7694
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7695
 
else
7696
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697
 
for as_dir in $PATH
7698
 
do
7699
 
  IFS=$as_save_IFS
7700
 
  test -z "$as_dir" && as_dir=.
7701
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7702
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7704
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7705
 
    break 2
7706
 
  fi
7707
 
done
7708
 
  done
7709
 
IFS=$as_save_IFS
7710
 
 
7711
 
fi
7712
 
fi
7713
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7714
 
if test -n "$ac_ct_NMEDIT"; then
7715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7716
 
$as_echo "$ac_ct_NMEDIT" >&6; }
7717
 
else
7718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719
 
$as_echo "no" >&6; }
7720
 
fi
7721
 
 
7722
 
  if test "x$ac_ct_NMEDIT" = x; then
7723
 
    NMEDIT=":"
7724
 
  else
7725
 
    case $cross_compiling:$ac_tool_warned in
7726
 
yes:)
7727
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7728
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7729
 
ac_tool_warned=yes ;;
7730
 
esac
7731
 
    NMEDIT=$ac_ct_NMEDIT
7732
 
  fi
7733
 
else
7734
 
  NMEDIT="$ac_cv_prog_NMEDIT"
7735
 
fi
7736
 
 
7737
 
    if test -n "$ac_tool_prefix"; then
7738
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7739
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7740
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741
 
$as_echo_n "checking for $ac_word... " >&6; }
7742
 
if ${ac_cv_prog_LIPO+:} false; then :
7743
 
  $as_echo_n "(cached) " >&6
7744
 
else
7745
 
  if test -n "$LIPO"; then
7746
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7747
 
else
7748
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749
 
for as_dir in $PATH
7750
 
do
7751
 
  IFS=$as_save_IFS
7752
 
  test -z "$as_dir" && as_dir=.
7753
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7754
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7755
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7756
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7757
 
    break 2
7758
 
  fi
7759
 
done
7760
 
  done
7761
 
IFS=$as_save_IFS
7762
 
 
7763
 
fi
7764
 
fi
7765
 
LIPO=$ac_cv_prog_LIPO
7766
 
if test -n "$LIPO"; then
7767
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7768
 
$as_echo "$LIPO" >&6; }
7769
 
else
7770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771
 
$as_echo "no" >&6; }
7772
 
fi
7773
 
 
7774
 
 
7775
 
fi
7776
 
if test -z "$ac_cv_prog_LIPO"; then
7777
 
  ac_ct_LIPO=$LIPO
7778
 
  # Extract the first word of "lipo", so it can be a program name with args.
7779
 
set dummy lipo; ac_word=$2
7780
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781
 
$as_echo_n "checking for $ac_word... " >&6; }
7782
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7783
 
  $as_echo_n "(cached) " >&6
7784
 
else
7785
 
  if test -n "$ac_ct_LIPO"; then
7786
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7787
 
else
7788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789
 
for as_dir in $PATH
7790
 
do
7791
 
  IFS=$as_save_IFS
7792
 
  test -z "$as_dir" && as_dir=.
7793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7795
 
    ac_cv_prog_ac_ct_LIPO="lipo"
7796
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797
 
    break 2
7798
 
  fi
7799
 
done
7800
 
  done
7801
 
IFS=$as_save_IFS
7802
 
 
7803
 
fi
7804
 
fi
7805
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7806
 
if test -n "$ac_ct_LIPO"; then
7807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7808
 
$as_echo "$ac_ct_LIPO" >&6; }
7809
 
else
7810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811
 
$as_echo "no" >&6; }
7812
 
fi
7813
 
 
7814
 
  if test "x$ac_ct_LIPO" = x; then
7815
 
    LIPO=":"
7816
 
  else
7817
 
    case $cross_compiling:$ac_tool_warned in
7818
 
yes:)
7819
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7820
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7821
 
ac_tool_warned=yes ;;
7822
 
esac
7823
 
    LIPO=$ac_ct_LIPO
7824
 
  fi
7825
 
else
7826
 
  LIPO="$ac_cv_prog_LIPO"
7827
 
fi
7828
 
 
7829
 
    if test -n "$ac_tool_prefix"; then
7830
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7831
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7832
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7833
 
$as_echo_n "checking for $ac_word... " >&6; }
7834
 
if ${ac_cv_prog_OTOOL+:} false; then :
7835
 
  $as_echo_n "(cached) " >&6
7836
 
else
7837
 
  if test -n "$OTOOL"; then
7838
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7839
 
else
7840
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841
 
for as_dir in $PATH
7842
 
do
7843
 
  IFS=$as_save_IFS
7844
 
  test -z "$as_dir" && as_dir=.
7845
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7846
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7847
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7848
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7849
 
    break 2
7850
 
  fi
7851
 
done
7852
 
  done
7853
 
IFS=$as_save_IFS
7854
 
 
7855
 
fi
7856
 
fi
7857
 
OTOOL=$ac_cv_prog_OTOOL
7858
 
if test -n "$OTOOL"; then
7859
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7860
 
$as_echo "$OTOOL" >&6; }
7861
 
else
7862
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863
 
$as_echo "no" >&6; }
7864
 
fi
7865
 
 
7866
 
 
7867
 
fi
7868
 
if test -z "$ac_cv_prog_OTOOL"; then
7869
 
  ac_ct_OTOOL=$OTOOL
7870
 
  # Extract the first word of "otool", so it can be a program name with args.
7871
 
set dummy otool; ac_word=$2
7872
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873
 
$as_echo_n "checking for $ac_word... " >&6; }
7874
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7875
 
  $as_echo_n "(cached) " >&6
7876
 
else
7877
 
  if test -n "$ac_ct_OTOOL"; then
7878
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7879
 
else
7880
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881
 
for as_dir in $PATH
7882
 
do
7883
 
  IFS=$as_save_IFS
7884
 
  test -z "$as_dir" && as_dir=.
7885
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7886
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7887
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7888
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889
 
    break 2
7890
 
  fi
7891
 
done
7892
 
  done
7893
 
IFS=$as_save_IFS
7894
 
 
7895
 
fi
7896
 
fi
7897
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7898
 
if test -n "$ac_ct_OTOOL"; then
7899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7900
 
$as_echo "$ac_ct_OTOOL" >&6; }
7901
 
else
7902
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903
 
$as_echo "no" >&6; }
7904
 
fi
7905
 
 
7906
 
  if test "x$ac_ct_OTOOL" = x; then
7907
 
    OTOOL=":"
7908
 
  else
7909
 
    case $cross_compiling:$ac_tool_warned in
7910
 
yes:)
7911
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7912
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7913
 
ac_tool_warned=yes ;;
7914
 
esac
7915
 
    OTOOL=$ac_ct_OTOOL
7916
 
  fi
7917
 
else
7918
 
  OTOOL="$ac_cv_prog_OTOOL"
7919
 
fi
7920
 
 
7921
 
    if test -n "$ac_tool_prefix"; then
7922
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7923
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925
 
$as_echo_n "checking for $ac_word... " >&6; }
7926
 
if ${ac_cv_prog_OTOOL64+:} false; then :
7927
 
  $as_echo_n "(cached) " >&6
7928
 
else
7929
 
  if test -n "$OTOOL64"; then
7930
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7931
 
else
7932
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933
 
for as_dir in $PATH
7934
 
do
7935
 
  IFS=$as_save_IFS
7936
 
  test -z "$as_dir" && as_dir=.
7937
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7938
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7940
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7941
 
    break 2
7942
 
  fi
7943
 
done
7944
 
  done
7945
 
IFS=$as_save_IFS
7946
 
 
7947
 
fi
7948
 
fi
7949
 
OTOOL64=$ac_cv_prog_OTOOL64
7950
 
if test -n "$OTOOL64"; then
7951
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7952
 
$as_echo "$OTOOL64" >&6; }
7953
 
else
7954
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955
 
$as_echo "no" >&6; }
7956
 
fi
7957
 
 
7958
 
 
7959
 
fi
7960
 
if test -z "$ac_cv_prog_OTOOL64"; then
7961
 
  ac_ct_OTOOL64=$OTOOL64
7962
 
  # Extract the first word of "otool64", so it can be a program name with args.
7963
 
set dummy otool64; ac_word=$2
7964
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965
 
$as_echo_n "checking for $ac_word... " >&6; }
7966
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7967
 
  $as_echo_n "(cached) " >&6
7968
 
else
7969
 
  if test -n "$ac_ct_OTOOL64"; then
7970
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7971
 
else
7972
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973
 
for as_dir in $PATH
7974
 
do
7975
 
  IFS=$as_save_IFS
7976
 
  test -z "$as_dir" && as_dir=.
7977
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7978
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7980
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7981
 
    break 2
7982
 
  fi
7983
 
done
7984
 
  done
7985
 
IFS=$as_save_IFS
7986
 
 
7987
 
fi
7988
 
fi
7989
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7990
 
if test -n "$ac_ct_OTOOL64"; then
7991
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7992
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7993
 
else
7994
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995
 
$as_echo "no" >&6; }
7996
 
fi
7997
 
 
7998
 
  if test "x$ac_ct_OTOOL64" = x; then
7999
 
    OTOOL64=":"
8000
 
  else
8001
 
    case $cross_compiling:$ac_tool_warned in
8002
 
yes:)
8003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8004
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8005
 
ac_tool_warned=yes ;;
8006
 
esac
8007
 
    OTOOL64=$ac_ct_OTOOL64
8008
 
  fi
8009
 
else
8010
 
  OTOOL64="$ac_cv_prog_OTOOL64"
8011
 
fi
8012
 
 
8013
 
 
8014
 
 
8015
 
 
8016
 
 
8017
 
 
8018
 
 
8019
 
 
8020
 
 
8021
 
 
8022
 
 
8023
 
 
8024
 
 
8025
 
 
8026
 
 
8027
 
 
8028
 
 
8029
 
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8040
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
8041
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
8042
 
  $as_echo_n "(cached) " >&6
8043
 
else
8044
 
  lt_cv_apple_cc_single_mod=no
8045
 
      if test -z "${LT_MULTI_MODULE}"; then
8046
 
        # By default we will add the -single_module flag. You can override
8047
 
        # by either setting the environment variable LT_MULTI_MODULE
8048
 
        # non-empty at configure time, or by adding -multi_module to the
8049
 
        # link flags.
8050
 
        rm -rf libconftest.dylib*
8051
 
        echo "int foo(void){return 1;}" > conftest.c
8052
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8053
 
-dynamiclib -Wl,-single_module conftest.c" >&5
8054
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8055
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8056
 
        _lt_result=$?
8057
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8058
 
          lt_cv_apple_cc_single_mod=yes
8059
 
        else
8060
 
          cat conftest.err >&5
8061
 
        fi
8062
 
        rm -rf libconftest.dylib*
8063
 
        rm -f conftest.*
8064
 
      fi
8065
 
fi
8066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8067
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8068
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8069
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8070
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8071
 
  $as_echo_n "(cached) " >&6
8072
 
else
8073
 
  lt_cv_ld_exported_symbols_list=no
8074
 
      save_LDFLAGS=$LDFLAGS
8075
 
      echo "_main" > conftest.sym
8076
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8077
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078
 
/* end confdefs.h.  */
8079
 
 
8080
 
int
8081
 
main ()
8082
 
{
8083
 
 
8084
 
  ;
8085
 
  return 0;
8086
 
}
8087
 
_ACEOF
8088
 
if ac_fn_c_try_link "$LINENO"; then :
8089
 
  lt_cv_ld_exported_symbols_list=yes
8090
 
else
8091
 
  lt_cv_ld_exported_symbols_list=no
8092
 
fi
8093
 
rm -f core conftest.err conftest.$ac_objext \
8094
 
    conftest$ac_exeext conftest.$ac_ext
8095
 
        LDFLAGS="$save_LDFLAGS"
8096
 
 
8097
 
fi
8098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8099
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8100
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8101
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
8102
 
if ${lt_cv_ld_force_load+:} false; then :
8103
 
  $as_echo_n "(cached) " >&6
8104
 
else
8105
 
  lt_cv_ld_force_load=no
8106
 
      cat > conftest.c << _LT_EOF
8107
 
int forced_loaded() { return 2;}
8108
 
_LT_EOF
8109
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8110
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8111
 
      echo "$AR cru libconftest.a conftest.o" >&5
8112
 
      $AR cru libconftest.a conftest.o 2>&5
8113
 
      echo "$RANLIB libconftest.a" >&5
8114
 
      $RANLIB libconftest.a 2>&5
8115
 
      cat > conftest.c << _LT_EOF
8116
 
int main() { return 0;}
8117
 
_LT_EOF
8118
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8119
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8120
 
      _lt_result=$?
8121
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8122
 
        lt_cv_ld_force_load=yes
8123
 
      else
8124
 
        cat conftest.err >&5
8125
 
      fi
8126
 
        rm -f conftest.err libconftest.a conftest conftest.c
8127
 
        rm -rf conftest.dSYM
8128
 
 
8129
 
fi
8130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8131
 
$as_echo "$lt_cv_ld_force_load" >&6; }
8132
 
    case $host_os in
8133
 
    rhapsody* | darwin1.[012])
8134
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8135
 
    darwin1.*)
8136
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8137
 
    darwin*) # darwin 5.x on
8138
 
      # if running on 10.5 or later, the deployment target defaults
8139
 
      # to the OS version, if on x86, and 10.4, the deployment
8140
 
      # target defaults to 10.4. Don't you love it?
8141
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8142
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8143
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8144
 
        10.[012]*)
8145
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8146
 
        10.*)
8147
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8148
 
      esac
8149
 
    ;;
8150
 
  esac
8151
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8152
 
      _lt_dar_single_mod='$single_module'
8153
 
    fi
8154
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8155
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8156
 
    else
8157
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8158
 
    fi
8159
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8160
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8161
 
    else
8162
 
      _lt_dsymutil=
8163
 
    fi
8164
 
    ;;
8165
 
  esac
8166
 
 
8167
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8168
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8169
 
                  inttypes.h stdint.h unistd.h
8170
 
do :
8171
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8172
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8173
 
"
8174
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8175
 
  cat >>confdefs.h <<_ACEOF
8176
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8177
 
_ACEOF
8178
 
 
8179
 
fi
8180
 
 
8181
 
done
8182
 
 
8183
 
 
8184
 
for ac_header in dlfcn.h
8185
 
do :
8186
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8187
 
"
8188
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8189
 
  cat >>confdefs.h <<_ACEOF
8190
 
#define HAVE_DLFCN_H 1
8191
 
_ACEOF
8192
 
 
8193
 
fi
8194
 
 
8195
 
done
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
 
 
8201
 
# Set options
8202
 
 
8203
 
 
8204
 
 
8205
 
        enable_dlopen=no
8206
 
 
8207
 
 
8208
 
  enable_win32_dll=no
8209
 
 
8210
 
 
8211
 
            # Check whether --enable-shared was given.
8212
 
if test "${enable_shared+set}" = set; then :
8213
 
  enableval=$enable_shared; p=${PACKAGE-default}
8214
 
    case $enableval in
8215
 
    yes) enable_shared=yes ;;
8216
 
    no) enable_shared=no ;;
8217
 
    *)
8218
 
      enable_shared=no
8219
 
      # Look at the argument we got.  We use all the common list separators.
8220
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8221
 
      for pkg in $enableval; do
8222
 
        IFS="$lt_save_ifs"
8223
 
        if test "X$pkg" = "X$p"; then
8224
 
          enable_shared=yes
8225
 
        fi
8226
 
      done
8227
 
      IFS="$lt_save_ifs"
8228
 
      ;;
8229
 
    esac
8230
 
else
8231
 
  enable_shared=yes
8232
 
fi
8233
 
 
8234
 
 
8235
 
 
8236
 
 
8237
 
 
8238
 
 
8239
 
 
8240
 
 
8241
 
 
8242
 
  # Check whether --enable-static was given.
8243
 
if test "${enable_static+set}" = set; then :
8244
 
  enableval=$enable_static; p=${PACKAGE-default}
8245
 
    case $enableval in
8246
 
    yes) enable_static=yes ;;
8247
 
    no) enable_static=no ;;
8248
 
    *)
8249
 
     enable_static=no
8250
 
      # Look at the argument we got.  We use all the common list separators.
8251
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8252
 
      for pkg in $enableval; do
8253
 
        IFS="$lt_save_ifs"
8254
 
        if test "X$pkg" = "X$p"; then
8255
 
          enable_static=yes
8256
 
        fi
8257
 
      done
8258
 
      IFS="$lt_save_ifs"
8259
 
      ;;
8260
 
    esac
8261
 
else
8262
 
  enable_static=yes
8263
 
fi
8264
 
 
8265
 
 
8266
 
 
8267
 
 
8268
 
 
8269
 
 
8270
 
 
8271
 
 
8272
 
 
8273
 
 
8274
 
# Check whether --with-pic was given.
8275
 
if test "${with_pic+set}" = set; then :
8276
 
  withval=$with_pic; pic_mode="$withval"
8277
 
else
8278
 
  pic_mode=default
8279
 
fi
8280
 
 
8281
 
 
8282
 
test -z "$pic_mode" && pic_mode=default
8283
 
 
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
 
  # Check whether --enable-fast-install was given.
8291
 
if test "${enable_fast_install+set}" = set; then :
8292
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8293
 
    case $enableval in
8294
 
    yes) enable_fast_install=yes ;;
8295
 
    no) enable_fast_install=no ;;
8296
 
    *)
8297
 
      enable_fast_install=no
8298
 
      # Look at the argument we got.  We use all the common list separators.
8299
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8300
 
      for pkg in $enableval; do
8301
 
        IFS="$lt_save_ifs"
8302
 
        if test "X$pkg" = "X$p"; then
8303
 
          enable_fast_install=yes
8304
 
        fi
8305
 
      done
8306
 
      IFS="$lt_save_ifs"
8307
 
      ;;
8308
 
    esac
8309
 
else
8310
 
  enable_fast_install=yes
8311
 
fi
8312
 
 
8313
 
 
8314
 
 
8315
 
 
8316
 
 
8317
 
 
8318
 
 
8319
 
 
8320
 
 
8321
 
 
8322
 
 
8323
 
# This can be used to rebuild libtool when needed
8324
 
LIBTOOL_DEPS="$ltmain"
8325
 
 
8326
 
# Always use our own libtool.
8327
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8328
 
 
8329
 
 
8330
 
 
8331
 
 
8332
 
 
8333
 
 
8334
 
 
8335
 
 
8336
 
 
8337
 
 
8338
 
 
8339
 
 
8340
 
 
8341
 
 
8342
 
 
8343
 
 
8344
 
 
8345
 
 
8346
 
 
8347
 
 
8348
 
 
8349
 
 
8350
 
 
8351
 
 
8352
 
 
8353
 
 
8354
 
test -z "$LN_S" && LN_S="ln -s"
8355
 
 
8356
 
 
8357
 
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
 
 
8366
 
 
8367
 
 
8368
 
 
8369
 
if test -n "${ZSH_VERSION+set}" ; then
8370
 
   setopt NO_GLOB_SUBST
8371
 
fi
8372
 
 
8373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8374
 
$as_echo_n "checking for objdir... " >&6; }
8375
 
if ${lt_cv_objdir+:} false; then :
8376
 
  $as_echo_n "(cached) " >&6
8377
 
else
8378
 
  rm -f .libs 2>/dev/null
8379
 
mkdir .libs 2>/dev/null
8380
 
if test -d .libs; then
8381
 
  lt_cv_objdir=.libs
8382
 
else
8383
 
  # MS-DOS does not allow filenames that begin with a dot.
8384
 
  lt_cv_objdir=_libs
8385
 
fi
8386
 
rmdir .libs 2>/dev/null
8387
 
fi
8388
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8389
 
$as_echo "$lt_cv_objdir" >&6; }
8390
 
objdir=$lt_cv_objdir
8391
 
 
8392
 
 
8393
 
 
8394
 
 
8395
 
 
8396
 
cat >>confdefs.h <<_ACEOF
8397
 
#define LT_OBJDIR "$lt_cv_objdir/"
8398
 
_ACEOF
8399
 
 
8400
 
 
8401
 
 
8402
 
 
8403
 
case $host_os in
8404
 
aix3*)
8405
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8406
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8407
 
  # vanish in a puff of smoke.
8408
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8409
 
    COLLECT_NAMES=
8410
 
    export COLLECT_NAMES
8411
 
  fi
8412
 
  ;;
8413
 
esac
8414
 
 
8415
 
# Global variables:
8416
 
ofile=libtool
8417
 
can_build_shared=yes
8418
 
 
8419
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8420
 
# which needs '.lib').
8421
 
libext=a
8422
 
 
8423
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8424
 
 
8425
 
old_CC="$CC"
8426
 
old_CFLAGS="$CFLAGS"
8427
 
 
8428
 
# Set sane defaults for various variables
8429
 
test -z "$CC" && CC=cc
8430
 
test -z "$LTCC" && LTCC=$CC
8431
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8432
 
test -z "$LD" && LD=ld
8433
 
test -z "$ac_objext" && ac_objext=o
8434
 
 
8435
 
for cc_temp in $compiler""; do
8436
 
  case $cc_temp in
8437
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8438
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8439
 
    \-*) ;;
8440
 
    *) break;;
8441
 
  esac
8442
 
done
8443
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8444
 
 
8445
 
 
8446
 
# Only perform the check for file, if the check method requires it
8447
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8448
 
case $deplibs_check_method in
8449
 
file_magic*)
8450
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8451
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8452
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8453
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8454
 
  $as_echo_n "(cached) " >&6
8455
 
else
8456
 
  case $MAGIC_CMD in
8457
 
[\\/*] |  ?:[\\/]*)
8458
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8459
 
  ;;
8460
 
*)
8461
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8462
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8463
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8464
 
  for ac_dir in $ac_dummy; do
8465
 
    IFS="$lt_save_ifs"
8466
 
    test -z "$ac_dir" && ac_dir=.
8467
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8468
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8469
 
      if test -n "$file_magic_test_file"; then
8470
 
        case $deplibs_check_method in
8471
 
        "file_magic "*)
8472
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8473
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8474
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8475
 
            $EGREP "$file_magic_regex" > /dev/null; then
8476
 
            :
8477
 
          else
8478
 
            cat <<_LT_EOF 1>&2
8479
 
 
8480
 
*** Warning: the command libtool uses to detect shared libraries,
8481
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8482
 
*** The result is that libtool may fail to recognize shared libraries
8483
 
*** as such.  This will affect the creation of libtool libraries that
8484
 
*** depend on shared libraries, but programs linked with such libtool
8485
 
*** libraries will work regardless of this problem.  Nevertheless, you
8486
 
*** may want to report the problem to your system manager and/or to
8487
 
*** bug-libtool@gnu.org
8488
 
 
8489
 
_LT_EOF
8490
 
          fi ;;
8491
 
        esac
8492
 
      fi
8493
 
      break
8494
 
    fi
8495
 
  done
8496
 
  IFS="$lt_save_ifs"
8497
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8498
 
  ;;
8499
 
esac
8500
 
fi
8501
 
 
8502
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8503
 
if test -n "$MAGIC_CMD"; then
8504
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8505
 
$as_echo "$MAGIC_CMD" >&6; }
8506
 
else
8507
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508
 
$as_echo "no" >&6; }
8509
 
fi
8510
 
 
8511
 
 
8512
 
 
8513
 
 
8514
 
 
8515
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8516
 
  if test -n "$ac_tool_prefix"; then
8517
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8518
 
$as_echo_n "checking for file... " >&6; }
8519
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8520
 
  $as_echo_n "(cached) " >&6
8521
 
else
8522
 
  case $MAGIC_CMD in
8523
 
[\\/*] |  ?:[\\/]*)
8524
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8525
 
  ;;
8526
 
*)
8527
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8528
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8529
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8530
 
  for ac_dir in $ac_dummy; do
8531
 
    IFS="$lt_save_ifs"
8532
 
    test -z "$ac_dir" && ac_dir=.
8533
 
    if test -f $ac_dir/file; then
8534
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8535
 
      if test -n "$file_magic_test_file"; then
8536
 
        case $deplibs_check_method in
8537
 
        "file_magic "*)
8538
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8539
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8540
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8541
 
            $EGREP "$file_magic_regex" > /dev/null; then
8542
 
            :
8543
 
          else
8544
 
            cat <<_LT_EOF 1>&2
8545
 
 
8546
 
*** Warning: the command libtool uses to detect shared libraries,
8547
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8548
 
*** The result is that libtool may fail to recognize shared libraries
8549
 
*** as such.  This will affect the creation of libtool libraries that
8550
 
*** depend on shared libraries, but programs linked with such libtool
8551
 
*** libraries will work regardless of this problem.  Nevertheless, you
8552
 
*** may want to report the problem to your system manager and/or to
8553
 
*** bug-libtool@gnu.org
8554
 
 
8555
 
_LT_EOF
8556
 
          fi ;;
8557
 
        esac
8558
 
      fi
8559
 
      break
8560
 
    fi
8561
 
  done
8562
 
  IFS="$lt_save_ifs"
8563
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8564
 
  ;;
8565
 
esac
8566
 
fi
8567
 
 
8568
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8569
 
if test -n "$MAGIC_CMD"; then
8570
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8571
 
$as_echo "$MAGIC_CMD" >&6; }
8572
 
else
8573
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574
 
$as_echo "no" >&6; }
8575
 
fi
8576
 
 
8577
 
 
8578
 
  else
8579
 
    MAGIC_CMD=:
8580
 
  fi
8581
 
fi
8582
 
 
8583
 
  fi
8584
 
  ;;
8585
 
esac
8586
 
 
8587
 
# Use C for the default configuration in the libtool script
8588
 
 
8589
 
lt_save_CC="$CC"
8590
 
ac_ext=c
8591
 
ac_cpp='$CPP $CPPFLAGS'
8592
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8595
 
 
8596
 
 
8597
 
# Source file extension for C test sources.
8598
 
ac_ext=c
8599
 
 
8600
 
# Object file extension for compiled C test sources.
8601
 
objext=o
8602
 
objext=$objext
8603
 
 
8604
 
# Code to be used in simple compile tests
8605
 
lt_simple_compile_test_code="int some_variable = 0;"
8606
 
 
8607
 
# Code to be used in simple link tests
8608
 
lt_simple_link_test_code='int main(){return(0);}'
8609
 
 
8610
 
 
8611
 
 
8612
 
 
8613
 
 
8614
 
 
8615
 
 
8616
 
# If no C compiler was specified, use CC.
8617
 
LTCC=${LTCC-"$CC"}
8618
 
 
8619
 
# If no C compiler flags were specified, use CFLAGS.
8620
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8621
 
 
8622
 
# Allow CC to be a program name with arguments.
8623
 
compiler=$CC
8624
 
 
8625
 
# Save the default compiler, since it gets overwritten when the other
8626
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8627
 
compiler_DEFAULT=$CC
8628
 
 
8629
 
# save warnings/boilerplate of simple test code
8630
 
ac_outfile=conftest.$ac_objext
8631
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8632
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8633
 
_lt_compiler_boilerplate=`cat conftest.err`
8634
 
$RM conftest*
8635
 
 
8636
 
ac_outfile=conftest.$ac_objext
8637
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8638
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8639
 
_lt_linker_boilerplate=`cat conftest.err`
8640
 
$RM -r conftest*
8641
 
 
8642
 
 
8643
 
## CAVEAT EMPTOR:
8644
 
## There is no encapsulation within the following macros, do not change
8645
 
## the running order or otherwise move them around unless you know exactly
8646
 
## what you are doing...
8647
 
if test -n "$compiler"; then
8648
 
 
8649
 
lt_prog_compiler_no_builtin_flag=
8650
 
 
8651
 
if test "$GCC" = yes; then
8652
 
  case $cc_basename in
8653
 
  nvcc*)
8654
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8655
 
  *)
8656
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8657
 
  esac
8658
 
 
8659
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8660
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8661
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8662
 
  $as_echo_n "(cached) " >&6
8663
 
else
8664
 
  lt_cv_prog_compiler_rtti_exceptions=no
8665
 
   ac_outfile=conftest.$ac_objext
8666
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8667
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8668
 
   # Insert the option either (1) after the last *FLAGS variable, or
8669
 
   # (2) before a word containing "conftest.", or (3) at the end.
8670
 
   # Note that $ac_compile itself does not contain backslashes and begins
8671
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8672
 
   # The option is referenced via a variable to avoid confusing sed.
8673
 
   lt_compile=`echo "$ac_compile" | $SED \
8674
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676
 
   -e 's:$: $lt_compiler_flag:'`
8677
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678
 
   (eval "$lt_compile" 2>conftest.err)
8679
 
   ac_status=$?
8680
 
   cat conftest.err >&5
8681
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8683
 
     # The compiler can only warn and ignore the option if not recognized
8684
 
     # So say no if there are warnings other than the usual output.
8685
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8686
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8687
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8688
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8689
 
     fi
8690
 
   fi
8691
 
   $RM conftest*
8692
 
 
8693
 
fi
8694
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8695
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8696
 
 
8697
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8698
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8699
 
else
8700
 
    :
8701
 
fi
8702
 
 
8703
 
fi
8704
 
 
8705
 
 
8706
 
 
8707
 
 
8708
 
 
8709
 
 
8710
 
  lt_prog_compiler_wl=
8711
 
lt_prog_compiler_pic=
8712
 
lt_prog_compiler_static=
8713
 
 
8714
 
 
8715
 
  if test "$GCC" = yes; then
8716
 
    lt_prog_compiler_wl='-Wl,'
8717
 
    lt_prog_compiler_static='-static'
8718
 
 
8719
 
    case $host_os in
8720
 
      aix*)
8721
 
      # All AIX code is PIC.
8722
 
      if test "$host_cpu" = ia64; then
8723
 
        # AIX 5 now supports IA64 processor
8724
 
        lt_prog_compiler_static='-Bstatic'
8725
 
      fi
8726
 
      ;;
8727
 
 
8728
 
    amigaos*)
8729
 
      case $host_cpu in
8730
 
      powerpc)
8731
 
            # see comment about AmigaOS4 .so support
8732
 
            lt_prog_compiler_pic='-fPIC'
8733
 
        ;;
8734
 
      m68k)
8735
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8736
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8737
 
            # like `-m68040'.
8738
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8739
 
        ;;
8740
 
      esac
8741
 
      ;;
8742
 
 
8743
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8744
 
      # PIC is the default for these OSes.
8745
 
      ;;
8746
 
 
8747
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8748
 
      # This hack is so that the source file can tell whether it is being
8749
 
      # built for inclusion in a dll (and should export symbols for example).
8750
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8751
 
      # (--disable-auto-import) libraries
8752
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8753
 
      ;;
8754
 
 
8755
 
    darwin* | rhapsody*)
8756
 
      # PIC is the default on this platform
8757
 
      # Common symbols not allowed in MH_DYLIB files
8758
 
      lt_prog_compiler_pic='-fno-common'
8759
 
      ;;
8760
 
 
8761
 
    haiku*)
8762
 
      # PIC is the default for Haiku.
8763
 
      # The "-static" flag exists, but is broken.
8764
 
      lt_prog_compiler_static=
8765
 
      ;;
8766
 
 
8767
 
    hpux*)
8768
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8769
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8770
 
      # sets the default TLS model and affects inlining.
8771
 
      case $host_cpu in
8772
 
      hppa*64*)
8773
 
        # +Z the default
8774
 
        ;;
8775
 
      *)
8776
 
        lt_prog_compiler_pic='-fPIC'
8777
 
        ;;
8778
 
      esac
8779
 
      ;;
8780
 
 
8781
 
    interix[3-9]*)
8782
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8783
 
      # Instead, we relocate shared libraries at runtime.
8784
 
      ;;
8785
 
 
8786
 
    msdosdjgpp*)
8787
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8788
 
      # on systems that don't support them.
8789
 
      lt_prog_compiler_can_build_shared=no
8790
 
      enable_shared=no
8791
 
      ;;
8792
 
 
8793
 
    *nto* | *qnx*)
8794
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8795
 
      # it will coredump.
8796
 
      lt_prog_compiler_pic='-fPIC -shared'
8797
 
      ;;
8798
 
 
8799
 
    sysv4*MP*)
8800
 
      if test -d /usr/nec; then
8801
 
        lt_prog_compiler_pic=-Kconform_pic
8802
 
      fi
8803
 
      ;;
8804
 
 
8805
 
    *)
8806
 
      lt_prog_compiler_pic='-fPIC'
8807
 
      ;;
8808
 
    esac
8809
 
 
8810
 
    case $cc_basename in
8811
 
    nvcc*) # Cuda Compiler Driver 2.2
8812
 
      lt_prog_compiler_wl='-Xlinker '
8813
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
8814
 
      ;;
8815
 
    esac
8816
 
  else
8817
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8818
 
    case $host_os in
8819
 
    aix*)
8820
 
      lt_prog_compiler_wl='-Wl,'
8821
 
      if test "$host_cpu" = ia64; then
8822
 
        # AIX 5 now supports IA64 processor
8823
 
        lt_prog_compiler_static='-Bstatic'
8824
 
      else
8825
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8826
 
      fi
8827
 
      ;;
8828
 
 
8829
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8830
 
      # This hack is so that the source file can tell whether it is being
8831
 
      # built for inclusion in a dll (and should export symbols for example).
8832
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8833
 
      ;;
8834
 
 
8835
 
    hpux9* | hpux10* | hpux11*)
8836
 
      lt_prog_compiler_wl='-Wl,'
8837
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8838
 
      # not for PA HP-UX.
8839
 
      case $host_cpu in
8840
 
      hppa*64*|ia64*)
8841
 
        # +Z the default
8842
 
        ;;
8843
 
      *)
8844
 
        lt_prog_compiler_pic='+Z'
8845
 
        ;;
8846
 
      esac
8847
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8848
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8849
 
      ;;
8850
 
 
8851
 
    irix5* | irix6* | nonstopux*)
8852
 
      lt_prog_compiler_wl='-Wl,'
8853
 
      # PIC (with -KPIC) is the default.
8854
 
      lt_prog_compiler_static='-non_shared'
8855
 
      ;;
8856
 
 
8857
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8858
 
      case $cc_basename in
8859
 
      # old Intel for x86_64 which still supported -KPIC.
8860
 
      ecc*)
8861
 
        lt_prog_compiler_wl='-Wl,'
8862
 
        lt_prog_compiler_pic='-KPIC'
8863
 
        lt_prog_compiler_static='-static'
8864
 
        ;;
8865
 
      # icc used to be incompatible with GCC.
8866
 
      # ICC 10 doesn't accept -KPIC any more.
8867
 
      icc* | ifort*)
8868
 
        lt_prog_compiler_wl='-Wl,'
8869
 
        lt_prog_compiler_pic='-fPIC'
8870
 
        lt_prog_compiler_static='-static'
8871
 
        ;;
8872
 
      # Lahey Fortran 8.1.
8873
 
      lf95*)
8874
 
        lt_prog_compiler_wl='-Wl,'
8875
 
        lt_prog_compiler_pic='--shared'
8876
 
        lt_prog_compiler_static='--static'
8877
 
        ;;
8878
 
      nagfor*)
8879
 
        # NAG Fortran compiler
8880
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8881
 
        lt_prog_compiler_pic='-PIC'
8882
 
        lt_prog_compiler_static='-Bstatic'
8883
 
        ;;
8884
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8885
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8886
 
        # which looks to be a dead project)
8887
 
        lt_prog_compiler_wl='-Wl,'
8888
 
        lt_prog_compiler_pic='-fpic'
8889
 
        lt_prog_compiler_static='-Bstatic'
8890
 
        ;;
8891
 
      ccc*)
8892
 
        lt_prog_compiler_wl='-Wl,'
8893
 
        # All Alpha code is PIC.
8894
 
        lt_prog_compiler_static='-non_shared'
8895
 
        ;;
8896
 
      xl* | bgxl* | bgf* | mpixl*)
8897
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8898
 
        lt_prog_compiler_wl='-Wl,'
8899
 
        lt_prog_compiler_pic='-qpic'
8900
 
        lt_prog_compiler_static='-qstaticlink'
8901
 
        ;;
8902
 
      *)
8903
 
        case `$CC -V 2>&1 | sed 5q` in
8904
 
        *Sun\ F* | *Sun*Fortran*)
8905
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8906
 
          lt_prog_compiler_pic='-KPIC'
8907
 
          lt_prog_compiler_static='-Bstatic'
8908
 
          lt_prog_compiler_wl=''
8909
 
          ;;
8910
 
        *Sun\ C*)
8911
 
          # Sun C 5.9
8912
 
          lt_prog_compiler_pic='-KPIC'
8913
 
          lt_prog_compiler_static='-Bstatic'
8914
 
          lt_prog_compiler_wl='-Wl,'
8915
 
          ;;
8916
 
        esac
8917
 
        ;;
8918
 
      esac
8919
 
      ;;
8920
 
 
8921
 
    newsos6)
8922
 
      lt_prog_compiler_pic='-KPIC'
8923
 
      lt_prog_compiler_static='-Bstatic'
8924
 
      ;;
8925
 
 
8926
 
    *nto* | *qnx*)
8927
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8928
 
      # it will coredump.
8929
 
      lt_prog_compiler_pic='-fPIC -shared'
8930
 
      ;;
8931
 
 
8932
 
    osf3* | osf4* | osf5*)
8933
 
      lt_prog_compiler_wl='-Wl,'
8934
 
      # All OSF/1 code is PIC.
8935
 
      lt_prog_compiler_static='-non_shared'
8936
 
      ;;
8937
 
 
8938
 
    rdos*)
8939
 
      lt_prog_compiler_static='-non_shared'
8940
 
      ;;
8941
 
 
8942
 
    solaris*)
8943
 
      lt_prog_compiler_pic='-KPIC'
8944
 
      lt_prog_compiler_static='-Bstatic'
8945
 
      case $cc_basename in
8946
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8947
 
        lt_prog_compiler_wl='-Qoption ld ';;
8948
 
      *)
8949
 
        lt_prog_compiler_wl='-Wl,';;
8950
 
      esac
8951
 
      ;;
8952
 
 
8953
 
    sunos4*)
8954
 
      lt_prog_compiler_wl='-Qoption ld '
8955
 
      lt_prog_compiler_pic='-PIC'
8956
 
      lt_prog_compiler_static='-Bstatic'
8957
 
      ;;
8958
 
 
8959
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8960
 
      lt_prog_compiler_wl='-Wl,'
8961
 
      lt_prog_compiler_pic='-KPIC'
8962
 
      lt_prog_compiler_static='-Bstatic'
8963
 
      ;;
8964
 
 
8965
 
    sysv4*MP*)
8966
 
      if test -d /usr/nec ;then
8967
 
        lt_prog_compiler_pic='-Kconform_pic'
8968
 
        lt_prog_compiler_static='-Bstatic'
8969
 
      fi
8970
 
      ;;
8971
 
 
8972
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8973
 
      lt_prog_compiler_wl='-Wl,'
8974
 
      lt_prog_compiler_pic='-KPIC'
8975
 
      lt_prog_compiler_static='-Bstatic'
8976
 
      ;;
8977
 
 
8978
 
    unicos*)
8979
 
      lt_prog_compiler_wl='-Wl,'
8980
 
      lt_prog_compiler_can_build_shared=no
8981
 
      ;;
8982
 
 
8983
 
    uts4*)
8984
 
      lt_prog_compiler_pic='-pic'
8985
 
      lt_prog_compiler_static='-Bstatic'
8986
 
      ;;
8987
 
 
8988
 
    *)
8989
 
      lt_prog_compiler_can_build_shared=no
8990
 
      ;;
8991
 
    esac
8992
 
  fi
8993
 
 
8994
 
case $host_os in
8995
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8996
 
  *djgpp*)
8997
 
    lt_prog_compiler_pic=
8998
 
    ;;
8999
 
  *)
9000
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9001
 
    ;;
9002
 
esac
9003
 
 
9004
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9005
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9006
 
if ${lt_cv_prog_compiler_pic+:} false; then :
9007
 
  $as_echo_n "(cached) " >&6
9008
 
else
9009
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9010
 
fi
9011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9012
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9013
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9014
 
 
9015
 
#
9016
 
# Check to make sure the PIC flag actually works.
9017
 
#
9018
 
if test -n "$lt_prog_compiler_pic"; then
9019
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9020
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9021
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9022
 
  $as_echo_n "(cached) " >&6
9023
 
else
9024
 
  lt_cv_prog_compiler_pic_works=no
9025
 
   ac_outfile=conftest.$ac_objext
9026
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9027
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9028
 
   # Insert the option either (1) after the last *FLAGS variable, or
9029
 
   # (2) before a word containing "conftest.", or (3) at the end.
9030
 
   # Note that $ac_compile itself does not contain backslashes and begins
9031
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9032
 
   # The option is referenced via a variable to avoid confusing sed.
9033
 
   lt_compile=`echo "$ac_compile" | $SED \
9034
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9035
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9036
 
   -e 's:$: $lt_compiler_flag:'`
9037
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9038
 
   (eval "$lt_compile" 2>conftest.err)
9039
 
   ac_status=$?
9040
 
   cat conftest.err >&5
9041
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9043
 
     # The compiler can only warn and ignore the option if not recognized
9044
 
     # So say no if there are warnings other than the usual output.
9045
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9046
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9047
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9048
 
       lt_cv_prog_compiler_pic_works=yes
9049
 
     fi
9050
 
   fi
9051
 
   $RM conftest*
9052
 
 
9053
 
fi
9054
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9055
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9056
 
 
9057
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9058
 
    case $lt_prog_compiler_pic in
9059
 
     "" | " "*) ;;
9060
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9061
 
     esac
9062
 
else
9063
 
    lt_prog_compiler_pic=
9064
 
     lt_prog_compiler_can_build_shared=no
9065
 
fi
9066
 
 
9067
 
fi
9068
 
 
9069
 
 
9070
 
 
9071
 
 
9072
 
 
9073
 
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
 
 
9079
 
#
9080
 
# Check to make sure the static flag actually works.
9081
 
#
9082
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9084
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9085
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
9086
 
  $as_echo_n "(cached) " >&6
9087
 
else
9088
 
  lt_cv_prog_compiler_static_works=no
9089
 
   save_LDFLAGS="$LDFLAGS"
9090
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9091
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9092
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9093
 
     # The linker can only warn and ignore the option if not recognized
9094
 
     # So say no if there are warnings
9095
 
     if test -s conftest.err; then
9096
 
       # Append any errors to the config.log.
9097
 
       cat conftest.err 1>&5
9098
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9099
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9100
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9101
 
         lt_cv_prog_compiler_static_works=yes
9102
 
       fi
9103
 
     else
9104
 
       lt_cv_prog_compiler_static_works=yes
9105
 
     fi
9106
 
   fi
9107
 
   $RM -r conftest*
9108
 
   LDFLAGS="$save_LDFLAGS"
9109
 
 
9110
 
fi
9111
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9112
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9113
 
 
9114
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9115
 
    :
9116
 
else
9117
 
    lt_prog_compiler_static=
9118
 
fi
9119
 
 
9120
 
 
9121
 
 
9122
 
 
9123
 
 
9124
 
 
9125
 
 
9126
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9127
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9128
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9129
 
  $as_echo_n "(cached) " >&6
9130
 
else
9131
 
  lt_cv_prog_compiler_c_o=no
9132
 
   $RM -r conftest 2>/dev/null
9133
 
   mkdir conftest
9134
 
   cd conftest
9135
 
   mkdir out
9136
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9137
 
 
9138
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9139
 
   # Insert the option either (1) after the last *FLAGS variable, or
9140
 
   # (2) before a word containing "conftest.", or (3) at the end.
9141
 
   # Note that $ac_compile itself does not contain backslashes and begins
9142
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9143
 
   lt_compile=`echo "$ac_compile" | $SED \
9144
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9145
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9146
 
   -e 's:$: $lt_compiler_flag:'`
9147
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9148
 
   (eval "$lt_compile" 2>out/conftest.err)
9149
 
   ac_status=$?
9150
 
   cat out/conftest.err >&5
9151
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9153
 
   then
9154
 
     # The compiler can only warn and ignore the option if not recognized
9155
 
     # So say no if there are warnings
9156
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9157
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9158
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9159
 
       lt_cv_prog_compiler_c_o=yes
9160
 
     fi
9161
 
   fi
9162
 
   chmod u+w . 2>&5
9163
 
   $RM conftest*
9164
 
   # SGI C++ compiler will create directory out/ii_files/ for
9165
 
   # template instantiation
9166
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9167
 
   $RM out/* && rmdir out
9168
 
   cd ..
9169
 
   $RM -r conftest
9170
 
   $RM conftest*
9171
 
 
9172
 
fi
9173
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9174
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9175
 
 
9176
 
 
9177
 
 
9178
 
 
9179
 
 
9180
 
 
9181
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9182
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9183
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9184
 
  $as_echo_n "(cached) " >&6
9185
 
else
9186
 
  lt_cv_prog_compiler_c_o=no
9187
 
   $RM -r conftest 2>/dev/null
9188
 
   mkdir conftest
9189
 
   cd conftest
9190
 
   mkdir out
9191
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9192
 
 
9193
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9194
 
   # Insert the option either (1) after the last *FLAGS variable, or
9195
 
   # (2) before a word containing "conftest.", or (3) at the end.
9196
 
   # Note that $ac_compile itself does not contain backslashes and begins
9197
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9198
 
   lt_compile=`echo "$ac_compile" | $SED \
9199
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9200
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9201
 
   -e 's:$: $lt_compiler_flag:'`
9202
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9203
 
   (eval "$lt_compile" 2>out/conftest.err)
9204
 
   ac_status=$?
9205
 
   cat out/conftest.err >&5
9206
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9208
 
   then
9209
 
     # The compiler can only warn and ignore the option if not recognized
9210
 
     # So say no if there are warnings
9211
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9212
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9213
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9214
 
       lt_cv_prog_compiler_c_o=yes
9215
 
     fi
9216
 
   fi
9217
 
   chmod u+w . 2>&5
9218
 
   $RM conftest*
9219
 
   # SGI C++ compiler will create directory out/ii_files/ for
9220
 
   # template instantiation
9221
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9222
 
   $RM out/* && rmdir out
9223
 
   cd ..
9224
 
   $RM -r conftest
9225
 
   $RM conftest*
9226
 
 
9227
 
fi
9228
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9229
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9230
 
 
9231
 
 
9232
 
 
9233
 
 
9234
 
hard_links="nottested"
9235
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9236
 
  # do not overwrite the value of need_locks provided by the user
9237
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9238
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9239
 
  hard_links=yes
9240
 
  $RM conftest*
9241
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9242
 
  touch conftest.a
9243
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9244
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9246
 
$as_echo "$hard_links" >&6; }
9247
 
  if test "$hard_links" = no; then
9248
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9249
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9250
 
    need_locks=warn
9251
 
  fi
9252
 
else
9253
 
  need_locks=no
9254
 
fi
9255
 
 
9256
 
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9262
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9263
 
 
9264
 
  runpath_var=
9265
 
  allow_undefined_flag=
9266
 
  always_export_symbols=no
9267
 
  archive_cmds=
9268
 
  archive_expsym_cmds=
9269
 
  compiler_needs_object=no
9270
 
  enable_shared_with_static_runtimes=no
9271
 
  export_dynamic_flag_spec=
9272
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9273
 
  hardcode_automatic=no
9274
 
  hardcode_direct=no
9275
 
  hardcode_direct_absolute=no
9276
 
  hardcode_libdir_flag_spec=
9277
 
  hardcode_libdir_flag_spec_ld=
9278
 
  hardcode_libdir_separator=
9279
 
  hardcode_minus_L=no
9280
 
  hardcode_shlibpath_var=unsupported
9281
 
  inherit_rpath=no
9282
 
  link_all_deplibs=unknown
9283
 
  module_cmds=
9284
 
  module_expsym_cmds=
9285
 
  old_archive_from_new_cmds=
9286
 
  old_archive_from_expsyms_cmds=
9287
 
  thread_safe_flag_spec=
9288
 
  whole_archive_flag_spec=
9289
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9290
 
  # included in the symbol list
9291
 
  include_expsyms=
9292
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9293
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9294
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9295
 
  # as well as any symbol that contains `d'.
9296
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9297
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9298
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9299
 
  # the symbol is explicitly referenced.  Since portable code cannot
9300
 
  # rely on this symbol name, it's probably fine to never include it in
9301
 
  # preloaded symbol tables.
9302
 
  # Exclude shared library initialization/finalization symbols.
9303
 
  extract_expsyms_cmds=
9304
 
 
9305
 
  case $host_os in
9306
 
  cygwin* | mingw* | pw32* | cegcc*)
9307
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9308
 
    # When not using gcc, we currently assume that we are using
9309
 
    # Microsoft Visual C++.
9310
 
    if test "$GCC" != yes; then
9311
 
      with_gnu_ld=no
9312
 
    fi
9313
 
    ;;
9314
 
  interix*)
9315
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9316
 
    with_gnu_ld=yes
9317
 
    ;;
9318
 
  openbsd*)
9319
 
    with_gnu_ld=no
9320
 
    ;;
9321
 
  esac
9322
 
 
9323
 
  ld_shlibs=yes
9324
 
 
9325
 
  # On some targets, GNU ld is compatible enough with the native linker
9326
 
  # that we're better off using the native interface for both.
9327
 
  lt_use_gnu_ld_interface=no
9328
 
  if test "$with_gnu_ld" = yes; then
9329
 
    case $host_os in
9330
 
      aix*)
9331
 
        # The AIX port of GNU ld has always aspired to compatibility
9332
 
        # with the native linker.  However, as the warning in the GNU ld
9333
 
        # block says, versions before 2.19.5* couldn't really create working
9334
 
        # shared libraries, regardless of the interface used.
9335
 
        case `$LD -v 2>&1` in
9336
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9337
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9338
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9339
 
          *)
9340
 
            lt_use_gnu_ld_interface=yes
9341
 
            ;;
9342
 
        esac
9343
 
        ;;
9344
 
      *)
9345
 
        lt_use_gnu_ld_interface=yes
9346
 
        ;;
9347
 
    esac
9348
 
  fi
9349
 
 
9350
 
  if test "$lt_use_gnu_ld_interface" = yes; then
9351
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9352
 
    wlarc='${wl}'
9353
 
 
9354
 
    # Set some defaults for GNU ld with shared library support. These
9355
 
    # are reset later if shared libraries are not supported. Putting them
9356
 
    # here allows them to be overridden if necessary.
9357
 
    runpath_var=LD_RUN_PATH
9358
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9359
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9360
 
    # ancient GNU ld didn't support --whole-archive et. al.
9361
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9362
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9363
 
    else
9364
 
      whole_archive_flag_spec=
9365
 
    fi
9366
 
    supports_anon_versioning=no
9367
 
    case `$LD -v 2>&1` in
9368
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9369
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9370
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9371
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9372
 
      *\ 2.11.*) ;; # other 2.11 versions
9373
 
      *) supports_anon_versioning=yes ;;
9374
 
    esac
9375
 
 
9376
 
    # See if GNU ld supports shared libraries.
9377
 
    case $host_os in
9378
 
    aix[3-9]*)
9379
 
      # On AIX/PPC, the GNU linker is very broken
9380
 
      if test "$host_cpu" != ia64; then
9381
 
        ld_shlibs=no
9382
 
        cat <<_LT_EOF 1>&2
9383
 
 
9384
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
9385
 
*** to be unable to reliably create shared libraries on AIX.
9386
 
*** Therefore, libtool is disabling shared libraries support.  If you
9387
 
*** really care for shared libraries, you may want to install binutils
9388
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9389
 
*** You will then need to restart the configuration process.
9390
 
 
9391
 
_LT_EOF
9392
 
      fi
9393
 
      ;;
9394
 
 
9395
 
    amigaos*)
9396
 
      case $host_cpu in
9397
 
      powerpc)
9398
 
            # see comment about AmigaOS4 .so support
9399
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400
 
            archive_expsym_cmds=''
9401
 
        ;;
9402
 
      m68k)
9403
 
            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)'
9404
 
            hardcode_libdir_flag_spec='-L$libdir'
9405
 
            hardcode_minus_L=yes
9406
 
        ;;
9407
 
      esac
9408
 
      ;;
9409
 
 
9410
 
    beos*)
9411
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9412
 
        allow_undefined_flag=unsupported
9413
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9414
 
        # support --undefined.  This deserves some investigation.  FIXME
9415
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416
 
      else
9417
 
        ld_shlibs=no
9418
 
      fi
9419
 
      ;;
9420
 
 
9421
 
    cygwin* | mingw* | pw32* | cegcc*)
9422
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9423
 
      # as there is no search path for DLLs.
9424
 
      hardcode_libdir_flag_spec='-L$libdir'
9425
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9426
 
      allow_undefined_flag=unsupported
9427
 
      always_export_symbols=no
9428
 
      enable_shared_with_static_runtimes=yes
9429
 
      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'
9430
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9431
 
 
9432
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9433
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9434
 
        # If the export-symbols file already is a .def file (1st line
9435
 
        # is EXPORTS), use it as is; otherwise, prepend...
9436
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9437
 
          cp $export_symbols $output_objdir/$soname.def;
9438
 
        else
9439
 
          echo EXPORTS > $output_objdir/$soname.def;
9440
 
          cat $export_symbols >> $output_objdir/$soname.def;
9441
 
        fi~
9442
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9443
 
      else
9444
 
        ld_shlibs=no
9445
 
      fi
9446
 
      ;;
9447
 
 
9448
 
    haiku*)
9449
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450
 
      link_all_deplibs=yes
9451
 
      ;;
9452
 
 
9453
 
    interix[3-9]*)
9454
 
      hardcode_direct=no
9455
 
      hardcode_shlibpath_var=no
9456
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9457
 
      export_dynamic_flag_spec='${wl}-E'
9458
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9459
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9460
 
      # default) and relocated if they conflict, which is a slow very memory
9461
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9462
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9463
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9464
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9465
 
      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'
9466
 
      ;;
9467
 
 
9468
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9469
 
      tmp_diet=no
9470
 
      if test "$host_os" = linux-dietlibc; then
9471
 
        case $cc_basename in
9472
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9473
 
        esac
9474
 
      fi
9475
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9476
 
         && test "$tmp_diet" = no
9477
 
      then
9478
 
        tmp_addflag=' $pic_flag'
9479
 
        tmp_sharedflag='-shared'
9480
 
        case $cc_basename,$host_cpu in
9481
 
        pgcc*)                          # Portland Group C compiler
9482
 
          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'
9483
 
          tmp_addflag=' $pic_flag'
9484
 
          ;;
9485
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9486
 
                                        # Portland Group f77 and f90 compilers
9487
 
          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'
9488
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9489
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9490
 
          tmp_addflag=' -i_dynamic' ;;
9491
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9492
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9493
 
        ifc* | ifort*)                  # Intel Fortran compiler
9494
 
          tmp_addflag=' -nofor_main' ;;
9495
 
        lf95*)                          # Lahey Fortran 8.1
9496
 
          whole_archive_flag_spec=
9497
 
          tmp_sharedflag='--shared' ;;
9498
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9499
 
          tmp_sharedflag='-qmkshrobj'
9500
 
          tmp_addflag= ;;
9501
 
        nvcc*)  # Cuda Compiler Driver 2.2
9502
 
          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'
9503
 
          compiler_needs_object=yes
9504
 
          ;;
9505
 
        esac
9506
 
        case `$CC -V 2>&1 | sed 5q` in
9507
 
        *Sun\ C*)                       # Sun C 5.9
9508
 
          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'
9509
 
          compiler_needs_object=yes
9510
 
          tmp_sharedflag='-G' ;;
9511
 
        *Sun\ F*)                       # Sun Fortran 8.3
9512
 
          tmp_sharedflag='-G' ;;
9513
 
        esac
9514
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9515
 
 
9516
 
        if test "x$supports_anon_versioning" = xyes; then
9517
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9518
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9519
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9520
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9521
 
        fi
9522
 
 
9523
 
        case $cc_basename in
9524
 
        xlf* | bgf* | bgxlf* | mpixlf*)
9525
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9526
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9527
 
          hardcode_libdir_flag_spec=
9528
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9529
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9530
 
          if test "x$supports_anon_versioning" = xyes; then
9531
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9532
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9533
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9534
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9535
 
          fi
9536
 
          ;;
9537
 
        esac
9538
 
      else
9539
 
        ld_shlibs=no
9540
 
      fi
9541
 
      ;;
9542
 
 
9543
 
    netbsd*)
9544
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9545
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9546
 
        wlarc=
9547
 
      else
9548
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9549
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9550
 
      fi
9551
 
      ;;
9552
 
 
9553
 
    solaris*)
9554
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9555
 
        ld_shlibs=no
9556
 
        cat <<_LT_EOF 1>&2
9557
 
 
9558
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9559
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9560
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9561
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9562
 
*** your PATH or compiler configuration so that the native linker is
9563
 
*** used, and then restart.
9564
 
 
9565
 
_LT_EOF
9566
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9567
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9568
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9569
 
      else
9570
 
        ld_shlibs=no
9571
 
      fi
9572
 
      ;;
9573
 
 
9574
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9575
 
      case `$LD -v 2>&1` in
9576
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9577
 
        ld_shlibs=no
9578
 
        cat <<_LT_EOF 1>&2
9579
 
 
9580
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9581
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9582
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9583
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9584
 
*** your PATH or compiler configuration so that the native linker is
9585
 
*** used, and then restart.
9586
 
 
9587
 
_LT_EOF
9588
 
        ;;
9589
 
        *)
9590
 
          # For security reasons, it is highly recommended that you always
9591
 
          # use absolute paths for naming shared libraries, and exclude the
9592
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9593
 
          # requires that you compile everything twice, which is a pain.
9594
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9595
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9596
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9597
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9598
 
          else
9599
 
            ld_shlibs=no
9600
 
          fi
9601
 
        ;;
9602
 
      esac
9603
 
      ;;
9604
 
 
9605
 
    sunos4*)
9606
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9607
 
      wlarc=
9608
 
      hardcode_direct=yes
9609
 
      hardcode_shlibpath_var=no
9610
 
      ;;
9611
 
 
9612
 
    *)
9613
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9614
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9616
 
      else
9617
 
        ld_shlibs=no
9618
 
      fi
9619
 
      ;;
9620
 
    esac
9621
 
 
9622
 
    if test "$ld_shlibs" = no; then
9623
 
      runpath_var=
9624
 
      hardcode_libdir_flag_spec=
9625
 
      export_dynamic_flag_spec=
9626
 
      whole_archive_flag_spec=
9627
 
    fi
9628
 
  else
9629
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9630
 
    case $host_os in
9631
 
    aix3*)
9632
 
      allow_undefined_flag=unsupported
9633
 
      always_export_symbols=yes
9634
 
      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'
9635
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9636
 
      # are no directories specified by -L.
9637
 
      hardcode_minus_L=yes
9638
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9639
 
        # Neither direct hardcoding nor static linking is supported with a
9640
 
        # broken collect2.
9641
 
        hardcode_direct=unsupported
9642
 
      fi
9643
 
      ;;
9644
 
 
9645
 
    aix[4-9]*)
9646
 
      if test "$host_cpu" = ia64; then
9647
 
        # On IA64, the linker does run time linking by default, so we don't
9648
 
        # have to do anything special.
9649
 
        aix_use_runtimelinking=no
9650
 
        exp_sym_flag='-Bexport'
9651
 
        no_entry_flag=""
9652
 
      else
9653
 
        # If we're using GNU nm, then we don't want the "-C" option.
9654
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9655
 
        # Also, AIX nm treats weak defined symbols like other global
9656
 
        # defined symbols, whereas GNU nm marks them as "W".
9657
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9658
 
          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'
9659
 
        else
9660
 
          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'
9661
 
        fi
9662
 
        aix_use_runtimelinking=no
9663
 
 
9664
 
        # Test if we are trying to use run time linking or normal
9665
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9666
 
        # need to do runtime linking.
9667
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9668
 
          for ld_flag in $LDFLAGS; do
9669
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9670
 
            aix_use_runtimelinking=yes
9671
 
            break
9672
 
          fi
9673
 
          done
9674
 
          ;;
9675
 
        esac
9676
 
 
9677
 
        exp_sym_flag='-bexport'
9678
 
        no_entry_flag='-bnoentry'
9679
 
      fi
9680
 
 
9681
 
      # When large executables or shared objects are built, AIX ld can
9682
 
      # have problems creating the table of contents.  If linking a library
9683
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9684
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9685
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9686
 
 
9687
 
      archive_cmds=''
9688
 
      hardcode_direct=yes
9689
 
      hardcode_direct_absolute=yes
9690
 
      hardcode_libdir_separator=':'
9691
 
      link_all_deplibs=yes
9692
 
      file_list_spec='${wl}-f,'
9693
 
 
9694
 
      if test "$GCC" = yes; then
9695
 
        case $host_os in aix4.[012]|aix4.[012].*)
9696
 
        # We only want to do this on AIX 4.2 and lower, the check
9697
 
        # below for broken collect2 doesn't work under 4.3+
9698
 
          collect2name=`${CC} -print-prog-name=collect2`
9699
 
          if test -f "$collect2name" &&
9700
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9701
 
          then
9702
 
          # We have reworked collect2
9703
 
          :
9704
 
          else
9705
 
          # We have old collect2
9706
 
          hardcode_direct=unsupported
9707
 
          # It fails to find uninstalled libraries when the uninstalled
9708
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9709
 
          # to unsupported forces relinking
9710
 
          hardcode_minus_L=yes
9711
 
          hardcode_libdir_flag_spec='-L$libdir'
9712
 
          hardcode_libdir_separator=
9713
 
          fi
9714
 
          ;;
9715
 
        esac
9716
 
        shared_flag='-shared'
9717
 
        if test "$aix_use_runtimelinking" = yes; then
9718
 
          shared_flag="$shared_flag "'${wl}-G'
9719
 
        fi
9720
 
      else
9721
 
        # not using gcc
9722
 
        if test "$host_cpu" = ia64; then
9723
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9724
 
        # chokes on -Wl,-G. The following line is correct:
9725
 
          shared_flag='-G'
9726
 
        else
9727
 
          if test "$aix_use_runtimelinking" = yes; then
9728
 
            shared_flag='${wl}-G'
9729
 
          else
9730
 
            shared_flag='${wl}-bM:SRE'
9731
 
          fi
9732
 
        fi
9733
 
      fi
9734
 
 
9735
 
      export_dynamic_flag_spec='${wl}-bexpall'
9736
 
      # It seems that -bexpall does not export symbols beginning with
9737
 
      # underscore (_), so it is better to generate a list of symbols to export.
9738
 
      always_export_symbols=yes
9739
 
      if test "$aix_use_runtimelinking" = yes; then
9740
 
        # Warning - without using the other runtime loading flags (-brtl),
9741
 
        # -berok will link without error, but may produce a broken library.
9742
 
        allow_undefined_flag='-berok'
9743
 
        # Determine the default libpath from the value encoded in an
9744
 
        # empty executable.
9745
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9746
 
  aix_libpath=$lt_cv_aix_libpath
9747
 
else
9748
 
  if ${lt_cv_aix_libpath_+:} false; then :
9749
 
  $as_echo_n "(cached) " >&6
9750
 
else
9751
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9752
 
/* end confdefs.h.  */
9753
 
 
9754
 
int
9755
 
main ()
9756
 
{
9757
 
 
9758
 
  ;
9759
 
  return 0;
9760
 
}
9761
 
_ACEOF
9762
 
if ac_fn_c_try_link "$LINENO"; then :
9763
 
 
9764
 
  lt_aix_libpath_sed='
9765
 
      /Import File Strings/,/^$/ {
9766
 
          /^0/ {
9767
 
              s/^0  *\([^ ]*\) *$/\1/
9768
 
              p
9769
 
          }
9770
 
      }'
9771
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9772
 
  # Check for a 64-bit object if we didn't find anything.
9773
 
  if test -z "$lt_cv_aix_libpath_"; then
9774
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9775
 
  fi
9776
 
fi
9777
 
rm -f core conftest.err conftest.$ac_objext \
9778
 
    conftest$ac_exeext conftest.$ac_ext
9779
 
  if test -z "$lt_cv_aix_libpath_"; then
9780
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9781
 
  fi
9782
 
 
9783
 
fi
9784
 
 
9785
 
  aix_libpath=$lt_cv_aix_libpath_
9786
 
fi
9787
 
 
9788
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9789
 
        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"
9790
 
      else
9791
 
        if test "$host_cpu" = ia64; then
9792
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9793
 
          allow_undefined_flag="-z nodefs"
9794
 
          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"
9795
 
        else
9796
 
         # Determine the default libpath from the value encoded in an
9797
 
         # empty executable.
9798
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9799
 
  aix_libpath=$lt_cv_aix_libpath
9800
 
else
9801
 
  if ${lt_cv_aix_libpath_+:} false; then :
9802
 
  $as_echo_n "(cached) " >&6
9803
 
else
9804
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805
 
/* end confdefs.h.  */
9806
 
 
9807
 
int
9808
 
main ()
9809
 
{
9810
 
 
9811
 
  ;
9812
 
  return 0;
9813
 
}
9814
 
_ACEOF
9815
 
if ac_fn_c_try_link "$LINENO"; then :
9816
 
 
9817
 
  lt_aix_libpath_sed='
9818
 
      /Import File Strings/,/^$/ {
9819
 
          /^0/ {
9820
 
              s/^0  *\([^ ]*\) *$/\1/
9821
 
              p
9822
 
          }
9823
 
      }'
9824
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9825
 
  # Check for a 64-bit object if we didn't find anything.
9826
 
  if test -z "$lt_cv_aix_libpath_"; then
9827
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9828
 
  fi
9829
 
fi
9830
 
rm -f core conftest.err conftest.$ac_objext \
9831
 
    conftest$ac_exeext conftest.$ac_ext
9832
 
  if test -z "$lt_cv_aix_libpath_"; then
9833
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9834
 
  fi
9835
 
 
9836
 
fi
9837
 
 
9838
 
  aix_libpath=$lt_cv_aix_libpath_
9839
 
fi
9840
 
 
9841
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9842
 
          # Warning - without using the other run time loading flags,
9843
 
          # -berok will link without error, but may produce a broken library.
9844
 
          no_undefined_flag=' ${wl}-bernotok'
9845
 
          allow_undefined_flag=' ${wl}-berok'
9846
 
          if test "$with_gnu_ld" = yes; then
9847
 
            # We only use this code for GNU lds that support --whole-archive.
9848
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9849
 
          else
9850
 
            # Exported symbols can be pulled into shared objects from archives
9851
 
            whole_archive_flag_spec='$convenience'
9852
 
          fi
9853
 
          archive_cmds_need_lc=yes
9854
 
          # This is similar to how AIX traditionally builds its shared libraries.
9855
 
          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'
9856
 
        fi
9857
 
      fi
9858
 
      ;;
9859
 
 
9860
 
    amigaos*)
9861
 
      case $host_cpu in
9862
 
      powerpc)
9863
 
            # see comment about AmigaOS4 .so support
9864
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9865
 
            archive_expsym_cmds=''
9866
 
        ;;
9867
 
      m68k)
9868
 
            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)'
9869
 
            hardcode_libdir_flag_spec='-L$libdir'
9870
 
            hardcode_minus_L=yes
9871
 
        ;;
9872
 
      esac
9873
 
      ;;
9874
 
 
9875
 
    bsdi[45]*)
9876
 
      export_dynamic_flag_spec=-rdynamic
9877
 
      ;;
9878
 
 
9879
 
    cygwin* | mingw* | pw32* | cegcc*)
9880
 
      # When not using gcc, we currently assume that we are using
9881
 
      # Microsoft Visual C++.
9882
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9883
 
      # no search path for DLLs.
9884
 
      case $cc_basename in
9885
 
      cl*)
9886
 
        # Native MSVC
9887
 
        hardcode_libdir_flag_spec=' '
9888
 
        allow_undefined_flag=unsupported
9889
 
        always_export_symbols=yes
9890
 
        file_list_spec='@'
9891
 
        # Tell ltmain to make .lib files, not .a files.
9892
 
        libext=lib
9893
 
        # Tell ltmain to make .dll files, not .so files.
9894
 
        shrext_cmds=".dll"
9895
 
        # FIXME: Setting linknames here is a bad hack.
9896
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9897
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9898
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9899
 
          else
9900
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9901
 
          fi~
9902
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9903
 
          linknames='
9904
 
        # The linker will not automatically build a static lib if we build a DLL.
9905
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9906
 
        enable_shared_with_static_runtimes=yes
9907
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9908
 
        # Don't use ranlib
9909
 
        old_postinstall_cmds='chmod 644 $oldlib'
9910
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9911
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9912
 
          case $lt_outputfile in
9913
 
            *.exe|*.EXE) ;;
9914
 
            *)
9915
 
              lt_outputfile="$lt_outputfile.exe"
9916
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9917
 
              ;;
9918
 
          esac~
9919
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9920
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9921
 
            $RM "$lt_outputfile.manifest";
9922
 
          fi'
9923
 
        ;;
9924
 
      *)
9925
 
        # Assume MSVC wrapper
9926
 
        hardcode_libdir_flag_spec=' '
9927
 
        allow_undefined_flag=unsupported
9928
 
        # Tell ltmain to make .lib files, not .a files.
9929
 
        libext=lib
9930
 
        # Tell ltmain to make .dll files, not .so files.
9931
 
        shrext_cmds=".dll"
9932
 
        # FIXME: Setting linknames here is a bad hack.
9933
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9934
 
        # The linker will automatically build a .lib file if we build a DLL.
9935
 
        old_archive_from_new_cmds='true'
9936
 
        # FIXME: Should let the user specify the lib program.
9937
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9938
 
        enable_shared_with_static_runtimes=yes
9939
 
        ;;
9940
 
      esac
9941
 
      ;;
9942
 
 
9943
 
    darwin* | rhapsody*)
9944
 
 
9945
 
 
9946
 
  archive_cmds_need_lc=no
9947
 
  hardcode_direct=no
9948
 
  hardcode_automatic=yes
9949
 
  hardcode_shlibpath_var=unsupported
9950
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9951
 
    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\"`'
9952
 
  else
9953
 
    whole_archive_flag_spec=''
9954
 
  fi
9955
 
  link_all_deplibs=yes
9956
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9957
 
  case $cc_basename in
9958
 
     ifort*) _lt_dar_can_shared=yes ;;
9959
 
     *) _lt_dar_can_shared=$GCC ;;
9960
 
  esac
9961
 
  if test "$_lt_dar_can_shared" = "yes"; then
9962
 
    output_verbose_link_cmd=func_echo_all
9963
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9964
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9965
 
    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}"
9966
 
    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}"
9967
 
 
9968
 
  else
9969
 
  ld_shlibs=no
9970
 
  fi
9971
 
 
9972
 
      ;;
9973
 
 
9974
 
    dgux*)
9975
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976
 
      hardcode_libdir_flag_spec='-L$libdir'
9977
 
      hardcode_shlibpath_var=no
9978
 
      ;;
9979
 
 
9980
 
    freebsd1*)
9981
 
      ld_shlibs=no
9982
 
      ;;
9983
 
 
9984
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9985
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9986
 
    # does not break anything, and helps significantly (at the cost of a little
9987
 
    # extra space).
9988
 
    freebsd2.2*)
9989
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9990
 
      hardcode_libdir_flag_spec='-R$libdir'
9991
 
      hardcode_direct=yes
9992
 
      hardcode_shlibpath_var=no
9993
 
      ;;
9994
 
 
9995
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9996
 
    freebsd2*)
9997
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9998
 
      hardcode_direct=yes
9999
 
      hardcode_minus_L=yes
10000
 
      hardcode_shlibpath_var=no
10001
 
      ;;
10002
 
 
10003
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10004
 
    freebsd* | dragonfly*)
10005
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10006
 
      hardcode_libdir_flag_spec='-R$libdir'
10007
 
      hardcode_direct=yes
10008
 
      hardcode_shlibpath_var=no
10009
 
      ;;
10010
 
 
10011
 
    hpux9*)
10012
 
      if test "$GCC" = yes; then
10013
 
        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'
10014
 
      else
10015
 
        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'
10016
 
      fi
10017
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10018
 
      hardcode_libdir_separator=:
10019
 
      hardcode_direct=yes
10020
 
 
10021
 
      # hardcode_minus_L: Not really in the search PATH,
10022
 
      # but as the default location of the library.
10023
 
      hardcode_minus_L=yes
10024
 
      export_dynamic_flag_spec='${wl}-E'
10025
 
      ;;
10026
 
 
10027
 
    hpux10*)
10028
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10029
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10030
 
      else
10031
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10032
 
      fi
10033
 
      if test "$with_gnu_ld" = no; then
10034
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10035
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10036
 
        hardcode_libdir_separator=:
10037
 
        hardcode_direct=yes
10038
 
        hardcode_direct_absolute=yes
10039
 
        export_dynamic_flag_spec='${wl}-E'
10040
 
        # hardcode_minus_L: Not really in the search PATH,
10041
 
        # but as the default location of the library.
10042
 
        hardcode_minus_L=yes
10043
 
      fi
10044
 
      ;;
10045
 
 
10046
 
    hpux11*)
10047
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10048
 
        case $host_cpu in
10049
 
        hppa*64*)
10050
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10051
 
          ;;
10052
 
        ia64*)
10053
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10054
 
          ;;
10055
 
        *)
10056
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10057
 
          ;;
10058
 
        esac
10059
 
      else
10060
 
        case $host_cpu in
10061
 
        hppa*64*)
10062
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10063
 
          ;;
10064
 
        ia64*)
10065
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10066
 
          ;;
10067
 
        *)
10068
 
 
10069
 
          # Older versions of the 11.00 compiler do not understand -b yet
10070
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10071
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10072
 
$as_echo_n "checking if $CC understands -b... " >&6; }
10073
 
if ${lt_cv_prog_compiler__b+:} false; then :
10074
 
  $as_echo_n "(cached) " >&6
10075
 
else
10076
 
  lt_cv_prog_compiler__b=no
10077
 
   save_LDFLAGS="$LDFLAGS"
10078
 
   LDFLAGS="$LDFLAGS -b"
10079
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10080
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10081
 
     # The linker can only warn and ignore the option if not recognized
10082
 
     # So say no if there are warnings
10083
 
     if test -s conftest.err; then
10084
 
       # Append any errors to the config.log.
10085
 
       cat conftest.err 1>&5
10086
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10087
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10088
 
       if diff conftest.exp conftest.er2 >/dev/null; then
10089
 
         lt_cv_prog_compiler__b=yes
10090
 
       fi
10091
 
     else
10092
 
       lt_cv_prog_compiler__b=yes
10093
 
     fi
10094
 
   fi
10095
 
   $RM -r conftest*
10096
 
   LDFLAGS="$save_LDFLAGS"
10097
 
 
10098
 
fi
10099
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10100
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10101
 
 
10102
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
10103
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10104
 
else
10105
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10106
 
fi
10107
 
 
10108
 
          ;;
10109
 
        esac
10110
 
      fi
10111
 
      if test "$with_gnu_ld" = no; then
10112
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10113
 
        hardcode_libdir_separator=:
10114
 
 
10115
 
        case $host_cpu in
10116
 
        hppa*64*|ia64*)
10117
 
          hardcode_direct=no
10118
 
          hardcode_shlibpath_var=no
10119
 
          ;;
10120
 
        *)
10121
 
          hardcode_direct=yes
10122
 
          hardcode_direct_absolute=yes
10123
 
          export_dynamic_flag_spec='${wl}-E'
10124
 
 
10125
 
          # hardcode_minus_L: Not really in the search PATH,
10126
 
          # but as the default location of the library.
10127
 
          hardcode_minus_L=yes
10128
 
          ;;
10129
 
        esac
10130
 
      fi
10131
 
      ;;
10132
 
 
10133
 
    irix5* | irix6* | nonstopux*)
10134
 
      if test "$GCC" = yes; then
10135
 
        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'
10136
 
        # Try to use the -exported_symbol ld option, if it does not
10137
 
        # work, assume that -exports_file does not work either and
10138
 
        # implicitly export all symbols.
10139
 
        # This should be the same for all languages, so no per-tag cache variable.
10140
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10141
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10142
 
if ${lt_cv_irix_exported_symbol+:} false; then :
10143
 
  $as_echo_n "(cached) " >&6
10144
 
else
10145
 
  save_LDFLAGS="$LDFLAGS"
10146
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10147
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148
 
/* end confdefs.h.  */
10149
 
int foo (void) { return 0; }
10150
 
_ACEOF
10151
 
if ac_fn_c_try_link "$LINENO"; then :
10152
 
  lt_cv_irix_exported_symbol=yes
10153
 
else
10154
 
  lt_cv_irix_exported_symbol=no
10155
 
fi
10156
 
rm -f core conftest.err conftest.$ac_objext \
10157
 
    conftest$ac_exeext conftest.$ac_ext
10158
 
           LDFLAGS="$save_LDFLAGS"
10159
 
fi
10160
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10161
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10162
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
10163
 
          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'
10164
 
        fi
10165
 
      else
10166
 
        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'
10167
 
        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'
10168
 
      fi
10169
 
      archive_cmds_need_lc='no'
10170
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10171
 
      hardcode_libdir_separator=:
10172
 
      inherit_rpath=yes
10173
 
      link_all_deplibs=yes
10174
 
      ;;
10175
 
 
10176
 
    netbsd*)
10177
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10178
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10179
 
      else
10180
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10181
 
      fi
10182
 
      hardcode_libdir_flag_spec='-R$libdir'
10183
 
      hardcode_direct=yes
10184
 
      hardcode_shlibpath_var=no
10185
 
      ;;
10186
 
 
10187
 
    newsos6)
10188
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189
 
      hardcode_direct=yes
10190
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10191
 
      hardcode_libdir_separator=:
10192
 
      hardcode_shlibpath_var=no
10193
 
      ;;
10194
 
 
10195
 
    *nto* | *qnx*)
10196
 
      ;;
10197
 
 
10198
 
    openbsd*)
10199
 
      if test -f /usr/libexec/ld.so; then
10200
 
        hardcode_direct=yes
10201
 
        hardcode_shlibpath_var=no
10202
 
        hardcode_direct_absolute=yes
10203
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10204
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10205
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10206
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10207
 
          export_dynamic_flag_spec='${wl}-E'
10208
 
        else
10209
 
          case $host_os in
10210
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10211
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10212
 
             hardcode_libdir_flag_spec='-R$libdir'
10213
 
             ;;
10214
 
           *)
10215
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10217
 
             ;;
10218
 
          esac
10219
 
        fi
10220
 
      else
10221
 
        ld_shlibs=no
10222
 
      fi
10223
 
      ;;
10224
 
 
10225
 
    os2*)
10226
 
      hardcode_libdir_flag_spec='-L$libdir'
10227
 
      hardcode_minus_L=yes
10228
 
      allow_undefined_flag=unsupported
10229
 
      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'
10230
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10231
 
      ;;
10232
 
 
10233
 
    osf3*)
10234
 
      if test "$GCC" = yes; then
10235
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10236
 
        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'
10237
 
      else
10238
 
        allow_undefined_flag=' -expect_unresolved \*'
10239
 
        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'
10240
 
      fi
10241
 
      archive_cmds_need_lc='no'
10242
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243
 
      hardcode_libdir_separator=:
10244
 
      ;;
10245
 
 
10246
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10247
 
      if test "$GCC" = yes; then
10248
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10249
 
        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'
10250
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10251
 
      else
10252
 
        allow_undefined_flag=' -expect_unresolved \*'
10253
 
        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'
10254
 
        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~
10255
 
        $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'
10256
 
 
10257
 
        # Both c and cxx compiler support -rpath directly
10258
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10259
 
      fi
10260
 
      archive_cmds_need_lc='no'
10261
 
      hardcode_libdir_separator=:
10262
 
      ;;
10263
 
 
10264
 
    solaris*)
10265
 
      no_undefined_flag=' -z defs'
10266
 
      if test "$GCC" = yes; then
10267
 
        wlarc='${wl}'
10268
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10269
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10270
 
          $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'
10271
 
      else
10272
 
        case `$CC -V 2>&1` in
10273
 
        *"Compilers 5.0"*)
10274
 
          wlarc=''
10275
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10276
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10277
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10278
 
          ;;
10279
 
        *)
10280
 
          wlarc='${wl}'
10281
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10282
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10283
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10284
 
          ;;
10285
 
        esac
10286
 
      fi
10287
 
      hardcode_libdir_flag_spec='-R$libdir'
10288
 
      hardcode_shlibpath_var=no
10289
 
      case $host_os in
10290
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10291
 
      *)
10292
 
        # The compiler driver will combine and reorder linker options,
10293
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10294
 
        # but is careful enough not to reorder.
10295
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10296
 
        if test "$GCC" = yes; then
10297
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10298
 
        else
10299
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10300
 
        fi
10301
 
        ;;
10302
 
      esac
10303
 
      link_all_deplibs=yes
10304
 
      ;;
10305
 
 
10306
 
    sunos4*)
10307
 
      if test "x$host_vendor" = xsequent; then
10308
 
        # Use $CC to link under sequent, because it throws in some extra .o
10309
 
        # files that make .init and .fini sections work.
10310
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10311
 
      else
10312
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10313
 
      fi
10314
 
      hardcode_libdir_flag_spec='-L$libdir'
10315
 
      hardcode_direct=yes
10316
 
      hardcode_minus_L=yes
10317
 
      hardcode_shlibpath_var=no
10318
 
      ;;
10319
 
 
10320
 
    sysv4)
10321
 
      case $host_vendor in
10322
 
        sni)
10323
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10324
 
          hardcode_direct=yes # is this really true???
10325
 
        ;;
10326
 
        siemens)
10327
 
          ## LD is ld it makes a PLAMLIB
10328
 
          ## CC just makes a GrossModule.
10329
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10330
 
          reload_cmds='$CC -r -o $output$reload_objs'
10331
 
          hardcode_direct=no
10332
 
        ;;
10333
 
        motorola)
10334
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10336
 
        ;;
10337
 
      esac
10338
 
      runpath_var='LD_RUN_PATH'
10339
 
      hardcode_shlibpath_var=no
10340
 
      ;;
10341
 
 
10342
 
    sysv4.3*)
10343
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10344
 
      hardcode_shlibpath_var=no
10345
 
      export_dynamic_flag_spec='-Bexport'
10346
 
      ;;
10347
 
 
10348
 
    sysv4*MP*)
10349
 
      if test -d /usr/nec; then
10350
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10351
 
        hardcode_shlibpath_var=no
10352
 
        runpath_var=LD_RUN_PATH
10353
 
        hardcode_runpath_var=yes
10354
 
        ld_shlibs=yes
10355
 
      fi
10356
 
      ;;
10357
 
 
10358
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10359
 
      no_undefined_flag='${wl}-z,text'
10360
 
      archive_cmds_need_lc=no
10361
 
      hardcode_shlibpath_var=no
10362
 
      runpath_var='LD_RUN_PATH'
10363
 
 
10364
 
      if test "$GCC" = yes; then
10365
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10366
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10367
 
      else
10368
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10369
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10370
 
      fi
10371
 
      ;;
10372
 
 
10373
 
    sysv5* | sco3.2v5* | sco5v6*)
10374
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10375
 
      # link with -lc, and that would cause any symbols used from libc to
10376
 
      # always be unresolved, which means just about no library would
10377
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10378
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10379
 
      # as -z defs.
10380
 
      no_undefined_flag='${wl}-z,text'
10381
 
      allow_undefined_flag='${wl}-z,nodefs'
10382
 
      archive_cmds_need_lc=no
10383
 
      hardcode_shlibpath_var=no
10384
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10385
 
      hardcode_libdir_separator=':'
10386
 
      link_all_deplibs=yes
10387
 
      export_dynamic_flag_spec='${wl}-Bexport'
10388
 
      runpath_var='LD_RUN_PATH'
10389
 
 
10390
 
      if test "$GCC" = yes; then
10391
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10393
 
      else
10394
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396
 
      fi
10397
 
      ;;
10398
 
 
10399
 
    uts4*)
10400
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10401
 
      hardcode_libdir_flag_spec='-L$libdir'
10402
 
      hardcode_shlibpath_var=no
10403
 
      ;;
10404
 
 
10405
 
    *)
10406
 
      ld_shlibs=no
10407
 
      ;;
10408
 
    esac
10409
 
 
10410
 
    if test x$host_vendor = xsni; then
10411
 
      case $host in
10412
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10413
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10414
 
        ;;
10415
 
      esac
10416
 
    fi
10417
 
  fi
10418
 
 
10419
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10420
 
$as_echo "$ld_shlibs" >&6; }
10421
 
test "$ld_shlibs" = no && can_build_shared=no
10422
 
 
10423
 
with_gnu_ld=$with_gnu_ld
10424
 
 
10425
 
 
10426
 
 
10427
 
 
10428
 
 
10429
 
 
10430
 
 
10431
 
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
 
 
10439
 
#
10440
 
# Do we need to explicitly link libc?
10441
 
#
10442
 
case "x$archive_cmds_need_lc" in
10443
 
x|xyes)
10444
 
  # Assume -lc should be added
10445
 
  archive_cmds_need_lc=yes
10446
 
 
10447
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10448
 
    case $archive_cmds in
10449
 
    *'~'*)
10450
 
      # FIXME: we may have to deal with multi-command sequences.
10451
 
      ;;
10452
 
    '$CC '*)
10453
 
      # Test whether the compiler implicitly links with -lc since on some
10454
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10455
 
      # to ld, don't add -lc before -lgcc.
10456
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10457
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10458
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10459
 
  $as_echo_n "(cached) " >&6
10460
 
else
10461
 
  $RM conftest*
10462
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10463
 
 
10464
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10465
 
  (eval $ac_compile) 2>&5
10466
 
  ac_status=$?
10467
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10468
 
  test $ac_status = 0; } 2>conftest.err; then
10469
 
          soname=conftest
10470
 
          lib=conftest
10471
 
          libobjs=conftest.$ac_objext
10472
 
          deplibs=
10473
 
          wl=$lt_prog_compiler_wl
10474
 
          pic_flag=$lt_prog_compiler_pic
10475
 
          compiler_flags=-v
10476
 
          linker_flags=-v
10477
 
          verstring=
10478
 
          output_objdir=.
10479
 
          libname=conftest
10480
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10481
 
          allow_undefined_flag=
10482
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10483
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10484
 
  ac_status=$?
10485
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10486
 
  test $ac_status = 0; }
10487
 
          then
10488
 
            lt_cv_archive_cmds_need_lc=no
10489
 
          else
10490
 
            lt_cv_archive_cmds_need_lc=yes
10491
 
          fi
10492
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10493
 
        else
10494
 
          cat conftest.err 1>&5
10495
 
        fi
10496
 
        $RM conftest*
10497
 
 
10498
 
fi
10499
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10500
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10501
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10502
 
      ;;
10503
 
    esac
10504
 
  fi
10505
 
  ;;
10506
 
esac
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
 
 
10552
 
 
10553
 
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
 
 
10565
 
 
10566
 
 
10567
 
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
 
10589
 
 
10590
 
 
10591
 
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
 
10607
 
 
10608
 
 
10609
 
 
10610
 
 
10611
 
 
10612
 
 
10613
 
 
10614
 
 
10615
 
 
10616
 
 
10617
 
 
10618
 
 
10619
 
 
10620
 
 
10621
 
 
10622
 
 
10623
 
 
10624
 
 
10625
 
 
10626
 
 
10627
 
 
10628
 
 
10629
 
 
10630
 
 
10631
 
 
10632
 
 
10633
 
 
10634
 
 
10635
 
 
10636
 
 
10637
 
 
10638
 
 
10639
 
 
10640
 
 
10641
 
 
10642
 
 
10643
 
 
10644
 
 
10645
 
 
10646
 
 
10647
 
 
10648
 
 
10649
 
 
10650
 
 
10651
 
 
10652
 
 
10653
 
 
10654
 
 
10655
 
 
10656
 
 
10657
 
 
10658
 
 
10659
 
 
10660
 
 
10661
 
 
10662
 
 
10663
 
 
10664
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10665
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10666
 
 
10667
 
if test "$GCC" = yes; then
10668
 
  case $host_os in
10669
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10670
 
    *) lt_awk_arg="/^libraries:/" ;;
10671
 
  esac
10672
 
  case $host_os in
10673
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10674
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10675
 
  esac
10676
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10677
 
  case $lt_search_path_spec in
10678
 
  *\;*)
10679
 
    # if the path contains ";" then we assume it to be the separator
10680
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10681
 
    # assumed that no part of a normal pathname contains ";" but that should
10682
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10683
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10684
 
    ;;
10685
 
  *)
10686
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10687
 
    ;;
10688
 
  esac
10689
 
  # Ok, now we have the path, separated by spaces, we can step through it
10690
 
  # and add multilib dir if necessary.
10691
 
  lt_tmp_lt_search_path_spec=
10692
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10693
 
  for lt_sys_path in $lt_search_path_spec; do
10694
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10695
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10696
 
    else
10697
 
      test -d "$lt_sys_path" && \
10698
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10699
 
    fi
10700
 
  done
10701
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10702
 
BEGIN {RS=" "; FS="/|\n";} {
10703
 
  lt_foo="";
10704
 
  lt_count=0;
10705
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10706
 
    if ($lt_i != "" && $lt_i != ".") {
10707
 
      if ($lt_i == "..") {
10708
 
        lt_count++;
10709
 
      } else {
10710
 
        if (lt_count == 0) {
10711
 
          lt_foo="/" $lt_i lt_foo;
10712
 
        } else {
10713
 
          lt_count--;
10714
 
        }
10715
 
      }
10716
 
    }
10717
 
  }
10718
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10719
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10720
 
}'`
10721
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10722
 
  # for these hosts.
10723
 
  case $host_os in
10724
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10725
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10726
 
  esac
10727
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10728
 
else
10729
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10730
 
fi
10731
 
library_names_spec=
10732
 
libname_spec='lib$name'
10733
 
soname_spec=
10734
 
shrext_cmds=".so"
10735
 
postinstall_cmds=
10736
 
postuninstall_cmds=
10737
 
finish_cmds=
10738
 
finish_eval=
10739
 
shlibpath_var=
10740
 
shlibpath_overrides_runpath=unknown
10741
 
version_type=none
10742
 
dynamic_linker="$host_os ld.so"
10743
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10744
 
need_lib_prefix=unknown
10745
 
hardcode_into_libs=no
10746
 
 
10747
 
# when you set need_version to no, make sure it does not cause -set_version
10748
 
# flags to be left without arguments
10749
 
need_version=unknown
10750
 
 
10751
 
case $host_os in
10752
 
aix3*)
10753
 
  version_type=linux
10754
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10755
 
  shlibpath_var=LIBPATH
10756
 
 
10757
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10758
 
  soname_spec='${libname}${release}${shared_ext}$major'
10759
 
  ;;
10760
 
 
10761
 
aix[4-9]*)
10762
 
  version_type=linux
10763
 
  need_lib_prefix=no
10764
 
  need_version=no
10765
 
  hardcode_into_libs=yes
10766
 
  if test "$host_cpu" = ia64; then
10767
 
    # AIX 5 supports IA64
10768
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10769
 
    shlibpath_var=LD_LIBRARY_PATH
10770
 
  else
10771
 
    # With GCC up to 2.95.x, collect2 would create an import file
10772
 
    # for dependence libraries.  The import file would start with
10773
 
    # the line `#! .'.  This would cause the generated library to
10774
 
    # depend on `.', always an invalid library.  This was fixed in
10775
 
    # development snapshots of GCC prior to 3.0.
10776
 
    case $host_os in
10777
 
      aix4 | aix4.[01] | aix4.[01].*)
10778
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10779
 
           echo ' yes '
10780
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10781
 
        :
10782
 
      else
10783
 
        can_build_shared=no
10784
 
      fi
10785
 
      ;;
10786
 
    esac
10787
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10788
 
    # soname into executable. Probably we can add versioning support to
10789
 
    # collect2, so additional links can be useful in future.
10790
 
    if test "$aix_use_runtimelinking" = yes; then
10791
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10792
 
      # instead of lib<name>.a to let people know that these are not
10793
 
      # typical AIX shared libraries.
10794
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795
 
    else
10796
 
      # We preserve .a as extension for shared libraries through AIX4.2
10797
 
      # and later when we are not doing run time linking.
10798
 
      library_names_spec='${libname}${release}.a $libname.a'
10799
 
      soname_spec='${libname}${release}${shared_ext}$major'
10800
 
    fi
10801
 
    shlibpath_var=LIBPATH
10802
 
  fi
10803
 
  ;;
10804
 
 
10805
 
amigaos*)
10806
 
  case $host_cpu in
10807
 
  powerpc)
10808
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10809
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10810
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811
 
    ;;
10812
 
  m68k)
10813
 
    library_names_spec='$libname.ixlibrary $libname.a'
10814
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10815
 
    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'
10816
 
    ;;
10817
 
  esac
10818
 
  ;;
10819
 
 
10820
 
beos*)
10821
 
  library_names_spec='${libname}${shared_ext}'
10822
 
  dynamic_linker="$host_os ld.so"
10823
 
  shlibpath_var=LIBRARY_PATH
10824
 
  ;;
10825
 
 
10826
 
bsdi[45]*)
10827
 
  version_type=linux
10828
 
  need_version=no
10829
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830
 
  soname_spec='${libname}${release}${shared_ext}$major'
10831
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10832
 
  shlibpath_var=LD_LIBRARY_PATH
10833
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10834
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10835
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10836
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10837
 
  # libtool to hard-code these into programs
10838
 
  ;;
10839
 
 
10840
 
cygwin* | mingw* | pw32* | cegcc*)
10841
 
  version_type=windows
10842
 
  shrext_cmds=".dll"
10843
 
  need_version=no
10844
 
  need_lib_prefix=no
10845
 
 
10846
 
  case $GCC,$cc_basename in
10847
 
  yes,*)
10848
 
    # gcc
10849
 
    library_names_spec='$libname.dll.a'
10850
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10851
 
    postinstall_cmds='base_file=`basename \${file}`~
10852
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10853
 
      dldir=$destdir/`dirname \$dlpath`~
10854
 
      test -d \$dldir || mkdir -p \$dldir~
10855
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10856
 
      chmod a+x \$dldir/$dlname~
10857
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10858
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10859
 
      fi'
10860
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10861
 
      dlpath=$dir/\$dldll~
10862
 
       $RM \$dlpath'
10863
 
    shlibpath_overrides_runpath=yes
10864
 
 
10865
 
    case $host_os in
10866
 
    cygwin*)
10867
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10868
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10869
 
 
10870
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10871
 
      ;;
10872
 
    mingw* | cegcc*)
10873
 
      # MinGW DLLs use traditional 'lib' prefix
10874
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10875
 
      ;;
10876
 
    pw32*)
10877
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10878
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10879
 
      ;;
10880
 
    esac
10881
 
    dynamic_linker='Win32 ld.exe'
10882
 
    ;;
10883
 
 
10884
 
  *,cl*)
10885
 
    # Native MSVC
10886
 
    libname_spec='$name'
10887
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10888
 
    library_names_spec='${libname}.dll.lib'
10889
 
 
10890
 
    case $build_os in
10891
 
    mingw*)
10892
 
      sys_lib_search_path_spec=
10893
 
      lt_save_ifs=$IFS
10894
 
      IFS=';'
10895
 
      for lt_path in $LIB
10896
 
      do
10897
 
        IFS=$lt_save_ifs
10898
 
        # Let DOS variable expansion print the short 8.3 style file name.
10899
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10900
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10901
 
      done
10902
 
      IFS=$lt_save_ifs
10903
 
      # Convert to MSYS style.
10904
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10905
 
      ;;
10906
 
    cygwin*)
10907
 
      # Convert to unix form, then to dos form, then back to unix form
10908
 
      # but this time dos style (no spaces!) so that the unix form looks
10909
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10910
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10911
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10912
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10913
 
      ;;
10914
 
    *)
10915
 
      sys_lib_search_path_spec="$LIB"
10916
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10917
 
        # It is most probably a Windows format PATH.
10918
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10919
 
      else
10920
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10921
 
      fi
10922
 
      # FIXME: find the short name or the path components, as spaces are
10923
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10924
 
      ;;
10925
 
    esac
10926
 
 
10927
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10928
 
    postinstall_cmds='base_file=`basename \${file}`~
10929
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10930
 
      dldir=$destdir/`dirname \$dlpath`~
10931
 
      test -d \$dldir || mkdir -p \$dldir~
10932
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10933
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10934
 
      dlpath=$dir/\$dldll~
10935
 
       $RM \$dlpath'
10936
 
    shlibpath_overrides_runpath=yes
10937
 
    dynamic_linker='Win32 link.exe'
10938
 
    ;;
10939
 
 
10940
 
  *)
10941
 
    # Assume MSVC wrapper
10942
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10943
 
    dynamic_linker='Win32 ld.exe'
10944
 
    ;;
10945
 
  esac
10946
 
  # FIXME: first we should search . and the directory the executable is in
10947
 
  shlibpath_var=PATH
10948
 
  ;;
10949
 
 
10950
 
darwin* | rhapsody*)
10951
 
  dynamic_linker="$host_os dyld"
10952
 
  version_type=darwin
10953
 
  need_lib_prefix=no
10954
 
  need_version=no
10955
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10956
 
  soname_spec='${libname}${release}${major}$shared_ext'
10957
 
  shlibpath_overrides_runpath=yes
10958
 
  shlibpath_var=DYLD_LIBRARY_PATH
10959
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10960
 
 
10961
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10962
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10963
 
  ;;
10964
 
 
10965
 
dgux*)
10966
 
  version_type=linux
10967
 
  need_lib_prefix=no
10968
 
  need_version=no
10969
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10970
 
  soname_spec='${libname}${release}${shared_ext}$major'
10971
 
  shlibpath_var=LD_LIBRARY_PATH
10972
 
  ;;
10973
 
 
10974
 
freebsd1*)
10975
 
  dynamic_linker=no
10976
 
  ;;
10977
 
 
10978
 
freebsd* | dragonfly*)
10979
 
  # DragonFly does not have aout.  When/if they implement a new
10980
 
  # versioning mechanism, adjust this.
10981
 
  if test -x /usr/bin/objformat; then
10982
 
    objformat=`/usr/bin/objformat`
10983
 
  else
10984
 
    case $host_os in
10985
 
    freebsd[123]*) objformat=aout ;;
10986
 
    *) objformat=elf ;;
10987
 
    esac
10988
 
  fi
10989
 
  version_type=freebsd-$objformat
10990
 
  case $version_type in
10991
 
    freebsd-elf*)
10992
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10993
 
      need_version=no
10994
 
      need_lib_prefix=no
10995
 
      ;;
10996
 
    freebsd-*)
10997
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10998
 
      need_version=yes
10999
 
      ;;
11000
 
  esac
11001
 
  shlibpath_var=LD_LIBRARY_PATH
11002
 
  case $host_os in
11003
 
  freebsd2*)
11004
 
    shlibpath_overrides_runpath=yes
11005
 
    ;;
11006
 
  freebsd3.[01]* | freebsdelf3.[01]*)
11007
 
    shlibpath_overrides_runpath=yes
11008
 
    hardcode_into_libs=yes
11009
 
    ;;
11010
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11011
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11012
 
    shlibpath_overrides_runpath=no
11013
 
    hardcode_into_libs=yes
11014
 
    ;;
11015
 
  *) # from 4.6 on, and DragonFly
11016
 
    shlibpath_overrides_runpath=yes
11017
 
    hardcode_into_libs=yes
11018
 
    ;;
11019
 
  esac
11020
 
  ;;
11021
 
 
11022
 
gnu*)
11023
 
  version_type=linux
11024
 
  need_lib_prefix=no
11025
 
  need_version=no
11026
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11027
 
  soname_spec='${libname}${release}${shared_ext}$major'
11028
 
  shlibpath_var=LD_LIBRARY_PATH
11029
 
  hardcode_into_libs=yes
11030
 
  ;;
11031
 
 
11032
 
haiku*)
11033
 
  version_type=linux
11034
 
  need_lib_prefix=no
11035
 
  need_version=no
11036
 
  dynamic_linker="$host_os runtime_loader"
11037
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11038
 
  soname_spec='${libname}${release}${shared_ext}$major'
11039
 
  shlibpath_var=LIBRARY_PATH
11040
 
  shlibpath_overrides_runpath=yes
11041
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11042
 
  hardcode_into_libs=yes
11043
 
  ;;
11044
 
 
11045
 
hpux9* | hpux10* | hpux11*)
11046
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11047
 
  # link against other versions.
11048
 
  version_type=sunos
11049
 
  need_lib_prefix=no
11050
 
  need_version=no
11051
 
  case $host_cpu in
11052
 
  ia64*)
11053
 
    shrext_cmds='.so'
11054
 
    hardcode_into_libs=yes
11055
 
    dynamic_linker="$host_os dld.so"
11056
 
    shlibpath_var=LD_LIBRARY_PATH
11057
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11058
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11059
 
    soname_spec='${libname}${release}${shared_ext}$major'
11060
 
    if test "X$HPUX_IA64_MODE" = X32; then
11061
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11062
 
    else
11063
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11064
 
    fi
11065
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11066
 
    ;;
11067
 
  hppa*64*)
11068
 
    shrext_cmds='.sl'
11069
 
    hardcode_into_libs=yes
11070
 
    dynamic_linker="$host_os dld.sl"
11071
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11072
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11073
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074
 
    soname_spec='${libname}${release}${shared_ext}$major'
11075
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11076
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11077
 
    ;;
11078
 
  *)
11079
 
    shrext_cmds='.sl'
11080
 
    dynamic_linker="$host_os dld.sl"
11081
 
    shlibpath_var=SHLIB_PATH
11082
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11083
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084
 
    soname_spec='${libname}${release}${shared_ext}$major'
11085
 
    ;;
11086
 
  esac
11087
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11088
 
  postinstall_cmds='chmod 555 $lib'
11089
 
  # or fails outright, so override atomically:
11090
 
  install_override_mode=555
11091
 
  ;;
11092
 
 
11093
 
interix[3-9]*)
11094
 
  version_type=linux
11095
 
  need_lib_prefix=no
11096
 
  need_version=no
11097
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11098
 
  soname_spec='${libname}${release}${shared_ext}$major'
11099
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11100
 
  shlibpath_var=LD_LIBRARY_PATH
11101
 
  shlibpath_overrides_runpath=no
11102
 
  hardcode_into_libs=yes
11103
 
  ;;
11104
 
 
11105
 
irix5* | irix6* | nonstopux*)
11106
 
  case $host_os in
11107
 
    nonstopux*) version_type=nonstopux ;;
11108
 
    *)
11109
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11110
 
                version_type=linux
11111
 
        else
11112
 
                version_type=irix
11113
 
        fi ;;
11114
 
  esac
11115
 
  need_lib_prefix=no
11116
 
  need_version=no
11117
 
  soname_spec='${libname}${release}${shared_ext}$major'
11118
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11119
 
  case $host_os in
11120
 
  irix5* | nonstopux*)
11121
 
    libsuff= shlibsuff=
11122
 
    ;;
11123
 
  *)
11124
 
    case $LD in # libtool.m4 will add one of these switches to LD
11125
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11126
 
      libsuff= shlibsuff= libmagic=32-bit;;
11127
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11128
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11129
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11130
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11131
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11132
 
    esac
11133
 
    ;;
11134
 
  esac
11135
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11136
 
  shlibpath_overrides_runpath=no
11137
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11138
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11139
 
  hardcode_into_libs=yes
11140
 
  ;;
11141
 
 
11142
 
# No shared lib support for Linux oldld, aout, or coff.
11143
 
linux*oldld* | linux*aout* | linux*coff*)
11144
 
  dynamic_linker=no
11145
 
  ;;
11146
 
 
11147
 
# This must be Linux ELF.
11148
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11149
 
  version_type=linux
11150
 
  need_lib_prefix=no
11151
 
  need_version=no
11152
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153
 
  soname_spec='${libname}${release}${shared_ext}$major'
11154
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11155
 
  shlibpath_var=LD_LIBRARY_PATH
11156
 
  shlibpath_overrides_runpath=no
11157
 
 
11158
 
  # Some binutils ld are patched to set DT_RUNPATH
11159
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11160
 
  $as_echo_n "(cached) " >&6
11161
 
else
11162
 
  lt_cv_shlibpath_overrides_runpath=no
11163
 
    save_LDFLAGS=$LDFLAGS
11164
 
    save_libdir=$libdir
11165
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11166
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11167
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168
 
/* end confdefs.h.  */
11169
 
 
11170
 
int
11171
 
main ()
11172
 
{
11173
 
 
11174
 
  ;
11175
 
  return 0;
11176
 
}
11177
 
_ACEOF
11178
 
if ac_fn_c_try_link "$LINENO"; then :
11179
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11180
 
  lt_cv_shlibpath_overrides_runpath=yes
11181
 
fi
11182
 
fi
11183
 
rm -f core conftest.err conftest.$ac_objext \
11184
 
    conftest$ac_exeext conftest.$ac_ext
11185
 
    LDFLAGS=$save_LDFLAGS
11186
 
    libdir=$save_libdir
11187
 
 
11188
 
fi
11189
 
 
11190
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11191
 
 
11192
 
  # This implies no fast_install, which is unacceptable.
11193
 
  # Some rework will be needed to allow for fast_install
11194
 
  # before this can be enabled.
11195
 
  hardcode_into_libs=yes
11196
 
 
11197
 
  # Add ABI-specific directories to the system library path.
11198
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11199
 
 
11200
 
  # Append ld.so.conf contents to the search path
11201
 
  if test -f /etc/ld.so.conf; then
11202
 
    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' ' '`
11203
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11204
 
 
11205
 
  fi
11206
 
 
11207
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11208
 
  # powerpc, because MkLinux only supported shared libraries with the
11209
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11210
 
  # most powerpc-linux boxes support dynamic linking these days and
11211
 
  # people can always --disable-shared, the test was removed, and we
11212
 
  # assume the GNU/Linux dynamic linker is in use.
11213
 
  dynamic_linker='GNU/Linux ld.so'
11214
 
  ;;
11215
 
 
11216
 
netbsd*)
11217
 
  version_type=sunos
11218
 
  need_lib_prefix=no
11219
 
  need_version=no
11220
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11221
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11222
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11223
 
    dynamic_linker='NetBSD (a.out) ld.so'
11224
 
  else
11225
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11226
 
    soname_spec='${libname}${release}${shared_ext}$major'
11227
 
    dynamic_linker='NetBSD ld.elf_so'
11228
 
  fi
11229
 
  shlibpath_var=LD_LIBRARY_PATH
11230
 
  shlibpath_overrides_runpath=yes
11231
 
  hardcode_into_libs=yes
11232
 
  ;;
11233
 
 
11234
 
newsos6)
11235
 
  version_type=linux
11236
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237
 
  shlibpath_var=LD_LIBRARY_PATH
11238
 
  shlibpath_overrides_runpath=yes
11239
 
  ;;
11240
 
 
11241
 
*nto* | *qnx*)
11242
 
  version_type=qnx
11243
 
  need_lib_prefix=no
11244
 
  need_version=no
11245
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11246
 
  soname_spec='${libname}${release}${shared_ext}$major'
11247
 
  shlibpath_var=LD_LIBRARY_PATH
11248
 
  shlibpath_overrides_runpath=no
11249
 
  hardcode_into_libs=yes
11250
 
  dynamic_linker='ldqnx.so'
11251
 
  ;;
11252
 
 
11253
 
openbsd*)
11254
 
  version_type=sunos
11255
 
  sys_lib_dlsearch_path_spec="/usr/lib"
11256
 
  need_lib_prefix=no
11257
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11258
 
  case $host_os in
11259
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11260
 
    *)                          need_version=no  ;;
11261
 
  esac
11262
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11263
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11264
 
  shlibpath_var=LD_LIBRARY_PATH
11265
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11266
 
    case $host_os in
11267
 
      openbsd2.[89] | openbsd2.[89].*)
11268
 
        shlibpath_overrides_runpath=no
11269
 
        ;;
11270
 
      *)
11271
 
        shlibpath_overrides_runpath=yes
11272
 
        ;;
11273
 
      esac
11274
 
  else
11275
 
    shlibpath_overrides_runpath=yes
11276
 
  fi
11277
 
  ;;
11278
 
 
11279
 
os2*)
11280
 
  libname_spec='$name'
11281
 
  shrext_cmds=".dll"
11282
 
  need_lib_prefix=no
11283
 
  library_names_spec='$libname${shared_ext} $libname.a'
11284
 
  dynamic_linker='OS/2 ld.exe'
11285
 
  shlibpath_var=LIBPATH
11286
 
  ;;
11287
 
 
11288
 
osf3* | osf4* | osf5*)
11289
 
  version_type=osf
11290
 
  need_lib_prefix=no
11291
 
  need_version=no
11292
 
  soname_spec='${libname}${release}${shared_ext}$major'
11293
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11294
 
  shlibpath_var=LD_LIBRARY_PATH
11295
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11296
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11297
 
  ;;
11298
 
 
11299
 
rdos*)
11300
 
  dynamic_linker=no
11301
 
  ;;
11302
 
 
11303
 
solaris*)
11304
 
  version_type=linux
11305
 
  need_lib_prefix=no
11306
 
  need_version=no
11307
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11308
 
  soname_spec='${libname}${release}${shared_ext}$major'
11309
 
  shlibpath_var=LD_LIBRARY_PATH
11310
 
  shlibpath_overrides_runpath=yes
11311
 
  hardcode_into_libs=yes
11312
 
  # ldd complains unless libraries are executable
11313
 
  postinstall_cmds='chmod +x $lib'
11314
 
  ;;
11315
 
 
11316
 
sunos4*)
11317
 
  version_type=sunos
11318
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11319
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11320
 
  shlibpath_var=LD_LIBRARY_PATH
11321
 
  shlibpath_overrides_runpath=yes
11322
 
  if test "$with_gnu_ld" = yes; then
11323
 
    need_lib_prefix=no
11324
 
  fi
11325
 
  need_version=yes
11326
 
  ;;
11327
 
 
11328
 
sysv4 | sysv4.3*)
11329
 
  version_type=linux
11330
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331
 
  soname_spec='${libname}${release}${shared_ext}$major'
11332
 
  shlibpath_var=LD_LIBRARY_PATH
11333
 
  case $host_vendor in
11334
 
    sni)
11335
 
      shlibpath_overrides_runpath=no
11336
 
      need_lib_prefix=no
11337
 
      runpath_var=LD_RUN_PATH
11338
 
      ;;
11339
 
    siemens)
11340
 
      need_lib_prefix=no
11341
 
      ;;
11342
 
    motorola)
11343
 
      need_lib_prefix=no
11344
 
      need_version=no
11345
 
      shlibpath_overrides_runpath=no
11346
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11347
 
      ;;
11348
 
  esac
11349
 
  ;;
11350
 
 
11351
 
sysv4*MP*)
11352
 
  if test -d /usr/nec ;then
11353
 
    version_type=linux
11354
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11355
 
    soname_spec='$libname${shared_ext}.$major'
11356
 
    shlibpath_var=LD_LIBRARY_PATH
11357
 
  fi
11358
 
  ;;
11359
 
 
11360
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11361
 
  version_type=freebsd-elf
11362
 
  need_lib_prefix=no
11363
 
  need_version=no
11364
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11365
 
  soname_spec='${libname}${release}${shared_ext}$major'
11366
 
  shlibpath_var=LD_LIBRARY_PATH
11367
 
  shlibpath_overrides_runpath=yes
11368
 
  hardcode_into_libs=yes
11369
 
  if test "$with_gnu_ld" = yes; then
11370
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11371
 
  else
11372
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11373
 
    case $host_os in
11374
 
      sco3.2v5*)
11375
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11376
 
        ;;
11377
 
    esac
11378
 
  fi
11379
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11380
 
  ;;
11381
 
 
11382
 
tpf*)
11383
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11384
 
  version_type=linux
11385
 
  need_lib_prefix=no
11386
 
  need_version=no
11387
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388
 
  shlibpath_var=LD_LIBRARY_PATH
11389
 
  shlibpath_overrides_runpath=no
11390
 
  hardcode_into_libs=yes
11391
 
  ;;
11392
 
 
11393
 
uts4*)
11394
 
  version_type=linux
11395
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11396
 
  soname_spec='${libname}${release}${shared_ext}$major'
11397
 
  shlibpath_var=LD_LIBRARY_PATH
11398
 
  ;;
11399
 
 
11400
 
*)
11401
 
  dynamic_linker=no
11402
 
  ;;
11403
 
esac
11404
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11405
 
$as_echo "$dynamic_linker" >&6; }
11406
 
test "$dynamic_linker" = no && can_build_shared=no
11407
 
 
11408
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11409
 
if test "$GCC" = yes; then
11410
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11411
 
fi
11412
 
 
11413
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11414
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11415
 
fi
11416
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11417
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11418
 
fi
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
 
 
11429
 
 
11430
 
 
11431
 
 
11432
 
 
11433
 
 
11434
 
 
11435
 
 
11436
 
 
11437
 
 
11438
 
 
11439
 
 
11440
 
 
11441
 
 
11442
 
 
11443
 
 
11444
 
 
11445
 
 
11446
 
 
11447
 
 
11448
 
 
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
 
11454
 
 
11455
 
 
11456
 
 
11457
 
 
11458
 
 
11459
 
 
11460
 
 
11461
 
 
11462
 
 
11463
 
 
11464
 
 
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
 
 
11471
 
 
11472
 
 
11473
 
 
11474
 
 
11475
 
 
11476
 
 
11477
 
 
11478
 
 
11479
 
 
11480
 
 
11481
 
 
11482
 
 
11483
 
 
11484
 
 
11485
 
 
11486
 
 
11487
 
 
11488
 
 
11489
 
 
11490
 
 
11491
 
 
11492
 
 
11493
 
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
 
11505
 
 
11506
 
 
11507
 
 
11508
 
 
11509
 
 
11510
 
 
11511
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11512
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11513
 
hardcode_action=
11514
 
if test -n "$hardcode_libdir_flag_spec" ||
11515
 
   test -n "$runpath_var" ||
11516
 
   test "X$hardcode_automatic" = "Xyes" ; then
11517
 
 
11518
 
  # We can hardcode non-existent directories.
11519
 
  if test "$hardcode_direct" != no &&
11520
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11521
 
     # have to relink, otherwise we might link with an installed library
11522
 
     # when we should be linking with a yet-to-be-installed one
11523
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11524
 
     test "$hardcode_minus_L" != no; then
11525
 
    # Linking always hardcodes the temporary library directory.
11526
 
    hardcode_action=relink
11527
 
  else
11528
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11529
 
    hardcode_action=immediate
11530
 
  fi
11531
 
else
11532
 
  # We cannot hardcode anything, or else we can only hardcode existing
11533
 
  # directories.
11534
 
  hardcode_action=unsupported
11535
 
fi
11536
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11537
 
$as_echo "$hardcode_action" >&6; }
11538
 
 
11539
 
if test "$hardcode_action" = relink ||
11540
 
   test "$inherit_rpath" = yes; then
11541
 
  # Fast installation is not supported
11542
 
  enable_fast_install=no
11543
 
elif test "$shlibpath_overrides_runpath" = yes ||
11544
 
     test "$enable_shared" = no; then
11545
 
  # Fast installation is not necessary
11546
 
  enable_fast_install=needless
11547
 
fi
11548
 
 
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
  if test "x$enable_dlopen" != xyes; then
11555
 
  enable_dlopen=unknown
11556
 
  enable_dlopen_self=unknown
11557
 
  enable_dlopen_self_static=unknown
11558
 
else
11559
 
  lt_cv_dlopen=no
11560
 
  lt_cv_dlopen_libs=
11561
 
 
11562
 
  case $host_os in
11563
 
  beos*)
11564
 
    lt_cv_dlopen="load_add_on"
11565
 
    lt_cv_dlopen_libs=
11566
 
    lt_cv_dlopen_self=yes
11567
 
    ;;
11568
 
 
11569
 
  mingw* | pw32* | cegcc*)
11570
 
    lt_cv_dlopen="LoadLibrary"
11571
 
    lt_cv_dlopen_libs=
11572
 
    ;;
11573
 
 
11574
 
  cygwin*)
11575
 
    lt_cv_dlopen="dlopen"
11576
 
    lt_cv_dlopen_libs=
11577
 
    ;;
11578
 
 
11579
 
  darwin*)
11580
 
  # if libdl is installed we need to link against it
11581
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11582
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11583
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11584
 
  $as_echo_n "(cached) " >&6
11585
 
else
11586
 
  ac_check_lib_save_LIBS=$LIBS
11587
 
LIBS="-ldl  $LIBS"
11588
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589
 
/* end confdefs.h.  */
11590
 
 
11591
 
/* Override any GCC internal prototype to avoid an error.
11592
 
   Use char because int might match the return type of a GCC
11593
 
   builtin and then its argument prototype would still apply.  */
11594
 
#ifdef __cplusplus
11595
 
extern "C"
11596
 
#endif
11597
 
char dlopen ();
11598
 
int
11599
 
main ()
11600
 
{
11601
 
return dlopen ();
11602
 
  ;
11603
 
  return 0;
11604
 
}
11605
 
_ACEOF
11606
 
if ac_fn_c_try_link "$LINENO"; then :
11607
 
  ac_cv_lib_dl_dlopen=yes
11608
 
else
11609
 
  ac_cv_lib_dl_dlopen=no
11610
 
fi
11611
 
rm -f core conftest.err conftest.$ac_objext \
11612
 
    conftest$ac_exeext conftest.$ac_ext
11613
 
LIBS=$ac_check_lib_save_LIBS
11614
 
fi
11615
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11616
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11617
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11618
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11619
 
else
11620
 
 
11621
 
    lt_cv_dlopen="dyld"
11622
 
    lt_cv_dlopen_libs=
11623
 
    lt_cv_dlopen_self=yes
11624
 
 
11625
 
fi
11626
 
 
11627
 
    ;;
11628
 
 
11629
 
  *)
11630
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11631
 
if test "x$ac_cv_func_shl_load" = xyes; then :
11632
 
  lt_cv_dlopen="shl_load"
11633
 
else
11634
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11635
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11636
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
11637
 
  $as_echo_n "(cached) " >&6
11638
 
else
11639
 
  ac_check_lib_save_LIBS=$LIBS
11640
 
LIBS="-ldld  $LIBS"
11641
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642
 
/* end confdefs.h.  */
11643
 
 
11644
 
/* Override any GCC internal prototype to avoid an error.
11645
 
   Use char because int might match the return type of a GCC
11646
 
   builtin and then its argument prototype would still apply.  */
11647
 
#ifdef __cplusplus
11648
 
extern "C"
11649
 
#endif
11650
 
char shl_load ();
11651
 
int
11652
 
main ()
11653
 
{
11654
 
return shl_load ();
11655
 
  ;
11656
 
  return 0;
11657
 
}
11658
 
_ACEOF
11659
 
if ac_fn_c_try_link "$LINENO"; then :
11660
 
  ac_cv_lib_dld_shl_load=yes
11661
 
else
11662
 
  ac_cv_lib_dld_shl_load=no
11663
 
fi
11664
 
rm -f core conftest.err conftest.$ac_objext \
11665
 
    conftest$ac_exeext conftest.$ac_ext
11666
 
LIBS=$ac_check_lib_save_LIBS
11667
 
fi
11668
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11669
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11670
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11671
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11672
 
else
11673
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11674
 
if test "x$ac_cv_func_dlopen" = xyes; then :
11675
 
  lt_cv_dlopen="dlopen"
11676
 
else
11677
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11678
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11679
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11680
 
  $as_echo_n "(cached) " >&6
11681
 
else
11682
 
  ac_check_lib_save_LIBS=$LIBS
11683
 
LIBS="-ldl  $LIBS"
11684
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685
 
/* end confdefs.h.  */
11686
 
 
11687
 
/* Override any GCC internal prototype to avoid an error.
11688
 
   Use char because int might match the return type of a GCC
11689
 
   builtin and then its argument prototype would still apply.  */
11690
 
#ifdef __cplusplus
11691
 
extern "C"
11692
 
#endif
11693
 
char dlopen ();
11694
 
int
11695
 
main ()
11696
 
{
11697
 
return dlopen ();
11698
 
  ;
11699
 
  return 0;
11700
 
}
11701
 
_ACEOF
11702
 
if ac_fn_c_try_link "$LINENO"; then :
11703
 
  ac_cv_lib_dl_dlopen=yes
11704
 
else
11705
 
  ac_cv_lib_dl_dlopen=no
11706
 
fi
11707
 
rm -f core conftest.err conftest.$ac_objext \
11708
 
    conftest$ac_exeext conftest.$ac_ext
11709
 
LIBS=$ac_check_lib_save_LIBS
11710
 
fi
11711
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11712
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11713
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11714
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11715
 
else
11716
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11717
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11718
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11719
 
  $as_echo_n "(cached) " >&6
11720
 
else
11721
 
  ac_check_lib_save_LIBS=$LIBS
11722
 
LIBS="-lsvld  $LIBS"
11723
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724
 
/* end confdefs.h.  */
11725
 
 
11726
 
/* Override any GCC internal prototype to avoid an error.
11727
 
   Use char because int might match the return type of a GCC
11728
 
   builtin and then its argument prototype would still apply.  */
11729
 
#ifdef __cplusplus
11730
 
extern "C"
11731
 
#endif
11732
 
char dlopen ();
11733
 
int
11734
 
main ()
11735
 
{
11736
 
return dlopen ();
11737
 
  ;
11738
 
  return 0;
11739
 
}
11740
 
_ACEOF
11741
 
if ac_fn_c_try_link "$LINENO"; then :
11742
 
  ac_cv_lib_svld_dlopen=yes
11743
 
else
11744
 
  ac_cv_lib_svld_dlopen=no
11745
 
fi
11746
 
rm -f core conftest.err conftest.$ac_objext \
11747
 
    conftest$ac_exeext conftest.$ac_ext
11748
 
LIBS=$ac_check_lib_save_LIBS
11749
 
fi
11750
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11751
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11752
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11753
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11754
 
else
11755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11756
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11757
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11758
 
  $as_echo_n "(cached) " >&6
11759
 
else
11760
 
  ac_check_lib_save_LIBS=$LIBS
11761
 
LIBS="-ldld  $LIBS"
11762
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763
 
/* end confdefs.h.  */
11764
 
 
11765
 
/* Override any GCC internal prototype to avoid an error.
11766
 
   Use char because int might match the return type of a GCC
11767
 
   builtin and then its argument prototype would still apply.  */
11768
 
#ifdef __cplusplus
11769
 
extern "C"
11770
 
#endif
11771
 
char dld_link ();
11772
 
int
11773
 
main ()
11774
 
{
11775
 
return dld_link ();
11776
 
  ;
11777
 
  return 0;
11778
 
}
11779
 
_ACEOF
11780
 
if ac_fn_c_try_link "$LINENO"; then :
11781
 
  ac_cv_lib_dld_dld_link=yes
11782
 
else
11783
 
  ac_cv_lib_dld_dld_link=no
11784
 
fi
11785
 
rm -f core conftest.err conftest.$ac_objext \
11786
 
    conftest$ac_exeext conftest.$ac_ext
11787
 
LIBS=$ac_check_lib_save_LIBS
11788
 
fi
11789
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11790
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11791
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11792
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11793
 
fi
11794
 
 
11795
 
 
11796
 
fi
11797
 
 
11798
 
 
11799
 
fi
11800
 
 
11801
 
 
11802
 
fi
11803
 
 
11804
 
 
11805
 
fi
11806
 
 
11807
 
 
11808
 
fi
11809
 
 
11810
 
    ;;
11811
 
  esac
11812
 
 
11813
 
  if test "x$lt_cv_dlopen" != xno; then
11814
 
    enable_dlopen=yes
11815
 
  else
11816
 
    enable_dlopen=no
11817
 
  fi
11818
 
 
11819
 
  case $lt_cv_dlopen in
11820
 
  dlopen)
11821
 
    save_CPPFLAGS="$CPPFLAGS"
11822
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11823
 
 
11824
 
    save_LDFLAGS="$LDFLAGS"
11825
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11826
 
 
11827
 
    save_LIBS="$LIBS"
11828
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11829
 
 
11830
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11831
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11832
 
if ${lt_cv_dlopen_self+:} false; then :
11833
 
  $as_echo_n "(cached) " >&6
11834
 
else
11835
 
          if test "$cross_compiling" = yes; then :
11836
 
  lt_cv_dlopen_self=cross
11837
 
else
11838
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11839
 
  lt_status=$lt_dlunknown
11840
 
  cat > conftest.$ac_ext <<_LT_EOF
11841
 
#line $LINENO "configure"
11842
 
#include "confdefs.h"
11843
 
 
11844
 
#if HAVE_DLFCN_H
11845
 
#include <dlfcn.h>
11846
 
#endif
11847
 
 
11848
 
#include <stdio.h>
11849
 
 
11850
 
#ifdef RTLD_GLOBAL
11851
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11852
 
#else
11853
 
#  ifdef DL_GLOBAL
11854
 
#    define LT_DLGLOBAL         DL_GLOBAL
11855
 
#  else
11856
 
#    define LT_DLGLOBAL         0
11857
 
#  endif
11858
 
#endif
11859
 
 
11860
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11861
 
   find out it does not work in some platform. */
11862
 
#ifndef LT_DLLAZY_OR_NOW
11863
 
#  ifdef RTLD_LAZY
11864
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11865
 
#  else
11866
 
#    ifdef DL_LAZY
11867
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11868
 
#    else
11869
 
#      ifdef RTLD_NOW
11870
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11871
 
#      else
11872
 
#        ifdef DL_NOW
11873
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11874
 
#        else
11875
 
#          define LT_DLLAZY_OR_NOW      0
11876
 
#        endif
11877
 
#      endif
11878
 
#    endif
11879
 
#  endif
11880
 
#endif
11881
 
 
11882
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11883
 
   correspondingly for the symbols needed.  */
11884
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11885
 
int fnord () __attribute__((visibility("default")));
11886
 
#endif
11887
 
 
11888
 
int fnord () { return 42; }
11889
 
int main ()
11890
 
{
11891
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11892
 
  int status = $lt_dlunknown;
11893
 
 
11894
 
  if (self)
11895
 
    {
11896
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11897
 
      else
11898
 
        {
11899
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11900
 
          else puts (dlerror ());
11901
 
        }
11902
 
      /* dlclose (self); */
11903
 
    }
11904
 
  else
11905
 
    puts (dlerror ());
11906
 
 
11907
 
  return status;
11908
 
}
11909
 
_LT_EOF
11910
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11911
 
  (eval $ac_link) 2>&5
11912
 
  ac_status=$?
11913
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11914
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11915
 
    (./conftest; exit; ) >&5 2>/dev/null
11916
 
    lt_status=$?
11917
 
    case x$lt_status in
11918
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11919
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11920
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11921
 
    esac
11922
 
  else :
11923
 
    # compilation failed
11924
 
    lt_cv_dlopen_self=no
11925
 
  fi
11926
 
fi
11927
 
rm -fr conftest*
11928
 
 
11929
 
 
11930
 
fi
11931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11932
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11933
 
 
11934
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11935
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11936
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11937
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11938
 
if ${lt_cv_dlopen_self_static+:} false; then :
11939
 
  $as_echo_n "(cached) " >&6
11940
 
else
11941
 
          if test "$cross_compiling" = yes; then :
11942
 
  lt_cv_dlopen_self_static=cross
11943
 
else
11944
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11945
 
  lt_status=$lt_dlunknown
11946
 
  cat > conftest.$ac_ext <<_LT_EOF
11947
 
#line $LINENO "configure"
11948
 
#include "confdefs.h"
11949
 
 
11950
 
#if HAVE_DLFCN_H
11951
 
#include <dlfcn.h>
11952
 
#endif
11953
 
 
11954
 
#include <stdio.h>
11955
 
 
11956
 
#ifdef RTLD_GLOBAL
11957
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11958
 
#else
11959
 
#  ifdef DL_GLOBAL
11960
 
#    define LT_DLGLOBAL         DL_GLOBAL
11961
 
#  else
11962
 
#    define LT_DLGLOBAL         0
11963
 
#  endif
11964
 
#endif
11965
 
 
11966
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11967
 
   find out it does not work in some platform. */
11968
 
#ifndef LT_DLLAZY_OR_NOW
11969
 
#  ifdef RTLD_LAZY
11970
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11971
 
#  else
11972
 
#    ifdef DL_LAZY
11973
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11974
 
#    else
11975
 
#      ifdef RTLD_NOW
11976
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11977
 
#      else
11978
 
#        ifdef DL_NOW
11979
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11980
 
#        else
11981
 
#          define LT_DLLAZY_OR_NOW      0
11982
 
#        endif
11983
 
#      endif
11984
 
#    endif
11985
 
#  endif
11986
 
#endif
11987
 
 
11988
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11989
 
   correspondingly for the symbols needed.  */
11990
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11991
 
int fnord () __attribute__((visibility("default")));
11992
 
#endif
11993
 
 
11994
 
int fnord () { return 42; }
11995
 
int main ()
11996
 
{
11997
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11998
 
  int status = $lt_dlunknown;
11999
 
 
12000
 
  if (self)
12001
 
    {
12002
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12003
 
      else
12004
 
        {
12005
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12006
 
          else puts (dlerror ());
12007
 
        }
12008
 
      /* dlclose (self); */
12009
 
    }
12010
 
  else
12011
 
    puts (dlerror ());
12012
 
 
12013
 
  return status;
12014
 
}
12015
 
_LT_EOF
12016
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12017
 
  (eval $ac_link) 2>&5
12018
 
  ac_status=$?
12019
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12020
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12021
 
    (./conftest; exit; ) >&5 2>/dev/null
12022
 
    lt_status=$?
12023
 
    case x$lt_status in
12024
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12025
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12026
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12027
 
    esac
12028
 
  else :
12029
 
    # compilation failed
12030
 
    lt_cv_dlopen_self_static=no
12031
 
  fi
12032
 
fi
12033
 
rm -fr conftest*
12034
 
 
12035
 
 
12036
 
fi
12037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12038
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12039
 
    fi
12040
 
 
12041
 
    CPPFLAGS="$save_CPPFLAGS"
12042
 
    LDFLAGS="$save_LDFLAGS"
12043
 
    LIBS="$save_LIBS"
12044
 
    ;;
12045
 
  esac
12046
 
 
12047
 
  case $lt_cv_dlopen_self in
12048
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12049
 
  *) enable_dlopen_self=unknown ;;
12050
 
  esac
12051
 
 
12052
 
  case $lt_cv_dlopen_self_static in
12053
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12054
 
  *) enable_dlopen_self_static=unknown ;;
12055
 
  esac
12056
 
fi
12057
 
 
12058
 
 
12059
 
 
12060
 
 
12061
 
 
12062
 
 
12063
 
 
12064
 
 
12065
 
 
12066
 
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
 
12072
 
 
12073
 
 
12074
 
striplib=
12075
 
old_striplib=
12076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12077
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12078
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12079
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12080
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12081
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12082
 
$as_echo "yes" >&6; }
12083
 
else
12084
 
# FIXME - insert some real tests, host_os isn't really good enough
12085
 
  case $host_os in
12086
 
  darwin*)
12087
 
    if test -n "$STRIP" ; then
12088
 
      striplib="$STRIP -x"
12089
 
      old_striplib="$STRIP -S"
12090
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12091
 
$as_echo "yes" >&6; }
12092
 
    else
12093
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12094
 
$as_echo "no" >&6; }
12095
 
    fi
12096
 
    ;;
12097
 
  *)
12098
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12099
 
$as_echo "no" >&6; }
12100
 
    ;;
12101
 
  esac
12102
 
fi
12103
 
 
12104
 
 
12105
 
 
12106
 
 
12107
 
 
12108
 
 
12109
 
 
12110
 
 
12111
 
 
12112
 
 
12113
 
 
12114
 
 
12115
 
  # Report which library types will actually be built
12116
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12117
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12118
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12119
 
$as_echo "$can_build_shared" >&6; }
12120
 
 
12121
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12122
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12123
 
  test "$can_build_shared" = "no" && enable_shared=no
12124
 
 
12125
 
  # On AIX, shared libraries and static libraries use the same namespace, and
12126
 
  # are all built from PIC.
12127
 
  case $host_os in
12128
 
  aix3*)
12129
 
    test "$enable_shared" = yes && enable_static=no
12130
 
    if test -n "$RANLIB"; then
12131
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12132
 
      postinstall_cmds='$RANLIB $lib'
12133
 
    fi
12134
 
    ;;
12135
 
 
12136
 
  aix[4-9]*)
12137
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12138
 
      test "$enable_shared" = yes && enable_static=no
12139
 
    fi
12140
 
    ;;
12141
 
  esac
12142
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12143
 
$as_echo "$enable_shared" >&6; }
12144
 
 
12145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12146
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12147
 
  # Make sure either enable_shared or enable_static is yes.
12148
 
  test "$enable_shared" = yes || enable_static=yes
12149
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12150
 
$as_echo "$enable_static" >&6; }
12151
 
 
12152
 
 
12153
 
 
12154
 
 
12155
 
fi
12156
 
ac_ext=c
12157
 
ac_cpp='$CPP $CPPFLAGS'
12158
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12159
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12160
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12161
 
 
12162
 
CC="$lt_save_CC"
12163
 
 
12164
 
 
12165
 
 
12166
 
 
12167
 
 
12168
 
 
12169
 
 
12170
 
 
12171
 
 
12172
 
 
12173
 
 
12174
 
 
12175
 
 
12176
 
        ac_config_commands="$ac_config_commands libtool"
12177
 
 
12178
 
 
12179
 
 
12180
 
 
12181
 
# Only expand once:
12182
 
 
12183
 
 
12184
 
 
12185
 
CFLAGS="${CFLAGS} -Wall"
12186
 
CFLAGS+=" -DGSEAL_ENABLE"
12187
 
 
12188
 
 
12189
 
 
12190
 
 
12191
 
        DISABLE_DEPRECATED=""
12192
 
        if test $USE_MAINTAINER_MODE = yes; then
12193
 
                DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
12194
 
                for DOMAIN in $DOMAINS; do
12195
 
                       DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
12196
 
                done
12197
 
        fi
12198
 
 
12199
 
 
12200
 
 
12201
 
 
12202
 
 
12203
 
    # Check whether --enable-compile-warnings was given.
12204
 
if test "${enable_compile_warnings+set}" = set; then :
12205
 
  enableval=$enable_compile_warnings;
12206
 
else
12207
 
  enable_compile_warnings="maximum"
12208
 
fi
12209
 
 
12210
 
 
12211
 
    warnCFLAGS=
12212
 
    if test "x$GCC" != xyes; then
12213
 
        enable_compile_warnings=no
12214
 
    fi
12215
 
 
12216
 
    warning_flags=
12217
 
    realsave_CFLAGS="$CFLAGS"
12218
 
 
12219
 
    case "$enable_compile_warnings" in
12220
 
    no)
12221
 
        warning_flags=
12222
 
        ;;
12223
 
    minimum)
12224
 
        warning_flags="-Wall"
12225
 
        ;;
12226
 
    yes)
12227
 
        warning_flags="-Wall -Wmissing-prototypes"
12228
 
        ;;
12229
 
    maximum|error)
12230
 
        warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
12231
 
        CFLAGS="$warning_flags $CFLAGS"
12232
 
        for option in -Wno-sign-compare; do
12233
 
                SAVE_CFLAGS="$CFLAGS"
12234
 
                CFLAGS="$CFLAGS $option"
12235
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12236
 
$as_echo_n "checking whether gcc understands $option... " >&6; }
12237
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238
 
/* end confdefs.h.  */
12239
 
 
12240
 
int
12241
 
main ()
12242
 
{
12243
 
 
12244
 
  ;
12245
 
  return 0;
12246
 
}
12247
 
_ACEOF
12248
 
if ac_fn_c_try_compile "$LINENO"; then :
12249
 
  has_option=yes
12250
 
else
12251
 
  has_option=no
12252
 
fi
12253
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12254
 
                CFLAGS="$SAVE_CFLAGS"
12255
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
12256
 
$as_echo "$has_option" >&6; }
12257
 
                if test $has_option = yes; then
12258
 
                  warning_flags="$warning_flags $option"
12259
 
                fi
12260
 
                unset has_option
12261
 
                unset SAVE_CFLAGS
12262
 
        done
12263
 
        unset option
12264
 
        if test "$enable_compile_warnings" = "error" ; then
12265
 
            warning_flags="$warning_flags -Werror"
12266
 
        fi
12267
 
        ;;
12268
 
    *)
12269
 
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12270
 
        ;;
12271
 
    esac
12272
 
    CFLAGS="$realsave_CFLAGS"
12273
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
12274
 
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
12275
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
12276
 
$as_echo "$warning_flags" >&6; }
12277
 
 
12278
 
    # Check whether --enable-iso-c was given.
12279
 
if test "${enable_iso_c+set}" = set; then :
12280
 
  enableval=$enable_iso_c;
12281
 
else
12282
 
  enable_iso_c=no
12283
 
fi
12284
 
 
12285
 
 
12286
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
12287
 
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
12288
 
    complCFLAGS=
12289
 
    if test "x$enable_iso_c" != "xno"; then
12290
 
        if test "x$GCC" = "xyes"; then
12291
 
        case " $CFLAGS " in
12292
 
            *\ \        -ansi\ \        *) ;;
12293
 
            *) complCFLAGS="$complCFLAGS -ansi" ;;
12294
 
        esac
12295
 
        case " $CFLAGS " in
12296
 
            *\ \        -pedantic\ \    *) ;;
12297
 
            *) complCFLAGS="$complCFLAGS -pedantic" ;;
12298
 
        esac
12299
 
        fi
12300
 
    fi
12301
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
12302
 
$as_echo "$complCFLAGS" >&6; }
12303
 
 
12304
 
    WARN_CFLAGS="$warning_flags $complCFLAGS"
12305
 
 
12306
 
 
12307
 
 
12308
 
#*******************************************************************************
12309
 
# Libraries
12310
 
#*******************************************************************************
12311
 
# Before making a release, the CHEESE_LT_VERSION string should be modified.
12312
 
# The string is of the form C:R:A.
12313
 
# - If interfaces have been changed or added, but binary compatibility has
12314
 
#   been preserved, change to C+1:0:A+1
12315
 
# - If binary compatibility has been broken (eg removed or changed interfaces)
12316
 
#   change to C+1:0:0
12317
 
# - If the interface is the same as the previous version, change to C:R+1:A
12318
 
LIBCHEESE_LT_VERSION=2:4:1
12319
 
LIBCHEESE_GTK_LT_VERSION=20:6:0
12320
 
 
12321
 
 
12322
 
 
12323
 
#*******************************************************************************
12324
 
# Expanded dirs
12325
 
#*******************************************************************************
12326
 
# This macro expands DIR and assigns it to RET.
12327
 
# If DIR is NONE, then it's replaced by DEFAULT.
12328
 
# Based on AC_DEFINE_DIR
12329
 
 
12330
 
 
12331
 
# FULL_LIBEXECDIR is used for X-GNOME-Bugzilla-ExtraInfoScript expansion
12332
 
# in data/cheese.desktop.in.in
12333
 
 
12334
 
  test "x$prefix" = xNONE && prefix="$ac_default_prefix"
12335
 
  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12336
 
  ac_expand=$libexecdir
12337
 
  test "x$ac_expand" = xNONE && ac_expand="$NONE"
12338
 
  ac_expand=`eval echo $ac_expand`
12339
 
  FULL_LIBEXECDIR=`eval echo $ac_expand`
12340
 
 
12341
 
 
12342
 
 
12343
 
#*******************************************************************************
12344
 
# Internationalization
12345
 
#*******************************************************************************
12346
 
GETTEXT_PACKAGE=cheese
12347
 
 
12348
 
 
12349
 
cat >>confdefs.h <<_ACEOF
12350
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12351
 
_ACEOF
12352
 
 
12353
 
 
12354
 
 
12355
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12356
 
$as_echo_n "checking whether NLS is requested... " >&6; }
12357
 
    # Check whether --enable-nls was given.
12358
 
if test "${enable_nls+set}" = set; then :
12359
 
  enableval=$enable_nls; USE_NLS=$enableval
12360
 
else
12361
 
  USE_NLS=yes
12362
 
fi
12363
 
 
12364
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12365
 
$as_echo "$USE_NLS" >&6; }
12366
 
 
12367
 
 
12368
 
 
12369
 
 
12370
 
case "$am__api_version" in
12371
 
    1.01234)
12372
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12373
 
    ;;
12374
 
    *)
12375
 
    ;;
12376
 
esac
12377
 
 
12378
 
if test -n "0.40.0"; then
12379
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12380
 
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12381
 
 
12382
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12383
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12384
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12385
 
 
12386
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12387
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12388
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12389
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
12390
 
fi
12391
 
 
12392
 
# Extract the first word of "intltool-update", so it can be a program name with args.
12393
 
set dummy intltool-update; ac_word=$2
12394
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12395
 
$as_echo_n "checking for $ac_word... " >&6; }
12396
 
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12397
 
  $as_echo_n "(cached) " >&6
12398
 
else
12399
 
  case $INTLTOOL_UPDATE in
12400
 
  [\\/]* | ?:[\\/]*)
12401
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12402
 
  ;;
12403
 
  *)
12404
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12405
 
for as_dir in $PATH
12406
 
do
12407
 
  IFS=$as_save_IFS
12408
 
  test -z "$as_dir" && as_dir=.
12409
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12410
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12411
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12412
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12413
 
    break 2
12414
 
  fi
12415
 
done
12416
 
  done
12417
 
IFS=$as_save_IFS
12418
 
 
12419
 
  ;;
12420
 
esac
12421
 
fi
12422
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12423
 
if test -n "$INTLTOOL_UPDATE"; then
12424
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12425
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
12426
 
else
12427
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12428
 
$as_echo "no" >&6; }
12429
 
fi
12430
 
 
12431
 
 
12432
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
12433
 
set dummy intltool-merge; ac_word=$2
12434
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12435
 
$as_echo_n "checking for $ac_word... " >&6; }
12436
 
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12437
 
  $as_echo_n "(cached) " >&6
12438
 
else
12439
 
  case $INTLTOOL_MERGE in
12440
 
  [\\/]* | ?:[\\/]*)
12441
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12442
 
  ;;
12443
 
  *)
12444
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12445
 
for as_dir in $PATH
12446
 
do
12447
 
  IFS=$as_save_IFS
12448
 
  test -z "$as_dir" && as_dir=.
12449
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12450
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12451
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12452
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12453
 
    break 2
12454
 
  fi
12455
 
done
12456
 
  done
12457
 
IFS=$as_save_IFS
12458
 
 
12459
 
  ;;
12460
 
esac
12461
 
fi
12462
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12463
 
if test -n "$INTLTOOL_MERGE"; then
12464
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12465
 
$as_echo "$INTLTOOL_MERGE" >&6; }
12466
 
else
12467
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468
 
$as_echo "no" >&6; }
12469
 
fi
12470
 
 
12471
 
 
12472
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
12473
 
set dummy intltool-extract; ac_word=$2
12474
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12475
 
$as_echo_n "checking for $ac_word... " >&6; }
12476
 
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12477
 
  $as_echo_n "(cached) " >&6
12478
 
else
12479
 
  case $INTLTOOL_EXTRACT in
12480
 
  [\\/]* | ?:[\\/]*)
12481
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12482
 
  ;;
12483
 
  *)
12484
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12485
 
for as_dir in $PATH
12486
 
do
12487
 
  IFS=$as_save_IFS
12488
 
  test -z "$as_dir" && as_dir=.
12489
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12490
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12491
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12492
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12493
 
    break 2
12494
 
  fi
12495
 
done
12496
 
  done
12497
 
IFS=$as_save_IFS
12498
 
 
12499
 
  ;;
12500
 
esac
12501
 
fi
12502
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12503
 
if test -n "$INTLTOOL_EXTRACT"; then
12504
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12505
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12506
 
else
12507
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12508
 
$as_echo "no" >&6; }
12509
 
fi
12510
 
 
12511
 
 
12512
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12513
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12514
 
fi
12515
 
 
12516
 
  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 $< $@'
12517
 
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 $< $@'
12518
 
     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 $< $@'
12519
 
     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 $< $@'
12520
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12521
 
     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 $< $@'
12522
 
   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 $< $@'
12523
 
    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 $< $@'
12524
 
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 $< $@'
12525
 
       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 $< $@'
12526
 
      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 $< $@'
12527
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12528
 
      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 $< $@'
12529
 
      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 $< $@'
12530
 
    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 $< $@'
12531
 
  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 $< $@'
12532
 
    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 $< $@'
12533
 
    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 $< $@'
12534
 
   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 $< $@'
12535
 
 
12536
 
 
12537
 
 
12538
 
 
12539
 
 
12540
 
 
12541
 
 
12542
 
 
12543
 
 
12544
 
 
12545
 
 
12546
 
 
12547
 
 
12548
 
 
12549
 
 
12550
 
 
12551
 
 
12552
 
 
12553
 
 
12554
 
 
12555
 
 
12556
 
 
12557
 
 
12558
 
 
12559
 
 
12560
 
 
12561
 
 
12562
 
 
12563
 
 
12564
 
 
12565
 
 
12566
 
 
12567
 
 
12568
 
 
12569
 
 
12570
 
 
12571
 
 
12572
 
 
12573
 
 
12574
 
 
12575
 
 
12576
 
 
12577
 
 
12578
 
 
12579
 
 
12580
 
 
12581
 
 
12582
 
 
12583
 
 
12584
 
 
12585
 
 
12586
 
 
12587
 
 
12588
 
 
12589
 
 
12590
 
 
12591
 
 
12592
 
 
12593
 
 
12594
 
 
12595
 
 
12596
 
 
12597
 
 
12598
 
 
12599
 
 
12600
 
 
12601
 
 
12602
 
 
12603
 
 
12604
 
 
12605
 
 
12606
 
 
12607
 
 
12608
 
 
12609
 
 
12610
 
 
12611
 
 
12612
 
 
12613
 
 
12614
 
 
12615
 
 
12616
 
 
12617
 
 
12618
 
 
12619
 
 
12620
 
 
12621
 
 
12622
 
 
12623
 
 
12624
 
 
12625
 
 
12626
 
 
12627
 
 
12628
 
 
12629
 
 
12630
 
 
12631
 
 
12632
 
# Check the gettext tools to make sure they are GNU
12633
 
# Extract the first word of "xgettext", so it can be a program name with args.
12634
 
set dummy xgettext; ac_word=$2
12635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12636
 
$as_echo_n "checking for $ac_word... " >&6; }
12637
 
if ${ac_cv_path_XGETTEXT+:} false; then :
12638
 
  $as_echo_n "(cached) " >&6
12639
 
else
12640
 
  case $XGETTEXT in
12641
 
  [\\/]* | ?:[\\/]*)
12642
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12643
 
  ;;
12644
 
  *)
12645
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12646
 
for as_dir in $PATH
12647
 
do
12648
 
  IFS=$as_save_IFS
12649
 
  test -z "$as_dir" && as_dir=.
12650
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12651
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12652
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12653
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12654
 
    break 2
12655
 
  fi
12656
 
done
12657
 
  done
12658
 
IFS=$as_save_IFS
12659
 
 
12660
 
  ;;
12661
 
esac
12662
 
fi
12663
 
XGETTEXT=$ac_cv_path_XGETTEXT
12664
 
if test -n "$XGETTEXT"; then
12665
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12666
 
$as_echo "$XGETTEXT" >&6; }
12667
 
else
12668
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669
 
$as_echo "no" >&6; }
12670
 
fi
12671
 
 
12672
 
 
12673
 
# Extract the first word of "msgmerge", so it can be a program name with args.
12674
 
set dummy msgmerge; ac_word=$2
12675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12676
 
$as_echo_n "checking for $ac_word... " >&6; }
12677
 
if ${ac_cv_path_MSGMERGE+:} false; then :
12678
 
  $as_echo_n "(cached) " >&6
12679
 
else
12680
 
  case $MSGMERGE in
12681
 
  [\\/]* | ?:[\\/]*)
12682
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12683
 
  ;;
12684
 
  *)
12685
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12686
 
for as_dir in $PATH
12687
 
do
12688
 
  IFS=$as_save_IFS
12689
 
  test -z "$as_dir" && as_dir=.
12690
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12691
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12692
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12693
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12694
 
    break 2
12695
 
  fi
12696
 
done
12697
 
  done
12698
 
IFS=$as_save_IFS
12699
 
 
12700
 
  ;;
12701
 
esac
12702
 
fi
12703
 
MSGMERGE=$ac_cv_path_MSGMERGE
12704
 
if test -n "$MSGMERGE"; then
12705
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12706
 
$as_echo "$MSGMERGE" >&6; }
12707
 
else
12708
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709
 
$as_echo "no" >&6; }
12710
 
fi
12711
 
 
12712
 
 
12713
 
# Extract the first word of "msgfmt", so it can be a program name with args.
12714
 
set dummy msgfmt; ac_word=$2
12715
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12716
 
$as_echo_n "checking for $ac_word... " >&6; }
12717
 
if ${ac_cv_path_MSGFMT+:} false; then :
12718
 
  $as_echo_n "(cached) " >&6
12719
 
else
12720
 
  case $MSGFMT in
12721
 
  [\\/]* | ?:[\\/]*)
12722
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12723
 
  ;;
12724
 
  *)
12725
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12726
 
for as_dir in $PATH
12727
 
do
12728
 
  IFS=$as_save_IFS
12729
 
  test -z "$as_dir" && as_dir=.
12730
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12731
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12732
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12733
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12734
 
    break 2
12735
 
  fi
12736
 
done
12737
 
  done
12738
 
IFS=$as_save_IFS
12739
 
 
12740
 
  ;;
12741
 
esac
12742
 
fi
12743
 
MSGFMT=$ac_cv_path_MSGFMT
12744
 
if test -n "$MSGFMT"; then
12745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12746
 
$as_echo "$MSGFMT" >&6; }
12747
 
else
12748
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12749
 
$as_echo "no" >&6; }
12750
 
fi
12751
 
 
12752
 
 
12753
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12754
 
set dummy gmsgfmt; ac_word=$2
12755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12756
 
$as_echo_n "checking for $ac_word... " >&6; }
12757
 
if ${ac_cv_path_GMSGFMT+:} false; then :
12758
 
  $as_echo_n "(cached) " >&6
12759
 
else
12760
 
  case $GMSGFMT in
12761
 
  [\\/]* | ?:[\\/]*)
12762
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12763
 
  ;;
12764
 
  *)
12765
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12766
 
for as_dir in $PATH
12767
 
do
12768
 
  IFS=$as_save_IFS
12769
 
  test -z "$as_dir" && as_dir=.
12770
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12771
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12772
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12773
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12774
 
    break 2
12775
 
  fi
12776
 
done
12777
 
  done
12778
 
IFS=$as_save_IFS
12779
 
 
12780
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12781
 
  ;;
12782
 
esac
12783
 
fi
12784
 
GMSGFMT=$ac_cv_path_GMSGFMT
12785
 
if test -n "$GMSGFMT"; then
12786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12787
 
$as_echo "$GMSGFMT" >&6; }
12788
 
else
12789
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12790
 
$as_echo "no" >&6; }
12791
 
fi
12792
 
 
12793
 
 
12794
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12795
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12796
 
fi
12797
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12798
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12799
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12800
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12801
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12802
 
fi
12803
 
 
12804
 
# Extract the first word of "perl", so it can be a program name with args.
12805
 
set dummy perl; ac_word=$2
12806
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12807
 
$as_echo_n "checking for $ac_word... " >&6; }
12808
 
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12809
 
  $as_echo_n "(cached) " >&6
12810
 
else
12811
 
  case $INTLTOOL_PERL in
12812
 
  [\\/]* | ?:[\\/]*)
12813
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12814
 
  ;;
12815
 
  *)
12816
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817
 
for as_dir in $PATH
12818
 
do
12819
 
  IFS=$as_save_IFS
12820
 
  test -z "$as_dir" && as_dir=.
12821
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12822
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12823
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12824
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12825
 
    break 2
12826
 
  fi
12827
 
done
12828
 
  done
12829
 
IFS=$as_save_IFS
12830
 
 
12831
 
  ;;
12832
 
esac
12833
 
fi
12834
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12835
 
if test -n "$INTLTOOL_PERL"; then
12836
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12837
 
$as_echo "$INTLTOOL_PERL" >&6; }
12838
 
else
12839
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840
 
$as_echo "no" >&6; }
12841
 
fi
12842
 
 
12843
 
 
12844
 
if test -z "$INTLTOOL_PERL"; then
12845
 
   as_fn_error $? "perl not found" "$LINENO" 5
12846
 
fi
12847
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12848
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12849
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12850
 
if test $? -ne 0; then
12851
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12852
 
else
12853
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12854
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12855
 
$as_echo "$IT_PERL_VERSION" >&6; }
12856
 
fi
12857
 
if test "x" != "xno-xml"; then
12858
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12859
 
$as_echo_n "checking for XML::Parser... " >&6; }
12860
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12861
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12862
 
$as_echo "ok" >&6; }
12863
 
   else
12864
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12865
 
   fi
12866
 
fi
12867
 
 
12868
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12869
 
 
12870
 
 
12871
 
# Set DATADIRNAME correctly if it is not set yet
12872
 
# (copied from glib-gettext.m4)
12873
 
if test -z "$DATADIRNAME"; then
12874
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875
 
/* end confdefs.h.  */
12876
 
 
12877
 
int
12878
 
main ()
12879
 
{
12880
 
extern int _nl_msg_cat_cntr;
12881
 
                       return _nl_msg_cat_cntr
12882
 
  ;
12883
 
  return 0;
12884
 
}
12885
 
_ACEOF
12886
 
if ac_fn_c_try_link "$LINENO"; then :
12887
 
  DATADIRNAME=share
12888
 
else
12889
 
  case $host in
12890
 
    *-*-solaris*)
12891
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12892
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12893
 
  DATADIRNAME=share
12894
 
else
12895
 
  DATADIRNAME=lib
12896
 
fi
12897
 
 
12898
 
    ;;
12899
 
    *)
12900
 
    DATADIRNAME=lib
12901
 
    ;;
12902
 
    esac
12903
 
fi
12904
 
rm -f core conftest.err conftest.$ac_objext \
12905
 
    conftest$ac_exeext conftest.$ac_ext
12906
 
fi
12907
 
 
12908
 
 
12909
 
 
12910
 
 
12911
 
 
12912
 
 
12913
 
#*******************************************************************************
12914
 
# Check required libraries
12915
 
#*******************************************************************************
12916
 
 
12917
 
 
12918
 
GLIB_REQUIRED=2.28.0
12919
 
GOBJECT_REQUIRED=2.28.0
12920
 
GIO_REQUIRED=2.28.0
12921
 
GTK_REQUIRED=2.99.4
12922
 
GDK_REQUIRED=2.99.4
12923
 
LIBGNOMEDESKTOP_REQUIRED=2.91.6
12924
 
GSTREAMER_REQUIRED=0.10.32
12925
 
CAIRO_REQUIRED=1.10.0
12926
 
PANGOCAIRO_REQUIRED=1.28.0
12927
 
LIBRSVG_REQUIRED=2.32.0
12928
 
CLUTTER_REQUIRED=1.6.1
12929
 
CLUTTERGTK_REQUIRED=0.91.8
12930
 
CLUTTERGST_REQUIRED=1.0.0
12931
 
GEE_REQUIRED=0.6.0
12932
 
LIBCANBERRA_REQUIRED=0.26
12933
 
 
12934
 
#*******************************************************************************
12935
 
# Check for udev
12936
 
#*******************************************************************************
12937
 
 
12938
 
UDEV_PKG=
12939
 
 
12940
 
 
12941
 
 
12942
 
 
12943
 
 
12944
 
 
12945
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12946
 
        if test -n "$ac_tool_prefix"; then
12947
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12948
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12949
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12950
 
$as_echo_n "checking for $ac_word... " >&6; }
12951
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12952
 
  $as_echo_n "(cached) " >&6
12953
 
else
12954
 
  case $PKG_CONFIG in
12955
 
  [\\/]* | ?:[\\/]*)
12956
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12957
 
  ;;
12958
 
  *)
12959
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960
 
for as_dir in $PATH
12961
 
do
12962
 
  IFS=$as_save_IFS
12963
 
  test -z "$as_dir" && as_dir=.
12964
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12965
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12966
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12967
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12968
 
    break 2
12969
 
  fi
12970
 
done
12971
 
  done
12972
 
IFS=$as_save_IFS
12973
 
 
12974
 
  ;;
12975
 
esac
12976
 
fi
12977
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12978
 
if test -n "$PKG_CONFIG"; then
12979
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12980
 
$as_echo "$PKG_CONFIG" >&6; }
12981
 
else
12982
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983
 
$as_echo "no" >&6; }
12984
 
fi
12985
 
 
12986
 
 
12987
 
fi
12988
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12989
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12990
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12991
 
set dummy pkg-config; ac_word=$2
12992
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12993
 
$as_echo_n "checking for $ac_word... " >&6; }
12994
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12995
 
  $as_echo_n "(cached) " >&6
12996
 
else
12997
 
  case $ac_pt_PKG_CONFIG in
12998
 
  [\\/]* | ?:[\\/]*)
12999
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13000
 
  ;;
13001
 
  *)
13002
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13003
 
for as_dir in $PATH
13004
 
do
13005
 
  IFS=$as_save_IFS
13006
 
  test -z "$as_dir" && as_dir=.
13007
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13008
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13009
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13010
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13011
 
    break 2
13012
 
  fi
13013
 
done
13014
 
  done
13015
 
IFS=$as_save_IFS
13016
 
 
13017
 
  ;;
13018
 
esac
13019
 
fi
13020
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13021
 
if test -n "$ac_pt_PKG_CONFIG"; then
13022
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13023
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13024
 
else
13025
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026
 
$as_echo "no" >&6; }
13027
 
fi
13028
 
 
13029
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
13030
 
    PKG_CONFIG=""
13031
 
  else
13032
 
    case $cross_compiling:$ac_tool_warned in
13033
 
yes:)
13034
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13035
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13036
 
ac_tool_warned=yes ;;
13037
 
esac
13038
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
13039
 
  fi
13040
 
else
13041
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13042
 
fi
13043
 
 
13044
 
fi
13045
 
if test -n "$PKG_CONFIG"; then
13046
 
        _pkg_min_version=0.9.0
13047
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13048
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13049
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13050
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13051
 
$as_echo "yes" >&6; }
13052
 
        else
13053
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13054
 
$as_echo "no" >&6; }
13055
 
                PKG_CONFIG=""
13056
 
        fi
13057
 
fi
13058
 
 
13059
 
pkg_failed=no
13060
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
13061
 
$as_echo_n "checking for UDEV... " >&6; }
13062
 
 
13063
 
if test -n "$UDEV_CFLAGS"; then
13064
 
    pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
13065
 
 elif test -n "$PKG_CONFIG"; then
13066
 
    if test -n "$PKG_CONFIG" && \
13067
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13068
 
  ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13069
 
  ac_status=$?
13070
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13071
 
  test $ac_status = 0; }; then
13072
 
  pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
13073
 
else
13074
 
  pkg_failed=yes
13075
 
fi
13076
 
 else
13077
 
    pkg_failed=untried
13078
 
fi
13079
 
if test -n "$UDEV_LIBS"; then
13080
 
    pkg_cv_UDEV_LIBS="$UDEV_LIBS"
13081
 
 elif test -n "$PKG_CONFIG"; then
13082
 
    if test -n "$PKG_CONFIG" && \
13083
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13084
 
  ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13085
 
  ac_status=$?
13086
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13087
 
  test $ac_status = 0; }; then
13088
 
  pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
13089
 
else
13090
 
  pkg_failed=yes
13091
 
fi
13092
 
 else
13093
 
    pkg_failed=untried
13094
 
fi
13095
 
 
13096
 
 
13097
 
 
13098
 
if test $pkg_failed = yes; then
13099
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13100
 
$as_echo "no" >&6; }
13101
 
 
13102
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13103
 
        _pkg_short_errors_supported=yes
13104
 
else
13105
 
        _pkg_short_errors_supported=no
13106
 
fi
13107
 
        if test $_pkg_short_errors_supported = yes; then
13108
 
                UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0" 2>&1`
13109
 
        else
13110
 
                UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0" 2>&1`
13111
 
        fi
13112
 
        # Put the nasty error message in config.log where it belongs
13113
 
        echo "$UDEV_PKG_ERRORS" >&5
13114
 
 
13115
 
        UDEV_PKG=
13116
 
elif test $pkg_failed = untried; then
13117
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118
 
$as_echo "no" >&6; }
13119
 
        UDEV_PKG=
13120
 
else
13121
 
        UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
13122
 
        UDEV_LIBS=$pkg_cv_UDEV_LIBS
13123
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13124
 
$as_echo "yes" >&6; }
13125
 
 
13126
 
$as_echo "#define HAVE_UDEV 1" >>confdefs.h
13127
 
 
13128
 
                  UDEV_PKG=gudev-1.0
13129
 
fi
13130
 
 
13131
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
13132
 
$as_echo_n "checking operating system... " >&6; }
13133
 
case $host in
13134
 
  *-linux*)
13135
 
 
13136
 
$as_echo "#define OS_LINUX /**/" >>confdefs.h
13137
 
 
13138
 
 
13139
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
13140
 
$as_echo "Linux" >&6; }
13141
 
    if test x$UDEV_PKG = "x" ; then
13142
 
            as_fn_error $? "libgudev is required under Linux and not installed" "$LINENO" 5
13143
 
    fi
13144
 
    ;;
13145
 
  *)
13146
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
13147
 
$as_echo "unsupported operating system" >&6; }
13148
 
esac
13149
 
 
13150
 
 
13151
 
ac_fn_c_check_header_mongrel "$LINENO" "sys/videoio.h" "ac_cv_header_sys_videoio_h" "$ac_includes_default"
13152
 
if test "x$ac_cv_header_sys_videoio_h" = xyes; then :
13153
 
 
13154
 
$as_echo "#define USE_SYS_VIDEOIO_H 1" >>confdefs.h
13155
 
 
13156
 
else
13157
 
 
13158
 
$as_echo "#define USE_SYS_VIDEOIO_H 0" >>confdefs.h
13159
 
 
13160
 
fi
13161
 
 
13162
 
 
13163
 
 
13164
 
XTEST_LIBS=
13165
 
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" "$ac_includes_default"
13166
 
if test "x$ac_cv_header_X11_extensions_XTest_h" = xyes; then :
13167
 
 
13168
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13169
 
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13170
 
if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
13171
 
  $as_echo_n "(cached) " >&6
13172
 
else
13173
 
  ac_check_lib_save_LIBS=$LIBS
13174
 
LIBS="-lXtst  $LIBS"
13175
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176
 
/* end confdefs.h.  */
13177
 
 
13178
 
/* Override any GCC internal prototype to avoid an error.
13179
 
   Use char because int might match the return type of a GCC
13180
 
   builtin and then its argument prototype would still apply.  */
13181
 
#ifdef __cplusplus
13182
 
extern "C"
13183
 
#endif
13184
 
char XTestFakeKeyEvent ();
13185
 
int
13186
 
main ()
13187
 
{
13188
 
return XTestFakeKeyEvent ();
13189
 
  ;
13190
 
  return 0;
13191
 
}
13192
 
_ACEOF
13193
 
if ac_fn_c_try_link "$LINENO"; then :
13194
 
  ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
13195
 
else
13196
 
  ac_cv_lib_Xtst_XTestFakeKeyEvent=no
13197
 
fi
13198
 
rm -f core conftest.err conftest.$ac_objext \
13199
 
    conftest$ac_exeext conftest.$ac_ext
13200
 
LIBS=$ac_check_lib_save_LIBS
13201
 
fi
13202
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
13203
 
$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
13204
 
if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
13205
 
 
13206
 
 
13207
 
$as_echo "#define HAVE_XTEST 1" >>confdefs.h
13208
 
 
13209
 
    XTEST_LIBS="-lX11 -lXtst"
13210
 
fi
13211
 
 
13212
 
 
13213
 
fi
13214
 
 
13215
 
 
13216
 
 
13217
 
 if test "x$HAVE_TEST" = "xyes"; then
13218
 
  HAVE_XTEST_TRUE=
13219
 
  HAVE_XTEST_FALSE='#'
13220
 
else
13221
 
  HAVE_XTEST_TRUE='#'
13222
 
  HAVE_XTEST_FALSE=
13223
 
fi
13224
 
 
13225
 
 
13226
 
 
13227
 
pkg_failed=no
13228
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE" >&5
13229
 
$as_echo_n "checking for CHEESE... " >&6; }
13230
 
 
13231
 
if test -n "$CHEESE_CFLAGS"; then
13232
 
    pkg_cv_CHEESE_CFLAGS="$CHEESE_CFLAGS"
13233
 
 elif test -n "$PKG_CONFIG"; then
13234
 
    if test -n "$PKG_CONFIG" && \
13235
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13236
 
  glib-2.0 >= \$GLIB_REQUIRED \\
13237
 
  gio-2.0 >= \$GIO_REQUIRED \\
13238
 
  x11 \\
13239
 
  gobject-2.0 >= \$GOBJECT_REQUIRED \\
13240
 
  gdk-pixbuf-2.0 \\
13241
 
  gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
13242
 
  gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
13243
 
  cairo >= \$CAIRO_REQUIRED \\
13244
 
  pangocairo >= \$PANGOCAIRO_REQUIRED \\
13245
 
  clutter-1.0 >= \$CLUTTER_REQUIRED \\
13246
 
  clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
13247
 
  mx-1.0 \\
13248
 
  \$UDEV_PKG
13249
 
  \""; } >&5
13250
 
  ($PKG_CONFIG --exists --print-errors "\
13251
 
  glib-2.0 >= $GLIB_REQUIRED \
13252
 
  gio-2.0 >= $GIO_REQUIRED \
13253
 
  x11 \
13254
 
  gobject-2.0 >= $GOBJECT_REQUIRED \
13255
 
  gdk-pixbuf-2.0 \
13256
 
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13257
 
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13258
 
  cairo >= $CAIRO_REQUIRED \
13259
 
  pangocairo >= $PANGOCAIRO_REQUIRED \
13260
 
  clutter-1.0 >= $CLUTTER_REQUIRED \
13261
 
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13262
 
  mx-1.0 \
13263
 
  $UDEV_PKG
13264
 
  ") 2>&5
13265
 
  ac_status=$?
13266
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267
 
  test $ac_status = 0; }; then
13268
 
  pkg_cv_CHEESE_CFLAGS=`$PKG_CONFIG --cflags "\
13269
 
  glib-2.0 >= $GLIB_REQUIRED \
13270
 
  gio-2.0 >= $GIO_REQUIRED \
13271
 
  x11 \
13272
 
  gobject-2.0 >= $GOBJECT_REQUIRED \
13273
 
  gdk-pixbuf-2.0 \
13274
 
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13275
 
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13276
 
  cairo >= $CAIRO_REQUIRED \
13277
 
  pangocairo >= $PANGOCAIRO_REQUIRED \
13278
 
  clutter-1.0 >= $CLUTTER_REQUIRED \
13279
 
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13280
 
  mx-1.0 \
13281
 
  $UDEV_PKG
13282
 
  " 2>/dev/null`
13283
 
else
13284
 
  pkg_failed=yes
13285
 
fi
13286
 
 else
13287
 
    pkg_failed=untried
13288
 
fi
13289
 
if test -n "$CHEESE_LIBS"; then
13290
 
    pkg_cv_CHEESE_LIBS="$CHEESE_LIBS"
13291
 
 elif test -n "$PKG_CONFIG"; then
13292
 
    if test -n "$PKG_CONFIG" && \
13293
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13294
 
  glib-2.0 >= \$GLIB_REQUIRED \\
13295
 
  gio-2.0 >= \$GIO_REQUIRED \\
13296
 
  x11 \\
13297
 
  gobject-2.0 >= \$GOBJECT_REQUIRED \\
13298
 
  gdk-pixbuf-2.0 \\
13299
 
  gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
13300
 
  gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
13301
 
  cairo >= \$CAIRO_REQUIRED \\
13302
 
  pangocairo >= \$PANGOCAIRO_REQUIRED \\
13303
 
  clutter-1.0 >= \$CLUTTER_REQUIRED \\
13304
 
  clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
13305
 
  mx-1.0 \\
13306
 
  \$UDEV_PKG
13307
 
  \""; } >&5
13308
 
  ($PKG_CONFIG --exists --print-errors "\
13309
 
  glib-2.0 >= $GLIB_REQUIRED \
13310
 
  gio-2.0 >= $GIO_REQUIRED \
13311
 
  x11 \
13312
 
  gobject-2.0 >= $GOBJECT_REQUIRED \
13313
 
  gdk-pixbuf-2.0 \
13314
 
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13315
 
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13316
 
  cairo >= $CAIRO_REQUIRED \
13317
 
  pangocairo >= $PANGOCAIRO_REQUIRED \
13318
 
  clutter-1.0 >= $CLUTTER_REQUIRED \
13319
 
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13320
 
  mx-1.0 \
13321
 
  $UDEV_PKG
13322
 
  ") 2>&5
13323
 
  ac_status=$?
13324
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13325
 
  test $ac_status = 0; }; then
13326
 
  pkg_cv_CHEESE_LIBS=`$PKG_CONFIG --libs "\
13327
 
  glib-2.0 >= $GLIB_REQUIRED \
13328
 
  gio-2.0 >= $GIO_REQUIRED \
13329
 
  x11 \
13330
 
  gobject-2.0 >= $GOBJECT_REQUIRED \
13331
 
  gdk-pixbuf-2.0 \
13332
 
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13333
 
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13334
 
  cairo >= $CAIRO_REQUIRED \
13335
 
  pangocairo >= $PANGOCAIRO_REQUIRED \
13336
 
  clutter-1.0 >= $CLUTTER_REQUIRED \
13337
 
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13338
 
  mx-1.0 \
13339
 
  $UDEV_PKG
13340
 
  " 2>/dev/null`
13341
 
else
13342
 
  pkg_failed=yes
13343
 
fi
13344
 
 else
13345
 
    pkg_failed=untried
13346
 
fi
13347
 
 
13348
 
 
13349
 
 
13350
 
if test $pkg_failed = yes; then
13351
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352
 
$as_echo "no" >&6; }
13353
 
 
13354
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13355
 
        _pkg_short_errors_supported=yes
13356
 
else
13357
 
        _pkg_short_errors_supported=no
13358
 
fi
13359
 
        if test $_pkg_short_errors_supported = yes; then
13360
 
                CHEESE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13361
 
  glib-2.0 >= $GLIB_REQUIRED \
13362
 
  gio-2.0 >= $GIO_REQUIRED \
13363
 
  x11 \
13364
 
  gobject-2.0 >= $GOBJECT_REQUIRED \
13365
 
  gdk-pixbuf-2.0 \
13366
 
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13367
 
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13368
 
  cairo >= $CAIRO_REQUIRED \
13369
 
  pangocairo >= $PANGOCAIRO_REQUIRED \
13370
 
  clutter-1.0 >= $CLUTTER_REQUIRED \
13371
 
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13372
 
  mx-1.0 \
13373
 
  $UDEV_PKG
13374
 
  " 2>&1`
13375
 
        else
13376
 
                CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13377
 
  glib-2.0 >= $GLIB_REQUIRED \
13378
 
  gio-2.0 >= $GIO_REQUIRED \
13379
 
  x11 \
13380
 
  gobject-2.0 >= $GOBJECT_REQUIRED \
13381
 
  gdk-pixbuf-2.0 \
13382
 
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13383
 
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13384
 
  cairo >= $CAIRO_REQUIRED \
13385
 
  pangocairo >= $PANGOCAIRO_REQUIRED \
13386
 
  clutter-1.0 >= $CLUTTER_REQUIRED \
13387
 
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13388
 
  mx-1.0 \
13389
 
  $UDEV_PKG
13390
 
  " 2>&1`
13391
 
        fi
13392
 
        # Put the nasty error message in config.log where it belongs
13393
 
        echo "$CHEESE_PKG_ERRORS" >&5
13394
 
 
13395
 
        as_fn_error $? "Package requirements (\
13396
 
  glib-2.0 >= $GLIB_REQUIRED \
13397
 
  gio-2.0 >= $GIO_REQUIRED \
13398
 
  x11 \
13399
 
  gobject-2.0 >= $GOBJECT_REQUIRED \
13400
 
  gdk-pixbuf-2.0 \
13401
 
  gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13402
 
  gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13403
 
  cairo >= $CAIRO_REQUIRED \
13404
 
  pangocairo >= $PANGOCAIRO_REQUIRED \
13405
 
  clutter-1.0 >= $CLUTTER_REQUIRED \
13406
 
  clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13407
 
  mx-1.0 \
13408
 
  $UDEV_PKG
13409
 
  ) were not met:
13410
 
 
13411
 
$CHEESE_PKG_ERRORS
13412
 
 
13413
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13414
 
installed software in a non-standard prefix.
13415
 
 
13416
 
Alternatively, you may set the environment variables CHEESE_CFLAGS
13417
 
and CHEESE_LIBS to avoid the need to call pkg-config.
13418
 
See the pkg-config man page for more details." "$LINENO" 5
13419
 
 
13420
 
elif test $pkg_failed = untried; then
13421
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13422
 
$as_echo "no" >&6; }
13423
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13424
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13425
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13426
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13427
 
path to pkg-config.
13428
 
 
13429
 
Alternatively, you may set the environment variables CHEESE_CFLAGS
13430
 
and CHEESE_LIBS to avoid the need to call pkg-config.
13431
 
See the pkg-config man page for more details.
13432
 
 
13433
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13434
 
See \`config.log' for more details" "$LINENO" 5; }
13435
 
 
13436
 
else
13437
 
        CHEESE_CFLAGS=$pkg_cv_CHEESE_CFLAGS
13438
 
        CHEESE_LIBS=$pkg_cv_CHEESE_LIBS
13439
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13440
 
$as_echo "yes" >&6; }
13441
 
 
13442
 
fi
13443
 
 
13444
 
 
13445
 
CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
13446
 
 
13447
 
 
13448
 
pkg_failed=no
13449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE_GTK" >&5
13450
 
$as_echo_n "checking for CHEESE_GTK... " >&6; }
13451
 
 
13452
 
if test -n "$CHEESE_GTK_CFLAGS"; then
13453
 
    pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
13454
 
 elif test -n "$PKG_CONFIG"; then
13455
 
    if test -n "$PKG_CONFIG" && \
13456
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13457
 
  gio-2.0 >= \$GIO_REQUIRED \\
13458
 
  gtk+-3.0 >= \$GTK_REQUIRED \\
13459
 
  gdk-3.0 >= \$GDK_REQUIRED \\
13460
 
  gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
13461
 
  librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13462
 
  clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
13463
 
  gee-1.0 >= \$GEE_REQUIRED \\
13464
 
  libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
13465
 
  \$UDEV_PKG \\
13466
 
  gnome-video-effects
13467
 
  \""; } >&5
13468
 
  ($PKG_CONFIG --exists --print-errors "\
13469
 
  gio-2.0 >= $GIO_REQUIRED \
13470
 
  gtk+-3.0 >= $GTK_REQUIRED \
13471
 
  gdk-3.0 >= $GDK_REQUIRED \
13472
 
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13473
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
13474
 
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13475
 
  gee-1.0 >= $GEE_REQUIRED \
13476
 
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13477
 
  $UDEV_PKG \
13478
 
  gnome-video-effects
13479
 
  ") 2>&5
13480
 
  ac_status=$?
13481
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13482
 
  test $ac_status = 0; }; then
13483
 
  pkg_cv_CHEESE_GTK_CFLAGS=`$PKG_CONFIG --cflags "\
13484
 
  gio-2.0 >= $GIO_REQUIRED \
13485
 
  gtk+-3.0 >= $GTK_REQUIRED \
13486
 
  gdk-3.0 >= $GDK_REQUIRED \
13487
 
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13488
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
13489
 
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13490
 
  gee-1.0 >= $GEE_REQUIRED \
13491
 
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13492
 
  $UDEV_PKG \
13493
 
  gnome-video-effects
13494
 
  " 2>/dev/null`
13495
 
else
13496
 
  pkg_failed=yes
13497
 
fi
13498
 
 else
13499
 
    pkg_failed=untried
13500
 
fi
13501
 
if test -n "$CHEESE_GTK_LIBS"; then
13502
 
    pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
13503
 
 elif test -n "$PKG_CONFIG"; then
13504
 
    if test -n "$PKG_CONFIG" && \
13505
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13506
 
  gio-2.0 >= \$GIO_REQUIRED \\
13507
 
  gtk+-3.0 >= \$GTK_REQUIRED \\
13508
 
  gdk-3.0 >= \$GDK_REQUIRED \\
13509
 
  gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
13510
 
  librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13511
 
  clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
13512
 
  gee-1.0 >= \$GEE_REQUIRED \\
13513
 
  libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
13514
 
  \$UDEV_PKG \\
13515
 
  gnome-video-effects
13516
 
  \""; } >&5
13517
 
  ($PKG_CONFIG --exists --print-errors "\
13518
 
  gio-2.0 >= $GIO_REQUIRED \
13519
 
  gtk+-3.0 >= $GTK_REQUIRED \
13520
 
  gdk-3.0 >= $GDK_REQUIRED \
13521
 
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13522
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
13523
 
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13524
 
  gee-1.0 >= $GEE_REQUIRED \
13525
 
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13526
 
  $UDEV_PKG \
13527
 
  gnome-video-effects
13528
 
  ") 2>&5
13529
 
  ac_status=$?
13530
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13531
 
  test $ac_status = 0; }; then
13532
 
  pkg_cv_CHEESE_GTK_LIBS=`$PKG_CONFIG --libs "\
13533
 
  gio-2.0 >= $GIO_REQUIRED \
13534
 
  gtk+-3.0 >= $GTK_REQUIRED \
13535
 
  gdk-3.0 >= $GDK_REQUIRED \
13536
 
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13537
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
13538
 
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13539
 
  gee-1.0 >= $GEE_REQUIRED \
13540
 
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13541
 
  $UDEV_PKG \
13542
 
  gnome-video-effects
13543
 
  " 2>/dev/null`
13544
 
else
13545
 
  pkg_failed=yes
13546
 
fi
13547
 
 else
13548
 
    pkg_failed=untried
13549
 
fi
13550
 
 
13551
 
 
13552
 
 
13553
 
if test $pkg_failed = yes; then
13554
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13555
 
$as_echo "no" >&6; }
13556
 
 
13557
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13558
 
        _pkg_short_errors_supported=yes
13559
 
else
13560
 
        _pkg_short_errors_supported=no
13561
 
fi
13562
 
        if test $_pkg_short_errors_supported = yes; then
13563
 
                CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13564
 
  gio-2.0 >= $GIO_REQUIRED \
13565
 
  gtk+-3.0 >= $GTK_REQUIRED \
13566
 
  gdk-3.0 >= $GDK_REQUIRED \
13567
 
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13568
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
13569
 
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13570
 
  gee-1.0 >= $GEE_REQUIRED \
13571
 
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13572
 
  $UDEV_PKG \
13573
 
  gnome-video-effects
13574
 
  " 2>&1`
13575
 
        else
13576
 
                CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13577
 
  gio-2.0 >= $GIO_REQUIRED \
13578
 
  gtk+-3.0 >= $GTK_REQUIRED \
13579
 
  gdk-3.0 >= $GDK_REQUIRED \
13580
 
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13581
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
13582
 
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13583
 
  gee-1.0 >= $GEE_REQUIRED \
13584
 
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13585
 
  $UDEV_PKG \
13586
 
  gnome-video-effects
13587
 
  " 2>&1`
13588
 
        fi
13589
 
        # Put the nasty error message in config.log where it belongs
13590
 
        echo "$CHEESE_GTK_PKG_ERRORS" >&5
13591
 
 
13592
 
        as_fn_error $? "Package requirements (\
13593
 
  gio-2.0 >= $GIO_REQUIRED \
13594
 
  gtk+-3.0 >= $GTK_REQUIRED \
13595
 
  gdk-3.0 >= $GDK_REQUIRED \
13596
 
  gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13597
 
  librsvg-2.0 >= $LIBRSVG_REQUIRED \
13598
 
  clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13599
 
  gee-1.0 >= $GEE_REQUIRED \
13600
 
  libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13601
 
  $UDEV_PKG \
13602
 
  gnome-video-effects
13603
 
  ) were not met:
13604
 
 
13605
 
$CHEESE_GTK_PKG_ERRORS
13606
 
 
13607
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13608
 
installed software in a non-standard prefix.
13609
 
 
13610
 
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
13611
 
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
13612
 
See the pkg-config man page for more details." "$LINENO" 5
13613
 
 
13614
 
elif test $pkg_failed = untried; then
13615
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13616
 
$as_echo "no" >&6; }
13617
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13618
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13619
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13620
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13621
 
path to pkg-config.
13622
 
 
13623
 
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
13624
 
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
13625
 
See the pkg-config man page for more details.
13626
 
 
13627
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13628
 
See \`config.log' for more details" "$LINENO" 5; }
13629
 
 
13630
 
else
13631
 
        CHEESE_GTK_CFLAGS=$pkg_cv_CHEESE_GTK_CFLAGS
13632
 
        CHEESE_GTK_LIBS=$pkg_cv_CHEESE_GTK_LIBS
13633
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13634
 
$as_echo "yes" >&6; }
13635
 
 
13636
 
fi
13637
 
 
13638
 
 
13639
 
 
13640
 
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
13641
 
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
13642
 
 
13643
 
 
13644
 
 
13645
 
 
13646
 
 
13647
 
 
13648
 
                # Check whether --enable-introspection was given.
13649
 
if test "${enable_introspection+set}" = set; then :
13650
 
  enableval=$enable_introspection;
13651
 
else
13652
 
  enable_introspection=auto
13653
 
fi
13654
 
 
13655
 
 
13656
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13657
 
$as_echo_n "checking for gobject-introspection... " >&6; }
13658
 
 
13659
 
        case $enable_introspection in #(
13660
 
  no) :
13661
 
            found_introspection="no (disabled, use --enable-introspection to enable)"
13662
 
     ;; #(
13663
 
      yes) :
13664
 
            if test -n "$PKG_CONFIG" && \
13665
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13666
 
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13667
 
  ac_status=$?
13668
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13669
 
  test $ac_status = 0; }; then
13670
 
  :
13671
 
else
13672
 
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13673
 
fi
13674
 
        if test -n "$PKG_CONFIG" && \
13675
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
13676
 
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
13677
 
  ac_status=$?
13678
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13679
 
  test $ac_status = 0; }; then
13680
 
  found_introspection=yes
13681
 
else
13682
 
  as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build cheese" "$LINENO" 5
13683
 
fi
13684
 
     ;; #(
13685
 
      auto) :
13686
 
            if test -n "$PKG_CONFIG" && \
13687
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
13688
 
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
13689
 
  ac_status=$?
13690
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13691
 
  test $ac_status = 0; }; then
13692
 
  found_introspection=yes
13693
 
else
13694
 
  found_introspection=no
13695
 
fi
13696
 
     ;; #(
13697
 
  *) :
13698
 
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13699
 
     ;;
13700
 
esac
13701
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13702
 
$as_echo "$found_introspection" >&6; }
13703
 
 
13704
 
    INTROSPECTION_SCANNER=
13705
 
    INTROSPECTION_COMPILER=
13706
 
    INTROSPECTION_GENERATE=
13707
 
    INTROSPECTION_GIRDIR=
13708
 
    INTROSPECTION_TYPELIBDIR=
13709
 
    if test "x$found_introspection" = "xyes"; then
13710
 
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13711
 
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13712
 
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13713
 
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13714
 
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13715
 
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13716
 
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13717
 
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13718
 
    fi
13719
 
 
13720
 
 
13721
 
 
13722
 
 
13723
 
 
13724
 
 
13725
 
 
13726
 
 
13727
 
 
13728
 
     if test "x$found_introspection" = "xyes"; then
13729
 
  HAVE_INTROSPECTION_TRUE=
13730
 
  HAVE_INTROSPECTION_FALSE='#'
13731
 
else
13732
 
  HAVE_INTROSPECTION_TRUE='#'
13733
 
  HAVE_INTROSPECTION_FALSE=
13734
 
fi
13735
 
 
13736
 
 
13737
 
 
13738
 
 
13739
 
# API documentation
13740
 
 
13741
 
 
13742
 
 
13743
 
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13744
 
set dummy gtkdoc-check; ac_word=$2
13745
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13746
 
$as_echo_n "checking for $ac_word... " >&6; }
13747
 
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13748
 
  $as_echo_n "(cached) " >&6
13749
 
else
13750
 
  case $GTKDOC_CHECK in
13751
 
  [\\/]* | ?:[\\/]*)
13752
 
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13753
 
  ;;
13754
 
  *)
13755
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13756
 
for as_dir in $PATH
13757
 
do
13758
 
  IFS=$as_save_IFS
13759
 
  test -z "$as_dir" && as_dir=.
13760
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13761
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13762
 
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13763
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13764
 
    break 2
13765
 
  fi
13766
 
done
13767
 
  done
13768
 
IFS=$as_save_IFS
13769
 
 
13770
 
  ;;
13771
 
esac
13772
 
fi
13773
 
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13774
 
if test -n "$GTKDOC_CHECK"; then
13775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13776
 
$as_echo "$GTKDOC_CHECK" >&6; }
13777
 
else
13778
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13779
 
$as_echo "no" >&6; }
13780
 
fi
13781
 
 
13782
 
 
13783
 
  for ac_prog in gtkdoc-rebase
13784
 
do
13785
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
13786
 
set dummy $ac_prog; ac_word=$2
13787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13788
 
$as_echo_n "checking for $ac_word... " >&6; }
13789
 
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13790
 
  $as_echo_n "(cached) " >&6
13791
 
else
13792
 
  case $GTKDOC_REBASE in
13793
 
  [\\/]* | ?:[\\/]*)
13794
 
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13795
 
  ;;
13796
 
  *)
13797
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13798
 
for as_dir in $PATH
13799
 
do
13800
 
  IFS=$as_save_IFS
13801
 
  test -z "$as_dir" && as_dir=.
13802
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13803
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13804
 
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13805
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13806
 
    break 2
13807
 
  fi
13808
 
done
13809
 
  done
13810
 
IFS=$as_save_IFS
13811
 
 
13812
 
  ;;
13813
 
esac
13814
 
fi
13815
 
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13816
 
if test -n "$GTKDOC_REBASE"; then
13817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13818
 
$as_echo "$GTKDOC_REBASE" >&6; }
13819
 
else
13820
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13821
 
$as_echo "no" >&6; }
13822
 
fi
13823
 
 
13824
 
 
13825
 
  test -n "$GTKDOC_REBASE" && break
13826
 
done
13827
 
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13828
 
 
13829
 
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13830
 
set dummy gtkdoc-mkpdf; ac_word=$2
13831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13832
 
$as_echo_n "checking for $ac_word... " >&6; }
13833
 
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13834
 
  $as_echo_n "(cached) " >&6
13835
 
else
13836
 
  case $GTKDOC_MKPDF in
13837
 
  [\\/]* | ?:[\\/]*)
13838
 
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13839
 
  ;;
13840
 
  *)
13841
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842
 
for as_dir in $PATH
13843
 
do
13844
 
  IFS=$as_save_IFS
13845
 
  test -z "$as_dir" && as_dir=.
13846
 
    for ac_exec_ext in '' $ac_executable_extensions; do
13847
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13848
 
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13849
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13850
 
    break 2
13851
 
  fi
13852
 
done
13853
 
  done
13854
 
IFS=$as_save_IFS
13855
 
 
13856
 
  ;;
13857
 
esac
13858
 
fi
13859
 
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13860
 
if test -n "$GTKDOC_MKPDF"; then
13861
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13862
 
$as_echo "$GTKDOC_MKPDF" >&6; }
13863
 
else
13864
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865
 
$as_echo "no" >&6; }
13866
 
fi
13867
 
 
13868
 
 
13869
 
 
13870
 
 
13871
 
# Check whether --with-html-dir was given.
13872
 
if test "${with_html_dir+set}" = set; then :
13873
 
  withval=$with_html_dir;
13874
 
else
13875
 
  with_html_dir='${datadir}/gtk-doc/html'
13876
 
fi
13877
 
 
13878
 
  HTML_DIR="$with_html_dir"
13879
 
 
13880
 
 
13881
 
    # Check whether --enable-gtk-doc was given.
13882
 
if test "${enable_gtk_doc+set}" = set; then :
13883
 
  enableval=$enable_gtk_doc;
13884
 
else
13885
 
  enable_gtk_doc=no
13886
 
fi
13887
 
 
13888
 
 
13889
 
  if test x$enable_gtk_doc = xyes; then
13890
 
    if test -n "$PKG_CONFIG" && \
13891
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
13892
 
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
13893
 
  ac_status=$?
13894
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13895
 
  test $ac_status = 0; }; then
13896
 
  :
13897
 
else
13898
 
  as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
13899
 
fi
13900
 
        if test "x$PACKAGE_NAME" != "xglib"; then
13901
 
 
13902
 
pkg_failed=no
13903
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13904
 
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13905
 
 
13906
 
if test -n "$GTKDOC_DEPS_CFLAGS"; then
13907
 
    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13908
 
 elif test -n "$PKG_CONFIG"; then
13909
 
    if test -n "$PKG_CONFIG" && \
13910
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13911
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13912
 
  ac_status=$?
13913
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13914
 
  test $ac_status = 0; }; then
13915
 
  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13916
 
else
13917
 
  pkg_failed=yes
13918
 
fi
13919
 
 else
13920
 
    pkg_failed=untried
13921
 
fi
13922
 
if test -n "$GTKDOC_DEPS_LIBS"; then
13923
 
    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13924
 
 elif test -n "$PKG_CONFIG"; then
13925
 
    if test -n "$PKG_CONFIG" && \
13926
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13927
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13928
 
  ac_status=$?
13929
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13930
 
  test $ac_status = 0; }; then
13931
 
  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13932
 
else
13933
 
  pkg_failed=yes
13934
 
fi
13935
 
 else
13936
 
    pkg_failed=untried
13937
 
fi
13938
 
 
13939
 
 
13940
 
 
13941
 
if test $pkg_failed = yes; then
13942
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13943
 
$as_echo "no" >&6; }
13944
 
 
13945
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13946
 
        _pkg_short_errors_supported=yes
13947
 
else
13948
 
        _pkg_short_errors_supported=no
13949
 
fi
13950
 
        if test $_pkg_short_errors_supported = yes; then
13951
 
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13952
 
        else
13953
 
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13954
 
        fi
13955
 
        # Put the nasty error message in config.log where it belongs
13956
 
        echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13957
 
 
13958
 
        as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
13959
 
 
13960
 
$GTKDOC_DEPS_PKG_ERRORS
13961
 
 
13962
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13963
 
installed software in a non-standard prefix.
13964
 
 
13965
 
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13966
 
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13967
 
See the pkg-config man page for more details." "$LINENO" 5
13968
 
 
13969
 
elif test $pkg_failed = untried; then
13970
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971
 
$as_echo "no" >&6; }
13972
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13973
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13974
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13975
 
is in your PATH or set the PKG_CONFIG environment variable to the full
13976
 
path to pkg-config.
13977
 
 
13978
 
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13979
 
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13980
 
See the pkg-config man page for more details.
13981
 
 
13982
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13983
 
See \`config.log' for more details" "$LINENO" 5; }
13984
 
 
13985
 
else
13986
 
        GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13987
 
        GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13988
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13989
 
$as_echo "yes" >&6; }
13990
 
 
13991
 
fi
13992
 
    fi
13993
 
  fi
13994
 
 
13995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13996
 
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13997
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13998
 
$as_echo "$enable_gtk_doc" >&6; }
13999
 
 
14000
 
    # Check whether --enable-gtk-doc-html was given.
14001
 
if test "${enable_gtk_doc_html+set}" = set; then :
14002
 
  enableval=$enable_gtk_doc_html;
14003
 
else
14004
 
  enable_gtk_doc_html=yes
14005
 
fi
14006
 
 
14007
 
    # Check whether --enable-gtk-doc-pdf was given.
14008
 
if test "${enable_gtk_doc_pdf+set}" = set; then :
14009
 
  enableval=$enable_gtk_doc_pdf;
14010
 
else
14011
 
  enable_gtk_doc_pdf=no
14012
 
fi
14013
 
 
14014
 
 
14015
 
  if test -z "$GTKDOC_MKPDF"; then
14016
 
    enable_gtk_doc_pdf=no
14017
 
  fi
14018
 
 
14019
 
 
14020
 
   if test x$enable_gtk_doc = xyes; then
14021
 
  ENABLE_GTK_DOC_TRUE=
14022
 
  ENABLE_GTK_DOC_FALSE='#'
14023
 
else
14024
 
  ENABLE_GTK_DOC_TRUE='#'
14025
 
  ENABLE_GTK_DOC_FALSE=
14026
 
fi
14027
 
 
14028
 
   if test x$enable_gtk_doc_html = xyes; then
14029
 
  GTK_DOC_BUILD_HTML_TRUE=
14030
 
  GTK_DOC_BUILD_HTML_FALSE='#'
14031
 
else
14032
 
  GTK_DOC_BUILD_HTML_TRUE='#'
14033
 
  GTK_DOC_BUILD_HTML_FALSE=
14034
 
fi
14035
 
 
14036
 
   if test x$enable_gtk_doc_pdf = xyes; then
14037
 
  GTK_DOC_BUILD_PDF_TRUE=
14038
 
  GTK_DOC_BUILD_PDF_FALSE='#'
14039
 
else
14040
 
  GTK_DOC_BUILD_PDF_TRUE='#'
14041
 
  GTK_DOC_BUILD_PDF_FALSE=
14042
 
fi
14043
 
 
14044
 
   if test -n "$LIBTOOL"; then
14045
 
  GTK_DOC_USE_LIBTOOL_TRUE=
14046
 
  GTK_DOC_USE_LIBTOOL_FALSE='#'
14047
 
else
14048
 
  GTK_DOC_USE_LIBTOOL_TRUE='#'
14049
 
  GTK_DOC_USE_LIBTOOL_FALSE=
14050
 
fi
14051
 
 
14052
 
   if test -n "$GTKDOC_REBASE"; then
14053
 
  GTK_DOC_USE_REBASE_TRUE=
14054
 
  GTK_DOC_USE_REBASE_FALSE='#'
14055
 
else
14056
 
  GTK_DOC_USE_REBASE_TRUE='#'
14057
 
  GTK_DOC_USE_REBASE_FALSE=
14058
 
fi
14059
 
 
14060
 
 
14061
 
 
14062
 
# User manual
14063
 
 
14064
 
gdu_cv_version_required=0.20
14065
 
 
14066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
14067
 
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
14068
 
if test -n "$PKG_CONFIG" && \
14069
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
14070
 
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
14071
 
  ac_status=$?
14072
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14073
 
  test $ac_status = 0; }; then
14074
 
  gdu_cv_have_gdu=yes
14075
 
else
14076
 
  gdu_cv_have_gdu=no
14077
 
fi
14078
 
 
14079
 
if test "$gdu_cv_have_gdu" = "yes"; then
14080
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14081
 
$as_echo "yes" >&6; }
14082
 
        :
14083
 
else
14084
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14085
 
$as_echo "no" >&6; }
14086
 
        as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
14087
 
fi
14088
 
 
14089
 
 
14090
 
 
14091
 
# Check whether --with-help-dir was given.
14092
 
if test "${with_help_dir+set}" = set; then :
14093
 
  withval=$with_help_dir;
14094
 
else
14095
 
  with_help_dir='${datadir}/gnome/help'
14096
 
fi
14097
 
 
14098
 
HELP_DIR="$with_help_dir"
14099
 
 
14100
 
 
14101
 
 
14102
 
# Check whether --with-omf-dir was given.
14103
 
if test "${with_omf_dir+set}" = set; then :
14104
 
  withval=$with_omf_dir;
14105
 
else
14106
 
  with_omf_dir='${datadir}/omf'
14107
 
fi
14108
 
 
14109
 
OMF_DIR="$with_omf_dir"
14110
 
 
14111
 
 
14112
 
 
14113
 
# Check whether --with-help-formats was given.
14114
 
if test "${with_help_formats+set}" = set; then :
14115
 
  withval=$with_help_formats;
14116
 
else
14117
 
  with_help_formats=''
14118
 
fi
14119
 
 
14120
 
DOC_USER_FORMATS="$with_help_formats"
14121
 
 
14122
 
 
14123
 
# Check whether --enable-scrollkeeper was given.
14124
 
if test "${enable_scrollkeeper+set}" = set; then :
14125
 
  enableval=$enable_scrollkeeper;
14126
 
else
14127
 
  enable_scrollkeeper=yes
14128
 
fi
14129
 
 
14130
 
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
14131
 
  ENABLE_SK_TRUE=
14132
 
  ENABLE_SK_FALSE='#'
14133
 
else
14134
 
  ENABLE_SK_TRUE='#'
14135
 
  ENABLE_SK_FALSE=
14136
 
fi
14137
 
 
14138
 
 
14139
 
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
14140
 
 
14141
 
 
14142
 
 if test "$gdu_cv_have_gdu" = "yes"; then
14143
 
  HAVE_GNOME_DOC_UTILS_TRUE=
14144
 
  HAVE_GNOME_DOC_UTILS_FALSE='#'
14145
 
else
14146
 
  HAVE_GNOME_DOC_UTILS_TRUE='#'
14147
 
  HAVE_GNOME_DOC_UTILS_FALSE=
14148
 
fi
14149
 
 
14150
 
 
14151
 
 
14152
 
 
14153
 
 
14154
 
 
14155
 
  # Check whether --enable-schemas-compile was given.
14156
 
if test "${enable_schemas_compile+set}" = set; then :
14157
 
  enableval=$enable_schemas_compile; case ${enableval} in
14158
 
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
14159
 
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
14160
 
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
14161
 
                 esac
14162
 
fi
14163
 
 
14164
 
 
14165
 
 
14166
 
 
14167
 
 
14168
 
 
14169
 
 
14170
 
 
14171
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14172
 
        if test -n "$ac_tool_prefix"; then
14173
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14174
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14176
 
$as_echo_n "checking for $ac_word... " >&6; }
14177
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
14178
 
  $as_echo_n "(cached) " >&6
14179
 
else
14180
 
  case $PKG_CONFIG in
14181
 
  [\\/]* | ?:[\\/]*)
14182
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14183
 
  ;;
14184
 
  *)
14185
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186
 
for as_dir in $PATH
14187
 
do
14188
 
  IFS=$as_save_IFS
14189
 
  test -z "$as_dir" && as_dir=.
14190
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14191
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14192
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14193
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14194
 
    break 2
14195
 
  fi
14196
 
done
14197
 
  done
14198
 
IFS=$as_save_IFS
14199
 
 
14200
 
  ;;
14201
 
esac
14202
 
fi
14203
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14204
 
if test -n "$PKG_CONFIG"; then
14205
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14206
 
$as_echo "$PKG_CONFIG" >&6; }
14207
 
else
14208
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14209
 
$as_echo "no" >&6; }
14210
 
fi
14211
 
 
14212
 
 
14213
 
fi
14214
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
14215
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14216
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
14217
 
set dummy pkg-config; ac_word=$2
14218
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14219
 
$as_echo_n "checking for $ac_word... " >&6; }
14220
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14221
 
  $as_echo_n "(cached) " >&6
14222
 
else
14223
 
  case $ac_pt_PKG_CONFIG in
14224
 
  [\\/]* | ?:[\\/]*)
14225
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14226
 
  ;;
14227
 
  *)
14228
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14229
 
for as_dir in $PATH
14230
 
do
14231
 
  IFS=$as_save_IFS
14232
 
  test -z "$as_dir" && as_dir=.
14233
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14234
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14235
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14236
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14237
 
    break 2
14238
 
  fi
14239
 
done
14240
 
  done
14241
 
IFS=$as_save_IFS
14242
 
 
14243
 
  ;;
14244
 
esac
14245
 
fi
14246
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14247
 
if test -n "$ac_pt_PKG_CONFIG"; then
14248
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14249
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14250
 
else
14251
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14252
 
$as_echo "no" >&6; }
14253
 
fi
14254
 
 
14255
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
14256
 
    PKG_CONFIG=""
14257
 
  else
14258
 
    case $cross_compiling:$ac_tool_warned in
14259
 
yes:)
14260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14261
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14262
 
ac_tool_warned=yes ;;
14263
 
esac
14264
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
14265
 
  fi
14266
 
else
14267
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14268
 
fi
14269
 
 
14270
 
fi
14271
 
if test -n "$PKG_CONFIG"; then
14272
 
        _pkg_min_version=0.16
14273
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14274
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14275
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14276
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14277
 
$as_echo "yes" >&6; }
14278
 
        else
14279
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14280
 
$as_echo "no" >&6; }
14281
 
                PKG_CONFIG=""
14282
 
        fi
14283
 
fi
14284
 
  gsettingsschemadir=${datadir}/glib-2.0/schemas
14285
 
 
14286
 
  if test x$cross_compiling != xyes; then
14287
 
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
14288
 
  else
14289
 
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
14290
 
set dummy glib-compile-schemas; ac_word=$2
14291
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14292
 
$as_echo_n "checking for $ac_word... " >&6; }
14293
 
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
14294
 
  $as_echo_n "(cached) " >&6
14295
 
else
14296
 
  case $GLIB_COMPILE_SCHEMAS in
14297
 
  [\\/]* | ?:[\\/]*)
14298
 
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
14299
 
  ;;
14300
 
  *)
14301
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14302
 
for as_dir in $PATH
14303
 
do
14304
 
  IFS=$as_save_IFS
14305
 
  test -z "$as_dir" && as_dir=.
14306
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14307
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14308
 
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
14309
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14310
 
    break 2
14311
 
  fi
14312
 
done
14313
 
  done
14314
 
IFS=$as_save_IFS
14315
 
 
14316
 
  ;;
14317
 
esac
14318
 
fi
14319
 
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
14320
 
if test -n "$GLIB_COMPILE_SCHEMAS"; then
14321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
14322
 
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
14323
 
else
14324
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325
 
$as_echo "no" >&6; }
14326
 
fi
14327
 
 
14328
 
 
14329
 
  fi
14330
 
 
14331
 
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
14332
 
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
14333
 
  else
14334
 
    :
14335
 
  fi
14336
 
 
14337
 
  GSETTINGS_RULES='
14338
 
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
14339
 
 
14340
 
mostlyclean-am: clean-gsettings-schemas
14341
 
 
14342
 
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
14343
 
 
14344
 
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
14345
 
        $(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 $@
14346
 
 
14347
 
all-am: $(gsettings_SCHEMAS:.xml=.valid)
14348
 
uninstall-am: uninstall-gsettings-schemas
14349
 
install-data-am: install-gsettings-schemas
14350
 
 
14351
 
.SECONDARY: $(gsettings_SCHEMAS)
14352
 
 
14353
 
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
14354
 
        @$(NORMAL_INSTALL)
14355
 
        if test -n "$^"; then \
14356
 
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
14357
 
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
14358
 
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
14359
 
        fi
14360
 
 
14361
 
uninstall-gsettings-schemas:
14362
 
        @$(NORMAL_UNINSTALL)
14363
 
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
14364
 
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
14365
 
        test -n "$$files" || exit 0; \
14366
 
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
14367
 
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
14368
 
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
14369
 
 
14370
 
clean-gsettings-schemas:
14371
 
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
14372
 
 
14373
 
ifdef gsettings_ENUM_NAMESPACE
14374
 
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
14375
 
        $(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 $@
14376
 
endif
14377
 
'
14378
 
 
14379
 
 
14380
 
 
14381
 
 
14382
 
 
14383
 
 
14384
 
#*******************************************************************************
14385
 
 
14386
 
ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml data/Makefile data/cheese.pc data/cheese-gtk.pc data/cheese.desktop.in data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/icons/scalable/Makefile data/icons/16x16/actions/Makefile data/icons/22x22/actions/Makefile data/icons/24x24/actions/Makefile data/icons/32x32/actions/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/actions/Makefile data/pixmaps/Makefile help/Makefile libcheese/Makefile src/Makefile tests/Makefile po/Makefile.in"
14387
 
 
14388
 
cat >confcache <<\_ACEOF
14389
 
# This file is a shell script that caches the results of configure
14390
 
# tests run on this system so they can be shared between configure
14391
 
# scripts and configure runs, see configure's option --config-cache.
14392
 
# It is not useful on other systems.  If it contains results you don't
14393
 
# want to keep, you may remove or edit it.
14394
 
#
14395
 
# config.status only pays attention to the cache file if you give it
14396
 
# the --recheck option to rerun configure.
14397
 
#
14398
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14399
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14400
 
# following values.
14401
 
 
14402
 
_ACEOF
14403
 
 
14404
 
# The following way of writing the cache mishandles newlines in values,
14405
 
# but we know of no workaround that is simple, portable, and efficient.
14406
 
# So, we kill variables containing newlines.
14407
 
# Ultrix sh set writes to stderr and can't be redirected directly,
14408
 
# and sets the high bit in the cache file unless we assign to the vars.
14409
 
(
14410
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14411
 
    eval ac_val=\$$ac_var
14412
 
    case $ac_val in #(
14413
 
    *${as_nl}*)
14414
 
      case $ac_var in #(
14415
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14416
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14417
 
      esac
14418
 
      case $ac_var in #(
14419
 
      _ | IFS | as_nl) ;; #(
14420
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14421
 
      *) { eval $ac_var=; unset $ac_var;} ;;
14422
 
      esac ;;
14423
 
    esac
14424
 
  done
14425
 
 
14426
 
  (set) 2>&1 |
14427
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14428
 
    *${as_nl}ac_space=\ *)
14429
 
      # `set' does not quote correctly, so add quotes: double-quote
14430
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
14431
 
      sed -n \
14432
 
        "s/'/'\\\\''/g;
14433
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14434
 
      ;; #(
14435
 
    *)
14436
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
14437
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14438
 
      ;;
14439
 
    esac |
14440
 
    sort
14441
 
) |
14442
 
  sed '
14443
 
     /^ac_cv_env_/b end
14444
 
     t clear
14445
 
     :clear
14446
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14447
 
     t end
14448
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14449
 
     :end' >>confcache
14450
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14451
 
  if test -w "$cache_file"; then
14452
 
    if test "x$cache_file" != "x/dev/null"; then
14453
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14454
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
14455
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
14456
 
        cat confcache >"$cache_file"
14457
 
      else
14458
 
        case $cache_file in #(
14459
 
        */* | ?:*)
14460
 
          mv -f confcache "$cache_file"$$ &&
14461
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
14462
 
        *)
14463
 
          mv -f confcache "$cache_file" ;;
14464
 
        esac
14465
 
      fi
14466
 
    fi
14467
 
  else
14468
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14469
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14470
 
  fi
14471
 
fi
14472
 
rm -f confcache
14473
 
 
14474
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14475
 
# Let make expand exec_prefix.
14476
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14477
 
 
14478
 
DEFS=-DHAVE_CONFIG_H
14479
 
 
14480
 
ac_libobjs=
14481
 
ac_ltlibobjs=
14482
 
U=
14483
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14484
 
  # 1. Remove the extension, and $U if already installed.
14485
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14486
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14487
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14488
 
  #    will be set to the directory where LIBOBJS objects are built.
14489
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14490
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14491
 
done
14492
 
LIBOBJS=$ac_libobjs
14493
 
 
14494
 
LTLIBOBJS=$ac_ltlibobjs
14495
 
 
14496
 
 
14497
 
 if test -n "$EXEEXT"; then
14498
 
  am__EXEEXT_TRUE=
14499
 
  am__EXEEXT_FALSE='#'
14500
 
else
14501
 
  am__EXEEXT_TRUE='#'
14502
 
  am__EXEEXT_FALSE=
14503
 
fi
14504
 
 
14505
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14506
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14507
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14508
 
fi
14509
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14510
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
14511
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14512
 
fi
14513
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14514
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14515
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14516
 
fi
14517
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14518
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14519
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14520
 
fi
14521
 
 
14522
 
  ac_config_commands="$ac_config_commands po/stamp-it"
14523
 
 
14524
 
 
14525
 
if test -z "${HAVE_XTEST_TRUE}" && test -z "${HAVE_XTEST_FALSE}"; then
14526
 
  as_fn_error $? "conditional \"HAVE_XTEST\" was never defined.
14527
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14528
 
fi
14529
 
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14530
 
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14531
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14532
 
fi
14533
 
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14534
 
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14535
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14536
 
fi
14537
 
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14538
 
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14539
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14540
 
fi
14541
 
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14542
 
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14543
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14544
 
fi
14545
 
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14546
 
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14547
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14548
 
fi
14549
 
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14550
 
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14551
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14552
 
fi
14553
 
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
14554
 
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
14555
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14556
 
fi
14557
 
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
14558
 
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
14559
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14560
 
fi
14561
 
 
14562
 
: "${CONFIG_STATUS=./config.status}"
14563
 
ac_write_fail=0
14564
 
ac_clean_files_save=$ac_clean_files
14565
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14566
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14567
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14568
 
as_write_fail=0
14569
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14570
 
#! $SHELL
14571
 
# Generated by $as_me.
14572
 
# Run this file to recreate the current configuration.
14573
 
# Compiler output produced by configure, useful for debugging
14574
 
# configure, is in config.log if it exists.
14575
 
 
14576
 
debug=false
14577
 
ac_cs_recheck=false
14578
 
ac_cs_silent=false
14579
 
 
14580
 
SHELL=\${CONFIG_SHELL-$SHELL}
14581
 
export SHELL
14582
 
_ASEOF
14583
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14584
 
## -------------------- ##
14585
 
## M4sh Initialization. ##
14586
 
## -------------------- ##
14587
 
 
14588
 
# Be more Bourne compatible
14589
 
DUALCASE=1; export DUALCASE # for MKS sh
14590
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14591
 
  emulate sh
14592
 
  NULLCMD=:
14593
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14594
 
  # is contrary to our usage.  Disable this feature.
14595
 
  alias -g '${1+"$@"}'='"$@"'
14596
 
  setopt NO_GLOB_SUBST
14597
 
else
14598
 
  case `(set -o) 2>/dev/null` in #(
14599
 
  *posix*) :
14600
 
    set -o posix ;; #(
14601
 
  *) :
14602
 
     ;;
14603
 
esac
14604
 
fi
14605
 
 
14606
 
 
14607
 
as_nl='
14608
 
'
14609
 
export as_nl
14610
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
14611
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14612
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14613
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14614
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
14615
 
# but without wasting forks for bash or zsh.
14616
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
14617
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14618
 
  as_echo='print -r --'
14619
 
  as_echo_n='print -rn --'
14620
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14621
 
  as_echo='printf %s\n'
14622
 
  as_echo_n='printf %s'
14623
 
else
14624
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14625
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14626
 
    as_echo_n='/usr/ucb/echo -n'
14627
 
  else
14628
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14629
 
    as_echo_n_body='eval
14630
 
      arg=$1;
14631
 
      case $arg in #(
14632
 
      *"$as_nl"*)
14633
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
14634
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14635
 
      esac;
14636
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14637
 
    '
14638
 
    export as_echo_n_body
14639
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
14640
 
  fi
14641
 
  export as_echo_body
14642
 
  as_echo='sh -c $as_echo_body as_echo'
14643
 
fi
14644
 
 
14645
 
# The user is always right.
14646
 
if test "${PATH_SEPARATOR+set}" != set; then
14647
 
  PATH_SEPARATOR=:
14648
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14649
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14650
 
      PATH_SEPARATOR=';'
14651
 
  }
14652
 
fi
14653
 
 
14654
 
 
14655
 
# IFS
14656
 
# We need space, tab and new line, in precisely that order.  Quoting is
14657
 
# there to prevent editors from complaining about space-tab.
14658
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14659
 
# splitting by setting IFS to empty value.)
14660
 
IFS=" ""        $as_nl"
14661
 
 
14662
 
# Find who we are.  Look in the path if we contain no directory separator.
14663
 
as_myself=
14664
 
case $0 in #((
14665
 
  *[\\/]* ) as_myself=$0 ;;
14666
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14667
 
for as_dir in $PATH
14668
 
do
14669
 
  IFS=$as_save_IFS
14670
 
  test -z "$as_dir" && as_dir=.
14671
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14672
 
  done
14673
 
IFS=$as_save_IFS
14674
 
 
14675
 
     ;;
14676
 
esac
14677
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
14678
 
# in which case we are not to be found in the path.
14679
 
if test "x$as_myself" = x; then
14680
 
  as_myself=$0
14681
 
fi
14682
 
if test ! -f "$as_myself"; then
14683
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14684
 
  exit 1
14685
 
fi
14686
 
 
14687
 
# Unset variables that we do not need and which cause bugs (e.g. in
14688
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14689
 
# suppresses any "Segmentation fault" message there.  '((' could
14690
 
# trigger a bug in pdksh 5.2.14.
14691
 
for as_var in BASH_ENV ENV MAIL MAILPATH
14692
 
do eval test x\${$as_var+set} = xset \
14693
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14694
 
done
14695
 
PS1='$ '
14696
 
PS2='> '
14697
 
PS4='+ '
14698
 
 
14699
 
# NLS nuisances.
14700
 
LC_ALL=C
14701
 
export LC_ALL
14702
 
LANGUAGE=C
14703
 
export LANGUAGE
14704
 
 
14705
 
# CDPATH.
14706
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14707
 
 
14708
 
 
14709
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
14710
 
# ----------------------------------------
14711
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14712
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14713
 
# script with STATUS, using 1 if that was 0.
14714
 
as_fn_error ()
14715
 
{
14716
 
  as_status=$1; test $as_status -eq 0 && as_status=1
14717
 
  if test "$4"; then
14718
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14719
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14720
 
  fi
14721
 
  $as_echo "$as_me: error: $2" >&2
14722
 
  as_fn_exit $as_status
14723
 
} # as_fn_error
14724
 
 
14725
 
 
14726
 
# as_fn_set_status STATUS
14727
 
# -----------------------
14728
 
# Set $? to STATUS, without forking.
14729
 
as_fn_set_status ()
14730
 
{
14731
 
  return $1
14732
 
} # as_fn_set_status
14733
 
 
14734
 
# as_fn_exit STATUS
14735
 
# -----------------
14736
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14737
 
as_fn_exit ()
14738
 
{
14739
 
  set +e
14740
 
  as_fn_set_status $1
14741
 
  exit $1
14742
 
} # as_fn_exit
14743
 
 
14744
 
# as_fn_unset VAR
14745
 
# ---------------
14746
 
# Portably unset VAR.
14747
 
as_fn_unset ()
14748
 
{
14749
 
  { eval $1=; unset $1;}
14750
 
}
14751
 
as_unset=as_fn_unset
14752
 
# as_fn_append VAR VALUE
14753
 
# ----------------------
14754
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
14755
 
# advantage of any shell optimizations that allow amortized linear growth over
14756
 
# repeated appends, instead of the typical quadratic growth present in naive
14757
 
# implementations.
14758
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14759
 
  eval 'as_fn_append ()
14760
 
  {
14761
 
    eval $1+=\$2
14762
 
  }'
14763
 
else
14764
 
  as_fn_append ()
14765
 
  {
14766
 
    eval $1=\$$1\$2
14767
 
  }
14768
 
fi # as_fn_append
14769
 
 
14770
 
# as_fn_arith ARG...
14771
 
# ------------------
14772
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
14773
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
14774
 
# must be portable across $(()) and expr.
14775
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14776
 
  eval 'as_fn_arith ()
14777
 
  {
14778
 
    as_val=$(( $* ))
14779
 
  }'
14780
 
else
14781
 
  as_fn_arith ()
14782
 
  {
14783
 
    as_val=`expr "$@" || test $? -eq 1`
14784
 
  }
14785
 
fi # as_fn_arith
14786
 
 
14787
 
 
14788
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
14789
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14790
 
  as_expr=expr
14791
 
else
14792
 
  as_expr=false
14793
 
fi
14794
 
 
14795
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14796
 
  as_basename=basename
14797
 
else
14798
 
  as_basename=false
14799
 
fi
14800
 
 
14801
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14802
 
  as_dirname=dirname
14803
 
else
14804
 
  as_dirname=false
14805
 
fi
14806
 
 
14807
 
as_me=`$as_basename -- "$0" ||
14808
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14809
 
         X"$0" : 'X\(//\)$' \| \
14810
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14811
 
$as_echo X/"$0" |
14812
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
14813
 
            s//\1/
14814
 
            q
14815
 
          }
14816
 
          /^X\/\(\/\/\)$/{
14817
 
            s//\1/
14818
 
            q
14819
 
          }
14820
 
          /^X\/\(\/\).*/{
14821
 
            s//\1/
14822
 
            q
14823
 
          }
14824
 
          s/.*/./; q'`
14825
 
 
14826
 
# Avoid depending upon Character Ranges.
14827
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14828
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14829
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14830
 
as_cr_digits='0123456789'
14831
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
14832
 
 
14833
 
ECHO_C= ECHO_N= ECHO_T=
14834
 
case `echo -n x` in #(((((
14835
 
-n*)
14836
 
  case `echo 'xy\c'` in
14837
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14838
 
  xy)  ECHO_C='\c';;
14839
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14840
 
       ECHO_T=' ';;
14841
 
  esac;;
14842
 
*)
14843
 
  ECHO_N='-n';;
14844
 
esac
14845
 
 
14846
 
rm -f conf$$ conf$$.exe conf$$.file
14847
 
if test -d conf$$.dir; then
14848
 
  rm -f conf$$.dir/conf$$.file
14849
 
else
14850
 
  rm -f conf$$.dir
14851
 
  mkdir conf$$.dir 2>/dev/null
14852
 
fi
14853
 
if (echo >conf$$.file) 2>/dev/null; then
14854
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
14855
 
    as_ln_s='ln -s'
14856
 
    # ... but there are two gotchas:
14857
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14858
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14859
 
    # In both cases, we have to default to `cp -p'.
14860
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14861
 
      as_ln_s='cp -p'
14862
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
14863
 
    as_ln_s=ln
14864
 
  else
14865
 
    as_ln_s='cp -p'
14866
 
  fi
14867
 
else
14868
 
  as_ln_s='cp -p'
14869
 
fi
14870
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14871
 
rmdir conf$$.dir 2>/dev/null
14872
 
 
14873
 
 
14874
 
# as_fn_mkdir_p
14875
 
# -------------
14876
 
# Create "$as_dir" as a directory, including parents if necessary.
14877
 
as_fn_mkdir_p ()
14878
 
{
14879
 
 
14880
 
  case $as_dir in #(
14881
 
  -*) as_dir=./$as_dir;;
14882
 
  esac
14883
 
  test -d "$as_dir" || eval $as_mkdir_p || {
14884
 
    as_dirs=
14885
 
    while :; do
14886
 
      case $as_dir in #(
14887
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14888
 
      *) as_qdir=$as_dir;;
14889
 
      esac
14890
 
      as_dirs="'$as_qdir' $as_dirs"
14891
 
      as_dir=`$as_dirname -- "$as_dir" ||
14892
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14893
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
14894
 
         X"$as_dir" : 'X\(//\)$' \| \
14895
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14896
 
$as_echo X"$as_dir" |
14897
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14898
 
            s//\1/
14899
 
            q
14900
 
          }
14901
 
          /^X\(\/\/\)[^/].*/{
14902
 
            s//\1/
14903
 
            q
14904
 
          }
14905
 
          /^X\(\/\/\)$/{
14906
 
            s//\1/
14907
 
            q
14908
 
          }
14909
 
          /^X\(\/\).*/{
14910
 
            s//\1/
14911
 
            q
14912
 
          }
14913
 
          s/.*/./; q'`
14914
 
      test -d "$as_dir" && break
14915
 
    done
14916
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14917
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14918
 
 
14919
 
 
14920
 
} # as_fn_mkdir_p
14921
 
if mkdir -p . 2>/dev/null; then
14922
 
  as_mkdir_p='mkdir -p "$as_dir"'
14923
 
else
14924
 
  test -d ./-p && rmdir ./-p
14925
 
  as_mkdir_p=false
14926
 
fi
14927
 
 
14928
 
if test -x / >/dev/null 2>&1; then
14929
 
  as_test_x='test -x'
14930
 
else
14931
 
  if ls -dL / >/dev/null 2>&1; then
14932
 
    as_ls_L_option=L
14933
 
  else
14934
 
    as_ls_L_option=
14935
 
  fi
14936
 
  as_test_x='
14937
 
    eval sh -c '\''
14938
 
      if test -d "$1"; then
14939
 
        test -d "$1/.";
14940
 
      else
14941
 
        case $1 in #(
14942
 
        -*)set "./$1";;
14943
 
        esac;
14944
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14945
 
        ???[sx]*):;;*)false;;esac;fi
14946
 
    '\'' sh
14947
 
  '
14948
 
fi
14949
 
as_executable_p=$as_test_x
14950
 
 
14951
 
# Sed expression to map a string onto a valid CPP name.
14952
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14953
 
 
14954
 
# Sed expression to map a string onto a valid variable name.
14955
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14956
 
 
14957
 
 
14958
 
exec 6>&1
14959
 
## ----------------------------------- ##
14960
 
## Main body of $CONFIG_STATUS script. ##
14961
 
## ----------------------------------- ##
14962
 
_ASEOF
14963
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14964
 
 
14965
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14966
 
# Save the log message, to keep $0 and so on meaningful, and to
14967
 
# report actual input values of CONFIG_FILES etc. instead of their
14968
 
# values after options handling.
14969
 
ac_log="
14970
 
This file was extended by cheese $as_me 3.2.2, which was
14971
 
generated by GNU Autoconf 2.68.  Invocation command line was
14972
 
 
14973
 
  CONFIG_FILES    = $CONFIG_FILES
14974
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
14975
 
  CONFIG_LINKS    = $CONFIG_LINKS
14976
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
14977
 
  $ $0 $@
14978
 
 
14979
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14980
 
"
14981
 
 
14982
 
_ACEOF
14983
 
 
14984
 
case $ac_config_files in *"
14985
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14986
 
esac
14987
 
 
14988
 
case $ac_config_headers in *"
14989
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14990
 
esac
14991
 
 
14992
 
 
14993
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14994
 
# Files that config.status was made for.
14995
 
config_files="$ac_config_files"
14996
 
config_headers="$ac_config_headers"
14997
 
config_commands="$ac_config_commands"
14998
 
 
14999
 
_ACEOF
15000
 
 
15001
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15002
 
ac_cs_usage="\
15003
 
\`$as_me' instantiates files and other configuration actions
15004
 
from templates according to the current configuration.  Unless the files
15005
 
and actions are specified as TAGs, all are instantiated by default.
15006
 
 
15007
 
Usage: $0 [OPTION]... [TAG]...
15008
 
 
15009
 
  -h, --help       print this help, then exit
15010
 
  -V, --version    print version number and configuration settings, then exit
15011
 
      --config     print configuration, then exit
15012
 
  -q, --quiet, --silent
15013
 
                   do not print progress messages
15014
 
  -d, --debug      don't remove temporary files
15015
 
      --recheck    update $as_me by reconfiguring in the same conditions
15016
 
      --file=FILE[:TEMPLATE]
15017
 
                   instantiate the configuration file FILE
15018
 
      --header=FILE[:TEMPLATE]
15019
 
                   instantiate the configuration header FILE
15020
 
 
15021
 
Configuration files:
15022
 
$config_files
15023
 
 
15024
 
Configuration headers:
15025
 
$config_headers
15026
 
 
15027
 
Configuration commands:
15028
 
$config_commands
15029
 
 
15030
 
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
15031
 
cheese home page: <http://projects.gnome.org/cheese/>."
15032
 
 
15033
 
_ACEOF
15034
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15035
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15036
 
ac_cs_version="\\
15037
 
cheese config.status 3.2.2
15038
 
configured by $0, generated by GNU Autoconf 2.68,
15039
 
  with options \\"\$ac_cs_config\\"
15040
 
 
15041
 
Copyright (C) 2010 Free Software Foundation, Inc.
15042
 
This config.status script is free software; the Free Software Foundation
15043
 
gives unlimited permission to copy, distribute and modify it."
15044
 
 
15045
 
ac_pwd='$ac_pwd'
15046
 
srcdir='$srcdir'
15047
 
INSTALL='$INSTALL'
15048
 
MKDIR_P='$MKDIR_P'
15049
 
AWK='$AWK'
15050
 
test -n "\$AWK" || AWK=awk
15051
 
_ACEOF
15052
 
 
15053
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15054
 
# The default lists apply if the user does not specify any file.
15055
 
ac_need_defaults=:
15056
 
while test $# != 0
15057
 
do
15058
 
  case $1 in
15059
 
  --*=?*)
15060
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15061
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15062
 
    ac_shift=:
15063
 
    ;;
15064
 
  --*=)
15065
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15066
 
    ac_optarg=
15067
 
    ac_shift=:
15068
 
    ;;
15069
 
  *)
15070
 
    ac_option=$1
15071
 
    ac_optarg=$2
15072
 
    ac_shift=shift
15073
 
    ;;
15074
 
  esac
15075
 
 
15076
 
  case $ac_option in
15077
 
  # Handling of the options.
15078
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15079
 
    ac_cs_recheck=: ;;
15080
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15081
 
    $as_echo "$ac_cs_version"; exit ;;
15082
 
  --config | --confi | --conf | --con | --co | --c )
15083
 
    $as_echo "$ac_cs_config"; exit ;;
15084
 
  --debug | --debu | --deb | --de | --d | -d )
15085
 
    debug=: ;;
15086
 
  --file | --fil | --fi | --f )
15087
 
    $ac_shift
15088
 
    case $ac_optarg in
15089
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15090
 
    '') as_fn_error $? "missing file argument" ;;
15091
 
    esac
15092
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15093
 
    ac_need_defaults=false;;
15094
 
  --header | --heade | --head | --hea )
15095
 
    $ac_shift
15096
 
    case $ac_optarg in
15097
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15098
 
    esac
15099
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15100
 
    ac_need_defaults=false;;
15101
 
  --he | --h)
15102
 
    # Conflict between --help and --header
15103
 
    as_fn_error $? "ambiguous option: \`$1'
15104
 
Try \`$0 --help' for more information.";;
15105
 
  --help | --hel | -h )
15106
 
    $as_echo "$ac_cs_usage"; exit ;;
15107
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15108
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15109
 
    ac_cs_silent=: ;;
15110
 
 
15111
 
  # This is an error.
15112
 
  -*) as_fn_error $? "unrecognized option: \`$1'
15113
 
Try \`$0 --help' for more information." ;;
15114
 
 
15115
 
  *) as_fn_append ac_config_targets " $1"
15116
 
     ac_need_defaults=false ;;
15117
 
 
15118
 
  esac
15119
 
  shift
15120
 
done
15121
 
 
15122
 
ac_configure_extra_args=
15123
 
 
15124
 
if $ac_cs_silent; then
15125
 
  exec 6>/dev/null
15126
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
15127
 
fi
15128
 
 
15129
 
_ACEOF
15130
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15131
 
if \$ac_cs_recheck; then
15132
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15133
 
  shift
15134
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15135
 
  CONFIG_SHELL='$SHELL'
15136
 
  export CONFIG_SHELL
15137
 
  exec "\$@"
15138
 
fi
15139
 
 
15140
 
_ACEOF
15141
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15142
 
exec 5>>config.log
15143
 
{
15144
 
  echo
15145
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15146
 
## Running $as_me. ##
15147
 
_ASBOX
15148
 
  $as_echo "$ac_log"
15149
 
} >&5
15150
 
 
15151
 
_ACEOF
15152
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15153
 
#
15154
 
# INIT-COMMANDS
15155
 
#
15156
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15157
 
 
15158
 
 
15159
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
15160
 
# if CDPATH is set.
15161
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15162
 
 
15163
 
sed_quote_subst='$sed_quote_subst'
15164
 
double_quote_subst='$double_quote_subst'
15165
 
delay_variable_subst='$delay_variable_subst'
15166
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15167
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15168
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15169
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15170
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15171
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15172
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15173
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15174
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15175
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15176
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15177
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15178
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15179
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15180
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15181
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15182
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15183
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15184
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15185
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15186
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15187
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15188
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15189
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15190
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15191
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15192
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15193
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15194
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15195
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15196
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15197
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15198
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15199
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15200
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15201
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15202
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15203
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15204
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15205
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15206
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15207
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15208
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15209
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15210
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15211
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15212
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15213
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15214
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15215
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15216
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15217
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15218
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15219
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15220
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15221
 
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"`'
15222
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15223
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15224
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15225
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15226
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15227
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15228
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15229
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15230
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15231
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15232
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15233
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15234
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15235
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15236
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15237
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15238
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15239
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15240
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15241
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15242
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15243
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15244
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15245
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15246
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15247
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15248
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15249
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15250
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15251
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15252
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15253
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15254
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15255
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15256
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15257
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15258
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15259
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15260
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15261
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15262
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15263
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15264
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15265
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15266
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15267
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15268
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15269
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15270
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15271
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15272
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15273
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15274
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15275
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15276
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15277
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15278
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15279
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15280
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15281
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15282
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15283
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15284
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15285
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15286
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15287
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15288
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15289
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15290
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15291
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15292
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15293
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15294
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15295
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15296
 
 
15297
 
LTCC='$LTCC'
15298
 
LTCFLAGS='$LTCFLAGS'
15299
 
compiler='$compiler_DEFAULT'
15300
 
 
15301
 
# A function that is used when there is no print builtin or printf.
15302
 
func_fallback_echo ()
15303
 
{
15304
 
  eval 'cat <<_LTECHO_EOF
15305
 
\$1
15306
 
_LTECHO_EOF'
15307
 
}
15308
 
 
15309
 
# Quote evaled strings.
15310
 
for var in SHELL \
15311
 
ECHO \
15312
 
SED \
15313
 
GREP \
15314
 
EGREP \
15315
 
FGREP \
15316
 
LD \
15317
 
NM \
15318
 
LN_S \
15319
 
lt_SP2NL \
15320
 
lt_NL2SP \
15321
 
reload_flag \
15322
 
OBJDUMP \
15323
 
deplibs_check_method \
15324
 
file_magic_cmd \
15325
 
file_magic_glob \
15326
 
want_nocaseglob \
15327
 
DLLTOOL \
15328
 
sharedlib_from_linklib_cmd \
15329
 
AR \
15330
 
AR_FLAGS \
15331
 
archiver_list_spec \
15332
 
STRIP \
15333
 
RANLIB \
15334
 
CC \
15335
 
CFLAGS \
15336
 
compiler \
15337
 
lt_cv_sys_global_symbol_pipe \
15338
 
lt_cv_sys_global_symbol_to_cdecl \
15339
 
lt_cv_sys_global_symbol_to_c_name_address \
15340
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15341
 
nm_file_list_spec \
15342
 
lt_prog_compiler_no_builtin_flag \
15343
 
lt_prog_compiler_pic \
15344
 
lt_prog_compiler_wl \
15345
 
lt_prog_compiler_static \
15346
 
lt_cv_prog_compiler_c_o \
15347
 
need_locks \
15348
 
MANIFEST_TOOL \
15349
 
DSYMUTIL \
15350
 
NMEDIT \
15351
 
LIPO \
15352
 
OTOOL \
15353
 
OTOOL64 \
15354
 
shrext_cmds \
15355
 
export_dynamic_flag_spec \
15356
 
whole_archive_flag_spec \
15357
 
compiler_needs_object \
15358
 
with_gnu_ld \
15359
 
allow_undefined_flag \
15360
 
no_undefined_flag \
15361
 
hardcode_libdir_flag_spec \
15362
 
hardcode_libdir_flag_spec_ld \
15363
 
hardcode_libdir_separator \
15364
 
exclude_expsyms \
15365
 
include_expsyms \
15366
 
file_list_spec \
15367
 
variables_saved_for_relink \
15368
 
libname_spec \
15369
 
library_names_spec \
15370
 
soname_spec \
15371
 
install_override_mode \
15372
 
finish_eval \
15373
 
old_striplib \
15374
 
striplib; do
15375
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15376
 
    *[\\\\\\\`\\"\\\$]*)
15377
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15378
 
      ;;
15379
 
    *)
15380
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15381
 
      ;;
15382
 
    esac
15383
 
done
15384
 
 
15385
 
# Double-quote double-evaled strings.
15386
 
for var in reload_cmds \
15387
 
old_postinstall_cmds \
15388
 
old_postuninstall_cmds \
15389
 
old_archive_cmds \
15390
 
extract_expsyms_cmds \
15391
 
old_archive_from_new_cmds \
15392
 
old_archive_from_expsyms_cmds \
15393
 
archive_cmds \
15394
 
archive_expsym_cmds \
15395
 
module_cmds \
15396
 
module_expsym_cmds \
15397
 
export_symbols_cmds \
15398
 
prelink_cmds \
15399
 
postlink_cmds \
15400
 
postinstall_cmds \
15401
 
postuninstall_cmds \
15402
 
finish_cmds \
15403
 
sys_lib_search_path_spec \
15404
 
sys_lib_dlsearch_path_spec; do
15405
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15406
 
    *[\\\\\\\`\\"\\\$]*)
15407
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15408
 
      ;;
15409
 
    *)
15410
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15411
 
      ;;
15412
 
    esac
15413
 
done
15414
 
 
15415
 
ac_aux_dir='$ac_aux_dir'
15416
 
xsi_shell='$xsi_shell'
15417
 
lt_shell_append='$lt_shell_append'
15418
 
 
15419
 
# See if we are running on zsh, and set the options which allow our
15420
 
# commands through without removal of \ escapes INIT.
15421
 
if test -n "\${ZSH_VERSION+set}" ; then
15422
 
   setopt NO_GLOB_SUBST
15423
 
fi
15424
 
 
15425
 
 
15426
 
    PACKAGE='$PACKAGE'
15427
 
    VERSION='$VERSION'
15428
 
    TIMESTAMP='$TIMESTAMP'
15429
 
    RM='$RM'
15430
 
    ofile='$ofile'
15431
 
 
15432
 
 
15433
 
 
15434
 
 
15435
 
_ACEOF
15436
 
 
15437
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15438
 
 
15439
 
# Handling of arguments.
15440
 
for ac_config_target in $ac_config_targets
15441
 
do
15442
 
  case $ac_config_target in
15443
 
    "cheese-config.h") CONFIG_HEADERS="$CONFIG_HEADERS cheese-config.h" ;;
15444
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15445
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15446
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15447
 
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15448
 
    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15449
 
    "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
15450
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15451
 
    "data/cheese.pc") CONFIG_FILES="$CONFIG_FILES data/cheese.pc" ;;
15452
 
    "data/cheese-gtk.pc") CONFIG_FILES="$CONFIG_FILES data/cheese-gtk.pc" ;;
15453
 
    "data/cheese.desktop.in") CONFIG_FILES="$CONFIG_FILES data/cheese.desktop.in" ;;
15454
 
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
15455
 
    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
15456
 
    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
15457
 
    "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
15458
 
    "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
15459
 
    "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
15460
 
    "data/icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/Makefile" ;;
15461
 
    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
15462
 
    "data/icons/16x16/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/actions/Makefile" ;;
15463
 
    "data/icons/22x22/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/actions/Makefile" ;;
15464
 
    "data/icons/24x24/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/actions/Makefile" ;;
15465
 
    "data/icons/32x32/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/actions/Makefile" ;;
15466
 
    "data/icons/48x48/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/actions/Makefile" ;;
15467
 
    "data/icons/scalable/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/actions/Makefile" ;;
15468
 
    "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
15469
 
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15470
 
    "libcheese/Makefile") CONFIG_FILES="$CONFIG_FILES libcheese/Makefile" ;;
15471
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15472
 
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15473
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15474
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15475
 
 
15476
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15477
 
  esac
15478
 
done
15479
 
 
15480
 
 
15481
 
# If the user did not use the arguments to specify the items to instantiate,
15482
 
# then the envvar interface is used.  Set only those that are not.
15483
 
# We use the long form for the default assignment because of an extremely
15484
 
# bizarre bug on SunOS 4.1.3.
15485
 
if $ac_need_defaults; then
15486
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15487
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15488
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15489
 
fi
15490
 
 
15491
 
# Have a temporary directory for convenience.  Make it in the build tree
15492
 
# simply because there is no reason against having it here, and in addition,
15493
 
# creating and moving files from /tmp can sometimes cause problems.
15494
 
# Hook for its removal unless debugging.
15495
 
# Note that there is a small window in which the directory will not be cleaned:
15496
 
# after its creation but before its name has been assigned to `$tmp'.
15497
 
$debug ||
15498
 
{
15499
 
  tmp= ac_tmp=
15500
 
  trap 'exit_status=$?
15501
 
  : "${ac_tmp:=$tmp}"
15502
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15503
 
' 0
15504
 
  trap 'as_fn_exit 1' 1 2 13 15
15505
 
}
15506
 
# Create a (secure) tmp directory for tmp files.
15507
 
 
15508
 
{
15509
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15510
 
  test -d "$tmp"
15511
 
}  ||
15512
 
{
15513
 
  tmp=./conf$$-$RANDOM
15514
 
  (umask 077 && mkdir "$tmp")
15515
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15516
 
ac_tmp=$tmp
15517
 
 
15518
 
# Set up the scripts for CONFIG_FILES section.
15519
 
# No need to generate them if there are no CONFIG_FILES.
15520
 
# This happens for instance with `./config.status config.h'.
15521
 
if test -n "$CONFIG_FILES"; then
15522
 
 
15523
 
 
15524
 
ac_cr=`echo X | tr X '\015'`
15525
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15526
 
# But we know of no other shell where ac_cr would be empty at this
15527
 
# point, so we can use a bashism as a fallback.
15528
 
if test "x$ac_cr" = x; then
15529
 
  eval ac_cr=\$\'\\r\'
15530
 
fi
15531
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15532
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15533
 
  ac_cs_awk_cr='\\r'
15534
 
else
15535
 
  ac_cs_awk_cr=$ac_cr
15536
 
fi
15537
 
 
15538
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15539
 
_ACEOF
15540
 
 
15541
 
 
15542
 
{
15543
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
15544
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15545
 
  echo "_ACEOF"
15546
 
} >conf$$subs.sh ||
15547
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15548
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15549
 
ac_delim='%!_!# '
15550
 
for ac_last_try in false false false false false :; do
15551
 
  . ./conf$$subs.sh ||
15552
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15553
 
 
15554
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15555
 
  if test $ac_delim_n = $ac_delim_num; then
15556
 
    break
15557
 
  elif $ac_last_try; then
15558
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15559
 
  else
15560
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15561
 
  fi
15562
 
done
15563
 
rm -f conf$$subs.sh
15564
 
 
15565
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15566
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15567
 
_ACEOF
15568
 
sed -n '
15569
 
h
15570
 
s/^/S["/; s/!.*/"]=/
15571
 
p
15572
 
g
15573
 
s/^[^!]*!//
15574
 
:repl
15575
 
t repl
15576
 
s/'"$ac_delim"'$//
15577
 
t delim
15578
 
:nl
15579
 
h
15580
 
s/\(.\{148\}\)..*/\1/
15581
 
t more1
15582
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15583
 
p
15584
 
n
15585
 
b repl
15586
 
:more1
15587
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15588
 
p
15589
 
g
15590
 
s/.\{148\}//
15591
 
t nl
15592
 
:delim
15593
 
h
15594
 
s/\(.\{148\}\)..*/\1/
15595
 
t more2
15596
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
15597
 
p
15598
 
b
15599
 
:more2
15600
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15601
 
p
15602
 
g
15603
 
s/.\{148\}//
15604
 
t delim
15605
 
' <conf$$subs.awk | sed '
15606
 
/^[^""]/{
15607
 
  N
15608
 
  s/\n//
15609
 
}
15610
 
' >>$CONFIG_STATUS || ac_write_fail=1
15611
 
rm -f conf$$subs.awk
15612
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15613
 
_ACAWK
15614
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15615
 
  for (key in S) S_is_set[key] = 1
15616
 
  FS = ""
15617
 
 
15618
 
}
15619
 
{
15620
 
  line = $ 0
15621
 
  nfields = split(line, field, "@")
15622
 
  substed = 0
15623
 
  len = length(field[1])
15624
 
  for (i = 2; i < nfields; i++) {
15625
 
    key = field[i]
15626
 
    keylen = length(key)
15627
 
    if (S_is_set[key]) {
15628
 
      value = S[key]
15629
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15630
 
      len += length(value) + length(field[++i])
15631
 
      substed = 1
15632
 
    } else
15633
 
      len += 1 + keylen
15634
 
  }
15635
 
 
15636
 
  print line
15637
 
}
15638
 
 
15639
 
_ACAWK
15640
 
_ACEOF
15641
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15642
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15643
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15644
 
else
15645
 
  cat
15646
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15647
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15648
 
_ACEOF
15649
 
 
15650
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15651
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15652
 
# trailing colons and then remove the whole line if VPATH becomes empty
15653
 
# (actually we leave an empty line to preserve line numbers).
15654
 
if test "x$srcdir" = x.; then
15655
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15656
 
h
15657
 
s///
15658
 
s/^/:/
15659
 
s/[      ]*$/:/
15660
 
s/:\$(srcdir):/:/g
15661
 
s/:\${srcdir}:/:/g
15662
 
s/:@srcdir@:/:/g
15663
 
s/^:*//
15664
 
s/:*$//
15665
 
x
15666
 
s/\(=[   ]*\).*/\1/
15667
 
G
15668
 
s/\n//
15669
 
s/^[^=]*=[       ]*$//
15670
 
}'
15671
 
fi
15672
 
 
15673
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15674
 
fi # test -n "$CONFIG_FILES"
15675
 
 
15676
 
# Set up the scripts for CONFIG_HEADERS section.
15677
 
# No need to generate them if there are no CONFIG_HEADERS.
15678
 
# This happens for instance with `./config.status Makefile'.
15679
 
if test -n "$CONFIG_HEADERS"; then
15680
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15681
 
BEGIN {
15682
 
_ACEOF
15683
 
 
15684
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
15685
 
# here-document in config.status, that substitutes the proper values into
15686
 
# config.h.in to produce config.h.
15687
 
 
15688
 
# Create a delimiter string that does not exist in confdefs.h, to ease
15689
 
# handling of long lines.
15690
 
ac_delim='%!_!# '
15691
 
for ac_last_try in false false :; do
15692
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15693
 
  if test -z "$ac_tt"; then
15694
 
    break
15695
 
  elif $ac_last_try; then
15696
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15697
 
  else
15698
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15699
 
  fi
15700
 
done
15701
 
 
15702
 
# For the awk script, D is an array of macro values keyed by name,
15703
 
# likewise P contains macro parameters if any.  Preserve backslash
15704
 
# newline sequences.
15705
 
 
15706
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15707
 
sed -n '
15708
 
s/.\{148\}/&'"$ac_delim"'/g
15709
 
t rset
15710
 
:rset
15711
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
15712
 
t def
15713
 
d
15714
 
:def
15715
 
s/\\$//
15716
 
t bsnl
15717
 
s/["\\]/\\&/g
15718
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15719
 
D["\1"]=" \3"/p
15720
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15721
 
d
15722
 
:bsnl
15723
 
s/["\\]/\\&/g
15724
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15725
 
D["\1"]=" \3\\\\\\n"\\/p
15726
 
t cont
15727
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15728
 
t cont
15729
 
d
15730
 
:cont
15731
 
n
15732
 
s/.\{148\}/&'"$ac_delim"'/g
15733
 
t clear
15734
 
:clear
15735
 
s/\\$//
15736
 
t bsnlc
15737
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
15738
 
d
15739
 
:bsnlc
15740
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15741
 
b cont
15742
 
' <confdefs.h | sed '
15743
 
s/'"$ac_delim"'/"\\\
15744
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
15745
 
 
15746
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747
 
  for (key in D) D_is_set[key] = 1
15748
 
  FS = ""
15749
 
}
15750
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15751
 
  line = \$ 0
15752
 
  split(line, arg, " ")
15753
 
  if (arg[1] == "#") {
15754
 
    defundef = arg[2]
15755
 
    mac1 = arg[3]
15756
 
  } else {
15757
 
    defundef = substr(arg[1], 2)
15758
 
    mac1 = arg[2]
15759
 
  }
15760
 
  split(mac1, mac2, "(") #)
15761
 
  macro = mac2[1]
15762
 
  prefix = substr(line, 1, index(line, defundef) - 1)
15763
 
  if (D_is_set[macro]) {
15764
 
    # Preserve the white space surrounding the "#".
15765
 
    print prefix "define", macro P[macro] D[macro]
15766
 
    next
15767
 
  } else {
15768
 
    # Replace #undef with comments.  This is necessary, for example,
15769
 
    # in the case of _POSIX_SOURCE, which is predefined and required
15770
 
    # on some systems where configure will not decide to define it.
15771
 
    if (defundef == "undef") {
15772
 
      print "/*", prefix defundef, macro, "*/"
15773
 
      next
15774
 
    }
15775
 
  }
15776
 
}
15777
 
{ print }
15778
 
_ACAWK
15779
 
_ACEOF
15780
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15781
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15782
 
fi # test -n "$CONFIG_HEADERS"
15783
 
 
15784
 
 
15785
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15786
 
shift
15787
 
for ac_tag
15788
 
do
15789
 
  case $ac_tag in
15790
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
15791
 
  esac
15792
 
  case $ac_mode$ac_tag in
15793
 
  :[FHL]*:*);;
15794
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15795
 
  :[FH]-) ac_tag=-:-;;
15796
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15797
 
  esac
15798
 
  ac_save_IFS=$IFS
15799
 
  IFS=:
15800
 
  set x $ac_tag
15801
 
  IFS=$ac_save_IFS
15802
 
  shift
15803
 
  ac_file=$1
15804
 
  shift
15805
 
 
15806
 
  case $ac_mode in
15807
 
  :L) ac_source=$1;;
15808
 
  :[FH])
15809
 
    ac_file_inputs=
15810
 
    for ac_f
15811
 
    do
15812
 
      case $ac_f in
15813
 
      -) ac_f="$ac_tmp/stdin";;
15814
 
      *) # Look for the file first in the build tree, then in the source tree
15815
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15816
 
         # because $ac_f cannot contain `:'.
15817
 
         test -f "$ac_f" ||
15818
 
           case $ac_f in
15819
 
           [\\/$]*) false;;
15820
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15821
 
           esac ||
15822
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15823
 
      esac
15824
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15825
 
      as_fn_append ac_file_inputs " '$ac_f'"
15826
 
    done
15827
 
 
15828
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
15829
 
    # use $as_me), people would be surprised to read:
15830
 
    #    /* config.h.  Generated by config.status.  */
15831
 
    configure_input='Generated from '`
15832
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15833
 
        `' by configure.'
15834
 
    if test x"$ac_file" != x-; then
15835
 
      configure_input="$ac_file.  $configure_input"
15836
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15837
 
$as_echo "$as_me: creating $ac_file" >&6;}
15838
 
    fi
15839
 
    # Neutralize special characters interpreted by sed in replacement strings.
15840
 
    case $configure_input in #(
15841
 
    *\&* | *\|* | *\\* )
15842
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
15843
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15844
 
    *) ac_sed_conf_input=$configure_input;;
15845
 
    esac
15846
 
 
15847
 
    case $ac_tag in
15848
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15849
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15850
 
    esac
15851
 
    ;;
15852
 
  esac
15853
 
 
15854
 
  ac_dir=`$as_dirname -- "$ac_file" ||
15855
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15856
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
15857
 
         X"$ac_file" : 'X\(//\)$' \| \
15858
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15859
 
$as_echo X"$ac_file" |
15860
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15861
 
            s//\1/
15862
 
            q
15863
 
          }
15864
 
          /^X\(\/\/\)[^/].*/{
15865
 
            s//\1/
15866
 
            q
15867
 
          }
15868
 
          /^X\(\/\/\)$/{
15869
 
            s//\1/
15870
 
            q
15871
 
          }
15872
 
          /^X\(\/\).*/{
15873
 
            s//\1/
15874
 
            q
15875
 
          }
15876
 
          s/.*/./; q'`
15877
 
  as_dir="$ac_dir"; as_fn_mkdir_p
15878
 
  ac_builddir=.
15879
 
 
15880
 
case "$ac_dir" in
15881
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15882
 
*)
15883
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15884
 
  # A ".." for each directory in $ac_dir_suffix.
15885
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15886
 
  case $ac_top_builddir_sub in
15887
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15888
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15889
 
  esac ;;
15890
 
esac
15891
 
ac_abs_top_builddir=$ac_pwd
15892
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15893
 
# for backward compatibility:
15894
 
ac_top_builddir=$ac_top_build_prefix
15895
 
 
15896
 
case $srcdir in
15897
 
  .)  # We are building in place.
15898
 
    ac_srcdir=.
15899
 
    ac_top_srcdir=$ac_top_builddir_sub
15900
 
    ac_abs_top_srcdir=$ac_pwd ;;
15901
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
15902
 
    ac_srcdir=$srcdir$ac_dir_suffix;
15903
 
    ac_top_srcdir=$srcdir
15904
 
    ac_abs_top_srcdir=$srcdir ;;
15905
 
  *) # Relative name.
15906
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15907
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
15908
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15909
 
esac
15910
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15911
 
 
15912
 
 
15913
 
  case $ac_mode in
15914
 
  :F)
15915
 
  #
15916
 
  # CONFIG_FILE
15917
 
  #
15918
 
 
15919
 
  case $INSTALL in
15920
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15921
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15922
 
  esac
15923
 
  ac_MKDIR_P=$MKDIR_P
15924
 
  case $MKDIR_P in
15925
 
  [\\/$]* | ?:[\\/]* ) ;;
15926
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15927
 
  esac
15928
 
_ACEOF
15929
 
 
15930
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15931
 
# If the template does not know about datarootdir, expand it.
15932
 
# FIXME: This hack should be removed a few years after 2.60.
15933
 
ac_datarootdir_hack=; ac_datarootdir_seen=
15934
 
ac_sed_dataroot='
15935
 
/datarootdir/ {
15936
 
  p
15937
 
  q
15938
 
}
15939
 
/@datadir@/p
15940
 
/@docdir@/p
15941
 
/@infodir@/p
15942
 
/@localedir@/p
15943
 
/@mandir@/p'
15944
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15945
 
*datarootdir*) ac_datarootdir_seen=yes;;
15946
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15947
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15948
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15949
 
_ACEOF
15950
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951
 
  ac_datarootdir_hack='
15952
 
  s&@datadir@&$datadir&g
15953
 
  s&@docdir@&$docdir&g
15954
 
  s&@infodir@&$infodir&g
15955
 
  s&@localedir@&$localedir&g
15956
 
  s&@mandir@&$mandir&g
15957
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
15958
 
esac
15959
 
_ACEOF
15960
 
 
15961
 
# Neutralize VPATH when `$srcdir' = `.'.
15962
 
# Shell code in configure.ac might set extrasub.
15963
 
# FIXME: do we really want to maintain this feature?
15964
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15965
 
ac_sed_extra="$ac_vpsub
15966
 
$extrasub
15967
 
_ACEOF
15968
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15969
 
:t
15970
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15971
 
s|@configure_input@|$ac_sed_conf_input|;t t
15972
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
15973
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15974
 
s&@srcdir@&$ac_srcdir&;t t
15975
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15976
 
s&@top_srcdir@&$ac_top_srcdir&;t t
15977
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15978
 
s&@builddir@&$ac_builddir&;t t
15979
 
s&@abs_builddir@&$ac_abs_builddir&;t t
15980
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15981
 
s&@INSTALL@&$ac_INSTALL&;t t
15982
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15983
 
$ac_datarootdir_hack
15984
 
"
15985
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15986
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15987
 
 
15988
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15989
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15990
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15991
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15992
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15993
 
which seems to be undefined.  Please make sure it is defined" >&5
15994
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15995
 
which seems to be undefined.  Please make sure it is defined" >&2;}
15996
 
 
15997
 
  rm -f "$ac_tmp/stdin"
15998
 
  case $ac_file in
15999
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16000
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16001
 
  esac \
16002
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16003
 
 ;;
16004
 
  :H)
16005
 
  #
16006
 
  # CONFIG_HEADER
16007
 
  #
16008
 
  if test x"$ac_file" != x-; then
16009
 
    {
16010
 
      $as_echo "/* $configure_input  */" \
16011
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16012
 
    } >"$ac_tmp/config.h" \
16013
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16014
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16015
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16016
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16017
 
    else
16018
 
      rm -f "$ac_file"
16019
 
      mv "$ac_tmp/config.h" "$ac_file" \
16020
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16021
 
    fi
16022
 
  else
16023
 
    $as_echo "/* $configure_input  */" \
16024
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16025
 
      || as_fn_error $? "could not create -" "$LINENO" 5
16026
 
  fi
16027
 
# Compute "$ac_file"'s index in $config_headers.
16028
 
_am_arg="$ac_file"
16029
 
_am_stamp_count=1
16030
 
for _am_header in $config_headers :; do
16031
 
  case $_am_header in
16032
 
    $_am_arg | $_am_arg:* )
16033
 
      break ;;
16034
 
    * )
16035
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16036
 
  esac
16037
 
done
16038
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16039
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16040
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
16041
 
         X"$_am_arg" : 'X\(//\)$' \| \
16042
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16043
 
$as_echo X"$_am_arg" |
16044
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16045
 
            s//\1/
16046
 
            q
16047
 
          }
16048
 
          /^X\(\/\/\)[^/].*/{
16049
 
            s//\1/
16050
 
            q
16051
 
          }
16052
 
          /^X\(\/\/\)$/{
16053
 
            s//\1/
16054
 
            q
16055
 
          }
16056
 
          /^X\(\/\).*/{
16057
 
            s//\1/
16058
 
            q
16059
 
          }
16060
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
16061
 
 ;;
16062
 
 
16063
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16064
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
16065
 
 ;;
16066
 
  esac
16067
 
 
16068
 
 
16069
 
  case $ac_file$ac_mode in
16070
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16071
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16072
 
  # are listed without --file.  Let's play safe and only enable the eval
16073
 
  # if we detect the quoting.
16074
 
  case $CONFIG_FILES in
16075
 
  *\'*) eval set x "$CONFIG_FILES" ;;
16076
 
  *)   set x $CONFIG_FILES ;;
16077
 
  esac
16078
 
  shift
16079
 
  for mf
16080
 
  do
16081
 
    # Strip MF so we end up with the name of the file.
16082
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
16083
 
    # Check whether this is an Automake generated Makefile or not.
16084
 
    # We used to match only the files named `Makefile.in', but
16085
 
    # some people rename them; so instead we look at the file content.
16086
 
    # Grep'ing the first line is not enough: some people post-process
16087
 
    # each Makefile.in and add a new line on top of each file to say so.
16088
 
    # Grep'ing the whole file is not good either: AIX grep has a line
16089
 
    # limit of 2048, but all sed's we know have understand at least 4000.
16090
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16091
 
      dirpart=`$as_dirname -- "$mf" ||
16092
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16093
 
         X"$mf" : 'X\(//\)[^/]' \| \
16094
 
         X"$mf" : 'X\(//\)$' \| \
16095
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16096
 
$as_echo X"$mf" |
16097
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16098
 
            s//\1/
16099
 
            q
16100
 
          }
16101
 
          /^X\(\/\/\)[^/].*/{
16102
 
            s//\1/
16103
 
            q
16104
 
          }
16105
 
          /^X\(\/\/\)$/{
16106
 
            s//\1/
16107
 
            q
16108
 
          }
16109
 
          /^X\(\/\).*/{
16110
 
            s//\1/
16111
 
            q
16112
 
          }
16113
 
          s/.*/./; q'`
16114
 
    else
16115
 
      continue
16116
 
    fi
16117
 
    # Extract the definition of DEPDIR, am__include, and am__quote
16118
 
    # from the Makefile without running `make'.
16119
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16120
 
    test -z "$DEPDIR" && continue
16121
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16122
 
    test -z "am__include" && continue
16123
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16124
 
    # When using ansi2knr, U may be empty or an underscore; expand it
16125
 
    U=`sed -n 's/^U = //p' < "$mf"`
16126
 
    # Find all dependency output files, they are included files with
16127
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16128
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
16129
 
    # expansion.
16130
 
    for file in `sed -n "
16131
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16132
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16133
 
      # Make sure the directory exists.
16134
 
      test -f "$dirpart/$file" && continue
16135
 
      fdir=`$as_dirname -- "$file" ||
16136
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16137
 
         X"$file" : 'X\(//\)[^/]' \| \
16138
 
         X"$file" : 'X\(//\)$' \| \
16139
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16140
 
$as_echo X"$file" |
16141
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16142
 
            s//\1/
16143
 
            q
16144
 
          }
16145
 
          /^X\(\/\/\)[^/].*/{
16146
 
            s//\1/
16147
 
            q
16148
 
          }
16149
 
          /^X\(\/\/\)$/{
16150
 
            s//\1/
16151
 
            q
16152
 
          }
16153
 
          /^X\(\/\).*/{
16154
 
            s//\1/
16155
 
            q
16156
 
          }
16157
 
          s/.*/./; q'`
16158
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16159
 
      # echo "creating $dirpart/$file"
16160
 
      echo '# dummy' > "$dirpart/$file"
16161
 
    done
16162
 
  done
16163
 
}
16164
 
 ;;
16165
 
    "libtool":C)
16166
 
 
16167
 
    # See if we are running on zsh, and set the options which allow our
16168
 
    # commands through without removal of \ escapes.
16169
 
    if test -n "${ZSH_VERSION+set}" ; then
16170
 
      setopt NO_GLOB_SUBST
16171
 
    fi
16172
 
 
16173
 
    cfgfile="${ofile}T"
16174
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16175
 
    $RM "$cfgfile"
16176
 
 
16177
 
    cat <<_LT_EOF >> "$cfgfile"
16178
 
#! $SHELL
16179
 
 
16180
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16181
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16182
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16183
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16184
 
#
16185
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16186
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16187
 
#                 Inc.
16188
 
#   Written by Gordon Matzigkeit, 1996
16189
 
#
16190
 
#   This file is part of GNU Libtool.
16191
 
#
16192
 
# GNU Libtool is free software; you can redistribute it and/or
16193
 
# modify it under the terms of the GNU General Public License as
16194
 
# published by the Free Software Foundation; either version 2 of
16195
 
# the License, or (at your option) any later version.
16196
 
#
16197
 
# As a special exception to the GNU General Public License,
16198
 
# if you distribute this file as part of a program or library that
16199
 
# is built using GNU Libtool, you may include this file under the
16200
 
# same distribution terms that you use for the rest of that program.
16201
 
#
16202
 
# GNU Libtool is distributed in the hope that it will be useful,
16203
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16204
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16205
 
# GNU General Public License for more details.
16206
 
#
16207
 
# You should have received a copy of the GNU General Public License
16208
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
16209
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16210
 
# obtained by writing to the Free Software Foundation, Inc.,
16211
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16212
 
 
16213
 
 
16214
 
# The names of the tagged configurations supported by this script.
16215
 
available_tags=""
16216
 
 
16217
 
# ### BEGIN LIBTOOL CONFIG
16218
 
 
16219
 
# Which release of libtool.m4 was used?
16220
 
macro_version=$macro_version
16221
 
macro_revision=$macro_revision
16222
 
 
16223
 
# Whether or not to build shared libraries.
16224
 
build_libtool_libs=$enable_shared
16225
 
 
16226
 
# Whether or not to build static libraries.
16227
 
build_old_libs=$enable_static
16228
 
 
16229
 
# What type of objects to build.
16230
 
pic_mode=$pic_mode
16231
 
 
16232
 
# Whether or not to optimize for fast installation.
16233
 
fast_install=$enable_fast_install
16234
 
 
16235
 
# Shell to use when invoking shell scripts.
16236
 
SHELL=$lt_SHELL
16237
 
 
16238
 
# An echo program that protects backslashes.
16239
 
ECHO=$lt_ECHO
16240
 
 
16241
 
# The host system.
16242
 
host_alias=$host_alias
16243
 
host=$host
16244
 
host_os=$host_os
16245
 
 
16246
 
# The build system.
16247
 
build_alias=$build_alias
16248
 
build=$build
16249
 
build_os=$build_os
16250
 
 
16251
 
# A sed program that does not truncate output.
16252
 
SED=$lt_SED
16253
 
 
16254
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16255
 
Xsed="\$SED -e 1s/^X//"
16256
 
 
16257
 
# A grep program that handles long lines.
16258
 
GREP=$lt_GREP
16259
 
 
16260
 
# An ERE matcher.
16261
 
EGREP=$lt_EGREP
16262
 
 
16263
 
# A literal string matcher.
16264
 
FGREP=$lt_FGREP
16265
 
 
16266
 
# A BSD- or MS-compatible name lister.
16267
 
NM=$lt_NM
16268
 
 
16269
 
# Whether we need soft or hard links.
16270
 
LN_S=$lt_LN_S
16271
 
 
16272
 
# What is the maximum length of a command?
16273
 
max_cmd_len=$max_cmd_len
16274
 
 
16275
 
# Object file suffix (normally "o").
16276
 
objext=$ac_objext
16277
 
 
16278
 
# Executable file suffix (normally "").
16279
 
exeext=$exeext
16280
 
 
16281
 
# whether the shell understands "unset".
16282
 
lt_unset=$lt_unset
16283
 
 
16284
 
# turn spaces into newlines.
16285
 
SP2NL=$lt_lt_SP2NL
16286
 
 
16287
 
# turn newlines into spaces.
16288
 
NL2SP=$lt_lt_NL2SP
16289
 
 
16290
 
# convert \$build file names to \$host format.
16291
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
16292
 
 
16293
 
# convert \$build files to toolchain format.
16294
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16295
 
 
16296
 
# An object symbol dumper.
16297
 
OBJDUMP=$lt_OBJDUMP
16298
 
 
16299
 
# Method to check whether dependent libraries are shared objects.
16300
 
deplibs_check_method=$lt_deplibs_check_method
16301
 
 
16302
 
# Command to use when deplibs_check_method = "file_magic".
16303
 
file_magic_cmd=$lt_file_magic_cmd
16304
 
 
16305
 
# How to find potential files when deplibs_check_method = "file_magic".
16306
 
file_magic_glob=$lt_file_magic_glob
16307
 
 
16308
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16309
 
want_nocaseglob=$lt_want_nocaseglob
16310
 
 
16311
 
# DLL creation program.
16312
 
DLLTOOL=$lt_DLLTOOL
16313
 
 
16314
 
# Command to associate shared and link libraries.
16315
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16316
 
 
16317
 
# The archiver.
16318
 
AR=$lt_AR
16319
 
 
16320
 
# Flags to create an archive.
16321
 
AR_FLAGS=$lt_AR_FLAGS
16322
 
 
16323
 
# How to feed a file listing to the archiver.
16324
 
archiver_list_spec=$lt_archiver_list_spec
16325
 
 
16326
 
# A symbol stripping program.
16327
 
STRIP=$lt_STRIP
16328
 
 
16329
 
# Commands used to install an old-style archive.
16330
 
RANLIB=$lt_RANLIB
16331
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16332
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16333
 
 
16334
 
# Whether to use a lock for old archive extraction.
16335
 
lock_old_archive_extraction=$lock_old_archive_extraction
16336
 
 
16337
 
# A C compiler.
16338
 
LTCC=$lt_CC
16339
 
 
16340
 
# LTCC compiler flags.
16341
 
LTCFLAGS=$lt_CFLAGS
16342
 
 
16343
 
# Take the output of nm and produce a listing of raw symbols and C names.
16344
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16345
 
 
16346
 
# Transform the output of nm in a proper C declaration.
16347
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16348
 
 
16349
 
# Transform the output of nm in a C name address pair.
16350
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16351
 
 
16352
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
16353
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16354
 
 
16355
 
# Specify filename containing input files for \$NM.
16356
 
nm_file_list_spec=$lt_nm_file_list_spec
16357
 
 
16358
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
16359
 
lt_sysroot=$lt_sysroot
16360
 
 
16361
 
# The name of the directory that contains temporary libtool files.
16362
 
objdir=$objdir
16363
 
 
16364
 
# Used to examine libraries when file_magic_cmd begins with "file".
16365
 
MAGIC_CMD=$MAGIC_CMD
16366
 
 
16367
 
# Must we lock files when doing compilation?
16368
 
need_locks=$lt_need_locks
16369
 
 
16370
 
# Manifest tool.
16371
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
16372
 
 
16373
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16374
 
DSYMUTIL=$lt_DSYMUTIL
16375
 
 
16376
 
# Tool to change global to local symbols on Mac OS X.
16377
 
NMEDIT=$lt_NMEDIT
16378
 
 
16379
 
# Tool to manipulate fat objects and archives on Mac OS X.
16380
 
LIPO=$lt_LIPO
16381
 
 
16382
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16383
 
OTOOL=$lt_OTOOL
16384
 
 
16385
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16386
 
OTOOL64=$lt_OTOOL64
16387
 
 
16388
 
# Old archive suffix (normally "a").
16389
 
libext=$libext
16390
 
 
16391
 
# Shared library suffix (normally ".so").
16392
 
shrext_cmds=$lt_shrext_cmds
16393
 
 
16394
 
# The commands to extract the exported symbol list from a shared archive.
16395
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16396
 
 
16397
 
# Variables whose values should be saved in libtool wrapper scripts and
16398
 
# restored at link time.
16399
 
variables_saved_for_relink=$lt_variables_saved_for_relink
16400
 
 
16401
 
# Do we need the "lib" prefix for modules?
16402
 
need_lib_prefix=$need_lib_prefix
16403
 
 
16404
 
# Do we need a version for libraries?
16405
 
need_version=$need_version
16406
 
 
16407
 
# Library versioning type.
16408
 
version_type=$version_type
16409
 
 
16410
 
# Shared library runtime path variable.
16411
 
runpath_var=$runpath_var
16412
 
 
16413
 
# Shared library path variable.
16414
 
shlibpath_var=$shlibpath_var
16415
 
 
16416
 
# Is shlibpath searched before the hard-coded library search path?
16417
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16418
 
 
16419
 
# Format of library name prefix.
16420
 
libname_spec=$lt_libname_spec
16421
 
 
16422
 
# List of archive names.  First name is the real one, the rest are links.
16423
 
# The last name is the one that the linker finds with -lNAME
16424
 
library_names_spec=$lt_library_names_spec
16425
 
 
16426
 
# The coded name of the library, if different from the real name.
16427
 
soname_spec=$lt_soname_spec
16428
 
 
16429
 
# Permission mode override for installation of shared libraries.
16430
 
install_override_mode=$lt_install_override_mode
16431
 
 
16432
 
# Command to use after installation of a shared archive.
16433
 
postinstall_cmds=$lt_postinstall_cmds
16434
 
 
16435
 
# Command to use after uninstallation of a shared archive.
16436
 
postuninstall_cmds=$lt_postuninstall_cmds
16437
 
 
16438
 
# Commands used to finish a libtool library installation in a directory.
16439
 
finish_cmds=$lt_finish_cmds
16440
 
 
16441
 
# As "finish_cmds", except a single script fragment to be evaled but
16442
 
# not shown.
16443
 
finish_eval=$lt_finish_eval
16444
 
 
16445
 
# Whether we should hardcode library paths into libraries.
16446
 
hardcode_into_libs=$hardcode_into_libs
16447
 
 
16448
 
# Compile-time system search path for libraries.
16449
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16450
 
 
16451
 
# Run-time system search path for libraries.
16452
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16453
 
 
16454
 
# Whether dlopen is supported.
16455
 
dlopen_support=$enable_dlopen
16456
 
 
16457
 
# Whether dlopen of programs is supported.
16458
 
dlopen_self=$enable_dlopen_self
16459
 
 
16460
 
# Whether dlopen of statically linked programs is supported.
16461
 
dlopen_self_static=$enable_dlopen_self_static
16462
 
 
16463
 
# Commands to strip libraries.
16464
 
old_striplib=$lt_old_striplib
16465
 
striplib=$lt_striplib
16466
 
 
16467
 
 
16468
 
# The linker used to build libraries.
16469
 
LD=$lt_LD
16470
 
 
16471
 
# How to create reloadable object files.
16472
 
reload_flag=$lt_reload_flag
16473
 
reload_cmds=$lt_reload_cmds
16474
 
 
16475
 
# Commands used to build an old-style archive.
16476
 
old_archive_cmds=$lt_old_archive_cmds
16477
 
 
16478
 
# A language specific compiler.
16479
 
CC=$lt_compiler
16480
 
 
16481
 
# Is the compiler the GNU compiler?
16482
 
with_gcc=$GCC
16483
 
 
16484
 
# Compiler flag to turn off builtin functions.
16485
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16486
 
 
16487
 
# Additional compiler flags for building library objects.
16488
 
pic_flag=$lt_lt_prog_compiler_pic
16489
 
 
16490
 
# How to pass a linker flag through the compiler.
16491
 
wl=$lt_lt_prog_compiler_wl
16492
 
 
16493
 
# Compiler flag to prevent dynamic linking.
16494
 
link_static_flag=$lt_lt_prog_compiler_static
16495
 
 
16496
 
# Does compiler simultaneously support -c and -o options?
16497
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16498
 
 
16499
 
# Whether or not to add -lc for building shared libraries.
16500
 
build_libtool_need_lc=$archive_cmds_need_lc
16501
 
 
16502
 
# Whether or not to disallow shared libs when runtime libs are static.
16503
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16504
 
 
16505
 
# Compiler flag to allow reflexive dlopens.
16506
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16507
 
 
16508
 
# Compiler flag to generate shared objects directly from archives.
16509
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
16510
 
 
16511
 
# Whether the compiler copes with passing no objects directly.
16512
 
compiler_needs_object=$lt_compiler_needs_object
16513
 
 
16514
 
# Create an old-style archive from a shared archive.
16515
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16516
 
 
16517
 
# Create a temporary old-style archive to link instead of a shared archive.
16518
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16519
 
 
16520
 
# Commands used to build a shared archive.
16521
 
archive_cmds=$lt_archive_cmds
16522
 
archive_expsym_cmds=$lt_archive_expsym_cmds
16523
 
 
16524
 
# Commands used to build a loadable module if different from building
16525
 
# a shared archive.
16526
 
module_cmds=$lt_module_cmds
16527
 
module_expsym_cmds=$lt_module_expsym_cmds
16528
 
 
16529
 
# Whether we are building with GNU ld or not.
16530
 
with_gnu_ld=$lt_with_gnu_ld
16531
 
 
16532
 
# Flag that allows shared libraries with undefined symbols to be built.
16533
 
allow_undefined_flag=$lt_allow_undefined_flag
16534
 
 
16535
 
# Flag that enforces no undefined symbols.
16536
 
no_undefined_flag=$lt_no_undefined_flag
16537
 
 
16538
 
# Flag to hardcode \$libdir into a binary during linking.
16539
 
# This must work even if \$libdir does not exist
16540
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16541
 
 
16542
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
16543
 
# during linking.  This must work even if \$libdir does not exist.
16544
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16545
 
 
16546
 
# Whether we need a single "-rpath" flag with a separated argument.
16547
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16548
 
 
16549
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16550
 
# DIR into the resulting binary.
16551
 
hardcode_direct=$hardcode_direct
16552
 
 
16553
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16554
 
# DIR into the resulting binary and the resulting library dependency is
16555
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16556
 
# library is relocated.
16557
 
hardcode_direct_absolute=$hardcode_direct_absolute
16558
 
 
16559
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16560
 
# into the resulting binary.
16561
 
hardcode_minus_L=$hardcode_minus_L
16562
 
 
16563
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16564
 
# into the resulting binary.
16565
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
16566
 
 
16567
 
# Set to "yes" if building a shared library automatically hardcodes DIR
16568
 
# into the library and all subsequent libraries and executables linked
16569
 
# against it.
16570
 
hardcode_automatic=$hardcode_automatic
16571
 
 
16572
 
# Set to yes if linker adds runtime paths of dependent libraries
16573
 
# to runtime path list.
16574
 
inherit_rpath=$inherit_rpath
16575
 
 
16576
 
# Whether libtool must link a program against all its dependency libraries.
16577
 
link_all_deplibs=$link_all_deplibs
16578
 
 
16579
 
# Set to "yes" if exported symbols are required.
16580
 
always_export_symbols=$always_export_symbols
16581
 
 
16582
 
# The commands to list exported symbols.
16583
 
export_symbols_cmds=$lt_export_symbols_cmds
16584
 
 
16585
 
# Symbols that should not be listed in the preloaded symbols.
16586
 
exclude_expsyms=$lt_exclude_expsyms
16587
 
 
16588
 
# Symbols that must always be exported.
16589
 
include_expsyms=$lt_include_expsyms
16590
 
 
16591
 
# Commands necessary for linking programs (against libraries) with templates.
16592
 
prelink_cmds=$lt_prelink_cmds
16593
 
 
16594
 
# Commands necessary for finishing linking programs.
16595
 
postlink_cmds=$lt_postlink_cmds
16596
 
 
16597
 
# Specify filename containing input files.
16598
 
file_list_spec=$lt_file_list_spec
16599
 
 
16600
 
# How to hardcode a shared library path into an executable.
16601
 
hardcode_action=$hardcode_action
16602
 
 
16603
 
# ### END LIBTOOL CONFIG
16604
 
 
16605
 
_LT_EOF
16606
 
 
16607
 
  case $host_os in
16608
 
  aix3*)
16609
 
    cat <<\_LT_EOF >> "$cfgfile"
16610
 
# AIX sometimes has problems with the GCC collect2 program.  For some
16611
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
16612
 
# vanish in a puff of smoke.
16613
 
if test "X${COLLECT_NAMES+set}" != Xset; then
16614
 
  COLLECT_NAMES=
16615
 
  export COLLECT_NAMES
16616
 
fi
16617
 
_LT_EOF
16618
 
    ;;
16619
 
  esac
16620
 
 
16621
 
 
16622
 
ltmain="$ac_aux_dir/ltmain.sh"
16623
 
 
16624
 
 
16625
 
  # We use sed instead of cat because bash on DJGPP gets confused if
16626
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16627
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
16628
 
  # is reportedly fixed, but why not run on old versions too?
16629
 
  sed '$q' "$ltmain" >> "$cfgfile" \
16630
 
     || (rm -f "$cfgfile"; exit 1)
16631
 
 
16632
 
  if test x"$xsi_shell" = xyes; then
16633
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16634
 
func_dirname ()\
16635
 
{\
16636
 
\    case ${1} in\
16637
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
16638
 
\      *  ) func_dirname_result="${3}" ;;\
16639
 
\    esac\
16640
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16641
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16642
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16643
 
test 0 -eq $? || _lt_function_replace_fail=:
16644
 
 
16645
 
 
16646
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16647
 
func_basename ()\
16648
 
{\
16649
 
\    func_basename_result="${1##*/}"\
16650
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16651
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16652
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16653
 
test 0 -eq $? || _lt_function_replace_fail=:
16654
 
 
16655
 
 
16656
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16657
 
func_dirname_and_basename ()\
16658
 
{\
16659
 
\    case ${1} in\
16660
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
16661
 
\      *  ) func_dirname_result="${3}" ;;\
16662
 
\    esac\
16663
 
\    func_basename_result="${1##*/}"\
16664
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16665
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16666
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16667
 
test 0 -eq $? || _lt_function_replace_fail=:
16668
 
 
16669
 
 
16670
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16671
 
func_stripname ()\
16672
 
{\
16673
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16674
 
\    # positional parameters, so assign one to ordinary parameter first.\
16675
 
\    func_stripname_result=${3}\
16676
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
16677
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
16678
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16679
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16680
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16681
 
test 0 -eq $? || _lt_function_replace_fail=:
16682
 
 
16683
 
 
16684
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16685
 
func_split_long_opt ()\
16686
 
{\
16687
 
\    func_split_long_opt_name=${1%%=*}\
16688
 
\    func_split_long_opt_arg=${1#*=}\
16689
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16690
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16691
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16692
 
test 0 -eq $? || _lt_function_replace_fail=:
16693
 
 
16694
 
 
16695
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16696
 
func_split_short_opt ()\
16697
 
{\
16698
 
\    func_split_short_opt_arg=${1#??}\
16699
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16700
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16701
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16702
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16703
 
test 0 -eq $? || _lt_function_replace_fail=:
16704
 
 
16705
 
 
16706
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16707
 
func_lo2o ()\
16708
 
{\
16709
 
\    case ${1} in\
16710
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16711
 
\      *)    func_lo2o_result=${1} ;;\
16712
 
\    esac\
16713
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16714
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16715
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16716
 
test 0 -eq $? || _lt_function_replace_fail=:
16717
 
 
16718
 
 
16719
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16720
 
func_xform ()\
16721
 
{\
16722
 
    func_xform_result=${1%.*}.lo\
16723
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16724
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16725
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16726
 
test 0 -eq $? || _lt_function_replace_fail=:
16727
 
 
16728
 
 
16729
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16730
 
func_arith ()\
16731
 
{\
16732
 
    func_arith_result=$(( $* ))\
16733
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16734
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16735
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16736
 
test 0 -eq $? || _lt_function_replace_fail=:
16737
 
 
16738
 
 
16739
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
16740
 
func_len ()\
16741
 
{\
16742
 
    func_len_result=${#1}\
16743
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16744
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16745
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16746
 
test 0 -eq $? || _lt_function_replace_fail=:
16747
 
 
16748
 
fi
16749
 
 
16750
 
if test x"$lt_shell_append" = xyes; then
16751
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
16752
 
func_append ()\
16753
 
{\
16754
 
    eval "${1}+=\\${2}"\
16755
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16756
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16757
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16758
 
test 0 -eq $? || _lt_function_replace_fail=:
16759
 
 
16760
 
 
16761
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16762
 
func_append_quoted ()\
16763
 
{\
16764
 
\    func_quote_for_eval "${2}"\
16765
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16766
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16767
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
16768
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16769
 
test 0 -eq $? || _lt_function_replace_fail=:
16770
 
 
16771
 
 
16772
 
  # Save a `func_append' function call where possible by direct use of '+='
16773
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16774
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
16775
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16776
 
  test 0 -eq $? || _lt_function_replace_fail=:
16777
 
else
16778
 
  # Save a `func_append' function call even when '+=' is not available
16779
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16780
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
16781
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16782
 
  test 0 -eq $? || _lt_function_replace_fail=:
16783
 
fi
16784
 
 
16785
 
if test x"$_lt_function_replace_fail" = x":"; then
16786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16787
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16788
 
fi
16789
 
 
16790
 
 
16791
 
   mv -f "$cfgfile" "$ofile" ||
16792
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16793
 
  chmod +x "$ofile"
16794
 
 
16795
 
 ;;
16796
 
    "po/stamp-it":C)
16797
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16798
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16799
 
    fi
16800
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16801
 
    >"po/stamp-it.tmp"
16802
 
    sed '/^#/d
16803
 
         s/^[[].*] *//
16804
 
         /^[    ]*$/d
16805
 
        '"s|^|  $ac_top_srcdir/|" \
16806
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16807
 
 
16808
 
    sed '/^POTFILES =/,/[^\\]$/ {
16809
 
                /^POTFILES =/!d
16810
 
                r po/POTFILES
16811
 
          }
16812
 
         ' "po/Makefile.in" >"po/Makefile"
16813
 
    rm -f "po/Makefile.tmp"
16814
 
    mv "po/stamp-it.tmp" "po/stamp-it"
16815
 
   ;;
16816
 
 
16817
 
  esac
16818
 
done # for ac_tag
16819
 
 
16820
 
 
16821
 
as_fn_exit 0
16822
 
_ACEOF
16823
 
ac_clean_files=$ac_clean_files_save
16824
 
 
16825
 
test $ac_write_fail = 0 ||
16826
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16827
 
 
16828
 
 
16829
 
# configure is writing to config.log, and then calls config.status.
16830
 
# config.status does its own redirection, appending to config.log.
16831
 
# Unfortunately, on DOS this fails, as config.log is still kept open
16832
 
# by configure, so config.status won't be able to write to it; its
16833
 
# output is simply discarded.  So we exec the FD to /dev/null,
16834
 
# effectively closing config.log, so it can be properly (re)opened and
16835
 
# appended to by config.status.  When coming back to configure, we
16836
 
# need to make the FD available again.
16837
 
if test "$no_create" != yes; then
16838
 
  ac_cs_success=:
16839
 
  ac_config_status_args=
16840
 
  test "$silent" = yes &&
16841
 
    ac_config_status_args="$ac_config_status_args --quiet"
16842
 
  exec 5>/dev/null
16843
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16844
 
  exec 5>>config.log
16845
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16846
 
  # would make configure fail if this is the last instruction.
16847
 
  $ac_cs_success || as_fn_exit 1
16848
 
fi
16849
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16851
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16852
 
fi
16853
 
 
16854
 
 
16855
 
#**************************************************************************