~ubuntu-branches/ubuntu/saucy/unity-place-files/saucy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-03-07 19:07:53 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20110307190753-fvaoj18uihxcf3i8
Tags: 0.5.40-0ubuntu1
* New upstream release.
  - dash search does not find names with '-' (d-feet, e-mail) (LP: #729025)
  - English printf string hard to translate (LP: #641480)
* debian/control:
  - bump libunity and dee dep

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.67 for unity-place-files 0.5.38.
4
 
#
5
 
# Report bugs to <https://launchpad.net/unity-place-files>.
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
 
# Copyright 2010 Canonical
17
 
## -------------------- ##
18
 
## M4sh Initialization. ##
19
 
## -------------------- ##
20
 
 
21
 
# Be more Bourne compatible
22
 
DUALCASE=1; export DUALCASE # for MKS sh
23
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
 
  emulate sh
25
 
  NULLCMD=:
26
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27
 
  # is contrary to our usage.  Disable this feature.
28
 
  alias -g '${1+"$@"}'='"$@"'
29
 
  setopt NO_GLOB_SUBST
30
 
else
31
 
  case `(set -o) 2>/dev/null` in #(
32
 
  *posix*) :
33
 
    set -o posix ;; #(
34
 
  *) :
35
 
     ;;
36
 
esac
37
 
fi
38
 
 
39
 
 
40
 
as_nl='
41
 
'
42
 
export as_nl
43
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
48
 
# but without wasting forks for bash or zsh.
49
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
50
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51
 
  as_echo='print -r --'
52
 
  as_echo_n='print -rn --'
53
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54
 
  as_echo='printf %s\n'
55
 
  as_echo_n='printf %s'
56
 
else
57
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59
 
    as_echo_n='/usr/ucb/echo -n'
60
 
  else
61
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
 
    as_echo_n_body='eval
63
 
      arg=$1;
64
 
      case $arg in #(
65
 
      *"$as_nl"*)
66
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
67
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68
 
      esac;
69
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
 
    '
71
 
    export as_echo_n_body
72
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
73
 
  fi
74
 
  export as_echo_body
75
 
  as_echo='sh -c $as_echo_body as_echo'
76
 
fi
77
 
 
78
 
# The user is always right.
79
 
if test "${PATH_SEPARATOR+set}" != set; then
80
 
  PATH_SEPARATOR=:
81
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
 
      PATH_SEPARATOR=';'
84
 
  }
85
 
fi
86
 
 
87
 
 
88
 
# IFS
89
 
# We need space, tab and new line, in precisely that order.  Quoting is
90
 
# there to prevent editors from complaining about space-tab.
91
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92
 
# splitting by setting IFS to empty value.)
93
 
IFS=" ""        $as_nl"
94
 
 
95
 
# Find who we are.  Look in the path if we contain no directory separator.
96
 
case $0 in #((
97
 
  *[\\/]* ) as_myself=$0 ;;
98
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
 
for as_dir in $PATH
100
 
do
101
 
  IFS=$as_save_IFS
102
 
  test -z "$as_dir" && as_dir=.
103
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104
 
  done
105
 
IFS=$as_save_IFS
106
 
 
107
 
     ;;
108
 
esac
109
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
110
 
# in which case we are not to be found in the path.
111
 
if test "x$as_myself" = x; then
112
 
  as_myself=$0
113
 
fi
114
 
if test ! -f "$as_myself"; then
115
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
 
  exit 1
117
 
fi
118
 
 
119
 
# Unset variables that we do not need and which cause bugs (e.g. in
120
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
121
 
# suppresses any "Segmentation fault" message there.  '((' could
122
 
# trigger a bug in pdksh 5.2.14.
123
 
for as_var in BASH_ENV ENV MAIL MAILPATH
124
 
do eval test x\${$as_var+set} = xset \
125
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126
 
done
127
 
PS1='$ '
128
 
PS2='> '
129
 
PS4='+ '
130
 
 
131
 
# NLS nuisances.
132
 
LC_ALL=C
133
 
export LC_ALL
134
 
LANGUAGE=C
135
 
export LANGUAGE
136
 
 
137
 
# CDPATH.
138
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
 
 
140
 
if test "x$CONFIG_SHELL" = x; then
141
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
 
  emulate sh
143
 
  NULLCMD=:
144
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145
 
  # is contrary to our usage.  Disable this feature.
146
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
 
  setopt NO_GLOB_SUBST
148
 
else
149
 
  case \`(set -o) 2>/dev/null\` in #(
150
 
  *posix*) :
151
 
    set -o posix ;; #(
152
 
  *) :
153
 
     ;;
154
 
esac
155
 
fi
156
 
"
157
 
  as_required="as_fn_return () { (exit \$1); }
158
 
as_fn_success () { as_fn_return 0; }
159
 
as_fn_failure () { as_fn_return 1; }
160
 
as_fn_ret_success () { return 0; }
161
 
as_fn_ret_failure () { return 1; }
162
 
 
163
 
exitcode=0
164
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
 
 
170
 
else
171
 
  exitcode=1; echo positional parameters were not saved.
172
 
fi
173
 
test x\$exitcode = x0 || exit 1"
174
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
 
test \$(( 1 + 1 )) = 2 || exit 1"
179
 
  if (eval "$as_required") 2>/dev/null; then :
180
 
  as_have_required=yes
181
 
else
182
 
  as_have_required=no
183
 
fi
184
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
 
 
186
 
else
187
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188
 
as_found=false
189
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
 
do
191
 
  IFS=$as_save_IFS
192
 
  test -z "$as_dir" && as_dir=.
193
 
  as_found=:
194
 
  case $as_dir in #(
195
 
         /*)
196
 
           for as_base in sh bash ksh sh5; do
197
 
             # Try only shells that exist, to save several forks.
198
 
             as_shell=$as_dir/$as_base
199
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
 
  CONFIG_SHELL=$as_shell as_have_required=yes
202
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203
 
  break 2
204
 
fi
205
 
fi
206
 
           done;;
207
 
       esac
208
 
  as_found=false
209
 
done
210
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212
 
  CONFIG_SHELL=$SHELL as_have_required=yes
213
 
fi; }
214
 
IFS=$as_save_IFS
215
 
 
216
 
 
217
 
      if test "x$CONFIG_SHELL" != x; then :
218
 
  # We cannot yet assume a decent shell, so we have to provide a
219
 
        # neutralization value for shells without unset; and this also
220
 
        # works around shells that cannot unset nonexistent variables.
221
 
        BASH_ENV=/dev/null
222
 
        ENV=/dev/null
223
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
 
        export CONFIG_SHELL
225
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
 
fi
227
 
 
228
 
    if test x$as_have_required = xno; then :
229
 
  $as_echo "$0: This script requires a shell more modern than all"
230
 
  $as_echo "$0: the shells that I found on your system."
231
 
  if test x${ZSH_VERSION+set} = xset ; then
232
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
233
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234
 
  else
235
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
236
 
$0: https://launchpad.net/unity-place-files about your
237
 
$0: system, including any error possibly output before this
238
 
$0: message. Then install a modern shell, or manually run
239
 
$0: the script under such a shell if you do have one."
240
 
  fi
241
 
  exit 1
242
 
fi
243
 
fi
244
 
fi
245
 
SHELL=${CONFIG_SHELL-/bin/sh}
246
 
export SHELL
247
 
# Unset more variables known to interfere with behavior of common tools.
248
 
CLICOLOR_FORCE= GREP_OPTIONS=
249
 
unset CLICOLOR_FORCE GREP_OPTIONS
250
 
 
251
 
## --------------------- ##
252
 
## M4sh Shell Functions. ##
253
 
## --------------------- ##
254
 
# as_fn_unset VAR
255
 
# ---------------
256
 
# Portably unset VAR.
257
 
as_fn_unset ()
258
 
{
259
 
  { eval $1=; unset $1;}
260
 
}
261
 
as_unset=as_fn_unset
262
 
 
263
 
# as_fn_set_status STATUS
264
 
# -----------------------
265
 
# Set $? to STATUS, without forking.
266
 
as_fn_set_status ()
267
 
{
268
 
  return $1
269
 
} # as_fn_set_status
270
 
 
271
 
# as_fn_exit STATUS
272
 
# -----------------
273
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
274
 
as_fn_exit ()
275
 
{
276
 
  set +e
277
 
  as_fn_set_status $1
278
 
  exit $1
279
 
} # as_fn_exit
280
 
 
281
 
# as_fn_mkdir_p
282
 
# -------------
283
 
# Create "$as_dir" as a directory, including parents if necessary.
284
 
as_fn_mkdir_p ()
285
 
{
286
 
 
287
 
  case $as_dir in #(
288
 
  -*) as_dir=./$as_dir;;
289
 
  esac
290
 
  test -d "$as_dir" || eval $as_mkdir_p || {
291
 
    as_dirs=
292
 
    while :; do
293
 
      case $as_dir in #(
294
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
 
      *) as_qdir=$as_dir;;
296
 
      esac
297
 
      as_dirs="'$as_qdir' $as_dirs"
298
 
      as_dir=`$as_dirname -- "$as_dir" ||
299
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
300
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
301
 
         X"$as_dir" : 'X\(//\)$' \| \
302
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
303
 
$as_echo X"$as_dir" |
304
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
305
 
            s//\1/
306
 
            q
307
 
          }
308
 
          /^X\(\/\/\)[^/].*/{
309
 
            s//\1/
310
 
            q
311
 
          }
312
 
          /^X\(\/\/\)$/{
313
 
            s//\1/
314
 
            q
315
 
          }
316
 
          /^X\(\/\).*/{
317
 
            s//\1/
318
 
            q
319
 
          }
320
 
          s/.*/./; q'`
321
 
      test -d "$as_dir" && break
322
 
    done
323
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
324
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325
 
 
326
 
 
327
 
} # as_fn_mkdir_p
328
 
# as_fn_append VAR VALUE
329
 
# ----------------------
330
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
331
 
# advantage of any shell optimizations that allow amortized linear growth over
332
 
# repeated appends, instead of the typical quadratic growth present in naive
333
 
# implementations.
334
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
335
 
  eval 'as_fn_append ()
336
 
  {
337
 
    eval $1+=\$2
338
 
  }'
339
 
else
340
 
  as_fn_append ()
341
 
  {
342
 
    eval $1=\$$1\$2
343
 
  }
344
 
fi # as_fn_append
345
 
 
346
 
# as_fn_arith ARG...
347
 
# ------------------
348
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
349
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
350
 
# must be portable across $(()) and expr.
351
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
 
  eval 'as_fn_arith ()
353
 
  {
354
 
    as_val=$(( $* ))
355
 
  }'
356
 
else
357
 
  as_fn_arith ()
358
 
  {
359
 
    as_val=`expr "$@" || test $? -eq 1`
360
 
  }
361
 
fi # as_fn_arith
362
 
 
363
 
 
364
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
365
 
# ----------------------------------------
366
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
367
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
368
 
# script with STATUS, using 1 if that was 0.
369
 
as_fn_error ()
370
 
{
371
 
  as_status=$1; test $as_status -eq 0 && as_status=1
372
 
  if test "$4"; then
373
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
374
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375
 
  fi
376
 
  $as_echo "$as_me: error: $2" >&2
377
 
  as_fn_exit $as_status
378
 
} # as_fn_error
379
 
 
380
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
381
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
 
  as_expr=expr
383
 
else
384
 
  as_expr=false
385
 
fi
386
 
 
387
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
 
  as_basename=basename
389
 
else
390
 
  as_basename=false
391
 
fi
392
 
 
393
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
 
  as_dirname=dirname
395
 
else
396
 
  as_dirname=false
397
 
fi
398
 
 
399
 
as_me=`$as_basename -- "$0" ||
400
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
401
 
         X"$0" : 'X\(//\)$' \| \
402
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
 
$as_echo X/"$0" |
404
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
405
 
            s//\1/
406
 
            q
407
 
          }
408
 
          /^X\/\(\/\/\)$/{
409
 
            s//\1/
410
 
            q
411
 
          }
412
 
          /^X\/\(\/\).*/{
413
 
            s//\1/
414
 
            q
415
 
          }
416
 
          s/.*/./; q'`
417
 
 
418
 
# Avoid depending upon Character Ranges.
419
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
420
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
421
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
422
 
as_cr_digits='0123456789'
423
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
 
 
425
 
 
426
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
427
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
428
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
429
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
430
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
431
 
  sed -n '
432
 
    p
433
 
    /[$]LINENO/=
434
 
  ' <$as_myself |
435
 
    sed '
436
 
      s/[$]LINENO.*/&-/
437
 
      t lineno
438
 
      b
439
 
      :lineno
440
 
      N
441
 
      :loop
442
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443
 
      t loop
444
 
      s/-\n.*//
445
 
    ' >$as_me.lineno &&
446
 
  chmod +x "$as_me.lineno" ||
447
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448
 
 
449
 
  # Don't try to exec as it changes $[0], causing all sort of problems
450
 
  # (the dirname of $[0] is not the place where we might find the
451
 
  # original and so on.  Autoconf is especially sensitive to this).
452
 
  . "./$as_me.lineno"
453
 
  # Exit status is that of the last command.
454
 
  exit
455
 
}
456
 
 
457
 
ECHO_C= ECHO_N= ECHO_T=
458
 
case `echo -n x` in #(((((
459
 
-n*)
460
 
  case `echo 'xy\c'` in
461
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
462
 
  xy)  ECHO_C='\c';;
463
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
464
 
       ECHO_T=' ';;
465
 
  esac;;
466
 
*)
467
 
  ECHO_N='-n';;
468
 
esac
469
 
 
470
 
rm -f conf$$ conf$$.exe conf$$.file
471
 
if test -d conf$$.dir; then
472
 
  rm -f conf$$.dir/conf$$.file
473
 
else
474
 
  rm -f conf$$.dir
475
 
  mkdir conf$$.dir 2>/dev/null
476
 
fi
477
 
if (echo >conf$$.file) 2>/dev/null; then
478
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
479
 
    as_ln_s='ln -s'
480
 
    # ... but there are two gotchas:
481
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
482
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
483
 
    # In both cases, we have to default to `cp -p'.
484
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485
 
      as_ln_s='cp -p'
486
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
487
 
    as_ln_s=ln
488
 
  else
489
 
    as_ln_s='cp -p'
490
 
  fi
491
 
else
492
 
  as_ln_s='cp -p'
493
 
fi
494
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
495
 
rmdir conf$$.dir 2>/dev/null
496
 
 
497
 
if mkdir -p . 2>/dev/null; then
498
 
  as_mkdir_p='mkdir -p "$as_dir"'
499
 
else
500
 
  test -d ./-p && rmdir ./-p
501
 
  as_mkdir_p=false
502
 
fi
503
 
 
504
 
if test -x / >/dev/null 2>&1; then
505
 
  as_test_x='test -x'
506
 
else
507
 
  if ls -dL / >/dev/null 2>&1; then
508
 
    as_ls_L_option=L
509
 
  else
510
 
    as_ls_L_option=
511
 
  fi
512
 
  as_test_x='
513
 
    eval sh -c '\''
514
 
      if test -d "$1"; then
515
 
        test -d "$1/.";
516
 
      else
517
 
        case $1 in #(
518
 
        -*)set "./$1";;
519
 
        esac;
520
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
521
 
        ???[sx]*):;;*)false;;esac;fi
522
 
    '\'' sh
523
 
  '
524
 
fi
525
 
as_executable_p=$as_test_x
526
 
 
527
 
# Sed expression to map a string onto a valid CPP name.
528
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529
 
 
530
 
# Sed expression to map a string onto a valid variable name.
531
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532
 
 
533
 
as_awk_strverscmp='
534
 
  # Use only awk features that work with 7th edition Unix awk (1978).
535
 
  # My, what an old awk you have, Mr. Solaris!
536
 
  END {
537
 
    while (length(v1) && length(v2)) {
538
 
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
539
 
      # Normally this is a single character, but if v1 and v2 contain digits,
540
 
      # compare them as integers and fractions as strverscmp does.
541
 
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
542
 
        # Split v1 and v2 into their leading digit string components d1 and d2,
543
 
        # and advance v1 and v2 past the leading digit strings.
544
 
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
545
 
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
546
 
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
547
 
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
548
 
        if (d1 ~ /^0/) {
549
 
          if (d2 ~ /^0/) {
550
 
            # Compare two fractions.
551
 
            while (d1 ~ /^0/ && d2 ~ /^0/) {
552
 
              d1 = substr(d1, 2); len1--
553
 
              d2 = substr(d2, 2); len2--
554
 
            }
555
 
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
556
 
              # The two components differ in length, and the common prefix
557
 
              # contains only leading zeros.  Consider the longer to be less.
558
 
              d1 = -len1
559
 
              d2 = -len2
560
 
            } else {
561
 
              # Otherwise, compare as strings.
562
 
              d1 = "x" d1
563
 
              d2 = "x" d2
564
 
            }
565
 
          } else {
566
 
            # A fraction is less than an integer.
567
 
            exit 1
568
 
          }
569
 
        } else {
570
 
          if (d2 ~ /^0/) {
571
 
            # An integer is greater than a fraction.
572
 
            exit 2
573
 
          } else {
574
 
            # Compare two integers.
575
 
            d1 += 0
576
 
            d2 += 0
577
 
          }
578
 
        }
579
 
      } else {
580
 
        # The normal case, without worrying about digits.
581
 
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
582
 
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
583
 
      }
584
 
      if (d1 < d2) exit 1
585
 
      if (d1 > d2) exit 2
586
 
    }
587
 
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
588
 
    # which mishandles some comparisons of empty strings to integers.
589
 
    if (length(v2)) exit 1
590
 
    if (length(v1)) exit 2
591
 
  }
592
 
'
593
 
 
594
 
 
595
 
# Check that we are running under the correct shell.
596
 
SHELL=${CONFIG_SHELL-/bin/sh}
597
 
 
598
 
case X$lt_ECHO in
599
 
X*--fallback-echo)
600
 
  # Remove one level of quotation (which was required for Make).
601
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
602
 
  ;;
603
 
esac
604
 
 
605
 
ECHO=${lt_ECHO-echo}
606
 
if test "X$1" = X--no-reexec; then
607
 
  # Discard the --no-reexec flag, and continue.
608
 
  shift
609
 
elif test "X$1" = X--fallback-echo; then
610
 
  # Avoid inline document here, it may be left over
611
 
  :
612
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
613
 
  # Yippee, $ECHO works!
614
 
  :
615
 
else
616
 
  # Restart under the correct shell.
617
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
618
 
fi
619
 
 
620
 
if test "X$1" = X--fallback-echo; then
621
 
  # used as fallback echo
622
 
  shift
623
 
  cat <<_LT_EOF
624
 
$*
625
 
_LT_EOF
626
 
  exit 0
627
 
fi
628
 
 
629
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
630
 
# if CDPATH is set.
631
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
632
 
 
633
 
if test -z "$lt_ECHO"; then
634
 
  if test "X${echo_test_string+set}" != Xset; then
635
 
    # find a string as large as possible, as long as the shell can cope with it
636
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
637
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
638
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
639
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
640
 
      then
641
 
        break
642
 
      fi
643
 
    done
644
 
  fi
645
 
 
646
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
649
 
    :
650
 
  else
651
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
652
 
    # backslashes.  This makes it impossible to quote backslashes using
653
 
    #   echo "$something" | sed 's/\\/\\\\/g'
654
 
    #
655
 
    # So, first we look for a working echo in the user's PATH.
656
 
 
657
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
658
 
    for dir in $PATH /usr/ucb; do
659
 
      IFS="$lt_save_ifs"
660
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
661
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
662
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
663
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
664
 
        ECHO="$dir/echo"
665
 
        break
666
 
      fi
667
 
    done
668
 
    IFS="$lt_save_ifs"
669
 
 
670
 
    if test "X$ECHO" = Xecho; then
671
 
      # We didn't find a better echo, so look for alternatives.
672
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
673
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
674
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
675
 
        # This shell has a builtin print -r that does the trick.
676
 
        ECHO='print -r'
677
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
678
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
679
 
        # If we have ksh, try running configure again with it.
680
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
681
 
        export ORIGINAL_CONFIG_SHELL
682
 
        CONFIG_SHELL=/bin/ksh
683
 
        export CONFIG_SHELL
684
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
685
 
      else
686
 
        # Try using printf.
687
 
        ECHO='printf %s\n'
688
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
689
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
690
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
691
 
          # Cool, printf works
692
 
          :
693
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
694
 
             test "X$echo_testing_string" = 'X\t' &&
695
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
696
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
697
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
698
 
          export CONFIG_SHELL
699
 
          SHELL="$CONFIG_SHELL"
700
 
          export SHELL
701
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
702
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
703
 
             test "X$echo_testing_string" = 'X\t' &&
704
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
705
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
706
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
707
 
        else
708
 
          # maybe with a smaller string...
709
 
          prev=:
710
 
 
711
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
712
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
713
 
            then
714
 
              break
715
 
            fi
716
 
            prev="$cmd"
717
 
          done
718
 
 
719
 
          if test "$prev" != 'sed 50q "$0"'; then
720
 
            echo_test_string=`eval $prev`
721
 
            export echo_test_string
722
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
723
 
          else
724
 
            # Oops.  We lost completely, so just stick with echo.
725
 
            ECHO=echo
726
 
          fi
727
 
        fi
728
 
      fi
729
 
    fi
730
 
  fi
731
 
fi
732
 
 
733
 
# Copy echo and quote the copy suitably for passing to libtool from
734
 
# the Makefile, instead of quoting the original, which is used later.
735
 
lt_ECHO=$ECHO
736
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
737
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
738
 
fi
739
 
 
740
 
 
741
 
 
742
 
 
743
 
test -n "$DJDIR" || exec 7<&0 </dev/null
744
 
exec 6>&1
745
 
 
746
 
# Name of the host.
747
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
748
 
# so uname gets run too.
749
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
750
 
 
751
 
#
752
 
# Initializations.
753
 
#
754
 
ac_default_prefix=/usr/local
755
 
ac_clean_files=
756
 
ac_config_libobj_dir=.
757
 
LIBOBJS=
758
 
cross_compiling=no
759
 
subdirs=
760
 
MFLAGS=
761
 
MAKEFLAGS=
762
 
 
763
 
# Identity of this package.
764
 
PACKAGE_NAME='unity-place-files'
765
 
PACKAGE_TARNAME='unity-place-files'
766
 
PACKAGE_VERSION='0.5.38'
767
 
PACKAGE_STRING='unity-place-files 0.5.38'
768
 
PACKAGE_BUGREPORT='https://launchpad.net/unity-place-files'
769
 
PACKAGE_URL=''
770
 
 
771
 
# Factoring default headers for most tests.
772
 
ac_includes_default="\
773
 
#include <stdio.h>
774
 
#ifdef HAVE_SYS_TYPES_H
775
 
# include <sys/types.h>
776
 
#endif
777
 
#ifdef HAVE_SYS_STAT_H
778
 
# include <sys/stat.h>
779
 
#endif
780
 
#ifdef STDC_HEADERS
781
 
# include <stdlib.h>
782
 
# include <stddef.h>
783
 
#else
784
 
# ifdef HAVE_STDLIB_H
785
 
#  include <stdlib.h>
786
 
# endif
787
 
#endif
788
 
#ifdef HAVE_STRING_H
789
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
790
 
#  include <memory.h>
791
 
# endif
792
 
# include <string.h>
793
 
#endif
794
 
#ifdef HAVE_STRINGS_H
795
 
# include <strings.h>
796
 
#endif
797
 
#ifdef HAVE_INTTYPES_H
798
 
# include <inttypes.h>
799
 
#endif
800
 
#ifdef HAVE_STDINT_H
801
 
# include <stdint.h>
802
 
#endif
803
 
#ifdef HAVE_UNISTD_H
804
 
# include <unistd.h>
805
 
#endif"
806
 
 
807
 
ac_subst_vars='am__EXEEXT_FALSE
808
 
am__EXEEXT_TRUE
809
 
LTLIBOBJS
810
 
LIBOBJS
811
 
DBUSSERVICEDIR
812
 
DATADIR
813
 
PREFIX
814
 
HAVE_LOCALINSTALL_FALSE
815
 
HAVE_LOCALINSTALL_TRUE
816
 
ZEITGEIST_DAEMON_LIBS
817
 
ZEITGEIST_DAEMON_CFLAGS
818
 
PLACE_DAEMON_LIBS
819
 
PLACE_DAEMON_CFLAGS
820
 
PKG_CONFIG_LIBDIR
821
 
PKG_CONFIG_PATH
822
 
PKG_CONFIG
823
 
INTLTOOL_PLACE_RULE
824
 
ALL_LINGUAS
825
 
INTLTOOL_PERL
826
 
MSGMERGE
827
 
INTLTOOL_POLICY_RULE
828
 
INTLTOOL_SERVICE_RULE
829
 
INTLTOOL_THEME_RULE
830
 
INTLTOOL_SCHEMAS_RULE
831
 
INTLTOOL_CAVES_RULE
832
 
INTLTOOL_XML_NOMERGE_RULE
833
 
INTLTOOL_XML_RULE
834
 
INTLTOOL_KBD_RULE
835
 
INTLTOOL_XAM_RULE
836
 
INTLTOOL_UI_RULE
837
 
INTLTOOL_SOUNDLIST_RULE
838
 
INTLTOOL_SHEET_RULE
839
 
INTLTOOL_SERVER_RULE
840
 
INTLTOOL_PONG_RULE
841
 
INTLTOOL_OAF_RULE
842
 
INTLTOOL_PROP_RULE
843
 
INTLTOOL_KEYS_RULE
844
 
INTLTOOL_DIRECTORY_RULE
845
 
INTLTOOL_DESKTOP_RULE
846
 
INTLTOOL_EXTRACT
847
 
INTLTOOL_MERGE
848
 
INTLTOOL_UPDATE
849
 
MKINSTALLDIRS
850
 
POSUB
851
 
POFILES
852
 
PO_IN_DATADIR_FALSE
853
 
PO_IN_DATADIR_TRUE
854
 
INTLLIBS
855
 
INSTOBJEXT
856
 
GMOFILES
857
 
DATADIRNAME
858
 
CATOBJEXT
859
 
CATALOGS
860
 
XGETTEXT
861
 
GMSGFMT
862
 
MSGFMT_OPTS
863
 
MSGFMT
864
 
USE_NLS
865
 
CONFIG_STATUS_DEPENDENCIES
866
 
GETTEXT_PACKAGE
867
 
OTOOL64
868
 
OTOOL
869
 
LIPO
870
 
NMEDIT
871
 
DSYMUTIL
872
 
lt_ECHO
873
 
RANLIB
874
 
AR
875
 
OBJDUMP
876
 
LN_S
877
 
NM
878
 
ac_ct_DUMPBIN
879
 
DUMPBIN
880
 
LD
881
 
FGREP
882
 
SED
883
 
host_os
884
 
host_vendor
885
 
host_cpu
886
 
host
887
 
build_os
888
 
build_vendor
889
 
build_cpu
890
 
build
891
 
LIBTOOL
892
 
EGREP
893
 
GREP
894
 
CPP
895
 
am__fastdepCC_FALSE
896
 
am__fastdepCC_TRUE
897
 
CCDEPMODE
898
 
AMDEPBACKSLASH
899
 
AMDEP_FALSE
900
 
AMDEP_TRUE
901
 
am__quote
902
 
am__include
903
 
DEPDIR
904
 
OBJEXT
905
 
EXEEXT
906
 
ac_ct_CC
907
 
CPPFLAGS
908
 
LDFLAGS
909
 
CFLAGS
910
 
CC
911
 
VALAC
912
 
MAINT
913
 
MAINTAINER_MODE_FALSE
914
 
MAINTAINER_MODE_TRUE
915
 
AM_BACKSLASH
916
 
AM_DEFAULT_VERBOSITY
917
 
am__untar
918
 
am__tar
919
 
AMTAR
920
 
am__leading_dot
921
 
SET_MAKE
922
 
AWK
923
 
mkdir_p
924
 
MKDIR_P
925
 
INSTALL_STRIP_PROGRAM
926
 
STRIP
927
 
install_sh
928
 
MAKEINFO
929
 
AUTOHEADER
930
 
AUTOMAKE
931
 
AUTOCONF
932
 
ACLOCAL
933
 
VERSION
934
 
PACKAGE
935
 
CYGPATH_W
936
 
am__isrc
937
 
INSTALL_DATA
938
 
INSTALL_SCRIPT
939
 
INSTALL_PROGRAM
940
 
target_alias
941
 
host_alias
942
 
build_alias
943
 
LIBS
944
 
ECHO_T
945
 
ECHO_N
946
 
ECHO_C
947
 
DEFS
948
 
mandir
949
 
localedir
950
 
libdir
951
 
psdir
952
 
pdfdir
953
 
dvidir
954
 
htmldir
955
 
infodir
956
 
docdir
957
 
oldincludedir
958
 
includedir
959
 
localstatedir
960
 
sharedstatedir
961
 
sysconfdir
962
 
datadir
963
 
datarootdir
964
 
libexecdir
965
 
sbindir
966
 
bindir
967
 
program_transform_name
968
 
prefix
969
 
exec_prefix
970
 
PACKAGE_URL
971
 
PACKAGE_BUGREPORT
972
 
PACKAGE_STRING
973
 
PACKAGE_VERSION
974
 
PACKAGE_TARNAME
975
 
PACKAGE_NAME
976
 
PATH_SEPARATOR
977
 
SHELL'
978
 
ac_subst_files=''
979
 
ac_user_opts='
980
 
enable_option_checking
981
 
enable_silent_rules
982
 
enable_maintainer_mode
983
 
enable_dependency_tracking
984
 
enable_shared
985
 
enable_static
986
 
with_pic
987
 
enable_fast_install
988
 
with_gnu_ld
989
 
enable_libtool_lock
990
 
enable_nls
991
 
enable_localinstall
992
 
'
993
 
      ac_precious_vars='build_alias
994
 
host_alias
995
 
target_alias
996
 
CC
997
 
CFLAGS
998
 
LDFLAGS
999
 
LIBS
1000
 
CPPFLAGS
1001
 
CPP
1002
 
PKG_CONFIG
1003
 
PKG_CONFIG_PATH
1004
 
PKG_CONFIG_LIBDIR
1005
 
PLACE_DAEMON_CFLAGS
1006
 
PLACE_DAEMON_LIBS
1007
 
ZEITGEIST_DAEMON_CFLAGS
1008
 
ZEITGEIST_DAEMON_LIBS'
1009
 
 
1010
 
 
1011
 
# Initialize some variables set by options.
1012
 
ac_init_help=
1013
 
ac_init_version=false
1014
 
ac_unrecognized_opts=
1015
 
ac_unrecognized_sep=
1016
 
# The variables have the same names as the options, with
1017
 
# dashes changed to underlines.
1018
 
cache_file=/dev/null
1019
 
exec_prefix=NONE
1020
 
no_create=
1021
 
no_recursion=
1022
 
prefix=NONE
1023
 
program_prefix=NONE
1024
 
program_suffix=NONE
1025
 
program_transform_name=s,x,x,
1026
 
silent=
1027
 
site=
1028
 
srcdir=
1029
 
verbose=
1030
 
x_includes=NONE
1031
 
x_libraries=NONE
1032
 
 
1033
 
# Installation directory options.
1034
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
1035
 
# and all the variables that are supposed to be based on exec_prefix
1036
 
# by default will actually change.
1037
 
# Use braces instead of parens because sh, perl, etc. also accept them.
1038
 
# (The list follows the same order as the GNU Coding Standards.)
1039
 
bindir='${exec_prefix}/bin'
1040
 
sbindir='${exec_prefix}/sbin'
1041
 
libexecdir='${exec_prefix}/libexec'
1042
 
datarootdir='${prefix}/share'
1043
 
datadir='${datarootdir}'
1044
 
sysconfdir='${prefix}/etc'
1045
 
sharedstatedir='${prefix}/com'
1046
 
localstatedir='${prefix}/var'
1047
 
includedir='${prefix}/include'
1048
 
oldincludedir='/usr/include'
1049
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1050
 
infodir='${datarootdir}/info'
1051
 
htmldir='${docdir}'
1052
 
dvidir='${docdir}'
1053
 
pdfdir='${docdir}'
1054
 
psdir='${docdir}'
1055
 
libdir='${exec_prefix}/lib'
1056
 
localedir='${datarootdir}/locale'
1057
 
mandir='${datarootdir}/man'
1058
 
 
1059
 
ac_prev=
1060
 
ac_dashdash=
1061
 
for ac_option
1062
 
do
1063
 
  # If the previous option needs an argument, assign it.
1064
 
  if test -n "$ac_prev"; then
1065
 
    eval $ac_prev=\$ac_option
1066
 
    ac_prev=
1067
 
    continue
1068
 
  fi
1069
 
 
1070
 
  case $ac_option in
1071
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1072
 
  *=)   ac_optarg= ;;
1073
 
  *)    ac_optarg=yes ;;
1074
 
  esac
1075
 
 
1076
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
1077
 
 
1078
 
  case $ac_dashdash$ac_option in
1079
 
  --)
1080
 
    ac_dashdash=yes ;;
1081
 
 
1082
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1083
 
    ac_prev=bindir ;;
1084
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1085
 
    bindir=$ac_optarg ;;
1086
 
 
1087
 
  -build | --build | --buil | --bui | --bu)
1088
 
    ac_prev=build_alias ;;
1089
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1090
 
    build_alias=$ac_optarg ;;
1091
 
 
1092
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1093
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1094
 
    ac_prev=cache_file ;;
1095
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1096
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1097
 
    cache_file=$ac_optarg ;;
1098
 
 
1099
 
  --config-cache | -C)
1100
 
    cache_file=config.cache ;;
1101
 
 
1102
 
  -datadir | --datadir | --datadi | --datad)
1103
 
    ac_prev=datadir ;;
1104
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1105
 
    datadir=$ac_optarg ;;
1106
 
 
1107
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1108
 
  | --dataroo | --dataro | --datar)
1109
 
    ac_prev=datarootdir ;;
1110
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1111
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1112
 
    datarootdir=$ac_optarg ;;
1113
 
 
1114
 
  -disable-* | --disable-*)
1115
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1116
 
    # Reject names that are not valid shell variable names.
1117
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1119
 
    ac_useropt_orig=$ac_useropt
1120
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121
 
    case $ac_user_opts in
1122
 
      *"
1123
 
"enable_$ac_useropt"
1124
 
"*) ;;
1125
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1126
 
         ac_unrecognized_sep=', ';;
1127
 
    esac
1128
 
    eval enable_$ac_useropt=no ;;
1129
 
 
1130
 
  -docdir | --docdir | --docdi | --doc | --do)
1131
 
    ac_prev=docdir ;;
1132
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1133
 
    docdir=$ac_optarg ;;
1134
 
 
1135
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1136
 
    ac_prev=dvidir ;;
1137
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1138
 
    dvidir=$ac_optarg ;;
1139
 
 
1140
 
  -enable-* | --enable-*)
1141
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1142
 
    # Reject names that are not valid shell variable names.
1143
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144
 
      as_fn_error $? "invalid feature name: $ac_useropt"
1145
 
    ac_useropt_orig=$ac_useropt
1146
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147
 
    case $ac_user_opts in
1148
 
      *"
1149
 
"enable_$ac_useropt"
1150
 
"*) ;;
1151
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1152
 
         ac_unrecognized_sep=', ';;
1153
 
    esac
1154
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1155
 
 
1156
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1157
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1158
 
  | --exec | --exe | --ex)
1159
 
    ac_prev=exec_prefix ;;
1160
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1161
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1162
 
  | --exec=* | --exe=* | --ex=*)
1163
 
    exec_prefix=$ac_optarg ;;
1164
 
 
1165
 
  -gas | --gas | --ga | --g)
1166
 
    # Obsolete; use --with-gas.
1167
 
    with_gas=yes ;;
1168
 
 
1169
 
  -help | --help | --hel | --he | -h)
1170
 
    ac_init_help=long ;;
1171
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1172
 
    ac_init_help=recursive ;;
1173
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1174
 
    ac_init_help=short ;;
1175
 
 
1176
 
  -host | --host | --hos | --ho)
1177
 
    ac_prev=host_alias ;;
1178
 
  -host=* | --host=* | --hos=* | --ho=*)
1179
 
    host_alias=$ac_optarg ;;
1180
 
 
1181
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1182
 
    ac_prev=htmldir ;;
1183
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1184
 
  | --ht=*)
1185
 
    htmldir=$ac_optarg ;;
1186
 
 
1187
 
  -includedir | --includedir | --includedi | --included | --include \
1188
 
  | --includ | --inclu | --incl | --inc)
1189
 
    ac_prev=includedir ;;
1190
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1191
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1192
 
    includedir=$ac_optarg ;;
1193
 
 
1194
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1195
 
    ac_prev=infodir ;;
1196
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1197
 
    infodir=$ac_optarg ;;
1198
 
 
1199
 
  -libdir | --libdir | --libdi | --libd)
1200
 
    ac_prev=libdir ;;
1201
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1202
 
    libdir=$ac_optarg ;;
1203
 
 
1204
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1205
 
  | --libexe | --libex | --libe)
1206
 
    ac_prev=libexecdir ;;
1207
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1208
 
  | --libexe=* | --libex=* | --libe=*)
1209
 
    libexecdir=$ac_optarg ;;
1210
 
 
1211
 
  -localedir | --localedir | --localedi | --localed | --locale)
1212
 
    ac_prev=localedir ;;
1213
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1214
 
    localedir=$ac_optarg ;;
1215
 
 
1216
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1217
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1218
 
    ac_prev=localstatedir ;;
1219
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1220
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1221
 
    localstatedir=$ac_optarg ;;
1222
 
 
1223
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1224
 
    ac_prev=mandir ;;
1225
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1226
 
    mandir=$ac_optarg ;;
1227
 
 
1228
 
  -nfp | --nfp | --nf)
1229
 
    # Obsolete; use --without-fp.
1230
 
    with_fp=no ;;
1231
 
 
1232
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1233
 
  | --no-cr | --no-c | -n)
1234
 
    no_create=yes ;;
1235
 
 
1236
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1237
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1238
 
    no_recursion=yes ;;
1239
 
 
1240
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1241
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1242
 
  | --oldin | --oldi | --old | --ol | --o)
1243
 
    ac_prev=oldincludedir ;;
1244
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1245
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1246
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1247
 
    oldincludedir=$ac_optarg ;;
1248
 
 
1249
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1250
 
    ac_prev=prefix ;;
1251
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1252
 
    prefix=$ac_optarg ;;
1253
 
 
1254
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1255
 
  | --program-pre | --program-pr | --program-p)
1256
 
    ac_prev=program_prefix ;;
1257
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1258
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1259
 
    program_prefix=$ac_optarg ;;
1260
 
 
1261
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1262
 
  | --program-suf | --program-su | --program-s)
1263
 
    ac_prev=program_suffix ;;
1264
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1265
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1266
 
    program_suffix=$ac_optarg ;;
1267
 
 
1268
 
  -program-transform-name | --program-transform-name \
1269
 
  | --program-transform-nam | --program-transform-na \
1270
 
  | --program-transform-n | --program-transform- \
1271
 
  | --program-transform | --program-transfor \
1272
 
  | --program-transfo | --program-transf \
1273
 
  | --program-trans | --program-tran \
1274
 
  | --progr-tra | --program-tr | --program-t)
1275
 
    ac_prev=program_transform_name ;;
1276
 
  -program-transform-name=* | --program-transform-name=* \
1277
 
  | --program-transform-nam=* | --program-transform-na=* \
1278
 
  | --program-transform-n=* | --program-transform-=* \
1279
 
  | --program-transform=* | --program-transfor=* \
1280
 
  | --program-transfo=* | --program-transf=* \
1281
 
  | --program-trans=* | --program-tran=* \
1282
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1283
 
    program_transform_name=$ac_optarg ;;
1284
 
 
1285
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1286
 
    ac_prev=pdfdir ;;
1287
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1288
 
    pdfdir=$ac_optarg ;;
1289
 
 
1290
 
  -psdir | --psdir | --psdi | --psd | --ps)
1291
 
    ac_prev=psdir ;;
1292
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1293
 
    psdir=$ac_optarg ;;
1294
 
 
1295
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1296
 
  | -silent | --silent | --silen | --sile | --sil)
1297
 
    silent=yes ;;
1298
 
 
1299
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1300
 
    ac_prev=sbindir ;;
1301
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1302
 
  | --sbi=* | --sb=*)
1303
 
    sbindir=$ac_optarg ;;
1304
 
 
1305
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1306
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1307
 
  | --sharedst | --shareds | --shared | --share | --shar \
1308
 
  | --sha | --sh)
1309
 
    ac_prev=sharedstatedir ;;
1310
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1311
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1312
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1313
 
  | --sha=* | --sh=*)
1314
 
    sharedstatedir=$ac_optarg ;;
1315
 
 
1316
 
  -site | --site | --sit)
1317
 
    ac_prev=site ;;
1318
 
  -site=* | --site=* | --sit=*)
1319
 
    site=$ac_optarg ;;
1320
 
 
1321
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1322
 
    ac_prev=srcdir ;;
1323
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1324
 
    srcdir=$ac_optarg ;;
1325
 
 
1326
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1327
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1328
 
    ac_prev=sysconfdir ;;
1329
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1330
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1331
 
    sysconfdir=$ac_optarg ;;
1332
 
 
1333
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1334
 
    ac_prev=target_alias ;;
1335
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1336
 
    target_alias=$ac_optarg ;;
1337
 
 
1338
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1339
 
    verbose=yes ;;
1340
 
 
1341
 
  -version | --version | --versio | --versi | --vers | -V)
1342
 
    ac_init_version=: ;;
1343
 
 
1344
 
  -with-* | --with-*)
1345
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1346
 
    # Reject names that are not valid shell variable names.
1347
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1348
 
      as_fn_error $? "invalid package name: $ac_useropt"
1349
 
    ac_useropt_orig=$ac_useropt
1350
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1351
 
    case $ac_user_opts in
1352
 
      *"
1353
 
"with_$ac_useropt"
1354
 
"*) ;;
1355
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1356
 
         ac_unrecognized_sep=', ';;
1357
 
    esac
1358
 
    eval with_$ac_useropt=\$ac_optarg ;;
1359
 
 
1360
 
  -without-* | --without-*)
1361
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1362
 
    # Reject names that are not valid shell variable names.
1363
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1364
 
      as_fn_error $? "invalid package name: $ac_useropt"
1365
 
    ac_useropt_orig=$ac_useropt
1366
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1367
 
    case $ac_user_opts in
1368
 
      *"
1369
 
"with_$ac_useropt"
1370
 
"*) ;;
1371
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1372
 
         ac_unrecognized_sep=', ';;
1373
 
    esac
1374
 
    eval with_$ac_useropt=no ;;
1375
 
 
1376
 
  --x)
1377
 
    # Obsolete; use --with-x.
1378
 
    with_x=yes ;;
1379
 
 
1380
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1381
 
  | --x-incl | --x-inc | --x-in | --x-i)
1382
 
    ac_prev=x_includes ;;
1383
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1384
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1385
 
    x_includes=$ac_optarg ;;
1386
 
 
1387
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1388
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1389
 
    ac_prev=x_libraries ;;
1390
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1391
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1392
 
    x_libraries=$ac_optarg ;;
1393
 
 
1394
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1395
 
Try \`$0 --help' for more information"
1396
 
    ;;
1397
 
 
1398
 
  *=*)
1399
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1400
 
    # Reject names that are not valid shell variable names.
1401
 
    case $ac_envvar in #(
1402
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1403
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1404
 
    esac
1405
 
    eval $ac_envvar=\$ac_optarg
1406
 
    export $ac_envvar ;;
1407
 
 
1408
 
  *)
1409
 
    # FIXME: should be removed in autoconf 3.0.
1410
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1411
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1413
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1414
 
    ;;
1415
 
 
1416
 
  esac
1417
 
done
1418
 
 
1419
 
if test -n "$ac_prev"; then
1420
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1421
 
  as_fn_error $? "missing argument to $ac_option"
1422
 
fi
1423
 
 
1424
 
if test -n "$ac_unrecognized_opts"; then
1425
 
  case $enable_option_checking in
1426
 
    no) ;;
1427
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1428
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1429
 
  esac
1430
 
fi
1431
 
 
1432
 
# Check all directory arguments for consistency.
1433
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1434
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1435
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1436
 
                libdir localedir mandir
1437
 
do
1438
 
  eval ac_val=\$$ac_var
1439
 
  # Remove trailing slashes.
1440
 
  case $ac_val in
1441
 
    */ )
1442
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1443
 
      eval $ac_var=\$ac_val;;
1444
 
  esac
1445
 
  # Be sure to have absolute directory names.
1446
 
  case $ac_val in
1447
 
    [\\/$]* | ?:[\\/]* )  continue;;
1448
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1449
 
  esac
1450
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1451
 
done
1452
 
 
1453
 
# There might be people who depend on the old broken behavior: `$host'
1454
 
# used to hold the argument of --host etc.
1455
 
# FIXME: To remove some day.
1456
 
build=$build_alias
1457
 
host=$host_alias
1458
 
target=$target_alias
1459
 
 
1460
 
# FIXME: To remove some day.
1461
 
if test "x$host_alias" != x; then
1462
 
  if test "x$build_alias" = x; then
1463
 
    cross_compiling=maybe
1464
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1465
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1466
 
  elif test "x$build_alias" != "x$host_alias"; then
1467
 
    cross_compiling=yes
1468
 
  fi
1469
 
fi
1470
 
 
1471
 
ac_tool_prefix=
1472
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
 
 
1474
 
test "$silent" = yes && exec 6>/dev/null
1475
 
 
1476
 
 
1477
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478
 
ac_ls_di=`ls -di .` &&
1479
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480
 
  as_fn_error $? "working directory cannot be determined"
1481
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482
 
  as_fn_error $? "pwd does not report name of working directory"
1483
 
 
1484
 
 
1485
 
# Find the source files, if location was not specified.
1486
 
if test -z "$srcdir"; then
1487
 
  ac_srcdir_defaulted=yes
1488
 
  # Try the directory containing this script, then the parent directory.
1489
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1490
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1492
 
         X"$as_myself" : 'X\(//\)$' \| \
1493
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1494
 
$as_echo X"$as_myself" |
1495
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1496
 
            s//\1/
1497
 
            q
1498
 
          }
1499
 
          /^X\(\/\/\)[^/].*/{
1500
 
            s//\1/
1501
 
            q
1502
 
          }
1503
 
          /^X\(\/\/\)$/{
1504
 
            s//\1/
1505
 
            q
1506
 
          }
1507
 
          /^X\(\/\).*/{
1508
 
            s//\1/
1509
 
            q
1510
 
          }
1511
 
          s/.*/./; q'`
1512
 
  srcdir=$ac_confdir
1513
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1514
 
    srcdir=..
1515
 
  fi
1516
 
else
1517
 
  ac_srcdir_defaulted=no
1518
 
fi
1519
 
if test ! -r "$srcdir/$ac_unique_file"; then
1520
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1522
 
fi
1523
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1524
 
ac_abs_confdir=`(
1525
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1526
 
        pwd)`
1527
 
# When building in place, set srcdir=.
1528
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1529
 
  srcdir=.
1530
 
fi
1531
 
# Remove unnecessary trailing slashes from srcdir.
1532
 
# Double slashes in file names in object file debugging info
1533
 
# mess up M-x gdb in Emacs.
1534
 
case $srcdir in
1535
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536
 
esac
1537
 
for ac_var in $ac_precious_vars; do
1538
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1540
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542
 
done
1543
 
 
1544
 
#
1545
 
# Report the --help message.
1546
 
#
1547
 
if test "$ac_init_help" = "long"; then
1548
 
  # Omit some internal or obsolete options to make the list less imposing.
1549
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1550
 
  cat <<_ACEOF
1551
 
\`configure' configures unity-place-files 0.5.38 to adapt to many kinds of systems.
1552
 
 
1553
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1554
 
 
1555
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1557
 
 
1558
 
Defaults for the options are specified in brackets.
1559
 
 
1560
 
Configuration:
1561
 
  -h, --help              display this help and exit
1562
 
      --help=short        display options specific to this package
1563
 
      --help=recursive    display the short help of all the included packages
1564
 
  -V, --version           display version information and exit
1565
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1566
 
      --cache-file=FILE   cache test results in FILE [disabled]
1567
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1568
 
  -n, --no-create         do not create output files
1569
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1570
 
 
1571
 
Installation directories:
1572
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1573
 
                          [$ac_default_prefix]
1574
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1575
 
                          [PREFIX]
1576
 
 
1577
 
By default, \`make install' will install all the files in
1578
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1579
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580
 
for instance \`--prefix=\$HOME'.
1581
 
 
1582
 
For better control, use the options below.
1583
 
 
1584
 
Fine tuning of the installation directories:
1585
 
  --bindir=DIR            user executables [EPREFIX/bin]
1586
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1587
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1588
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1589
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1590
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1591
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1592
 
  --includedir=DIR        C header files [PREFIX/include]
1593
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1594
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1595
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1596
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1597
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1598
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1599
 
  --docdir=DIR            documentation root
1600
 
                          [DATAROOTDIR/doc/unity-place-files]
1601
 
  --htmldir=DIR           html documentation [DOCDIR]
1602
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1603
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1604
 
  --psdir=DIR             ps documentation [DOCDIR]
1605
 
_ACEOF
1606
 
 
1607
 
  cat <<\_ACEOF
1608
 
 
1609
 
Program names:
1610
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1611
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1612
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1613
 
 
1614
 
System types:
1615
 
  --build=BUILD     configure for building on BUILD [guessed]
1616
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1617
 
_ACEOF
1618
 
fi
1619
 
 
1620
 
if test -n "$ac_init_help"; then
1621
 
  case $ac_init_help in
1622
 
     short | recursive ) echo "Configuration of unity-place-files 0.5.38:";;
1623
 
   esac
1624
 
  cat <<\_ACEOF
1625
 
 
1626
 
Optional Features:
1627
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1628
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1629
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1630
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1631
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1632
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1633
 
                          (and sometimes confusing) to the casual installer
1634
 
  --disable-dependency-tracking  speeds up one-time build
1635
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1636
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1637
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1638
 
  --enable-fast-install[=PKGS]
1639
 
                          optimize for fast installation [default=yes]
1640
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1641
 
  --disable-nls           do not use Native Language Support
1642
 
  --enable-localinstall   Install all of the files locally instead of in
1643
 
                          system directories (for distcheck)
1644
 
 
1645
 
Optional Packages:
1646
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1647
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1648
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1649
 
                          both]
1650
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1651
 
 
1652
 
Some influential environment variables:
1653
 
  CC          C compiler command
1654
 
  CFLAGS      C compiler flags
1655
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1656
 
              nonstandard directory <lib dir>
1657
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1658
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1659
 
              you have headers in a nonstandard directory <include dir>
1660
 
  CPP         C preprocessor
1661
 
  PKG_CONFIG  path to pkg-config utility
1662
 
  PKG_CONFIG_PATH
1663
 
              directories to add to pkg-config's search path
1664
 
  PKG_CONFIG_LIBDIR
1665
 
              path overriding pkg-config's built-in search path
1666
 
  PLACE_DAEMON_CFLAGS
1667
 
              C compiler flags for PLACE_DAEMON, overriding pkg-config
1668
 
  PLACE_DAEMON_LIBS
1669
 
              linker flags for PLACE_DAEMON, overriding pkg-config
1670
 
  ZEITGEIST_DAEMON_CFLAGS
1671
 
              C compiler flags for ZEITGEIST_DAEMON, overriding pkg-config
1672
 
  ZEITGEIST_DAEMON_LIBS
1673
 
              linker flags for ZEITGEIST_DAEMON, overriding pkg-config
1674
 
 
1675
 
Use these variables to override the choices made by `configure' or to help
1676
 
it to find libraries and programs with nonstandard names/locations.
1677
 
 
1678
 
Report bugs to <https://launchpad.net/unity-place-files>.
1679
 
_ACEOF
1680
 
ac_status=$?
1681
 
fi
1682
 
 
1683
 
if test "$ac_init_help" = "recursive"; then
1684
 
  # If there are subdirs, report their specific --help.
1685
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1686
 
    test -d "$ac_dir" ||
1687
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1688
 
      continue
1689
 
    ac_builddir=.
1690
 
 
1691
 
case "$ac_dir" in
1692
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1693
 
*)
1694
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1695
 
  # A ".." for each directory in $ac_dir_suffix.
1696
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1697
 
  case $ac_top_builddir_sub in
1698
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1700
 
  esac ;;
1701
 
esac
1702
 
ac_abs_top_builddir=$ac_pwd
1703
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1704
 
# for backward compatibility:
1705
 
ac_top_builddir=$ac_top_build_prefix
1706
 
 
1707
 
case $srcdir in
1708
 
  .)  # We are building in place.
1709
 
    ac_srcdir=.
1710
 
    ac_top_srcdir=$ac_top_builddir_sub
1711
 
    ac_abs_top_srcdir=$ac_pwd ;;
1712
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1713
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1714
 
    ac_top_srcdir=$srcdir
1715
 
    ac_abs_top_srcdir=$srcdir ;;
1716
 
  *) # Relative name.
1717
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1718
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1719
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1720
 
esac
1721
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1722
 
 
1723
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1724
 
    # Check for guested configure.
1725
 
    if test -f "$ac_srcdir/configure.gnu"; then
1726
 
      echo &&
1727
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1728
 
    elif test -f "$ac_srcdir/configure"; then
1729
 
      echo &&
1730
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1731
 
    else
1732
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1733
 
    fi || ac_status=$?
1734
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1735
 
  done
1736
 
fi
1737
 
 
1738
 
test -n "$ac_init_help" && exit $ac_status
1739
 
if $ac_init_version; then
1740
 
  cat <<\_ACEOF
1741
 
unity-place-files configure 0.5.38
1742
 
generated by GNU Autoconf 2.67
1743
 
 
1744
 
Copyright (C) 2010 Free Software Foundation, Inc.
1745
 
This configure script is free software; the Free Software Foundation
1746
 
gives unlimited permission to copy, distribute and modify it.
1747
 
 
1748
 
Copyright 2010 Canonical
1749
 
_ACEOF
1750
 
  exit
1751
 
fi
1752
 
 
1753
 
## ------------------------ ##
1754
 
## Autoconf initialization. ##
1755
 
## ------------------------ ##
1756
 
 
1757
 
# ac_fn_c_try_compile LINENO
1758
 
# --------------------------
1759
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1760
 
ac_fn_c_try_compile ()
1761
 
{
1762
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763
 
  rm -f conftest.$ac_objext
1764
 
  if { { ac_try="$ac_compile"
1765
 
case "(($ac_try" in
1766
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767
 
  *) ac_try_echo=$ac_try;;
1768
 
esac
1769
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770
 
$as_echo "$ac_try_echo"; } >&5
1771
 
  (eval "$ac_compile") 2>conftest.err
1772
 
  ac_status=$?
1773
 
  if test -s conftest.err; then
1774
 
    grep -v '^ *+' conftest.err >conftest.er1
1775
 
    cat conftest.er1 >&5
1776
 
    mv -f conftest.er1 conftest.err
1777
 
  fi
1778
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779
 
  test $ac_status = 0; } && {
1780
 
         test -z "$ac_c_werror_flag" ||
1781
 
         test ! -s conftest.err
1782
 
       } && test -s conftest.$ac_objext; then :
1783
 
  ac_retval=0
1784
 
else
1785
 
  $as_echo "$as_me: failed program was:" >&5
1786
 
sed 's/^/| /' conftest.$ac_ext >&5
1787
 
 
1788
 
        ac_retval=1
1789
 
fi
1790
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1791
 
  as_fn_set_status $ac_retval
1792
 
 
1793
 
} # ac_fn_c_try_compile
1794
 
 
1795
 
# ac_fn_c_try_cpp LINENO
1796
 
# ----------------------
1797
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1798
 
ac_fn_c_try_cpp ()
1799
 
{
1800
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1802
 
case "(($ac_try" in
1803
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1804
 
  *) ac_try_echo=$ac_try;;
1805
 
esac
1806
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807
 
$as_echo "$ac_try_echo"; } >&5
1808
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1809
 
  ac_status=$?
1810
 
  if test -s conftest.err; then
1811
 
    grep -v '^ *+' conftest.err >conftest.er1
1812
 
    cat conftest.er1 >&5
1813
 
    mv -f conftest.er1 conftest.err
1814
 
  fi
1815
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816
 
  test $ac_status = 0; } > conftest.i && {
1817
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1818
 
         test ! -s conftest.err
1819
 
       }; then :
1820
 
  ac_retval=0
1821
 
else
1822
 
  $as_echo "$as_me: failed program was:" >&5
1823
 
sed 's/^/| /' conftest.$ac_ext >&5
1824
 
 
1825
 
    ac_retval=1
1826
 
fi
1827
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828
 
  as_fn_set_status $ac_retval
1829
 
 
1830
 
} # ac_fn_c_try_cpp
1831
 
 
1832
 
# ac_fn_c_try_run LINENO
1833
 
# ----------------------
1834
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1835
 
# that executables *can* be run.
1836
 
ac_fn_c_try_run ()
1837
 
{
1838
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839
 
  if { { ac_try="$ac_link"
1840
 
case "(($ac_try" in
1841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842
 
  *) ac_try_echo=$ac_try;;
1843
 
esac
1844
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845
 
$as_echo "$ac_try_echo"; } >&5
1846
 
  (eval "$ac_link") 2>&5
1847
 
  ac_status=$?
1848
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1850
 
  { { case "(($ac_try" in
1851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852
 
  *) ac_try_echo=$ac_try;;
1853
 
esac
1854
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855
 
$as_echo "$ac_try_echo"; } >&5
1856
 
  (eval "$ac_try") 2>&5
1857
 
  ac_status=$?
1858
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859
 
  test $ac_status = 0; }; }; then :
1860
 
  ac_retval=0
1861
 
else
1862
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1863
 
       $as_echo "$as_me: failed program was:" >&5
1864
 
sed 's/^/| /' conftest.$ac_ext >&5
1865
 
 
1866
 
       ac_retval=$ac_status
1867
 
fi
1868
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870
 
  as_fn_set_status $ac_retval
1871
 
 
1872
 
} # ac_fn_c_try_run
1873
 
 
1874
 
# ac_fn_c_try_link LINENO
1875
 
# -----------------------
1876
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1877
 
ac_fn_c_try_link ()
1878
 
{
1879
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1881
 
  if { { ac_try="$ac_link"
1882
 
case "(($ac_try" in
1883
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884
 
  *) ac_try_echo=$ac_try;;
1885
 
esac
1886
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887
 
$as_echo "$ac_try_echo"; } >&5
1888
 
  (eval "$ac_link") 2>conftest.err
1889
 
  ac_status=$?
1890
 
  if test -s conftest.err; then
1891
 
    grep -v '^ *+' conftest.err >conftest.er1
1892
 
    cat conftest.er1 >&5
1893
 
    mv -f conftest.er1 conftest.err
1894
 
  fi
1895
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896
 
  test $ac_status = 0; } && {
1897
 
         test -z "$ac_c_werror_flag" ||
1898
 
         test ! -s conftest.err
1899
 
       } && test -s conftest$ac_exeext && {
1900
 
         test "$cross_compiling" = yes ||
1901
 
         $as_test_x conftest$ac_exeext
1902
 
       }; then :
1903
 
  ac_retval=0
1904
 
else
1905
 
  $as_echo "$as_me: failed program was:" >&5
1906
 
sed 's/^/| /' conftest.$ac_ext >&5
1907
 
 
1908
 
        ac_retval=1
1909
 
fi
1910
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1911
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1912
 
  # interfere with the next link command; also delete a directory that is
1913
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1914
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916
 
  as_fn_set_status $ac_retval
1917
 
 
1918
 
} # ac_fn_c_try_link
1919
 
 
1920
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1921
 
# -------------------------------------------------------
1922
 
# Tests whether HEADER exists and can be compiled using the include files in
1923
 
# INCLUDES, setting the cache variable VAR accordingly.
1924
 
ac_fn_c_check_header_compile ()
1925
 
{
1926
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928
 
$as_echo_n "checking for $2... " >&6; }
1929
 
if eval "test \"\${$3+set}\"" = set; then :
1930
 
  $as_echo_n "(cached) " >&6
1931
 
else
1932
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933
 
/* end confdefs.h.  */
1934
 
$4
1935
 
#include <$2>
1936
 
_ACEOF
1937
 
if ac_fn_c_try_compile "$LINENO"; then :
1938
 
  eval "$3=yes"
1939
 
else
1940
 
  eval "$3=no"
1941
 
fi
1942
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1943
 
fi
1944
 
eval ac_res=\$$3
1945
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946
 
$as_echo "$ac_res" >&6; }
1947
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948
 
 
1949
 
} # ac_fn_c_check_header_compile
1950
 
 
1951
 
# ac_fn_c_check_func LINENO FUNC VAR
1952
 
# ----------------------------------
1953
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1954
 
ac_fn_c_check_func ()
1955
 
{
1956
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958
 
$as_echo_n "checking for $2... " >&6; }
1959
 
if eval "test \"\${$3+set}\"" = set; then :
1960
 
  $as_echo_n "(cached) " >&6
1961
 
else
1962
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963
 
/* end confdefs.h.  */
1964
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1965
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1966
 
#define $2 innocuous_$2
1967
 
 
1968
 
/* System header to define __stub macros and hopefully few prototypes,
1969
 
    which can conflict with char $2 (); below.
1970
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1971
 
    <limits.h> exists even on freestanding compilers.  */
1972
 
 
1973
 
#ifdef __STDC__
1974
 
# include <limits.h>
1975
 
#else
1976
 
# include <assert.h>
1977
 
#endif
1978
 
 
1979
 
#undef $2
1980
 
 
1981
 
/* Override any GCC internal prototype to avoid an error.
1982
 
   Use char because int might match the return type of a GCC
1983
 
   builtin and then its argument prototype would still apply.  */
1984
 
#ifdef __cplusplus
1985
 
extern "C"
1986
 
#endif
1987
 
char $2 ();
1988
 
/* The GNU C library defines this for functions which it implements
1989
 
    to always fail with ENOSYS.  Some functions are actually named
1990
 
    something starting with __ and the normal name is an alias.  */
1991
 
#if defined __stub_$2 || defined __stub___$2
1992
 
choke me
1993
 
#endif
1994
 
 
1995
 
int
1996
 
main ()
1997
 
{
1998
 
return $2 ();
1999
 
  ;
2000
 
  return 0;
2001
 
}
2002
 
_ACEOF
2003
 
if ac_fn_c_try_link "$LINENO"; then :
2004
 
  eval "$3=yes"
2005
 
else
2006
 
  eval "$3=no"
2007
 
fi
2008
 
rm -f core conftest.err conftest.$ac_objext \
2009
 
    conftest$ac_exeext conftest.$ac_ext
2010
 
fi
2011
 
eval ac_res=\$$3
2012
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013
 
$as_echo "$ac_res" >&6; }
2014
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015
 
 
2016
 
} # ac_fn_c_check_func
2017
 
 
2018
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2019
 
# -------------------------------------------------------
2020
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2021
 
# the include files in INCLUDES and setting the cache variable VAR
2022
 
# accordingly.
2023
 
ac_fn_c_check_header_mongrel ()
2024
 
{
2025
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026
 
  if eval "test \"\${$3+set}\"" = set; then :
2027
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028
 
$as_echo_n "checking for $2... " >&6; }
2029
 
if eval "test \"\${$3+set}\"" = set; then :
2030
 
  $as_echo_n "(cached) " >&6
2031
 
fi
2032
 
eval ac_res=\$$3
2033
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034
 
$as_echo "$ac_res" >&6; }
2035
 
else
2036
 
  # Is the header compilable?
2037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2038
 
$as_echo_n "checking $2 usability... " >&6; }
2039
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040
 
/* end confdefs.h.  */
2041
 
$4
2042
 
#include <$2>
2043
 
_ACEOF
2044
 
if ac_fn_c_try_compile "$LINENO"; then :
2045
 
  ac_header_compiler=yes
2046
 
else
2047
 
  ac_header_compiler=no
2048
 
fi
2049
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2051
 
$as_echo "$ac_header_compiler" >&6; }
2052
 
 
2053
 
# Is the header present?
2054
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2055
 
$as_echo_n "checking $2 presence... " >&6; }
2056
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057
 
/* end confdefs.h.  */
2058
 
#include <$2>
2059
 
_ACEOF
2060
 
if ac_fn_c_try_cpp "$LINENO"; then :
2061
 
  ac_header_preproc=yes
2062
 
else
2063
 
  ac_header_preproc=no
2064
 
fi
2065
 
rm -f conftest.err conftest.i conftest.$ac_ext
2066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2067
 
$as_echo "$ac_header_preproc" >&6; }
2068
 
 
2069
 
# So?  What about this header?
2070
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2071
 
  yes:no: )
2072
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2073
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2074
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2075
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2076
 
    ;;
2077
 
  no:yes:* )
2078
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2079
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2080
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2081
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2082
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2083
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2084
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2085
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2086
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088
 
( $as_echo "## ------------------------------------------------------ ##
2089
 
## Report this to https://launchpad.net/unity-place-files ##
2090
 
## ------------------------------------------------------ ##"
2091
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2092
 
    ;;
2093
 
esac
2094
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095
 
$as_echo_n "checking for $2... " >&6; }
2096
 
if eval "test \"\${$3+set}\"" = set; then :
2097
 
  $as_echo_n "(cached) " >&6
2098
 
else
2099
 
  eval "$3=\$ac_header_compiler"
2100
 
fi
2101
 
eval ac_res=\$$3
2102
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
 
$as_echo "$ac_res" >&6; }
2104
 
fi
2105
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106
 
 
2107
 
} # ac_fn_c_check_header_mongrel
2108
 
cat >config.log <<_ACEOF
2109
 
This file contains any messages produced by compilers while
2110
 
running configure, to aid debugging if configure makes a mistake.
2111
 
 
2112
 
It was created by unity-place-files $as_me 0.5.38, which was
2113
 
generated by GNU Autoconf 2.67.  Invocation command line was
2114
 
 
2115
 
  $ $0 $@
2116
 
 
2117
 
_ACEOF
2118
 
exec 5>>config.log
2119
 
{
2120
 
cat <<_ASUNAME
2121
 
## --------- ##
2122
 
## Platform. ##
2123
 
## --------- ##
2124
 
 
2125
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2130
 
 
2131
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2133
 
 
2134
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2135
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2136
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2138
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2139
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2140
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2141
 
 
2142
 
_ASUNAME
2143
 
 
2144
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145
 
for as_dir in $PATH
2146
 
do
2147
 
  IFS=$as_save_IFS
2148
 
  test -z "$as_dir" && as_dir=.
2149
 
    $as_echo "PATH: $as_dir"
2150
 
  done
2151
 
IFS=$as_save_IFS
2152
 
 
2153
 
} >&5
2154
 
 
2155
 
cat >&5 <<_ACEOF
2156
 
 
2157
 
 
2158
 
## ----------- ##
2159
 
## Core tests. ##
2160
 
## ----------- ##
2161
 
 
2162
 
_ACEOF
2163
 
 
2164
 
 
2165
 
# Keep a trace of the command line.
2166
 
# Strip out --no-create and --no-recursion so they do not pile up.
2167
 
# Strip out --silent because we don't want to record it for future runs.
2168
 
# Also quote any args containing shell meta-characters.
2169
 
# Make two passes to allow for proper duplicate-argument suppression.
2170
 
ac_configure_args=
2171
 
ac_configure_args0=
2172
 
ac_configure_args1=
2173
 
ac_must_keep_next=false
2174
 
for ac_pass in 1 2
2175
 
do
2176
 
  for ac_arg
2177
 
  do
2178
 
    case $ac_arg in
2179
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181
 
    | -silent | --silent | --silen | --sile | --sil)
2182
 
      continue ;;
2183
 
    *\'*)
2184
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2185
 
    esac
2186
 
    case $ac_pass in
2187
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2188
 
    2)
2189
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2190
 
      if test $ac_must_keep_next = true; then
2191
 
        ac_must_keep_next=false # Got value, back to normal.
2192
 
      else
2193
 
        case $ac_arg in
2194
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2195
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2198
 
            case "$ac_configure_args0 " in
2199
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2200
 
            esac
2201
 
            ;;
2202
 
          -* ) ac_must_keep_next=true ;;
2203
 
        esac
2204
 
      fi
2205
 
      as_fn_append ac_configure_args " '$ac_arg'"
2206
 
      ;;
2207
 
    esac
2208
 
  done
2209
 
done
2210
 
{ ac_configure_args0=; unset ac_configure_args0;}
2211
 
{ ac_configure_args1=; unset ac_configure_args1;}
2212
 
 
2213
 
# When interrupted or exit'd, cleanup temporary files, and complete
2214
 
# config.log.  We remove comments because anyway the quotes in there
2215
 
# would cause problems or look ugly.
2216
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2217
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218
 
trap 'exit_status=$?
2219
 
  # Save into config.log some information that might help in debugging.
2220
 
  {
2221
 
    echo
2222
 
 
2223
 
    $as_echo "## ---------------- ##
2224
 
## Cache variables. ##
2225
 
## ---------------- ##"
2226
 
    echo
2227
 
    # The following way of writing the cache mishandles newlines in values,
2228
 
(
2229
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2230
 
    eval ac_val=\$$ac_var
2231
 
    case $ac_val in #(
2232
 
    *${as_nl}*)
2233
 
      case $ac_var in #(
2234
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2235
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2236
 
      esac
2237
 
      case $ac_var in #(
2238
 
      _ | IFS | as_nl) ;; #(
2239
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2240
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2241
 
      esac ;;
2242
 
    esac
2243
 
  done
2244
 
  (set) 2>&1 |
2245
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2246
 
    *${as_nl}ac_space=\ *)
2247
 
      sed -n \
2248
 
        "s/'\''/'\''\\\\'\'''\''/g;
2249
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2250
 
      ;; #(
2251
 
    *)
2252
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2253
 
      ;;
2254
 
    esac |
2255
 
    sort
2256
 
)
2257
 
    echo
2258
 
 
2259
 
    $as_echo "## ----------------- ##
2260
 
## Output variables. ##
2261
 
## ----------------- ##"
2262
 
    echo
2263
 
    for ac_var in $ac_subst_vars
2264
 
    do
2265
 
      eval ac_val=\$$ac_var
2266
 
      case $ac_val in
2267
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2268
 
      esac
2269
 
      $as_echo "$ac_var='\''$ac_val'\''"
2270
 
    done | sort
2271
 
    echo
2272
 
 
2273
 
    if test -n "$ac_subst_files"; then
2274
 
      $as_echo "## ------------------- ##
2275
 
## File substitutions. ##
2276
 
## ------------------- ##"
2277
 
      echo
2278
 
      for ac_var in $ac_subst_files
2279
 
      do
2280
 
        eval ac_val=\$$ac_var
2281
 
        case $ac_val in
2282
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2283
 
        esac
2284
 
        $as_echo "$ac_var='\''$ac_val'\''"
2285
 
      done | sort
2286
 
      echo
2287
 
    fi
2288
 
 
2289
 
    if test -s confdefs.h; then
2290
 
      $as_echo "## ----------- ##
2291
 
## confdefs.h. ##
2292
 
## ----------- ##"
2293
 
      echo
2294
 
      cat confdefs.h
2295
 
      echo
2296
 
    fi
2297
 
    test "$ac_signal" != 0 &&
2298
 
      $as_echo "$as_me: caught signal $ac_signal"
2299
 
    $as_echo "$as_me: exit $exit_status"
2300
 
  } >&5
2301
 
  rm -f core *.core core.conftest.* &&
2302
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303
 
    exit $exit_status
2304
 
' 0
2305
 
for ac_signal in 1 2 13 15; do
2306
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2307
 
done
2308
 
ac_signal=0
2309
 
 
2310
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2311
 
rm -f -r conftest* confdefs.h
2312
 
 
2313
 
$as_echo "/* confdefs.h */" > confdefs.h
2314
 
 
2315
 
# Predefined preprocessor variables.
2316
 
 
2317
 
cat >>confdefs.h <<_ACEOF
2318
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2319
 
_ACEOF
2320
 
 
2321
 
cat >>confdefs.h <<_ACEOF
2322
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2323
 
_ACEOF
2324
 
 
2325
 
cat >>confdefs.h <<_ACEOF
2326
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2327
 
_ACEOF
2328
 
 
2329
 
cat >>confdefs.h <<_ACEOF
2330
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2331
 
_ACEOF
2332
 
 
2333
 
cat >>confdefs.h <<_ACEOF
2334
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2335
 
_ACEOF
2336
 
 
2337
 
cat >>confdefs.h <<_ACEOF
2338
 
#define PACKAGE_URL "$PACKAGE_URL"
2339
 
_ACEOF
2340
 
 
2341
 
 
2342
 
# Let the site file select an alternate cache file if it wants to.
2343
 
# Prefer an explicitly selected file to automatically selected ones.
2344
 
ac_site_file1=NONE
2345
 
ac_site_file2=NONE
2346
 
if test -n "$CONFIG_SITE"; then
2347
 
  # We do not want a PATH search for config.site.
2348
 
  case $CONFIG_SITE in #((
2349
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2350
 
    */*) ac_site_file1=$CONFIG_SITE;;
2351
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2352
 
  esac
2353
 
elif test "x$prefix" != xNONE; then
2354
 
  ac_site_file1=$prefix/share/config.site
2355
 
  ac_site_file2=$prefix/etc/config.site
2356
 
else
2357
 
  ac_site_file1=$ac_default_prefix/share/config.site
2358
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2359
 
fi
2360
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2361
 
do
2362
 
  test "x$ac_site_file" = xNONE && continue
2363
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2364
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2365
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2366
 
    sed 's/^/| /' "$ac_site_file" >&5
2367
 
    . "$ac_site_file" \
2368
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2369
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370
 
as_fn_error $? "failed to load site script $ac_site_file
2371
 
See \`config.log' for more details" "$LINENO" 5 ; }
2372
 
  fi
2373
 
done
2374
 
 
2375
 
if test -r "$cache_file"; then
2376
 
  # Some versions of bash will fail to source /dev/null (special files
2377
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2378
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2379
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2380
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2381
 
    case $cache_file in
2382
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2383
 
      *)                      . "./$cache_file";;
2384
 
    esac
2385
 
  fi
2386
 
else
2387
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2388
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2389
 
  >$cache_file
2390
 
fi
2391
 
 
2392
 
# Check that the precious variables saved in the cache have kept the same
2393
 
# value.
2394
 
ac_cache_corrupted=false
2395
 
for ac_var in $ac_precious_vars; do
2396
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2397
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2398
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2399
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2400
 
  case $ac_old_set,$ac_new_set in
2401
 
    set,)
2402
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2403
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2404
 
      ac_cache_corrupted=: ;;
2405
 
    ,set)
2406
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2407
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2408
 
      ac_cache_corrupted=: ;;
2409
 
    ,);;
2410
 
    *)
2411
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2412
 
        # differences in whitespace do not lead to failure.
2413
 
        ac_old_val_w=`echo x $ac_old_val`
2414
 
        ac_new_val_w=`echo x $ac_new_val`
2415
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2416
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2417
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2418
 
          ac_cache_corrupted=:
2419
 
        else
2420
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2421
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2422
 
          eval $ac_var=\$ac_old_val
2423
 
        fi
2424
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2425
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2426
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2427
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2428
 
      fi;;
2429
 
  esac
2430
 
  # Pass precious variables to config.status.
2431
 
  if test "$ac_new_set" = set; then
2432
 
    case $ac_new_val in
2433
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2434
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2435
 
    esac
2436
 
    case " $ac_configure_args " in
2437
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2438
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2439
 
    esac
2440
 
  fi
2441
 
done
2442
 
if $ac_cache_corrupted; then
2443
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2446
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2447
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2448
 
fi
2449
 
## -------------------- ##
2450
 
## Main body of script. ##
2451
 
## -------------------- ##
2452
 
 
2453
 
ac_ext=c
2454
 
ac_cpp='$CPP $CPPFLAGS'
2455
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2456
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2457
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2458
 
 
2459
 
 
2460
 
 
2461
 
 
2462
 
am__api_version='1.11'
2463
 
 
2464
 
ac_aux_dir=
2465
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2466
 
  if test -f "$ac_dir/install-sh"; then
2467
 
    ac_aux_dir=$ac_dir
2468
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2469
 
    break
2470
 
  elif test -f "$ac_dir/install.sh"; then
2471
 
    ac_aux_dir=$ac_dir
2472
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2473
 
    break
2474
 
  elif test -f "$ac_dir/shtool"; then
2475
 
    ac_aux_dir=$ac_dir
2476
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2477
 
    break
2478
 
  fi
2479
 
done
2480
 
if test -z "$ac_aux_dir"; then
2481
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2482
 
fi
2483
 
 
2484
 
# These three variables are undocumented and unsupported,
2485
 
# and are intended to be withdrawn in a future Autoconf release.
2486
 
# They can cause serious problems if a builder's source tree is in a directory
2487
 
# whose full name contains unusual characters.
2488
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2489
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2490
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2491
 
 
2492
 
 
2493
 
# Find a good install program.  We prefer a C program (faster),
2494
 
# so one script is as good as another.  But avoid the broken or
2495
 
# incompatible versions:
2496
 
# SysV /etc/install, /usr/sbin/install
2497
 
# SunOS /usr/etc/install
2498
 
# IRIX /sbin/install
2499
 
# AIX /bin/install
2500
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2501
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2502
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2503
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2504
 
# OS/2's system install, which has a completely different semantic
2505
 
# ./install, which can be erroneously created by make from ./install.sh.
2506
 
# Reject install programs that cannot install multiple files.
2507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2509
 
if test -z "$INSTALL"; then
2510
 
if test "${ac_cv_path_install+set}" = set; then :
2511
 
  $as_echo_n "(cached) " >&6
2512
 
else
2513
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514
 
for as_dir in $PATH
2515
 
do
2516
 
  IFS=$as_save_IFS
2517
 
  test -z "$as_dir" && as_dir=.
2518
 
    # Account for people who put trailing slashes in PATH elements.
2519
 
case $as_dir/ in #((
2520
 
  ./ | .// | /[cC]/* | \
2521
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2522
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2523
 
  /usr/ucb/* ) ;;
2524
 
  *)
2525
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2526
 
    # Don't use installbsd from OSF since it installs stuff as root
2527
 
    # by default.
2528
 
    for ac_prog in ginstall scoinst install; do
2529
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2530
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2531
 
          if test $ac_prog = install &&
2532
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2533
 
            # AIX install.  It has an incompatible calling convention.
2534
 
            :
2535
 
          elif test $ac_prog = install &&
2536
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2537
 
            # program-specific install script used by HP pwplus--don't use.
2538
 
            :
2539
 
          else
2540
 
            rm -rf conftest.one conftest.two conftest.dir
2541
 
            echo one > conftest.one
2542
 
            echo two > conftest.two
2543
 
            mkdir conftest.dir
2544
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2545
 
              test -s conftest.one && test -s conftest.two &&
2546
 
              test -s conftest.dir/conftest.one &&
2547
 
              test -s conftest.dir/conftest.two
2548
 
            then
2549
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2550
 
              break 3
2551
 
            fi
2552
 
          fi
2553
 
        fi
2554
 
      done
2555
 
    done
2556
 
    ;;
2557
 
esac
2558
 
 
2559
 
  done
2560
 
IFS=$as_save_IFS
2561
 
 
2562
 
rm -rf conftest.one conftest.two conftest.dir
2563
 
 
2564
 
fi
2565
 
  if test "${ac_cv_path_install+set}" = set; then
2566
 
    INSTALL=$ac_cv_path_install
2567
 
  else
2568
 
    # As a last resort, use the slow shell script.  Don't cache a
2569
 
    # value for INSTALL within a source directory, because that will
2570
 
    # break other packages using the cache if that directory is
2571
 
    # removed, or if the value is a relative name.
2572
 
    INSTALL=$ac_install_sh
2573
 
  fi
2574
 
fi
2575
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2576
 
$as_echo "$INSTALL" >&6; }
2577
 
 
2578
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2579
 
# It thinks the first close brace ends the variable substitution.
2580
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2581
 
 
2582
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2583
 
 
2584
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2585
 
 
2586
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2587
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2588
 
# Just in case
2589
 
sleep 1
2590
 
echo timestamp > conftest.file
2591
 
# Reject unsafe characters in $srcdir or the absolute working directory
2592
 
# name.  Accept space and tab only in the latter.
2593
 
am_lf='
2594
 
'
2595
 
case `pwd` in
2596
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2597
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2598
 
esac
2599
 
case $srcdir in
2600
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2601
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2602
 
esac
2603
 
 
2604
 
# Do `set' in a subshell so we don't clobber the current shell's
2605
 
# arguments.  Must try -L first in case configure is actually a
2606
 
# symlink; some systems play weird games with the mod time of symlinks
2607
 
# (eg FreeBSD returns the mod time of the symlink's containing
2608
 
# directory).
2609
 
if (
2610
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2611
 
   if test "$*" = "X"; then
2612
 
      # -L didn't work.
2613
 
      set X `ls -t "$srcdir/configure" conftest.file`
2614
 
   fi
2615
 
   rm -f conftest.file
2616
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2617
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2618
 
 
2619
 
      # If neither matched, then we have a broken ls.  This can happen
2620
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2621
 
      # broken ls alias from the environment.  This has actually
2622
 
      # happened.  Such a system could not be considered "sane".
2623
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2624
 
alias in your environment" "$LINENO" 5
2625
 
   fi
2626
 
 
2627
 
   test "$2" = conftest.file
2628
 
   )
2629
 
then
2630
 
   # Ok.
2631
 
   :
2632
 
else
2633
 
   as_fn_error $? "newly created file is older than distributed files!
2634
 
Check your system clock" "$LINENO" 5
2635
 
fi
2636
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637
 
$as_echo "yes" >&6; }
2638
 
test "$program_prefix" != NONE &&
2639
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2640
 
# Use a double $ so make ignores it.
2641
 
test "$program_suffix" != NONE &&
2642
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2643
 
# Double any \ or $.
2644
 
# By default was `s,x,x', remove it if useless.
2645
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2646
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2647
 
 
2648
 
# expand $ac_aux_dir to an absolute path
2649
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2650
 
 
2651
 
if test x"${MISSING+set}" != xset; then
2652
 
  case $am_aux_dir in
2653
 
  *\ * | *\     *)
2654
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2655
 
  *)
2656
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2657
 
  esac
2658
 
fi
2659
 
# Use eval to expand $SHELL
2660
 
if eval "$MISSING --run true"; then
2661
 
  am_missing_run="$MISSING --run "
2662
 
else
2663
 
  am_missing_run=
2664
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2665
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2666
 
fi
2667
 
 
2668
 
if test x"${install_sh}" != xset; then
2669
 
  case $am_aux_dir in
2670
 
  *\ * | *\     *)
2671
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2672
 
  *)
2673
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2674
 
  esac
2675
 
fi
2676
 
 
2677
 
# Installed binaries are usually stripped using `strip' when the user
2678
 
# run `make install-strip'.  However `strip' might not be the right
2679
 
# tool to use in cross-compilation environments, therefore Automake
2680
 
# will honor the `STRIP' environment variable to overrule this program.
2681
 
if test "$cross_compiling" != no; then
2682
 
  if test -n "$ac_tool_prefix"; then
2683
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2684
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2685
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686
 
$as_echo_n "checking for $ac_word... " >&6; }
2687
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2688
 
  $as_echo_n "(cached) " >&6
2689
 
else
2690
 
  if test -n "$STRIP"; then
2691
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2692
 
else
2693
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694
 
for as_dir in $PATH
2695
 
do
2696
 
  IFS=$as_save_IFS
2697
 
  test -z "$as_dir" && as_dir=.
2698
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2699
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2701
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702
 
    break 2
2703
 
  fi
2704
 
done
2705
 
  done
2706
 
IFS=$as_save_IFS
2707
 
 
2708
 
fi
2709
 
fi
2710
 
STRIP=$ac_cv_prog_STRIP
2711
 
if test -n "$STRIP"; then
2712
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2713
 
$as_echo "$STRIP" >&6; }
2714
 
else
2715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716
 
$as_echo "no" >&6; }
2717
 
fi
2718
 
 
2719
 
 
2720
 
fi
2721
 
if test -z "$ac_cv_prog_STRIP"; then
2722
 
  ac_ct_STRIP=$STRIP
2723
 
  # Extract the first word of "strip", so it can be a program name with args.
2724
 
set dummy strip; ac_word=$2
2725
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726
 
$as_echo_n "checking for $ac_word... " >&6; }
2727
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2728
 
  $as_echo_n "(cached) " >&6
2729
 
else
2730
 
  if test -n "$ac_ct_STRIP"; then
2731
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2732
 
else
2733
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734
 
for as_dir in $PATH
2735
 
do
2736
 
  IFS=$as_save_IFS
2737
 
  test -z "$as_dir" && as_dir=.
2738
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2739
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2740
 
    ac_cv_prog_ac_ct_STRIP="strip"
2741
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742
 
    break 2
2743
 
  fi
2744
 
done
2745
 
  done
2746
 
IFS=$as_save_IFS
2747
 
 
2748
 
fi
2749
 
fi
2750
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2751
 
if test -n "$ac_ct_STRIP"; then
2752
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2753
 
$as_echo "$ac_ct_STRIP" >&6; }
2754
 
else
2755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756
 
$as_echo "no" >&6; }
2757
 
fi
2758
 
 
2759
 
  if test "x$ac_ct_STRIP" = x; then
2760
 
    STRIP=":"
2761
 
  else
2762
 
    case $cross_compiling:$ac_tool_warned in
2763
 
yes:)
2764
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2765
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2766
 
ac_tool_warned=yes ;;
2767
 
esac
2768
 
    STRIP=$ac_ct_STRIP
2769
 
  fi
2770
 
else
2771
 
  STRIP="$ac_cv_prog_STRIP"
2772
 
fi
2773
 
 
2774
 
fi
2775
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2776
 
 
2777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2778
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2779
 
if test -z "$MKDIR_P"; then
2780
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2781
 
  $as_echo_n "(cached) " >&6
2782
 
else
2783
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2785
 
do
2786
 
  IFS=$as_save_IFS
2787
 
  test -z "$as_dir" && as_dir=.
2788
 
    for ac_prog in mkdir gmkdir; do
2789
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2790
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2791
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2792
 
             'mkdir (GNU coreutils) '* | \
2793
 
             'mkdir (coreutils) '* | \
2794
 
             'mkdir (fileutils) '4.1*)
2795
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2796
 
               break 3;;
2797
 
           esac
2798
 
         done
2799
 
       done
2800
 
  done
2801
 
IFS=$as_save_IFS
2802
 
 
2803
 
fi
2804
 
 
2805
 
  test -d ./--version && rmdir ./--version
2806
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2807
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2808
 
  else
2809
 
    # As a last resort, use the slow shell script.  Don't cache a
2810
 
    # value for MKDIR_P within a source directory, because that will
2811
 
    # break other packages using the cache if that directory is
2812
 
    # removed, or if the value is a relative name.
2813
 
    MKDIR_P="$ac_install_sh -d"
2814
 
  fi
2815
 
fi
2816
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2817
 
$as_echo "$MKDIR_P" >&6; }
2818
 
 
2819
 
mkdir_p="$MKDIR_P"
2820
 
case $mkdir_p in
2821
 
  [\\/$]* | ?:[\\/]*) ;;
2822
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2823
 
esac
2824
 
 
2825
 
for ac_prog in gawk mawk nawk awk
2826
 
do
2827
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2828
 
set dummy $ac_prog; ac_word=$2
2829
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830
 
$as_echo_n "checking for $ac_word... " >&6; }
2831
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2832
 
  $as_echo_n "(cached) " >&6
2833
 
else
2834
 
  if test -n "$AWK"; then
2835
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2836
 
else
2837
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838
 
for as_dir in $PATH
2839
 
do
2840
 
  IFS=$as_save_IFS
2841
 
  test -z "$as_dir" && as_dir=.
2842
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2843
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844
 
    ac_cv_prog_AWK="$ac_prog"
2845
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846
 
    break 2
2847
 
  fi
2848
 
done
2849
 
  done
2850
 
IFS=$as_save_IFS
2851
 
 
2852
 
fi
2853
 
fi
2854
 
AWK=$ac_cv_prog_AWK
2855
 
if test -n "$AWK"; then
2856
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2857
 
$as_echo "$AWK" >&6; }
2858
 
else
2859
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860
 
$as_echo "no" >&6; }
2861
 
fi
2862
 
 
2863
 
 
2864
 
  test -n "$AWK" && break
2865
 
done
2866
 
 
2867
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2868
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2869
 
set x ${MAKE-make}
2870
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2871
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2872
 
  $as_echo_n "(cached) " >&6
2873
 
else
2874
 
  cat >conftest.make <<\_ACEOF
2875
 
SHELL = /bin/sh
2876
 
all:
2877
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2878
 
_ACEOF
2879
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2880
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2881
 
  *@@@%%%=?*=@@@%%%*)
2882
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2883
 
  *)
2884
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2885
 
esac
2886
 
rm -f conftest.make
2887
 
fi
2888
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2889
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2890
 
$as_echo "yes" >&6; }
2891
 
  SET_MAKE=
2892
 
else
2893
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894
 
$as_echo "no" >&6; }
2895
 
  SET_MAKE="MAKE=${MAKE-make}"
2896
 
fi
2897
 
 
2898
 
rm -rf .tst 2>/dev/null
2899
 
mkdir .tst 2>/dev/null
2900
 
if test -d .tst; then
2901
 
  am__leading_dot=.
2902
 
else
2903
 
  am__leading_dot=_
2904
 
fi
2905
 
rmdir .tst 2>/dev/null
2906
 
 
2907
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2908
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2909
 
  # is not polluted with repeated "-I."
2910
 
  am__isrc=' -I$(srcdir)'
2911
 
  # test to see if srcdir already configured
2912
 
  if test -f $srcdir/config.status; then
2913
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2914
 
  fi
2915
 
fi
2916
 
 
2917
 
# test whether we have cygpath
2918
 
if test -z "$CYGPATH_W"; then
2919
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2920
 
    CYGPATH_W='cygpath -w'
2921
 
  else
2922
 
    CYGPATH_W=echo
2923
 
  fi
2924
 
fi
2925
 
 
2926
 
 
2927
 
# Define the identity of the package.
2928
 
 PACKAGE=unity-place-files
2929
 
 VERSION=0.5.38
2930
 
 
2931
 
 
2932
 
cat >>confdefs.h <<_ACEOF
2933
 
#define PACKAGE "$PACKAGE"
2934
 
_ACEOF
2935
 
 
2936
 
 
2937
 
cat >>confdefs.h <<_ACEOF
2938
 
#define VERSION "$VERSION"
2939
 
_ACEOF
2940
 
 
2941
 
# Some tools Automake needs.
2942
 
 
2943
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2944
 
 
2945
 
 
2946
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2947
 
 
2948
 
 
2949
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2950
 
 
2951
 
 
2952
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2953
 
 
2954
 
 
2955
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2956
 
 
2957
 
# We need awk for the "check" target.  The system "awk" is bad on
2958
 
# some platforms.
2959
 
# Always define AMTAR for backward compatibility.
2960
 
 
2961
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2962
 
 
2963
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2964
 
 
2965
 
 
2966
 
 
2967
 
 
2968
 
 
2969
 
 
2970
 
#####################################################
2971
 
# Silent build rules
2972
 
#####################################################
2973
 
# Check whether --enable-silent-rules was given.
2974
 
if test "${enable_silent_rules+set}" = set; then :
2975
 
  enableval=$enable_silent_rules;
2976
 
fi
2977
 
 
2978
 
case $enable_silent_rules in
2979
 
yes) AM_DEFAULT_VERBOSITY=0;;
2980
 
no)  AM_DEFAULT_VERBOSITY=1;;
2981
 
*)   AM_DEFAULT_VERBOSITY=0;;
2982
 
esac
2983
 
AM_BACKSLASH='\'
2984
 
 
2985
 
 
2986
 
 
2987
 
 
2988
 
ac_config_headers="$ac_config_headers config.h"
2989
 
 
2990
 
 
2991
 
#####################################################
2992
 
# Init the other things we depend on
2993
 
#####################################################
2994
 
 
2995
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2996
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2997
 
    # Check whether --enable-maintainer-mode was given.
2998
 
if test "${enable_maintainer_mode+set}" = set; then :
2999
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3000
 
else
3001
 
  USE_MAINTAINER_MODE=no
3002
 
fi
3003
 
 
3004
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3005
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3006
 
   if test $USE_MAINTAINER_MODE = yes; then
3007
 
  MAINTAINER_MODE_TRUE=
3008
 
  MAINTAINER_MODE_FALSE='#'
3009
 
else
3010
 
  MAINTAINER_MODE_TRUE='#'
3011
 
  MAINTAINER_MODE_FALSE=
3012
 
fi
3013
 
 
3014
 
  MAINT=$MAINTAINER_MODE_TRUE
3015
 
 
3016
 
 
3017
 
# Extract the first word of "valac", so it can be a program name with args.
3018
 
set dummy valac; ac_word=$2
3019
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020
 
$as_echo_n "checking for $ac_word... " >&6; }
3021
 
if test "${ac_cv_path_VALAC+set}" = set; then :
3022
 
  $as_echo_n "(cached) " >&6
3023
 
else
3024
 
  case $VALAC in
3025
 
  [\\/]* | ?:[\\/]*)
3026
 
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
3027
 
  ;;
3028
 
  *)
3029
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030
 
for as_dir in $PATH
3031
 
do
3032
 
  IFS=$as_save_IFS
3033
 
  test -z "$as_dir" && as_dir=.
3034
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3035
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036
 
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
3037
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038
 
    break 2
3039
 
  fi
3040
 
done
3041
 
  done
3042
 
IFS=$as_save_IFS
3043
 
 
3044
 
  ;;
3045
 
esac
3046
 
fi
3047
 
VALAC=$ac_cv_path_VALAC
3048
 
if test -n "$VALAC"; then
3049
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
3050
 
$as_echo "$VALAC" >&6; }
3051
 
else
3052
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053
 
$as_echo "no" >&6; }
3054
 
fi
3055
 
 
3056
 
 
3057
 
 if test -z "$VALAC"; then :
3058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
3059
 
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
3060
 
else
3061
 
  if test -n "0.8.0"; then :
3062
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.8.0" >&5
3063
 
$as_echo_n "checking $VALAC is at least version 0.8.0... " >&6; }
3064
 
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
3065
 
       as_arg_v1=0.8.0
3066
 
as_arg_v2="$am__vala_version"
3067
 
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
3068
 
case $? in #(
3069
 
  1) :
3070
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3071
 
$as_echo "yes" >&6; } ;; #(
3072
 
  0) :
3073
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3074
 
$as_echo "yes" >&6; } ;; #(
3075
 
  2) :
3076
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077
 
$as_echo "no" >&6; }
3078
 
          as_fn_error $? "Vala 0.8.0 not found." "$LINENO" 5  ;; #(
3079
 
  *) :
3080
 
     ;;
3081
 
esac
3082
 
fi
3083
 
fi
3084
 
 
3085
 
if test -z "$VALAC"; then :
3086
 
  as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
3087
 
fi
3088
 
ac_ext=c
3089
 
ac_cpp='$CPP $CPPFLAGS'
3090
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3091
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3092
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3093
 
if test -n "$ac_tool_prefix"; then
3094
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3095
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097
 
$as_echo_n "checking for $ac_word... " >&6; }
3098
 
if test "${ac_cv_prog_CC+set}" = set; then :
3099
 
  $as_echo_n "(cached) " >&6
3100
 
else
3101
 
  if test -n "$CC"; then
3102
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3103
 
else
3104
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105
 
for as_dir in $PATH
3106
 
do
3107
 
  IFS=$as_save_IFS
3108
 
  test -z "$as_dir" && as_dir=.
3109
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3110
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3112
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113
 
    break 2
3114
 
  fi
3115
 
done
3116
 
  done
3117
 
IFS=$as_save_IFS
3118
 
 
3119
 
fi
3120
 
fi
3121
 
CC=$ac_cv_prog_CC
3122
 
if test -n "$CC"; then
3123
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124
 
$as_echo "$CC" >&6; }
3125
 
else
3126
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127
 
$as_echo "no" >&6; }
3128
 
fi
3129
 
 
3130
 
 
3131
 
fi
3132
 
if test -z "$ac_cv_prog_CC"; then
3133
 
  ac_ct_CC=$CC
3134
 
  # Extract the first word of "gcc", so it can be a program name with args.
3135
 
set dummy gcc; ac_word=$2
3136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137
 
$as_echo_n "checking for $ac_word... " >&6; }
3138
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3139
 
  $as_echo_n "(cached) " >&6
3140
 
else
3141
 
  if test -n "$ac_ct_CC"; then
3142
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3143
 
else
3144
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145
 
for as_dir in $PATH
3146
 
do
3147
 
  IFS=$as_save_IFS
3148
 
  test -z "$as_dir" && as_dir=.
3149
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3150
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151
 
    ac_cv_prog_ac_ct_CC="gcc"
3152
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153
 
    break 2
3154
 
  fi
3155
 
done
3156
 
  done
3157
 
IFS=$as_save_IFS
3158
 
 
3159
 
fi
3160
 
fi
3161
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3162
 
if test -n "$ac_ct_CC"; then
3163
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3164
 
$as_echo "$ac_ct_CC" >&6; }
3165
 
else
3166
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167
 
$as_echo "no" >&6; }
3168
 
fi
3169
 
 
3170
 
  if test "x$ac_ct_CC" = x; then
3171
 
    CC=""
3172
 
  else
3173
 
    case $cross_compiling:$ac_tool_warned in
3174
 
yes:)
3175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177
 
ac_tool_warned=yes ;;
3178
 
esac
3179
 
    CC=$ac_ct_CC
3180
 
  fi
3181
 
else
3182
 
  CC="$ac_cv_prog_CC"
3183
 
fi
3184
 
 
3185
 
if test -z "$CC"; then
3186
 
          if test -n "$ac_tool_prefix"; then
3187
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3188
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3189
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190
 
$as_echo_n "checking for $ac_word... " >&6; }
3191
 
if test "${ac_cv_prog_CC+set}" = set; then :
3192
 
  $as_echo_n "(cached) " >&6
3193
 
else
3194
 
  if test -n "$CC"; then
3195
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3196
 
else
3197
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198
 
for as_dir in $PATH
3199
 
do
3200
 
  IFS=$as_save_IFS
3201
 
  test -z "$as_dir" && as_dir=.
3202
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3203
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3205
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206
 
    break 2
3207
 
  fi
3208
 
done
3209
 
  done
3210
 
IFS=$as_save_IFS
3211
 
 
3212
 
fi
3213
 
fi
3214
 
CC=$ac_cv_prog_CC
3215
 
if test -n "$CC"; then
3216
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3217
 
$as_echo "$CC" >&6; }
3218
 
else
3219
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220
 
$as_echo "no" >&6; }
3221
 
fi
3222
 
 
3223
 
 
3224
 
  fi
3225
 
fi
3226
 
if test -z "$CC"; then
3227
 
  # Extract the first word of "cc", so it can be a program name with args.
3228
 
set dummy cc; ac_word=$2
3229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230
 
$as_echo_n "checking for $ac_word... " >&6; }
3231
 
if test "${ac_cv_prog_CC+set}" = set; then :
3232
 
  $as_echo_n "(cached) " >&6
3233
 
else
3234
 
  if test -n "$CC"; then
3235
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3236
 
else
3237
 
  ac_prog_rejected=no
3238
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239
 
for as_dir in $PATH
3240
 
do
3241
 
  IFS=$as_save_IFS
3242
 
  test -z "$as_dir" && as_dir=.
3243
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3244
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3246
 
       ac_prog_rejected=yes
3247
 
       continue
3248
 
     fi
3249
 
    ac_cv_prog_CC="cc"
3250
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251
 
    break 2
3252
 
  fi
3253
 
done
3254
 
  done
3255
 
IFS=$as_save_IFS
3256
 
 
3257
 
if test $ac_prog_rejected = yes; then
3258
 
  # We found a bogon in the path, so make sure we never use it.
3259
 
  set dummy $ac_cv_prog_CC
3260
 
  shift
3261
 
  if test $# != 0; then
3262
 
    # We chose a different compiler from the bogus one.
3263
 
    # However, it has the same basename, so the bogon will be chosen
3264
 
    # first if we set CC to just the basename; use the full file name.
3265
 
    shift
3266
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3267
 
  fi
3268
 
fi
3269
 
fi
3270
 
fi
3271
 
CC=$ac_cv_prog_CC
3272
 
if test -n "$CC"; then
3273
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274
 
$as_echo "$CC" >&6; }
3275
 
else
3276
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277
 
$as_echo "no" >&6; }
3278
 
fi
3279
 
 
3280
 
 
3281
 
fi
3282
 
if test -z "$CC"; then
3283
 
  if test -n "$ac_tool_prefix"; then
3284
 
  for ac_prog in cl.exe
3285
 
  do
3286
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3287
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3288
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289
 
$as_echo_n "checking for $ac_word... " >&6; }
3290
 
if test "${ac_cv_prog_CC+set}" = set; then :
3291
 
  $as_echo_n "(cached) " >&6
3292
 
else
3293
 
  if test -n "$CC"; then
3294
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3295
 
else
3296
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297
 
for as_dir in $PATH
3298
 
do
3299
 
  IFS=$as_save_IFS
3300
 
  test -z "$as_dir" && as_dir=.
3301
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3302
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3304
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305
 
    break 2
3306
 
  fi
3307
 
done
3308
 
  done
3309
 
IFS=$as_save_IFS
3310
 
 
3311
 
fi
3312
 
fi
3313
 
CC=$ac_cv_prog_CC
3314
 
if test -n "$CC"; then
3315
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3316
 
$as_echo "$CC" >&6; }
3317
 
else
3318
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319
 
$as_echo "no" >&6; }
3320
 
fi
3321
 
 
3322
 
 
3323
 
    test -n "$CC" && break
3324
 
  done
3325
 
fi
3326
 
if test -z "$CC"; then
3327
 
  ac_ct_CC=$CC
3328
 
  for ac_prog in cl.exe
3329
 
do
3330
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3331
 
set dummy $ac_prog; ac_word=$2
3332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3333
 
$as_echo_n "checking for $ac_word... " >&6; }
3334
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3335
 
  $as_echo_n "(cached) " >&6
3336
 
else
3337
 
  if test -n "$ac_ct_CC"; then
3338
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3339
 
else
3340
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341
 
for as_dir in $PATH
3342
 
do
3343
 
  IFS=$as_save_IFS
3344
 
  test -z "$as_dir" && as_dir=.
3345
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3346
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3347
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3348
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3349
 
    break 2
3350
 
  fi
3351
 
done
3352
 
  done
3353
 
IFS=$as_save_IFS
3354
 
 
3355
 
fi
3356
 
fi
3357
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3358
 
if test -n "$ac_ct_CC"; then
3359
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3360
 
$as_echo "$ac_ct_CC" >&6; }
3361
 
else
3362
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363
 
$as_echo "no" >&6; }
3364
 
fi
3365
 
 
3366
 
 
3367
 
  test -n "$ac_ct_CC" && break
3368
 
done
3369
 
 
3370
 
  if test "x$ac_ct_CC" = x; then
3371
 
    CC=""
3372
 
  else
3373
 
    case $cross_compiling:$ac_tool_warned in
3374
 
yes:)
3375
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3376
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3377
 
ac_tool_warned=yes ;;
3378
 
esac
3379
 
    CC=$ac_ct_CC
3380
 
  fi
3381
 
fi
3382
 
 
3383
 
fi
3384
 
 
3385
 
 
3386
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3389
 
See \`config.log' for more details" "$LINENO" 5 ; }
3390
 
 
3391
 
# Provide some information about the compiler.
3392
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3393
 
set X $ac_compile
3394
 
ac_compiler=$2
3395
 
for ac_option in --version -v -V -qversion; do
3396
 
  { { ac_try="$ac_compiler $ac_option >&5"
3397
 
case "(($ac_try" in
3398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399
 
  *) ac_try_echo=$ac_try;;
3400
 
esac
3401
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402
 
$as_echo "$ac_try_echo"; } >&5
3403
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3404
 
  ac_status=$?
3405
 
  if test -s conftest.err; then
3406
 
    sed '10a\
3407
 
... rest of stderr output deleted ...
3408
 
         10q' conftest.err >conftest.er1
3409
 
    cat conftest.er1 >&5
3410
 
  fi
3411
 
  rm -f conftest.er1 conftest.err
3412
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413
 
  test $ac_status = 0; }
3414
 
done
3415
 
 
3416
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417
 
/* end confdefs.h.  */
3418
 
 
3419
 
int
3420
 
main ()
3421
 
{
3422
 
 
3423
 
  ;
3424
 
  return 0;
3425
 
}
3426
 
_ACEOF
3427
 
ac_clean_files_save=$ac_clean_files
3428
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3429
 
# Try to create an executable without -o first, disregard a.out.
3430
 
# It will help us diagnose broken compilers, and finding out an intuition
3431
 
# of exeext.
3432
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3433
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3434
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3435
 
 
3436
 
# The possible output files:
3437
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3438
 
 
3439
 
ac_rmfiles=
3440
 
for ac_file in $ac_files
3441
 
do
3442
 
  case $ac_file in
3443
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3444
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3445
 
  esac
3446
 
done
3447
 
rm -f $ac_rmfiles
3448
 
 
3449
 
if { { ac_try="$ac_link_default"
3450
 
case "(($ac_try" in
3451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452
 
  *) ac_try_echo=$ac_try;;
3453
 
esac
3454
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455
 
$as_echo "$ac_try_echo"; } >&5
3456
 
  (eval "$ac_link_default") 2>&5
3457
 
  ac_status=$?
3458
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459
 
  test $ac_status = 0; }; then :
3460
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3461
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3462
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3463
 
# so that the user can short-circuit this test for compilers unknown to
3464
 
# Autoconf.
3465
 
for ac_file in $ac_files ''
3466
 
do
3467
 
  test -f "$ac_file" || continue
3468
 
  case $ac_file in
3469
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3470
 
        ;;
3471
 
    [ab].out )
3472
 
        # We found the default executable, but exeext='' is most
3473
 
        # certainly right.
3474
 
        break;;
3475
 
    *.* )
3476
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3477
 
        then :; else
3478
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3479
 
        fi
3480
 
        # We set ac_cv_exeext here because the later test for it is not
3481
 
        # safe: cross compilers may not add the suffix if given an `-o'
3482
 
        # argument, so we may need to know it at that point already.
3483
 
        # Even if this section looks crufty: it has the advantage of
3484
 
        # actually working.
3485
 
        break;;
3486
 
    * )
3487
 
        break;;
3488
 
  esac
3489
 
done
3490
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3491
 
 
3492
 
else
3493
 
  ac_file=''
3494
 
fi
3495
 
if test -z "$ac_file"; then :
3496
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497
 
$as_echo "no" >&6; }
3498
 
$as_echo "$as_me: failed program was:" >&5
3499
 
sed 's/^/| /' conftest.$ac_ext >&5
3500
 
 
3501
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503
 
as_fn_error 77 "C compiler cannot create executables
3504
 
See \`config.log' for more details" "$LINENO" 5 ; }
3505
 
else
3506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3507
 
$as_echo "yes" >&6; }
3508
 
fi
3509
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3510
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3512
 
$as_echo "$ac_file" >&6; }
3513
 
ac_exeext=$ac_cv_exeext
3514
 
 
3515
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3516
 
ac_clean_files=$ac_clean_files_save
3517
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3518
 
$as_echo_n "checking for suffix of executables... " >&6; }
3519
 
if { { ac_try="$ac_link"
3520
 
case "(($ac_try" in
3521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522
 
  *) ac_try_echo=$ac_try;;
3523
 
esac
3524
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525
 
$as_echo "$ac_try_echo"; } >&5
3526
 
  (eval "$ac_link") 2>&5
3527
 
  ac_status=$?
3528
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529
 
  test $ac_status = 0; }; then :
3530
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3531
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3532
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3533
 
# `rm'.
3534
 
for ac_file in conftest.exe conftest conftest.*; do
3535
 
  test -f "$ac_file" || continue
3536
 
  case $ac_file in
3537
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3538
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3539
 
          break;;
3540
 
    * ) break;;
3541
 
  esac
3542
 
done
3543
 
else
3544
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3547
 
See \`config.log' for more details" "$LINENO" 5 ; }
3548
 
fi
3549
 
rm -f conftest conftest$ac_cv_exeext
3550
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3551
 
$as_echo "$ac_cv_exeext" >&6; }
3552
 
 
3553
 
rm -f conftest.$ac_ext
3554
 
EXEEXT=$ac_cv_exeext
3555
 
ac_exeext=$EXEEXT
3556
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557
 
/* end confdefs.h.  */
3558
 
#include <stdio.h>
3559
 
int
3560
 
main ()
3561
 
{
3562
 
FILE *f = fopen ("conftest.out", "w");
3563
 
 return ferror (f) || fclose (f) != 0;
3564
 
 
3565
 
  ;
3566
 
  return 0;
3567
 
}
3568
 
_ACEOF
3569
 
ac_clean_files="$ac_clean_files conftest.out"
3570
 
# Check that the compiler produces executables we can run.  If not, either
3571
 
# the compiler is broken, or we cross compile.
3572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3573
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3574
 
if test "$cross_compiling" != yes; then
3575
 
  { { ac_try="$ac_link"
3576
 
case "(($ac_try" in
3577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578
 
  *) ac_try_echo=$ac_try;;
3579
 
esac
3580
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3581
 
$as_echo "$ac_try_echo"; } >&5
3582
 
  (eval "$ac_link") 2>&5
3583
 
  ac_status=$?
3584
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585
 
  test $ac_status = 0; }
3586
 
  if { ac_try='./conftest$ac_cv_exeext'
3587
 
  { { case "(($ac_try" in
3588
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589
 
  *) ac_try_echo=$ac_try;;
3590
 
esac
3591
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592
 
$as_echo "$ac_try_echo"; } >&5
3593
 
  (eval "$ac_try") 2>&5
3594
 
  ac_status=$?
3595
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596
 
  test $ac_status = 0; }; }; then
3597
 
    cross_compiling=no
3598
 
  else
3599
 
    if test "$cross_compiling" = maybe; then
3600
 
        cross_compiling=yes
3601
 
    else
3602
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3603
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604
 
as_fn_error $? "cannot run C compiled programs.
3605
 
If you meant to cross compile, use \`--host'.
3606
 
See \`config.log' for more details" "$LINENO" 5 ; }
3607
 
    fi
3608
 
  fi
3609
 
fi
3610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3611
 
$as_echo "$cross_compiling" >&6; }
3612
 
 
3613
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3614
 
ac_clean_files=$ac_clean_files_save
3615
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3616
 
$as_echo_n "checking for suffix of object files... " >&6; }
3617
 
if test "${ac_cv_objext+set}" = set; then :
3618
 
  $as_echo_n "(cached) " >&6
3619
 
else
3620
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621
 
/* end confdefs.h.  */
3622
 
 
3623
 
int
3624
 
main ()
3625
 
{
3626
 
 
3627
 
  ;
3628
 
  return 0;
3629
 
}
3630
 
_ACEOF
3631
 
rm -f conftest.o conftest.obj
3632
 
if { { ac_try="$ac_compile"
3633
 
case "(($ac_try" in
3634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635
 
  *) ac_try_echo=$ac_try;;
3636
 
esac
3637
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638
 
$as_echo "$ac_try_echo"; } >&5
3639
 
  (eval "$ac_compile") 2>&5
3640
 
  ac_status=$?
3641
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642
 
  test $ac_status = 0; }; then :
3643
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3644
 
  test -f "$ac_file" || continue;
3645
 
  case $ac_file in
3646
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3647
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3648
 
       break;;
3649
 
  esac
3650
 
done
3651
 
else
3652
 
  $as_echo "$as_me: failed program was:" >&5
3653
 
sed 's/^/| /' conftest.$ac_ext >&5
3654
 
 
3655
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3658
 
See \`config.log' for more details" "$LINENO" 5 ; }
3659
 
fi
3660
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3661
 
fi
3662
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3663
 
$as_echo "$ac_cv_objext" >&6; }
3664
 
OBJEXT=$ac_cv_objext
3665
 
ac_objext=$OBJEXT
3666
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3667
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3668
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3669
 
  $as_echo_n "(cached) " >&6
3670
 
else
3671
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672
 
/* end confdefs.h.  */
3673
 
 
3674
 
int
3675
 
main ()
3676
 
{
3677
 
#ifndef __GNUC__
3678
 
       choke me
3679
 
#endif
3680
 
 
3681
 
  ;
3682
 
  return 0;
3683
 
}
3684
 
_ACEOF
3685
 
if ac_fn_c_try_compile "$LINENO"; then :
3686
 
  ac_compiler_gnu=yes
3687
 
else
3688
 
  ac_compiler_gnu=no
3689
 
fi
3690
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3692
 
 
3693
 
fi
3694
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3695
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3696
 
if test $ac_compiler_gnu = yes; then
3697
 
  GCC=yes
3698
 
else
3699
 
  GCC=
3700
 
fi
3701
 
ac_test_CFLAGS=${CFLAGS+set}
3702
 
ac_save_CFLAGS=$CFLAGS
3703
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3704
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3705
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3706
 
  $as_echo_n "(cached) " >&6
3707
 
else
3708
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3709
 
   ac_c_werror_flag=yes
3710
 
   ac_cv_prog_cc_g=no
3711
 
   CFLAGS="-g"
3712
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713
 
/* end confdefs.h.  */
3714
 
 
3715
 
int
3716
 
main ()
3717
 
{
3718
 
 
3719
 
  ;
3720
 
  return 0;
3721
 
}
3722
 
_ACEOF
3723
 
if ac_fn_c_try_compile "$LINENO"; then :
3724
 
  ac_cv_prog_cc_g=yes
3725
 
else
3726
 
  CFLAGS=""
3727
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728
 
/* end confdefs.h.  */
3729
 
 
3730
 
int
3731
 
main ()
3732
 
{
3733
 
 
3734
 
  ;
3735
 
  return 0;
3736
 
}
3737
 
_ACEOF
3738
 
if ac_fn_c_try_compile "$LINENO"; then :
3739
 
 
3740
 
else
3741
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3742
 
         CFLAGS="-g"
3743
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744
 
/* end confdefs.h.  */
3745
 
 
3746
 
int
3747
 
main ()
3748
 
{
3749
 
 
3750
 
  ;
3751
 
  return 0;
3752
 
}
3753
 
_ACEOF
3754
 
if ac_fn_c_try_compile "$LINENO"; then :
3755
 
  ac_cv_prog_cc_g=yes
3756
 
fi
3757
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758
 
fi
3759
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760
 
fi
3761
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3763
 
fi
3764
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3765
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3766
 
if test "$ac_test_CFLAGS" = set; then
3767
 
  CFLAGS=$ac_save_CFLAGS
3768
 
elif test $ac_cv_prog_cc_g = yes; then
3769
 
  if test "$GCC" = yes; then
3770
 
    CFLAGS="-g -O2"
3771
 
  else
3772
 
    CFLAGS="-g"
3773
 
  fi
3774
 
else
3775
 
  if test "$GCC" = yes; then
3776
 
    CFLAGS="-O2"
3777
 
  else
3778
 
    CFLAGS=
3779
 
  fi
3780
 
fi
3781
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3782
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3783
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3784
 
  $as_echo_n "(cached) " >&6
3785
 
else
3786
 
  ac_cv_prog_cc_c89=no
3787
 
ac_save_CC=$CC
3788
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789
 
/* end confdefs.h.  */
3790
 
#include <stdarg.h>
3791
 
#include <stdio.h>
3792
 
#include <sys/types.h>
3793
 
#include <sys/stat.h>
3794
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3795
 
struct buf { int x; };
3796
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3797
 
static char *e (p, i)
3798
 
     char **p;
3799
 
     int i;
3800
 
{
3801
 
  return p[i];
3802
 
}
3803
 
static char *f (char * (*g) (char **, int), char **p, ...)
3804
 
{
3805
 
  char *s;
3806
 
  va_list v;
3807
 
  va_start (v,p);
3808
 
  s = g (p, va_arg (v,int));
3809
 
  va_end (v);
3810
 
  return s;
3811
 
}
3812
 
 
3813
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3814
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3815
 
   These don't provoke an error unfortunately, instead are silently treated
3816
 
   as 'x'.  The following induces an error, until -std is added to get
3817
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3818
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3819
 
   that's true only with -std.  */
3820
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3821
 
 
3822
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3823
 
   inside strings and character constants.  */
3824
 
#define FOO(x) 'x'
3825
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3826
 
 
3827
 
int test (int i, double x);
3828
 
struct s1 {int (*f) (int a);};
3829
 
struct s2 {int (*f) (double a);};
3830
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3831
 
int argc;
3832
 
char **argv;
3833
 
int
3834
 
main ()
3835
 
{
3836
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3837
 
  ;
3838
 
  return 0;
3839
 
}
3840
 
_ACEOF
3841
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3842
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3843
 
do
3844
 
  CC="$ac_save_CC $ac_arg"
3845
 
  if ac_fn_c_try_compile "$LINENO"; then :
3846
 
  ac_cv_prog_cc_c89=$ac_arg
3847
 
fi
3848
 
rm -f core conftest.err conftest.$ac_objext
3849
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3850
 
done
3851
 
rm -f conftest.$ac_ext
3852
 
CC=$ac_save_CC
3853
 
 
3854
 
fi
3855
 
# AC_CACHE_VAL
3856
 
case "x$ac_cv_prog_cc_c89" in
3857
 
  x)
3858
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3859
 
$as_echo "none needed" >&6; } ;;
3860
 
  xno)
3861
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3862
 
$as_echo "unsupported" >&6; } ;;
3863
 
  *)
3864
 
    CC="$CC $ac_cv_prog_cc_c89"
3865
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3866
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3867
 
esac
3868
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3869
 
 
3870
 
fi
3871
 
 
3872
 
ac_ext=c
3873
 
ac_cpp='$CPP $CPPFLAGS'
3874
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3875
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3876
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877
 
DEPDIR="${am__leading_dot}deps"
3878
 
 
3879
 
ac_config_commands="$ac_config_commands depfiles"
3880
 
 
3881
 
 
3882
 
am_make=${MAKE-make}
3883
 
cat > confinc << 'END'
3884
 
am__doit:
3885
 
        @echo this is the am__doit target
3886
 
.PHONY: am__doit
3887
 
END
3888
 
# If we don't find an include directive, just comment out the code.
3889
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3890
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3891
 
am__include="#"
3892
 
am__quote=
3893
 
_am_result=none
3894
 
# First try GNU make style include.
3895
 
echo "include confinc" > confmf
3896
 
# Ignore all kinds of additional output from `make'.
3897
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3898
 
*the\ am__doit\ target*)
3899
 
  am__include=include
3900
 
  am__quote=
3901
 
  _am_result=GNU
3902
 
  ;;
3903
 
esac
3904
 
# Now try BSD make style include.
3905
 
if test "$am__include" = "#"; then
3906
 
   echo '.include "confinc"' > confmf
3907
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3908
 
   *the\ am__doit\ target*)
3909
 
     am__include=.include
3910
 
     am__quote="\""
3911
 
     _am_result=BSD
3912
 
     ;;
3913
 
   esac
3914
 
fi
3915
 
 
3916
 
 
3917
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3918
 
$as_echo "$_am_result" >&6; }
3919
 
rm -f confinc confmf
3920
 
 
3921
 
# Check whether --enable-dependency-tracking was given.
3922
 
if test "${enable_dependency_tracking+set}" = set; then :
3923
 
  enableval=$enable_dependency_tracking;
3924
 
fi
3925
 
 
3926
 
if test "x$enable_dependency_tracking" != xno; then
3927
 
  am_depcomp="$ac_aux_dir/depcomp"
3928
 
  AMDEPBACKSLASH='\'
3929
 
fi
3930
 
 if test "x$enable_dependency_tracking" != xno; then
3931
 
  AMDEP_TRUE=
3932
 
  AMDEP_FALSE='#'
3933
 
else
3934
 
  AMDEP_TRUE='#'
3935
 
  AMDEP_FALSE=
3936
 
fi
3937
 
 
3938
 
 
3939
 
 
3940
 
depcc="$CC"   am_compiler_list=
3941
 
 
3942
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3943
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3944
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3945
 
  $as_echo_n "(cached) " >&6
3946
 
else
3947
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3948
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3949
 
  # making bogus files that we don't know about and never remove.  For
3950
 
  # instance it was reported that on HP-UX the gcc test will end up
3951
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3952
 
  # in D'.
3953
 
  mkdir conftest.dir
3954
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3955
 
  # using a relative directory.
3956
 
  cp "$am_depcomp" conftest.dir
3957
 
  cd conftest.dir
3958
 
  # We will build objects and dependencies in a subdirectory because
3959
 
  # it helps to detect inapplicable dependency modes.  For instance
3960
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3961
 
  # side effect of compilation, but ICC will put the dependencies in
3962
 
  # the current directory while Tru64 will put them in the object
3963
 
  # directory.
3964
 
  mkdir sub
3965
 
 
3966
 
  am_cv_CC_dependencies_compiler_type=none
3967
 
  if test "$am_compiler_list" = ""; then
3968
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3969
 
  fi
3970
 
  am__universal=false
3971
 
  case " $depcc " in #(
3972
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3973
 
     esac
3974
 
 
3975
 
  for depmode in $am_compiler_list; do
3976
 
    # Setup a source with many dependencies, because some compilers
3977
 
    # like to wrap large dependency lists on column 80 (with \), and
3978
 
    # we should not choose a depcomp mode which is confused by this.
3979
 
    #
3980
 
    # We need to recreate these files for each test, as the compiler may
3981
 
    # overwrite some of them when testing with obscure command lines.
3982
 
    # This happens at least with the AIX C compiler.
3983
 
    : > sub/conftest.c
3984
 
    for i in 1 2 3 4 5 6; do
3985
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3986
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3987
 
      # Solaris 8's {/usr,}/bin/sh.
3988
 
      touch sub/conftst$i.h
3989
 
    done
3990
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3991
 
 
3992
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3993
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3994
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3995
 
    # versions had trouble with output in subdirs
3996
 
    am__obj=sub/conftest.${OBJEXT-o}
3997
 
    am__minus_obj="-o $am__obj"
3998
 
    case $depmode in
3999
 
    gcc)
4000
 
      # This depmode causes a compiler race in universal mode.
4001
 
      test "$am__universal" = false || continue
4002
 
      ;;
4003
 
    nosideeffect)
4004
 
      # after this tag, mechanisms are not by side-effect, so they'll
4005
 
      # only be used when explicitly requested
4006
 
      if test "x$enable_dependency_tracking" = xyes; then
4007
 
        continue
4008
 
      else
4009
 
        break
4010
 
      fi
4011
 
      ;;
4012
 
    msvisualcpp | msvcmsys)
4013
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4014
 
      # not run yet.  These depmodes are late enough in the game, and
4015
 
      # so weak that their functioning should not be impacted.
4016
 
      am__obj=conftest.${OBJEXT-o}
4017
 
      am__minus_obj=
4018
 
      ;;
4019
 
    none) break ;;
4020
 
    esac
4021
 
    if depmode=$depmode \
4022
 
       source=sub/conftest.c object=$am__obj \
4023
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4024
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4025
 
         >/dev/null 2>conftest.err &&
4026
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4027
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4028
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4029
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4030
 
      # icc doesn't choke on unknown options, it will just issue warnings
4031
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4032
 
      # that says an option was ignored or not supported.
4033
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4034
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4035
 
      # The diagnosis changed in icc 8.0:
4036
 
      #   icc: Command line remark: option '-MP' not supported
4037
 
      if (grep 'ignoring option' conftest.err ||
4038
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4039
 
        am_cv_CC_dependencies_compiler_type=$depmode
4040
 
        break
4041
 
      fi
4042
 
    fi
4043
 
  done
4044
 
 
4045
 
  cd ..
4046
 
  rm -rf conftest.dir
4047
 
else
4048
 
  am_cv_CC_dependencies_compiler_type=none
4049
 
fi
4050
 
 
4051
 
fi
4052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4053
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4054
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4055
 
 
4056
 
 if
4057
 
  test "x$enable_dependency_tracking" != xno \
4058
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4059
 
  am__fastdepCC_TRUE=
4060
 
  am__fastdepCC_FALSE='#'
4061
 
else
4062
 
  am__fastdepCC_TRUE='#'
4063
 
  am__fastdepCC_FALSE=
4064
 
fi
4065
 
 
4066
 
 
4067
 
if test "x$CC" != xcc; then
4068
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4069
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4070
 
else
4071
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4072
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4073
 
fi
4074
 
set dummy $CC; ac_cc=`$as_echo "$2" |
4075
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4076
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
4077
 
  $as_echo_n "(cached) " >&6
4078
 
else
4079
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080
 
/* end confdefs.h.  */
4081
 
 
4082
 
int
4083
 
main ()
4084
 
{
4085
 
 
4086
 
  ;
4087
 
  return 0;
4088
 
}
4089
 
_ACEOF
4090
 
# Make sure it works both with $CC and with simple cc.
4091
 
# We do the test twice because some compilers refuse to overwrite an
4092
 
# existing .o file with -o, though they will create one.
4093
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4094
 
rm -f conftest2.*
4095
 
if { { case "(($ac_try" in
4096
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097
 
  *) ac_try_echo=$ac_try;;
4098
 
esac
4099
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100
 
$as_echo "$ac_try_echo"; } >&5
4101
 
  (eval "$ac_try") 2>&5
4102
 
  ac_status=$?
4103
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104
 
  test $ac_status = 0; } &&
4105
 
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107
 
  *) ac_try_echo=$ac_try;;
4108
 
esac
4109
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110
 
$as_echo "$ac_try_echo"; } >&5
4111
 
  (eval "$ac_try") 2>&5
4112
 
  ac_status=$?
4113
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114
 
  test $ac_status = 0; };
4115
 
then
4116
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4117
 
  if test "x$CC" != xcc; then
4118
 
    # Test first that cc exists at all.
4119
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
4120
 
  { { case "(($ac_try" in
4121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122
 
  *) ac_try_echo=$ac_try;;
4123
 
esac
4124
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125
 
$as_echo "$ac_try_echo"; } >&5
4126
 
  (eval "$ac_try") 2>&5
4127
 
  ac_status=$?
4128
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129
 
  test $ac_status = 0; }; }; then
4130
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4131
 
      rm -f conftest2.*
4132
 
      if { { case "(($ac_try" in
4133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134
 
  *) ac_try_echo=$ac_try;;
4135
 
esac
4136
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137
 
$as_echo "$ac_try_echo"; } >&5
4138
 
  (eval "$ac_try") 2>&5
4139
 
  ac_status=$?
4140
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141
 
  test $ac_status = 0; } &&
4142
 
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
4143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144
 
  *) ac_try_echo=$ac_try;;
4145
 
esac
4146
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147
 
$as_echo "$ac_try_echo"; } >&5
4148
 
  (eval "$ac_try") 2>&5
4149
 
  ac_status=$?
4150
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151
 
  test $ac_status = 0; };
4152
 
      then
4153
 
        # cc works too.
4154
 
        :
4155
 
      else
4156
 
        # cc exists but doesn't like -o.
4157
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
4158
 
      fi
4159
 
    fi
4160
 
  fi
4161
 
else
4162
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4163
 
fi
4164
 
rm -f core conftest*
4165
 
 
4166
 
fi
4167
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4168
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169
 
$as_echo "yes" >&6; }
4170
 
else
4171
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172
 
$as_echo "no" >&6; }
4173
 
 
4174
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4175
 
 
4176
 
fi
4177
 
 
4178
 
# FIXME: we rely on the cache variable name because
4179
 
# there is no other way.
4180
 
set dummy $CC
4181
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4182
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4183
 
if test "$am_t" != yes; then
4184
 
   # Losing compiler, so override with the script.
4185
 
   # FIXME: It is wrong to rewrite CC.
4186
 
   # But if we don't then we get into trouble of one sort or another.
4187
 
   # A longer-term fix would be to have automake use am__CC in this case,
4188
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4189
 
   CC="$am_aux_dir/compile $CC"
4190
 
fi
4191
 
 
4192
 
 
4193
 
 
4194
 
ac_ext=c
4195
 
ac_cpp='$CPP $CPPFLAGS'
4196
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4197
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4198
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4199
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4200
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4201
 
# On Suns, sometimes $CPP names a directory.
4202
 
if test -n "$CPP" && test -d "$CPP"; then
4203
 
  CPP=
4204
 
fi
4205
 
if test -z "$CPP"; then
4206
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
4207
 
  $as_echo_n "(cached) " >&6
4208
 
else
4209
 
      # Double quotes because CPP needs to be expanded
4210
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4211
 
    do
4212
 
      ac_preproc_ok=false
4213
 
for ac_c_preproc_warn_flag in '' yes
4214
 
do
4215
 
  # Use a header file that comes with gcc, so configuring glibc
4216
 
  # with a fresh cross-compiler works.
4217
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4218
 
  # <limits.h> exists even on freestanding compilers.
4219
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4220
 
  # not just through cpp. "Syntax error" is here to catch this case.
4221
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222
 
/* end confdefs.h.  */
4223
 
#ifdef __STDC__
4224
 
# include <limits.h>
4225
 
#else
4226
 
# include <assert.h>
4227
 
#endif
4228
 
                     Syntax error
4229
 
_ACEOF
4230
 
if ac_fn_c_try_cpp "$LINENO"; then :
4231
 
 
4232
 
else
4233
 
  # Broken: fails on valid input.
4234
 
continue
4235
 
fi
4236
 
rm -f conftest.err conftest.i conftest.$ac_ext
4237
 
 
4238
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4239
 
  # can be detected and how.
4240
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241
 
/* end confdefs.h.  */
4242
 
#include <ac_nonexistent.h>
4243
 
_ACEOF
4244
 
if ac_fn_c_try_cpp "$LINENO"; then :
4245
 
  # Broken: success on invalid input.
4246
 
continue
4247
 
else
4248
 
  # Passes both tests.
4249
 
ac_preproc_ok=:
4250
 
break
4251
 
fi
4252
 
rm -f conftest.err conftest.i conftest.$ac_ext
4253
 
 
4254
 
done
4255
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4256
 
rm -f conftest.i conftest.err conftest.$ac_ext
4257
 
if $ac_preproc_ok; then :
4258
 
  break
4259
 
fi
4260
 
 
4261
 
    done
4262
 
    ac_cv_prog_CPP=$CPP
4263
 
 
4264
 
fi
4265
 
  CPP=$ac_cv_prog_CPP
4266
 
else
4267
 
  ac_cv_prog_CPP=$CPP
4268
 
fi
4269
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4270
 
$as_echo "$CPP" >&6; }
4271
 
ac_preproc_ok=false
4272
 
for ac_c_preproc_warn_flag in '' yes
4273
 
do
4274
 
  # Use a header file that comes with gcc, so configuring glibc
4275
 
  # with a fresh cross-compiler works.
4276
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277
 
  # <limits.h> exists even on freestanding compilers.
4278
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4279
 
  # not just through cpp. "Syntax error" is here to catch this case.
4280
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281
 
/* end confdefs.h.  */
4282
 
#ifdef __STDC__
4283
 
# include <limits.h>
4284
 
#else
4285
 
# include <assert.h>
4286
 
#endif
4287
 
                     Syntax error
4288
 
_ACEOF
4289
 
if ac_fn_c_try_cpp "$LINENO"; then :
4290
 
 
4291
 
else
4292
 
  # Broken: fails on valid input.
4293
 
continue
4294
 
fi
4295
 
rm -f conftest.err conftest.i conftest.$ac_ext
4296
 
 
4297
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4298
 
  # can be detected and how.
4299
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300
 
/* end confdefs.h.  */
4301
 
#include <ac_nonexistent.h>
4302
 
_ACEOF
4303
 
if ac_fn_c_try_cpp "$LINENO"; then :
4304
 
  # Broken: success on invalid input.
4305
 
continue
4306
 
else
4307
 
  # Passes both tests.
4308
 
ac_preproc_ok=:
4309
 
break
4310
 
fi
4311
 
rm -f conftest.err conftest.i conftest.$ac_ext
4312
 
 
4313
 
done
4314
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4315
 
rm -f conftest.i conftest.err conftest.$ac_ext
4316
 
if $ac_preproc_ok; then :
4317
 
 
4318
 
else
4319
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4322
 
See \`config.log' for more details" "$LINENO" 5 ; }
4323
 
fi
4324
 
 
4325
 
ac_ext=c
4326
 
ac_cpp='$CPP $CPPFLAGS'
4327
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330
 
 
4331
 
 
4332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4333
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4334
 
if test "${ac_cv_path_GREP+set}" = set; then :
4335
 
  $as_echo_n "(cached) " >&6
4336
 
else
4337
 
  if test -z "$GREP"; then
4338
 
  ac_path_GREP_found=false
4339
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4340
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4342
 
do
4343
 
  IFS=$as_save_IFS
4344
 
  test -z "$as_dir" && as_dir=.
4345
 
    for ac_prog in grep ggrep; do
4346
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4347
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4348
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4349
 
# Check for GNU ac_path_GREP and select it if it is found.
4350
 
  # Check for GNU $ac_path_GREP
4351
 
case `"$ac_path_GREP" --version 2>&1` in
4352
 
*GNU*)
4353
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4354
 
*)
4355
 
  ac_count=0
4356
 
  $as_echo_n 0123456789 >"conftest.in"
4357
 
  while :
4358
 
  do
4359
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4360
 
    mv "conftest.tmp" "conftest.in"
4361
 
    cp "conftest.in" "conftest.nl"
4362
 
    $as_echo 'GREP' >> "conftest.nl"
4363
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4364
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4365
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4366
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4367
 
      # Best one so far, save it but keep looking for a better one
4368
 
      ac_cv_path_GREP="$ac_path_GREP"
4369
 
      ac_path_GREP_max=$ac_count
4370
 
    fi
4371
 
    # 10*(2^10) chars as input seems more than enough
4372
 
    test $ac_count -gt 10 && break
4373
 
  done
4374
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4375
 
esac
4376
 
 
4377
 
      $ac_path_GREP_found && break 3
4378
 
    done
4379
 
  done
4380
 
  done
4381
 
IFS=$as_save_IFS
4382
 
  if test -z "$ac_cv_path_GREP"; then
4383
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4384
 
  fi
4385
 
else
4386
 
  ac_cv_path_GREP=$GREP
4387
 
fi
4388
 
 
4389
 
fi
4390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4391
 
$as_echo "$ac_cv_path_GREP" >&6; }
4392
 
 GREP="$ac_cv_path_GREP"
4393
 
 
4394
 
 
4395
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4396
 
$as_echo_n "checking for egrep... " >&6; }
4397
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4398
 
  $as_echo_n "(cached) " >&6
4399
 
else
4400
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4401
 
   then ac_cv_path_EGREP="$GREP -E"
4402
 
   else
4403
 
     if test -z "$EGREP"; then
4404
 
  ac_path_EGREP_found=false
4405
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4406
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4408
 
do
4409
 
  IFS=$as_save_IFS
4410
 
  test -z "$as_dir" && as_dir=.
4411
 
    for ac_prog in egrep; do
4412
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4413
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4414
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4415
 
# Check for GNU ac_path_EGREP and select it if it is found.
4416
 
  # Check for GNU $ac_path_EGREP
4417
 
case `"$ac_path_EGREP" --version 2>&1` in
4418
 
*GNU*)
4419
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4420
 
*)
4421
 
  ac_count=0
4422
 
  $as_echo_n 0123456789 >"conftest.in"
4423
 
  while :
4424
 
  do
4425
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4426
 
    mv "conftest.tmp" "conftest.in"
4427
 
    cp "conftest.in" "conftest.nl"
4428
 
    $as_echo 'EGREP' >> "conftest.nl"
4429
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4430
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4431
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4432
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4433
 
      # Best one so far, save it but keep looking for a better one
4434
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4435
 
      ac_path_EGREP_max=$ac_count
4436
 
    fi
4437
 
    # 10*(2^10) chars as input seems more than enough
4438
 
    test $ac_count -gt 10 && break
4439
 
  done
4440
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4441
 
esac
4442
 
 
4443
 
      $ac_path_EGREP_found && break 3
4444
 
    done
4445
 
  done
4446
 
  done
4447
 
IFS=$as_save_IFS
4448
 
  if test -z "$ac_cv_path_EGREP"; then
4449
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4450
 
  fi
4451
 
else
4452
 
  ac_cv_path_EGREP=$EGREP
4453
 
fi
4454
 
 
4455
 
   fi
4456
 
fi
4457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4458
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4459
 
 EGREP="$ac_cv_path_EGREP"
4460
 
 
4461
 
 
4462
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4463
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4464
 
if test "${ac_cv_header_stdc+set}" = set; then :
4465
 
  $as_echo_n "(cached) " >&6
4466
 
else
4467
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468
 
/* end confdefs.h.  */
4469
 
#include <stdlib.h>
4470
 
#include <stdarg.h>
4471
 
#include <string.h>
4472
 
#include <float.h>
4473
 
 
4474
 
int
4475
 
main ()
4476
 
{
4477
 
 
4478
 
  ;
4479
 
  return 0;
4480
 
}
4481
 
_ACEOF
4482
 
if ac_fn_c_try_compile "$LINENO"; then :
4483
 
  ac_cv_header_stdc=yes
4484
 
else
4485
 
  ac_cv_header_stdc=no
4486
 
fi
4487
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488
 
 
4489
 
if test $ac_cv_header_stdc = yes; then
4490
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4491
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492
 
/* end confdefs.h.  */
4493
 
#include <string.h>
4494
 
 
4495
 
_ACEOF
4496
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4497
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4498
 
 
4499
 
else
4500
 
  ac_cv_header_stdc=no
4501
 
fi
4502
 
rm -f conftest*
4503
 
 
4504
 
fi
4505
 
 
4506
 
if test $ac_cv_header_stdc = yes; then
4507
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4508
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509
 
/* end confdefs.h.  */
4510
 
#include <stdlib.h>
4511
 
 
4512
 
_ACEOF
4513
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4514
 
  $EGREP "free" >/dev/null 2>&1; then :
4515
 
 
4516
 
else
4517
 
  ac_cv_header_stdc=no
4518
 
fi
4519
 
rm -f conftest*
4520
 
 
4521
 
fi
4522
 
 
4523
 
if test $ac_cv_header_stdc = yes; then
4524
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4525
 
  if test "$cross_compiling" = yes; then :
4526
 
  :
4527
 
else
4528
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529
 
/* end confdefs.h.  */
4530
 
#include <ctype.h>
4531
 
#include <stdlib.h>
4532
 
#if ((' ' & 0x0FF) == 0x020)
4533
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4534
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4535
 
#else
4536
 
# define ISLOWER(c) \
4537
 
                   (('a' <= (c) && (c) <= 'i') \
4538
 
                     || ('j' <= (c) && (c) <= 'r') \
4539
 
                     || ('s' <= (c) && (c) <= 'z'))
4540
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4541
 
#endif
4542
 
 
4543
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4544
 
int
4545
 
main ()
4546
 
{
4547
 
  int i;
4548
 
  for (i = 0; i < 256; i++)
4549
 
    if (XOR (islower (i), ISLOWER (i))
4550
 
        || toupper (i) != TOUPPER (i))
4551
 
      return 2;
4552
 
  return 0;
4553
 
}
4554
 
_ACEOF
4555
 
if ac_fn_c_try_run "$LINENO"; then :
4556
 
 
4557
 
else
4558
 
  ac_cv_header_stdc=no
4559
 
fi
4560
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4561
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4562
 
fi
4563
 
 
4564
 
fi
4565
 
fi
4566
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4567
 
$as_echo "$ac_cv_header_stdc" >&6; }
4568
 
if test $ac_cv_header_stdc = yes; then
4569
 
 
4570
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4571
 
 
4572
 
fi
4573
 
 
4574
 
 
4575
 
case `pwd` in
4576
 
  *\ * | *\     *)
4577
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4578
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4579
 
esac
4580
 
 
4581
 
 
4582
 
 
4583
 
macro_version='2.2.6b'
4584
 
macro_revision='1.3017'
4585
 
 
4586
 
 
4587
 
 
4588
 
 
4589
 
 
4590
 
 
4591
 
 
4592
 
 
4593
 
 
4594
 
 
4595
 
 
4596
 
 
4597
 
 
4598
 
ltmain="$ac_aux_dir/ltmain.sh"
4599
 
 
4600
 
# Make sure we can run config.sub.
4601
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4602
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4603
 
 
4604
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4605
 
$as_echo_n "checking build system type... " >&6; }
4606
 
if test "${ac_cv_build+set}" = set; then :
4607
 
  $as_echo_n "(cached) " >&6
4608
 
else
4609
 
  ac_build_alias=$build_alias
4610
 
test "x$ac_build_alias" = x &&
4611
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4612
 
test "x$ac_build_alias" = x &&
4613
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4614
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4615
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4616
 
 
4617
 
fi
4618
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4619
 
$as_echo "$ac_cv_build" >&6; }
4620
 
case $ac_cv_build in
4621
 
*-*-*) ;;
4622
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4623
 
esac
4624
 
build=$ac_cv_build
4625
 
ac_save_IFS=$IFS; IFS='-'
4626
 
set x $ac_cv_build
4627
 
shift
4628
 
build_cpu=$1
4629
 
build_vendor=$2
4630
 
shift; shift
4631
 
# Remember, the first character of IFS is used to create $*,
4632
 
# except with old shells:
4633
 
build_os=$*
4634
 
IFS=$ac_save_IFS
4635
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4636
 
 
4637
 
 
4638
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4639
 
$as_echo_n "checking host system type... " >&6; }
4640
 
if test "${ac_cv_host+set}" = set; then :
4641
 
  $as_echo_n "(cached) " >&6
4642
 
else
4643
 
  if test "x$host_alias" = x; then
4644
 
  ac_cv_host=$ac_cv_build
4645
 
else
4646
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4647
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4648
 
fi
4649
 
 
4650
 
fi
4651
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4652
 
$as_echo "$ac_cv_host" >&6; }
4653
 
case $ac_cv_host in
4654
 
*-*-*) ;;
4655
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4656
 
esac
4657
 
host=$ac_cv_host
4658
 
ac_save_IFS=$IFS; IFS='-'
4659
 
set x $ac_cv_host
4660
 
shift
4661
 
host_cpu=$1
4662
 
host_vendor=$2
4663
 
shift; shift
4664
 
# Remember, the first character of IFS is used to create $*,
4665
 
# except with old shells:
4666
 
host_os=$*
4667
 
IFS=$ac_save_IFS
4668
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4669
 
 
4670
 
 
4671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4672
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4673
 
if test "${ac_cv_path_SED+set}" = set; then :
4674
 
  $as_echo_n "(cached) " >&6
4675
 
else
4676
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4677
 
     for ac_i in 1 2 3 4 5 6 7; do
4678
 
       ac_script="$ac_script$as_nl$ac_script"
4679
 
     done
4680
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4681
 
     { ac_script=; unset ac_script;}
4682
 
     if test -z "$SED"; then
4683
 
  ac_path_SED_found=false
4684
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4685
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686
 
for as_dir in $PATH
4687
 
do
4688
 
  IFS=$as_save_IFS
4689
 
  test -z "$as_dir" && as_dir=.
4690
 
    for ac_prog in sed gsed; do
4691
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4692
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4693
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4694
 
# Check for GNU ac_path_SED and select it if it is found.
4695
 
  # Check for GNU $ac_path_SED
4696
 
case `"$ac_path_SED" --version 2>&1` in
4697
 
*GNU*)
4698
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4699
 
*)
4700
 
  ac_count=0
4701
 
  $as_echo_n 0123456789 >"conftest.in"
4702
 
  while :
4703
 
  do
4704
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4705
 
    mv "conftest.tmp" "conftest.in"
4706
 
    cp "conftest.in" "conftest.nl"
4707
 
    $as_echo '' >> "conftest.nl"
4708
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4709
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4710
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4711
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4712
 
      # Best one so far, save it but keep looking for a better one
4713
 
      ac_cv_path_SED="$ac_path_SED"
4714
 
      ac_path_SED_max=$ac_count
4715
 
    fi
4716
 
    # 10*(2^10) chars as input seems more than enough
4717
 
    test $ac_count -gt 10 && break
4718
 
  done
4719
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4720
 
esac
4721
 
 
4722
 
      $ac_path_SED_found && break 3
4723
 
    done
4724
 
  done
4725
 
  done
4726
 
IFS=$as_save_IFS
4727
 
  if test -z "$ac_cv_path_SED"; then
4728
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4729
 
  fi
4730
 
else
4731
 
  ac_cv_path_SED=$SED
4732
 
fi
4733
 
 
4734
 
fi
4735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4736
 
$as_echo "$ac_cv_path_SED" >&6; }
4737
 
 SED="$ac_cv_path_SED"
4738
 
  rm -f conftest.sed
4739
 
 
4740
 
test -z "$SED" && SED=sed
4741
 
Xsed="$SED -e 1s/^X//"
4742
 
 
4743
 
 
4744
 
 
4745
 
 
4746
 
 
4747
 
 
4748
 
 
4749
 
 
4750
 
 
4751
 
 
4752
 
 
4753
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4754
 
$as_echo_n "checking for fgrep... " >&6; }
4755
 
if test "${ac_cv_path_FGREP+set}" = set; then :
4756
 
  $as_echo_n "(cached) " >&6
4757
 
else
4758
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4759
 
   then ac_cv_path_FGREP="$GREP -F"
4760
 
   else
4761
 
     if test -z "$FGREP"; then
4762
 
  ac_path_FGREP_found=false
4763
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4764
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4766
 
do
4767
 
  IFS=$as_save_IFS
4768
 
  test -z "$as_dir" && as_dir=.
4769
 
    for ac_prog in fgrep; do
4770
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4771
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4772
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4773
 
# Check for GNU ac_path_FGREP and select it if it is found.
4774
 
  # Check for GNU $ac_path_FGREP
4775
 
case `"$ac_path_FGREP" --version 2>&1` in
4776
 
*GNU*)
4777
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4778
 
*)
4779
 
  ac_count=0
4780
 
  $as_echo_n 0123456789 >"conftest.in"
4781
 
  while :
4782
 
  do
4783
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4784
 
    mv "conftest.tmp" "conftest.in"
4785
 
    cp "conftest.in" "conftest.nl"
4786
 
    $as_echo 'FGREP' >> "conftest.nl"
4787
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4788
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4789
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4790
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4791
 
      # Best one so far, save it but keep looking for a better one
4792
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4793
 
      ac_path_FGREP_max=$ac_count
4794
 
    fi
4795
 
    # 10*(2^10) chars as input seems more than enough
4796
 
    test $ac_count -gt 10 && break
4797
 
  done
4798
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4799
 
esac
4800
 
 
4801
 
      $ac_path_FGREP_found && break 3
4802
 
    done
4803
 
  done
4804
 
  done
4805
 
IFS=$as_save_IFS
4806
 
  if test -z "$ac_cv_path_FGREP"; then
4807
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4808
 
  fi
4809
 
else
4810
 
  ac_cv_path_FGREP=$FGREP
4811
 
fi
4812
 
 
4813
 
   fi
4814
 
fi
4815
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4816
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4817
 
 FGREP="$ac_cv_path_FGREP"
4818
 
 
4819
 
 
4820
 
test -z "$GREP" && GREP=grep
4821
 
 
4822
 
 
4823
 
 
4824
 
 
4825
 
 
4826
 
 
4827
 
 
4828
 
 
4829
 
 
4830
 
 
4831
 
 
4832
 
 
4833
 
 
4834
 
 
4835
 
 
4836
 
 
4837
 
 
4838
 
 
4839
 
 
4840
 
# Check whether --with-gnu-ld was given.
4841
 
if test "${with_gnu_ld+set}" = set; then :
4842
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4843
 
else
4844
 
  with_gnu_ld=no
4845
 
fi
4846
 
 
4847
 
ac_prog=ld
4848
 
if test "$GCC" = yes; then
4849
 
  # Check if gcc -print-prog-name=ld gives a path.
4850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4851
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4852
 
  case $host in
4853
 
  *-*-mingw*)
4854
 
    # gcc leaves a trailing carriage return which upsets mingw
4855
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4856
 
  *)
4857
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4858
 
  esac
4859
 
  case $ac_prog in
4860
 
    # Accept absolute paths.
4861
 
    [\\/]* | ?:[\\/]*)
4862
 
      re_direlt='/[^/][^/]*/\.\./'
4863
 
      # Canonicalize the pathname of ld
4864
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4865
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4866
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4867
 
      done
4868
 
      test -z "$LD" && LD="$ac_prog"
4869
 
      ;;
4870
 
  "")
4871
 
    # If it fails, then pretend we aren't using GCC.
4872
 
    ac_prog=ld
4873
 
    ;;
4874
 
  *)
4875
 
    # If it is relative, then search for the first ld in PATH.
4876
 
    with_gnu_ld=unknown
4877
 
    ;;
4878
 
  esac
4879
 
elif test "$with_gnu_ld" = yes; then
4880
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4881
 
$as_echo_n "checking for GNU ld... " >&6; }
4882
 
else
4883
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4884
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4885
 
fi
4886
 
if test "${lt_cv_path_LD+set}" = set; then :
4887
 
  $as_echo_n "(cached) " >&6
4888
 
else
4889
 
  if test -z "$LD"; then
4890
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4891
 
  for ac_dir in $PATH; do
4892
 
    IFS="$lt_save_ifs"
4893
 
    test -z "$ac_dir" && ac_dir=.
4894
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4895
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4896
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4897
 
      # but apparently some variants of GNU ld only accept -v.
4898
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4899
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4900
 
      *GNU* | *'with BFD'*)
4901
 
        test "$with_gnu_ld" != no && break
4902
 
        ;;
4903
 
      *)
4904
 
        test "$with_gnu_ld" != yes && break
4905
 
        ;;
4906
 
      esac
4907
 
    fi
4908
 
  done
4909
 
  IFS="$lt_save_ifs"
4910
 
else
4911
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4912
 
fi
4913
 
fi
4914
 
 
4915
 
LD="$lt_cv_path_LD"
4916
 
if test -n "$LD"; then
4917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4918
 
$as_echo "$LD" >&6; }
4919
 
else
4920
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921
 
$as_echo "no" >&6; }
4922
 
fi
4923
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4925
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4926
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4927
 
  $as_echo_n "(cached) " >&6
4928
 
else
4929
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4930
 
case `$LD -v 2>&1 </dev/null` in
4931
 
*GNU* | *'with BFD'*)
4932
 
  lt_cv_prog_gnu_ld=yes
4933
 
  ;;
4934
 
*)
4935
 
  lt_cv_prog_gnu_ld=no
4936
 
  ;;
4937
 
esac
4938
 
fi
4939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4940
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4941
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4942
 
 
4943
 
 
4944
 
 
4945
 
 
4946
 
 
4947
 
 
4948
 
 
4949
 
 
4950
 
 
4951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4952
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4953
 
if test "${lt_cv_path_NM+set}" = set; then :
4954
 
  $as_echo_n "(cached) " >&6
4955
 
else
4956
 
  if test -n "$NM"; then
4957
 
  # Let the user override the test.
4958
 
  lt_cv_path_NM="$NM"
4959
 
else
4960
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4961
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4962
 
    lt_nm_to_check="$lt_nm_to_check nm"
4963
 
  fi
4964
 
  for lt_tmp_nm in $lt_nm_to_check; do
4965
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4966
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4967
 
      IFS="$lt_save_ifs"
4968
 
      test -z "$ac_dir" && ac_dir=.
4969
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4970
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4971
 
        # Check to see if the nm accepts a BSD-compat flag.
4972
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4973
 
        #   nm: unknown option "B" ignored
4974
 
        # Tru64's nm complains that /dev/null is an invalid object file
4975
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4976
 
        */dev/null* | *'Invalid file or object type'*)
4977
 
          lt_cv_path_NM="$tmp_nm -B"
4978
 
          break
4979
 
          ;;
4980
 
        *)
4981
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4982
 
          */dev/null*)
4983
 
            lt_cv_path_NM="$tmp_nm -p"
4984
 
            break
4985
 
            ;;
4986
 
          *)
4987
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4988
 
            continue # so that we can try to find one that supports BSD flags
4989
 
            ;;
4990
 
          esac
4991
 
          ;;
4992
 
        esac
4993
 
      fi
4994
 
    done
4995
 
    IFS="$lt_save_ifs"
4996
 
  done
4997
 
  : ${lt_cv_path_NM=no}
4998
 
fi
4999
 
fi
5000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5001
 
$as_echo "$lt_cv_path_NM" >&6; }
5002
 
if test "$lt_cv_path_NM" != "no"; then
5003
 
  NM="$lt_cv_path_NM"
5004
 
else
5005
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5006
 
  if test -n "$ac_tool_prefix"; then
5007
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5008
 
  do
5009
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5010
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012
 
$as_echo_n "checking for $ac_word... " >&6; }
5013
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5014
 
  $as_echo_n "(cached) " >&6
5015
 
else
5016
 
  if test -n "$DUMPBIN"; then
5017
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5018
 
else
5019
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020
 
for as_dir in $PATH
5021
 
do
5022
 
  IFS=$as_save_IFS
5023
 
  test -z "$as_dir" && as_dir=.
5024
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5025
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5027
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028
 
    break 2
5029
 
  fi
5030
 
done
5031
 
  done
5032
 
IFS=$as_save_IFS
5033
 
 
5034
 
fi
5035
 
fi
5036
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5037
 
if test -n "$DUMPBIN"; then
5038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5039
 
$as_echo "$DUMPBIN" >&6; }
5040
 
else
5041
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042
 
$as_echo "no" >&6; }
5043
 
fi
5044
 
 
5045
 
 
5046
 
    test -n "$DUMPBIN" && break
5047
 
  done
5048
 
fi
5049
 
if test -z "$DUMPBIN"; then
5050
 
  ac_ct_DUMPBIN=$DUMPBIN
5051
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5052
 
do
5053
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5054
 
set dummy $ac_prog; ac_word=$2
5055
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056
 
$as_echo_n "checking for $ac_word... " >&6; }
5057
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5058
 
  $as_echo_n "(cached) " >&6
5059
 
else
5060
 
  if test -n "$ac_ct_DUMPBIN"; then
5061
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5062
 
else
5063
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064
 
for as_dir in $PATH
5065
 
do
5066
 
  IFS=$as_save_IFS
5067
 
  test -z "$as_dir" && as_dir=.
5068
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5069
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5071
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072
 
    break 2
5073
 
  fi
5074
 
done
5075
 
  done
5076
 
IFS=$as_save_IFS
5077
 
 
5078
 
fi
5079
 
fi
5080
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5081
 
if test -n "$ac_ct_DUMPBIN"; then
5082
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5083
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5084
 
else
5085
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086
 
$as_echo "no" >&6; }
5087
 
fi
5088
 
 
5089
 
 
5090
 
  test -n "$ac_ct_DUMPBIN" && break
5091
 
done
5092
 
 
5093
 
  if test "x$ac_ct_DUMPBIN" = x; then
5094
 
    DUMPBIN=":"
5095
 
  else
5096
 
    case $cross_compiling:$ac_tool_warned in
5097
 
yes:)
5098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100
 
ac_tool_warned=yes ;;
5101
 
esac
5102
 
    DUMPBIN=$ac_ct_DUMPBIN
5103
 
  fi
5104
 
fi
5105
 
 
5106
 
 
5107
 
  if test "$DUMPBIN" != ":"; then
5108
 
    NM="$DUMPBIN"
5109
 
  fi
5110
 
fi
5111
 
test -z "$NM" && NM=nm
5112
 
 
5113
 
 
5114
 
 
5115
 
 
5116
 
 
5117
 
 
5118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5119
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5120
 
if test "${lt_cv_nm_interface+set}" = set; then :
5121
 
  $as_echo_n "(cached) " >&6
5122
 
else
5123
 
  lt_cv_nm_interface="BSD nm"
5124
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5125
 
  (eval echo "\"\$as_me:5125: $ac_compile\"" >&5)
5126
 
  (eval "$ac_compile" 2>conftest.err)
5127
 
  cat conftest.err >&5
5128
 
  (eval echo "\"\$as_me:5128: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5129
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5130
 
  cat conftest.err >&5
5131
 
  (eval echo "\"\$as_me:5131: output\"" >&5)
5132
 
  cat conftest.out >&5
5133
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5134
 
    lt_cv_nm_interface="MS dumpbin"
5135
 
  fi
5136
 
  rm -f conftest*
5137
 
fi
5138
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5139
 
$as_echo "$lt_cv_nm_interface" >&6; }
5140
 
 
5141
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5142
 
$as_echo_n "checking whether ln -s works... " >&6; }
5143
 
LN_S=$as_ln_s
5144
 
if test "$LN_S" = "ln -s"; then
5145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5146
 
$as_echo "yes" >&6; }
5147
 
else
5148
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5149
 
$as_echo "no, using $LN_S" >&6; }
5150
 
fi
5151
 
 
5152
 
# find the maximum length of command line arguments
5153
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5154
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5155
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5156
 
  $as_echo_n "(cached) " >&6
5157
 
else
5158
 
    i=0
5159
 
  teststring="ABCD"
5160
 
 
5161
 
  case $build_os in
5162
 
  msdosdjgpp*)
5163
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5164
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5165
 
    # during glob expansion).  Even if it were fixed, the result of this
5166
 
    # check would be larger than it should be.
5167
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5168
 
    ;;
5169
 
 
5170
 
  gnu*)
5171
 
    # Under GNU Hurd, this test is not required because there is
5172
 
    # no limit to the length of command line arguments.
5173
 
    # Libtool will interpret -1 as no limit whatsoever
5174
 
    lt_cv_sys_max_cmd_len=-1;
5175
 
    ;;
5176
 
 
5177
 
  cygwin* | mingw* | cegcc*)
5178
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5179
 
    # about 5 minutes as the teststring grows exponentially.
5180
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5181
 
    # you end up with a "frozen" computer, even though with patience
5182
 
    # the test eventually succeeds (with a max line length of 256k).
5183
 
    # Instead, let's just punt: use the minimum linelength reported by
5184
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5185
 
    lt_cv_sys_max_cmd_len=8192;
5186
 
    ;;
5187
 
 
5188
 
  amigaos*)
5189
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5190
 
    # So we just punt and use a minimum line length of 8192.
5191
 
    lt_cv_sys_max_cmd_len=8192;
5192
 
    ;;
5193
 
 
5194
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5195
 
    # This has been around since 386BSD, at least.  Likely further.
5196
 
    if test -x /sbin/sysctl; then
5197
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5198
 
    elif test -x /usr/sbin/sysctl; then
5199
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5200
 
    else
5201
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5202
 
    fi
5203
 
    # And add a safety zone
5204
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5205
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5206
 
    ;;
5207
 
 
5208
 
  interix*)
5209
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5210
 
    lt_cv_sys_max_cmd_len=196608
5211
 
    ;;
5212
 
 
5213
 
  osf*)
5214
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5215
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5216
 
    # nice to cause kernel panics so lets avoid the loop below.
5217
 
    # First set a reasonable default.
5218
 
    lt_cv_sys_max_cmd_len=16384
5219
 
    #
5220
 
    if test -x /sbin/sysconfig; then
5221
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5222
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5223
 
      esac
5224
 
    fi
5225
 
    ;;
5226
 
  sco3.2v5*)
5227
 
    lt_cv_sys_max_cmd_len=102400
5228
 
    ;;
5229
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5230
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5231
 
    if test -n "$kargmax"; then
5232
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5233
 
    else
5234
 
      lt_cv_sys_max_cmd_len=32768
5235
 
    fi
5236
 
    ;;
5237
 
  *)
5238
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5239
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5240
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5241
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5242
 
    else
5243
 
      # Make teststring a little bigger before we do anything with it.
5244
 
      # a 1K string should be a reasonable start.
5245
 
      for i in 1 2 3 4 5 6 7 8 ; do
5246
 
        teststring=$teststring$teststring
5247
 
      done
5248
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5249
 
      # If test is not a shell built-in, we'll probably end up computing a
5250
 
      # maximum length that is only half of the actual maximum length, but
5251
 
      # we can't tell.
5252
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5253
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5254
 
              test $i != 17 # 1/2 MB should be enough
5255
 
      do
5256
 
        i=`expr $i + 1`
5257
 
        teststring=$teststring$teststring
5258
 
      done
5259
 
      # Only check the string length outside the loop.
5260
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5261
 
      teststring=
5262
 
      # Add a significant safety factor because C++ compilers can tack on
5263
 
      # massive amounts of additional arguments before passing them to the
5264
 
      # linker.  It appears as though 1/2 is a usable value.
5265
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5266
 
    fi
5267
 
    ;;
5268
 
  esac
5269
 
 
5270
 
fi
5271
 
 
5272
 
if test -n $lt_cv_sys_max_cmd_len ; then
5273
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5274
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5275
 
else
5276
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5277
 
$as_echo "none" >&6; }
5278
 
fi
5279
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5280
 
 
5281
 
 
5282
 
 
5283
 
 
5284
 
 
5285
 
 
5286
 
: ${CP="cp -f"}
5287
 
: ${MV="mv -f"}
5288
 
: ${RM="rm -f"}
5289
 
 
5290
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5291
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5292
 
# Try some XSI features
5293
 
xsi_shell=no
5294
 
( _lt_dummy="a/b/c"
5295
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5296
 
      = c,a/b,, \
5297
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5298
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5299
 
  && xsi_shell=yes
5300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5301
 
$as_echo "$xsi_shell" >&6; }
5302
 
 
5303
 
 
5304
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5305
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5306
 
lt_shell_append=no
5307
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5308
 
    >/dev/null 2>&1 \
5309
 
  && lt_shell_append=yes
5310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5311
 
$as_echo "$lt_shell_append" >&6; }
5312
 
 
5313
 
 
5314
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5315
 
  lt_unset=unset
5316
 
else
5317
 
  lt_unset=false
5318
 
fi
5319
 
 
5320
 
 
5321
 
 
5322
 
 
5323
 
 
5324
 
# test EBCDIC or ASCII
5325
 
case `echo X|tr X '\101'` in
5326
 
 A) # ASCII based system
5327
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5328
 
  lt_SP2NL='tr \040 \012'
5329
 
  lt_NL2SP='tr \015\012 \040\040'
5330
 
  ;;
5331
 
 *) # EBCDIC based system
5332
 
  lt_SP2NL='tr \100 \n'
5333
 
  lt_NL2SP='tr \r\n \100\100'
5334
 
  ;;
5335
 
esac
5336
 
 
5337
 
 
5338
 
 
5339
 
 
5340
 
 
5341
 
 
5342
 
 
5343
 
 
5344
 
 
5345
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5346
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5347
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5348
 
  $as_echo_n "(cached) " >&6
5349
 
else
5350
 
  lt_cv_ld_reload_flag='-r'
5351
 
fi
5352
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5353
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5354
 
reload_flag=$lt_cv_ld_reload_flag
5355
 
case $reload_flag in
5356
 
"" | " "*) ;;
5357
 
*) reload_flag=" $reload_flag" ;;
5358
 
esac
5359
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5360
 
case $host_os in
5361
 
  darwin*)
5362
 
    if test "$GCC" = yes; then
5363
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5364
 
    else
5365
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5366
 
    fi
5367
 
    ;;
5368
 
esac
5369
 
 
5370
 
 
5371
 
 
5372
 
 
5373
 
 
5374
 
 
5375
 
 
5376
 
 
5377
 
 
5378
 
if test -n "$ac_tool_prefix"; then
5379
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5380
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5381
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382
 
$as_echo_n "checking for $ac_word... " >&6; }
5383
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5384
 
  $as_echo_n "(cached) " >&6
5385
 
else
5386
 
  if test -n "$OBJDUMP"; then
5387
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5388
 
else
5389
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390
 
for as_dir in $PATH
5391
 
do
5392
 
  IFS=$as_save_IFS
5393
 
  test -z "$as_dir" && as_dir=.
5394
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5395
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5397
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398
 
    break 2
5399
 
  fi
5400
 
done
5401
 
  done
5402
 
IFS=$as_save_IFS
5403
 
 
5404
 
fi
5405
 
fi
5406
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5407
 
if test -n "$OBJDUMP"; then
5408
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5409
 
$as_echo "$OBJDUMP" >&6; }
5410
 
else
5411
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412
 
$as_echo "no" >&6; }
5413
 
fi
5414
 
 
5415
 
 
5416
 
fi
5417
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5418
 
  ac_ct_OBJDUMP=$OBJDUMP
5419
 
  # Extract the first word of "objdump", so it can be a program name with args.
5420
 
set dummy objdump; ac_word=$2
5421
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422
 
$as_echo_n "checking for $ac_word... " >&6; }
5423
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5424
 
  $as_echo_n "(cached) " >&6
5425
 
else
5426
 
  if test -n "$ac_ct_OBJDUMP"; then
5427
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5428
 
else
5429
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430
 
for as_dir in $PATH
5431
 
do
5432
 
  IFS=$as_save_IFS
5433
 
  test -z "$as_dir" && as_dir=.
5434
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5435
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5436
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5437
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438
 
    break 2
5439
 
  fi
5440
 
done
5441
 
  done
5442
 
IFS=$as_save_IFS
5443
 
 
5444
 
fi
5445
 
fi
5446
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5447
 
if test -n "$ac_ct_OBJDUMP"; then
5448
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5449
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5450
 
else
5451
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452
 
$as_echo "no" >&6; }
5453
 
fi
5454
 
 
5455
 
  if test "x$ac_ct_OBJDUMP" = x; then
5456
 
    OBJDUMP="false"
5457
 
  else
5458
 
    case $cross_compiling:$ac_tool_warned in
5459
 
yes:)
5460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462
 
ac_tool_warned=yes ;;
5463
 
esac
5464
 
    OBJDUMP=$ac_ct_OBJDUMP
5465
 
  fi
5466
 
else
5467
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5468
 
fi
5469
 
 
5470
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5471
 
 
5472
 
 
5473
 
 
5474
 
 
5475
 
 
5476
 
 
5477
 
 
5478
 
 
5479
 
 
5480
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5481
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5482
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5483
 
  $as_echo_n "(cached) " >&6
5484
 
else
5485
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5486
 
lt_cv_file_magic_test_file=
5487
 
lt_cv_deplibs_check_method='unknown'
5488
 
# Need to set the preceding variable on all platforms that support
5489
 
# interlibrary dependencies.
5490
 
# 'none' -- dependencies not supported.
5491
 
# `unknown' -- same as none, but documents that we really don't know.
5492
 
# 'pass_all' -- all dependencies passed with no checks.
5493
 
# 'test_compile' -- check by making test program.
5494
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5495
 
# which responds to the $file_magic_cmd with a given extended regex.
5496
 
# If you have `file' or equivalent on your system and you're not sure
5497
 
# whether `pass_all' will *always* work, you probably want this one.
5498
 
 
5499
 
case $host_os in
5500
 
aix[4-9]*)
5501
 
  lt_cv_deplibs_check_method=pass_all
5502
 
  ;;
5503
 
 
5504
 
beos*)
5505
 
  lt_cv_deplibs_check_method=pass_all
5506
 
  ;;
5507
 
 
5508
 
bsdi[45]*)
5509
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5510
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5511
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5512
 
  ;;
5513
 
 
5514
 
cygwin*)
5515
 
  # func_win32_libid is a shell function defined in ltmain.sh
5516
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5517
 
  lt_cv_file_magic_cmd='func_win32_libid'
5518
 
  ;;
5519
 
 
5520
 
mingw* | pw32*)
5521
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5522
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5523
 
  # unless we find 'file', for example because we are cross-compiling.
5524
 
  if ( file / ) >/dev/null 2>&1; then
5525
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5526
 
    lt_cv_file_magic_cmd='func_win32_libid'
5527
 
  else
5528
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5529
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5530
 
  fi
5531
 
  ;;
5532
 
 
5533
 
cegcc)
5534
 
  # use the weaker test based on 'objdump'. See mingw*.
5535
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5536
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5537
 
  ;;
5538
 
 
5539
 
darwin* | rhapsody*)
5540
 
  lt_cv_deplibs_check_method=pass_all
5541
 
  ;;
5542
 
 
5543
 
freebsd* | dragonfly*)
5544
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5545
 
    case $host_cpu in
5546
 
    i*86 )
5547
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5548
 
      # Let's accept both of them until this is cleared up.
5549
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5550
 
      lt_cv_file_magic_cmd=/usr/bin/file
5551
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5552
 
      ;;
5553
 
    esac
5554
 
  else
5555
 
    lt_cv_deplibs_check_method=pass_all
5556
 
  fi
5557
 
  ;;
5558
 
 
5559
 
gnu*)
5560
 
  lt_cv_deplibs_check_method=pass_all
5561
 
  ;;
5562
 
 
5563
 
hpux10.20* | hpux11*)
5564
 
  lt_cv_file_magic_cmd=/usr/bin/file
5565
 
  case $host_cpu in
5566
 
  ia64*)
5567
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5568
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5569
 
    ;;
5570
 
  hppa*64*)
5571
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5572
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5573
 
    ;;
5574
 
  *)
5575
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5576
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5577
 
    ;;
5578
 
  esac
5579
 
  ;;
5580
 
 
5581
 
interix[3-9]*)
5582
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5583
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5584
 
  ;;
5585
 
 
5586
 
irix5* | irix6* | nonstopux*)
5587
 
  case $LD in
5588
 
  *-32|*"-32 ") libmagic=32-bit;;
5589
 
  *-n32|*"-n32 ") libmagic=N32;;
5590
 
  *-64|*"-64 ") libmagic=64-bit;;
5591
 
  *) libmagic=never-match;;
5592
 
  esac
5593
 
  lt_cv_deplibs_check_method=pass_all
5594
 
  ;;
5595
 
 
5596
 
# This must be Linux ELF.
5597
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5598
 
  lt_cv_deplibs_check_method=pass_all
5599
 
  ;;
5600
 
 
5601
 
netbsd* | netbsdelf*-gnu)
5602
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5603
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5604
 
  else
5605
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5606
 
  fi
5607
 
  ;;
5608
 
 
5609
 
newos6*)
5610
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5611
 
  lt_cv_file_magic_cmd=/usr/bin/file
5612
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5613
 
  ;;
5614
 
 
5615
 
*nto* | *qnx*)
5616
 
  lt_cv_deplibs_check_method=pass_all
5617
 
  ;;
5618
 
 
5619
 
openbsd*)
5620
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5621
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5622
 
  else
5623
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5624
 
  fi
5625
 
  ;;
5626
 
 
5627
 
osf3* | osf4* | osf5*)
5628
 
  lt_cv_deplibs_check_method=pass_all
5629
 
  ;;
5630
 
 
5631
 
rdos*)
5632
 
  lt_cv_deplibs_check_method=pass_all
5633
 
  ;;
5634
 
 
5635
 
solaris*)
5636
 
  lt_cv_deplibs_check_method=pass_all
5637
 
  ;;
5638
 
 
5639
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5640
 
  lt_cv_deplibs_check_method=pass_all
5641
 
  ;;
5642
 
 
5643
 
sysv4 | sysv4.3*)
5644
 
  case $host_vendor in
5645
 
  motorola)
5646
 
    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]'
5647
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5648
 
    ;;
5649
 
  ncr)
5650
 
    lt_cv_deplibs_check_method=pass_all
5651
 
    ;;
5652
 
  sequent)
5653
 
    lt_cv_file_magic_cmd='/bin/file'
5654
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5655
 
    ;;
5656
 
  sni)
5657
 
    lt_cv_file_magic_cmd='/bin/file'
5658
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5659
 
    lt_cv_file_magic_test_file=/lib/libc.so
5660
 
    ;;
5661
 
  siemens)
5662
 
    lt_cv_deplibs_check_method=pass_all
5663
 
    ;;
5664
 
  pc)
5665
 
    lt_cv_deplibs_check_method=pass_all
5666
 
    ;;
5667
 
  esac
5668
 
  ;;
5669
 
 
5670
 
tpf*)
5671
 
  lt_cv_deplibs_check_method=pass_all
5672
 
  ;;
5673
 
esac
5674
 
 
5675
 
fi
5676
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5677
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5678
 
file_magic_cmd=$lt_cv_file_magic_cmd
5679
 
deplibs_check_method=$lt_cv_deplibs_check_method
5680
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5681
 
 
5682
 
 
5683
 
 
5684
 
 
5685
 
 
5686
 
 
5687
 
 
5688
 
 
5689
 
 
5690
 
 
5691
 
 
5692
 
 
5693
 
if test -n "$ac_tool_prefix"; then
5694
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5695
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5696
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697
 
$as_echo_n "checking for $ac_word... " >&6; }
5698
 
if test "${ac_cv_prog_AR+set}" = set; then :
5699
 
  $as_echo_n "(cached) " >&6
5700
 
else
5701
 
  if test -n "$AR"; then
5702
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5703
 
else
5704
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705
 
for as_dir in $PATH
5706
 
do
5707
 
  IFS=$as_save_IFS
5708
 
  test -z "$as_dir" && as_dir=.
5709
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5710
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5711
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5712
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713
 
    break 2
5714
 
  fi
5715
 
done
5716
 
  done
5717
 
IFS=$as_save_IFS
5718
 
 
5719
 
fi
5720
 
fi
5721
 
AR=$ac_cv_prog_AR
5722
 
if test -n "$AR"; then
5723
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5724
 
$as_echo "$AR" >&6; }
5725
 
else
5726
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727
 
$as_echo "no" >&6; }
5728
 
fi
5729
 
 
5730
 
 
5731
 
fi
5732
 
if test -z "$ac_cv_prog_AR"; then
5733
 
  ac_ct_AR=$AR
5734
 
  # Extract the first word of "ar", so it can be a program name with args.
5735
 
set dummy ar; ac_word=$2
5736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737
 
$as_echo_n "checking for $ac_word... " >&6; }
5738
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5739
 
  $as_echo_n "(cached) " >&6
5740
 
else
5741
 
  if test -n "$ac_ct_AR"; then
5742
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5743
 
else
5744
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745
 
for as_dir in $PATH
5746
 
do
5747
 
  IFS=$as_save_IFS
5748
 
  test -z "$as_dir" && as_dir=.
5749
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5750
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751
 
    ac_cv_prog_ac_ct_AR="ar"
5752
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753
 
    break 2
5754
 
  fi
5755
 
done
5756
 
  done
5757
 
IFS=$as_save_IFS
5758
 
 
5759
 
fi
5760
 
fi
5761
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5762
 
if test -n "$ac_ct_AR"; then
5763
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5764
 
$as_echo "$ac_ct_AR" >&6; }
5765
 
else
5766
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767
 
$as_echo "no" >&6; }
5768
 
fi
5769
 
 
5770
 
  if test "x$ac_ct_AR" = x; then
5771
 
    AR="false"
5772
 
  else
5773
 
    case $cross_compiling:$ac_tool_warned in
5774
 
yes:)
5775
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5776
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5777
 
ac_tool_warned=yes ;;
5778
 
esac
5779
 
    AR=$ac_ct_AR
5780
 
  fi
5781
 
else
5782
 
  AR="$ac_cv_prog_AR"
5783
 
fi
5784
 
 
5785
 
test -z "$AR" && AR=ar
5786
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5787
 
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
 
 
5794
 
 
5795
 
 
5796
 
 
5797
 
 
5798
 
if test -n "$ac_tool_prefix"; then
5799
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5800
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5801
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802
 
$as_echo_n "checking for $ac_word... " >&6; }
5803
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
5804
 
  $as_echo_n "(cached) " >&6
5805
 
else
5806
 
  if test -n "$STRIP"; then
5807
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5808
 
else
5809
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810
 
for as_dir in $PATH
5811
 
do
5812
 
  IFS=$as_save_IFS
5813
 
  test -z "$as_dir" && as_dir=.
5814
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5815
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5817
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818
 
    break 2
5819
 
  fi
5820
 
done
5821
 
  done
5822
 
IFS=$as_save_IFS
5823
 
 
5824
 
fi
5825
 
fi
5826
 
STRIP=$ac_cv_prog_STRIP
5827
 
if test -n "$STRIP"; then
5828
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5829
 
$as_echo "$STRIP" >&6; }
5830
 
else
5831
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832
 
$as_echo "no" >&6; }
5833
 
fi
5834
 
 
5835
 
 
5836
 
fi
5837
 
if test -z "$ac_cv_prog_STRIP"; then
5838
 
  ac_ct_STRIP=$STRIP
5839
 
  # Extract the first word of "strip", so it can be a program name with args.
5840
 
set dummy strip; ac_word=$2
5841
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842
 
$as_echo_n "checking for $ac_word... " >&6; }
5843
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5844
 
  $as_echo_n "(cached) " >&6
5845
 
else
5846
 
  if test -n "$ac_ct_STRIP"; then
5847
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5848
 
else
5849
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850
 
for as_dir in $PATH
5851
 
do
5852
 
  IFS=$as_save_IFS
5853
 
  test -z "$as_dir" && as_dir=.
5854
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5855
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856
 
    ac_cv_prog_ac_ct_STRIP="strip"
5857
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858
 
    break 2
5859
 
  fi
5860
 
done
5861
 
  done
5862
 
IFS=$as_save_IFS
5863
 
 
5864
 
fi
5865
 
fi
5866
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5867
 
if test -n "$ac_ct_STRIP"; then
5868
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5869
 
$as_echo "$ac_ct_STRIP" >&6; }
5870
 
else
5871
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872
 
$as_echo "no" >&6; }
5873
 
fi
5874
 
 
5875
 
  if test "x$ac_ct_STRIP" = x; then
5876
 
    STRIP=":"
5877
 
  else
5878
 
    case $cross_compiling:$ac_tool_warned in
5879
 
yes:)
5880
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5881
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5882
 
ac_tool_warned=yes ;;
5883
 
esac
5884
 
    STRIP=$ac_ct_STRIP
5885
 
  fi
5886
 
else
5887
 
  STRIP="$ac_cv_prog_STRIP"
5888
 
fi
5889
 
 
5890
 
test -z "$STRIP" && STRIP=:
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
 
 
5896
 
 
5897
 
if test -n "$ac_tool_prefix"; then
5898
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5899
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5900
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901
 
$as_echo_n "checking for $ac_word... " >&6; }
5902
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5903
 
  $as_echo_n "(cached) " >&6
5904
 
else
5905
 
  if test -n "$RANLIB"; then
5906
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5907
 
else
5908
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909
 
for as_dir in $PATH
5910
 
do
5911
 
  IFS=$as_save_IFS
5912
 
  test -z "$as_dir" && as_dir=.
5913
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5914
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5915
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5916
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917
 
    break 2
5918
 
  fi
5919
 
done
5920
 
  done
5921
 
IFS=$as_save_IFS
5922
 
 
5923
 
fi
5924
 
fi
5925
 
RANLIB=$ac_cv_prog_RANLIB
5926
 
if test -n "$RANLIB"; then
5927
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5928
 
$as_echo "$RANLIB" >&6; }
5929
 
else
5930
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931
 
$as_echo "no" >&6; }
5932
 
fi
5933
 
 
5934
 
 
5935
 
fi
5936
 
if test -z "$ac_cv_prog_RANLIB"; then
5937
 
  ac_ct_RANLIB=$RANLIB
5938
 
  # Extract the first word of "ranlib", so it can be a program name with args.
5939
 
set dummy ranlib; ac_word=$2
5940
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941
 
$as_echo_n "checking for $ac_word... " >&6; }
5942
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5943
 
  $as_echo_n "(cached) " >&6
5944
 
else
5945
 
  if test -n "$ac_ct_RANLIB"; then
5946
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5947
 
else
5948
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949
 
for as_dir in $PATH
5950
 
do
5951
 
  IFS=$as_save_IFS
5952
 
  test -z "$as_dir" && as_dir=.
5953
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5954
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5956
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957
 
    break 2
5958
 
  fi
5959
 
done
5960
 
  done
5961
 
IFS=$as_save_IFS
5962
 
 
5963
 
fi
5964
 
fi
5965
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5966
 
if test -n "$ac_ct_RANLIB"; then
5967
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5968
 
$as_echo "$ac_ct_RANLIB" >&6; }
5969
 
else
5970
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971
 
$as_echo "no" >&6; }
5972
 
fi
5973
 
 
5974
 
  if test "x$ac_ct_RANLIB" = x; then
5975
 
    RANLIB=":"
5976
 
  else
5977
 
    case $cross_compiling:$ac_tool_warned in
5978
 
yes:)
5979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5981
 
ac_tool_warned=yes ;;
5982
 
esac
5983
 
    RANLIB=$ac_ct_RANLIB
5984
 
  fi
5985
 
else
5986
 
  RANLIB="$ac_cv_prog_RANLIB"
5987
 
fi
5988
 
 
5989
 
test -z "$RANLIB" && RANLIB=:
5990
 
 
5991
 
 
5992
 
 
5993
 
 
5994
 
 
5995
 
 
5996
 
# Determine commands to create old-style static archives.
5997
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5998
 
old_postinstall_cmds='chmod 644 $oldlib'
5999
 
old_postuninstall_cmds=
6000
 
 
6001
 
if test -n "$RANLIB"; then
6002
 
  case $host_os in
6003
 
  openbsd*)
6004
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6005
 
    ;;
6006
 
  *)
6007
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6008
 
    ;;
6009
 
  esac
6010
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6011
 
fi
6012
 
 
6013
 
 
6014
 
 
6015
 
 
6016
 
 
6017
 
 
6018
 
 
6019
 
 
6020
 
 
6021
 
 
6022
 
 
6023
 
 
6024
 
 
6025
 
 
6026
 
 
6027
 
 
6028
 
 
6029
 
 
6030
 
 
6031
 
 
6032
 
 
6033
 
 
6034
 
 
6035
 
 
6036
 
 
6037
 
 
6038
 
 
6039
 
 
6040
 
 
6041
 
 
6042
 
 
6043
 
 
6044
 
 
6045
 
 
6046
 
# If no C compiler was specified, use CC.
6047
 
LTCC=${LTCC-"$CC"}
6048
 
 
6049
 
# If no C compiler flags were specified, use CFLAGS.
6050
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6051
 
 
6052
 
# Allow CC to be a program name with arguments.
6053
 
compiler=$CC
6054
 
 
6055
 
 
6056
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6057
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6058
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6059
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6060
 
  $as_echo_n "(cached) " >&6
6061
 
else
6062
 
 
6063
 
# These are sane defaults that work on at least a few old systems.
6064
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6065
 
 
6066
 
# Character class describing NM global symbol codes.
6067
 
symcode='[BCDEGRST]'
6068
 
 
6069
 
# Regexp to match symbols that can be accessed directly from C.
6070
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6071
 
 
6072
 
# Define system-specific variables.
6073
 
case $host_os in
6074
 
aix*)
6075
 
  symcode='[BCDT]'
6076
 
  ;;
6077
 
cygwin* | mingw* | pw32* | cegcc*)
6078
 
  symcode='[ABCDGISTW]'
6079
 
  ;;
6080
 
hpux*)
6081
 
  if test "$host_cpu" = ia64; then
6082
 
    symcode='[ABCDEGRST]'
6083
 
  fi
6084
 
  ;;
6085
 
irix* | nonstopux*)
6086
 
  symcode='[BCDEGRST]'
6087
 
  ;;
6088
 
osf*)
6089
 
  symcode='[BCDEGQRST]'
6090
 
  ;;
6091
 
solaris*)
6092
 
  symcode='[BDRT]'
6093
 
  ;;
6094
 
sco3.2v5*)
6095
 
  symcode='[DT]'
6096
 
  ;;
6097
 
sysv4.2uw2*)
6098
 
  symcode='[DT]'
6099
 
  ;;
6100
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6101
 
  symcode='[ABDT]'
6102
 
  ;;
6103
 
sysv4)
6104
 
  symcode='[DFNSTU]'
6105
 
  ;;
6106
 
esac
6107
 
 
6108
 
# If we're using GNU nm, then use its standard symbol codes.
6109
 
case `$NM -V 2>&1` in
6110
 
*GNU* | *'with BFD'*)
6111
 
  symcode='[ABCDGIRSTW]' ;;
6112
 
esac
6113
 
 
6114
 
# Transform an extracted symbol line into a proper C declaration.
6115
 
# Some systems (esp. on ia64) link data and code symbols differently,
6116
 
# so use this general approach.
6117
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6118
 
 
6119
 
# Transform an extracted symbol line into symbol name and symbol address
6120
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6121
 
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'"
6122
 
 
6123
 
# Handle CRLF in mingw tool chain
6124
 
opt_cr=
6125
 
case $build_os in
6126
 
mingw*)
6127
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6128
 
  ;;
6129
 
esac
6130
 
 
6131
 
# Try without a prefix underscore, then with it.
6132
 
for ac_symprfx in "" "_"; do
6133
 
 
6134
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6135
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6136
 
 
6137
 
  # Write the raw and C identifiers.
6138
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6139
 
    # Fake it for dumpbin and say T for any non-static function
6140
 
    # and D for any global variable.
6141
 
    # Also find C++ and __fastcall symbols from MSVC++,
6142
 
    # which start with @ or ?.
6143
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6144
 
"     {last_section=section; section=\$ 3};"\
6145
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6146
 
"     \$ 0!~/External *\|/{next};"\
6147
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6148
 
"     {if(hide[section]) next};"\
6149
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6150
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6151
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6152
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6153
 
"     ' prfx=^$ac_symprfx"
6154
 
  else
6155
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6156
 
  fi
6157
 
 
6158
 
  # Check to see that the pipe works correctly.
6159
 
  pipe_works=no
6160
 
 
6161
 
  rm -f conftest*
6162
 
  cat > conftest.$ac_ext <<_LT_EOF
6163
 
#ifdef __cplusplus
6164
 
extern "C" {
6165
 
#endif
6166
 
char nm_test_var;
6167
 
void nm_test_func(void);
6168
 
void nm_test_func(void){}
6169
 
#ifdef __cplusplus
6170
 
}
6171
 
#endif
6172
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6173
 
_LT_EOF
6174
 
 
6175
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6176
 
  (eval $ac_compile) 2>&5
6177
 
  ac_status=$?
6178
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179
 
  test $ac_status = 0; }; then
6180
 
    # Now try to grab the symbols.
6181
 
    nlist=conftest.nm
6182
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6183
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6184
 
  ac_status=$?
6185
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6186
 
  test $ac_status = 0; } && test -s "$nlist"; then
6187
 
      # Try sorting and uniquifying the output.
6188
 
      if sort "$nlist" | uniq > "$nlist"T; then
6189
 
        mv -f "$nlist"T "$nlist"
6190
 
      else
6191
 
        rm -f "$nlist"T
6192
 
      fi
6193
 
 
6194
 
      # Make sure that we snagged all the symbols we need.
6195
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6196
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6197
 
          cat <<_LT_EOF > conftest.$ac_ext
6198
 
#ifdef __cplusplus
6199
 
extern "C" {
6200
 
#endif
6201
 
 
6202
 
_LT_EOF
6203
 
          # Now generate the symbol file.
6204
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6205
 
 
6206
 
          cat <<_LT_EOF >> conftest.$ac_ext
6207
 
 
6208
 
/* The mapping between symbol names and symbols.  */
6209
 
const struct {
6210
 
  const char *name;
6211
 
  void       *address;
6212
 
}
6213
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6214
 
{
6215
 
  { "@PROGRAM@", (void *) 0 },
6216
 
_LT_EOF
6217
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6218
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6219
 
  {0, (void *) 0}
6220
 
};
6221
 
 
6222
 
/* This works around a problem in FreeBSD linker */
6223
 
#ifdef FREEBSD_WORKAROUND
6224
 
static const void *lt_preloaded_setup() {
6225
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6226
 
}
6227
 
#endif
6228
 
 
6229
 
#ifdef __cplusplus
6230
 
}
6231
 
#endif
6232
 
_LT_EOF
6233
 
          # Now try linking the two files.
6234
 
          mv conftest.$ac_objext conftstm.$ac_objext
6235
 
          lt_save_LIBS="$LIBS"
6236
 
          lt_save_CFLAGS="$CFLAGS"
6237
 
          LIBS="conftstm.$ac_objext"
6238
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6239
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6240
 
  (eval $ac_link) 2>&5
6241
 
  ac_status=$?
6242
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6243
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6244
 
            pipe_works=yes
6245
 
          fi
6246
 
          LIBS="$lt_save_LIBS"
6247
 
          CFLAGS="$lt_save_CFLAGS"
6248
 
        else
6249
 
          echo "cannot find nm_test_func in $nlist" >&5
6250
 
        fi
6251
 
      else
6252
 
        echo "cannot find nm_test_var in $nlist" >&5
6253
 
      fi
6254
 
    else
6255
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6256
 
    fi
6257
 
  else
6258
 
    echo "$progname: failed program was:" >&5
6259
 
    cat conftest.$ac_ext >&5
6260
 
  fi
6261
 
  rm -rf conftest* conftst*
6262
 
 
6263
 
  # Do not use the global_symbol_pipe unless it works.
6264
 
  if test "$pipe_works" = yes; then
6265
 
    break
6266
 
  else
6267
 
    lt_cv_sys_global_symbol_pipe=
6268
 
  fi
6269
 
done
6270
 
 
6271
 
fi
6272
 
 
6273
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6274
 
  lt_cv_sys_global_symbol_to_cdecl=
6275
 
fi
6276
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6277
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6278
 
$as_echo "failed" >&6; }
6279
 
else
6280
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6281
 
$as_echo "ok" >&6; }
6282
 
fi
6283
 
 
6284
 
 
6285
 
 
6286
 
 
6287
 
 
6288
 
 
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
 
 
6299
 
 
6300
 
 
6301
 
 
6302
 
 
6303
 
 
6304
 
 
6305
 
# Check whether --enable-libtool-lock was given.
6306
 
if test "${enable_libtool_lock+set}" = set; then :
6307
 
  enableval=$enable_libtool_lock;
6308
 
fi
6309
 
 
6310
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6311
 
 
6312
 
# Some flags need to be propagated to the compiler or linker for good
6313
 
# libtool support.
6314
 
case $host in
6315
 
ia64-*-hpux*)
6316
 
  # Find out which ABI we are using.
6317
 
  echo 'int i;' > conftest.$ac_ext
6318
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6319
 
  (eval $ac_compile) 2>&5
6320
 
  ac_status=$?
6321
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6322
 
  test $ac_status = 0; }; then
6323
 
    case `/usr/bin/file conftest.$ac_objext` in
6324
 
      *ELF-32*)
6325
 
        HPUX_IA64_MODE="32"
6326
 
        ;;
6327
 
      *ELF-64*)
6328
 
        HPUX_IA64_MODE="64"
6329
 
        ;;
6330
 
    esac
6331
 
  fi
6332
 
  rm -rf conftest*
6333
 
  ;;
6334
 
*-*-irix6*)
6335
 
  # Find out which ABI we are using.
6336
 
  echo '#line 6336 "configure"' > conftest.$ac_ext
6337
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6338
 
  (eval $ac_compile) 2>&5
6339
 
  ac_status=$?
6340
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6341
 
  test $ac_status = 0; }; then
6342
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6343
 
      case `/usr/bin/file conftest.$ac_objext` in
6344
 
        *32-bit*)
6345
 
          LD="${LD-ld} -melf32bsmip"
6346
 
          ;;
6347
 
        *N32*)
6348
 
          LD="${LD-ld} -melf32bmipn32"
6349
 
          ;;
6350
 
        *64-bit*)
6351
 
          LD="${LD-ld} -melf64bmip"
6352
 
        ;;
6353
 
      esac
6354
 
    else
6355
 
      case `/usr/bin/file conftest.$ac_objext` in
6356
 
        *32-bit*)
6357
 
          LD="${LD-ld} -32"
6358
 
          ;;
6359
 
        *N32*)
6360
 
          LD="${LD-ld} -n32"
6361
 
          ;;
6362
 
        *64-bit*)
6363
 
          LD="${LD-ld} -64"
6364
 
          ;;
6365
 
      esac
6366
 
    fi
6367
 
  fi
6368
 
  rm -rf conftest*
6369
 
  ;;
6370
 
 
6371
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6372
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6373
 
  # Find out which ABI we are using.
6374
 
  echo 'int i;' > conftest.$ac_ext
6375
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6376
 
  (eval $ac_compile) 2>&5
6377
 
  ac_status=$?
6378
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379
 
  test $ac_status = 0; }; then
6380
 
    case `/usr/bin/file conftest.o` in
6381
 
      *32-bit*)
6382
 
        case $host in
6383
 
          x86_64-*kfreebsd*-gnu)
6384
 
            LD="${LD-ld} -m elf_i386_fbsd"
6385
 
            ;;
6386
 
          x86_64-*linux*)
6387
 
            LD="${LD-ld} -m elf_i386"
6388
 
            ;;
6389
 
          ppc64-*linux*|powerpc64-*linux*)
6390
 
            LD="${LD-ld} -m elf32ppclinux"
6391
 
            ;;
6392
 
          s390x-*linux*)
6393
 
            LD="${LD-ld} -m elf_s390"
6394
 
            ;;
6395
 
          sparc64-*linux*)
6396
 
            LD="${LD-ld} -m elf32_sparc"
6397
 
            ;;
6398
 
        esac
6399
 
        ;;
6400
 
      *64-bit*)
6401
 
        case $host in
6402
 
          x86_64-*kfreebsd*-gnu)
6403
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6404
 
            ;;
6405
 
          x86_64-*linux*)
6406
 
            LD="${LD-ld} -m elf_x86_64"
6407
 
            ;;
6408
 
          ppc*-*linux*|powerpc*-*linux*)
6409
 
            LD="${LD-ld} -m elf64ppc"
6410
 
            ;;
6411
 
          s390*-*linux*|s390*-*tpf*)
6412
 
            LD="${LD-ld} -m elf64_s390"
6413
 
            ;;
6414
 
          sparc*-*linux*)
6415
 
            LD="${LD-ld} -m elf64_sparc"
6416
 
            ;;
6417
 
        esac
6418
 
        ;;
6419
 
    esac
6420
 
  fi
6421
 
  rm -rf conftest*
6422
 
  ;;
6423
 
 
6424
 
*-*-sco3.2v5*)
6425
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6426
 
  SAVE_CFLAGS="$CFLAGS"
6427
 
  CFLAGS="$CFLAGS -belf"
6428
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6429
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6430
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6431
 
  $as_echo_n "(cached) " >&6
6432
 
else
6433
 
  ac_ext=c
6434
 
ac_cpp='$CPP $CPPFLAGS'
6435
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6436
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6437
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6438
 
 
6439
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440
 
/* end confdefs.h.  */
6441
 
 
6442
 
int
6443
 
main ()
6444
 
{
6445
 
 
6446
 
  ;
6447
 
  return 0;
6448
 
}
6449
 
_ACEOF
6450
 
if ac_fn_c_try_link "$LINENO"; then :
6451
 
  lt_cv_cc_needs_belf=yes
6452
 
else
6453
 
  lt_cv_cc_needs_belf=no
6454
 
fi
6455
 
rm -f core conftest.err conftest.$ac_objext \
6456
 
    conftest$ac_exeext conftest.$ac_ext
6457
 
     ac_ext=c
6458
 
ac_cpp='$CPP $CPPFLAGS'
6459
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6460
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6461
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6462
 
 
6463
 
fi
6464
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6465
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6466
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6467
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6468
 
    CFLAGS="$SAVE_CFLAGS"
6469
 
  fi
6470
 
  ;;
6471
 
sparc*-*solaris*)
6472
 
  # Find out which ABI we are using.
6473
 
  echo 'int i;' > conftest.$ac_ext
6474
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6475
 
  (eval $ac_compile) 2>&5
6476
 
  ac_status=$?
6477
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6478
 
  test $ac_status = 0; }; then
6479
 
    case `/usr/bin/file conftest.o` in
6480
 
    *64-bit*)
6481
 
      case $lt_cv_prog_gnu_ld in
6482
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6483
 
      *)
6484
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6485
 
          LD="${LD-ld} -64"
6486
 
        fi
6487
 
        ;;
6488
 
      esac
6489
 
      ;;
6490
 
    esac
6491
 
  fi
6492
 
  rm -rf conftest*
6493
 
  ;;
6494
 
esac
6495
 
 
6496
 
need_locks="$enable_libtool_lock"
6497
 
 
6498
 
 
6499
 
  case $host_os in
6500
 
    rhapsody* | darwin*)
6501
 
    if test -n "$ac_tool_prefix"; then
6502
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6503
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6504
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505
 
$as_echo_n "checking for $ac_word... " >&6; }
6506
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6507
 
  $as_echo_n "(cached) " >&6
6508
 
else
6509
 
  if test -n "$DSYMUTIL"; then
6510
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6511
 
else
6512
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513
 
for as_dir in $PATH
6514
 
do
6515
 
  IFS=$as_save_IFS
6516
 
  test -z "$as_dir" && as_dir=.
6517
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6518
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6520
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521
 
    break 2
6522
 
  fi
6523
 
done
6524
 
  done
6525
 
IFS=$as_save_IFS
6526
 
 
6527
 
fi
6528
 
fi
6529
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6530
 
if test -n "$DSYMUTIL"; then
6531
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6532
 
$as_echo "$DSYMUTIL" >&6; }
6533
 
else
6534
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535
 
$as_echo "no" >&6; }
6536
 
fi
6537
 
 
6538
 
 
6539
 
fi
6540
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6541
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6542
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6543
 
set dummy dsymutil; ac_word=$2
6544
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545
 
$as_echo_n "checking for $ac_word... " >&6; }
6546
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6547
 
  $as_echo_n "(cached) " >&6
6548
 
else
6549
 
  if test -n "$ac_ct_DSYMUTIL"; then
6550
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6551
 
else
6552
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553
 
for as_dir in $PATH
6554
 
do
6555
 
  IFS=$as_save_IFS
6556
 
  test -z "$as_dir" && as_dir=.
6557
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6558
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6560
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561
 
    break 2
6562
 
  fi
6563
 
done
6564
 
  done
6565
 
IFS=$as_save_IFS
6566
 
 
6567
 
fi
6568
 
fi
6569
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6570
 
if test -n "$ac_ct_DSYMUTIL"; then
6571
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6572
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6573
 
else
6574
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575
 
$as_echo "no" >&6; }
6576
 
fi
6577
 
 
6578
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6579
 
    DSYMUTIL=":"
6580
 
  else
6581
 
    case $cross_compiling:$ac_tool_warned in
6582
 
yes:)
6583
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585
 
ac_tool_warned=yes ;;
6586
 
esac
6587
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6588
 
  fi
6589
 
else
6590
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6591
 
fi
6592
 
 
6593
 
    if test -n "$ac_tool_prefix"; then
6594
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6595
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6597
 
$as_echo_n "checking for $ac_word... " >&6; }
6598
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6599
 
  $as_echo_n "(cached) " >&6
6600
 
else
6601
 
  if test -n "$NMEDIT"; then
6602
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6603
 
else
6604
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605
 
for as_dir in $PATH
6606
 
do
6607
 
  IFS=$as_save_IFS
6608
 
  test -z "$as_dir" && as_dir=.
6609
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6610
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6612
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613
 
    break 2
6614
 
  fi
6615
 
done
6616
 
  done
6617
 
IFS=$as_save_IFS
6618
 
 
6619
 
fi
6620
 
fi
6621
 
NMEDIT=$ac_cv_prog_NMEDIT
6622
 
if test -n "$NMEDIT"; then
6623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6624
 
$as_echo "$NMEDIT" >&6; }
6625
 
else
6626
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6627
 
$as_echo "no" >&6; }
6628
 
fi
6629
 
 
6630
 
 
6631
 
fi
6632
 
if test -z "$ac_cv_prog_NMEDIT"; then
6633
 
  ac_ct_NMEDIT=$NMEDIT
6634
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6635
 
set dummy nmedit; ac_word=$2
6636
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637
 
$as_echo_n "checking for $ac_word... " >&6; }
6638
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6639
 
  $as_echo_n "(cached) " >&6
6640
 
else
6641
 
  if test -n "$ac_ct_NMEDIT"; then
6642
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6643
 
else
6644
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645
 
for as_dir in $PATH
6646
 
do
6647
 
  IFS=$as_save_IFS
6648
 
  test -z "$as_dir" && as_dir=.
6649
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6650
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6652
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653
 
    break 2
6654
 
  fi
6655
 
done
6656
 
  done
6657
 
IFS=$as_save_IFS
6658
 
 
6659
 
fi
6660
 
fi
6661
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6662
 
if test -n "$ac_ct_NMEDIT"; then
6663
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6664
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6665
 
else
6666
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667
 
$as_echo "no" >&6; }
6668
 
fi
6669
 
 
6670
 
  if test "x$ac_ct_NMEDIT" = x; then
6671
 
    NMEDIT=":"
6672
 
  else
6673
 
    case $cross_compiling:$ac_tool_warned in
6674
 
yes:)
6675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677
 
ac_tool_warned=yes ;;
6678
 
esac
6679
 
    NMEDIT=$ac_ct_NMEDIT
6680
 
  fi
6681
 
else
6682
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6683
 
fi
6684
 
 
6685
 
    if test -n "$ac_tool_prefix"; then
6686
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6687
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689
 
$as_echo_n "checking for $ac_word... " >&6; }
6690
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
6691
 
  $as_echo_n "(cached) " >&6
6692
 
else
6693
 
  if test -n "$LIPO"; then
6694
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6695
 
else
6696
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697
 
for as_dir in $PATH
6698
 
do
6699
 
  IFS=$as_save_IFS
6700
 
  test -z "$as_dir" && as_dir=.
6701
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6702
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6703
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6704
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705
 
    break 2
6706
 
  fi
6707
 
done
6708
 
  done
6709
 
IFS=$as_save_IFS
6710
 
 
6711
 
fi
6712
 
fi
6713
 
LIPO=$ac_cv_prog_LIPO
6714
 
if test -n "$LIPO"; then
6715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6716
 
$as_echo "$LIPO" >&6; }
6717
 
else
6718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719
 
$as_echo "no" >&6; }
6720
 
fi
6721
 
 
6722
 
 
6723
 
fi
6724
 
if test -z "$ac_cv_prog_LIPO"; then
6725
 
  ac_ct_LIPO=$LIPO
6726
 
  # Extract the first word of "lipo", so it can be a program name with args.
6727
 
set dummy lipo; ac_word=$2
6728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729
 
$as_echo_n "checking for $ac_word... " >&6; }
6730
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6731
 
  $as_echo_n "(cached) " >&6
6732
 
else
6733
 
  if test -n "$ac_ct_LIPO"; then
6734
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6735
 
else
6736
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737
 
for as_dir in $PATH
6738
 
do
6739
 
  IFS=$as_save_IFS
6740
 
  test -z "$as_dir" && as_dir=.
6741
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6742
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6743
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6744
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745
 
    break 2
6746
 
  fi
6747
 
done
6748
 
  done
6749
 
IFS=$as_save_IFS
6750
 
 
6751
 
fi
6752
 
fi
6753
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6754
 
if test -n "$ac_ct_LIPO"; then
6755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6756
 
$as_echo "$ac_ct_LIPO" >&6; }
6757
 
else
6758
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759
 
$as_echo "no" >&6; }
6760
 
fi
6761
 
 
6762
 
  if test "x$ac_ct_LIPO" = x; then
6763
 
    LIPO=":"
6764
 
  else
6765
 
    case $cross_compiling:$ac_tool_warned in
6766
 
yes:)
6767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769
 
ac_tool_warned=yes ;;
6770
 
esac
6771
 
    LIPO=$ac_ct_LIPO
6772
 
  fi
6773
 
else
6774
 
  LIPO="$ac_cv_prog_LIPO"
6775
 
fi
6776
 
 
6777
 
    if test -n "$ac_tool_prefix"; then
6778
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6779
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6780
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781
 
$as_echo_n "checking for $ac_word... " >&6; }
6782
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6783
 
  $as_echo_n "(cached) " >&6
6784
 
else
6785
 
  if test -n "$OTOOL"; then
6786
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6787
 
else
6788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789
 
for as_dir in $PATH
6790
 
do
6791
 
  IFS=$as_save_IFS
6792
 
  test -z "$as_dir" && as_dir=.
6793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6794
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6795
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6796
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797
 
    break 2
6798
 
  fi
6799
 
done
6800
 
  done
6801
 
IFS=$as_save_IFS
6802
 
 
6803
 
fi
6804
 
fi
6805
 
OTOOL=$ac_cv_prog_OTOOL
6806
 
if test -n "$OTOOL"; then
6807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6808
 
$as_echo "$OTOOL" >&6; }
6809
 
else
6810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811
 
$as_echo "no" >&6; }
6812
 
fi
6813
 
 
6814
 
 
6815
 
fi
6816
 
if test -z "$ac_cv_prog_OTOOL"; then
6817
 
  ac_ct_OTOOL=$OTOOL
6818
 
  # Extract the first word of "otool", so it can be a program name with args.
6819
 
set dummy otool; ac_word=$2
6820
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821
 
$as_echo_n "checking for $ac_word... " >&6; }
6822
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6823
 
  $as_echo_n "(cached) " >&6
6824
 
else
6825
 
  if test -n "$ac_ct_OTOOL"; then
6826
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6827
 
else
6828
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829
 
for as_dir in $PATH
6830
 
do
6831
 
  IFS=$as_save_IFS
6832
 
  test -z "$as_dir" && as_dir=.
6833
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6834
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6835
 
    ac_cv_prog_ac_ct_OTOOL="otool"
6836
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837
 
    break 2
6838
 
  fi
6839
 
done
6840
 
  done
6841
 
IFS=$as_save_IFS
6842
 
 
6843
 
fi
6844
 
fi
6845
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6846
 
if test -n "$ac_ct_OTOOL"; then
6847
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6848
 
$as_echo "$ac_ct_OTOOL" >&6; }
6849
 
else
6850
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851
 
$as_echo "no" >&6; }
6852
 
fi
6853
 
 
6854
 
  if test "x$ac_ct_OTOOL" = x; then
6855
 
    OTOOL=":"
6856
 
  else
6857
 
    case $cross_compiling:$ac_tool_warned in
6858
 
yes:)
6859
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861
 
ac_tool_warned=yes ;;
6862
 
esac
6863
 
    OTOOL=$ac_ct_OTOOL
6864
 
  fi
6865
 
else
6866
 
  OTOOL="$ac_cv_prog_OTOOL"
6867
 
fi
6868
 
 
6869
 
    if test -n "$ac_tool_prefix"; then
6870
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6871
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6872
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873
 
$as_echo_n "checking for $ac_word... " >&6; }
6874
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6875
 
  $as_echo_n "(cached) " >&6
6876
 
else
6877
 
  if test -n "$OTOOL64"; then
6878
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6879
 
else
6880
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881
 
for as_dir in $PATH
6882
 
do
6883
 
  IFS=$as_save_IFS
6884
 
  test -z "$as_dir" && as_dir=.
6885
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6886
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6888
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889
 
    break 2
6890
 
  fi
6891
 
done
6892
 
  done
6893
 
IFS=$as_save_IFS
6894
 
 
6895
 
fi
6896
 
fi
6897
 
OTOOL64=$ac_cv_prog_OTOOL64
6898
 
if test -n "$OTOOL64"; then
6899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6900
 
$as_echo "$OTOOL64" >&6; }
6901
 
else
6902
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903
 
$as_echo "no" >&6; }
6904
 
fi
6905
 
 
6906
 
 
6907
 
fi
6908
 
if test -z "$ac_cv_prog_OTOOL64"; then
6909
 
  ac_ct_OTOOL64=$OTOOL64
6910
 
  # Extract the first word of "otool64", so it can be a program name with args.
6911
 
set dummy otool64; ac_word=$2
6912
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913
 
$as_echo_n "checking for $ac_word... " >&6; }
6914
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6915
 
  $as_echo_n "(cached) " >&6
6916
 
else
6917
 
  if test -n "$ac_ct_OTOOL64"; then
6918
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6919
 
else
6920
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921
 
for as_dir in $PATH
6922
 
do
6923
 
  IFS=$as_save_IFS
6924
 
  test -z "$as_dir" && as_dir=.
6925
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6926
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6928
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929
 
    break 2
6930
 
  fi
6931
 
done
6932
 
  done
6933
 
IFS=$as_save_IFS
6934
 
 
6935
 
fi
6936
 
fi
6937
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6938
 
if test -n "$ac_ct_OTOOL64"; then
6939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6940
 
$as_echo "$ac_ct_OTOOL64" >&6; }
6941
 
else
6942
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943
 
$as_echo "no" >&6; }
6944
 
fi
6945
 
 
6946
 
  if test "x$ac_ct_OTOOL64" = x; then
6947
 
    OTOOL64=":"
6948
 
  else
6949
 
    case $cross_compiling:$ac_tool_warned in
6950
 
yes:)
6951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953
 
ac_tool_warned=yes ;;
6954
 
esac
6955
 
    OTOOL64=$ac_ct_OTOOL64
6956
 
  fi
6957
 
else
6958
 
  OTOOL64="$ac_cv_prog_OTOOL64"
6959
 
fi
6960
 
 
6961
 
 
6962
 
 
6963
 
 
6964
 
 
6965
 
 
6966
 
 
6967
 
 
6968
 
 
6969
 
 
6970
 
 
6971
 
 
6972
 
 
6973
 
 
6974
 
 
6975
 
 
6976
 
 
6977
 
 
6978
 
 
6979
 
 
6980
 
 
6981
 
 
6982
 
 
6983
 
 
6984
 
 
6985
 
 
6986
 
 
6987
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6988
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
6989
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6990
 
  $as_echo_n "(cached) " >&6
6991
 
else
6992
 
  lt_cv_apple_cc_single_mod=no
6993
 
      if test -z "${LT_MULTI_MODULE}"; then
6994
 
        # By default we will add the -single_module flag. You can override
6995
 
        # by either setting the environment variable LT_MULTI_MODULE
6996
 
        # non-empty at configure time, or by adding -multi_module to the
6997
 
        # link flags.
6998
 
        rm -rf libconftest.dylib*
6999
 
        echo "int foo(void){return 1;}" > conftest.c
7000
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7001
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7002
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7003
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7004
 
        _lt_result=$?
7005
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7006
 
          lt_cv_apple_cc_single_mod=yes
7007
 
        else
7008
 
          cat conftest.err >&5
7009
 
        fi
7010
 
        rm -rf libconftest.dylib*
7011
 
        rm -f conftest.*
7012
 
      fi
7013
 
fi
7014
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7015
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7016
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7017
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7018
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7019
 
  $as_echo_n "(cached) " >&6
7020
 
else
7021
 
  lt_cv_ld_exported_symbols_list=no
7022
 
      save_LDFLAGS=$LDFLAGS
7023
 
      echo "_main" > conftest.sym
7024
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7025
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026
 
/* end confdefs.h.  */
7027
 
 
7028
 
int
7029
 
main ()
7030
 
{
7031
 
 
7032
 
  ;
7033
 
  return 0;
7034
 
}
7035
 
_ACEOF
7036
 
if ac_fn_c_try_link "$LINENO"; then :
7037
 
  lt_cv_ld_exported_symbols_list=yes
7038
 
else
7039
 
  lt_cv_ld_exported_symbols_list=no
7040
 
fi
7041
 
rm -f core conftest.err conftest.$ac_objext \
7042
 
    conftest$ac_exeext conftest.$ac_ext
7043
 
        LDFLAGS="$save_LDFLAGS"
7044
 
 
7045
 
fi
7046
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7047
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7048
 
    case $host_os in
7049
 
    rhapsody* | darwin1.[012])
7050
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7051
 
    darwin1.*)
7052
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7053
 
    darwin*) # darwin 5.x on
7054
 
      # if running on 10.5 or later, the deployment target defaults
7055
 
      # to the OS version, if on x86, and 10.4, the deployment
7056
 
      # target defaults to 10.4. Don't you love it?
7057
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7058
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7059
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7060
 
        10.[012]*)
7061
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7062
 
        10.*)
7063
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7064
 
      esac
7065
 
    ;;
7066
 
  esac
7067
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7068
 
      _lt_dar_single_mod='$single_module'
7069
 
    fi
7070
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7071
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7072
 
    else
7073
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7074
 
    fi
7075
 
    if test "$DSYMUTIL" != ":"; then
7076
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7077
 
    else
7078
 
      _lt_dsymutil=
7079
 
    fi
7080
 
    ;;
7081
 
  esac
7082
 
 
7083
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7084
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7085
 
                  inttypes.h stdint.h unistd.h
7086
 
do :
7087
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7089
 
"
7090
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7091
 
  cat >>confdefs.h <<_ACEOF
7092
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7093
 
_ACEOF
7094
 
 
7095
 
fi
7096
 
 
7097
 
done
7098
 
 
7099
 
 
7100
 
for ac_header in dlfcn.h
7101
 
do :
7102
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7103
 
"
7104
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7105
 
  cat >>confdefs.h <<_ACEOF
7106
 
#define HAVE_DLFCN_H 1
7107
 
_ACEOF
7108
 
 
7109
 
fi
7110
 
 
7111
 
done
7112
 
 
7113
 
 
7114
 
 
7115
 
# Set options
7116
 
 
7117
 
 
7118
 
 
7119
 
        enable_dlopen=no
7120
 
 
7121
 
 
7122
 
  enable_win32_dll=no
7123
 
 
7124
 
 
7125
 
            # Check whether --enable-shared was given.
7126
 
if test "${enable_shared+set}" = set; then :
7127
 
  enableval=$enable_shared; p=${PACKAGE-default}
7128
 
    case $enableval in
7129
 
    yes) enable_shared=yes ;;
7130
 
    no) enable_shared=no ;;
7131
 
    *)
7132
 
      enable_shared=no
7133
 
      # Look at the argument we got.  We use all the common list separators.
7134
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7135
 
      for pkg in $enableval; do
7136
 
        IFS="$lt_save_ifs"
7137
 
        if test "X$pkg" = "X$p"; then
7138
 
          enable_shared=yes
7139
 
        fi
7140
 
      done
7141
 
      IFS="$lt_save_ifs"
7142
 
      ;;
7143
 
    esac
7144
 
else
7145
 
  enable_shared=yes
7146
 
fi
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
 
 
7152
 
 
7153
 
 
7154
 
 
7155
 
 
7156
 
  # Check whether --enable-static was given.
7157
 
if test "${enable_static+set}" = set; then :
7158
 
  enableval=$enable_static; p=${PACKAGE-default}
7159
 
    case $enableval in
7160
 
    yes) enable_static=yes ;;
7161
 
    no) enable_static=no ;;
7162
 
    *)
7163
 
     enable_static=no
7164
 
      # Look at the argument we got.  We use all the common list separators.
7165
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7166
 
      for pkg in $enableval; do
7167
 
        IFS="$lt_save_ifs"
7168
 
        if test "X$pkg" = "X$p"; then
7169
 
          enable_static=yes
7170
 
        fi
7171
 
      done
7172
 
      IFS="$lt_save_ifs"
7173
 
      ;;
7174
 
    esac
7175
 
else
7176
 
  enable_static=yes
7177
 
fi
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
# Check whether --with-pic was given.
7189
 
if test "${with_pic+set}" = set; then :
7190
 
  withval=$with_pic; pic_mode="$withval"
7191
 
else
7192
 
  pic_mode=default
7193
 
fi
7194
 
 
7195
 
 
7196
 
test -z "$pic_mode" && pic_mode=default
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
 
 
7204
 
  # Check whether --enable-fast-install was given.
7205
 
if test "${enable_fast_install+set}" = set; then :
7206
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7207
 
    case $enableval in
7208
 
    yes) enable_fast_install=yes ;;
7209
 
    no) enable_fast_install=no ;;
7210
 
    *)
7211
 
      enable_fast_install=no
7212
 
      # Look at the argument we got.  We use all the common list separators.
7213
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7214
 
      for pkg in $enableval; do
7215
 
        IFS="$lt_save_ifs"
7216
 
        if test "X$pkg" = "X$p"; then
7217
 
          enable_fast_install=yes
7218
 
        fi
7219
 
      done
7220
 
      IFS="$lt_save_ifs"
7221
 
      ;;
7222
 
    esac
7223
 
else
7224
 
  enable_fast_install=yes
7225
 
fi
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
 
 
7231
 
 
7232
 
 
7233
 
 
7234
 
 
7235
 
 
7236
 
 
7237
 
# This can be used to rebuild libtool when needed
7238
 
LIBTOOL_DEPS="$ltmain"
7239
 
 
7240
 
# Always use our own libtool.
7241
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7242
 
 
7243
 
 
7244
 
 
7245
 
 
7246
 
 
7247
 
 
7248
 
 
7249
 
 
7250
 
 
7251
 
 
7252
 
 
7253
 
 
7254
 
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
 
 
7263
 
 
7264
 
 
7265
 
 
7266
 
 
7267
 
test -z "$LN_S" && LN_S="ln -s"
7268
 
 
7269
 
 
7270
 
 
7271
 
 
7272
 
 
7273
 
 
7274
 
 
7275
 
 
7276
 
 
7277
 
 
7278
 
 
7279
 
 
7280
 
 
7281
 
 
7282
 
if test -n "${ZSH_VERSION+set}" ; then
7283
 
   setopt NO_GLOB_SUBST
7284
 
fi
7285
 
 
7286
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7287
 
$as_echo_n "checking for objdir... " >&6; }
7288
 
if test "${lt_cv_objdir+set}" = set; then :
7289
 
  $as_echo_n "(cached) " >&6
7290
 
else
7291
 
  rm -f .libs 2>/dev/null
7292
 
mkdir .libs 2>/dev/null
7293
 
if test -d .libs; then
7294
 
  lt_cv_objdir=.libs
7295
 
else
7296
 
  # MS-DOS does not allow filenames that begin with a dot.
7297
 
  lt_cv_objdir=_libs
7298
 
fi
7299
 
rmdir .libs 2>/dev/null
7300
 
fi
7301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7302
 
$as_echo "$lt_cv_objdir" >&6; }
7303
 
objdir=$lt_cv_objdir
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
cat >>confdefs.h <<_ACEOF
7310
 
#define LT_OBJDIR "$lt_cv_objdir/"
7311
 
_ACEOF
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
 
case $host_os in
7330
 
aix3*)
7331
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7332
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7333
 
  # vanish in a puff of smoke.
7334
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7335
 
    COLLECT_NAMES=
7336
 
    export COLLECT_NAMES
7337
 
  fi
7338
 
  ;;
7339
 
esac
7340
 
 
7341
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7342
 
# metacharacters that are still active within double-quoted strings.
7343
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7344
 
 
7345
 
# Same as above, but do not quote variable references.
7346
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7347
 
 
7348
 
# Sed substitution to delay expansion of an escaped shell variable in a
7349
 
# double_quote_subst'ed string.
7350
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7351
 
 
7352
 
# Sed substitution to delay expansion of an escaped single quote.
7353
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7354
 
 
7355
 
# Sed substitution to avoid accidental globbing in evaled expressions
7356
 
no_glob_subst='s/\*/\\\*/g'
7357
 
 
7358
 
# Global variables:
7359
 
ofile=libtool
7360
 
can_build_shared=yes
7361
 
 
7362
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7363
 
# which needs '.lib').
7364
 
libext=a
7365
 
 
7366
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7367
 
 
7368
 
old_CC="$CC"
7369
 
old_CFLAGS="$CFLAGS"
7370
 
 
7371
 
# Set sane defaults for various variables
7372
 
test -z "$CC" && CC=cc
7373
 
test -z "$LTCC" && LTCC=$CC
7374
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7375
 
test -z "$LD" && LD=ld
7376
 
test -z "$ac_objext" && ac_objext=o
7377
 
 
7378
 
for cc_temp in $compiler""; do
7379
 
  case $cc_temp in
7380
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7381
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7382
 
    \-*) ;;
7383
 
    *) break;;
7384
 
  esac
7385
 
done
7386
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7387
 
 
7388
 
 
7389
 
# Only perform the check for file, if the check method requires it
7390
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7391
 
case $deplibs_check_method in
7392
 
file_magic*)
7393
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7394
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7395
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7396
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7397
 
  $as_echo_n "(cached) " >&6
7398
 
else
7399
 
  case $MAGIC_CMD in
7400
 
[\\/*] |  ?:[\\/]*)
7401
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7402
 
  ;;
7403
 
*)
7404
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7405
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7406
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7407
 
  for ac_dir in $ac_dummy; do
7408
 
    IFS="$lt_save_ifs"
7409
 
    test -z "$ac_dir" && ac_dir=.
7410
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7411
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7412
 
      if test -n "$file_magic_test_file"; then
7413
 
        case $deplibs_check_method in
7414
 
        "file_magic "*)
7415
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7416
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7417
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7418
 
            $EGREP "$file_magic_regex" > /dev/null; then
7419
 
            :
7420
 
          else
7421
 
            cat <<_LT_EOF 1>&2
7422
 
 
7423
 
*** Warning: the command libtool uses to detect shared libraries,
7424
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7425
 
*** The result is that libtool may fail to recognize shared libraries
7426
 
*** as such.  This will affect the creation of libtool libraries that
7427
 
*** depend on shared libraries, but programs linked with such libtool
7428
 
*** libraries will work regardless of this problem.  Nevertheless, you
7429
 
*** may want to report the problem to your system manager and/or to
7430
 
*** bug-libtool@gnu.org
7431
 
 
7432
 
_LT_EOF
7433
 
          fi ;;
7434
 
        esac
7435
 
      fi
7436
 
      break
7437
 
    fi
7438
 
  done
7439
 
  IFS="$lt_save_ifs"
7440
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7441
 
  ;;
7442
 
esac
7443
 
fi
7444
 
 
7445
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7446
 
if test -n "$MAGIC_CMD"; then
7447
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7448
 
$as_echo "$MAGIC_CMD" >&6; }
7449
 
else
7450
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451
 
$as_echo "no" >&6; }
7452
 
fi
7453
 
 
7454
 
 
7455
 
 
7456
 
 
7457
 
 
7458
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7459
 
  if test -n "$ac_tool_prefix"; then
7460
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7461
 
$as_echo_n "checking for file... " >&6; }
7462
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7463
 
  $as_echo_n "(cached) " >&6
7464
 
else
7465
 
  case $MAGIC_CMD in
7466
 
[\\/*] |  ?:[\\/]*)
7467
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7468
 
  ;;
7469
 
*)
7470
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7471
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7472
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7473
 
  for ac_dir in $ac_dummy; do
7474
 
    IFS="$lt_save_ifs"
7475
 
    test -z "$ac_dir" && ac_dir=.
7476
 
    if test -f $ac_dir/file; then
7477
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7478
 
      if test -n "$file_magic_test_file"; then
7479
 
        case $deplibs_check_method in
7480
 
        "file_magic "*)
7481
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7482
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7483
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7484
 
            $EGREP "$file_magic_regex" > /dev/null; then
7485
 
            :
7486
 
          else
7487
 
            cat <<_LT_EOF 1>&2
7488
 
 
7489
 
*** Warning: the command libtool uses to detect shared libraries,
7490
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7491
 
*** The result is that libtool may fail to recognize shared libraries
7492
 
*** as such.  This will affect the creation of libtool libraries that
7493
 
*** depend on shared libraries, but programs linked with such libtool
7494
 
*** libraries will work regardless of this problem.  Nevertheless, you
7495
 
*** may want to report the problem to your system manager and/or to
7496
 
*** bug-libtool@gnu.org
7497
 
 
7498
 
_LT_EOF
7499
 
          fi ;;
7500
 
        esac
7501
 
      fi
7502
 
      break
7503
 
    fi
7504
 
  done
7505
 
  IFS="$lt_save_ifs"
7506
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7507
 
  ;;
7508
 
esac
7509
 
fi
7510
 
 
7511
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7512
 
if test -n "$MAGIC_CMD"; then
7513
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7514
 
$as_echo "$MAGIC_CMD" >&6; }
7515
 
else
7516
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517
 
$as_echo "no" >&6; }
7518
 
fi
7519
 
 
7520
 
 
7521
 
  else
7522
 
    MAGIC_CMD=:
7523
 
  fi
7524
 
fi
7525
 
 
7526
 
  fi
7527
 
  ;;
7528
 
esac
7529
 
 
7530
 
# Use C for the default configuration in the libtool script
7531
 
 
7532
 
lt_save_CC="$CC"
7533
 
ac_ext=c
7534
 
ac_cpp='$CPP $CPPFLAGS'
7535
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7536
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7537
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7538
 
 
7539
 
 
7540
 
# Source file extension for C test sources.
7541
 
ac_ext=c
7542
 
 
7543
 
# Object file extension for compiled C test sources.
7544
 
objext=o
7545
 
objext=$objext
7546
 
 
7547
 
# Code to be used in simple compile tests
7548
 
lt_simple_compile_test_code="int some_variable = 0;"
7549
 
 
7550
 
# Code to be used in simple link tests
7551
 
lt_simple_link_test_code='int main(){return(0);}'
7552
 
 
7553
 
 
7554
 
 
7555
 
 
7556
 
 
7557
 
 
7558
 
 
7559
 
# If no C compiler was specified, use CC.
7560
 
LTCC=${LTCC-"$CC"}
7561
 
 
7562
 
# If no C compiler flags were specified, use CFLAGS.
7563
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7564
 
 
7565
 
# Allow CC to be a program name with arguments.
7566
 
compiler=$CC
7567
 
 
7568
 
# Save the default compiler, since it gets overwritten when the other
7569
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7570
 
compiler_DEFAULT=$CC
7571
 
 
7572
 
# save warnings/boilerplate of simple test code
7573
 
ac_outfile=conftest.$ac_objext
7574
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7575
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7576
 
_lt_compiler_boilerplate=`cat conftest.err`
7577
 
$RM conftest*
7578
 
 
7579
 
ac_outfile=conftest.$ac_objext
7580
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7581
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7582
 
_lt_linker_boilerplate=`cat conftest.err`
7583
 
$RM -r conftest*
7584
 
 
7585
 
 
7586
 
## CAVEAT EMPTOR:
7587
 
## There is no encapsulation within the following macros, do not change
7588
 
## the running order or otherwise move them around unless you know exactly
7589
 
## what you are doing...
7590
 
if test -n "$compiler"; then
7591
 
 
7592
 
lt_prog_compiler_no_builtin_flag=
7593
 
 
7594
 
if test "$GCC" = yes; then
7595
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7596
 
 
7597
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7598
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7599
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7600
 
  $as_echo_n "(cached) " >&6
7601
 
else
7602
 
  lt_cv_prog_compiler_rtti_exceptions=no
7603
 
   ac_outfile=conftest.$ac_objext
7604
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7605
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7606
 
   # Insert the option either (1) after the last *FLAGS variable, or
7607
 
   # (2) before a word containing "conftest.", or (3) at the end.
7608
 
   # Note that $ac_compile itself does not contain backslashes and begins
7609
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7610
 
   # The option is referenced via a variable to avoid confusing sed.
7611
 
   lt_compile=`echo "$ac_compile" | $SED \
7612
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7613
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7614
 
   -e 's:$: $lt_compiler_flag:'`
7615
 
   (eval echo "\"\$as_me:7615: $lt_compile\"" >&5)
7616
 
   (eval "$lt_compile" 2>conftest.err)
7617
 
   ac_status=$?
7618
 
   cat conftest.err >&5
7619
 
   echo "$as_me:7619: \$? = $ac_status" >&5
7620
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7621
 
     # The compiler can only warn and ignore the option if not recognized
7622
 
     # So say no if there are warnings other than the usual output.
7623
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7624
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7625
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7626
 
       lt_cv_prog_compiler_rtti_exceptions=yes
7627
 
     fi
7628
 
   fi
7629
 
   $RM conftest*
7630
 
 
7631
 
fi
7632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7633
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7634
 
 
7635
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7636
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7637
 
else
7638
 
    :
7639
 
fi
7640
 
 
7641
 
fi
7642
 
 
7643
 
 
7644
 
 
7645
 
 
7646
 
 
7647
 
 
7648
 
  lt_prog_compiler_wl=
7649
 
lt_prog_compiler_pic=
7650
 
lt_prog_compiler_static=
7651
 
 
7652
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7653
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7654
 
 
7655
 
  if test "$GCC" = yes; then
7656
 
    lt_prog_compiler_wl='-Wl,'
7657
 
    lt_prog_compiler_static='-static'
7658
 
 
7659
 
    case $host_os in
7660
 
      aix*)
7661
 
      # All AIX code is PIC.
7662
 
      if test "$host_cpu" = ia64; then
7663
 
        # AIX 5 now supports IA64 processor
7664
 
        lt_prog_compiler_static='-Bstatic'
7665
 
      fi
7666
 
      ;;
7667
 
 
7668
 
    amigaos*)
7669
 
      case $host_cpu in
7670
 
      powerpc)
7671
 
            # see comment about AmigaOS4 .so support
7672
 
            lt_prog_compiler_pic='-fPIC'
7673
 
        ;;
7674
 
      m68k)
7675
 
            # FIXME: we need at least 68020 code to build shared libraries, but
7676
 
            # adding the `-m68020' flag to GCC prevents building anything better,
7677
 
            # like `-m68040'.
7678
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7679
 
        ;;
7680
 
      esac
7681
 
      ;;
7682
 
 
7683
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7684
 
      # PIC is the default for these OSes.
7685
 
      ;;
7686
 
 
7687
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7688
 
      # This hack is so that the source file can tell whether it is being
7689
 
      # built for inclusion in a dll (and should export symbols for example).
7690
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7691
 
      # (--disable-auto-import) libraries
7692
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7693
 
      ;;
7694
 
 
7695
 
    darwin* | rhapsody*)
7696
 
      # PIC is the default on this platform
7697
 
      # Common symbols not allowed in MH_DYLIB files
7698
 
      lt_prog_compiler_pic='-fno-common'
7699
 
      ;;
7700
 
 
7701
 
    hpux*)
7702
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7703
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7704
 
      # sets the default TLS model and affects inlining.
7705
 
      case $host_cpu in
7706
 
      hppa*64*)
7707
 
        # +Z the default
7708
 
        ;;
7709
 
      *)
7710
 
        lt_prog_compiler_pic='-fPIC'
7711
 
        ;;
7712
 
      esac
7713
 
      ;;
7714
 
 
7715
 
    interix[3-9]*)
7716
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7717
 
      # Instead, we relocate shared libraries at runtime.
7718
 
      ;;
7719
 
 
7720
 
    msdosdjgpp*)
7721
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7722
 
      # on systems that don't support them.
7723
 
      lt_prog_compiler_can_build_shared=no
7724
 
      enable_shared=no
7725
 
      ;;
7726
 
 
7727
 
    *nto* | *qnx*)
7728
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7729
 
      # it will coredump.
7730
 
      lt_prog_compiler_pic='-fPIC -shared'
7731
 
      ;;
7732
 
 
7733
 
    sysv4*MP*)
7734
 
      if test -d /usr/nec; then
7735
 
        lt_prog_compiler_pic=-Kconform_pic
7736
 
      fi
7737
 
      ;;
7738
 
 
7739
 
    *)
7740
 
      lt_prog_compiler_pic='-fPIC'
7741
 
      ;;
7742
 
    esac
7743
 
  else
7744
 
    # PORTME Check for flag to pass linker flags through the system compiler.
7745
 
    case $host_os in
7746
 
    aix*)
7747
 
      lt_prog_compiler_wl='-Wl,'
7748
 
      if test "$host_cpu" = ia64; then
7749
 
        # AIX 5 now supports IA64 processor
7750
 
        lt_prog_compiler_static='-Bstatic'
7751
 
      else
7752
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7753
 
      fi
7754
 
      ;;
7755
 
 
7756
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7757
 
      # This hack is so that the source file can tell whether it is being
7758
 
      # built for inclusion in a dll (and should export symbols for example).
7759
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
7760
 
      ;;
7761
 
 
7762
 
    hpux9* | hpux10* | hpux11*)
7763
 
      lt_prog_compiler_wl='-Wl,'
7764
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7765
 
      # not for PA HP-UX.
7766
 
      case $host_cpu in
7767
 
      hppa*64*|ia64*)
7768
 
        # +Z the default
7769
 
        ;;
7770
 
      *)
7771
 
        lt_prog_compiler_pic='+Z'
7772
 
        ;;
7773
 
      esac
7774
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7775
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7776
 
      ;;
7777
 
 
7778
 
    irix5* | irix6* | nonstopux*)
7779
 
      lt_prog_compiler_wl='-Wl,'
7780
 
      # PIC (with -KPIC) is the default.
7781
 
      lt_prog_compiler_static='-non_shared'
7782
 
      ;;
7783
 
 
7784
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7785
 
      case $cc_basename in
7786
 
      # old Intel for x86_64 which still supported -KPIC.
7787
 
      ecc*)
7788
 
        lt_prog_compiler_wl='-Wl,'
7789
 
        lt_prog_compiler_pic='-KPIC'
7790
 
        lt_prog_compiler_static='-static'
7791
 
        ;;
7792
 
      # icc used to be incompatible with GCC.
7793
 
      # ICC 10 doesn't accept -KPIC any more.
7794
 
      icc* | ifort*)
7795
 
        lt_prog_compiler_wl='-Wl,'
7796
 
        lt_prog_compiler_pic='-fPIC'
7797
 
        lt_prog_compiler_static='-static'
7798
 
        ;;
7799
 
      # Lahey Fortran 8.1.
7800
 
      lf95*)
7801
 
        lt_prog_compiler_wl='-Wl,'
7802
 
        lt_prog_compiler_pic='--shared'
7803
 
        lt_prog_compiler_static='--static'
7804
 
        ;;
7805
 
      pgcc* | pgf77* | pgf90* | pgf95*)
7806
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
7807
 
        # which looks to be a dead project)
7808
 
        lt_prog_compiler_wl='-Wl,'
7809
 
        lt_prog_compiler_pic='-fpic'
7810
 
        lt_prog_compiler_static='-Bstatic'
7811
 
        ;;
7812
 
      ccc*)
7813
 
        lt_prog_compiler_wl='-Wl,'
7814
 
        # All Alpha code is PIC.
7815
 
        lt_prog_compiler_static='-non_shared'
7816
 
        ;;
7817
 
      xl*)
7818
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
7819
 
        lt_prog_compiler_wl='-Wl,'
7820
 
        lt_prog_compiler_pic='-qpic'
7821
 
        lt_prog_compiler_static='-qstaticlink'
7822
 
        ;;
7823
 
      *)
7824
 
        case `$CC -V 2>&1 | sed 5q` in
7825
 
        *Sun\ C*)
7826
 
          # Sun C 5.9
7827
 
          lt_prog_compiler_pic='-KPIC'
7828
 
          lt_prog_compiler_static='-Bstatic'
7829
 
          lt_prog_compiler_wl='-Wl,'
7830
 
          ;;
7831
 
        *Sun\ F*)
7832
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7833
 
          lt_prog_compiler_pic='-KPIC'
7834
 
          lt_prog_compiler_static='-Bstatic'
7835
 
          lt_prog_compiler_wl=''
7836
 
          ;;
7837
 
        esac
7838
 
        ;;
7839
 
      esac
7840
 
      ;;
7841
 
 
7842
 
    newsos6)
7843
 
      lt_prog_compiler_pic='-KPIC'
7844
 
      lt_prog_compiler_static='-Bstatic'
7845
 
      ;;
7846
 
 
7847
 
    *nto* | *qnx*)
7848
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7849
 
      # it will coredump.
7850
 
      lt_prog_compiler_pic='-fPIC -shared'
7851
 
      ;;
7852
 
 
7853
 
    osf3* | osf4* | osf5*)
7854
 
      lt_prog_compiler_wl='-Wl,'
7855
 
      # All OSF/1 code is PIC.
7856
 
      lt_prog_compiler_static='-non_shared'
7857
 
      ;;
7858
 
 
7859
 
    rdos*)
7860
 
      lt_prog_compiler_static='-non_shared'
7861
 
      ;;
7862
 
 
7863
 
    solaris*)
7864
 
      lt_prog_compiler_pic='-KPIC'
7865
 
      lt_prog_compiler_static='-Bstatic'
7866
 
      case $cc_basename in
7867
 
      f77* | f90* | f95*)
7868
 
        lt_prog_compiler_wl='-Qoption ld ';;
7869
 
      *)
7870
 
        lt_prog_compiler_wl='-Wl,';;
7871
 
      esac
7872
 
      ;;
7873
 
 
7874
 
    sunos4*)
7875
 
      lt_prog_compiler_wl='-Qoption ld '
7876
 
      lt_prog_compiler_pic='-PIC'
7877
 
      lt_prog_compiler_static='-Bstatic'
7878
 
      ;;
7879
 
 
7880
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
7881
 
      lt_prog_compiler_wl='-Wl,'
7882
 
      lt_prog_compiler_pic='-KPIC'
7883
 
      lt_prog_compiler_static='-Bstatic'
7884
 
      ;;
7885
 
 
7886
 
    sysv4*MP*)
7887
 
      if test -d /usr/nec ;then
7888
 
        lt_prog_compiler_pic='-Kconform_pic'
7889
 
        lt_prog_compiler_static='-Bstatic'
7890
 
      fi
7891
 
      ;;
7892
 
 
7893
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7894
 
      lt_prog_compiler_wl='-Wl,'
7895
 
      lt_prog_compiler_pic='-KPIC'
7896
 
      lt_prog_compiler_static='-Bstatic'
7897
 
      ;;
7898
 
 
7899
 
    unicos*)
7900
 
      lt_prog_compiler_wl='-Wl,'
7901
 
      lt_prog_compiler_can_build_shared=no
7902
 
      ;;
7903
 
 
7904
 
    uts4*)
7905
 
      lt_prog_compiler_pic='-pic'
7906
 
      lt_prog_compiler_static='-Bstatic'
7907
 
      ;;
7908
 
 
7909
 
    *)
7910
 
      lt_prog_compiler_can_build_shared=no
7911
 
      ;;
7912
 
    esac
7913
 
  fi
7914
 
 
7915
 
case $host_os in
7916
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7917
 
  *djgpp*)
7918
 
    lt_prog_compiler_pic=
7919
 
    ;;
7920
 
  *)
7921
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7922
 
    ;;
7923
 
esac
7924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7925
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7926
 
 
7927
 
 
7928
 
 
7929
 
 
7930
 
 
7931
 
 
7932
 
#
7933
 
# Check to make sure the PIC flag actually works.
7934
 
#
7935
 
if test -n "$lt_prog_compiler_pic"; then
7936
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7937
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7938
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7939
 
  $as_echo_n "(cached) " >&6
7940
 
else
7941
 
  lt_cv_prog_compiler_pic_works=no
7942
 
   ac_outfile=conftest.$ac_objext
7943
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7944
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7945
 
   # Insert the option either (1) after the last *FLAGS variable, or
7946
 
   # (2) before a word containing "conftest.", or (3) at the end.
7947
 
   # Note that $ac_compile itself does not contain backslashes and begins
7948
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7949
 
   # The option is referenced via a variable to avoid confusing sed.
7950
 
   lt_compile=`echo "$ac_compile" | $SED \
7951
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7952
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7953
 
   -e 's:$: $lt_compiler_flag:'`
7954
 
   (eval echo "\"\$as_me:7954: $lt_compile\"" >&5)
7955
 
   (eval "$lt_compile" 2>conftest.err)
7956
 
   ac_status=$?
7957
 
   cat conftest.err >&5
7958
 
   echo "$as_me:7958: \$? = $ac_status" >&5
7959
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
7960
 
     # The compiler can only warn and ignore the option if not recognized
7961
 
     # So say no if there are warnings other than the usual output.
7962
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7963
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7964
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7965
 
       lt_cv_prog_compiler_pic_works=yes
7966
 
     fi
7967
 
   fi
7968
 
   $RM conftest*
7969
 
 
7970
 
fi
7971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7972
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7973
 
 
7974
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7975
 
    case $lt_prog_compiler_pic in
7976
 
     "" | " "*) ;;
7977
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7978
 
     esac
7979
 
else
7980
 
    lt_prog_compiler_pic=
7981
 
     lt_prog_compiler_can_build_shared=no
7982
 
fi
7983
 
 
7984
 
fi
7985
 
 
7986
 
 
7987
 
 
7988
 
 
7989
 
 
7990
 
 
7991
 
#
7992
 
# Check to make sure the static flag actually works.
7993
 
#
7994
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7995
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7996
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7997
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7998
 
  $as_echo_n "(cached) " >&6
7999
 
else
8000
 
  lt_cv_prog_compiler_static_works=no
8001
 
   save_LDFLAGS="$LDFLAGS"
8002
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8003
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8004
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8005
 
     # The linker can only warn and ignore the option if not recognized
8006
 
     # So say no if there are warnings
8007
 
     if test -s conftest.err; then
8008
 
       # Append any errors to the config.log.
8009
 
       cat conftest.err 1>&5
8010
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8011
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8012
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8013
 
         lt_cv_prog_compiler_static_works=yes
8014
 
       fi
8015
 
     else
8016
 
       lt_cv_prog_compiler_static_works=yes
8017
 
     fi
8018
 
   fi
8019
 
   $RM -r conftest*
8020
 
   LDFLAGS="$save_LDFLAGS"
8021
 
 
8022
 
fi
8023
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8024
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8025
 
 
8026
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8027
 
    :
8028
 
else
8029
 
    lt_prog_compiler_static=
8030
 
fi
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8039
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8040
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8041
 
  $as_echo_n "(cached) " >&6
8042
 
else
8043
 
  lt_cv_prog_compiler_c_o=no
8044
 
   $RM -r conftest 2>/dev/null
8045
 
   mkdir conftest
8046
 
   cd conftest
8047
 
   mkdir out
8048
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8049
 
 
8050
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8051
 
   # Insert the option either (1) after the last *FLAGS variable, or
8052
 
   # (2) before a word containing "conftest.", or (3) at the end.
8053
 
   # Note that $ac_compile itself does not contain backslashes and begins
8054
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8055
 
   lt_compile=`echo "$ac_compile" | $SED \
8056
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8057
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8058
 
   -e 's:$: $lt_compiler_flag:'`
8059
 
   (eval echo "\"\$as_me:8059: $lt_compile\"" >&5)
8060
 
   (eval "$lt_compile" 2>out/conftest.err)
8061
 
   ac_status=$?
8062
 
   cat out/conftest.err >&5
8063
 
   echo "$as_me:8063: \$? = $ac_status" >&5
8064
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8065
 
   then
8066
 
     # The compiler can only warn and ignore the option if not recognized
8067
 
     # So say no if there are warnings
8068
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8069
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8070
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8071
 
       lt_cv_prog_compiler_c_o=yes
8072
 
     fi
8073
 
   fi
8074
 
   chmod u+w . 2>&5
8075
 
   $RM conftest*
8076
 
   # SGI C++ compiler will create directory out/ii_files/ for
8077
 
   # template instantiation
8078
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8079
 
   $RM out/* && rmdir out
8080
 
   cd ..
8081
 
   $RM -r conftest
8082
 
   $RM conftest*
8083
 
 
8084
 
fi
8085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8086
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8087
 
 
8088
 
 
8089
 
 
8090
 
 
8091
 
 
8092
 
 
8093
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8094
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8095
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8096
 
  $as_echo_n "(cached) " >&6
8097
 
else
8098
 
  lt_cv_prog_compiler_c_o=no
8099
 
   $RM -r conftest 2>/dev/null
8100
 
   mkdir conftest
8101
 
   cd conftest
8102
 
   mkdir out
8103
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8104
 
 
8105
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8106
 
   # Insert the option either (1) after the last *FLAGS variable, or
8107
 
   # (2) before a word containing "conftest.", or (3) at the end.
8108
 
   # Note that $ac_compile itself does not contain backslashes and begins
8109
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8110
 
   lt_compile=`echo "$ac_compile" | $SED \
8111
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8112
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8113
 
   -e 's:$: $lt_compiler_flag:'`
8114
 
   (eval echo "\"\$as_me:8114: $lt_compile\"" >&5)
8115
 
   (eval "$lt_compile" 2>out/conftest.err)
8116
 
   ac_status=$?
8117
 
   cat out/conftest.err >&5
8118
 
   echo "$as_me:8118: \$? = $ac_status" >&5
8119
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8120
 
   then
8121
 
     # The compiler can only warn and ignore the option if not recognized
8122
 
     # So say no if there are warnings
8123
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8124
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8125
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8126
 
       lt_cv_prog_compiler_c_o=yes
8127
 
     fi
8128
 
   fi
8129
 
   chmod u+w . 2>&5
8130
 
   $RM conftest*
8131
 
   # SGI C++ compiler will create directory out/ii_files/ for
8132
 
   # template instantiation
8133
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8134
 
   $RM out/* && rmdir out
8135
 
   cd ..
8136
 
   $RM -r conftest
8137
 
   $RM conftest*
8138
 
 
8139
 
fi
8140
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8141
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8142
 
 
8143
 
 
8144
 
 
8145
 
 
8146
 
hard_links="nottested"
8147
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8148
 
  # do not overwrite the value of need_locks provided by the user
8149
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8150
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8151
 
  hard_links=yes
8152
 
  $RM conftest*
8153
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8154
 
  touch conftest.a
8155
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8156
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8157
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8158
 
$as_echo "$hard_links" >&6; }
8159
 
  if test "$hard_links" = no; then
8160
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8161
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8162
 
    need_locks=warn
8163
 
  fi
8164
 
else
8165
 
  need_locks=no
8166
 
fi
8167
 
 
8168
 
 
8169
 
 
8170
 
 
8171
 
 
8172
 
 
8173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8174
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8175
 
 
8176
 
  runpath_var=
8177
 
  allow_undefined_flag=
8178
 
  always_export_symbols=no
8179
 
  archive_cmds=
8180
 
  archive_expsym_cmds=
8181
 
  compiler_needs_object=no
8182
 
  enable_shared_with_static_runtimes=no
8183
 
  export_dynamic_flag_spec=
8184
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8185
 
  hardcode_automatic=no
8186
 
  hardcode_direct=no
8187
 
  hardcode_direct_absolute=no
8188
 
  hardcode_libdir_flag_spec=
8189
 
  hardcode_libdir_flag_spec_ld=
8190
 
  hardcode_libdir_separator=
8191
 
  hardcode_minus_L=no
8192
 
  hardcode_shlibpath_var=unsupported
8193
 
  inherit_rpath=no
8194
 
  link_all_deplibs=unknown
8195
 
  module_cmds=
8196
 
  module_expsym_cmds=
8197
 
  old_archive_from_new_cmds=
8198
 
  old_archive_from_expsyms_cmds=
8199
 
  thread_safe_flag_spec=
8200
 
  whole_archive_flag_spec=
8201
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8202
 
  # included in the symbol list
8203
 
  include_expsyms=
8204
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8205
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8206
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8207
 
  # as well as any symbol that contains `d'.
8208
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8209
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8210
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8211
 
  # the symbol is explicitly referenced.  Since portable code cannot
8212
 
  # rely on this symbol name, it's probably fine to never include it in
8213
 
  # preloaded symbol tables.
8214
 
  # Exclude shared library initialization/finalization symbols.
8215
 
  extract_expsyms_cmds=
8216
 
 
8217
 
  case $host_os in
8218
 
  cygwin* | mingw* | pw32* | cegcc*)
8219
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8220
 
    # When not using gcc, we currently assume that we are using
8221
 
    # Microsoft Visual C++.
8222
 
    if test "$GCC" != yes; then
8223
 
      with_gnu_ld=no
8224
 
    fi
8225
 
    ;;
8226
 
  interix*)
8227
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8228
 
    with_gnu_ld=yes
8229
 
    ;;
8230
 
  openbsd*)
8231
 
    with_gnu_ld=no
8232
 
    ;;
8233
 
  linux* | k*bsd*-gnu)
8234
 
    link_all_deplibs=no
8235
 
    ;;
8236
 
  esac
8237
 
 
8238
 
  ld_shlibs=yes
8239
 
  if test "$with_gnu_ld" = yes; then
8240
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8241
 
    wlarc='${wl}'
8242
 
 
8243
 
    # Set some defaults for GNU ld with shared library support. These
8244
 
    # are reset later if shared libraries are not supported. Putting them
8245
 
    # here allows them to be overridden if necessary.
8246
 
    runpath_var=LD_RUN_PATH
8247
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8248
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8249
 
    # ancient GNU ld didn't support --whole-archive et. al.
8250
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8251
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8252
 
    else
8253
 
      whole_archive_flag_spec=
8254
 
    fi
8255
 
    supports_anon_versioning=no
8256
 
    case `$LD -v 2>&1` in
8257
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8258
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8259
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8260
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8261
 
      *\ 2.11.*) ;; # other 2.11 versions
8262
 
      *) supports_anon_versioning=yes ;;
8263
 
    esac
8264
 
 
8265
 
    # See if GNU ld supports shared libraries.
8266
 
    case $host_os in
8267
 
    aix[3-9]*)
8268
 
      # On AIX/PPC, the GNU linker is very broken
8269
 
      if test "$host_cpu" != ia64; then
8270
 
        ld_shlibs=no
8271
 
        cat <<_LT_EOF 1>&2
8272
 
 
8273
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8274
 
*** to be unable to reliably create shared libraries on AIX.
8275
 
*** Therefore, libtool is disabling shared libraries support.  If you
8276
 
*** really care for shared libraries, you may want to modify your PATH
8277
 
*** so that a non-GNU linker is found, and then restart.
8278
 
 
8279
 
_LT_EOF
8280
 
      fi
8281
 
      ;;
8282
 
 
8283
 
    amigaos*)
8284
 
      case $host_cpu in
8285
 
      powerpc)
8286
 
            # see comment about AmigaOS4 .so support
8287
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8288
 
            archive_expsym_cmds=''
8289
 
        ;;
8290
 
      m68k)
8291
 
            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)'
8292
 
            hardcode_libdir_flag_spec='-L$libdir'
8293
 
            hardcode_minus_L=yes
8294
 
        ;;
8295
 
      esac
8296
 
      ;;
8297
 
 
8298
 
    beos*)
8299
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8300
 
        allow_undefined_flag=unsupported
8301
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8302
 
        # support --undefined.  This deserves some investigation.  FIXME
8303
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8304
 
      else
8305
 
        ld_shlibs=no
8306
 
      fi
8307
 
      ;;
8308
 
 
8309
 
    cygwin* | mingw* | pw32* | cegcc*)
8310
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8311
 
      # as there is no search path for DLLs.
8312
 
      hardcode_libdir_flag_spec='-L$libdir'
8313
 
      allow_undefined_flag=unsupported
8314
 
      always_export_symbols=no
8315
 
      enable_shared_with_static_runtimes=yes
8316
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8317
 
 
8318
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8319
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8320
 
        # If the export-symbols file already is a .def file (1st line
8321
 
        # is EXPORTS), use it as is; otherwise, prepend...
8322
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8323
 
          cp $export_symbols $output_objdir/$soname.def;
8324
 
        else
8325
 
          echo EXPORTS > $output_objdir/$soname.def;
8326
 
          cat $export_symbols >> $output_objdir/$soname.def;
8327
 
        fi~
8328
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8329
 
      else
8330
 
        ld_shlibs=no
8331
 
      fi
8332
 
      ;;
8333
 
 
8334
 
    interix[3-9]*)
8335
 
      hardcode_direct=no
8336
 
      hardcode_shlibpath_var=no
8337
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8338
 
      export_dynamic_flag_spec='${wl}-E'
8339
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8340
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8341
 
      # default) and relocated if they conflict, which is a slow very memory
8342
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8343
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8344
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8345
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8346
 
      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'
8347
 
      ;;
8348
 
 
8349
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8350
 
      tmp_diet=no
8351
 
      if test "$host_os" = linux-dietlibc; then
8352
 
        case $cc_basename in
8353
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8354
 
        esac
8355
 
      fi
8356
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8357
 
         && test "$tmp_diet" = no
8358
 
      then
8359
 
        tmp_addflag=
8360
 
        tmp_sharedflag='-shared'
8361
 
        case $cc_basename,$host_cpu in
8362
 
        pgcc*)                          # Portland Group C compiler
8363
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8364
 
          tmp_addflag=' $pic_flag'
8365
 
          ;;
8366
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8367
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8368
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8369
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8370
 
          tmp_addflag=' -i_dynamic' ;;
8371
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8372
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8373
 
        ifc* | ifort*)                  # Intel Fortran compiler
8374
 
          tmp_addflag=' -nofor_main' ;;
8375
 
        lf95*)                          # Lahey Fortran 8.1
8376
 
          whole_archive_flag_spec=
8377
 
          tmp_sharedflag='--shared' ;;
8378
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8379
 
          tmp_sharedflag='-qmkshrobj'
8380
 
          tmp_addflag= ;;
8381
 
        esac
8382
 
        case `$CC -V 2>&1 | sed 5q` in
8383
 
        *Sun\ C*)                       # Sun C 5.9
8384
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8385
 
          compiler_needs_object=yes
8386
 
          tmp_sharedflag='-G' ;;
8387
 
        *Sun\ F*)                       # Sun Fortran 8.3
8388
 
          tmp_sharedflag='-G' ;;
8389
 
        esac
8390
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8391
 
 
8392
 
        if test "x$supports_anon_versioning" = xyes; then
8393
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8394
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8395
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
8396
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8397
 
        fi
8398
 
 
8399
 
        case $cc_basename in
8400
 
        xlf*)
8401
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8402
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8403
 
          hardcode_libdir_flag_spec=
8404
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8405
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8406
 
          if test "x$supports_anon_versioning" = xyes; then
8407
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8408
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8409
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
8410
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8411
 
          fi
8412
 
          ;;
8413
 
        esac
8414
 
      else
8415
 
        ld_shlibs=no
8416
 
      fi
8417
 
      ;;
8418
 
 
8419
 
    netbsd* | netbsdelf*-gnu)
8420
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8421
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8422
 
        wlarc=
8423
 
      else
8424
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8425
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8426
 
      fi
8427
 
      ;;
8428
 
 
8429
 
    solaris*)
8430
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8431
 
        ld_shlibs=no
8432
 
        cat <<_LT_EOF 1>&2
8433
 
 
8434
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8435
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8436
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8437
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8438
 
*** your PATH or compiler configuration so that the native linker is
8439
 
*** used, and then restart.
8440
 
 
8441
 
_LT_EOF
8442
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8443
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8444
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8445
 
      else
8446
 
        ld_shlibs=no
8447
 
      fi
8448
 
      ;;
8449
 
 
8450
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8451
 
      case `$LD -v 2>&1` in
8452
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8453
 
        ld_shlibs=no
8454
 
        cat <<_LT_EOF 1>&2
8455
 
 
8456
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8457
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8458
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8459
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8460
 
*** your PATH or compiler configuration so that the native linker is
8461
 
*** used, and then restart.
8462
 
 
8463
 
_LT_EOF
8464
 
        ;;
8465
 
        *)
8466
 
          # For security reasons, it is highly recommended that you always
8467
 
          # use absolute paths for naming shared libraries, and exclude the
8468
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
8469
 
          # requires that you compile everything twice, which is a pain.
8470
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8471
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8472
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8473
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8474
 
          else
8475
 
            ld_shlibs=no
8476
 
          fi
8477
 
        ;;
8478
 
      esac
8479
 
      ;;
8480
 
 
8481
 
    sunos4*)
8482
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8483
 
      wlarc=
8484
 
      hardcode_direct=yes
8485
 
      hardcode_shlibpath_var=no
8486
 
      ;;
8487
 
 
8488
 
    *)
8489
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8490
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8491
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8492
 
      else
8493
 
        ld_shlibs=no
8494
 
      fi
8495
 
      ;;
8496
 
    esac
8497
 
 
8498
 
    if test "$ld_shlibs" = no; then
8499
 
      runpath_var=
8500
 
      hardcode_libdir_flag_spec=
8501
 
      export_dynamic_flag_spec=
8502
 
      whole_archive_flag_spec=
8503
 
    fi
8504
 
  else
8505
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8506
 
    case $host_os in
8507
 
    aix3*)
8508
 
      allow_undefined_flag=unsupported
8509
 
      always_export_symbols=yes
8510
 
      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'
8511
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8512
 
      # are no directories specified by -L.
8513
 
      hardcode_minus_L=yes
8514
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8515
 
        # Neither direct hardcoding nor static linking is supported with a
8516
 
        # broken collect2.
8517
 
        hardcode_direct=unsupported
8518
 
      fi
8519
 
      ;;
8520
 
 
8521
 
    aix[4-9]*)
8522
 
      if test "$host_cpu" = ia64; then
8523
 
        # On IA64, the linker does run time linking by default, so we don't
8524
 
        # have to do anything special.
8525
 
        aix_use_runtimelinking=no
8526
 
        exp_sym_flag='-Bexport'
8527
 
        no_entry_flag=""
8528
 
      else
8529
 
        # If we're using GNU nm, then we don't want the "-C" option.
8530
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8531
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8532
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8533
 
        else
8534
 
          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'
8535
 
        fi
8536
 
        aix_use_runtimelinking=no
8537
 
 
8538
 
        # Test if we are trying to use run time linking or normal
8539
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8540
 
        # need to do runtime linking.
8541
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8542
 
          for ld_flag in $LDFLAGS; do
8543
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8544
 
            aix_use_runtimelinking=yes
8545
 
            break
8546
 
          fi
8547
 
          done
8548
 
          ;;
8549
 
        esac
8550
 
 
8551
 
        exp_sym_flag='-bexport'
8552
 
        no_entry_flag='-bnoentry'
8553
 
      fi
8554
 
 
8555
 
      # When large executables or shared objects are built, AIX ld can
8556
 
      # have problems creating the table of contents.  If linking a library
8557
 
      # or program results in "error TOC overflow" add -mminimal-toc to
8558
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8559
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8560
 
 
8561
 
      archive_cmds=''
8562
 
      hardcode_direct=yes
8563
 
      hardcode_direct_absolute=yes
8564
 
      hardcode_libdir_separator=':'
8565
 
      link_all_deplibs=yes
8566
 
      file_list_spec='${wl}-f,'
8567
 
 
8568
 
      if test "$GCC" = yes; then
8569
 
        case $host_os in aix4.[012]|aix4.[012].*)
8570
 
        # We only want to do this on AIX 4.2 and lower, the check
8571
 
        # below for broken collect2 doesn't work under 4.3+
8572
 
          collect2name=`${CC} -print-prog-name=collect2`
8573
 
          if test -f "$collect2name" &&
8574
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8575
 
          then
8576
 
          # We have reworked collect2
8577
 
          :
8578
 
          else
8579
 
          # We have old collect2
8580
 
          hardcode_direct=unsupported
8581
 
          # It fails to find uninstalled libraries when the uninstalled
8582
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8583
 
          # to unsupported forces relinking
8584
 
          hardcode_minus_L=yes
8585
 
          hardcode_libdir_flag_spec='-L$libdir'
8586
 
          hardcode_libdir_separator=
8587
 
          fi
8588
 
          ;;
8589
 
        esac
8590
 
        shared_flag='-shared'
8591
 
        if test "$aix_use_runtimelinking" = yes; then
8592
 
          shared_flag="$shared_flag "'${wl}-G'
8593
 
        fi
8594
 
        link_all_deplibs=no
8595
 
      else
8596
 
        # not using gcc
8597
 
        if test "$host_cpu" = ia64; then
8598
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8599
 
        # chokes on -Wl,-G. The following line is correct:
8600
 
          shared_flag='-G'
8601
 
        else
8602
 
          if test "$aix_use_runtimelinking" = yes; then
8603
 
            shared_flag='${wl}-G'
8604
 
          else
8605
 
            shared_flag='${wl}-bM:SRE'
8606
 
          fi
8607
 
        fi
8608
 
      fi
8609
 
 
8610
 
      export_dynamic_flag_spec='${wl}-bexpall'
8611
 
      # It seems that -bexpall does not export symbols beginning with
8612
 
      # underscore (_), so it is better to generate a list of symbols to export.
8613
 
      always_export_symbols=yes
8614
 
      if test "$aix_use_runtimelinking" = yes; then
8615
 
        # Warning - without using the other runtime loading flags (-brtl),
8616
 
        # -berok will link without error, but may produce a broken library.
8617
 
        allow_undefined_flag='-berok'
8618
 
        # Determine the default libpath from the value encoded in an
8619
 
        # empty executable.
8620
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621
 
/* end confdefs.h.  */
8622
 
 
8623
 
int
8624
 
main ()
8625
 
{
8626
 
 
8627
 
  ;
8628
 
  return 0;
8629
 
}
8630
 
_ACEOF
8631
 
if ac_fn_c_try_link "$LINENO"; then :
8632
 
 
8633
 
lt_aix_libpath_sed='
8634
 
    /Import File Strings/,/^$/ {
8635
 
        /^0/ {
8636
 
            s/^0  *\(.*\)$/\1/
8637
 
            p
8638
 
        }
8639
 
    }'
8640
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8641
 
# Check for a 64-bit object if we didn't find anything.
8642
 
if test -z "$aix_libpath"; then
8643
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8644
 
fi
8645
 
fi
8646
 
rm -f core conftest.err conftest.$ac_objext \
8647
 
    conftest$ac_exeext conftest.$ac_ext
8648
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8649
 
 
8650
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8651
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8652
 
      else
8653
 
        if test "$host_cpu" = ia64; then
8654
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8655
 
          allow_undefined_flag="-z nodefs"
8656
 
          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"
8657
 
        else
8658
 
         # Determine the default libpath from the value encoded in an
8659
 
         # empty executable.
8660
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661
 
/* end confdefs.h.  */
8662
 
 
8663
 
int
8664
 
main ()
8665
 
{
8666
 
 
8667
 
  ;
8668
 
  return 0;
8669
 
}
8670
 
_ACEOF
8671
 
if ac_fn_c_try_link "$LINENO"; then :
8672
 
 
8673
 
lt_aix_libpath_sed='
8674
 
    /Import File Strings/,/^$/ {
8675
 
        /^0/ {
8676
 
            s/^0  *\(.*\)$/\1/
8677
 
            p
8678
 
        }
8679
 
    }'
8680
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8681
 
# Check for a 64-bit object if we didn't find anything.
8682
 
if test -z "$aix_libpath"; then
8683
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8684
 
fi
8685
 
fi
8686
 
rm -f core conftest.err conftest.$ac_objext \
8687
 
    conftest$ac_exeext conftest.$ac_ext
8688
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8689
 
 
8690
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8691
 
          # Warning - without using the other run time loading flags,
8692
 
          # -berok will link without error, but may produce a broken library.
8693
 
          no_undefined_flag=' ${wl}-bernotok'
8694
 
          allow_undefined_flag=' ${wl}-berok'
8695
 
          # Exported symbols can be pulled into shared objects from archives
8696
 
          whole_archive_flag_spec='$convenience'
8697
 
          archive_cmds_need_lc=yes
8698
 
          # This is similar to how AIX traditionally builds its shared libraries.
8699
 
          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'
8700
 
        fi
8701
 
      fi
8702
 
      ;;
8703
 
 
8704
 
    amigaos*)
8705
 
      case $host_cpu in
8706
 
      powerpc)
8707
 
            # see comment about AmigaOS4 .so support
8708
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8709
 
            archive_expsym_cmds=''
8710
 
        ;;
8711
 
      m68k)
8712
 
            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)'
8713
 
            hardcode_libdir_flag_spec='-L$libdir'
8714
 
            hardcode_minus_L=yes
8715
 
        ;;
8716
 
      esac
8717
 
      ;;
8718
 
 
8719
 
    bsdi[45]*)
8720
 
      export_dynamic_flag_spec=-rdynamic
8721
 
      ;;
8722
 
 
8723
 
    cygwin* | mingw* | pw32* | cegcc*)
8724
 
      # When not using gcc, we currently assume that we are using
8725
 
      # Microsoft Visual C++.
8726
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8727
 
      # no search path for DLLs.
8728
 
      hardcode_libdir_flag_spec=' '
8729
 
      allow_undefined_flag=unsupported
8730
 
      # Tell ltmain to make .lib files, not .a files.
8731
 
      libext=lib
8732
 
      # Tell ltmain to make .dll files, not .so files.
8733
 
      shrext_cmds=".dll"
8734
 
      # FIXME: Setting linknames here is a bad hack.
8735
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8736
 
      # The linker will automatically build a .lib file if we build a DLL.
8737
 
      old_archive_from_new_cmds='true'
8738
 
      # FIXME: Should let the user specify the lib program.
8739
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8740
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8741
 
      enable_shared_with_static_runtimes=yes
8742
 
      ;;
8743
 
 
8744
 
    darwin* | rhapsody*)
8745
 
 
8746
 
 
8747
 
  archive_cmds_need_lc=no
8748
 
  hardcode_direct=no
8749
 
  hardcode_automatic=yes
8750
 
  hardcode_shlibpath_var=unsupported
8751
 
  whole_archive_flag_spec=''
8752
 
  link_all_deplibs=yes
8753
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
8754
 
  case $cc_basename in
8755
 
     ifort*) _lt_dar_can_shared=yes ;;
8756
 
     *) _lt_dar_can_shared=$GCC ;;
8757
 
  esac
8758
 
  if test "$_lt_dar_can_shared" = "yes"; then
8759
 
    output_verbose_link_cmd=echo
8760
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8761
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8762
 
    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}"
8763
 
    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}"
8764
 
 
8765
 
  else
8766
 
  ld_shlibs=no
8767
 
  fi
8768
 
 
8769
 
      ;;
8770
 
 
8771
 
    dgux*)
8772
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8773
 
      hardcode_libdir_flag_spec='-L$libdir'
8774
 
      hardcode_shlibpath_var=no
8775
 
      ;;
8776
 
 
8777
 
    freebsd1*)
8778
 
      ld_shlibs=no
8779
 
      ;;
8780
 
 
8781
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8782
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8783
 
    # does not break anything, and helps significantly (at the cost of a little
8784
 
    # extra space).
8785
 
    freebsd2.2*)
8786
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8787
 
      hardcode_libdir_flag_spec='-R$libdir'
8788
 
      hardcode_direct=yes
8789
 
      hardcode_shlibpath_var=no
8790
 
      ;;
8791
 
 
8792
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8793
 
    freebsd2*)
8794
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8795
 
      hardcode_direct=yes
8796
 
      hardcode_minus_L=yes
8797
 
      hardcode_shlibpath_var=no
8798
 
      ;;
8799
 
 
8800
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8801
 
    freebsd* | dragonfly*)
8802
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8803
 
      hardcode_libdir_flag_spec='-R$libdir'
8804
 
      hardcode_direct=yes
8805
 
      hardcode_shlibpath_var=no
8806
 
      ;;
8807
 
 
8808
 
    hpux9*)
8809
 
      if test "$GCC" = yes; then
8810
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8811
 
      else
8812
 
        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'
8813
 
      fi
8814
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8815
 
      hardcode_libdir_separator=:
8816
 
      hardcode_direct=yes
8817
 
 
8818
 
      # hardcode_minus_L: Not really in the search PATH,
8819
 
      # but as the default location of the library.
8820
 
      hardcode_minus_L=yes
8821
 
      export_dynamic_flag_spec='${wl}-E'
8822
 
      ;;
8823
 
 
8824
 
    hpux10*)
8825
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8826
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8827
 
      else
8828
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8829
 
      fi
8830
 
      if test "$with_gnu_ld" = no; then
8831
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8832
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8833
 
        hardcode_libdir_separator=:
8834
 
        hardcode_direct=yes
8835
 
        hardcode_direct_absolute=yes
8836
 
        export_dynamic_flag_spec='${wl}-E'
8837
 
        # hardcode_minus_L: Not really in the search PATH,
8838
 
        # but as the default location of the library.
8839
 
        hardcode_minus_L=yes
8840
 
      fi
8841
 
      ;;
8842
 
 
8843
 
    hpux11*)
8844
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8845
 
        case $host_cpu in
8846
 
        hppa*64*)
8847
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8848
 
          ;;
8849
 
        ia64*)
8850
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8851
 
          ;;
8852
 
        *)
8853
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8854
 
          ;;
8855
 
        esac
8856
 
      else
8857
 
        case $host_cpu in
8858
 
        hppa*64*)
8859
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8860
 
          ;;
8861
 
        ia64*)
8862
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8863
 
          ;;
8864
 
        *)
8865
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8866
 
          ;;
8867
 
        esac
8868
 
      fi
8869
 
      if test "$with_gnu_ld" = no; then
8870
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8871
 
        hardcode_libdir_separator=:
8872
 
 
8873
 
        case $host_cpu in
8874
 
        hppa*64*|ia64*)
8875
 
          hardcode_direct=no
8876
 
          hardcode_shlibpath_var=no
8877
 
          ;;
8878
 
        *)
8879
 
          hardcode_direct=yes
8880
 
          hardcode_direct_absolute=yes
8881
 
          export_dynamic_flag_spec='${wl}-E'
8882
 
 
8883
 
          # hardcode_minus_L: Not really in the search PATH,
8884
 
          # but as the default location of the library.
8885
 
          hardcode_minus_L=yes
8886
 
          ;;
8887
 
        esac
8888
 
      fi
8889
 
      ;;
8890
 
 
8891
 
    irix5* | irix6* | nonstopux*)
8892
 
      if test "$GCC" = yes; then
8893
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8894
 
        # Try to use the -exported_symbol ld option, if it does not
8895
 
        # work, assume that -exports_file does not work either and
8896
 
        # implicitly export all symbols.
8897
 
        save_LDFLAGS="$LDFLAGS"
8898
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8899
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900
 
/* end confdefs.h.  */
8901
 
int foo(void) {}
8902
 
_ACEOF
8903
 
if ac_fn_c_try_link "$LINENO"; then :
8904
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8905
 
 
8906
 
fi
8907
 
rm -f core conftest.err conftest.$ac_objext \
8908
 
    conftest$ac_exeext conftest.$ac_ext
8909
 
        LDFLAGS="$save_LDFLAGS"
8910
 
      else
8911
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8912
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8913
 
      fi
8914
 
      archive_cmds_need_lc='no'
8915
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8916
 
      hardcode_libdir_separator=:
8917
 
      inherit_rpath=yes
8918
 
      link_all_deplibs=yes
8919
 
      ;;
8920
 
 
8921
 
    netbsd* | netbsdelf*-gnu)
8922
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8923
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8924
 
      else
8925
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8926
 
      fi
8927
 
      hardcode_libdir_flag_spec='-R$libdir'
8928
 
      hardcode_direct=yes
8929
 
      hardcode_shlibpath_var=no
8930
 
      ;;
8931
 
 
8932
 
    newsos6)
8933
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8934
 
      hardcode_direct=yes
8935
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8936
 
      hardcode_libdir_separator=:
8937
 
      hardcode_shlibpath_var=no
8938
 
      ;;
8939
 
 
8940
 
    *nto* | *qnx*)
8941
 
      ;;
8942
 
 
8943
 
    openbsd*)
8944
 
      if test -f /usr/libexec/ld.so; then
8945
 
        hardcode_direct=yes
8946
 
        hardcode_shlibpath_var=no
8947
 
        hardcode_direct_absolute=yes
8948
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8949
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8950
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8951
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8952
 
          export_dynamic_flag_spec='${wl}-E'
8953
 
        else
8954
 
          case $host_os in
8955
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8956
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8957
 
             hardcode_libdir_flag_spec='-R$libdir'
8958
 
             ;;
8959
 
           *)
8960
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8961
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8962
 
             ;;
8963
 
          esac
8964
 
        fi
8965
 
      else
8966
 
        ld_shlibs=no
8967
 
      fi
8968
 
      ;;
8969
 
 
8970
 
    os2*)
8971
 
      hardcode_libdir_flag_spec='-L$libdir'
8972
 
      hardcode_minus_L=yes
8973
 
      allow_undefined_flag=unsupported
8974
 
      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'
8975
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8976
 
      ;;
8977
 
 
8978
 
    osf3*)
8979
 
      if test "$GCC" = yes; then
8980
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8981
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8982
 
      else
8983
 
        allow_undefined_flag=' -expect_unresolved \*'
8984
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8985
 
      fi
8986
 
      archive_cmds_need_lc='no'
8987
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8988
 
      hardcode_libdir_separator=:
8989
 
      ;;
8990
 
 
8991
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8992
 
      if test "$GCC" = yes; then
8993
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8994
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8995
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8996
 
      else
8997
 
        allow_undefined_flag=' -expect_unresolved \*'
8998
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8999
 
        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~
9000
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9001
 
 
9002
 
        # Both c and cxx compiler support -rpath directly
9003
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9004
 
      fi
9005
 
      archive_cmds_need_lc='no'
9006
 
      hardcode_libdir_separator=:
9007
 
      ;;
9008
 
 
9009
 
    solaris*)
9010
 
      no_undefined_flag=' -z defs'
9011
 
      if test "$GCC" = yes; then
9012
 
        wlarc='${wl}'
9013
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9014
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9015
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9016
 
      else
9017
 
        case `$CC -V 2>&1` in
9018
 
        *"Compilers 5.0"*)
9019
 
          wlarc=''
9020
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9021
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9022
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9023
 
          ;;
9024
 
        *)
9025
 
          wlarc='${wl}'
9026
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9027
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9028
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9029
 
          ;;
9030
 
        esac
9031
 
      fi
9032
 
      hardcode_libdir_flag_spec='-R$libdir'
9033
 
      hardcode_shlibpath_var=no
9034
 
      case $host_os in
9035
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9036
 
      *)
9037
 
        # The compiler driver will combine and reorder linker options,
9038
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9039
 
        # but is careful enough not to reorder.
9040
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9041
 
        if test "$GCC" = yes; then
9042
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9043
 
        else
9044
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9045
 
        fi
9046
 
        ;;
9047
 
      esac
9048
 
      link_all_deplibs=yes
9049
 
      ;;
9050
 
 
9051
 
    sunos4*)
9052
 
      if test "x$host_vendor" = xsequent; then
9053
 
        # Use $CC to link under sequent, because it throws in some extra .o
9054
 
        # files that make .init and .fini sections work.
9055
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9056
 
      else
9057
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9058
 
      fi
9059
 
      hardcode_libdir_flag_spec='-L$libdir'
9060
 
      hardcode_direct=yes
9061
 
      hardcode_minus_L=yes
9062
 
      hardcode_shlibpath_var=no
9063
 
      ;;
9064
 
 
9065
 
    sysv4)
9066
 
      case $host_vendor in
9067
 
        sni)
9068
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9069
 
          hardcode_direct=yes # is this really true???
9070
 
        ;;
9071
 
        siemens)
9072
 
          ## LD is ld it makes a PLAMLIB
9073
 
          ## CC just makes a GrossModule.
9074
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9075
 
          reload_cmds='$CC -r -o $output$reload_objs'
9076
 
          hardcode_direct=no
9077
 
        ;;
9078
 
        motorola)
9079
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9080
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9081
 
        ;;
9082
 
      esac
9083
 
      runpath_var='LD_RUN_PATH'
9084
 
      hardcode_shlibpath_var=no
9085
 
      ;;
9086
 
 
9087
 
    sysv4.3*)
9088
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9089
 
      hardcode_shlibpath_var=no
9090
 
      export_dynamic_flag_spec='-Bexport'
9091
 
      ;;
9092
 
 
9093
 
    sysv4*MP*)
9094
 
      if test -d /usr/nec; then
9095
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9096
 
        hardcode_shlibpath_var=no
9097
 
        runpath_var=LD_RUN_PATH
9098
 
        hardcode_runpath_var=yes
9099
 
        ld_shlibs=yes
9100
 
      fi
9101
 
      ;;
9102
 
 
9103
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9104
 
      no_undefined_flag='${wl}-z,text'
9105
 
      archive_cmds_need_lc=no
9106
 
      hardcode_shlibpath_var=no
9107
 
      runpath_var='LD_RUN_PATH'
9108
 
 
9109
 
      if test "$GCC" = yes; then
9110
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9111
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9112
 
      else
9113
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9114
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9115
 
      fi
9116
 
      ;;
9117
 
 
9118
 
    sysv5* | sco3.2v5* | sco5v6*)
9119
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9120
 
      # link with -lc, and that would cause any symbols used from libc to
9121
 
      # always be unresolved, which means just about no library would
9122
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9123
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9124
 
      # as -z defs.
9125
 
      no_undefined_flag='${wl}-z,text'
9126
 
      allow_undefined_flag='${wl}-z,nodefs'
9127
 
      archive_cmds_need_lc=no
9128
 
      hardcode_shlibpath_var=no
9129
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9130
 
      hardcode_libdir_separator=':'
9131
 
      link_all_deplibs=yes
9132
 
      export_dynamic_flag_spec='${wl}-Bexport'
9133
 
      runpath_var='LD_RUN_PATH'
9134
 
 
9135
 
      if test "$GCC" = yes; then
9136
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9137
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9138
 
      else
9139
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9141
 
      fi
9142
 
      ;;
9143
 
 
9144
 
    uts4*)
9145
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9146
 
      hardcode_libdir_flag_spec='-L$libdir'
9147
 
      hardcode_shlibpath_var=no
9148
 
      ;;
9149
 
 
9150
 
    *)
9151
 
      ld_shlibs=no
9152
 
      ;;
9153
 
    esac
9154
 
 
9155
 
    if test x$host_vendor = xsni; then
9156
 
      case $host in
9157
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9158
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9159
 
        ;;
9160
 
      esac
9161
 
    fi
9162
 
  fi
9163
 
 
9164
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9165
 
$as_echo "$ld_shlibs" >&6; }
9166
 
test "$ld_shlibs" = no && can_build_shared=no
9167
 
 
9168
 
with_gnu_ld=$with_gnu_ld
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
 
 
9175
 
 
9176
 
 
9177
 
 
9178
 
 
9179
 
 
9180
 
 
9181
 
 
9182
 
 
9183
 
 
9184
 
#
9185
 
# Do we need to explicitly link libc?
9186
 
#
9187
 
case "x$archive_cmds_need_lc" in
9188
 
x|xyes)
9189
 
  # Assume -lc should be added
9190
 
  archive_cmds_need_lc=yes
9191
 
 
9192
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9193
 
    case $archive_cmds in
9194
 
    *'~'*)
9195
 
      # FIXME: we may have to deal with multi-command sequences.
9196
 
      ;;
9197
 
    '$CC '*)
9198
 
      # Test whether the compiler implicitly links with -lc since on some
9199
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9200
 
      # to ld, don't add -lc before -lgcc.
9201
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9202
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9203
 
      $RM conftest*
9204
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9205
 
 
9206
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9207
 
  (eval $ac_compile) 2>&5
9208
 
  ac_status=$?
9209
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9210
 
  test $ac_status = 0; } 2>conftest.err; then
9211
 
        soname=conftest
9212
 
        lib=conftest
9213
 
        libobjs=conftest.$ac_objext
9214
 
        deplibs=
9215
 
        wl=$lt_prog_compiler_wl
9216
 
        pic_flag=$lt_prog_compiler_pic
9217
 
        compiler_flags=-v
9218
 
        linker_flags=-v
9219
 
        verstring=
9220
 
        output_objdir=.
9221
 
        libname=conftest
9222
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9223
 
        allow_undefined_flag=
9224
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9225
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9226
 
  ac_status=$?
9227
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9228
 
  test $ac_status = 0; }
9229
 
        then
9230
 
          archive_cmds_need_lc=no
9231
 
        else
9232
 
          archive_cmds_need_lc=yes
9233
 
        fi
9234
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9235
 
      else
9236
 
        cat conftest.err 1>&5
9237
 
      fi
9238
 
      $RM conftest*
9239
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9240
 
$as_echo "$archive_cmds_need_lc" >&6; }
9241
 
      ;;
9242
 
    esac
9243
 
  fi
9244
 
  ;;
9245
 
esac
9246
 
 
9247
 
 
9248
 
 
9249
 
 
9250
 
 
9251
 
 
9252
 
 
9253
 
 
9254
 
 
9255
 
 
9256
 
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
 
9262
 
 
9263
 
 
9264
 
 
9265
 
 
9266
 
 
9267
 
 
9268
 
 
9269
 
 
9270
 
 
9271
 
 
9272
 
 
9273
 
 
9274
 
 
9275
 
 
9276
 
 
9277
 
 
9278
 
 
9279
 
 
9280
 
 
9281
 
 
9282
 
 
9283
 
 
9284
 
 
9285
 
 
9286
 
 
9287
 
 
9288
 
 
9289
 
 
9290
 
 
9291
 
 
9292
 
 
9293
 
 
9294
 
 
9295
 
 
9296
 
 
9297
 
 
9298
 
 
9299
 
 
9300
 
 
9301
 
 
9302
 
 
9303
 
 
9304
 
 
9305
 
 
9306
 
 
9307
 
 
9308
 
 
9309
 
 
9310
 
 
9311
 
 
9312
 
 
9313
 
 
9314
 
 
9315
 
 
9316
 
 
9317
 
 
9318
 
 
9319
 
 
9320
 
 
9321
 
 
9322
 
 
9323
 
 
9324
 
 
9325
 
 
9326
 
 
9327
 
 
9328
 
 
9329
 
 
9330
 
 
9331
 
 
9332
 
 
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
 
 
9338
 
 
9339
 
 
9340
 
 
9341
 
 
9342
 
 
9343
 
 
9344
 
 
9345
 
 
9346
 
 
9347
 
 
9348
 
 
9349
 
 
9350
 
 
9351
 
 
9352
 
 
9353
 
 
9354
 
 
9355
 
 
9356
 
 
9357
 
 
9358
 
 
9359
 
 
9360
 
 
9361
 
 
9362
 
 
9363
 
 
9364
 
 
9365
 
 
9366
 
 
9367
 
 
9368
 
 
9369
 
 
9370
 
 
9371
 
 
9372
 
 
9373
 
 
9374
 
 
9375
 
 
9376
 
 
9377
 
 
9378
 
 
9379
 
 
9380
 
 
9381
 
 
9382
 
 
9383
 
 
9384
 
 
9385
 
 
9386
 
 
9387
 
 
9388
 
 
9389
 
 
9390
 
 
9391
 
 
9392
 
 
9393
 
 
9394
 
 
9395
 
 
9396
 
 
9397
 
 
9398
 
 
9399
 
 
9400
 
 
9401
 
 
9402
 
 
9403
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9404
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9405
 
 
9406
 
if test "$GCC" = yes; then
9407
 
  case $host_os in
9408
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9409
 
    *) lt_awk_arg="/^libraries:/" ;;
9410
 
  esac
9411
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9412
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9413
 
    # if the path contains ";" then we assume it to be the separator
9414
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9415
 
    # assumed that no part of a normal pathname contains ";" but that should
9416
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9417
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9418
 
  else
9419
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9420
 
  fi
9421
 
  # Ok, now we have the path, separated by spaces, we can step through it
9422
 
  # and add multilib dir if necessary.
9423
 
  lt_tmp_lt_search_path_spec=
9424
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9425
 
  for lt_sys_path in $lt_search_path_spec; do
9426
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9427
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9428
 
    else
9429
 
      test -d "$lt_sys_path" && \
9430
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9431
 
    fi
9432
 
  done
9433
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9434
 
BEGIN {RS=" "; FS="/|\n";} {
9435
 
  lt_foo="";
9436
 
  lt_count=0;
9437
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9438
 
    if ($lt_i != "" && $lt_i != ".") {
9439
 
      if ($lt_i == "..") {
9440
 
        lt_count++;
9441
 
      } else {
9442
 
        if (lt_count == 0) {
9443
 
          lt_foo="/" $lt_i lt_foo;
9444
 
        } else {
9445
 
          lt_count--;
9446
 
        }
9447
 
      }
9448
 
    }
9449
 
  }
9450
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9451
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9452
 
}'`
9453
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9454
 
else
9455
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9456
 
fi
9457
 
library_names_spec=
9458
 
libname_spec='lib$name'
9459
 
soname_spec=
9460
 
shrext_cmds=".so"
9461
 
postinstall_cmds=
9462
 
postuninstall_cmds=
9463
 
finish_cmds=
9464
 
finish_eval=
9465
 
shlibpath_var=
9466
 
shlibpath_overrides_runpath=unknown
9467
 
version_type=none
9468
 
dynamic_linker="$host_os ld.so"
9469
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9470
 
need_lib_prefix=unknown
9471
 
hardcode_into_libs=no
9472
 
 
9473
 
# when you set need_version to no, make sure it does not cause -set_version
9474
 
# flags to be left without arguments
9475
 
need_version=unknown
9476
 
 
9477
 
case $host_os in
9478
 
aix3*)
9479
 
  version_type=linux
9480
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9481
 
  shlibpath_var=LIBPATH
9482
 
 
9483
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9484
 
  soname_spec='${libname}${release}${shared_ext}$major'
9485
 
  ;;
9486
 
 
9487
 
aix[4-9]*)
9488
 
  version_type=linux
9489
 
  need_lib_prefix=no
9490
 
  need_version=no
9491
 
  hardcode_into_libs=yes
9492
 
  if test "$host_cpu" = ia64; then
9493
 
    # AIX 5 supports IA64
9494
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9495
 
    shlibpath_var=LD_LIBRARY_PATH
9496
 
  else
9497
 
    # With GCC up to 2.95.x, collect2 would create an import file
9498
 
    # for dependence libraries.  The import file would start with
9499
 
    # the line `#! .'.  This would cause the generated library to
9500
 
    # depend on `.', always an invalid library.  This was fixed in
9501
 
    # development snapshots of GCC prior to 3.0.
9502
 
    case $host_os in
9503
 
      aix4 | aix4.[01] | aix4.[01].*)
9504
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9505
 
           echo ' yes '
9506
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9507
 
        :
9508
 
      else
9509
 
        can_build_shared=no
9510
 
      fi
9511
 
      ;;
9512
 
    esac
9513
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9514
 
    # soname into executable. Probably we can add versioning support to
9515
 
    # collect2, so additional links can be useful in future.
9516
 
    if test "$aix_use_runtimelinking" = yes; then
9517
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9518
 
      # instead of lib<name>.a to let people know that these are not
9519
 
      # typical AIX shared libraries.
9520
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9521
 
    else
9522
 
      # We preserve .a as extension for shared libraries through AIX4.2
9523
 
      # and later when we are not doing run time linking.
9524
 
      library_names_spec='${libname}${release}.a $libname.a'
9525
 
      soname_spec='${libname}${release}${shared_ext}$major'
9526
 
    fi
9527
 
    shlibpath_var=LIBPATH
9528
 
  fi
9529
 
  ;;
9530
 
 
9531
 
amigaos*)
9532
 
  case $host_cpu in
9533
 
  powerpc)
9534
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9535
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9536
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9537
 
    ;;
9538
 
  m68k)
9539
 
    library_names_spec='$libname.ixlibrary $libname.a'
9540
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9541
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9542
 
    ;;
9543
 
  esac
9544
 
  ;;
9545
 
 
9546
 
beos*)
9547
 
  library_names_spec='${libname}${shared_ext}'
9548
 
  dynamic_linker="$host_os ld.so"
9549
 
  shlibpath_var=LIBRARY_PATH
9550
 
  ;;
9551
 
 
9552
 
bsdi[45]*)
9553
 
  version_type=linux
9554
 
  need_version=no
9555
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556
 
  soname_spec='${libname}${release}${shared_ext}$major'
9557
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9558
 
  shlibpath_var=LD_LIBRARY_PATH
9559
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9560
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9561
 
  # the default ld.so.conf also contains /usr/contrib/lib and
9562
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9563
 
  # libtool to hard-code these into programs
9564
 
  ;;
9565
 
 
9566
 
cygwin* | mingw* | pw32* | cegcc*)
9567
 
  version_type=windows
9568
 
  shrext_cmds=".dll"
9569
 
  need_version=no
9570
 
  need_lib_prefix=no
9571
 
 
9572
 
  case $GCC,$host_os in
9573
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9574
 
    library_names_spec='$libname.dll.a'
9575
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9576
 
    postinstall_cmds='base_file=`basename \${file}`~
9577
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9578
 
      dldir=$destdir/`dirname \$dlpath`~
9579
 
      test -d \$dldir || mkdir -p \$dldir~
9580
 
      $install_prog $dir/$dlname \$dldir/$dlname~
9581
 
      chmod a+x \$dldir/$dlname~
9582
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9583
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9584
 
      fi'
9585
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9586
 
      dlpath=$dir/\$dldll~
9587
 
       $RM \$dlpath'
9588
 
    shlibpath_overrides_runpath=yes
9589
 
 
9590
 
    case $host_os in
9591
 
    cygwin*)
9592
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9593
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9594
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9595
 
      ;;
9596
 
    mingw* | cegcc*)
9597
 
      # MinGW DLLs use traditional 'lib' prefix
9598
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9599
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9600
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9601
 
        # It is most probably a Windows format PATH printed by
9602
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9603
 
        # path with ; separators, and with drive letters. We can handle the
9604
 
        # drive letters (cygwin fileutils understands them), so leave them,
9605
 
        # especially as we might pass files found there to a mingw objdump,
9606
 
        # which wouldn't understand a cygwinified path. Ahh.
9607
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9608
 
      else
9609
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9610
 
      fi
9611
 
      ;;
9612
 
    pw32*)
9613
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9614
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9615
 
      ;;
9616
 
    esac
9617
 
    ;;
9618
 
 
9619
 
  *)
9620
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9621
 
    ;;
9622
 
  esac
9623
 
  dynamic_linker='Win32 ld.exe'
9624
 
  # FIXME: first we should search . and the directory the executable is in
9625
 
  shlibpath_var=PATH
9626
 
  ;;
9627
 
 
9628
 
darwin* | rhapsody*)
9629
 
  dynamic_linker="$host_os dyld"
9630
 
  version_type=darwin
9631
 
  need_lib_prefix=no
9632
 
  need_version=no
9633
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9634
 
  soname_spec='${libname}${release}${major}$shared_ext'
9635
 
  shlibpath_overrides_runpath=yes
9636
 
  shlibpath_var=DYLD_LIBRARY_PATH
9637
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9638
 
 
9639
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9640
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9641
 
  ;;
9642
 
 
9643
 
dgux*)
9644
 
  version_type=linux
9645
 
  need_lib_prefix=no
9646
 
  need_version=no
9647
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9648
 
  soname_spec='${libname}${release}${shared_ext}$major'
9649
 
  shlibpath_var=LD_LIBRARY_PATH
9650
 
  ;;
9651
 
 
9652
 
freebsd1*)
9653
 
  dynamic_linker=no
9654
 
  ;;
9655
 
 
9656
 
freebsd* | dragonfly*)
9657
 
  # DragonFly does not have aout.  When/if they implement a new
9658
 
  # versioning mechanism, adjust this.
9659
 
  if test -x /usr/bin/objformat; then
9660
 
    objformat=`/usr/bin/objformat`
9661
 
  else
9662
 
    case $host_os in
9663
 
    freebsd[123]*) objformat=aout ;;
9664
 
    *) objformat=elf ;;
9665
 
    esac
9666
 
  fi
9667
 
  version_type=freebsd-$objformat
9668
 
  case $version_type in
9669
 
    freebsd-elf*)
9670
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9671
 
      need_version=no
9672
 
      need_lib_prefix=no
9673
 
      ;;
9674
 
    freebsd-*)
9675
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9676
 
      need_version=yes
9677
 
      ;;
9678
 
  esac
9679
 
  shlibpath_var=LD_LIBRARY_PATH
9680
 
  case $host_os in
9681
 
  freebsd2*)
9682
 
    shlibpath_overrides_runpath=yes
9683
 
    ;;
9684
 
  freebsd3.[01]* | freebsdelf3.[01]*)
9685
 
    shlibpath_overrides_runpath=yes
9686
 
    hardcode_into_libs=yes
9687
 
    ;;
9688
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9689
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9690
 
    shlibpath_overrides_runpath=no
9691
 
    hardcode_into_libs=yes
9692
 
    ;;
9693
 
  *) # from 4.6 on, and DragonFly
9694
 
    shlibpath_overrides_runpath=yes
9695
 
    hardcode_into_libs=yes
9696
 
    ;;
9697
 
  esac
9698
 
  ;;
9699
 
 
9700
 
gnu*)
9701
 
  version_type=linux
9702
 
  need_lib_prefix=no
9703
 
  need_version=no
9704
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9705
 
  soname_spec='${libname}${release}${shared_ext}$major'
9706
 
  shlibpath_var=LD_LIBRARY_PATH
9707
 
  hardcode_into_libs=yes
9708
 
  ;;
9709
 
 
9710
 
hpux9* | hpux10* | hpux11*)
9711
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
9712
 
  # link against other versions.
9713
 
  version_type=sunos
9714
 
  need_lib_prefix=no
9715
 
  need_version=no
9716
 
  case $host_cpu in
9717
 
  ia64*)
9718
 
    shrext_cmds='.so'
9719
 
    hardcode_into_libs=yes
9720
 
    dynamic_linker="$host_os dld.so"
9721
 
    shlibpath_var=LD_LIBRARY_PATH
9722
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9723
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9724
 
    soname_spec='${libname}${release}${shared_ext}$major'
9725
 
    if test "X$HPUX_IA64_MODE" = X32; then
9726
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9727
 
    else
9728
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9729
 
    fi
9730
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9731
 
    ;;
9732
 
  hppa*64*)
9733
 
    shrext_cmds='.sl'
9734
 
    hardcode_into_libs=yes
9735
 
    dynamic_linker="$host_os dld.sl"
9736
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9737
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9738
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9739
 
    soname_spec='${libname}${release}${shared_ext}$major'
9740
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9741
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9742
 
    ;;
9743
 
  *)
9744
 
    shrext_cmds='.sl'
9745
 
    dynamic_linker="$host_os dld.sl"
9746
 
    shlibpath_var=SHLIB_PATH
9747
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9748
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749
 
    soname_spec='${libname}${release}${shared_ext}$major'
9750
 
    ;;
9751
 
  esac
9752
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9753
 
  postinstall_cmds='chmod 555 $lib'
9754
 
  ;;
9755
 
 
9756
 
interix[3-9]*)
9757
 
  version_type=linux
9758
 
  need_lib_prefix=no
9759
 
  need_version=no
9760
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9761
 
  soname_spec='${libname}${release}${shared_ext}$major'
9762
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9763
 
  shlibpath_var=LD_LIBRARY_PATH
9764
 
  shlibpath_overrides_runpath=no
9765
 
  hardcode_into_libs=yes
9766
 
  ;;
9767
 
 
9768
 
irix5* | irix6* | nonstopux*)
9769
 
  case $host_os in
9770
 
    nonstopux*) version_type=nonstopux ;;
9771
 
    *)
9772
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
9773
 
                version_type=linux
9774
 
        else
9775
 
                version_type=irix
9776
 
        fi ;;
9777
 
  esac
9778
 
  need_lib_prefix=no
9779
 
  need_version=no
9780
 
  soname_spec='${libname}${release}${shared_ext}$major'
9781
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9782
 
  case $host_os in
9783
 
  irix5* | nonstopux*)
9784
 
    libsuff= shlibsuff=
9785
 
    ;;
9786
 
  *)
9787
 
    case $LD in # libtool.m4 will add one of these switches to LD
9788
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9789
 
      libsuff= shlibsuff= libmagic=32-bit;;
9790
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9791
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9792
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9793
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9794
 
    *) libsuff= shlibsuff= libmagic=never-match;;
9795
 
    esac
9796
 
    ;;
9797
 
  esac
9798
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9799
 
  shlibpath_overrides_runpath=no
9800
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9801
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9802
 
  hardcode_into_libs=yes
9803
 
  ;;
9804
 
 
9805
 
# No shared lib support for Linux oldld, aout, or coff.
9806
 
linux*oldld* | linux*aout* | linux*coff*)
9807
 
  dynamic_linker=no
9808
 
  ;;
9809
 
 
9810
 
# This must be Linux ELF.
9811
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9812
 
  version_type=linux
9813
 
  need_lib_prefix=no
9814
 
  need_version=no
9815
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9816
 
  soname_spec='${libname}${release}${shared_ext}$major'
9817
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9818
 
  shlibpath_var=LD_LIBRARY_PATH
9819
 
  shlibpath_overrides_runpath=no
9820
 
  # Some binutils ld are patched to set DT_RUNPATH
9821
 
  save_LDFLAGS=$LDFLAGS
9822
 
  save_libdir=$libdir
9823
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9824
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9825
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826
 
/* end confdefs.h.  */
9827
 
 
9828
 
int
9829
 
main ()
9830
 
{
9831
 
 
9832
 
  ;
9833
 
  return 0;
9834
 
}
9835
 
_ACEOF
9836
 
if ac_fn_c_try_link "$LINENO"; then :
9837
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9838
 
  shlibpath_overrides_runpath=yes
9839
 
fi
9840
 
fi
9841
 
rm -f core conftest.err conftest.$ac_objext \
9842
 
    conftest$ac_exeext conftest.$ac_ext
9843
 
  LDFLAGS=$save_LDFLAGS
9844
 
  libdir=$save_libdir
9845
 
 
9846
 
  # This implies no fast_install, which is unacceptable.
9847
 
  # Some rework will be needed to allow for fast_install
9848
 
  # before this can be enabled.
9849
 
  hardcode_into_libs=yes
9850
 
 
9851
 
  # Append ld.so.conf contents to the search path
9852
 
  if test -f /etc/ld.so.conf; then
9853
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9854
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9855
 
  fi
9856
 
 
9857
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9858
 
  # powerpc, because MkLinux only supported shared libraries with the
9859
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
9860
 
  # most powerpc-linux boxes support dynamic linking these days and
9861
 
  # people can always --disable-shared, the test was removed, and we
9862
 
  # assume the GNU/Linux dynamic linker is in use.
9863
 
  dynamic_linker='GNU/Linux ld.so'
9864
 
  ;;
9865
 
 
9866
 
netbsdelf*-gnu)
9867
 
  version_type=linux
9868
 
  need_lib_prefix=no
9869
 
  need_version=no
9870
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9871
 
  soname_spec='${libname}${release}${shared_ext}$major'
9872
 
  shlibpath_var=LD_LIBRARY_PATH
9873
 
  shlibpath_overrides_runpath=no
9874
 
  hardcode_into_libs=yes
9875
 
  dynamic_linker='NetBSD ld.elf_so'
9876
 
  ;;
9877
 
 
9878
 
netbsd*)
9879
 
  version_type=sunos
9880
 
  need_lib_prefix=no
9881
 
  need_version=no
9882
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9883
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9884
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9885
 
    dynamic_linker='NetBSD (a.out) ld.so'
9886
 
  else
9887
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9888
 
    soname_spec='${libname}${release}${shared_ext}$major'
9889
 
    dynamic_linker='NetBSD ld.elf_so'
9890
 
  fi
9891
 
  shlibpath_var=LD_LIBRARY_PATH
9892
 
  shlibpath_overrides_runpath=yes
9893
 
  hardcode_into_libs=yes
9894
 
  ;;
9895
 
 
9896
 
newsos6)
9897
 
  version_type=linux
9898
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899
 
  shlibpath_var=LD_LIBRARY_PATH
9900
 
  shlibpath_overrides_runpath=yes
9901
 
  ;;
9902
 
 
9903
 
*nto* | *qnx*)
9904
 
  version_type=qnx
9905
 
  need_lib_prefix=no
9906
 
  need_version=no
9907
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9908
 
  soname_spec='${libname}${release}${shared_ext}$major'
9909
 
  shlibpath_var=LD_LIBRARY_PATH
9910
 
  shlibpath_overrides_runpath=no
9911
 
  hardcode_into_libs=yes
9912
 
  dynamic_linker='ldqnx.so'
9913
 
  ;;
9914
 
 
9915
 
openbsd*)
9916
 
  version_type=sunos
9917
 
  sys_lib_dlsearch_path_spec="/usr/lib"
9918
 
  need_lib_prefix=no
9919
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9920
 
  case $host_os in
9921
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9922
 
    *)                          need_version=no  ;;
9923
 
  esac
9924
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9925
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9926
 
  shlibpath_var=LD_LIBRARY_PATH
9927
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928
 
    case $host_os in
9929
 
      openbsd2.[89] | openbsd2.[89].*)
9930
 
        shlibpath_overrides_runpath=no
9931
 
        ;;
9932
 
      *)
9933
 
        shlibpath_overrides_runpath=yes
9934
 
        ;;
9935
 
      esac
9936
 
  else
9937
 
    shlibpath_overrides_runpath=yes
9938
 
  fi
9939
 
  ;;
9940
 
 
9941
 
os2*)
9942
 
  libname_spec='$name'
9943
 
  shrext_cmds=".dll"
9944
 
  need_lib_prefix=no
9945
 
  library_names_spec='$libname${shared_ext} $libname.a'
9946
 
  dynamic_linker='OS/2 ld.exe'
9947
 
  shlibpath_var=LIBPATH
9948
 
  ;;
9949
 
 
9950
 
osf3* | osf4* | osf5*)
9951
 
  version_type=osf
9952
 
  need_lib_prefix=no
9953
 
  need_version=no
9954
 
  soname_spec='${libname}${release}${shared_ext}$major'
9955
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9956
 
  shlibpath_var=LD_LIBRARY_PATH
9957
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9958
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9959
 
  ;;
9960
 
 
9961
 
rdos*)
9962
 
  dynamic_linker=no
9963
 
  ;;
9964
 
 
9965
 
solaris*)
9966
 
  version_type=linux
9967
 
  need_lib_prefix=no
9968
 
  need_version=no
9969
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9970
 
  soname_spec='${libname}${release}${shared_ext}$major'
9971
 
  shlibpath_var=LD_LIBRARY_PATH
9972
 
  shlibpath_overrides_runpath=yes
9973
 
  hardcode_into_libs=yes
9974
 
  # ldd complains unless libraries are executable
9975
 
  postinstall_cmds='chmod +x $lib'
9976
 
  ;;
9977
 
 
9978
 
sunos4*)
9979
 
  version_type=sunos
9980
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9981
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9982
 
  shlibpath_var=LD_LIBRARY_PATH
9983
 
  shlibpath_overrides_runpath=yes
9984
 
  if test "$with_gnu_ld" = yes; then
9985
 
    need_lib_prefix=no
9986
 
  fi
9987
 
  need_version=yes
9988
 
  ;;
9989
 
 
9990
 
sysv4 | sysv4.3*)
9991
 
  version_type=linux
9992
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993
 
  soname_spec='${libname}${release}${shared_ext}$major'
9994
 
  shlibpath_var=LD_LIBRARY_PATH
9995
 
  case $host_vendor in
9996
 
    sni)
9997
 
      shlibpath_overrides_runpath=no
9998
 
      need_lib_prefix=no
9999
 
      runpath_var=LD_RUN_PATH
10000
 
      ;;
10001
 
    siemens)
10002
 
      need_lib_prefix=no
10003
 
      ;;
10004
 
    motorola)
10005
 
      need_lib_prefix=no
10006
 
      need_version=no
10007
 
      shlibpath_overrides_runpath=no
10008
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10009
 
      ;;
10010
 
  esac
10011
 
  ;;
10012
 
 
10013
 
sysv4*MP*)
10014
 
  if test -d /usr/nec ;then
10015
 
    version_type=linux
10016
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10017
 
    soname_spec='$libname${shared_ext}.$major'
10018
 
    shlibpath_var=LD_LIBRARY_PATH
10019
 
  fi
10020
 
  ;;
10021
 
 
10022
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10023
 
  version_type=freebsd-elf
10024
 
  need_lib_prefix=no
10025
 
  need_version=no
10026
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10027
 
  soname_spec='${libname}${release}${shared_ext}$major'
10028
 
  shlibpath_var=LD_LIBRARY_PATH
10029
 
  shlibpath_overrides_runpath=yes
10030
 
  hardcode_into_libs=yes
10031
 
  if test "$with_gnu_ld" = yes; then
10032
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10033
 
  else
10034
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10035
 
    case $host_os in
10036
 
      sco3.2v5*)
10037
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10038
 
        ;;
10039
 
    esac
10040
 
  fi
10041
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10042
 
  ;;
10043
 
 
10044
 
tpf*)
10045
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10046
 
  version_type=linux
10047
 
  need_lib_prefix=no
10048
 
  need_version=no
10049
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10050
 
  shlibpath_var=LD_LIBRARY_PATH
10051
 
  shlibpath_overrides_runpath=no
10052
 
  hardcode_into_libs=yes
10053
 
  ;;
10054
 
 
10055
 
uts4*)
10056
 
  version_type=linux
10057
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10058
 
  soname_spec='${libname}${release}${shared_ext}$major'
10059
 
  shlibpath_var=LD_LIBRARY_PATH
10060
 
  ;;
10061
 
 
10062
 
*)
10063
 
  dynamic_linker=no
10064
 
  ;;
10065
 
esac
10066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10067
 
$as_echo "$dynamic_linker" >&6; }
10068
 
test "$dynamic_linker" = no && can_build_shared=no
10069
 
 
10070
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10071
 
if test "$GCC" = yes; then
10072
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10073
 
fi
10074
 
 
10075
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10076
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10077
 
fi
10078
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10079
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10080
 
fi
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
10086
 
 
10087
 
 
10088
 
 
10089
 
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
 
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
 
10115
 
 
10116
 
 
10117
 
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10169
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10170
 
hardcode_action=
10171
 
if test -n "$hardcode_libdir_flag_spec" ||
10172
 
   test -n "$runpath_var" ||
10173
 
   test "X$hardcode_automatic" = "Xyes" ; then
10174
 
 
10175
 
  # We can hardcode non-existent directories.
10176
 
  if test "$hardcode_direct" != no &&
10177
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10178
 
     # have to relink, otherwise we might link with an installed library
10179
 
     # when we should be linking with a yet-to-be-installed one
10180
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10181
 
     test "$hardcode_minus_L" != no; then
10182
 
    # Linking always hardcodes the temporary library directory.
10183
 
    hardcode_action=relink
10184
 
  else
10185
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10186
 
    hardcode_action=immediate
10187
 
  fi
10188
 
else
10189
 
  # We cannot hardcode anything, or else we can only hardcode existing
10190
 
  # directories.
10191
 
  hardcode_action=unsupported
10192
 
fi
10193
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10194
 
$as_echo "$hardcode_action" >&6; }
10195
 
 
10196
 
if test "$hardcode_action" = relink ||
10197
 
   test "$inherit_rpath" = yes; then
10198
 
  # Fast installation is not supported
10199
 
  enable_fast_install=no
10200
 
elif test "$shlibpath_overrides_runpath" = yes ||
10201
 
     test "$enable_shared" = no; then
10202
 
  # Fast installation is not necessary
10203
 
  enable_fast_install=needless
10204
 
fi
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
  if test "x$enable_dlopen" != xyes; then
10212
 
  enable_dlopen=unknown
10213
 
  enable_dlopen_self=unknown
10214
 
  enable_dlopen_self_static=unknown
10215
 
else
10216
 
  lt_cv_dlopen=no
10217
 
  lt_cv_dlopen_libs=
10218
 
 
10219
 
  case $host_os in
10220
 
  beos*)
10221
 
    lt_cv_dlopen="load_add_on"
10222
 
    lt_cv_dlopen_libs=
10223
 
    lt_cv_dlopen_self=yes
10224
 
    ;;
10225
 
 
10226
 
  mingw* | pw32* | cegcc*)
10227
 
    lt_cv_dlopen="LoadLibrary"
10228
 
    lt_cv_dlopen_libs=
10229
 
    ;;
10230
 
 
10231
 
  cygwin*)
10232
 
    lt_cv_dlopen="dlopen"
10233
 
    lt_cv_dlopen_libs=
10234
 
    ;;
10235
 
 
10236
 
  darwin*)
10237
 
  # if libdl is installed we need to link against it
10238
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10239
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10240
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10241
 
  $as_echo_n "(cached) " >&6
10242
 
else
10243
 
  ac_check_lib_save_LIBS=$LIBS
10244
 
LIBS="-ldl  $LIBS"
10245
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246
 
/* end confdefs.h.  */
10247
 
 
10248
 
/* Override any GCC internal prototype to avoid an error.
10249
 
   Use char because int might match the return type of a GCC
10250
 
   builtin and then its argument prototype would still apply.  */
10251
 
#ifdef __cplusplus
10252
 
extern "C"
10253
 
#endif
10254
 
char dlopen ();
10255
 
int
10256
 
main ()
10257
 
{
10258
 
return dlopen ();
10259
 
  ;
10260
 
  return 0;
10261
 
}
10262
 
_ACEOF
10263
 
if ac_fn_c_try_link "$LINENO"; then :
10264
 
  ac_cv_lib_dl_dlopen=yes
10265
 
else
10266
 
  ac_cv_lib_dl_dlopen=no
10267
 
fi
10268
 
rm -f core conftest.err conftest.$ac_objext \
10269
 
    conftest$ac_exeext conftest.$ac_ext
10270
 
LIBS=$ac_check_lib_save_LIBS
10271
 
fi
10272
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10273
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10274
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10275
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10276
 
else
10277
 
 
10278
 
    lt_cv_dlopen="dyld"
10279
 
    lt_cv_dlopen_libs=
10280
 
    lt_cv_dlopen_self=yes
10281
 
 
10282
 
fi
10283
 
 
10284
 
    ;;
10285
 
 
10286
 
  *)
10287
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10288
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
10289
 
  lt_cv_dlopen="shl_load"
10290
 
else
10291
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10292
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10293
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10294
 
  $as_echo_n "(cached) " >&6
10295
 
else
10296
 
  ac_check_lib_save_LIBS=$LIBS
10297
 
LIBS="-ldld  $LIBS"
10298
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299
 
/* end confdefs.h.  */
10300
 
 
10301
 
/* Override any GCC internal prototype to avoid an error.
10302
 
   Use char because int might match the return type of a GCC
10303
 
   builtin and then its argument prototype would still apply.  */
10304
 
#ifdef __cplusplus
10305
 
extern "C"
10306
 
#endif
10307
 
char shl_load ();
10308
 
int
10309
 
main ()
10310
 
{
10311
 
return shl_load ();
10312
 
  ;
10313
 
  return 0;
10314
 
}
10315
 
_ACEOF
10316
 
if ac_fn_c_try_link "$LINENO"; then :
10317
 
  ac_cv_lib_dld_shl_load=yes
10318
 
else
10319
 
  ac_cv_lib_dld_shl_load=no
10320
 
fi
10321
 
rm -f core conftest.err conftest.$ac_objext \
10322
 
    conftest$ac_exeext conftest.$ac_ext
10323
 
LIBS=$ac_check_lib_save_LIBS
10324
 
fi
10325
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10326
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10327
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10328
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10329
 
else
10330
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10331
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
10332
 
  lt_cv_dlopen="dlopen"
10333
 
else
10334
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10335
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10336
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10337
 
  $as_echo_n "(cached) " >&6
10338
 
else
10339
 
  ac_check_lib_save_LIBS=$LIBS
10340
 
LIBS="-ldl  $LIBS"
10341
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342
 
/* end confdefs.h.  */
10343
 
 
10344
 
/* Override any GCC internal prototype to avoid an error.
10345
 
   Use char because int might match the return type of a GCC
10346
 
   builtin and then its argument prototype would still apply.  */
10347
 
#ifdef __cplusplus
10348
 
extern "C"
10349
 
#endif
10350
 
char dlopen ();
10351
 
int
10352
 
main ()
10353
 
{
10354
 
return dlopen ();
10355
 
  ;
10356
 
  return 0;
10357
 
}
10358
 
_ACEOF
10359
 
if ac_fn_c_try_link "$LINENO"; then :
10360
 
  ac_cv_lib_dl_dlopen=yes
10361
 
else
10362
 
  ac_cv_lib_dl_dlopen=no
10363
 
fi
10364
 
rm -f core conftest.err conftest.$ac_objext \
10365
 
    conftest$ac_exeext conftest.$ac_ext
10366
 
LIBS=$ac_check_lib_save_LIBS
10367
 
fi
10368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10369
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10370
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10371
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10372
 
else
10373
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10374
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10375
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10376
 
  $as_echo_n "(cached) " >&6
10377
 
else
10378
 
  ac_check_lib_save_LIBS=$LIBS
10379
 
LIBS="-lsvld  $LIBS"
10380
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381
 
/* end confdefs.h.  */
10382
 
 
10383
 
/* Override any GCC internal prototype to avoid an error.
10384
 
   Use char because int might match the return type of a GCC
10385
 
   builtin and then its argument prototype would still apply.  */
10386
 
#ifdef __cplusplus
10387
 
extern "C"
10388
 
#endif
10389
 
char dlopen ();
10390
 
int
10391
 
main ()
10392
 
{
10393
 
return dlopen ();
10394
 
  ;
10395
 
  return 0;
10396
 
}
10397
 
_ACEOF
10398
 
if ac_fn_c_try_link "$LINENO"; then :
10399
 
  ac_cv_lib_svld_dlopen=yes
10400
 
else
10401
 
  ac_cv_lib_svld_dlopen=no
10402
 
fi
10403
 
rm -f core conftest.err conftest.$ac_objext \
10404
 
    conftest$ac_exeext conftest.$ac_ext
10405
 
LIBS=$ac_check_lib_save_LIBS
10406
 
fi
10407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10408
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10409
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10410
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10411
 
else
10412
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10413
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10414
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10415
 
  $as_echo_n "(cached) " >&6
10416
 
else
10417
 
  ac_check_lib_save_LIBS=$LIBS
10418
 
LIBS="-ldld  $LIBS"
10419
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420
 
/* end confdefs.h.  */
10421
 
 
10422
 
/* Override any GCC internal prototype to avoid an error.
10423
 
   Use char because int might match the return type of a GCC
10424
 
   builtin and then its argument prototype would still apply.  */
10425
 
#ifdef __cplusplus
10426
 
extern "C"
10427
 
#endif
10428
 
char dld_link ();
10429
 
int
10430
 
main ()
10431
 
{
10432
 
return dld_link ();
10433
 
  ;
10434
 
  return 0;
10435
 
}
10436
 
_ACEOF
10437
 
if ac_fn_c_try_link "$LINENO"; then :
10438
 
  ac_cv_lib_dld_dld_link=yes
10439
 
else
10440
 
  ac_cv_lib_dld_dld_link=no
10441
 
fi
10442
 
rm -f core conftest.err conftest.$ac_objext \
10443
 
    conftest$ac_exeext conftest.$ac_ext
10444
 
LIBS=$ac_check_lib_save_LIBS
10445
 
fi
10446
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10447
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10448
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10449
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10450
 
fi
10451
 
 
10452
 
 
10453
 
fi
10454
 
 
10455
 
 
10456
 
fi
10457
 
 
10458
 
 
10459
 
fi
10460
 
 
10461
 
 
10462
 
fi
10463
 
 
10464
 
 
10465
 
fi
10466
 
 
10467
 
    ;;
10468
 
  esac
10469
 
 
10470
 
  if test "x$lt_cv_dlopen" != xno; then
10471
 
    enable_dlopen=yes
10472
 
  else
10473
 
    enable_dlopen=no
10474
 
  fi
10475
 
 
10476
 
  case $lt_cv_dlopen in
10477
 
  dlopen)
10478
 
    save_CPPFLAGS="$CPPFLAGS"
10479
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10480
 
 
10481
 
    save_LDFLAGS="$LDFLAGS"
10482
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10483
 
 
10484
 
    save_LIBS="$LIBS"
10485
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10486
 
 
10487
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10488
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10489
 
if test "${lt_cv_dlopen_self+set}" = set; then :
10490
 
  $as_echo_n "(cached) " >&6
10491
 
else
10492
 
          if test "$cross_compiling" = yes; then :
10493
 
  lt_cv_dlopen_self=cross
10494
 
else
10495
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10496
 
  lt_status=$lt_dlunknown
10497
 
  cat > conftest.$ac_ext <<_LT_EOF
10498
 
#line 10498 "configure"
10499
 
#include "confdefs.h"
10500
 
 
10501
 
#if HAVE_DLFCN_H
10502
 
#include <dlfcn.h>
10503
 
#endif
10504
 
 
10505
 
#include <stdio.h>
10506
 
 
10507
 
#ifdef RTLD_GLOBAL
10508
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10509
 
#else
10510
 
#  ifdef DL_GLOBAL
10511
 
#    define LT_DLGLOBAL         DL_GLOBAL
10512
 
#  else
10513
 
#    define LT_DLGLOBAL         0
10514
 
#  endif
10515
 
#endif
10516
 
 
10517
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10518
 
   find out it does not work in some platform. */
10519
 
#ifndef LT_DLLAZY_OR_NOW
10520
 
#  ifdef RTLD_LAZY
10521
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10522
 
#  else
10523
 
#    ifdef DL_LAZY
10524
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10525
 
#    else
10526
 
#      ifdef RTLD_NOW
10527
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10528
 
#      else
10529
 
#        ifdef DL_NOW
10530
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10531
 
#        else
10532
 
#          define LT_DLLAZY_OR_NOW      0
10533
 
#        endif
10534
 
#      endif
10535
 
#    endif
10536
 
#  endif
10537
 
#endif
10538
 
 
10539
 
void fnord() { int i=42;}
10540
 
int main ()
10541
 
{
10542
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10543
 
  int status = $lt_dlunknown;
10544
 
 
10545
 
  if (self)
10546
 
    {
10547
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10548
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10549
 
      /* dlclose (self); */
10550
 
    }
10551
 
  else
10552
 
    puts (dlerror ());
10553
 
 
10554
 
  return status;
10555
 
}
10556
 
_LT_EOF
10557
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10558
 
  (eval $ac_link) 2>&5
10559
 
  ac_status=$?
10560
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10561
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10562
 
    (./conftest; exit; ) >&5 2>/dev/null
10563
 
    lt_status=$?
10564
 
    case x$lt_status in
10565
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10566
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10567
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10568
 
    esac
10569
 
  else :
10570
 
    # compilation failed
10571
 
    lt_cv_dlopen_self=no
10572
 
  fi
10573
 
fi
10574
 
rm -fr conftest*
10575
 
 
10576
 
 
10577
 
fi
10578
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10579
 
$as_echo "$lt_cv_dlopen_self" >&6; }
10580
 
 
10581
 
    if test "x$lt_cv_dlopen_self" = xyes; then
10582
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10583
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10584
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10585
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10586
 
  $as_echo_n "(cached) " >&6
10587
 
else
10588
 
          if test "$cross_compiling" = yes; then :
10589
 
  lt_cv_dlopen_self_static=cross
10590
 
else
10591
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10592
 
  lt_status=$lt_dlunknown
10593
 
  cat > conftest.$ac_ext <<_LT_EOF
10594
 
#line 10594 "configure"
10595
 
#include "confdefs.h"
10596
 
 
10597
 
#if HAVE_DLFCN_H
10598
 
#include <dlfcn.h>
10599
 
#endif
10600
 
 
10601
 
#include <stdio.h>
10602
 
 
10603
 
#ifdef RTLD_GLOBAL
10604
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10605
 
#else
10606
 
#  ifdef DL_GLOBAL
10607
 
#    define LT_DLGLOBAL         DL_GLOBAL
10608
 
#  else
10609
 
#    define LT_DLGLOBAL         0
10610
 
#  endif
10611
 
#endif
10612
 
 
10613
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10614
 
   find out it does not work in some platform. */
10615
 
#ifndef LT_DLLAZY_OR_NOW
10616
 
#  ifdef RTLD_LAZY
10617
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10618
 
#  else
10619
 
#    ifdef DL_LAZY
10620
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10621
 
#    else
10622
 
#      ifdef RTLD_NOW
10623
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10624
 
#      else
10625
 
#        ifdef DL_NOW
10626
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10627
 
#        else
10628
 
#          define LT_DLLAZY_OR_NOW      0
10629
 
#        endif
10630
 
#      endif
10631
 
#    endif
10632
 
#  endif
10633
 
#endif
10634
 
 
10635
 
void fnord() { int i=42;}
10636
 
int main ()
10637
 
{
10638
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10639
 
  int status = $lt_dlunknown;
10640
 
 
10641
 
  if (self)
10642
 
    {
10643
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10644
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10645
 
      /* dlclose (self); */
10646
 
    }
10647
 
  else
10648
 
    puts (dlerror ());
10649
 
 
10650
 
  return status;
10651
 
}
10652
 
_LT_EOF
10653
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10654
 
  (eval $ac_link) 2>&5
10655
 
  ac_status=$?
10656
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10657
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10658
 
    (./conftest; exit; ) >&5 2>/dev/null
10659
 
    lt_status=$?
10660
 
    case x$lt_status in
10661
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10662
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10663
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10664
 
    esac
10665
 
  else :
10666
 
    # compilation failed
10667
 
    lt_cv_dlopen_self_static=no
10668
 
  fi
10669
 
fi
10670
 
rm -fr conftest*
10671
 
 
10672
 
 
10673
 
fi
10674
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10675
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10676
 
    fi
10677
 
 
10678
 
    CPPFLAGS="$save_CPPFLAGS"
10679
 
    LDFLAGS="$save_LDFLAGS"
10680
 
    LIBS="$save_LIBS"
10681
 
    ;;
10682
 
  esac
10683
 
 
10684
 
  case $lt_cv_dlopen_self in
10685
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10686
 
  *) enable_dlopen_self=unknown ;;
10687
 
  esac
10688
 
 
10689
 
  case $lt_cv_dlopen_self_static in
10690
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10691
 
  *) enable_dlopen_self_static=unknown ;;
10692
 
  esac
10693
 
fi
10694
 
 
10695
 
 
10696
 
 
10697
 
 
10698
 
 
10699
 
 
10700
 
 
10701
 
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
 
 
10708
 
 
10709
 
 
10710
 
 
10711
 
striplib=
10712
 
old_striplib=
10713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10714
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10715
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10716
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10717
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10719
 
$as_echo "yes" >&6; }
10720
 
else
10721
 
# FIXME - insert some real tests, host_os isn't really good enough
10722
 
  case $host_os in
10723
 
  darwin*)
10724
 
    if test -n "$STRIP" ; then
10725
 
      striplib="$STRIP -x"
10726
 
      old_striplib="$STRIP -S"
10727
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10728
 
$as_echo "yes" >&6; }
10729
 
    else
10730
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10731
 
$as_echo "no" >&6; }
10732
 
    fi
10733
 
    ;;
10734
 
  *)
10735
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10736
 
$as_echo "no" >&6; }
10737
 
    ;;
10738
 
  esac
10739
 
fi
10740
 
 
10741
 
 
10742
 
 
10743
 
 
10744
 
 
10745
 
 
10746
 
 
10747
 
 
10748
 
 
10749
 
 
10750
 
 
10751
 
 
10752
 
  # Report which library types will actually be built
10753
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10754
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10756
 
$as_echo "$can_build_shared" >&6; }
10757
 
 
10758
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10759
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
10760
 
  test "$can_build_shared" = "no" && enable_shared=no
10761
 
 
10762
 
  # On AIX, shared libraries and static libraries use the same namespace, and
10763
 
  # are all built from PIC.
10764
 
  case $host_os in
10765
 
  aix3*)
10766
 
    test "$enable_shared" = yes && enable_static=no
10767
 
    if test -n "$RANLIB"; then
10768
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10769
 
      postinstall_cmds='$RANLIB $lib'
10770
 
    fi
10771
 
    ;;
10772
 
 
10773
 
  aix[4-9]*)
10774
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10775
 
      test "$enable_shared" = yes && enable_static=no
10776
 
    fi
10777
 
    ;;
10778
 
  esac
10779
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10780
 
$as_echo "$enable_shared" >&6; }
10781
 
 
10782
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10783
 
$as_echo_n "checking whether to build static libraries... " >&6; }
10784
 
  # Make sure either enable_shared or enable_static is yes.
10785
 
  test "$enable_shared" = yes || enable_static=yes
10786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10787
 
$as_echo "$enable_static" >&6; }
10788
 
 
10789
 
 
10790
 
 
10791
 
 
10792
 
fi
10793
 
ac_ext=c
10794
 
ac_cpp='$CPP $CPPFLAGS'
10795
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10796
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10797
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10798
 
 
10799
 
CC="$lt_save_CC"
10800
 
 
10801
 
 
10802
 
 
10803
 
 
10804
 
 
10805
 
 
10806
 
 
10807
 
 
10808
 
 
10809
 
 
10810
 
 
10811
 
 
10812
 
 
10813
 
        ac_config_commands="$ac_config_commands libtool"
10814
 
 
10815
 
 
10816
 
 
10817
 
 
10818
 
# Only expand once:
10819
 
 
10820
 
 
10821
 
 
10822
 
 
10823
 
#############################################
10824
 
# Gettext
10825
 
#############################################
10826
 
GETTEXT_PACKAGE="$PACKAGE"
10827
 
 
10828
 
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
10829
 
 
10830
 
 
10831
 
cat >>confdefs.h <<_ACEOF
10832
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
10833
 
_ACEOF
10834
 
 
10835
 
 
10836
 
   for ac_header in locale.h
10837
 
do :
10838
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
10839
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
10840
 
  cat >>confdefs.h <<_ACEOF
10841
 
#define HAVE_LOCALE_H 1
10842
 
_ACEOF
10843
 
 
10844
 
fi
10845
 
 
10846
 
done
10847
 
 
10848
 
    if test $ac_cv_header_locale_h = yes; then
10849
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
10850
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
10851
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
10852
 
  $as_echo_n "(cached) " >&6
10853
 
else
10854
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855
 
/* end confdefs.h.  */
10856
 
#include <locale.h>
10857
 
int
10858
 
main ()
10859
 
{
10860
 
return LC_MESSAGES
10861
 
  ;
10862
 
  return 0;
10863
 
}
10864
 
_ACEOF
10865
 
if ac_fn_c_try_link "$LINENO"; then :
10866
 
  am_cv_val_LC_MESSAGES=yes
10867
 
else
10868
 
  am_cv_val_LC_MESSAGES=no
10869
 
fi
10870
 
rm -f core conftest.err conftest.$ac_objext \
10871
 
    conftest$ac_exeext conftest.$ac_ext
10872
 
fi
10873
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
10874
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
10875
 
    if test $am_cv_val_LC_MESSAGES = yes; then
10876
 
 
10877
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
10878
 
 
10879
 
    fi
10880
 
  fi
10881
 
     USE_NLS=yes
10882
 
 
10883
 
 
10884
 
    gt_cv_have_gettext=no
10885
 
 
10886
 
    CATOBJEXT=NONE
10887
 
    XGETTEXT=:
10888
 
    INTLLIBS=
10889
 
 
10890
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
10891
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
10892
 
  gt_cv_func_dgettext_libintl="no"
10893
 
      libintl_extra_libs=""
10894
 
 
10895
 
      #
10896
 
      # First check in libc
10897
 
      #
10898
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
10899
 
$as_echo_n "checking for ngettext in libc... " >&6; }
10900
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
10901
 
  $as_echo_n "(cached) " >&6
10902
 
else
10903
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904
 
/* end confdefs.h.  */
10905
 
 
10906
 
#include <libintl.h>
10907
 
 
10908
 
int
10909
 
main ()
10910
 
{
10911
 
return !ngettext ("","", 1)
10912
 
  ;
10913
 
  return 0;
10914
 
}
10915
 
_ACEOF
10916
 
if ac_fn_c_try_link "$LINENO"; then :
10917
 
  gt_cv_func_ngettext_libc=yes
10918
 
else
10919
 
  gt_cv_func_ngettext_libc=no
10920
 
fi
10921
 
rm -f core conftest.err conftest.$ac_objext \
10922
 
    conftest$ac_exeext conftest.$ac_ext
10923
 
 
10924
 
fi
10925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
10926
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
10927
 
 
10928
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10929
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
10930
 
$as_echo_n "checking for dgettext in libc... " >&6; }
10931
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
10932
 
  $as_echo_n "(cached) " >&6
10933
 
else
10934
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935
 
/* end confdefs.h.  */
10936
 
 
10937
 
#include <libintl.h>
10938
 
 
10939
 
int
10940
 
main ()
10941
 
{
10942
 
return !dgettext ("","")
10943
 
  ;
10944
 
  return 0;
10945
 
}
10946
 
_ACEOF
10947
 
if ac_fn_c_try_link "$LINENO"; then :
10948
 
  gt_cv_func_dgettext_libc=yes
10949
 
else
10950
 
  gt_cv_func_dgettext_libc=no
10951
 
fi
10952
 
rm -f core conftest.err conftest.$ac_objext \
10953
 
    conftest$ac_exeext conftest.$ac_ext
10954
 
 
10955
 
fi
10956
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
10957
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
10958
 
      fi
10959
 
 
10960
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10961
 
        for ac_func in bind_textdomain_codeset
10962
 
do :
10963
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
10964
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
10965
 
  cat >>confdefs.h <<_ACEOF
10966
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
10967
 
_ACEOF
10968
 
 
10969
 
fi
10970
 
done
10971
 
 
10972
 
      fi
10973
 
 
10974
 
      #
10975
 
      # If we don't have everything we want, check in libintl
10976
 
      #
10977
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
10978
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
10979
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
10980
 
 
10981
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
10982
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10983
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
10984
 
  $as_echo_n "(cached) " >&6
10985
 
else
10986
 
  ac_check_lib_save_LIBS=$LIBS
10987
 
LIBS="-lintl  $LIBS"
10988
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989
 
/* end confdefs.h.  */
10990
 
 
10991
 
/* Override any GCC internal prototype to avoid an error.
10992
 
   Use char because int might match the return type of a GCC
10993
 
   builtin and then its argument prototype would still apply.  */
10994
 
#ifdef __cplusplus
10995
 
extern "C"
10996
 
#endif
10997
 
char bindtextdomain ();
10998
 
int
10999
 
main ()
11000
 
{
11001
 
return bindtextdomain ();
11002
 
  ;
11003
 
  return 0;
11004
 
}
11005
 
_ACEOF
11006
 
if ac_fn_c_try_link "$LINENO"; then :
11007
 
  ac_cv_lib_intl_bindtextdomain=yes
11008
 
else
11009
 
  ac_cv_lib_intl_bindtextdomain=no
11010
 
fi
11011
 
rm -f core conftest.err conftest.$ac_objext \
11012
 
    conftest$ac_exeext conftest.$ac_ext
11013
 
LIBS=$ac_check_lib_save_LIBS
11014
 
fi
11015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11016
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11017
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
11018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11019
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11020
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11021
 
  $as_echo_n "(cached) " >&6
11022
 
else
11023
 
  ac_check_lib_save_LIBS=$LIBS
11024
 
LIBS="-lintl  $LIBS"
11025
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026
 
/* end confdefs.h.  */
11027
 
 
11028
 
/* Override any GCC internal prototype to avoid an error.
11029
 
   Use char because int might match the return type of a GCC
11030
 
   builtin and then its argument prototype would still apply.  */
11031
 
#ifdef __cplusplus
11032
 
extern "C"
11033
 
#endif
11034
 
char ngettext ();
11035
 
int
11036
 
main ()
11037
 
{
11038
 
return ngettext ();
11039
 
  ;
11040
 
  return 0;
11041
 
}
11042
 
_ACEOF
11043
 
if ac_fn_c_try_link "$LINENO"; then :
11044
 
  ac_cv_lib_intl_ngettext=yes
11045
 
else
11046
 
  ac_cv_lib_intl_ngettext=no
11047
 
fi
11048
 
rm -f core conftest.err conftest.$ac_objext \
11049
 
    conftest$ac_exeext conftest.$ac_ext
11050
 
LIBS=$ac_check_lib_save_LIBS
11051
 
fi
11052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11053
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11054
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11055
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11056
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
11057
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
11058
 
  $as_echo_n "(cached) " >&6
11059
 
else
11060
 
  ac_check_lib_save_LIBS=$LIBS
11061
 
LIBS="-lintl  $LIBS"
11062
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063
 
/* end confdefs.h.  */
11064
 
 
11065
 
/* Override any GCC internal prototype to avoid an error.
11066
 
   Use char because int might match the return type of a GCC
11067
 
   builtin and then its argument prototype would still apply.  */
11068
 
#ifdef __cplusplus
11069
 
extern "C"
11070
 
#endif
11071
 
char dgettext ();
11072
 
int
11073
 
main ()
11074
 
{
11075
 
return dgettext ();
11076
 
  ;
11077
 
  return 0;
11078
 
}
11079
 
_ACEOF
11080
 
if ac_fn_c_try_link "$LINENO"; then :
11081
 
  ac_cv_lib_intl_dgettext=yes
11082
 
else
11083
 
  ac_cv_lib_intl_dgettext=no
11084
 
fi
11085
 
rm -f core conftest.err conftest.$ac_objext \
11086
 
    conftest$ac_exeext conftest.$ac_ext
11087
 
LIBS=$ac_check_lib_save_LIBS
11088
 
fi
11089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11090
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11091
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
11092
 
  gt_cv_func_dgettext_libintl=yes
11093
 
fi
11094
 
 
11095
 
fi
11096
 
 
11097
 
fi
11098
 
 
11099
 
 
11100
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11101
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
11102
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11103
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11104
 
$as_echo "" >&6; }
11105
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11106
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11107
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11108
 
  $as_echo_n "(cached) " >&6
11109
 
else
11110
 
  ac_check_lib_save_LIBS=$LIBS
11111
 
LIBS="-lintl -liconv $LIBS"
11112
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113
 
/* end confdefs.h.  */
11114
 
 
11115
 
/* Override any GCC internal prototype to avoid an error.
11116
 
   Use char because int might match the return type of a GCC
11117
 
   builtin and then its argument prototype would still apply.  */
11118
 
#ifdef __cplusplus
11119
 
extern "C"
11120
 
#endif
11121
 
char ngettext ();
11122
 
int
11123
 
main ()
11124
 
{
11125
 
return ngettext ();
11126
 
  ;
11127
 
  return 0;
11128
 
}
11129
 
_ACEOF
11130
 
if ac_fn_c_try_link "$LINENO"; then :
11131
 
  ac_cv_lib_intl_ngettext=yes
11132
 
else
11133
 
  ac_cv_lib_intl_ngettext=no
11134
 
fi
11135
 
rm -f core conftest.err conftest.$ac_objext \
11136
 
    conftest$ac_exeext conftest.$ac_ext
11137
 
LIBS=$ac_check_lib_save_LIBS
11138
 
fi
11139
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11140
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11141
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11142
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11143
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
11144
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
11145
 
  $as_echo_n "(cached) " >&6
11146
 
else
11147
 
  ac_check_lib_save_LIBS=$LIBS
11148
 
LIBS="-lintl -liconv $LIBS"
11149
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150
 
/* end confdefs.h.  */
11151
 
 
11152
 
/* Override any GCC internal prototype to avoid an error.
11153
 
   Use char because int might match the return type of a GCC
11154
 
   builtin and then its argument prototype would still apply.  */
11155
 
#ifdef __cplusplus
11156
 
extern "C"
11157
 
#endif
11158
 
char dcgettext ();
11159
 
int
11160
 
main ()
11161
 
{
11162
 
return dcgettext ();
11163
 
  ;
11164
 
  return 0;
11165
 
}
11166
 
_ACEOF
11167
 
if ac_fn_c_try_link "$LINENO"; then :
11168
 
  ac_cv_lib_intl_dcgettext=yes
11169
 
else
11170
 
  ac_cv_lib_intl_dcgettext=no
11171
 
fi
11172
 
rm -f core conftest.err conftest.$ac_objext \
11173
 
    conftest$ac_exeext conftest.$ac_ext
11174
 
LIBS=$ac_check_lib_save_LIBS
11175
 
fi
11176
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11177
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11178
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
11179
 
  gt_cv_func_dgettext_libintl=yes
11180
 
                        libintl_extra_libs=-liconv
11181
 
else
11182
 
  :
11183
 
fi
11184
 
 
11185
 
else
11186
 
  :
11187
 
fi
11188
 
 
11189
 
        fi
11190
 
 
11191
 
        #
11192
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
11193
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
11194
 
        # and both have dgettext and ngettext
11195
 
        #
11196
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11197
 
          glib_save_LIBS="$LIBS"
11198
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
11199
 
          unset ac_cv_func_bind_textdomain_codeset
11200
 
          for ac_func in bind_textdomain_codeset
11201
 
do :
11202
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11203
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11204
 
  cat >>confdefs.h <<_ACEOF
11205
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11206
 
_ACEOF
11207
 
 
11208
 
fi
11209
 
done
11210
 
 
11211
 
          LIBS="$glib_save_LIBS"
11212
 
 
11213
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
11214
 
            gt_cv_func_dgettext_libc=no
11215
 
          else
11216
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
11217
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
11218
 
              gt_cv_func_dgettext_libintl=no
11219
 
            fi
11220
 
          fi
11221
 
        fi
11222
 
      fi
11223
 
 
11224
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
11225
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
11226
 
        gt_cv_have_gettext=yes
11227
 
      fi
11228
 
 
11229
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
11230
 
        INTLLIBS="-lintl $libintl_extra_libs"
11231
 
      fi
11232
 
 
11233
 
      if test "$gt_cv_have_gettext" = "yes"; then
11234
 
 
11235
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11236
 
 
11237
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
11238
 
set dummy msgfmt; ac_word=$2
11239
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11240
 
$as_echo_n "checking for $ac_word... " >&6; }
11241
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11242
 
  $as_echo_n "(cached) " >&6
11243
 
else
11244
 
  case "$MSGFMT" in
11245
 
  /*)
11246
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11247
 
  ;;
11248
 
  *)
11249
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11250
 
  for ac_dir in $PATH; do
11251
 
    test -z "$ac_dir" && ac_dir=.
11252
 
    if test -f $ac_dir/$ac_word; then
11253
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
11254
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
11255
 
        break
11256
 
      fi
11257
 
    fi
11258
 
  done
11259
 
  IFS="$ac_save_ifs"
11260
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
11261
 
  ;;
11262
 
esac
11263
 
fi
11264
 
MSGFMT="$ac_cv_path_MSGFMT"
11265
 
if test "$MSGFMT" != "no"; then
11266
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11267
 
$as_echo "$MSGFMT" >&6; }
11268
 
else
11269
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11270
 
$as_echo "no" >&6; }
11271
 
fi
11272
 
        if test "$MSGFMT" != "no"; then
11273
 
          glib_save_LIBS="$LIBS"
11274
 
          LIBS="$LIBS $INTLLIBS"
11275
 
          for ac_func in dcgettext
11276
 
do :
11277
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11278
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
11279
 
  cat >>confdefs.h <<_ACEOF
11280
 
#define HAVE_DCGETTEXT 1
11281
 
_ACEOF
11282
 
 
11283
 
fi
11284
 
done
11285
 
 
11286
 
          MSGFMT_OPTS=
11287
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
11288
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
11289
 
          cat >conftest.foo <<_ACEOF
11290
 
 
11291
 
msgid ""
11292
 
msgstr ""
11293
 
"Content-Type: text/plain; charset=UTF-8\n"
11294
 
"Project-Id-Version: test 1.0\n"
11295
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
11296
 
"Last-Translator: test <foo@bar.xx>\n"
11297
 
"Language-Team: C <LL@li.org>\n"
11298
 
"MIME-Version: 1.0\n"
11299
 
"Content-Transfer-Encoding: 8bit\n"
11300
 
 
11301
 
_ACEOF
11302
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
11303
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11304
 
  ac_status=$?
11305
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11306
 
  test $ac_status = 0; }; then
11307
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11308
 
$as_echo "yes" >&6; }
11309
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11310
 
$as_echo "no" >&6; }
11311
 
echo "$as_me: failed input was:" >&5
11312
 
sed 's/^/| /' conftest.foo >&5
11313
 
fi
11314
 
 
11315
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
11316
 
set dummy gmsgfmt; ac_word=$2
11317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11318
 
$as_echo_n "checking for $ac_word... " >&6; }
11319
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11320
 
  $as_echo_n "(cached) " >&6
11321
 
else
11322
 
  case $GMSGFMT in
11323
 
  [\\/]* | ?:[\\/]*)
11324
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11325
 
  ;;
11326
 
  *)
11327
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328
 
for as_dir in $PATH
11329
 
do
11330
 
  IFS=$as_save_IFS
11331
 
  test -z "$as_dir" && as_dir=.
11332
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11333
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11334
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11335
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11336
 
    break 2
11337
 
  fi
11338
 
done
11339
 
  done
11340
 
IFS=$as_save_IFS
11341
 
 
11342
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11343
 
  ;;
11344
 
esac
11345
 
fi
11346
 
GMSGFMT=$ac_cv_path_GMSGFMT
11347
 
if test -n "$GMSGFMT"; then
11348
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11349
 
$as_echo "$GMSGFMT" >&6; }
11350
 
else
11351
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11352
 
$as_echo "no" >&6; }
11353
 
fi
11354
 
 
11355
 
 
11356
 
          # Extract the first word of "xgettext", so it can be a program name with args.
11357
 
set dummy xgettext; ac_word=$2
11358
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11359
 
$as_echo_n "checking for $ac_word... " >&6; }
11360
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11361
 
  $as_echo_n "(cached) " >&6
11362
 
else
11363
 
  case "$XGETTEXT" in
11364
 
  /*)
11365
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11366
 
  ;;
11367
 
  *)
11368
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11369
 
  for ac_dir in $PATH; do
11370
 
    test -z "$ac_dir" && ac_dir=.
11371
 
    if test -f $ac_dir/$ac_word; then
11372
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11373
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11374
 
        break
11375
 
      fi
11376
 
    fi
11377
 
  done
11378
 
  IFS="$ac_save_ifs"
11379
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11380
 
  ;;
11381
 
esac
11382
 
fi
11383
 
XGETTEXT="$ac_cv_path_XGETTEXT"
11384
 
if test "$XGETTEXT" != ":"; then
11385
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11386
 
$as_echo "$XGETTEXT" >&6; }
11387
 
else
11388
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11389
 
$as_echo "no" >&6; }
11390
 
fi
11391
 
 
11392
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393
 
/* end confdefs.h.  */
11394
 
 
11395
 
int
11396
 
main ()
11397
 
{
11398
 
extern int _nl_msg_cat_cntr;
11399
 
                         return _nl_msg_cat_cntr
11400
 
  ;
11401
 
  return 0;
11402
 
}
11403
 
_ACEOF
11404
 
if ac_fn_c_try_link "$LINENO"; then :
11405
 
  CATOBJEXT=.gmo
11406
 
             DATADIRNAME=share
11407
 
else
11408
 
  case $host in
11409
 
            *-*-solaris*)
11410
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11411
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11412
 
  CATOBJEXT=.gmo
11413
 
               DATADIRNAME=share
11414
 
else
11415
 
  CATOBJEXT=.mo
11416
 
               DATADIRNAME=lib
11417
 
fi
11418
 
 
11419
 
            ;;
11420
 
            *)
11421
 
            CATOBJEXT=.mo
11422
 
            DATADIRNAME=lib
11423
 
            ;;
11424
 
            esac
11425
 
fi
11426
 
rm -f core conftest.err conftest.$ac_objext \
11427
 
    conftest$ac_exeext conftest.$ac_ext
11428
 
          LIBS="$glib_save_LIBS"
11429
 
          INSTOBJEXT=.mo
11430
 
        else
11431
 
          gt_cv_have_gettext=no
11432
 
        fi
11433
 
      fi
11434
 
 
11435
 
fi
11436
 
 
11437
 
 
11438
 
 
11439
 
    if test "$gt_cv_have_gettext" = "yes" ; then
11440
 
 
11441
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
11442
 
 
11443
 
    fi
11444
 
 
11445
 
        if test "$XGETTEXT" != ":"; then
11446
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11447
 
        : ;
11448
 
      else
11449
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11450
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11451
 
        XGETTEXT=":"
11452
 
      fi
11453
 
    fi
11454
 
 
11455
 
    # We need to process the po/ directory.
11456
 
    POSUB=po
11457
 
 
11458
 
    ac_config_commands="$ac_config_commands default-1"
11459
 
 
11460
 
 
11461
 
                for lang in $ALL_LINGUAS; do
11462
 
      GMOFILES="$GMOFILES $lang.gmo"
11463
 
      POFILES="$POFILES $lang.po"
11464
 
    done
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
 
 
11471
 
 
11472
 
 
11473
 
 
11474
 
 
11475
 
 
11476
 
 
11477
 
 
11478
 
   if test "$gt_cv_have_gettext" = "yes"; then
11479
 
     if test "x$ALL_LINGUAS" = "x"; then
11480
 
       LINGUAS=
11481
 
     else
11482
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11483
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
11484
 
       NEW_LINGUAS=
11485
 
       for presentlang in $ALL_LINGUAS; do
11486
 
         useit=no
11487
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
11488
 
           desiredlanguages="$LINGUAS"
11489
 
         else
11490
 
           desiredlanguages="$ALL_LINGUAS"
11491
 
         fi
11492
 
         for desiredlang in $desiredlanguages; do
11493
 
           # Use the presentlang catalog if desiredlang is
11494
 
           #   a. equal to presentlang, or
11495
 
           #   b. a variant of presentlang (because in this case,
11496
 
           #      presentlang can be used as a fallback for messages
11497
 
           #      which are not translated in the desiredlang catalog).
11498
 
           case "$desiredlang" in
11499
 
             "$presentlang"*) useit=yes;;
11500
 
           esac
11501
 
         done
11502
 
         if test $useit = yes; then
11503
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
11504
 
         fi
11505
 
       done
11506
 
       LINGUAS=$NEW_LINGUAS
11507
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11508
 
$as_echo "$LINGUAS" >&6; }
11509
 
     fi
11510
 
 
11511
 
          if test -n "$LINGUAS"; then
11512
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
11513
 
     fi
11514
 
   fi
11515
 
 
11516
 
            MKINSTALLDIRS=
11517
 
   if test -n "$ac_aux_dir"; then
11518
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
11519
 
   fi
11520
 
   if test -z "$MKINSTALLDIRS"; then
11521
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11522
 
   fi
11523
 
 
11524
 
 
11525
 
         test -d po || mkdir po
11526
 
   if test "x$srcdir" != "x."; then
11527
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
11528
 
       posrcprefix="$srcdir/"
11529
 
     else
11530
 
       posrcprefix="../$srcdir/"
11531
 
     fi
11532
 
   else
11533
 
     posrcprefix="../"
11534
 
   fi
11535
 
   rm -f po/POTFILES
11536
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
11537
 
        < $srcdir/po/POTFILES.in > po/POTFILES
11538
 
 
11539
 
 
11540
 
# AM_GNOME_GETTEXT above substs $DATADIRNAME
11541
 
# this is the directory where the *.{mo,gmo} files are installed
11542
 
localedir='${prefix}/${DATADIRNAME}/locale'
11543
 
 
11544
 
 
11545
 
 
11546
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11547
 
$as_echo_n "checking whether NLS is requested... " >&6; }
11548
 
    # Check whether --enable-nls was given.
11549
 
if test "${enable_nls+set}" = set; then :
11550
 
  enableval=$enable_nls; USE_NLS=$enableval
11551
 
else
11552
 
  USE_NLS=yes
11553
 
fi
11554
 
 
11555
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11556
 
$as_echo "$USE_NLS" >&6; }
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
 
case "$am__api_version" in
11562
 
    1.01234)
11563
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11564
 
    ;;
11565
 
    *)
11566
 
    ;;
11567
 
esac
11568
 
 
11569
 
if test -n "0.40.0"; then
11570
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
11571
 
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
11572
 
 
11573
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11574
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11575
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11576
 
 
11577
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11578
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11579
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11580
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
11581
 
fi
11582
 
 
11583
 
# Extract the first word of "intltool-update", so it can be a program name with args.
11584
 
set dummy intltool-update; ac_word=$2
11585
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11586
 
$as_echo_n "checking for $ac_word... " >&6; }
11587
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
11588
 
  $as_echo_n "(cached) " >&6
11589
 
else
11590
 
  case $INTLTOOL_UPDATE in
11591
 
  [\\/]* | ?:[\\/]*)
11592
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
11593
 
  ;;
11594
 
  *)
11595
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596
 
for as_dir in $PATH
11597
 
do
11598
 
  IFS=$as_save_IFS
11599
 
  test -z "$as_dir" && as_dir=.
11600
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11601
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11602
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11603
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11604
 
    break 2
11605
 
  fi
11606
 
done
11607
 
  done
11608
 
IFS=$as_save_IFS
11609
 
 
11610
 
  ;;
11611
 
esac
11612
 
fi
11613
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11614
 
if test -n "$INTLTOOL_UPDATE"; then
11615
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
11616
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
11617
 
else
11618
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619
 
$as_echo "no" >&6; }
11620
 
fi
11621
 
 
11622
 
 
11623
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
11624
 
set dummy intltool-merge; ac_word=$2
11625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11626
 
$as_echo_n "checking for $ac_word... " >&6; }
11627
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
11628
 
  $as_echo_n "(cached) " >&6
11629
 
else
11630
 
  case $INTLTOOL_MERGE in
11631
 
  [\\/]* | ?:[\\/]*)
11632
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
11633
 
  ;;
11634
 
  *)
11635
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636
 
for as_dir in $PATH
11637
 
do
11638
 
  IFS=$as_save_IFS
11639
 
  test -z "$as_dir" && as_dir=.
11640
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11641
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11642
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11643
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11644
 
    break 2
11645
 
  fi
11646
 
done
11647
 
  done
11648
 
IFS=$as_save_IFS
11649
 
 
11650
 
  ;;
11651
 
esac
11652
 
fi
11653
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11654
 
if test -n "$INTLTOOL_MERGE"; then
11655
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
11656
 
$as_echo "$INTLTOOL_MERGE" >&6; }
11657
 
else
11658
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11659
 
$as_echo "no" >&6; }
11660
 
fi
11661
 
 
11662
 
 
11663
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
11664
 
set dummy intltool-extract; ac_word=$2
11665
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11666
 
$as_echo_n "checking for $ac_word... " >&6; }
11667
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
11668
 
  $as_echo_n "(cached) " >&6
11669
 
else
11670
 
  case $INTLTOOL_EXTRACT in
11671
 
  [\\/]* | ?:[\\/]*)
11672
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
11673
 
  ;;
11674
 
  *)
11675
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11676
 
for as_dir in $PATH
11677
 
do
11678
 
  IFS=$as_save_IFS
11679
 
  test -z "$as_dir" && as_dir=.
11680
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11681
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11682
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11683
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11684
 
    break 2
11685
 
  fi
11686
 
done
11687
 
  done
11688
 
IFS=$as_save_IFS
11689
 
 
11690
 
  ;;
11691
 
esac
11692
 
fi
11693
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11694
 
if test -n "$INTLTOOL_EXTRACT"; then
11695
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
11696
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
11697
 
else
11698
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699
 
$as_echo "no" >&6; }
11700
 
fi
11701
 
 
11702
 
 
11703
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11704
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11705
 
fi
11706
 
 
11707
 
  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 $< $@'
11708
 
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 $< $@'
11709
 
     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 $< $@'
11710
 
     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 $< $@'
11711
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
11712
 
     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 $< $@'
11713
 
   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 $< $@'
11714
 
    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 $< $@'
11715
 
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 $< $@'
11716
 
       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 $< $@'
11717
 
      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 $< $@'
11718
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
11719
 
      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 $< $@'
11720
 
      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 $< $@'
11721
 
    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 $< $@'
11722
 
  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 $< $@'
11723
 
    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 $< $@'
11724
 
    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 $< $@'
11725
 
   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 $< $@'
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
 
 
11739
 
 
11740
 
 
11741
 
 
11742
 
 
11743
 
 
11744
 
 
11745
 
 
11746
 
 
11747
 
 
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
 
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
 
11761
 
 
11762
 
 
11763
 
 
11764
 
 
11765
 
 
11766
 
 
11767
 
 
11768
 
 
11769
 
 
11770
 
 
11771
 
 
11772
 
 
11773
 
 
11774
 
 
11775
 
 
11776
 
 
11777
 
 
11778
 
 
11779
 
 
11780
 
 
11781
 
 
11782
 
 
11783
 
 
11784
 
 
11785
 
 
11786
 
 
11787
 
 
11788
 
 
11789
 
 
11790
 
 
11791
 
 
11792
 
 
11793
 
 
11794
 
 
11795
 
 
11796
 
 
11797
 
 
11798
 
 
11799
 
 
11800
 
 
11801
 
 
11802
 
 
11803
 
 
11804
 
 
11805
 
 
11806
 
 
11807
 
 
11808
 
 
11809
 
 
11810
 
 
11811
 
 
11812
 
 
11813
 
 
11814
 
 
11815
 
 
11816
 
 
11817
 
 
11818
 
 
11819
 
 
11820
 
 
11821
 
 
11822
 
 
11823
 
# Check the gettext tools to make sure they are GNU
11824
 
# Extract the first word of "xgettext", so it can be a program name with args.
11825
 
set dummy xgettext; ac_word=$2
11826
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827
 
$as_echo_n "checking for $ac_word... " >&6; }
11828
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11829
 
  $as_echo_n "(cached) " >&6
11830
 
else
11831
 
  case $XGETTEXT in
11832
 
  [\\/]* | ?:[\\/]*)
11833
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11834
 
  ;;
11835
 
  *)
11836
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837
 
for as_dir in $PATH
11838
 
do
11839
 
  IFS=$as_save_IFS
11840
 
  test -z "$as_dir" && as_dir=.
11841
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11842
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11843
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11844
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11845
 
    break 2
11846
 
  fi
11847
 
done
11848
 
  done
11849
 
IFS=$as_save_IFS
11850
 
 
11851
 
  ;;
11852
 
esac
11853
 
fi
11854
 
XGETTEXT=$ac_cv_path_XGETTEXT
11855
 
if test -n "$XGETTEXT"; then
11856
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11857
 
$as_echo "$XGETTEXT" >&6; }
11858
 
else
11859
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860
 
$as_echo "no" >&6; }
11861
 
fi
11862
 
 
11863
 
 
11864
 
# Extract the first word of "msgmerge", so it can be a program name with args.
11865
 
set dummy msgmerge; ac_word=$2
11866
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867
 
$as_echo_n "checking for $ac_word... " >&6; }
11868
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11869
 
  $as_echo_n "(cached) " >&6
11870
 
else
11871
 
  case $MSGMERGE in
11872
 
  [\\/]* | ?:[\\/]*)
11873
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11874
 
  ;;
11875
 
  *)
11876
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11877
 
for as_dir in $PATH
11878
 
do
11879
 
  IFS=$as_save_IFS
11880
 
  test -z "$as_dir" && as_dir=.
11881
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11882
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11883
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11884
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11885
 
    break 2
11886
 
  fi
11887
 
done
11888
 
  done
11889
 
IFS=$as_save_IFS
11890
 
 
11891
 
  ;;
11892
 
esac
11893
 
fi
11894
 
MSGMERGE=$ac_cv_path_MSGMERGE
11895
 
if test -n "$MSGMERGE"; then
11896
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11897
 
$as_echo "$MSGMERGE" >&6; }
11898
 
else
11899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900
 
$as_echo "no" >&6; }
11901
 
fi
11902
 
 
11903
 
 
11904
 
# Extract the first word of "msgfmt", so it can be a program name with args.
11905
 
set dummy msgfmt; ac_word=$2
11906
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907
 
$as_echo_n "checking for $ac_word... " >&6; }
11908
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11909
 
  $as_echo_n "(cached) " >&6
11910
 
else
11911
 
  case $MSGFMT in
11912
 
  [\\/]* | ?:[\\/]*)
11913
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11914
 
  ;;
11915
 
  *)
11916
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11917
 
for as_dir in $PATH
11918
 
do
11919
 
  IFS=$as_save_IFS
11920
 
  test -z "$as_dir" && as_dir=.
11921
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11922
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
11924
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11925
 
    break 2
11926
 
  fi
11927
 
done
11928
 
  done
11929
 
IFS=$as_save_IFS
11930
 
 
11931
 
  ;;
11932
 
esac
11933
 
fi
11934
 
MSGFMT=$ac_cv_path_MSGFMT
11935
 
if test -n "$MSGFMT"; then
11936
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11937
 
$as_echo "$MSGFMT" >&6; }
11938
 
else
11939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11940
 
$as_echo "no" >&6; }
11941
 
fi
11942
 
 
11943
 
 
11944
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
11945
 
set dummy gmsgfmt; ac_word=$2
11946
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11947
 
$as_echo_n "checking for $ac_word... " >&6; }
11948
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11949
 
  $as_echo_n "(cached) " >&6
11950
 
else
11951
 
  case $GMSGFMT in
11952
 
  [\\/]* | ?:[\\/]*)
11953
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11954
 
  ;;
11955
 
  *)
11956
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957
 
for as_dir in $PATH
11958
 
do
11959
 
  IFS=$as_save_IFS
11960
 
  test -z "$as_dir" && as_dir=.
11961
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11962
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11963
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11964
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11965
 
    break 2
11966
 
  fi
11967
 
done
11968
 
  done
11969
 
IFS=$as_save_IFS
11970
 
 
11971
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11972
 
  ;;
11973
 
esac
11974
 
fi
11975
 
GMSGFMT=$ac_cv_path_GMSGFMT
11976
 
if test -n "$GMSGFMT"; then
11977
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11978
 
$as_echo "$GMSGFMT" >&6; }
11979
 
else
11980
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11981
 
$as_echo "no" >&6; }
11982
 
fi
11983
 
 
11984
 
 
11985
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
11986
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11987
 
fi
11988
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
11989
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
11990
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
11991
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
11992
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11993
 
fi
11994
 
 
11995
 
# Extract the first word of "perl", so it can be a program name with args.
11996
 
set dummy perl; ac_word=$2
11997
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11998
 
$as_echo_n "checking for $ac_word... " >&6; }
11999
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
12000
 
  $as_echo_n "(cached) " >&6
12001
 
else
12002
 
  case $INTLTOOL_PERL in
12003
 
  [\\/]* | ?:[\\/]*)
12004
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12005
 
  ;;
12006
 
  *)
12007
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008
 
for as_dir in $PATH
12009
 
do
12010
 
  IFS=$as_save_IFS
12011
 
  test -z "$as_dir" && as_dir=.
12012
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12013
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12014
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12015
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12016
 
    break 2
12017
 
  fi
12018
 
done
12019
 
  done
12020
 
IFS=$as_save_IFS
12021
 
 
12022
 
  ;;
12023
 
esac
12024
 
fi
12025
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12026
 
if test -n "$INTLTOOL_PERL"; then
12027
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12028
 
$as_echo "$INTLTOOL_PERL" >&6; }
12029
 
else
12030
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031
 
$as_echo "no" >&6; }
12032
 
fi
12033
 
 
12034
 
 
12035
 
if test -z "$INTLTOOL_PERL"; then
12036
 
   as_fn_error $? "perl not found" "$LINENO" 5
12037
 
fi
12038
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12039
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12040
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12041
 
if test $? -ne 0; then
12042
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12043
 
else
12044
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12045
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12046
 
$as_echo "$IT_PERL_VERSION" >&6; }
12047
 
fi
12048
 
if test "x" != "xno-xml"; then
12049
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12050
 
$as_echo_n "checking for XML::Parser... " >&6; }
12051
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12052
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12053
 
$as_echo "ok" >&6; }
12054
 
   else
12055
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12056
 
   fi
12057
 
fi
12058
 
 
12059
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12060
 
 
12061
 
 
12062
 
# Set DATADIRNAME correctly if it is not set yet
12063
 
# (copied from glib-gettext.m4)
12064
 
if test -z "$DATADIRNAME"; then
12065
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066
 
/* end confdefs.h.  */
12067
 
 
12068
 
int
12069
 
main ()
12070
 
{
12071
 
extern int _nl_msg_cat_cntr;
12072
 
                       return _nl_msg_cat_cntr
12073
 
  ;
12074
 
  return 0;
12075
 
}
12076
 
_ACEOF
12077
 
if ac_fn_c_try_link "$LINENO"; then :
12078
 
  DATADIRNAME=share
12079
 
else
12080
 
  case $host in
12081
 
    *-*-solaris*)
12082
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12083
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12084
 
  DATADIRNAME=share
12085
 
else
12086
 
  DATADIRNAME=lib
12087
 
fi
12088
 
 
12089
 
    ;;
12090
 
    *)
12091
 
    DATADIRNAME=lib
12092
 
    ;;
12093
 
    esac
12094
 
fi
12095
 
rm -f core conftest.err conftest.$ac_objext \
12096
 
    conftest$ac_exeext conftest.$ac_ext
12097
 
fi
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
 
 
12103
 
 
12104
 
 
12105
 
cat >>confdefs.h <<_ACEOF
12106
 
#define LOCALE_DIR "${PREFIX}/${DATADIRNAME}/locale"
12107
 
_ACEOF
12108
 
 
12109
 
 
12110
 
cat >>confdefs.h <<_ACEOF
12111
 
#define DATADIR "${PREFIX}/${DATADIRNAME}"
12112
 
_ACEOF
12113
 
 
12114
 
 
12115
 
cat >>confdefs.h <<_ACEOF
12116
 
#define PREFIXDIR "${PREFIX}"
12117
 
_ACEOF
12118
 
 
12119
 
 
12120
 
######################################################
12121
 
# intltool rule for generating translated .place file
12122
 
######################################################
12123
 
INTLTOOL_PLACE_RULE='%.place: %.place.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 $< $@'
12124
 
 
12125
 
 
12126
 
#####################################################
12127
 
# Check for module and library dependancies
12128
 
#####################################################
12129
 
GLIB_REQUIRED=2.27
12130
 
 
12131
 
 
12132
 
 
12133
 
 
12134
 
 
12135
 
 
12136
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12137
 
        if test -n "$ac_tool_prefix"; then
12138
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12139
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12140
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141
 
$as_echo_n "checking for $ac_word... " >&6; }
12142
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12143
 
  $as_echo_n "(cached) " >&6
12144
 
else
12145
 
  case $PKG_CONFIG in
12146
 
  [\\/]* | ?:[\\/]*)
12147
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12148
 
  ;;
12149
 
  *)
12150
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12151
 
for as_dir in $PATH
12152
 
do
12153
 
  IFS=$as_save_IFS
12154
 
  test -z "$as_dir" && as_dir=.
12155
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12156
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12157
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12158
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12159
 
    break 2
12160
 
  fi
12161
 
done
12162
 
  done
12163
 
IFS=$as_save_IFS
12164
 
 
12165
 
  ;;
12166
 
esac
12167
 
fi
12168
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12169
 
if test -n "$PKG_CONFIG"; then
12170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12171
 
$as_echo "$PKG_CONFIG" >&6; }
12172
 
else
12173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12174
 
$as_echo "no" >&6; }
12175
 
fi
12176
 
 
12177
 
 
12178
 
fi
12179
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12180
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12181
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12182
 
set dummy pkg-config; ac_word=$2
12183
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12184
 
$as_echo_n "checking for $ac_word... " >&6; }
12185
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12186
 
  $as_echo_n "(cached) " >&6
12187
 
else
12188
 
  case $ac_pt_PKG_CONFIG in
12189
 
  [\\/]* | ?:[\\/]*)
12190
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12191
 
  ;;
12192
 
  *)
12193
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194
 
for as_dir in $PATH
12195
 
do
12196
 
  IFS=$as_save_IFS
12197
 
  test -z "$as_dir" && as_dir=.
12198
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12199
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12201
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12202
 
    break 2
12203
 
  fi
12204
 
done
12205
 
  done
12206
 
IFS=$as_save_IFS
12207
 
 
12208
 
  ;;
12209
 
esac
12210
 
fi
12211
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12212
 
if test -n "$ac_pt_PKG_CONFIG"; then
12213
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12214
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12215
 
else
12216
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217
 
$as_echo "no" >&6; }
12218
 
fi
12219
 
 
12220
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12221
 
    PKG_CONFIG=""
12222
 
  else
12223
 
    case $cross_compiling:$ac_tool_warned in
12224
 
yes:)
12225
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12226
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12227
 
ac_tool_warned=yes ;;
12228
 
esac
12229
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12230
 
  fi
12231
 
else
12232
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12233
 
fi
12234
 
 
12235
 
fi
12236
 
if test -n "$PKG_CONFIG"; then
12237
 
        _pkg_min_version=0.9.0
12238
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12239
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12240
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12241
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12242
 
$as_echo "yes" >&6; }
12243
 
        else
12244
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245
 
$as_echo "no" >&6; }
12246
 
                PKG_CONFIG=""
12247
 
        fi
12248
 
fi
12249
 
 
12250
 
pkg_failed=no
12251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PLACE_DAEMON" >&5
12252
 
$as_echo_n "checking for PLACE_DAEMON... " >&6; }
12253
 
 
12254
 
if test -n "$PLACE_DAEMON_CFLAGS"; then
12255
 
    pkg_cv_PLACE_DAEMON_CFLAGS="$PLACE_DAEMON_CFLAGS"
12256
 
 elif test -n "$PKG_CONFIG"; then
12257
 
    if test -n "$PKG_CONFIG" && \
12258
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
12259
 
                  gobject-2.0 >= \$GLIB_REQUIRED
12260
 
                  gio-2.0 >= \$GLIB_REQUIRED
12261
 
                  gio-unix-2.0 >= \$GLIB_REQUIRED
12262
 
                  gee-1.0
12263
 
                  dee-1.0 >= 0.5.10
12264
 
                  zeitgeist-1.0 >= 0.3.4
12265
 
                  unity >= 3.4.6
12266
 
                  dbusmenu-glib-0.4 >= 0.3.97\""; } >&5
12267
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
12268
 
                  gobject-2.0 >= $GLIB_REQUIRED
12269
 
                  gio-2.0 >= $GLIB_REQUIRED
12270
 
                  gio-unix-2.0 >= $GLIB_REQUIRED
12271
 
                  gee-1.0
12272
 
                  dee-1.0 >= 0.5.10
12273
 
                  zeitgeist-1.0 >= 0.3.4
12274
 
                  unity >= 3.4.6
12275
 
                  dbusmenu-glib-0.4 >= 0.3.97") 2>&5
12276
 
  ac_status=$?
12277
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12278
 
  test $ac_status = 0; }; then
12279
 
  pkg_cv_PLACE_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
12280
 
                  gobject-2.0 >= $GLIB_REQUIRED
12281
 
                  gio-2.0 >= $GLIB_REQUIRED
12282
 
                  gio-unix-2.0 >= $GLIB_REQUIRED
12283
 
                  gee-1.0
12284
 
                  dee-1.0 >= 0.5.10
12285
 
                  zeitgeist-1.0 >= 0.3.4
12286
 
                  unity >= 3.4.6
12287
 
                  dbusmenu-glib-0.4 >= 0.3.97" 2>/dev/null`
12288
 
else
12289
 
  pkg_failed=yes
12290
 
fi
12291
 
 else
12292
 
    pkg_failed=untried
12293
 
fi
12294
 
if test -n "$PLACE_DAEMON_LIBS"; then
12295
 
    pkg_cv_PLACE_DAEMON_LIBS="$PLACE_DAEMON_LIBS"
12296
 
 elif test -n "$PKG_CONFIG"; then
12297
 
    if test -n "$PKG_CONFIG" && \
12298
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
12299
 
                  gobject-2.0 >= \$GLIB_REQUIRED
12300
 
                  gio-2.0 >= \$GLIB_REQUIRED
12301
 
                  gio-unix-2.0 >= \$GLIB_REQUIRED
12302
 
                  gee-1.0
12303
 
                  dee-1.0 >= 0.5.10
12304
 
                  zeitgeist-1.0 >= 0.3.4
12305
 
                  unity >= 3.4.6
12306
 
                  dbusmenu-glib-0.4 >= 0.3.97\""; } >&5
12307
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
12308
 
                  gobject-2.0 >= $GLIB_REQUIRED
12309
 
                  gio-2.0 >= $GLIB_REQUIRED
12310
 
                  gio-unix-2.0 >= $GLIB_REQUIRED
12311
 
                  gee-1.0
12312
 
                  dee-1.0 >= 0.5.10
12313
 
                  zeitgeist-1.0 >= 0.3.4
12314
 
                  unity >= 3.4.6
12315
 
                  dbusmenu-glib-0.4 >= 0.3.97") 2>&5
12316
 
  ac_status=$?
12317
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318
 
  test $ac_status = 0; }; then
12319
 
  pkg_cv_PLACE_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
12320
 
                  gobject-2.0 >= $GLIB_REQUIRED
12321
 
                  gio-2.0 >= $GLIB_REQUIRED
12322
 
                  gio-unix-2.0 >= $GLIB_REQUIRED
12323
 
                  gee-1.0
12324
 
                  dee-1.0 >= 0.5.10
12325
 
                  zeitgeist-1.0 >= 0.3.4
12326
 
                  unity >= 3.4.6
12327
 
                  dbusmenu-glib-0.4 >= 0.3.97" 2>/dev/null`
12328
 
else
12329
 
  pkg_failed=yes
12330
 
fi
12331
 
 else
12332
 
    pkg_failed=untried
12333
 
fi
12334
 
 
12335
 
 
12336
 
 
12337
 
if test $pkg_failed = yes; then
12338
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339
 
$as_echo "no" >&6; }
12340
 
 
12341
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12342
 
        _pkg_short_errors_supported=yes
12343
 
else
12344
 
        _pkg_short_errors_supported=no
12345
 
fi
12346
 
        if test $_pkg_short_errors_supported = yes; then
12347
 
                PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED
12348
 
                  gobject-2.0 >= $GLIB_REQUIRED
12349
 
                  gio-2.0 >= $GLIB_REQUIRED
12350
 
                  gio-unix-2.0 >= $GLIB_REQUIRED
12351
 
                  gee-1.0
12352
 
                  dee-1.0 >= 0.5.10
12353
 
                  zeitgeist-1.0 >= 0.3.4
12354
 
                  unity >= 3.4.6
12355
 
                  dbusmenu-glib-0.4 >= 0.3.97" 2>&1`
12356
 
        else
12357
 
                PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED
12358
 
                  gobject-2.0 >= $GLIB_REQUIRED
12359
 
                  gio-2.0 >= $GLIB_REQUIRED
12360
 
                  gio-unix-2.0 >= $GLIB_REQUIRED
12361
 
                  gee-1.0
12362
 
                  dee-1.0 >= 0.5.10
12363
 
                  zeitgeist-1.0 >= 0.3.4
12364
 
                  unity >= 3.4.6
12365
 
                  dbusmenu-glib-0.4 >= 0.3.97" 2>&1`
12366
 
        fi
12367
 
        # Put the nasty error message in config.log where it belongs
12368
 
        echo "$PLACE_DAEMON_PKG_ERRORS" >&5
12369
 
 
12370
 
        as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
12371
 
                  gobject-2.0 >= $GLIB_REQUIRED
12372
 
                  gio-2.0 >= $GLIB_REQUIRED
12373
 
                  gio-unix-2.0 >= $GLIB_REQUIRED
12374
 
                  gee-1.0
12375
 
                  dee-1.0 >= 0.5.10
12376
 
                  zeitgeist-1.0 >= 0.3.4
12377
 
                  unity >= 3.4.6
12378
 
                  dbusmenu-glib-0.4 >= 0.3.97) were not met:
12379
 
 
12380
 
$PLACE_DAEMON_PKG_ERRORS
12381
 
 
12382
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12383
 
installed software in a non-standard prefix.
12384
 
 
12385
 
Alternatively, you may set the environment variables PLACE_DAEMON_CFLAGS
12386
 
and PLACE_DAEMON_LIBS to avoid the need to call pkg-config.
12387
 
See the pkg-config man page for more details." "$LINENO" 5
12388
 
elif test $pkg_failed = untried; then
12389
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390
 
$as_echo "no" >&6; }
12391
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12392
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12393
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12394
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12395
 
path to pkg-config.
12396
 
 
12397
 
Alternatively, you may set the environment variables PLACE_DAEMON_CFLAGS
12398
 
and PLACE_DAEMON_LIBS to avoid the need to call pkg-config.
12399
 
See the pkg-config man page for more details.
12400
 
 
12401
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12402
 
See \`config.log' for more details" "$LINENO" 5 ; }
12403
 
else
12404
 
        PLACE_DAEMON_CFLAGS=$pkg_cv_PLACE_DAEMON_CFLAGS
12405
 
        PLACE_DAEMON_LIBS=$pkg_cv_PLACE_DAEMON_LIBS
12406
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12407
 
$as_echo "yes" >&6; }
12408
 
 
12409
 
fi
12410
 
 
12411
 
 
12412
 
 
12413
 
 
12414
 
 
12415
 
#####################################################
12416
 
# Check minimum required version of Zeitgeist daemon
12417
 
#####################################################
12418
 
 
12419
 
pkg_failed=no
12420
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZEITGEIST_DAEMON" >&5
12421
 
$as_echo_n "checking for ZEITGEIST_DAEMON... " >&6; }
12422
 
 
12423
 
if test -n "$ZEITGEIST_DAEMON_CFLAGS"; then
12424
 
    pkg_cv_ZEITGEIST_DAEMON_CFLAGS="$ZEITGEIST_DAEMON_CFLAGS"
12425
 
 elif test -n "$PKG_CONFIG"; then
12426
 
    if test -n "$PKG_CONFIG" && \
12427
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zeitgeist-daemon >= 0.5.0\""; } >&5
12428
 
  ($PKG_CONFIG --exists --print-errors "zeitgeist-daemon >= 0.5.0") 2>&5
12429
 
  ac_status=$?
12430
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12431
 
  test $ac_status = 0; }; then
12432
 
  pkg_cv_ZEITGEIST_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "zeitgeist-daemon >= 0.5.0" 2>/dev/null`
12433
 
else
12434
 
  pkg_failed=yes
12435
 
fi
12436
 
 else
12437
 
    pkg_failed=untried
12438
 
fi
12439
 
if test -n "$ZEITGEIST_DAEMON_LIBS"; then
12440
 
    pkg_cv_ZEITGEIST_DAEMON_LIBS="$ZEITGEIST_DAEMON_LIBS"
12441
 
 elif test -n "$PKG_CONFIG"; then
12442
 
    if test -n "$PKG_CONFIG" && \
12443
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zeitgeist-daemon >= 0.5.0\""; } >&5
12444
 
  ($PKG_CONFIG --exists --print-errors "zeitgeist-daemon >= 0.5.0") 2>&5
12445
 
  ac_status=$?
12446
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12447
 
  test $ac_status = 0; }; then
12448
 
  pkg_cv_ZEITGEIST_DAEMON_LIBS=`$PKG_CONFIG --libs "zeitgeist-daemon >= 0.5.0" 2>/dev/null`
12449
 
else
12450
 
  pkg_failed=yes
12451
 
fi
12452
 
 else
12453
 
    pkg_failed=untried
12454
 
fi
12455
 
 
12456
 
 
12457
 
 
12458
 
if test $pkg_failed = yes; then
12459
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460
 
$as_echo "no" >&6; }
12461
 
 
12462
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12463
 
        _pkg_short_errors_supported=yes
12464
 
else
12465
 
        _pkg_short_errors_supported=no
12466
 
fi
12467
 
        if test $_pkg_short_errors_supported = yes; then
12468
 
                ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "zeitgeist-daemon >= 0.5.0" 2>&1`
12469
 
        else
12470
 
                ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "zeitgeist-daemon >= 0.5.0" 2>&1`
12471
 
        fi
12472
 
        # Put the nasty error message in config.log where it belongs
12473
 
        echo "$ZEITGEIST_DAEMON_PKG_ERRORS" >&5
12474
 
 
12475
 
        as_fn_error $? "Package requirements (zeitgeist-daemon >= 0.5.0) were not met:
12476
 
 
12477
 
$ZEITGEIST_DAEMON_PKG_ERRORS
12478
 
 
12479
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12480
 
installed software in a non-standard prefix.
12481
 
 
12482
 
Alternatively, you may set the environment variables ZEITGEIST_DAEMON_CFLAGS
12483
 
and ZEITGEIST_DAEMON_LIBS to avoid the need to call pkg-config.
12484
 
See the pkg-config man page for more details." "$LINENO" 5
12485
 
elif test $pkg_failed = untried; then
12486
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487
 
$as_echo "no" >&6; }
12488
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12489
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12490
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12491
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12492
 
path to pkg-config.
12493
 
 
12494
 
Alternatively, you may set the environment variables ZEITGEIST_DAEMON_CFLAGS
12495
 
and ZEITGEIST_DAEMON_LIBS to avoid the need to call pkg-config.
12496
 
See the pkg-config man page for more details.
12497
 
 
12498
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12499
 
See \`config.log' for more details" "$LINENO" 5 ; }
12500
 
else
12501
 
        ZEITGEIST_DAEMON_CFLAGS=$pkg_cv_ZEITGEIST_DAEMON_CFLAGS
12502
 
        ZEITGEIST_DAEMON_LIBS=$pkg_cv_ZEITGEIST_DAEMON_LIBS
12503
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12504
 
$as_echo "yes" >&6; }
12505
 
 
12506
 
fi
12507
 
 
12508
 
#####################################################
12509
 
# local install for distcheck and stand-alone running
12510
 
#####################################################
12511
 
with_localinstall="no"
12512
 
# Check whether --enable-localinstall was given.
12513
 
if test "${enable_localinstall+set}" = set; then :
12514
 
  enableval=$enable_localinstall; with_localinstall=$enableval
12515
 
else
12516
 
  with_localinstall=no
12517
 
fi
12518
 
 
12519
 
 
12520
 
 if test "x$with_localinstall" = "xyes"; then
12521
 
  HAVE_LOCALINSTALL_TRUE=
12522
 
  HAVE_LOCALINSTALL_FALSE='#'
12523
 
else
12524
 
  HAVE_LOCALINSTALL_TRUE='#'
12525
 
  HAVE_LOCALINSTALL_FALSE=
12526
 
fi
12527
 
 
12528
 
 
12529
 
#####################################################
12530
 
# Expand variables needed for config.vala
12531
 
#####################################################
12532
 
 
12533
 
  EXP_VAR=PREFIX
12534
 
  FROM_VAR=$prefix
12535
 
 
12536
 
    prefix_save=$prefix
12537
 
  exec_prefix_save=$exec_prefix
12538
 
 
12539
 
    if test "x$prefix" = "xNONE"; then
12540
 
    prefix=$ac_default_prefix
12541
 
  fi
12542
 
    if test "x$exec_prefix" = "xNONE"; then
12543
 
    exec_prefix=$prefix
12544
 
  fi
12545
 
 
12546
 
  full_var="$FROM_VAR"
12547
 
    while true; do
12548
 
    new_full_var="`eval echo $full_var`"
12549
 
    if test "x$new_full_var"="x$full_var"; then break; fi
12550
 
    full_var=$new_full_var
12551
 
  done
12552
 
 
12553
 
    full_var=$new_full_var
12554
 
  PREFIX="$full_var"
12555
 
 
12556
 
 
12557
 
    prefix=$prefix_save
12558
 
  exec_prefix=$exec_prefix_save
12559
 
 
12560
 
 
12561
 
 
12562
 
 
12563
 
  EXP_VAR=DATADIR
12564
 
  FROM_VAR=$datarootdir
12565
 
 
12566
 
    prefix_save=$prefix
12567
 
  exec_prefix_save=$exec_prefix
12568
 
 
12569
 
    if test "x$prefix" = "xNONE"; then
12570
 
    prefix=$ac_default_prefix
12571
 
  fi
12572
 
    if test "x$exec_prefix" = "xNONE"; then
12573
 
    exec_prefix=$prefix
12574
 
  fi
12575
 
 
12576
 
  full_var="$FROM_VAR"
12577
 
    while true; do
12578
 
    new_full_var="`eval echo $full_var`"
12579
 
    if test "x$new_full_var"="x$full_var"; then break; fi
12580
 
    full_var=$new_full_var
12581
 
  done
12582
 
 
12583
 
    full_var=$new_full_var
12584
 
  DATADIR="$full_var"
12585
 
 
12586
 
 
12587
 
    prefix=$prefix_save
12588
 
  exec_prefix=$exec_prefix_save
12589
 
 
12590
 
 
12591
 
 
12592
 
#####################################################
12593
 
# look for dbus service dir
12594
 
#####################################################
12595
 
if test "x$with_localinstall" = "xyes"; then
12596
 
        DBUSSERVICEDIR="${datadir}/dbus-1/services/"
12597
 
else
12598
 
        DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
12599
 
fi
12600
 
 
12601
 
 
12602
 
#####################################################
12603
 
# Create the Makefiles
12604
 
#####################################################
12605
 
ac_config_files="$ac_config_files Makefile files.place.in data/Makefile src/Makefile src/config.vala po/Makefile.in"
12606
 
 
12607
 
cat >confcache <<\_ACEOF
12608
 
# This file is a shell script that caches the results of configure
12609
 
# tests run on this system so they can be shared between configure
12610
 
# scripts and configure runs, see configure's option --config-cache.
12611
 
# It is not useful on other systems.  If it contains results you don't
12612
 
# want to keep, you may remove or edit it.
12613
 
#
12614
 
# config.status only pays attention to the cache file if you give it
12615
 
# the --recheck option to rerun configure.
12616
 
#
12617
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12618
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12619
 
# following values.
12620
 
 
12621
 
_ACEOF
12622
 
 
12623
 
# The following way of writing the cache mishandles newlines in values,
12624
 
# but we know of no workaround that is simple, portable, and efficient.
12625
 
# So, we kill variables containing newlines.
12626
 
# Ultrix sh set writes to stderr and can't be redirected directly,
12627
 
# and sets the high bit in the cache file unless we assign to the vars.
12628
 
(
12629
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12630
 
    eval ac_val=\$$ac_var
12631
 
    case $ac_val in #(
12632
 
    *${as_nl}*)
12633
 
      case $ac_var in #(
12634
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12635
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12636
 
      esac
12637
 
      case $ac_var in #(
12638
 
      _ | IFS | as_nl) ;; #(
12639
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12640
 
      *) { eval $ac_var=; unset $ac_var;} ;;
12641
 
      esac ;;
12642
 
    esac
12643
 
  done
12644
 
 
12645
 
  (set) 2>&1 |
12646
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12647
 
    *${as_nl}ac_space=\ *)
12648
 
      # `set' does not quote correctly, so add quotes: double-quote
12649
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
12650
 
      sed -n \
12651
 
        "s/'/'\\\\''/g;
12652
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12653
 
      ;; #(
12654
 
    *)
12655
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12656
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12657
 
      ;;
12658
 
    esac |
12659
 
    sort
12660
 
) |
12661
 
  sed '
12662
 
     /^ac_cv_env_/b end
12663
 
     t clear
12664
 
     :clear
12665
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12666
 
     t end
12667
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12668
 
     :end' >>confcache
12669
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12670
 
  if test -w "$cache_file"; then
12671
 
    test "x$cache_file" != "x/dev/null" &&
12672
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12673
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
12674
 
    cat confcache >$cache_file
12675
 
  else
12676
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12677
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12678
 
  fi
12679
 
fi
12680
 
rm -f confcache
12681
 
 
12682
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12683
 
# Let make expand exec_prefix.
12684
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12685
 
 
12686
 
DEFS=-DHAVE_CONFIG_H
12687
 
 
12688
 
ac_libobjs=
12689
 
ac_ltlibobjs=
12690
 
U=
12691
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12692
 
  # 1. Remove the extension, and $U if already installed.
12693
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12694
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12695
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12696
 
  #    will be set to the directory where LIBOBJS objects are built.
12697
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12698
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12699
 
done
12700
 
LIBOBJS=$ac_libobjs
12701
 
 
12702
 
LTLIBOBJS=$ac_ltlibobjs
12703
 
 
12704
 
 
12705
 
 if test -n "$EXEEXT"; then
12706
 
  am__EXEEXT_TRUE=
12707
 
  am__EXEEXT_FALSE='#'
12708
 
else
12709
 
  am__EXEEXT_TRUE='#'
12710
 
  am__EXEEXT_FALSE=
12711
 
fi
12712
 
 
12713
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12714
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12715
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12716
 
fi
12717
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12718
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
12719
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12720
 
fi
12721
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12722
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12723
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12724
 
fi
12725
 
 
12726
 
  ac_config_commands="$ac_config_commands po/stamp-it"
12727
 
 
12728
 
 
12729
 
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then
12730
 
  as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined.
12731
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12732
 
fi
12733
 
 
12734
 
: ${CONFIG_STATUS=./config.status}
12735
 
ac_write_fail=0
12736
 
ac_clean_files_save=$ac_clean_files
12737
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12738
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12739
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12740
 
as_write_fail=0
12741
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12742
 
#! $SHELL
12743
 
# Generated by $as_me.
12744
 
# Run this file to recreate the current configuration.
12745
 
# Compiler output produced by configure, useful for debugging
12746
 
# configure, is in config.log if it exists.
12747
 
 
12748
 
debug=false
12749
 
ac_cs_recheck=false
12750
 
ac_cs_silent=false
12751
 
 
12752
 
SHELL=\${CONFIG_SHELL-$SHELL}
12753
 
export SHELL
12754
 
_ASEOF
12755
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12756
 
## -------------------- ##
12757
 
## M4sh Initialization. ##
12758
 
## -------------------- ##
12759
 
 
12760
 
# Be more Bourne compatible
12761
 
DUALCASE=1; export DUALCASE # for MKS sh
12762
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12763
 
  emulate sh
12764
 
  NULLCMD=:
12765
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12766
 
  # is contrary to our usage.  Disable this feature.
12767
 
  alias -g '${1+"$@"}'='"$@"'
12768
 
  setopt NO_GLOB_SUBST
12769
 
else
12770
 
  case `(set -o) 2>/dev/null` in #(
12771
 
  *posix*) :
12772
 
    set -o posix ;; #(
12773
 
  *) :
12774
 
     ;;
12775
 
esac
12776
 
fi
12777
 
 
12778
 
 
12779
 
as_nl='
12780
 
'
12781
 
export as_nl
12782
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12783
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12784
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12785
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12786
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
12787
 
# but without wasting forks for bash or zsh.
12788
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
12789
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12790
 
  as_echo='print -r --'
12791
 
  as_echo_n='print -rn --'
12792
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12793
 
  as_echo='printf %s\n'
12794
 
  as_echo_n='printf %s'
12795
 
else
12796
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12797
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12798
 
    as_echo_n='/usr/ucb/echo -n'
12799
 
  else
12800
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12801
 
    as_echo_n_body='eval
12802
 
      arg=$1;
12803
 
      case $arg in #(
12804
 
      *"$as_nl"*)
12805
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
12806
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12807
 
      esac;
12808
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12809
 
    '
12810
 
    export as_echo_n_body
12811
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
12812
 
  fi
12813
 
  export as_echo_body
12814
 
  as_echo='sh -c $as_echo_body as_echo'
12815
 
fi
12816
 
 
12817
 
# The user is always right.
12818
 
if test "${PATH_SEPARATOR+set}" != set; then
12819
 
  PATH_SEPARATOR=:
12820
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12821
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12822
 
      PATH_SEPARATOR=';'
12823
 
  }
12824
 
fi
12825
 
 
12826
 
 
12827
 
# IFS
12828
 
# We need space, tab and new line, in precisely that order.  Quoting is
12829
 
# there to prevent editors from complaining about space-tab.
12830
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12831
 
# splitting by setting IFS to empty value.)
12832
 
IFS=" ""        $as_nl"
12833
 
 
12834
 
# Find who we are.  Look in the path if we contain no directory separator.
12835
 
case $0 in #((
12836
 
  *[\\/]* ) as_myself=$0 ;;
12837
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838
 
for as_dir in $PATH
12839
 
do
12840
 
  IFS=$as_save_IFS
12841
 
  test -z "$as_dir" && as_dir=.
12842
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12843
 
  done
12844
 
IFS=$as_save_IFS
12845
 
 
12846
 
     ;;
12847
 
esac
12848
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
12849
 
# in which case we are not to be found in the path.
12850
 
if test "x$as_myself" = x; then
12851
 
  as_myself=$0
12852
 
fi
12853
 
if test ! -f "$as_myself"; then
12854
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12855
 
  exit 1
12856
 
fi
12857
 
 
12858
 
# Unset variables that we do not need and which cause bugs (e.g. in
12859
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12860
 
# suppresses any "Segmentation fault" message there.  '((' could
12861
 
# trigger a bug in pdksh 5.2.14.
12862
 
for as_var in BASH_ENV ENV MAIL MAILPATH
12863
 
do eval test x\${$as_var+set} = xset \
12864
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12865
 
done
12866
 
PS1='$ '
12867
 
PS2='> '
12868
 
PS4='+ '
12869
 
 
12870
 
# NLS nuisances.
12871
 
LC_ALL=C
12872
 
export LC_ALL
12873
 
LANGUAGE=C
12874
 
export LANGUAGE
12875
 
 
12876
 
# CDPATH.
12877
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12878
 
 
12879
 
 
12880
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
12881
 
# ----------------------------------------
12882
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12883
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12884
 
# script with STATUS, using 1 if that was 0.
12885
 
as_fn_error ()
12886
 
{
12887
 
  as_status=$1; test $as_status -eq 0 && as_status=1
12888
 
  if test "$4"; then
12889
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12890
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12891
 
  fi
12892
 
  $as_echo "$as_me: error: $2" >&2
12893
 
  as_fn_exit $as_status
12894
 
} # as_fn_error
12895
 
 
12896
 
 
12897
 
# as_fn_set_status STATUS
12898
 
# -----------------------
12899
 
# Set $? to STATUS, without forking.
12900
 
as_fn_set_status ()
12901
 
{
12902
 
  return $1
12903
 
} # as_fn_set_status
12904
 
 
12905
 
# as_fn_exit STATUS
12906
 
# -----------------
12907
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12908
 
as_fn_exit ()
12909
 
{
12910
 
  set +e
12911
 
  as_fn_set_status $1
12912
 
  exit $1
12913
 
} # as_fn_exit
12914
 
 
12915
 
# as_fn_unset VAR
12916
 
# ---------------
12917
 
# Portably unset VAR.
12918
 
as_fn_unset ()
12919
 
{
12920
 
  { eval $1=; unset $1;}
12921
 
}
12922
 
as_unset=as_fn_unset
12923
 
# as_fn_append VAR VALUE
12924
 
# ----------------------
12925
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
12926
 
# advantage of any shell optimizations that allow amortized linear growth over
12927
 
# repeated appends, instead of the typical quadratic growth present in naive
12928
 
# implementations.
12929
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12930
 
  eval 'as_fn_append ()
12931
 
  {
12932
 
    eval $1+=\$2
12933
 
  }'
12934
 
else
12935
 
  as_fn_append ()
12936
 
  {
12937
 
    eval $1=\$$1\$2
12938
 
  }
12939
 
fi # as_fn_append
12940
 
 
12941
 
# as_fn_arith ARG...
12942
 
# ------------------
12943
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
12944
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
12945
 
# must be portable across $(()) and expr.
12946
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12947
 
  eval 'as_fn_arith ()
12948
 
  {
12949
 
    as_val=$(( $* ))
12950
 
  }'
12951
 
else
12952
 
  as_fn_arith ()
12953
 
  {
12954
 
    as_val=`expr "$@" || test $? -eq 1`
12955
 
  }
12956
 
fi # as_fn_arith
12957
 
 
12958
 
 
12959
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
12960
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12961
 
  as_expr=expr
12962
 
else
12963
 
  as_expr=false
12964
 
fi
12965
 
 
12966
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12967
 
  as_basename=basename
12968
 
else
12969
 
  as_basename=false
12970
 
fi
12971
 
 
12972
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12973
 
  as_dirname=dirname
12974
 
else
12975
 
  as_dirname=false
12976
 
fi
12977
 
 
12978
 
as_me=`$as_basename -- "$0" ||
12979
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12980
 
         X"$0" : 'X\(//\)$' \| \
12981
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12982
 
$as_echo X/"$0" |
12983
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
12984
 
            s//\1/
12985
 
            q
12986
 
          }
12987
 
          /^X\/\(\/\/\)$/{
12988
 
            s//\1/
12989
 
            q
12990
 
          }
12991
 
          /^X\/\(\/\).*/{
12992
 
            s//\1/
12993
 
            q
12994
 
          }
12995
 
          s/.*/./; q'`
12996
 
 
12997
 
# Avoid depending upon Character Ranges.
12998
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12999
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13000
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13001
 
as_cr_digits='0123456789'
13002
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13003
 
 
13004
 
ECHO_C= ECHO_N= ECHO_T=
13005
 
case `echo -n x` in #(((((
13006
 
-n*)
13007
 
  case `echo 'xy\c'` in
13008
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13009
 
  xy)  ECHO_C='\c';;
13010
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13011
 
       ECHO_T=' ';;
13012
 
  esac;;
13013
 
*)
13014
 
  ECHO_N='-n';;
13015
 
esac
13016
 
 
13017
 
rm -f conf$$ conf$$.exe conf$$.file
13018
 
if test -d conf$$.dir; then
13019
 
  rm -f conf$$.dir/conf$$.file
13020
 
else
13021
 
  rm -f conf$$.dir
13022
 
  mkdir conf$$.dir 2>/dev/null
13023
 
fi
13024
 
if (echo >conf$$.file) 2>/dev/null; then
13025
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13026
 
    as_ln_s='ln -s'
13027
 
    # ... but there are two gotchas:
13028
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13029
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13030
 
    # In both cases, we have to default to `cp -p'.
13031
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13032
 
      as_ln_s='cp -p'
13033
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
13034
 
    as_ln_s=ln
13035
 
  else
13036
 
    as_ln_s='cp -p'
13037
 
  fi
13038
 
else
13039
 
  as_ln_s='cp -p'
13040
 
fi
13041
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13042
 
rmdir conf$$.dir 2>/dev/null
13043
 
 
13044
 
 
13045
 
# as_fn_mkdir_p
13046
 
# -------------
13047
 
# Create "$as_dir" as a directory, including parents if necessary.
13048
 
as_fn_mkdir_p ()
13049
 
{
13050
 
 
13051
 
  case $as_dir in #(
13052
 
  -*) as_dir=./$as_dir;;
13053
 
  esac
13054
 
  test -d "$as_dir" || eval $as_mkdir_p || {
13055
 
    as_dirs=
13056
 
    while :; do
13057
 
      case $as_dir in #(
13058
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13059
 
      *) as_qdir=$as_dir;;
13060
 
      esac
13061
 
      as_dirs="'$as_qdir' $as_dirs"
13062
 
      as_dir=`$as_dirname -- "$as_dir" ||
13063
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13064
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13065
 
         X"$as_dir" : 'X\(//\)$' \| \
13066
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13067
 
$as_echo X"$as_dir" |
13068
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13069
 
            s//\1/
13070
 
            q
13071
 
          }
13072
 
          /^X\(\/\/\)[^/].*/{
13073
 
            s//\1/
13074
 
            q
13075
 
          }
13076
 
          /^X\(\/\/\)$/{
13077
 
            s//\1/
13078
 
            q
13079
 
          }
13080
 
          /^X\(\/\).*/{
13081
 
            s//\1/
13082
 
            q
13083
 
          }
13084
 
          s/.*/./; q'`
13085
 
      test -d "$as_dir" && break
13086
 
    done
13087
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13088
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13089
 
 
13090
 
 
13091
 
} # as_fn_mkdir_p
13092
 
if mkdir -p . 2>/dev/null; then
13093
 
  as_mkdir_p='mkdir -p "$as_dir"'
13094
 
else
13095
 
  test -d ./-p && rmdir ./-p
13096
 
  as_mkdir_p=false
13097
 
fi
13098
 
 
13099
 
if test -x / >/dev/null 2>&1; then
13100
 
  as_test_x='test -x'
13101
 
else
13102
 
  if ls -dL / >/dev/null 2>&1; then
13103
 
    as_ls_L_option=L
13104
 
  else
13105
 
    as_ls_L_option=
13106
 
  fi
13107
 
  as_test_x='
13108
 
    eval sh -c '\''
13109
 
      if test -d "$1"; then
13110
 
        test -d "$1/.";
13111
 
      else
13112
 
        case $1 in #(
13113
 
        -*)set "./$1";;
13114
 
        esac;
13115
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13116
 
        ???[sx]*):;;*)false;;esac;fi
13117
 
    '\'' sh
13118
 
  '
13119
 
fi
13120
 
as_executable_p=$as_test_x
13121
 
 
13122
 
# Sed expression to map a string onto a valid CPP name.
13123
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13124
 
 
13125
 
# Sed expression to map a string onto a valid variable name.
13126
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13127
 
 
13128
 
 
13129
 
exec 6>&1
13130
 
## ----------------------------------- ##
13131
 
## Main body of $CONFIG_STATUS script. ##
13132
 
## ----------------------------------- ##
13133
 
_ASEOF
13134
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13135
 
 
13136
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13137
 
# Save the log message, to keep $0 and so on meaningful, and to
13138
 
# report actual input values of CONFIG_FILES etc. instead of their
13139
 
# values after options handling.
13140
 
ac_log="
13141
 
This file was extended by unity-place-files $as_me 0.5.38, which was
13142
 
generated by GNU Autoconf 2.67.  Invocation command line was
13143
 
 
13144
 
  CONFIG_FILES    = $CONFIG_FILES
13145
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
13146
 
  CONFIG_LINKS    = $CONFIG_LINKS
13147
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13148
 
  $ $0 $@
13149
 
 
13150
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13151
 
"
13152
 
 
13153
 
_ACEOF
13154
 
 
13155
 
case $ac_config_files in *"
13156
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13157
 
esac
13158
 
 
13159
 
case $ac_config_headers in *"
13160
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13161
 
esac
13162
 
 
13163
 
 
13164
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13165
 
# Files that config.status was made for.
13166
 
config_files="$ac_config_files"
13167
 
config_headers="$ac_config_headers"
13168
 
config_commands="$ac_config_commands"
13169
 
 
13170
 
_ACEOF
13171
 
 
13172
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13173
 
ac_cs_usage="\
13174
 
\`$as_me' instantiates files and other configuration actions
13175
 
from templates according to the current configuration.  Unless the files
13176
 
and actions are specified as TAGs, all are instantiated by default.
13177
 
 
13178
 
Usage: $0 [OPTION]... [TAG]...
13179
 
 
13180
 
  -h, --help       print this help, then exit
13181
 
  -V, --version    print version number and configuration settings, then exit
13182
 
      --config     print configuration, then exit
13183
 
  -q, --quiet, --silent
13184
 
                   do not print progress messages
13185
 
  -d, --debug      don't remove temporary files
13186
 
      --recheck    update $as_me by reconfiguring in the same conditions
13187
 
      --file=FILE[:TEMPLATE]
13188
 
                   instantiate the configuration file FILE
13189
 
      --header=FILE[:TEMPLATE]
13190
 
                   instantiate the configuration header FILE
13191
 
 
13192
 
Configuration files:
13193
 
$config_files
13194
 
 
13195
 
Configuration headers:
13196
 
$config_headers
13197
 
 
13198
 
Configuration commands:
13199
 
$config_commands
13200
 
 
13201
 
Report bugs to <https://launchpad.net/unity-place-files>."
13202
 
 
13203
 
_ACEOF
13204
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13205
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13206
 
ac_cs_version="\\
13207
 
unity-place-files config.status 0.5.38
13208
 
configured by $0, generated by GNU Autoconf 2.67,
13209
 
  with options \\"\$ac_cs_config\\"
13210
 
 
13211
 
Copyright (C) 2010 Free Software Foundation, Inc.
13212
 
This config.status script is free software; the Free Software Foundation
13213
 
gives unlimited permission to copy, distribute and modify it."
13214
 
 
13215
 
ac_pwd='$ac_pwd'
13216
 
srcdir='$srcdir'
13217
 
INSTALL='$INSTALL'
13218
 
MKDIR_P='$MKDIR_P'
13219
 
AWK='$AWK'
13220
 
test -n "\$AWK" || AWK=awk
13221
 
_ACEOF
13222
 
 
13223
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13224
 
# The default lists apply if the user does not specify any file.
13225
 
ac_need_defaults=:
13226
 
while test $# != 0
13227
 
do
13228
 
  case $1 in
13229
 
  --*=?*)
13230
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13231
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13232
 
    ac_shift=:
13233
 
    ;;
13234
 
  --*=)
13235
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13236
 
    ac_optarg=
13237
 
    ac_shift=:
13238
 
    ;;
13239
 
  *)
13240
 
    ac_option=$1
13241
 
    ac_optarg=$2
13242
 
    ac_shift=shift
13243
 
    ;;
13244
 
  esac
13245
 
 
13246
 
  case $ac_option in
13247
 
  # Handling of the options.
13248
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13249
 
    ac_cs_recheck=: ;;
13250
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13251
 
    $as_echo "$ac_cs_version"; exit ;;
13252
 
  --config | --confi | --conf | --con | --co | --c )
13253
 
    $as_echo "$ac_cs_config"; exit ;;
13254
 
  --debug | --debu | --deb | --de | --d | -d )
13255
 
    debug=: ;;
13256
 
  --file | --fil | --fi | --f )
13257
 
    $ac_shift
13258
 
    case $ac_optarg in
13259
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13260
 
    '') as_fn_error $? "missing file argument" ;;
13261
 
    esac
13262
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13263
 
    ac_need_defaults=false;;
13264
 
  --header | --heade | --head | --hea )
13265
 
    $ac_shift
13266
 
    case $ac_optarg in
13267
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13268
 
    esac
13269
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13270
 
    ac_need_defaults=false;;
13271
 
  --he | --h)
13272
 
    # Conflict between --help and --header
13273
 
    as_fn_error $? "ambiguous option: \`$1'
13274
 
Try \`$0 --help' for more information.";;
13275
 
  --help | --hel | -h )
13276
 
    $as_echo "$ac_cs_usage"; exit ;;
13277
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13278
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13279
 
    ac_cs_silent=: ;;
13280
 
 
13281
 
  # This is an error.
13282
 
  -*) as_fn_error $? "unrecognized option: \`$1'
13283
 
Try \`$0 --help' for more information." ;;
13284
 
 
13285
 
  *) as_fn_append ac_config_targets " $1"
13286
 
     ac_need_defaults=false ;;
13287
 
 
13288
 
  esac
13289
 
  shift
13290
 
done
13291
 
 
13292
 
ac_configure_extra_args=
13293
 
 
13294
 
if $ac_cs_silent; then
13295
 
  exec 6>/dev/null
13296
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13297
 
fi
13298
 
 
13299
 
_ACEOF
13300
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13301
 
if \$ac_cs_recheck; then
13302
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13303
 
  shift
13304
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13305
 
  CONFIG_SHELL='$SHELL'
13306
 
  export CONFIG_SHELL
13307
 
  exec "\$@"
13308
 
fi
13309
 
 
13310
 
_ACEOF
13311
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13312
 
exec 5>>config.log
13313
 
{
13314
 
  echo
13315
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13316
 
## Running $as_me. ##
13317
 
_ASBOX
13318
 
  $as_echo "$ac_log"
13319
 
} >&5
13320
 
 
13321
 
_ACEOF
13322
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13323
 
#
13324
 
# INIT-COMMANDS
13325
 
#
13326
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13327
 
 
13328
 
 
13329
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
13330
 
# if CDPATH is set.
13331
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13332
 
 
13333
 
sed_quote_subst='$sed_quote_subst'
13334
 
double_quote_subst='$double_quote_subst'
13335
 
delay_variable_subst='$delay_variable_subst'
13336
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13337
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13338
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13339
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13340
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13341
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13342
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13343
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13344
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13345
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13346
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13347
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13348
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13349
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13350
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13351
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13352
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13353
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13354
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13355
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13356
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13357
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13358
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13359
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13360
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13361
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13362
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13363
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13364
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13365
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13366
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13367
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13368
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13369
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13370
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13371
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13372
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13373
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13374
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13375
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13376
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13377
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13378
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13379
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13380
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13381
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13382
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13383
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13384
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13385
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13386
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13387
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13388
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13389
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13390
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13391
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13392
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13393
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13394
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13395
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13396
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13397
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13398
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13399
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13400
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13401
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13402
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13403
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13404
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13405
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13406
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13407
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13408
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13409
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13410
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13411
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13412
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13413
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13414
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13415
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13416
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13417
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13418
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13419
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13420
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13421
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13422
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13423
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13424
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13425
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13426
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13427
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13428
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13429
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13430
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13431
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13432
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13433
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13434
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13435
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13436
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13437
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13438
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13439
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13440
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13441
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13442
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13443
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13444
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13445
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13446
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13447
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13448
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13449
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13450
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13451
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13452
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13453
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13454
 
 
13455
 
LTCC='$LTCC'
13456
 
LTCFLAGS='$LTCFLAGS'
13457
 
compiler='$compiler_DEFAULT'
13458
 
 
13459
 
# Quote evaled strings.
13460
 
for var in SED \
13461
 
GREP \
13462
 
EGREP \
13463
 
FGREP \
13464
 
LD \
13465
 
NM \
13466
 
LN_S \
13467
 
lt_SP2NL \
13468
 
lt_NL2SP \
13469
 
reload_flag \
13470
 
OBJDUMP \
13471
 
deplibs_check_method \
13472
 
file_magic_cmd \
13473
 
AR \
13474
 
AR_FLAGS \
13475
 
STRIP \
13476
 
RANLIB \
13477
 
CC \
13478
 
CFLAGS \
13479
 
compiler \
13480
 
lt_cv_sys_global_symbol_pipe \
13481
 
lt_cv_sys_global_symbol_to_cdecl \
13482
 
lt_cv_sys_global_symbol_to_c_name_address \
13483
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13484
 
SHELL \
13485
 
ECHO \
13486
 
lt_prog_compiler_no_builtin_flag \
13487
 
lt_prog_compiler_wl \
13488
 
lt_prog_compiler_pic \
13489
 
lt_prog_compiler_static \
13490
 
lt_cv_prog_compiler_c_o \
13491
 
need_locks \
13492
 
DSYMUTIL \
13493
 
NMEDIT \
13494
 
LIPO \
13495
 
OTOOL \
13496
 
OTOOL64 \
13497
 
shrext_cmds \
13498
 
export_dynamic_flag_spec \
13499
 
whole_archive_flag_spec \
13500
 
compiler_needs_object \
13501
 
with_gnu_ld \
13502
 
allow_undefined_flag \
13503
 
no_undefined_flag \
13504
 
hardcode_libdir_flag_spec \
13505
 
hardcode_libdir_flag_spec_ld \
13506
 
hardcode_libdir_separator \
13507
 
fix_srcfile_path \
13508
 
exclude_expsyms \
13509
 
include_expsyms \
13510
 
file_list_spec \
13511
 
variables_saved_for_relink \
13512
 
libname_spec \
13513
 
library_names_spec \
13514
 
soname_spec \
13515
 
finish_eval \
13516
 
old_striplib \
13517
 
striplib; do
13518
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13519
 
    *[\\\\\\\`\\"\\\$]*)
13520
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13521
 
      ;;
13522
 
    *)
13523
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13524
 
      ;;
13525
 
    esac
13526
 
done
13527
 
 
13528
 
# Double-quote double-evaled strings.
13529
 
for var in reload_cmds \
13530
 
old_postinstall_cmds \
13531
 
old_postuninstall_cmds \
13532
 
old_archive_cmds \
13533
 
extract_expsyms_cmds \
13534
 
old_archive_from_new_cmds \
13535
 
old_archive_from_expsyms_cmds \
13536
 
archive_cmds \
13537
 
archive_expsym_cmds \
13538
 
module_cmds \
13539
 
module_expsym_cmds \
13540
 
export_symbols_cmds \
13541
 
prelink_cmds \
13542
 
postinstall_cmds \
13543
 
postuninstall_cmds \
13544
 
finish_cmds \
13545
 
sys_lib_search_path_spec \
13546
 
sys_lib_dlsearch_path_spec; do
13547
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13548
 
    *[\\\\\\\`\\"\\\$]*)
13549
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13550
 
      ;;
13551
 
    *)
13552
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13553
 
      ;;
13554
 
    esac
13555
 
done
13556
 
 
13557
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13558
 
case \$lt_ECHO in
13559
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13560
 
  ;;
13561
 
esac
13562
 
 
13563
 
ac_aux_dir='$ac_aux_dir'
13564
 
xsi_shell='$xsi_shell'
13565
 
lt_shell_append='$lt_shell_append'
13566
 
 
13567
 
# See if we are running on zsh, and set the options which allow our
13568
 
# commands through without removal of \ escapes INIT.
13569
 
if test -n "\${ZSH_VERSION+set}" ; then
13570
 
   setopt NO_GLOB_SUBST
13571
 
fi
13572
 
 
13573
 
 
13574
 
    PACKAGE='$PACKAGE'
13575
 
    VERSION='$VERSION'
13576
 
    TIMESTAMP='$TIMESTAMP'
13577
 
    RM='$RM'
13578
 
    ofile='$ofile'
13579
 
 
13580
 
 
13581
 
 
13582
 
 
13583
 
 
13584
 
_ACEOF
13585
 
 
13586
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13587
 
 
13588
 
# Handling of arguments.
13589
 
for ac_config_target in $ac_config_targets
13590
 
do
13591
 
  case $ac_config_target in
13592
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13593
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13594
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13595
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13596
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13597
 
    "files.place.in") CONFIG_FILES="$CONFIG_FILES files.place.in" ;;
13598
 
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13599
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13600
 
    "src/config.vala") CONFIG_FILES="$CONFIG_FILES src/config.vala" ;;
13601
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13602
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13603
 
 
13604
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13605
 
  esac
13606
 
done
13607
 
 
13608
 
 
13609
 
# If the user did not use the arguments to specify the items to instantiate,
13610
 
# then the envvar interface is used.  Set only those that are not.
13611
 
# We use the long form for the default assignment because of an extremely
13612
 
# bizarre bug on SunOS 4.1.3.
13613
 
if $ac_need_defaults; then
13614
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13615
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13616
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13617
 
fi
13618
 
 
13619
 
# Have a temporary directory for convenience.  Make it in the build tree
13620
 
# simply because there is no reason against having it here, and in addition,
13621
 
# creating and moving files from /tmp can sometimes cause problems.
13622
 
# Hook for its removal unless debugging.
13623
 
# Note that there is a small window in which the directory will not be cleaned:
13624
 
# after its creation but before its name has been assigned to `$tmp'.
13625
 
$debug ||
13626
 
{
13627
 
  tmp=
13628
 
  trap 'exit_status=$?
13629
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13630
 
' 0
13631
 
  trap 'as_fn_exit 1' 1 2 13 15
13632
 
}
13633
 
# Create a (secure) tmp directory for tmp files.
13634
 
 
13635
 
{
13636
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13637
 
  test -n "$tmp" && test -d "$tmp"
13638
 
}  ||
13639
 
{
13640
 
  tmp=./conf$$-$RANDOM
13641
 
  (umask 077 && mkdir "$tmp")
13642
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13643
 
 
13644
 
# Set up the scripts for CONFIG_FILES section.
13645
 
# No need to generate them if there are no CONFIG_FILES.
13646
 
# This happens for instance with `./config.status config.h'.
13647
 
if test -n "$CONFIG_FILES"; then
13648
 
 
13649
 
 
13650
 
ac_cr=`echo X | tr X '\015'`
13651
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13652
 
# But we know of no other shell where ac_cr would be empty at this
13653
 
# point, so we can use a bashism as a fallback.
13654
 
if test "x$ac_cr" = x; then
13655
 
  eval ac_cr=\$\'\\r\'
13656
 
fi
13657
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13658
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13659
 
  ac_cs_awk_cr='\\r'
13660
 
else
13661
 
  ac_cs_awk_cr=$ac_cr
13662
 
fi
13663
 
 
13664
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
13665
 
_ACEOF
13666
 
 
13667
 
 
13668
 
{
13669
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13670
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13671
 
  echo "_ACEOF"
13672
 
} >conf$$subs.sh ||
13673
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13674
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13675
 
ac_delim='%!_!# '
13676
 
for ac_last_try in false false false false false :; do
13677
 
  . ./conf$$subs.sh ||
13678
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13679
 
 
13680
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13681
 
  if test $ac_delim_n = $ac_delim_num; then
13682
 
    break
13683
 
  elif $ac_last_try; then
13684
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13685
 
  else
13686
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13687
 
  fi
13688
 
done
13689
 
rm -f conf$$subs.sh
13690
 
 
13691
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13692
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13693
 
_ACEOF
13694
 
sed -n '
13695
 
h
13696
 
s/^/S["/; s/!.*/"]=/
13697
 
p
13698
 
g
13699
 
s/^[^!]*!//
13700
 
:repl
13701
 
t repl
13702
 
s/'"$ac_delim"'$//
13703
 
t delim
13704
 
:nl
13705
 
h
13706
 
s/\(.\{148\}\)..*/\1/
13707
 
t more1
13708
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13709
 
p
13710
 
n
13711
 
b repl
13712
 
:more1
13713
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13714
 
p
13715
 
g
13716
 
s/.\{148\}//
13717
 
t nl
13718
 
:delim
13719
 
h
13720
 
s/\(.\{148\}\)..*/\1/
13721
 
t more2
13722
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
13723
 
p
13724
 
b
13725
 
:more2
13726
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13727
 
p
13728
 
g
13729
 
s/.\{148\}//
13730
 
t delim
13731
 
' <conf$$subs.awk | sed '
13732
 
/^[^""]/{
13733
 
  N
13734
 
  s/\n//
13735
 
}
13736
 
' >>$CONFIG_STATUS || ac_write_fail=1
13737
 
rm -f conf$$subs.awk
13738
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13739
 
_ACAWK
13740
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13741
 
  for (key in S) S_is_set[key] = 1
13742
 
  FS = ""
13743
 
 
13744
 
}
13745
 
{
13746
 
  line = $ 0
13747
 
  nfields = split(line, field, "@")
13748
 
  substed = 0
13749
 
  len = length(field[1])
13750
 
  for (i = 2; i < nfields; i++) {
13751
 
    key = field[i]
13752
 
    keylen = length(key)
13753
 
    if (S_is_set[key]) {
13754
 
      value = S[key]
13755
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13756
 
      len += length(value) + length(field[++i])
13757
 
      substed = 1
13758
 
    } else
13759
 
      len += 1 + keylen
13760
 
  }
13761
 
 
13762
 
  print line
13763
 
}
13764
 
 
13765
 
_ACAWK
13766
 
_ACEOF
13767
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13768
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13769
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13770
 
else
13771
 
  cat
13772
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13773
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13774
 
_ACEOF
13775
 
 
13776
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13777
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13778
 
# trailing colons and then remove the whole line if VPATH becomes empty
13779
 
# (actually we leave an empty line to preserve line numbers).
13780
 
if test "x$srcdir" = x.; then
13781
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13782
 
h
13783
 
s///
13784
 
s/^/:/
13785
 
s/[      ]*$/:/
13786
 
s/:\$(srcdir):/:/g
13787
 
s/:\${srcdir}:/:/g
13788
 
s/:@srcdir@:/:/g
13789
 
s/^:*//
13790
 
s/:*$//
13791
 
x
13792
 
s/\(=[   ]*\).*/\1/
13793
 
G
13794
 
s/\n//
13795
 
s/^[^=]*=[       ]*$//
13796
 
}'
13797
 
fi
13798
 
 
13799
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13800
 
fi # test -n "$CONFIG_FILES"
13801
 
 
13802
 
# Set up the scripts for CONFIG_HEADERS section.
13803
 
# No need to generate them if there are no CONFIG_HEADERS.
13804
 
# This happens for instance with `./config.status Makefile'.
13805
 
if test -n "$CONFIG_HEADERS"; then
13806
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
13807
 
BEGIN {
13808
 
_ACEOF
13809
 
 
13810
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
13811
 
# here-document in config.status, that substitutes the proper values into
13812
 
# config.h.in to produce config.h.
13813
 
 
13814
 
# Create a delimiter string that does not exist in confdefs.h, to ease
13815
 
# handling of long lines.
13816
 
ac_delim='%!_!# '
13817
 
for ac_last_try in false false :; do
13818
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13819
 
  if test -z "$ac_t"; then
13820
 
    break
13821
 
  elif $ac_last_try; then
13822
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13823
 
  else
13824
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13825
 
  fi
13826
 
done
13827
 
 
13828
 
# For the awk script, D is an array of macro values keyed by name,
13829
 
# likewise P contains macro parameters if any.  Preserve backslash
13830
 
# newline sequences.
13831
 
 
13832
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13833
 
sed -n '
13834
 
s/.\{148\}/&'"$ac_delim"'/g
13835
 
t rset
13836
 
:rset
13837
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
13838
 
t def
13839
 
d
13840
 
:def
13841
 
s/\\$//
13842
 
t bsnl
13843
 
s/["\\]/\\&/g
13844
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13845
 
D["\1"]=" \3"/p
13846
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13847
 
d
13848
 
:bsnl
13849
 
s/["\\]/\\&/g
13850
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13851
 
D["\1"]=" \3\\\\\\n"\\/p
13852
 
t cont
13853
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13854
 
t cont
13855
 
d
13856
 
:cont
13857
 
n
13858
 
s/.\{148\}/&'"$ac_delim"'/g
13859
 
t clear
13860
 
:clear
13861
 
s/\\$//
13862
 
t bsnlc
13863
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
13864
 
d
13865
 
:bsnlc
13866
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13867
 
b cont
13868
 
' <confdefs.h | sed '
13869
 
s/'"$ac_delim"'/"\\\
13870
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
13871
 
 
13872
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13873
 
  for (key in D) D_is_set[key] = 1
13874
 
  FS = ""
13875
 
}
13876
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13877
 
  line = \$ 0
13878
 
  split(line, arg, " ")
13879
 
  if (arg[1] == "#") {
13880
 
    defundef = arg[2]
13881
 
    mac1 = arg[3]
13882
 
  } else {
13883
 
    defundef = substr(arg[1], 2)
13884
 
    mac1 = arg[2]
13885
 
  }
13886
 
  split(mac1, mac2, "(") #)
13887
 
  macro = mac2[1]
13888
 
  prefix = substr(line, 1, index(line, defundef) - 1)
13889
 
  if (D_is_set[macro]) {
13890
 
    # Preserve the white space surrounding the "#".
13891
 
    print prefix "define", macro P[macro] D[macro]
13892
 
    next
13893
 
  } else {
13894
 
    # Replace #undef with comments.  This is necessary, for example,
13895
 
    # in the case of _POSIX_SOURCE, which is predefined and required
13896
 
    # on some systems where configure will not decide to define it.
13897
 
    if (defundef == "undef") {
13898
 
      print "/*", prefix defundef, macro, "*/"
13899
 
      next
13900
 
    }
13901
 
  }
13902
 
}
13903
 
{ print }
13904
 
_ACAWK
13905
 
_ACEOF
13906
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13907
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13908
 
fi # test -n "$CONFIG_HEADERS"
13909
 
 
13910
 
 
13911
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13912
 
shift
13913
 
for ac_tag
13914
 
do
13915
 
  case $ac_tag in
13916
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
13917
 
  esac
13918
 
  case $ac_mode$ac_tag in
13919
 
  :[FHL]*:*);;
13920
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13921
 
  :[FH]-) ac_tag=-:-;;
13922
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13923
 
  esac
13924
 
  ac_save_IFS=$IFS
13925
 
  IFS=:
13926
 
  set x $ac_tag
13927
 
  IFS=$ac_save_IFS
13928
 
  shift
13929
 
  ac_file=$1
13930
 
  shift
13931
 
 
13932
 
  case $ac_mode in
13933
 
  :L) ac_source=$1;;
13934
 
  :[FH])
13935
 
    ac_file_inputs=
13936
 
    for ac_f
13937
 
    do
13938
 
      case $ac_f in
13939
 
      -) ac_f="$tmp/stdin";;
13940
 
      *) # Look for the file first in the build tree, then in the source tree
13941
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13942
 
         # because $ac_f cannot contain `:'.
13943
 
         test -f "$ac_f" ||
13944
 
           case $ac_f in
13945
 
           [\\/$]*) false;;
13946
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13947
 
           esac ||
13948
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13949
 
      esac
13950
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13951
 
      as_fn_append ac_file_inputs " '$ac_f'"
13952
 
    done
13953
 
 
13954
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
13955
 
    # use $as_me), people would be surprised to read:
13956
 
    #    /* config.h.  Generated by config.status.  */
13957
 
    configure_input='Generated from '`
13958
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13959
 
        `' by configure.'
13960
 
    if test x"$ac_file" != x-; then
13961
 
      configure_input="$ac_file.  $configure_input"
13962
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13963
 
$as_echo "$as_me: creating $ac_file" >&6;}
13964
 
    fi
13965
 
    # Neutralize special characters interpreted by sed in replacement strings.
13966
 
    case $configure_input in #(
13967
 
    *\&* | *\|* | *\\* )
13968
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
13969
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13970
 
    *) ac_sed_conf_input=$configure_input;;
13971
 
    esac
13972
 
 
13973
 
    case $ac_tag in
13974
 
    *:-:* | *:-) cat >"$tmp/stdin" \
13975
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
13976
 
    esac
13977
 
    ;;
13978
 
  esac
13979
 
 
13980
 
  ac_dir=`$as_dirname -- "$ac_file" ||
13981
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13982
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
13983
 
         X"$ac_file" : 'X\(//\)$' \| \
13984
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13985
 
$as_echo X"$ac_file" |
13986
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13987
 
            s//\1/
13988
 
            q
13989
 
          }
13990
 
          /^X\(\/\/\)[^/].*/{
13991
 
            s//\1/
13992
 
            q
13993
 
          }
13994
 
          /^X\(\/\/\)$/{
13995
 
            s//\1/
13996
 
            q
13997
 
          }
13998
 
          /^X\(\/\).*/{
13999
 
            s//\1/
14000
 
            q
14001
 
          }
14002
 
          s/.*/./; q'`
14003
 
  as_dir="$ac_dir"; as_fn_mkdir_p
14004
 
  ac_builddir=.
14005
 
 
14006
 
case "$ac_dir" in
14007
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14008
 
*)
14009
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14010
 
  # A ".." for each directory in $ac_dir_suffix.
14011
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14012
 
  case $ac_top_builddir_sub in
14013
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14014
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14015
 
  esac ;;
14016
 
esac
14017
 
ac_abs_top_builddir=$ac_pwd
14018
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14019
 
# for backward compatibility:
14020
 
ac_top_builddir=$ac_top_build_prefix
14021
 
 
14022
 
case $srcdir in
14023
 
  .)  # We are building in place.
14024
 
    ac_srcdir=.
14025
 
    ac_top_srcdir=$ac_top_builddir_sub
14026
 
    ac_abs_top_srcdir=$ac_pwd ;;
14027
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
14028
 
    ac_srcdir=$srcdir$ac_dir_suffix;
14029
 
    ac_top_srcdir=$srcdir
14030
 
    ac_abs_top_srcdir=$srcdir ;;
14031
 
  *) # Relative name.
14032
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14033
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
14034
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14035
 
esac
14036
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14037
 
 
14038
 
 
14039
 
  case $ac_mode in
14040
 
  :F)
14041
 
  #
14042
 
  # CONFIG_FILE
14043
 
  #
14044
 
 
14045
 
  case $INSTALL in
14046
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14047
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14048
 
  esac
14049
 
  ac_MKDIR_P=$MKDIR_P
14050
 
  case $MKDIR_P in
14051
 
  [\\/$]* | ?:[\\/]* ) ;;
14052
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14053
 
  esac
14054
 
_ACEOF
14055
 
 
14056
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14057
 
# If the template does not know about datarootdir, expand it.
14058
 
# FIXME: This hack should be removed a few years after 2.60.
14059
 
ac_datarootdir_hack=; ac_datarootdir_seen=
14060
 
ac_sed_dataroot='
14061
 
/datarootdir/ {
14062
 
  p
14063
 
  q
14064
 
}
14065
 
/@datadir@/p
14066
 
/@docdir@/p
14067
 
/@infodir@/p
14068
 
/@localedir@/p
14069
 
/@mandir@/p'
14070
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14071
 
*datarootdir*) ac_datarootdir_seen=yes;;
14072
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14073
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14074
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14075
 
_ACEOF
14076
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14077
 
  ac_datarootdir_hack='
14078
 
  s&@datadir@&$datadir&g
14079
 
  s&@docdir@&$docdir&g
14080
 
  s&@infodir@&$infodir&g
14081
 
  s&@localedir@&$localedir&g
14082
 
  s&@mandir@&$mandir&g
14083
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
14084
 
esac
14085
 
_ACEOF
14086
 
 
14087
 
# Neutralize VPATH when `$srcdir' = `.'.
14088
 
# Shell code in configure.ac might set extrasub.
14089
 
# FIXME: do we really want to maintain this feature?
14090
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14091
 
ac_sed_extra="$ac_vpsub
14092
 
$extrasub
14093
 
_ACEOF
14094
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14095
 
:t
14096
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14097
 
s|@configure_input@|$ac_sed_conf_input|;t t
14098
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
14099
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14100
 
s&@srcdir@&$ac_srcdir&;t t
14101
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14102
 
s&@top_srcdir@&$ac_top_srcdir&;t t
14103
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14104
 
s&@builddir@&$ac_builddir&;t t
14105
 
s&@abs_builddir@&$ac_abs_builddir&;t t
14106
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14107
 
s&@INSTALL@&$ac_INSTALL&;t t
14108
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14109
 
$ac_datarootdir_hack
14110
 
"
14111
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14112
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14113
 
 
14114
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14115
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14116
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14117
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14118
 
which seems to be undefined.  Please make sure it is defined" >&5
14119
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14120
 
which seems to be undefined.  Please make sure it is defined" >&2;}
14121
 
 
14122
 
  rm -f "$tmp/stdin"
14123
 
  case $ac_file in
14124
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14125
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14126
 
  esac \
14127
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14128
 
 ;;
14129
 
  :H)
14130
 
  #
14131
 
  # CONFIG_HEADER
14132
 
  #
14133
 
  if test x"$ac_file" != x-; then
14134
 
    {
14135
 
      $as_echo "/* $configure_input  */" \
14136
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14137
 
    } >"$tmp/config.h" \
14138
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14139
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14140
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14141
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14142
 
    else
14143
 
      rm -f "$ac_file"
14144
 
      mv "$tmp/config.h" "$ac_file" \
14145
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14146
 
    fi
14147
 
  else
14148
 
    $as_echo "/* $configure_input  */" \
14149
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14150
 
      || as_fn_error $? "could not create -" "$LINENO" 5
14151
 
  fi
14152
 
# Compute "$ac_file"'s index in $config_headers.
14153
 
_am_arg="$ac_file"
14154
 
_am_stamp_count=1
14155
 
for _am_header in $config_headers :; do
14156
 
  case $_am_header in
14157
 
    $_am_arg | $_am_arg:* )
14158
 
      break ;;
14159
 
    * )
14160
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14161
 
  esac
14162
 
done
14163
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14164
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14165
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
14166
 
         X"$_am_arg" : 'X\(//\)$' \| \
14167
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14168
 
$as_echo X"$_am_arg" |
14169
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14170
 
            s//\1/
14171
 
            q
14172
 
          }
14173
 
          /^X\(\/\/\)[^/].*/{
14174
 
            s//\1/
14175
 
            q
14176
 
          }
14177
 
          /^X\(\/\/\)$/{
14178
 
            s//\1/
14179
 
            q
14180
 
          }
14181
 
          /^X\(\/\).*/{
14182
 
            s//\1/
14183
 
            q
14184
 
          }
14185
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
14186
 
 ;;
14187
 
 
14188
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14189
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
14190
 
 ;;
14191
 
  esac
14192
 
 
14193
 
 
14194
 
  case $ac_file$ac_mode in
14195
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14196
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14197
 
  # are listed without --file.  Let's play safe and only enable the eval
14198
 
  # if we detect the quoting.
14199
 
  case $CONFIG_FILES in
14200
 
  *\'*) eval set x "$CONFIG_FILES" ;;
14201
 
  *)   set x $CONFIG_FILES ;;
14202
 
  esac
14203
 
  shift
14204
 
  for mf
14205
 
  do
14206
 
    # Strip MF so we end up with the name of the file.
14207
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14208
 
    # Check whether this is an Automake generated Makefile or not.
14209
 
    # We used to match only the files named `Makefile.in', but
14210
 
    # some people rename them; so instead we look at the file content.
14211
 
    # Grep'ing the first line is not enough: some people post-process
14212
 
    # each Makefile.in and add a new line on top of each file to say so.
14213
 
    # Grep'ing the whole file is not good either: AIX grep has a line
14214
 
    # limit of 2048, but all sed's we know have understand at least 4000.
14215
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14216
 
      dirpart=`$as_dirname -- "$mf" ||
14217
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14218
 
         X"$mf" : 'X\(//\)[^/]' \| \
14219
 
         X"$mf" : 'X\(//\)$' \| \
14220
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14221
 
$as_echo X"$mf" |
14222
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14223
 
            s//\1/
14224
 
            q
14225
 
          }
14226
 
          /^X\(\/\/\)[^/].*/{
14227
 
            s//\1/
14228
 
            q
14229
 
          }
14230
 
          /^X\(\/\/\)$/{
14231
 
            s//\1/
14232
 
            q
14233
 
          }
14234
 
          /^X\(\/\).*/{
14235
 
            s//\1/
14236
 
            q
14237
 
          }
14238
 
          s/.*/./; q'`
14239
 
    else
14240
 
      continue
14241
 
    fi
14242
 
    # Extract the definition of DEPDIR, am__include, and am__quote
14243
 
    # from the Makefile without running `make'.
14244
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14245
 
    test -z "$DEPDIR" && continue
14246
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14247
 
    test -z "am__include" && continue
14248
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14249
 
    # When using ansi2knr, U may be empty or an underscore; expand it
14250
 
    U=`sed -n 's/^U = //p' < "$mf"`
14251
 
    # Find all dependency output files, they are included files with
14252
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14253
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
14254
 
    # expansion.
14255
 
    for file in `sed -n "
14256
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14257
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14258
 
      # Make sure the directory exists.
14259
 
      test -f "$dirpart/$file" && continue
14260
 
      fdir=`$as_dirname -- "$file" ||
14261
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14262
 
         X"$file" : 'X\(//\)[^/]' \| \
14263
 
         X"$file" : 'X\(//\)$' \| \
14264
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14265
 
$as_echo X"$file" |
14266
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14267
 
            s//\1/
14268
 
            q
14269
 
          }
14270
 
          /^X\(\/\/\)[^/].*/{
14271
 
            s//\1/
14272
 
            q
14273
 
          }
14274
 
          /^X\(\/\/\)$/{
14275
 
            s//\1/
14276
 
            q
14277
 
          }
14278
 
          /^X\(\/\).*/{
14279
 
            s//\1/
14280
 
            q
14281
 
          }
14282
 
          s/.*/./; q'`
14283
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14284
 
      # echo "creating $dirpart/$file"
14285
 
      echo '# dummy' > "$dirpart/$file"
14286
 
    done
14287
 
  done
14288
 
}
14289
 
 ;;
14290
 
    "libtool":C)
14291
 
 
14292
 
    # See if we are running on zsh, and set the options which allow our
14293
 
    # commands through without removal of \ escapes.
14294
 
    if test -n "${ZSH_VERSION+set}" ; then
14295
 
      setopt NO_GLOB_SUBST
14296
 
    fi
14297
 
 
14298
 
    cfgfile="${ofile}T"
14299
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14300
 
    $RM "$cfgfile"
14301
 
 
14302
 
    cat <<_LT_EOF >> "$cfgfile"
14303
 
#! $SHELL
14304
 
 
14305
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14306
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14307
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14308
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14309
 
#
14310
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14311
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14312
 
#   Written by Gordon Matzigkeit, 1996
14313
 
#
14314
 
#   This file is part of GNU Libtool.
14315
 
#
14316
 
# GNU Libtool is free software; you can redistribute it and/or
14317
 
# modify it under the terms of the GNU General Public License as
14318
 
# published by the Free Software Foundation; either version 2 of
14319
 
# the License, or (at your option) any later version.
14320
 
#
14321
 
# As a special exception to the GNU General Public License,
14322
 
# if you distribute this file as part of a program or library that
14323
 
# is built using GNU Libtool, you may include this file under the
14324
 
# same distribution terms that you use for the rest of that program.
14325
 
#
14326
 
# GNU Libtool is distributed in the hope that it will be useful,
14327
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14328
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14329
 
# GNU General Public License for more details.
14330
 
#
14331
 
# You should have received a copy of the GNU General Public License
14332
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
14333
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14334
 
# obtained by writing to the Free Software Foundation, Inc.,
14335
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14336
 
 
14337
 
 
14338
 
# The names of the tagged configurations supported by this script.
14339
 
available_tags=""
14340
 
 
14341
 
# ### BEGIN LIBTOOL CONFIG
14342
 
 
14343
 
# Which release of libtool.m4 was used?
14344
 
macro_version=$macro_version
14345
 
macro_revision=$macro_revision
14346
 
 
14347
 
# Whether or not to build shared libraries.
14348
 
build_libtool_libs=$enable_shared
14349
 
 
14350
 
# Whether or not to build static libraries.
14351
 
build_old_libs=$enable_static
14352
 
 
14353
 
# What type of objects to build.
14354
 
pic_mode=$pic_mode
14355
 
 
14356
 
# Whether or not to optimize for fast installation.
14357
 
fast_install=$enable_fast_install
14358
 
 
14359
 
# The host system.
14360
 
host_alias=$host_alias
14361
 
host=$host
14362
 
host_os=$host_os
14363
 
 
14364
 
# The build system.
14365
 
build_alias=$build_alias
14366
 
build=$build
14367
 
build_os=$build_os
14368
 
 
14369
 
# A sed program that does not truncate output.
14370
 
SED=$lt_SED
14371
 
 
14372
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14373
 
Xsed="\$SED -e 1s/^X//"
14374
 
 
14375
 
# A grep program that handles long lines.
14376
 
GREP=$lt_GREP
14377
 
 
14378
 
# An ERE matcher.
14379
 
EGREP=$lt_EGREP
14380
 
 
14381
 
# A literal string matcher.
14382
 
FGREP=$lt_FGREP
14383
 
 
14384
 
# A BSD- or MS-compatible name lister.
14385
 
NM=$lt_NM
14386
 
 
14387
 
# Whether we need soft or hard links.
14388
 
LN_S=$lt_LN_S
14389
 
 
14390
 
# What is the maximum length of a command?
14391
 
max_cmd_len=$max_cmd_len
14392
 
 
14393
 
# Object file suffix (normally "o").
14394
 
objext=$ac_objext
14395
 
 
14396
 
# Executable file suffix (normally "").
14397
 
exeext=$exeext
14398
 
 
14399
 
# whether the shell understands "unset".
14400
 
lt_unset=$lt_unset
14401
 
 
14402
 
# turn spaces into newlines.
14403
 
SP2NL=$lt_lt_SP2NL
14404
 
 
14405
 
# turn newlines into spaces.
14406
 
NL2SP=$lt_lt_NL2SP
14407
 
 
14408
 
# How to create reloadable object files.
14409
 
reload_flag=$lt_reload_flag
14410
 
reload_cmds=$lt_reload_cmds
14411
 
 
14412
 
# An object symbol dumper.
14413
 
OBJDUMP=$lt_OBJDUMP
14414
 
 
14415
 
# Method to check whether dependent libraries are shared objects.
14416
 
deplibs_check_method=$lt_deplibs_check_method
14417
 
 
14418
 
# Command to use when deplibs_check_method == "file_magic".
14419
 
file_magic_cmd=$lt_file_magic_cmd
14420
 
 
14421
 
# The archiver.
14422
 
AR=$lt_AR
14423
 
AR_FLAGS=$lt_AR_FLAGS
14424
 
 
14425
 
# A symbol stripping program.
14426
 
STRIP=$lt_STRIP
14427
 
 
14428
 
# Commands used to install an old-style archive.
14429
 
RANLIB=$lt_RANLIB
14430
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14431
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14432
 
 
14433
 
# A C compiler.
14434
 
LTCC=$lt_CC
14435
 
 
14436
 
# LTCC compiler flags.
14437
 
LTCFLAGS=$lt_CFLAGS
14438
 
 
14439
 
# Take the output of nm and produce a listing of raw symbols and C names.
14440
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14441
 
 
14442
 
# Transform the output of nm in a proper C declaration.
14443
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14444
 
 
14445
 
# Transform the output of nm in a C name address pair.
14446
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14447
 
 
14448
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
14449
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14450
 
 
14451
 
# The name of the directory that contains temporary libtool files.
14452
 
objdir=$objdir
14453
 
 
14454
 
# Shell to use when invoking shell scripts.
14455
 
SHELL=$lt_SHELL
14456
 
 
14457
 
# An echo program that does not interpret backslashes.
14458
 
ECHO=$lt_ECHO
14459
 
 
14460
 
# Used to examine libraries when file_magic_cmd begins with "file".
14461
 
MAGIC_CMD=$MAGIC_CMD
14462
 
 
14463
 
# Must we lock files when doing compilation?
14464
 
need_locks=$lt_need_locks
14465
 
 
14466
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14467
 
DSYMUTIL=$lt_DSYMUTIL
14468
 
 
14469
 
# Tool to change global to local symbols on Mac OS X.
14470
 
NMEDIT=$lt_NMEDIT
14471
 
 
14472
 
# Tool to manipulate fat objects and archives on Mac OS X.
14473
 
LIPO=$lt_LIPO
14474
 
 
14475
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14476
 
OTOOL=$lt_OTOOL
14477
 
 
14478
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14479
 
OTOOL64=$lt_OTOOL64
14480
 
 
14481
 
# Old archive suffix (normally "a").
14482
 
libext=$libext
14483
 
 
14484
 
# Shared library suffix (normally ".so").
14485
 
shrext_cmds=$lt_shrext_cmds
14486
 
 
14487
 
# The commands to extract the exported symbol list from a shared archive.
14488
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14489
 
 
14490
 
# Variables whose values should be saved in libtool wrapper scripts and
14491
 
# restored at link time.
14492
 
variables_saved_for_relink=$lt_variables_saved_for_relink
14493
 
 
14494
 
# Do we need the "lib" prefix for modules?
14495
 
need_lib_prefix=$need_lib_prefix
14496
 
 
14497
 
# Do we need a version for libraries?
14498
 
need_version=$need_version
14499
 
 
14500
 
# Library versioning type.
14501
 
version_type=$version_type
14502
 
 
14503
 
# Shared library runtime path variable.
14504
 
runpath_var=$runpath_var
14505
 
 
14506
 
# Shared library path variable.
14507
 
shlibpath_var=$shlibpath_var
14508
 
 
14509
 
# Is shlibpath searched before the hard-coded library search path?
14510
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14511
 
 
14512
 
# Format of library name prefix.
14513
 
libname_spec=$lt_libname_spec
14514
 
 
14515
 
# List of archive names.  First name is the real one, the rest are links.
14516
 
# The last name is the one that the linker finds with -lNAME
14517
 
library_names_spec=$lt_library_names_spec
14518
 
 
14519
 
# The coded name of the library, if different from the real name.
14520
 
soname_spec=$lt_soname_spec
14521
 
 
14522
 
# Command to use after installation of a shared archive.
14523
 
postinstall_cmds=$lt_postinstall_cmds
14524
 
 
14525
 
# Command to use after uninstallation of a shared archive.
14526
 
postuninstall_cmds=$lt_postuninstall_cmds
14527
 
 
14528
 
# Commands used to finish a libtool library installation in a directory.
14529
 
finish_cmds=$lt_finish_cmds
14530
 
 
14531
 
# As "finish_cmds", except a single script fragment to be evaled but
14532
 
# not shown.
14533
 
finish_eval=$lt_finish_eval
14534
 
 
14535
 
# Whether we should hardcode library paths into libraries.
14536
 
hardcode_into_libs=$hardcode_into_libs
14537
 
 
14538
 
# Compile-time system search path for libraries.
14539
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14540
 
 
14541
 
# Run-time system search path for libraries.
14542
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14543
 
 
14544
 
# Whether dlopen is supported.
14545
 
dlopen_support=$enable_dlopen
14546
 
 
14547
 
# Whether dlopen of programs is supported.
14548
 
dlopen_self=$enable_dlopen_self
14549
 
 
14550
 
# Whether dlopen of statically linked programs is supported.
14551
 
dlopen_self_static=$enable_dlopen_self_static
14552
 
 
14553
 
# Commands to strip libraries.
14554
 
old_striplib=$lt_old_striplib
14555
 
striplib=$lt_striplib
14556
 
 
14557
 
 
14558
 
# The linker used to build libraries.
14559
 
LD=$lt_LD
14560
 
 
14561
 
# Commands used to build an old-style archive.
14562
 
old_archive_cmds=$lt_old_archive_cmds
14563
 
 
14564
 
# A language specific compiler.
14565
 
CC=$lt_compiler
14566
 
 
14567
 
# Is the compiler the GNU compiler?
14568
 
with_gcc=$GCC
14569
 
 
14570
 
# Compiler flag to turn off builtin functions.
14571
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14572
 
 
14573
 
# How to pass a linker flag through the compiler.
14574
 
wl=$lt_lt_prog_compiler_wl
14575
 
 
14576
 
# Additional compiler flags for building library objects.
14577
 
pic_flag=$lt_lt_prog_compiler_pic
14578
 
 
14579
 
# Compiler flag to prevent dynamic linking.
14580
 
link_static_flag=$lt_lt_prog_compiler_static
14581
 
 
14582
 
# Does compiler simultaneously support -c and -o options?
14583
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14584
 
 
14585
 
# Whether or not to add -lc for building shared libraries.
14586
 
build_libtool_need_lc=$archive_cmds_need_lc
14587
 
 
14588
 
# Whether or not to disallow shared libs when runtime libs are static.
14589
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14590
 
 
14591
 
# Compiler flag to allow reflexive dlopens.
14592
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14593
 
 
14594
 
# Compiler flag to generate shared objects directly from archives.
14595
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14596
 
 
14597
 
# Whether the compiler copes with passing no objects directly.
14598
 
compiler_needs_object=$lt_compiler_needs_object
14599
 
 
14600
 
# Create an old-style archive from a shared archive.
14601
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14602
 
 
14603
 
# Create a temporary old-style archive to link instead of a shared archive.
14604
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14605
 
 
14606
 
# Commands used to build a shared archive.
14607
 
archive_cmds=$lt_archive_cmds
14608
 
archive_expsym_cmds=$lt_archive_expsym_cmds
14609
 
 
14610
 
# Commands used to build a loadable module if different from building
14611
 
# a shared archive.
14612
 
module_cmds=$lt_module_cmds
14613
 
module_expsym_cmds=$lt_module_expsym_cmds
14614
 
 
14615
 
# Whether we are building with GNU ld or not.
14616
 
with_gnu_ld=$lt_with_gnu_ld
14617
 
 
14618
 
# Flag that allows shared libraries with undefined symbols to be built.
14619
 
allow_undefined_flag=$lt_allow_undefined_flag
14620
 
 
14621
 
# Flag that enforces no undefined symbols.
14622
 
no_undefined_flag=$lt_no_undefined_flag
14623
 
 
14624
 
# Flag to hardcode \$libdir into a binary during linking.
14625
 
# This must work even if \$libdir does not exist
14626
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14627
 
 
14628
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
14629
 
# during linking.  This must work even if \$libdir does not exist.
14630
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14631
 
 
14632
 
# Whether we need a single "-rpath" flag with a separated argument.
14633
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14634
 
 
14635
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14636
 
# DIR into the resulting binary.
14637
 
hardcode_direct=$hardcode_direct
14638
 
 
14639
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14640
 
# DIR into the resulting binary and the resulting library dependency is
14641
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14642
 
# library is relocated.
14643
 
hardcode_direct_absolute=$hardcode_direct_absolute
14644
 
 
14645
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14646
 
# into the resulting binary.
14647
 
hardcode_minus_L=$hardcode_minus_L
14648
 
 
14649
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14650
 
# into the resulting binary.
14651
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
14652
 
 
14653
 
# Set to "yes" if building a shared library automatically hardcodes DIR
14654
 
# into the library and all subsequent libraries and executables linked
14655
 
# against it.
14656
 
hardcode_automatic=$hardcode_automatic
14657
 
 
14658
 
# Set to yes if linker adds runtime paths of dependent libraries
14659
 
# to runtime path list.
14660
 
inherit_rpath=$inherit_rpath
14661
 
 
14662
 
# Whether libtool must link a program against all its dependency libraries.
14663
 
link_all_deplibs=$link_all_deplibs
14664
 
 
14665
 
# Fix the shell variable \$srcfile for the compiler.
14666
 
fix_srcfile_path=$lt_fix_srcfile_path
14667
 
 
14668
 
# Set to "yes" if exported symbols are required.
14669
 
always_export_symbols=$always_export_symbols
14670
 
 
14671
 
# The commands to list exported symbols.
14672
 
export_symbols_cmds=$lt_export_symbols_cmds
14673
 
 
14674
 
# Symbols that should not be listed in the preloaded symbols.
14675
 
exclude_expsyms=$lt_exclude_expsyms
14676
 
 
14677
 
# Symbols that must always be exported.
14678
 
include_expsyms=$lt_include_expsyms
14679
 
 
14680
 
# Commands necessary for linking programs (against libraries) with templates.
14681
 
prelink_cmds=$lt_prelink_cmds
14682
 
 
14683
 
# Specify filename containing input files.
14684
 
file_list_spec=$lt_file_list_spec
14685
 
 
14686
 
# How to hardcode a shared library path into an executable.
14687
 
hardcode_action=$hardcode_action
14688
 
 
14689
 
# ### END LIBTOOL CONFIG
14690
 
 
14691
 
_LT_EOF
14692
 
 
14693
 
  case $host_os in
14694
 
  aix3*)
14695
 
    cat <<\_LT_EOF >> "$cfgfile"
14696
 
# AIX sometimes has problems with the GCC collect2 program.  For some
14697
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
14698
 
# vanish in a puff of smoke.
14699
 
if test "X${COLLECT_NAMES+set}" != Xset; then
14700
 
  COLLECT_NAMES=
14701
 
  export COLLECT_NAMES
14702
 
fi
14703
 
_LT_EOF
14704
 
    ;;
14705
 
  esac
14706
 
 
14707
 
 
14708
 
ltmain="$ac_aux_dir/ltmain.sh"
14709
 
 
14710
 
 
14711
 
  # We use sed instead of cat because bash on DJGPP gets confused if
14712
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14713
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
14714
 
  # is reportedly fixed, but why not run on old versions too?
14715
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14716
 
    || (rm -f "$cfgfile"; exit 1)
14717
 
 
14718
 
  case $xsi_shell in
14719
 
  yes)
14720
 
    cat << \_LT_EOF >> "$cfgfile"
14721
 
 
14722
 
# func_dirname file append nondir_replacement
14723
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14724
 
# otherwise set result to NONDIR_REPLACEMENT.
14725
 
func_dirname ()
14726
 
{
14727
 
  case ${1} in
14728
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14729
 
    *  ) func_dirname_result="${3}" ;;
14730
 
  esac
14731
 
}
14732
 
 
14733
 
# func_basename file
14734
 
func_basename ()
14735
 
{
14736
 
  func_basename_result="${1##*/}"
14737
 
}
14738
 
 
14739
 
# func_dirname_and_basename file append nondir_replacement
14740
 
# perform func_basename and func_dirname in a single function
14741
 
# call:
14742
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14743
 
#             add APPEND to the result, otherwise set result
14744
 
#             to NONDIR_REPLACEMENT.
14745
 
#             value returned in "$func_dirname_result"
14746
 
#   basename: Compute filename of FILE.
14747
 
#             value retuned in "$func_basename_result"
14748
 
# Implementation must be kept synchronized with func_dirname
14749
 
# and func_basename. For efficiency, we do not delegate to
14750
 
# those functions but instead duplicate the functionality here.
14751
 
func_dirname_and_basename ()
14752
 
{
14753
 
  case ${1} in
14754
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14755
 
    *  ) func_dirname_result="${3}" ;;
14756
 
  esac
14757
 
  func_basename_result="${1##*/}"
14758
 
}
14759
 
 
14760
 
# func_stripname prefix suffix name
14761
 
# strip PREFIX and SUFFIX off of NAME.
14762
 
# PREFIX and SUFFIX must not contain globbing or regex special
14763
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14764
 
# dot (in which case that matches only a dot).
14765
 
func_stripname ()
14766
 
{
14767
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14768
 
  # positional parameters, so assign one to ordinary parameter first.
14769
 
  func_stripname_result=${3}
14770
 
  func_stripname_result=${func_stripname_result#"${1}"}
14771
 
  func_stripname_result=${func_stripname_result%"${2}"}
14772
 
}
14773
 
 
14774
 
# func_opt_split
14775
 
func_opt_split ()
14776
 
{
14777
 
  func_opt_split_opt=${1%%=*}
14778
 
  func_opt_split_arg=${1#*=}
14779
 
}
14780
 
 
14781
 
# func_lo2o object
14782
 
func_lo2o ()
14783
 
{
14784
 
  case ${1} in
14785
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14786
 
    *)    func_lo2o_result=${1} ;;
14787
 
  esac
14788
 
}
14789
 
 
14790
 
# func_xform libobj-or-source
14791
 
func_xform ()
14792
 
{
14793
 
  func_xform_result=${1%.*}.lo
14794
 
}
14795
 
 
14796
 
# func_arith arithmetic-term...
14797
 
func_arith ()
14798
 
{
14799
 
  func_arith_result=$(( $* ))
14800
 
}
14801
 
 
14802
 
# func_len string
14803
 
# STRING may not start with a hyphen.
14804
 
func_len ()
14805
 
{
14806
 
  func_len_result=${#1}
14807
 
}
14808
 
 
14809
 
_LT_EOF
14810
 
    ;;
14811
 
  *) # Bourne compatible functions.
14812
 
    cat << \_LT_EOF >> "$cfgfile"
14813
 
 
14814
 
# func_dirname file append nondir_replacement
14815
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14816
 
# otherwise set result to NONDIR_REPLACEMENT.
14817
 
func_dirname ()
14818
 
{
14819
 
  # Extract subdirectory from the argument.
14820
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14821
 
  if test "X$func_dirname_result" = "X${1}"; then
14822
 
    func_dirname_result="${3}"
14823
 
  else
14824
 
    func_dirname_result="$func_dirname_result${2}"
14825
 
  fi
14826
 
}
14827
 
 
14828
 
# func_basename file
14829
 
func_basename ()
14830
 
{
14831
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14832
 
}
14833
 
 
14834
 
 
14835
 
# func_stripname prefix suffix name
14836
 
# strip PREFIX and SUFFIX off of NAME.
14837
 
# PREFIX and SUFFIX must not contain globbing or regex special
14838
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14839
 
# dot (in which case that matches only a dot).
14840
 
# func_strip_suffix prefix name
14841
 
func_stripname ()
14842
 
{
14843
 
  case ${2} in
14844
 
    .*) func_stripname_result=`$ECHO "X${3}" \
14845
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14846
 
    *)  func_stripname_result=`$ECHO "X${3}" \
14847
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14848
 
  esac
14849
 
}
14850
 
 
14851
 
# sed scripts:
14852
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14853
 
my_sed_long_arg='1s/^-[^=]*=//'
14854
 
 
14855
 
# func_opt_split
14856
 
func_opt_split ()
14857
 
{
14858
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14859
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14860
 
}
14861
 
 
14862
 
# func_lo2o object
14863
 
func_lo2o ()
14864
 
{
14865
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14866
 
}
14867
 
 
14868
 
# func_xform libobj-or-source
14869
 
func_xform ()
14870
 
{
14871
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14872
 
}
14873
 
 
14874
 
# func_arith arithmetic-term...
14875
 
func_arith ()
14876
 
{
14877
 
  func_arith_result=`expr "$@"`
14878
 
}
14879
 
 
14880
 
# func_len string
14881
 
# STRING may not start with a hyphen.
14882
 
func_len ()
14883
 
{
14884
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14885
 
}
14886
 
 
14887
 
_LT_EOF
14888
 
esac
14889
 
 
14890
 
case $lt_shell_append in
14891
 
  yes)
14892
 
    cat << \_LT_EOF >> "$cfgfile"
14893
 
 
14894
 
# func_append var value
14895
 
# Append VALUE to the end of shell variable VAR.
14896
 
func_append ()
14897
 
{
14898
 
  eval "$1+=\$2"
14899
 
}
14900
 
_LT_EOF
14901
 
    ;;
14902
 
  *)
14903
 
    cat << \_LT_EOF >> "$cfgfile"
14904
 
 
14905
 
# func_append var value
14906
 
# Append VALUE to the end of shell variable VAR.
14907
 
func_append ()
14908
 
{
14909
 
  eval "$1=\$$1\$2"
14910
 
}
14911
 
 
14912
 
_LT_EOF
14913
 
    ;;
14914
 
  esac
14915
 
 
14916
 
 
14917
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14918
 
    || (rm -f "$cfgfile"; exit 1)
14919
 
 
14920
 
  mv -f "$cfgfile" "$ofile" ||
14921
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14922
 
  chmod +x "$ofile"
14923
 
 
14924
 
 ;;
14925
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14926
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14927
 
      esac ;;
14928
 
    "po/stamp-it":C)
14929
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
14930
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
14931
 
    fi
14932
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
14933
 
    >"po/stamp-it.tmp"
14934
 
    sed '/^#/d
14935
 
         s/^[[].*] *//
14936
 
         /^[    ]*$/d
14937
 
        '"s|^|  $ac_top_srcdir/|" \
14938
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
14939
 
 
14940
 
    sed '/^POTFILES =/,/[^\\]$/ {
14941
 
                /^POTFILES =/!d
14942
 
                r po/POTFILES
14943
 
          }
14944
 
         ' "po/Makefile.in" >"po/Makefile"
14945
 
    rm -f "po/Makefile.tmp"
14946
 
    mv "po/stamp-it.tmp" "po/stamp-it"
14947
 
   ;;
14948
 
 
14949
 
  esac
14950
 
done # for ac_tag
14951
 
 
14952
 
 
14953
 
as_fn_exit 0
14954
 
_ACEOF
14955
 
ac_clean_files=$ac_clean_files_save
14956
 
 
14957
 
test $ac_write_fail = 0 ||
14958
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14959
 
 
14960
 
 
14961
 
# configure is writing to config.log, and then calls config.status.
14962
 
# config.status does its own redirection, appending to config.log.
14963
 
# Unfortunately, on DOS this fails, as config.log is still kept open
14964
 
# by configure, so config.status won't be able to write to it; its
14965
 
# output is simply discarded.  So we exec the FD to /dev/null,
14966
 
# effectively closing config.log, so it can be properly (re)opened and
14967
 
# appended to by config.status.  When coming back to configure, we
14968
 
# need to make the FD available again.
14969
 
if test "$no_create" != yes; then
14970
 
  ac_cs_success=:
14971
 
  ac_config_status_args=
14972
 
  test "$silent" = yes &&
14973
 
    ac_config_status_args="$ac_config_status_args --quiet"
14974
 
  exec 5>/dev/null
14975
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14976
 
  exec 5>>config.log
14977
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14978
 
  # would make configure fail if this is the last instruction.
14979
 
  $ac_cs_success || as_fn_exit 1
14980
 
fi
14981
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14982
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14983
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14984
 
fi
14985
 
 
14986
 
 
14987
 
#####################################################
14988
 
# Output the results
14989
 
#####################################################
14990
 
{ $as_echo "$as_me:${as_lineno-$LINENO}:
14991
 
 
14992
 
  Unity Files Place Daemon $VERSION
14993
 
  -------------------------------
14994
 
 
14995
 
  Prefix         : ${prefix}
14996
 
 
14997
 
  Local install  : ${with_localinstall}
14998
 
 
14999
 
  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
15000
 
  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
15001
 
" >&5
15002
 
$as_echo "$as_me:
15003
 
 
15004
 
  Unity Files Place Daemon $VERSION
15005
 
  -------------------------------
15006
 
 
15007
 
  Prefix         : ${prefix}
15008
 
 
15009
 
  Local install  : ${with_localinstall}
15010
 
 
15011
 
  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
15012
 
  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
15013
 
" >&6;}