~pdf-converter-dev/pdfconverter/pdf_converter

« back to all changes in this revision

Viewing changes to configure

  • Committer: Paolo Rotolo
  • Date: 2011-08-27 19:55:51 UTC
  • Revision ID: paolorotolo@ubuntu-it.org-20110827195551-igc3drum7fu074z7
Traduzione in PyGI

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.68 for pdf_converter 0.1.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
 
# Foundation, Inc.
9
 
#
10
 
#
11
 
# This configure script is free software; the Free Software Foundation
12
 
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in #(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
as_myself=
93
 
case $0 in #((
94
 
  *[\\/]* ) as_myself=$0 ;;
95
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
 
for as_dir in $PATH
97
 
do
98
 
  IFS=$as_save_IFS
99
 
  test -z "$as_dir" && as_dir=.
100
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
 
  done
102
 
IFS=$as_save_IFS
103
 
 
104
 
     ;;
105
 
esac
106
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
 
# in which case we are not to be found in the path.
108
 
if test "x$as_myself" = x; then
109
 
  as_myself=$0
110
 
fi
111
 
if test ! -f "$as_myself"; then
112
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
 
  exit 1
114
 
fi
115
 
 
116
 
# Unset variables that we do not need and which cause bugs (e.g. in
117
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
 
# suppresses any "Segmentation fault" message there.  '((' could
119
 
# trigger a bug in pdksh 5.2.14.
120
 
for as_var in BASH_ENV ENV MAIL MAILPATH
121
 
do eval test x\${$as_var+set} = xset \
122
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
 
done
124
 
PS1='$ '
125
 
PS2='> '
126
 
PS4='+ '
127
 
 
128
 
# NLS nuisances.
129
 
LC_ALL=C
130
 
export LC_ALL
131
 
LANGUAGE=C
132
 
export LANGUAGE
133
 
 
134
 
# CDPATH.
135
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
 
 
137
 
if test "x$CONFIG_SHELL" = x; then
138
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139
 
  emulate sh
140
 
  NULLCMD=:
141
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142
 
  # is contrary to our usage.  Disable this feature.
143
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
144
 
  setopt NO_GLOB_SUBST
145
 
else
146
 
  case \`(set -o) 2>/dev/null\` in #(
147
 
  *posix*) :
148
 
    set -o posix ;; #(
149
 
  *) :
150
 
     ;;
151
 
esac
152
 
fi
153
 
"
154
 
  as_required="as_fn_return () { (exit \$1); }
155
 
as_fn_success () { as_fn_return 0; }
156
 
as_fn_failure () { as_fn_return 1; }
157
 
as_fn_ret_success () { return 0; }
158
 
as_fn_ret_failure () { return 1; }
159
 
 
160
 
exitcode=0
161
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
 
 
167
 
else
168
 
  exitcode=1; echo positional parameters were not saved.
169
 
fi
170
 
test x\$exitcode = x0 || exit 1"
171
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
 
test \$(( 1 + 1 )) = 2 || exit 1
176
 
 
177
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
 
    PATH=/empty FPATH=/empty; export PATH FPATH
182
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184
 
  if (eval "$as_required") 2>/dev/null; then :
185
 
  as_have_required=yes
186
 
else
187
 
  as_have_required=no
188
 
fi
189
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
 
 
191
 
else
192
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193
 
as_found=false
194
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195
 
do
196
 
  IFS=$as_save_IFS
197
 
  test -z "$as_dir" && as_dir=.
198
 
  as_found=:
199
 
  case $as_dir in #(
200
 
         /*)
201
 
           for as_base in sh bash ksh sh5; do
202
 
             # Try only shells that exist, to save several forks.
203
 
             as_shell=$as_dir/$as_base
204
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
 
  CONFIG_SHELL=$as_shell as_have_required=yes
207
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
 
  break 2
209
 
fi
210
 
fi
211
 
           done;;
212
 
       esac
213
 
  as_found=false
214
 
done
215
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217
 
  CONFIG_SHELL=$SHELL as_have_required=yes
218
 
fi; }
219
 
IFS=$as_save_IFS
220
 
 
221
 
 
222
 
      if test "x$CONFIG_SHELL" != x; then :
223
 
  # We cannot yet assume a decent shell, so we have to provide a
224
 
        # neutralization value for shells without unset; and this also
225
 
        # works around shells that cannot unset nonexistent variables.
226
 
        # Preserve -v and -x to the replacement shell.
227
 
        BASH_ENV=/dev/null
228
 
        ENV=/dev/null
229
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230
 
        export CONFIG_SHELL
231
 
        case $- in # ((((
232
 
          *v*x* | *x*v* ) as_opts=-vx ;;
233
 
          *v* ) as_opts=-v ;;
234
 
          *x* ) as_opts=-x ;;
235
 
          * ) as_opts= ;;
236
 
        esac
237
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238
 
fi
239
 
 
240
 
    if test x$as_have_required = xno; then :
241
 
  $as_echo "$0: This script requires a shell more modern than all"
242
 
  $as_echo "$0: the shells that I found on your system."
243
 
  if test x${ZSH_VERSION+set} = xset ; then
244
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246
 
  else
247
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248
 
$0: including any error possibly output before this
249
 
$0: message. Then install a modern shell, or manually run
250
 
$0: the script under such a shell if you do have one."
251
 
  fi
252
 
  exit 1
253
 
fi
254
 
fi
255
 
fi
256
 
SHELL=${CONFIG_SHELL-/bin/sh}
257
 
export SHELL
258
 
# Unset more variables known to interfere with behavior of common tools.
259
 
CLICOLOR_FORCE= GREP_OPTIONS=
260
 
unset CLICOLOR_FORCE GREP_OPTIONS
261
 
 
262
 
## --------------------- ##
263
 
## M4sh Shell Functions. ##
264
 
## --------------------- ##
265
 
# as_fn_unset VAR
266
 
# ---------------
267
 
# Portably unset VAR.
268
 
as_fn_unset ()
269
 
{
270
 
  { eval $1=; unset $1;}
271
 
}
272
 
as_unset=as_fn_unset
273
 
 
274
 
# as_fn_set_status STATUS
275
 
# -----------------------
276
 
# Set $? to STATUS, without forking.
277
 
as_fn_set_status ()
278
 
{
279
 
  return $1
280
 
} # as_fn_set_status
281
 
 
282
 
# as_fn_exit STATUS
283
 
# -----------------
284
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285
 
as_fn_exit ()
286
 
{
287
 
  set +e
288
 
  as_fn_set_status $1
289
 
  exit $1
290
 
} # as_fn_exit
291
 
 
292
 
# as_fn_mkdir_p
293
 
# -------------
294
 
# Create "$as_dir" as a directory, including parents if necessary.
295
 
as_fn_mkdir_p ()
296
 
{
297
 
 
298
 
  case $as_dir in #(
299
 
  -*) as_dir=./$as_dir;;
300
 
  esac
301
 
  test -d "$as_dir" || eval $as_mkdir_p || {
302
 
    as_dirs=
303
 
    while :; do
304
 
      case $as_dir in #(
305
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306
 
      *) as_qdir=$as_dir;;
307
 
      esac
308
 
      as_dirs="'$as_qdir' $as_dirs"
309
 
      as_dir=`$as_dirname -- "$as_dir" ||
310
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
312
 
         X"$as_dir" : 'X\(//\)$' \| \
313
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314
 
$as_echo X"$as_dir" |
315
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
 
            s//\1/
317
 
            q
318
 
          }
319
 
          /^X\(\/\/\)[^/].*/{
320
 
            s//\1/
321
 
            q
322
 
          }
323
 
          /^X\(\/\/\)$/{
324
 
            s//\1/
325
 
            q
326
 
          }
327
 
          /^X\(\/\).*/{
328
 
            s//\1/
329
 
            q
330
 
          }
331
 
          s/.*/./; q'`
332
 
      test -d "$as_dir" && break
333
 
    done
334
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
335
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
 
 
337
 
 
338
 
} # as_fn_mkdir_p
339
 
# as_fn_append VAR VALUE
340
 
# ----------------------
341
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
342
 
# advantage of any shell optimizations that allow amortized linear growth over
343
 
# repeated appends, instead of the typical quadratic growth present in naive
344
 
# implementations.
345
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346
 
  eval 'as_fn_append ()
347
 
  {
348
 
    eval $1+=\$2
349
 
  }'
350
 
else
351
 
  as_fn_append ()
352
 
  {
353
 
    eval $1=\$$1\$2
354
 
  }
355
 
fi # as_fn_append
356
 
 
357
 
# as_fn_arith ARG...
358
 
# ------------------
359
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
360
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
361
 
# must be portable across $(()) and expr.
362
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363
 
  eval 'as_fn_arith ()
364
 
  {
365
 
    as_val=$(( $* ))
366
 
  }'
367
 
else
368
 
  as_fn_arith ()
369
 
  {
370
 
    as_val=`expr "$@" || test $? -eq 1`
371
 
  }
372
 
fi # as_fn_arith
373
 
 
374
 
 
375
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
376
 
# ----------------------------------------
377
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379
 
# script with STATUS, using 1 if that was 0.
380
 
as_fn_error ()
381
 
{
382
 
  as_status=$1; test $as_status -eq 0 && as_status=1
383
 
  if test "$4"; then
384
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386
 
  fi
387
 
  $as_echo "$as_me: error: $2" >&2
388
 
  as_fn_exit $as_status
389
 
} # as_fn_error
390
 
 
391
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
392
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
393
 
  as_expr=expr
394
 
else
395
 
  as_expr=false
396
 
fi
397
 
 
398
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399
 
  as_basename=basename
400
 
else
401
 
  as_basename=false
402
 
fi
403
 
 
404
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405
 
  as_dirname=dirname
406
 
else
407
 
  as_dirname=false
408
 
fi
409
 
 
410
 
as_me=`$as_basename -- "$0" ||
411
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412
 
         X"$0" : 'X\(//\)$' \| \
413
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414
 
$as_echo X/"$0" |
415
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
416
 
            s//\1/
417
 
            q
418
 
          }
419
 
          /^X\/\(\/\/\)$/{
420
 
            s//\1/
421
 
            q
422
 
          }
423
 
          /^X\/\(\/\).*/{
424
 
            s//\1/
425
 
            q
426
 
          }
427
 
          s/.*/./; q'`
428
 
 
429
 
# Avoid depending upon Character Ranges.
430
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433
 
as_cr_digits='0123456789'
434
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
435
 
 
436
 
 
437
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
438
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
439
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442
 
  sed -n '
443
 
    p
444
 
    /[$]LINENO/=
445
 
  ' <$as_myself |
446
 
    sed '
447
 
      s/[$]LINENO.*/&-/
448
 
      t lineno
449
 
      b
450
 
      :lineno
451
 
      N
452
 
      :loop
453
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454
 
      t loop
455
 
      s/-\n.*//
456
 
    ' >$as_me.lineno &&
457
 
  chmod +x "$as_me.lineno" ||
458
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
 
 
460
 
  # Don't try to exec as it changes $[0], causing all sort of problems
461
 
  # (the dirname of $[0] is not the place where we might find the
462
 
  # original and so on.  Autoconf is especially sensitive to this).
463
 
  . "./$as_me.lineno"
464
 
  # Exit status is that of the last command.
465
 
  exit
466
 
}
467
 
 
468
 
ECHO_C= ECHO_N= ECHO_T=
469
 
case `echo -n x` in #(((((
470
 
-n*)
471
 
  case `echo 'xy\c'` in
472
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473
 
  xy)  ECHO_C='\c';;
474
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475
 
       ECHO_T=' ';;
476
 
  esac;;
477
 
*)
478
 
  ECHO_N='-n';;
479
 
esac
480
 
 
481
 
rm -f conf$$ conf$$.exe conf$$.file
482
 
if test -d conf$$.dir; then
483
 
  rm -f conf$$.dir/conf$$.file
484
 
else
485
 
  rm -f conf$$.dir
486
 
  mkdir conf$$.dir 2>/dev/null
487
 
fi
488
 
if (echo >conf$$.file) 2>/dev/null; then
489
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
490
 
    as_ln_s='ln -s'
491
 
    # ... but there are two gotchas:
492
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494
 
    # In both cases, we have to default to `cp -p'.
495
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496
 
      as_ln_s='cp -p'
497
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
498
 
    as_ln_s=ln
499
 
  else
500
 
    as_ln_s='cp -p'
501
 
  fi
502
 
else
503
 
  as_ln_s='cp -p'
504
 
fi
505
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
 
rmdir conf$$.dir 2>/dev/null
507
 
 
508
 
if mkdir -p . 2>/dev/null; then
509
 
  as_mkdir_p='mkdir -p "$as_dir"'
510
 
else
511
 
  test -d ./-p && rmdir ./-p
512
 
  as_mkdir_p=false
513
 
fi
514
 
 
515
 
if test -x / >/dev/null 2>&1; then
516
 
  as_test_x='test -x'
517
 
else
518
 
  if ls -dL / >/dev/null 2>&1; then
519
 
    as_ls_L_option=L
520
 
  else
521
 
    as_ls_L_option=
522
 
  fi
523
 
  as_test_x='
524
 
    eval sh -c '\''
525
 
      if test -d "$1"; then
526
 
        test -d "$1/.";
527
 
      else
528
 
        case $1 in #(
529
 
        -*)set "./$1";;
530
 
        esac;
531
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532
 
        ???[sx]*):;;*)false;;esac;fi
533
 
    '\'' sh
534
 
  '
535
 
fi
536
 
as_executable_p=$as_test_x
537
 
 
538
 
# Sed expression to map a string onto a valid CPP name.
539
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
 
 
541
 
# Sed expression to map a string onto a valid variable name.
542
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
 
 
544
 
SHELL=${CONFIG_SHELL-/bin/sh}
545
 
 
546
 
 
547
 
test -n "$DJDIR" || exec 7<&0 </dev/null
548
 
exec 6>&1
549
 
 
550
 
# Name of the host.
551
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552
 
# so uname gets run too.
553
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
 
 
555
 
#
556
 
# Initializations.
557
 
#
558
 
ac_default_prefix=/usr/local
559
 
ac_clean_files=
560
 
ac_config_libobj_dir=.
561
 
LIBOBJS=
562
 
cross_compiling=no
563
 
subdirs=
564
 
MFLAGS=
565
 
MAKEFLAGS=
566
 
 
567
 
# Identity of this package.
568
 
PACKAGE_NAME='pdf_converter'
569
 
PACKAGE_TARNAME='pdf_converter'
570
 
PACKAGE_VERSION='0.1'
571
 
PACKAGE_STRING='pdf_converter 0.1'
572
 
PACKAGE_BUGREPORT=''
573
 
PACKAGE_URL=''
574
 
 
575
 
# Factoring default headers for most tests.
576
 
ac_includes_default="\
577
 
#include <stdio.h>
578
 
#ifdef HAVE_SYS_TYPES_H
579
 
# include <sys/types.h>
580
 
#endif
581
 
#ifdef HAVE_SYS_STAT_H
582
 
# include <sys/stat.h>
583
 
#endif
584
 
#ifdef STDC_HEADERS
585
 
# include <stdlib.h>
586
 
# include <stddef.h>
587
 
#else
588
 
# ifdef HAVE_STDLIB_H
589
 
#  include <stdlib.h>
590
 
# endif
591
 
#endif
592
 
#ifdef HAVE_STRING_H
593
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
594
 
#  include <memory.h>
595
 
# endif
596
 
# include <string.h>
597
 
#endif
598
 
#ifdef HAVE_STRINGS_H
599
 
# include <strings.h>
600
 
#endif
601
 
#ifdef HAVE_INTTYPES_H
602
 
# include <inttypes.h>
603
 
#endif
604
 
#ifdef HAVE_STDINT_H
605
 
# include <stdint.h>
606
 
#endif
607
 
#ifdef HAVE_UNISTD_H
608
 
# include <unistd.h>
609
 
#endif"
610
 
 
611
 
ac_subst_vars='am__EXEEXT_FALSE
612
 
am__EXEEXT_TRUE
613
 
LTLIBOBJS
614
 
LIBOBJS
615
 
PDF_CONVERTER_LIBS
616
 
PDF_CONVERTER_CFLAGS
617
 
PKG_CONFIG_LIBDIR
618
 
PKG_CONFIG_PATH
619
 
PKG_CONFIG
620
 
OTOOL64
621
 
OTOOL
622
 
LIPO
623
 
NMEDIT
624
 
DSYMUTIL
625
 
MANIFEST_TOOL
626
 
RANLIB
627
 
ac_ct_AR
628
 
AR
629
 
DLLTOOL
630
 
OBJDUMP
631
 
LN_S
632
 
NM
633
 
ac_ct_DUMPBIN
634
 
DUMPBIN
635
 
LD
636
 
FGREP
637
 
SED
638
 
host_os
639
 
host_vendor
640
 
host_cpu
641
 
host
642
 
build_os
643
 
build_vendor
644
 
build_cpu
645
 
build
646
 
LIBTOOL
647
 
ALL_LINGUAS
648
 
INTLTOOL_PERL
649
 
MSGMERGE
650
 
INTLTOOL_POLICY_RULE
651
 
INTLTOOL_SERVICE_RULE
652
 
INTLTOOL_THEME_RULE
653
 
INTLTOOL_SCHEMAS_RULE
654
 
INTLTOOL_CAVES_RULE
655
 
INTLTOOL_XML_NOMERGE_RULE
656
 
INTLTOOL_XML_RULE
657
 
INTLTOOL_KBD_RULE
658
 
INTLTOOL_XAM_RULE
659
 
INTLTOOL_UI_RULE
660
 
INTLTOOL_SOUNDLIST_RULE
661
 
INTLTOOL_SHEET_RULE
662
 
INTLTOOL_SERVER_RULE
663
 
INTLTOOL_PONG_RULE
664
 
INTLTOOL_OAF_RULE
665
 
INTLTOOL_PROP_RULE
666
 
INTLTOOL_KEYS_RULE
667
 
INTLTOOL_DIRECTORY_RULE
668
 
INTLTOOL_DESKTOP_RULE
669
 
INTLTOOL_EXTRACT
670
 
INTLTOOL_MERGE
671
 
INTLTOOL_UPDATE
672
 
MKINSTALLDIRS
673
 
POSUB
674
 
POFILES
675
 
PO_IN_DATADIR_FALSE
676
 
PO_IN_DATADIR_TRUE
677
 
INTLLIBS
678
 
INSTOBJEXT
679
 
GMOFILES
680
 
DATADIRNAME
681
 
CATOBJEXT
682
 
CATALOGS
683
 
XGETTEXT
684
 
GMSGFMT
685
 
MSGFMT_OPTS
686
 
MSGFMT
687
 
USE_NLS
688
 
EGREP
689
 
GREP
690
 
CPP
691
 
GETTEXT_PACKAGE
692
 
am__fastdepCC_FALSE
693
 
am__fastdepCC_TRUE
694
 
CCDEPMODE
695
 
AMDEPBACKSLASH
696
 
AMDEP_FALSE
697
 
AMDEP_TRUE
698
 
am__quote
699
 
am__include
700
 
DEPDIR
701
 
OBJEXT
702
 
EXEEXT
703
 
ac_ct_CC
704
 
CPPFLAGS
705
 
LDFLAGS
706
 
CFLAGS
707
 
CC
708
 
MAINT
709
 
MAINTAINER_MODE_FALSE
710
 
MAINTAINER_MODE_TRUE
711
 
am__untar
712
 
am__tar
713
 
AMTAR
714
 
am__leading_dot
715
 
SET_MAKE
716
 
AWK
717
 
mkdir_p
718
 
MKDIR_P
719
 
INSTALL_STRIP_PROGRAM
720
 
STRIP
721
 
install_sh
722
 
MAKEINFO
723
 
AUTOHEADER
724
 
AUTOMAKE
725
 
AUTOCONF
726
 
ACLOCAL
727
 
VERSION
728
 
PACKAGE
729
 
CYGPATH_W
730
 
am__isrc
731
 
INSTALL_DATA
732
 
INSTALL_SCRIPT
733
 
INSTALL_PROGRAM
734
 
AM_BACKSLASH
735
 
AM_DEFAULT_VERBOSITY
736
 
target_alias
737
 
host_alias
738
 
build_alias
739
 
LIBS
740
 
ECHO_T
741
 
ECHO_N
742
 
ECHO_C
743
 
DEFS
744
 
mandir
745
 
localedir
746
 
libdir
747
 
psdir
748
 
pdfdir
749
 
dvidir
750
 
htmldir
751
 
infodir
752
 
docdir
753
 
oldincludedir
754
 
includedir
755
 
localstatedir
756
 
sharedstatedir
757
 
sysconfdir
758
 
datadir
759
 
datarootdir
760
 
libexecdir
761
 
sbindir
762
 
bindir
763
 
program_transform_name
764
 
prefix
765
 
exec_prefix
766
 
PACKAGE_URL
767
 
PACKAGE_BUGREPORT
768
 
PACKAGE_STRING
769
 
PACKAGE_VERSION
770
 
PACKAGE_TARNAME
771
 
PACKAGE_NAME
772
 
PATH_SEPARATOR
773
 
SHELL'
774
 
ac_subst_files=''
775
 
ac_user_opts='
776
 
enable_option_checking
777
 
enable_silent_rules
778
 
enable_maintainer_mode
779
 
enable_dependency_tracking
780
 
enable_nls
781
 
enable_shared
782
 
enable_static
783
 
with_pic
784
 
enable_fast_install
785
 
with_gnu_ld
786
 
with_sysroot
787
 
enable_libtool_lock
788
 
'
789
 
      ac_precious_vars='build_alias
790
 
host_alias
791
 
target_alias
792
 
CC
793
 
CFLAGS
794
 
LDFLAGS
795
 
LIBS
796
 
CPPFLAGS
797
 
CPP
798
 
PKG_CONFIG
799
 
PKG_CONFIG_PATH
800
 
PKG_CONFIG_LIBDIR
801
 
PDF_CONVERTER_CFLAGS
802
 
PDF_CONVERTER_LIBS'
803
 
 
804
 
 
805
 
# Initialize some variables set by options.
806
 
ac_init_help=
807
 
ac_init_version=false
808
 
ac_unrecognized_opts=
809
 
ac_unrecognized_sep=
810
 
# The variables have the same names as the options, with
811
 
# dashes changed to underlines.
812
 
cache_file=/dev/null
813
 
exec_prefix=NONE
814
 
no_create=
815
 
no_recursion=
816
 
prefix=NONE
817
 
program_prefix=NONE
818
 
program_suffix=NONE
819
 
program_transform_name=s,x,x,
820
 
silent=
821
 
site=
822
 
srcdir=
823
 
verbose=
824
 
x_includes=NONE
825
 
x_libraries=NONE
826
 
 
827
 
# Installation directory options.
828
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
829
 
# and all the variables that are supposed to be based on exec_prefix
830
 
# by default will actually change.
831
 
# Use braces instead of parens because sh, perl, etc. also accept them.
832
 
# (The list follows the same order as the GNU Coding Standards.)
833
 
bindir='${exec_prefix}/bin'
834
 
sbindir='${exec_prefix}/sbin'
835
 
libexecdir='${exec_prefix}/libexec'
836
 
datarootdir='${prefix}/share'
837
 
datadir='${datarootdir}'
838
 
sysconfdir='${prefix}/etc'
839
 
sharedstatedir='${prefix}/com'
840
 
localstatedir='${prefix}/var'
841
 
includedir='${prefix}/include'
842
 
oldincludedir='/usr/include'
843
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
844
 
infodir='${datarootdir}/info'
845
 
htmldir='${docdir}'
846
 
dvidir='${docdir}'
847
 
pdfdir='${docdir}'
848
 
psdir='${docdir}'
849
 
libdir='${exec_prefix}/lib'
850
 
localedir='${datarootdir}/locale'
851
 
mandir='${datarootdir}/man'
852
 
 
853
 
ac_prev=
854
 
ac_dashdash=
855
 
for ac_option
856
 
do
857
 
  # If the previous option needs an argument, assign it.
858
 
  if test -n "$ac_prev"; then
859
 
    eval $ac_prev=\$ac_option
860
 
    ac_prev=
861
 
    continue
862
 
  fi
863
 
 
864
 
  case $ac_option in
865
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
866
 
  *=)   ac_optarg= ;;
867
 
  *)    ac_optarg=yes ;;
868
 
  esac
869
 
 
870
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
871
 
 
872
 
  case $ac_dashdash$ac_option in
873
 
  --)
874
 
    ac_dashdash=yes ;;
875
 
 
876
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
877
 
    ac_prev=bindir ;;
878
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
879
 
    bindir=$ac_optarg ;;
880
 
 
881
 
  -build | --build | --buil | --bui | --bu)
882
 
    ac_prev=build_alias ;;
883
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
884
 
    build_alias=$ac_optarg ;;
885
 
 
886
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
887
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
888
 
    ac_prev=cache_file ;;
889
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
890
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
891
 
    cache_file=$ac_optarg ;;
892
 
 
893
 
  --config-cache | -C)
894
 
    cache_file=config.cache ;;
895
 
 
896
 
  -datadir | --datadir | --datadi | --datad)
897
 
    ac_prev=datadir ;;
898
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
899
 
    datadir=$ac_optarg ;;
900
 
 
901
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
902
 
  | --dataroo | --dataro | --datar)
903
 
    ac_prev=datarootdir ;;
904
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
905
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
906
 
    datarootdir=$ac_optarg ;;
907
 
 
908
 
  -disable-* | --disable-*)
909
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910
 
    # Reject names that are not valid shell variable names.
911
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912
 
      as_fn_error $? "invalid feature name: $ac_useropt"
913
 
    ac_useropt_orig=$ac_useropt
914
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915
 
    case $ac_user_opts in
916
 
      *"
917
 
"enable_$ac_useropt"
918
 
"*) ;;
919
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920
 
         ac_unrecognized_sep=', ';;
921
 
    esac
922
 
    eval enable_$ac_useropt=no ;;
923
 
 
924
 
  -docdir | --docdir | --docdi | --doc | --do)
925
 
    ac_prev=docdir ;;
926
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
927
 
    docdir=$ac_optarg ;;
928
 
 
929
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
930
 
    ac_prev=dvidir ;;
931
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
932
 
    dvidir=$ac_optarg ;;
933
 
 
934
 
  -enable-* | --enable-*)
935
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936
 
    # Reject names that are not valid shell variable names.
937
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938
 
      as_fn_error $? "invalid feature name: $ac_useropt"
939
 
    ac_useropt_orig=$ac_useropt
940
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941
 
    case $ac_user_opts in
942
 
      *"
943
 
"enable_$ac_useropt"
944
 
"*) ;;
945
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946
 
         ac_unrecognized_sep=', ';;
947
 
    esac
948
 
    eval enable_$ac_useropt=\$ac_optarg ;;
949
 
 
950
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952
 
  | --exec | --exe | --ex)
953
 
    ac_prev=exec_prefix ;;
954
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956
 
  | --exec=* | --exe=* | --ex=*)
957
 
    exec_prefix=$ac_optarg ;;
958
 
 
959
 
  -gas | --gas | --ga | --g)
960
 
    # Obsolete; use --with-gas.
961
 
    with_gas=yes ;;
962
 
 
963
 
  -help | --help | --hel | --he | -h)
964
 
    ac_init_help=long ;;
965
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966
 
    ac_init_help=recursive ;;
967
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968
 
    ac_init_help=short ;;
969
 
 
970
 
  -host | --host | --hos | --ho)
971
 
    ac_prev=host_alias ;;
972
 
  -host=* | --host=* | --hos=* | --ho=*)
973
 
    host_alias=$ac_optarg ;;
974
 
 
975
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
976
 
    ac_prev=htmldir ;;
977
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
978
 
  | --ht=*)
979
 
    htmldir=$ac_optarg ;;
980
 
 
981
 
  -includedir | --includedir | --includedi | --included | --include \
982
 
  | --includ | --inclu | --incl | --inc)
983
 
    ac_prev=includedir ;;
984
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
986
 
    includedir=$ac_optarg ;;
987
 
 
988
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
989
 
    ac_prev=infodir ;;
990
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991
 
    infodir=$ac_optarg ;;
992
 
 
993
 
  -libdir | --libdir | --libdi | --libd)
994
 
    ac_prev=libdir ;;
995
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
996
 
    libdir=$ac_optarg ;;
997
 
 
998
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999
 
  | --libexe | --libex | --libe)
1000
 
    ac_prev=libexecdir ;;
1001
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002
 
  | --libexe=* | --libex=* | --libe=*)
1003
 
    libexecdir=$ac_optarg ;;
1004
 
 
1005
 
  -localedir | --localedir | --localedi | --localed | --locale)
1006
 
    ac_prev=localedir ;;
1007
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008
 
    localedir=$ac_optarg ;;
1009
 
 
1010
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1011
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1012
 
    ac_prev=localstatedir ;;
1013
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015
 
    localstatedir=$ac_optarg ;;
1016
 
 
1017
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1018
 
    ac_prev=mandir ;;
1019
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020
 
    mandir=$ac_optarg ;;
1021
 
 
1022
 
  -nfp | --nfp | --nf)
1023
 
    # Obsolete; use --without-fp.
1024
 
    with_fp=no ;;
1025
 
 
1026
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027
 
  | --no-cr | --no-c | -n)
1028
 
    no_create=yes ;;
1029
 
 
1030
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1032
 
    no_recursion=yes ;;
1033
 
 
1034
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036
 
  | --oldin | --oldi | --old | --ol | --o)
1037
 
    ac_prev=oldincludedir ;;
1038
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041
 
    oldincludedir=$ac_optarg ;;
1042
 
 
1043
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1044
 
    ac_prev=prefix ;;
1045
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046
 
    prefix=$ac_optarg ;;
1047
 
 
1048
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1049
 
  | --program-pre | --program-pr | --program-p)
1050
 
    ac_prev=program_prefix ;;
1051
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1052
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053
 
    program_prefix=$ac_optarg ;;
1054
 
 
1055
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1056
 
  | --program-suf | --program-su | --program-s)
1057
 
    ac_prev=program_suffix ;;
1058
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1059
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060
 
    program_suffix=$ac_optarg ;;
1061
 
 
1062
 
  -program-transform-name | --program-transform-name \
1063
 
  | --program-transform-nam | --program-transform-na \
1064
 
  | --program-transform-n | --program-transform- \
1065
 
  | --program-transform | --program-transfor \
1066
 
  | --program-transfo | --program-transf \
1067
 
  | --program-trans | --program-tran \
1068
 
  | --progr-tra | --program-tr | --program-t)
1069
 
    ac_prev=program_transform_name ;;
1070
 
  -program-transform-name=* | --program-transform-name=* \
1071
 
  | --program-transform-nam=* | --program-transform-na=* \
1072
 
  | --program-transform-n=* | --program-transform-=* \
1073
 
  | --program-transform=* | --program-transfor=* \
1074
 
  | --program-transfo=* | --program-transf=* \
1075
 
  | --program-trans=* | --program-tran=* \
1076
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1077
 
    program_transform_name=$ac_optarg ;;
1078
 
 
1079
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1080
 
    ac_prev=pdfdir ;;
1081
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082
 
    pdfdir=$ac_optarg ;;
1083
 
 
1084
 
  -psdir | --psdir | --psdi | --psd | --ps)
1085
 
    ac_prev=psdir ;;
1086
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1087
 
    psdir=$ac_optarg ;;
1088
 
 
1089
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090
 
  | -silent | --silent | --silen | --sile | --sil)
1091
 
    silent=yes ;;
1092
 
 
1093
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094
 
    ac_prev=sbindir ;;
1095
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096
 
  | --sbi=* | --sb=*)
1097
 
    sbindir=$ac_optarg ;;
1098
 
 
1099
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1100
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101
 
  | --sharedst | --shareds | --shared | --share | --shar \
1102
 
  | --sha | --sh)
1103
 
    ac_prev=sharedstatedir ;;
1104
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107
 
  | --sha=* | --sh=*)
1108
 
    sharedstatedir=$ac_optarg ;;
1109
 
 
1110
 
  -site | --site | --sit)
1111
 
    ac_prev=site ;;
1112
 
  -site=* | --site=* | --sit=*)
1113
 
    site=$ac_optarg ;;
1114
 
 
1115
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116
 
    ac_prev=srcdir ;;
1117
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118
 
    srcdir=$ac_optarg ;;
1119
 
 
1120
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1122
 
    ac_prev=sysconfdir ;;
1123
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125
 
    sysconfdir=$ac_optarg ;;
1126
 
 
1127
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1128
 
    ac_prev=target_alias ;;
1129
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130
 
    target_alias=$ac_optarg ;;
1131
 
 
1132
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1133
 
    verbose=yes ;;
1134
 
 
1135
 
  -version | --version | --versio | --versi | --vers | -V)
1136
 
    ac_init_version=: ;;
1137
 
 
1138
 
  -with-* | --with-*)
1139
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140
 
    # Reject names that are not valid shell variable names.
1141
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142
 
      as_fn_error $? "invalid package name: $ac_useropt"
1143
 
    ac_useropt_orig=$ac_useropt
1144
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145
 
    case $ac_user_opts in
1146
 
      *"
1147
 
"with_$ac_useropt"
1148
 
"*) ;;
1149
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150
 
         ac_unrecognized_sep=', ';;
1151
 
    esac
1152
 
    eval with_$ac_useropt=\$ac_optarg ;;
1153
 
 
1154
 
  -without-* | --without-*)
1155
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156
 
    # Reject names that are not valid shell variable names.
1157
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158
 
      as_fn_error $? "invalid package name: $ac_useropt"
1159
 
    ac_useropt_orig=$ac_useropt
1160
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161
 
    case $ac_user_opts in
1162
 
      *"
1163
 
"with_$ac_useropt"
1164
 
"*) ;;
1165
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166
 
         ac_unrecognized_sep=', ';;
1167
 
    esac
1168
 
    eval with_$ac_useropt=no ;;
1169
 
 
1170
 
  --x)
1171
 
    # Obsolete; use --with-x.
1172
 
    with_x=yes ;;
1173
 
 
1174
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1175
 
  | --x-incl | --x-inc | --x-in | --x-i)
1176
 
    ac_prev=x_includes ;;
1177
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1178
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1179
 
    x_includes=$ac_optarg ;;
1180
 
 
1181
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1182
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1183
 
    ac_prev=x_libraries ;;
1184
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1185
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1186
 
    x_libraries=$ac_optarg ;;
1187
 
 
1188
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1189
 
Try \`$0 --help' for more information"
1190
 
    ;;
1191
 
 
1192
 
  *=*)
1193
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1194
 
    # Reject names that are not valid shell variable names.
1195
 
    case $ac_envvar in #(
1196
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1197
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1198
 
    esac
1199
 
    eval $ac_envvar=\$ac_optarg
1200
 
    export $ac_envvar ;;
1201
 
 
1202
 
  *)
1203
 
    # FIXME: should be removed in autoconf 3.0.
1204
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208
 
    ;;
1209
 
 
1210
 
  esac
1211
 
done
1212
 
 
1213
 
if test -n "$ac_prev"; then
1214
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1215
 
  as_fn_error $? "missing argument to $ac_option"
1216
 
fi
1217
 
 
1218
 
if test -n "$ac_unrecognized_opts"; then
1219
 
  case $enable_option_checking in
1220
 
    no) ;;
1221
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1222
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223
 
  esac
1224
 
fi
1225
 
 
1226
 
# Check all directory arguments for consistency.
1227
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1229
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230
 
                libdir localedir mandir
1231
 
do
1232
 
  eval ac_val=\$$ac_var
1233
 
  # Remove trailing slashes.
1234
 
  case $ac_val in
1235
 
    */ )
1236
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237
 
      eval $ac_var=\$ac_val;;
1238
 
  esac
1239
 
  # Be sure to have absolute directory names.
1240
 
  case $ac_val in
1241
 
    [\\/$]* | ?:[\\/]* )  continue;;
1242
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1243
 
  esac
1244
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1245
 
done
1246
 
 
1247
 
# There might be people who depend on the old broken behavior: `$host'
1248
 
# used to hold the argument of --host etc.
1249
 
# FIXME: To remove some day.
1250
 
build=$build_alias
1251
 
host=$host_alias
1252
 
target=$target_alias
1253
 
 
1254
 
# FIXME: To remove some day.
1255
 
if test "x$host_alias" != x; then
1256
 
  if test "x$build_alias" = x; then
1257
 
    cross_compiling=maybe
1258
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1259
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1260
 
  elif test "x$build_alias" != "x$host_alias"; then
1261
 
    cross_compiling=yes
1262
 
  fi
1263
 
fi
1264
 
 
1265
 
ac_tool_prefix=
1266
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1267
 
 
1268
 
test "$silent" = yes && exec 6>/dev/null
1269
 
 
1270
 
 
1271
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1272
 
ac_ls_di=`ls -di .` &&
1273
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1274
 
  as_fn_error $? "working directory cannot be determined"
1275
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276
 
  as_fn_error $? "pwd does not report name of working directory"
1277
 
 
1278
 
 
1279
 
# Find the source files, if location was not specified.
1280
 
if test -z "$srcdir"; then
1281
 
  ac_srcdir_defaulted=yes
1282
 
  # Try the directory containing this script, then the parent directory.
1283
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1284
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1285
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1286
 
         X"$as_myself" : 'X\(//\)$' \| \
1287
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1288
 
$as_echo X"$as_myself" |
1289
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290
 
            s//\1/
1291
 
            q
1292
 
          }
1293
 
          /^X\(\/\/\)[^/].*/{
1294
 
            s//\1/
1295
 
            q
1296
 
          }
1297
 
          /^X\(\/\/\)$/{
1298
 
            s//\1/
1299
 
            q
1300
 
          }
1301
 
          /^X\(\/\).*/{
1302
 
            s//\1/
1303
 
            q
1304
 
          }
1305
 
          s/.*/./; q'`
1306
 
  srcdir=$ac_confdir
1307
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1308
 
    srcdir=..
1309
 
  fi
1310
 
else
1311
 
  ac_srcdir_defaulted=no
1312
 
fi
1313
 
if test ! -r "$srcdir/$ac_unique_file"; then
1314
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1315
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1316
 
fi
1317
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1318
 
ac_abs_confdir=`(
1319
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320
 
        pwd)`
1321
 
# When building in place, set srcdir=.
1322
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1323
 
  srcdir=.
1324
 
fi
1325
 
# Remove unnecessary trailing slashes from srcdir.
1326
 
# Double slashes in file names in object file debugging info
1327
 
# mess up M-x gdb in Emacs.
1328
 
case $srcdir in
1329
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330
 
esac
1331
 
for ac_var in $ac_precious_vars; do
1332
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1333
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1334
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1335
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1336
 
done
1337
 
 
1338
 
#
1339
 
# Report the --help message.
1340
 
#
1341
 
if test "$ac_init_help" = "long"; then
1342
 
  # Omit some internal or obsolete options to make the list less imposing.
1343
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1344
 
  cat <<_ACEOF
1345
 
\`configure' configures pdf_converter 0.1 to adapt to many kinds of systems.
1346
 
 
1347
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1348
 
 
1349
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1350
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1351
 
 
1352
 
Defaults for the options are specified in brackets.
1353
 
 
1354
 
Configuration:
1355
 
  -h, --help              display this help and exit
1356
 
      --help=short        display options specific to this package
1357
 
      --help=recursive    display the short help of all the included packages
1358
 
  -V, --version           display version information and exit
1359
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1360
 
      --cache-file=FILE   cache test results in FILE [disabled]
1361
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1362
 
  -n, --no-create         do not create output files
1363
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1364
 
 
1365
 
Installation directories:
1366
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1367
 
                          [$ac_default_prefix]
1368
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1369
 
                          [PREFIX]
1370
 
 
1371
 
By default, \`make install' will install all the files in
1372
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1373
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374
 
for instance \`--prefix=\$HOME'.
1375
 
 
1376
 
For better control, use the options below.
1377
 
 
1378
 
Fine tuning of the installation directories:
1379
 
  --bindir=DIR            user executables [EPREFIX/bin]
1380
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1381
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1382
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1383
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1384
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1385
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1386
 
  --includedir=DIR        C header files [PREFIX/include]
1387
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1388
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1389
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1390
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1391
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1392
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1393
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/pdf_converter]
1394
 
  --htmldir=DIR           html documentation [DOCDIR]
1395
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1396
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1397
 
  --psdir=DIR             ps documentation [DOCDIR]
1398
 
_ACEOF
1399
 
 
1400
 
  cat <<\_ACEOF
1401
 
 
1402
 
Program names:
1403
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1404
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1405
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1406
 
 
1407
 
System types:
1408
 
  --build=BUILD     configure for building on BUILD [guessed]
1409
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1410
 
_ACEOF
1411
 
fi
1412
 
 
1413
 
if test -n "$ac_init_help"; then
1414
 
  case $ac_init_help in
1415
 
     short | recursive ) echo "Configuration of pdf_converter 0.1:";;
1416
 
   esac
1417
 
  cat <<\_ACEOF
1418
 
 
1419
 
Optional Features:
1420
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1421
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1422
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1423
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1424
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1425
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1426
 
                          (and sometimes confusing) to the casual installer
1427
 
  --disable-dependency-tracking  speeds up one-time build
1428
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1429
 
  --disable-nls           do not use Native Language Support
1430
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1431
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1432
 
  --enable-fast-install[=PKGS]
1433
 
                          optimize for fast installation [default=yes]
1434
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1435
 
 
1436
 
Optional Packages:
1437
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1438
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1439
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1440
 
                          both]
1441
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1442
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1443
 
                        (or the compiler's sysroot if not specified).
1444
 
 
1445
 
Some influential environment variables:
1446
 
  CC          C compiler command
1447
 
  CFLAGS      C compiler flags
1448
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1449
 
              nonstandard directory <lib dir>
1450
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1451
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1452
 
              you have headers in a nonstandard directory <include dir>
1453
 
  CPP         C preprocessor
1454
 
  PKG_CONFIG  path to pkg-config utility
1455
 
  PKG_CONFIG_PATH
1456
 
              directories to add to pkg-config's search path
1457
 
  PKG_CONFIG_LIBDIR
1458
 
              path overriding pkg-config's built-in search path
1459
 
  PDF_CONVERTER_CFLAGS
1460
 
              C compiler flags for PDF_CONVERTER, overriding pkg-config
1461
 
  PDF_CONVERTER_LIBS
1462
 
              linker flags for PDF_CONVERTER, overriding pkg-config
1463
 
 
1464
 
Use these variables to override the choices made by `configure' or to help
1465
 
it to find libraries and programs with nonstandard names/locations.
1466
 
 
1467
 
Report bugs to the package provider.
1468
 
_ACEOF
1469
 
ac_status=$?
1470
 
fi
1471
 
 
1472
 
if test "$ac_init_help" = "recursive"; then
1473
 
  # If there are subdirs, report their specific --help.
1474
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475
 
    test -d "$ac_dir" ||
1476
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1477
 
      continue
1478
 
    ac_builddir=.
1479
 
 
1480
 
case "$ac_dir" in
1481
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482
 
*)
1483
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484
 
  # A ".." for each directory in $ac_dir_suffix.
1485
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486
 
  case $ac_top_builddir_sub in
1487
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489
 
  esac ;;
1490
 
esac
1491
 
ac_abs_top_builddir=$ac_pwd
1492
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493
 
# for backward compatibility:
1494
 
ac_top_builddir=$ac_top_build_prefix
1495
 
 
1496
 
case $srcdir in
1497
 
  .)  # We are building in place.
1498
 
    ac_srcdir=.
1499
 
    ac_top_srcdir=$ac_top_builddir_sub
1500
 
    ac_abs_top_srcdir=$ac_pwd ;;
1501
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1502
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1503
 
    ac_top_srcdir=$srcdir
1504
 
    ac_abs_top_srcdir=$srcdir ;;
1505
 
  *) # Relative name.
1506
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1508
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509
 
esac
1510
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1511
 
 
1512
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1513
 
    # Check for guested configure.
1514
 
    if test -f "$ac_srcdir/configure.gnu"; then
1515
 
      echo &&
1516
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517
 
    elif test -f "$ac_srcdir/configure"; then
1518
 
      echo &&
1519
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1520
 
    else
1521
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522
 
    fi || ac_status=$?
1523
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1524
 
  done
1525
 
fi
1526
 
 
1527
 
test -n "$ac_init_help" && exit $ac_status
1528
 
if $ac_init_version; then
1529
 
  cat <<\_ACEOF
1530
 
pdf_converter configure 0.1
1531
 
generated by GNU Autoconf 2.68
1532
 
 
1533
 
Copyright (C) 2010 Free Software Foundation, Inc.
1534
 
This configure script is free software; the Free Software Foundation
1535
 
gives unlimited permission to copy, distribute and modify it.
1536
 
_ACEOF
1537
 
  exit
1538
 
fi
1539
 
 
1540
 
## ------------------------ ##
1541
 
## Autoconf initialization. ##
1542
 
## ------------------------ ##
1543
 
 
1544
 
# ac_fn_c_try_compile LINENO
1545
 
# --------------------------
1546
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1547
 
ac_fn_c_try_compile ()
1548
 
{
1549
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550
 
  rm -f conftest.$ac_objext
1551
 
  if { { ac_try="$ac_compile"
1552
 
case "(($ac_try" in
1553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554
 
  *) ac_try_echo=$ac_try;;
1555
 
esac
1556
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557
 
$as_echo "$ac_try_echo"; } >&5
1558
 
  (eval "$ac_compile") 2>conftest.err
1559
 
  ac_status=$?
1560
 
  if test -s conftest.err; then
1561
 
    grep -v '^ *+' conftest.err >conftest.er1
1562
 
    cat conftest.er1 >&5
1563
 
    mv -f conftest.er1 conftest.err
1564
 
  fi
1565
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566
 
  test $ac_status = 0; } && {
1567
 
         test -z "$ac_c_werror_flag" ||
1568
 
         test ! -s conftest.err
1569
 
       } && test -s conftest.$ac_objext; then :
1570
 
  ac_retval=0
1571
 
else
1572
 
  $as_echo "$as_me: failed program was:" >&5
1573
 
sed 's/^/| /' conftest.$ac_ext >&5
1574
 
 
1575
 
        ac_retval=1
1576
 
fi
1577
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578
 
  as_fn_set_status $ac_retval
1579
 
 
1580
 
} # ac_fn_c_try_compile
1581
 
 
1582
 
# ac_fn_c_try_cpp LINENO
1583
 
# ----------------------
1584
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1585
 
ac_fn_c_try_cpp ()
1586
 
{
1587
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1589
 
case "(($ac_try" in
1590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591
 
  *) ac_try_echo=$ac_try;;
1592
 
esac
1593
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594
 
$as_echo "$ac_try_echo"; } >&5
1595
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1596
 
  ac_status=$?
1597
 
  if test -s conftest.err; then
1598
 
    grep -v '^ *+' conftest.err >conftest.er1
1599
 
    cat conftest.er1 >&5
1600
 
    mv -f conftest.er1 conftest.err
1601
 
  fi
1602
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603
 
  test $ac_status = 0; } > conftest.i && {
1604
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1605
 
         test ! -s conftest.err
1606
 
       }; then :
1607
 
  ac_retval=0
1608
 
else
1609
 
  $as_echo "$as_me: failed program was:" >&5
1610
 
sed 's/^/| /' conftest.$ac_ext >&5
1611
 
 
1612
 
    ac_retval=1
1613
 
fi
1614
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615
 
  as_fn_set_status $ac_retval
1616
 
 
1617
 
} # ac_fn_c_try_cpp
1618
 
 
1619
 
# ac_fn_c_try_run LINENO
1620
 
# ----------------------
1621
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1622
 
# that executables *can* be run.
1623
 
ac_fn_c_try_run ()
1624
 
{
1625
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626
 
  if { { ac_try="$ac_link"
1627
 
case "(($ac_try" in
1628
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629
 
  *) ac_try_echo=$ac_try;;
1630
 
esac
1631
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632
 
$as_echo "$ac_try_echo"; } >&5
1633
 
  (eval "$ac_link") 2>&5
1634
 
  ac_status=$?
1635
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1637
 
  { { case "(($ac_try" in
1638
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1639
 
  *) ac_try_echo=$ac_try;;
1640
 
esac
1641
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642
 
$as_echo "$ac_try_echo"; } >&5
1643
 
  (eval "$ac_try") 2>&5
1644
 
  ac_status=$?
1645
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646
 
  test $ac_status = 0; }; }; then :
1647
 
  ac_retval=0
1648
 
else
1649
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1650
 
       $as_echo "$as_me: failed program was:" >&5
1651
 
sed 's/^/| /' conftest.$ac_ext >&5
1652
 
 
1653
 
       ac_retval=$ac_status
1654
 
fi
1655
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657
 
  as_fn_set_status $ac_retval
1658
 
 
1659
 
} # ac_fn_c_try_run
1660
 
 
1661
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1662
 
# -------------------------------------------------------
1663
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1664
 
# the include files in INCLUDES and setting the cache variable VAR
1665
 
# accordingly.
1666
 
ac_fn_c_check_header_mongrel ()
1667
 
{
1668
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669
 
  if eval \${$3+:} false; then :
1670
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671
 
$as_echo_n "checking for $2... " >&6; }
1672
 
if eval \${$3+:} false; then :
1673
 
  $as_echo_n "(cached) " >&6
1674
 
fi
1675
 
eval ac_res=\$$3
1676
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677
 
$as_echo "$ac_res" >&6; }
1678
 
else
1679
 
  # Is the header compilable?
1680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1681
 
$as_echo_n "checking $2 usability... " >&6; }
1682
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683
 
/* end confdefs.h.  */
1684
 
$4
1685
 
#include <$2>
1686
 
_ACEOF
1687
 
if ac_fn_c_try_compile "$LINENO"; then :
1688
 
  ac_header_compiler=yes
1689
 
else
1690
 
  ac_header_compiler=no
1691
 
fi
1692
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1693
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1694
 
$as_echo "$ac_header_compiler" >&6; }
1695
 
 
1696
 
# Is the header present?
1697
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1698
 
$as_echo_n "checking $2 presence... " >&6; }
1699
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700
 
/* end confdefs.h.  */
1701
 
#include <$2>
1702
 
_ACEOF
1703
 
if ac_fn_c_try_cpp "$LINENO"; then :
1704
 
  ac_header_preproc=yes
1705
 
else
1706
 
  ac_header_preproc=no
1707
 
fi
1708
 
rm -f conftest.err conftest.i conftest.$ac_ext
1709
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1710
 
$as_echo "$ac_header_preproc" >&6; }
1711
 
 
1712
 
# So?  What about this header?
1713
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1714
 
  yes:no: )
1715
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1716
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1717
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1718
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719
 
    ;;
1720
 
  no:yes:* )
1721
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1722
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1723
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1724
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1725
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1726
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1727
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1728
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1729
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1731
 
    ;;
1732
 
esac
1733
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734
 
$as_echo_n "checking for $2... " >&6; }
1735
 
if eval \${$3+:} false; then :
1736
 
  $as_echo_n "(cached) " >&6
1737
 
else
1738
 
  eval "$3=\$ac_header_compiler"
1739
 
fi
1740
 
eval ac_res=\$$3
1741
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742
 
$as_echo "$ac_res" >&6; }
1743
 
fi
1744
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745
 
 
1746
 
} # ac_fn_c_check_header_mongrel
1747
 
 
1748
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749
 
# -------------------------------------------------------
1750
 
# Tests whether HEADER exists and can be compiled using the include files in
1751
 
# INCLUDES, setting the cache variable VAR accordingly.
1752
 
ac_fn_c_check_header_compile ()
1753
 
{
1754
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756
 
$as_echo_n "checking for $2... " >&6; }
1757
 
if eval \${$3+:} false; then :
1758
 
  $as_echo_n "(cached) " >&6
1759
 
else
1760
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761
 
/* end confdefs.h.  */
1762
 
$4
1763
 
#include <$2>
1764
 
_ACEOF
1765
 
if ac_fn_c_try_compile "$LINENO"; then :
1766
 
  eval "$3=yes"
1767
 
else
1768
 
  eval "$3=no"
1769
 
fi
1770
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771
 
fi
1772
 
eval ac_res=\$$3
1773
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774
 
$as_echo "$ac_res" >&6; }
1775
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
 
 
1777
 
} # ac_fn_c_check_header_compile
1778
 
 
1779
 
# ac_fn_c_try_link LINENO
1780
 
# -----------------------
1781
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1782
 
ac_fn_c_try_link ()
1783
 
{
1784
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1786
 
  if { { ac_try="$ac_link"
1787
 
case "(($ac_try" in
1788
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789
 
  *) ac_try_echo=$ac_try;;
1790
 
esac
1791
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792
 
$as_echo "$ac_try_echo"; } >&5
1793
 
  (eval "$ac_link") 2>conftest.err
1794
 
  ac_status=$?
1795
 
  if test -s conftest.err; then
1796
 
    grep -v '^ *+' conftest.err >conftest.er1
1797
 
    cat conftest.er1 >&5
1798
 
    mv -f conftest.er1 conftest.err
1799
 
  fi
1800
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801
 
  test $ac_status = 0; } && {
1802
 
         test -z "$ac_c_werror_flag" ||
1803
 
         test ! -s conftest.err
1804
 
       } && test -s conftest$ac_exeext && {
1805
 
         test "$cross_compiling" = yes ||
1806
 
         $as_test_x conftest$ac_exeext
1807
 
       }; then :
1808
 
  ac_retval=0
1809
 
else
1810
 
  $as_echo "$as_me: failed program was:" >&5
1811
 
sed 's/^/| /' conftest.$ac_ext >&5
1812
 
 
1813
 
        ac_retval=1
1814
 
fi
1815
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817
 
  # interfere with the next link command; also delete a directory that is
1818
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1819
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
 
  as_fn_set_status $ac_retval
1822
 
 
1823
 
} # ac_fn_c_try_link
1824
 
 
1825
 
# ac_fn_c_check_func LINENO FUNC VAR
1826
 
# ----------------------------------
1827
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1828
 
ac_fn_c_check_func ()
1829
 
{
1830
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832
 
$as_echo_n "checking for $2... " >&6; }
1833
 
if eval \${$3+:} false; then :
1834
 
  $as_echo_n "(cached) " >&6
1835
 
else
1836
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837
 
/* end confdefs.h.  */
1838
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1840
 
#define $2 innocuous_$2
1841
 
 
1842
 
/* System header to define __stub macros and hopefully few prototypes,
1843
 
    which can conflict with char $2 (); below.
1844
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845
 
    <limits.h> exists even on freestanding compilers.  */
1846
 
 
1847
 
#ifdef __STDC__
1848
 
# include <limits.h>
1849
 
#else
1850
 
# include <assert.h>
1851
 
#endif
1852
 
 
1853
 
#undef $2
1854
 
 
1855
 
/* Override any GCC internal prototype to avoid an error.
1856
 
   Use char because int might match the return type of a GCC
1857
 
   builtin and then its argument prototype would still apply.  */
1858
 
#ifdef __cplusplus
1859
 
extern "C"
1860
 
#endif
1861
 
char $2 ();
1862
 
/* The GNU C library defines this for functions which it implements
1863
 
    to always fail with ENOSYS.  Some functions are actually named
1864
 
    something starting with __ and the normal name is an alias.  */
1865
 
#if defined __stub_$2 || defined __stub___$2
1866
 
choke me
1867
 
#endif
1868
 
 
1869
 
int
1870
 
main ()
1871
 
{
1872
 
return $2 ();
1873
 
  ;
1874
 
  return 0;
1875
 
}
1876
 
_ACEOF
1877
 
if ac_fn_c_try_link "$LINENO"; then :
1878
 
  eval "$3=yes"
1879
 
else
1880
 
  eval "$3=no"
1881
 
fi
1882
 
rm -f core conftest.err conftest.$ac_objext \
1883
 
    conftest$ac_exeext conftest.$ac_ext
1884
 
fi
1885
 
eval ac_res=\$$3
1886
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887
 
$as_echo "$ac_res" >&6; }
1888
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889
 
 
1890
 
} # ac_fn_c_check_func
1891
 
cat >config.log <<_ACEOF
1892
 
This file contains any messages produced by compilers while
1893
 
running configure, to aid debugging if configure makes a mistake.
1894
 
 
1895
 
It was created by pdf_converter $as_me 0.1, which was
1896
 
generated by GNU Autoconf 2.68.  Invocation command line was
1897
 
 
1898
 
  $ $0 $@
1899
 
 
1900
 
_ACEOF
1901
 
exec 5>>config.log
1902
 
{
1903
 
cat <<_ASUNAME
1904
 
## --------- ##
1905
 
## Platform. ##
1906
 
## --------- ##
1907
 
 
1908
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1909
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1910
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1911
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1912
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1913
 
 
1914
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1915
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1916
 
 
1917
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1918
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1919
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1920
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1921
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1922
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1923
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1924
 
 
1925
 
_ASUNAME
1926
 
 
1927
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928
 
for as_dir in $PATH
1929
 
do
1930
 
  IFS=$as_save_IFS
1931
 
  test -z "$as_dir" && as_dir=.
1932
 
    $as_echo "PATH: $as_dir"
1933
 
  done
1934
 
IFS=$as_save_IFS
1935
 
 
1936
 
} >&5
1937
 
 
1938
 
cat >&5 <<_ACEOF
1939
 
 
1940
 
 
1941
 
## ----------- ##
1942
 
## Core tests. ##
1943
 
## ----------- ##
1944
 
 
1945
 
_ACEOF
1946
 
 
1947
 
 
1948
 
# Keep a trace of the command line.
1949
 
# Strip out --no-create and --no-recursion so they do not pile up.
1950
 
# Strip out --silent because we don't want to record it for future runs.
1951
 
# Also quote any args containing shell meta-characters.
1952
 
# Make two passes to allow for proper duplicate-argument suppression.
1953
 
ac_configure_args=
1954
 
ac_configure_args0=
1955
 
ac_configure_args1=
1956
 
ac_must_keep_next=false
1957
 
for ac_pass in 1 2
1958
 
do
1959
 
  for ac_arg
1960
 
  do
1961
 
    case $ac_arg in
1962
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1963
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1964
 
    | -silent | --silent | --silen | --sile | --sil)
1965
 
      continue ;;
1966
 
    *\'*)
1967
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1968
 
    esac
1969
 
    case $ac_pass in
1970
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1971
 
    2)
1972
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
1973
 
      if test $ac_must_keep_next = true; then
1974
 
        ac_must_keep_next=false # Got value, back to normal.
1975
 
      else
1976
 
        case $ac_arg in
1977
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1978
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1979
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1980
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1981
 
            case "$ac_configure_args0 " in
1982
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1983
 
            esac
1984
 
            ;;
1985
 
          -* ) ac_must_keep_next=true ;;
1986
 
        esac
1987
 
      fi
1988
 
      as_fn_append ac_configure_args " '$ac_arg'"
1989
 
      ;;
1990
 
    esac
1991
 
  done
1992
 
done
1993
 
{ ac_configure_args0=; unset ac_configure_args0;}
1994
 
{ ac_configure_args1=; unset ac_configure_args1;}
1995
 
 
1996
 
# When interrupted or exit'd, cleanup temporary files, and complete
1997
 
# config.log.  We remove comments because anyway the quotes in there
1998
 
# would cause problems or look ugly.
1999
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2000
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2001
 
trap 'exit_status=$?
2002
 
  # Save into config.log some information that might help in debugging.
2003
 
  {
2004
 
    echo
2005
 
 
2006
 
    $as_echo "## ---------------- ##
2007
 
## Cache variables. ##
2008
 
## ---------------- ##"
2009
 
    echo
2010
 
    # The following way of writing the cache mishandles newlines in values,
2011
 
(
2012
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2013
 
    eval ac_val=\$$ac_var
2014
 
    case $ac_val in #(
2015
 
    *${as_nl}*)
2016
 
      case $ac_var in #(
2017
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2018
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2019
 
      esac
2020
 
      case $ac_var in #(
2021
 
      _ | IFS | as_nl) ;; #(
2022
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2023
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2024
 
      esac ;;
2025
 
    esac
2026
 
  done
2027
 
  (set) 2>&1 |
2028
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2029
 
    *${as_nl}ac_space=\ *)
2030
 
      sed -n \
2031
 
        "s/'\''/'\''\\\\'\'''\''/g;
2032
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2033
 
      ;; #(
2034
 
    *)
2035
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2036
 
      ;;
2037
 
    esac |
2038
 
    sort
2039
 
)
2040
 
    echo
2041
 
 
2042
 
    $as_echo "## ----------------- ##
2043
 
## Output variables. ##
2044
 
## ----------------- ##"
2045
 
    echo
2046
 
    for ac_var in $ac_subst_vars
2047
 
    do
2048
 
      eval ac_val=\$$ac_var
2049
 
      case $ac_val in
2050
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051
 
      esac
2052
 
      $as_echo "$ac_var='\''$ac_val'\''"
2053
 
    done | sort
2054
 
    echo
2055
 
 
2056
 
    if test -n "$ac_subst_files"; then
2057
 
      $as_echo "## ------------------- ##
2058
 
## File substitutions. ##
2059
 
## ------------------- ##"
2060
 
      echo
2061
 
      for ac_var in $ac_subst_files
2062
 
      do
2063
 
        eval ac_val=\$$ac_var
2064
 
        case $ac_val in
2065
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2066
 
        esac
2067
 
        $as_echo "$ac_var='\''$ac_val'\''"
2068
 
      done | sort
2069
 
      echo
2070
 
    fi
2071
 
 
2072
 
    if test -s confdefs.h; then
2073
 
      $as_echo "## ----------- ##
2074
 
## confdefs.h. ##
2075
 
## ----------- ##"
2076
 
      echo
2077
 
      cat confdefs.h
2078
 
      echo
2079
 
    fi
2080
 
    test "$ac_signal" != 0 &&
2081
 
      $as_echo "$as_me: caught signal $ac_signal"
2082
 
    $as_echo "$as_me: exit $exit_status"
2083
 
  } >&5
2084
 
  rm -f core *.core core.conftest.* &&
2085
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2086
 
    exit $exit_status
2087
 
' 0
2088
 
for ac_signal in 1 2 13 15; do
2089
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2090
 
done
2091
 
ac_signal=0
2092
 
 
2093
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2094
 
rm -f -r conftest* confdefs.h
2095
 
 
2096
 
$as_echo "/* confdefs.h */" > confdefs.h
2097
 
 
2098
 
# Predefined preprocessor variables.
2099
 
 
2100
 
cat >>confdefs.h <<_ACEOF
2101
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2102
 
_ACEOF
2103
 
 
2104
 
cat >>confdefs.h <<_ACEOF
2105
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2106
 
_ACEOF
2107
 
 
2108
 
cat >>confdefs.h <<_ACEOF
2109
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2110
 
_ACEOF
2111
 
 
2112
 
cat >>confdefs.h <<_ACEOF
2113
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2114
 
_ACEOF
2115
 
 
2116
 
cat >>confdefs.h <<_ACEOF
2117
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2118
 
_ACEOF
2119
 
 
2120
 
cat >>confdefs.h <<_ACEOF
2121
 
#define PACKAGE_URL "$PACKAGE_URL"
2122
 
_ACEOF
2123
 
 
2124
 
 
2125
 
# Let the site file select an alternate cache file if it wants to.
2126
 
# Prefer an explicitly selected file to automatically selected ones.
2127
 
ac_site_file1=NONE
2128
 
ac_site_file2=NONE
2129
 
if test -n "$CONFIG_SITE"; then
2130
 
  # We do not want a PATH search for config.site.
2131
 
  case $CONFIG_SITE in #((
2132
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2133
 
    */*) ac_site_file1=$CONFIG_SITE;;
2134
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2135
 
  esac
2136
 
elif test "x$prefix" != xNONE; then
2137
 
  ac_site_file1=$prefix/share/config.site
2138
 
  ac_site_file2=$prefix/etc/config.site
2139
 
else
2140
 
  ac_site_file1=$ac_default_prefix/share/config.site
2141
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2142
 
fi
2143
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2144
 
do
2145
 
  test "x$ac_site_file" = xNONE && continue
2146
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2147
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2148
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2149
 
    sed 's/^/| /' "$ac_site_file" >&5
2150
 
    . "$ac_site_file" \
2151
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2152
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2153
 
as_fn_error $? "failed to load site script $ac_site_file
2154
 
See \`config.log' for more details" "$LINENO" 5; }
2155
 
  fi
2156
 
done
2157
 
 
2158
 
if test -r "$cache_file"; then
2159
 
  # Some versions of bash will fail to source /dev/null (special files
2160
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2161
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2162
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2163
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2164
 
    case $cache_file in
2165
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2166
 
      *)                      . "./$cache_file";;
2167
 
    esac
2168
 
  fi
2169
 
else
2170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2171
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2172
 
  >$cache_file
2173
 
fi
2174
 
 
2175
 
# Check that the precious variables saved in the cache have kept the same
2176
 
# value.
2177
 
ac_cache_corrupted=false
2178
 
for ac_var in $ac_precious_vars; do
2179
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2180
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2181
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2182
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2183
 
  case $ac_old_set,$ac_new_set in
2184
 
    set,)
2185
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2186
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2187
 
      ac_cache_corrupted=: ;;
2188
 
    ,set)
2189
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2190
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2191
 
      ac_cache_corrupted=: ;;
2192
 
    ,);;
2193
 
    *)
2194
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2195
 
        # differences in whitespace do not lead to failure.
2196
 
        ac_old_val_w=`echo x $ac_old_val`
2197
 
        ac_new_val_w=`echo x $ac_new_val`
2198
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2199
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2200
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2201
 
          ac_cache_corrupted=:
2202
 
        else
2203
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2204
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2205
 
          eval $ac_var=\$ac_old_val
2206
 
        fi
2207
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2208
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2209
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2210
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2211
 
      fi;;
2212
 
  esac
2213
 
  # Pass precious variables to config.status.
2214
 
  if test "$ac_new_set" = set; then
2215
 
    case $ac_new_val in
2216
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2217
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2218
 
    esac
2219
 
    case " $ac_configure_args " in
2220
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2221
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2222
 
    esac
2223
 
  fi
2224
 
done
2225
 
if $ac_cache_corrupted; then
2226
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2227
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2229
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2230
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2231
 
fi
2232
 
## -------------------- ##
2233
 
## Main body of script. ##
2234
 
## -------------------- ##
2235
 
 
2236
 
ac_ext=c
2237
 
ac_cpp='$CPP $CPPFLAGS'
2238
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241
 
 
2242
 
 
2243
 
# Check whether --enable-silent-rules was given.
2244
 
if test "${enable_silent_rules+set}" = set; then :
2245
 
  enableval=$enable_silent_rules;
2246
 
fi
2247
 
 
2248
 
case $enable_silent_rules in
2249
 
yes) AM_DEFAULT_VERBOSITY=0;;
2250
 
no)  AM_DEFAULT_VERBOSITY=1;;
2251
 
*)   AM_DEFAULT_VERBOSITY=0;;
2252
 
esac
2253
 
AM_BACKSLASH='\'
2254
 
 
2255
 
 
2256
 
am__api_version='1.11'
2257
 
 
2258
 
ac_aux_dir=
2259
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2260
 
  if test -f "$ac_dir/install-sh"; then
2261
 
    ac_aux_dir=$ac_dir
2262
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2263
 
    break
2264
 
  elif test -f "$ac_dir/install.sh"; then
2265
 
    ac_aux_dir=$ac_dir
2266
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2267
 
    break
2268
 
  elif test -f "$ac_dir/shtool"; then
2269
 
    ac_aux_dir=$ac_dir
2270
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2271
 
    break
2272
 
  fi
2273
 
done
2274
 
if test -z "$ac_aux_dir"; then
2275
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2276
 
fi
2277
 
 
2278
 
# These three variables are undocumented and unsupported,
2279
 
# and are intended to be withdrawn in a future Autoconf release.
2280
 
# They can cause serious problems if a builder's source tree is in a directory
2281
 
# whose full name contains unusual characters.
2282
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2283
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2284
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2285
 
 
2286
 
 
2287
 
# Find a good install program.  We prefer a C program (faster),
2288
 
# so one script is as good as another.  But avoid the broken or
2289
 
# incompatible versions:
2290
 
# SysV /etc/install, /usr/sbin/install
2291
 
# SunOS /usr/etc/install
2292
 
# IRIX /sbin/install
2293
 
# AIX /bin/install
2294
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2295
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2296
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2297
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2298
 
# OS/2's system install, which has a completely different semantic
2299
 
# ./install, which can be erroneously created by make from ./install.sh.
2300
 
# Reject install programs that cannot install multiple files.
2301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2302
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2303
 
if test -z "$INSTALL"; then
2304
 
if ${ac_cv_path_install+:} false; then :
2305
 
  $as_echo_n "(cached) " >&6
2306
 
else
2307
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308
 
for as_dir in $PATH
2309
 
do
2310
 
  IFS=$as_save_IFS
2311
 
  test -z "$as_dir" && as_dir=.
2312
 
    # Account for people who put trailing slashes in PATH elements.
2313
 
case $as_dir/ in #((
2314
 
  ./ | .// | /[cC]/* | \
2315
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2316
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2317
 
  /usr/ucb/* ) ;;
2318
 
  *)
2319
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2320
 
    # Don't use installbsd from OSF since it installs stuff as root
2321
 
    # by default.
2322
 
    for ac_prog in ginstall scoinst install; do
2323
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2324
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2325
 
          if test $ac_prog = install &&
2326
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2327
 
            # AIX install.  It has an incompatible calling convention.
2328
 
            :
2329
 
          elif test $ac_prog = install &&
2330
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331
 
            # program-specific install script used by HP pwplus--don't use.
2332
 
            :
2333
 
          else
2334
 
            rm -rf conftest.one conftest.two conftest.dir
2335
 
            echo one > conftest.one
2336
 
            echo two > conftest.two
2337
 
            mkdir conftest.dir
2338
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2339
 
              test -s conftest.one && test -s conftest.two &&
2340
 
              test -s conftest.dir/conftest.one &&
2341
 
              test -s conftest.dir/conftest.two
2342
 
            then
2343
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2344
 
              break 3
2345
 
            fi
2346
 
          fi
2347
 
        fi
2348
 
      done
2349
 
    done
2350
 
    ;;
2351
 
esac
2352
 
 
2353
 
  done
2354
 
IFS=$as_save_IFS
2355
 
 
2356
 
rm -rf conftest.one conftest.two conftest.dir
2357
 
 
2358
 
fi
2359
 
  if test "${ac_cv_path_install+set}" = set; then
2360
 
    INSTALL=$ac_cv_path_install
2361
 
  else
2362
 
    # As a last resort, use the slow shell script.  Don't cache a
2363
 
    # value for INSTALL within a source directory, because that will
2364
 
    # break other packages using the cache if that directory is
2365
 
    # removed, or if the value is a relative name.
2366
 
    INSTALL=$ac_install_sh
2367
 
  fi
2368
 
fi
2369
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2370
 
$as_echo "$INSTALL" >&6; }
2371
 
 
2372
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2373
 
# It thinks the first close brace ends the variable substitution.
2374
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2375
 
 
2376
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2377
 
 
2378
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2379
 
 
2380
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2381
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2382
 
# Just in case
2383
 
sleep 1
2384
 
echo timestamp > conftest.file
2385
 
# Reject unsafe characters in $srcdir or the absolute working directory
2386
 
# name.  Accept space and tab only in the latter.
2387
 
am_lf='
2388
 
'
2389
 
case `pwd` in
2390
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2391
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2392
 
esac
2393
 
case $srcdir in
2394
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2395
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2396
 
esac
2397
 
 
2398
 
# Do `set' in a subshell so we don't clobber the current shell's
2399
 
# arguments.  Must try -L first in case configure is actually a
2400
 
# symlink; some systems play weird games with the mod time of symlinks
2401
 
# (eg FreeBSD returns the mod time of the symlink's containing
2402
 
# directory).
2403
 
if (
2404
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2405
 
   if test "$*" = "X"; then
2406
 
      # -L didn't work.
2407
 
      set X `ls -t "$srcdir/configure" conftest.file`
2408
 
   fi
2409
 
   rm -f conftest.file
2410
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2411
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2412
 
 
2413
 
      # If neither matched, then we have a broken ls.  This can happen
2414
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2415
 
      # broken ls alias from the environment.  This has actually
2416
 
      # happened.  Such a system could not be considered "sane".
2417
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2418
 
alias in your environment" "$LINENO" 5
2419
 
   fi
2420
 
 
2421
 
   test "$2" = conftest.file
2422
 
   )
2423
 
then
2424
 
   # Ok.
2425
 
   :
2426
 
else
2427
 
   as_fn_error $? "newly created file is older than distributed files!
2428
 
Check your system clock" "$LINENO" 5
2429
 
fi
2430
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2431
 
$as_echo "yes" >&6; }
2432
 
test "$program_prefix" != NONE &&
2433
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2434
 
# Use a double $ so make ignores it.
2435
 
test "$program_suffix" != NONE &&
2436
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2437
 
# Double any \ or $.
2438
 
# By default was `s,x,x', remove it if useless.
2439
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2440
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2441
 
 
2442
 
# expand $ac_aux_dir to an absolute path
2443
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2444
 
 
2445
 
if test x"${MISSING+set}" != xset; then
2446
 
  case $am_aux_dir in
2447
 
  *\ * | *\     *)
2448
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2449
 
  *)
2450
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2451
 
  esac
2452
 
fi
2453
 
# Use eval to expand $SHELL
2454
 
if eval "$MISSING --run true"; then
2455
 
  am_missing_run="$MISSING --run "
2456
 
else
2457
 
  am_missing_run=
2458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2459
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2460
 
fi
2461
 
 
2462
 
if test x"${install_sh}" != xset; then
2463
 
  case $am_aux_dir in
2464
 
  *\ * | *\     *)
2465
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2466
 
  *)
2467
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2468
 
  esac
2469
 
fi
2470
 
 
2471
 
# Installed binaries are usually stripped using `strip' when the user
2472
 
# run `make install-strip'.  However `strip' might not be the right
2473
 
# tool to use in cross-compilation environments, therefore Automake
2474
 
# will honor the `STRIP' environment variable to overrule this program.
2475
 
if test "$cross_compiling" != no; then
2476
 
  if test -n "$ac_tool_prefix"; then
2477
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2478
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2479
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480
 
$as_echo_n "checking for $ac_word... " >&6; }
2481
 
if ${ac_cv_prog_STRIP+:} false; then :
2482
 
  $as_echo_n "(cached) " >&6
2483
 
else
2484
 
  if test -n "$STRIP"; then
2485
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2486
 
else
2487
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488
 
for as_dir in $PATH
2489
 
do
2490
 
  IFS=$as_save_IFS
2491
 
  test -z "$as_dir" && as_dir=.
2492
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2493
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2495
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2496
 
    break 2
2497
 
  fi
2498
 
done
2499
 
  done
2500
 
IFS=$as_save_IFS
2501
 
 
2502
 
fi
2503
 
fi
2504
 
STRIP=$ac_cv_prog_STRIP
2505
 
if test -n "$STRIP"; then
2506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2507
 
$as_echo "$STRIP" >&6; }
2508
 
else
2509
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510
 
$as_echo "no" >&6; }
2511
 
fi
2512
 
 
2513
 
 
2514
 
fi
2515
 
if test -z "$ac_cv_prog_STRIP"; then
2516
 
  ac_ct_STRIP=$STRIP
2517
 
  # Extract the first word of "strip", so it can be a program name with args.
2518
 
set dummy strip; ac_word=$2
2519
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520
 
$as_echo_n "checking for $ac_word... " >&6; }
2521
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2522
 
  $as_echo_n "(cached) " >&6
2523
 
else
2524
 
  if test -n "$ac_ct_STRIP"; then
2525
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2526
 
else
2527
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528
 
for as_dir in $PATH
2529
 
do
2530
 
  IFS=$as_save_IFS
2531
 
  test -z "$as_dir" && as_dir=.
2532
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2533
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534
 
    ac_cv_prog_ac_ct_STRIP="strip"
2535
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536
 
    break 2
2537
 
  fi
2538
 
done
2539
 
  done
2540
 
IFS=$as_save_IFS
2541
 
 
2542
 
fi
2543
 
fi
2544
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2545
 
if test -n "$ac_ct_STRIP"; then
2546
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2547
 
$as_echo "$ac_ct_STRIP" >&6; }
2548
 
else
2549
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550
 
$as_echo "no" >&6; }
2551
 
fi
2552
 
 
2553
 
  if test "x$ac_ct_STRIP" = x; then
2554
 
    STRIP=":"
2555
 
  else
2556
 
    case $cross_compiling:$ac_tool_warned in
2557
 
yes:)
2558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2559
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2560
 
ac_tool_warned=yes ;;
2561
 
esac
2562
 
    STRIP=$ac_ct_STRIP
2563
 
  fi
2564
 
else
2565
 
  STRIP="$ac_cv_prog_STRIP"
2566
 
fi
2567
 
 
2568
 
fi
2569
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2570
 
 
2571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2572
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2573
 
if test -z "$MKDIR_P"; then
2574
 
  if ${ac_cv_path_mkdir+:} false; then :
2575
 
  $as_echo_n "(cached) " >&6
2576
 
else
2577
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2579
 
do
2580
 
  IFS=$as_save_IFS
2581
 
  test -z "$as_dir" && as_dir=.
2582
 
    for ac_prog in mkdir gmkdir; do
2583
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2584
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2585
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2586
 
             'mkdir (GNU coreutils) '* | \
2587
 
             'mkdir (coreutils) '* | \
2588
 
             'mkdir (fileutils) '4.1*)
2589
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2590
 
               break 3;;
2591
 
           esac
2592
 
         done
2593
 
       done
2594
 
  done
2595
 
IFS=$as_save_IFS
2596
 
 
2597
 
fi
2598
 
 
2599
 
  test -d ./--version && rmdir ./--version
2600
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2601
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2602
 
  else
2603
 
    # As a last resort, use the slow shell script.  Don't cache a
2604
 
    # value for MKDIR_P within a source directory, because that will
2605
 
    # break other packages using the cache if that directory is
2606
 
    # removed, or if the value is a relative name.
2607
 
    MKDIR_P="$ac_install_sh -d"
2608
 
  fi
2609
 
fi
2610
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2611
 
$as_echo "$MKDIR_P" >&6; }
2612
 
 
2613
 
mkdir_p="$MKDIR_P"
2614
 
case $mkdir_p in
2615
 
  [\\/$]* | ?:[\\/]*) ;;
2616
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2617
 
esac
2618
 
 
2619
 
for ac_prog in gawk mawk nawk awk
2620
 
do
2621
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2622
 
set dummy $ac_prog; ac_word=$2
2623
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624
 
$as_echo_n "checking for $ac_word... " >&6; }
2625
 
if ${ac_cv_prog_AWK+:} false; then :
2626
 
  $as_echo_n "(cached) " >&6
2627
 
else
2628
 
  if test -n "$AWK"; then
2629
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2630
 
else
2631
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632
 
for as_dir in $PATH
2633
 
do
2634
 
  IFS=$as_save_IFS
2635
 
  test -z "$as_dir" && as_dir=.
2636
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2637
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638
 
    ac_cv_prog_AWK="$ac_prog"
2639
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640
 
    break 2
2641
 
  fi
2642
 
done
2643
 
  done
2644
 
IFS=$as_save_IFS
2645
 
 
2646
 
fi
2647
 
fi
2648
 
AWK=$ac_cv_prog_AWK
2649
 
if test -n "$AWK"; then
2650
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2651
 
$as_echo "$AWK" >&6; }
2652
 
else
2653
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654
 
$as_echo "no" >&6; }
2655
 
fi
2656
 
 
2657
 
 
2658
 
  test -n "$AWK" && break
2659
 
done
2660
 
 
2661
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2662
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2663
 
set x ${MAKE-make}
2664
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2665
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2666
 
  $as_echo_n "(cached) " >&6
2667
 
else
2668
 
  cat >conftest.make <<\_ACEOF
2669
 
SHELL = /bin/sh
2670
 
all:
2671
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2672
 
_ACEOF
2673
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2674
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2675
 
  *@@@%%%=?*=@@@%%%*)
2676
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2677
 
  *)
2678
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2679
 
esac
2680
 
rm -f conftest.make
2681
 
fi
2682
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2683
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2684
 
$as_echo "yes" >&6; }
2685
 
  SET_MAKE=
2686
 
else
2687
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688
 
$as_echo "no" >&6; }
2689
 
  SET_MAKE="MAKE=${MAKE-make}"
2690
 
fi
2691
 
 
2692
 
rm -rf .tst 2>/dev/null
2693
 
mkdir .tst 2>/dev/null
2694
 
if test -d .tst; then
2695
 
  am__leading_dot=.
2696
 
else
2697
 
  am__leading_dot=_
2698
 
fi
2699
 
rmdir .tst 2>/dev/null
2700
 
 
2701
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2702
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2703
 
  # is not polluted with repeated "-I."
2704
 
  am__isrc=' -I$(srcdir)'
2705
 
  # test to see if srcdir already configured
2706
 
  if test -f $srcdir/config.status; then
2707
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2708
 
  fi
2709
 
fi
2710
 
 
2711
 
# test whether we have cygpath
2712
 
if test -z "$CYGPATH_W"; then
2713
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2714
 
    CYGPATH_W='cygpath -w'
2715
 
  else
2716
 
    CYGPATH_W=echo
2717
 
  fi
2718
 
fi
2719
 
 
2720
 
 
2721
 
# Define the identity of the package.
2722
 
 PACKAGE=pdf_converter
2723
 
 VERSION=0.1
2724
 
 
2725
 
 
2726
 
cat >>confdefs.h <<_ACEOF
2727
 
#define PACKAGE "$PACKAGE"
2728
 
_ACEOF
2729
 
 
2730
 
 
2731
 
cat >>confdefs.h <<_ACEOF
2732
 
#define VERSION "$VERSION"
2733
 
_ACEOF
2734
 
 
2735
 
# Some tools Automake needs.
2736
 
 
2737
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2738
 
 
2739
 
 
2740
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2741
 
 
2742
 
 
2743
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2744
 
 
2745
 
 
2746
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2747
 
 
2748
 
 
2749
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2750
 
 
2751
 
# We need awk for the "check" target.  The system "awk" is bad on
2752
 
# some platforms.
2753
 
# Always define AMTAR for backward compatibility.
2754
 
 
2755
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2756
 
 
2757
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2758
 
 
2759
 
 
2760
 
 
2761
 
 
2762
 
 
2763
 
ac_config_headers="$ac_config_headers config.h"
2764
 
 
2765
 
 
2766
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2767
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2768
 
    # Check whether --enable-maintainer-mode was given.
2769
 
if test "${enable_maintainer_mode+set}" = set; then :
2770
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2771
 
else
2772
 
  USE_MAINTAINER_MODE=no
2773
 
fi
2774
 
 
2775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2776
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2777
 
   if test $USE_MAINTAINER_MODE = yes; then
2778
 
  MAINTAINER_MODE_TRUE=
2779
 
  MAINTAINER_MODE_FALSE='#'
2780
 
else
2781
 
  MAINTAINER_MODE_TRUE='#'
2782
 
  MAINTAINER_MODE_FALSE=
2783
 
fi
2784
 
 
2785
 
  MAINT=$MAINTAINER_MODE_TRUE
2786
 
 
2787
 
 
2788
 
 
2789
 
ac_ext=c
2790
 
ac_cpp='$CPP $CPPFLAGS'
2791
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2792
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2793
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2794
 
if test -n "$ac_tool_prefix"; then
2795
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2796
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2797
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798
 
$as_echo_n "checking for $ac_word... " >&6; }
2799
 
if ${ac_cv_prog_CC+:} false; then :
2800
 
  $as_echo_n "(cached) " >&6
2801
 
else
2802
 
  if test -n "$CC"; then
2803
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2804
 
else
2805
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806
 
for as_dir in $PATH
2807
 
do
2808
 
  IFS=$as_save_IFS
2809
 
  test -z "$as_dir" && as_dir=.
2810
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2811
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2813
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814
 
    break 2
2815
 
  fi
2816
 
done
2817
 
  done
2818
 
IFS=$as_save_IFS
2819
 
 
2820
 
fi
2821
 
fi
2822
 
CC=$ac_cv_prog_CC
2823
 
if test -n "$CC"; then
2824
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2825
 
$as_echo "$CC" >&6; }
2826
 
else
2827
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828
 
$as_echo "no" >&6; }
2829
 
fi
2830
 
 
2831
 
 
2832
 
fi
2833
 
if test -z "$ac_cv_prog_CC"; then
2834
 
  ac_ct_CC=$CC
2835
 
  # Extract the first word of "gcc", so it can be a program name with args.
2836
 
set dummy gcc; ac_word=$2
2837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838
 
$as_echo_n "checking for $ac_word... " >&6; }
2839
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2840
 
  $as_echo_n "(cached) " >&6
2841
 
else
2842
 
  if test -n "$ac_ct_CC"; then
2843
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2844
 
else
2845
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846
 
for as_dir in $PATH
2847
 
do
2848
 
  IFS=$as_save_IFS
2849
 
  test -z "$as_dir" && as_dir=.
2850
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2851
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852
 
    ac_cv_prog_ac_ct_CC="gcc"
2853
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854
 
    break 2
2855
 
  fi
2856
 
done
2857
 
  done
2858
 
IFS=$as_save_IFS
2859
 
 
2860
 
fi
2861
 
fi
2862
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2863
 
if test -n "$ac_ct_CC"; then
2864
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2865
 
$as_echo "$ac_ct_CC" >&6; }
2866
 
else
2867
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868
 
$as_echo "no" >&6; }
2869
 
fi
2870
 
 
2871
 
  if test "x$ac_ct_CC" = x; then
2872
 
    CC=""
2873
 
  else
2874
 
    case $cross_compiling:$ac_tool_warned in
2875
 
yes:)
2876
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2877
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2878
 
ac_tool_warned=yes ;;
2879
 
esac
2880
 
    CC=$ac_ct_CC
2881
 
  fi
2882
 
else
2883
 
  CC="$ac_cv_prog_CC"
2884
 
fi
2885
 
 
2886
 
if test -z "$CC"; then
2887
 
          if test -n "$ac_tool_prefix"; then
2888
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2889
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2890
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891
 
$as_echo_n "checking for $ac_word... " >&6; }
2892
 
if ${ac_cv_prog_CC+:} false; then :
2893
 
  $as_echo_n "(cached) " >&6
2894
 
else
2895
 
  if test -n "$CC"; then
2896
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2897
 
else
2898
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899
 
for as_dir in $PATH
2900
 
do
2901
 
  IFS=$as_save_IFS
2902
 
  test -z "$as_dir" && as_dir=.
2903
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2904
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2905
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2906
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907
 
    break 2
2908
 
  fi
2909
 
done
2910
 
  done
2911
 
IFS=$as_save_IFS
2912
 
 
2913
 
fi
2914
 
fi
2915
 
CC=$ac_cv_prog_CC
2916
 
if test -n "$CC"; then
2917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2918
 
$as_echo "$CC" >&6; }
2919
 
else
2920
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921
 
$as_echo "no" >&6; }
2922
 
fi
2923
 
 
2924
 
 
2925
 
  fi
2926
 
fi
2927
 
if test -z "$CC"; then
2928
 
  # Extract the first word of "cc", so it can be a program name with args.
2929
 
set dummy cc; ac_word=$2
2930
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931
 
$as_echo_n "checking for $ac_word... " >&6; }
2932
 
if ${ac_cv_prog_CC+:} false; then :
2933
 
  $as_echo_n "(cached) " >&6
2934
 
else
2935
 
  if test -n "$CC"; then
2936
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2937
 
else
2938
 
  ac_prog_rejected=no
2939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940
 
for as_dir in $PATH
2941
 
do
2942
 
  IFS=$as_save_IFS
2943
 
  test -z "$as_dir" && as_dir=.
2944
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2945
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2947
 
       ac_prog_rejected=yes
2948
 
       continue
2949
 
     fi
2950
 
    ac_cv_prog_CC="cc"
2951
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952
 
    break 2
2953
 
  fi
2954
 
done
2955
 
  done
2956
 
IFS=$as_save_IFS
2957
 
 
2958
 
if test $ac_prog_rejected = yes; then
2959
 
  # We found a bogon in the path, so make sure we never use it.
2960
 
  set dummy $ac_cv_prog_CC
2961
 
  shift
2962
 
  if test $# != 0; then
2963
 
    # We chose a different compiler from the bogus one.
2964
 
    # However, it has the same basename, so the bogon will be chosen
2965
 
    # first if we set CC to just the basename; use the full file name.
2966
 
    shift
2967
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2968
 
  fi
2969
 
fi
2970
 
fi
2971
 
fi
2972
 
CC=$ac_cv_prog_CC
2973
 
if test -n "$CC"; then
2974
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2975
 
$as_echo "$CC" >&6; }
2976
 
else
2977
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978
 
$as_echo "no" >&6; }
2979
 
fi
2980
 
 
2981
 
 
2982
 
fi
2983
 
if test -z "$CC"; then
2984
 
  if test -n "$ac_tool_prefix"; then
2985
 
  for ac_prog in cl.exe
2986
 
  do
2987
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2988
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2989
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990
 
$as_echo_n "checking for $ac_word... " >&6; }
2991
 
if ${ac_cv_prog_CC+:} false; then :
2992
 
  $as_echo_n "(cached) " >&6
2993
 
else
2994
 
  if test -n "$CC"; then
2995
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2996
 
else
2997
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998
 
for as_dir in $PATH
2999
 
do
3000
 
  IFS=$as_save_IFS
3001
 
  test -z "$as_dir" && as_dir=.
3002
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3003
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3004
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3005
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006
 
    break 2
3007
 
  fi
3008
 
done
3009
 
  done
3010
 
IFS=$as_save_IFS
3011
 
 
3012
 
fi
3013
 
fi
3014
 
CC=$ac_cv_prog_CC
3015
 
if test -n "$CC"; then
3016
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017
 
$as_echo "$CC" >&6; }
3018
 
else
3019
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020
 
$as_echo "no" >&6; }
3021
 
fi
3022
 
 
3023
 
 
3024
 
    test -n "$CC" && break
3025
 
  done
3026
 
fi
3027
 
if test -z "$CC"; then
3028
 
  ac_ct_CC=$CC
3029
 
  for ac_prog in cl.exe
3030
 
do
3031
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3032
 
set dummy $ac_prog; ac_word=$2
3033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
 
$as_echo_n "checking for $ac_word... " >&6; }
3035
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036
 
  $as_echo_n "(cached) " >&6
3037
 
else
3038
 
  if test -n "$ac_ct_CC"; then
3039
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3040
 
else
3041
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042
 
for as_dir in $PATH
3043
 
do
3044
 
  IFS=$as_save_IFS
3045
 
  test -z "$as_dir" && as_dir=.
3046
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3047
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3049
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050
 
    break 2
3051
 
  fi
3052
 
done
3053
 
  done
3054
 
IFS=$as_save_IFS
3055
 
 
3056
 
fi
3057
 
fi
3058
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059
 
if test -n "$ac_ct_CC"; then
3060
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061
 
$as_echo "$ac_ct_CC" >&6; }
3062
 
else
3063
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
 
$as_echo "no" >&6; }
3065
 
fi
3066
 
 
3067
 
 
3068
 
  test -n "$ac_ct_CC" && break
3069
 
done
3070
 
 
3071
 
  if test "x$ac_ct_CC" = x; then
3072
 
    CC=""
3073
 
  else
3074
 
    case $cross_compiling:$ac_tool_warned in
3075
 
yes:)
3076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078
 
ac_tool_warned=yes ;;
3079
 
esac
3080
 
    CC=$ac_ct_CC
3081
 
  fi
3082
 
fi
3083
 
 
3084
 
fi
3085
 
 
3086
 
 
3087
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3090
 
See \`config.log' for more details" "$LINENO" 5; }
3091
 
 
3092
 
# Provide some information about the compiler.
3093
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3094
 
set X $ac_compile
3095
 
ac_compiler=$2
3096
 
for ac_option in --version -v -V -qversion; do
3097
 
  { { ac_try="$ac_compiler $ac_option >&5"
3098
 
case "(($ac_try" in
3099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100
 
  *) ac_try_echo=$ac_try;;
3101
 
esac
3102
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103
 
$as_echo "$ac_try_echo"; } >&5
3104
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3105
 
  ac_status=$?
3106
 
  if test -s conftest.err; then
3107
 
    sed '10a\
3108
 
... rest of stderr output deleted ...
3109
 
         10q' conftest.err >conftest.er1
3110
 
    cat conftest.er1 >&5
3111
 
  fi
3112
 
  rm -f conftest.er1 conftest.err
3113
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114
 
  test $ac_status = 0; }
3115
 
done
3116
 
 
3117
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118
 
/* end confdefs.h.  */
3119
 
 
3120
 
int
3121
 
main ()
3122
 
{
3123
 
 
3124
 
  ;
3125
 
  return 0;
3126
 
}
3127
 
_ACEOF
3128
 
ac_clean_files_save=$ac_clean_files
3129
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3130
 
# Try to create an executable without -o first, disregard a.out.
3131
 
# It will help us diagnose broken compilers, and finding out an intuition
3132
 
# of exeext.
3133
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3134
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3135
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3136
 
 
3137
 
# The possible output files:
3138
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3139
 
 
3140
 
ac_rmfiles=
3141
 
for ac_file in $ac_files
3142
 
do
3143
 
  case $ac_file in
3144
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3145
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3146
 
  esac
3147
 
done
3148
 
rm -f $ac_rmfiles
3149
 
 
3150
 
if { { ac_try="$ac_link_default"
3151
 
case "(($ac_try" in
3152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153
 
  *) ac_try_echo=$ac_try;;
3154
 
esac
3155
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156
 
$as_echo "$ac_try_echo"; } >&5
3157
 
  (eval "$ac_link_default") 2>&5
3158
 
  ac_status=$?
3159
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3160
 
  test $ac_status = 0; }; then :
3161
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3162
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3163
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3164
 
# so that the user can short-circuit this test for compilers unknown to
3165
 
# Autoconf.
3166
 
for ac_file in $ac_files ''
3167
 
do
3168
 
  test -f "$ac_file" || continue
3169
 
  case $ac_file in
3170
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3171
 
        ;;
3172
 
    [ab].out )
3173
 
        # We found the default executable, but exeext='' is most
3174
 
        # certainly right.
3175
 
        break;;
3176
 
    *.* )
3177
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3178
 
        then :; else
3179
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3180
 
        fi
3181
 
        # We set ac_cv_exeext here because the later test for it is not
3182
 
        # safe: cross compilers may not add the suffix if given an `-o'
3183
 
        # argument, so we may need to know it at that point already.
3184
 
        # Even if this section looks crufty: it has the advantage of
3185
 
        # actually working.
3186
 
        break;;
3187
 
    * )
3188
 
        break;;
3189
 
  esac
3190
 
done
3191
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3192
 
 
3193
 
else
3194
 
  ac_file=''
3195
 
fi
3196
 
if test -z "$ac_file"; then :
3197
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198
 
$as_echo "no" >&6; }
3199
 
$as_echo "$as_me: failed program was:" >&5
3200
 
sed 's/^/| /' conftest.$ac_ext >&5
3201
 
 
3202
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204
 
as_fn_error 77 "C compiler cannot create executables
3205
 
See \`config.log' for more details" "$LINENO" 5; }
3206
 
else
3207
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208
 
$as_echo "yes" >&6; }
3209
 
fi
3210
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3211
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3212
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3213
 
$as_echo "$ac_file" >&6; }
3214
 
ac_exeext=$ac_cv_exeext
3215
 
 
3216
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3217
 
ac_clean_files=$ac_clean_files_save
3218
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3219
 
$as_echo_n "checking for suffix of executables... " >&6; }
3220
 
if { { ac_try="$ac_link"
3221
 
case "(($ac_try" in
3222
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223
 
  *) ac_try_echo=$ac_try;;
3224
 
esac
3225
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226
 
$as_echo "$ac_try_echo"; } >&5
3227
 
  (eval "$ac_link") 2>&5
3228
 
  ac_status=$?
3229
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230
 
  test $ac_status = 0; }; then :
3231
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3232
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3233
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3234
 
# `rm'.
3235
 
for ac_file in conftest.exe conftest conftest.*; do
3236
 
  test -f "$ac_file" || continue
3237
 
  case $ac_file in
3238
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3239
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3240
 
          break;;
3241
 
    * ) break;;
3242
 
  esac
3243
 
done
3244
 
else
3245
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3248
 
See \`config.log' for more details" "$LINENO" 5; }
3249
 
fi
3250
 
rm -f conftest conftest$ac_cv_exeext
3251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3252
 
$as_echo "$ac_cv_exeext" >&6; }
3253
 
 
3254
 
rm -f conftest.$ac_ext
3255
 
EXEEXT=$ac_cv_exeext
3256
 
ac_exeext=$EXEEXT
3257
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258
 
/* end confdefs.h.  */
3259
 
#include <stdio.h>
3260
 
int
3261
 
main ()
3262
 
{
3263
 
FILE *f = fopen ("conftest.out", "w");
3264
 
 return ferror (f) || fclose (f) != 0;
3265
 
 
3266
 
  ;
3267
 
  return 0;
3268
 
}
3269
 
_ACEOF
3270
 
ac_clean_files="$ac_clean_files conftest.out"
3271
 
# Check that the compiler produces executables we can run.  If not, either
3272
 
# the compiler is broken, or we cross compile.
3273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3274
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3275
 
if test "$cross_compiling" != yes; then
3276
 
  { { ac_try="$ac_link"
3277
 
case "(($ac_try" in
3278
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279
 
  *) ac_try_echo=$ac_try;;
3280
 
esac
3281
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282
 
$as_echo "$ac_try_echo"; } >&5
3283
 
  (eval "$ac_link") 2>&5
3284
 
  ac_status=$?
3285
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286
 
  test $ac_status = 0; }
3287
 
  if { ac_try='./conftest$ac_cv_exeext'
3288
 
  { { case "(($ac_try" in
3289
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290
 
  *) ac_try_echo=$ac_try;;
3291
 
esac
3292
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293
 
$as_echo "$ac_try_echo"; } >&5
3294
 
  (eval "$ac_try") 2>&5
3295
 
  ac_status=$?
3296
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297
 
  test $ac_status = 0; }; }; then
3298
 
    cross_compiling=no
3299
 
  else
3300
 
    if test "$cross_compiling" = maybe; then
3301
 
        cross_compiling=yes
3302
 
    else
3303
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305
 
as_fn_error $? "cannot run C compiled programs.
3306
 
If you meant to cross compile, use \`--host'.
3307
 
See \`config.log' for more details" "$LINENO" 5; }
3308
 
    fi
3309
 
  fi
3310
 
fi
3311
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3312
 
$as_echo "$cross_compiling" >&6; }
3313
 
 
3314
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3315
 
ac_clean_files=$ac_clean_files_save
3316
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3317
 
$as_echo_n "checking for suffix of object files... " >&6; }
3318
 
if ${ac_cv_objext+:} false; then :
3319
 
  $as_echo_n "(cached) " >&6
3320
 
else
3321
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322
 
/* end confdefs.h.  */
3323
 
 
3324
 
int
3325
 
main ()
3326
 
{
3327
 
 
3328
 
  ;
3329
 
  return 0;
3330
 
}
3331
 
_ACEOF
3332
 
rm -f conftest.o conftest.obj
3333
 
if { { ac_try="$ac_compile"
3334
 
case "(($ac_try" in
3335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336
 
  *) ac_try_echo=$ac_try;;
3337
 
esac
3338
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339
 
$as_echo "$ac_try_echo"; } >&5
3340
 
  (eval "$ac_compile") 2>&5
3341
 
  ac_status=$?
3342
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343
 
  test $ac_status = 0; }; then :
3344
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3345
 
  test -f "$ac_file" || continue;
3346
 
  case $ac_file in
3347
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3348
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3349
 
       break;;
3350
 
  esac
3351
 
done
3352
 
else
3353
 
  $as_echo "$as_me: failed program was:" >&5
3354
 
sed 's/^/| /' conftest.$ac_ext >&5
3355
 
 
3356
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3359
 
See \`config.log' for more details" "$LINENO" 5; }
3360
 
fi
3361
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3362
 
fi
3363
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3364
 
$as_echo "$ac_cv_objext" >&6; }
3365
 
OBJEXT=$ac_cv_objext
3366
 
ac_objext=$OBJEXT
3367
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3368
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3369
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3370
 
  $as_echo_n "(cached) " >&6
3371
 
else
3372
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373
 
/* end confdefs.h.  */
3374
 
 
3375
 
int
3376
 
main ()
3377
 
{
3378
 
#ifndef __GNUC__
3379
 
       choke me
3380
 
#endif
3381
 
 
3382
 
  ;
3383
 
  return 0;
3384
 
}
3385
 
_ACEOF
3386
 
if ac_fn_c_try_compile "$LINENO"; then :
3387
 
  ac_compiler_gnu=yes
3388
 
else
3389
 
  ac_compiler_gnu=no
3390
 
fi
3391
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3393
 
 
3394
 
fi
3395
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3396
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3397
 
if test $ac_compiler_gnu = yes; then
3398
 
  GCC=yes
3399
 
else
3400
 
  GCC=
3401
 
fi
3402
 
ac_test_CFLAGS=${CFLAGS+set}
3403
 
ac_save_CFLAGS=$CFLAGS
3404
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3405
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3406
 
if ${ac_cv_prog_cc_g+:} false; then :
3407
 
  $as_echo_n "(cached) " >&6
3408
 
else
3409
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3410
 
   ac_c_werror_flag=yes
3411
 
   ac_cv_prog_cc_g=no
3412
 
   CFLAGS="-g"
3413
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414
 
/* end confdefs.h.  */
3415
 
 
3416
 
int
3417
 
main ()
3418
 
{
3419
 
 
3420
 
  ;
3421
 
  return 0;
3422
 
}
3423
 
_ACEOF
3424
 
if ac_fn_c_try_compile "$LINENO"; then :
3425
 
  ac_cv_prog_cc_g=yes
3426
 
else
3427
 
  CFLAGS=""
3428
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429
 
/* end confdefs.h.  */
3430
 
 
3431
 
int
3432
 
main ()
3433
 
{
3434
 
 
3435
 
  ;
3436
 
  return 0;
3437
 
}
3438
 
_ACEOF
3439
 
if ac_fn_c_try_compile "$LINENO"; then :
3440
 
 
3441
 
else
3442
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3443
 
         CFLAGS="-g"
3444
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445
 
/* end confdefs.h.  */
3446
 
 
3447
 
int
3448
 
main ()
3449
 
{
3450
 
 
3451
 
  ;
3452
 
  return 0;
3453
 
}
3454
 
_ACEOF
3455
 
if ac_fn_c_try_compile "$LINENO"; then :
3456
 
  ac_cv_prog_cc_g=yes
3457
 
fi
3458
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459
 
fi
3460
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461
 
fi
3462
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3464
 
fi
3465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3466
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3467
 
if test "$ac_test_CFLAGS" = set; then
3468
 
  CFLAGS=$ac_save_CFLAGS
3469
 
elif test $ac_cv_prog_cc_g = yes; then
3470
 
  if test "$GCC" = yes; then
3471
 
    CFLAGS="-g -O2"
3472
 
  else
3473
 
    CFLAGS="-g"
3474
 
  fi
3475
 
else
3476
 
  if test "$GCC" = yes; then
3477
 
    CFLAGS="-O2"
3478
 
  else
3479
 
    CFLAGS=
3480
 
  fi
3481
 
fi
3482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3483
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3484
 
if ${ac_cv_prog_cc_c89+:} false; then :
3485
 
  $as_echo_n "(cached) " >&6
3486
 
else
3487
 
  ac_cv_prog_cc_c89=no
3488
 
ac_save_CC=$CC
3489
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490
 
/* end confdefs.h.  */
3491
 
#include <stdarg.h>
3492
 
#include <stdio.h>
3493
 
#include <sys/types.h>
3494
 
#include <sys/stat.h>
3495
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3496
 
struct buf { int x; };
3497
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3498
 
static char *e (p, i)
3499
 
     char **p;
3500
 
     int i;
3501
 
{
3502
 
  return p[i];
3503
 
}
3504
 
static char *f (char * (*g) (char **, int), char **p, ...)
3505
 
{
3506
 
  char *s;
3507
 
  va_list v;
3508
 
  va_start (v,p);
3509
 
  s = g (p, va_arg (v,int));
3510
 
  va_end (v);
3511
 
  return s;
3512
 
}
3513
 
 
3514
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3515
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3516
 
   These don't provoke an error unfortunately, instead are silently treated
3517
 
   as 'x'.  The following induces an error, until -std is added to get
3518
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3519
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3520
 
   that's true only with -std.  */
3521
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3522
 
 
3523
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3524
 
   inside strings and character constants.  */
3525
 
#define FOO(x) 'x'
3526
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3527
 
 
3528
 
int test (int i, double x);
3529
 
struct s1 {int (*f) (int a);};
3530
 
struct s2 {int (*f) (double a);};
3531
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3532
 
int argc;
3533
 
char **argv;
3534
 
int
3535
 
main ()
3536
 
{
3537
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3538
 
  ;
3539
 
  return 0;
3540
 
}
3541
 
_ACEOF
3542
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3543
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3544
 
do
3545
 
  CC="$ac_save_CC $ac_arg"
3546
 
  if ac_fn_c_try_compile "$LINENO"; then :
3547
 
  ac_cv_prog_cc_c89=$ac_arg
3548
 
fi
3549
 
rm -f core conftest.err conftest.$ac_objext
3550
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3551
 
done
3552
 
rm -f conftest.$ac_ext
3553
 
CC=$ac_save_CC
3554
 
 
3555
 
fi
3556
 
# AC_CACHE_VAL
3557
 
case "x$ac_cv_prog_cc_c89" in
3558
 
  x)
3559
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3560
 
$as_echo "none needed" >&6; } ;;
3561
 
  xno)
3562
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3563
 
$as_echo "unsupported" >&6; } ;;
3564
 
  *)
3565
 
    CC="$CC $ac_cv_prog_cc_c89"
3566
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3567
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3568
 
esac
3569
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3570
 
 
3571
 
fi
3572
 
 
3573
 
ac_ext=c
3574
 
ac_cpp='$CPP $CPPFLAGS'
3575
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578
 
DEPDIR="${am__leading_dot}deps"
3579
 
 
3580
 
ac_config_commands="$ac_config_commands depfiles"
3581
 
 
3582
 
 
3583
 
am_make=${MAKE-make}
3584
 
cat > confinc << 'END'
3585
 
am__doit:
3586
 
        @echo this is the am__doit target
3587
 
.PHONY: am__doit
3588
 
END
3589
 
# If we don't find an include directive, just comment out the code.
3590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3591
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3592
 
am__include="#"
3593
 
am__quote=
3594
 
_am_result=none
3595
 
# First try GNU make style include.
3596
 
echo "include confinc" > confmf
3597
 
# Ignore all kinds of additional output from `make'.
3598
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3599
 
*the\ am__doit\ target*)
3600
 
  am__include=include
3601
 
  am__quote=
3602
 
  _am_result=GNU
3603
 
  ;;
3604
 
esac
3605
 
# Now try BSD make style include.
3606
 
if test "$am__include" = "#"; then
3607
 
   echo '.include "confinc"' > confmf
3608
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3609
 
   *the\ am__doit\ target*)
3610
 
     am__include=.include
3611
 
     am__quote="\""
3612
 
     _am_result=BSD
3613
 
     ;;
3614
 
   esac
3615
 
fi
3616
 
 
3617
 
 
3618
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3619
 
$as_echo "$_am_result" >&6; }
3620
 
rm -f confinc confmf
3621
 
 
3622
 
# Check whether --enable-dependency-tracking was given.
3623
 
if test "${enable_dependency_tracking+set}" = set; then :
3624
 
  enableval=$enable_dependency_tracking;
3625
 
fi
3626
 
 
3627
 
if test "x$enable_dependency_tracking" != xno; then
3628
 
  am_depcomp="$ac_aux_dir/depcomp"
3629
 
  AMDEPBACKSLASH='\'
3630
 
fi
3631
 
 if test "x$enable_dependency_tracking" != xno; then
3632
 
  AMDEP_TRUE=
3633
 
  AMDEP_FALSE='#'
3634
 
else
3635
 
  AMDEP_TRUE='#'
3636
 
  AMDEP_FALSE=
3637
 
fi
3638
 
 
3639
 
 
3640
 
 
3641
 
depcc="$CC"   am_compiler_list=
3642
 
 
3643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3644
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3645
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3646
 
  $as_echo_n "(cached) " >&6
3647
 
else
3648
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3649
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3650
 
  # making bogus files that we don't know about and never remove.  For
3651
 
  # instance it was reported that on HP-UX the gcc test will end up
3652
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3653
 
  # in D'.
3654
 
  mkdir conftest.dir
3655
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3656
 
  # using a relative directory.
3657
 
  cp "$am_depcomp" conftest.dir
3658
 
  cd conftest.dir
3659
 
  # We will build objects and dependencies in a subdirectory because
3660
 
  # it helps to detect inapplicable dependency modes.  For instance
3661
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3662
 
  # side effect of compilation, but ICC will put the dependencies in
3663
 
  # the current directory while Tru64 will put them in the object
3664
 
  # directory.
3665
 
  mkdir sub
3666
 
 
3667
 
  am_cv_CC_dependencies_compiler_type=none
3668
 
  if test "$am_compiler_list" = ""; then
3669
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3670
 
  fi
3671
 
  am__universal=false
3672
 
  case " $depcc " in #(
3673
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3674
 
     esac
3675
 
 
3676
 
  for depmode in $am_compiler_list; do
3677
 
    # Setup a source with many dependencies, because some compilers
3678
 
    # like to wrap large dependency lists on column 80 (with \), and
3679
 
    # we should not choose a depcomp mode which is confused by this.
3680
 
    #
3681
 
    # We need to recreate these files for each test, as the compiler may
3682
 
    # overwrite some of them when testing with obscure command lines.
3683
 
    # This happens at least with the AIX C compiler.
3684
 
    : > sub/conftest.c
3685
 
    for i in 1 2 3 4 5 6; do
3686
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3687
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3688
 
      # Solaris 8's {/usr,}/bin/sh.
3689
 
      touch sub/conftst$i.h
3690
 
    done
3691
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3692
 
 
3693
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3694
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3695
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3696
 
    # versions had trouble with output in subdirs
3697
 
    am__obj=sub/conftest.${OBJEXT-o}
3698
 
    am__minus_obj="-o $am__obj"
3699
 
    case $depmode in
3700
 
    gcc)
3701
 
      # This depmode causes a compiler race in universal mode.
3702
 
      test "$am__universal" = false || continue
3703
 
      ;;
3704
 
    nosideeffect)
3705
 
      # after this tag, mechanisms are not by side-effect, so they'll
3706
 
      # only be used when explicitly requested
3707
 
      if test "x$enable_dependency_tracking" = xyes; then
3708
 
        continue
3709
 
      else
3710
 
        break
3711
 
      fi
3712
 
      ;;
3713
 
    msvisualcpp | msvcmsys)
3714
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3715
 
      # not run yet.  These depmodes are late enough in the game, and
3716
 
      # so weak that their functioning should not be impacted.
3717
 
      am__obj=conftest.${OBJEXT-o}
3718
 
      am__minus_obj=
3719
 
      ;;
3720
 
    none) break ;;
3721
 
    esac
3722
 
    if depmode=$depmode \
3723
 
       source=sub/conftest.c object=$am__obj \
3724
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3725
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3726
 
         >/dev/null 2>conftest.err &&
3727
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3728
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3729
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3730
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3731
 
      # icc doesn't choke on unknown options, it will just issue warnings
3732
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3733
 
      # that says an option was ignored or not supported.
3734
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3735
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3736
 
      # The diagnosis changed in icc 8.0:
3737
 
      #   icc: Command line remark: option '-MP' not supported
3738
 
      if (grep 'ignoring option' conftest.err ||
3739
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3740
 
        am_cv_CC_dependencies_compiler_type=$depmode
3741
 
        break
3742
 
      fi
3743
 
    fi
3744
 
  done
3745
 
 
3746
 
  cd ..
3747
 
  rm -rf conftest.dir
3748
 
else
3749
 
  am_cv_CC_dependencies_compiler_type=none
3750
 
fi
3751
 
 
3752
 
fi
3753
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3754
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3755
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3756
 
 
3757
 
 if
3758
 
  test "x$enable_dependency_tracking" != xno \
3759
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3760
 
  am__fastdepCC_TRUE=
3761
 
  am__fastdepCC_FALSE='#'
3762
 
else
3763
 
  am__fastdepCC_TRUE='#'
3764
 
  am__fastdepCC_FALSE=
3765
 
fi
3766
 
 
3767
 
 
3768
 
 
3769
 
 
3770
 
 
3771
 
 
3772
 
GETTEXT_PACKAGE=pdf_converter
3773
 
 
3774
 
 
3775
 
cat >>confdefs.h <<_ACEOF
3776
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3777
 
_ACEOF
3778
 
 
3779
 
 
3780
 
ac_ext=c
3781
 
ac_cpp='$CPP $CPPFLAGS'
3782
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3783
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3784
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3785
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3786
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3787
 
# On Suns, sometimes $CPP names a directory.
3788
 
if test -n "$CPP" && test -d "$CPP"; then
3789
 
  CPP=
3790
 
fi
3791
 
if test -z "$CPP"; then
3792
 
  if ${ac_cv_prog_CPP+:} false; then :
3793
 
  $as_echo_n "(cached) " >&6
3794
 
else
3795
 
      # Double quotes because CPP needs to be expanded
3796
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3797
 
    do
3798
 
      ac_preproc_ok=false
3799
 
for ac_c_preproc_warn_flag in '' yes
3800
 
do
3801
 
  # Use a header file that comes with gcc, so configuring glibc
3802
 
  # with a fresh cross-compiler works.
3803
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804
 
  # <limits.h> exists even on freestanding compilers.
3805
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3806
 
  # not just through cpp. "Syntax error" is here to catch this case.
3807
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808
 
/* end confdefs.h.  */
3809
 
#ifdef __STDC__
3810
 
# include <limits.h>
3811
 
#else
3812
 
# include <assert.h>
3813
 
#endif
3814
 
                     Syntax error
3815
 
_ACEOF
3816
 
if ac_fn_c_try_cpp "$LINENO"; then :
3817
 
 
3818
 
else
3819
 
  # Broken: fails on valid input.
3820
 
continue
3821
 
fi
3822
 
rm -f conftest.err conftest.i conftest.$ac_ext
3823
 
 
3824
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3825
 
  # can be detected and how.
3826
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827
 
/* end confdefs.h.  */
3828
 
#include <ac_nonexistent.h>
3829
 
_ACEOF
3830
 
if ac_fn_c_try_cpp "$LINENO"; then :
3831
 
  # Broken: success on invalid input.
3832
 
continue
3833
 
else
3834
 
  # Passes both tests.
3835
 
ac_preproc_ok=:
3836
 
break
3837
 
fi
3838
 
rm -f conftest.err conftest.i conftest.$ac_ext
3839
 
 
3840
 
done
3841
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3842
 
rm -f conftest.i conftest.err conftest.$ac_ext
3843
 
if $ac_preproc_ok; then :
3844
 
  break
3845
 
fi
3846
 
 
3847
 
    done
3848
 
    ac_cv_prog_CPP=$CPP
3849
 
 
3850
 
fi
3851
 
  CPP=$ac_cv_prog_CPP
3852
 
else
3853
 
  ac_cv_prog_CPP=$CPP
3854
 
fi
3855
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3856
 
$as_echo "$CPP" >&6; }
3857
 
ac_preproc_ok=false
3858
 
for ac_c_preproc_warn_flag in '' yes
3859
 
do
3860
 
  # Use a header file that comes with gcc, so configuring glibc
3861
 
  # with a fresh cross-compiler works.
3862
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3863
 
  # <limits.h> exists even on freestanding compilers.
3864
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3865
 
  # not just through cpp. "Syntax error" is here to catch this case.
3866
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867
 
/* end confdefs.h.  */
3868
 
#ifdef __STDC__
3869
 
# include <limits.h>
3870
 
#else
3871
 
# include <assert.h>
3872
 
#endif
3873
 
                     Syntax error
3874
 
_ACEOF
3875
 
if ac_fn_c_try_cpp "$LINENO"; then :
3876
 
 
3877
 
else
3878
 
  # Broken: fails on valid input.
3879
 
continue
3880
 
fi
3881
 
rm -f conftest.err conftest.i conftest.$ac_ext
3882
 
 
3883
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3884
 
  # can be detected and how.
3885
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886
 
/* end confdefs.h.  */
3887
 
#include <ac_nonexistent.h>
3888
 
_ACEOF
3889
 
if ac_fn_c_try_cpp "$LINENO"; then :
3890
 
  # Broken: success on invalid input.
3891
 
continue
3892
 
else
3893
 
  # Passes both tests.
3894
 
ac_preproc_ok=:
3895
 
break
3896
 
fi
3897
 
rm -f conftest.err conftest.i conftest.$ac_ext
3898
 
 
3899
 
done
3900
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3901
 
rm -f conftest.i conftest.err conftest.$ac_ext
3902
 
if $ac_preproc_ok; then :
3903
 
 
3904
 
else
3905
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3906
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3907
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3908
 
See \`config.log' for more details" "$LINENO" 5; }
3909
 
fi
3910
 
 
3911
 
ac_ext=c
3912
 
ac_cpp='$CPP $CPPFLAGS'
3913
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916
 
 
3917
 
 
3918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3919
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3920
 
if ${ac_cv_path_GREP+:} false; then :
3921
 
  $as_echo_n "(cached) " >&6
3922
 
else
3923
 
  if test -z "$GREP"; then
3924
 
  ac_path_GREP_found=false
3925
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3926
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3928
 
do
3929
 
  IFS=$as_save_IFS
3930
 
  test -z "$as_dir" && as_dir=.
3931
 
    for ac_prog in grep ggrep; do
3932
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3933
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3934
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3935
 
# Check for GNU ac_path_GREP and select it if it is found.
3936
 
  # Check for GNU $ac_path_GREP
3937
 
case `"$ac_path_GREP" --version 2>&1` in
3938
 
*GNU*)
3939
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3940
 
*)
3941
 
  ac_count=0
3942
 
  $as_echo_n 0123456789 >"conftest.in"
3943
 
  while :
3944
 
  do
3945
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3946
 
    mv "conftest.tmp" "conftest.in"
3947
 
    cp "conftest.in" "conftest.nl"
3948
 
    $as_echo 'GREP' >> "conftest.nl"
3949
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3950
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3951
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3952
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3953
 
      # Best one so far, save it but keep looking for a better one
3954
 
      ac_cv_path_GREP="$ac_path_GREP"
3955
 
      ac_path_GREP_max=$ac_count
3956
 
    fi
3957
 
    # 10*(2^10) chars as input seems more than enough
3958
 
    test $ac_count -gt 10 && break
3959
 
  done
3960
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3961
 
esac
3962
 
 
3963
 
      $ac_path_GREP_found && break 3
3964
 
    done
3965
 
  done
3966
 
  done
3967
 
IFS=$as_save_IFS
3968
 
  if test -z "$ac_cv_path_GREP"; then
3969
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3970
 
  fi
3971
 
else
3972
 
  ac_cv_path_GREP=$GREP
3973
 
fi
3974
 
 
3975
 
fi
3976
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3977
 
$as_echo "$ac_cv_path_GREP" >&6; }
3978
 
 GREP="$ac_cv_path_GREP"
3979
 
 
3980
 
 
3981
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3982
 
$as_echo_n "checking for egrep... " >&6; }
3983
 
if ${ac_cv_path_EGREP+:} false; then :
3984
 
  $as_echo_n "(cached) " >&6
3985
 
else
3986
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3987
 
   then ac_cv_path_EGREP="$GREP -E"
3988
 
   else
3989
 
     if test -z "$EGREP"; then
3990
 
  ac_path_EGREP_found=false
3991
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3992
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3994
 
do
3995
 
  IFS=$as_save_IFS
3996
 
  test -z "$as_dir" && as_dir=.
3997
 
    for ac_prog in egrep; do
3998
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3999
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4000
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4001
 
# Check for GNU ac_path_EGREP and select it if it is found.
4002
 
  # Check for GNU $ac_path_EGREP
4003
 
case `"$ac_path_EGREP" --version 2>&1` in
4004
 
*GNU*)
4005
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4006
 
*)
4007
 
  ac_count=0
4008
 
  $as_echo_n 0123456789 >"conftest.in"
4009
 
  while :
4010
 
  do
4011
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4012
 
    mv "conftest.tmp" "conftest.in"
4013
 
    cp "conftest.in" "conftest.nl"
4014
 
    $as_echo 'EGREP' >> "conftest.nl"
4015
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4016
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4017
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4018
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4019
 
      # Best one so far, save it but keep looking for a better one
4020
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4021
 
      ac_path_EGREP_max=$ac_count
4022
 
    fi
4023
 
    # 10*(2^10) chars as input seems more than enough
4024
 
    test $ac_count -gt 10 && break
4025
 
  done
4026
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4027
 
esac
4028
 
 
4029
 
      $ac_path_EGREP_found && break 3
4030
 
    done
4031
 
  done
4032
 
  done
4033
 
IFS=$as_save_IFS
4034
 
  if test -z "$ac_cv_path_EGREP"; then
4035
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4036
 
  fi
4037
 
else
4038
 
  ac_cv_path_EGREP=$EGREP
4039
 
fi
4040
 
 
4041
 
   fi
4042
 
fi
4043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4044
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4045
 
 EGREP="$ac_cv_path_EGREP"
4046
 
 
4047
 
 
4048
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4049
 
$as_echo_n "checking for ANSI C header files... " >&6; }
4050
 
if ${ac_cv_header_stdc+:} false; then :
4051
 
  $as_echo_n "(cached) " >&6
4052
 
else
4053
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054
 
/* end confdefs.h.  */
4055
 
#include <stdlib.h>
4056
 
#include <stdarg.h>
4057
 
#include <string.h>
4058
 
#include <float.h>
4059
 
 
4060
 
int
4061
 
main ()
4062
 
{
4063
 
 
4064
 
  ;
4065
 
  return 0;
4066
 
}
4067
 
_ACEOF
4068
 
if ac_fn_c_try_compile "$LINENO"; then :
4069
 
  ac_cv_header_stdc=yes
4070
 
else
4071
 
  ac_cv_header_stdc=no
4072
 
fi
4073
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4074
 
 
4075
 
if test $ac_cv_header_stdc = yes; then
4076
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4077
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078
 
/* end confdefs.h.  */
4079
 
#include <string.h>
4080
 
 
4081
 
_ACEOF
4082
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4083
 
  $EGREP "memchr" >/dev/null 2>&1; then :
4084
 
 
4085
 
else
4086
 
  ac_cv_header_stdc=no
4087
 
fi
4088
 
rm -f conftest*
4089
 
 
4090
 
fi
4091
 
 
4092
 
if test $ac_cv_header_stdc = yes; then
4093
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4094
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095
 
/* end confdefs.h.  */
4096
 
#include <stdlib.h>
4097
 
 
4098
 
_ACEOF
4099
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4100
 
  $EGREP "free" >/dev/null 2>&1; then :
4101
 
 
4102
 
else
4103
 
  ac_cv_header_stdc=no
4104
 
fi
4105
 
rm -f conftest*
4106
 
 
4107
 
fi
4108
 
 
4109
 
if test $ac_cv_header_stdc = yes; then
4110
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4111
 
  if test "$cross_compiling" = yes; then :
4112
 
  :
4113
 
else
4114
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115
 
/* end confdefs.h.  */
4116
 
#include <ctype.h>
4117
 
#include <stdlib.h>
4118
 
#if ((' ' & 0x0FF) == 0x020)
4119
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4120
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4121
 
#else
4122
 
# define ISLOWER(c) \
4123
 
                   (('a' <= (c) && (c) <= 'i') \
4124
 
                     || ('j' <= (c) && (c) <= 'r') \
4125
 
                     || ('s' <= (c) && (c) <= 'z'))
4126
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4127
 
#endif
4128
 
 
4129
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4130
 
int
4131
 
main ()
4132
 
{
4133
 
  int i;
4134
 
  for (i = 0; i < 256; i++)
4135
 
    if (XOR (islower (i), ISLOWER (i))
4136
 
        || toupper (i) != TOUPPER (i))
4137
 
      return 2;
4138
 
  return 0;
4139
 
}
4140
 
_ACEOF
4141
 
if ac_fn_c_try_run "$LINENO"; then :
4142
 
 
4143
 
else
4144
 
  ac_cv_header_stdc=no
4145
 
fi
4146
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4147
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4148
 
fi
4149
 
 
4150
 
fi
4151
 
fi
4152
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4153
 
$as_echo "$ac_cv_header_stdc" >&6; }
4154
 
if test $ac_cv_header_stdc = yes; then
4155
 
 
4156
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4157
 
 
4158
 
fi
4159
 
 
4160
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4161
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4162
 
                  inttypes.h stdint.h unistd.h
4163
 
do :
4164
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4165
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4166
 
"
4167
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4168
 
  cat >>confdefs.h <<_ACEOF
4169
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4170
 
_ACEOF
4171
 
 
4172
 
fi
4173
 
 
4174
 
done
4175
 
 
4176
 
 
4177
 
 
4178
 
   for ac_header in locale.h
4179
 
do :
4180
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4181
 
if test "x$ac_cv_header_locale_h" = xyes; then :
4182
 
  cat >>confdefs.h <<_ACEOF
4183
 
#define HAVE_LOCALE_H 1
4184
 
_ACEOF
4185
 
 
4186
 
fi
4187
 
 
4188
 
done
4189
 
 
4190
 
    if test $ac_cv_header_locale_h = yes; then
4191
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
4192
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
4193
 
if ${am_cv_val_LC_MESSAGES+:} false; then :
4194
 
  $as_echo_n "(cached) " >&6
4195
 
else
4196
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197
 
/* end confdefs.h.  */
4198
 
#include <locale.h>
4199
 
int
4200
 
main ()
4201
 
{
4202
 
return LC_MESSAGES
4203
 
  ;
4204
 
  return 0;
4205
 
}
4206
 
_ACEOF
4207
 
if ac_fn_c_try_link "$LINENO"; then :
4208
 
  am_cv_val_LC_MESSAGES=yes
4209
 
else
4210
 
  am_cv_val_LC_MESSAGES=no
4211
 
fi
4212
 
rm -f core conftest.err conftest.$ac_objext \
4213
 
    conftest$ac_exeext conftest.$ac_ext
4214
 
fi
4215
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
4216
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
4217
 
    if test $am_cv_val_LC_MESSAGES = yes; then
4218
 
 
4219
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
4220
 
 
4221
 
    fi
4222
 
  fi
4223
 
     USE_NLS=yes
4224
 
 
4225
 
 
4226
 
    gt_cv_have_gettext=no
4227
 
 
4228
 
    CATOBJEXT=NONE
4229
 
    XGETTEXT=:
4230
 
    INTLLIBS=
4231
 
 
4232
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4233
 
if test "x$ac_cv_header_libintl_h" = xyes; then :
4234
 
  gt_cv_func_dgettext_libintl="no"
4235
 
      libintl_extra_libs=""
4236
 
 
4237
 
      #
4238
 
      # First check in libc
4239
 
      #
4240
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
4241
 
$as_echo_n "checking for ngettext in libc... " >&6; }
4242
 
if ${gt_cv_func_ngettext_libc+:} false; then :
4243
 
  $as_echo_n "(cached) " >&6
4244
 
else
4245
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246
 
/* end confdefs.h.  */
4247
 
 
4248
 
#include <libintl.h>
4249
 
 
4250
 
int
4251
 
main ()
4252
 
{
4253
 
return !ngettext ("","", 1)
4254
 
  ;
4255
 
  return 0;
4256
 
}
4257
 
_ACEOF
4258
 
if ac_fn_c_try_link "$LINENO"; then :
4259
 
  gt_cv_func_ngettext_libc=yes
4260
 
else
4261
 
  gt_cv_func_ngettext_libc=no
4262
 
fi
4263
 
rm -f core conftest.err conftest.$ac_objext \
4264
 
    conftest$ac_exeext conftest.$ac_ext
4265
 
 
4266
 
fi
4267
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
4268
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
4269
 
 
4270
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4271
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
4272
 
$as_echo_n "checking for dgettext in libc... " >&6; }
4273
 
if ${gt_cv_func_dgettext_libc+:} false; then :
4274
 
  $as_echo_n "(cached) " >&6
4275
 
else
4276
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277
 
/* end confdefs.h.  */
4278
 
 
4279
 
#include <libintl.h>
4280
 
 
4281
 
int
4282
 
main ()
4283
 
{
4284
 
return !dgettext ("","")
4285
 
  ;
4286
 
  return 0;
4287
 
}
4288
 
_ACEOF
4289
 
if ac_fn_c_try_link "$LINENO"; then :
4290
 
  gt_cv_func_dgettext_libc=yes
4291
 
else
4292
 
  gt_cv_func_dgettext_libc=no
4293
 
fi
4294
 
rm -f core conftest.err conftest.$ac_objext \
4295
 
    conftest$ac_exeext conftest.$ac_ext
4296
 
 
4297
 
fi
4298
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
4299
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
4300
 
      fi
4301
 
 
4302
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
4303
 
        for ac_func in bind_textdomain_codeset
4304
 
do :
4305
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4306
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4307
 
  cat >>confdefs.h <<_ACEOF
4308
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
4309
 
_ACEOF
4310
 
 
4311
 
fi
4312
 
done
4313
 
 
4314
 
      fi
4315
 
 
4316
 
      #
4317
 
      # If we don't have everything we want, check in libintl
4318
 
      #
4319
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
4320
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
4321
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4322
 
 
4323
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
4324
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
4325
 
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
4326
 
  $as_echo_n "(cached) " >&6
4327
 
else
4328
 
  ac_check_lib_save_LIBS=$LIBS
4329
 
LIBS="-lintl  $LIBS"
4330
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331
 
/* end confdefs.h.  */
4332
 
 
4333
 
/* Override any GCC internal prototype to avoid an error.
4334
 
   Use char because int might match the return type of a GCC
4335
 
   builtin and then its argument prototype would still apply.  */
4336
 
#ifdef __cplusplus
4337
 
extern "C"
4338
 
#endif
4339
 
char bindtextdomain ();
4340
 
int
4341
 
main ()
4342
 
{
4343
 
return bindtextdomain ();
4344
 
  ;
4345
 
  return 0;
4346
 
}
4347
 
_ACEOF
4348
 
if ac_fn_c_try_link "$LINENO"; then :
4349
 
  ac_cv_lib_intl_bindtextdomain=yes
4350
 
else
4351
 
  ac_cv_lib_intl_bindtextdomain=no
4352
 
fi
4353
 
rm -f core conftest.err conftest.$ac_objext \
4354
 
    conftest$ac_exeext conftest.$ac_ext
4355
 
LIBS=$ac_check_lib_save_LIBS
4356
 
fi
4357
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
4358
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
4359
 
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
4360
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
4361
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
4362
 
if ${ac_cv_lib_intl_ngettext+:} false; then :
4363
 
  $as_echo_n "(cached) " >&6
4364
 
else
4365
 
  ac_check_lib_save_LIBS=$LIBS
4366
 
LIBS="-lintl  $LIBS"
4367
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368
 
/* end confdefs.h.  */
4369
 
 
4370
 
/* Override any GCC internal prototype to avoid an error.
4371
 
   Use char because int might match the return type of a GCC
4372
 
   builtin and then its argument prototype would still apply.  */
4373
 
#ifdef __cplusplus
4374
 
extern "C"
4375
 
#endif
4376
 
char ngettext ();
4377
 
int
4378
 
main ()
4379
 
{
4380
 
return ngettext ();
4381
 
  ;
4382
 
  return 0;
4383
 
}
4384
 
_ACEOF
4385
 
if ac_fn_c_try_link "$LINENO"; then :
4386
 
  ac_cv_lib_intl_ngettext=yes
4387
 
else
4388
 
  ac_cv_lib_intl_ngettext=no
4389
 
fi
4390
 
rm -f core conftest.err conftest.$ac_objext \
4391
 
    conftest$ac_exeext conftest.$ac_ext
4392
 
LIBS=$ac_check_lib_save_LIBS
4393
 
fi
4394
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
4395
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
4396
 
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
4397
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
4398
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
4399
 
if ${ac_cv_lib_intl_dgettext+:} false; then :
4400
 
  $as_echo_n "(cached) " >&6
4401
 
else
4402
 
  ac_check_lib_save_LIBS=$LIBS
4403
 
LIBS="-lintl  $LIBS"
4404
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405
 
/* end confdefs.h.  */
4406
 
 
4407
 
/* Override any GCC internal prototype to avoid an error.
4408
 
   Use char because int might match the return type of a GCC
4409
 
   builtin and then its argument prototype would still apply.  */
4410
 
#ifdef __cplusplus
4411
 
extern "C"
4412
 
#endif
4413
 
char dgettext ();
4414
 
int
4415
 
main ()
4416
 
{
4417
 
return dgettext ();
4418
 
  ;
4419
 
  return 0;
4420
 
}
4421
 
_ACEOF
4422
 
if ac_fn_c_try_link "$LINENO"; then :
4423
 
  ac_cv_lib_intl_dgettext=yes
4424
 
else
4425
 
  ac_cv_lib_intl_dgettext=no
4426
 
fi
4427
 
rm -f core conftest.err conftest.$ac_objext \
4428
 
    conftest$ac_exeext conftest.$ac_ext
4429
 
LIBS=$ac_check_lib_save_LIBS
4430
 
fi
4431
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
4432
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
4433
 
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
4434
 
  gt_cv_func_dgettext_libintl=yes
4435
 
fi
4436
 
 
4437
 
fi
4438
 
 
4439
 
fi
4440
 
 
4441
 
 
4442
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
4443
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
4444
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
4445
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
4446
 
$as_echo "" >&6; }
4447
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
4448
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
4449
 
if ${ac_cv_lib_intl_ngettext+:} false; then :
4450
 
  $as_echo_n "(cached) " >&6
4451
 
else
4452
 
  ac_check_lib_save_LIBS=$LIBS
4453
 
LIBS="-lintl -liconv $LIBS"
4454
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455
 
/* end confdefs.h.  */
4456
 
 
4457
 
/* Override any GCC internal prototype to avoid an error.
4458
 
   Use char because int might match the return type of a GCC
4459
 
   builtin and then its argument prototype would still apply.  */
4460
 
#ifdef __cplusplus
4461
 
extern "C"
4462
 
#endif
4463
 
char ngettext ();
4464
 
int
4465
 
main ()
4466
 
{
4467
 
return ngettext ();
4468
 
  ;
4469
 
  return 0;
4470
 
}
4471
 
_ACEOF
4472
 
if ac_fn_c_try_link "$LINENO"; then :
4473
 
  ac_cv_lib_intl_ngettext=yes
4474
 
else
4475
 
  ac_cv_lib_intl_ngettext=no
4476
 
fi
4477
 
rm -f core conftest.err conftest.$ac_objext \
4478
 
    conftest$ac_exeext conftest.$ac_ext
4479
 
LIBS=$ac_check_lib_save_LIBS
4480
 
fi
4481
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
4482
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
4483
 
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
4484
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
4485
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
4486
 
if ${ac_cv_lib_intl_dcgettext+:} false; then :
4487
 
  $as_echo_n "(cached) " >&6
4488
 
else
4489
 
  ac_check_lib_save_LIBS=$LIBS
4490
 
LIBS="-lintl -liconv $LIBS"
4491
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492
 
/* end confdefs.h.  */
4493
 
 
4494
 
/* Override any GCC internal prototype to avoid an error.
4495
 
   Use char because int might match the return type of a GCC
4496
 
   builtin and then its argument prototype would still apply.  */
4497
 
#ifdef __cplusplus
4498
 
extern "C"
4499
 
#endif
4500
 
char dcgettext ();
4501
 
int
4502
 
main ()
4503
 
{
4504
 
return dcgettext ();
4505
 
  ;
4506
 
  return 0;
4507
 
}
4508
 
_ACEOF
4509
 
if ac_fn_c_try_link "$LINENO"; then :
4510
 
  ac_cv_lib_intl_dcgettext=yes
4511
 
else
4512
 
  ac_cv_lib_intl_dcgettext=no
4513
 
fi
4514
 
rm -f core conftest.err conftest.$ac_objext \
4515
 
    conftest$ac_exeext conftest.$ac_ext
4516
 
LIBS=$ac_check_lib_save_LIBS
4517
 
fi
4518
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
4519
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
4520
 
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
4521
 
  gt_cv_func_dgettext_libintl=yes
4522
 
                        libintl_extra_libs=-liconv
4523
 
else
4524
 
  :
4525
 
fi
4526
 
 
4527
 
else
4528
 
  :
4529
 
fi
4530
 
 
4531
 
        fi
4532
 
 
4533
 
        #
4534
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
4535
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
4536
 
        # and both have dgettext and ngettext
4537
 
        #
4538
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
4539
 
          glib_save_LIBS="$LIBS"
4540
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
4541
 
          unset ac_cv_func_bind_textdomain_codeset
4542
 
          for ac_func in bind_textdomain_codeset
4543
 
do :
4544
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4545
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4546
 
  cat >>confdefs.h <<_ACEOF
4547
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
4548
 
_ACEOF
4549
 
 
4550
 
fi
4551
 
done
4552
 
 
4553
 
          LIBS="$glib_save_LIBS"
4554
 
 
4555
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
4556
 
            gt_cv_func_dgettext_libc=no
4557
 
          else
4558
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
4559
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
4560
 
              gt_cv_func_dgettext_libintl=no
4561
 
            fi
4562
 
          fi
4563
 
        fi
4564
 
      fi
4565
 
 
4566
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
4567
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
4568
 
        gt_cv_have_gettext=yes
4569
 
      fi
4570
 
 
4571
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
4572
 
        INTLLIBS="-lintl $libintl_extra_libs"
4573
 
      fi
4574
 
 
4575
 
      if test "$gt_cv_have_gettext" = "yes"; then
4576
 
 
4577
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
4578
 
 
4579
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
4580
 
set dummy msgfmt; ac_word=$2
4581
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4582
 
$as_echo_n "checking for $ac_word... " >&6; }
4583
 
if ${ac_cv_path_MSGFMT+:} false; then :
4584
 
  $as_echo_n "(cached) " >&6
4585
 
else
4586
 
  case "$MSGFMT" in
4587
 
  /*)
4588
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4589
 
  ;;
4590
 
  *)
4591
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4592
 
  for ac_dir in $PATH; do
4593
 
    test -z "$ac_dir" && ac_dir=.
4594
 
    if test -f $ac_dir/$ac_word; then
4595
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
4596
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4597
 
        break
4598
 
      fi
4599
 
    fi
4600
 
  done
4601
 
  IFS="$ac_save_ifs"
4602
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
4603
 
  ;;
4604
 
esac
4605
 
fi
4606
 
MSGFMT="$ac_cv_path_MSGFMT"
4607
 
if test "$MSGFMT" != "no"; then
4608
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4609
 
$as_echo "$MSGFMT" >&6; }
4610
 
else
4611
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612
 
$as_echo "no" >&6; }
4613
 
fi
4614
 
        if test "$MSGFMT" != "no"; then
4615
 
          glib_save_LIBS="$LIBS"
4616
 
          LIBS="$LIBS $INTLLIBS"
4617
 
          for ac_func in dcgettext
4618
 
do :
4619
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
4620
 
if test "x$ac_cv_func_dcgettext" = xyes; then :
4621
 
  cat >>confdefs.h <<_ACEOF
4622
 
#define HAVE_DCGETTEXT 1
4623
 
_ACEOF
4624
 
 
4625
 
fi
4626
 
done
4627
 
 
4628
 
          MSGFMT_OPTS=
4629
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
4630
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
4631
 
          cat >conftest.foo <<_ACEOF
4632
 
 
4633
 
msgid ""
4634
 
msgstr ""
4635
 
"Content-Type: text/plain; charset=UTF-8\n"
4636
 
"Project-Id-Version: test 1.0\n"
4637
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
4638
 
"Last-Translator: test <foo@bar.xx>\n"
4639
 
"Language-Team: C <LL@li.org>\n"
4640
 
"MIME-Version: 1.0\n"
4641
 
"Content-Transfer-Encoding: 8bit\n"
4642
 
 
4643
 
_ACEOF
4644
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
4645
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
4646
 
  ac_status=$?
4647
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4648
 
  test $ac_status = 0; }; then
4649
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4650
 
$as_echo "yes" >&6; }
4651
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652
 
$as_echo "no" >&6; }
4653
 
echo "$as_me: failed input was:" >&5
4654
 
sed 's/^/| /' conftest.foo >&5
4655
 
fi
4656
 
 
4657
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
4658
 
set dummy gmsgfmt; ac_word=$2
4659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660
 
$as_echo_n "checking for $ac_word... " >&6; }
4661
 
if ${ac_cv_path_GMSGFMT+:} false; then :
4662
 
  $as_echo_n "(cached) " >&6
4663
 
else
4664
 
  case $GMSGFMT in
4665
 
  [\\/]* | ?:[\\/]*)
4666
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4667
 
  ;;
4668
 
  *)
4669
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670
 
for as_dir in $PATH
4671
 
do
4672
 
  IFS=$as_save_IFS
4673
 
  test -z "$as_dir" && as_dir=.
4674
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4675
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4677
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678
 
    break 2
4679
 
  fi
4680
 
done
4681
 
  done
4682
 
IFS=$as_save_IFS
4683
 
 
4684
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4685
 
  ;;
4686
 
esac
4687
 
fi
4688
 
GMSGFMT=$ac_cv_path_GMSGFMT
4689
 
if test -n "$GMSGFMT"; then
4690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4691
 
$as_echo "$GMSGFMT" >&6; }
4692
 
else
4693
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694
 
$as_echo "no" >&6; }
4695
 
fi
4696
 
 
4697
 
 
4698
 
          # Extract the first word of "xgettext", so it can be a program name with args.
4699
 
set dummy xgettext; ac_word=$2
4700
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701
 
$as_echo_n "checking for $ac_word... " >&6; }
4702
 
if ${ac_cv_path_XGETTEXT+:} false; then :
4703
 
  $as_echo_n "(cached) " >&6
4704
 
else
4705
 
  case "$XGETTEXT" in
4706
 
  /*)
4707
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4708
 
  ;;
4709
 
  *)
4710
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4711
 
  for ac_dir in $PATH; do
4712
 
    test -z "$ac_dir" && ac_dir=.
4713
 
    if test -f $ac_dir/$ac_word; then
4714
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
4715
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4716
 
        break
4717
 
      fi
4718
 
    fi
4719
 
  done
4720
 
  IFS="$ac_save_ifs"
4721
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4722
 
  ;;
4723
 
esac
4724
 
fi
4725
 
XGETTEXT="$ac_cv_path_XGETTEXT"
4726
 
if test "$XGETTEXT" != ":"; then
4727
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4728
 
$as_echo "$XGETTEXT" >&6; }
4729
 
else
4730
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731
 
$as_echo "no" >&6; }
4732
 
fi
4733
 
 
4734
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735
 
/* end confdefs.h.  */
4736
 
 
4737
 
int
4738
 
main ()
4739
 
{
4740
 
extern int _nl_msg_cat_cntr;
4741
 
                         return _nl_msg_cat_cntr
4742
 
  ;
4743
 
  return 0;
4744
 
}
4745
 
_ACEOF
4746
 
if ac_fn_c_try_link "$LINENO"; then :
4747
 
  CATOBJEXT=.gmo
4748
 
             DATADIRNAME=share
4749
 
else
4750
 
  case $host in
4751
 
            *-*-solaris*)
4752
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4753
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4754
 
  CATOBJEXT=.gmo
4755
 
               DATADIRNAME=share
4756
 
else
4757
 
  CATOBJEXT=.mo
4758
 
               DATADIRNAME=lib
4759
 
fi
4760
 
 
4761
 
            ;;
4762
 
            *)
4763
 
            CATOBJEXT=.mo
4764
 
            DATADIRNAME=lib
4765
 
            ;;
4766
 
            esac
4767
 
fi
4768
 
rm -f core conftest.err conftest.$ac_objext \
4769
 
    conftest$ac_exeext conftest.$ac_ext
4770
 
          LIBS="$glib_save_LIBS"
4771
 
          INSTOBJEXT=.mo
4772
 
        else
4773
 
          gt_cv_have_gettext=no
4774
 
        fi
4775
 
      fi
4776
 
 
4777
 
fi
4778
 
 
4779
 
 
4780
 
 
4781
 
    if test "$gt_cv_have_gettext" = "yes" ; then
4782
 
 
4783
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
4784
 
 
4785
 
    fi
4786
 
 
4787
 
        if test "$XGETTEXT" != ":"; then
4788
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
4789
 
        : ;
4790
 
      else
4791
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4792
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4793
 
        XGETTEXT=":"
4794
 
      fi
4795
 
    fi
4796
 
 
4797
 
    # We need to process the po/ directory.
4798
 
    POSUB=po
4799
 
 
4800
 
    ac_config_commands="$ac_config_commands default-1"
4801
 
 
4802
 
 
4803
 
                for lang in $ALL_LINGUAS; do
4804
 
      GMOFILES="$GMOFILES $lang.gmo"
4805
 
      POFILES="$POFILES $lang.po"
4806
 
    done
4807
 
 
4808
 
 
4809
 
 
4810
 
 
4811
 
 
4812
 
 
4813
 
 
4814
 
 
4815
 
 
4816
 
 
4817
 
 
4818
 
 
4819
 
 
4820
 
   if test "$gt_cv_have_gettext" = "yes"; then
4821
 
     if test "x$ALL_LINGUAS" = "x"; then
4822
 
       LINGUAS=
4823
 
     else
4824
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
4825
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
4826
 
       NEW_LINGUAS=
4827
 
       for presentlang in $ALL_LINGUAS; do
4828
 
         useit=no
4829
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
4830
 
           desiredlanguages="$LINGUAS"
4831
 
         else
4832
 
           desiredlanguages="$ALL_LINGUAS"
4833
 
         fi
4834
 
         for desiredlang in $desiredlanguages; do
4835
 
           # Use the presentlang catalog if desiredlang is
4836
 
           #   a. equal to presentlang, or
4837
 
           #   b. a variant of presentlang (because in this case,
4838
 
           #      presentlang can be used as a fallback for messages
4839
 
           #      which are not translated in the desiredlang catalog).
4840
 
           case "$desiredlang" in
4841
 
             "$presentlang"*) useit=yes;;
4842
 
           esac
4843
 
         done
4844
 
         if test $useit = yes; then
4845
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
4846
 
         fi
4847
 
       done
4848
 
       LINGUAS=$NEW_LINGUAS
4849
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
4850
 
$as_echo "$LINGUAS" >&6; }
4851
 
     fi
4852
 
 
4853
 
          if test -n "$LINGUAS"; then
4854
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
4855
 
     fi
4856
 
   fi
4857
 
 
4858
 
            MKINSTALLDIRS=
4859
 
   if test -n "$ac_aux_dir"; then
4860
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
4861
 
   fi
4862
 
   if test -z "$MKINSTALLDIRS"; then
4863
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4864
 
   fi
4865
 
 
4866
 
 
4867
 
         test -d po || mkdir po
4868
 
   if test "x$srcdir" != "x."; then
4869
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
4870
 
       posrcprefix="$srcdir/"
4871
 
     else
4872
 
       posrcprefix="../$srcdir/"
4873
 
     fi
4874
 
   else
4875
 
     posrcprefix="../"
4876
 
   fi
4877
 
   rm -f po/POTFILES
4878
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
4879
 
        < $srcdir/po/POTFILES.in > po/POTFILES
4880
 
 
4881
 
 
4882
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4883
 
$as_echo_n "checking whether NLS is requested... " >&6; }
4884
 
    # Check whether --enable-nls was given.
4885
 
if test "${enable_nls+set}" = set; then :
4886
 
  enableval=$enable_nls; USE_NLS=$enableval
4887
 
else
4888
 
  USE_NLS=yes
4889
 
fi
4890
 
 
4891
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4892
 
$as_echo "$USE_NLS" >&6; }
4893
 
 
4894
 
 
4895
 
 
4896
 
 
4897
 
case "$am__api_version" in
4898
 
    1.01234)
4899
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4900
 
    ;;
4901
 
    *)
4902
 
    ;;
4903
 
esac
4904
 
 
4905
 
if test -n "0.35.0"; then
4906
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4907
 
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4908
 
 
4909
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4910
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4911
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4912
 
 
4913
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4914
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4915
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4916
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4917
 
fi
4918
 
 
4919
 
# Extract the first word of "intltool-update", so it can be a program name with args.
4920
 
set dummy intltool-update; ac_word=$2
4921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922
 
$as_echo_n "checking for $ac_word... " >&6; }
4923
 
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4924
 
  $as_echo_n "(cached) " >&6
4925
 
else
4926
 
  case $INTLTOOL_UPDATE in
4927
 
  [\\/]* | ?:[\\/]*)
4928
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4929
 
  ;;
4930
 
  *)
4931
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932
 
for as_dir in $PATH
4933
 
do
4934
 
  IFS=$as_save_IFS
4935
 
  test -z "$as_dir" && as_dir=.
4936
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4937
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4938
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4939
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940
 
    break 2
4941
 
  fi
4942
 
done
4943
 
  done
4944
 
IFS=$as_save_IFS
4945
 
 
4946
 
  ;;
4947
 
esac
4948
 
fi
4949
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4950
 
if test -n "$INTLTOOL_UPDATE"; then
4951
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4952
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
4953
 
else
4954
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955
 
$as_echo "no" >&6; }
4956
 
fi
4957
 
 
4958
 
 
4959
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
4960
 
set dummy intltool-merge; ac_word=$2
4961
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962
 
$as_echo_n "checking for $ac_word... " >&6; }
4963
 
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4964
 
  $as_echo_n "(cached) " >&6
4965
 
else
4966
 
  case $INTLTOOL_MERGE in
4967
 
  [\\/]* | ?:[\\/]*)
4968
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4969
 
  ;;
4970
 
  *)
4971
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972
 
for as_dir in $PATH
4973
 
do
4974
 
  IFS=$as_save_IFS
4975
 
  test -z "$as_dir" && as_dir=.
4976
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4977
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4978
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4979
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980
 
    break 2
4981
 
  fi
4982
 
done
4983
 
  done
4984
 
IFS=$as_save_IFS
4985
 
 
4986
 
  ;;
4987
 
esac
4988
 
fi
4989
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4990
 
if test -n "$INTLTOOL_MERGE"; then
4991
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4992
 
$as_echo "$INTLTOOL_MERGE" >&6; }
4993
 
else
4994
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995
 
$as_echo "no" >&6; }
4996
 
fi
4997
 
 
4998
 
 
4999
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
5000
 
set dummy intltool-extract; ac_word=$2
5001
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002
 
$as_echo_n "checking for $ac_word... " >&6; }
5003
 
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5004
 
  $as_echo_n "(cached) " >&6
5005
 
else
5006
 
  case $INTLTOOL_EXTRACT in
5007
 
  [\\/]* | ?:[\\/]*)
5008
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5009
 
  ;;
5010
 
  *)
5011
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012
 
for as_dir in $PATH
5013
 
do
5014
 
  IFS=$as_save_IFS
5015
 
  test -z "$as_dir" && as_dir=.
5016
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5017
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5019
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020
 
    break 2
5021
 
  fi
5022
 
done
5023
 
  done
5024
 
IFS=$as_save_IFS
5025
 
 
5026
 
  ;;
5027
 
esac
5028
 
fi
5029
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5030
 
if test -n "$INTLTOOL_EXTRACT"; then
5031
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5032
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
5033
 
else
5034
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035
 
$as_echo "no" >&6; }
5036
 
fi
5037
 
 
5038
 
 
5039
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5040
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5041
 
fi
5042
 
 
5043
 
  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 $< $@'
5044
 
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 $< $@'
5045
 
     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 $< $@'
5046
 
     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 $< $@'
5047
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
5048
 
     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 $< $@'
5049
 
   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 $< $@'
5050
 
    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 $< $@'
5051
 
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 $< $@'
5052
 
       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 $< $@'
5053
 
      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 $< $@'
5054
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
5055
 
      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 $< $@'
5056
 
      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 $< $@'
5057
 
    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 $< $@'
5058
 
  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 $< $@'
5059
 
    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 $< $@'
5060
 
    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 $< $@'
5061
 
   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 $< $@'
5062
 
 
5063
 
 
5064
 
 
5065
 
 
5066
 
 
5067
 
 
5068
 
 
5069
 
 
5070
 
 
5071
 
 
5072
 
 
5073
 
 
5074
 
 
5075
 
 
5076
 
 
5077
 
 
5078
 
 
5079
 
 
5080
 
 
5081
 
 
5082
 
 
5083
 
 
5084
 
 
5085
 
 
5086
 
 
5087
 
 
5088
 
 
5089
 
 
5090
 
 
5091
 
 
5092
 
 
5093
 
 
5094
 
 
5095
 
 
5096
 
 
5097
 
 
5098
 
 
5099
 
 
5100
 
 
5101
 
 
5102
 
 
5103
 
 
5104
 
 
5105
 
 
5106
 
 
5107
 
 
5108
 
 
5109
 
 
5110
 
 
5111
 
 
5112
 
 
5113
 
 
5114
 
 
5115
 
 
5116
 
 
5117
 
 
5118
 
 
5119
 
 
5120
 
 
5121
 
 
5122
 
 
5123
 
 
5124
 
 
5125
 
 
5126
 
 
5127
 
 
5128
 
 
5129
 
 
5130
 
 
5131
 
 
5132
 
 
5133
 
 
5134
 
 
5135
 
 
5136
 
 
5137
 
 
5138
 
 
5139
 
 
5140
 
 
5141
 
 
5142
 
 
5143
 
 
5144
 
 
5145
 
 
5146
 
 
5147
 
 
5148
 
 
5149
 
 
5150
 
 
5151
 
 
5152
 
 
5153
 
 
5154
 
 
5155
 
 
5156
 
 
5157
 
 
5158
 
 
5159
 
# Check the gettext tools to make sure they are GNU
5160
 
# Extract the first word of "xgettext", so it can be a program name with args.
5161
 
set dummy xgettext; ac_word=$2
5162
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163
 
$as_echo_n "checking for $ac_word... " >&6; }
5164
 
if ${ac_cv_path_XGETTEXT+:} false; then :
5165
 
  $as_echo_n "(cached) " >&6
5166
 
else
5167
 
  case $XGETTEXT in
5168
 
  [\\/]* | ?:[\\/]*)
5169
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5170
 
  ;;
5171
 
  *)
5172
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173
 
for as_dir in $PATH
5174
 
do
5175
 
  IFS=$as_save_IFS
5176
 
  test -z "$as_dir" && as_dir=.
5177
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5178
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5180
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181
 
    break 2
5182
 
  fi
5183
 
done
5184
 
  done
5185
 
IFS=$as_save_IFS
5186
 
 
5187
 
  ;;
5188
 
esac
5189
 
fi
5190
 
XGETTEXT=$ac_cv_path_XGETTEXT
5191
 
if test -n "$XGETTEXT"; then
5192
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5193
 
$as_echo "$XGETTEXT" >&6; }
5194
 
else
5195
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196
 
$as_echo "no" >&6; }
5197
 
fi
5198
 
 
5199
 
 
5200
 
# Extract the first word of "msgmerge", so it can be a program name with args.
5201
 
set dummy msgmerge; ac_word=$2
5202
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203
 
$as_echo_n "checking for $ac_word... " >&6; }
5204
 
if ${ac_cv_path_MSGMERGE+:} false; then :
5205
 
  $as_echo_n "(cached) " >&6
5206
 
else
5207
 
  case $MSGMERGE in
5208
 
  [\\/]* | ?:[\\/]*)
5209
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5210
 
  ;;
5211
 
  *)
5212
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213
 
for as_dir in $PATH
5214
 
do
5215
 
  IFS=$as_save_IFS
5216
 
  test -z "$as_dir" && as_dir=.
5217
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5218
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5220
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221
 
    break 2
5222
 
  fi
5223
 
done
5224
 
  done
5225
 
IFS=$as_save_IFS
5226
 
 
5227
 
  ;;
5228
 
esac
5229
 
fi
5230
 
MSGMERGE=$ac_cv_path_MSGMERGE
5231
 
if test -n "$MSGMERGE"; then
5232
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5233
 
$as_echo "$MSGMERGE" >&6; }
5234
 
else
5235
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236
 
$as_echo "no" >&6; }
5237
 
fi
5238
 
 
5239
 
 
5240
 
# Extract the first word of "msgfmt", so it can be a program name with args.
5241
 
set dummy msgfmt; ac_word=$2
5242
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243
 
$as_echo_n "checking for $ac_word... " >&6; }
5244
 
if ${ac_cv_path_MSGFMT+:} false; then :
5245
 
  $as_echo_n "(cached) " >&6
5246
 
else
5247
 
  case $MSGFMT in
5248
 
  [\\/]* | ?:[\\/]*)
5249
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5250
 
  ;;
5251
 
  *)
5252
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253
 
for as_dir in $PATH
5254
 
do
5255
 
  IFS=$as_save_IFS
5256
 
  test -z "$as_dir" && as_dir=.
5257
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5258
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5260
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261
 
    break 2
5262
 
  fi
5263
 
done
5264
 
  done
5265
 
IFS=$as_save_IFS
5266
 
 
5267
 
  ;;
5268
 
esac
5269
 
fi
5270
 
MSGFMT=$ac_cv_path_MSGFMT
5271
 
if test -n "$MSGFMT"; then
5272
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5273
 
$as_echo "$MSGFMT" >&6; }
5274
 
else
5275
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276
 
$as_echo "no" >&6; }
5277
 
fi
5278
 
 
5279
 
 
5280
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5281
 
set dummy gmsgfmt; ac_word=$2
5282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283
 
$as_echo_n "checking for $ac_word... " >&6; }
5284
 
if ${ac_cv_path_GMSGFMT+:} false; then :
5285
 
  $as_echo_n "(cached) " >&6
5286
 
else
5287
 
  case $GMSGFMT in
5288
 
  [\\/]* | ?:[\\/]*)
5289
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5290
 
  ;;
5291
 
  *)
5292
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293
 
for as_dir in $PATH
5294
 
do
5295
 
  IFS=$as_save_IFS
5296
 
  test -z "$as_dir" && as_dir=.
5297
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5298
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5299
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5300
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301
 
    break 2
5302
 
  fi
5303
 
done
5304
 
  done
5305
 
IFS=$as_save_IFS
5306
 
 
5307
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5308
 
  ;;
5309
 
esac
5310
 
fi
5311
 
GMSGFMT=$ac_cv_path_GMSGFMT
5312
 
if test -n "$GMSGFMT"; then
5313
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5314
 
$as_echo "$GMSGFMT" >&6; }
5315
 
else
5316
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317
 
$as_echo "no" >&6; }
5318
 
fi
5319
 
 
5320
 
 
5321
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5322
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5323
 
fi
5324
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5325
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5326
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5327
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5328
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5329
 
fi
5330
 
 
5331
 
# Extract the first word of "perl", so it can be a program name with args.
5332
 
set dummy perl; ac_word=$2
5333
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334
 
$as_echo_n "checking for $ac_word... " >&6; }
5335
 
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5336
 
  $as_echo_n "(cached) " >&6
5337
 
else
5338
 
  case $INTLTOOL_PERL in
5339
 
  [\\/]* | ?:[\\/]*)
5340
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5341
 
  ;;
5342
 
  *)
5343
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344
 
for as_dir in $PATH
5345
 
do
5346
 
  IFS=$as_save_IFS
5347
 
  test -z "$as_dir" && as_dir=.
5348
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5349
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5351
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352
 
    break 2
5353
 
  fi
5354
 
done
5355
 
  done
5356
 
IFS=$as_save_IFS
5357
 
 
5358
 
  ;;
5359
 
esac
5360
 
fi
5361
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5362
 
if test -n "$INTLTOOL_PERL"; then
5363
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5364
 
$as_echo "$INTLTOOL_PERL" >&6; }
5365
 
else
5366
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367
 
$as_echo "no" >&6; }
5368
 
fi
5369
 
 
5370
 
 
5371
 
if test -z "$INTLTOOL_PERL"; then
5372
 
   as_fn_error $? "perl not found" "$LINENO" 5
5373
 
fi
5374
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5375
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5376
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5377
 
if test $? -ne 0; then
5378
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5379
 
else
5380
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
5381
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5382
 
$as_echo "$IT_PERL_VERSION" >&6; }
5383
 
fi
5384
 
if test "x" != "xno-xml"; then
5385
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5386
 
$as_echo_n "checking for XML::Parser... " >&6; }
5387
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5388
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5389
 
$as_echo "ok" >&6; }
5390
 
   else
5391
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5392
 
   fi
5393
 
fi
5394
 
 
5395
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
5396
 
 
5397
 
 
5398
 
# Set DATADIRNAME correctly if it is not set yet
5399
 
# (copied from glib-gettext.m4)
5400
 
if test -z "$DATADIRNAME"; then
5401
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402
 
/* end confdefs.h.  */
5403
 
 
5404
 
int
5405
 
main ()
5406
 
{
5407
 
extern int _nl_msg_cat_cntr;
5408
 
                       return _nl_msg_cat_cntr
5409
 
  ;
5410
 
  return 0;
5411
 
}
5412
 
_ACEOF
5413
 
if ac_fn_c_try_link "$LINENO"; then :
5414
 
  DATADIRNAME=share
5415
 
else
5416
 
  case $host in
5417
 
    *-*-solaris*)
5418
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5419
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5420
 
  DATADIRNAME=share
5421
 
else
5422
 
  DATADIRNAME=lib
5423
 
fi
5424
 
 
5425
 
    ;;
5426
 
    *)
5427
 
    DATADIRNAME=lib
5428
 
    ;;
5429
 
    esac
5430
 
fi
5431
 
rm -f core conftest.err conftest.$ac_objext \
5432
 
    conftest$ac_exeext conftest.$ac_ext
5433
 
fi
5434
 
 
5435
 
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
 
5442
 
case `pwd` in
5443
 
  *\ * | *\     *)
5444
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5445
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5446
 
esac
5447
 
 
5448
 
 
5449
 
 
5450
 
macro_version='2.4'
5451
 
macro_revision='1.3293'
5452
 
 
5453
 
 
5454
 
 
5455
 
 
5456
 
 
5457
 
 
5458
 
 
5459
 
 
5460
 
 
5461
 
 
5462
 
 
5463
 
 
5464
 
 
5465
 
ltmain="$ac_aux_dir/ltmain.sh"
5466
 
 
5467
 
# Make sure we can run config.sub.
5468
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5469
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5470
 
 
5471
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5472
 
$as_echo_n "checking build system type... " >&6; }
5473
 
if ${ac_cv_build+:} false; then :
5474
 
  $as_echo_n "(cached) " >&6
5475
 
else
5476
 
  ac_build_alias=$build_alias
5477
 
test "x$ac_build_alias" = x &&
5478
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5479
 
test "x$ac_build_alias" = x &&
5480
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5481
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5482
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5483
 
 
5484
 
fi
5485
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5486
 
$as_echo "$ac_cv_build" >&6; }
5487
 
case $ac_cv_build in
5488
 
*-*-*) ;;
5489
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5490
 
esac
5491
 
build=$ac_cv_build
5492
 
ac_save_IFS=$IFS; IFS='-'
5493
 
set x $ac_cv_build
5494
 
shift
5495
 
build_cpu=$1
5496
 
build_vendor=$2
5497
 
shift; shift
5498
 
# Remember, the first character of IFS is used to create $*,
5499
 
# except with old shells:
5500
 
build_os=$*
5501
 
IFS=$ac_save_IFS
5502
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5503
 
 
5504
 
 
5505
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5506
 
$as_echo_n "checking host system type... " >&6; }
5507
 
if ${ac_cv_host+:} false; then :
5508
 
  $as_echo_n "(cached) " >&6
5509
 
else
5510
 
  if test "x$host_alias" = x; then
5511
 
  ac_cv_host=$ac_cv_build
5512
 
else
5513
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5514
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5515
 
fi
5516
 
 
5517
 
fi
5518
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5519
 
$as_echo "$ac_cv_host" >&6; }
5520
 
case $ac_cv_host in
5521
 
*-*-*) ;;
5522
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5523
 
esac
5524
 
host=$ac_cv_host
5525
 
ac_save_IFS=$IFS; IFS='-'
5526
 
set x $ac_cv_host
5527
 
shift
5528
 
host_cpu=$1
5529
 
host_vendor=$2
5530
 
shift; shift
5531
 
# Remember, the first character of IFS is used to create $*,
5532
 
# except with old shells:
5533
 
host_os=$*
5534
 
IFS=$ac_save_IFS
5535
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5536
 
 
5537
 
 
5538
 
# Backslashify metacharacters that are still active within
5539
 
# double-quoted strings.
5540
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5541
 
 
5542
 
# Same as above, but do not quote variable references.
5543
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5544
 
 
5545
 
# Sed substitution to delay expansion of an escaped shell variable in a
5546
 
# double_quote_subst'ed string.
5547
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5548
 
 
5549
 
# Sed substitution to delay expansion of an escaped single quote.
5550
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5551
 
 
5552
 
# Sed substitution to avoid accidental globbing in evaled expressions
5553
 
no_glob_subst='s/\*/\\\*/g'
5554
 
 
5555
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5556
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5557
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5558
 
 
5559
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5560
 
$as_echo_n "checking how to print strings... " >&6; }
5561
 
# Test print first, because it will be a builtin if present.
5562
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5563
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5564
 
  ECHO='print -r --'
5565
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5566
 
  ECHO='printf %s\n'
5567
 
else
5568
 
  # Use this function as a fallback that always works.
5569
 
  func_fallback_echo ()
5570
 
  {
5571
 
    eval 'cat <<_LTECHO_EOF
5572
 
$1
5573
 
_LTECHO_EOF'
5574
 
  }
5575
 
  ECHO='func_fallback_echo'
5576
 
fi
5577
 
 
5578
 
# func_echo_all arg...
5579
 
# Invoke $ECHO with all args, space-separated.
5580
 
func_echo_all ()
5581
 
{
5582
 
    $ECHO ""
5583
 
}
5584
 
 
5585
 
case "$ECHO" in
5586
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5587
 
$as_echo "printf" >&6; } ;;
5588
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5589
 
$as_echo "print -r" >&6; } ;;
5590
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5591
 
$as_echo "cat" >&6; } ;;
5592
 
esac
5593
 
 
5594
 
 
5595
 
 
5596
 
 
5597
 
 
5598
 
 
5599
 
 
5600
 
 
5601
 
 
5602
 
 
5603
 
 
5604
 
 
5605
 
 
5606
 
 
5607
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5608
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5609
 
if ${ac_cv_path_SED+:} false; then :
5610
 
  $as_echo_n "(cached) " >&6
5611
 
else
5612
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5613
 
     for ac_i in 1 2 3 4 5 6 7; do
5614
 
       ac_script="$ac_script$as_nl$ac_script"
5615
 
     done
5616
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5617
 
     { ac_script=; unset ac_script;}
5618
 
     if test -z "$SED"; then
5619
 
  ac_path_SED_found=false
5620
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5621
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622
 
for as_dir in $PATH
5623
 
do
5624
 
  IFS=$as_save_IFS
5625
 
  test -z "$as_dir" && as_dir=.
5626
 
    for ac_prog in sed gsed; do
5627
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5628
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5629
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5630
 
# Check for GNU ac_path_SED and select it if it is found.
5631
 
  # Check for GNU $ac_path_SED
5632
 
case `"$ac_path_SED" --version 2>&1` in
5633
 
*GNU*)
5634
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5635
 
*)
5636
 
  ac_count=0
5637
 
  $as_echo_n 0123456789 >"conftest.in"
5638
 
  while :
5639
 
  do
5640
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5641
 
    mv "conftest.tmp" "conftest.in"
5642
 
    cp "conftest.in" "conftest.nl"
5643
 
    $as_echo '' >> "conftest.nl"
5644
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5645
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5646
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5647
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5648
 
      # Best one so far, save it but keep looking for a better one
5649
 
      ac_cv_path_SED="$ac_path_SED"
5650
 
      ac_path_SED_max=$ac_count
5651
 
    fi
5652
 
    # 10*(2^10) chars as input seems more than enough
5653
 
    test $ac_count -gt 10 && break
5654
 
  done
5655
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5656
 
esac
5657
 
 
5658
 
      $ac_path_SED_found && break 3
5659
 
    done
5660
 
  done
5661
 
  done
5662
 
IFS=$as_save_IFS
5663
 
  if test -z "$ac_cv_path_SED"; then
5664
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5665
 
  fi
5666
 
else
5667
 
  ac_cv_path_SED=$SED
5668
 
fi
5669
 
 
5670
 
fi
5671
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5672
 
$as_echo "$ac_cv_path_SED" >&6; }
5673
 
 SED="$ac_cv_path_SED"
5674
 
  rm -f conftest.sed
5675
 
 
5676
 
test -z "$SED" && SED=sed
5677
 
Xsed="$SED -e 1s/^X//"
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
 
 
5683
 
 
5684
 
 
5685
 
 
5686
 
 
5687
 
 
5688
 
 
5689
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5690
 
$as_echo_n "checking for fgrep... " >&6; }
5691
 
if ${ac_cv_path_FGREP+:} false; then :
5692
 
  $as_echo_n "(cached) " >&6
5693
 
else
5694
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5695
 
   then ac_cv_path_FGREP="$GREP -F"
5696
 
   else
5697
 
     if test -z "$FGREP"; then
5698
 
  ac_path_FGREP_found=false
5699
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5700
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5702
 
do
5703
 
  IFS=$as_save_IFS
5704
 
  test -z "$as_dir" && as_dir=.
5705
 
    for ac_prog in fgrep; do
5706
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5707
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5708
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5709
 
# Check for GNU ac_path_FGREP and select it if it is found.
5710
 
  # Check for GNU $ac_path_FGREP
5711
 
case `"$ac_path_FGREP" --version 2>&1` in
5712
 
*GNU*)
5713
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5714
 
*)
5715
 
  ac_count=0
5716
 
  $as_echo_n 0123456789 >"conftest.in"
5717
 
  while :
5718
 
  do
5719
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5720
 
    mv "conftest.tmp" "conftest.in"
5721
 
    cp "conftest.in" "conftest.nl"
5722
 
    $as_echo 'FGREP' >> "conftest.nl"
5723
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5724
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5725
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5726
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5727
 
      # Best one so far, save it but keep looking for a better one
5728
 
      ac_cv_path_FGREP="$ac_path_FGREP"
5729
 
      ac_path_FGREP_max=$ac_count
5730
 
    fi
5731
 
    # 10*(2^10) chars as input seems more than enough
5732
 
    test $ac_count -gt 10 && break
5733
 
  done
5734
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5735
 
esac
5736
 
 
5737
 
      $ac_path_FGREP_found && break 3
5738
 
    done
5739
 
  done
5740
 
  done
5741
 
IFS=$as_save_IFS
5742
 
  if test -z "$ac_cv_path_FGREP"; then
5743
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5744
 
  fi
5745
 
else
5746
 
  ac_cv_path_FGREP=$FGREP
5747
 
fi
5748
 
 
5749
 
   fi
5750
 
fi
5751
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5752
 
$as_echo "$ac_cv_path_FGREP" >&6; }
5753
 
 FGREP="$ac_cv_path_FGREP"
5754
 
 
5755
 
 
5756
 
test -z "$GREP" && GREP=grep
5757
 
 
5758
 
 
5759
 
 
5760
 
 
5761
 
 
5762
 
 
5763
 
 
5764
 
 
5765
 
 
5766
 
 
5767
 
 
5768
 
 
5769
 
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
# Check whether --with-gnu-ld was given.
5777
 
if test "${with_gnu_ld+set}" = set; then :
5778
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5779
 
else
5780
 
  with_gnu_ld=no
5781
 
fi
5782
 
 
5783
 
ac_prog=ld
5784
 
if test "$GCC" = yes; then
5785
 
  # Check if gcc -print-prog-name=ld gives a path.
5786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5787
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5788
 
  case $host in
5789
 
  *-*-mingw*)
5790
 
    # gcc leaves a trailing carriage return which upsets mingw
5791
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5792
 
  *)
5793
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5794
 
  esac
5795
 
  case $ac_prog in
5796
 
    # Accept absolute paths.
5797
 
    [\\/]* | ?:[\\/]*)
5798
 
      re_direlt='/[^/][^/]*/\.\./'
5799
 
      # Canonicalize the pathname of ld
5800
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5801
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5802
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5803
 
      done
5804
 
      test -z "$LD" && LD="$ac_prog"
5805
 
      ;;
5806
 
  "")
5807
 
    # If it fails, then pretend we aren't using GCC.
5808
 
    ac_prog=ld
5809
 
    ;;
5810
 
  *)
5811
 
    # If it is relative, then search for the first ld in PATH.
5812
 
    with_gnu_ld=unknown
5813
 
    ;;
5814
 
  esac
5815
 
elif test "$with_gnu_ld" = yes; then
5816
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5817
 
$as_echo_n "checking for GNU ld... " >&6; }
5818
 
else
5819
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5820
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5821
 
fi
5822
 
if ${lt_cv_path_LD+:} false; then :
5823
 
  $as_echo_n "(cached) " >&6
5824
 
else
5825
 
  if test -z "$LD"; then
5826
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5827
 
  for ac_dir in $PATH; do
5828
 
    IFS="$lt_save_ifs"
5829
 
    test -z "$ac_dir" && ac_dir=.
5830
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5831
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5832
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5833
 
      # but apparently some variants of GNU ld only accept -v.
5834
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5835
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5836
 
      *GNU* | *'with BFD'*)
5837
 
        test "$with_gnu_ld" != no && break
5838
 
        ;;
5839
 
      *)
5840
 
        test "$with_gnu_ld" != yes && break
5841
 
        ;;
5842
 
      esac
5843
 
    fi
5844
 
  done
5845
 
  IFS="$lt_save_ifs"
5846
 
else
5847
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5848
 
fi
5849
 
fi
5850
 
 
5851
 
LD="$lt_cv_path_LD"
5852
 
if test -n "$LD"; then
5853
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5854
 
$as_echo "$LD" >&6; }
5855
 
else
5856
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857
 
$as_echo "no" >&6; }
5858
 
fi
5859
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5860
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5861
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5862
 
if ${lt_cv_prog_gnu_ld+:} false; then :
5863
 
  $as_echo_n "(cached) " >&6
5864
 
else
5865
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5866
 
case `$LD -v 2>&1 </dev/null` in
5867
 
*GNU* | *'with BFD'*)
5868
 
  lt_cv_prog_gnu_ld=yes
5869
 
  ;;
5870
 
*)
5871
 
  lt_cv_prog_gnu_ld=no
5872
 
  ;;
5873
 
esac
5874
 
fi
5875
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5876
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5877
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5878
 
 
5879
 
 
5880
 
 
5881
 
 
5882
 
 
5883
 
 
5884
 
 
5885
 
 
5886
 
 
5887
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5888
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5889
 
if ${lt_cv_path_NM+:} false; then :
5890
 
  $as_echo_n "(cached) " >&6
5891
 
else
5892
 
  if test -n "$NM"; then
5893
 
  # Let the user override the test.
5894
 
  lt_cv_path_NM="$NM"
5895
 
else
5896
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5897
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5898
 
    lt_nm_to_check="$lt_nm_to_check nm"
5899
 
  fi
5900
 
  for lt_tmp_nm in $lt_nm_to_check; do
5901
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5902
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5903
 
      IFS="$lt_save_ifs"
5904
 
      test -z "$ac_dir" && ac_dir=.
5905
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5906
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5907
 
        # Check to see if the nm accepts a BSD-compat flag.
5908
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5909
 
        #   nm: unknown option "B" ignored
5910
 
        # Tru64's nm complains that /dev/null is an invalid object file
5911
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5912
 
        */dev/null* | *'Invalid file or object type'*)
5913
 
          lt_cv_path_NM="$tmp_nm -B"
5914
 
          break
5915
 
          ;;
5916
 
        *)
5917
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5918
 
          */dev/null*)
5919
 
            lt_cv_path_NM="$tmp_nm -p"
5920
 
            break
5921
 
            ;;
5922
 
          *)
5923
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5924
 
            continue # so that we can try to find one that supports BSD flags
5925
 
            ;;
5926
 
          esac
5927
 
          ;;
5928
 
        esac
5929
 
      fi
5930
 
    done
5931
 
    IFS="$lt_save_ifs"
5932
 
  done
5933
 
  : ${lt_cv_path_NM=no}
5934
 
fi
5935
 
fi
5936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5937
 
$as_echo "$lt_cv_path_NM" >&6; }
5938
 
if test "$lt_cv_path_NM" != "no"; then
5939
 
  NM="$lt_cv_path_NM"
5940
 
else
5941
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5942
 
  if test -n "$DUMPBIN"; then :
5943
 
    # Let the user override the test.
5944
 
  else
5945
 
    if test -n "$ac_tool_prefix"; then
5946
 
  for ac_prog in dumpbin "link -dump"
5947
 
  do
5948
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5949
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5950
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951
 
$as_echo_n "checking for $ac_word... " >&6; }
5952
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
5953
 
  $as_echo_n "(cached) " >&6
5954
 
else
5955
 
  if test -n "$DUMPBIN"; then
5956
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5957
 
else
5958
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959
 
for as_dir in $PATH
5960
 
do
5961
 
  IFS=$as_save_IFS
5962
 
  test -z "$as_dir" && as_dir=.
5963
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5964
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5966
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5967
 
    break 2
5968
 
  fi
5969
 
done
5970
 
  done
5971
 
IFS=$as_save_IFS
5972
 
 
5973
 
fi
5974
 
fi
5975
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5976
 
if test -n "$DUMPBIN"; then
5977
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5978
 
$as_echo "$DUMPBIN" >&6; }
5979
 
else
5980
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981
 
$as_echo "no" >&6; }
5982
 
fi
5983
 
 
5984
 
 
5985
 
    test -n "$DUMPBIN" && break
5986
 
  done
5987
 
fi
5988
 
if test -z "$DUMPBIN"; then
5989
 
  ac_ct_DUMPBIN=$DUMPBIN
5990
 
  for ac_prog in dumpbin "link -dump"
5991
 
do
5992
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5993
 
set dummy $ac_prog; ac_word=$2
5994
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995
 
$as_echo_n "checking for $ac_word... " >&6; }
5996
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5997
 
  $as_echo_n "(cached) " >&6
5998
 
else
5999
 
  if test -n "$ac_ct_DUMPBIN"; then
6000
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6001
 
else
6002
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003
 
for as_dir in $PATH
6004
 
do
6005
 
  IFS=$as_save_IFS
6006
 
  test -z "$as_dir" && as_dir=.
6007
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6008
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6010
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011
 
    break 2
6012
 
  fi
6013
 
done
6014
 
  done
6015
 
IFS=$as_save_IFS
6016
 
 
6017
 
fi
6018
 
fi
6019
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6020
 
if test -n "$ac_ct_DUMPBIN"; then
6021
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6022
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
6023
 
else
6024
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025
 
$as_echo "no" >&6; }
6026
 
fi
6027
 
 
6028
 
 
6029
 
  test -n "$ac_ct_DUMPBIN" && break
6030
 
done
6031
 
 
6032
 
  if test "x$ac_ct_DUMPBIN" = x; then
6033
 
    DUMPBIN=":"
6034
 
  else
6035
 
    case $cross_compiling:$ac_tool_warned in
6036
 
yes:)
6037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6038
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6039
 
ac_tool_warned=yes ;;
6040
 
esac
6041
 
    DUMPBIN=$ac_ct_DUMPBIN
6042
 
  fi
6043
 
fi
6044
 
 
6045
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6046
 
    *COFF*)
6047
 
      DUMPBIN="$DUMPBIN -symbols"
6048
 
      ;;
6049
 
    *)
6050
 
      DUMPBIN=:
6051
 
      ;;
6052
 
    esac
6053
 
  fi
6054
 
 
6055
 
  if test "$DUMPBIN" != ":"; then
6056
 
    NM="$DUMPBIN"
6057
 
  fi
6058
 
fi
6059
 
test -z "$NM" && NM=nm
6060
 
 
6061
 
 
6062
 
 
6063
 
 
6064
 
 
6065
 
 
6066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6067
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6068
 
if ${lt_cv_nm_interface+:} false; then :
6069
 
  $as_echo_n "(cached) " >&6
6070
 
else
6071
 
  lt_cv_nm_interface="BSD nm"
6072
 
  echo "int some_variable = 0;" > conftest.$ac_ext
6073
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6074
 
  (eval "$ac_compile" 2>conftest.err)
6075
 
  cat conftest.err >&5
6076
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6077
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6078
 
  cat conftest.err >&5
6079
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6080
 
  cat conftest.out >&5
6081
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6082
 
    lt_cv_nm_interface="MS dumpbin"
6083
 
  fi
6084
 
  rm -f conftest*
6085
 
fi
6086
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6087
 
$as_echo "$lt_cv_nm_interface" >&6; }
6088
 
 
6089
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6090
 
$as_echo_n "checking whether ln -s works... " >&6; }
6091
 
LN_S=$as_ln_s
6092
 
if test "$LN_S" = "ln -s"; then
6093
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6094
 
$as_echo "yes" >&6; }
6095
 
else
6096
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6097
 
$as_echo "no, using $LN_S" >&6; }
6098
 
fi
6099
 
 
6100
 
# find the maximum length of command line arguments
6101
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6102
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6103
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
6104
 
  $as_echo_n "(cached) " >&6
6105
 
else
6106
 
    i=0
6107
 
  teststring="ABCD"
6108
 
 
6109
 
  case $build_os in
6110
 
  msdosdjgpp*)
6111
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6112
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6113
 
    # during glob expansion).  Even if it were fixed, the result of this
6114
 
    # check would be larger than it should be.
6115
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6116
 
    ;;
6117
 
 
6118
 
  gnu*)
6119
 
    # Under GNU Hurd, this test is not required because there is
6120
 
    # no limit to the length of command line arguments.
6121
 
    # Libtool will interpret -1 as no limit whatsoever
6122
 
    lt_cv_sys_max_cmd_len=-1;
6123
 
    ;;
6124
 
 
6125
 
  cygwin* | mingw* | cegcc*)
6126
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6127
 
    # about 5 minutes as the teststring grows exponentially.
6128
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6129
 
    # you end up with a "frozen" computer, even though with patience
6130
 
    # the test eventually succeeds (with a max line length of 256k).
6131
 
    # Instead, let's just punt: use the minimum linelength reported by
6132
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6133
 
    lt_cv_sys_max_cmd_len=8192;
6134
 
    ;;
6135
 
 
6136
 
  mint*)
6137
 
    # On MiNT this can take a long time and run out of memory.
6138
 
    lt_cv_sys_max_cmd_len=8192;
6139
 
    ;;
6140
 
 
6141
 
  amigaos*)
6142
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6143
 
    # So we just punt and use a minimum line length of 8192.
6144
 
    lt_cv_sys_max_cmd_len=8192;
6145
 
    ;;
6146
 
 
6147
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6148
 
    # This has been around since 386BSD, at least.  Likely further.
6149
 
    if test -x /sbin/sysctl; then
6150
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6151
 
    elif test -x /usr/sbin/sysctl; then
6152
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6153
 
    else
6154
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6155
 
    fi
6156
 
    # And add a safety zone
6157
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6158
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6159
 
    ;;
6160
 
 
6161
 
  interix*)
6162
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6163
 
    lt_cv_sys_max_cmd_len=196608
6164
 
    ;;
6165
 
 
6166
 
  osf*)
6167
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6168
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6169
 
    # nice to cause kernel panics so lets avoid the loop below.
6170
 
    # First set a reasonable default.
6171
 
    lt_cv_sys_max_cmd_len=16384
6172
 
    #
6173
 
    if test -x /sbin/sysconfig; then
6174
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6175
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6176
 
      esac
6177
 
    fi
6178
 
    ;;
6179
 
  sco3.2v5*)
6180
 
    lt_cv_sys_max_cmd_len=102400
6181
 
    ;;
6182
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6183
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6184
 
    if test -n "$kargmax"; then
6185
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6186
 
    else
6187
 
      lt_cv_sys_max_cmd_len=32768
6188
 
    fi
6189
 
    ;;
6190
 
  *)
6191
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6192
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6193
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6194
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6195
 
    else
6196
 
      # Make teststring a little bigger before we do anything with it.
6197
 
      # a 1K string should be a reasonable start.
6198
 
      for i in 1 2 3 4 5 6 7 8 ; do
6199
 
        teststring=$teststring$teststring
6200
 
      done
6201
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6202
 
      # If test is not a shell built-in, we'll probably end up computing a
6203
 
      # maximum length that is only half of the actual maximum length, but
6204
 
      # we can't tell.
6205
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6206
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6207
 
              test $i != 17 # 1/2 MB should be enough
6208
 
      do
6209
 
        i=`expr $i + 1`
6210
 
        teststring=$teststring$teststring
6211
 
      done
6212
 
      # Only check the string length outside the loop.
6213
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6214
 
      teststring=
6215
 
      # Add a significant safety factor because C++ compilers can tack on
6216
 
      # massive amounts of additional arguments before passing them to the
6217
 
      # linker.  It appears as though 1/2 is a usable value.
6218
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6219
 
    fi
6220
 
    ;;
6221
 
  esac
6222
 
 
6223
 
fi
6224
 
 
6225
 
if test -n $lt_cv_sys_max_cmd_len ; then
6226
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6227
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6228
 
else
6229
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6230
 
$as_echo "none" >&6; }
6231
 
fi
6232
 
max_cmd_len=$lt_cv_sys_max_cmd_len
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
 
 
6238
 
 
6239
 
: ${CP="cp -f"}
6240
 
: ${MV="mv -f"}
6241
 
: ${RM="rm -f"}
6242
 
 
6243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6244
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6245
 
# Try some XSI features
6246
 
xsi_shell=no
6247
 
( _lt_dummy="a/b/c"
6248
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6249
 
      = c,a/b,b/c, \
6250
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
6251
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6252
 
  && xsi_shell=yes
6253
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6254
 
$as_echo "$xsi_shell" >&6; }
6255
 
 
6256
 
 
6257
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6258
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6259
 
lt_shell_append=no
6260
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6261
 
    >/dev/null 2>&1 \
6262
 
  && lt_shell_append=yes
6263
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6264
 
$as_echo "$lt_shell_append" >&6; }
6265
 
 
6266
 
 
6267
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6268
 
  lt_unset=unset
6269
 
else
6270
 
  lt_unset=false
6271
 
fi
6272
 
 
6273
 
 
6274
 
 
6275
 
 
6276
 
 
6277
 
# test EBCDIC or ASCII
6278
 
case `echo X|tr X '\101'` in
6279
 
 A) # ASCII based system
6280
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6281
 
  lt_SP2NL='tr \040 \012'
6282
 
  lt_NL2SP='tr \015\012 \040\040'
6283
 
  ;;
6284
 
 *) # EBCDIC based system
6285
 
  lt_SP2NL='tr \100 \n'
6286
 
  lt_NL2SP='tr \r\n \100\100'
6287
 
  ;;
6288
 
esac
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6299
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6300
 
if ${lt_cv_to_host_file_cmd+:} false; then :
6301
 
  $as_echo_n "(cached) " >&6
6302
 
else
6303
 
  case $host in
6304
 
  *-*-mingw* )
6305
 
    case $build in
6306
 
      *-*-mingw* ) # actually msys
6307
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6308
 
        ;;
6309
 
      *-*-cygwin* )
6310
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6311
 
        ;;
6312
 
      * ) # otherwise, assume *nix
6313
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6314
 
        ;;
6315
 
    esac
6316
 
    ;;
6317
 
  *-*-cygwin* )
6318
 
    case $build in
6319
 
      *-*-mingw* ) # actually msys
6320
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6321
 
        ;;
6322
 
      *-*-cygwin* )
6323
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
6324
 
        ;;
6325
 
      * ) # otherwise, assume *nix
6326
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6327
 
        ;;
6328
 
    esac
6329
 
    ;;
6330
 
  * ) # unhandled hosts (and "normal" native builds)
6331
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
6332
 
    ;;
6333
 
esac
6334
 
 
6335
 
fi
6336
 
 
6337
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
6338
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6339
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6340
 
 
6341
 
 
6342
 
 
6343
 
 
6344
 
 
6345
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6346
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6347
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
6348
 
  $as_echo_n "(cached) " >&6
6349
 
else
6350
 
  #assume ordinary cross tools, or native build.
6351
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
6352
 
case $host in
6353
 
  *-*-mingw* )
6354
 
    case $build in
6355
 
      *-*-mingw* ) # actually msys
6356
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6357
 
        ;;
6358
 
    esac
6359
 
    ;;
6360
 
esac
6361
 
 
6362
 
fi
6363
 
 
6364
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6365
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6366
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6367
 
 
6368
 
 
6369
 
 
6370
 
 
6371
 
 
6372
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6373
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6374
 
if ${lt_cv_ld_reload_flag+:} false; then :
6375
 
  $as_echo_n "(cached) " >&6
6376
 
else
6377
 
  lt_cv_ld_reload_flag='-r'
6378
 
fi
6379
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6380
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6381
 
reload_flag=$lt_cv_ld_reload_flag
6382
 
case $reload_flag in
6383
 
"" | " "*) ;;
6384
 
*) reload_flag=" $reload_flag" ;;
6385
 
esac
6386
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6387
 
case $host_os in
6388
 
  cygwin* | mingw* | pw32* | cegcc*)
6389
 
    if test "$GCC" != yes; then
6390
 
      reload_cmds=false
6391
 
    fi
6392
 
    ;;
6393
 
  darwin*)
6394
 
    if test "$GCC" = yes; then
6395
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6396
 
    else
6397
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6398
 
    fi
6399
 
    ;;
6400
 
esac
6401
 
 
6402
 
 
6403
 
 
6404
 
 
6405
 
 
6406
 
 
6407
 
 
6408
 
 
6409
 
 
6410
 
if test -n "$ac_tool_prefix"; then
6411
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6412
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6413
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414
 
$as_echo_n "checking for $ac_word... " >&6; }
6415
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
6416
 
  $as_echo_n "(cached) " >&6
6417
 
else
6418
 
  if test -n "$OBJDUMP"; then
6419
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6420
 
else
6421
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422
 
for as_dir in $PATH
6423
 
do
6424
 
  IFS=$as_save_IFS
6425
 
  test -z "$as_dir" && as_dir=.
6426
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6427
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6429
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6430
 
    break 2
6431
 
  fi
6432
 
done
6433
 
  done
6434
 
IFS=$as_save_IFS
6435
 
 
6436
 
fi
6437
 
fi
6438
 
OBJDUMP=$ac_cv_prog_OBJDUMP
6439
 
if test -n "$OBJDUMP"; then
6440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6441
 
$as_echo "$OBJDUMP" >&6; }
6442
 
else
6443
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6444
 
$as_echo "no" >&6; }
6445
 
fi
6446
 
 
6447
 
 
6448
 
fi
6449
 
if test -z "$ac_cv_prog_OBJDUMP"; then
6450
 
  ac_ct_OBJDUMP=$OBJDUMP
6451
 
  # Extract the first word of "objdump", so it can be a program name with args.
6452
 
set dummy objdump; ac_word=$2
6453
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454
 
$as_echo_n "checking for $ac_word... " >&6; }
6455
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6456
 
  $as_echo_n "(cached) " >&6
6457
 
else
6458
 
  if test -n "$ac_ct_OBJDUMP"; then
6459
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6460
 
else
6461
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462
 
for as_dir in $PATH
6463
 
do
6464
 
  IFS=$as_save_IFS
6465
 
  test -z "$as_dir" && as_dir=.
6466
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6467
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6468
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6469
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6470
 
    break 2
6471
 
  fi
6472
 
done
6473
 
  done
6474
 
IFS=$as_save_IFS
6475
 
 
6476
 
fi
6477
 
fi
6478
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6479
 
if test -n "$ac_ct_OBJDUMP"; then
6480
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6481
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
6482
 
else
6483
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484
 
$as_echo "no" >&6; }
6485
 
fi
6486
 
 
6487
 
  if test "x$ac_ct_OBJDUMP" = x; then
6488
 
    OBJDUMP="false"
6489
 
  else
6490
 
    case $cross_compiling:$ac_tool_warned in
6491
 
yes:)
6492
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6493
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6494
 
ac_tool_warned=yes ;;
6495
 
esac
6496
 
    OBJDUMP=$ac_ct_OBJDUMP
6497
 
  fi
6498
 
else
6499
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6500
 
fi
6501
 
 
6502
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6503
 
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
 
 
6510
 
 
6511
 
 
6512
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6513
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6514
 
if ${lt_cv_deplibs_check_method+:} false; then :
6515
 
  $as_echo_n "(cached) " >&6
6516
 
else
6517
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6518
 
lt_cv_file_magic_test_file=
6519
 
lt_cv_deplibs_check_method='unknown'
6520
 
# Need to set the preceding variable on all platforms that support
6521
 
# interlibrary dependencies.
6522
 
# 'none' -- dependencies not supported.
6523
 
# `unknown' -- same as none, but documents that we really don't know.
6524
 
# 'pass_all' -- all dependencies passed with no checks.
6525
 
# 'test_compile' -- check by making test program.
6526
 
# 'file_magic [[regex]]' -- check by looking for files in library path
6527
 
# which responds to the $file_magic_cmd with a given extended regex.
6528
 
# If you have `file' or equivalent on your system and you're not sure
6529
 
# whether `pass_all' will *always* work, you probably want this one.
6530
 
 
6531
 
case $host_os in
6532
 
aix[4-9]*)
6533
 
  lt_cv_deplibs_check_method=pass_all
6534
 
  ;;
6535
 
 
6536
 
beos*)
6537
 
  lt_cv_deplibs_check_method=pass_all
6538
 
  ;;
6539
 
 
6540
 
bsdi[45]*)
6541
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6542
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6543
 
  lt_cv_file_magic_test_file=/shlib/libc.so
6544
 
  ;;
6545
 
 
6546
 
cygwin*)
6547
 
  # func_win32_libid is a shell function defined in ltmain.sh
6548
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6549
 
  lt_cv_file_magic_cmd='func_win32_libid'
6550
 
  ;;
6551
 
 
6552
 
mingw* | pw32*)
6553
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
6554
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6555
 
  # unless we find 'file', for example because we are cross-compiling.
6556
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6557
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6558
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6559
 
    lt_cv_file_magic_cmd='func_win32_libid'
6560
 
  else
6561
 
    # Keep this pattern in sync with the one in func_win32_libid.
6562
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6563
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6564
 
  fi
6565
 
  ;;
6566
 
 
6567
 
cegcc*)
6568
 
  # use the weaker test based on 'objdump'. See mingw*.
6569
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6570
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6571
 
  ;;
6572
 
 
6573
 
darwin* | rhapsody*)
6574
 
  lt_cv_deplibs_check_method=pass_all
6575
 
  ;;
6576
 
 
6577
 
freebsd* | dragonfly*)
6578
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6579
 
    case $host_cpu in
6580
 
    i*86 )
6581
 
      # Not sure whether the presence of OpenBSD here was a mistake.
6582
 
      # Let's accept both of them until this is cleared up.
6583
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6584
 
      lt_cv_file_magic_cmd=/usr/bin/file
6585
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6586
 
      ;;
6587
 
    esac
6588
 
  else
6589
 
    lt_cv_deplibs_check_method=pass_all
6590
 
  fi
6591
 
  ;;
6592
 
 
6593
 
gnu*)
6594
 
  lt_cv_deplibs_check_method=pass_all
6595
 
  ;;
6596
 
 
6597
 
haiku*)
6598
 
  lt_cv_deplibs_check_method=pass_all
6599
 
  ;;
6600
 
 
6601
 
hpux10.20* | hpux11*)
6602
 
  lt_cv_file_magic_cmd=/usr/bin/file
6603
 
  case $host_cpu in
6604
 
  ia64*)
6605
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6606
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6607
 
    ;;
6608
 
  hppa*64*)
6609
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6610
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6611
 
    ;;
6612
 
  *)
6613
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6614
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6615
 
    ;;
6616
 
  esac
6617
 
  ;;
6618
 
 
6619
 
interix[3-9]*)
6620
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6621
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6622
 
  ;;
6623
 
 
6624
 
irix5* | irix6* | nonstopux*)
6625
 
  case $LD in
6626
 
  *-32|*"-32 ") libmagic=32-bit;;
6627
 
  *-n32|*"-n32 ") libmagic=N32;;
6628
 
  *-64|*"-64 ") libmagic=64-bit;;
6629
 
  *) libmagic=never-match;;
6630
 
  esac
6631
 
  lt_cv_deplibs_check_method=pass_all
6632
 
  ;;
6633
 
 
6634
 
# This must be Linux ELF.
6635
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6636
 
  lt_cv_deplibs_check_method=pass_all
6637
 
  ;;
6638
 
 
6639
 
netbsd* | netbsdelf*-gnu)
6640
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6641
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6642
 
  else
6643
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6644
 
  fi
6645
 
  ;;
6646
 
 
6647
 
newos6*)
6648
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6649
 
  lt_cv_file_magic_cmd=/usr/bin/file
6650
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6651
 
  ;;
6652
 
 
6653
 
*nto* | *qnx*)
6654
 
  lt_cv_deplibs_check_method=pass_all
6655
 
  ;;
6656
 
 
6657
 
openbsd*)
6658
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6659
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6660
 
  else
6661
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6662
 
  fi
6663
 
  ;;
6664
 
 
6665
 
osf3* | osf4* | osf5*)
6666
 
  lt_cv_deplibs_check_method=pass_all
6667
 
  ;;
6668
 
 
6669
 
rdos*)
6670
 
  lt_cv_deplibs_check_method=pass_all
6671
 
  ;;
6672
 
 
6673
 
solaris*)
6674
 
  lt_cv_deplibs_check_method=pass_all
6675
 
  ;;
6676
 
 
6677
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6678
 
  lt_cv_deplibs_check_method=pass_all
6679
 
  ;;
6680
 
 
6681
 
sysv4 | sysv4.3*)
6682
 
  case $host_vendor in
6683
 
  motorola)
6684
 
    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]'
6685
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6686
 
    ;;
6687
 
  ncr)
6688
 
    lt_cv_deplibs_check_method=pass_all
6689
 
    ;;
6690
 
  sequent)
6691
 
    lt_cv_file_magic_cmd='/bin/file'
6692
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6693
 
    ;;
6694
 
  sni)
6695
 
    lt_cv_file_magic_cmd='/bin/file'
6696
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6697
 
    lt_cv_file_magic_test_file=/lib/libc.so
6698
 
    ;;
6699
 
  siemens)
6700
 
    lt_cv_deplibs_check_method=pass_all
6701
 
    ;;
6702
 
  pc)
6703
 
    lt_cv_deplibs_check_method=pass_all
6704
 
    ;;
6705
 
  esac
6706
 
  ;;
6707
 
 
6708
 
tpf*)
6709
 
  lt_cv_deplibs_check_method=pass_all
6710
 
  ;;
6711
 
esac
6712
 
 
6713
 
fi
6714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6715
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6716
 
 
6717
 
file_magic_glob=
6718
 
want_nocaseglob=no
6719
 
if test "$build" = "$host"; then
6720
 
  case $host_os in
6721
 
  mingw* | pw32*)
6722
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6723
 
      want_nocaseglob=yes
6724
 
    else
6725
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6726
 
    fi
6727
 
    ;;
6728
 
  esac
6729
 
fi
6730
 
 
6731
 
file_magic_cmd=$lt_cv_file_magic_cmd
6732
 
deplibs_check_method=$lt_cv_deplibs_check_method
6733
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6734
 
 
6735
 
 
6736
 
 
6737
 
 
6738
 
 
6739
 
 
6740
 
 
6741
 
 
6742
 
 
6743
 
 
6744
 
 
6745
 
 
6746
 
 
6747
 
 
6748
 
 
6749
 
 
6750
 
 
6751
 
 
6752
 
 
6753
 
 
6754
 
 
6755
 
 
6756
 
if test -n "$ac_tool_prefix"; then
6757
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6758
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760
 
$as_echo_n "checking for $ac_word... " >&6; }
6761
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
6762
 
  $as_echo_n "(cached) " >&6
6763
 
else
6764
 
  if test -n "$DLLTOOL"; then
6765
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6766
 
else
6767
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768
 
for as_dir in $PATH
6769
 
do
6770
 
  IFS=$as_save_IFS
6771
 
  test -z "$as_dir" && as_dir=.
6772
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6773
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6775
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776
 
    break 2
6777
 
  fi
6778
 
done
6779
 
  done
6780
 
IFS=$as_save_IFS
6781
 
 
6782
 
fi
6783
 
fi
6784
 
DLLTOOL=$ac_cv_prog_DLLTOOL
6785
 
if test -n "$DLLTOOL"; then
6786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6787
 
$as_echo "$DLLTOOL" >&6; }
6788
 
else
6789
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790
 
$as_echo "no" >&6; }
6791
 
fi
6792
 
 
6793
 
 
6794
 
fi
6795
 
if test -z "$ac_cv_prog_DLLTOOL"; then
6796
 
  ac_ct_DLLTOOL=$DLLTOOL
6797
 
  # Extract the first word of "dlltool", so it can be a program name with args.
6798
 
set dummy dlltool; ac_word=$2
6799
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800
 
$as_echo_n "checking for $ac_word... " >&6; }
6801
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6802
 
  $as_echo_n "(cached) " >&6
6803
 
else
6804
 
  if test -n "$ac_ct_DLLTOOL"; then
6805
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6806
 
else
6807
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808
 
for as_dir in $PATH
6809
 
do
6810
 
  IFS=$as_save_IFS
6811
 
  test -z "$as_dir" && as_dir=.
6812
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6813
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6815
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816
 
    break 2
6817
 
  fi
6818
 
done
6819
 
  done
6820
 
IFS=$as_save_IFS
6821
 
 
6822
 
fi
6823
 
fi
6824
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6825
 
if test -n "$ac_ct_DLLTOOL"; then
6826
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6827
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
6828
 
else
6829
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830
 
$as_echo "no" >&6; }
6831
 
fi
6832
 
 
6833
 
  if test "x$ac_ct_DLLTOOL" = x; then
6834
 
    DLLTOOL="false"
6835
 
  else
6836
 
    case $cross_compiling:$ac_tool_warned in
6837
 
yes:)
6838
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840
 
ac_tool_warned=yes ;;
6841
 
esac
6842
 
    DLLTOOL=$ac_ct_DLLTOOL
6843
 
  fi
6844
 
else
6845
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
6846
 
fi
6847
 
 
6848
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6849
 
 
6850
 
 
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
 
 
6859
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6860
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6861
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6862
 
  $as_echo_n "(cached) " >&6
6863
 
else
6864
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
6865
 
 
6866
 
case $host_os in
6867
 
cygwin* | mingw* | pw32* | cegcc*)
6868
 
  # two different shell functions defined in ltmain.sh
6869
 
  # decide which to use based on capabilities of $DLLTOOL
6870
 
  case `$DLLTOOL --help 2>&1` in
6871
 
  *--identify-strict*)
6872
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6873
 
    ;;
6874
 
  *)
6875
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6876
 
    ;;
6877
 
  esac
6878
 
  ;;
6879
 
*)
6880
 
  # fallback: assume linklib IS sharedlib
6881
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6882
 
  ;;
6883
 
esac
6884
 
 
6885
 
fi
6886
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6887
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6888
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6889
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
 
 
6896
 
 
6897
 
if test -n "$ac_tool_prefix"; then
6898
 
  for ac_prog in ar
6899
 
  do
6900
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6901
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6902
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903
 
$as_echo_n "checking for $ac_word... " >&6; }
6904
 
if ${ac_cv_prog_AR+:} false; then :
6905
 
  $as_echo_n "(cached) " >&6
6906
 
else
6907
 
  if test -n "$AR"; then
6908
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6909
 
else
6910
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911
 
for as_dir in $PATH
6912
 
do
6913
 
  IFS=$as_save_IFS
6914
 
  test -z "$as_dir" && as_dir=.
6915
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6916
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6917
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6918
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919
 
    break 2
6920
 
  fi
6921
 
done
6922
 
  done
6923
 
IFS=$as_save_IFS
6924
 
 
6925
 
fi
6926
 
fi
6927
 
AR=$ac_cv_prog_AR
6928
 
if test -n "$AR"; then
6929
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6930
 
$as_echo "$AR" >&6; }
6931
 
else
6932
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933
 
$as_echo "no" >&6; }
6934
 
fi
6935
 
 
6936
 
 
6937
 
    test -n "$AR" && break
6938
 
  done
6939
 
fi
6940
 
if test -z "$AR"; then
6941
 
  ac_ct_AR=$AR
6942
 
  for ac_prog in ar
6943
 
do
6944
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6945
 
set dummy $ac_prog; ac_word=$2
6946
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947
 
$as_echo_n "checking for $ac_word... " >&6; }
6948
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6949
 
  $as_echo_n "(cached) " >&6
6950
 
else
6951
 
  if test -n "$ac_ct_AR"; then
6952
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6953
 
else
6954
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955
 
for as_dir in $PATH
6956
 
do
6957
 
  IFS=$as_save_IFS
6958
 
  test -z "$as_dir" && as_dir=.
6959
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6960
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
6962
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963
 
    break 2
6964
 
  fi
6965
 
done
6966
 
  done
6967
 
IFS=$as_save_IFS
6968
 
 
6969
 
fi
6970
 
fi
6971
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6972
 
if test -n "$ac_ct_AR"; then
6973
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6974
 
$as_echo "$ac_ct_AR" >&6; }
6975
 
else
6976
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977
 
$as_echo "no" >&6; }
6978
 
fi
6979
 
 
6980
 
 
6981
 
  test -n "$ac_ct_AR" && break
6982
 
done
6983
 
 
6984
 
  if test "x$ac_ct_AR" = x; then
6985
 
    AR="false"
6986
 
  else
6987
 
    case $cross_compiling:$ac_tool_warned in
6988
 
yes:)
6989
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6990
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6991
 
ac_tool_warned=yes ;;
6992
 
esac
6993
 
    AR=$ac_ct_AR
6994
 
  fi
6995
 
fi
6996
 
 
6997
 
: ${AR=ar}
6998
 
: ${AR_FLAGS=cru}
6999
 
 
7000
 
 
7001
 
 
7002
 
 
7003
 
 
7004
 
 
7005
 
 
7006
 
 
7007
 
 
7008
 
 
7009
 
 
7010
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7011
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
7012
 
if ${lt_cv_ar_at_file+:} false; then :
7013
 
  $as_echo_n "(cached) " >&6
7014
 
else
7015
 
  lt_cv_ar_at_file=no
7016
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017
 
/* end confdefs.h.  */
7018
 
 
7019
 
int
7020
 
main ()
7021
 
{
7022
 
 
7023
 
  ;
7024
 
  return 0;
7025
 
}
7026
 
_ACEOF
7027
 
if ac_fn_c_try_compile "$LINENO"; then :
7028
 
  echo conftest.$ac_objext > conftest.lst
7029
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7030
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7031
 
  (eval $lt_ar_try) 2>&5
7032
 
  ac_status=$?
7033
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7034
 
  test $ac_status = 0; }
7035
 
      if test "$ac_status" -eq 0; then
7036
 
        # Ensure the archiver fails upon bogus file names.
7037
 
        rm -f conftest.$ac_objext libconftest.a
7038
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7039
 
  (eval $lt_ar_try) 2>&5
7040
 
  ac_status=$?
7041
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7042
 
  test $ac_status = 0; }
7043
 
        if test "$ac_status" -ne 0; then
7044
 
          lt_cv_ar_at_file=@
7045
 
        fi
7046
 
      fi
7047
 
      rm -f conftest.* libconftest.a
7048
 
 
7049
 
fi
7050
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7051
 
 
7052
 
fi
7053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7054
 
$as_echo "$lt_cv_ar_at_file" >&6; }
7055
 
 
7056
 
if test "x$lt_cv_ar_at_file" = xno; then
7057
 
  archiver_list_spec=
7058
 
else
7059
 
  archiver_list_spec=$lt_cv_ar_at_file
7060
 
fi
7061
 
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
 
 
7067
 
 
7068
 
if test -n "$ac_tool_prefix"; then
7069
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7070
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7071
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072
 
$as_echo_n "checking for $ac_word... " >&6; }
7073
 
if ${ac_cv_prog_STRIP+:} false; then :
7074
 
  $as_echo_n "(cached) " >&6
7075
 
else
7076
 
  if test -n "$STRIP"; then
7077
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7078
 
else
7079
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080
 
for as_dir in $PATH
7081
 
do
7082
 
  IFS=$as_save_IFS
7083
 
  test -z "$as_dir" && as_dir=.
7084
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7085
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7087
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088
 
    break 2
7089
 
  fi
7090
 
done
7091
 
  done
7092
 
IFS=$as_save_IFS
7093
 
 
7094
 
fi
7095
 
fi
7096
 
STRIP=$ac_cv_prog_STRIP
7097
 
if test -n "$STRIP"; then
7098
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7099
 
$as_echo "$STRIP" >&6; }
7100
 
else
7101
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102
 
$as_echo "no" >&6; }
7103
 
fi
7104
 
 
7105
 
 
7106
 
fi
7107
 
if test -z "$ac_cv_prog_STRIP"; then
7108
 
  ac_ct_STRIP=$STRIP
7109
 
  # Extract the first word of "strip", so it can be a program name with args.
7110
 
set dummy strip; ac_word=$2
7111
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112
 
$as_echo_n "checking for $ac_word... " >&6; }
7113
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7114
 
  $as_echo_n "(cached) " >&6
7115
 
else
7116
 
  if test -n "$ac_ct_STRIP"; then
7117
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7118
 
else
7119
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120
 
for as_dir in $PATH
7121
 
do
7122
 
  IFS=$as_save_IFS
7123
 
  test -z "$as_dir" && as_dir=.
7124
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7125
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126
 
    ac_cv_prog_ac_ct_STRIP="strip"
7127
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128
 
    break 2
7129
 
  fi
7130
 
done
7131
 
  done
7132
 
IFS=$as_save_IFS
7133
 
 
7134
 
fi
7135
 
fi
7136
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7137
 
if test -n "$ac_ct_STRIP"; then
7138
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7139
 
$as_echo "$ac_ct_STRIP" >&6; }
7140
 
else
7141
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142
 
$as_echo "no" >&6; }
7143
 
fi
7144
 
 
7145
 
  if test "x$ac_ct_STRIP" = x; then
7146
 
    STRIP=":"
7147
 
  else
7148
 
    case $cross_compiling:$ac_tool_warned in
7149
 
yes:)
7150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7151
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7152
 
ac_tool_warned=yes ;;
7153
 
esac
7154
 
    STRIP=$ac_ct_STRIP
7155
 
  fi
7156
 
else
7157
 
  STRIP="$ac_cv_prog_STRIP"
7158
 
fi
7159
 
 
7160
 
test -z "$STRIP" && STRIP=:
7161
 
 
7162
 
 
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
if test -n "$ac_tool_prefix"; then
7168
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7169
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171
 
$as_echo_n "checking for $ac_word... " >&6; }
7172
 
if ${ac_cv_prog_RANLIB+:} false; then :
7173
 
  $as_echo_n "(cached) " >&6
7174
 
else
7175
 
  if test -n "$RANLIB"; then
7176
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7177
 
else
7178
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179
 
for as_dir in $PATH
7180
 
do
7181
 
  IFS=$as_save_IFS
7182
 
  test -z "$as_dir" && as_dir=.
7183
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7184
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7185
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7186
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187
 
    break 2
7188
 
  fi
7189
 
done
7190
 
  done
7191
 
IFS=$as_save_IFS
7192
 
 
7193
 
fi
7194
 
fi
7195
 
RANLIB=$ac_cv_prog_RANLIB
7196
 
if test -n "$RANLIB"; then
7197
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7198
 
$as_echo "$RANLIB" >&6; }
7199
 
else
7200
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201
 
$as_echo "no" >&6; }
7202
 
fi
7203
 
 
7204
 
 
7205
 
fi
7206
 
if test -z "$ac_cv_prog_RANLIB"; then
7207
 
  ac_ct_RANLIB=$RANLIB
7208
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7209
 
set dummy ranlib; ac_word=$2
7210
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211
 
$as_echo_n "checking for $ac_word... " >&6; }
7212
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7213
 
  $as_echo_n "(cached) " >&6
7214
 
else
7215
 
  if test -n "$ac_ct_RANLIB"; then
7216
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7217
 
else
7218
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7219
 
for as_dir in $PATH
7220
 
do
7221
 
  IFS=$as_save_IFS
7222
 
  test -z "$as_dir" && as_dir=.
7223
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7224
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7226
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7227
 
    break 2
7228
 
  fi
7229
 
done
7230
 
  done
7231
 
IFS=$as_save_IFS
7232
 
 
7233
 
fi
7234
 
fi
7235
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7236
 
if test -n "$ac_ct_RANLIB"; then
7237
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7238
 
$as_echo "$ac_ct_RANLIB" >&6; }
7239
 
else
7240
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241
 
$as_echo "no" >&6; }
7242
 
fi
7243
 
 
7244
 
  if test "x$ac_ct_RANLIB" = x; then
7245
 
    RANLIB=":"
7246
 
  else
7247
 
    case $cross_compiling:$ac_tool_warned in
7248
 
yes:)
7249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7251
 
ac_tool_warned=yes ;;
7252
 
esac
7253
 
    RANLIB=$ac_ct_RANLIB
7254
 
  fi
7255
 
else
7256
 
  RANLIB="$ac_cv_prog_RANLIB"
7257
 
fi
7258
 
 
7259
 
test -z "$RANLIB" && RANLIB=:
7260
 
 
7261
 
 
7262
 
 
7263
 
 
7264
 
 
7265
 
 
7266
 
# Determine commands to create old-style static archives.
7267
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7268
 
old_postinstall_cmds='chmod 644 $oldlib'
7269
 
old_postuninstall_cmds=
7270
 
 
7271
 
if test -n "$RANLIB"; then
7272
 
  case $host_os in
7273
 
  openbsd*)
7274
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7275
 
    ;;
7276
 
  *)
7277
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7278
 
    ;;
7279
 
  esac
7280
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7281
 
fi
7282
 
 
7283
 
case $host_os in
7284
 
  darwin*)
7285
 
    lock_old_archive_extraction=yes ;;
7286
 
  *)
7287
 
    lock_old_archive_extraction=no ;;
7288
 
esac
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
 
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
# If no C compiler was specified, use CC.
7329
 
LTCC=${LTCC-"$CC"}
7330
 
 
7331
 
# If no C compiler flags were specified, use CFLAGS.
7332
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7333
 
 
7334
 
# Allow CC to be a program name with arguments.
7335
 
compiler=$CC
7336
 
 
7337
 
 
7338
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
7339
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7340
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7341
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7342
 
  $as_echo_n "(cached) " >&6
7343
 
else
7344
 
 
7345
 
# These are sane defaults that work on at least a few old systems.
7346
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7347
 
 
7348
 
# Character class describing NM global symbol codes.
7349
 
symcode='[BCDEGRST]'
7350
 
 
7351
 
# Regexp to match symbols that can be accessed directly from C.
7352
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7353
 
 
7354
 
# Define system-specific variables.
7355
 
case $host_os in
7356
 
aix*)
7357
 
  symcode='[BCDT]'
7358
 
  ;;
7359
 
cygwin* | mingw* | pw32* | cegcc*)
7360
 
  symcode='[ABCDGISTW]'
7361
 
  ;;
7362
 
hpux*)
7363
 
  if test "$host_cpu" = ia64; then
7364
 
    symcode='[ABCDEGRST]'
7365
 
  fi
7366
 
  ;;
7367
 
irix* | nonstopux*)
7368
 
  symcode='[BCDEGRST]'
7369
 
  ;;
7370
 
osf*)
7371
 
  symcode='[BCDEGQRST]'
7372
 
  ;;
7373
 
solaris*)
7374
 
  symcode='[BDRT]'
7375
 
  ;;
7376
 
sco3.2v5*)
7377
 
  symcode='[DT]'
7378
 
  ;;
7379
 
sysv4.2uw2*)
7380
 
  symcode='[DT]'
7381
 
  ;;
7382
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7383
 
  symcode='[ABDT]'
7384
 
  ;;
7385
 
sysv4)
7386
 
  symcode='[DFNSTU]'
7387
 
  ;;
7388
 
esac
7389
 
 
7390
 
# If we're using GNU nm, then use its standard symbol codes.
7391
 
case `$NM -V 2>&1` in
7392
 
*GNU* | *'with BFD'*)
7393
 
  symcode='[ABCDGIRSTW]' ;;
7394
 
esac
7395
 
 
7396
 
# Transform an extracted symbol line into a proper C declaration.
7397
 
# Some systems (esp. on ia64) link data and code symbols differently,
7398
 
# so use this general approach.
7399
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7400
 
 
7401
 
# Transform an extracted symbol line into symbol name and symbol address
7402
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7403
 
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'"
7404
 
 
7405
 
# Handle CRLF in mingw tool chain
7406
 
opt_cr=
7407
 
case $build_os in
7408
 
mingw*)
7409
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7410
 
  ;;
7411
 
esac
7412
 
 
7413
 
# Try without a prefix underscore, then with it.
7414
 
for ac_symprfx in "" "_"; do
7415
 
 
7416
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7417
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7418
 
 
7419
 
  # Write the raw and C identifiers.
7420
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7421
 
    # Fake it for dumpbin and say T for any non-static function
7422
 
    # and D for any global variable.
7423
 
    # Also find C++ and __fastcall symbols from MSVC++,
7424
 
    # which start with @ or ?.
7425
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7426
 
"     {last_section=section; section=\$ 3};"\
7427
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7428
 
"     \$ 0!~/External *\|/{next};"\
7429
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7430
 
"     {if(hide[section]) next};"\
7431
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7432
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7433
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7434
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7435
 
"     ' prfx=^$ac_symprfx"
7436
 
  else
7437
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7438
 
  fi
7439
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7440
 
 
7441
 
  # Check to see that the pipe works correctly.
7442
 
  pipe_works=no
7443
 
 
7444
 
  rm -f conftest*
7445
 
  cat > conftest.$ac_ext <<_LT_EOF
7446
 
#ifdef __cplusplus
7447
 
extern "C" {
7448
 
#endif
7449
 
char nm_test_var;
7450
 
void nm_test_func(void);
7451
 
void nm_test_func(void){}
7452
 
#ifdef __cplusplus
7453
 
}
7454
 
#endif
7455
 
int main(){nm_test_var='a';nm_test_func();return(0);}
7456
 
_LT_EOF
7457
 
 
7458
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7459
 
  (eval $ac_compile) 2>&5
7460
 
  ac_status=$?
7461
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7462
 
  test $ac_status = 0; }; then
7463
 
    # Now try to grab the symbols.
7464
 
    nlist=conftest.nm
7465
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7466
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7467
 
  ac_status=$?
7468
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7469
 
  test $ac_status = 0; } && test -s "$nlist"; then
7470
 
      # Try sorting and uniquifying the output.
7471
 
      if sort "$nlist" | uniq > "$nlist"T; then
7472
 
        mv -f "$nlist"T "$nlist"
7473
 
      else
7474
 
        rm -f "$nlist"T
7475
 
      fi
7476
 
 
7477
 
      # Make sure that we snagged all the symbols we need.
7478
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7479
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7480
 
          cat <<_LT_EOF > conftest.$ac_ext
7481
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7482
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7483
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7484
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7485
 
# define LT_DLSYM_CONST
7486
 
#elif defined(__osf__)
7487
 
/* This system does not cope well with relocations in const data.  */
7488
 
# define LT_DLSYM_CONST
7489
 
#else
7490
 
# define LT_DLSYM_CONST const
7491
 
#endif
7492
 
 
7493
 
#ifdef __cplusplus
7494
 
extern "C" {
7495
 
#endif
7496
 
 
7497
 
_LT_EOF
7498
 
          # Now generate the symbol file.
7499
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7500
 
 
7501
 
          cat <<_LT_EOF >> conftest.$ac_ext
7502
 
 
7503
 
/* The mapping between symbol names and symbols.  */
7504
 
LT_DLSYM_CONST struct {
7505
 
  const char *name;
7506
 
  void       *address;
7507
 
}
7508
 
lt__PROGRAM__LTX_preloaded_symbols[] =
7509
 
{
7510
 
  { "@PROGRAM@", (void *) 0 },
7511
 
_LT_EOF
7512
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7513
 
          cat <<\_LT_EOF >> conftest.$ac_ext
7514
 
  {0, (void *) 0}
7515
 
};
7516
 
 
7517
 
/* This works around a problem in FreeBSD linker */
7518
 
#ifdef FREEBSD_WORKAROUND
7519
 
static const void *lt_preloaded_setup() {
7520
 
  return lt__PROGRAM__LTX_preloaded_symbols;
7521
 
}
7522
 
#endif
7523
 
 
7524
 
#ifdef __cplusplus
7525
 
}
7526
 
#endif
7527
 
_LT_EOF
7528
 
          # Now try linking the two files.
7529
 
          mv conftest.$ac_objext conftstm.$ac_objext
7530
 
          lt_globsym_save_LIBS=$LIBS
7531
 
          lt_globsym_save_CFLAGS=$CFLAGS
7532
 
          LIBS="conftstm.$ac_objext"
7533
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7534
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7535
 
  (eval $ac_link) 2>&5
7536
 
  ac_status=$?
7537
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7538
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7539
 
            pipe_works=yes
7540
 
          fi
7541
 
          LIBS=$lt_globsym_save_LIBS
7542
 
          CFLAGS=$lt_globsym_save_CFLAGS
7543
 
        else
7544
 
          echo "cannot find nm_test_func in $nlist" >&5
7545
 
        fi
7546
 
      else
7547
 
        echo "cannot find nm_test_var in $nlist" >&5
7548
 
      fi
7549
 
    else
7550
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7551
 
    fi
7552
 
  else
7553
 
    echo "$progname: failed program was:" >&5
7554
 
    cat conftest.$ac_ext >&5
7555
 
  fi
7556
 
  rm -rf conftest* conftst*
7557
 
 
7558
 
  # Do not use the global_symbol_pipe unless it works.
7559
 
  if test "$pipe_works" = yes; then
7560
 
    break
7561
 
  else
7562
 
    lt_cv_sys_global_symbol_pipe=
7563
 
  fi
7564
 
done
7565
 
 
7566
 
fi
7567
 
 
7568
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7569
 
  lt_cv_sys_global_symbol_to_cdecl=
7570
 
fi
7571
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7573
 
$as_echo "failed" >&6; }
7574
 
else
7575
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7576
 
$as_echo "ok" >&6; }
7577
 
fi
7578
 
 
7579
 
# Response file support.
7580
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7581
 
  nm_file_list_spec='@'
7582
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7583
 
  nm_file_list_spec='@'
7584
 
fi
7585
 
 
7586
 
 
7587
 
 
7588
 
 
7589
 
 
7590
 
 
7591
 
 
7592
 
 
7593
 
 
7594
 
 
7595
 
 
7596
 
 
7597
 
 
7598
 
 
7599
 
 
7600
 
 
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
 
 
7611
 
 
7612
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7613
 
$as_echo_n "checking for sysroot... " >&6; }
7614
 
 
7615
 
# Check whether --with-sysroot was given.
7616
 
if test "${with_sysroot+set}" = set; then :
7617
 
  withval=$with_sysroot;
7618
 
else
7619
 
  with_sysroot=no
7620
 
fi
7621
 
 
7622
 
 
7623
 
lt_sysroot=
7624
 
case ${with_sysroot} in #(
7625
 
 yes)
7626
 
   if test "$GCC" = yes; then
7627
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7628
 
   fi
7629
 
   ;; #(
7630
 
 /*)
7631
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7632
 
   ;; #(
7633
 
 no|'')
7634
 
   ;; #(
7635
 
 *)
7636
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7637
 
$as_echo "${with_sysroot}" >&6; }
7638
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7639
 
   ;;
7640
 
esac
7641
 
 
7642
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7643
 
$as_echo "${lt_sysroot:-no}" >&6; }
7644
 
 
7645
 
 
7646
 
 
7647
 
 
7648
 
 
7649
 
# Check whether --enable-libtool-lock was given.
7650
 
if test "${enable_libtool_lock+set}" = set; then :
7651
 
  enableval=$enable_libtool_lock;
7652
 
fi
7653
 
 
7654
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7655
 
 
7656
 
# Some flags need to be propagated to the compiler or linker for good
7657
 
# libtool support.
7658
 
case $host in
7659
 
ia64-*-hpux*)
7660
 
  # Find out which ABI we are using.
7661
 
  echo 'int i;' > conftest.$ac_ext
7662
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7663
 
  (eval $ac_compile) 2>&5
7664
 
  ac_status=$?
7665
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7666
 
  test $ac_status = 0; }; then
7667
 
    case `/usr/bin/file conftest.$ac_objext` in
7668
 
      *ELF-32*)
7669
 
        HPUX_IA64_MODE="32"
7670
 
        ;;
7671
 
      *ELF-64*)
7672
 
        HPUX_IA64_MODE="64"
7673
 
        ;;
7674
 
    esac
7675
 
  fi
7676
 
  rm -rf conftest*
7677
 
  ;;
7678
 
*-*-irix6*)
7679
 
  # Find out which ABI we are using.
7680
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7681
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7682
 
  (eval $ac_compile) 2>&5
7683
 
  ac_status=$?
7684
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7685
 
  test $ac_status = 0; }; then
7686
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
7687
 
      case `/usr/bin/file conftest.$ac_objext` in
7688
 
        *32-bit*)
7689
 
          LD="${LD-ld} -melf32bsmip"
7690
 
          ;;
7691
 
        *N32*)
7692
 
          LD="${LD-ld} -melf32bmipn32"
7693
 
          ;;
7694
 
        *64-bit*)
7695
 
          LD="${LD-ld} -melf64bmip"
7696
 
        ;;
7697
 
      esac
7698
 
    else
7699
 
      case `/usr/bin/file conftest.$ac_objext` in
7700
 
        *32-bit*)
7701
 
          LD="${LD-ld} -32"
7702
 
          ;;
7703
 
        *N32*)
7704
 
          LD="${LD-ld} -n32"
7705
 
          ;;
7706
 
        *64-bit*)
7707
 
          LD="${LD-ld} -64"
7708
 
          ;;
7709
 
      esac
7710
 
    fi
7711
 
  fi
7712
 
  rm -rf conftest*
7713
 
  ;;
7714
 
 
7715
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7716
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7717
 
  # Find out which ABI we are using.
7718
 
  echo 'int i;' > conftest.$ac_ext
7719
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7720
 
  (eval $ac_compile) 2>&5
7721
 
  ac_status=$?
7722
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7723
 
  test $ac_status = 0; }; then
7724
 
    case `/usr/bin/file conftest.o` in
7725
 
      *32-bit*)
7726
 
        case $host in
7727
 
          x86_64-*kfreebsd*-gnu)
7728
 
            LD="${LD-ld} -m elf_i386_fbsd"
7729
 
            ;;
7730
 
          x86_64-*linux*)
7731
 
            LD="${LD-ld} -m elf_i386"
7732
 
            ;;
7733
 
          ppc64-*linux*|powerpc64-*linux*)
7734
 
            LD="${LD-ld} -m elf32ppclinux"
7735
 
            ;;
7736
 
          s390x-*linux*)
7737
 
            LD="${LD-ld} -m elf_s390"
7738
 
            ;;
7739
 
          sparc64-*linux*)
7740
 
            LD="${LD-ld} -m elf32_sparc"
7741
 
            ;;
7742
 
        esac
7743
 
        ;;
7744
 
      *64-bit*)
7745
 
        case $host in
7746
 
          x86_64-*kfreebsd*-gnu)
7747
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
7748
 
            ;;
7749
 
          x86_64-*linux*)
7750
 
            LD="${LD-ld} -m elf_x86_64"
7751
 
            ;;
7752
 
          ppc*-*linux*|powerpc*-*linux*)
7753
 
            LD="${LD-ld} -m elf64ppc"
7754
 
            ;;
7755
 
          s390*-*linux*|s390*-*tpf*)
7756
 
            LD="${LD-ld} -m elf64_s390"
7757
 
            ;;
7758
 
          sparc*-*linux*)
7759
 
            LD="${LD-ld} -m elf64_sparc"
7760
 
            ;;
7761
 
        esac
7762
 
        ;;
7763
 
    esac
7764
 
  fi
7765
 
  rm -rf conftest*
7766
 
  ;;
7767
 
 
7768
 
*-*-sco3.2v5*)
7769
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7770
 
  SAVE_CFLAGS="$CFLAGS"
7771
 
  CFLAGS="$CFLAGS -belf"
7772
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7773
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7774
 
if ${lt_cv_cc_needs_belf+:} false; then :
7775
 
  $as_echo_n "(cached) " >&6
7776
 
else
7777
 
  ac_ext=c
7778
 
ac_cpp='$CPP $CPPFLAGS'
7779
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7780
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7781
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7782
 
 
7783
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784
 
/* end confdefs.h.  */
7785
 
 
7786
 
int
7787
 
main ()
7788
 
{
7789
 
 
7790
 
  ;
7791
 
  return 0;
7792
 
}
7793
 
_ACEOF
7794
 
if ac_fn_c_try_link "$LINENO"; then :
7795
 
  lt_cv_cc_needs_belf=yes
7796
 
else
7797
 
  lt_cv_cc_needs_belf=no
7798
 
fi
7799
 
rm -f core conftest.err conftest.$ac_objext \
7800
 
    conftest$ac_exeext conftest.$ac_ext
7801
 
     ac_ext=c
7802
 
ac_cpp='$CPP $CPPFLAGS'
7803
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7804
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7805
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7806
 
 
7807
 
fi
7808
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7809
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7810
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7811
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7812
 
    CFLAGS="$SAVE_CFLAGS"
7813
 
  fi
7814
 
  ;;
7815
 
sparc*-*solaris*)
7816
 
  # Find out which ABI we are using.
7817
 
  echo 'int i;' > conftest.$ac_ext
7818
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7819
 
  (eval $ac_compile) 2>&5
7820
 
  ac_status=$?
7821
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7822
 
  test $ac_status = 0; }; then
7823
 
    case `/usr/bin/file conftest.o` in
7824
 
    *64-bit*)
7825
 
      case $lt_cv_prog_gnu_ld in
7826
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7827
 
      *)
7828
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7829
 
          LD="${LD-ld} -64"
7830
 
        fi
7831
 
        ;;
7832
 
      esac
7833
 
      ;;
7834
 
    esac
7835
 
  fi
7836
 
  rm -rf conftest*
7837
 
  ;;
7838
 
esac
7839
 
 
7840
 
need_locks="$enable_libtool_lock"
7841
 
 
7842
 
if test -n "$ac_tool_prefix"; then
7843
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7844
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
7845
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846
 
$as_echo_n "checking for $ac_word... " >&6; }
7847
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7848
 
  $as_echo_n "(cached) " >&6
7849
 
else
7850
 
  if test -n "$MANIFEST_TOOL"; then
7851
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7852
 
else
7853
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854
 
for as_dir in $PATH
7855
 
do
7856
 
  IFS=$as_save_IFS
7857
 
  test -z "$as_dir" && as_dir=.
7858
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7859
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7860
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7861
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862
 
    break 2
7863
 
  fi
7864
 
done
7865
 
  done
7866
 
IFS=$as_save_IFS
7867
 
 
7868
 
fi
7869
 
fi
7870
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7871
 
if test -n "$MANIFEST_TOOL"; then
7872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7873
 
$as_echo "$MANIFEST_TOOL" >&6; }
7874
 
else
7875
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876
 
$as_echo "no" >&6; }
7877
 
fi
7878
 
 
7879
 
 
7880
 
fi
7881
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7882
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7883
 
  # Extract the first word of "mt", so it can be a program name with args.
7884
 
set dummy mt; ac_word=$2
7885
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886
 
$as_echo_n "checking for $ac_word... " >&6; }
7887
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7888
 
  $as_echo_n "(cached) " >&6
7889
 
else
7890
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
7891
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7892
 
else
7893
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894
 
for as_dir in $PATH
7895
 
do
7896
 
  IFS=$as_save_IFS
7897
 
  test -z "$as_dir" && as_dir=.
7898
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7899
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7901
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902
 
    break 2
7903
 
  fi
7904
 
done
7905
 
  done
7906
 
IFS=$as_save_IFS
7907
 
 
7908
 
fi
7909
 
fi
7910
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7911
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
7912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7913
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7914
 
else
7915
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916
 
$as_echo "no" >&6; }
7917
 
fi
7918
 
 
7919
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7920
 
    MANIFEST_TOOL=":"
7921
 
  else
7922
 
    case $cross_compiling:$ac_tool_warned in
7923
 
yes:)
7924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926
 
ac_tool_warned=yes ;;
7927
 
esac
7928
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7929
 
  fi
7930
 
else
7931
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7932
 
fi
7933
 
 
7934
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7935
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7936
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7937
 
if ${lt_cv_path_mainfest_tool+:} false; then :
7938
 
  $as_echo_n "(cached) " >&6
7939
 
else
7940
 
  lt_cv_path_mainfest_tool=no
7941
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7942
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7943
 
  cat conftest.err >&5
7944
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7945
 
    lt_cv_path_mainfest_tool=yes
7946
 
  fi
7947
 
  rm -f conftest*
7948
 
fi
7949
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7950
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7951
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7952
 
  MANIFEST_TOOL=:
7953
 
fi
7954
 
 
7955
 
 
7956
 
 
7957
 
 
7958
 
 
7959
 
 
7960
 
  case $host_os in
7961
 
    rhapsody* | darwin*)
7962
 
    if test -n "$ac_tool_prefix"; then
7963
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7964
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7965
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966
 
$as_echo_n "checking for $ac_word... " >&6; }
7967
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7968
 
  $as_echo_n "(cached) " >&6
7969
 
else
7970
 
  if test -n "$DSYMUTIL"; then
7971
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7972
 
else
7973
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974
 
for as_dir in $PATH
7975
 
do
7976
 
  IFS=$as_save_IFS
7977
 
  test -z "$as_dir" && as_dir=.
7978
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7979
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7981
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982
 
    break 2
7983
 
  fi
7984
 
done
7985
 
  done
7986
 
IFS=$as_save_IFS
7987
 
 
7988
 
fi
7989
 
fi
7990
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7991
 
if test -n "$DSYMUTIL"; then
7992
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7993
 
$as_echo "$DSYMUTIL" >&6; }
7994
 
else
7995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996
 
$as_echo "no" >&6; }
7997
 
fi
7998
 
 
7999
 
 
8000
 
fi
8001
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
8002
 
  ac_ct_DSYMUTIL=$DSYMUTIL
8003
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
8004
 
set dummy dsymutil; ac_word=$2
8005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006
 
$as_echo_n "checking for $ac_word... " >&6; }
8007
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8008
 
  $as_echo_n "(cached) " >&6
8009
 
else
8010
 
  if test -n "$ac_ct_DSYMUTIL"; then
8011
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8012
 
else
8013
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014
 
for as_dir in $PATH
8015
 
do
8016
 
  IFS=$as_save_IFS
8017
 
  test -z "$as_dir" && as_dir=.
8018
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8019
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8021
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022
 
    break 2
8023
 
  fi
8024
 
done
8025
 
  done
8026
 
IFS=$as_save_IFS
8027
 
 
8028
 
fi
8029
 
fi
8030
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8031
 
if test -n "$ac_ct_DSYMUTIL"; then
8032
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8033
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8034
 
else
8035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036
 
$as_echo "no" >&6; }
8037
 
fi
8038
 
 
8039
 
  if test "x$ac_ct_DSYMUTIL" = x; then
8040
 
    DSYMUTIL=":"
8041
 
  else
8042
 
    case $cross_compiling:$ac_tool_warned in
8043
 
yes:)
8044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8045
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8046
 
ac_tool_warned=yes ;;
8047
 
esac
8048
 
    DSYMUTIL=$ac_ct_DSYMUTIL
8049
 
  fi
8050
 
else
8051
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8052
 
fi
8053
 
 
8054
 
    if test -n "$ac_tool_prefix"; then
8055
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8056
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8057
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058
 
$as_echo_n "checking for $ac_word... " >&6; }
8059
 
if ${ac_cv_prog_NMEDIT+:} false; then :
8060
 
  $as_echo_n "(cached) " >&6
8061
 
else
8062
 
  if test -n "$NMEDIT"; then
8063
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8064
 
else
8065
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066
 
for as_dir in $PATH
8067
 
do
8068
 
  IFS=$as_save_IFS
8069
 
  test -z "$as_dir" && as_dir=.
8070
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8071
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8072
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8073
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074
 
    break 2
8075
 
  fi
8076
 
done
8077
 
  done
8078
 
IFS=$as_save_IFS
8079
 
 
8080
 
fi
8081
 
fi
8082
 
NMEDIT=$ac_cv_prog_NMEDIT
8083
 
if test -n "$NMEDIT"; then
8084
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8085
 
$as_echo "$NMEDIT" >&6; }
8086
 
else
8087
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088
 
$as_echo "no" >&6; }
8089
 
fi
8090
 
 
8091
 
 
8092
 
fi
8093
 
if test -z "$ac_cv_prog_NMEDIT"; then
8094
 
  ac_ct_NMEDIT=$NMEDIT
8095
 
  # Extract the first word of "nmedit", so it can be a program name with args.
8096
 
set dummy nmedit; ac_word=$2
8097
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098
 
$as_echo_n "checking for $ac_word... " >&6; }
8099
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8100
 
  $as_echo_n "(cached) " >&6
8101
 
else
8102
 
  if test -n "$ac_ct_NMEDIT"; then
8103
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8104
 
else
8105
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106
 
for as_dir in $PATH
8107
 
do
8108
 
  IFS=$as_save_IFS
8109
 
  test -z "$as_dir" && as_dir=.
8110
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8111
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8112
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8113
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8114
 
    break 2
8115
 
  fi
8116
 
done
8117
 
  done
8118
 
IFS=$as_save_IFS
8119
 
 
8120
 
fi
8121
 
fi
8122
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8123
 
if test -n "$ac_ct_NMEDIT"; then
8124
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8125
 
$as_echo "$ac_ct_NMEDIT" >&6; }
8126
 
else
8127
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128
 
$as_echo "no" >&6; }
8129
 
fi
8130
 
 
8131
 
  if test "x$ac_ct_NMEDIT" = x; then
8132
 
    NMEDIT=":"
8133
 
  else
8134
 
    case $cross_compiling:$ac_tool_warned in
8135
 
yes:)
8136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8137
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8138
 
ac_tool_warned=yes ;;
8139
 
esac
8140
 
    NMEDIT=$ac_ct_NMEDIT
8141
 
  fi
8142
 
else
8143
 
  NMEDIT="$ac_cv_prog_NMEDIT"
8144
 
fi
8145
 
 
8146
 
    if test -n "$ac_tool_prefix"; then
8147
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8148
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8149
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150
 
$as_echo_n "checking for $ac_word... " >&6; }
8151
 
if ${ac_cv_prog_LIPO+:} false; then :
8152
 
  $as_echo_n "(cached) " >&6
8153
 
else
8154
 
  if test -n "$LIPO"; then
8155
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8156
 
else
8157
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158
 
for as_dir in $PATH
8159
 
do
8160
 
  IFS=$as_save_IFS
8161
 
  test -z "$as_dir" && as_dir=.
8162
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8163
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8164
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8165
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166
 
    break 2
8167
 
  fi
8168
 
done
8169
 
  done
8170
 
IFS=$as_save_IFS
8171
 
 
8172
 
fi
8173
 
fi
8174
 
LIPO=$ac_cv_prog_LIPO
8175
 
if test -n "$LIPO"; then
8176
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8177
 
$as_echo "$LIPO" >&6; }
8178
 
else
8179
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180
 
$as_echo "no" >&6; }
8181
 
fi
8182
 
 
8183
 
 
8184
 
fi
8185
 
if test -z "$ac_cv_prog_LIPO"; then
8186
 
  ac_ct_LIPO=$LIPO
8187
 
  # Extract the first word of "lipo", so it can be a program name with args.
8188
 
set dummy lipo; ac_word=$2
8189
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8190
 
$as_echo_n "checking for $ac_word... " >&6; }
8191
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8192
 
  $as_echo_n "(cached) " >&6
8193
 
else
8194
 
  if test -n "$ac_ct_LIPO"; then
8195
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8196
 
else
8197
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198
 
for as_dir in $PATH
8199
 
do
8200
 
  IFS=$as_save_IFS
8201
 
  test -z "$as_dir" && as_dir=.
8202
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8203
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204
 
    ac_cv_prog_ac_ct_LIPO="lipo"
8205
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8206
 
    break 2
8207
 
  fi
8208
 
done
8209
 
  done
8210
 
IFS=$as_save_IFS
8211
 
 
8212
 
fi
8213
 
fi
8214
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8215
 
if test -n "$ac_ct_LIPO"; then
8216
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8217
 
$as_echo "$ac_ct_LIPO" >&6; }
8218
 
else
8219
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220
 
$as_echo "no" >&6; }
8221
 
fi
8222
 
 
8223
 
  if test "x$ac_ct_LIPO" = x; then
8224
 
    LIPO=":"
8225
 
  else
8226
 
    case $cross_compiling:$ac_tool_warned in
8227
 
yes:)
8228
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8229
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8230
 
ac_tool_warned=yes ;;
8231
 
esac
8232
 
    LIPO=$ac_ct_LIPO
8233
 
  fi
8234
 
else
8235
 
  LIPO="$ac_cv_prog_LIPO"
8236
 
fi
8237
 
 
8238
 
    if test -n "$ac_tool_prefix"; then
8239
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8240
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
8241
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242
 
$as_echo_n "checking for $ac_word... " >&6; }
8243
 
if ${ac_cv_prog_OTOOL+:} false; then :
8244
 
  $as_echo_n "(cached) " >&6
8245
 
else
8246
 
  if test -n "$OTOOL"; then
8247
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8248
 
else
8249
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250
 
for as_dir in $PATH
8251
 
do
8252
 
  IFS=$as_save_IFS
8253
 
  test -z "$as_dir" && as_dir=.
8254
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8255
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8256
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8257
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258
 
    break 2
8259
 
  fi
8260
 
done
8261
 
  done
8262
 
IFS=$as_save_IFS
8263
 
 
8264
 
fi
8265
 
fi
8266
 
OTOOL=$ac_cv_prog_OTOOL
8267
 
if test -n "$OTOOL"; then
8268
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8269
 
$as_echo "$OTOOL" >&6; }
8270
 
else
8271
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272
 
$as_echo "no" >&6; }
8273
 
fi
8274
 
 
8275
 
 
8276
 
fi
8277
 
if test -z "$ac_cv_prog_OTOOL"; then
8278
 
  ac_ct_OTOOL=$OTOOL
8279
 
  # Extract the first word of "otool", so it can be a program name with args.
8280
 
set dummy otool; ac_word=$2
8281
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8282
 
$as_echo_n "checking for $ac_word... " >&6; }
8283
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8284
 
  $as_echo_n "(cached) " >&6
8285
 
else
8286
 
  if test -n "$ac_ct_OTOOL"; then
8287
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8288
 
else
8289
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8290
 
for as_dir in $PATH
8291
 
do
8292
 
  IFS=$as_save_IFS
8293
 
  test -z "$as_dir" && as_dir=.
8294
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8295
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8296
 
    ac_cv_prog_ac_ct_OTOOL="otool"
8297
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8298
 
    break 2
8299
 
  fi
8300
 
done
8301
 
  done
8302
 
IFS=$as_save_IFS
8303
 
 
8304
 
fi
8305
 
fi
8306
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8307
 
if test -n "$ac_ct_OTOOL"; then
8308
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8309
 
$as_echo "$ac_ct_OTOOL" >&6; }
8310
 
else
8311
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312
 
$as_echo "no" >&6; }
8313
 
fi
8314
 
 
8315
 
  if test "x$ac_ct_OTOOL" = x; then
8316
 
    OTOOL=":"
8317
 
  else
8318
 
    case $cross_compiling:$ac_tool_warned in
8319
 
yes:)
8320
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8321
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8322
 
ac_tool_warned=yes ;;
8323
 
esac
8324
 
    OTOOL=$ac_ct_OTOOL
8325
 
  fi
8326
 
else
8327
 
  OTOOL="$ac_cv_prog_OTOOL"
8328
 
fi
8329
 
 
8330
 
    if test -n "$ac_tool_prefix"; then
8331
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8332
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8333
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334
 
$as_echo_n "checking for $ac_word... " >&6; }
8335
 
if ${ac_cv_prog_OTOOL64+:} false; then :
8336
 
  $as_echo_n "(cached) " >&6
8337
 
else
8338
 
  if test -n "$OTOOL64"; then
8339
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8340
 
else
8341
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342
 
for as_dir in $PATH
8343
 
do
8344
 
  IFS=$as_save_IFS
8345
 
  test -z "$as_dir" && as_dir=.
8346
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8347
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8349
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350
 
    break 2
8351
 
  fi
8352
 
done
8353
 
  done
8354
 
IFS=$as_save_IFS
8355
 
 
8356
 
fi
8357
 
fi
8358
 
OTOOL64=$ac_cv_prog_OTOOL64
8359
 
if test -n "$OTOOL64"; then
8360
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8361
 
$as_echo "$OTOOL64" >&6; }
8362
 
else
8363
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364
 
$as_echo "no" >&6; }
8365
 
fi
8366
 
 
8367
 
 
8368
 
fi
8369
 
if test -z "$ac_cv_prog_OTOOL64"; then
8370
 
  ac_ct_OTOOL64=$OTOOL64
8371
 
  # Extract the first word of "otool64", so it can be a program name with args.
8372
 
set dummy otool64; ac_word=$2
8373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374
 
$as_echo_n "checking for $ac_word... " >&6; }
8375
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8376
 
  $as_echo_n "(cached) " >&6
8377
 
else
8378
 
  if test -n "$ac_ct_OTOOL64"; then
8379
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8380
 
else
8381
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382
 
for as_dir in $PATH
8383
 
do
8384
 
  IFS=$as_save_IFS
8385
 
  test -z "$as_dir" && as_dir=.
8386
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8387
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8388
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8389
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390
 
    break 2
8391
 
  fi
8392
 
done
8393
 
  done
8394
 
IFS=$as_save_IFS
8395
 
 
8396
 
fi
8397
 
fi
8398
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8399
 
if test -n "$ac_ct_OTOOL64"; then
8400
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8401
 
$as_echo "$ac_ct_OTOOL64" >&6; }
8402
 
else
8403
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404
 
$as_echo "no" >&6; }
8405
 
fi
8406
 
 
8407
 
  if test "x$ac_ct_OTOOL64" = x; then
8408
 
    OTOOL64=":"
8409
 
  else
8410
 
    case $cross_compiling:$ac_tool_warned in
8411
 
yes:)
8412
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8413
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8414
 
ac_tool_warned=yes ;;
8415
 
esac
8416
 
    OTOOL64=$ac_ct_OTOOL64
8417
 
  fi
8418
 
else
8419
 
  OTOOL64="$ac_cv_prog_OTOOL64"
8420
 
fi
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
 
 
8426
 
 
8427
 
 
8428
 
 
8429
 
 
8430
 
 
8431
 
 
8432
 
 
8433
 
 
8434
 
 
8435
 
 
8436
 
 
8437
 
 
8438
 
 
8439
 
 
8440
 
 
8441
 
 
8442
 
 
8443
 
 
8444
 
 
8445
 
 
8446
 
 
8447
 
 
8448
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8449
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
8450
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
8451
 
  $as_echo_n "(cached) " >&6
8452
 
else
8453
 
  lt_cv_apple_cc_single_mod=no
8454
 
      if test -z "${LT_MULTI_MODULE}"; then
8455
 
        # By default we will add the -single_module flag. You can override
8456
 
        # by either setting the environment variable LT_MULTI_MODULE
8457
 
        # non-empty at configure time, or by adding -multi_module to the
8458
 
        # link flags.
8459
 
        rm -rf libconftest.dylib*
8460
 
        echo "int foo(void){return 1;}" > conftest.c
8461
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8462
 
-dynamiclib -Wl,-single_module conftest.c" >&5
8463
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8464
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8465
 
        _lt_result=$?
8466
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8467
 
          lt_cv_apple_cc_single_mod=yes
8468
 
        else
8469
 
          cat conftest.err >&5
8470
 
        fi
8471
 
        rm -rf libconftest.dylib*
8472
 
        rm -f conftest.*
8473
 
      fi
8474
 
fi
8475
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8476
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8477
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8478
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8479
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8480
 
  $as_echo_n "(cached) " >&6
8481
 
else
8482
 
  lt_cv_ld_exported_symbols_list=no
8483
 
      save_LDFLAGS=$LDFLAGS
8484
 
      echo "_main" > conftest.sym
8485
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8486
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487
 
/* end confdefs.h.  */
8488
 
 
8489
 
int
8490
 
main ()
8491
 
{
8492
 
 
8493
 
  ;
8494
 
  return 0;
8495
 
}
8496
 
_ACEOF
8497
 
if ac_fn_c_try_link "$LINENO"; then :
8498
 
  lt_cv_ld_exported_symbols_list=yes
8499
 
else
8500
 
  lt_cv_ld_exported_symbols_list=no
8501
 
fi
8502
 
rm -f core conftest.err conftest.$ac_objext \
8503
 
    conftest$ac_exeext conftest.$ac_ext
8504
 
        LDFLAGS="$save_LDFLAGS"
8505
 
 
8506
 
fi
8507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8508
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8509
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8510
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
8511
 
if ${lt_cv_ld_force_load+:} false; then :
8512
 
  $as_echo_n "(cached) " >&6
8513
 
else
8514
 
  lt_cv_ld_force_load=no
8515
 
      cat > conftest.c << _LT_EOF
8516
 
int forced_loaded() { return 2;}
8517
 
_LT_EOF
8518
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8519
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8520
 
      echo "$AR cru libconftest.a conftest.o" >&5
8521
 
      $AR cru libconftest.a conftest.o 2>&5
8522
 
      echo "$RANLIB libconftest.a" >&5
8523
 
      $RANLIB libconftest.a 2>&5
8524
 
      cat > conftest.c << _LT_EOF
8525
 
int main() { return 0;}
8526
 
_LT_EOF
8527
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8528
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8529
 
      _lt_result=$?
8530
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8531
 
        lt_cv_ld_force_load=yes
8532
 
      else
8533
 
        cat conftest.err >&5
8534
 
      fi
8535
 
        rm -f conftest.err libconftest.a conftest conftest.c
8536
 
        rm -rf conftest.dSYM
8537
 
 
8538
 
fi
8539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8540
 
$as_echo "$lt_cv_ld_force_load" >&6; }
8541
 
    case $host_os in
8542
 
    rhapsody* | darwin1.[012])
8543
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8544
 
    darwin1.*)
8545
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8546
 
    darwin*) # darwin 5.x on
8547
 
      # if running on 10.5 or later, the deployment target defaults
8548
 
      # to the OS version, if on x86, and 10.4, the deployment
8549
 
      # target defaults to 10.4. Don't you love it?
8550
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8551
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8552
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8553
 
        10.[012]*)
8554
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8555
 
        10.*)
8556
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8557
 
      esac
8558
 
    ;;
8559
 
  esac
8560
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8561
 
      _lt_dar_single_mod='$single_module'
8562
 
    fi
8563
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8564
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8565
 
    else
8566
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8567
 
    fi
8568
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8569
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8570
 
    else
8571
 
      _lt_dsymutil=
8572
 
    fi
8573
 
    ;;
8574
 
  esac
8575
 
 
8576
 
for ac_header in dlfcn.h
8577
 
do :
8578
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8579
 
"
8580
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8581
 
  cat >>confdefs.h <<_ACEOF
8582
 
#define HAVE_DLFCN_H 1
8583
 
_ACEOF
8584
 
 
8585
 
fi
8586
 
 
8587
 
done
8588
 
 
8589
 
 
8590
 
 
8591
 
 
8592
 
 
8593
 
# Set options
8594
 
 
8595
 
 
8596
 
 
8597
 
        enable_dlopen=no
8598
 
 
8599
 
 
8600
 
  enable_win32_dll=no
8601
 
 
8602
 
 
8603
 
            # Check whether --enable-shared was given.
8604
 
if test "${enable_shared+set}" = set; then :
8605
 
  enableval=$enable_shared; p=${PACKAGE-default}
8606
 
    case $enableval in
8607
 
    yes) enable_shared=yes ;;
8608
 
    no) enable_shared=no ;;
8609
 
    *)
8610
 
      enable_shared=no
8611
 
      # Look at the argument we got.  We use all the common list separators.
8612
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8613
 
      for pkg in $enableval; do
8614
 
        IFS="$lt_save_ifs"
8615
 
        if test "X$pkg" = "X$p"; then
8616
 
          enable_shared=yes
8617
 
        fi
8618
 
      done
8619
 
      IFS="$lt_save_ifs"
8620
 
      ;;
8621
 
    esac
8622
 
else
8623
 
  enable_shared=yes
8624
 
fi
8625
 
 
8626
 
 
8627
 
 
8628
 
 
8629
 
 
8630
 
 
8631
 
 
8632
 
 
8633
 
 
8634
 
  # Check whether --enable-static was given.
8635
 
if test "${enable_static+set}" = set; then :
8636
 
  enableval=$enable_static; p=${PACKAGE-default}
8637
 
    case $enableval in
8638
 
    yes) enable_static=yes ;;
8639
 
    no) enable_static=no ;;
8640
 
    *)
8641
 
     enable_static=no
8642
 
      # Look at the argument we got.  We use all the common list separators.
8643
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8644
 
      for pkg in $enableval; do
8645
 
        IFS="$lt_save_ifs"
8646
 
        if test "X$pkg" = "X$p"; then
8647
 
          enable_static=yes
8648
 
        fi
8649
 
      done
8650
 
      IFS="$lt_save_ifs"
8651
 
      ;;
8652
 
    esac
8653
 
else
8654
 
  enable_static=yes
8655
 
fi
8656
 
 
8657
 
 
8658
 
 
8659
 
 
8660
 
 
8661
 
 
8662
 
 
8663
 
 
8664
 
 
8665
 
 
8666
 
# Check whether --with-pic was given.
8667
 
if test "${with_pic+set}" = set; then :
8668
 
  withval=$with_pic; pic_mode="$withval"
8669
 
else
8670
 
  pic_mode=default
8671
 
fi
8672
 
 
8673
 
 
8674
 
test -z "$pic_mode" && pic_mode=default
8675
 
 
8676
 
 
8677
 
 
8678
 
 
8679
 
 
8680
 
 
8681
 
 
8682
 
  # Check whether --enable-fast-install was given.
8683
 
if test "${enable_fast_install+set}" = set; then :
8684
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8685
 
    case $enableval in
8686
 
    yes) enable_fast_install=yes ;;
8687
 
    no) enable_fast_install=no ;;
8688
 
    *)
8689
 
      enable_fast_install=no
8690
 
      # Look at the argument we got.  We use all the common list separators.
8691
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8692
 
      for pkg in $enableval; do
8693
 
        IFS="$lt_save_ifs"
8694
 
        if test "X$pkg" = "X$p"; then
8695
 
          enable_fast_install=yes
8696
 
        fi
8697
 
      done
8698
 
      IFS="$lt_save_ifs"
8699
 
      ;;
8700
 
    esac
8701
 
else
8702
 
  enable_fast_install=yes
8703
 
fi
8704
 
 
8705
 
 
8706
 
 
8707
 
 
8708
 
 
8709
 
 
8710
 
 
8711
 
 
8712
 
 
8713
 
 
8714
 
 
8715
 
# This can be used to rebuild libtool when needed
8716
 
LIBTOOL_DEPS="$ltmain"
8717
 
 
8718
 
# Always use our own libtool.
8719
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8720
 
 
8721
 
 
8722
 
 
8723
 
 
8724
 
 
8725
 
 
8726
 
 
8727
 
 
8728
 
 
8729
 
 
8730
 
 
8731
 
 
8732
 
 
8733
 
 
8734
 
 
8735
 
 
8736
 
 
8737
 
 
8738
 
 
8739
 
 
8740
 
 
8741
 
 
8742
 
 
8743
 
 
8744
 
 
8745
 
 
8746
 
test -z "$LN_S" && LN_S="ln -s"
8747
 
 
8748
 
 
8749
 
 
8750
 
 
8751
 
 
8752
 
 
8753
 
 
8754
 
 
8755
 
 
8756
 
 
8757
 
 
8758
 
 
8759
 
 
8760
 
 
8761
 
if test -n "${ZSH_VERSION+set}" ; then
8762
 
   setopt NO_GLOB_SUBST
8763
 
fi
8764
 
 
8765
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8766
 
$as_echo_n "checking for objdir... " >&6; }
8767
 
if ${lt_cv_objdir+:} false; then :
8768
 
  $as_echo_n "(cached) " >&6
8769
 
else
8770
 
  rm -f .libs 2>/dev/null
8771
 
mkdir .libs 2>/dev/null
8772
 
if test -d .libs; then
8773
 
  lt_cv_objdir=.libs
8774
 
else
8775
 
  # MS-DOS does not allow filenames that begin with a dot.
8776
 
  lt_cv_objdir=_libs
8777
 
fi
8778
 
rmdir .libs 2>/dev/null
8779
 
fi
8780
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8781
 
$as_echo "$lt_cv_objdir" >&6; }
8782
 
objdir=$lt_cv_objdir
8783
 
 
8784
 
 
8785
 
 
8786
 
 
8787
 
 
8788
 
cat >>confdefs.h <<_ACEOF
8789
 
#define LT_OBJDIR "$lt_cv_objdir/"
8790
 
_ACEOF
8791
 
 
8792
 
 
8793
 
 
8794
 
 
8795
 
case $host_os in
8796
 
aix3*)
8797
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8798
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8799
 
  # vanish in a puff of smoke.
8800
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8801
 
    COLLECT_NAMES=
8802
 
    export COLLECT_NAMES
8803
 
  fi
8804
 
  ;;
8805
 
esac
8806
 
 
8807
 
# Global variables:
8808
 
ofile=libtool
8809
 
can_build_shared=yes
8810
 
 
8811
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8812
 
# which needs '.lib').
8813
 
libext=a
8814
 
 
8815
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8816
 
 
8817
 
old_CC="$CC"
8818
 
old_CFLAGS="$CFLAGS"
8819
 
 
8820
 
# Set sane defaults for various variables
8821
 
test -z "$CC" && CC=cc
8822
 
test -z "$LTCC" && LTCC=$CC
8823
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8824
 
test -z "$LD" && LD=ld
8825
 
test -z "$ac_objext" && ac_objext=o
8826
 
 
8827
 
for cc_temp in $compiler""; do
8828
 
  case $cc_temp in
8829
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8830
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8831
 
    \-*) ;;
8832
 
    *) break;;
8833
 
  esac
8834
 
done
8835
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8836
 
 
8837
 
 
8838
 
# Only perform the check for file, if the check method requires it
8839
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8840
 
case $deplibs_check_method in
8841
 
file_magic*)
8842
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8843
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8844
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8845
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8846
 
  $as_echo_n "(cached) " >&6
8847
 
else
8848
 
  case $MAGIC_CMD in
8849
 
[\\/*] |  ?:[\\/]*)
8850
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8851
 
  ;;
8852
 
*)
8853
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8854
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8855
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8856
 
  for ac_dir in $ac_dummy; do
8857
 
    IFS="$lt_save_ifs"
8858
 
    test -z "$ac_dir" && ac_dir=.
8859
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8860
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8861
 
      if test -n "$file_magic_test_file"; then
8862
 
        case $deplibs_check_method in
8863
 
        "file_magic "*)
8864
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8865
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8866
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8867
 
            $EGREP "$file_magic_regex" > /dev/null; then
8868
 
            :
8869
 
          else
8870
 
            cat <<_LT_EOF 1>&2
8871
 
 
8872
 
*** Warning: the command libtool uses to detect shared libraries,
8873
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8874
 
*** The result is that libtool may fail to recognize shared libraries
8875
 
*** as such.  This will affect the creation of libtool libraries that
8876
 
*** depend on shared libraries, but programs linked with such libtool
8877
 
*** libraries will work regardless of this problem.  Nevertheless, you
8878
 
*** may want to report the problem to your system manager and/or to
8879
 
*** bug-libtool@gnu.org
8880
 
 
8881
 
_LT_EOF
8882
 
          fi ;;
8883
 
        esac
8884
 
      fi
8885
 
      break
8886
 
    fi
8887
 
  done
8888
 
  IFS="$lt_save_ifs"
8889
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8890
 
  ;;
8891
 
esac
8892
 
fi
8893
 
 
8894
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8895
 
if test -n "$MAGIC_CMD"; then
8896
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8897
 
$as_echo "$MAGIC_CMD" >&6; }
8898
 
else
8899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900
 
$as_echo "no" >&6; }
8901
 
fi
8902
 
 
8903
 
 
8904
 
 
8905
 
 
8906
 
 
8907
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8908
 
  if test -n "$ac_tool_prefix"; then
8909
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8910
 
$as_echo_n "checking for file... " >&6; }
8911
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8912
 
  $as_echo_n "(cached) " >&6
8913
 
else
8914
 
  case $MAGIC_CMD in
8915
 
[\\/*] |  ?:[\\/]*)
8916
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8917
 
  ;;
8918
 
*)
8919
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8920
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8921
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8922
 
  for ac_dir in $ac_dummy; do
8923
 
    IFS="$lt_save_ifs"
8924
 
    test -z "$ac_dir" && ac_dir=.
8925
 
    if test -f $ac_dir/file; then
8926
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8927
 
      if test -n "$file_magic_test_file"; then
8928
 
        case $deplibs_check_method in
8929
 
        "file_magic "*)
8930
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8931
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8932
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8933
 
            $EGREP "$file_magic_regex" > /dev/null; then
8934
 
            :
8935
 
          else
8936
 
            cat <<_LT_EOF 1>&2
8937
 
 
8938
 
*** Warning: the command libtool uses to detect shared libraries,
8939
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8940
 
*** The result is that libtool may fail to recognize shared libraries
8941
 
*** as such.  This will affect the creation of libtool libraries that
8942
 
*** depend on shared libraries, but programs linked with such libtool
8943
 
*** libraries will work regardless of this problem.  Nevertheless, you
8944
 
*** may want to report the problem to your system manager and/or to
8945
 
*** bug-libtool@gnu.org
8946
 
 
8947
 
_LT_EOF
8948
 
          fi ;;
8949
 
        esac
8950
 
      fi
8951
 
      break
8952
 
    fi
8953
 
  done
8954
 
  IFS="$lt_save_ifs"
8955
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8956
 
  ;;
8957
 
esac
8958
 
fi
8959
 
 
8960
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8961
 
if test -n "$MAGIC_CMD"; then
8962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8963
 
$as_echo "$MAGIC_CMD" >&6; }
8964
 
else
8965
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966
 
$as_echo "no" >&6; }
8967
 
fi
8968
 
 
8969
 
 
8970
 
  else
8971
 
    MAGIC_CMD=:
8972
 
  fi
8973
 
fi
8974
 
 
8975
 
  fi
8976
 
  ;;
8977
 
esac
8978
 
 
8979
 
# Use C for the default configuration in the libtool script
8980
 
 
8981
 
lt_save_CC="$CC"
8982
 
ac_ext=c
8983
 
ac_cpp='$CPP $CPPFLAGS'
8984
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8985
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8986
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8987
 
 
8988
 
 
8989
 
# Source file extension for C test sources.
8990
 
ac_ext=c
8991
 
 
8992
 
# Object file extension for compiled C test sources.
8993
 
objext=o
8994
 
objext=$objext
8995
 
 
8996
 
# Code to be used in simple compile tests
8997
 
lt_simple_compile_test_code="int some_variable = 0;"
8998
 
 
8999
 
# Code to be used in simple link tests
9000
 
lt_simple_link_test_code='int main(){return(0);}'
9001
 
 
9002
 
 
9003
 
 
9004
 
 
9005
 
 
9006
 
 
9007
 
 
9008
 
# If no C compiler was specified, use CC.
9009
 
LTCC=${LTCC-"$CC"}
9010
 
 
9011
 
# If no C compiler flags were specified, use CFLAGS.
9012
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9013
 
 
9014
 
# Allow CC to be a program name with arguments.
9015
 
compiler=$CC
9016
 
 
9017
 
# Save the default compiler, since it gets overwritten when the other
9018
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9019
 
compiler_DEFAULT=$CC
9020
 
 
9021
 
# save warnings/boilerplate of simple test code
9022
 
ac_outfile=conftest.$ac_objext
9023
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9024
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9025
 
_lt_compiler_boilerplate=`cat conftest.err`
9026
 
$RM conftest*
9027
 
 
9028
 
ac_outfile=conftest.$ac_objext
9029
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9030
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9031
 
_lt_linker_boilerplate=`cat conftest.err`
9032
 
$RM -r conftest*
9033
 
 
9034
 
 
9035
 
if test -n "$compiler"; then
9036
 
 
9037
 
lt_prog_compiler_no_builtin_flag=
9038
 
 
9039
 
if test "$GCC" = yes; then
9040
 
  case $cc_basename in
9041
 
  nvcc*)
9042
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9043
 
  *)
9044
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9045
 
  esac
9046
 
 
9047
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9048
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9049
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9050
 
  $as_echo_n "(cached) " >&6
9051
 
else
9052
 
  lt_cv_prog_compiler_rtti_exceptions=no
9053
 
   ac_outfile=conftest.$ac_objext
9054
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9055
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9056
 
   # Insert the option either (1) after the last *FLAGS variable, or
9057
 
   # (2) before a word containing "conftest.", or (3) at the end.
9058
 
   # Note that $ac_compile itself does not contain backslashes and begins
9059
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9060
 
   # The option is referenced via a variable to avoid confusing sed.
9061
 
   lt_compile=`echo "$ac_compile" | $SED \
9062
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9063
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9064
 
   -e 's:$: $lt_compiler_flag:'`
9065
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9066
 
   (eval "$lt_compile" 2>conftest.err)
9067
 
   ac_status=$?
9068
 
   cat conftest.err >&5
9069
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9071
 
     # The compiler can only warn and ignore the option if not recognized
9072
 
     # So say no if there are warnings other than the usual output.
9073
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9074
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9075
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9076
 
       lt_cv_prog_compiler_rtti_exceptions=yes
9077
 
     fi
9078
 
   fi
9079
 
   $RM conftest*
9080
 
 
9081
 
fi
9082
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9083
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9084
 
 
9085
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9086
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9087
 
else
9088
 
    :
9089
 
fi
9090
 
 
9091
 
fi
9092
 
 
9093
 
 
9094
 
 
9095
 
 
9096
 
 
9097
 
 
9098
 
  lt_prog_compiler_wl=
9099
 
lt_prog_compiler_pic=
9100
 
lt_prog_compiler_static=
9101
 
 
9102
 
 
9103
 
  if test "$GCC" = yes; then
9104
 
    lt_prog_compiler_wl='-Wl,'
9105
 
    lt_prog_compiler_static='-static'
9106
 
 
9107
 
    case $host_os in
9108
 
      aix*)
9109
 
      # All AIX code is PIC.
9110
 
      if test "$host_cpu" = ia64; then
9111
 
        # AIX 5 now supports IA64 processor
9112
 
        lt_prog_compiler_static='-Bstatic'
9113
 
      fi
9114
 
      ;;
9115
 
 
9116
 
    amigaos*)
9117
 
      case $host_cpu in
9118
 
      powerpc)
9119
 
            # see comment about AmigaOS4 .so support
9120
 
            lt_prog_compiler_pic='-fPIC'
9121
 
        ;;
9122
 
      m68k)
9123
 
            # FIXME: we need at least 68020 code to build shared libraries, but
9124
 
            # adding the `-m68020' flag to GCC prevents building anything better,
9125
 
            # like `-m68040'.
9126
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9127
 
        ;;
9128
 
      esac
9129
 
      ;;
9130
 
 
9131
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9132
 
      # PIC is the default for these OSes.
9133
 
      ;;
9134
 
 
9135
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9136
 
      # This hack is so that the source file can tell whether it is being
9137
 
      # built for inclusion in a dll (and should export symbols for example).
9138
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9139
 
      # (--disable-auto-import) libraries
9140
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9141
 
      ;;
9142
 
 
9143
 
    darwin* | rhapsody*)
9144
 
      # PIC is the default on this platform
9145
 
      # Common symbols not allowed in MH_DYLIB files
9146
 
      lt_prog_compiler_pic='-fno-common'
9147
 
      ;;
9148
 
 
9149
 
    haiku*)
9150
 
      # PIC is the default for Haiku.
9151
 
      # The "-static" flag exists, but is broken.
9152
 
      lt_prog_compiler_static=
9153
 
      ;;
9154
 
 
9155
 
    hpux*)
9156
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9157
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9158
 
      # sets the default TLS model and affects inlining.
9159
 
      case $host_cpu in
9160
 
      hppa*64*)
9161
 
        # +Z the default
9162
 
        ;;
9163
 
      *)
9164
 
        lt_prog_compiler_pic='-fPIC'
9165
 
        ;;
9166
 
      esac
9167
 
      ;;
9168
 
 
9169
 
    interix[3-9]*)
9170
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9171
 
      # Instead, we relocate shared libraries at runtime.
9172
 
      ;;
9173
 
 
9174
 
    msdosdjgpp*)
9175
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9176
 
      # on systems that don't support them.
9177
 
      lt_prog_compiler_can_build_shared=no
9178
 
      enable_shared=no
9179
 
      ;;
9180
 
 
9181
 
    *nto* | *qnx*)
9182
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9183
 
      # it will coredump.
9184
 
      lt_prog_compiler_pic='-fPIC -shared'
9185
 
      ;;
9186
 
 
9187
 
    sysv4*MP*)
9188
 
      if test -d /usr/nec; then
9189
 
        lt_prog_compiler_pic=-Kconform_pic
9190
 
      fi
9191
 
      ;;
9192
 
 
9193
 
    *)
9194
 
      lt_prog_compiler_pic='-fPIC'
9195
 
      ;;
9196
 
    esac
9197
 
 
9198
 
    case $cc_basename in
9199
 
    nvcc*) # Cuda Compiler Driver 2.2
9200
 
      lt_prog_compiler_wl='-Xlinker '
9201
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
9202
 
      ;;
9203
 
    esac
9204
 
  else
9205
 
    # PORTME Check for flag to pass linker flags through the system compiler.
9206
 
    case $host_os in
9207
 
    aix*)
9208
 
      lt_prog_compiler_wl='-Wl,'
9209
 
      if test "$host_cpu" = ia64; then
9210
 
        # AIX 5 now supports IA64 processor
9211
 
        lt_prog_compiler_static='-Bstatic'
9212
 
      else
9213
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9214
 
      fi
9215
 
      ;;
9216
 
 
9217
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9218
 
      # This hack is so that the source file can tell whether it is being
9219
 
      # built for inclusion in a dll (and should export symbols for example).
9220
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
9221
 
      ;;
9222
 
 
9223
 
    hpux9* | hpux10* | hpux11*)
9224
 
      lt_prog_compiler_wl='-Wl,'
9225
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9226
 
      # not for PA HP-UX.
9227
 
      case $host_cpu in
9228
 
      hppa*64*|ia64*)
9229
 
        # +Z the default
9230
 
        ;;
9231
 
      *)
9232
 
        lt_prog_compiler_pic='+Z'
9233
 
        ;;
9234
 
      esac
9235
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9236
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9237
 
      ;;
9238
 
 
9239
 
    irix5* | irix6* | nonstopux*)
9240
 
      lt_prog_compiler_wl='-Wl,'
9241
 
      # PIC (with -KPIC) is the default.
9242
 
      lt_prog_compiler_static='-non_shared'
9243
 
      ;;
9244
 
 
9245
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9246
 
      case $cc_basename in
9247
 
      # old Intel for x86_64 which still supported -KPIC.
9248
 
      ecc*)
9249
 
        lt_prog_compiler_wl='-Wl,'
9250
 
        lt_prog_compiler_pic='-KPIC'
9251
 
        lt_prog_compiler_static='-static'
9252
 
        ;;
9253
 
      # icc used to be incompatible with GCC.
9254
 
      # ICC 10 doesn't accept -KPIC any more.
9255
 
      icc* | ifort*)
9256
 
        lt_prog_compiler_wl='-Wl,'
9257
 
        lt_prog_compiler_pic='-fPIC'
9258
 
        lt_prog_compiler_static='-static'
9259
 
        ;;
9260
 
      # Lahey Fortran 8.1.
9261
 
      lf95*)
9262
 
        lt_prog_compiler_wl='-Wl,'
9263
 
        lt_prog_compiler_pic='--shared'
9264
 
        lt_prog_compiler_static='--static'
9265
 
        ;;
9266
 
      nagfor*)
9267
 
        # NAG Fortran compiler
9268
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
9269
 
        lt_prog_compiler_pic='-PIC'
9270
 
        lt_prog_compiler_static='-Bstatic'
9271
 
        ;;
9272
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9273
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
9274
 
        # which looks to be a dead project)
9275
 
        lt_prog_compiler_wl='-Wl,'
9276
 
        lt_prog_compiler_pic='-fpic'
9277
 
        lt_prog_compiler_static='-Bstatic'
9278
 
        ;;
9279
 
      ccc*)
9280
 
        lt_prog_compiler_wl='-Wl,'
9281
 
        # All Alpha code is PIC.
9282
 
        lt_prog_compiler_static='-non_shared'
9283
 
        ;;
9284
 
      xl* | bgxl* | bgf* | mpixl*)
9285
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9286
 
        lt_prog_compiler_wl='-Wl,'
9287
 
        lt_prog_compiler_pic='-qpic'
9288
 
        lt_prog_compiler_static='-qstaticlink'
9289
 
        ;;
9290
 
      *)
9291
 
        case `$CC -V 2>&1 | sed 5q` in
9292
 
        *Sun\ F* | *Sun*Fortran*)
9293
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9294
 
          lt_prog_compiler_pic='-KPIC'
9295
 
          lt_prog_compiler_static='-Bstatic'
9296
 
          lt_prog_compiler_wl=''
9297
 
          ;;
9298
 
        *Sun\ C*)
9299
 
          # Sun C 5.9
9300
 
          lt_prog_compiler_pic='-KPIC'
9301
 
          lt_prog_compiler_static='-Bstatic'
9302
 
          lt_prog_compiler_wl='-Wl,'
9303
 
          ;;
9304
 
        esac
9305
 
        ;;
9306
 
      esac
9307
 
      ;;
9308
 
 
9309
 
    newsos6)
9310
 
      lt_prog_compiler_pic='-KPIC'
9311
 
      lt_prog_compiler_static='-Bstatic'
9312
 
      ;;
9313
 
 
9314
 
    *nto* | *qnx*)
9315
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9316
 
      # it will coredump.
9317
 
      lt_prog_compiler_pic='-fPIC -shared'
9318
 
      ;;
9319
 
 
9320
 
    osf3* | osf4* | osf5*)
9321
 
      lt_prog_compiler_wl='-Wl,'
9322
 
      # All OSF/1 code is PIC.
9323
 
      lt_prog_compiler_static='-non_shared'
9324
 
      ;;
9325
 
 
9326
 
    rdos*)
9327
 
      lt_prog_compiler_static='-non_shared'
9328
 
      ;;
9329
 
 
9330
 
    solaris*)
9331
 
      lt_prog_compiler_pic='-KPIC'
9332
 
      lt_prog_compiler_static='-Bstatic'
9333
 
      case $cc_basename in
9334
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9335
 
        lt_prog_compiler_wl='-Qoption ld ';;
9336
 
      *)
9337
 
        lt_prog_compiler_wl='-Wl,';;
9338
 
      esac
9339
 
      ;;
9340
 
 
9341
 
    sunos4*)
9342
 
      lt_prog_compiler_wl='-Qoption ld '
9343
 
      lt_prog_compiler_pic='-PIC'
9344
 
      lt_prog_compiler_static='-Bstatic'
9345
 
      ;;
9346
 
 
9347
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
9348
 
      lt_prog_compiler_wl='-Wl,'
9349
 
      lt_prog_compiler_pic='-KPIC'
9350
 
      lt_prog_compiler_static='-Bstatic'
9351
 
      ;;
9352
 
 
9353
 
    sysv4*MP*)
9354
 
      if test -d /usr/nec ;then
9355
 
        lt_prog_compiler_pic='-Kconform_pic'
9356
 
        lt_prog_compiler_static='-Bstatic'
9357
 
      fi
9358
 
      ;;
9359
 
 
9360
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9361
 
      lt_prog_compiler_wl='-Wl,'
9362
 
      lt_prog_compiler_pic='-KPIC'
9363
 
      lt_prog_compiler_static='-Bstatic'
9364
 
      ;;
9365
 
 
9366
 
    unicos*)
9367
 
      lt_prog_compiler_wl='-Wl,'
9368
 
      lt_prog_compiler_can_build_shared=no
9369
 
      ;;
9370
 
 
9371
 
    uts4*)
9372
 
      lt_prog_compiler_pic='-pic'
9373
 
      lt_prog_compiler_static='-Bstatic'
9374
 
      ;;
9375
 
 
9376
 
    *)
9377
 
      lt_prog_compiler_can_build_shared=no
9378
 
      ;;
9379
 
    esac
9380
 
  fi
9381
 
 
9382
 
case $host_os in
9383
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9384
 
  *djgpp*)
9385
 
    lt_prog_compiler_pic=
9386
 
    ;;
9387
 
  *)
9388
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9389
 
    ;;
9390
 
esac
9391
 
 
9392
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9393
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9394
 
if ${lt_cv_prog_compiler_pic+:} false; then :
9395
 
  $as_echo_n "(cached) " >&6
9396
 
else
9397
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9398
 
fi
9399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9400
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9401
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9402
 
 
9403
 
#
9404
 
# Check to make sure the PIC flag actually works.
9405
 
#
9406
 
if test -n "$lt_prog_compiler_pic"; then
9407
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9408
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9409
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9410
 
  $as_echo_n "(cached) " >&6
9411
 
else
9412
 
  lt_cv_prog_compiler_pic_works=no
9413
 
   ac_outfile=conftest.$ac_objext
9414
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9415
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9416
 
   # Insert the option either (1) after the last *FLAGS variable, or
9417
 
   # (2) before a word containing "conftest.", or (3) at the end.
9418
 
   # Note that $ac_compile itself does not contain backslashes and begins
9419
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9420
 
   # The option is referenced via a variable to avoid confusing sed.
9421
 
   lt_compile=`echo "$ac_compile" | $SED \
9422
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9423
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9424
 
   -e 's:$: $lt_compiler_flag:'`
9425
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9426
 
   (eval "$lt_compile" 2>conftest.err)
9427
 
   ac_status=$?
9428
 
   cat conftest.err >&5
9429
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
9431
 
     # The compiler can only warn and ignore the option if not recognized
9432
 
     # So say no if there are warnings other than the usual output.
9433
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9434
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9435
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9436
 
       lt_cv_prog_compiler_pic_works=yes
9437
 
     fi
9438
 
   fi
9439
 
   $RM conftest*
9440
 
 
9441
 
fi
9442
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9443
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9444
 
 
9445
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9446
 
    case $lt_prog_compiler_pic in
9447
 
     "" | " "*) ;;
9448
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9449
 
     esac
9450
 
else
9451
 
    lt_prog_compiler_pic=
9452
 
     lt_prog_compiler_can_build_shared=no
9453
 
fi
9454
 
 
9455
 
fi
9456
 
 
9457
 
 
9458
 
 
9459
 
 
9460
 
 
9461
 
 
9462
 
 
9463
 
 
9464
 
 
9465
 
 
9466
 
 
9467
 
#
9468
 
# Check to make sure the static flag actually works.
9469
 
#
9470
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9471
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9472
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9473
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
9474
 
  $as_echo_n "(cached) " >&6
9475
 
else
9476
 
  lt_cv_prog_compiler_static_works=no
9477
 
   save_LDFLAGS="$LDFLAGS"
9478
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9479
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9480
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9481
 
     # The linker can only warn and ignore the option if not recognized
9482
 
     # So say no if there are warnings
9483
 
     if test -s conftest.err; then
9484
 
       # Append any errors to the config.log.
9485
 
       cat conftest.err 1>&5
9486
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9487
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9488
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9489
 
         lt_cv_prog_compiler_static_works=yes
9490
 
       fi
9491
 
     else
9492
 
       lt_cv_prog_compiler_static_works=yes
9493
 
     fi
9494
 
   fi
9495
 
   $RM -r conftest*
9496
 
   LDFLAGS="$save_LDFLAGS"
9497
 
 
9498
 
fi
9499
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9500
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9501
 
 
9502
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9503
 
    :
9504
 
else
9505
 
    lt_prog_compiler_static=
9506
 
fi
9507
 
 
9508
 
 
9509
 
 
9510
 
 
9511
 
 
9512
 
 
9513
 
 
9514
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9515
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9516
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9517
 
  $as_echo_n "(cached) " >&6
9518
 
else
9519
 
  lt_cv_prog_compiler_c_o=no
9520
 
   $RM -r conftest 2>/dev/null
9521
 
   mkdir conftest
9522
 
   cd conftest
9523
 
   mkdir out
9524
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9525
 
 
9526
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9527
 
   # Insert the option either (1) after the last *FLAGS variable, or
9528
 
   # (2) before a word containing "conftest.", or (3) at the end.
9529
 
   # Note that $ac_compile itself does not contain backslashes and begins
9530
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9531
 
   lt_compile=`echo "$ac_compile" | $SED \
9532
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534
 
   -e 's:$: $lt_compiler_flag:'`
9535
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9536
 
   (eval "$lt_compile" 2>out/conftest.err)
9537
 
   ac_status=$?
9538
 
   cat out/conftest.err >&5
9539
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9541
 
   then
9542
 
     # The compiler can only warn and ignore the option if not recognized
9543
 
     # So say no if there are warnings
9544
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9545
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9546
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9547
 
       lt_cv_prog_compiler_c_o=yes
9548
 
     fi
9549
 
   fi
9550
 
   chmod u+w . 2>&5
9551
 
   $RM conftest*
9552
 
   # SGI C++ compiler will create directory out/ii_files/ for
9553
 
   # template instantiation
9554
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9555
 
   $RM out/* && rmdir out
9556
 
   cd ..
9557
 
   $RM -r conftest
9558
 
   $RM conftest*
9559
 
 
9560
 
fi
9561
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9562
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9563
 
 
9564
 
 
9565
 
 
9566
 
 
9567
 
 
9568
 
 
9569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9570
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9571
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
9572
 
  $as_echo_n "(cached) " >&6
9573
 
else
9574
 
  lt_cv_prog_compiler_c_o=no
9575
 
   $RM -r conftest 2>/dev/null
9576
 
   mkdir conftest
9577
 
   cd conftest
9578
 
   mkdir out
9579
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9580
 
 
9581
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9582
 
   # Insert the option either (1) after the last *FLAGS variable, or
9583
 
   # (2) before a word containing "conftest.", or (3) at the end.
9584
 
   # Note that $ac_compile itself does not contain backslashes and begins
9585
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9586
 
   lt_compile=`echo "$ac_compile" | $SED \
9587
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9588
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9589
 
   -e 's:$: $lt_compiler_flag:'`
9590
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9591
 
   (eval "$lt_compile" 2>out/conftest.err)
9592
 
   ac_status=$?
9593
 
   cat out/conftest.err >&5
9594
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9596
 
   then
9597
 
     # The compiler can only warn and ignore the option if not recognized
9598
 
     # So say no if there are warnings
9599
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9600
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9601
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9602
 
       lt_cv_prog_compiler_c_o=yes
9603
 
     fi
9604
 
   fi
9605
 
   chmod u+w . 2>&5
9606
 
   $RM conftest*
9607
 
   # SGI C++ compiler will create directory out/ii_files/ for
9608
 
   # template instantiation
9609
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9610
 
   $RM out/* && rmdir out
9611
 
   cd ..
9612
 
   $RM -r conftest
9613
 
   $RM conftest*
9614
 
 
9615
 
fi
9616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9617
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9618
 
 
9619
 
 
9620
 
 
9621
 
 
9622
 
hard_links="nottested"
9623
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9624
 
  # do not overwrite the value of need_locks provided by the user
9625
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9626
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9627
 
  hard_links=yes
9628
 
  $RM conftest*
9629
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9630
 
  touch conftest.a
9631
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9632
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9633
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9634
 
$as_echo "$hard_links" >&6; }
9635
 
  if test "$hard_links" = no; then
9636
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9637
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9638
 
    need_locks=warn
9639
 
  fi
9640
 
else
9641
 
  need_locks=no
9642
 
fi
9643
 
 
9644
 
 
9645
 
 
9646
 
 
9647
 
 
9648
 
 
9649
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9650
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9651
 
 
9652
 
  runpath_var=
9653
 
  allow_undefined_flag=
9654
 
  always_export_symbols=no
9655
 
  archive_cmds=
9656
 
  archive_expsym_cmds=
9657
 
  compiler_needs_object=no
9658
 
  enable_shared_with_static_runtimes=no
9659
 
  export_dynamic_flag_spec=
9660
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9661
 
  hardcode_automatic=no
9662
 
  hardcode_direct=no
9663
 
  hardcode_direct_absolute=no
9664
 
  hardcode_libdir_flag_spec=
9665
 
  hardcode_libdir_flag_spec_ld=
9666
 
  hardcode_libdir_separator=
9667
 
  hardcode_minus_L=no
9668
 
  hardcode_shlibpath_var=unsupported
9669
 
  inherit_rpath=no
9670
 
  link_all_deplibs=unknown
9671
 
  module_cmds=
9672
 
  module_expsym_cmds=
9673
 
  old_archive_from_new_cmds=
9674
 
  old_archive_from_expsyms_cmds=
9675
 
  thread_safe_flag_spec=
9676
 
  whole_archive_flag_spec=
9677
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9678
 
  # included in the symbol list
9679
 
  include_expsyms=
9680
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9681
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9682
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9683
 
  # as well as any symbol that contains `d'.
9684
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9685
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9686
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9687
 
  # the symbol is explicitly referenced.  Since portable code cannot
9688
 
  # rely on this symbol name, it's probably fine to never include it in
9689
 
  # preloaded symbol tables.
9690
 
  # Exclude shared library initialization/finalization symbols.
9691
 
  extract_expsyms_cmds=
9692
 
 
9693
 
  case $host_os in
9694
 
  cygwin* | mingw* | pw32* | cegcc*)
9695
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9696
 
    # When not using gcc, we currently assume that we are using
9697
 
    # Microsoft Visual C++.
9698
 
    if test "$GCC" != yes; then
9699
 
      with_gnu_ld=no
9700
 
    fi
9701
 
    ;;
9702
 
  interix*)
9703
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9704
 
    with_gnu_ld=yes
9705
 
    ;;
9706
 
  openbsd*)
9707
 
    with_gnu_ld=no
9708
 
    ;;
9709
 
  linux* | k*bsd*-gnu | gnu*)
9710
 
    link_all_deplibs=no
9711
 
    ;;
9712
 
  esac
9713
 
 
9714
 
  ld_shlibs=yes
9715
 
 
9716
 
  # On some targets, GNU ld is compatible enough with the native linker
9717
 
  # that we're better off using the native interface for both.
9718
 
  lt_use_gnu_ld_interface=no
9719
 
  if test "$with_gnu_ld" = yes; then
9720
 
    case $host_os in
9721
 
      aix*)
9722
 
        # The AIX port of GNU ld has always aspired to compatibility
9723
 
        # with the native linker.  However, as the warning in the GNU ld
9724
 
        # block says, versions before 2.19.5* couldn't really create working
9725
 
        # shared libraries, regardless of the interface used.
9726
 
        case `$LD -v 2>&1` in
9727
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9728
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9729
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9730
 
          *)
9731
 
            lt_use_gnu_ld_interface=yes
9732
 
            ;;
9733
 
        esac
9734
 
        ;;
9735
 
      *)
9736
 
        lt_use_gnu_ld_interface=yes
9737
 
        ;;
9738
 
    esac
9739
 
  fi
9740
 
 
9741
 
  if test "$lt_use_gnu_ld_interface" = yes; then
9742
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9743
 
    wlarc='${wl}'
9744
 
 
9745
 
    # Set some defaults for GNU ld with shared library support. These
9746
 
    # are reset later if shared libraries are not supported. Putting them
9747
 
    # here allows them to be overridden if necessary.
9748
 
    runpath_var=LD_RUN_PATH
9749
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9750
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9751
 
    # ancient GNU ld didn't support --whole-archive et. al.
9752
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9753
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9754
 
    else
9755
 
      whole_archive_flag_spec=
9756
 
    fi
9757
 
    supports_anon_versioning=no
9758
 
    case `$LD -v 2>&1` in
9759
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9760
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9761
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9762
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9763
 
      *\ 2.11.*) ;; # other 2.11 versions
9764
 
      *) supports_anon_versioning=yes ;;
9765
 
    esac
9766
 
 
9767
 
    # See if GNU ld supports shared libraries.
9768
 
    case $host_os in
9769
 
    aix[3-9]*)
9770
 
      # On AIX/PPC, the GNU linker is very broken
9771
 
      if test "$host_cpu" != ia64; then
9772
 
        ld_shlibs=no
9773
 
        cat <<_LT_EOF 1>&2
9774
 
 
9775
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
9776
 
*** to be unable to reliably create shared libraries on AIX.
9777
 
*** Therefore, libtool is disabling shared libraries support.  If you
9778
 
*** really care for shared libraries, you may want to install binutils
9779
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9780
 
*** You will then need to restart the configuration process.
9781
 
 
9782
 
_LT_EOF
9783
 
      fi
9784
 
      ;;
9785
 
 
9786
 
    amigaos*)
9787
 
      case $host_cpu in
9788
 
      powerpc)
9789
 
            # see comment about AmigaOS4 .so support
9790
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9791
 
            archive_expsym_cmds=''
9792
 
        ;;
9793
 
      m68k)
9794
 
            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)'
9795
 
            hardcode_libdir_flag_spec='-L$libdir'
9796
 
            hardcode_minus_L=yes
9797
 
        ;;
9798
 
      esac
9799
 
      ;;
9800
 
 
9801
 
    beos*)
9802
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9803
 
        allow_undefined_flag=unsupported
9804
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9805
 
        # support --undefined.  This deserves some investigation.  FIXME
9806
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9807
 
      else
9808
 
        ld_shlibs=no
9809
 
      fi
9810
 
      ;;
9811
 
 
9812
 
    cygwin* | mingw* | pw32* | cegcc*)
9813
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9814
 
      # as there is no search path for DLLs.
9815
 
      hardcode_libdir_flag_spec='-L$libdir'
9816
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9817
 
      allow_undefined_flag=unsupported
9818
 
      always_export_symbols=no
9819
 
      enable_shared_with_static_runtimes=yes
9820
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9821
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9822
 
 
9823
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9824
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9825
 
        # If the export-symbols file already is a .def file (1st line
9826
 
        # is EXPORTS), use it as is; otherwise, prepend...
9827
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9828
 
          cp $export_symbols $output_objdir/$soname.def;
9829
 
        else
9830
 
          echo EXPORTS > $output_objdir/$soname.def;
9831
 
          cat $export_symbols >> $output_objdir/$soname.def;
9832
 
        fi~
9833
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9834
 
      else
9835
 
        ld_shlibs=no
9836
 
      fi
9837
 
      ;;
9838
 
 
9839
 
    haiku*)
9840
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9841
 
      link_all_deplibs=yes
9842
 
      ;;
9843
 
 
9844
 
    interix[3-9]*)
9845
 
      hardcode_direct=no
9846
 
      hardcode_shlibpath_var=no
9847
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9848
 
      export_dynamic_flag_spec='${wl}-E'
9849
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9850
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9851
 
      # default) and relocated if they conflict, which is a slow very memory
9852
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9853
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9854
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9855
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9856
 
      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'
9857
 
      ;;
9858
 
 
9859
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9860
 
      tmp_diet=no
9861
 
      if test "$host_os" = linux-dietlibc; then
9862
 
        case $cc_basename in
9863
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9864
 
        esac
9865
 
      fi
9866
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9867
 
         && test "$tmp_diet" = no
9868
 
      then
9869
 
        tmp_addflag=' $pic_flag'
9870
 
        tmp_sharedflag='-shared'
9871
 
        case $cc_basename,$host_cpu in
9872
 
        pgcc*)                          # Portland Group C compiler
9873
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9874
 
          tmp_addflag=' $pic_flag'
9875
 
          ;;
9876
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9877
 
                                        # Portland Group f77 and f90 compilers
9878
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9879
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9880
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9881
 
          tmp_addflag=' -i_dynamic' ;;
9882
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9883
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9884
 
        ifc* | ifort*)                  # Intel Fortran compiler
9885
 
          tmp_addflag=' -nofor_main' ;;
9886
 
        lf95*)                          # Lahey Fortran 8.1
9887
 
          whole_archive_flag_spec=
9888
 
          tmp_sharedflag='--shared' ;;
9889
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9890
 
          tmp_sharedflag='-qmkshrobj'
9891
 
          tmp_addflag= ;;
9892
 
        nvcc*)  # Cuda Compiler Driver 2.2
9893
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9894
 
          compiler_needs_object=yes
9895
 
          ;;
9896
 
        esac
9897
 
        case `$CC -V 2>&1 | sed 5q` in
9898
 
        *Sun\ C*)                       # Sun C 5.9
9899
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9900
 
          compiler_needs_object=yes
9901
 
          tmp_sharedflag='-G' ;;
9902
 
        *Sun\ F*)                       # Sun Fortran 8.3
9903
 
          tmp_sharedflag='-G' ;;
9904
 
        esac
9905
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9906
 
 
9907
 
        if test "x$supports_anon_versioning" = xyes; then
9908
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9909
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9910
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9911
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9912
 
        fi
9913
 
 
9914
 
        case $cc_basename in
9915
 
        xlf* | bgf* | bgxlf* | mpixlf*)
9916
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9917
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9918
 
          hardcode_libdir_flag_spec=
9919
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9920
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9921
 
          if test "x$supports_anon_versioning" = xyes; then
9922
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9923
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9924
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9925
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9926
 
          fi
9927
 
          ;;
9928
 
        esac
9929
 
      else
9930
 
        ld_shlibs=no
9931
 
      fi
9932
 
      ;;
9933
 
 
9934
 
    netbsd* | netbsdelf*-gnu)
9935
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9936
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9937
 
        wlarc=
9938
 
      else
9939
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9940
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9941
 
      fi
9942
 
      ;;
9943
 
 
9944
 
    solaris*)
9945
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9946
 
        ld_shlibs=no
9947
 
        cat <<_LT_EOF 1>&2
9948
 
 
9949
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9950
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9951
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9952
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9953
 
*** your PATH or compiler configuration so that the native linker is
9954
 
*** used, and then restart.
9955
 
 
9956
 
_LT_EOF
9957
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9958
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9959
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9960
 
      else
9961
 
        ld_shlibs=no
9962
 
      fi
9963
 
      ;;
9964
 
 
9965
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9966
 
      case `$LD -v 2>&1` in
9967
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9968
 
        ld_shlibs=no
9969
 
        cat <<_LT_EOF 1>&2
9970
 
 
9971
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9972
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9973
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9974
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9975
 
*** your PATH or compiler configuration so that the native linker is
9976
 
*** used, and then restart.
9977
 
 
9978
 
_LT_EOF
9979
 
        ;;
9980
 
        *)
9981
 
          # For security reasons, it is highly recommended that you always
9982
 
          # use absolute paths for naming shared libraries, and exclude the
9983
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9984
 
          # requires that you compile everything twice, which is a pain.
9985
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9986
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9988
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9989
 
          else
9990
 
            ld_shlibs=no
9991
 
          fi
9992
 
        ;;
9993
 
      esac
9994
 
      ;;
9995
 
 
9996
 
    sunos4*)
9997
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9998
 
      wlarc=
9999
 
      hardcode_direct=yes
10000
 
      hardcode_shlibpath_var=no
10001
 
      ;;
10002
 
 
10003
 
    *)
10004
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10005
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10006
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10007
 
      else
10008
 
        ld_shlibs=no
10009
 
      fi
10010
 
      ;;
10011
 
    esac
10012
 
 
10013
 
    if test "$ld_shlibs" = no; then
10014
 
      runpath_var=
10015
 
      hardcode_libdir_flag_spec=
10016
 
      export_dynamic_flag_spec=
10017
 
      whole_archive_flag_spec=
10018
 
    fi
10019
 
  else
10020
 
    # PORTME fill in a description of your system's linker (not GNU ld)
10021
 
    case $host_os in
10022
 
    aix3*)
10023
 
      allow_undefined_flag=unsupported
10024
 
      always_export_symbols=yes
10025
 
      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'
10026
 
      # Note: this linker hardcodes the directories in LIBPATH if there
10027
 
      # are no directories specified by -L.
10028
 
      hardcode_minus_L=yes
10029
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10030
 
        # Neither direct hardcoding nor static linking is supported with a
10031
 
        # broken collect2.
10032
 
        hardcode_direct=unsupported
10033
 
      fi
10034
 
      ;;
10035
 
 
10036
 
    aix[4-9]*)
10037
 
      if test "$host_cpu" = ia64; then
10038
 
        # On IA64, the linker does run time linking by default, so we don't
10039
 
        # have to do anything special.
10040
 
        aix_use_runtimelinking=no
10041
 
        exp_sym_flag='-Bexport'
10042
 
        no_entry_flag=""
10043
 
      else
10044
 
        # If we're using GNU nm, then we don't want the "-C" option.
10045
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10046
 
        # Also, AIX nm treats weak defined symbols like other global
10047
 
        # defined symbols, whereas GNU nm marks them as "W".
10048
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10049
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10050
 
        else
10051
 
          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'
10052
 
        fi
10053
 
        aix_use_runtimelinking=no
10054
 
 
10055
 
        # Test if we are trying to use run time linking or normal
10056
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10057
 
        # need to do runtime linking.
10058
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10059
 
          for ld_flag in $LDFLAGS; do
10060
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10061
 
            aix_use_runtimelinking=yes
10062
 
            break
10063
 
          fi
10064
 
          done
10065
 
          ;;
10066
 
        esac
10067
 
 
10068
 
        exp_sym_flag='-bexport'
10069
 
        no_entry_flag='-bnoentry'
10070
 
      fi
10071
 
 
10072
 
      # When large executables or shared objects are built, AIX ld can
10073
 
      # have problems creating the table of contents.  If linking a library
10074
 
      # or program results in "error TOC overflow" add -mminimal-toc to
10075
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10076
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10077
 
 
10078
 
      archive_cmds=''
10079
 
      hardcode_direct=yes
10080
 
      hardcode_direct_absolute=yes
10081
 
      hardcode_libdir_separator=':'
10082
 
      link_all_deplibs=yes
10083
 
      file_list_spec='${wl}-f,'
10084
 
 
10085
 
      if test "$GCC" = yes; then
10086
 
        case $host_os in aix4.[012]|aix4.[012].*)
10087
 
        # We only want to do this on AIX 4.2 and lower, the check
10088
 
        # below for broken collect2 doesn't work under 4.3+
10089
 
          collect2name=`${CC} -print-prog-name=collect2`
10090
 
          if test -f "$collect2name" &&
10091
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10092
 
          then
10093
 
          # We have reworked collect2
10094
 
          :
10095
 
          else
10096
 
          # We have old collect2
10097
 
          hardcode_direct=unsupported
10098
 
          # It fails to find uninstalled libraries when the uninstalled
10099
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10100
 
          # to unsupported forces relinking
10101
 
          hardcode_minus_L=yes
10102
 
          hardcode_libdir_flag_spec='-L$libdir'
10103
 
          hardcode_libdir_separator=
10104
 
          fi
10105
 
          ;;
10106
 
        esac
10107
 
        shared_flag='-shared'
10108
 
        if test "$aix_use_runtimelinking" = yes; then
10109
 
          shared_flag="$shared_flag "'${wl}-G'
10110
 
        fi
10111
 
        link_all_deplibs=no
10112
 
      else
10113
 
        # not using gcc
10114
 
        if test "$host_cpu" = ia64; then
10115
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10116
 
        # chokes on -Wl,-G. The following line is correct:
10117
 
          shared_flag='-G'
10118
 
        else
10119
 
          if test "$aix_use_runtimelinking" = yes; then
10120
 
            shared_flag='${wl}-G'
10121
 
          else
10122
 
            shared_flag='${wl}-bM:SRE'
10123
 
          fi
10124
 
        fi
10125
 
      fi
10126
 
 
10127
 
      export_dynamic_flag_spec='${wl}-bexpall'
10128
 
      # It seems that -bexpall does not export symbols beginning with
10129
 
      # underscore (_), so it is better to generate a list of symbols to export.
10130
 
      always_export_symbols=yes
10131
 
      if test "$aix_use_runtimelinking" = yes; then
10132
 
        # Warning - without using the other runtime loading flags (-brtl),
10133
 
        # -berok will link without error, but may produce a broken library.
10134
 
        allow_undefined_flag='-berok'
10135
 
        # Determine the default libpath from the value encoded in an
10136
 
        # empty executable.
10137
 
        if test "${lt_cv_aix_libpath+set}" = set; then
10138
 
  aix_libpath=$lt_cv_aix_libpath
10139
 
else
10140
 
  if ${lt_cv_aix_libpath_+:} false; then :
10141
 
  $as_echo_n "(cached) " >&6
10142
 
else
10143
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144
 
/* end confdefs.h.  */
10145
 
 
10146
 
int
10147
 
main ()
10148
 
{
10149
 
 
10150
 
  ;
10151
 
  return 0;
10152
 
}
10153
 
_ACEOF
10154
 
if ac_fn_c_try_link "$LINENO"; then :
10155
 
 
10156
 
  lt_aix_libpath_sed='
10157
 
      /Import File Strings/,/^$/ {
10158
 
          /^0/ {
10159
 
              s/^0  *\([^ ]*\) *$/\1/
10160
 
              p
10161
 
          }
10162
 
      }'
10163
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10164
 
  # Check for a 64-bit object if we didn't find anything.
10165
 
  if test -z "$lt_cv_aix_libpath_"; then
10166
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10167
 
  fi
10168
 
fi
10169
 
rm -f core conftest.err conftest.$ac_objext \
10170
 
    conftest$ac_exeext conftest.$ac_ext
10171
 
  if test -z "$lt_cv_aix_libpath_"; then
10172
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
10173
 
  fi
10174
 
 
10175
 
fi
10176
 
 
10177
 
  aix_libpath=$lt_cv_aix_libpath_
10178
 
fi
10179
 
 
10180
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10181
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10182
 
      else
10183
 
        if test "$host_cpu" = ia64; then
10184
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10185
 
          allow_undefined_flag="-z nodefs"
10186
 
          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"
10187
 
        else
10188
 
         # Determine the default libpath from the value encoded in an
10189
 
         # empty executable.
10190
 
         if test "${lt_cv_aix_libpath+set}" = set; then
10191
 
  aix_libpath=$lt_cv_aix_libpath
10192
 
else
10193
 
  if ${lt_cv_aix_libpath_+:} false; then :
10194
 
  $as_echo_n "(cached) " >&6
10195
 
else
10196
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197
 
/* end confdefs.h.  */
10198
 
 
10199
 
int
10200
 
main ()
10201
 
{
10202
 
 
10203
 
  ;
10204
 
  return 0;
10205
 
}
10206
 
_ACEOF
10207
 
if ac_fn_c_try_link "$LINENO"; then :
10208
 
 
10209
 
  lt_aix_libpath_sed='
10210
 
      /Import File Strings/,/^$/ {
10211
 
          /^0/ {
10212
 
              s/^0  *\([^ ]*\) *$/\1/
10213
 
              p
10214
 
          }
10215
 
      }'
10216
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10217
 
  # Check for a 64-bit object if we didn't find anything.
10218
 
  if test -z "$lt_cv_aix_libpath_"; then
10219
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10220
 
  fi
10221
 
fi
10222
 
rm -f core conftest.err conftest.$ac_objext \
10223
 
    conftest$ac_exeext conftest.$ac_ext
10224
 
  if test -z "$lt_cv_aix_libpath_"; then
10225
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
10226
 
  fi
10227
 
 
10228
 
fi
10229
 
 
10230
 
  aix_libpath=$lt_cv_aix_libpath_
10231
 
fi
10232
 
 
10233
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10234
 
          # Warning - without using the other run time loading flags,
10235
 
          # -berok will link without error, but may produce a broken library.
10236
 
          no_undefined_flag=' ${wl}-bernotok'
10237
 
          allow_undefined_flag=' ${wl}-berok'
10238
 
          if test "$with_gnu_ld" = yes; then
10239
 
            # We only use this code for GNU lds that support --whole-archive.
10240
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10241
 
          else
10242
 
            # Exported symbols can be pulled into shared objects from archives
10243
 
            whole_archive_flag_spec='$convenience'
10244
 
          fi
10245
 
          archive_cmds_need_lc=yes
10246
 
          # This is similar to how AIX traditionally builds its shared libraries.
10247
 
          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'
10248
 
        fi
10249
 
      fi
10250
 
      ;;
10251
 
 
10252
 
    amigaos*)
10253
 
      case $host_cpu in
10254
 
      powerpc)
10255
 
            # see comment about AmigaOS4 .so support
10256
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10257
 
            archive_expsym_cmds=''
10258
 
        ;;
10259
 
      m68k)
10260
 
            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)'
10261
 
            hardcode_libdir_flag_spec='-L$libdir'
10262
 
            hardcode_minus_L=yes
10263
 
        ;;
10264
 
      esac
10265
 
      ;;
10266
 
 
10267
 
    bsdi[45]*)
10268
 
      export_dynamic_flag_spec=-rdynamic
10269
 
      ;;
10270
 
 
10271
 
    cygwin* | mingw* | pw32* | cegcc*)
10272
 
      # When not using gcc, we currently assume that we are using
10273
 
      # Microsoft Visual C++.
10274
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10275
 
      # no search path for DLLs.
10276
 
      case $cc_basename in
10277
 
      cl*)
10278
 
        # Native MSVC
10279
 
        hardcode_libdir_flag_spec=' '
10280
 
        allow_undefined_flag=unsupported
10281
 
        always_export_symbols=yes
10282
 
        file_list_spec='@'
10283
 
        # Tell ltmain to make .lib files, not .a files.
10284
 
        libext=lib
10285
 
        # Tell ltmain to make .dll files, not .so files.
10286
 
        shrext_cmds=".dll"
10287
 
        # FIXME: Setting linknames here is a bad hack.
10288
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10289
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10290
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10291
 
          else
10292
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10293
 
          fi~
10294
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10295
 
          linknames='
10296
 
        # The linker will not automatically build a static lib if we build a DLL.
10297
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10298
 
        enable_shared_with_static_runtimes=yes
10299
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10300
 
        # Don't use ranlib
10301
 
        old_postinstall_cmds='chmod 644 $oldlib'
10302
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
10303
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
10304
 
          case $lt_outputfile in
10305
 
            *.exe|*.EXE) ;;
10306
 
            *)
10307
 
              lt_outputfile="$lt_outputfile.exe"
10308
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
10309
 
              ;;
10310
 
          esac~
10311
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10312
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10313
 
            $RM "$lt_outputfile.manifest";
10314
 
          fi'
10315
 
        ;;
10316
 
      *)
10317
 
        # Assume MSVC wrapper
10318
 
        hardcode_libdir_flag_spec=' '
10319
 
        allow_undefined_flag=unsupported
10320
 
        # Tell ltmain to make .lib files, not .a files.
10321
 
        libext=lib
10322
 
        # Tell ltmain to make .dll files, not .so files.
10323
 
        shrext_cmds=".dll"
10324
 
        # FIXME: Setting linknames here is a bad hack.
10325
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10326
 
        # The linker will automatically build a .lib file if we build a DLL.
10327
 
        old_archive_from_new_cmds='true'
10328
 
        # FIXME: Should let the user specify the lib program.
10329
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10330
 
        enable_shared_with_static_runtimes=yes
10331
 
        ;;
10332
 
      esac
10333
 
      ;;
10334
 
 
10335
 
    darwin* | rhapsody*)
10336
 
 
10337
 
 
10338
 
  archive_cmds_need_lc=no
10339
 
  hardcode_direct=no
10340
 
  hardcode_automatic=yes
10341
 
  hardcode_shlibpath_var=unsupported
10342
 
  if test "$lt_cv_ld_force_load" = "yes"; then
10343
 
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10344
 
  else
10345
 
    whole_archive_flag_spec=''
10346
 
  fi
10347
 
  link_all_deplibs=yes
10348
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
10349
 
  case $cc_basename in
10350
 
     ifort*) _lt_dar_can_shared=yes ;;
10351
 
     *) _lt_dar_can_shared=$GCC ;;
10352
 
  esac
10353
 
  if test "$_lt_dar_can_shared" = "yes"; then
10354
 
    output_verbose_link_cmd=func_echo_all
10355
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10356
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10357
 
    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}"
10358
 
    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}"
10359
 
 
10360
 
  else
10361
 
  ld_shlibs=no
10362
 
  fi
10363
 
 
10364
 
      ;;
10365
 
 
10366
 
    dgux*)
10367
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10368
 
      hardcode_libdir_flag_spec='-L$libdir'
10369
 
      hardcode_shlibpath_var=no
10370
 
      ;;
10371
 
 
10372
 
    freebsd1*)
10373
 
      ld_shlibs=no
10374
 
      ;;
10375
 
 
10376
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10377
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10378
 
    # does not break anything, and helps significantly (at the cost of a little
10379
 
    # extra space).
10380
 
    freebsd2.2*)
10381
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10382
 
      hardcode_libdir_flag_spec='-R$libdir'
10383
 
      hardcode_direct=yes
10384
 
      hardcode_shlibpath_var=no
10385
 
      ;;
10386
 
 
10387
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10388
 
    freebsd2*)
10389
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10390
 
      hardcode_direct=yes
10391
 
      hardcode_minus_L=yes
10392
 
      hardcode_shlibpath_var=no
10393
 
      ;;
10394
 
 
10395
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10396
 
    freebsd* | dragonfly*)
10397
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10398
 
      hardcode_libdir_flag_spec='-R$libdir'
10399
 
      hardcode_direct=yes
10400
 
      hardcode_shlibpath_var=no
10401
 
      ;;
10402
 
 
10403
 
    hpux9*)
10404
 
      if test "$GCC" = yes; then
10405
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10406
 
      else
10407
 
        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'
10408
 
      fi
10409
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10410
 
      hardcode_libdir_separator=:
10411
 
      hardcode_direct=yes
10412
 
 
10413
 
      # hardcode_minus_L: Not really in the search PATH,
10414
 
      # but as the default location of the library.
10415
 
      hardcode_minus_L=yes
10416
 
      export_dynamic_flag_spec='${wl}-E'
10417
 
      ;;
10418
 
 
10419
 
    hpux10*)
10420
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10421
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10422
 
      else
10423
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10424
 
      fi
10425
 
      if test "$with_gnu_ld" = no; then
10426
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10427
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10428
 
        hardcode_libdir_separator=:
10429
 
        hardcode_direct=yes
10430
 
        hardcode_direct_absolute=yes
10431
 
        export_dynamic_flag_spec='${wl}-E'
10432
 
        # hardcode_minus_L: Not really in the search PATH,
10433
 
        # but as the default location of the library.
10434
 
        hardcode_minus_L=yes
10435
 
      fi
10436
 
      ;;
10437
 
 
10438
 
    hpux11*)
10439
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10440
 
        case $host_cpu in
10441
 
        hppa*64*)
10442
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10443
 
          ;;
10444
 
        ia64*)
10445
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10446
 
          ;;
10447
 
        *)
10448
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10449
 
          ;;
10450
 
        esac
10451
 
      else
10452
 
        case $host_cpu in
10453
 
        hppa*64*)
10454
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10455
 
          ;;
10456
 
        ia64*)
10457
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10458
 
          ;;
10459
 
        *)
10460
 
 
10461
 
          # Older versions of the 11.00 compiler do not understand -b yet
10462
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10463
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10464
 
$as_echo_n "checking if $CC understands -b... " >&6; }
10465
 
if ${lt_cv_prog_compiler__b+:} false; then :
10466
 
  $as_echo_n "(cached) " >&6
10467
 
else
10468
 
  lt_cv_prog_compiler__b=no
10469
 
   save_LDFLAGS="$LDFLAGS"
10470
 
   LDFLAGS="$LDFLAGS -b"
10471
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10472
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10473
 
     # The linker can only warn and ignore the option if not recognized
10474
 
     # So say no if there are warnings
10475
 
     if test -s conftest.err; then
10476
 
       # Append any errors to the config.log.
10477
 
       cat conftest.err 1>&5
10478
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10479
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10480
 
       if diff conftest.exp conftest.er2 >/dev/null; then
10481
 
         lt_cv_prog_compiler__b=yes
10482
 
       fi
10483
 
     else
10484
 
       lt_cv_prog_compiler__b=yes
10485
 
     fi
10486
 
   fi
10487
 
   $RM -r conftest*
10488
 
   LDFLAGS="$save_LDFLAGS"
10489
 
 
10490
 
fi
10491
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10492
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10493
 
 
10494
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
10495
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10496
 
else
10497
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10498
 
fi
10499
 
 
10500
 
          ;;
10501
 
        esac
10502
 
      fi
10503
 
      if test "$with_gnu_ld" = no; then
10504
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10505
 
        hardcode_libdir_separator=:
10506
 
 
10507
 
        case $host_cpu in
10508
 
        hppa*64*|ia64*)
10509
 
          hardcode_direct=no
10510
 
          hardcode_shlibpath_var=no
10511
 
          ;;
10512
 
        *)
10513
 
          hardcode_direct=yes
10514
 
          hardcode_direct_absolute=yes
10515
 
          export_dynamic_flag_spec='${wl}-E'
10516
 
 
10517
 
          # hardcode_minus_L: Not really in the search PATH,
10518
 
          # but as the default location of the library.
10519
 
          hardcode_minus_L=yes
10520
 
          ;;
10521
 
        esac
10522
 
      fi
10523
 
      ;;
10524
 
 
10525
 
    irix5* | irix6* | nonstopux*)
10526
 
      if test "$GCC" = yes; then
10527
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10528
 
        # Try to use the -exported_symbol ld option, if it does not
10529
 
        # work, assume that -exports_file does not work either and
10530
 
        # implicitly export all symbols.
10531
 
        # This should be the same for all languages, so no per-tag cache variable.
10532
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10533
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10534
 
if ${lt_cv_irix_exported_symbol+:} false; then :
10535
 
  $as_echo_n "(cached) " >&6
10536
 
else
10537
 
  save_LDFLAGS="$LDFLAGS"
10538
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10539
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540
 
/* end confdefs.h.  */
10541
 
int foo (void) { return 0; }
10542
 
_ACEOF
10543
 
if ac_fn_c_try_link "$LINENO"; then :
10544
 
  lt_cv_irix_exported_symbol=yes
10545
 
else
10546
 
  lt_cv_irix_exported_symbol=no
10547
 
fi
10548
 
rm -f core conftest.err conftest.$ac_objext \
10549
 
    conftest$ac_exeext conftest.$ac_ext
10550
 
           LDFLAGS="$save_LDFLAGS"
10551
 
fi
10552
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10553
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10554
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
10555
 
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10556
 
        fi
10557
 
      else
10558
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10559
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10560
 
      fi
10561
 
      archive_cmds_need_lc='no'
10562
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10563
 
      hardcode_libdir_separator=:
10564
 
      inherit_rpath=yes
10565
 
      link_all_deplibs=yes
10566
 
      ;;
10567
 
 
10568
 
    netbsd* | netbsdelf*-gnu)
10569
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10570
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10571
 
      else
10572
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10573
 
      fi
10574
 
      hardcode_libdir_flag_spec='-R$libdir'
10575
 
      hardcode_direct=yes
10576
 
      hardcode_shlibpath_var=no
10577
 
      ;;
10578
 
 
10579
 
    newsos6)
10580
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581
 
      hardcode_direct=yes
10582
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10583
 
      hardcode_libdir_separator=:
10584
 
      hardcode_shlibpath_var=no
10585
 
      ;;
10586
 
 
10587
 
    *nto* | *qnx*)
10588
 
      ;;
10589
 
 
10590
 
    openbsd*)
10591
 
      if test -f /usr/libexec/ld.so; then
10592
 
        hardcode_direct=yes
10593
 
        hardcode_shlibpath_var=no
10594
 
        hardcode_direct_absolute=yes
10595
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10596
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10597
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10598
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10599
 
          export_dynamic_flag_spec='${wl}-E'
10600
 
        else
10601
 
          case $host_os in
10602
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10603
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10604
 
             hardcode_libdir_flag_spec='-R$libdir'
10605
 
             ;;
10606
 
           *)
10607
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10608
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10609
 
             ;;
10610
 
          esac
10611
 
        fi
10612
 
      else
10613
 
        ld_shlibs=no
10614
 
      fi
10615
 
      ;;
10616
 
 
10617
 
    os2*)
10618
 
      hardcode_libdir_flag_spec='-L$libdir'
10619
 
      hardcode_minus_L=yes
10620
 
      allow_undefined_flag=unsupported
10621
 
      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'
10622
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10623
 
      ;;
10624
 
 
10625
 
    osf3*)
10626
 
      if test "$GCC" = yes; then
10627
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10628
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10629
 
      else
10630
 
        allow_undefined_flag=' -expect_unresolved \*'
10631
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10632
 
      fi
10633
 
      archive_cmds_need_lc='no'
10634
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635
 
      hardcode_libdir_separator=:
10636
 
      ;;
10637
 
 
10638
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10639
 
      if test "$GCC" = yes; then
10640
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10641
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10642
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10643
 
      else
10644
 
        allow_undefined_flag=' -expect_unresolved \*'
10645
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10646
 
        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~
10647
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10648
 
 
10649
 
        # Both c and cxx compiler support -rpath directly
10650
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10651
 
      fi
10652
 
      archive_cmds_need_lc='no'
10653
 
      hardcode_libdir_separator=:
10654
 
      ;;
10655
 
 
10656
 
    solaris*)
10657
 
      no_undefined_flag=' -z defs'
10658
 
      if test "$GCC" = yes; then
10659
 
        wlarc='${wl}'
10660
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10661
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10662
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10663
 
      else
10664
 
        case `$CC -V 2>&1` in
10665
 
        *"Compilers 5.0"*)
10666
 
          wlarc=''
10667
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10668
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10669
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10670
 
          ;;
10671
 
        *)
10672
 
          wlarc='${wl}'
10673
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10674
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10675
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10676
 
          ;;
10677
 
        esac
10678
 
      fi
10679
 
      hardcode_libdir_flag_spec='-R$libdir'
10680
 
      hardcode_shlibpath_var=no
10681
 
      case $host_os in
10682
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10683
 
      *)
10684
 
        # The compiler driver will combine and reorder linker options,
10685
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10686
 
        # but is careful enough not to reorder.
10687
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10688
 
        if test "$GCC" = yes; then
10689
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10690
 
        else
10691
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10692
 
        fi
10693
 
        ;;
10694
 
      esac
10695
 
      link_all_deplibs=yes
10696
 
      ;;
10697
 
 
10698
 
    sunos4*)
10699
 
      if test "x$host_vendor" = xsequent; then
10700
 
        # Use $CC to link under sequent, because it throws in some extra .o
10701
 
        # files that make .init and .fini sections work.
10702
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10703
 
      else
10704
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10705
 
      fi
10706
 
      hardcode_libdir_flag_spec='-L$libdir'
10707
 
      hardcode_direct=yes
10708
 
      hardcode_minus_L=yes
10709
 
      hardcode_shlibpath_var=no
10710
 
      ;;
10711
 
 
10712
 
    sysv4)
10713
 
      case $host_vendor in
10714
 
        sni)
10715
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10716
 
          hardcode_direct=yes # is this really true???
10717
 
        ;;
10718
 
        siemens)
10719
 
          ## LD is ld it makes a PLAMLIB
10720
 
          ## CC just makes a GrossModule.
10721
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10722
 
          reload_cmds='$CC -r -o $output$reload_objs'
10723
 
          hardcode_direct=no
10724
 
        ;;
10725
 
        motorola)
10726
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10727
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10728
 
        ;;
10729
 
      esac
10730
 
      runpath_var='LD_RUN_PATH'
10731
 
      hardcode_shlibpath_var=no
10732
 
      ;;
10733
 
 
10734
 
    sysv4.3*)
10735
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10736
 
      hardcode_shlibpath_var=no
10737
 
      export_dynamic_flag_spec='-Bexport'
10738
 
      ;;
10739
 
 
10740
 
    sysv4*MP*)
10741
 
      if test -d /usr/nec; then
10742
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743
 
        hardcode_shlibpath_var=no
10744
 
        runpath_var=LD_RUN_PATH
10745
 
        hardcode_runpath_var=yes
10746
 
        ld_shlibs=yes
10747
 
      fi
10748
 
      ;;
10749
 
 
10750
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10751
 
      no_undefined_flag='${wl}-z,text'
10752
 
      archive_cmds_need_lc=no
10753
 
      hardcode_shlibpath_var=no
10754
 
      runpath_var='LD_RUN_PATH'
10755
 
 
10756
 
      if test "$GCC" = yes; then
10757
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10758
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759
 
      else
10760
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10761
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10762
 
      fi
10763
 
      ;;
10764
 
 
10765
 
    sysv5* | sco3.2v5* | sco5v6*)
10766
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10767
 
      # link with -lc, and that would cause any symbols used from libc to
10768
 
      # always be unresolved, which means just about no library would
10769
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10770
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10771
 
      # as -z defs.
10772
 
      no_undefined_flag='${wl}-z,text'
10773
 
      allow_undefined_flag='${wl}-z,nodefs'
10774
 
      archive_cmds_need_lc=no
10775
 
      hardcode_shlibpath_var=no
10776
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10777
 
      hardcode_libdir_separator=':'
10778
 
      link_all_deplibs=yes
10779
 
      export_dynamic_flag_spec='${wl}-Bexport'
10780
 
      runpath_var='LD_RUN_PATH'
10781
 
 
10782
 
      if test "$GCC" = yes; then
10783
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785
 
      else
10786
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788
 
      fi
10789
 
      ;;
10790
 
 
10791
 
    uts4*)
10792
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10793
 
      hardcode_libdir_flag_spec='-L$libdir'
10794
 
      hardcode_shlibpath_var=no
10795
 
      ;;
10796
 
 
10797
 
    *)
10798
 
      ld_shlibs=no
10799
 
      ;;
10800
 
    esac
10801
 
 
10802
 
    if test x$host_vendor = xsni; then
10803
 
      case $host in
10804
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10805
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10806
 
        ;;
10807
 
      esac
10808
 
    fi
10809
 
  fi
10810
 
 
10811
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10812
 
$as_echo "$ld_shlibs" >&6; }
10813
 
test "$ld_shlibs" = no && can_build_shared=no
10814
 
 
10815
 
with_gnu_ld=$with_gnu_ld
10816
 
 
10817
 
 
10818
 
 
10819
 
 
10820
 
 
10821
 
 
10822
 
 
10823
 
 
10824
 
 
10825
 
 
10826
 
 
10827
 
 
10828
 
 
10829
 
 
10830
 
 
10831
 
#
10832
 
# Do we need to explicitly link libc?
10833
 
#
10834
 
case "x$archive_cmds_need_lc" in
10835
 
x|xyes)
10836
 
  # Assume -lc should be added
10837
 
  archive_cmds_need_lc=yes
10838
 
 
10839
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10840
 
    case $archive_cmds in
10841
 
    *'~'*)
10842
 
      # FIXME: we may have to deal with multi-command sequences.
10843
 
      ;;
10844
 
    '$CC '*)
10845
 
      # Test whether the compiler implicitly links with -lc since on some
10846
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10847
 
      # to ld, don't add -lc before -lgcc.
10848
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10849
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10850
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10851
 
  $as_echo_n "(cached) " >&6
10852
 
else
10853
 
  $RM conftest*
10854
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10855
 
 
10856
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10857
 
  (eval $ac_compile) 2>&5
10858
 
  ac_status=$?
10859
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10860
 
  test $ac_status = 0; } 2>conftest.err; then
10861
 
          soname=conftest
10862
 
          lib=conftest
10863
 
          libobjs=conftest.$ac_objext
10864
 
          deplibs=
10865
 
          wl=$lt_prog_compiler_wl
10866
 
          pic_flag=$lt_prog_compiler_pic
10867
 
          compiler_flags=-v
10868
 
          linker_flags=-v
10869
 
          verstring=
10870
 
          output_objdir=.
10871
 
          libname=conftest
10872
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10873
 
          allow_undefined_flag=
10874
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10875
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10876
 
  ac_status=$?
10877
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10878
 
  test $ac_status = 0; }
10879
 
          then
10880
 
            lt_cv_archive_cmds_need_lc=no
10881
 
          else
10882
 
            lt_cv_archive_cmds_need_lc=yes
10883
 
          fi
10884
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10885
 
        else
10886
 
          cat conftest.err 1>&5
10887
 
        fi
10888
 
        $RM conftest*
10889
 
 
10890
 
fi
10891
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10892
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10893
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10894
 
      ;;
10895
 
    esac
10896
 
  fi
10897
 
  ;;
10898
 
esac
10899
 
 
10900
 
 
10901
 
 
10902
 
 
10903
 
 
10904
 
 
10905
 
 
10906
 
 
10907
 
 
10908
 
 
10909
 
 
10910
 
 
10911
 
 
10912
 
 
10913
 
 
10914
 
 
10915
 
 
10916
 
 
10917
 
 
10918
 
 
10919
 
 
10920
 
 
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
 
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
 
 
11018
 
 
11019
 
 
11020
 
 
11021
 
 
11022
 
 
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11057
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11058
 
 
11059
 
if test "$GCC" = yes; then
11060
 
  case $host_os in
11061
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11062
 
    *) lt_awk_arg="/^libraries:/" ;;
11063
 
  esac
11064
 
  case $host_os in
11065
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11066
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
11067
 
  esac
11068
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11069
 
  case $lt_search_path_spec in
11070
 
  *\;*)
11071
 
    # if the path contains ";" then we assume it to be the separator
11072
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11073
 
    # assumed that no part of a normal pathname contains ";" but that should
11074
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11075
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11076
 
    ;;
11077
 
  *)
11078
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11079
 
    ;;
11080
 
  esac
11081
 
  # Ok, now we have the path, separated by spaces, we can step through it
11082
 
  # and add multilib dir if necessary.
11083
 
  lt_tmp_lt_search_path_spec=
11084
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11085
 
  for lt_sys_path in $lt_search_path_spec; do
11086
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11087
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11088
 
    else
11089
 
      test -d "$lt_sys_path" && \
11090
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11091
 
    fi
11092
 
  done
11093
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11094
 
BEGIN {RS=" "; FS="/|\n";} {
11095
 
  lt_foo="";
11096
 
  lt_count=0;
11097
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
11098
 
    if ($lt_i != "" && $lt_i != ".") {
11099
 
      if ($lt_i == "..") {
11100
 
        lt_count++;
11101
 
      } else {
11102
 
        if (lt_count == 0) {
11103
 
          lt_foo="/" $lt_i lt_foo;
11104
 
        } else {
11105
 
          lt_count--;
11106
 
        }
11107
 
      }
11108
 
    }
11109
 
  }
11110
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11111
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11112
 
}'`
11113
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
11114
 
  # for these hosts.
11115
 
  case $host_os in
11116
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11117
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11118
 
  esac
11119
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11120
 
else
11121
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11122
 
fi
11123
 
library_names_spec=
11124
 
libname_spec='lib$name'
11125
 
soname_spec=
11126
 
shrext_cmds=".so"
11127
 
postinstall_cmds=
11128
 
postuninstall_cmds=
11129
 
finish_cmds=
11130
 
finish_eval=
11131
 
shlibpath_var=
11132
 
shlibpath_overrides_runpath=unknown
11133
 
version_type=none
11134
 
dynamic_linker="$host_os ld.so"
11135
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11136
 
need_lib_prefix=unknown
11137
 
hardcode_into_libs=no
11138
 
 
11139
 
# when you set need_version to no, make sure it does not cause -set_version
11140
 
# flags to be left without arguments
11141
 
need_version=unknown
11142
 
 
11143
 
case $host_os in
11144
 
aix3*)
11145
 
  version_type=linux
11146
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11147
 
  shlibpath_var=LIBPATH
11148
 
 
11149
 
  # AIX 3 has no versioning support, so we append a major version to the name.
11150
 
  soname_spec='${libname}${release}${shared_ext}$major'
11151
 
  ;;
11152
 
 
11153
 
aix[4-9]*)
11154
 
  version_type=linux
11155
 
  need_lib_prefix=no
11156
 
  need_version=no
11157
 
  hardcode_into_libs=yes
11158
 
  if test "$host_cpu" = ia64; then
11159
 
    # AIX 5 supports IA64
11160
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11161
 
    shlibpath_var=LD_LIBRARY_PATH
11162
 
  else
11163
 
    # With GCC up to 2.95.x, collect2 would create an import file
11164
 
    # for dependence libraries.  The import file would start with
11165
 
    # the line `#! .'.  This would cause the generated library to
11166
 
    # depend on `.', always an invalid library.  This was fixed in
11167
 
    # development snapshots of GCC prior to 3.0.
11168
 
    case $host_os in
11169
 
      aix4 | aix4.[01] | aix4.[01].*)
11170
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11171
 
           echo ' yes '
11172
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11173
 
        :
11174
 
      else
11175
 
        can_build_shared=no
11176
 
      fi
11177
 
      ;;
11178
 
    esac
11179
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11180
 
    # soname into executable. Probably we can add versioning support to
11181
 
    # collect2, so additional links can be useful in future.
11182
 
    if test "$aix_use_runtimelinking" = yes; then
11183
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11184
 
      # instead of lib<name>.a to let people know that these are not
11185
 
      # typical AIX shared libraries.
11186
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11187
 
    else
11188
 
      # We preserve .a as extension for shared libraries through AIX4.2
11189
 
      # and later when we are not doing run time linking.
11190
 
      library_names_spec='${libname}${release}.a $libname.a'
11191
 
      soname_spec='${libname}${release}${shared_ext}$major'
11192
 
    fi
11193
 
    shlibpath_var=LIBPATH
11194
 
  fi
11195
 
  ;;
11196
 
 
11197
 
amigaos*)
11198
 
  case $host_cpu in
11199
 
  powerpc)
11200
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
11201
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11202
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11203
 
    ;;
11204
 
  m68k)
11205
 
    library_names_spec='$libname.ixlibrary $libname.a'
11206
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11207
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11208
 
    ;;
11209
 
  esac
11210
 
  ;;
11211
 
 
11212
 
beos*)
11213
 
  library_names_spec='${libname}${shared_ext}'
11214
 
  dynamic_linker="$host_os ld.so"
11215
 
  shlibpath_var=LIBRARY_PATH
11216
 
  ;;
11217
 
 
11218
 
bsdi[45]*)
11219
 
  version_type=linux
11220
 
  need_version=no
11221
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222
 
  soname_spec='${libname}${release}${shared_ext}$major'
11223
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11224
 
  shlibpath_var=LD_LIBRARY_PATH
11225
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11226
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11227
 
  # the default ld.so.conf also contains /usr/contrib/lib and
11228
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11229
 
  # libtool to hard-code these into programs
11230
 
  ;;
11231
 
 
11232
 
cygwin* | mingw* | pw32* | cegcc*)
11233
 
  version_type=windows
11234
 
  shrext_cmds=".dll"
11235
 
  need_version=no
11236
 
  need_lib_prefix=no
11237
 
 
11238
 
  case $GCC,$cc_basename in
11239
 
  yes,*)
11240
 
    # gcc
11241
 
    library_names_spec='$libname.dll.a'
11242
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11243
 
    postinstall_cmds='base_file=`basename \${file}`~
11244
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11245
 
      dldir=$destdir/`dirname \$dlpath`~
11246
 
      test -d \$dldir || mkdir -p \$dldir~
11247
 
      $install_prog $dir/$dlname \$dldir/$dlname~
11248
 
      chmod a+x \$dldir/$dlname~
11249
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11250
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11251
 
      fi'
11252
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11253
 
      dlpath=$dir/\$dldll~
11254
 
       $RM \$dlpath'
11255
 
    shlibpath_overrides_runpath=yes
11256
 
 
11257
 
    case $host_os in
11258
 
    cygwin*)
11259
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11260
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11261
 
 
11262
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11263
 
      ;;
11264
 
    mingw* | cegcc*)
11265
 
      # MinGW DLLs use traditional 'lib' prefix
11266
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11267
 
      ;;
11268
 
    pw32*)
11269
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11270
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11271
 
      ;;
11272
 
    esac
11273
 
    dynamic_linker='Win32 ld.exe'
11274
 
    ;;
11275
 
 
11276
 
  *,cl*)
11277
 
    # Native MSVC
11278
 
    libname_spec='$name'
11279
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11280
 
    library_names_spec='${libname}.dll.lib'
11281
 
 
11282
 
    case $build_os in
11283
 
    mingw*)
11284
 
      sys_lib_search_path_spec=
11285
 
      lt_save_ifs=$IFS
11286
 
      IFS=';'
11287
 
      for lt_path in $LIB
11288
 
      do
11289
 
        IFS=$lt_save_ifs
11290
 
        # Let DOS variable expansion print the short 8.3 style file name.
11291
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11292
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11293
 
      done
11294
 
      IFS=$lt_save_ifs
11295
 
      # Convert to MSYS style.
11296
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11297
 
      ;;
11298
 
    cygwin*)
11299
 
      # Convert to unix form, then to dos form, then back to unix form
11300
 
      # but this time dos style (no spaces!) so that the unix form looks
11301
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
11302
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11303
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11304
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11305
 
      ;;
11306
 
    *)
11307
 
      sys_lib_search_path_spec="$LIB"
11308
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11309
 
        # It is most probably a Windows format PATH.
11310
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11311
 
      else
11312
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11313
 
      fi
11314
 
      # FIXME: find the short name or the path components, as spaces are
11315
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
11316
 
      ;;
11317
 
    esac
11318
 
 
11319
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11320
 
    postinstall_cmds='base_file=`basename \${file}`~
11321
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11322
 
      dldir=$destdir/`dirname \$dlpath`~
11323
 
      test -d \$dldir || mkdir -p \$dldir~
11324
 
      $install_prog $dir/$dlname \$dldir/$dlname'
11325
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11326
 
      dlpath=$dir/\$dldll~
11327
 
       $RM \$dlpath'
11328
 
    shlibpath_overrides_runpath=yes
11329
 
    dynamic_linker='Win32 link.exe'
11330
 
    ;;
11331
 
 
11332
 
  *)
11333
 
    # Assume MSVC wrapper
11334
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11335
 
    dynamic_linker='Win32 ld.exe'
11336
 
    ;;
11337
 
  esac
11338
 
  # FIXME: first we should search . and the directory the executable is in
11339
 
  shlibpath_var=PATH
11340
 
  ;;
11341
 
 
11342
 
darwin* | rhapsody*)
11343
 
  dynamic_linker="$host_os dyld"
11344
 
  version_type=darwin
11345
 
  need_lib_prefix=no
11346
 
  need_version=no
11347
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11348
 
  soname_spec='${libname}${release}${major}$shared_ext'
11349
 
  shlibpath_overrides_runpath=yes
11350
 
  shlibpath_var=DYLD_LIBRARY_PATH
11351
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11352
 
 
11353
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11354
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11355
 
  ;;
11356
 
 
11357
 
dgux*)
11358
 
  version_type=linux
11359
 
  need_lib_prefix=no
11360
 
  need_version=no
11361
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11362
 
  soname_spec='${libname}${release}${shared_ext}$major'
11363
 
  shlibpath_var=LD_LIBRARY_PATH
11364
 
  ;;
11365
 
 
11366
 
freebsd1*)
11367
 
  dynamic_linker=no
11368
 
  ;;
11369
 
 
11370
 
freebsd* | dragonfly*)
11371
 
  # DragonFly does not have aout.  When/if they implement a new
11372
 
  # versioning mechanism, adjust this.
11373
 
  if test -x /usr/bin/objformat; then
11374
 
    objformat=`/usr/bin/objformat`
11375
 
  else
11376
 
    case $host_os in
11377
 
    freebsd[123]*) objformat=aout ;;
11378
 
    *) objformat=elf ;;
11379
 
    esac
11380
 
  fi
11381
 
  version_type=freebsd-$objformat
11382
 
  case $version_type in
11383
 
    freebsd-elf*)
11384
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11385
 
      need_version=no
11386
 
      need_lib_prefix=no
11387
 
      ;;
11388
 
    freebsd-*)
11389
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11390
 
      need_version=yes
11391
 
      ;;
11392
 
  esac
11393
 
  shlibpath_var=LD_LIBRARY_PATH
11394
 
  case $host_os in
11395
 
  freebsd2*)
11396
 
    shlibpath_overrides_runpath=yes
11397
 
    ;;
11398
 
  freebsd3.[01]* | freebsdelf3.[01]*)
11399
 
    shlibpath_overrides_runpath=yes
11400
 
    hardcode_into_libs=yes
11401
 
    ;;
11402
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11403
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11404
 
    shlibpath_overrides_runpath=no
11405
 
    hardcode_into_libs=yes
11406
 
    ;;
11407
 
  *) # from 4.6 on, and DragonFly
11408
 
    shlibpath_overrides_runpath=yes
11409
 
    hardcode_into_libs=yes
11410
 
    ;;
11411
 
  esac
11412
 
  ;;
11413
 
 
11414
 
gnu*)
11415
 
  version_type=linux
11416
 
  need_lib_prefix=no
11417
 
  need_version=no
11418
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11419
 
  soname_spec='${libname}${release}${shared_ext}$major'
11420
 
  shlibpath_var=LD_LIBRARY_PATH
11421
 
  shlibpath_overrides_runpath=no
11422
 
  hardcode_into_libs=yes
11423
 
  ;;
11424
 
 
11425
 
haiku*)
11426
 
  version_type=linux
11427
 
  need_lib_prefix=no
11428
 
  need_version=no
11429
 
  dynamic_linker="$host_os runtime_loader"
11430
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11431
 
  soname_spec='${libname}${release}${shared_ext}$major'
11432
 
  shlibpath_var=LIBRARY_PATH
11433
 
  shlibpath_overrides_runpath=yes
11434
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11435
 
  hardcode_into_libs=yes
11436
 
  ;;
11437
 
 
11438
 
hpux9* | hpux10* | hpux11*)
11439
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
11440
 
  # link against other versions.
11441
 
  version_type=sunos
11442
 
  need_lib_prefix=no
11443
 
  need_version=no
11444
 
  case $host_cpu in
11445
 
  ia64*)
11446
 
    shrext_cmds='.so'
11447
 
    hardcode_into_libs=yes
11448
 
    dynamic_linker="$host_os dld.so"
11449
 
    shlibpath_var=LD_LIBRARY_PATH
11450
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11451
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452
 
    soname_spec='${libname}${release}${shared_ext}$major'
11453
 
    if test "X$HPUX_IA64_MODE" = X32; then
11454
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11455
 
    else
11456
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11457
 
    fi
11458
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11459
 
    ;;
11460
 
  hppa*64*)
11461
 
    shrext_cmds='.sl'
11462
 
    hardcode_into_libs=yes
11463
 
    dynamic_linker="$host_os dld.sl"
11464
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11465
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11466
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467
 
    soname_spec='${libname}${release}${shared_ext}$major'
11468
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11469
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11470
 
    ;;
11471
 
  *)
11472
 
    shrext_cmds='.sl'
11473
 
    dynamic_linker="$host_os dld.sl"
11474
 
    shlibpath_var=SHLIB_PATH
11475
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11476
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477
 
    soname_spec='${libname}${release}${shared_ext}$major'
11478
 
    ;;
11479
 
  esac
11480
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11481
 
  postinstall_cmds='chmod 555 $lib'
11482
 
  # or fails outright, so override atomically:
11483
 
  install_override_mode=555
11484
 
  ;;
11485
 
 
11486
 
interix[3-9]*)
11487
 
  version_type=linux
11488
 
  need_lib_prefix=no
11489
 
  need_version=no
11490
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11491
 
  soname_spec='${libname}${release}${shared_ext}$major'
11492
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11493
 
  shlibpath_var=LD_LIBRARY_PATH
11494
 
  shlibpath_overrides_runpath=no
11495
 
  hardcode_into_libs=yes
11496
 
  ;;
11497
 
 
11498
 
irix5* | irix6* | nonstopux*)
11499
 
  case $host_os in
11500
 
    nonstopux*) version_type=nonstopux ;;
11501
 
    *)
11502
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
11503
 
                version_type=linux
11504
 
        else
11505
 
                version_type=irix
11506
 
        fi ;;
11507
 
  esac
11508
 
  need_lib_prefix=no
11509
 
  need_version=no
11510
 
  soname_spec='${libname}${release}${shared_ext}$major'
11511
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11512
 
  case $host_os in
11513
 
  irix5* | nonstopux*)
11514
 
    libsuff= shlibsuff=
11515
 
    ;;
11516
 
  *)
11517
 
    case $LD in # libtool.m4 will add one of these switches to LD
11518
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11519
 
      libsuff= shlibsuff= libmagic=32-bit;;
11520
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11521
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11522
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11523
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11524
 
    *) libsuff= shlibsuff= libmagic=never-match;;
11525
 
    esac
11526
 
    ;;
11527
 
  esac
11528
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11529
 
  shlibpath_overrides_runpath=no
11530
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11531
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11532
 
  hardcode_into_libs=yes
11533
 
  ;;
11534
 
 
11535
 
# No shared lib support for Linux oldld, aout, or coff.
11536
 
linux*oldld* | linux*aout* | linux*coff*)
11537
 
  dynamic_linker=no
11538
 
  ;;
11539
 
 
11540
 
# This must be Linux ELF.
11541
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11542
 
  version_type=linux
11543
 
  need_lib_prefix=no
11544
 
  need_version=no
11545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11546
 
  soname_spec='${libname}${release}${shared_ext}$major'
11547
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11548
 
  shlibpath_var=LD_LIBRARY_PATH
11549
 
  shlibpath_overrides_runpath=no
11550
 
 
11551
 
  # Some binutils ld are patched to set DT_RUNPATH
11552
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11553
 
  $as_echo_n "(cached) " >&6
11554
 
else
11555
 
  lt_cv_shlibpath_overrides_runpath=no
11556
 
    save_LDFLAGS=$LDFLAGS
11557
 
    save_libdir=$libdir
11558
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11559
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11560
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11561
 
/* end confdefs.h.  */
11562
 
 
11563
 
int
11564
 
main ()
11565
 
{
11566
 
 
11567
 
  ;
11568
 
  return 0;
11569
 
}
11570
 
_ACEOF
11571
 
if ac_fn_c_try_link "$LINENO"; then :
11572
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11573
 
  lt_cv_shlibpath_overrides_runpath=yes
11574
 
fi
11575
 
fi
11576
 
rm -f core conftest.err conftest.$ac_objext \
11577
 
    conftest$ac_exeext conftest.$ac_ext
11578
 
    LDFLAGS=$save_LDFLAGS
11579
 
    libdir=$save_libdir
11580
 
 
11581
 
fi
11582
 
 
11583
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11584
 
 
11585
 
  # This implies no fast_install, which is unacceptable.
11586
 
  # Some rework will be needed to allow for fast_install
11587
 
  # before this can be enabled.
11588
 
  hardcode_into_libs=yes
11589
 
 
11590
 
  # Append ld.so.conf contents to the search path
11591
 
  if test -f /etc/ld.so.conf; then
11592
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11593
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11594
 
  fi
11595
 
 
11596
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11597
 
  # powerpc, because MkLinux only supported shared libraries with the
11598
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11599
 
  # most powerpc-linux boxes support dynamic linking these days and
11600
 
  # people can always --disable-shared, the test was removed, and we
11601
 
  # assume the GNU/Linux dynamic linker is in use.
11602
 
  dynamic_linker='GNU/Linux ld.so'
11603
 
  ;;
11604
 
 
11605
 
netbsdelf*-gnu)
11606
 
  version_type=linux
11607
 
  need_lib_prefix=no
11608
 
  need_version=no
11609
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11610
 
  soname_spec='${libname}${release}${shared_ext}$major'
11611
 
  shlibpath_var=LD_LIBRARY_PATH
11612
 
  shlibpath_overrides_runpath=no
11613
 
  hardcode_into_libs=yes
11614
 
  dynamic_linker='NetBSD ld.elf_so'
11615
 
  ;;
11616
 
 
11617
 
netbsd*)
11618
 
  version_type=sunos
11619
 
  need_lib_prefix=no
11620
 
  need_version=no
11621
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11622
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11623
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11624
 
    dynamic_linker='NetBSD (a.out) ld.so'
11625
 
  else
11626
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11627
 
    soname_spec='${libname}${release}${shared_ext}$major'
11628
 
    dynamic_linker='NetBSD ld.elf_so'
11629
 
  fi
11630
 
  shlibpath_var=LD_LIBRARY_PATH
11631
 
  shlibpath_overrides_runpath=yes
11632
 
  hardcode_into_libs=yes
11633
 
  ;;
11634
 
 
11635
 
newsos6)
11636
 
  version_type=linux
11637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638
 
  shlibpath_var=LD_LIBRARY_PATH
11639
 
  shlibpath_overrides_runpath=yes
11640
 
  ;;
11641
 
 
11642
 
*nto* | *qnx*)
11643
 
  version_type=qnx
11644
 
  need_lib_prefix=no
11645
 
  need_version=no
11646
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647
 
  soname_spec='${libname}${release}${shared_ext}$major'
11648
 
  shlibpath_var=LD_LIBRARY_PATH
11649
 
  shlibpath_overrides_runpath=no
11650
 
  hardcode_into_libs=yes
11651
 
  dynamic_linker='ldqnx.so'
11652
 
  ;;
11653
 
 
11654
 
openbsd*)
11655
 
  version_type=sunos
11656
 
  sys_lib_dlsearch_path_spec="/usr/lib"
11657
 
  need_lib_prefix=no
11658
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11659
 
  case $host_os in
11660
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11661
 
    *)                          need_version=no  ;;
11662
 
  esac
11663
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11664
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11665
 
  shlibpath_var=LD_LIBRARY_PATH
11666
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11667
 
    case $host_os in
11668
 
      openbsd2.[89] | openbsd2.[89].*)
11669
 
        shlibpath_overrides_runpath=no
11670
 
        ;;
11671
 
      *)
11672
 
        shlibpath_overrides_runpath=yes
11673
 
        ;;
11674
 
      esac
11675
 
  else
11676
 
    shlibpath_overrides_runpath=yes
11677
 
  fi
11678
 
  ;;
11679
 
 
11680
 
os2*)
11681
 
  libname_spec='$name'
11682
 
  shrext_cmds=".dll"
11683
 
  need_lib_prefix=no
11684
 
  library_names_spec='$libname${shared_ext} $libname.a'
11685
 
  dynamic_linker='OS/2 ld.exe'
11686
 
  shlibpath_var=LIBPATH
11687
 
  ;;
11688
 
 
11689
 
osf3* | osf4* | osf5*)
11690
 
  version_type=osf
11691
 
  need_lib_prefix=no
11692
 
  need_version=no
11693
 
  soname_spec='${libname}${release}${shared_ext}$major'
11694
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695
 
  shlibpath_var=LD_LIBRARY_PATH
11696
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11697
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11698
 
  ;;
11699
 
 
11700
 
rdos*)
11701
 
  dynamic_linker=no
11702
 
  ;;
11703
 
 
11704
 
solaris*)
11705
 
  version_type=linux
11706
 
  need_lib_prefix=no
11707
 
  need_version=no
11708
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11709
 
  soname_spec='${libname}${release}${shared_ext}$major'
11710
 
  shlibpath_var=LD_LIBRARY_PATH
11711
 
  shlibpath_overrides_runpath=yes
11712
 
  hardcode_into_libs=yes
11713
 
  # ldd complains unless libraries are executable
11714
 
  postinstall_cmds='chmod +x $lib'
11715
 
  ;;
11716
 
 
11717
 
sunos4*)
11718
 
  version_type=sunos
11719
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11720
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11721
 
  shlibpath_var=LD_LIBRARY_PATH
11722
 
  shlibpath_overrides_runpath=yes
11723
 
  if test "$with_gnu_ld" = yes; then
11724
 
    need_lib_prefix=no
11725
 
  fi
11726
 
  need_version=yes
11727
 
  ;;
11728
 
 
11729
 
sysv4 | sysv4.3*)
11730
 
  version_type=linux
11731
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11732
 
  soname_spec='${libname}${release}${shared_ext}$major'
11733
 
  shlibpath_var=LD_LIBRARY_PATH
11734
 
  case $host_vendor in
11735
 
    sni)
11736
 
      shlibpath_overrides_runpath=no
11737
 
      need_lib_prefix=no
11738
 
      runpath_var=LD_RUN_PATH
11739
 
      ;;
11740
 
    siemens)
11741
 
      need_lib_prefix=no
11742
 
      ;;
11743
 
    motorola)
11744
 
      need_lib_prefix=no
11745
 
      need_version=no
11746
 
      shlibpath_overrides_runpath=no
11747
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11748
 
      ;;
11749
 
  esac
11750
 
  ;;
11751
 
 
11752
 
sysv4*MP*)
11753
 
  if test -d /usr/nec ;then
11754
 
    version_type=linux
11755
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11756
 
    soname_spec='$libname${shared_ext}.$major'
11757
 
    shlibpath_var=LD_LIBRARY_PATH
11758
 
  fi
11759
 
  ;;
11760
 
 
11761
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11762
 
  version_type=freebsd-elf
11763
 
  need_lib_prefix=no
11764
 
  need_version=no
11765
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11766
 
  soname_spec='${libname}${release}${shared_ext}$major'
11767
 
  shlibpath_var=LD_LIBRARY_PATH
11768
 
  shlibpath_overrides_runpath=yes
11769
 
  hardcode_into_libs=yes
11770
 
  if test "$with_gnu_ld" = yes; then
11771
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11772
 
  else
11773
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11774
 
    case $host_os in
11775
 
      sco3.2v5*)
11776
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11777
 
        ;;
11778
 
    esac
11779
 
  fi
11780
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11781
 
  ;;
11782
 
 
11783
 
tpf*)
11784
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11785
 
  version_type=linux
11786
 
  need_lib_prefix=no
11787
 
  need_version=no
11788
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11789
 
  shlibpath_var=LD_LIBRARY_PATH
11790
 
  shlibpath_overrides_runpath=no
11791
 
  hardcode_into_libs=yes
11792
 
  ;;
11793
 
 
11794
 
uts4*)
11795
 
  version_type=linux
11796
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11797
 
  soname_spec='${libname}${release}${shared_ext}$major'
11798
 
  shlibpath_var=LD_LIBRARY_PATH
11799
 
  ;;
11800
 
 
11801
 
*)
11802
 
  dynamic_linker=no
11803
 
  ;;
11804
 
esac
11805
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11806
 
$as_echo "$dynamic_linker" >&6; }
11807
 
test "$dynamic_linker" = no && can_build_shared=no
11808
 
 
11809
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11810
 
if test "$GCC" = yes; then
11811
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11812
 
fi
11813
 
 
11814
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11815
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11816
 
fi
11817
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11818
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11819
 
fi
11820
 
 
11821
 
 
11822
 
 
11823
 
 
11824
 
 
11825
 
 
11826
 
 
11827
 
 
11828
 
 
11829
 
 
11830
 
 
11831
 
 
11832
 
 
11833
 
 
11834
 
 
11835
 
 
11836
 
 
11837
 
 
11838
 
 
11839
 
 
11840
 
 
11841
 
 
11842
 
 
11843
 
 
11844
 
 
11845
 
 
11846
 
 
11847
 
 
11848
 
 
11849
 
 
11850
 
 
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
 
 
11865
 
 
11866
 
 
11867
 
 
11868
 
 
11869
 
 
11870
 
 
11871
 
 
11872
 
 
11873
 
 
11874
 
 
11875
 
 
11876
 
 
11877
 
 
11878
 
 
11879
 
 
11880
 
 
11881
 
 
11882
 
 
11883
 
 
11884
 
 
11885
 
 
11886
 
 
11887
 
 
11888
 
 
11889
 
 
11890
 
 
11891
 
 
11892
 
 
11893
 
 
11894
 
 
11895
 
 
11896
 
 
11897
 
 
11898
 
 
11899
 
 
11900
 
 
11901
 
 
11902
 
 
11903
 
 
11904
 
 
11905
 
 
11906
 
 
11907
 
 
11908
 
 
11909
 
 
11910
 
 
11911
 
 
11912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11913
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11914
 
hardcode_action=
11915
 
if test -n "$hardcode_libdir_flag_spec" ||
11916
 
   test -n "$runpath_var" ||
11917
 
   test "X$hardcode_automatic" = "Xyes" ; then
11918
 
 
11919
 
  # We can hardcode non-existent directories.
11920
 
  if test "$hardcode_direct" != no &&
11921
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11922
 
     # have to relink, otherwise we might link with an installed library
11923
 
     # when we should be linking with a yet-to-be-installed one
11924
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11925
 
     test "$hardcode_minus_L" != no; then
11926
 
    # Linking always hardcodes the temporary library directory.
11927
 
    hardcode_action=relink
11928
 
  else
11929
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11930
 
    hardcode_action=immediate
11931
 
  fi
11932
 
else
11933
 
  # We cannot hardcode anything, or else we can only hardcode existing
11934
 
  # directories.
11935
 
  hardcode_action=unsupported
11936
 
fi
11937
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11938
 
$as_echo "$hardcode_action" >&6; }
11939
 
 
11940
 
if test "$hardcode_action" = relink ||
11941
 
   test "$inherit_rpath" = yes; then
11942
 
  # Fast installation is not supported
11943
 
  enable_fast_install=no
11944
 
elif test "$shlibpath_overrides_runpath" = yes ||
11945
 
     test "$enable_shared" = no; then
11946
 
  # Fast installation is not necessary
11947
 
  enable_fast_install=needless
11948
 
fi
11949
 
 
11950
 
 
11951
 
 
11952
 
 
11953
 
 
11954
 
 
11955
 
  if test "x$enable_dlopen" != xyes; then
11956
 
  enable_dlopen=unknown
11957
 
  enable_dlopen_self=unknown
11958
 
  enable_dlopen_self_static=unknown
11959
 
else
11960
 
  lt_cv_dlopen=no
11961
 
  lt_cv_dlopen_libs=
11962
 
 
11963
 
  case $host_os in
11964
 
  beos*)
11965
 
    lt_cv_dlopen="load_add_on"
11966
 
    lt_cv_dlopen_libs=
11967
 
    lt_cv_dlopen_self=yes
11968
 
    ;;
11969
 
 
11970
 
  mingw* | pw32* | cegcc*)
11971
 
    lt_cv_dlopen="LoadLibrary"
11972
 
    lt_cv_dlopen_libs=
11973
 
    ;;
11974
 
 
11975
 
  cygwin*)
11976
 
    lt_cv_dlopen="dlopen"
11977
 
    lt_cv_dlopen_libs=
11978
 
    ;;
11979
 
 
11980
 
  darwin*)
11981
 
  # if libdl is installed we need to link against it
11982
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11983
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11984
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11985
 
  $as_echo_n "(cached) " >&6
11986
 
else
11987
 
  ac_check_lib_save_LIBS=$LIBS
11988
 
LIBS="-ldl  $LIBS"
11989
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990
 
/* end confdefs.h.  */
11991
 
 
11992
 
/* Override any GCC internal prototype to avoid an error.
11993
 
   Use char because int might match the return type of a GCC
11994
 
   builtin and then its argument prototype would still apply.  */
11995
 
#ifdef __cplusplus
11996
 
extern "C"
11997
 
#endif
11998
 
char dlopen ();
11999
 
int
12000
 
main ()
12001
 
{
12002
 
return dlopen ();
12003
 
  ;
12004
 
  return 0;
12005
 
}
12006
 
_ACEOF
12007
 
if ac_fn_c_try_link "$LINENO"; then :
12008
 
  ac_cv_lib_dl_dlopen=yes
12009
 
else
12010
 
  ac_cv_lib_dl_dlopen=no
12011
 
fi
12012
 
rm -f core conftest.err conftest.$ac_objext \
12013
 
    conftest$ac_exeext conftest.$ac_ext
12014
 
LIBS=$ac_check_lib_save_LIBS
12015
 
fi
12016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12017
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12018
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12019
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12020
 
else
12021
 
 
12022
 
    lt_cv_dlopen="dyld"
12023
 
    lt_cv_dlopen_libs=
12024
 
    lt_cv_dlopen_self=yes
12025
 
 
12026
 
fi
12027
 
 
12028
 
    ;;
12029
 
 
12030
 
  *)
12031
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12032
 
if test "x$ac_cv_func_shl_load" = xyes; then :
12033
 
  lt_cv_dlopen="shl_load"
12034
 
else
12035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12036
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12037
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
12038
 
  $as_echo_n "(cached) " >&6
12039
 
else
12040
 
  ac_check_lib_save_LIBS=$LIBS
12041
 
LIBS="-ldld  $LIBS"
12042
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043
 
/* end confdefs.h.  */
12044
 
 
12045
 
/* Override any GCC internal prototype to avoid an error.
12046
 
   Use char because int might match the return type of a GCC
12047
 
   builtin and then its argument prototype would still apply.  */
12048
 
#ifdef __cplusplus
12049
 
extern "C"
12050
 
#endif
12051
 
char shl_load ();
12052
 
int
12053
 
main ()
12054
 
{
12055
 
return shl_load ();
12056
 
  ;
12057
 
  return 0;
12058
 
}
12059
 
_ACEOF
12060
 
if ac_fn_c_try_link "$LINENO"; then :
12061
 
  ac_cv_lib_dld_shl_load=yes
12062
 
else
12063
 
  ac_cv_lib_dld_shl_load=no
12064
 
fi
12065
 
rm -f core conftest.err conftest.$ac_objext \
12066
 
    conftest$ac_exeext conftest.$ac_ext
12067
 
LIBS=$ac_check_lib_save_LIBS
12068
 
fi
12069
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12070
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12071
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12072
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12073
 
else
12074
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12075
 
if test "x$ac_cv_func_dlopen" = xyes; then :
12076
 
  lt_cv_dlopen="dlopen"
12077
 
else
12078
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12079
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12080
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
12081
 
  $as_echo_n "(cached) " >&6
12082
 
else
12083
 
  ac_check_lib_save_LIBS=$LIBS
12084
 
LIBS="-ldl  $LIBS"
12085
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086
 
/* end confdefs.h.  */
12087
 
 
12088
 
/* Override any GCC internal prototype to avoid an error.
12089
 
   Use char because int might match the return type of a GCC
12090
 
   builtin and then its argument prototype would still apply.  */
12091
 
#ifdef __cplusplus
12092
 
extern "C"
12093
 
#endif
12094
 
char dlopen ();
12095
 
int
12096
 
main ()
12097
 
{
12098
 
return dlopen ();
12099
 
  ;
12100
 
  return 0;
12101
 
}
12102
 
_ACEOF
12103
 
if ac_fn_c_try_link "$LINENO"; then :
12104
 
  ac_cv_lib_dl_dlopen=yes
12105
 
else
12106
 
  ac_cv_lib_dl_dlopen=no
12107
 
fi
12108
 
rm -f core conftest.err conftest.$ac_objext \
12109
 
    conftest$ac_exeext conftest.$ac_ext
12110
 
LIBS=$ac_check_lib_save_LIBS
12111
 
fi
12112
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12113
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12114
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12115
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12116
 
else
12117
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12118
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12119
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
12120
 
  $as_echo_n "(cached) " >&6
12121
 
else
12122
 
  ac_check_lib_save_LIBS=$LIBS
12123
 
LIBS="-lsvld  $LIBS"
12124
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125
 
/* end confdefs.h.  */
12126
 
 
12127
 
/* Override any GCC internal prototype to avoid an error.
12128
 
   Use char because int might match the return type of a GCC
12129
 
   builtin and then its argument prototype would still apply.  */
12130
 
#ifdef __cplusplus
12131
 
extern "C"
12132
 
#endif
12133
 
char dlopen ();
12134
 
int
12135
 
main ()
12136
 
{
12137
 
return dlopen ();
12138
 
  ;
12139
 
  return 0;
12140
 
}
12141
 
_ACEOF
12142
 
if ac_fn_c_try_link "$LINENO"; then :
12143
 
  ac_cv_lib_svld_dlopen=yes
12144
 
else
12145
 
  ac_cv_lib_svld_dlopen=no
12146
 
fi
12147
 
rm -f core conftest.err conftest.$ac_objext \
12148
 
    conftest$ac_exeext conftest.$ac_ext
12149
 
LIBS=$ac_check_lib_save_LIBS
12150
 
fi
12151
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12152
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12153
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12154
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12155
 
else
12156
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12157
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12158
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
12159
 
  $as_echo_n "(cached) " >&6
12160
 
else
12161
 
  ac_check_lib_save_LIBS=$LIBS
12162
 
LIBS="-ldld  $LIBS"
12163
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164
 
/* end confdefs.h.  */
12165
 
 
12166
 
/* Override any GCC internal prototype to avoid an error.
12167
 
   Use char because int might match the return type of a GCC
12168
 
   builtin and then its argument prototype would still apply.  */
12169
 
#ifdef __cplusplus
12170
 
extern "C"
12171
 
#endif
12172
 
char dld_link ();
12173
 
int
12174
 
main ()
12175
 
{
12176
 
return dld_link ();
12177
 
  ;
12178
 
  return 0;
12179
 
}
12180
 
_ACEOF
12181
 
if ac_fn_c_try_link "$LINENO"; then :
12182
 
  ac_cv_lib_dld_dld_link=yes
12183
 
else
12184
 
  ac_cv_lib_dld_dld_link=no
12185
 
fi
12186
 
rm -f core conftest.err conftest.$ac_objext \
12187
 
    conftest$ac_exeext conftest.$ac_ext
12188
 
LIBS=$ac_check_lib_save_LIBS
12189
 
fi
12190
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12191
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12192
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12193
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12194
 
fi
12195
 
 
12196
 
 
12197
 
fi
12198
 
 
12199
 
 
12200
 
fi
12201
 
 
12202
 
 
12203
 
fi
12204
 
 
12205
 
 
12206
 
fi
12207
 
 
12208
 
 
12209
 
fi
12210
 
 
12211
 
    ;;
12212
 
  esac
12213
 
 
12214
 
  if test "x$lt_cv_dlopen" != xno; then
12215
 
    enable_dlopen=yes
12216
 
  else
12217
 
    enable_dlopen=no
12218
 
  fi
12219
 
 
12220
 
  case $lt_cv_dlopen in
12221
 
  dlopen)
12222
 
    save_CPPFLAGS="$CPPFLAGS"
12223
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12224
 
 
12225
 
    save_LDFLAGS="$LDFLAGS"
12226
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12227
 
 
12228
 
    save_LIBS="$LIBS"
12229
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12230
 
 
12231
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12232
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12233
 
if ${lt_cv_dlopen_self+:} false; then :
12234
 
  $as_echo_n "(cached) " >&6
12235
 
else
12236
 
          if test "$cross_compiling" = yes; then :
12237
 
  lt_cv_dlopen_self=cross
12238
 
else
12239
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12240
 
  lt_status=$lt_dlunknown
12241
 
  cat > conftest.$ac_ext <<_LT_EOF
12242
 
#line $LINENO "configure"
12243
 
#include "confdefs.h"
12244
 
 
12245
 
#if HAVE_DLFCN_H
12246
 
#include <dlfcn.h>
12247
 
#endif
12248
 
 
12249
 
#include <stdio.h>
12250
 
 
12251
 
#ifdef RTLD_GLOBAL
12252
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12253
 
#else
12254
 
#  ifdef DL_GLOBAL
12255
 
#    define LT_DLGLOBAL         DL_GLOBAL
12256
 
#  else
12257
 
#    define LT_DLGLOBAL         0
12258
 
#  endif
12259
 
#endif
12260
 
 
12261
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12262
 
   find out it does not work in some platform. */
12263
 
#ifndef LT_DLLAZY_OR_NOW
12264
 
#  ifdef RTLD_LAZY
12265
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12266
 
#  else
12267
 
#    ifdef DL_LAZY
12268
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12269
 
#    else
12270
 
#      ifdef RTLD_NOW
12271
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12272
 
#      else
12273
 
#        ifdef DL_NOW
12274
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12275
 
#        else
12276
 
#          define LT_DLLAZY_OR_NOW      0
12277
 
#        endif
12278
 
#      endif
12279
 
#    endif
12280
 
#  endif
12281
 
#endif
12282
 
 
12283
 
/* When -fvisbility=hidden is used, assume the code has been annotated
12284
 
   correspondingly for the symbols needed.  */
12285
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12286
 
int fnord () __attribute__((visibility("default")));
12287
 
#endif
12288
 
 
12289
 
int fnord () { return 42; }
12290
 
int main ()
12291
 
{
12292
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12293
 
  int status = $lt_dlunknown;
12294
 
 
12295
 
  if (self)
12296
 
    {
12297
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12298
 
      else
12299
 
        {
12300
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12301
 
          else puts (dlerror ());
12302
 
        }
12303
 
      /* dlclose (self); */
12304
 
    }
12305
 
  else
12306
 
    puts (dlerror ());
12307
 
 
12308
 
  return status;
12309
 
}
12310
 
_LT_EOF
12311
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12312
 
  (eval $ac_link) 2>&5
12313
 
  ac_status=$?
12314
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12316
 
    (./conftest; exit; ) >&5 2>/dev/null
12317
 
    lt_status=$?
12318
 
    case x$lt_status in
12319
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12320
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12321
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12322
 
    esac
12323
 
  else :
12324
 
    # compilation failed
12325
 
    lt_cv_dlopen_self=no
12326
 
  fi
12327
 
fi
12328
 
rm -fr conftest*
12329
 
 
12330
 
 
12331
 
fi
12332
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12333
 
$as_echo "$lt_cv_dlopen_self" >&6; }
12334
 
 
12335
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12336
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12337
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12338
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12339
 
if ${lt_cv_dlopen_self_static+:} false; then :
12340
 
  $as_echo_n "(cached) " >&6
12341
 
else
12342
 
          if test "$cross_compiling" = yes; then :
12343
 
  lt_cv_dlopen_self_static=cross
12344
 
else
12345
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12346
 
  lt_status=$lt_dlunknown
12347
 
  cat > conftest.$ac_ext <<_LT_EOF
12348
 
#line $LINENO "configure"
12349
 
#include "confdefs.h"
12350
 
 
12351
 
#if HAVE_DLFCN_H
12352
 
#include <dlfcn.h>
12353
 
#endif
12354
 
 
12355
 
#include <stdio.h>
12356
 
 
12357
 
#ifdef RTLD_GLOBAL
12358
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12359
 
#else
12360
 
#  ifdef DL_GLOBAL
12361
 
#    define LT_DLGLOBAL         DL_GLOBAL
12362
 
#  else
12363
 
#    define LT_DLGLOBAL         0
12364
 
#  endif
12365
 
#endif
12366
 
 
12367
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12368
 
   find out it does not work in some platform. */
12369
 
#ifndef LT_DLLAZY_OR_NOW
12370
 
#  ifdef RTLD_LAZY
12371
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12372
 
#  else
12373
 
#    ifdef DL_LAZY
12374
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12375
 
#    else
12376
 
#      ifdef RTLD_NOW
12377
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12378
 
#      else
12379
 
#        ifdef DL_NOW
12380
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12381
 
#        else
12382
 
#          define LT_DLLAZY_OR_NOW      0
12383
 
#        endif
12384
 
#      endif
12385
 
#    endif
12386
 
#  endif
12387
 
#endif
12388
 
 
12389
 
/* When -fvisbility=hidden is used, assume the code has been annotated
12390
 
   correspondingly for the symbols needed.  */
12391
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12392
 
int fnord () __attribute__((visibility("default")));
12393
 
#endif
12394
 
 
12395
 
int fnord () { return 42; }
12396
 
int main ()
12397
 
{
12398
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12399
 
  int status = $lt_dlunknown;
12400
 
 
12401
 
  if (self)
12402
 
    {
12403
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12404
 
      else
12405
 
        {
12406
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12407
 
          else puts (dlerror ());
12408
 
        }
12409
 
      /* dlclose (self); */
12410
 
    }
12411
 
  else
12412
 
    puts (dlerror ());
12413
 
 
12414
 
  return status;
12415
 
}
12416
 
_LT_EOF
12417
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12418
 
  (eval $ac_link) 2>&5
12419
 
  ac_status=$?
12420
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12421
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12422
 
    (./conftest; exit; ) >&5 2>/dev/null
12423
 
    lt_status=$?
12424
 
    case x$lt_status in
12425
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12426
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12427
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12428
 
    esac
12429
 
  else :
12430
 
    # compilation failed
12431
 
    lt_cv_dlopen_self_static=no
12432
 
  fi
12433
 
fi
12434
 
rm -fr conftest*
12435
 
 
12436
 
 
12437
 
fi
12438
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12439
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12440
 
    fi
12441
 
 
12442
 
    CPPFLAGS="$save_CPPFLAGS"
12443
 
    LDFLAGS="$save_LDFLAGS"
12444
 
    LIBS="$save_LIBS"
12445
 
    ;;
12446
 
  esac
12447
 
 
12448
 
  case $lt_cv_dlopen_self in
12449
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12450
 
  *) enable_dlopen_self=unknown ;;
12451
 
  esac
12452
 
 
12453
 
  case $lt_cv_dlopen_self_static in
12454
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12455
 
  *) enable_dlopen_self_static=unknown ;;
12456
 
  esac
12457
 
fi
12458
 
 
12459
 
 
12460
 
 
12461
 
 
12462
 
 
12463
 
 
12464
 
 
12465
 
 
12466
 
 
12467
 
 
12468
 
 
12469
 
 
12470
 
 
12471
 
 
12472
 
 
12473
 
 
12474
 
 
12475
 
striplib=
12476
 
old_striplib=
12477
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12478
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12479
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12480
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12481
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12482
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12483
 
$as_echo "yes" >&6; }
12484
 
else
12485
 
# FIXME - insert some real tests, host_os isn't really good enough
12486
 
  case $host_os in
12487
 
  darwin*)
12488
 
    if test -n "$STRIP" ; then
12489
 
      striplib="$STRIP -x"
12490
 
      old_striplib="$STRIP -S"
12491
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12492
 
$as_echo "yes" >&6; }
12493
 
    else
12494
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495
 
$as_echo "no" >&6; }
12496
 
    fi
12497
 
    ;;
12498
 
  *)
12499
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500
 
$as_echo "no" >&6; }
12501
 
    ;;
12502
 
  esac
12503
 
fi
12504
 
 
12505
 
 
12506
 
 
12507
 
 
12508
 
 
12509
 
 
12510
 
 
12511
 
 
12512
 
 
12513
 
 
12514
 
 
12515
 
 
12516
 
  # Report which library types will actually be built
12517
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12518
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12519
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12520
 
$as_echo "$can_build_shared" >&6; }
12521
 
 
12522
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12523
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12524
 
  test "$can_build_shared" = "no" && enable_shared=no
12525
 
 
12526
 
  # On AIX, shared libraries and static libraries use the same namespace, and
12527
 
  # are all built from PIC.
12528
 
  case $host_os in
12529
 
  aix3*)
12530
 
    test "$enable_shared" = yes && enable_static=no
12531
 
    if test -n "$RANLIB"; then
12532
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12533
 
      postinstall_cmds='$RANLIB $lib'
12534
 
    fi
12535
 
    ;;
12536
 
 
12537
 
  aix[4-9]*)
12538
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12539
 
      test "$enable_shared" = yes && enable_static=no
12540
 
    fi
12541
 
    ;;
12542
 
  esac
12543
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12544
 
$as_echo "$enable_shared" >&6; }
12545
 
 
12546
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12547
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12548
 
  # Make sure either enable_shared or enable_static is yes.
12549
 
  test "$enable_shared" = yes || enable_static=yes
12550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12551
 
$as_echo "$enable_static" >&6; }
12552
 
 
12553
 
 
12554
 
 
12555
 
 
12556
 
fi
12557
 
ac_ext=c
12558
 
ac_cpp='$CPP $CPPFLAGS'
12559
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12562
 
 
12563
 
CC="$lt_save_CC"
12564
 
 
12565
 
 
12566
 
 
12567
 
 
12568
 
 
12569
 
 
12570
 
 
12571
 
 
12572
 
 
12573
 
 
12574
 
 
12575
 
 
12576
 
 
12577
 
        ac_config_commands="$ac_config_commands libtool"
12578
 
 
12579
 
 
12580
 
 
12581
 
 
12582
 
# Only expand once:
12583
 
 
12584
 
 
12585
 
 
12586
 
 
12587
 
 
12588
 
 
12589
 
 
12590
 
 
12591
 
 
12592
 
 
12593
 
 
12594
 
 
12595
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12596
 
        if test -n "$ac_tool_prefix"; then
12597
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12598
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12599
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600
 
$as_echo_n "checking for $ac_word... " >&6; }
12601
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12602
 
  $as_echo_n "(cached) " >&6
12603
 
else
12604
 
  case $PKG_CONFIG in
12605
 
  [\\/]* | ?:[\\/]*)
12606
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12607
 
  ;;
12608
 
  *)
12609
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610
 
for as_dir in $PATH
12611
 
do
12612
 
  IFS=$as_save_IFS
12613
 
  test -z "$as_dir" && as_dir=.
12614
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12615
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12617
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12618
 
    break 2
12619
 
  fi
12620
 
done
12621
 
  done
12622
 
IFS=$as_save_IFS
12623
 
 
12624
 
  ;;
12625
 
esac
12626
 
fi
12627
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12628
 
if test -n "$PKG_CONFIG"; then
12629
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12630
 
$as_echo "$PKG_CONFIG" >&6; }
12631
 
else
12632
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633
 
$as_echo "no" >&6; }
12634
 
fi
12635
 
 
12636
 
 
12637
 
fi
12638
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
12639
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
12640
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
12641
 
set dummy pkg-config; ac_word=$2
12642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12643
 
$as_echo_n "checking for $ac_word... " >&6; }
12644
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12645
 
  $as_echo_n "(cached) " >&6
12646
 
else
12647
 
  case $ac_pt_PKG_CONFIG in
12648
 
  [\\/]* | ?:[\\/]*)
12649
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12650
 
  ;;
12651
 
  *)
12652
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12653
 
for as_dir in $PATH
12654
 
do
12655
 
  IFS=$as_save_IFS
12656
 
  test -z "$as_dir" && as_dir=.
12657
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12658
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12659
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12660
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12661
 
    break 2
12662
 
  fi
12663
 
done
12664
 
  done
12665
 
IFS=$as_save_IFS
12666
 
 
12667
 
  ;;
12668
 
esac
12669
 
fi
12670
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12671
 
if test -n "$ac_pt_PKG_CONFIG"; then
12672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12673
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12674
 
else
12675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12676
 
$as_echo "no" >&6; }
12677
 
fi
12678
 
 
12679
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
12680
 
    PKG_CONFIG=""
12681
 
  else
12682
 
    case $cross_compiling:$ac_tool_warned in
12683
 
yes:)
12684
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12685
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12686
 
ac_tool_warned=yes ;;
12687
 
esac
12688
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
12689
 
  fi
12690
 
else
12691
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12692
 
fi
12693
 
 
12694
 
fi
12695
 
if test -n "$PKG_CONFIG"; then
12696
 
        _pkg_min_version=0.9.0
12697
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12698
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12699
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12700
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12701
 
$as_echo "yes" >&6; }
12702
 
        else
12703
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704
 
$as_echo "no" >&6; }
12705
 
                PKG_CONFIG=""
12706
 
        fi
12707
 
fi
12708
 
 
12709
 
pkg_failed=no
12710
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PDF_CONVERTER" >&5
12711
 
$as_echo_n "checking for PDF_CONVERTER... " >&6; }
12712
 
 
12713
 
if test -n "$PDF_CONVERTER_CFLAGS"; then
12714
 
    pkg_cv_PDF_CONVERTER_CFLAGS="$PDF_CONVERTER_CFLAGS"
12715
 
 elif test -n "$PKG_CONFIG"; then
12716
 
    if test -n "$PKG_CONFIG" && \
12717
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 2.90.3 \""; } >&5
12718
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 2.90.3 ") 2>&5
12719
 
  ac_status=$?
12720
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12721
 
  test $ac_status = 0; }; then
12722
 
  pkg_cv_PDF_CONVERTER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 2.90.3 " 2>/dev/null`
12723
 
                      test "x$?" != "x0" && pkg_failed=yes
12724
 
else
12725
 
  pkg_failed=yes
12726
 
fi
12727
 
 else
12728
 
    pkg_failed=untried
12729
 
fi
12730
 
if test -n "$PDF_CONVERTER_LIBS"; then
12731
 
    pkg_cv_PDF_CONVERTER_LIBS="$PDF_CONVERTER_LIBS"
12732
 
 elif test -n "$PKG_CONFIG"; then
12733
 
    if test -n "$PKG_CONFIG" && \
12734
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 2.90.3 \""; } >&5
12735
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 2.90.3 ") 2>&5
12736
 
  ac_status=$?
12737
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12738
 
  test $ac_status = 0; }; then
12739
 
  pkg_cv_PDF_CONVERTER_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 2.90.3 " 2>/dev/null`
12740
 
                      test "x$?" != "x0" && pkg_failed=yes
12741
 
else
12742
 
  pkg_failed=yes
12743
 
fi
12744
 
 else
12745
 
    pkg_failed=untried
12746
 
fi
12747
 
 
12748
 
 
12749
 
 
12750
 
if test $pkg_failed = yes; then
12751
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752
 
$as_echo "no" >&6; }
12753
 
 
12754
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12755
 
        _pkg_short_errors_supported=yes
12756
 
else
12757
 
        _pkg_short_errors_supported=no
12758
 
fi
12759
 
        if test $_pkg_short_errors_supported = yes; then
12760
 
                PDF_CONVERTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 2.90.3 " 2>&1`
12761
 
        else
12762
 
                PDF_CONVERTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 2.90.3 " 2>&1`
12763
 
        fi
12764
 
        # Put the nasty error message in config.log where it belongs
12765
 
        echo "$PDF_CONVERTER_PKG_ERRORS" >&5
12766
 
 
12767
 
        as_fn_error $? "Package requirements (gtk+-3.0 >= 2.90.3 ) were not met:
12768
 
 
12769
 
$PDF_CONVERTER_PKG_ERRORS
12770
 
 
12771
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12772
 
installed software in a non-standard prefix.
12773
 
 
12774
 
Alternatively, you may set the environment variables PDF_CONVERTER_CFLAGS
12775
 
and PDF_CONVERTER_LIBS to avoid the need to call pkg-config.
12776
 
See the pkg-config man page for more details." "$LINENO" 5
12777
 
elif test $pkg_failed = untried; then
12778
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12779
 
$as_echo "no" >&6; }
12780
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12781
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12782
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12783
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12784
 
path to pkg-config.
12785
 
 
12786
 
Alternatively, you may set the environment variables PDF_CONVERTER_CFLAGS
12787
 
and PDF_CONVERTER_LIBS to avoid the need to call pkg-config.
12788
 
See the pkg-config man page for more details.
12789
 
 
12790
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12791
 
See \`config.log' for more details" "$LINENO" 5; }
12792
 
else
12793
 
        PDF_CONVERTER_CFLAGS=$pkg_cv_PDF_CONVERTER_CFLAGS
12794
 
        PDF_CONVERTER_LIBS=$pkg_cv_PDF_CONVERTER_LIBS
12795
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12796
 
$as_echo "yes" >&6; }
12797
 
 
12798
 
fi
12799
 
 
12800
 
 
12801
 
 
12802
 
 
12803
 
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
12804
 
 
12805
 
cat >confcache <<\_ACEOF
12806
 
# This file is a shell script that caches the results of configure
12807
 
# tests run on this system so they can be shared between configure
12808
 
# scripts and configure runs, see configure's option --config-cache.
12809
 
# It is not useful on other systems.  If it contains results you don't
12810
 
# want to keep, you may remove or edit it.
12811
 
#
12812
 
# config.status only pays attention to the cache file if you give it
12813
 
# the --recheck option to rerun configure.
12814
 
#
12815
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12816
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12817
 
# following values.
12818
 
 
12819
 
_ACEOF
12820
 
 
12821
 
# The following way of writing the cache mishandles newlines in values,
12822
 
# but we know of no workaround that is simple, portable, and efficient.
12823
 
# So, we kill variables containing newlines.
12824
 
# Ultrix sh set writes to stderr and can't be redirected directly,
12825
 
# and sets the high bit in the cache file unless we assign to the vars.
12826
 
(
12827
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12828
 
    eval ac_val=\$$ac_var
12829
 
    case $ac_val in #(
12830
 
    *${as_nl}*)
12831
 
      case $ac_var in #(
12832
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12833
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12834
 
      esac
12835
 
      case $ac_var in #(
12836
 
      _ | IFS | as_nl) ;; #(
12837
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12838
 
      *) { eval $ac_var=; unset $ac_var;} ;;
12839
 
      esac ;;
12840
 
    esac
12841
 
  done
12842
 
 
12843
 
  (set) 2>&1 |
12844
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12845
 
    *${as_nl}ac_space=\ *)
12846
 
      # `set' does not quote correctly, so add quotes: double-quote
12847
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
12848
 
      sed -n \
12849
 
        "s/'/'\\\\''/g;
12850
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12851
 
      ;; #(
12852
 
    *)
12853
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12854
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12855
 
      ;;
12856
 
    esac |
12857
 
    sort
12858
 
) |
12859
 
  sed '
12860
 
     /^ac_cv_env_/b end
12861
 
     t clear
12862
 
     :clear
12863
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12864
 
     t end
12865
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12866
 
     :end' >>confcache
12867
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12868
 
  if test -w "$cache_file"; then
12869
 
    if test "x$cache_file" != "x/dev/null"; then
12870
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12871
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
12872
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
12873
 
        cat confcache >"$cache_file"
12874
 
      else
12875
 
        case $cache_file in #(
12876
 
        */* | ?:*)
12877
 
          mv -f confcache "$cache_file"$$ &&
12878
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
12879
 
        *)
12880
 
          mv -f confcache "$cache_file" ;;
12881
 
        esac
12882
 
      fi
12883
 
    fi
12884
 
  else
12885
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12886
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12887
 
  fi
12888
 
fi
12889
 
rm -f confcache
12890
 
 
12891
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12892
 
# Let make expand exec_prefix.
12893
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12894
 
 
12895
 
DEFS=-DHAVE_CONFIG_H
12896
 
 
12897
 
ac_libobjs=
12898
 
ac_ltlibobjs=
12899
 
U=
12900
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12901
 
  # 1. Remove the extension, and $U if already installed.
12902
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12903
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12904
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12905
 
  #    will be set to the directory where LIBOBJS objects are built.
12906
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12907
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12908
 
done
12909
 
LIBOBJS=$ac_libobjs
12910
 
 
12911
 
LTLIBOBJS=$ac_ltlibobjs
12912
 
 
12913
 
 
12914
 
 if test -n "$EXEEXT"; then
12915
 
  am__EXEEXT_TRUE=
12916
 
  am__EXEEXT_FALSE='#'
12917
 
else
12918
 
  am__EXEEXT_TRUE='#'
12919
 
  am__EXEEXT_FALSE=
12920
 
fi
12921
 
 
12922
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12923
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12924
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12925
 
fi
12926
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12927
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
12928
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12929
 
fi
12930
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12931
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12932
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12933
 
fi
12934
 
 
12935
 
  ac_config_commands="$ac_config_commands po/stamp-it"
12936
 
 
12937
 
 
12938
 
 
12939
 
: "${CONFIG_STATUS=./config.status}"
12940
 
ac_write_fail=0
12941
 
ac_clean_files_save=$ac_clean_files
12942
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12943
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12944
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12945
 
as_write_fail=0
12946
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12947
 
#! $SHELL
12948
 
# Generated by $as_me.
12949
 
# Run this file to recreate the current configuration.
12950
 
# Compiler output produced by configure, useful for debugging
12951
 
# configure, is in config.log if it exists.
12952
 
 
12953
 
debug=false
12954
 
ac_cs_recheck=false
12955
 
ac_cs_silent=false
12956
 
 
12957
 
SHELL=\${CONFIG_SHELL-$SHELL}
12958
 
export SHELL
12959
 
_ASEOF
12960
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12961
 
## -------------------- ##
12962
 
## M4sh Initialization. ##
12963
 
## -------------------- ##
12964
 
 
12965
 
# Be more Bourne compatible
12966
 
DUALCASE=1; export DUALCASE # for MKS sh
12967
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12968
 
  emulate sh
12969
 
  NULLCMD=:
12970
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12971
 
  # is contrary to our usage.  Disable this feature.
12972
 
  alias -g '${1+"$@"}'='"$@"'
12973
 
  setopt NO_GLOB_SUBST
12974
 
else
12975
 
  case `(set -o) 2>/dev/null` in #(
12976
 
  *posix*) :
12977
 
    set -o posix ;; #(
12978
 
  *) :
12979
 
     ;;
12980
 
esac
12981
 
fi
12982
 
 
12983
 
 
12984
 
as_nl='
12985
 
'
12986
 
export as_nl
12987
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12988
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12989
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12990
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12991
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
12992
 
# but without wasting forks for bash or zsh.
12993
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
12994
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12995
 
  as_echo='print -r --'
12996
 
  as_echo_n='print -rn --'
12997
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12998
 
  as_echo='printf %s\n'
12999
 
  as_echo_n='printf %s'
13000
 
else
13001
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13002
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13003
 
    as_echo_n='/usr/ucb/echo -n'
13004
 
  else
13005
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13006
 
    as_echo_n_body='eval
13007
 
      arg=$1;
13008
 
      case $arg in #(
13009
 
      *"$as_nl"*)
13010
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
13011
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13012
 
      esac;
13013
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13014
 
    '
13015
 
    export as_echo_n_body
13016
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
13017
 
  fi
13018
 
  export as_echo_body
13019
 
  as_echo='sh -c $as_echo_body as_echo'
13020
 
fi
13021
 
 
13022
 
# The user is always right.
13023
 
if test "${PATH_SEPARATOR+set}" != set; then
13024
 
  PATH_SEPARATOR=:
13025
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13026
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13027
 
      PATH_SEPARATOR=';'
13028
 
  }
13029
 
fi
13030
 
 
13031
 
 
13032
 
# IFS
13033
 
# We need space, tab and new line, in precisely that order.  Quoting is
13034
 
# there to prevent editors from complaining about space-tab.
13035
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13036
 
# splitting by setting IFS to empty value.)
13037
 
IFS=" ""        $as_nl"
13038
 
 
13039
 
# Find who we are.  Look in the path if we contain no directory separator.
13040
 
as_myself=
13041
 
case $0 in #((
13042
 
  *[\\/]* ) as_myself=$0 ;;
13043
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044
 
for as_dir in $PATH
13045
 
do
13046
 
  IFS=$as_save_IFS
13047
 
  test -z "$as_dir" && as_dir=.
13048
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13049
 
  done
13050
 
IFS=$as_save_IFS
13051
 
 
13052
 
     ;;
13053
 
esac
13054
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
13055
 
# in which case we are not to be found in the path.
13056
 
if test "x$as_myself" = x; then
13057
 
  as_myself=$0
13058
 
fi
13059
 
if test ! -f "$as_myself"; then
13060
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13061
 
  exit 1
13062
 
fi
13063
 
 
13064
 
# Unset variables that we do not need and which cause bugs (e.g. in
13065
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13066
 
# suppresses any "Segmentation fault" message there.  '((' could
13067
 
# trigger a bug in pdksh 5.2.14.
13068
 
for as_var in BASH_ENV ENV MAIL MAILPATH
13069
 
do eval test x\${$as_var+set} = xset \
13070
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13071
 
done
13072
 
PS1='$ '
13073
 
PS2='> '
13074
 
PS4='+ '
13075
 
 
13076
 
# NLS nuisances.
13077
 
LC_ALL=C
13078
 
export LC_ALL
13079
 
LANGUAGE=C
13080
 
export LANGUAGE
13081
 
 
13082
 
# CDPATH.
13083
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13084
 
 
13085
 
 
13086
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
13087
 
# ----------------------------------------
13088
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13089
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13090
 
# script with STATUS, using 1 if that was 0.
13091
 
as_fn_error ()
13092
 
{
13093
 
  as_status=$1; test $as_status -eq 0 && as_status=1
13094
 
  if test "$4"; then
13095
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13096
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13097
 
  fi
13098
 
  $as_echo "$as_me: error: $2" >&2
13099
 
  as_fn_exit $as_status
13100
 
} # as_fn_error
13101
 
 
13102
 
 
13103
 
# as_fn_set_status STATUS
13104
 
# -----------------------
13105
 
# Set $? to STATUS, without forking.
13106
 
as_fn_set_status ()
13107
 
{
13108
 
  return $1
13109
 
} # as_fn_set_status
13110
 
 
13111
 
# as_fn_exit STATUS
13112
 
# -----------------
13113
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13114
 
as_fn_exit ()
13115
 
{
13116
 
  set +e
13117
 
  as_fn_set_status $1
13118
 
  exit $1
13119
 
} # as_fn_exit
13120
 
 
13121
 
# as_fn_unset VAR
13122
 
# ---------------
13123
 
# Portably unset VAR.
13124
 
as_fn_unset ()
13125
 
{
13126
 
  { eval $1=; unset $1;}
13127
 
}
13128
 
as_unset=as_fn_unset
13129
 
# as_fn_append VAR VALUE
13130
 
# ----------------------
13131
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
13132
 
# advantage of any shell optimizations that allow amortized linear growth over
13133
 
# repeated appends, instead of the typical quadratic growth present in naive
13134
 
# implementations.
13135
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13136
 
  eval 'as_fn_append ()
13137
 
  {
13138
 
    eval $1+=\$2
13139
 
  }'
13140
 
else
13141
 
  as_fn_append ()
13142
 
  {
13143
 
    eval $1=\$$1\$2
13144
 
  }
13145
 
fi # as_fn_append
13146
 
 
13147
 
# as_fn_arith ARG...
13148
 
# ------------------
13149
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
13150
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13151
 
# must be portable across $(()) and expr.
13152
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13153
 
  eval 'as_fn_arith ()
13154
 
  {
13155
 
    as_val=$(( $* ))
13156
 
  }'
13157
 
else
13158
 
  as_fn_arith ()
13159
 
  {
13160
 
    as_val=`expr "$@" || test $? -eq 1`
13161
 
  }
13162
 
fi # as_fn_arith
13163
 
 
13164
 
 
13165
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13166
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13167
 
  as_expr=expr
13168
 
else
13169
 
  as_expr=false
13170
 
fi
13171
 
 
13172
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13173
 
  as_basename=basename
13174
 
else
13175
 
  as_basename=false
13176
 
fi
13177
 
 
13178
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13179
 
  as_dirname=dirname
13180
 
else
13181
 
  as_dirname=false
13182
 
fi
13183
 
 
13184
 
as_me=`$as_basename -- "$0" ||
13185
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13186
 
         X"$0" : 'X\(//\)$' \| \
13187
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13188
 
$as_echo X/"$0" |
13189
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13190
 
            s//\1/
13191
 
            q
13192
 
          }
13193
 
          /^X\/\(\/\/\)$/{
13194
 
            s//\1/
13195
 
            q
13196
 
          }
13197
 
          /^X\/\(\/\).*/{
13198
 
            s//\1/
13199
 
            q
13200
 
          }
13201
 
          s/.*/./; q'`
13202
 
 
13203
 
# Avoid depending upon Character Ranges.
13204
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13205
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13206
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13207
 
as_cr_digits='0123456789'
13208
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13209
 
 
13210
 
ECHO_C= ECHO_N= ECHO_T=
13211
 
case `echo -n x` in #(((((
13212
 
-n*)
13213
 
  case `echo 'xy\c'` in
13214
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13215
 
  xy)  ECHO_C='\c';;
13216
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13217
 
       ECHO_T=' ';;
13218
 
  esac;;
13219
 
*)
13220
 
  ECHO_N='-n';;
13221
 
esac
13222
 
 
13223
 
rm -f conf$$ conf$$.exe conf$$.file
13224
 
if test -d conf$$.dir; then
13225
 
  rm -f conf$$.dir/conf$$.file
13226
 
else
13227
 
  rm -f conf$$.dir
13228
 
  mkdir conf$$.dir 2>/dev/null
13229
 
fi
13230
 
if (echo >conf$$.file) 2>/dev/null; then
13231
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13232
 
    as_ln_s='ln -s'
13233
 
    # ... but there are two gotchas:
13234
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13235
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13236
 
    # In both cases, we have to default to `cp -p'.
13237
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13238
 
      as_ln_s='cp -p'
13239
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
13240
 
    as_ln_s=ln
13241
 
  else
13242
 
    as_ln_s='cp -p'
13243
 
  fi
13244
 
else
13245
 
  as_ln_s='cp -p'
13246
 
fi
13247
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13248
 
rmdir conf$$.dir 2>/dev/null
13249
 
 
13250
 
 
13251
 
# as_fn_mkdir_p
13252
 
# -------------
13253
 
# Create "$as_dir" as a directory, including parents if necessary.
13254
 
as_fn_mkdir_p ()
13255
 
{
13256
 
 
13257
 
  case $as_dir in #(
13258
 
  -*) as_dir=./$as_dir;;
13259
 
  esac
13260
 
  test -d "$as_dir" || eval $as_mkdir_p || {
13261
 
    as_dirs=
13262
 
    while :; do
13263
 
      case $as_dir in #(
13264
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13265
 
      *) as_qdir=$as_dir;;
13266
 
      esac
13267
 
      as_dirs="'$as_qdir' $as_dirs"
13268
 
      as_dir=`$as_dirname -- "$as_dir" ||
13269
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13270
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13271
 
         X"$as_dir" : 'X\(//\)$' \| \
13272
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13273
 
$as_echo X"$as_dir" |
13274
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13275
 
            s//\1/
13276
 
            q
13277
 
          }
13278
 
          /^X\(\/\/\)[^/].*/{
13279
 
            s//\1/
13280
 
            q
13281
 
          }
13282
 
          /^X\(\/\/\)$/{
13283
 
            s//\1/
13284
 
            q
13285
 
          }
13286
 
          /^X\(\/\).*/{
13287
 
            s//\1/
13288
 
            q
13289
 
          }
13290
 
          s/.*/./; q'`
13291
 
      test -d "$as_dir" && break
13292
 
    done
13293
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13294
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13295
 
 
13296
 
 
13297
 
} # as_fn_mkdir_p
13298
 
if mkdir -p . 2>/dev/null; then
13299
 
  as_mkdir_p='mkdir -p "$as_dir"'
13300
 
else
13301
 
  test -d ./-p && rmdir ./-p
13302
 
  as_mkdir_p=false
13303
 
fi
13304
 
 
13305
 
if test -x / >/dev/null 2>&1; then
13306
 
  as_test_x='test -x'
13307
 
else
13308
 
  if ls -dL / >/dev/null 2>&1; then
13309
 
    as_ls_L_option=L
13310
 
  else
13311
 
    as_ls_L_option=
13312
 
  fi
13313
 
  as_test_x='
13314
 
    eval sh -c '\''
13315
 
      if test -d "$1"; then
13316
 
        test -d "$1/.";
13317
 
      else
13318
 
        case $1 in #(
13319
 
        -*)set "./$1";;
13320
 
        esac;
13321
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13322
 
        ???[sx]*):;;*)false;;esac;fi
13323
 
    '\'' sh
13324
 
  '
13325
 
fi
13326
 
as_executable_p=$as_test_x
13327
 
 
13328
 
# Sed expression to map a string onto a valid CPP name.
13329
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13330
 
 
13331
 
# Sed expression to map a string onto a valid variable name.
13332
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13333
 
 
13334
 
 
13335
 
exec 6>&1
13336
 
## ----------------------------------- ##
13337
 
## Main body of $CONFIG_STATUS script. ##
13338
 
## ----------------------------------- ##
13339
 
_ASEOF
13340
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13341
 
 
13342
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13343
 
# Save the log message, to keep $0 and so on meaningful, and to
13344
 
# report actual input values of CONFIG_FILES etc. instead of their
13345
 
# values after options handling.
13346
 
ac_log="
13347
 
This file was extended by pdf_converter $as_me 0.1, which was
13348
 
generated by GNU Autoconf 2.68.  Invocation command line was
13349
 
 
13350
 
  CONFIG_FILES    = $CONFIG_FILES
13351
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
13352
 
  CONFIG_LINKS    = $CONFIG_LINKS
13353
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13354
 
  $ $0 $@
13355
 
 
13356
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13357
 
"
13358
 
 
13359
 
_ACEOF
13360
 
 
13361
 
case $ac_config_files in *"
13362
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13363
 
esac
13364
 
 
13365
 
case $ac_config_headers in *"
13366
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13367
 
esac
13368
 
 
13369
 
 
13370
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13371
 
# Files that config.status was made for.
13372
 
config_files="$ac_config_files"
13373
 
config_headers="$ac_config_headers"
13374
 
config_commands="$ac_config_commands"
13375
 
 
13376
 
_ACEOF
13377
 
 
13378
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13379
 
ac_cs_usage="\
13380
 
\`$as_me' instantiates files and other configuration actions
13381
 
from templates according to the current configuration.  Unless the files
13382
 
and actions are specified as TAGs, all are instantiated by default.
13383
 
 
13384
 
Usage: $0 [OPTION]... [TAG]...
13385
 
 
13386
 
  -h, --help       print this help, then exit
13387
 
  -V, --version    print version number and configuration settings, then exit
13388
 
      --config     print configuration, then exit
13389
 
  -q, --quiet, --silent
13390
 
                   do not print progress messages
13391
 
  -d, --debug      don't remove temporary files
13392
 
      --recheck    update $as_me by reconfiguring in the same conditions
13393
 
      --file=FILE[:TEMPLATE]
13394
 
                   instantiate the configuration file FILE
13395
 
      --header=FILE[:TEMPLATE]
13396
 
                   instantiate the configuration header FILE
13397
 
 
13398
 
Configuration files:
13399
 
$config_files
13400
 
 
13401
 
Configuration headers:
13402
 
$config_headers
13403
 
 
13404
 
Configuration commands:
13405
 
$config_commands
13406
 
 
13407
 
Report bugs to the package provider."
13408
 
 
13409
 
_ACEOF
13410
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13411
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13412
 
ac_cs_version="\\
13413
 
pdf_converter config.status 0.1
13414
 
configured by $0, generated by GNU Autoconf 2.68,
13415
 
  with options \\"\$ac_cs_config\\"
13416
 
 
13417
 
Copyright (C) 2010 Free Software Foundation, Inc.
13418
 
This config.status script is free software; the Free Software Foundation
13419
 
gives unlimited permission to copy, distribute and modify it."
13420
 
 
13421
 
ac_pwd='$ac_pwd'
13422
 
srcdir='$srcdir'
13423
 
INSTALL='$INSTALL'
13424
 
MKDIR_P='$MKDIR_P'
13425
 
AWK='$AWK'
13426
 
test -n "\$AWK" || AWK=awk
13427
 
_ACEOF
13428
 
 
13429
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13430
 
# The default lists apply if the user does not specify any file.
13431
 
ac_need_defaults=:
13432
 
while test $# != 0
13433
 
do
13434
 
  case $1 in
13435
 
  --*=?*)
13436
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13437
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13438
 
    ac_shift=:
13439
 
    ;;
13440
 
  --*=)
13441
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13442
 
    ac_optarg=
13443
 
    ac_shift=:
13444
 
    ;;
13445
 
  *)
13446
 
    ac_option=$1
13447
 
    ac_optarg=$2
13448
 
    ac_shift=shift
13449
 
    ;;
13450
 
  esac
13451
 
 
13452
 
  case $ac_option in
13453
 
  # Handling of the options.
13454
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13455
 
    ac_cs_recheck=: ;;
13456
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13457
 
    $as_echo "$ac_cs_version"; exit ;;
13458
 
  --config | --confi | --conf | --con | --co | --c )
13459
 
    $as_echo "$ac_cs_config"; exit ;;
13460
 
  --debug | --debu | --deb | --de | --d | -d )
13461
 
    debug=: ;;
13462
 
  --file | --fil | --fi | --f )
13463
 
    $ac_shift
13464
 
    case $ac_optarg in
13465
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13466
 
    '') as_fn_error $? "missing file argument" ;;
13467
 
    esac
13468
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13469
 
    ac_need_defaults=false;;
13470
 
  --header | --heade | --head | --hea )
13471
 
    $ac_shift
13472
 
    case $ac_optarg in
13473
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13474
 
    esac
13475
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13476
 
    ac_need_defaults=false;;
13477
 
  --he | --h)
13478
 
    # Conflict between --help and --header
13479
 
    as_fn_error $? "ambiguous option: \`$1'
13480
 
Try \`$0 --help' for more information.";;
13481
 
  --help | --hel | -h )
13482
 
    $as_echo "$ac_cs_usage"; exit ;;
13483
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13484
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13485
 
    ac_cs_silent=: ;;
13486
 
 
13487
 
  # This is an error.
13488
 
  -*) as_fn_error $? "unrecognized option: \`$1'
13489
 
Try \`$0 --help' for more information." ;;
13490
 
 
13491
 
  *) as_fn_append ac_config_targets " $1"
13492
 
     ac_need_defaults=false ;;
13493
 
 
13494
 
  esac
13495
 
  shift
13496
 
done
13497
 
 
13498
 
ac_configure_extra_args=
13499
 
 
13500
 
if $ac_cs_silent; then
13501
 
  exec 6>/dev/null
13502
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13503
 
fi
13504
 
 
13505
 
_ACEOF
13506
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13507
 
if \$ac_cs_recheck; then
13508
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13509
 
  shift
13510
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13511
 
  CONFIG_SHELL='$SHELL'
13512
 
  export CONFIG_SHELL
13513
 
  exec "\$@"
13514
 
fi
13515
 
 
13516
 
_ACEOF
13517
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13518
 
exec 5>>config.log
13519
 
{
13520
 
  echo
13521
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13522
 
## Running $as_me. ##
13523
 
_ASBOX
13524
 
  $as_echo "$ac_log"
13525
 
} >&5
13526
 
 
13527
 
_ACEOF
13528
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13529
 
#
13530
 
# INIT-COMMANDS
13531
 
#
13532
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13533
 
 
13534
 
 
13535
 
 
13536
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
13537
 
# if CDPATH is set.
13538
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13539
 
 
13540
 
sed_quote_subst='$sed_quote_subst'
13541
 
double_quote_subst='$double_quote_subst'
13542
 
delay_variable_subst='$delay_variable_subst'
13543
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13544
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13545
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13546
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13547
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13548
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13549
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13550
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13551
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13552
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13553
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13554
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13555
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13556
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13557
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13558
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13559
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13560
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13561
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13562
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13563
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13564
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13565
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13566
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13567
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13568
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13569
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13570
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13571
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13572
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13573
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13574
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13575
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13576
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13577
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13578
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13579
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13580
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13581
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13582
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13583
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13584
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13585
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13586
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13587
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13588
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13589
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13590
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13591
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13592
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13593
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13594
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13595
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13596
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13597
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13598
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13599
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13600
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13601
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13602
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13603
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13604
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13605
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13606
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13607
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13608
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13609
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13610
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13611
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13612
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13613
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13614
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13615
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13616
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13617
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13618
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13619
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13620
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13621
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13622
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13623
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13624
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13625
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13626
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13627
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13628
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13629
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13630
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13631
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13632
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13633
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13634
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13635
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13636
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13637
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13638
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13639
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13640
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13641
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13642
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13643
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13644
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13645
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13646
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13647
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13648
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13649
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13650
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13651
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13652
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13653
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13654
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13655
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13656
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13657
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13658
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13659
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13660
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13661
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13662
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13663
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13664
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13665
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13666
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13667
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13668
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13669
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13670
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13671
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13672
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13673
 
 
13674
 
LTCC='$LTCC'
13675
 
LTCFLAGS='$LTCFLAGS'
13676
 
compiler='$compiler_DEFAULT'
13677
 
 
13678
 
# A function that is used when there is no print builtin or printf.
13679
 
func_fallback_echo ()
13680
 
{
13681
 
  eval 'cat <<_LTECHO_EOF
13682
 
\$1
13683
 
_LTECHO_EOF'
13684
 
}
13685
 
 
13686
 
# Quote evaled strings.
13687
 
for var in SHELL \
13688
 
ECHO \
13689
 
SED \
13690
 
GREP \
13691
 
EGREP \
13692
 
FGREP \
13693
 
LD \
13694
 
NM \
13695
 
LN_S \
13696
 
lt_SP2NL \
13697
 
lt_NL2SP \
13698
 
reload_flag \
13699
 
OBJDUMP \
13700
 
deplibs_check_method \
13701
 
file_magic_cmd \
13702
 
file_magic_glob \
13703
 
want_nocaseglob \
13704
 
DLLTOOL \
13705
 
sharedlib_from_linklib_cmd \
13706
 
AR \
13707
 
AR_FLAGS \
13708
 
archiver_list_spec \
13709
 
STRIP \
13710
 
RANLIB \
13711
 
CC \
13712
 
CFLAGS \
13713
 
compiler \
13714
 
lt_cv_sys_global_symbol_pipe \
13715
 
lt_cv_sys_global_symbol_to_cdecl \
13716
 
lt_cv_sys_global_symbol_to_c_name_address \
13717
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13718
 
nm_file_list_spec \
13719
 
lt_prog_compiler_no_builtin_flag \
13720
 
lt_prog_compiler_pic \
13721
 
lt_prog_compiler_wl \
13722
 
lt_prog_compiler_static \
13723
 
lt_cv_prog_compiler_c_o \
13724
 
need_locks \
13725
 
MANIFEST_TOOL \
13726
 
DSYMUTIL \
13727
 
NMEDIT \
13728
 
LIPO \
13729
 
OTOOL \
13730
 
OTOOL64 \
13731
 
shrext_cmds \
13732
 
export_dynamic_flag_spec \
13733
 
whole_archive_flag_spec \
13734
 
compiler_needs_object \
13735
 
with_gnu_ld \
13736
 
allow_undefined_flag \
13737
 
no_undefined_flag \
13738
 
hardcode_libdir_flag_spec \
13739
 
hardcode_libdir_flag_spec_ld \
13740
 
hardcode_libdir_separator \
13741
 
exclude_expsyms \
13742
 
include_expsyms \
13743
 
file_list_spec \
13744
 
variables_saved_for_relink \
13745
 
libname_spec \
13746
 
library_names_spec \
13747
 
soname_spec \
13748
 
install_override_mode \
13749
 
finish_eval \
13750
 
old_striplib \
13751
 
striplib; do
13752
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13753
 
    *[\\\\\\\`\\"\\\$]*)
13754
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13755
 
      ;;
13756
 
    *)
13757
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13758
 
      ;;
13759
 
    esac
13760
 
done
13761
 
 
13762
 
# Double-quote double-evaled strings.
13763
 
for var in reload_cmds \
13764
 
old_postinstall_cmds \
13765
 
old_postuninstall_cmds \
13766
 
old_archive_cmds \
13767
 
extract_expsyms_cmds \
13768
 
old_archive_from_new_cmds \
13769
 
old_archive_from_expsyms_cmds \
13770
 
archive_cmds \
13771
 
archive_expsym_cmds \
13772
 
module_cmds \
13773
 
module_expsym_cmds \
13774
 
export_symbols_cmds \
13775
 
prelink_cmds \
13776
 
postlink_cmds \
13777
 
postinstall_cmds \
13778
 
postuninstall_cmds \
13779
 
finish_cmds \
13780
 
sys_lib_search_path_spec \
13781
 
sys_lib_dlsearch_path_spec; do
13782
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13783
 
    *[\\\\\\\`\\"\\\$]*)
13784
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13785
 
      ;;
13786
 
    *)
13787
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13788
 
      ;;
13789
 
    esac
13790
 
done
13791
 
 
13792
 
ac_aux_dir='$ac_aux_dir'
13793
 
xsi_shell='$xsi_shell'
13794
 
lt_shell_append='$lt_shell_append'
13795
 
 
13796
 
# See if we are running on zsh, and set the options which allow our
13797
 
# commands through without removal of \ escapes INIT.
13798
 
if test -n "\${ZSH_VERSION+set}" ; then
13799
 
   setopt NO_GLOB_SUBST
13800
 
fi
13801
 
 
13802
 
 
13803
 
    PACKAGE='$PACKAGE'
13804
 
    VERSION='$VERSION'
13805
 
    TIMESTAMP='$TIMESTAMP'
13806
 
    RM='$RM'
13807
 
    ofile='$ofile'
13808
 
 
13809
 
 
13810
 
 
13811
 
 
13812
 
_ACEOF
13813
 
 
13814
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13815
 
 
13816
 
# Handling of arguments.
13817
 
for ac_config_target in $ac_config_targets
13818
 
do
13819
 
  case $ac_config_target in
13820
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13821
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13822
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13823
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13824
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13825
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13826
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13827
 
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13828
 
 
13829
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13830
 
  esac
13831
 
done
13832
 
 
13833
 
 
13834
 
# If the user did not use the arguments to specify the items to instantiate,
13835
 
# then the envvar interface is used.  Set only those that are not.
13836
 
# We use the long form for the default assignment because of an extremely
13837
 
# bizarre bug on SunOS 4.1.3.
13838
 
if $ac_need_defaults; then
13839
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13840
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13841
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13842
 
fi
13843
 
 
13844
 
# Have a temporary directory for convenience.  Make it in the build tree
13845
 
# simply because there is no reason against having it here, and in addition,
13846
 
# creating and moving files from /tmp can sometimes cause problems.
13847
 
# Hook for its removal unless debugging.
13848
 
# Note that there is a small window in which the directory will not be cleaned:
13849
 
# after its creation but before its name has been assigned to `$tmp'.
13850
 
$debug ||
13851
 
{
13852
 
  tmp= ac_tmp=
13853
 
  trap 'exit_status=$?
13854
 
  : "${ac_tmp:=$tmp}"
13855
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13856
 
' 0
13857
 
  trap 'as_fn_exit 1' 1 2 13 15
13858
 
}
13859
 
# Create a (secure) tmp directory for tmp files.
13860
 
 
13861
 
{
13862
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13863
 
  test -d "$tmp"
13864
 
}  ||
13865
 
{
13866
 
  tmp=./conf$$-$RANDOM
13867
 
  (umask 077 && mkdir "$tmp")
13868
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13869
 
ac_tmp=$tmp
13870
 
 
13871
 
# Set up the scripts for CONFIG_FILES section.
13872
 
# No need to generate them if there are no CONFIG_FILES.
13873
 
# This happens for instance with `./config.status config.h'.
13874
 
if test -n "$CONFIG_FILES"; then
13875
 
 
13876
 
 
13877
 
ac_cr=`echo X | tr X '\015'`
13878
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13879
 
# But we know of no other shell where ac_cr would be empty at this
13880
 
# point, so we can use a bashism as a fallback.
13881
 
if test "x$ac_cr" = x; then
13882
 
  eval ac_cr=\$\'\\r\'
13883
 
fi
13884
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13885
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13886
 
  ac_cs_awk_cr='\\r'
13887
 
else
13888
 
  ac_cs_awk_cr=$ac_cr
13889
 
fi
13890
 
 
13891
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13892
 
_ACEOF
13893
 
 
13894
 
 
13895
 
{
13896
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13897
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13898
 
  echo "_ACEOF"
13899
 
} >conf$$subs.sh ||
13900
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13901
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13902
 
ac_delim='%!_!# '
13903
 
for ac_last_try in false false false false false :; do
13904
 
  . ./conf$$subs.sh ||
13905
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13906
 
 
13907
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13908
 
  if test $ac_delim_n = $ac_delim_num; then
13909
 
    break
13910
 
  elif $ac_last_try; then
13911
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13912
 
  else
13913
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13914
 
  fi
13915
 
done
13916
 
rm -f conf$$subs.sh
13917
 
 
13918
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13919
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13920
 
_ACEOF
13921
 
sed -n '
13922
 
h
13923
 
s/^/S["/; s/!.*/"]=/
13924
 
p
13925
 
g
13926
 
s/^[^!]*!//
13927
 
:repl
13928
 
t repl
13929
 
s/'"$ac_delim"'$//
13930
 
t delim
13931
 
:nl
13932
 
h
13933
 
s/\(.\{148\}\)..*/\1/
13934
 
t more1
13935
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13936
 
p
13937
 
n
13938
 
b repl
13939
 
:more1
13940
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13941
 
p
13942
 
g
13943
 
s/.\{148\}//
13944
 
t nl
13945
 
:delim
13946
 
h
13947
 
s/\(.\{148\}\)..*/\1/
13948
 
t more2
13949
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
13950
 
p
13951
 
b
13952
 
:more2
13953
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13954
 
p
13955
 
g
13956
 
s/.\{148\}//
13957
 
t delim
13958
 
' <conf$$subs.awk | sed '
13959
 
/^[^""]/{
13960
 
  N
13961
 
  s/\n//
13962
 
}
13963
 
' >>$CONFIG_STATUS || ac_write_fail=1
13964
 
rm -f conf$$subs.awk
13965
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13966
 
_ACAWK
13967
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13968
 
  for (key in S) S_is_set[key] = 1
13969
 
  FS = ""
13970
 
 
13971
 
}
13972
 
{
13973
 
  line = $ 0
13974
 
  nfields = split(line, field, "@")
13975
 
  substed = 0
13976
 
  len = length(field[1])
13977
 
  for (i = 2; i < nfields; i++) {
13978
 
    key = field[i]
13979
 
    keylen = length(key)
13980
 
    if (S_is_set[key]) {
13981
 
      value = S[key]
13982
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13983
 
      len += length(value) + length(field[++i])
13984
 
      substed = 1
13985
 
    } else
13986
 
      len += 1 + keylen
13987
 
  }
13988
 
 
13989
 
  print line
13990
 
}
13991
 
 
13992
 
_ACAWK
13993
 
_ACEOF
13994
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13995
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13996
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13997
 
else
13998
 
  cat
13999
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14000
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14001
 
_ACEOF
14002
 
 
14003
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14004
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14005
 
# trailing colons and then remove the whole line if VPATH becomes empty
14006
 
# (actually we leave an empty line to preserve line numbers).
14007
 
if test "x$srcdir" = x.; then
14008
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14009
 
h
14010
 
s///
14011
 
s/^/:/
14012
 
s/[      ]*$/:/
14013
 
s/:\$(srcdir):/:/g
14014
 
s/:\${srcdir}:/:/g
14015
 
s/:@srcdir@:/:/g
14016
 
s/^:*//
14017
 
s/:*$//
14018
 
x
14019
 
s/\(=[   ]*\).*/\1/
14020
 
G
14021
 
s/\n//
14022
 
s/^[^=]*=[       ]*$//
14023
 
}'
14024
 
fi
14025
 
 
14026
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14027
 
fi # test -n "$CONFIG_FILES"
14028
 
 
14029
 
# Set up the scripts for CONFIG_HEADERS section.
14030
 
# No need to generate them if there are no CONFIG_HEADERS.
14031
 
# This happens for instance with `./config.status Makefile'.
14032
 
if test -n "$CONFIG_HEADERS"; then
14033
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14034
 
BEGIN {
14035
 
_ACEOF
14036
 
 
14037
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
14038
 
# here-document in config.status, that substitutes the proper values into
14039
 
# config.h.in to produce config.h.
14040
 
 
14041
 
# Create a delimiter string that does not exist in confdefs.h, to ease
14042
 
# handling of long lines.
14043
 
ac_delim='%!_!# '
14044
 
for ac_last_try in false false :; do
14045
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14046
 
  if test -z "$ac_tt"; then
14047
 
    break
14048
 
  elif $ac_last_try; then
14049
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14050
 
  else
14051
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14052
 
  fi
14053
 
done
14054
 
 
14055
 
# For the awk script, D is an array of macro values keyed by name,
14056
 
# likewise P contains macro parameters if any.  Preserve backslash
14057
 
# newline sequences.
14058
 
 
14059
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14060
 
sed -n '
14061
 
s/.\{148\}/&'"$ac_delim"'/g
14062
 
t rset
14063
 
:rset
14064
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
14065
 
t def
14066
 
d
14067
 
:def
14068
 
s/\\$//
14069
 
t bsnl
14070
 
s/["\\]/\\&/g
14071
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14072
 
D["\1"]=" \3"/p
14073
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14074
 
d
14075
 
:bsnl
14076
 
s/["\\]/\\&/g
14077
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14078
 
D["\1"]=" \3\\\\\\n"\\/p
14079
 
t cont
14080
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14081
 
t cont
14082
 
d
14083
 
:cont
14084
 
n
14085
 
s/.\{148\}/&'"$ac_delim"'/g
14086
 
t clear
14087
 
:clear
14088
 
s/\\$//
14089
 
t bsnlc
14090
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14091
 
d
14092
 
:bsnlc
14093
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14094
 
b cont
14095
 
' <confdefs.h | sed '
14096
 
s/'"$ac_delim"'/"\\\
14097
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14098
 
 
14099
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14100
 
  for (key in D) D_is_set[key] = 1
14101
 
  FS = ""
14102
 
}
14103
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14104
 
  line = \$ 0
14105
 
  split(line, arg, " ")
14106
 
  if (arg[1] == "#") {
14107
 
    defundef = arg[2]
14108
 
    mac1 = arg[3]
14109
 
  } else {
14110
 
    defundef = substr(arg[1], 2)
14111
 
    mac1 = arg[2]
14112
 
  }
14113
 
  split(mac1, mac2, "(") #)
14114
 
  macro = mac2[1]
14115
 
  prefix = substr(line, 1, index(line, defundef) - 1)
14116
 
  if (D_is_set[macro]) {
14117
 
    # Preserve the white space surrounding the "#".
14118
 
    print prefix "define", macro P[macro] D[macro]
14119
 
    next
14120
 
  } else {
14121
 
    # Replace #undef with comments.  This is necessary, for example,
14122
 
    # in the case of _POSIX_SOURCE, which is predefined and required
14123
 
    # on some systems where configure will not decide to define it.
14124
 
    if (defundef == "undef") {
14125
 
      print "/*", prefix defundef, macro, "*/"
14126
 
      next
14127
 
    }
14128
 
  }
14129
 
}
14130
 
{ print }
14131
 
_ACAWK
14132
 
_ACEOF
14133
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14134
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14135
 
fi # test -n "$CONFIG_HEADERS"
14136
 
 
14137
 
 
14138
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14139
 
shift
14140
 
for ac_tag
14141
 
do
14142
 
  case $ac_tag in
14143
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
14144
 
  esac
14145
 
  case $ac_mode$ac_tag in
14146
 
  :[FHL]*:*);;
14147
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14148
 
  :[FH]-) ac_tag=-:-;;
14149
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14150
 
  esac
14151
 
  ac_save_IFS=$IFS
14152
 
  IFS=:
14153
 
  set x $ac_tag
14154
 
  IFS=$ac_save_IFS
14155
 
  shift
14156
 
  ac_file=$1
14157
 
  shift
14158
 
 
14159
 
  case $ac_mode in
14160
 
  :L) ac_source=$1;;
14161
 
  :[FH])
14162
 
    ac_file_inputs=
14163
 
    for ac_f
14164
 
    do
14165
 
      case $ac_f in
14166
 
      -) ac_f="$ac_tmp/stdin";;
14167
 
      *) # Look for the file first in the build tree, then in the source tree
14168
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14169
 
         # because $ac_f cannot contain `:'.
14170
 
         test -f "$ac_f" ||
14171
 
           case $ac_f in
14172
 
           [\\/$]*) false;;
14173
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14174
 
           esac ||
14175
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14176
 
      esac
14177
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14178
 
      as_fn_append ac_file_inputs " '$ac_f'"
14179
 
    done
14180
 
 
14181
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14182
 
    # use $as_me), people would be surprised to read:
14183
 
    #    /* config.h.  Generated by config.status.  */
14184
 
    configure_input='Generated from '`
14185
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14186
 
        `' by configure.'
14187
 
    if test x"$ac_file" != x-; then
14188
 
      configure_input="$ac_file.  $configure_input"
14189
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14190
 
$as_echo "$as_me: creating $ac_file" >&6;}
14191
 
    fi
14192
 
    # Neutralize special characters interpreted by sed in replacement strings.
14193
 
    case $configure_input in #(
14194
 
    *\&* | *\|* | *\\* )
14195
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
14196
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14197
 
    *) ac_sed_conf_input=$configure_input;;
14198
 
    esac
14199
 
 
14200
 
    case $ac_tag in
14201
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14202
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14203
 
    esac
14204
 
    ;;
14205
 
  esac
14206
 
 
14207
 
  ac_dir=`$as_dirname -- "$ac_file" ||
14208
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14209
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
14210
 
         X"$ac_file" : 'X\(//\)$' \| \
14211
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14212
 
$as_echo X"$ac_file" |
14213
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14214
 
            s//\1/
14215
 
            q
14216
 
          }
14217
 
          /^X\(\/\/\)[^/].*/{
14218
 
            s//\1/
14219
 
            q
14220
 
          }
14221
 
          /^X\(\/\/\)$/{
14222
 
            s//\1/
14223
 
            q
14224
 
          }
14225
 
          /^X\(\/\).*/{
14226
 
            s//\1/
14227
 
            q
14228
 
          }
14229
 
          s/.*/./; q'`
14230
 
  as_dir="$ac_dir"; as_fn_mkdir_p
14231
 
  ac_builddir=.
14232
 
 
14233
 
case "$ac_dir" in
14234
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14235
 
*)
14236
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14237
 
  # A ".." for each directory in $ac_dir_suffix.
14238
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14239
 
  case $ac_top_builddir_sub in
14240
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14241
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14242
 
  esac ;;
14243
 
esac
14244
 
ac_abs_top_builddir=$ac_pwd
14245
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14246
 
# for backward compatibility:
14247
 
ac_top_builddir=$ac_top_build_prefix
14248
 
 
14249
 
case $srcdir in
14250
 
  .)  # We are building in place.
14251
 
    ac_srcdir=.
14252
 
    ac_top_srcdir=$ac_top_builddir_sub
14253
 
    ac_abs_top_srcdir=$ac_pwd ;;
14254
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
14255
 
    ac_srcdir=$srcdir$ac_dir_suffix;
14256
 
    ac_top_srcdir=$srcdir
14257
 
    ac_abs_top_srcdir=$srcdir ;;
14258
 
  *) # Relative name.
14259
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14260
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
14261
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14262
 
esac
14263
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14264
 
 
14265
 
 
14266
 
  case $ac_mode in
14267
 
  :F)
14268
 
  #
14269
 
  # CONFIG_FILE
14270
 
  #
14271
 
 
14272
 
  case $INSTALL in
14273
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14274
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14275
 
  esac
14276
 
  ac_MKDIR_P=$MKDIR_P
14277
 
  case $MKDIR_P in
14278
 
  [\\/$]* | ?:[\\/]* ) ;;
14279
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14280
 
  esac
14281
 
_ACEOF
14282
 
 
14283
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14284
 
# If the template does not know about datarootdir, expand it.
14285
 
# FIXME: This hack should be removed a few years after 2.60.
14286
 
ac_datarootdir_hack=; ac_datarootdir_seen=
14287
 
ac_sed_dataroot='
14288
 
/datarootdir/ {
14289
 
  p
14290
 
  q
14291
 
}
14292
 
/@datadir@/p
14293
 
/@docdir@/p
14294
 
/@infodir@/p
14295
 
/@localedir@/p
14296
 
/@mandir@/p'
14297
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14298
 
*datarootdir*) ac_datarootdir_seen=yes;;
14299
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14300
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14301
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14302
 
_ACEOF
14303
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14304
 
  ac_datarootdir_hack='
14305
 
  s&@datadir@&$datadir&g
14306
 
  s&@docdir@&$docdir&g
14307
 
  s&@infodir@&$infodir&g
14308
 
  s&@localedir@&$localedir&g
14309
 
  s&@mandir@&$mandir&g
14310
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
14311
 
esac
14312
 
_ACEOF
14313
 
 
14314
 
# Neutralize VPATH when `$srcdir' = `.'.
14315
 
# Shell code in configure.ac might set extrasub.
14316
 
# FIXME: do we really want to maintain this feature?
14317
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14318
 
ac_sed_extra="$ac_vpsub
14319
 
$extrasub
14320
 
_ACEOF
14321
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14322
 
:t
14323
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14324
 
s|@configure_input@|$ac_sed_conf_input|;t t
14325
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
14326
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14327
 
s&@srcdir@&$ac_srcdir&;t t
14328
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14329
 
s&@top_srcdir@&$ac_top_srcdir&;t t
14330
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14331
 
s&@builddir@&$ac_builddir&;t t
14332
 
s&@abs_builddir@&$ac_abs_builddir&;t t
14333
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14334
 
s&@INSTALL@&$ac_INSTALL&;t t
14335
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14336
 
$ac_datarootdir_hack
14337
 
"
14338
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14339
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14340
 
 
14341
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14342
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14343
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14344
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14345
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14346
 
which seems to be undefined.  Please make sure it is defined" >&5
14347
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14348
 
which seems to be undefined.  Please make sure it is defined" >&2;}
14349
 
 
14350
 
  rm -f "$ac_tmp/stdin"
14351
 
  case $ac_file in
14352
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14353
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14354
 
  esac \
14355
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14356
 
 ;;
14357
 
  :H)
14358
 
  #
14359
 
  # CONFIG_HEADER
14360
 
  #
14361
 
  if test x"$ac_file" != x-; then
14362
 
    {
14363
 
      $as_echo "/* $configure_input  */" \
14364
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14365
 
    } >"$ac_tmp/config.h" \
14366
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14367
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14368
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14369
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14370
 
    else
14371
 
      rm -f "$ac_file"
14372
 
      mv "$ac_tmp/config.h" "$ac_file" \
14373
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14374
 
    fi
14375
 
  else
14376
 
    $as_echo "/* $configure_input  */" \
14377
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14378
 
      || as_fn_error $? "could not create -" "$LINENO" 5
14379
 
  fi
14380
 
# Compute "$ac_file"'s index in $config_headers.
14381
 
_am_arg="$ac_file"
14382
 
_am_stamp_count=1
14383
 
for _am_header in $config_headers :; do
14384
 
  case $_am_header in
14385
 
    $_am_arg | $_am_arg:* )
14386
 
      break ;;
14387
 
    * )
14388
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14389
 
  esac
14390
 
done
14391
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14392
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14393
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
14394
 
         X"$_am_arg" : 'X\(//\)$' \| \
14395
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14396
 
$as_echo X"$_am_arg" |
14397
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14398
 
            s//\1/
14399
 
            q
14400
 
          }
14401
 
          /^X\(\/\/\)[^/].*/{
14402
 
            s//\1/
14403
 
            q
14404
 
          }
14405
 
          /^X\(\/\/\)$/{
14406
 
            s//\1/
14407
 
            q
14408
 
          }
14409
 
          /^X\(\/\).*/{
14410
 
            s//\1/
14411
 
            q
14412
 
          }
14413
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
14414
 
 ;;
14415
 
 
14416
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14417
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
14418
 
 ;;
14419
 
  esac
14420
 
 
14421
 
 
14422
 
  case $ac_file$ac_mode in
14423
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14424
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14425
 
  # are listed without --file.  Let's play safe and only enable the eval
14426
 
  # if we detect the quoting.
14427
 
  case $CONFIG_FILES in
14428
 
  *\'*) eval set x "$CONFIG_FILES" ;;
14429
 
  *)   set x $CONFIG_FILES ;;
14430
 
  esac
14431
 
  shift
14432
 
  for mf
14433
 
  do
14434
 
    # Strip MF so we end up with the name of the file.
14435
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14436
 
    # Check whether this is an Automake generated Makefile or not.
14437
 
    # We used to match only the files named `Makefile.in', but
14438
 
    # some people rename them; so instead we look at the file content.
14439
 
    # Grep'ing the first line is not enough: some people post-process
14440
 
    # each Makefile.in and add a new line on top of each file to say so.
14441
 
    # Grep'ing the whole file is not good either: AIX grep has a line
14442
 
    # limit of 2048, but all sed's we know have understand at least 4000.
14443
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14444
 
      dirpart=`$as_dirname -- "$mf" ||
14445
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14446
 
         X"$mf" : 'X\(//\)[^/]' \| \
14447
 
         X"$mf" : 'X\(//\)$' \| \
14448
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14449
 
$as_echo X"$mf" |
14450
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14451
 
            s//\1/
14452
 
            q
14453
 
          }
14454
 
          /^X\(\/\/\)[^/].*/{
14455
 
            s//\1/
14456
 
            q
14457
 
          }
14458
 
          /^X\(\/\/\)$/{
14459
 
            s//\1/
14460
 
            q
14461
 
          }
14462
 
          /^X\(\/\).*/{
14463
 
            s//\1/
14464
 
            q
14465
 
          }
14466
 
          s/.*/./; q'`
14467
 
    else
14468
 
      continue
14469
 
    fi
14470
 
    # Extract the definition of DEPDIR, am__include, and am__quote
14471
 
    # from the Makefile without running `make'.
14472
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14473
 
    test -z "$DEPDIR" && continue
14474
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14475
 
    test -z "am__include" && continue
14476
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14477
 
    # When using ansi2knr, U may be empty or an underscore; expand it
14478
 
    U=`sed -n 's/^U = //p' < "$mf"`
14479
 
    # Find all dependency output files, they are included files with
14480
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14481
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
14482
 
    # expansion.
14483
 
    for file in `sed -n "
14484
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14485
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14486
 
      # Make sure the directory exists.
14487
 
      test -f "$dirpart/$file" && continue
14488
 
      fdir=`$as_dirname -- "$file" ||
14489
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14490
 
         X"$file" : 'X\(//\)[^/]' \| \
14491
 
         X"$file" : 'X\(//\)$' \| \
14492
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14493
 
$as_echo X"$file" |
14494
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14495
 
            s//\1/
14496
 
            q
14497
 
          }
14498
 
          /^X\(\/\/\)[^/].*/{
14499
 
            s//\1/
14500
 
            q
14501
 
          }
14502
 
          /^X\(\/\/\)$/{
14503
 
            s//\1/
14504
 
            q
14505
 
          }
14506
 
          /^X\(\/\).*/{
14507
 
            s//\1/
14508
 
            q
14509
 
          }
14510
 
          s/.*/./; q'`
14511
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14512
 
      # echo "creating $dirpart/$file"
14513
 
      echo '# dummy' > "$dirpart/$file"
14514
 
    done
14515
 
  done
14516
 
}
14517
 
 ;;
14518
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14519
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14520
 
      esac ;;
14521
 
    "libtool":C)
14522
 
 
14523
 
    # See if we are running on zsh, and set the options which allow our
14524
 
    # commands through without removal of \ escapes.
14525
 
    if test -n "${ZSH_VERSION+set}" ; then
14526
 
      setopt NO_GLOB_SUBST
14527
 
    fi
14528
 
 
14529
 
    cfgfile="${ofile}T"
14530
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14531
 
    $RM "$cfgfile"
14532
 
 
14533
 
    cat <<_LT_EOF >> "$cfgfile"
14534
 
#! $SHELL
14535
 
 
14536
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14537
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14538
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14539
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14540
 
#
14541
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14542
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14543
 
#                 Inc.
14544
 
#   Written by Gordon Matzigkeit, 1996
14545
 
#
14546
 
#   This file is part of GNU Libtool.
14547
 
#
14548
 
# GNU Libtool is free software; you can redistribute it and/or
14549
 
# modify it under the terms of the GNU General Public License as
14550
 
# published by the Free Software Foundation; either version 2 of
14551
 
# the License, or (at your option) any later version.
14552
 
#
14553
 
# As a special exception to the GNU General Public License,
14554
 
# if you distribute this file as part of a program or library that
14555
 
# is built using GNU Libtool, you may include this file under the
14556
 
# same distribution terms that you use for the rest of that program.
14557
 
#
14558
 
# GNU Libtool is distributed in the hope that it will be useful,
14559
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14560
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14561
 
# GNU General Public License for more details.
14562
 
#
14563
 
# You should have received a copy of the GNU General Public License
14564
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
14565
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14566
 
# obtained by writing to the Free Software Foundation, Inc.,
14567
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14568
 
 
14569
 
 
14570
 
# The names of the tagged configurations supported by this script.
14571
 
available_tags=""
14572
 
 
14573
 
# ### BEGIN LIBTOOL CONFIG
14574
 
 
14575
 
# Which release of libtool.m4 was used?
14576
 
macro_version=$macro_version
14577
 
macro_revision=$macro_revision
14578
 
 
14579
 
# Whether or not to build shared libraries.
14580
 
build_libtool_libs=$enable_shared
14581
 
 
14582
 
# Whether or not to build static libraries.
14583
 
build_old_libs=$enable_static
14584
 
 
14585
 
# What type of objects to build.
14586
 
pic_mode=$pic_mode
14587
 
 
14588
 
# Whether or not to optimize for fast installation.
14589
 
fast_install=$enable_fast_install
14590
 
 
14591
 
# Shell to use when invoking shell scripts.
14592
 
SHELL=$lt_SHELL
14593
 
 
14594
 
# An echo program that protects backslashes.
14595
 
ECHO=$lt_ECHO
14596
 
 
14597
 
# The host system.
14598
 
host_alias=$host_alias
14599
 
host=$host
14600
 
host_os=$host_os
14601
 
 
14602
 
# The build system.
14603
 
build_alias=$build_alias
14604
 
build=$build
14605
 
build_os=$build_os
14606
 
 
14607
 
# A sed program that does not truncate output.
14608
 
SED=$lt_SED
14609
 
 
14610
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14611
 
Xsed="\$SED -e 1s/^X//"
14612
 
 
14613
 
# A grep program that handles long lines.
14614
 
GREP=$lt_GREP
14615
 
 
14616
 
# An ERE matcher.
14617
 
EGREP=$lt_EGREP
14618
 
 
14619
 
# A literal string matcher.
14620
 
FGREP=$lt_FGREP
14621
 
 
14622
 
# A BSD- or MS-compatible name lister.
14623
 
NM=$lt_NM
14624
 
 
14625
 
# Whether we need soft or hard links.
14626
 
LN_S=$lt_LN_S
14627
 
 
14628
 
# What is the maximum length of a command?
14629
 
max_cmd_len=$max_cmd_len
14630
 
 
14631
 
# Object file suffix (normally "o").
14632
 
objext=$ac_objext
14633
 
 
14634
 
# Executable file suffix (normally "").
14635
 
exeext=$exeext
14636
 
 
14637
 
# whether the shell understands "unset".
14638
 
lt_unset=$lt_unset
14639
 
 
14640
 
# turn spaces into newlines.
14641
 
SP2NL=$lt_lt_SP2NL
14642
 
 
14643
 
# turn newlines into spaces.
14644
 
NL2SP=$lt_lt_NL2SP
14645
 
 
14646
 
# convert \$build file names to \$host format.
14647
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
14648
 
 
14649
 
# convert \$build files to toolchain format.
14650
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14651
 
 
14652
 
# An object symbol dumper.
14653
 
OBJDUMP=$lt_OBJDUMP
14654
 
 
14655
 
# Method to check whether dependent libraries are shared objects.
14656
 
deplibs_check_method=$lt_deplibs_check_method
14657
 
 
14658
 
# Command to use when deplibs_check_method = "file_magic".
14659
 
file_magic_cmd=$lt_file_magic_cmd
14660
 
 
14661
 
# How to find potential files when deplibs_check_method = "file_magic".
14662
 
file_magic_glob=$lt_file_magic_glob
14663
 
 
14664
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14665
 
want_nocaseglob=$lt_want_nocaseglob
14666
 
 
14667
 
# DLL creation program.
14668
 
DLLTOOL=$lt_DLLTOOL
14669
 
 
14670
 
# Command to associate shared and link libraries.
14671
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14672
 
 
14673
 
# The archiver.
14674
 
AR=$lt_AR
14675
 
 
14676
 
# Flags to create an archive.
14677
 
AR_FLAGS=$lt_AR_FLAGS
14678
 
 
14679
 
# How to feed a file listing to the archiver.
14680
 
archiver_list_spec=$lt_archiver_list_spec
14681
 
 
14682
 
# A symbol stripping program.
14683
 
STRIP=$lt_STRIP
14684
 
 
14685
 
# Commands used to install an old-style archive.
14686
 
RANLIB=$lt_RANLIB
14687
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14688
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14689
 
 
14690
 
# Whether to use a lock for old archive extraction.
14691
 
lock_old_archive_extraction=$lock_old_archive_extraction
14692
 
 
14693
 
# A C compiler.
14694
 
LTCC=$lt_CC
14695
 
 
14696
 
# LTCC compiler flags.
14697
 
LTCFLAGS=$lt_CFLAGS
14698
 
 
14699
 
# Take the output of nm and produce a listing of raw symbols and C names.
14700
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14701
 
 
14702
 
# Transform the output of nm in a proper C declaration.
14703
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14704
 
 
14705
 
# Transform the output of nm in a C name address pair.
14706
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14707
 
 
14708
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
14709
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14710
 
 
14711
 
# Specify filename containing input files for \$NM.
14712
 
nm_file_list_spec=$lt_nm_file_list_spec
14713
 
 
14714
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
14715
 
lt_sysroot=$lt_sysroot
14716
 
 
14717
 
# The name of the directory that contains temporary libtool files.
14718
 
objdir=$objdir
14719
 
 
14720
 
# Used to examine libraries when file_magic_cmd begins with "file".
14721
 
MAGIC_CMD=$MAGIC_CMD
14722
 
 
14723
 
# Must we lock files when doing compilation?
14724
 
need_locks=$lt_need_locks
14725
 
 
14726
 
# Manifest tool.
14727
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
14728
 
 
14729
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14730
 
DSYMUTIL=$lt_DSYMUTIL
14731
 
 
14732
 
# Tool to change global to local symbols on Mac OS X.
14733
 
NMEDIT=$lt_NMEDIT
14734
 
 
14735
 
# Tool to manipulate fat objects and archives on Mac OS X.
14736
 
LIPO=$lt_LIPO
14737
 
 
14738
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14739
 
OTOOL=$lt_OTOOL
14740
 
 
14741
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14742
 
OTOOL64=$lt_OTOOL64
14743
 
 
14744
 
# Old archive suffix (normally "a").
14745
 
libext=$libext
14746
 
 
14747
 
# Shared library suffix (normally ".so").
14748
 
shrext_cmds=$lt_shrext_cmds
14749
 
 
14750
 
# The commands to extract the exported symbol list from a shared archive.
14751
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14752
 
 
14753
 
# Variables whose values should be saved in libtool wrapper scripts and
14754
 
# restored at link time.
14755
 
variables_saved_for_relink=$lt_variables_saved_for_relink
14756
 
 
14757
 
# Do we need the "lib" prefix for modules?
14758
 
need_lib_prefix=$need_lib_prefix
14759
 
 
14760
 
# Do we need a version for libraries?
14761
 
need_version=$need_version
14762
 
 
14763
 
# Library versioning type.
14764
 
version_type=$version_type
14765
 
 
14766
 
# Shared library runtime path variable.
14767
 
runpath_var=$runpath_var
14768
 
 
14769
 
# Shared library path variable.
14770
 
shlibpath_var=$shlibpath_var
14771
 
 
14772
 
# Is shlibpath searched before the hard-coded library search path?
14773
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14774
 
 
14775
 
# Format of library name prefix.
14776
 
libname_spec=$lt_libname_spec
14777
 
 
14778
 
# List of archive names.  First name is the real one, the rest are links.
14779
 
# The last name is the one that the linker finds with -lNAME
14780
 
library_names_spec=$lt_library_names_spec
14781
 
 
14782
 
# The coded name of the library, if different from the real name.
14783
 
soname_spec=$lt_soname_spec
14784
 
 
14785
 
# Permission mode override for installation of shared libraries.
14786
 
install_override_mode=$lt_install_override_mode
14787
 
 
14788
 
# Command to use after installation of a shared archive.
14789
 
postinstall_cmds=$lt_postinstall_cmds
14790
 
 
14791
 
# Command to use after uninstallation of a shared archive.
14792
 
postuninstall_cmds=$lt_postuninstall_cmds
14793
 
 
14794
 
# Commands used to finish a libtool library installation in a directory.
14795
 
finish_cmds=$lt_finish_cmds
14796
 
 
14797
 
# As "finish_cmds", except a single script fragment to be evaled but
14798
 
# not shown.
14799
 
finish_eval=$lt_finish_eval
14800
 
 
14801
 
# Whether we should hardcode library paths into libraries.
14802
 
hardcode_into_libs=$hardcode_into_libs
14803
 
 
14804
 
# Compile-time system search path for libraries.
14805
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14806
 
 
14807
 
# Run-time system search path for libraries.
14808
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14809
 
 
14810
 
# Whether dlopen is supported.
14811
 
dlopen_support=$enable_dlopen
14812
 
 
14813
 
# Whether dlopen of programs is supported.
14814
 
dlopen_self=$enable_dlopen_self
14815
 
 
14816
 
# Whether dlopen of statically linked programs is supported.
14817
 
dlopen_self_static=$enable_dlopen_self_static
14818
 
 
14819
 
# Commands to strip libraries.
14820
 
old_striplib=$lt_old_striplib
14821
 
striplib=$lt_striplib
14822
 
 
14823
 
 
14824
 
# The linker used to build libraries.
14825
 
LD=$lt_LD
14826
 
 
14827
 
# How to create reloadable object files.
14828
 
reload_flag=$lt_reload_flag
14829
 
reload_cmds=$lt_reload_cmds
14830
 
 
14831
 
# Commands used to build an old-style archive.
14832
 
old_archive_cmds=$lt_old_archive_cmds
14833
 
 
14834
 
# A language specific compiler.
14835
 
CC=$lt_compiler
14836
 
 
14837
 
# Is the compiler the GNU compiler?
14838
 
with_gcc=$GCC
14839
 
 
14840
 
# Compiler flag to turn off builtin functions.
14841
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14842
 
 
14843
 
# Additional compiler flags for building library objects.
14844
 
pic_flag=$lt_lt_prog_compiler_pic
14845
 
 
14846
 
# How to pass a linker flag through the compiler.
14847
 
wl=$lt_lt_prog_compiler_wl
14848
 
 
14849
 
# Compiler flag to prevent dynamic linking.
14850
 
link_static_flag=$lt_lt_prog_compiler_static
14851
 
 
14852
 
# Does compiler simultaneously support -c and -o options?
14853
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14854
 
 
14855
 
# Whether or not to add -lc for building shared libraries.
14856
 
build_libtool_need_lc=$archive_cmds_need_lc
14857
 
 
14858
 
# Whether or not to disallow shared libs when runtime libs are static.
14859
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14860
 
 
14861
 
# Compiler flag to allow reflexive dlopens.
14862
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14863
 
 
14864
 
# Compiler flag to generate shared objects directly from archives.
14865
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14866
 
 
14867
 
# Whether the compiler copes with passing no objects directly.
14868
 
compiler_needs_object=$lt_compiler_needs_object
14869
 
 
14870
 
# Create an old-style archive from a shared archive.
14871
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14872
 
 
14873
 
# Create a temporary old-style archive to link instead of a shared archive.
14874
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14875
 
 
14876
 
# Commands used to build a shared archive.
14877
 
archive_cmds=$lt_archive_cmds
14878
 
archive_expsym_cmds=$lt_archive_expsym_cmds
14879
 
 
14880
 
# Commands used to build a loadable module if different from building
14881
 
# a shared archive.
14882
 
module_cmds=$lt_module_cmds
14883
 
module_expsym_cmds=$lt_module_expsym_cmds
14884
 
 
14885
 
# Whether we are building with GNU ld or not.
14886
 
with_gnu_ld=$lt_with_gnu_ld
14887
 
 
14888
 
# Flag that allows shared libraries with undefined symbols to be built.
14889
 
allow_undefined_flag=$lt_allow_undefined_flag
14890
 
 
14891
 
# Flag that enforces no undefined symbols.
14892
 
no_undefined_flag=$lt_no_undefined_flag
14893
 
 
14894
 
# Flag to hardcode \$libdir into a binary during linking.
14895
 
# This must work even if \$libdir does not exist
14896
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14897
 
 
14898
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
14899
 
# during linking.  This must work even if \$libdir does not exist.
14900
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14901
 
 
14902
 
# Whether we need a single "-rpath" flag with a separated argument.
14903
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14904
 
 
14905
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14906
 
# DIR into the resulting binary.
14907
 
hardcode_direct=$hardcode_direct
14908
 
 
14909
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14910
 
# DIR into the resulting binary and the resulting library dependency is
14911
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14912
 
# library is relocated.
14913
 
hardcode_direct_absolute=$hardcode_direct_absolute
14914
 
 
14915
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14916
 
# into the resulting binary.
14917
 
hardcode_minus_L=$hardcode_minus_L
14918
 
 
14919
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14920
 
# into the resulting binary.
14921
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
14922
 
 
14923
 
# Set to "yes" if building a shared library automatically hardcodes DIR
14924
 
# into the library and all subsequent libraries and executables linked
14925
 
# against it.
14926
 
hardcode_automatic=$hardcode_automatic
14927
 
 
14928
 
# Set to yes if linker adds runtime paths of dependent libraries
14929
 
# to runtime path list.
14930
 
inherit_rpath=$inherit_rpath
14931
 
 
14932
 
# Whether libtool must link a program against all its dependency libraries.
14933
 
link_all_deplibs=$link_all_deplibs
14934
 
 
14935
 
# Set to "yes" if exported symbols are required.
14936
 
always_export_symbols=$always_export_symbols
14937
 
 
14938
 
# The commands to list exported symbols.
14939
 
export_symbols_cmds=$lt_export_symbols_cmds
14940
 
 
14941
 
# Symbols that should not be listed in the preloaded symbols.
14942
 
exclude_expsyms=$lt_exclude_expsyms
14943
 
 
14944
 
# Symbols that must always be exported.
14945
 
include_expsyms=$lt_include_expsyms
14946
 
 
14947
 
# Commands necessary for linking programs (against libraries) with templates.
14948
 
prelink_cmds=$lt_prelink_cmds
14949
 
 
14950
 
# Commands necessary for finishing linking programs.
14951
 
postlink_cmds=$lt_postlink_cmds
14952
 
 
14953
 
# Specify filename containing input files.
14954
 
file_list_spec=$lt_file_list_spec
14955
 
 
14956
 
# How to hardcode a shared library path into an executable.
14957
 
hardcode_action=$hardcode_action
14958
 
 
14959
 
# ### END LIBTOOL CONFIG
14960
 
 
14961
 
_LT_EOF
14962
 
 
14963
 
  case $host_os in
14964
 
  aix3*)
14965
 
    cat <<\_LT_EOF >> "$cfgfile"
14966
 
# AIX sometimes has problems with the GCC collect2 program.  For some
14967
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
14968
 
# vanish in a puff of smoke.
14969
 
if test "X${COLLECT_NAMES+set}" != Xset; then
14970
 
  COLLECT_NAMES=
14971
 
  export COLLECT_NAMES
14972
 
fi
14973
 
_LT_EOF
14974
 
    ;;
14975
 
  esac
14976
 
 
14977
 
 
14978
 
ltmain="$ac_aux_dir/ltmain.sh"
14979
 
 
14980
 
 
14981
 
  # We use sed instead of cat because bash on DJGPP gets confused if
14982
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14983
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
14984
 
  # is reportedly fixed, but why not run on old versions too?
14985
 
  sed '$q' "$ltmain" >> "$cfgfile" \
14986
 
     || (rm -f "$cfgfile"; exit 1)
14987
 
 
14988
 
  if test x"$xsi_shell" = xyes; then
14989
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14990
 
func_dirname ()\
14991
 
{\
14992
 
\    case ${1} in\
14993
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
14994
 
\      *  ) func_dirname_result="${3}" ;;\
14995
 
\    esac\
14996
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14997
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
14998
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14999
 
test 0 -eq $? || _lt_function_replace_fail=:
15000
 
 
15001
 
 
15002
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
15003
 
func_basename ()\
15004
 
{\
15005
 
\    func_basename_result="${1##*/}"\
15006
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15007
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15008
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15009
 
test 0 -eq $? || _lt_function_replace_fail=:
15010
 
 
15011
 
 
15012
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15013
 
func_dirname_and_basename ()\
15014
 
{\
15015
 
\    case ${1} in\
15016
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
15017
 
\      *  ) func_dirname_result="${3}" ;;\
15018
 
\    esac\
15019
 
\    func_basename_result="${1##*/}"\
15020
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15021
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15022
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15023
 
test 0 -eq $? || _lt_function_replace_fail=:
15024
 
 
15025
 
 
15026
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15027
 
func_stripname ()\
15028
 
{\
15029
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15030
 
\    # positional parameters, so assign one to ordinary parameter first.\
15031
 
\    func_stripname_result=${3}\
15032
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
15033
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
15034
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15035
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15036
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15037
 
test 0 -eq $? || _lt_function_replace_fail=:
15038
 
 
15039
 
 
15040
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15041
 
func_split_long_opt ()\
15042
 
{\
15043
 
\    func_split_long_opt_name=${1%%=*}\
15044
 
\    func_split_long_opt_arg=${1#*=}\
15045
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15046
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15047
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15048
 
test 0 -eq $? || _lt_function_replace_fail=:
15049
 
 
15050
 
 
15051
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15052
 
func_split_short_opt ()\
15053
 
{\
15054
 
\    func_split_short_opt_arg=${1#??}\
15055
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15056
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15057
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15058
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15059
 
test 0 -eq $? || _lt_function_replace_fail=:
15060
 
 
15061
 
 
15062
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15063
 
func_lo2o ()\
15064
 
{\
15065
 
\    case ${1} in\
15066
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15067
 
\      *)    func_lo2o_result=${1} ;;\
15068
 
\    esac\
15069
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15070
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15071
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15072
 
test 0 -eq $? || _lt_function_replace_fail=:
15073
 
 
15074
 
 
15075
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
15076
 
func_xform ()\
15077
 
{\
15078
 
    func_xform_result=${1%.*}.lo\
15079
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15080
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15081
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15082
 
test 0 -eq $? || _lt_function_replace_fail=:
15083
 
 
15084
 
 
15085
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
15086
 
func_arith ()\
15087
 
{\
15088
 
    func_arith_result=$(( $* ))\
15089
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15090
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15091
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15092
 
test 0 -eq $? || _lt_function_replace_fail=:
15093
 
 
15094
 
 
15095
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
15096
 
func_len ()\
15097
 
{\
15098
 
    func_len_result=${#1}\
15099
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15100
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15101
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15102
 
test 0 -eq $? || _lt_function_replace_fail=:
15103
 
 
15104
 
fi
15105
 
 
15106
 
if test x"$lt_shell_append" = xyes; then
15107
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
15108
 
func_append ()\
15109
 
{\
15110
 
    eval "${1}+=\\${2}"\
15111
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15112
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15113
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15114
 
test 0 -eq $? || _lt_function_replace_fail=:
15115
 
 
15116
 
 
15117
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15118
 
func_append_quoted ()\
15119
 
{\
15120
 
\    func_quote_for_eval "${2}"\
15121
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15122
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15123
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15124
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15125
 
test 0 -eq $? || _lt_function_replace_fail=:
15126
 
 
15127
 
 
15128
 
  # Save a `func_append' function call where possible by direct use of '+='
15129
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15130
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
15131
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15132
 
  test 0 -eq $? || _lt_function_replace_fail=:
15133
 
else
15134
 
  # Save a `func_append' function call even when '+=' is not available
15135
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15136
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
15137
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15138
 
  test 0 -eq $? || _lt_function_replace_fail=:
15139
 
fi
15140
 
 
15141
 
if test x"$_lt_function_replace_fail" = x":"; then
15142
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15143
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15144
 
fi
15145
 
 
15146
 
 
15147
 
   mv -f "$cfgfile" "$ofile" ||
15148
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15149
 
  chmod +x "$ofile"
15150
 
 
15151
 
 ;;
15152
 
    "po/stamp-it":C)
15153
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15154
 
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15155
 
    fi
15156
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15157
 
    >"po/stamp-it.tmp"
15158
 
    sed '/^#/d
15159
 
         s/^[[].*] *//
15160
 
         /^[    ]*$/d
15161
 
        '"s|^|  $ac_top_srcdir/|" \
15162
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15163
 
 
15164
 
    sed '/^POTFILES =/,/[^\\]$/ {
15165
 
                /^POTFILES =/!d
15166
 
                r po/POTFILES
15167
 
          }
15168
 
         ' "po/Makefile.in" >"po/Makefile"
15169
 
    rm -f "po/Makefile.tmp"
15170
 
    mv "po/stamp-it.tmp" "po/stamp-it"
15171
 
   ;;
15172
 
 
15173
 
  esac
15174
 
done # for ac_tag
15175
 
 
15176
 
 
15177
 
as_fn_exit 0
15178
 
_ACEOF
15179
 
ac_clean_files=$ac_clean_files_save
15180
 
 
15181
 
test $ac_write_fail = 0 ||
15182
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15183
 
 
15184
 
 
15185
 
# configure is writing to config.log, and then calls config.status.
15186
 
# config.status does its own redirection, appending to config.log.
15187
 
# Unfortunately, on DOS this fails, as config.log is still kept open
15188
 
# by configure, so config.status won't be able to write to it; its
15189
 
# output is simply discarded.  So we exec the FD to /dev/null,
15190
 
# effectively closing config.log, so it can be properly (re)opened and
15191
 
# appended to by config.status.  When coming back to configure, we
15192
 
# need to make the FD available again.
15193
 
if test "$no_create" != yes; then
15194
 
  ac_cs_success=:
15195
 
  ac_config_status_args=
15196
 
  test "$silent" = yes &&
15197
 
    ac_config_status_args="$ac_config_status_args --quiet"
15198
 
  exec 5>/dev/null
15199
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15200
 
  exec 5>>config.log
15201
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15202
 
  # would make configure fail if this is the last instruction.
15203
 
  $ac_cs_success || as_fn_exit 1
15204
 
fi
15205
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15206
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15207
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15208
 
fi
15209