~ubuntu-branches/ubuntu/raring/gtkhtml3.14/raring

« back to all changes in this revision

Viewing changes to .pc/gtkhtml3.14_ftbfs.patch/configure

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-08-25 14:22:37 UTC
  • mfrom: (1.6.7 upstream) (27.2.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100825142237-sydsqo7b83686pui
Tags: 1:3.30.3-1ubuntu1
* Merge with Debian unstable. Remaining Ubuntu changes:
* debian/control:
  - Add Vcs-Bzr link
* debian/libgtkhtml-editor0.shlibs:
* debian/libgtkhtml3.14-19.shlibs:
  - Add epoch (accidentally added in Ubuntu)
* debian/patches/gtkhtml3.14_ftbfs.diff:
  - Build without DGTK_DISABLE_DEPRECATED to fix FTBFS
* debian/watch:
  - Watch for unstable versions

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.65 for gtkhtml 3.30.3.
 
4
#
 
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
 
18
 
 
19
# Be more Bourne compatible
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22
  emulate sh
 
23
  NULLCMD=:
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
25
  # is contrary to our usage.  Disable this feature.
 
26
  alias -g '${1+"$@"}'='"$@"'
 
27
  setopt NO_GLOB_SUBST
 
28
else
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
 
34
esac
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
 
75
 
 
76
# The user is always right.
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
 
83
fi
 
84
 
 
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
IFS=" ""        $as_nl"
 
92
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
case $0 in #((
 
95
  *[\\/]* ) as_myself=$0 ;;
 
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
97
for as_dir in $PATH
 
98
do
 
99
  IFS=$as_save_IFS
 
100
  test -z "$as_dir" && as_dir=.
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
 
103
IFS=$as_save_IFS
 
104
 
 
105
     ;;
 
106
esac
 
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
108
# in which case we are not to be found in the path.
 
109
if test "x$as_myself" = x; then
 
110
  as_myself=$0
 
111
fi
 
112
if test ! -f "$as_myself"; then
 
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
114
  exit 1
 
115
fi
 
116
 
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
124
done
 
125
PS1='$ '
 
126
PS2='> '
 
127
PS4='+ '
 
128
 
 
129
# NLS nuisances.
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
 
134
 
 
135
# CDPATH.
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
137
 
 
138
if test "x$CONFIG_SHELL" = x; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
 
178
  as_have_required=yes
 
179
else
 
180
  as_have_required=no
 
181
fi
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
 
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
188
do
 
189
  IFS=$as_save_IFS
 
190
  test -z "$as_dir" && as_dir=.
 
191
  as_found=:
 
192
  case $as_dir in #(
 
193
         /*)
 
194
           for as_base in sh bash ksh sh5; do
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
 
204
           done;;
 
205
       esac
 
206
  as_found=false
 
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
 
212
IFS=$as_save_IFS
 
213
 
 
214
 
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
222
        export CONFIG_SHELL
 
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
224
fi
 
225
 
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml
 
235
$0: about your system, including any error possibly output
 
236
$0: before this message. Then install a modern shell, or
 
237
$0: manually run the script under such a shell if you do
 
238
$0: have one."
 
239
  fi
 
240
  exit 1
 
241
fi
 
242
fi
 
243
fi
 
244
SHELL=${CONFIG_SHELL-/bin/sh}
 
245
export SHELL
 
246
# Unset more variables known to interfere with behavior of common tools.
 
247
CLICOLOR_FORCE= GREP_OPTIONS=
 
248
unset CLICOLOR_FORCE GREP_OPTIONS
 
249
 
 
250
## --------------------- ##
 
251
## M4sh Shell Functions. ##
 
252
## --------------------- ##
 
253
# as_fn_unset VAR
 
254
# ---------------
 
255
# Portably unset VAR.
 
256
as_fn_unset ()
 
257
{
 
258
  { eval $1=; unset $1;}
 
259
}
 
260
as_unset=as_fn_unset
 
261
 
 
262
# as_fn_set_status STATUS
 
263
# -----------------------
 
264
# Set $? to STATUS, without forking.
 
265
as_fn_set_status ()
 
266
{
 
267
  return $1
 
268
} # as_fn_set_status
 
269
 
 
270
# as_fn_exit STATUS
 
271
# -----------------
 
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
273
as_fn_exit ()
 
274
{
 
275
  set +e
 
276
  as_fn_set_status $1
 
277
  exit $1
 
278
} # as_fn_exit
 
279
 
 
280
# as_fn_mkdir_p
 
281
# -------------
 
282
# Create "$as_dir" as a directory, including parents if necessary.
 
283
as_fn_mkdir_p ()
 
284
{
 
285
 
 
286
  case $as_dir in #(
 
287
  -*) as_dir=./$as_dir;;
 
288
  esac
 
289
  test -d "$as_dir" || eval $as_mkdir_p || {
 
290
    as_dirs=
 
291
    while :; do
 
292
      case $as_dir in #(
 
293
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
294
      *) as_qdir=$as_dir;;
 
295
      esac
 
296
      as_dirs="'$as_qdir' $as_dirs"
 
297
      as_dir=`$as_dirname -- "$as_dir" ||
 
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
299
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
300
         X"$as_dir" : 'X\(//\)$' \| \
 
301
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
302
$as_echo X"$as_dir" |
 
303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)[^/].*/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\/\)$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\).*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          s/.*/./; q'`
 
320
      test -d "$as_dir" && break
 
321
    done
 
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
324
 
 
325
 
 
326
} # as_fn_mkdir_p
 
327
# as_fn_append VAR VALUE
 
328
# ----------------------
 
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
330
# advantage of any shell optimizations that allow amortized linear growth over
 
331
# repeated appends, instead of the typical quadratic growth present in naive
 
332
# implementations.
 
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
334
  eval 'as_fn_append ()
 
335
  {
 
336
    eval $1+=\$2
 
337
  }'
 
338
else
 
339
  as_fn_append ()
 
340
  {
 
341
    eval $1=\$$1\$2
 
342
  }
 
343
fi # as_fn_append
 
344
 
 
345
# as_fn_arith ARG...
 
346
# ------------------
 
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
349
# must be portable across $(()) and expr.
 
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
351
  eval 'as_fn_arith ()
 
352
  {
 
353
    as_val=$(( $* ))
 
354
  }'
 
355
else
 
356
  as_fn_arith ()
 
357
  {
 
358
    as_val=`expr "$@" || test $? -eq 1`
 
359
  }
 
360
fi # as_fn_arith
 
361
 
 
362
 
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
 
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
367
# script with status $?, using 1 if that was 0.
 
368
as_fn_error ()
 
369
{
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  fi
 
375
  $as_echo "$as_me: error: $1" >&2
 
376
  as_fn_exit $as_status
 
377
} # as_fn_error
 
378
 
 
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
380
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
381
  as_expr=expr
 
382
else
 
383
  as_expr=false
 
384
fi
 
385
 
 
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
387
  as_basename=basename
 
388
else
 
389
  as_basename=false
 
390
fi
 
391
 
 
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
393
  as_dirname=dirname
 
394
else
 
395
  as_dirname=false
 
396
fi
 
397
 
 
398
as_me=`$as_basename -- "$0" ||
 
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
400
         X"$0" : 'X\(//\)$' \| \
 
401
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
402
$as_echo X/"$0" |
 
403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\/\)$/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          /^X\/\(\/\).*/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          s/.*/./; q'`
 
416
 
 
417
# Avoid depending upon Character Ranges.
 
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
421
as_cr_digits='0123456789'
 
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
426
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
427
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
428
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
429
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
430
  sed -n '
 
431
    p
 
432
    /[$]LINENO/=
 
433
  ' <$as_myself |
 
434
    sed '
 
435
      s/[$]LINENO.*/&-/
 
436
      t lineno
 
437
      b
 
438
      :lineno
 
439
      N
 
440
      :loop
 
441
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
442
      t loop
 
443
      s/-\n.*//
 
444
    ' >$as_me.lineno &&
 
445
  chmod +x "$as_me.lineno" ||
 
446
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
447
 
 
448
  # Don't try to exec as it changes $[0], causing all sort of problems
 
449
  # (the dirname of $[0] is not the place where we might find the
 
450
  # original and so on.  Autoconf is especially sensitive to this).
 
451
  . "./$as_me.lineno"
 
452
  # Exit status is that of the last command.
 
453
  exit
 
454
}
 
455
 
 
456
ECHO_C= ECHO_N= ECHO_T=
 
457
case `echo -n x` in #(((((
 
458
-n*)
 
459
  case `echo 'xy\c'` in
 
460
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
461
  xy)  ECHO_C='\c';;
 
462
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
463
       ECHO_T=' ';;
 
464
  esac;;
 
465
*)
 
466
  ECHO_N='-n';;
 
467
esac
 
468
 
 
469
rm -f conf$$ conf$$.exe conf$$.file
 
470
if test -d conf$$.dir; then
 
471
  rm -f conf$$.dir/conf$$.file
 
472
else
 
473
  rm -f conf$$.dir
 
474
  mkdir conf$$.dir 2>/dev/null
 
475
fi
 
476
if (echo >conf$$.file) 2>/dev/null; then
 
477
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
478
    as_ln_s='ln -s'
 
479
    # ... but there are two gotchas:
 
480
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
481
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
482
    # In both cases, we have to default to `cp -p'.
 
483
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
484
      as_ln_s='cp -p'
 
485
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
486
    as_ln_s=ln
 
487
  else
 
488
    as_ln_s='cp -p'
 
489
  fi
 
490
else
 
491
  as_ln_s='cp -p'
 
492
fi
 
493
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
494
rmdir conf$$.dir 2>/dev/null
 
495
 
 
496
if mkdir -p . 2>/dev/null; then
 
497
  as_mkdir_p='mkdir -p "$as_dir"'
 
498
else
 
499
  test -d ./-p && rmdir ./-p
 
500
  as_mkdir_p=false
 
501
fi
 
502
 
 
503
if test -x / >/dev/null 2>&1; then
 
504
  as_test_x='test -x'
 
505
else
 
506
  if ls -dL / >/dev/null 2>&1; then
 
507
    as_ls_L_option=L
 
508
  else
 
509
    as_ls_L_option=
 
510
  fi
 
511
  as_test_x='
 
512
    eval sh -c '\''
 
513
      if test -d "$1"; then
 
514
        test -d "$1/.";
 
515
      else
 
516
        case $1 in #(
 
517
        -*)set "./$1";;
 
518
        esac;
 
519
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
520
        ???[sx]*):;;*)false;;esac;fi
 
521
    '\'' sh
 
522
  '
 
523
fi
 
524
as_executable_p=$as_test_x
 
525
 
 
526
# Sed expression to map a string onto a valid CPP name.
 
527
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
528
 
 
529
# Sed expression to map a string onto a valid variable name.
 
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
531
 
 
532
 
 
533
 
 
534
# Check that we are running under the correct shell.
 
535
SHELL=${CONFIG_SHELL-/bin/sh}
 
536
 
 
537
case X$lt_ECHO in
 
538
X*--fallback-echo)
 
539
  # Remove one level of quotation (which was required for Make).
 
540
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
541
  ;;
 
542
esac
 
543
 
 
544
ECHO=${lt_ECHO-echo}
 
545
if test "X$1" = X--no-reexec; then
 
546
  # Discard the --no-reexec flag, and continue.
 
547
  shift
 
548
elif test "X$1" = X--fallback-echo; then
 
549
  # Avoid inline document here, it may be left over
 
550
  :
 
551
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
552
  # Yippee, $ECHO works!
 
553
  :
 
554
else
 
555
  # Restart under the correct shell.
 
556
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
557
fi
 
558
 
 
559
if test "X$1" = X--fallback-echo; then
 
560
  # used as fallback echo
 
561
  shift
 
562
  cat <<_LT_EOF
 
563
$*
 
564
_LT_EOF
 
565
  exit 0
 
566
fi
 
567
 
 
568
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
569
# if CDPATH is set.
 
570
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
571
 
 
572
if test -z "$lt_ECHO"; then
 
573
  if test "X${echo_test_string+set}" != Xset; then
 
574
    # find a string as large as possible, as long as the shell can cope with it
 
575
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
576
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
577
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
578
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
579
      then
 
580
        break
 
581
      fi
 
582
    done
 
583
  fi
 
584
 
 
585
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
586
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
587
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
588
    :
 
589
  else
 
590
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
591
    # backslashes.  This makes it impossible to quote backslashes using
 
592
    #   echo "$something" | sed 's/\\/\\\\/g'
 
593
    #
 
594
    # So, first we look for a working echo in the user's PATH.
 
595
 
 
596
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
597
    for dir in $PATH /usr/ucb; do
 
598
      IFS="$lt_save_ifs"
 
599
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
600
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
601
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
602
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
603
        ECHO="$dir/echo"
 
604
        break
 
605
      fi
 
606
    done
 
607
    IFS="$lt_save_ifs"
 
608
 
 
609
    if test "X$ECHO" = Xecho; then
 
610
      # We didn't find a better echo, so look for alternatives.
 
611
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
612
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
613
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
614
        # This shell has a builtin print -r that does the trick.
 
615
        ECHO='print -r'
 
616
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
617
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
618
        # If we have ksh, try running configure again with it.
 
619
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
620
        export ORIGINAL_CONFIG_SHELL
 
621
        CONFIG_SHELL=/bin/ksh
 
622
        export CONFIG_SHELL
 
623
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
624
      else
 
625
        # Try using printf.
 
626
        ECHO='printf %s\n'
 
627
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
628
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
629
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
630
          # Cool, printf works
 
631
          :
 
632
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
633
             test "X$echo_testing_string" = 'X\t' &&
 
634
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
635
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
636
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
637
          export CONFIG_SHELL
 
638
          SHELL="$CONFIG_SHELL"
 
639
          export SHELL
 
640
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
641
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
642
             test "X$echo_testing_string" = 'X\t' &&
 
643
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
644
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
645
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
646
        else
 
647
          # maybe with a smaller string...
 
648
          prev=:
 
649
 
 
650
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
651
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
652
            then
 
653
              break
 
654
            fi
 
655
            prev="$cmd"
 
656
          done
 
657
 
 
658
          if test "$prev" != 'sed 50q "$0"'; then
 
659
            echo_test_string=`eval $prev`
 
660
            export echo_test_string
 
661
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
662
          else
 
663
            # Oops.  We lost completely, so just stick with echo.
 
664
            ECHO=echo
 
665
          fi
 
666
        fi
 
667
      fi
 
668
    fi
 
669
  fi
 
670
fi
 
671
 
 
672
# Copy echo and quote the copy suitably for passing to libtool from
 
673
# the Makefile, instead of quoting the original, which is used later.
 
674
lt_ECHO=$ECHO
 
675
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
676
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
677
fi
 
678
 
 
679
 
 
680
 
 
681
 
 
682
test -n "$DJDIR" || exec 7<&0 </dev/null
 
683
exec 6>&1
 
684
 
 
685
# Name of the host.
 
686
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
687
# so uname gets run too.
 
688
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
689
 
 
690
#
 
691
# Initializations.
 
692
#
 
693
ac_default_prefix=/usr/local
 
694
ac_clean_files=
 
695
ac_config_libobj_dir=.
 
696
LIBOBJS=
 
697
cross_compiling=no
 
698
subdirs=
 
699
MFLAGS=
 
700
MAKEFLAGS=
 
701
 
 
702
# Identity of this package.
 
703
PACKAGE_NAME='gtkhtml'
 
704
PACKAGE_TARNAME='gtkhtml'
 
705
PACKAGE_VERSION='3.30.3'
 
706
PACKAGE_STRING='gtkhtml 3.30.3'
 
707
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml'
 
708
PACKAGE_URL=''
 
709
 
 
710
ac_unique_file="README"
 
711
# Factoring default headers for most tests.
 
712
ac_includes_default="\
 
713
#include <stdio.h>
 
714
#ifdef HAVE_SYS_TYPES_H
 
715
# include <sys/types.h>
 
716
#endif
 
717
#ifdef HAVE_SYS_STAT_H
 
718
# include <sys/stat.h>
 
719
#endif
 
720
#ifdef STDC_HEADERS
 
721
# include <stdlib.h>
 
722
# include <stddef.h>
 
723
#else
 
724
# ifdef HAVE_STDLIB_H
 
725
#  include <stdlib.h>
 
726
# endif
 
727
#endif
 
728
#ifdef HAVE_STRING_H
 
729
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
730
#  include <memory.h>
 
731
# endif
 
732
# include <string.h>
 
733
#endif
 
734
#ifdef HAVE_STRINGS_H
 
735
# include <strings.h>
 
736
#endif
 
737
#ifdef HAVE_INTTYPES_H
 
738
# include <inttypes.h>
 
739
#endif
 
740
#ifdef HAVE_STDINT_H
 
741
# include <stdint.h>
 
742
#endif
 
743
#ifdef HAVE_UNISTD_H
 
744
# include <unistd.h>
 
745
#endif"
 
746
 
 
747
ac_subst_vars='am__EXEEXT_FALSE
 
748
am__EXEEXT_TRUE
 
749
LTLIBOBJS
 
750
GTKHTML_AGE
 
751
GTKHTML_REVISION
 
752
GTKHTML_CURRENT
 
753
EDITOR_SHLIB_FALSE
 
754
EDITOR_SHLIB_TRUE
 
755
GNOME_GTKHTML_EDITOR_TYPE
 
756
REGEX_LIBS
 
757
GIT_LIBS
 
758
GIT_CFLAGS
 
759
HAVE_NEWSOUP_FALSE
 
760
HAVE_NEWSOUP_TRUE
 
761
HAVE_SOUP_FALSE
 
762
HAVE_SOUP_TRUE
 
763
HAVE_NEWSOUP
 
764
SOUP_LIBS
 
765
SOUP_CFLAGS
 
766
ORBIT_IDL
 
767
GLADE_CATALOG_FALSE
 
768
GLADE_CATALOG_TRUE
 
769
GLADEUI_LIBS
 
770
GLADEUI_CFLAGS
 
771
GTKHTML_MODULES
 
772
GTKHTML_LIBS
 
773
GTKHTML_CFLAGS
 
774
GTHREAD_LIBS
 
775
GTHREAD_CFLAGS
 
776
GAIL_MODULES
 
777
GAIL_LIBS
 
778
GAIL_CFLAGS
 
779
PKG_CONFIG
 
780
SOEXT
 
781
OS_WIN32_FALSE
 
782
OS_WIN32_TRUE
 
783
GLIB_GENMARSHAL
 
784
CXXCPP
 
785
OTOOL64
 
786
OTOOL
 
787
LIPO
 
788
NMEDIT
 
789
DSYMUTIL
 
790
lt_ECHO
 
791
RANLIB
 
792
AR
 
793
LN_S
 
794
NM
 
795
ac_ct_DUMPBIN
 
796
DUMPBIN
 
797
LD
 
798
FGREP
 
799
SED
 
800
host_os
 
801
host_vendor
 
802
host_cpu
 
803
host
 
804
build_os
 
805
build_vendor
 
806
build_cpu
 
807
build
 
808
LIBTOOL
 
809
OBJDUMP
 
810
DLLTOOL
 
811
AS
 
812
LIBOBJS
 
813
ALLOCA
 
814
am__fastdepCXX_FALSE
 
815
am__fastdepCXX_TRUE
 
816
CXXDEPMODE
 
817
ac_ct_CXX
 
818
CXXFLAGS
 
819
CXX
 
820
WARNING_FLAGS
 
821
MKINSTALLDIRS
 
822
POSUB
 
823
POFILES
 
824
PO_IN_DATADIR_FALSE
 
825
PO_IN_DATADIR_TRUE
 
826
INTLLIBS
 
827
INSTOBJEXT
 
828
GMOFILES
 
829
CATOBJEXT
 
830
CATALOGS
 
831
MSGFMT_OPTS
 
832
EGREP
 
833
GREP
 
834
CPP
 
835
DATADIRNAME
 
836
am__fastdepCC_FALSE
 
837
am__fastdepCC_TRUE
 
838
CCDEPMODE
 
839
AMDEPBACKSLASH
 
840
AMDEP_FALSE
 
841
AMDEP_TRUE
 
842
am__quote
 
843
am__include
 
844
DEPDIR
 
845
OBJEXT
 
846
EXEEXT
 
847
ac_ct_CC
 
848
CPPFLAGS
 
849
LDFLAGS
 
850
CFLAGS
 
851
CC
 
852
ALL_LINGUAS
 
853
INTLTOOL_PERL
 
854
GMSGFMT
 
855
MSGFMT
 
856
MSGMERGE
 
857
XGETTEXT
 
858
INTLTOOL_POLICY_RULE
 
859
INTLTOOL_SERVICE_RULE
 
860
INTLTOOL_THEME_RULE
 
861
INTLTOOL_SCHEMAS_RULE
 
862
INTLTOOL_CAVES_RULE
 
863
INTLTOOL_XML_NOMERGE_RULE
 
864
INTLTOOL_XML_RULE
 
865
INTLTOOL_KBD_RULE
 
866
INTLTOOL_XAM_RULE
 
867
INTLTOOL_UI_RULE
 
868
INTLTOOL_SOUNDLIST_RULE
 
869
INTLTOOL_SHEET_RULE
 
870
INTLTOOL_SERVER_RULE
 
871
INTLTOOL_PONG_RULE
 
872
INTLTOOL_OAF_RULE
 
873
INTLTOOL_PROP_RULE
 
874
INTLTOOL_KEYS_RULE
 
875
INTLTOOL_DIRECTORY_RULE
 
876
INTLTOOL_DESKTOP_RULE
 
877
INTLTOOL_EXTRACT
 
878
INTLTOOL_MERGE
 
879
INTLTOOL_UPDATE
 
880
USE_NLS
 
881
MAINT
 
882
MAINTAINER_MODE_FALSE
 
883
MAINTAINER_MODE_TRUE
 
884
AM_BACKSLASH
 
885
AM_DEFAULT_VERBOSITY
 
886
I18N_LIB_CFLAGS
 
887
GETTEXT_PACKAGE
 
888
GTKHTML_RELEASE_STRING
 
889
EDITOR_API_VERSION
 
890
GTKHTML_API_VERSION
 
891
am__untar
 
892
am__tar
 
893
AMTAR
 
894
am__leading_dot
 
895
SET_MAKE
 
896
AWK
 
897
mkdir_p
 
898
MKDIR_P
 
899
INSTALL_STRIP_PROGRAM
 
900
STRIP
 
901
install_sh
 
902
MAKEINFO
 
903
AUTOHEADER
 
904
AUTOMAKE
 
905
AUTOCONF
 
906
ACLOCAL
 
907
VERSION
 
908
PACKAGE
 
909
CYGPATH_W
 
910
am__isrc
 
911
INSTALL_DATA
 
912
INSTALL_SCRIPT
 
913
INSTALL_PROGRAM
 
914
target_alias
 
915
host_alias
 
916
build_alias
 
917
LIBS
 
918
ECHO_T
 
919
ECHO_N
 
920
ECHO_C
 
921
DEFS
 
922
mandir
 
923
localedir
 
924
libdir
 
925
psdir
 
926
pdfdir
 
927
dvidir
 
928
htmldir
 
929
infodir
 
930
docdir
 
931
oldincludedir
 
932
includedir
 
933
localstatedir
 
934
sharedstatedir
 
935
sysconfdir
 
936
datadir
 
937
datarootdir
 
938
libexecdir
 
939
sbindir
 
940
bindir
 
941
program_transform_name
 
942
prefix
 
943
exec_prefix
 
944
PACKAGE_URL
 
945
PACKAGE_BUGREPORT
 
946
PACKAGE_STRING
 
947
PACKAGE_VERSION
 
948
PACKAGE_TARNAME
 
949
PACKAGE_NAME
 
950
PATH_SEPARATOR
 
951
SHELL'
 
952
ac_subst_files=''
 
953
ac_user_opts='
 
954
enable_option_checking
 
955
enable_silent_rules
 
956
enable_maintainer_mode
 
957
enable_nls
 
958
enable_dependency_tracking
 
959
enable_static
 
960
enable_shared
 
961
with_pic
 
962
enable_fast_install
 
963
with_gnu_ld
 
964
enable_libtool_lock
 
965
with_glade_catalog
 
966
enable_shlib_factory
 
967
'
 
968
      ac_precious_vars='build_alias
 
969
host_alias
 
970
target_alias
 
971
CC
 
972
CFLAGS
 
973
LDFLAGS
 
974
LIBS
 
975
CPPFLAGS
 
976
CPP
 
977
CXX
 
978
CXXFLAGS
 
979
CCC
 
980
CXXCPP
 
981
PKG_CONFIG
 
982
GAIL_CFLAGS
 
983
GAIL_LIBS
 
984
GTHREAD_CFLAGS
 
985
GTHREAD_LIBS
 
986
GTKHTML_CFLAGS
 
987
GTKHTML_LIBS
 
988
GLADEUI_CFLAGS
 
989
GLADEUI_LIBS
 
990
SOUP_CFLAGS
 
991
SOUP_LIBS
 
992
GIT_CFLAGS
 
993
GIT_LIBS'
 
994
 
 
995
 
 
996
# Initialize some variables set by options.
 
997
ac_init_help=
 
998
ac_init_version=false
 
999
ac_unrecognized_opts=
 
1000
ac_unrecognized_sep=
 
1001
# The variables have the same names as the options, with
 
1002
# dashes changed to underlines.
 
1003
cache_file=/dev/null
 
1004
exec_prefix=NONE
 
1005
no_create=
 
1006
no_recursion=
 
1007
prefix=NONE
 
1008
program_prefix=NONE
 
1009
program_suffix=NONE
 
1010
program_transform_name=s,x,x,
 
1011
silent=
 
1012
site=
 
1013
srcdir=
 
1014
verbose=
 
1015
x_includes=NONE
 
1016
x_libraries=NONE
 
1017
 
 
1018
# Installation directory options.
 
1019
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
1020
# and all the variables that are supposed to be based on exec_prefix
 
1021
# by default will actually change.
 
1022
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1023
# (The list follows the same order as the GNU Coding Standards.)
 
1024
bindir='${exec_prefix}/bin'
 
1025
sbindir='${exec_prefix}/sbin'
 
1026
libexecdir='${exec_prefix}/libexec'
 
1027
datarootdir='${prefix}/share'
 
1028
datadir='${datarootdir}'
 
1029
sysconfdir='${prefix}/etc'
 
1030
sharedstatedir='${prefix}/com'
 
1031
localstatedir='${prefix}/var'
 
1032
includedir='${prefix}/include'
 
1033
oldincludedir='/usr/include'
 
1034
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1035
infodir='${datarootdir}/info'
 
1036
htmldir='${docdir}'
 
1037
dvidir='${docdir}'
 
1038
pdfdir='${docdir}'
 
1039
psdir='${docdir}'
 
1040
libdir='${exec_prefix}/lib'
 
1041
localedir='${datarootdir}/locale'
 
1042
mandir='${datarootdir}/man'
 
1043
 
 
1044
ac_prev=
 
1045
ac_dashdash=
 
1046
for ac_option
 
1047
do
 
1048
  # If the previous option needs an argument, assign it.
 
1049
  if test -n "$ac_prev"; then
 
1050
    eval $ac_prev=\$ac_option
 
1051
    ac_prev=
 
1052
    continue
 
1053
  fi
 
1054
 
 
1055
  case $ac_option in
 
1056
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1057
  *)    ac_optarg=yes ;;
 
1058
  esac
 
1059
 
 
1060
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1061
 
 
1062
  case $ac_dashdash$ac_option in
 
1063
  --)
 
1064
    ac_dashdash=yes ;;
 
1065
 
 
1066
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1067
    ac_prev=bindir ;;
 
1068
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1069
    bindir=$ac_optarg ;;
 
1070
 
 
1071
  -build | --build | --buil | --bui | --bu)
 
1072
    ac_prev=build_alias ;;
 
1073
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1074
    build_alias=$ac_optarg ;;
 
1075
 
 
1076
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1077
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1078
    ac_prev=cache_file ;;
 
1079
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1080
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1081
    cache_file=$ac_optarg ;;
 
1082
 
 
1083
  --config-cache | -C)
 
1084
    cache_file=config.cache ;;
 
1085
 
 
1086
  -datadir | --datadir | --datadi | --datad)
 
1087
    ac_prev=datadir ;;
 
1088
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1089
    datadir=$ac_optarg ;;
 
1090
 
 
1091
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1092
  | --dataroo | --dataro | --datar)
 
1093
    ac_prev=datarootdir ;;
 
1094
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1095
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1096
    datarootdir=$ac_optarg ;;
 
1097
 
 
1098
  -disable-* | --disable-*)
 
1099
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1100
    # Reject names that are not valid shell variable names.
 
1101
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1102
      as_fn_error "invalid feature name: $ac_useropt"
 
1103
    ac_useropt_orig=$ac_useropt
 
1104
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1105
    case $ac_user_opts in
 
1106
      *"
 
1107
"enable_$ac_useropt"
 
1108
"*) ;;
 
1109
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1110
         ac_unrecognized_sep=', ';;
 
1111
    esac
 
1112
    eval enable_$ac_useropt=no ;;
 
1113
 
 
1114
  -docdir | --docdir | --docdi | --doc | --do)
 
1115
    ac_prev=docdir ;;
 
1116
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1117
    docdir=$ac_optarg ;;
 
1118
 
 
1119
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1120
    ac_prev=dvidir ;;
 
1121
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1122
    dvidir=$ac_optarg ;;
 
1123
 
 
1124
  -enable-* | --enable-*)
 
1125
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1126
    # Reject names that are not valid shell variable names.
 
1127
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1128
      as_fn_error "invalid feature name: $ac_useropt"
 
1129
    ac_useropt_orig=$ac_useropt
 
1130
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1131
    case $ac_user_opts in
 
1132
      *"
 
1133
"enable_$ac_useropt"
 
1134
"*) ;;
 
1135
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1136
         ac_unrecognized_sep=', ';;
 
1137
    esac
 
1138
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1139
 
 
1140
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1141
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1142
  | --exec | --exe | --ex)
 
1143
    ac_prev=exec_prefix ;;
 
1144
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1145
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1146
  | --exec=* | --exe=* | --ex=*)
 
1147
    exec_prefix=$ac_optarg ;;
 
1148
 
 
1149
  -gas | --gas | --ga | --g)
 
1150
    # Obsolete; use --with-gas.
 
1151
    with_gas=yes ;;
 
1152
 
 
1153
  -help | --help | --hel | --he | -h)
 
1154
    ac_init_help=long ;;
 
1155
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1156
    ac_init_help=recursive ;;
 
1157
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1158
    ac_init_help=short ;;
 
1159
 
 
1160
  -host | --host | --hos | --ho)
 
1161
    ac_prev=host_alias ;;
 
1162
  -host=* | --host=* | --hos=* | --ho=*)
 
1163
    host_alias=$ac_optarg ;;
 
1164
 
 
1165
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1166
    ac_prev=htmldir ;;
 
1167
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1168
  | --ht=*)
 
1169
    htmldir=$ac_optarg ;;
 
1170
 
 
1171
  -includedir | --includedir | --includedi | --included | --include \
 
1172
  | --includ | --inclu | --incl | --inc)
 
1173
    ac_prev=includedir ;;
 
1174
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1175
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1176
    includedir=$ac_optarg ;;
 
1177
 
 
1178
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1179
    ac_prev=infodir ;;
 
1180
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1181
    infodir=$ac_optarg ;;
 
1182
 
 
1183
  -libdir | --libdir | --libdi | --libd)
 
1184
    ac_prev=libdir ;;
 
1185
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1186
    libdir=$ac_optarg ;;
 
1187
 
 
1188
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1189
  | --libexe | --libex | --libe)
 
1190
    ac_prev=libexecdir ;;
 
1191
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1192
  | --libexe=* | --libex=* | --libe=*)
 
1193
    libexecdir=$ac_optarg ;;
 
1194
 
 
1195
  -localedir | --localedir | --localedi | --localed | --locale)
 
1196
    ac_prev=localedir ;;
 
1197
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1198
    localedir=$ac_optarg ;;
 
1199
 
 
1200
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1201
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1202
    ac_prev=localstatedir ;;
 
1203
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1204
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1205
    localstatedir=$ac_optarg ;;
 
1206
 
 
1207
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1208
    ac_prev=mandir ;;
 
1209
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1210
    mandir=$ac_optarg ;;
 
1211
 
 
1212
  -nfp | --nfp | --nf)
 
1213
    # Obsolete; use --without-fp.
 
1214
    with_fp=no ;;
 
1215
 
 
1216
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1217
  | --no-cr | --no-c | -n)
 
1218
    no_create=yes ;;
 
1219
 
 
1220
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1221
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1222
    no_recursion=yes ;;
 
1223
 
 
1224
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1225
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1226
  | --oldin | --oldi | --old | --ol | --o)
 
1227
    ac_prev=oldincludedir ;;
 
1228
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1229
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1230
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1231
    oldincludedir=$ac_optarg ;;
 
1232
 
 
1233
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1234
    ac_prev=prefix ;;
 
1235
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1236
    prefix=$ac_optarg ;;
 
1237
 
 
1238
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1239
  | --program-pre | --program-pr | --program-p)
 
1240
    ac_prev=program_prefix ;;
 
1241
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1242
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1243
    program_prefix=$ac_optarg ;;
 
1244
 
 
1245
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1246
  | --program-suf | --program-su | --program-s)
 
1247
    ac_prev=program_suffix ;;
 
1248
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1249
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1250
    program_suffix=$ac_optarg ;;
 
1251
 
 
1252
  -program-transform-name | --program-transform-name \
 
1253
  | --program-transform-nam | --program-transform-na \
 
1254
  | --program-transform-n | --program-transform- \
 
1255
  | --program-transform | --program-transfor \
 
1256
  | --program-transfo | --program-transf \
 
1257
  | --program-trans | --program-tran \
 
1258
  | --progr-tra | --program-tr | --program-t)
 
1259
    ac_prev=program_transform_name ;;
 
1260
  -program-transform-name=* | --program-transform-name=* \
 
1261
  | --program-transform-nam=* | --program-transform-na=* \
 
1262
  | --program-transform-n=* | --program-transform-=* \
 
1263
  | --program-transform=* | --program-transfor=* \
 
1264
  | --program-transfo=* | --program-transf=* \
 
1265
  | --program-trans=* | --program-tran=* \
 
1266
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1267
    program_transform_name=$ac_optarg ;;
 
1268
 
 
1269
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1270
    ac_prev=pdfdir ;;
 
1271
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1272
    pdfdir=$ac_optarg ;;
 
1273
 
 
1274
  -psdir | --psdir | --psdi | --psd | --ps)
 
1275
    ac_prev=psdir ;;
 
1276
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1277
    psdir=$ac_optarg ;;
 
1278
 
 
1279
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1280
  | -silent | --silent | --silen | --sile | --sil)
 
1281
    silent=yes ;;
 
1282
 
 
1283
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1284
    ac_prev=sbindir ;;
 
1285
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1286
  | --sbi=* | --sb=*)
 
1287
    sbindir=$ac_optarg ;;
 
1288
 
 
1289
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1290
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1291
  | --sharedst | --shareds | --shared | --share | --shar \
 
1292
  | --sha | --sh)
 
1293
    ac_prev=sharedstatedir ;;
 
1294
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1295
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1296
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1297
  | --sha=* | --sh=*)
 
1298
    sharedstatedir=$ac_optarg ;;
 
1299
 
 
1300
  -site | --site | --sit)
 
1301
    ac_prev=site ;;
 
1302
  -site=* | --site=* | --sit=*)
 
1303
    site=$ac_optarg ;;
 
1304
 
 
1305
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1306
    ac_prev=srcdir ;;
 
1307
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1308
    srcdir=$ac_optarg ;;
 
1309
 
 
1310
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1311
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1312
    ac_prev=sysconfdir ;;
 
1313
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1314
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1315
    sysconfdir=$ac_optarg ;;
 
1316
 
 
1317
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1318
    ac_prev=target_alias ;;
 
1319
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1320
    target_alias=$ac_optarg ;;
 
1321
 
 
1322
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1323
    verbose=yes ;;
 
1324
 
 
1325
  -version | --version | --versio | --versi | --vers | -V)
 
1326
    ac_init_version=: ;;
 
1327
 
 
1328
  -with-* | --with-*)
 
1329
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1330
    # Reject names that are not valid shell variable names.
 
1331
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1332
      as_fn_error "invalid package name: $ac_useropt"
 
1333
    ac_useropt_orig=$ac_useropt
 
1334
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1335
    case $ac_user_opts in
 
1336
      *"
 
1337
"with_$ac_useropt"
 
1338
"*) ;;
 
1339
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1340
         ac_unrecognized_sep=', ';;
 
1341
    esac
 
1342
    eval with_$ac_useropt=\$ac_optarg ;;
 
1343
 
 
1344
  -without-* | --without-*)
 
1345
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1346
    # Reject names that are not valid shell variable names.
 
1347
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1348
      as_fn_error "invalid package name: $ac_useropt"
 
1349
    ac_useropt_orig=$ac_useropt
 
1350
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1351
    case $ac_user_opts in
 
1352
      *"
 
1353
"with_$ac_useropt"
 
1354
"*) ;;
 
1355
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1356
         ac_unrecognized_sep=', ';;
 
1357
    esac
 
1358
    eval with_$ac_useropt=no ;;
 
1359
 
 
1360
  --x)
 
1361
    # Obsolete; use --with-x.
 
1362
    with_x=yes ;;
 
1363
 
 
1364
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1365
  | --x-incl | --x-inc | --x-in | --x-i)
 
1366
    ac_prev=x_includes ;;
 
1367
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1368
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1369
    x_includes=$ac_optarg ;;
 
1370
 
 
1371
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1372
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1373
    ac_prev=x_libraries ;;
 
1374
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1375
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1376
    x_libraries=$ac_optarg ;;
 
1377
 
 
1378
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1379
Try \`$0 --help' for more information."
 
1380
    ;;
 
1381
 
 
1382
  *=*)
 
1383
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1384
    # Reject names that are not valid shell variable names.
 
1385
    case $ac_envvar in #(
 
1386
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1387
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1388
    esac
 
1389
    eval $ac_envvar=\$ac_optarg
 
1390
    export $ac_envvar ;;
 
1391
 
 
1392
  *)
 
1393
    # FIXME: should be removed in autoconf 3.0.
 
1394
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1395
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1396
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1397
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1398
    ;;
 
1399
 
 
1400
  esac
 
1401
done
 
1402
 
 
1403
if test -n "$ac_prev"; then
 
1404
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1405
  as_fn_error "missing argument to $ac_option"
 
1406
fi
 
1407
 
 
1408
if test -n "$ac_unrecognized_opts"; then
 
1409
  case $enable_option_checking in
 
1410
    no) ;;
 
1411
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1412
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1413
  esac
 
1414
fi
 
1415
 
 
1416
# Check all directory arguments for consistency.
 
1417
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1418
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1419
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1420
                libdir localedir mandir
 
1421
do
 
1422
  eval ac_val=\$$ac_var
 
1423
  # Remove trailing slashes.
 
1424
  case $ac_val in
 
1425
    */ )
 
1426
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1427
      eval $ac_var=\$ac_val;;
 
1428
  esac
 
1429
  # Be sure to have absolute directory names.
 
1430
  case $ac_val in
 
1431
    [\\/$]* | ?:[\\/]* )  continue;;
 
1432
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1433
  esac
 
1434
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1435
done
 
1436
 
 
1437
# There might be people who depend on the old broken behavior: `$host'
 
1438
# used to hold the argument of --host etc.
 
1439
# FIXME: To remove some day.
 
1440
build=$build_alias
 
1441
host=$host_alias
 
1442
target=$target_alias
 
1443
 
 
1444
# FIXME: To remove some day.
 
1445
if test "x$host_alias" != x; then
 
1446
  if test "x$build_alias" = x; then
 
1447
    cross_compiling=maybe
 
1448
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1449
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1450
  elif test "x$build_alias" != "x$host_alias"; then
 
1451
    cross_compiling=yes
 
1452
  fi
 
1453
fi
 
1454
 
 
1455
ac_tool_prefix=
 
1456
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1457
 
 
1458
test "$silent" = yes && exec 6>/dev/null
 
1459
 
 
1460
 
 
1461
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1462
ac_ls_di=`ls -di .` &&
 
1463
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1464
  as_fn_error "working directory cannot be determined"
 
1465
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1466
  as_fn_error "pwd does not report name of working directory"
 
1467
 
 
1468
 
 
1469
# Find the source files, if location was not specified.
 
1470
if test -z "$srcdir"; then
 
1471
  ac_srcdir_defaulted=yes
 
1472
  # Try the directory containing this script, then the parent directory.
 
1473
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1474
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1475
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1476
         X"$as_myself" : 'X\(//\)$' \| \
 
1477
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1478
$as_echo X"$as_myself" |
 
1479
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1480
            s//\1/
 
1481
            q
 
1482
          }
 
1483
          /^X\(\/\/\)[^/].*/{
 
1484
            s//\1/
 
1485
            q
 
1486
          }
 
1487
          /^X\(\/\/\)$/{
 
1488
            s//\1/
 
1489
            q
 
1490
          }
 
1491
          /^X\(\/\).*/{
 
1492
            s//\1/
 
1493
            q
 
1494
          }
 
1495
          s/.*/./; q'`
 
1496
  srcdir=$ac_confdir
 
1497
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1498
    srcdir=..
 
1499
  fi
 
1500
else
 
1501
  ac_srcdir_defaulted=no
 
1502
fi
 
1503
if test ! -r "$srcdir/$ac_unique_file"; then
 
1504
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1505
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1506
fi
 
1507
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1508
ac_abs_confdir=`(
 
1509
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1510
        pwd)`
 
1511
# When building in place, set srcdir=.
 
1512
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1513
  srcdir=.
 
1514
fi
 
1515
# Remove unnecessary trailing slashes from srcdir.
 
1516
# Double slashes in file names in object file debugging info
 
1517
# mess up M-x gdb in Emacs.
 
1518
case $srcdir in
 
1519
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1520
esac
 
1521
for ac_var in $ac_precious_vars; do
 
1522
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1523
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1524
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1525
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1526
done
 
1527
 
 
1528
#
 
1529
# Report the --help message.
 
1530
#
 
1531
if test "$ac_init_help" = "long"; then
 
1532
  # Omit some internal or obsolete options to make the list less imposing.
 
1533
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1534
  cat <<_ACEOF
 
1535
\`configure' configures gtkhtml 3.30.3 to adapt to many kinds of systems.
 
1536
 
 
1537
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1538
 
 
1539
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1540
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1541
 
 
1542
Defaults for the options are specified in brackets.
 
1543
 
 
1544
Configuration:
 
1545
  -h, --help              display this help and exit
 
1546
      --help=short        display options specific to this package
 
1547
      --help=recursive    display the short help of all the included packages
 
1548
  -V, --version           display version information and exit
 
1549
  -q, --quiet, --silent   do not print \`checking...' messages
 
1550
      --cache-file=FILE   cache test results in FILE [disabled]
 
1551
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1552
  -n, --no-create         do not create output files
 
1553
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1554
 
 
1555
Installation directories:
 
1556
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1557
                          [$ac_default_prefix]
 
1558
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1559
                          [PREFIX]
 
1560
 
 
1561
By default, \`make install' will install all the files in
 
1562
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1563
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1564
for instance \`--prefix=\$HOME'.
 
1565
 
 
1566
For better control, use the options below.
 
1567
 
 
1568
Fine tuning of the installation directories:
 
1569
  --bindir=DIR            user executables [EPREFIX/bin]
 
1570
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1571
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1572
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1573
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1574
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1575
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1576
  --includedir=DIR        C header files [PREFIX/include]
 
1577
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1578
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1579
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1580
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1581
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1582
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1583
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gtkhtml]
 
1584
  --htmldir=DIR           html documentation [DOCDIR]
 
1585
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1586
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1587
  --psdir=DIR             ps documentation [DOCDIR]
 
1588
_ACEOF
 
1589
 
 
1590
  cat <<\_ACEOF
 
1591
 
 
1592
Program names:
 
1593
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1594
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1595
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1596
 
 
1597
System types:
 
1598
  --build=BUILD     configure for building on BUILD [guessed]
 
1599
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1600
_ACEOF
 
1601
fi
 
1602
 
 
1603
if test -n "$ac_init_help"; then
 
1604
  case $ac_init_help in
 
1605
     short | recursive ) echo "Configuration of gtkhtml 3.30.3:";;
 
1606
   esac
 
1607
  cat <<\_ACEOF
 
1608
 
 
1609
Optional Features:
 
1610
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1611
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1612
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1613
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1614
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1615
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1616
                          (and sometimes confusing) to the casual installer
 
1617
  --disable-nls           do not use Native Language Support
 
1618
  --disable-dependency-tracking  speeds up one-time build
 
1619
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1620
  --enable-static[=PKGS]  build static libraries [default=no]
 
1621
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1622
  --enable-fast-install[=PKGS]
 
1623
                          optimize for fast installation [default=yes]
 
1624
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1625
  --enable-shlib-factory  build editor factory as shared library [default=yes]
 
1626
 
 
1627
Optional Packages:
 
1628
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1629
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1630
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1631
                          both]
 
1632
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1633
  --with-glade-catalog    install the catalog files for Glade 3 (for
 
1634
                          maintainers only) [default=no]
 
1635
 
 
1636
Some influential environment variables:
 
1637
  CC          C compiler command
 
1638
  CFLAGS      C compiler flags
 
1639
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1640
              nonstandard directory <lib dir>
 
1641
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1642
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1643
              you have headers in a nonstandard directory <include dir>
 
1644
  CPP         C preprocessor
 
1645
  CXX         C++ compiler command
 
1646
  CXXFLAGS    C++ compiler flags
 
1647
  CXXCPP      C++ preprocessor
 
1648
  PKG_CONFIG  path to pkg-config utility
 
1649
  GAIL_CFLAGS C compiler flags for GAIL, overriding pkg-config
 
1650
  GAIL_LIBS   linker flags for GAIL, overriding pkg-config
 
1651
  GTHREAD_CFLAGS
 
1652
              C compiler flags for GTHREAD, overriding pkg-config
 
1653
  GTHREAD_LIBS
 
1654
              linker flags for GTHREAD, overriding pkg-config
 
1655
  GTKHTML_CFLAGS
 
1656
              C compiler flags for GTKHTML, overriding pkg-config
 
1657
  GTKHTML_LIBS
 
1658
              linker flags for GTKHTML, overriding pkg-config
 
1659
  GLADEUI_CFLAGS
 
1660
              C compiler flags for GLADEUI, overriding pkg-config
 
1661
  GLADEUI_LIBS
 
1662
              linker flags for GLADEUI, overriding pkg-config
 
1663
  SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
 
1664
  SOUP_LIBS   linker flags for SOUP, overriding pkg-config
 
1665
  GIT_CFLAGS  C compiler flags for GIT, overriding pkg-config
 
1666
  GIT_LIBS    linker flags for GIT, overriding pkg-config
 
1667
 
 
1668
Use these variables to override the choices made by `configure' or to help
 
1669
it to find libraries and programs with nonstandard names/locations.
 
1670
 
 
1671
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml>.
 
1672
_ACEOF
 
1673
ac_status=$?
 
1674
fi
 
1675
 
 
1676
if test "$ac_init_help" = "recursive"; then
 
1677
  # If there are subdirs, report their specific --help.
 
1678
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1679
    test -d "$ac_dir" ||
 
1680
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1681
      continue
 
1682
    ac_builddir=.
 
1683
 
 
1684
case "$ac_dir" in
 
1685
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1686
*)
 
1687
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1688
  # A ".." for each directory in $ac_dir_suffix.
 
1689
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1690
  case $ac_top_builddir_sub in
 
1691
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1692
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1693
  esac ;;
 
1694
esac
 
1695
ac_abs_top_builddir=$ac_pwd
 
1696
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1697
# for backward compatibility:
 
1698
ac_top_builddir=$ac_top_build_prefix
 
1699
 
 
1700
case $srcdir in
 
1701
  .)  # We are building in place.
 
1702
    ac_srcdir=.
 
1703
    ac_top_srcdir=$ac_top_builddir_sub
 
1704
    ac_abs_top_srcdir=$ac_pwd ;;
 
1705
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1706
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1707
    ac_top_srcdir=$srcdir
 
1708
    ac_abs_top_srcdir=$srcdir ;;
 
1709
  *) # Relative name.
 
1710
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1711
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1712
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1713
esac
 
1714
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1715
 
 
1716
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1717
    # Check for guested configure.
 
1718
    if test -f "$ac_srcdir/configure.gnu"; then
 
1719
      echo &&
 
1720
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1721
    elif test -f "$ac_srcdir/configure"; then
 
1722
      echo &&
 
1723
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1724
    else
 
1725
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1726
    fi || ac_status=$?
 
1727
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1728
  done
 
1729
fi
 
1730
 
 
1731
test -n "$ac_init_help" && exit $ac_status
 
1732
if $ac_init_version; then
 
1733
  cat <<\_ACEOF
 
1734
gtkhtml configure 3.30.3
 
1735
generated by GNU Autoconf 2.65
 
1736
 
 
1737
Copyright (C) 2009 Free Software Foundation, Inc.
 
1738
This configure script is free software; the Free Software Foundation
 
1739
gives unlimited permission to copy, distribute and modify it.
 
1740
_ACEOF
 
1741
  exit
 
1742
fi
 
1743
 
 
1744
## ------------------------ ##
 
1745
## Autoconf initialization. ##
 
1746
## ------------------------ ##
 
1747
 
 
1748
# ac_fn_c_try_compile LINENO
 
1749
# --------------------------
 
1750
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1751
ac_fn_c_try_compile ()
 
1752
{
 
1753
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1754
  rm -f conftest.$ac_objext
 
1755
  if { { ac_try="$ac_compile"
 
1756
case "(($ac_try" in
 
1757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1758
  *) ac_try_echo=$ac_try;;
 
1759
esac
 
1760
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1761
$as_echo "$ac_try_echo"; } >&5
 
1762
  (eval "$ac_compile") 2>conftest.err
 
1763
  ac_status=$?
 
1764
  if test -s conftest.err; then
 
1765
    grep -v '^ *+' conftest.err >conftest.er1
 
1766
    cat conftest.er1 >&5
 
1767
    mv -f conftest.er1 conftest.err
 
1768
  fi
 
1769
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1770
  test $ac_status = 0; } && {
 
1771
         test -z "$ac_c_werror_flag" ||
 
1772
         test ! -s conftest.err
 
1773
       } && test -s conftest.$ac_objext; then :
 
1774
  ac_retval=0
 
1775
else
 
1776
  $as_echo "$as_me: failed program was:" >&5
 
1777
sed 's/^/| /' conftest.$ac_ext >&5
 
1778
 
 
1779
        ac_retval=1
 
1780
fi
 
1781
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1782
  as_fn_set_status $ac_retval
 
1783
 
 
1784
} # ac_fn_c_try_compile
 
1785
 
 
1786
# ac_fn_c_try_link LINENO
 
1787
# -----------------------
 
1788
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1789
ac_fn_c_try_link ()
 
1790
{
 
1791
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1792
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1793
  if { { ac_try="$ac_link"
 
1794
case "(($ac_try" in
 
1795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1796
  *) ac_try_echo=$ac_try;;
 
1797
esac
 
1798
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1799
$as_echo "$ac_try_echo"; } >&5
 
1800
  (eval "$ac_link") 2>conftest.err
 
1801
  ac_status=$?
 
1802
  if test -s conftest.err; then
 
1803
    grep -v '^ *+' conftest.err >conftest.er1
 
1804
    cat conftest.er1 >&5
 
1805
    mv -f conftest.er1 conftest.err
 
1806
  fi
 
1807
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1808
  test $ac_status = 0; } && {
 
1809
         test -z "$ac_c_werror_flag" ||
 
1810
         test ! -s conftest.err
 
1811
       } && test -s conftest$ac_exeext && {
 
1812
         test "$cross_compiling" = yes ||
 
1813
         $as_test_x conftest$ac_exeext
 
1814
       }; then :
 
1815
  ac_retval=0
 
1816
else
 
1817
  $as_echo "$as_me: failed program was:" >&5
 
1818
sed 's/^/| /' conftest.$ac_ext >&5
 
1819
 
 
1820
        ac_retval=1
 
1821
fi
 
1822
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1823
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1824
  # interfere with the next link command; also delete a directory that is
 
1825
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1826
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1827
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1828
  as_fn_set_status $ac_retval
 
1829
 
 
1830
} # ac_fn_c_try_link
 
1831
 
 
1832
# ac_fn_c_check_func LINENO FUNC VAR
 
1833
# ----------------------------------
 
1834
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1835
ac_fn_c_check_func ()
 
1836
{
 
1837
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1838
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1839
$as_echo_n "checking for $2... " >&6; }
 
1840
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1841
  $as_echo_n "(cached) " >&6
 
1842
else
 
1843
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1844
/* end confdefs.h.  */
 
1845
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1846
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1847
#define $2 innocuous_$2
 
1848
 
 
1849
/* System header to define __stub macros and hopefully few prototypes,
 
1850
    which can conflict with char $2 (); below.
 
1851
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1852
    <limits.h> exists even on freestanding compilers.  */
 
1853
 
 
1854
#ifdef __STDC__
 
1855
# include <limits.h>
 
1856
#else
 
1857
# include <assert.h>
 
1858
#endif
 
1859
 
 
1860
#undef $2
 
1861
 
 
1862
/* Override any GCC internal prototype to avoid an error.
 
1863
   Use char because int might match the return type of a GCC
 
1864
   builtin and then its argument prototype would still apply.  */
 
1865
#ifdef __cplusplus
 
1866
extern "C"
 
1867
#endif
 
1868
char $2 ();
 
1869
/* The GNU C library defines this for functions which it implements
 
1870
    to always fail with ENOSYS.  Some functions are actually named
 
1871
    something starting with __ and the normal name is an alias.  */
 
1872
#if defined __stub_$2 || defined __stub___$2
 
1873
choke me
 
1874
#endif
 
1875
 
 
1876
int
 
1877
main ()
 
1878
{
 
1879
return $2 ();
 
1880
  ;
 
1881
  return 0;
 
1882
}
 
1883
_ACEOF
 
1884
if ac_fn_c_try_link "$LINENO"; then :
 
1885
  eval "$3=yes"
 
1886
else
 
1887
  eval "$3=no"
 
1888
fi
 
1889
rm -f core conftest.err conftest.$ac_objext \
 
1890
    conftest$ac_exeext conftest.$ac_ext
 
1891
fi
 
1892
eval ac_res=\$$3
 
1893
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1894
$as_echo "$ac_res" >&6; }
 
1895
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1896
 
 
1897
} # ac_fn_c_check_func
 
1898
 
 
1899
# ac_fn_c_try_cpp LINENO
 
1900
# ----------------------
 
1901
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1902
ac_fn_c_try_cpp ()
 
1903
{
 
1904
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1905
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1906
case "(($ac_try" in
 
1907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1908
  *) ac_try_echo=$ac_try;;
 
1909
esac
 
1910
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1911
$as_echo "$ac_try_echo"; } >&5
 
1912
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1913
  ac_status=$?
 
1914
  if test -s conftest.err; then
 
1915
    grep -v '^ *+' conftest.err >conftest.er1
 
1916
    cat conftest.er1 >&5
 
1917
    mv -f conftest.er1 conftest.err
 
1918
  fi
 
1919
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1920
  test $ac_status = 0; } >/dev/null && {
 
1921
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1922
         test ! -s conftest.err
 
1923
       }; then :
 
1924
  ac_retval=0
 
1925
else
 
1926
  $as_echo "$as_me: failed program was:" >&5
 
1927
sed 's/^/| /' conftest.$ac_ext >&5
 
1928
 
 
1929
    ac_retval=1
 
1930
fi
 
1931
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1932
  as_fn_set_status $ac_retval
 
1933
 
 
1934
} # ac_fn_c_try_cpp
 
1935
 
 
1936
# ac_fn_c_try_run LINENO
 
1937
# ----------------------
 
1938
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1939
# that executables *can* be run.
 
1940
ac_fn_c_try_run ()
 
1941
{
 
1942
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1943
  if { { ac_try="$ac_link"
 
1944
case "(($ac_try" in
 
1945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1946
  *) ac_try_echo=$ac_try;;
 
1947
esac
 
1948
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1949
$as_echo "$ac_try_echo"; } >&5
 
1950
  (eval "$ac_link") 2>&5
 
1951
  ac_status=$?
 
1952
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1953
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1954
  { { case "(($ac_try" in
 
1955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1956
  *) ac_try_echo=$ac_try;;
 
1957
esac
 
1958
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1959
$as_echo "$ac_try_echo"; } >&5
 
1960
  (eval "$ac_try") 2>&5
 
1961
  ac_status=$?
 
1962
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1963
  test $ac_status = 0; }; }; then :
 
1964
  ac_retval=0
 
1965
else
 
1966
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1967
       $as_echo "$as_me: failed program was:" >&5
 
1968
sed 's/^/| /' conftest.$ac_ext >&5
 
1969
 
 
1970
       ac_retval=$ac_status
 
1971
fi
 
1972
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1973
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1974
  as_fn_set_status $ac_retval
 
1975
 
 
1976
} # ac_fn_c_try_run
 
1977
 
 
1978
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1979
# -------------------------------------------------------
 
1980
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1981
# the include files in INCLUDES and setting the cache variable VAR
 
1982
# accordingly.
 
1983
ac_fn_c_check_header_mongrel ()
 
1984
{
 
1985
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1986
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1987
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1988
$as_echo_n "checking for $2... " >&6; }
 
1989
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1990
  $as_echo_n "(cached) " >&6
 
1991
fi
 
1992
eval ac_res=\$$3
 
1993
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1994
$as_echo "$ac_res" >&6; }
 
1995
else
 
1996
  # Is the header compilable?
 
1997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1998
$as_echo_n "checking $2 usability... " >&6; }
 
1999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2000
/* end confdefs.h.  */
 
2001
$4
 
2002
#include <$2>
 
2003
_ACEOF
 
2004
if ac_fn_c_try_compile "$LINENO"; then :
 
2005
  ac_header_compiler=yes
 
2006
else
 
2007
  ac_header_compiler=no
 
2008
fi
 
2009
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2011
$as_echo "$ac_header_compiler" >&6; }
 
2012
 
 
2013
# Is the header present?
 
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2015
$as_echo_n "checking $2 presence... " >&6; }
 
2016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2017
/* end confdefs.h.  */
 
2018
#include <$2>
 
2019
_ACEOF
 
2020
if ac_fn_c_try_cpp "$LINENO"; then :
 
2021
  ac_header_preproc=yes
 
2022
else
 
2023
  ac_header_preproc=no
 
2024
fi
 
2025
rm -f conftest.err conftest.$ac_ext
 
2026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2027
$as_echo "$ac_header_preproc" >&6; }
 
2028
 
 
2029
# So?  What about this header?
 
2030
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2031
  yes:no: )
 
2032
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2033
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2034
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2035
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2036
    ;;
 
2037
  no:yes:* )
 
2038
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2039
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2040
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2041
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2042
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2043
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2044
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2045
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2046
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2047
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2048
( cat <<\_ASBOX
 
2049
## ---------------------------------------------------------------------- ##
 
2050
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
 
2051
## ---------------------------------------------------------------------- ##
 
2052
_ASBOX
 
2053
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2054
    ;;
 
2055
esac
 
2056
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2057
$as_echo_n "checking for $2... " >&6; }
 
2058
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2059
  $as_echo_n "(cached) " >&6
 
2060
else
 
2061
  eval "$3=\$ac_header_compiler"
 
2062
fi
 
2063
eval ac_res=\$$3
 
2064
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2065
$as_echo "$ac_res" >&6; }
 
2066
fi
 
2067
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2068
 
 
2069
} # ac_fn_c_check_header_mongrel
 
2070
 
 
2071
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
2072
# -------------------------------------------------------
 
2073
# Tests whether HEADER exists and can be compiled using the include files in
 
2074
# INCLUDES, setting the cache variable VAR accordingly.
 
2075
ac_fn_c_check_header_compile ()
 
2076
{
 
2077
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2078
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2079
$as_echo_n "checking for $2... " >&6; }
 
2080
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2081
  $as_echo_n "(cached) " >&6
 
2082
else
 
2083
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2084
/* end confdefs.h.  */
 
2085
$4
 
2086
#include <$2>
 
2087
_ACEOF
 
2088
if ac_fn_c_try_compile "$LINENO"; then :
 
2089
  eval "$3=yes"
 
2090
else
 
2091
  eval "$3=no"
 
2092
fi
 
2093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2094
fi
 
2095
eval ac_res=\$$3
 
2096
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2097
$as_echo "$ac_res" >&6; }
 
2098
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2099
 
 
2100
} # ac_fn_c_check_header_compile
 
2101
 
 
2102
# ac_fn_cxx_try_compile LINENO
 
2103
# ----------------------------
 
2104
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
2105
ac_fn_cxx_try_compile ()
 
2106
{
 
2107
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2108
  rm -f conftest.$ac_objext
 
2109
  if { { ac_try="$ac_compile"
 
2110
case "(($ac_try" in
 
2111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2112
  *) ac_try_echo=$ac_try;;
 
2113
esac
 
2114
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2115
$as_echo "$ac_try_echo"; } >&5
 
2116
  (eval "$ac_compile") 2>conftest.err
 
2117
  ac_status=$?
 
2118
  if test -s conftest.err; then
 
2119
    grep -v '^ *+' conftest.err >conftest.er1
 
2120
    cat conftest.er1 >&5
 
2121
    mv -f conftest.er1 conftest.err
 
2122
  fi
 
2123
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2124
  test $ac_status = 0; } && {
 
2125
         test -z "$ac_cxx_werror_flag" ||
 
2126
         test ! -s conftest.err
 
2127
       } && test -s conftest.$ac_objext; then :
 
2128
  ac_retval=0
 
2129
else
 
2130
  $as_echo "$as_me: failed program was:" >&5
 
2131
sed 's/^/| /' conftest.$ac_ext >&5
 
2132
 
 
2133
        ac_retval=1
 
2134
fi
 
2135
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2136
  as_fn_set_status $ac_retval
 
2137
 
 
2138
} # ac_fn_cxx_try_compile
 
2139
 
 
2140
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2141
# -------------------------------------------
 
2142
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2143
# variable VAR accordingly.
 
2144
ac_fn_c_check_type ()
 
2145
{
 
2146
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2147
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2148
$as_echo_n "checking for $2... " >&6; }
 
2149
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2150
  $as_echo_n "(cached) " >&6
 
2151
else
 
2152
  eval "$3=no"
 
2153
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2154
/* end confdefs.h.  */
 
2155
$4
 
2156
int
 
2157
main ()
 
2158
{
 
2159
if (sizeof ($2))
 
2160
         return 0;
 
2161
  ;
 
2162
  return 0;
 
2163
}
 
2164
_ACEOF
 
2165
if ac_fn_c_try_compile "$LINENO"; then :
 
2166
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2167
/* end confdefs.h.  */
 
2168
$4
 
2169
int
 
2170
main ()
 
2171
{
 
2172
if (sizeof (($2)))
 
2173
            return 0;
 
2174
  ;
 
2175
  return 0;
 
2176
}
 
2177
_ACEOF
 
2178
if ac_fn_c_try_compile "$LINENO"; then :
 
2179
 
 
2180
else
 
2181
  eval "$3=yes"
 
2182
fi
 
2183
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2184
fi
 
2185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2186
fi
 
2187
eval ac_res=\$$3
 
2188
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2189
$as_echo "$ac_res" >&6; }
 
2190
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2191
 
 
2192
} # ac_fn_c_check_type
 
2193
 
 
2194
# ac_fn_cxx_try_cpp LINENO
 
2195
# ------------------------
 
2196
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2197
ac_fn_cxx_try_cpp ()
 
2198
{
 
2199
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2200
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2201
case "(($ac_try" in
 
2202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2203
  *) ac_try_echo=$ac_try;;
 
2204
esac
 
2205
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2206
$as_echo "$ac_try_echo"; } >&5
 
2207
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2208
  ac_status=$?
 
2209
  if test -s conftest.err; then
 
2210
    grep -v '^ *+' conftest.err >conftest.er1
 
2211
    cat conftest.er1 >&5
 
2212
    mv -f conftest.er1 conftest.err
 
2213
  fi
 
2214
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2215
  test $ac_status = 0; } >/dev/null && {
 
2216
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2217
         test ! -s conftest.err
 
2218
       }; then :
 
2219
  ac_retval=0
 
2220
else
 
2221
  $as_echo "$as_me: failed program was:" >&5
 
2222
sed 's/^/| /' conftest.$ac_ext >&5
 
2223
 
 
2224
    ac_retval=1
 
2225
fi
 
2226
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2227
  as_fn_set_status $ac_retval
 
2228
 
 
2229
} # ac_fn_cxx_try_cpp
 
2230
 
 
2231
# ac_fn_cxx_try_link LINENO
 
2232
# -------------------------
 
2233
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2234
ac_fn_cxx_try_link ()
 
2235
{
 
2236
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2237
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2238
  if { { ac_try="$ac_link"
 
2239
case "(($ac_try" in
 
2240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2241
  *) ac_try_echo=$ac_try;;
 
2242
esac
 
2243
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2244
$as_echo "$ac_try_echo"; } >&5
 
2245
  (eval "$ac_link") 2>conftest.err
 
2246
  ac_status=$?
 
2247
  if test -s conftest.err; then
 
2248
    grep -v '^ *+' conftest.err >conftest.er1
 
2249
    cat conftest.er1 >&5
 
2250
    mv -f conftest.er1 conftest.err
 
2251
  fi
 
2252
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2253
  test $ac_status = 0; } && {
 
2254
         test -z "$ac_cxx_werror_flag" ||
 
2255
         test ! -s conftest.err
 
2256
       } && test -s conftest$ac_exeext && {
 
2257
         test "$cross_compiling" = yes ||
 
2258
         $as_test_x conftest$ac_exeext
 
2259
       }; then :
 
2260
  ac_retval=0
 
2261
else
 
2262
  $as_echo "$as_me: failed program was:" >&5
 
2263
sed 's/^/| /' conftest.$ac_ext >&5
 
2264
 
 
2265
        ac_retval=1
 
2266
fi
 
2267
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2268
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2269
  # interfere with the next link command; also delete a directory that is
 
2270
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2271
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2272
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2273
  as_fn_set_status $ac_retval
 
2274
 
 
2275
} # ac_fn_cxx_try_link
 
2276
cat >config.log <<_ACEOF
 
2277
This file contains any messages produced by compilers while
 
2278
running configure, to aid debugging if configure makes a mistake.
 
2279
 
 
2280
It was created by gtkhtml $as_me 3.30.3, which was
 
2281
generated by GNU Autoconf 2.65.  Invocation command line was
 
2282
 
 
2283
  $ $0 $@
 
2284
 
 
2285
_ACEOF
 
2286
exec 5>>config.log
 
2287
{
 
2288
cat <<_ASUNAME
 
2289
## --------- ##
 
2290
## Platform. ##
 
2291
## --------- ##
 
2292
 
 
2293
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2294
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2295
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2296
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2297
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2298
 
 
2299
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2300
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2301
 
 
2302
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2303
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2304
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2305
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2306
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2307
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2308
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2309
 
 
2310
_ASUNAME
 
2311
 
 
2312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2313
for as_dir in $PATH
 
2314
do
 
2315
  IFS=$as_save_IFS
 
2316
  test -z "$as_dir" && as_dir=.
 
2317
    $as_echo "PATH: $as_dir"
 
2318
  done
 
2319
IFS=$as_save_IFS
 
2320
 
 
2321
} >&5
 
2322
 
 
2323
cat >&5 <<_ACEOF
 
2324
 
 
2325
 
 
2326
## ----------- ##
 
2327
## Core tests. ##
 
2328
## ----------- ##
 
2329
 
 
2330
_ACEOF
 
2331
 
 
2332
 
 
2333
# Keep a trace of the command line.
 
2334
# Strip out --no-create and --no-recursion so they do not pile up.
 
2335
# Strip out --silent because we don't want to record it for future runs.
 
2336
# Also quote any args containing shell meta-characters.
 
2337
# Make two passes to allow for proper duplicate-argument suppression.
 
2338
ac_configure_args=
 
2339
ac_configure_args0=
 
2340
ac_configure_args1=
 
2341
ac_must_keep_next=false
 
2342
for ac_pass in 1 2
 
2343
do
 
2344
  for ac_arg
 
2345
  do
 
2346
    case $ac_arg in
 
2347
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2348
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2349
    | -silent | --silent | --silen | --sile | --sil)
 
2350
      continue ;;
 
2351
    *\'*)
 
2352
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2353
    esac
 
2354
    case $ac_pass in
 
2355
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2356
    2)
 
2357
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2358
      if test $ac_must_keep_next = true; then
 
2359
        ac_must_keep_next=false # Got value, back to normal.
 
2360
      else
 
2361
        case $ac_arg in
 
2362
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2363
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2364
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2365
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2366
            case "$ac_configure_args0 " in
 
2367
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2368
            esac
 
2369
            ;;
 
2370
          -* ) ac_must_keep_next=true ;;
 
2371
        esac
 
2372
      fi
 
2373
      as_fn_append ac_configure_args " '$ac_arg'"
 
2374
      ;;
 
2375
    esac
 
2376
  done
 
2377
done
 
2378
{ ac_configure_args0=; unset ac_configure_args0;}
 
2379
{ ac_configure_args1=; unset ac_configure_args1;}
 
2380
 
 
2381
# When interrupted or exit'd, cleanup temporary files, and complete
 
2382
# config.log.  We remove comments because anyway the quotes in there
 
2383
# would cause problems or look ugly.
 
2384
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2385
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2386
trap 'exit_status=$?
 
2387
  # Save into config.log some information that might help in debugging.
 
2388
  {
 
2389
    echo
 
2390
 
 
2391
    cat <<\_ASBOX
 
2392
## ---------------- ##
 
2393
## Cache variables. ##
 
2394
## ---------------- ##
 
2395
_ASBOX
 
2396
    echo
 
2397
    # The following way of writing the cache mishandles newlines in values,
 
2398
(
 
2399
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2400
    eval ac_val=\$$ac_var
 
2401
    case $ac_val in #(
 
2402
    *${as_nl}*)
 
2403
      case $ac_var in #(
 
2404
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2405
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2406
      esac
 
2407
      case $ac_var in #(
 
2408
      _ | IFS | as_nl) ;; #(
 
2409
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2410
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2411
      esac ;;
 
2412
    esac
 
2413
  done
 
2414
  (set) 2>&1 |
 
2415
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2416
    *${as_nl}ac_space=\ *)
 
2417
      sed -n \
 
2418
        "s/'\''/'\''\\\\'\'''\''/g;
 
2419
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2420
      ;; #(
 
2421
    *)
 
2422
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2423
      ;;
 
2424
    esac |
 
2425
    sort
 
2426
)
 
2427
    echo
 
2428
 
 
2429
    cat <<\_ASBOX
 
2430
## ----------------- ##
 
2431
## Output variables. ##
 
2432
## ----------------- ##
 
2433
_ASBOX
 
2434
    echo
 
2435
    for ac_var in $ac_subst_vars
 
2436
    do
 
2437
      eval ac_val=\$$ac_var
 
2438
      case $ac_val in
 
2439
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2440
      esac
 
2441
      $as_echo "$ac_var='\''$ac_val'\''"
 
2442
    done | sort
 
2443
    echo
 
2444
 
 
2445
    if test -n "$ac_subst_files"; then
 
2446
      cat <<\_ASBOX
 
2447
## ------------------- ##
 
2448
## File substitutions. ##
 
2449
## ------------------- ##
 
2450
_ASBOX
 
2451
      echo
 
2452
      for ac_var in $ac_subst_files
 
2453
      do
 
2454
        eval ac_val=\$$ac_var
 
2455
        case $ac_val in
 
2456
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2457
        esac
 
2458
        $as_echo "$ac_var='\''$ac_val'\''"
 
2459
      done | sort
 
2460
      echo
 
2461
    fi
 
2462
 
 
2463
    if test -s confdefs.h; then
 
2464
      cat <<\_ASBOX
 
2465
## ----------- ##
 
2466
## confdefs.h. ##
 
2467
## ----------- ##
 
2468
_ASBOX
 
2469
      echo
 
2470
      cat confdefs.h
 
2471
      echo
 
2472
    fi
 
2473
    test "$ac_signal" != 0 &&
 
2474
      $as_echo "$as_me: caught signal $ac_signal"
 
2475
    $as_echo "$as_me: exit $exit_status"
 
2476
  } >&5
 
2477
  rm -f core *.core core.conftest.* &&
 
2478
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2479
    exit $exit_status
 
2480
' 0
 
2481
for ac_signal in 1 2 13 15; do
 
2482
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2483
done
 
2484
ac_signal=0
 
2485
 
 
2486
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2487
rm -f -r conftest* confdefs.h
 
2488
 
 
2489
$as_echo "/* confdefs.h */" > confdefs.h
 
2490
 
 
2491
# Predefined preprocessor variables.
 
2492
 
 
2493
cat >>confdefs.h <<_ACEOF
 
2494
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2495
_ACEOF
 
2496
 
 
2497
cat >>confdefs.h <<_ACEOF
 
2498
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2499
_ACEOF
 
2500
 
 
2501
cat >>confdefs.h <<_ACEOF
 
2502
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2503
_ACEOF
 
2504
 
 
2505
cat >>confdefs.h <<_ACEOF
 
2506
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2507
_ACEOF
 
2508
 
 
2509
cat >>confdefs.h <<_ACEOF
 
2510
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2511
_ACEOF
 
2512
 
 
2513
cat >>confdefs.h <<_ACEOF
 
2514
#define PACKAGE_URL "$PACKAGE_URL"
 
2515
_ACEOF
 
2516
 
 
2517
 
 
2518
# Let the site file select an alternate cache file if it wants to.
 
2519
# Prefer an explicitly selected file to automatically selected ones.
 
2520
ac_site_file1=NONE
 
2521
ac_site_file2=NONE
 
2522
if test -n "$CONFIG_SITE"; then
 
2523
  ac_site_file1=$CONFIG_SITE
 
2524
elif test "x$prefix" != xNONE; then
 
2525
  ac_site_file1=$prefix/share/config.site
 
2526
  ac_site_file2=$prefix/etc/config.site
 
2527
else
 
2528
  ac_site_file1=$ac_default_prefix/share/config.site
 
2529
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2530
fi
 
2531
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2532
do
 
2533
  test "x$ac_site_file" = xNONE && continue
 
2534
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2535
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2536
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2537
    sed 's/^/| /' "$ac_site_file" >&5
 
2538
    . "$ac_site_file"
 
2539
  fi
 
2540
done
 
2541
 
 
2542
if test -r "$cache_file"; then
 
2543
  # Some versions of bash will fail to source /dev/null (special files
 
2544
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2545
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2546
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2547
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2548
    case $cache_file in
 
2549
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2550
      *)                      . "./$cache_file";;
 
2551
    esac
 
2552
  fi
 
2553
else
 
2554
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2555
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2556
  >$cache_file
 
2557
fi
 
2558
 
 
2559
# Check that the precious variables saved in the cache have kept the same
 
2560
# value.
 
2561
ac_cache_corrupted=false
 
2562
for ac_var in $ac_precious_vars; do
 
2563
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2564
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2565
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2566
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2567
  case $ac_old_set,$ac_new_set in
 
2568
    set,)
 
2569
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2570
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2571
      ac_cache_corrupted=: ;;
 
2572
    ,set)
 
2573
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2574
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2575
      ac_cache_corrupted=: ;;
 
2576
    ,);;
 
2577
    *)
 
2578
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2579
        # differences in whitespace do not lead to failure.
 
2580
        ac_old_val_w=`echo x $ac_old_val`
 
2581
        ac_new_val_w=`echo x $ac_new_val`
 
2582
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2583
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2584
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2585
          ac_cache_corrupted=:
 
2586
        else
 
2587
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2588
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2589
          eval $ac_var=\$ac_old_val
 
2590
        fi
 
2591
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2592
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2593
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2594
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2595
      fi;;
 
2596
  esac
 
2597
  # Pass precious variables to config.status.
 
2598
  if test "$ac_new_set" = set; then
 
2599
    case $ac_new_val in
 
2600
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2601
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2602
    esac
 
2603
    case " $ac_configure_args " in
 
2604
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2605
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2606
    esac
 
2607
  fi
 
2608
done
 
2609
if $ac_cache_corrupted; then
 
2610
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2611
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2612
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2613
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2614
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2615
fi
 
2616
## -------------------- ##
 
2617
## Main body of script. ##
 
2618
## -------------------- ##
 
2619
 
 
2620
ac_ext=c
 
2621
ac_cpp='$CPP $CPPFLAGS'
 
2622
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2623
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2624
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2625
 
 
2626
 
 
2627
am__api_version='1.11'
 
2628
 
 
2629
ac_aux_dir=
 
2630
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2631
  for ac_t in install-sh install.sh shtool; do
 
2632
    if test -f "$ac_dir/$ac_t"; then
 
2633
      ac_aux_dir=$ac_dir
 
2634
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2635
      break 2
 
2636
    fi
 
2637
  done
 
2638
done
 
2639
if test -z "$ac_aux_dir"; then
 
2640
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2641
fi
 
2642
 
 
2643
# These three variables are undocumented and unsupported,
 
2644
# and are intended to be withdrawn in a future Autoconf release.
 
2645
# They can cause serious problems if a builder's source tree is in a directory
 
2646
# whose full name contains unusual characters.
 
2647
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2648
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2649
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2650
 
 
2651
 
 
2652
# Find a good install program.  We prefer a C program (faster),
 
2653
# so one script is as good as another.  But avoid the broken or
 
2654
# incompatible versions:
 
2655
# SysV /etc/install, /usr/sbin/install
 
2656
# SunOS /usr/etc/install
 
2657
# IRIX /sbin/install
 
2658
# AIX /bin/install
 
2659
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2660
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2661
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2662
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2663
# OS/2's system install, which has a completely different semantic
 
2664
# ./install, which can be erroneously created by make from ./install.sh.
 
2665
# Reject install programs that cannot install multiple files.
 
2666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2667
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2668
if test -z "$INSTALL"; then
 
2669
if test "${ac_cv_path_install+set}" = set; then :
 
2670
  $as_echo_n "(cached) " >&6
 
2671
else
 
2672
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2673
for as_dir in $PATH
 
2674
do
 
2675
  IFS=$as_save_IFS
 
2676
  test -z "$as_dir" && as_dir=.
 
2677
    # Account for people who put trailing slashes in PATH elements.
 
2678
case $as_dir/ in #((
 
2679
  ./ | .// | /[cC]/* | \
 
2680
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2681
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2682
  /usr/ucb/* ) ;;
 
2683
  *)
 
2684
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2685
    # Don't use installbsd from OSF since it installs stuff as root
 
2686
    # by default.
 
2687
    for ac_prog in ginstall scoinst install; do
 
2688
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2689
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2690
          if test $ac_prog = install &&
 
2691
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2692
            # AIX install.  It has an incompatible calling convention.
 
2693
            :
 
2694
          elif test $ac_prog = install &&
 
2695
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2696
            # program-specific install script used by HP pwplus--don't use.
 
2697
            :
 
2698
          else
 
2699
            rm -rf conftest.one conftest.two conftest.dir
 
2700
            echo one > conftest.one
 
2701
            echo two > conftest.two
 
2702
            mkdir conftest.dir
 
2703
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2704
              test -s conftest.one && test -s conftest.two &&
 
2705
              test -s conftest.dir/conftest.one &&
 
2706
              test -s conftest.dir/conftest.two
 
2707
            then
 
2708
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2709
              break 3
 
2710
            fi
 
2711
          fi
 
2712
        fi
 
2713
      done
 
2714
    done
 
2715
    ;;
 
2716
esac
 
2717
 
 
2718
  done
 
2719
IFS=$as_save_IFS
 
2720
 
 
2721
rm -rf conftest.one conftest.two conftest.dir
 
2722
 
 
2723
fi
 
2724
  if test "${ac_cv_path_install+set}" = set; then
 
2725
    INSTALL=$ac_cv_path_install
 
2726
  else
 
2727
    # As a last resort, use the slow shell script.  Don't cache a
 
2728
    # value for INSTALL within a source directory, because that will
 
2729
    # break other packages using the cache if that directory is
 
2730
    # removed, or if the value is a relative name.
 
2731
    INSTALL=$ac_install_sh
 
2732
  fi
 
2733
fi
 
2734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2735
$as_echo "$INSTALL" >&6; }
 
2736
 
 
2737
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2738
# It thinks the first close brace ends the variable substitution.
 
2739
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2740
 
 
2741
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2742
 
 
2743
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2744
 
 
2745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2746
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2747
# Just in case
 
2748
sleep 1
 
2749
echo timestamp > conftest.file
 
2750
# Reject unsafe characters in $srcdir or the absolute working directory
 
2751
# name.  Accept space and tab only in the latter.
 
2752
am_lf='
 
2753
'
 
2754
case `pwd` in
 
2755
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2756
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2757
esac
 
2758
case $srcdir in
 
2759
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2760
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2761
esac
 
2762
 
 
2763
# Do `set' in a subshell so we don't clobber the current shell's
 
2764
# arguments.  Must try -L first in case configure is actually a
 
2765
# symlink; some systems play weird games with the mod time of symlinks
 
2766
# (eg FreeBSD returns the mod time of the symlink's containing
 
2767
# directory).
 
2768
if (
 
2769
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2770
   if test "$*" = "X"; then
 
2771
      # -L didn't work.
 
2772
      set X `ls -t "$srcdir/configure" conftest.file`
 
2773
   fi
 
2774
   rm -f conftest.file
 
2775
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2776
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2777
 
 
2778
      # If neither matched, then we have a broken ls.  This can happen
 
2779
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2780
      # broken ls alias from the environment.  This has actually
 
2781
      # happened.  Such a system could not be considered "sane".
 
2782
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2783
alias in your environment" "$LINENO" 5
 
2784
   fi
 
2785
 
 
2786
   test "$2" = conftest.file
 
2787
   )
 
2788
then
 
2789
   # Ok.
 
2790
   :
 
2791
else
 
2792
   as_fn_error "newly created file is older than distributed files!
 
2793
Check your system clock" "$LINENO" 5
 
2794
fi
 
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2796
$as_echo "yes" >&6; }
 
2797
test "$program_prefix" != NONE &&
 
2798
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2799
# Use a double $ so make ignores it.
 
2800
test "$program_suffix" != NONE &&
 
2801
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2802
# Double any \ or $.
 
2803
# By default was `s,x,x', remove it if useless.
 
2804
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2805
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2806
 
 
2807
# expand $ac_aux_dir to an absolute path
 
2808
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2809
 
 
2810
if test x"${MISSING+set}" != xset; then
 
2811
  case $am_aux_dir in
 
2812
  *\ * | *\     *)
 
2813
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2814
  *)
 
2815
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2816
  esac
 
2817
fi
 
2818
# Use eval to expand $SHELL
 
2819
if eval "$MISSING --run true"; then
 
2820
  am_missing_run="$MISSING --run "
 
2821
else
 
2822
  am_missing_run=
 
2823
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2824
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2825
fi
 
2826
 
 
2827
if test x"${install_sh}" != xset; then
 
2828
  case $am_aux_dir in
 
2829
  *\ * | *\     *)
 
2830
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2831
  *)
 
2832
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2833
  esac
 
2834
fi
 
2835
 
 
2836
# Installed binaries are usually stripped using `strip' when the user
 
2837
# run `make install-strip'.  However `strip' might not be the right
 
2838
# tool to use in cross-compilation environments, therefore Automake
 
2839
# will honor the `STRIP' environment variable to overrule this program.
 
2840
if test "$cross_compiling" != no; then
 
2841
  if test -n "$ac_tool_prefix"; then
 
2842
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2843
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2845
$as_echo_n "checking for $ac_word... " >&6; }
 
2846
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2847
  $as_echo_n "(cached) " >&6
 
2848
else
 
2849
  if test -n "$STRIP"; then
 
2850
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2851
else
 
2852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2853
for as_dir in $PATH
 
2854
do
 
2855
  IFS=$as_save_IFS
 
2856
  test -z "$as_dir" && as_dir=.
 
2857
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2858
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2859
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2860
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2861
    break 2
 
2862
  fi
 
2863
done
 
2864
  done
 
2865
IFS=$as_save_IFS
 
2866
 
 
2867
fi
 
2868
fi
 
2869
STRIP=$ac_cv_prog_STRIP
 
2870
if test -n "$STRIP"; then
 
2871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2872
$as_echo "$STRIP" >&6; }
 
2873
else
 
2874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2875
$as_echo "no" >&6; }
 
2876
fi
 
2877
 
 
2878
 
 
2879
fi
 
2880
if test -z "$ac_cv_prog_STRIP"; then
 
2881
  ac_ct_STRIP=$STRIP
 
2882
  # Extract the first word of "strip", so it can be a program name with args.
 
2883
set dummy strip; ac_word=$2
 
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2885
$as_echo_n "checking for $ac_word... " >&6; }
 
2886
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2887
  $as_echo_n "(cached) " >&6
 
2888
else
 
2889
  if test -n "$ac_ct_STRIP"; then
 
2890
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2891
else
 
2892
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2893
for as_dir in $PATH
 
2894
do
 
2895
  IFS=$as_save_IFS
 
2896
  test -z "$as_dir" && as_dir=.
 
2897
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2898
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2899
    ac_cv_prog_ac_ct_STRIP="strip"
 
2900
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2901
    break 2
 
2902
  fi
 
2903
done
 
2904
  done
 
2905
IFS=$as_save_IFS
 
2906
 
 
2907
fi
 
2908
fi
 
2909
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2910
if test -n "$ac_ct_STRIP"; then
 
2911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2912
$as_echo "$ac_ct_STRIP" >&6; }
 
2913
else
 
2914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2915
$as_echo "no" >&6; }
 
2916
fi
 
2917
 
 
2918
  if test "x$ac_ct_STRIP" = x; then
 
2919
    STRIP=":"
 
2920
  else
 
2921
    case $cross_compiling:$ac_tool_warned in
 
2922
yes:)
 
2923
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2924
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2925
ac_tool_warned=yes ;;
 
2926
esac
 
2927
    STRIP=$ac_ct_STRIP
 
2928
  fi
 
2929
else
 
2930
  STRIP="$ac_cv_prog_STRIP"
 
2931
fi
 
2932
 
 
2933
fi
 
2934
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2935
 
 
2936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2937
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2938
if test -z "$MKDIR_P"; then
 
2939
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2940
  $as_echo_n "(cached) " >&6
 
2941
else
 
2942
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2943
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2944
do
 
2945
  IFS=$as_save_IFS
 
2946
  test -z "$as_dir" && as_dir=.
 
2947
    for ac_prog in mkdir gmkdir; do
 
2948
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2949
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2950
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2951
             'mkdir (GNU coreutils) '* | \
 
2952
             'mkdir (coreutils) '* | \
 
2953
             'mkdir (fileutils) '4.1*)
 
2954
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2955
               break 3;;
 
2956
           esac
 
2957
         done
 
2958
       done
 
2959
  done
 
2960
IFS=$as_save_IFS
 
2961
 
 
2962
fi
 
2963
 
 
2964
  test -d ./--version && rmdir ./--version
 
2965
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2966
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2967
  else
 
2968
    # As a last resort, use the slow shell script.  Don't cache a
 
2969
    # value for MKDIR_P within a source directory, because that will
 
2970
    # break other packages using the cache if that directory is
 
2971
    # removed, or if the value is a relative name.
 
2972
    MKDIR_P="$ac_install_sh -d"
 
2973
  fi
 
2974
fi
 
2975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2976
$as_echo "$MKDIR_P" >&6; }
 
2977
 
 
2978
mkdir_p="$MKDIR_P"
 
2979
case $mkdir_p in
 
2980
  [\\/$]* | ?:[\\/]*) ;;
 
2981
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2982
esac
 
2983
 
 
2984
for ac_prog in gawk mawk nawk awk
 
2985
do
 
2986
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2987
set dummy $ac_prog; ac_word=$2
 
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2989
$as_echo_n "checking for $ac_word... " >&6; }
 
2990
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2991
  $as_echo_n "(cached) " >&6
 
2992
else
 
2993
  if test -n "$AWK"; then
 
2994
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2995
else
 
2996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2997
for as_dir in $PATH
 
2998
do
 
2999
  IFS=$as_save_IFS
 
3000
  test -z "$as_dir" && as_dir=.
 
3001
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3002
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3003
    ac_cv_prog_AWK="$ac_prog"
 
3004
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3005
    break 2
 
3006
  fi
 
3007
done
 
3008
  done
 
3009
IFS=$as_save_IFS
 
3010
 
 
3011
fi
 
3012
fi
 
3013
AWK=$ac_cv_prog_AWK
 
3014
if test -n "$AWK"; then
 
3015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3016
$as_echo "$AWK" >&6; }
 
3017
else
 
3018
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3019
$as_echo "no" >&6; }
 
3020
fi
 
3021
 
 
3022
 
 
3023
  test -n "$AWK" && break
 
3024
done
 
3025
 
 
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3027
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3028
set x ${MAKE-make}
 
3029
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3030
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3031
  $as_echo_n "(cached) " >&6
 
3032
else
 
3033
  cat >conftest.make <<\_ACEOF
 
3034
SHELL = /bin/sh
 
3035
all:
 
3036
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3037
_ACEOF
 
3038
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3039
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3040
  *@@@%%%=?*=@@@%%%*)
 
3041
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3042
  *)
 
3043
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3044
esac
 
3045
rm -f conftest.make
 
3046
fi
 
3047
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3049
$as_echo "yes" >&6; }
 
3050
  SET_MAKE=
 
3051
else
 
3052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3053
$as_echo "no" >&6; }
 
3054
  SET_MAKE="MAKE=${MAKE-make}"
 
3055
fi
 
3056
 
 
3057
rm -rf .tst 2>/dev/null
 
3058
mkdir .tst 2>/dev/null
 
3059
if test -d .tst; then
 
3060
  am__leading_dot=.
 
3061
else
 
3062
  am__leading_dot=_
 
3063
fi
 
3064
rmdir .tst 2>/dev/null
 
3065
 
 
3066
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3067
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3068
  # is not polluted with repeated "-I."
 
3069
  am__isrc=' -I$(srcdir)'
 
3070
  # test to see if srcdir already configured
 
3071
  if test -f $srcdir/config.status; then
 
3072
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3073
  fi
 
3074
fi
 
3075
 
 
3076
# test whether we have cygpath
 
3077
if test -z "$CYGPATH_W"; then
 
3078
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3079
    CYGPATH_W='cygpath -w'
 
3080
  else
 
3081
    CYGPATH_W=echo
 
3082
  fi
 
3083
fi
 
3084
 
 
3085
 
 
3086
# Define the identity of the package.
 
3087
 PACKAGE='gtkhtml'
 
3088
 VERSION='3.30.3'
 
3089
 
 
3090
 
 
3091
cat >>confdefs.h <<_ACEOF
 
3092
#define PACKAGE "$PACKAGE"
 
3093
_ACEOF
 
3094
 
 
3095
 
 
3096
cat >>confdefs.h <<_ACEOF
 
3097
#define VERSION "$VERSION"
 
3098
_ACEOF
 
3099
 
 
3100
# Some tools Automake needs.
 
3101
 
 
3102
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3103
 
 
3104
 
 
3105
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3106
 
 
3107
 
 
3108
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3109
 
 
3110
 
 
3111
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3112
 
 
3113
 
 
3114
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3115
 
 
3116
# We need awk for the "check" target.  The system "awk" is bad on
 
3117
# some platforms.
 
3118
# Always define AMTAR for backward compatibility.
 
3119
 
 
3120
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
3121
 
 
3122
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3123
 
 
3124
 
 
3125
 
 
3126
 
 
3127
 
 
3128
 
 
3129
ac_config_headers="$ac_config_headers config.h"
 
3130
 
 
3131
 
 
3132
 
 
3133
PACKAGE=gtkhtml
 
3134
 
 
3135
 
 
3136
 
 
3137
 
 
3138
 
 
3139
 
 
3140
GTKHTML_API_VERSION=3.14
 
3141
 
 
3142
cat >>confdefs.h <<_ACEOF
 
3143
#define GTKHTML_API_VERSION "${GTKHTML_API_VERSION}"
 
3144
_ACEOF
 
3145
 
 
3146
 
 
3147
 
 
3148
EDITOR_API_VERSION=3.14
 
3149
 
 
3150
cat >>confdefs.h <<_ACEOF
 
3151
#define EDITOR_API_VERSION "${EDITOR_API_VERSION}"
 
3152
_ACEOF
 
3153
 
 
3154
 
 
3155
 
 
3156
GTKHTML_RELEASE_STRING=${PACKAGE}-${GTKHTML_API_VERSION}
 
3157
 
 
3158
cat >>confdefs.h <<_ACEOF
 
3159
#define GTKHTML_RELEASE_STRING "${GTKHTML_RELEASE_STRING}"
 
3160
_ACEOF
 
3161
 
 
3162
 
 
3163
 
 
3164
GETTEXT_PACKAGE=${GTKHTML_RELEASE_STRING}
 
3165
 
 
3166
 
 
3167
cat >>confdefs.h <<_ACEOF
 
3168
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
3169
_ACEOF
 
3170
 
 
3171
 
 
3172
I18N_LIB_CFLAGS="-DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\\\"${GTKHTML_RELEASE_STRING}\\\""
 
3173
 
 
3174
 
 
3175
# Check whether --enable-silent-rules was given.
 
3176
if test "${enable_silent_rules+set}" = set; then :
 
3177
  enableval=$enable_silent_rules;
 
3178
fi
 
3179
 
 
3180
case $enable_silent_rules in
 
3181
yes) AM_DEFAULT_VERBOSITY=0;;
 
3182
no)  AM_DEFAULT_VERBOSITY=1;;
 
3183
*)   AM_DEFAULT_VERBOSITY=0;;
 
3184
esac
 
3185
AM_BACKSLASH='\'
 
3186
 
 
3187
 
 
3188
 
 
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3190
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
3191
    # Check whether --enable-maintainer-mode was given.
 
3192
if test "${enable_maintainer_mode+set}" = set; then :
 
3193
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
3194
else
 
3195
  USE_MAINTAINER_MODE=no
 
3196
fi
 
3197
 
 
3198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
3199
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
3200
   if test $USE_MAINTAINER_MODE = yes; then
 
3201
  MAINTAINER_MODE_TRUE=
 
3202
  MAINTAINER_MODE_FALSE='#'
 
3203
else
 
3204
  MAINTAINER_MODE_TRUE='#'
 
3205
  MAINTAINER_MODE_FALSE=
 
3206
fi
 
3207
 
 
3208
  MAINT=$MAINTAINER_MODE_TRUE
 
3209
 
 
3210
 
 
3211
 
 
3212
 
 
3213
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
3214
$as_echo_n "checking whether NLS is requested... " >&6; }
 
3215
    # Check whether --enable-nls was given.
 
3216
if test "${enable_nls+set}" = set; then :
 
3217
  enableval=$enable_nls; USE_NLS=$enableval
 
3218
else
 
3219
  USE_NLS=yes
 
3220
fi
 
3221
 
 
3222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
3223
$as_echo "$USE_NLS" >&6; }
 
3224
 
 
3225
 
 
3226
DEPDIR="${am__leading_dot}deps"
 
3227
 
 
3228
ac_config_commands="$ac_config_commands depfiles"
 
3229
 
 
3230
 
 
3231
am_make=${MAKE-make}
 
3232
cat > confinc << 'END'
 
3233
am__doit:
 
3234
        @echo this is the am__doit target
 
3235
.PHONY: am__doit
 
3236
END
 
3237
# If we don't find an include directive, just comment out the code.
 
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3239
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3240
am__include="#"
 
3241
am__quote=
 
3242
_am_result=none
 
3243
# First try GNU make style include.
 
3244
echo "include confinc" > confmf
 
3245
# Ignore all kinds of additional output from `make'.
 
3246
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3247
*the\ am__doit\ target*)
 
3248
  am__include=include
 
3249
  am__quote=
 
3250
  _am_result=GNU
 
3251
  ;;
 
3252
esac
 
3253
# Now try BSD make style include.
 
3254
if test "$am__include" = "#"; then
 
3255
   echo '.include "confinc"' > confmf
 
3256
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3257
   *the\ am__doit\ target*)
 
3258
     am__include=.include
 
3259
     am__quote="\""
 
3260
     _am_result=BSD
 
3261
     ;;
 
3262
   esac
 
3263
fi
 
3264
 
 
3265
 
 
3266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3267
$as_echo "$_am_result" >&6; }
 
3268
rm -f confinc confmf
 
3269
 
 
3270
# Check whether --enable-dependency-tracking was given.
 
3271
if test "${enable_dependency_tracking+set}" = set; then :
 
3272
  enableval=$enable_dependency_tracking;
 
3273
fi
 
3274
 
 
3275
if test "x$enable_dependency_tracking" != xno; then
 
3276
  am_depcomp="$ac_aux_dir/depcomp"
 
3277
  AMDEPBACKSLASH='\'
 
3278
fi
 
3279
 if test "x$enable_dependency_tracking" != xno; then
 
3280
  AMDEP_TRUE=
 
3281
  AMDEP_FALSE='#'
 
3282
else
 
3283
  AMDEP_TRUE='#'
 
3284
  AMDEP_FALSE=
 
3285
fi
 
3286
 
 
3287
 
 
3288
ac_ext=c
 
3289
ac_cpp='$CPP $CPPFLAGS'
 
3290
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3291
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3292
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3293
if test -n "$ac_tool_prefix"; then
 
3294
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3295
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3297
$as_echo_n "checking for $ac_word... " >&6; }
 
3298
if test "${ac_cv_prog_CC+set}" = set; then :
 
3299
  $as_echo_n "(cached) " >&6
 
3300
else
 
3301
  if test -n "$CC"; then
 
3302
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3303
else
 
3304
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3305
for as_dir in $PATH
 
3306
do
 
3307
  IFS=$as_save_IFS
 
3308
  test -z "$as_dir" && as_dir=.
 
3309
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3310
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3311
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3312
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3313
    break 2
 
3314
  fi
 
3315
done
 
3316
  done
 
3317
IFS=$as_save_IFS
 
3318
 
 
3319
fi
 
3320
fi
 
3321
CC=$ac_cv_prog_CC
 
3322
if test -n "$CC"; then
 
3323
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3324
$as_echo "$CC" >&6; }
 
3325
else
 
3326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3327
$as_echo "no" >&6; }
 
3328
fi
 
3329
 
 
3330
 
 
3331
fi
 
3332
if test -z "$ac_cv_prog_CC"; then
 
3333
  ac_ct_CC=$CC
 
3334
  # Extract the first word of "gcc", so it can be a program name with args.
 
3335
set dummy gcc; ac_word=$2
 
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3337
$as_echo_n "checking for $ac_word... " >&6; }
 
3338
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3339
  $as_echo_n "(cached) " >&6
 
3340
else
 
3341
  if test -n "$ac_ct_CC"; then
 
3342
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3343
else
 
3344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3345
for as_dir in $PATH
 
3346
do
 
3347
  IFS=$as_save_IFS
 
3348
  test -z "$as_dir" && as_dir=.
 
3349
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3350
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3351
    ac_cv_prog_ac_ct_CC="gcc"
 
3352
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3353
    break 2
 
3354
  fi
 
3355
done
 
3356
  done
 
3357
IFS=$as_save_IFS
 
3358
 
 
3359
fi
 
3360
fi
 
3361
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3362
if test -n "$ac_ct_CC"; then
 
3363
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3364
$as_echo "$ac_ct_CC" >&6; }
 
3365
else
 
3366
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3367
$as_echo "no" >&6; }
 
3368
fi
 
3369
 
 
3370
  if test "x$ac_ct_CC" = x; then
 
3371
    CC=""
 
3372
  else
 
3373
    case $cross_compiling:$ac_tool_warned in
 
3374
yes:)
 
3375
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3376
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3377
ac_tool_warned=yes ;;
 
3378
esac
 
3379
    CC=$ac_ct_CC
 
3380
  fi
 
3381
else
 
3382
  CC="$ac_cv_prog_CC"
 
3383
fi
 
3384
 
 
3385
if test -z "$CC"; then
 
3386
          if test -n "$ac_tool_prefix"; then
 
3387
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3388
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3390
$as_echo_n "checking for $ac_word... " >&6; }
 
3391
if test "${ac_cv_prog_CC+set}" = set; then :
 
3392
  $as_echo_n "(cached) " >&6
 
3393
else
 
3394
  if test -n "$CC"; then
 
3395
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3396
else
 
3397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3398
for as_dir in $PATH
 
3399
do
 
3400
  IFS=$as_save_IFS
 
3401
  test -z "$as_dir" && as_dir=.
 
3402
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3404
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3405
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3406
    break 2
 
3407
  fi
 
3408
done
 
3409
  done
 
3410
IFS=$as_save_IFS
 
3411
 
 
3412
fi
 
3413
fi
 
3414
CC=$ac_cv_prog_CC
 
3415
if test -n "$CC"; then
 
3416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3417
$as_echo "$CC" >&6; }
 
3418
else
 
3419
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3420
$as_echo "no" >&6; }
 
3421
fi
 
3422
 
 
3423
 
 
3424
  fi
 
3425
fi
 
3426
if test -z "$CC"; then
 
3427
  # Extract the first word of "cc", so it can be a program name with args.
 
3428
set dummy cc; ac_word=$2
 
3429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3430
$as_echo_n "checking for $ac_word... " >&6; }
 
3431
if test "${ac_cv_prog_CC+set}" = set; then :
 
3432
  $as_echo_n "(cached) " >&6
 
3433
else
 
3434
  if test -n "$CC"; then
 
3435
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3436
else
 
3437
  ac_prog_rejected=no
 
3438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3439
for as_dir in $PATH
 
3440
do
 
3441
  IFS=$as_save_IFS
 
3442
  test -z "$as_dir" && as_dir=.
 
3443
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3444
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3445
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3446
       ac_prog_rejected=yes
 
3447
       continue
 
3448
     fi
 
3449
    ac_cv_prog_CC="cc"
 
3450
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3451
    break 2
 
3452
  fi
 
3453
done
 
3454
  done
 
3455
IFS=$as_save_IFS
 
3456
 
 
3457
if test $ac_prog_rejected = yes; then
 
3458
  # We found a bogon in the path, so make sure we never use it.
 
3459
  set dummy $ac_cv_prog_CC
 
3460
  shift
 
3461
  if test $# != 0; then
 
3462
    # We chose a different compiler from the bogus one.
 
3463
    # However, it has the same basename, so the bogon will be chosen
 
3464
    # first if we set CC to just the basename; use the full file name.
 
3465
    shift
 
3466
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3467
  fi
 
3468
fi
 
3469
fi
 
3470
fi
 
3471
CC=$ac_cv_prog_CC
 
3472
if test -n "$CC"; then
 
3473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3474
$as_echo "$CC" >&6; }
 
3475
else
 
3476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3477
$as_echo "no" >&6; }
 
3478
fi
 
3479
 
 
3480
 
 
3481
fi
 
3482
if test -z "$CC"; then
 
3483
  if test -n "$ac_tool_prefix"; then
 
3484
  for ac_prog in cl.exe
 
3485
  do
 
3486
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3487
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3489
$as_echo_n "checking for $ac_word... " >&6; }
 
3490
if test "${ac_cv_prog_CC+set}" = set; then :
 
3491
  $as_echo_n "(cached) " >&6
 
3492
else
 
3493
  if test -n "$CC"; then
 
3494
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3495
else
 
3496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3497
for as_dir in $PATH
 
3498
do
 
3499
  IFS=$as_save_IFS
 
3500
  test -z "$as_dir" && as_dir=.
 
3501
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3502
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3503
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3504
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3505
    break 2
 
3506
  fi
 
3507
done
 
3508
  done
 
3509
IFS=$as_save_IFS
 
3510
 
 
3511
fi
 
3512
fi
 
3513
CC=$ac_cv_prog_CC
 
3514
if test -n "$CC"; then
 
3515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3516
$as_echo "$CC" >&6; }
 
3517
else
 
3518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3519
$as_echo "no" >&6; }
 
3520
fi
 
3521
 
 
3522
 
 
3523
    test -n "$CC" && break
 
3524
  done
 
3525
fi
 
3526
if test -z "$CC"; then
 
3527
  ac_ct_CC=$CC
 
3528
  for ac_prog in cl.exe
 
3529
do
 
3530
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3531
set dummy $ac_prog; ac_word=$2
 
3532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3533
$as_echo_n "checking for $ac_word... " >&6; }
 
3534
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3535
  $as_echo_n "(cached) " >&6
 
3536
else
 
3537
  if test -n "$ac_ct_CC"; then
 
3538
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3539
else
 
3540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3541
for as_dir in $PATH
 
3542
do
 
3543
  IFS=$as_save_IFS
 
3544
  test -z "$as_dir" && as_dir=.
 
3545
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3546
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3547
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3548
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3549
    break 2
 
3550
  fi
 
3551
done
 
3552
  done
 
3553
IFS=$as_save_IFS
 
3554
 
 
3555
fi
 
3556
fi
 
3557
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3558
if test -n "$ac_ct_CC"; then
 
3559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3560
$as_echo "$ac_ct_CC" >&6; }
 
3561
else
 
3562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3563
$as_echo "no" >&6; }
 
3564
fi
 
3565
 
 
3566
 
 
3567
  test -n "$ac_ct_CC" && break
 
3568
done
 
3569
 
 
3570
  if test "x$ac_ct_CC" = x; then
 
3571
    CC=""
 
3572
  else
 
3573
    case $cross_compiling:$ac_tool_warned in
 
3574
yes:)
 
3575
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3576
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3577
ac_tool_warned=yes ;;
 
3578
esac
 
3579
    CC=$ac_ct_CC
 
3580
  fi
 
3581
fi
 
3582
 
 
3583
fi
 
3584
 
 
3585
 
 
3586
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3587
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3588
as_fn_error "no acceptable C compiler found in \$PATH
 
3589
See \`config.log' for more details." "$LINENO" 5; }
 
3590
 
 
3591
# Provide some information about the compiler.
 
3592
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3593
set X $ac_compile
 
3594
ac_compiler=$2
 
3595
for ac_option in --version -v -V -qversion; do
 
3596
  { { ac_try="$ac_compiler $ac_option >&5"
 
3597
case "(($ac_try" in
 
3598
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3599
  *) ac_try_echo=$ac_try;;
 
3600
esac
 
3601
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3602
$as_echo "$ac_try_echo"; } >&5
 
3603
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3604
  ac_status=$?
 
3605
  if test -s conftest.err; then
 
3606
    sed '10a\
 
3607
... rest of stderr output deleted ...
 
3608
         10q' conftest.err >conftest.er1
 
3609
    cat conftest.er1 >&5
 
3610
  fi
 
3611
  rm -f conftest.er1 conftest.err
 
3612
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3613
  test $ac_status = 0; }
 
3614
done
 
3615
 
 
3616
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3617
/* end confdefs.h.  */
 
3618
 
 
3619
int
 
3620
main ()
 
3621
{
 
3622
 
 
3623
  ;
 
3624
  return 0;
 
3625
}
 
3626
_ACEOF
 
3627
ac_clean_files_save=$ac_clean_files
 
3628
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3629
# Try to create an executable without -o first, disregard a.out.
 
3630
# It will help us diagnose broken compilers, and finding out an intuition
 
3631
# of exeext.
 
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3633
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3634
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3635
 
 
3636
# The possible output files:
 
3637
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3638
 
 
3639
ac_rmfiles=
 
3640
for ac_file in $ac_files
 
3641
do
 
3642
  case $ac_file in
 
3643
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3644
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3645
  esac
 
3646
done
 
3647
rm -f $ac_rmfiles
 
3648
 
 
3649
if { { ac_try="$ac_link_default"
 
3650
case "(($ac_try" in
 
3651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3652
  *) ac_try_echo=$ac_try;;
 
3653
esac
 
3654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3655
$as_echo "$ac_try_echo"; } >&5
 
3656
  (eval "$ac_link_default") 2>&5
 
3657
  ac_status=$?
 
3658
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3659
  test $ac_status = 0; }; then :
 
3660
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3661
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3662
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3663
# so that the user can short-circuit this test for compilers unknown to
 
3664
# Autoconf.
 
3665
for ac_file in $ac_files ''
 
3666
do
 
3667
  test -f "$ac_file" || continue
 
3668
  case $ac_file in
 
3669
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3670
        ;;
 
3671
    [ab].out )
 
3672
        # We found the default executable, but exeext='' is most
 
3673
        # certainly right.
 
3674
        break;;
 
3675
    *.* )
 
3676
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3677
        then :; else
 
3678
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3679
        fi
 
3680
        # We set ac_cv_exeext here because the later test for it is not
 
3681
        # safe: cross compilers may not add the suffix if given an `-o'
 
3682
        # argument, so we may need to know it at that point already.
 
3683
        # Even if this section looks crufty: it has the advantage of
 
3684
        # actually working.
 
3685
        break;;
 
3686
    * )
 
3687
        break;;
 
3688
  esac
 
3689
done
 
3690
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3691
 
 
3692
else
 
3693
  ac_file=''
 
3694
fi
 
3695
if test -z "$ac_file"; then :
 
3696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3697
$as_echo "no" >&6; }
 
3698
$as_echo "$as_me: failed program was:" >&5
 
3699
sed 's/^/| /' conftest.$ac_ext >&5
 
3700
 
 
3701
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3702
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3703
{ as_fn_set_status 77
 
3704
as_fn_error "C compiler cannot create executables
 
3705
See \`config.log' for more details." "$LINENO" 5; }; }
 
3706
else
 
3707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3708
$as_echo "yes" >&6; }
 
3709
fi
 
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3711
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3713
$as_echo "$ac_file" >&6; }
 
3714
ac_exeext=$ac_cv_exeext
 
3715
 
 
3716
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3717
ac_clean_files=$ac_clean_files_save
 
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3719
$as_echo_n "checking for suffix of executables... " >&6; }
 
3720
if { { ac_try="$ac_link"
 
3721
case "(($ac_try" in
 
3722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3723
  *) ac_try_echo=$ac_try;;
 
3724
esac
 
3725
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3726
$as_echo "$ac_try_echo"; } >&5
 
3727
  (eval "$ac_link") 2>&5
 
3728
  ac_status=$?
 
3729
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3730
  test $ac_status = 0; }; then :
 
3731
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3732
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3733
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3734
# `rm'.
 
3735
for ac_file in conftest.exe conftest conftest.*; do
 
3736
  test -f "$ac_file" || continue
 
3737
  case $ac_file in
 
3738
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3739
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3740
          break;;
 
3741
    * ) break;;
 
3742
  esac
 
3743
done
 
3744
else
 
3745
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3746
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3747
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3748
See \`config.log' for more details." "$LINENO" 5; }
 
3749
fi
 
3750
rm -f conftest conftest$ac_cv_exeext
 
3751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3752
$as_echo "$ac_cv_exeext" >&6; }
 
3753
 
 
3754
rm -f conftest.$ac_ext
 
3755
EXEEXT=$ac_cv_exeext
 
3756
ac_exeext=$EXEEXT
 
3757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3758
/* end confdefs.h.  */
 
3759
#include <stdio.h>
 
3760
int
 
3761
main ()
 
3762
{
 
3763
FILE *f = fopen ("conftest.out", "w");
 
3764
 return ferror (f) || fclose (f) != 0;
 
3765
 
 
3766
  ;
 
3767
  return 0;
 
3768
}
 
3769
_ACEOF
 
3770
ac_clean_files="$ac_clean_files conftest.out"
 
3771
# Check that the compiler produces executables we can run.  If not, either
 
3772
# the compiler is broken, or we cross compile.
 
3773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3774
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3775
if test "$cross_compiling" != yes; then
 
3776
  { { ac_try="$ac_link"
 
3777
case "(($ac_try" in
 
3778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3779
  *) ac_try_echo=$ac_try;;
 
3780
esac
 
3781
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3782
$as_echo "$ac_try_echo"; } >&5
 
3783
  (eval "$ac_link") 2>&5
 
3784
  ac_status=$?
 
3785
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3786
  test $ac_status = 0; }
 
3787
  if { ac_try='./conftest$ac_cv_exeext'
 
3788
  { { case "(($ac_try" in
 
3789
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3790
  *) ac_try_echo=$ac_try;;
 
3791
esac
 
3792
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3793
$as_echo "$ac_try_echo"; } >&5
 
3794
  (eval "$ac_try") 2>&5
 
3795
  ac_status=$?
 
3796
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3797
  test $ac_status = 0; }; }; then
 
3798
    cross_compiling=no
 
3799
  else
 
3800
    if test "$cross_compiling" = maybe; then
 
3801
        cross_compiling=yes
 
3802
    else
 
3803
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3804
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3805
as_fn_error "cannot run C compiled programs.
 
3806
If you meant to cross compile, use \`--host'.
 
3807
See \`config.log' for more details." "$LINENO" 5; }
 
3808
    fi
 
3809
  fi
 
3810
fi
 
3811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3812
$as_echo "$cross_compiling" >&6; }
 
3813
 
 
3814
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3815
ac_clean_files=$ac_clean_files_save
 
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3817
$as_echo_n "checking for suffix of object files... " >&6; }
 
3818
if test "${ac_cv_objext+set}" = set; then :
 
3819
  $as_echo_n "(cached) " >&6
 
3820
else
 
3821
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3822
/* end confdefs.h.  */
 
3823
 
 
3824
int
 
3825
main ()
 
3826
{
 
3827
 
 
3828
  ;
 
3829
  return 0;
 
3830
}
 
3831
_ACEOF
 
3832
rm -f conftest.o conftest.obj
 
3833
if { { ac_try="$ac_compile"
 
3834
case "(($ac_try" in
 
3835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3836
  *) ac_try_echo=$ac_try;;
 
3837
esac
 
3838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3839
$as_echo "$ac_try_echo"; } >&5
 
3840
  (eval "$ac_compile") 2>&5
 
3841
  ac_status=$?
 
3842
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3843
  test $ac_status = 0; }; then :
 
3844
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3845
  test -f "$ac_file" || continue;
 
3846
  case $ac_file in
 
3847
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3848
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3849
       break;;
 
3850
  esac
 
3851
done
 
3852
else
 
3853
  $as_echo "$as_me: failed program was:" >&5
 
3854
sed 's/^/| /' conftest.$ac_ext >&5
 
3855
 
 
3856
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3857
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3858
as_fn_error "cannot compute suffix of object files: cannot compile
 
3859
See \`config.log' for more details." "$LINENO" 5; }
 
3860
fi
 
3861
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3862
fi
 
3863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3864
$as_echo "$ac_cv_objext" >&6; }
 
3865
OBJEXT=$ac_cv_objext
 
3866
ac_objext=$OBJEXT
 
3867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3868
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3869
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3870
  $as_echo_n "(cached) " >&6
 
3871
else
 
3872
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3873
/* end confdefs.h.  */
 
3874
 
 
3875
int
 
3876
main ()
 
3877
{
 
3878
#ifndef __GNUC__
 
3879
       choke me
 
3880
#endif
 
3881
 
 
3882
  ;
 
3883
  return 0;
 
3884
}
 
3885
_ACEOF
 
3886
if ac_fn_c_try_compile "$LINENO"; then :
 
3887
  ac_compiler_gnu=yes
 
3888
else
 
3889
  ac_compiler_gnu=no
 
3890
fi
 
3891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3892
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3893
 
 
3894
fi
 
3895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3896
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3897
if test $ac_compiler_gnu = yes; then
 
3898
  GCC=yes
 
3899
else
 
3900
  GCC=
 
3901
fi
 
3902
ac_test_CFLAGS=${CFLAGS+set}
 
3903
ac_save_CFLAGS=$CFLAGS
 
3904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3905
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3906
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3907
  $as_echo_n "(cached) " >&6
 
3908
else
 
3909
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3910
   ac_c_werror_flag=yes
 
3911
   ac_cv_prog_cc_g=no
 
3912
   CFLAGS="-g"
 
3913
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3914
/* end confdefs.h.  */
 
3915
 
 
3916
int
 
3917
main ()
 
3918
{
 
3919
 
 
3920
  ;
 
3921
  return 0;
 
3922
}
 
3923
_ACEOF
 
3924
if ac_fn_c_try_compile "$LINENO"; then :
 
3925
  ac_cv_prog_cc_g=yes
 
3926
else
 
3927
  CFLAGS=""
 
3928
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3929
/* end confdefs.h.  */
 
3930
 
 
3931
int
 
3932
main ()
 
3933
{
 
3934
 
 
3935
  ;
 
3936
  return 0;
 
3937
}
 
3938
_ACEOF
 
3939
if ac_fn_c_try_compile "$LINENO"; then :
 
3940
 
 
3941
else
 
3942
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3943
         CFLAGS="-g"
 
3944
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3945
/* end confdefs.h.  */
 
3946
 
 
3947
int
 
3948
main ()
 
3949
{
 
3950
 
 
3951
  ;
 
3952
  return 0;
 
3953
}
 
3954
_ACEOF
 
3955
if ac_fn_c_try_compile "$LINENO"; then :
 
3956
  ac_cv_prog_cc_g=yes
 
3957
fi
 
3958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3959
fi
 
3960
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3961
fi
 
3962
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3963
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3964
fi
 
3965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3966
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3967
if test "$ac_test_CFLAGS" = set; then
 
3968
  CFLAGS=$ac_save_CFLAGS
 
3969
elif test $ac_cv_prog_cc_g = yes; then
 
3970
  if test "$GCC" = yes; then
 
3971
    CFLAGS="-g -O2"
 
3972
  else
 
3973
    CFLAGS="-g"
 
3974
  fi
 
3975
else
 
3976
  if test "$GCC" = yes; then
 
3977
    CFLAGS="-O2"
 
3978
  else
 
3979
    CFLAGS=
 
3980
  fi
 
3981
fi
 
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3983
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3984
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3985
  $as_echo_n "(cached) " >&6
 
3986
else
 
3987
  ac_cv_prog_cc_c89=no
 
3988
ac_save_CC=$CC
 
3989
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3990
/* end confdefs.h.  */
 
3991
#include <stdarg.h>
 
3992
#include <stdio.h>
 
3993
#include <sys/types.h>
 
3994
#include <sys/stat.h>
 
3995
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3996
struct buf { int x; };
 
3997
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3998
static char *e (p, i)
 
3999
     char **p;
 
4000
     int i;
 
4001
{
 
4002
  return p[i];
 
4003
}
 
4004
static char *f (char * (*g) (char **, int), char **p, ...)
 
4005
{
 
4006
  char *s;
 
4007
  va_list v;
 
4008
  va_start (v,p);
 
4009
  s = g (p, va_arg (v,int));
 
4010
  va_end (v);
 
4011
  return s;
 
4012
}
 
4013
 
 
4014
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4015
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4016
   These don't provoke an error unfortunately, instead are silently treated
 
4017
   as 'x'.  The following induces an error, until -std is added to get
 
4018
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4019
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4020
   that's true only with -std.  */
 
4021
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4022
 
 
4023
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4024
   inside strings and character constants.  */
 
4025
#define FOO(x) 'x'
 
4026
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4027
 
 
4028
int test (int i, double x);
 
4029
struct s1 {int (*f) (int a);};
 
4030
struct s2 {int (*f) (double a);};
 
4031
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4032
int argc;
 
4033
char **argv;
 
4034
int
 
4035
main ()
 
4036
{
 
4037
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4038
  ;
 
4039
  return 0;
 
4040
}
 
4041
_ACEOF
 
4042
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4043
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4044
do
 
4045
  CC="$ac_save_CC $ac_arg"
 
4046
  if ac_fn_c_try_compile "$LINENO"; then :
 
4047
  ac_cv_prog_cc_c89=$ac_arg
 
4048
fi
 
4049
rm -f core conftest.err conftest.$ac_objext
 
4050
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4051
done
 
4052
rm -f conftest.$ac_ext
 
4053
CC=$ac_save_CC
 
4054
 
 
4055
fi
 
4056
# AC_CACHE_VAL
 
4057
case "x$ac_cv_prog_cc_c89" in
 
4058
  x)
 
4059
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4060
$as_echo "none needed" >&6; } ;;
 
4061
  xno)
 
4062
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4063
$as_echo "unsupported" >&6; } ;;
 
4064
  *)
 
4065
    CC="$CC $ac_cv_prog_cc_c89"
 
4066
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4067
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4068
esac
 
4069
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4070
 
 
4071
fi
 
4072
 
 
4073
ac_ext=c
 
4074
ac_cpp='$CPP $CPPFLAGS'
 
4075
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4076
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4077
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4078
 
 
4079
depcc="$CC"   am_compiler_list=
 
4080
 
 
4081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4082
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4083
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4084
  $as_echo_n "(cached) " >&6
 
4085
else
 
4086
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4087
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4088
  # making bogus files that we don't know about and never remove.  For
 
4089
  # instance it was reported that on HP-UX the gcc test will end up
 
4090
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4091
  # in D'.
 
4092
  mkdir conftest.dir
 
4093
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4094
  # using a relative directory.
 
4095
  cp "$am_depcomp" conftest.dir
 
4096
  cd conftest.dir
 
4097
  # We will build objects and dependencies in a subdirectory because
 
4098
  # it helps to detect inapplicable dependency modes.  For instance
 
4099
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4100
  # side effect of compilation, but ICC will put the dependencies in
 
4101
  # the current directory while Tru64 will put them in the object
 
4102
  # directory.
 
4103
  mkdir sub
 
4104
 
 
4105
  am_cv_CC_dependencies_compiler_type=none
 
4106
  if test "$am_compiler_list" = ""; then
 
4107
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4108
  fi
 
4109
  am__universal=false
 
4110
  case " $depcc " in #(
 
4111
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4112
     esac
 
4113
 
 
4114
  for depmode in $am_compiler_list; do
 
4115
    # Setup a source with many dependencies, because some compilers
 
4116
    # like to wrap large dependency lists on column 80 (with \), and
 
4117
    # we should not choose a depcomp mode which is confused by this.
 
4118
    #
 
4119
    # We need to recreate these files for each test, as the compiler may
 
4120
    # overwrite some of them when testing with obscure command lines.
 
4121
    # This happens at least with the AIX C compiler.
 
4122
    : > sub/conftest.c
 
4123
    for i in 1 2 3 4 5 6; do
 
4124
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4125
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4126
      # Solaris 8's {/usr,}/bin/sh.
 
4127
      touch sub/conftst$i.h
 
4128
    done
 
4129
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4130
 
 
4131
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4132
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4133
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4134
    # versions had trouble with output in subdirs
 
4135
    am__obj=sub/conftest.${OBJEXT-o}
 
4136
    am__minus_obj="-o $am__obj"
 
4137
    case $depmode in
 
4138
    gcc)
 
4139
      # This depmode causes a compiler race in universal mode.
 
4140
      test "$am__universal" = false || continue
 
4141
      ;;
 
4142
    nosideeffect)
 
4143
      # after this tag, mechanisms are not by side-effect, so they'll
 
4144
      # only be used when explicitly requested
 
4145
      if test "x$enable_dependency_tracking" = xyes; then
 
4146
        continue
 
4147
      else
 
4148
        break
 
4149
      fi
 
4150
      ;;
 
4151
    msvisualcpp | msvcmsys)
 
4152
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4153
      # not run yet.  These depmodes are late enough in the game, and
 
4154
      # so weak that their functioning should not be impacted.
 
4155
      am__obj=conftest.${OBJEXT-o}
 
4156
      am__minus_obj=
 
4157
      ;;
 
4158
    none) break ;;
 
4159
    esac
 
4160
    if depmode=$depmode \
 
4161
       source=sub/conftest.c object=$am__obj \
 
4162
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4163
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4164
         >/dev/null 2>conftest.err &&
 
4165
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4166
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4167
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4168
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4169
      # icc doesn't choke on unknown options, it will just issue warnings
 
4170
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4171
      # that says an option was ignored or not supported.
 
4172
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4173
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4174
      # The diagnosis changed in icc 8.0:
 
4175
      #   icc: Command line remark: option '-MP' not supported
 
4176
      if (grep 'ignoring option' conftest.err ||
 
4177
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4178
        am_cv_CC_dependencies_compiler_type=$depmode
 
4179
        break
 
4180
      fi
 
4181
    fi
 
4182
  done
 
4183
 
 
4184
  cd ..
 
4185
  rm -rf conftest.dir
 
4186
else
 
4187
  am_cv_CC_dependencies_compiler_type=none
 
4188
fi
 
4189
 
 
4190
fi
 
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4192
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4193
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4194
 
 
4195
 if
 
4196
  test "x$enable_dependency_tracking" != xno \
 
4197
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4198
  am__fastdepCC_TRUE=
 
4199
  am__fastdepCC_FALSE='#'
 
4200
else
 
4201
  am__fastdepCC_TRUE='#'
 
4202
  am__fastdepCC_FALSE=
 
4203
fi
 
4204
 
 
4205
 
 
4206
 
 
4207
 
 
4208
 
 
4209
case "$am__api_version" in
 
4210
    1.01234)
 
4211
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
4212
    ;;
 
4213
    *)
 
4214
    ;;
 
4215
esac
 
4216
 
 
4217
if test -n "0.36.3"; then
 
4218
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.36.3" >&5
 
4219
$as_echo_n "checking for intltool >= 0.36.3... " >&6; }
 
4220
 
 
4221
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.36.3 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4222
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
4223
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4224
 
 
4225
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4226
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
4227
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
4228
        as_fn_error "Your intltool is too old.  You need intltool 0.36.3 or later." "$LINENO" 5
 
4229
fi
 
4230
 
 
4231
# Extract the first word of "intltool-update", so it can be a program name with args.
 
4232
set dummy intltool-update; ac_word=$2
 
4233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4234
$as_echo_n "checking for $ac_word... " >&6; }
 
4235
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
4236
  $as_echo_n "(cached) " >&6
 
4237
else
 
4238
  case $INTLTOOL_UPDATE in
 
4239
  [\\/]* | ?:[\\/]*)
 
4240
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
4241
  ;;
 
4242
  *)
 
4243
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4244
for as_dir in $PATH
 
4245
do
 
4246
  IFS=$as_save_IFS
 
4247
  test -z "$as_dir" && as_dir=.
 
4248
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4250
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
4251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4252
    break 2
 
4253
  fi
 
4254
done
 
4255
  done
 
4256
IFS=$as_save_IFS
 
4257
 
 
4258
  ;;
 
4259
esac
 
4260
fi
 
4261
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
4262
if test -n "$INTLTOOL_UPDATE"; then
 
4263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
4264
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
4265
else
 
4266
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4267
$as_echo "no" >&6; }
 
4268
fi
 
4269
 
 
4270
 
 
4271
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
4272
set dummy intltool-merge; ac_word=$2
 
4273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4274
$as_echo_n "checking for $ac_word... " >&6; }
 
4275
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
4276
  $as_echo_n "(cached) " >&6
 
4277
else
 
4278
  case $INTLTOOL_MERGE in
 
4279
  [\\/]* | ?:[\\/]*)
 
4280
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
4281
  ;;
 
4282
  *)
 
4283
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4284
for as_dir in $PATH
 
4285
do
 
4286
  IFS=$as_save_IFS
 
4287
  test -z "$as_dir" && as_dir=.
 
4288
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4290
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
4291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4292
    break 2
 
4293
  fi
 
4294
done
 
4295
  done
 
4296
IFS=$as_save_IFS
 
4297
 
 
4298
  ;;
 
4299
esac
 
4300
fi
 
4301
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
4302
if test -n "$INTLTOOL_MERGE"; then
 
4303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
4304
$as_echo "$INTLTOOL_MERGE" >&6; }
 
4305
else
 
4306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4307
$as_echo "no" >&6; }
 
4308
fi
 
4309
 
 
4310
 
 
4311
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
4312
set dummy intltool-extract; ac_word=$2
 
4313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4314
$as_echo_n "checking for $ac_word... " >&6; }
 
4315
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
4316
  $as_echo_n "(cached) " >&6
 
4317
else
 
4318
  case $INTLTOOL_EXTRACT in
 
4319
  [\\/]* | ?:[\\/]*)
 
4320
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
4321
  ;;
 
4322
  *)
 
4323
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4324
for as_dir in $PATH
 
4325
do
 
4326
  IFS=$as_save_IFS
 
4327
  test -z "$as_dir" && as_dir=.
 
4328
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4330
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
4331
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4332
    break 2
 
4333
  fi
 
4334
done
 
4335
  done
 
4336
IFS=$as_save_IFS
 
4337
 
 
4338
  ;;
 
4339
esac
 
4340
fi
 
4341
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
4342
if test -n "$INTLTOOL_EXTRACT"; then
 
4343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
4344
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
4345
else
 
4346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4347
$as_echo "no" >&6; }
 
4348
fi
 
4349
 
 
4350
 
 
4351
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
4352
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
4353
fi
 
4354
 
 
4355
  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 $< $@'
 
4356
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 $< $@'
 
4357
     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 $< $@'
 
4358
     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 $< $@'
 
4359
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
4360
     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 $< $@'
 
4361
   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 $< $@'
 
4362
    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 $< $@'
 
4363
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 $< $@'
 
4364
       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 $< $@'
 
4365
      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 $< $@'
 
4366
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
4367
      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 $< $@'
 
4368
      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 $< $@'
 
4369
    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 $< $@'
 
4370
  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 $< $@'
 
4371
    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 $< $@'
 
4372
    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 $< $@'
 
4373
   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 $< $@'
 
4374
 
 
4375
 
 
4376
 
 
4377
 
 
4378
 
 
4379
 
 
4380
 
 
4381
 
 
4382
 
 
4383
 
 
4384
 
 
4385
 
 
4386
 
 
4387
 
 
4388
 
 
4389
 
 
4390
 
 
4391
 
 
4392
 
 
4393
 
 
4394
 
 
4395
 
 
4396
 
 
4397
 
 
4398
 
 
4399
 
 
4400
 
 
4401
 
 
4402
 
 
4403
 
 
4404
 
 
4405
 
 
4406
 
 
4407
 
 
4408
 
 
4409
 
 
4410
 
 
4411
 
 
4412
 
 
4413
 
 
4414
 
 
4415
 
 
4416
 
 
4417
 
 
4418
 
 
4419
 
 
4420
 
 
4421
 
 
4422
 
 
4423
 
 
4424
 
 
4425
 
 
4426
 
 
4427
 
 
4428
 
 
4429
 
 
4430
 
 
4431
 
 
4432
 
 
4433
 
 
4434
 
 
4435
 
 
4436
 
 
4437
 
 
4438
 
 
4439
 
 
4440
 
 
4441
 
 
4442
 
 
4443
 
 
4444
 
 
4445
 
 
4446
 
 
4447
 
 
4448
 
 
4449
 
 
4450
 
 
4451
 
 
4452
 
 
4453
 
 
4454
 
 
4455
 
 
4456
 
 
4457
 
 
4458
 
 
4459
 
 
4460
 
 
4461
 
 
4462
 
 
4463
 
 
4464
 
 
4465
 
 
4466
 
 
4467
 
 
4468
 
 
4469
 
 
4470
 
 
4471
# Check the gettext tools to make sure they are GNU
 
4472
# Extract the first word of "xgettext", so it can be a program name with args.
 
4473
set dummy xgettext; ac_word=$2
 
4474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4475
$as_echo_n "checking for $ac_word... " >&6; }
 
4476
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
4477
  $as_echo_n "(cached) " >&6
 
4478
else
 
4479
  case $XGETTEXT in
 
4480
  [\\/]* | ?:[\\/]*)
 
4481
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
4482
  ;;
 
4483
  *)
 
4484
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4485
for as_dir in $PATH
 
4486
do
 
4487
  IFS=$as_save_IFS
 
4488
  test -z "$as_dir" && as_dir=.
 
4489
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4490
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4491
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
4492
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4493
    break 2
 
4494
  fi
 
4495
done
 
4496
  done
 
4497
IFS=$as_save_IFS
 
4498
 
 
4499
  ;;
 
4500
esac
 
4501
fi
 
4502
XGETTEXT=$ac_cv_path_XGETTEXT
 
4503
if test -n "$XGETTEXT"; then
 
4504
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
4505
$as_echo "$XGETTEXT" >&6; }
 
4506
else
 
4507
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4508
$as_echo "no" >&6; }
 
4509
fi
 
4510
 
 
4511
 
 
4512
# Extract the first word of "msgmerge", so it can be a program name with args.
 
4513
set dummy msgmerge; ac_word=$2
 
4514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4515
$as_echo_n "checking for $ac_word... " >&6; }
 
4516
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
4517
  $as_echo_n "(cached) " >&6
 
4518
else
 
4519
  case $MSGMERGE in
 
4520
  [\\/]* | ?:[\\/]*)
 
4521
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
4522
  ;;
 
4523
  *)
 
4524
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4525
for as_dir in $PATH
 
4526
do
 
4527
  IFS=$as_save_IFS
 
4528
  test -z "$as_dir" && as_dir=.
 
4529
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4530
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4531
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
4532
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4533
    break 2
 
4534
  fi
 
4535
done
 
4536
  done
 
4537
IFS=$as_save_IFS
 
4538
 
 
4539
  ;;
 
4540
esac
 
4541
fi
 
4542
MSGMERGE=$ac_cv_path_MSGMERGE
 
4543
if test -n "$MSGMERGE"; then
 
4544
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
4545
$as_echo "$MSGMERGE" >&6; }
 
4546
else
 
4547
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4548
$as_echo "no" >&6; }
 
4549
fi
 
4550
 
 
4551
 
 
4552
# Extract the first word of "msgfmt", so it can be a program name with args.
 
4553
set dummy msgfmt; ac_word=$2
 
4554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4555
$as_echo_n "checking for $ac_word... " >&6; }
 
4556
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
4557
  $as_echo_n "(cached) " >&6
 
4558
else
 
4559
  case $MSGFMT in
 
4560
  [\\/]* | ?:[\\/]*)
 
4561
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
4562
  ;;
 
4563
  *)
 
4564
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4565
for as_dir in $PATH
 
4566
do
 
4567
  IFS=$as_save_IFS
 
4568
  test -z "$as_dir" && as_dir=.
 
4569
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4570
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4571
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4572
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4573
    break 2
 
4574
  fi
 
4575
done
 
4576
  done
 
4577
IFS=$as_save_IFS
 
4578
 
 
4579
  ;;
 
4580
esac
 
4581
fi
 
4582
MSGFMT=$ac_cv_path_MSGFMT
 
4583
if test -n "$MSGFMT"; then
 
4584
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
4585
$as_echo "$MSGFMT" >&6; }
 
4586
else
 
4587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4588
$as_echo "no" >&6; }
 
4589
fi
 
4590
 
 
4591
 
 
4592
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
4593
set dummy gmsgfmt; ac_word=$2
 
4594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4595
$as_echo_n "checking for $ac_word... " >&6; }
 
4596
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
4597
  $as_echo_n "(cached) " >&6
 
4598
else
 
4599
  case $GMSGFMT in
 
4600
  [\\/]* | ?:[\\/]*)
 
4601
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
4602
  ;;
 
4603
  *)
 
4604
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4605
for as_dir in $PATH
 
4606
do
 
4607
  IFS=$as_save_IFS
 
4608
  test -z "$as_dir" && as_dir=.
 
4609
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4610
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4611
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4612
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4613
    break 2
 
4614
  fi
 
4615
done
 
4616
  done
 
4617
IFS=$as_save_IFS
 
4618
 
 
4619
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
4620
  ;;
 
4621
esac
 
4622
fi
 
4623
GMSGFMT=$ac_cv_path_GMSGFMT
 
4624
if test -n "$GMSGFMT"; then
 
4625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
4626
$as_echo "$GMSGFMT" >&6; }
 
4627
else
 
4628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4629
$as_echo "no" >&6; }
 
4630
fi
 
4631
 
 
4632
 
 
4633
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
4634
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4635
fi
 
4636
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
4637
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
4638
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
4639
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
4640
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4641
fi
 
4642
 
 
4643
# Extract the first word of "perl", so it can be a program name with args.
 
4644
set dummy perl; ac_word=$2
 
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4646
$as_echo_n "checking for $ac_word... " >&6; }
 
4647
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
4648
  $as_echo_n "(cached) " >&6
 
4649
else
 
4650
  case $INTLTOOL_PERL in
 
4651
  [\\/]* | ?:[\\/]*)
 
4652
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
4653
  ;;
 
4654
  *)
 
4655
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4656
for as_dir in $PATH
 
4657
do
 
4658
  IFS=$as_save_IFS
 
4659
  test -z "$as_dir" && as_dir=.
 
4660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4662
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
4663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4664
    break 2
 
4665
  fi
 
4666
done
 
4667
  done
 
4668
IFS=$as_save_IFS
 
4669
 
 
4670
  ;;
 
4671
esac
 
4672
fi
 
4673
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
4674
if test -n "$INTLTOOL_PERL"; then
 
4675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
4676
$as_echo "$INTLTOOL_PERL" >&6; }
 
4677
else
 
4678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4679
$as_echo "no" >&6; }
 
4680
fi
 
4681
 
 
4682
 
 
4683
if test -z "$INTLTOOL_PERL"; then
 
4684
   as_fn_error "perl not found" "$LINENO" 5
 
4685
fi
 
4686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
4687
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
4688
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
4689
if test $? -ne 0; then
 
4690
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
4691
else
 
4692
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
4693
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
4694
$as_echo "$IT_PERL_VERSION" >&6; }
 
4695
fi
 
4696
if test "x" != "xno-xml"; then
 
4697
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
4698
$as_echo_n "checking for XML::Parser... " >&6; }
 
4699
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
4700
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
4701
$as_echo "ok" >&6; }
 
4702
   else
 
4703
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
4704
   fi
 
4705
fi
 
4706
 
 
4707
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
4708
 
 
4709
 
 
4710
# Set DATADIRNAME correctly if it is not set yet
 
4711
# (copied from glib-gettext.m4)
 
4712
if test -z "$DATADIRNAME"; then
 
4713
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4714
/* end confdefs.h.  */
 
4715
 
 
4716
int
 
4717
main ()
 
4718
{
 
4719
extern int _nl_msg_cat_cntr;
 
4720
                       return _nl_msg_cat_cntr
 
4721
  ;
 
4722
  return 0;
 
4723
}
 
4724
_ACEOF
 
4725
if ac_fn_c_try_link "$LINENO"; then :
 
4726
  DATADIRNAME=share
 
4727
else
 
4728
  case $host in
 
4729
    *-*-solaris*)
 
4730
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4731
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
4732
  DATADIRNAME=share
 
4733
else
 
4734
  DATADIRNAME=lib
 
4735
fi
 
4736
 
 
4737
    ;;
 
4738
    *)
 
4739
    DATADIRNAME=lib
 
4740
    ;;
 
4741
    esac
 
4742
fi
 
4743
rm -f core conftest.err conftest.$ac_objext \
 
4744
    conftest$ac_exeext conftest.$ac_ext
 
4745
fi
 
4746
 
 
4747
 
 
4748
 
 
4749
 
 
4750
 
 
4751
ac_ext=c
 
4752
ac_cpp='$CPP $CPPFLAGS'
 
4753
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4754
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4755
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4757
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4758
# On Suns, sometimes $CPP names a directory.
 
4759
if test -n "$CPP" && test -d "$CPP"; then
 
4760
  CPP=
 
4761
fi
 
4762
if test -z "$CPP"; then
 
4763
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4764
  $as_echo_n "(cached) " >&6
 
4765
else
 
4766
      # Double quotes because CPP needs to be expanded
 
4767
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4768
    do
 
4769
      ac_preproc_ok=false
 
4770
for ac_c_preproc_warn_flag in '' yes
 
4771
do
 
4772
  # Use a header file that comes with gcc, so configuring glibc
 
4773
  # with a fresh cross-compiler works.
 
4774
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4775
  # <limits.h> exists even on freestanding compilers.
 
4776
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4777
  # not just through cpp. "Syntax error" is here to catch this case.
 
4778
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4779
/* end confdefs.h.  */
 
4780
#ifdef __STDC__
 
4781
# include <limits.h>
 
4782
#else
 
4783
# include <assert.h>
 
4784
#endif
 
4785
                     Syntax error
 
4786
_ACEOF
 
4787
if ac_fn_c_try_cpp "$LINENO"; then :
 
4788
 
 
4789
else
 
4790
  # Broken: fails on valid input.
 
4791
continue
 
4792
fi
 
4793
rm -f conftest.err conftest.$ac_ext
 
4794
 
 
4795
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4796
  # can be detected and how.
 
4797
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4798
/* end confdefs.h.  */
 
4799
#include <ac_nonexistent.h>
 
4800
_ACEOF
 
4801
if ac_fn_c_try_cpp "$LINENO"; then :
 
4802
  # Broken: success on invalid input.
 
4803
continue
 
4804
else
 
4805
  # Passes both tests.
 
4806
ac_preproc_ok=:
 
4807
break
 
4808
fi
 
4809
rm -f conftest.err conftest.$ac_ext
 
4810
 
 
4811
done
 
4812
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4813
rm -f conftest.err conftest.$ac_ext
 
4814
if $ac_preproc_ok; then :
 
4815
  break
 
4816
fi
 
4817
 
 
4818
    done
 
4819
    ac_cv_prog_CPP=$CPP
 
4820
 
 
4821
fi
 
4822
  CPP=$ac_cv_prog_CPP
 
4823
else
 
4824
  ac_cv_prog_CPP=$CPP
 
4825
fi
 
4826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4827
$as_echo "$CPP" >&6; }
 
4828
ac_preproc_ok=false
 
4829
for ac_c_preproc_warn_flag in '' yes
 
4830
do
 
4831
  # Use a header file that comes with gcc, so configuring glibc
 
4832
  # with a fresh cross-compiler works.
 
4833
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4834
  # <limits.h> exists even on freestanding compilers.
 
4835
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4836
  # not just through cpp. "Syntax error" is here to catch this case.
 
4837
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4838
/* end confdefs.h.  */
 
4839
#ifdef __STDC__
 
4840
# include <limits.h>
 
4841
#else
 
4842
# include <assert.h>
 
4843
#endif
 
4844
                     Syntax error
 
4845
_ACEOF
 
4846
if ac_fn_c_try_cpp "$LINENO"; then :
 
4847
 
 
4848
else
 
4849
  # Broken: fails on valid input.
 
4850
continue
 
4851
fi
 
4852
rm -f conftest.err conftest.$ac_ext
 
4853
 
 
4854
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4855
  # can be detected and how.
 
4856
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4857
/* end confdefs.h.  */
 
4858
#include <ac_nonexistent.h>
 
4859
_ACEOF
 
4860
if ac_fn_c_try_cpp "$LINENO"; then :
 
4861
  # Broken: success on invalid input.
 
4862
continue
 
4863
else
 
4864
  # Passes both tests.
 
4865
ac_preproc_ok=:
 
4866
break
 
4867
fi
 
4868
rm -f conftest.err conftest.$ac_ext
 
4869
 
 
4870
done
 
4871
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4872
rm -f conftest.err conftest.$ac_ext
 
4873
if $ac_preproc_ok; then :
 
4874
 
 
4875
else
 
4876
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4878
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4879
See \`config.log' for more details." "$LINENO" 5; }
 
4880
fi
 
4881
 
 
4882
ac_ext=c
 
4883
ac_cpp='$CPP $CPPFLAGS'
 
4884
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4885
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4886
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4887
 
 
4888
 
 
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4890
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4891
if test "${ac_cv_path_GREP+set}" = set; then :
 
4892
  $as_echo_n "(cached) " >&6
 
4893
else
 
4894
  if test -z "$GREP"; then
 
4895
  ac_path_GREP_found=false
 
4896
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4897
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4898
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4899
do
 
4900
  IFS=$as_save_IFS
 
4901
  test -z "$as_dir" && as_dir=.
 
4902
    for ac_prog in grep ggrep; do
 
4903
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4904
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4905
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4906
# Check for GNU ac_path_GREP and select it if it is found.
 
4907
  # Check for GNU $ac_path_GREP
 
4908
case `"$ac_path_GREP" --version 2>&1` in
 
4909
*GNU*)
 
4910
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4911
*)
 
4912
  ac_count=0
 
4913
  $as_echo_n 0123456789 >"conftest.in"
 
4914
  while :
 
4915
  do
 
4916
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4917
    mv "conftest.tmp" "conftest.in"
 
4918
    cp "conftest.in" "conftest.nl"
 
4919
    $as_echo 'GREP' >> "conftest.nl"
 
4920
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4921
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4922
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4923
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4924
      # Best one so far, save it but keep looking for a better one
 
4925
      ac_cv_path_GREP="$ac_path_GREP"
 
4926
      ac_path_GREP_max=$ac_count
 
4927
    fi
 
4928
    # 10*(2^10) chars as input seems more than enough
 
4929
    test $ac_count -gt 10 && break
 
4930
  done
 
4931
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4932
esac
 
4933
 
 
4934
      $ac_path_GREP_found && break 3
 
4935
    done
 
4936
  done
 
4937
  done
 
4938
IFS=$as_save_IFS
 
4939
  if test -z "$ac_cv_path_GREP"; then
 
4940
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4941
  fi
 
4942
else
 
4943
  ac_cv_path_GREP=$GREP
 
4944
fi
 
4945
 
 
4946
fi
 
4947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4948
$as_echo "$ac_cv_path_GREP" >&6; }
 
4949
 GREP="$ac_cv_path_GREP"
 
4950
 
 
4951
 
 
4952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4953
$as_echo_n "checking for egrep... " >&6; }
 
4954
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4955
  $as_echo_n "(cached) " >&6
 
4956
else
 
4957
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4958
   then ac_cv_path_EGREP="$GREP -E"
 
4959
   else
 
4960
     if test -z "$EGREP"; then
 
4961
  ac_path_EGREP_found=false
 
4962
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4963
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4964
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4965
do
 
4966
  IFS=$as_save_IFS
 
4967
  test -z "$as_dir" && as_dir=.
 
4968
    for ac_prog in egrep; do
 
4969
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4970
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4971
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4972
# Check for GNU ac_path_EGREP and select it if it is found.
 
4973
  # Check for GNU $ac_path_EGREP
 
4974
case `"$ac_path_EGREP" --version 2>&1` in
 
4975
*GNU*)
 
4976
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4977
*)
 
4978
  ac_count=0
 
4979
  $as_echo_n 0123456789 >"conftest.in"
 
4980
  while :
 
4981
  do
 
4982
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4983
    mv "conftest.tmp" "conftest.in"
 
4984
    cp "conftest.in" "conftest.nl"
 
4985
    $as_echo 'EGREP' >> "conftest.nl"
 
4986
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4987
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4988
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4989
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4990
      # Best one so far, save it but keep looking for a better one
 
4991
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4992
      ac_path_EGREP_max=$ac_count
 
4993
    fi
 
4994
    # 10*(2^10) chars as input seems more than enough
 
4995
    test $ac_count -gt 10 && break
 
4996
  done
 
4997
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4998
esac
 
4999
 
 
5000
      $ac_path_EGREP_found && break 3
 
5001
    done
 
5002
  done
 
5003
  done
 
5004
IFS=$as_save_IFS
 
5005
  if test -z "$ac_cv_path_EGREP"; then
 
5006
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5007
  fi
 
5008
else
 
5009
  ac_cv_path_EGREP=$EGREP
 
5010
fi
 
5011
 
 
5012
   fi
 
5013
fi
 
5014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5015
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5016
 EGREP="$ac_cv_path_EGREP"
 
5017
 
 
5018
 
 
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5020
$as_echo_n "checking for ANSI C header files... " >&6; }
 
5021
if test "${ac_cv_header_stdc+set}" = set; then :
 
5022
  $as_echo_n "(cached) " >&6
 
5023
else
 
5024
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5025
/* end confdefs.h.  */
 
5026
#include <stdlib.h>
 
5027
#include <stdarg.h>
 
5028
#include <string.h>
 
5029
#include <float.h>
 
5030
 
 
5031
int
 
5032
main ()
 
5033
{
 
5034
 
 
5035
  ;
 
5036
  return 0;
 
5037
}
 
5038
_ACEOF
 
5039
if ac_fn_c_try_compile "$LINENO"; then :
 
5040
  ac_cv_header_stdc=yes
 
5041
else
 
5042
  ac_cv_header_stdc=no
 
5043
fi
 
5044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5045
 
 
5046
if test $ac_cv_header_stdc = yes; then
 
5047
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
5048
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5049
/* end confdefs.h.  */
 
5050
#include <string.h>
 
5051
 
 
5052
_ACEOF
 
5053
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5054
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5055
 
 
5056
else
 
5057
  ac_cv_header_stdc=no
 
5058
fi
 
5059
rm -f conftest*
 
5060
 
 
5061
fi
 
5062
 
 
5063
if test $ac_cv_header_stdc = yes; then
 
5064
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
5065
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5066
/* end confdefs.h.  */
 
5067
#include <stdlib.h>
 
5068
 
 
5069
_ACEOF
 
5070
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5071
  $EGREP "free" >/dev/null 2>&1; then :
 
5072
 
 
5073
else
 
5074
  ac_cv_header_stdc=no
 
5075
fi
 
5076
rm -f conftest*
 
5077
 
 
5078
fi
 
5079
 
 
5080
if test $ac_cv_header_stdc = yes; then
 
5081
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
5082
  if test "$cross_compiling" = yes; then :
 
5083
  :
 
5084
else
 
5085
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5086
/* end confdefs.h.  */
 
5087
#include <ctype.h>
 
5088
#include <stdlib.h>
 
5089
#if ((' ' & 0x0FF) == 0x020)
 
5090
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
5091
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
5092
#else
 
5093
# define ISLOWER(c) \
 
5094
                   (('a' <= (c) && (c) <= 'i') \
 
5095
                     || ('j' <= (c) && (c) <= 'r') \
 
5096
                     || ('s' <= (c) && (c) <= 'z'))
 
5097
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
5098
#endif
 
5099
 
 
5100
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
5101
int
 
5102
main ()
 
5103
{
 
5104
  int i;
 
5105
  for (i = 0; i < 256; i++)
 
5106
    if (XOR (islower (i), ISLOWER (i))
 
5107
        || toupper (i) != TOUPPER (i))
 
5108
      return 2;
 
5109
  return 0;
 
5110
}
 
5111
_ACEOF
 
5112
if ac_fn_c_try_run "$LINENO"; then :
 
5113
 
 
5114
else
 
5115
  ac_cv_header_stdc=no
 
5116
fi
 
5117
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5118
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5119
fi
 
5120
 
 
5121
fi
 
5122
fi
 
5123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5124
$as_echo "$ac_cv_header_stdc" >&6; }
 
5125
if test $ac_cv_header_stdc = yes; then
 
5126
 
 
5127
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
5128
 
 
5129
fi
 
5130
 
 
5131
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
5132
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
5133
                  inttypes.h stdint.h unistd.h
 
5134
do :
 
5135
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5136
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
5137
"
 
5138
eval as_val=\$$as_ac_Header
 
5139
   if test "x$as_val" = x""yes; then :
 
5140
  cat >>confdefs.h <<_ACEOF
 
5141
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5142
_ACEOF
 
5143
 
 
5144
fi
 
5145
 
 
5146
done
 
5147
 
 
5148
 
 
5149
 
 
5150
   for ac_header in locale.h
 
5151
do :
 
5152
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
5153
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
5154
  cat >>confdefs.h <<_ACEOF
 
5155
#define HAVE_LOCALE_H 1
 
5156
_ACEOF
 
5157
 
 
5158
fi
 
5159
 
 
5160
done
 
5161
 
 
5162
    if test $ac_cv_header_locale_h = yes; then
 
5163
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
5164
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
5165
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
5166
  $as_echo_n "(cached) " >&6
 
5167
else
 
5168
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5169
/* end confdefs.h.  */
 
5170
#include <locale.h>
 
5171
int
 
5172
main ()
 
5173
{
 
5174
return LC_MESSAGES
 
5175
  ;
 
5176
  return 0;
 
5177
}
 
5178
_ACEOF
 
5179
if ac_fn_c_try_link "$LINENO"; then :
 
5180
  am_cv_val_LC_MESSAGES=yes
 
5181
else
 
5182
  am_cv_val_LC_MESSAGES=no
 
5183
fi
 
5184
rm -f core conftest.err conftest.$ac_objext \
 
5185
    conftest$ac_exeext conftest.$ac_ext
 
5186
fi
 
5187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
5188
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
5189
    if test $am_cv_val_LC_MESSAGES = yes; then
 
5190
 
 
5191
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
5192
 
 
5193
    fi
 
5194
  fi
 
5195
     USE_NLS=yes
 
5196
 
 
5197
 
 
5198
    gt_cv_have_gettext=no
 
5199
 
 
5200
    CATOBJEXT=NONE
 
5201
    XGETTEXT=:
 
5202
    INTLLIBS=
 
5203
 
 
5204
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
5205
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
5206
  gt_cv_func_dgettext_libintl="no"
 
5207
      libintl_extra_libs=""
 
5208
 
 
5209
      #
 
5210
      # First check in libc
 
5211
      #
 
5212
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
5213
$as_echo_n "checking for ngettext in libc... " >&6; }
 
5214
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
5215
  $as_echo_n "(cached) " >&6
 
5216
else
 
5217
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5218
/* end confdefs.h.  */
 
5219
 
 
5220
#include <libintl.h>
 
5221
 
 
5222
int
 
5223
main ()
 
5224
{
 
5225
return !ngettext ("","", 1)
 
5226
  ;
 
5227
  return 0;
 
5228
}
 
5229
_ACEOF
 
5230
if ac_fn_c_try_link "$LINENO"; then :
 
5231
  gt_cv_func_ngettext_libc=yes
 
5232
else
 
5233
  gt_cv_func_ngettext_libc=no
 
5234
fi
 
5235
rm -f core conftest.err conftest.$ac_objext \
 
5236
    conftest$ac_exeext conftest.$ac_ext
 
5237
 
 
5238
fi
 
5239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
5240
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
5241
 
 
5242
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
5243
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
5244
$as_echo_n "checking for dgettext in libc... " >&6; }
 
5245
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
5246
  $as_echo_n "(cached) " >&6
 
5247
else
 
5248
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5249
/* end confdefs.h.  */
 
5250
 
 
5251
#include <libintl.h>
 
5252
 
 
5253
int
 
5254
main ()
 
5255
{
 
5256
return !dgettext ("","")
 
5257
  ;
 
5258
  return 0;
 
5259
}
 
5260
_ACEOF
 
5261
if ac_fn_c_try_link "$LINENO"; then :
 
5262
  gt_cv_func_dgettext_libc=yes
 
5263
else
 
5264
  gt_cv_func_dgettext_libc=no
 
5265
fi
 
5266
rm -f core conftest.err conftest.$ac_objext \
 
5267
    conftest$ac_exeext conftest.$ac_ext
 
5268
 
 
5269
fi
 
5270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
5271
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
5272
      fi
 
5273
 
 
5274
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
5275
        for ac_func in bind_textdomain_codeset
 
5276
do :
 
5277
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5278
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
5279
  cat >>confdefs.h <<_ACEOF
 
5280
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
5281
_ACEOF
 
5282
 
 
5283
fi
 
5284
done
 
5285
 
 
5286
      fi
 
5287
 
 
5288
      #
 
5289
      # If we don't have everything we want, check in libintl
 
5290
      #
 
5291
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
5292
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
5293
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
5294
 
 
5295
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
5296
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
5297
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
5298
  $as_echo_n "(cached) " >&6
 
5299
else
 
5300
  ac_check_lib_save_LIBS=$LIBS
 
5301
LIBS="-lintl  $LIBS"
 
5302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5303
/* end confdefs.h.  */
 
5304
 
 
5305
/* Override any GCC internal prototype to avoid an error.
 
5306
   Use char because int might match the return type of a GCC
 
5307
   builtin and then its argument prototype would still apply.  */
 
5308
#ifdef __cplusplus
 
5309
extern "C"
 
5310
#endif
 
5311
char bindtextdomain ();
 
5312
int
 
5313
main ()
 
5314
{
 
5315
return bindtextdomain ();
 
5316
  ;
 
5317
  return 0;
 
5318
}
 
5319
_ACEOF
 
5320
if ac_fn_c_try_link "$LINENO"; then :
 
5321
  ac_cv_lib_intl_bindtextdomain=yes
 
5322
else
 
5323
  ac_cv_lib_intl_bindtextdomain=no
 
5324
fi
 
5325
rm -f core conftest.err conftest.$ac_objext \
 
5326
    conftest$ac_exeext conftest.$ac_ext
 
5327
LIBS=$ac_check_lib_save_LIBS
 
5328
fi
 
5329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
5330
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
5331
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
5332
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5333
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5334
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
5335
  $as_echo_n "(cached) " >&6
 
5336
else
 
5337
  ac_check_lib_save_LIBS=$LIBS
 
5338
LIBS="-lintl  $LIBS"
 
5339
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5340
/* end confdefs.h.  */
 
5341
 
 
5342
/* Override any GCC internal prototype to avoid an error.
 
5343
   Use char because int might match the return type of a GCC
 
5344
   builtin and then its argument prototype would still apply.  */
 
5345
#ifdef __cplusplus
 
5346
extern "C"
 
5347
#endif
 
5348
char ngettext ();
 
5349
int
 
5350
main ()
 
5351
{
 
5352
return ngettext ();
 
5353
  ;
 
5354
  return 0;
 
5355
}
 
5356
_ACEOF
 
5357
if ac_fn_c_try_link "$LINENO"; then :
 
5358
  ac_cv_lib_intl_ngettext=yes
 
5359
else
 
5360
  ac_cv_lib_intl_ngettext=no
 
5361
fi
 
5362
rm -f core conftest.err conftest.$ac_objext \
 
5363
    conftest$ac_exeext conftest.$ac_ext
 
5364
LIBS=$ac_check_lib_save_LIBS
 
5365
fi
 
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5367
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5368
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
5369
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
5370
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
5371
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
5372
  $as_echo_n "(cached) " >&6
 
5373
else
 
5374
  ac_check_lib_save_LIBS=$LIBS
 
5375
LIBS="-lintl  $LIBS"
 
5376
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5377
/* end confdefs.h.  */
 
5378
 
 
5379
/* Override any GCC internal prototype to avoid an error.
 
5380
   Use char because int might match the return type of a GCC
 
5381
   builtin and then its argument prototype would still apply.  */
 
5382
#ifdef __cplusplus
 
5383
extern "C"
 
5384
#endif
 
5385
char dgettext ();
 
5386
int
 
5387
main ()
 
5388
{
 
5389
return dgettext ();
 
5390
  ;
 
5391
  return 0;
 
5392
}
 
5393
_ACEOF
 
5394
if ac_fn_c_try_link "$LINENO"; then :
 
5395
  ac_cv_lib_intl_dgettext=yes
 
5396
else
 
5397
  ac_cv_lib_intl_dgettext=no
 
5398
fi
 
5399
rm -f core conftest.err conftest.$ac_objext \
 
5400
    conftest$ac_exeext conftest.$ac_ext
 
5401
LIBS=$ac_check_lib_save_LIBS
 
5402
fi
 
5403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
5404
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
5405
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
5406
  gt_cv_func_dgettext_libintl=yes
 
5407
fi
 
5408
 
 
5409
fi
 
5410
 
 
5411
fi
 
5412
 
 
5413
 
 
5414
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
5415
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
5416
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
5417
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
5418
$as_echo "" >&6; }
 
5419
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5420
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5421
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
5422
  $as_echo_n "(cached) " >&6
 
5423
else
 
5424
  ac_check_lib_save_LIBS=$LIBS
 
5425
LIBS="-lintl -liconv $LIBS"
 
5426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5427
/* end confdefs.h.  */
 
5428
 
 
5429
/* Override any GCC internal prototype to avoid an error.
 
5430
   Use char because int might match the return type of a GCC
 
5431
   builtin and then its argument prototype would still apply.  */
 
5432
#ifdef __cplusplus
 
5433
extern "C"
 
5434
#endif
 
5435
char ngettext ();
 
5436
int
 
5437
main ()
 
5438
{
 
5439
return ngettext ();
 
5440
  ;
 
5441
  return 0;
 
5442
}
 
5443
_ACEOF
 
5444
if ac_fn_c_try_link "$LINENO"; then :
 
5445
  ac_cv_lib_intl_ngettext=yes
 
5446
else
 
5447
  ac_cv_lib_intl_ngettext=no
 
5448
fi
 
5449
rm -f core conftest.err conftest.$ac_objext \
 
5450
    conftest$ac_exeext conftest.$ac_ext
 
5451
LIBS=$ac_check_lib_save_LIBS
 
5452
fi
 
5453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5454
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5455
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
5456
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
5457
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
5458
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
5459
  $as_echo_n "(cached) " >&6
 
5460
else
 
5461
  ac_check_lib_save_LIBS=$LIBS
 
5462
LIBS="-lintl -liconv $LIBS"
 
5463
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5464
/* end confdefs.h.  */
 
5465
 
 
5466
/* Override any GCC internal prototype to avoid an error.
 
5467
   Use char because int might match the return type of a GCC
 
5468
   builtin and then its argument prototype would still apply.  */
 
5469
#ifdef __cplusplus
 
5470
extern "C"
 
5471
#endif
 
5472
char dcgettext ();
 
5473
int
 
5474
main ()
 
5475
{
 
5476
return dcgettext ();
 
5477
  ;
 
5478
  return 0;
 
5479
}
 
5480
_ACEOF
 
5481
if ac_fn_c_try_link "$LINENO"; then :
 
5482
  ac_cv_lib_intl_dcgettext=yes
 
5483
else
 
5484
  ac_cv_lib_intl_dcgettext=no
 
5485
fi
 
5486
rm -f core conftest.err conftest.$ac_objext \
 
5487
    conftest$ac_exeext conftest.$ac_ext
 
5488
LIBS=$ac_check_lib_save_LIBS
 
5489
fi
 
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
5491
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
5492
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
5493
  gt_cv_func_dgettext_libintl=yes
 
5494
                        libintl_extra_libs=-liconv
 
5495
else
 
5496
  :
 
5497
fi
 
5498
 
 
5499
else
 
5500
  :
 
5501
fi
 
5502
 
 
5503
        fi
 
5504
 
 
5505
        #
 
5506
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
5507
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
5508
        # and both have dgettext and ngettext
 
5509
        #
 
5510
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
5511
          glib_save_LIBS="$LIBS"
 
5512
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
5513
          unset ac_cv_func_bind_textdomain_codeset
 
5514
          for ac_func in bind_textdomain_codeset
 
5515
do :
 
5516
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5517
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
5518
  cat >>confdefs.h <<_ACEOF
 
5519
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
5520
_ACEOF
 
5521
 
 
5522
fi
 
5523
done
 
5524
 
 
5525
          LIBS="$glib_save_LIBS"
 
5526
 
 
5527
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
5528
            gt_cv_func_dgettext_libc=no
 
5529
          else
 
5530
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
5531
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
5532
              gt_cv_func_dgettext_libintl=no
 
5533
            fi
 
5534
          fi
 
5535
        fi
 
5536
      fi
 
5537
 
 
5538
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
5539
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
5540
        gt_cv_have_gettext=yes
 
5541
      fi
 
5542
 
 
5543
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
5544
        INTLLIBS="-lintl $libintl_extra_libs"
 
5545
      fi
 
5546
 
 
5547
      if test "$gt_cv_have_gettext" = "yes"; then
 
5548
 
 
5549
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
5550
 
 
5551
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
5552
set dummy msgfmt; ac_word=$2
 
5553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5554
$as_echo_n "checking for $ac_word... " >&6; }
 
5555
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
5556
  $as_echo_n "(cached) " >&6
 
5557
else
 
5558
  case "$MSGFMT" in
 
5559
  /*)
 
5560
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
5561
  ;;
 
5562
  *)
 
5563
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
5564
  for ac_dir in $PATH; do
 
5565
    test -z "$ac_dir" && ac_dir=.
 
5566
    if test -f $ac_dir/$ac_word; then
 
5567
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
5568
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
5569
        break
 
5570
      fi
 
5571
    fi
 
5572
  done
 
5573
  IFS="$ac_save_ifs"
 
5574
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
5575
  ;;
 
5576
esac
 
5577
fi
 
5578
MSGFMT="$ac_cv_path_MSGFMT"
 
5579
if test "$MSGFMT" != "no"; then
 
5580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
5581
$as_echo "$MSGFMT" >&6; }
 
5582
else
 
5583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5584
$as_echo "no" >&6; }
 
5585
fi
 
5586
        if test "$MSGFMT" != "no"; then
 
5587
          glib_save_LIBS="$LIBS"
 
5588
          LIBS="$LIBS $INTLLIBS"
 
5589
          for ac_func in dcgettext
 
5590
do :
 
5591
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
5592
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
5593
  cat >>confdefs.h <<_ACEOF
 
5594
#define HAVE_DCGETTEXT 1
 
5595
_ACEOF
 
5596
 
 
5597
fi
 
5598
done
 
5599
 
 
5600
          MSGFMT_OPTS=
 
5601
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
5602
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
5603
          cat >conftest.foo <<_ACEOF
 
5604
 
 
5605
msgid ""
 
5606
msgstr ""
 
5607
"Content-Type: text/plain; charset=UTF-8\n"
 
5608
"Project-Id-Version: test 1.0\n"
 
5609
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
5610
"Last-Translator: test <foo@bar.xx>\n"
 
5611
"Language-Team: C <LL@li.org>\n"
 
5612
"MIME-Version: 1.0\n"
 
5613
"Content-Transfer-Encoding: 8bit\n"
 
5614
 
 
5615
_ACEOF
 
5616
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
5617
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
5618
  ac_status=$?
 
5619
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5620
  test $ac_status = 0; }; then
 
5621
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5622
$as_echo "yes" >&6; }
 
5623
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5624
$as_echo "no" >&6; }
 
5625
echo "$as_me: failed input was:" >&5
 
5626
sed 's/^/| /' conftest.foo >&5
 
5627
fi
 
5628
 
 
5629
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
5630
set dummy gmsgfmt; ac_word=$2
 
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5632
$as_echo_n "checking for $ac_word... " >&6; }
 
5633
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
5634
  $as_echo_n "(cached) " >&6
 
5635
else
 
5636
  case $GMSGFMT in
 
5637
  [\\/]* | ?:[\\/]*)
 
5638
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
5639
  ;;
 
5640
  *)
 
5641
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5642
for as_dir in $PATH
 
5643
do
 
5644
  IFS=$as_save_IFS
 
5645
  test -z "$as_dir" && as_dir=.
 
5646
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5647
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5648
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
5649
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5650
    break 2
 
5651
  fi
 
5652
done
 
5653
  done
 
5654
IFS=$as_save_IFS
 
5655
 
 
5656
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
5657
  ;;
 
5658
esac
 
5659
fi
 
5660
GMSGFMT=$ac_cv_path_GMSGFMT
 
5661
if test -n "$GMSGFMT"; then
 
5662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
5663
$as_echo "$GMSGFMT" >&6; }
 
5664
else
 
5665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5666
$as_echo "no" >&6; }
 
5667
fi
 
5668
 
 
5669
 
 
5670
          # Extract the first word of "xgettext", so it can be a program name with args.
 
5671
set dummy xgettext; ac_word=$2
 
5672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5673
$as_echo_n "checking for $ac_word... " >&6; }
 
5674
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
5675
  $as_echo_n "(cached) " >&6
 
5676
else
 
5677
  case "$XGETTEXT" in
 
5678
  /*)
 
5679
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
5680
  ;;
 
5681
  *)
 
5682
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
5683
  for ac_dir in $PATH; do
 
5684
    test -z "$ac_dir" && ac_dir=.
 
5685
    if test -f $ac_dir/$ac_word; then
 
5686
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
5687
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
5688
        break
 
5689
      fi
 
5690
    fi
 
5691
  done
 
5692
  IFS="$ac_save_ifs"
 
5693
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
5694
  ;;
 
5695
esac
 
5696
fi
 
5697
XGETTEXT="$ac_cv_path_XGETTEXT"
 
5698
if test "$XGETTEXT" != ":"; then
 
5699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
5700
$as_echo "$XGETTEXT" >&6; }
 
5701
else
 
5702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5703
$as_echo "no" >&6; }
 
5704
fi
 
5705
 
 
5706
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5707
/* end confdefs.h.  */
 
5708
 
 
5709
int
 
5710
main ()
 
5711
{
 
5712
extern int _nl_msg_cat_cntr;
 
5713
                         return _nl_msg_cat_cntr
 
5714
  ;
 
5715
  return 0;
 
5716
}
 
5717
_ACEOF
 
5718
if ac_fn_c_try_link "$LINENO"; then :
 
5719
  CATOBJEXT=.gmo
 
5720
             DATADIRNAME=share
 
5721
else
 
5722
  case $host in
 
5723
            *-*-solaris*)
 
5724
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5725
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
5726
  CATOBJEXT=.gmo
 
5727
               DATADIRNAME=share
 
5728
else
 
5729
  CATOBJEXT=.mo
 
5730
               DATADIRNAME=lib
 
5731
fi
 
5732
 
 
5733
            ;;
 
5734
            *)
 
5735
            CATOBJEXT=.mo
 
5736
            DATADIRNAME=lib
 
5737
            ;;
 
5738
            esac
 
5739
fi
 
5740
rm -f core conftest.err conftest.$ac_objext \
 
5741
    conftest$ac_exeext conftest.$ac_ext
 
5742
          LIBS="$glib_save_LIBS"
 
5743
          INSTOBJEXT=.mo
 
5744
        else
 
5745
          gt_cv_have_gettext=no
 
5746
        fi
 
5747
      fi
 
5748
 
 
5749
fi
 
5750
 
 
5751
 
 
5752
 
 
5753
    if test "$gt_cv_have_gettext" = "yes" ; then
 
5754
 
 
5755
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
5756
 
 
5757
    fi
 
5758
 
 
5759
        if test "$XGETTEXT" != ":"; then
 
5760
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
5761
        : ;
 
5762
      else
 
5763
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
5764
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
5765
        XGETTEXT=":"
 
5766
      fi
 
5767
    fi
 
5768
 
 
5769
    # We need to process the po/ directory.
 
5770
    POSUB=po
 
5771
 
 
5772
    ac_config_commands="$ac_config_commands default-1"
 
5773
 
 
5774
 
 
5775
                for lang in $ALL_LINGUAS; do
 
5776
      GMOFILES="$GMOFILES $lang.gmo"
 
5777
      POFILES="$POFILES $lang.po"
 
5778
    done
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
   if test "$gt_cv_have_gettext" = "yes"; then
 
5793
     if test "x$ALL_LINGUAS" = "x"; then
 
5794
       LINGUAS=
 
5795
     else
 
5796
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
5797
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
5798
       NEW_LINGUAS=
 
5799
       for presentlang in $ALL_LINGUAS; do
 
5800
         useit=no
 
5801
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
5802
           desiredlanguages="$LINGUAS"
 
5803
         else
 
5804
           desiredlanguages="$ALL_LINGUAS"
 
5805
         fi
 
5806
         for desiredlang in $desiredlanguages; do
 
5807
           # Use the presentlang catalog if desiredlang is
 
5808
           #   a. equal to presentlang, or
 
5809
           #   b. a variant of presentlang (because in this case,
 
5810
           #      presentlang can be used as a fallback for messages
 
5811
           #      which are not translated in the desiredlang catalog).
 
5812
           case "$desiredlang" in
 
5813
             "$presentlang"*) useit=yes;;
 
5814
           esac
 
5815
         done
 
5816
         if test $useit = yes; then
 
5817
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
5818
         fi
 
5819
       done
 
5820
       LINGUAS=$NEW_LINGUAS
 
5821
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
5822
$as_echo "$LINGUAS" >&6; }
 
5823
     fi
 
5824
 
 
5825
          if test -n "$LINGUAS"; then
 
5826
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
5827
     fi
 
5828
   fi
 
5829
 
 
5830
            MKINSTALLDIRS=
 
5831
   if test -n "$ac_aux_dir"; then
 
5832
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
5833
   fi
 
5834
   if test -z "$MKINSTALLDIRS"; then
 
5835
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
5836
   fi
 
5837
 
 
5838
 
 
5839
         test -d po || mkdir po
 
5840
   if test "x$srcdir" != "x."; then
 
5841
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
5842
       posrcprefix="$srcdir/"
 
5843
     else
 
5844
       posrcprefix="../$srcdir/"
 
5845
     fi
 
5846
   else
 
5847
     posrcprefix="../"
 
5848
   fi
 
5849
   rm -f po/POTFILES
 
5850
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
5851
        < $srcdir/po/POTFILES.in > po/POTFILES
 
5852
 
 
5853
 
 
5854
 
 
5855
  list="-DG_DISABLE_DEPRECATED
 
5856
        -DPANGO_DISABLE_DEPRECATED
 
5857
        -DGDK_DISABLE_DEPRECATED
 
5858
        -DGDK_PIXBUF_DISABLE_DEPRECATED
 
5859
        -DGTK_DISABLE_DEPRECATED
 
5860
        -DGNOME_DISABLE_DEPRECATED
 
5861
        -DG_DISABLE_SINGLE_INCLUDES
 
5862
        -DGTK_DISABLE_SINGLE_INCLUDES
 
5863
        -Wall -Wextra
 
5864
        -Wno-missing-field-initializers
 
5865
        -Wno-sign-compare
 
5866
        -Wno-unused-parameter
 
5867
        -Wdeclaration-after-statement
 
5868
        -Werror-implicit-function-declaration
 
5869
        -Wformat-nonliteral -Wformat-security -Winit-self
 
5870
        -Wmissing-declarations -Wmissing-include-dirs
 
5871
        -Wmissing-noreturn -Wnested-externs -Wpointer-arith
 
5872
        -Wredundant-decls -Wundef -Wwrite-strings"
 
5873
  flags_supported=""
 
5874
  flags_unsupported=""
 
5875
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
 
5876
$as_echo_n "checking for supported compiler flags... " >&6; }
 
5877
  for each in $list
 
5878
  do
 
5879
    save_CFLAGS="$CFLAGS"
 
5880
    CFLAGS="$CFLAGS $each"
 
5881
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5882
/* end confdefs.h.  */
 
5883
 
 
5884
int
 
5885
main ()
 
5886
{
 
5887
 
 
5888
  ;
 
5889
  return 0;
 
5890
}
 
5891
_ACEOF
 
5892
if ac_fn_c_try_compile "$LINENO"; then :
 
5893
  flag_ok=yes
 
5894
else
 
5895
  flag_ok=no
 
5896
fi
 
5897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5898
    CFLAGS="$save_CFLAGS"
 
5899
 
 
5900
    if test "X$flag_ok" = Xyes ; then
 
5901
      flags_supported="$flags_supported $each"
 
5902
    else
 
5903
      flags_unsupported="$flags_unsupported $each"
 
5904
    fi
 
5905
  done
 
5906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
 
5907
$as_echo "$flags_supported" >&6; }
 
5908
  if test "X$flags_unsupported" != X ; then
 
5909
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
 
5910
$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
 
5911
  fi
 
5912
  WARNING_FLAGS="$WARNING_FLAGS $flags_supported"
 
5913
 
 
5914
 
 
5915
 
 
5916
 
 
5917
CFLAGS="$CFLAGS $WARNING_FLAGS -fno-strict-aliasing"
 
5918
 
 
5919
ac_ext=c
 
5920
ac_cpp='$CPP $CPPFLAGS'
 
5921
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5922
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5923
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5924
if test -n "$ac_tool_prefix"; then
 
5925
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
5926
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5928
$as_echo_n "checking for $ac_word... " >&6; }
 
5929
if test "${ac_cv_prog_CC+set}" = set; then :
 
5930
  $as_echo_n "(cached) " >&6
 
5931
else
 
5932
  if test -n "$CC"; then
 
5933
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5934
else
 
5935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5936
for as_dir in $PATH
 
5937
do
 
5938
  IFS=$as_save_IFS
 
5939
  test -z "$as_dir" && as_dir=.
 
5940
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5941
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5942
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
5943
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5944
    break 2
 
5945
  fi
 
5946
done
 
5947
  done
 
5948
IFS=$as_save_IFS
 
5949
 
 
5950
fi
 
5951
fi
 
5952
CC=$ac_cv_prog_CC
 
5953
if test -n "$CC"; then
 
5954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5955
$as_echo "$CC" >&6; }
 
5956
else
 
5957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5958
$as_echo "no" >&6; }
 
5959
fi
 
5960
 
 
5961
 
 
5962
fi
 
5963
if test -z "$ac_cv_prog_CC"; then
 
5964
  ac_ct_CC=$CC
 
5965
  # Extract the first word of "gcc", so it can be a program name with args.
 
5966
set dummy gcc; ac_word=$2
 
5967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5968
$as_echo_n "checking for $ac_word... " >&6; }
 
5969
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
5970
  $as_echo_n "(cached) " >&6
 
5971
else
 
5972
  if test -n "$ac_ct_CC"; then
 
5973
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5974
else
 
5975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5976
for as_dir in $PATH
 
5977
do
 
5978
  IFS=$as_save_IFS
 
5979
  test -z "$as_dir" && as_dir=.
 
5980
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5981
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5982
    ac_cv_prog_ac_ct_CC="gcc"
 
5983
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5984
    break 2
 
5985
  fi
 
5986
done
 
5987
  done
 
5988
IFS=$as_save_IFS
 
5989
 
 
5990
fi
 
5991
fi
 
5992
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5993
if test -n "$ac_ct_CC"; then
 
5994
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
5995
$as_echo "$ac_ct_CC" >&6; }
 
5996
else
 
5997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5998
$as_echo "no" >&6; }
 
5999
fi
 
6000
 
 
6001
  if test "x$ac_ct_CC" = x; then
 
6002
    CC=""
 
6003
  else
 
6004
    case $cross_compiling:$ac_tool_warned in
 
6005
yes:)
 
6006
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6007
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6008
ac_tool_warned=yes ;;
 
6009
esac
 
6010
    CC=$ac_ct_CC
 
6011
  fi
 
6012
else
 
6013
  CC="$ac_cv_prog_CC"
 
6014
fi
 
6015
 
 
6016
if test -z "$CC"; then
 
6017
          if test -n "$ac_tool_prefix"; then
 
6018
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
6019
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
6020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6021
$as_echo_n "checking for $ac_word... " >&6; }
 
6022
if test "${ac_cv_prog_CC+set}" = set; then :
 
6023
  $as_echo_n "(cached) " >&6
 
6024
else
 
6025
  if test -n "$CC"; then
 
6026
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6027
else
 
6028
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6029
for as_dir in $PATH
 
6030
do
 
6031
  IFS=$as_save_IFS
 
6032
  test -z "$as_dir" && as_dir=.
 
6033
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6034
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6035
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
6036
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6037
    break 2
 
6038
  fi
 
6039
done
 
6040
  done
 
6041
IFS=$as_save_IFS
 
6042
 
 
6043
fi
 
6044
fi
 
6045
CC=$ac_cv_prog_CC
 
6046
if test -n "$CC"; then
 
6047
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
6048
$as_echo "$CC" >&6; }
 
6049
else
 
6050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6051
$as_echo "no" >&6; }
 
6052
fi
 
6053
 
 
6054
 
 
6055
  fi
 
6056
fi
 
6057
if test -z "$CC"; then
 
6058
  # Extract the first word of "cc", so it can be a program name with args.
 
6059
set dummy cc; ac_word=$2
 
6060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6061
$as_echo_n "checking for $ac_word... " >&6; }
 
6062
if test "${ac_cv_prog_CC+set}" = set; then :
 
6063
  $as_echo_n "(cached) " >&6
 
6064
else
 
6065
  if test -n "$CC"; then
 
6066
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6067
else
 
6068
  ac_prog_rejected=no
 
6069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6070
for as_dir in $PATH
 
6071
do
 
6072
  IFS=$as_save_IFS
 
6073
  test -z "$as_dir" && as_dir=.
 
6074
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6076
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
6077
       ac_prog_rejected=yes
 
6078
       continue
 
6079
     fi
 
6080
    ac_cv_prog_CC="cc"
 
6081
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6082
    break 2
 
6083
  fi
 
6084
done
 
6085
  done
 
6086
IFS=$as_save_IFS
 
6087
 
 
6088
if test $ac_prog_rejected = yes; then
 
6089
  # We found a bogon in the path, so make sure we never use it.
 
6090
  set dummy $ac_cv_prog_CC
 
6091
  shift
 
6092
  if test $# != 0; then
 
6093
    # We chose a different compiler from the bogus one.
 
6094
    # However, it has the same basename, so the bogon will be chosen
 
6095
    # first if we set CC to just the basename; use the full file name.
 
6096
    shift
 
6097
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
6098
  fi
 
6099
fi
 
6100
fi
 
6101
fi
 
6102
CC=$ac_cv_prog_CC
 
6103
if test -n "$CC"; then
 
6104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
6105
$as_echo "$CC" >&6; }
 
6106
else
 
6107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6108
$as_echo "no" >&6; }
 
6109
fi
 
6110
 
 
6111
 
 
6112
fi
 
6113
if test -z "$CC"; then
 
6114
  if test -n "$ac_tool_prefix"; then
 
6115
  for ac_prog in cl.exe
 
6116
  do
 
6117
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6118
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6120
$as_echo_n "checking for $ac_word... " >&6; }
 
6121
if test "${ac_cv_prog_CC+set}" = set; then :
 
6122
  $as_echo_n "(cached) " >&6
 
6123
else
 
6124
  if test -n "$CC"; then
 
6125
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
6126
else
 
6127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6128
for as_dir in $PATH
 
6129
do
 
6130
  IFS=$as_save_IFS
 
6131
  test -z "$as_dir" && as_dir=.
 
6132
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6134
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
6135
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6136
    break 2
 
6137
  fi
 
6138
done
 
6139
  done
 
6140
IFS=$as_save_IFS
 
6141
 
 
6142
fi
 
6143
fi
 
6144
CC=$ac_cv_prog_CC
 
6145
if test -n "$CC"; then
 
6146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
6147
$as_echo "$CC" >&6; }
 
6148
else
 
6149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6150
$as_echo "no" >&6; }
 
6151
fi
 
6152
 
 
6153
 
 
6154
    test -n "$CC" && break
 
6155
  done
 
6156
fi
 
6157
if test -z "$CC"; then
 
6158
  ac_ct_CC=$CC
 
6159
  for ac_prog in cl.exe
 
6160
do
 
6161
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6162
set dummy $ac_prog; ac_word=$2
 
6163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6164
$as_echo_n "checking for $ac_word... " >&6; }
 
6165
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
6166
  $as_echo_n "(cached) " >&6
 
6167
else
 
6168
  if test -n "$ac_ct_CC"; then
 
6169
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
6170
else
 
6171
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6172
for as_dir in $PATH
 
6173
do
 
6174
  IFS=$as_save_IFS
 
6175
  test -z "$as_dir" && as_dir=.
 
6176
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6177
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6178
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
6179
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6180
    break 2
 
6181
  fi
 
6182
done
 
6183
  done
 
6184
IFS=$as_save_IFS
 
6185
 
 
6186
fi
 
6187
fi
 
6188
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
6189
if test -n "$ac_ct_CC"; then
 
6190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
6191
$as_echo "$ac_ct_CC" >&6; }
 
6192
else
 
6193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6194
$as_echo "no" >&6; }
 
6195
fi
 
6196
 
 
6197
 
 
6198
  test -n "$ac_ct_CC" && break
 
6199
done
 
6200
 
 
6201
  if test "x$ac_ct_CC" = x; then
 
6202
    CC=""
 
6203
  else
 
6204
    case $cross_compiling:$ac_tool_warned in
 
6205
yes:)
 
6206
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6207
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6208
ac_tool_warned=yes ;;
 
6209
esac
 
6210
    CC=$ac_ct_CC
 
6211
  fi
 
6212
fi
 
6213
 
 
6214
fi
 
6215
 
 
6216
 
 
6217
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
6218
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6219
as_fn_error "no acceptable C compiler found in \$PATH
 
6220
See \`config.log' for more details." "$LINENO" 5; }
 
6221
 
 
6222
# Provide some information about the compiler.
 
6223
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
6224
set X $ac_compile
 
6225
ac_compiler=$2
 
6226
for ac_option in --version -v -V -qversion; do
 
6227
  { { ac_try="$ac_compiler $ac_option >&5"
 
6228
case "(($ac_try" in
 
6229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6230
  *) ac_try_echo=$ac_try;;
 
6231
esac
 
6232
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
6233
$as_echo "$ac_try_echo"; } >&5
 
6234
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
6235
  ac_status=$?
 
6236
  if test -s conftest.err; then
 
6237
    sed '10a\
 
6238
... rest of stderr output deleted ...
 
6239
         10q' conftest.err >conftest.er1
 
6240
    cat conftest.er1 >&5
 
6241
  fi
 
6242
  rm -f conftest.er1 conftest.err
 
6243
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6244
  test $ac_status = 0; }
 
6245
done
 
6246
 
 
6247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
6248
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
6249
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
6250
  $as_echo_n "(cached) " >&6
 
6251
else
 
6252
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6253
/* end confdefs.h.  */
 
6254
 
 
6255
int
 
6256
main ()
 
6257
{
 
6258
#ifndef __GNUC__
 
6259
       choke me
 
6260
#endif
 
6261
 
 
6262
  ;
 
6263
  return 0;
 
6264
}
 
6265
_ACEOF
 
6266
if ac_fn_c_try_compile "$LINENO"; then :
 
6267
  ac_compiler_gnu=yes
 
6268
else
 
6269
  ac_compiler_gnu=no
 
6270
fi
 
6271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6272
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
6273
 
 
6274
fi
 
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
6276
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
6277
if test $ac_compiler_gnu = yes; then
 
6278
  GCC=yes
 
6279
else
 
6280
  GCC=
 
6281
fi
 
6282
ac_test_CFLAGS=${CFLAGS+set}
 
6283
ac_save_CFLAGS=$CFLAGS
 
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
6285
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
6286
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
6287
  $as_echo_n "(cached) " >&6
 
6288
else
 
6289
  ac_save_c_werror_flag=$ac_c_werror_flag
 
6290
   ac_c_werror_flag=yes
 
6291
   ac_cv_prog_cc_g=no
 
6292
   CFLAGS="-g"
 
6293
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6294
/* end confdefs.h.  */
 
6295
 
 
6296
int
 
6297
main ()
 
6298
{
 
6299
 
 
6300
  ;
 
6301
  return 0;
 
6302
}
 
6303
_ACEOF
 
6304
if ac_fn_c_try_compile "$LINENO"; then :
 
6305
  ac_cv_prog_cc_g=yes
 
6306
else
 
6307
  CFLAGS=""
 
6308
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6309
/* end confdefs.h.  */
 
6310
 
 
6311
int
 
6312
main ()
 
6313
{
 
6314
 
 
6315
  ;
 
6316
  return 0;
 
6317
}
 
6318
_ACEOF
 
6319
if ac_fn_c_try_compile "$LINENO"; then :
 
6320
 
 
6321
else
 
6322
  ac_c_werror_flag=$ac_save_c_werror_flag
 
6323
         CFLAGS="-g"
 
6324
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6325
/* end confdefs.h.  */
 
6326
 
 
6327
int
 
6328
main ()
 
6329
{
 
6330
 
 
6331
  ;
 
6332
  return 0;
 
6333
}
 
6334
_ACEOF
 
6335
if ac_fn_c_try_compile "$LINENO"; then :
 
6336
  ac_cv_prog_cc_g=yes
 
6337
fi
 
6338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6339
fi
 
6340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6341
fi
 
6342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6343
   ac_c_werror_flag=$ac_save_c_werror_flag
 
6344
fi
 
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
6346
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
6347
if test "$ac_test_CFLAGS" = set; then
 
6348
  CFLAGS=$ac_save_CFLAGS
 
6349
elif test $ac_cv_prog_cc_g = yes; then
 
6350
  if test "$GCC" = yes; then
 
6351
    CFLAGS="-g -O2"
 
6352
  else
 
6353
    CFLAGS="-g"
 
6354
  fi
 
6355
else
 
6356
  if test "$GCC" = yes; then
 
6357
    CFLAGS="-O2"
 
6358
  else
 
6359
    CFLAGS=
 
6360
  fi
 
6361
fi
 
6362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
6363
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
6364
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
6365
  $as_echo_n "(cached) " >&6
 
6366
else
 
6367
  ac_cv_prog_cc_c89=no
 
6368
ac_save_CC=$CC
 
6369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6370
/* end confdefs.h.  */
 
6371
#include <stdarg.h>
 
6372
#include <stdio.h>
 
6373
#include <sys/types.h>
 
6374
#include <sys/stat.h>
 
6375
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
6376
struct buf { int x; };
 
6377
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
6378
static char *e (p, i)
 
6379
     char **p;
 
6380
     int i;
 
6381
{
 
6382
  return p[i];
 
6383
}
 
6384
static char *f (char * (*g) (char **, int), char **p, ...)
 
6385
{
 
6386
  char *s;
 
6387
  va_list v;
 
6388
  va_start (v,p);
 
6389
  s = g (p, va_arg (v,int));
 
6390
  va_end (v);
 
6391
  return s;
 
6392
}
 
6393
 
 
6394
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
6395
   function prototypes and stuff, but not '\xHH' hex character constants.
 
6396
   These don't provoke an error unfortunately, instead are silently treated
 
6397
   as 'x'.  The following induces an error, until -std is added to get
 
6398
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
6399
   array size at least.  It's necessary to write '\x00'==0 to get something
 
6400
   that's true only with -std.  */
 
6401
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
6402
 
 
6403
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
6404
   inside strings and character constants.  */
 
6405
#define FOO(x) 'x'
 
6406
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
6407
 
 
6408
int test (int i, double x);
 
6409
struct s1 {int (*f) (int a);};
 
6410
struct s2 {int (*f) (double a);};
 
6411
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
6412
int argc;
 
6413
char **argv;
 
6414
int
 
6415
main ()
 
6416
{
 
6417
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
6418
  ;
 
6419
  return 0;
 
6420
}
 
6421
_ACEOF
 
6422
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
6423
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
6424
do
 
6425
  CC="$ac_save_CC $ac_arg"
 
6426
  if ac_fn_c_try_compile "$LINENO"; then :
 
6427
  ac_cv_prog_cc_c89=$ac_arg
 
6428
fi
 
6429
rm -f core conftest.err conftest.$ac_objext
 
6430
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
6431
done
 
6432
rm -f conftest.$ac_ext
 
6433
CC=$ac_save_CC
 
6434
 
 
6435
fi
 
6436
# AC_CACHE_VAL
 
6437
case "x$ac_cv_prog_cc_c89" in
 
6438
  x)
 
6439
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
6440
$as_echo "none needed" >&6; } ;;
 
6441
  xno)
 
6442
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
6443
$as_echo "unsupported" >&6; } ;;
 
6444
  *)
 
6445
    CC="$CC $ac_cv_prog_cc_c89"
 
6446
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
6447
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
6448
esac
 
6449
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
6450
 
 
6451
fi
 
6452
 
 
6453
ac_ext=c
 
6454
ac_cpp='$CPP $CPPFLAGS'
 
6455
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6456
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6457
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6458
 
 
6459
depcc="$CC"   am_compiler_list=
 
6460
 
 
6461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
6462
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
6463
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
6464
  $as_echo_n "(cached) " >&6
 
6465
else
 
6466
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6467
  # We make a subdir and do the tests there.  Otherwise we can end up
 
6468
  # making bogus files that we don't know about and never remove.  For
 
6469
  # instance it was reported that on HP-UX the gcc test will end up
 
6470
  # making a dummy file named `D' -- because `-MD' means `put the output
 
6471
  # in D'.
 
6472
  mkdir conftest.dir
 
6473
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6474
  # using a relative directory.
 
6475
  cp "$am_depcomp" conftest.dir
 
6476
  cd conftest.dir
 
6477
  # We will build objects and dependencies in a subdirectory because
 
6478
  # it helps to detect inapplicable dependency modes.  For instance
 
6479
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6480
  # side effect of compilation, but ICC will put the dependencies in
 
6481
  # the current directory while Tru64 will put them in the object
 
6482
  # directory.
 
6483
  mkdir sub
 
6484
 
 
6485
  am_cv_CC_dependencies_compiler_type=none
 
6486
  if test "$am_compiler_list" = ""; then
 
6487
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6488
  fi
 
6489
  am__universal=false
 
6490
  case " $depcc " in #(
 
6491
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
6492
     esac
 
6493
 
 
6494
  for depmode in $am_compiler_list; do
 
6495
    # Setup a source with many dependencies, because some compilers
 
6496
    # like to wrap large dependency lists on column 80 (with \), and
 
6497
    # we should not choose a depcomp mode which is confused by this.
 
6498
    #
 
6499
    # We need to recreate these files for each test, as the compiler may
 
6500
    # overwrite some of them when testing with obscure command lines.
 
6501
    # This happens at least with the AIX C compiler.
 
6502
    : > sub/conftest.c
 
6503
    for i in 1 2 3 4 5 6; do
 
6504
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6505
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6506
      # Solaris 8's {/usr,}/bin/sh.
 
6507
      touch sub/conftst$i.h
 
6508
    done
 
6509
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6510
 
 
6511
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6512
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6513
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
6514
    # versions had trouble with output in subdirs
 
6515
    am__obj=sub/conftest.${OBJEXT-o}
 
6516
    am__minus_obj="-o $am__obj"
 
6517
    case $depmode in
 
6518
    gcc)
 
6519
      # This depmode causes a compiler race in universal mode.
 
6520
      test "$am__universal" = false || continue
 
6521
      ;;
 
6522
    nosideeffect)
 
6523
      # after this tag, mechanisms are not by side-effect, so they'll
 
6524
      # only be used when explicitly requested
 
6525
      if test "x$enable_dependency_tracking" = xyes; then
 
6526
        continue
 
6527
      else
 
6528
        break
 
6529
      fi
 
6530
      ;;
 
6531
    msvisualcpp | msvcmsys)
 
6532
      # This compiler won't grok `-c -o', but also, the minuso test has
 
6533
      # not run yet.  These depmodes are late enough in the game, and
 
6534
      # so weak that their functioning should not be impacted.
 
6535
      am__obj=conftest.${OBJEXT-o}
 
6536
      am__minus_obj=
 
6537
      ;;
 
6538
    none) break ;;
 
6539
    esac
 
6540
    if depmode=$depmode \
 
6541
       source=sub/conftest.c object=$am__obj \
 
6542
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6543
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
6544
         >/dev/null 2>conftest.err &&
 
6545
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6546
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6547
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
6548
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6549
      # icc doesn't choke on unknown options, it will just issue warnings
 
6550
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6551
      # that says an option was ignored or not supported.
 
6552
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6553
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6554
      # The diagnosis changed in icc 8.0:
 
6555
      #   icc: Command line remark: option '-MP' not supported
 
6556
      if (grep 'ignoring option' conftest.err ||
 
6557
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6558
        am_cv_CC_dependencies_compiler_type=$depmode
 
6559
        break
 
6560
      fi
 
6561
    fi
 
6562
  done
 
6563
 
 
6564
  cd ..
 
6565
  rm -rf conftest.dir
 
6566
else
 
6567
  am_cv_CC_dependencies_compiler_type=none
 
6568
fi
 
6569
 
 
6570
fi
 
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
6572
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
6573
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
6574
 
 
6575
 if
 
6576
  test "x$enable_dependency_tracking" != xno \
 
6577
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
6578
  am__fastdepCC_TRUE=
 
6579
  am__fastdepCC_FALSE='#'
 
6580
else
 
6581
  am__fastdepCC_TRUE='#'
 
6582
  am__fastdepCC_FALSE=
 
6583
fi
 
6584
 
 
6585
 
 
6586
ac_ext=cpp
 
6587
ac_cpp='$CXXCPP $CPPFLAGS'
 
6588
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6589
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6590
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6591
if test -z "$CXX"; then
 
6592
  if test -n "$CCC"; then
 
6593
    CXX=$CCC
 
6594
  else
 
6595
    if test -n "$ac_tool_prefix"; then
 
6596
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
6597
  do
 
6598
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6599
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6601
$as_echo_n "checking for $ac_word... " >&6; }
 
6602
if test "${ac_cv_prog_CXX+set}" = set; then :
 
6603
  $as_echo_n "(cached) " >&6
 
6604
else
 
6605
  if test -n "$CXX"; then
 
6606
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
6607
else
 
6608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6609
for as_dir in $PATH
 
6610
do
 
6611
  IFS=$as_save_IFS
 
6612
  test -z "$as_dir" && as_dir=.
 
6613
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6614
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6615
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
6616
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6617
    break 2
 
6618
  fi
 
6619
done
 
6620
  done
 
6621
IFS=$as_save_IFS
 
6622
 
 
6623
fi
 
6624
fi
 
6625
CXX=$ac_cv_prog_CXX
 
6626
if test -n "$CXX"; then
 
6627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
6628
$as_echo "$CXX" >&6; }
 
6629
else
 
6630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6631
$as_echo "no" >&6; }
 
6632
fi
 
6633
 
 
6634
 
 
6635
    test -n "$CXX" && break
 
6636
  done
 
6637
fi
 
6638
if test -z "$CXX"; then
 
6639
  ac_ct_CXX=$CXX
 
6640
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
6641
do
 
6642
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6643
set dummy $ac_prog; ac_word=$2
 
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6645
$as_echo_n "checking for $ac_word... " >&6; }
 
6646
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
6647
  $as_echo_n "(cached) " >&6
 
6648
else
 
6649
  if test -n "$ac_ct_CXX"; then
 
6650
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
6651
else
 
6652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6653
for as_dir in $PATH
 
6654
do
 
6655
  IFS=$as_save_IFS
 
6656
  test -z "$as_dir" && as_dir=.
 
6657
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6659
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
6660
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6661
    break 2
 
6662
  fi
 
6663
done
 
6664
  done
 
6665
IFS=$as_save_IFS
 
6666
 
 
6667
fi
 
6668
fi
 
6669
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
6670
if test -n "$ac_ct_CXX"; then
 
6671
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
6672
$as_echo "$ac_ct_CXX" >&6; }
 
6673
else
 
6674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6675
$as_echo "no" >&6; }
 
6676
fi
 
6677
 
 
6678
 
 
6679
  test -n "$ac_ct_CXX" && break
 
6680
done
 
6681
 
 
6682
  if test "x$ac_ct_CXX" = x; then
 
6683
    CXX="g++"
 
6684
  else
 
6685
    case $cross_compiling:$ac_tool_warned in
 
6686
yes:)
 
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6688
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6689
ac_tool_warned=yes ;;
 
6690
esac
 
6691
    CXX=$ac_ct_CXX
 
6692
  fi
 
6693
fi
 
6694
 
 
6695
  fi
 
6696
fi
 
6697
# Provide some information about the compiler.
 
6698
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
6699
set X $ac_compile
 
6700
ac_compiler=$2
 
6701
for ac_option in --version -v -V -qversion; do
 
6702
  { { ac_try="$ac_compiler $ac_option >&5"
 
6703
case "(($ac_try" in
 
6704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6705
  *) ac_try_echo=$ac_try;;
 
6706
esac
 
6707
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
6708
$as_echo "$ac_try_echo"; } >&5
 
6709
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
6710
  ac_status=$?
 
6711
  if test -s conftest.err; then
 
6712
    sed '10a\
 
6713
... rest of stderr output deleted ...
 
6714
         10q' conftest.err >conftest.er1
 
6715
    cat conftest.er1 >&5
 
6716
  fi
 
6717
  rm -f conftest.er1 conftest.err
 
6718
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6719
  test $ac_status = 0; }
 
6720
done
 
6721
 
 
6722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
6723
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
6724
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
6725
  $as_echo_n "(cached) " >&6
 
6726
else
 
6727
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6728
/* end confdefs.h.  */
 
6729
 
 
6730
int
 
6731
main ()
 
6732
{
 
6733
#ifndef __GNUC__
 
6734
       choke me
 
6735
#endif
 
6736
 
 
6737
  ;
 
6738
  return 0;
 
6739
}
 
6740
_ACEOF
 
6741
if ac_fn_cxx_try_compile "$LINENO"; then :
 
6742
  ac_compiler_gnu=yes
 
6743
else
 
6744
  ac_compiler_gnu=no
 
6745
fi
 
6746
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6747
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
6748
 
 
6749
fi
 
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
6751
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
6752
if test $ac_compiler_gnu = yes; then
 
6753
  GXX=yes
 
6754
else
 
6755
  GXX=
 
6756
fi
 
6757
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
6758
ac_save_CXXFLAGS=$CXXFLAGS
 
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
6760
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
6761
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
6762
  $as_echo_n "(cached) " >&6
 
6763
else
 
6764
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
6765
   ac_cxx_werror_flag=yes
 
6766
   ac_cv_prog_cxx_g=no
 
6767
   CXXFLAGS="-g"
 
6768
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6769
/* end confdefs.h.  */
 
6770
 
 
6771
int
 
6772
main ()
 
6773
{
 
6774
 
 
6775
  ;
 
6776
  return 0;
 
6777
}
 
6778
_ACEOF
 
6779
if ac_fn_cxx_try_compile "$LINENO"; then :
 
6780
  ac_cv_prog_cxx_g=yes
 
6781
else
 
6782
  CXXFLAGS=""
 
6783
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6784
/* end confdefs.h.  */
 
6785
 
 
6786
int
 
6787
main ()
 
6788
{
 
6789
 
 
6790
  ;
 
6791
  return 0;
 
6792
}
 
6793
_ACEOF
 
6794
if ac_fn_cxx_try_compile "$LINENO"; then :
 
6795
 
 
6796
else
 
6797
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6798
         CXXFLAGS="-g"
 
6799
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6800
/* end confdefs.h.  */
 
6801
 
 
6802
int
 
6803
main ()
 
6804
{
 
6805
 
 
6806
  ;
 
6807
  return 0;
 
6808
}
 
6809
_ACEOF
 
6810
if ac_fn_cxx_try_compile "$LINENO"; then :
 
6811
  ac_cv_prog_cxx_g=yes
 
6812
fi
 
6813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6814
fi
 
6815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6816
fi
 
6817
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6818
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6819
fi
 
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
6821
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
6822
if test "$ac_test_CXXFLAGS" = set; then
 
6823
  CXXFLAGS=$ac_save_CXXFLAGS
 
6824
elif test $ac_cv_prog_cxx_g = yes; then
 
6825
  if test "$GXX" = yes; then
 
6826
    CXXFLAGS="-g -O2"
 
6827
  else
 
6828
    CXXFLAGS="-g"
 
6829
  fi
 
6830
else
 
6831
  if test "$GXX" = yes; then
 
6832
    CXXFLAGS="-O2"
 
6833
  else
 
6834
    CXXFLAGS=
 
6835
  fi
 
6836
fi
 
6837
ac_ext=c
 
6838
ac_cpp='$CPP $CPPFLAGS'
 
6839
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6840
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6841
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6842
 
 
6843
depcc="$CXX"  am_compiler_list=
 
6844
 
 
6845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
6846
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
6847
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
6848
  $as_echo_n "(cached) " >&6
 
6849
else
 
6850
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6851
  # We make a subdir and do the tests there.  Otherwise we can end up
 
6852
  # making bogus files that we don't know about and never remove.  For
 
6853
  # instance it was reported that on HP-UX the gcc test will end up
 
6854
  # making a dummy file named `D' -- because `-MD' means `put the output
 
6855
  # in D'.
 
6856
  mkdir conftest.dir
 
6857
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6858
  # using a relative directory.
 
6859
  cp "$am_depcomp" conftest.dir
 
6860
  cd conftest.dir
 
6861
  # We will build objects and dependencies in a subdirectory because
 
6862
  # it helps to detect inapplicable dependency modes.  For instance
 
6863
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6864
  # side effect of compilation, but ICC will put the dependencies in
 
6865
  # the current directory while Tru64 will put them in the object
 
6866
  # directory.
 
6867
  mkdir sub
 
6868
 
 
6869
  am_cv_CXX_dependencies_compiler_type=none
 
6870
  if test "$am_compiler_list" = ""; then
 
6871
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6872
  fi
 
6873
  am__universal=false
 
6874
  case " $depcc " in #(
 
6875
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
6876
     esac
 
6877
 
 
6878
  for depmode in $am_compiler_list; do
 
6879
    # Setup a source with many dependencies, because some compilers
 
6880
    # like to wrap large dependency lists on column 80 (with \), and
 
6881
    # we should not choose a depcomp mode which is confused by this.
 
6882
    #
 
6883
    # We need to recreate these files for each test, as the compiler may
 
6884
    # overwrite some of them when testing with obscure command lines.
 
6885
    # This happens at least with the AIX C compiler.
 
6886
    : > sub/conftest.c
 
6887
    for i in 1 2 3 4 5 6; do
 
6888
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6889
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6890
      # Solaris 8's {/usr,}/bin/sh.
 
6891
      touch sub/conftst$i.h
 
6892
    done
 
6893
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6894
 
 
6895
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6896
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6897
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
6898
    # versions had trouble with output in subdirs
 
6899
    am__obj=sub/conftest.${OBJEXT-o}
 
6900
    am__minus_obj="-o $am__obj"
 
6901
    case $depmode in
 
6902
    gcc)
 
6903
      # This depmode causes a compiler race in universal mode.
 
6904
      test "$am__universal" = false || continue
 
6905
      ;;
 
6906
    nosideeffect)
 
6907
      # after this tag, mechanisms are not by side-effect, so they'll
 
6908
      # only be used when explicitly requested
 
6909
      if test "x$enable_dependency_tracking" = xyes; then
 
6910
        continue
 
6911
      else
 
6912
        break
 
6913
      fi
 
6914
      ;;
 
6915
    msvisualcpp | msvcmsys)
 
6916
      # This compiler won't grok `-c -o', but also, the minuso test has
 
6917
      # not run yet.  These depmodes are late enough in the game, and
 
6918
      # so weak that their functioning should not be impacted.
 
6919
      am__obj=conftest.${OBJEXT-o}
 
6920
      am__minus_obj=
 
6921
      ;;
 
6922
    none) break ;;
 
6923
    esac
 
6924
    if depmode=$depmode \
 
6925
       source=sub/conftest.c object=$am__obj \
 
6926
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6927
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
6928
         >/dev/null 2>conftest.err &&
 
6929
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6930
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6931
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
6932
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6933
      # icc doesn't choke on unknown options, it will just issue warnings
 
6934
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6935
      # that says an option was ignored or not supported.
 
6936
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6937
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6938
      # The diagnosis changed in icc 8.0:
 
6939
      #   icc: Command line remark: option '-MP' not supported
 
6940
      if (grep 'ignoring option' conftest.err ||
 
6941
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6942
        am_cv_CXX_dependencies_compiler_type=$depmode
 
6943
        break
 
6944
      fi
 
6945
    fi
 
6946
  done
 
6947
 
 
6948
  cd ..
 
6949
  rm -rf conftest.dir
 
6950
else
 
6951
  am_cv_CXX_dependencies_compiler_type=none
 
6952
fi
 
6953
 
 
6954
fi
 
6955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6956
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
6957
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
6958
 
 
6959
 if
 
6960
  test "x$enable_dependency_tracking" != xno \
 
6961
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
6962
  am__fastdepCXX_TRUE=
 
6963
  am__fastdepCXX_FALSE='#'
 
6964
else
 
6965
  am__fastdepCXX_TRUE='#'
 
6966
  am__fastdepCXX_FALSE=
 
6967
fi
 
6968
 
 
6969
 
 
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
6971
$as_echo_n "checking for inline... " >&6; }
 
6972
if test "${ac_cv_c_inline+set}" = set; then :
 
6973
  $as_echo_n "(cached) " >&6
 
6974
else
 
6975
  ac_cv_c_inline=no
 
6976
for ac_kw in inline __inline__ __inline; do
 
6977
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6978
/* end confdefs.h.  */
 
6979
#ifndef __cplusplus
 
6980
typedef int foo_t;
 
6981
static $ac_kw foo_t static_foo () {return 0; }
 
6982
$ac_kw foo_t foo () {return 0; }
 
6983
#endif
 
6984
 
 
6985
_ACEOF
 
6986
if ac_fn_c_try_compile "$LINENO"; then :
 
6987
  ac_cv_c_inline=$ac_kw
 
6988
fi
 
6989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6990
  test "$ac_cv_c_inline" != no && break
 
6991
done
 
6992
 
 
6993
fi
 
6994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
6995
$as_echo "$ac_cv_c_inline" >&6; }
 
6996
 
 
6997
case $ac_cv_c_inline in
 
6998
  inline | yes) ;;
 
6999
  *)
 
7000
    case $ac_cv_c_inline in
 
7001
      no) ac_val=;;
 
7002
      *) ac_val=$ac_cv_c_inline;;
 
7003
    esac
 
7004
    cat >>confdefs.h <<_ACEOF
 
7005
#ifndef __cplusplus
 
7006
#define inline $ac_val
 
7007
#endif
 
7008
_ACEOF
 
7009
    ;;
 
7010
esac
 
7011
 
 
7012
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 
7013
# for constant arguments.  Useless!
 
7014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
 
7015
$as_echo_n "checking for working alloca.h... " >&6; }
 
7016
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
7017
  $as_echo_n "(cached) " >&6
 
7018
else
 
7019
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7020
/* end confdefs.h.  */
 
7021
#include <alloca.h>
 
7022
int
 
7023
main ()
 
7024
{
 
7025
char *p = (char *) alloca (2 * sizeof (int));
 
7026
                          if (p) return 0;
 
7027
  ;
 
7028
  return 0;
 
7029
}
 
7030
_ACEOF
 
7031
if ac_fn_c_try_link "$LINENO"; then :
 
7032
  ac_cv_working_alloca_h=yes
 
7033
else
 
7034
  ac_cv_working_alloca_h=no
 
7035
fi
 
7036
rm -f core conftest.err conftest.$ac_objext \
 
7037
    conftest$ac_exeext conftest.$ac_ext
 
7038
fi
 
7039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
 
7040
$as_echo "$ac_cv_working_alloca_h" >&6; }
 
7041
if test $ac_cv_working_alloca_h = yes; then
 
7042
 
 
7043
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
 
7044
 
 
7045
fi
 
7046
 
 
7047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
 
7048
$as_echo_n "checking for alloca... " >&6; }
 
7049
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
7050
  $as_echo_n "(cached) " >&6
 
7051
else
 
7052
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7053
/* end confdefs.h.  */
 
7054
#ifdef __GNUC__
 
7055
# define alloca __builtin_alloca
 
7056
#else
 
7057
# ifdef _MSC_VER
 
7058
#  include <malloc.h>
 
7059
#  define alloca _alloca
 
7060
# else
 
7061
#  ifdef HAVE_ALLOCA_H
 
7062
#   include <alloca.h>
 
7063
#  else
 
7064
#   ifdef _AIX
 
7065
 #pragma alloca
 
7066
#   else
 
7067
#    ifndef alloca /* predefined by HP cc +Olibcalls */
 
7068
char *alloca ();
 
7069
#    endif
 
7070
#   endif
 
7071
#  endif
 
7072
# endif
 
7073
#endif
 
7074
 
 
7075
int
 
7076
main ()
 
7077
{
 
7078
char *p = (char *) alloca (1);
 
7079
                                    if (p) return 0;
 
7080
  ;
 
7081
  return 0;
 
7082
}
 
7083
_ACEOF
 
7084
if ac_fn_c_try_link "$LINENO"; then :
 
7085
  ac_cv_func_alloca_works=yes
 
7086
else
 
7087
  ac_cv_func_alloca_works=no
 
7088
fi
 
7089
rm -f core conftest.err conftest.$ac_objext \
 
7090
    conftest$ac_exeext conftest.$ac_ext
 
7091
fi
 
7092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
 
7093
$as_echo "$ac_cv_func_alloca_works" >&6; }
 
7094
 
 
7095
if test $ac_cv_func_alloca_works = yes; then
 
7096
 
 
7097
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
 
7098
 
 
7099
else
 
7100
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 
7101
# that cause trouble.  Some versions do not even contain alloca or
 
7102
# contain a buggy version.  If you still want to use their alloca,
 
7103
# use ar to extract alloca.o from them instead of compiling alloca.c.
 
7104
 
 
7105
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 
7106
 
 
7107
$as_echo "#define C_ALLOCA 1" >>confdefs.h
 
7108
 
 
7109
 
 
7110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
 
7111
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 
7112
if test "${ac_cv_os_cray+set}" = set; then :
 
7113
  $as_echo_n "(cached) " >&6
 
7114
else
 
7115
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7116
/* end confdefs.h.  */
 
7117
#if defined CRAY && ! defined CRAY2
 
7118
webecray
 
7119
#else
 
7120
wenotbecray
 
7121
#endif
 
7122
 
 
7123
_ACEOF
 
7124
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7125
  $EGREP "webecray" >/dev/null 2>&1; then :
 
7126
  ac_cv_os_cray=yes
 
7127
else
 
7128
  ac_cv_os_cray=no
 
7129
fi
 
7130
rm -f conftest*
 
7131
 
 
7132
fi
 
7133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
 
7134
$as_echo "$ac_cv_os_cray" >&6; }
 
7135
if test $ac_cv_os_cray = yes; then
 
7136
  for ac_func in _getb67 GETB67 getb67; do
 
7137
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7138
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
7139
eval as_val=\$$as_ac_var
 
7140
   if test "x$as_val" = x""yes; then :
 
7141
 
 
7142
cat >>confdefs.h <<_ACEOF
 
7143
#define CRAY_STACKSEG_END $ac_func
 
7144
_ACEOF
 
7145
 
 
7146
    break
 
7147
fi
 
7148
 
 
7149
  done
 
7150
fi
 
7151
 
 
7152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
 
7153
$as_echo_n "checking stack direction for C alloca... " >&6; }
 
7154
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
7155
  $as_echo_n "(cached) " >&6
 
7156
else
 
7157
  if test "$cross_compiling" = yes; then :
 
7158
  ac_cv_c_stack_direction=0
 
7159
else
 
7160
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7161
/* end confdefs.h.  */
 
7162
$ac_includes_default
 
7163
int
 
7164
find_stack_direction ()
 
7165
{
 
7166
  static char *addr = 0;
 
7167
  auto char dummy;
 
7168
  if (addr == 0)
 
7169
    {
 
7170
      addr = &dummy;
 
7171
      return find_stack_direction ();
 
7172
    }
 
7173
  else
 
7174
    return (&dummy > addr) ? 1 : -1;
 
7175
}
 
7176
 
 
7177
int
 
7178
main ()
 
7179
{
 
7180
  return find_stack_direction () < 0;
 
7181
}
 
7182
_ACEOF
 
7183
if ac_fn_c_try_run "$LINENO"; then :
 
7184
  ac_cv_c_stack_direction=1
 
7185
else
 
7186
  ac_cv_c_stack_direction=-1
 
7187
fi
 
7188
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7189
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7190
fi
 
7191
 
 
7192
fi
 
7193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
 
7194
$as_echo "$ac_cv_c_stack_direction" >&6; }
 
7195
cat >>confdefs.h <<_ACEOF
 
7196
#define STACK_DIRECTION $ac_cv_c_stack_direction
 
7197
_ACEOF
 
7198
 
 
7199
 
 
7200
fi
 
7201
 
 
7202
for ac_header in stdlib.h
 
7203
do :
 
7204
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
7205
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
7206
  cat >>confdefs.h <<_ACEOF
 
7207
#define HAVE_STDLIB_H 1
 
7208
_ACEOF
 
7209
 
 
7210
fi
 
7211
 
 
7212
done
 
7213
 
 
7214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 
7215
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 
7216
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
7217
  $as_echo_n "(cached) " >&6
 
7218
else
 
7219
  if test "$cross_compiling" = yes; then :
 
7220
  ac_cv_func_malloc_0_nonnull=no
 
7221
else
 
7222
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7223
/* end confdefs.h.  */
 
7224
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
 
7225
# include <stdlib.h>
 
7226
#else
 
7227
char *malloc ();
 
7228
#endif
 
7229
 
 
7230
int
 
7231
main ()
 
7232
{
 
7233
return ! malloc (0);
 
7234
  ;
 
7235
  return 0;
 
7236
}
 
7237
_ACEOF
 
7238
if ac_fn_c_try_run "$LINENO"; then :
 
7239
  ac_cv_func_malloc_0_nonnull=yes
 
7240
else
 
7241
  ac_cv_func_malloc_0_nonnull=no
 
7242
fi
 
7243
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7244
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7245
fi
 
7246
 
 
7247
fi
 
7248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 
7249
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 
7250
if test $ac_cv_func_malloc_0_nonnull = yes; then :
 
7251
 
 
7252
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
 
7253
 
 
7254
else
 
7255
  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
 
7256
 
 
7257
   case " $LIBOBJS " in
 
7258
  *" malloc.$ac_objext "* ) ;;
 
7259
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 
7260
 ;;
 
7261
esac
 
7262
 
 
7263
 
 
7264
$as_echo "#define malloc rpl_malloc" >>confdefs.h
 
7265
 
 
7266
fi
 
7267
 
 
7268
 
 
7269
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
7270
if test "x$ac_cv_type_size_t" = x""yes; then :
 
7271
 
 
7272
else
 
7273
 
 
7274
cat >>confdefs.h <<_ACEOF
 
7275
#define size_t unsigned int
 
7276
_ACEOF
 
7277
 
 
7278
fi
 
7279
 
 
7280
 
 
7281
for ac_func in memchr memmove memset regcomp setlocale strchr strcspn strrchr strstr strtol strtoull
 
7282
do :
 
7283
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7284
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
7285
eval as_val=\$$as_ac_var
 
7286
   if test "x$as_val" = x""yes; then :
 
7287
  cat >>confdefs.h <<_ACEOF
 
7288
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7289
_ACEOF
 
7290
 
 
7291
fi
 
7292
done
 
7293
 
 
7294
for ac_header in fcntl.h libintl.h
 
7295
do :
 
7296
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7297
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
7298
eval as_val=\$$as_ac_Header
 
7299
   if test "x$as_val" = x""yes; then :
 
7300
  cat >>confdefs.h <<_ACEOF
 
7301
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7302
_ACEOF
 
7303
 
 
7304
fi
 
7305
 
 
7306
done
 
7307
 
 
7308
 
 
7309
 
 
7310
case `pwd` in
 
7311
  *\ * | *\     *)
 
7312
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
7313
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
7314
esac
 
7315
 
 
7316
 
 
7317
 
 
7318
macro_version='2.2.6b'
 
7319
macro_revision='1.3017'
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
 
 
7330
 
 
7331
 
 
7332
 
 
7333
ltmain="$ac_aux_dir/ltmain.sh"
 
7334
 
 
7335
# Make sure we can run config.sub.
 
7336
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
7337
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
7338
 
 
7339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
7340
$as_echo_n "checking build system type... " >&6; }
 
7341
if test "${ac_cv_build+set}" = set; then :
 
7342
  $as_echo_n "(cached) " >&6
 
7343
else
 
7344
  ac_build_alias=$build_alias
 
7345
test "x$ac_build_alias" = x &&
 
7346
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
7347
test "x$ac_build_alias" = x &&
 
7348
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
7349
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
7350
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
7351
 
 
7352
fi
 
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
7354
$as_echo "$ac_cv_build" >&6; }
 
7355
case $ac_cv_build in
 
7356
*-*-*) ;;
 
7357
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
7358
esac
 
7359
build=$ac_cv_build
 
7360
ac_save_IFS=$IFS; IFS='-'
 
7361
set x $ac_cv_build
 
7362
shift
 
7363
build_cpu=$1
 
7364
build_vendor=$2
 
7365
shift; shift
 
7366
# Remember, the first character of IFS is used to create $*,
 
7367
# except with old shells:
 
7368
build_os=$*
 
7369
IFS=$ac_save_IFS
 
7370
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
7371
 
 
7372
 
 
7373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
7374
$as_echo_n "checking host system type... " >&6; }
 
7375
if test "${ac_cv_host+set}" = set; then :
 
7376
  $as_echo_n "(cached) " >&6
 
7377
else
 
7378
  if test "x$host_alias" = x; then
 
7379
  ac_cv_host=$ac_cv_build
 
7380
else
 
7381
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
7382
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
7383
fi
 
7384
 
 
7385
fi
 
7386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
7387
$as_echo "$ac_cv_host" >&6; }
 
7388
case $ac_cv_host in
 
7389
*-*-*) ;;
 
7390
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
7391
esac
 
7392
host=$ac_cv_host
 
7393
ac_save_IFS=$IFS; IFS='-'
 
7394
set x $ac_cv_host
 
7395
shift
 
7396
host_cpu=$1
 
7397
host_vendor=$2
 
7398
shift; shift
 
7399
# Remember, the first character of IFS is used to create $*,
 
7400
# except with old shells:
 
7401
host_os=$*
 
7402
IFS=$ac_save_IFS
 
7403
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
7404
 
 
7405
 
 
7406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
7407
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
7408
if test "${ac_cv_path_SED+set}" = set; then :
 
7409
  $as_echo_n "(cached) " >&6
 
7410
else
 
7411
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
7412
     for ac_i in 1 2 3 4 5 6 7; do
 
7413
       ac_script="$ac_script$as_nl$ac_script"
 
7414
     done
 
7415
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
7416
     { ac_script=; unset ac_script;}
 
7417
     if test -z "$SED"; then
 
7418
  ac_path_SED_found=false
 
7419
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7420
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7421
for as_dir in $PATH
 
7422
do
 
7423
  IFS=$as_save_IFS
 
7424
  test -z "$as_dir" && as_dir=.
 
7425
    for ac_prog in sed gsed; do
 
7426
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7427
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
7428
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
7429
# Check for GNU ac_path_SED and select it if it is found.
 
7430
  # Check for GNU $ac_path_SED
 
7431
case `"$ac_path_SED" --version 2>&1` in
 
7432
*GNU*)
 
7433
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
7434
*)
 
7435
  ac_count=0
 
7436
  $as_echo_n 0123456789 >"conftest.in"
 
7437
  while :
 
7438
  do
 
7439
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7440
    mv "conftest.tmp" "conftest.in"
 
7441
    cp "conftest.in" "conftest.nl"
 
7442
    $as_echo '' >> "conftest.nl"
 
7443
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7444
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7445
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7446
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
7447
      # Best one so far, save it but keep looking for a better one
 
7448
      ac_cv_path_SED="$ac_path_SED"
 
7449
      ac_path_SED_max=$ac_count
 
7450
    fi
 
7451
    # 10*(2^10) chars as input seems more than enough
 
7452
    test $ac_count -gt 10 && break
 
7453
  done
 
7454
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7455
esac
 
7456
 
 
7457
      $ac_path_SED_found && break 3
 
7458
    done
 
7459
  done
 
7460
  done
 
7461
IFS=$as_save_IFS
 
7462
  if test -z "$ac_cv_path_SED"; then
 
7463
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
7464
  fi
 
7465
else
 
7466
  ac_cv_path_SED=$SED
 
7467
fi
 
7468
 
 
7469
fi
 
7470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
7471
$as_echo "$ac_cv_path_SED" >&6; }
 
7472
 SED="$ac_cv_path_SED"
 
7473
  rm -f conftest.sed
 
7474
 
 
7475
test -z "$SED" && SED=sed
 
7476
Xsed="$SED -e 1s/^X//"
 
7477
 
 
7478
 
 
7479
 
 
7480
 
 
7481
 
 
7482
 
 
7483
 
 
7484
 
 
7485
 
 
7486
 
 
7487
 
 
7488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
7489
$as_echo_n "checking for fgrep... " >&6; }
 
7490
if test "${ac_cv_path_FGREP+set}" = set; then :
 
7491
  $as_echo_n "(cached) " >&6
 
7492
else
 
7493
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
7494
   then ac_cv_path_FGREP="$GREP -F"
 
7495
   else
 
7496
     if test -z "$FGREP"; then
 
7497
  ac_path_FGREP_found=false
 
7498
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7499
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7500
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
7501
do
 
7502
  IFS=$as_save_IFS
 
7503
  test -z "$as_dir" && as_dir=.
 
7504
    for ac_prog in fgrep; do
 
7505
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7506
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
7507
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
7508
# Check for GNU ac_path_FGREP and select it if it is found.
 
7509
  # Check for GNU $ac_path_FGREP
 
7510
case `"$ac_path_FGREP" --version 2>&1` in
 
7511
*GNU*)
 
7512
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
7513
*)
 
7514
  ac_count=0
 
7515
  $as_echo_n 0123456789 >"conftest.in"
 
7516
  while :
 
7517
  do
 
7518
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7519
    mv "conftest.tmp" "conftest.in"
 
7520
    cp "conftest.in" "conftest.nl"
 
7521
    $as_echo 'FGREP' >> "conftest.nl"
 
7522
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7523
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7524
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7525
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
7526
      # Best one so far, save it but keep looking for a better one
 
7527
      ac_cv_path_FGREP="$ac_path_FGREP"
 
7528
      ac_path_FGREP_max=$ac_count
 
7529
    fi
 
7530
    # 10*(2^10) chars as input seems more than enough
 
7531
    test $ac_count -gt 10 && break
 
7532
  done
 
7533
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7534
esac
 
7535
 
 
7536
      $ac_path_FGREP_found && break 3
 
7537
    done
 
7538
  done
 
7539
  done
 
7540
IFS=$as_save_IFS
 
7541
  if test -z "$ac_cv_path_FGREP"; then
 
7542
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
7543
  fi
 
7544
else
 
7545
  ac_cv_path_FGREP=$FGREP
 
7546
fi
 
7547
 
 
7548
   fi
 
7549
fi
 
7550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
7551
$as_echo "$ac_cv_path_FGREP" >&6; }
 
7552
 FGREP="$ac_cv_path_FGREP"
 
7553
 
 
7554
 
 
7555
test -z "$GREP" && GREP=grep
 
7556
 
 
7557
 
 
7558
 
 
7559
 
 
7560
 
 
7561
 
 
7562
 
 
7563
 
 
7564
 
 
7565
 
 
7566
 
 
7567
 
 
7568
 
 
7569
 
 
7570
 
 
7571
 
 
7572
 
 
7573
 
 
7574
 
 
7575
# Check whether --with-gnu-ld was given.
 
7576
if test "${with_gnu_ld+set}" = set; then :
 
7577
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
7578
else
 
7579
  with_gnu_ld=no
 
7580
fi
 
7581
 
 
7582
ac_prog=ld
 
7583
if test "$GCC" = yes; then
 
7584
  # Check if gcc -print-prog-name=ld gives a path.
 
7585
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
7586
$as_echo_n "checking for ld used by $CC... " >&6; }
 
7587
  case $host in
 
7588
  *-*-mingw*)
 
7589
    # gcc leaves a trailing carriage return which upsets mingw
 
7590
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
7591
  *)
 
7592
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
7593
  esac
 
7594
  case $ac_prog in
 
7595
    # Accept absolute paths.
 
7596
    [\\/]* | ?:[\\/]*)
 
7597
      re_direlt='/[^/][^/]*/\.\./'
 
7598
      # Canonicalize the pathname of ld
 
7599
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
7600
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
7601
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
7602
      done
 
7603
      test -z "$LD" && LD="$ac_prog"
 
7604
      ;;
 
7605
  "")
 
7606
    # If it fails, then pretend we aren't using GCC.
 
7607
    ac_prog=ld
 
7608
    ;;
 
7609
  *)
 
7610
    # If it is relative, then search for the first ld in PATH.
 
7611
    with_gnu_ld=unknown
 
7612
    ;;
 
7613
  esac
 
7614
elif test "$with_gnu_ld" = yes; then
 
7615
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
7616
$as_echo_n "checking for GNU ld... " >&6; }
 
7617
else
 
7618
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
7619
$as_echo_n "checking for non-GNU ld... " >&6; }
 
7620
fi
 
7621
if test "${lt_cv_path_LD+set}" = set; then :
 
7622
  $as_echo_n "(cached) " >&6
 
7623
else
 
7624
  if test -z "$LD"; then
 
7625
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7626
  for ac_dir in $PATH; do
 
7627
    IFS="$lt_save_ifs"
 
7628
    test -z "$ac_dir" && ac_dir=.
 
7629
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
7630
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
7631
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
7632
      # but apparently some variants of GNU ld only accept -v.
 
7633
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
7634
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
7635
      *GNU* | *'with BFD'*)
 
7636
        test "$with_gnu_ld" != no && break
 
7637
        ;;
 
7638
      *)
 
7639
        test "$with_gnu_ld" != yes && break
 
7640
        ;;
 
7641
      esac
 
7642
    fi
 
7643
  done
 
7644
  IFS="$lt_save_ifs"
 
7645
else
 
7646
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
7647
fi
 
7648
fi
 
7649
 
 
7650
LD="$lt_cv_path_LD"
 
7651
if test -n "$LD"; then
 
7652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
7653
$as_echo "$LD" >&6; }
 
7654
else
 
7655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7656
$as_echo "no" >&6; }
 
7657
fi
 
7658
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
7659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
7660
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
7661
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
7662
  $as_echo_n "(cached) " >&6
 
7663
else
 
7664
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
7665
case `$LD -v 2>&1 </dev/null` in
 
7666
*GNU* | *'with BFD'*)
 
7667
  lt_cv_prog_gnu_ld=yes
 
7668
  ;;
 
7669
*)
 
7670
  lt_cv_prog_gnu_ld=no
 
7671
  ;;
 
7672
esac
 
7673
fi
 
7674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
7675
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
7676
with_gnu_ld=$lt_cv_prog_gnu_ld
 
7677
 
 
7678
 
 
7679
 
 
7680
 
 
7681
 
 
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
7687
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
7688
if test "${lt_cv_path_NM+set}" = set; then :
 
7689
  $as_echo_n "(cached) " >&6
 
7690
else
 
7691
  if test -n "$NM"; then
 
7692
  # Let the user override the test.
 
7693
  lt_cv_path_NM="$NM"
 
7694
else
 
7695
  lt_nm_to_check="${ac_tool_prefix}nm"
 
7696
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
7697
    lt_nm_to_check="$lt_nm_to_check nm"
 
7698
  fi
 
7699
  for lt_tmp_nm in $lt_nm_to_check; do
 
7700
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7701
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
7702
      IFS="$lt_save_ifs"
 
7703
      test -z "$ac_dir" && ac_dir=.
 
7704
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
7705
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
7706
        # Check to see if the nm accepts a BSD-compat flag.
 
7707
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
7708
        #   nm: unknown option "B" ignored
 
7709
        # Tru64's nm complains that /dev/null is an invalid object file
 
7710
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
7711
        */dev/null* | *'Invalid file or object type'*)
 
7712
          lt_cv_path_NM="$tmp_nm -B"
 
7713
          break
 
7714
          ;;
 
7715
        *)
 
7716
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
7717
          */dev/null*)
 
7718
            lt_cv_path_NM="$tmp_nm -p"
 
7719
            break
 
7720
            ;;
 
7721
          *)
 
7722
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
7723
            continue # so that we can try to find one that supports BSD flags
 
7724
            ;;
 
7725
          esac
 
7726
          ;;
 
7727
        esac
 
7728
      fi
 
7729
    done
 
7730
    IFS="$lt_save_ifs"
 
7731
  done
 
7732
  : ${lt_cv_path_NM=no}
 
7733
fi
 
7734
fi
 
7735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
7736
$as_echo "$lt_cv_path_NM" >&6; }
 
7737
if test "$lt_cv_path_NM" != "no"; then
 
7738
  NM="$lt_cv_path_NM"
 
7739
else
 
7740
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
7741
  if test -n "$ac_tool_prefix"; then
 
7742
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7743
  do
 
7744
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7745
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7747
$as_echo_n "checking for $ac_word... " >&6; }
 
7748
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
7749
  $as_echo_n "(cached) " >&6
 
7750
else
 
7751
  if test -n "$DUMPBIN"; then
 
7752
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7753
else
 
7754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7755
for as_dir in $PATH
 
7756
do
 
7757
  IFS=$as_save_IFS
 
7758
  test -z "$as_dir" && as_dir=.
 
7759
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7761
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7762
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7763
    break 2
 
7764
  fi
 
7765
done
 
7766
  done
 
7767
IFS=$as_save_IFS
 
7768
 
 
7769
fi
 
7770
fi
 
7771
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7772
if test -n "$DUMPBIN"; then
 
7773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
7774
$as_echo "$DUMPBIN" >&6; }
 
7775
else
 
7776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7777
$as_echo "no" >&6; }
 
7778
fi
 
7779
 
 
7780
 
 
7781
    test -n "$DUMPBIN" && break
 
7782
  done
 
7783
fi
 
7784
if test -z "$DUMPBIN"; then
 
7785
  ac_ct_DUMPBIN=$DUMPBIN
 
7786
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7787
do
 
7788
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7789
set dummy $ac_prog; ac_word=$2
 
7790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7791
$as_echo_n "checking for $ac_word... " >&6; }
 
7792
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
7793
  $as_echo_n "(cached) " >&6
 
7794
else
 
7795
  if test -n "$ac_ct_DUMPBIN"; then
 
7796
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7797
else
 
7798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7799
for as_dir in $PATH
 
7800
do
 
7801
  IFS=$as_save_IFS
 
7802
  test -z "$as_dir" && as_dir=.
 
7803
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7805
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7806
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7807
    break 2
 
7808
  fi
 
7809
done
 
7810
  done
 
7811
IFS=$as_save_IFS
 
7812
 
 
7813
fi
 
7814
fi
 
7815
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7816
if test -n "$ac_ct_DUMPBIN"; then
 
7817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
7818
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7819
else
 
7820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7821
$as_echo "no" >&6; }
 
7822
fi
 
7823
 
 
7824
 
 
7825
  test -n "$ac_ct_DUMPBIN" && break
 
7826
done
 
7827
 
 
7828
  if test "x$ac_ct_DUMPBIN" = x; then
 
7829
    DUMPBIN=":"
 
7830
  else
 
7831
    case $cross_compiling:$ac_tool_warned in
 
7832
yes:)
 
7833
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7834
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7835
ac_tool_warned=yes ;;
 
7836
esac
 
7837
    DUMPBIN=$ac_ct_DUMPBIN
 
7838
  fi
 
7839
fi
 
7840
 
 
7841
 
 
7842
  if test "$DUMPBIN" != ":"; then
 
7843
    NM="$DUMPBIN"
 
7844
  fi
 
7845
fi
 
7846
test -z "$NM" && NM=nm
 
7847
 
 
7848
 
 
7849
 
 
7850
 
 
7851
 
 
7852
 
 
7853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
7854
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7855
if test "${lt_cv_nm_interface+set}" = set; then :
 
7856
  $as_echo_n "(cached) " >&6
 
7857
else
 
7858
  lt_cv_nm_interface="BSD nm"
 
7859
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7860
  (eval echo "\"\$as_me:7860: $ac_compile\"" >&5)
 
7861
  (eval "$ac_compile" 2>conftest.err)
 
7862
  cat conftest.err >&5
 
7863
  (eval echo "\"\$as_me:7863: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7864
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7865
  cat conftest.err >&5
 
7866
  (eval echo "\"\$as_me:7866: output\"" >&5)
 
7867
  cat conftest.out >&5
 
7868
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7869
    lt_cv_nm_interface="MS dumpbin"
 
7870
  fi
 
7871
  rm -f conftest*
 
7872
fi
 
7873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
7874
$as_echo "$lt_cv_nm_interface" >&6; }
 
7875
 
 
7876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
7877
$as_echo_n "checking whether ln -s works... " >&6; }
 
7878
LN_S=$as_ln_s
 
7879
if test "$LN_S" = "ln -s"; then
 
7880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7881
$as_echo "yes" >&6; }
 
7882
else
 
7883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
7884
$as_echo "no, using $LN_S" >&6; }
 
7885
fi
 
7886
 
 
7887
# find the maximum length of command line arguments
 
7888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
7889
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7890
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
7891
  $as_echo_n "(cached) " >&6
 
7892
else
 
7893
    i=0
 
7894
  teststring="ABCD"
 
7895
 
 
7896
  case $build_os in
 
7897
  msdosdjgpp*)
 
7898
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7899
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7900
    # during glob expansion).  Even if it were fixed, the result of this
 
7901
    # check would be larger than it should be.
 
7902
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7903
    ;;
 
7904
 
 
7905
  gnu*)
 
7906
    # Under GNU Hurd, this test is not required because there is
 
7907
    # no limit to the length of command line arguments.
 
7908
    # Libtool will interpret -1 as no limit whatsoever
 
7909
    lt_cv_sys_max_cmd_len=-1;
 
7910
    ;;
 
7911
 
 
7912
  cygwin* | mingw* | cegcc*)
 
7913
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7914
    # about 5 minutes as the teststring grows exponentially.
 
7915
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7916
    # you end up with a "frozen" computer, even though with patience
 
7917
    # the test eventually succeeds (with a max line length of 256k).
 
7918
    # Instead, let's just punt: use the minimum linelength reported by
 
7919
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7920
    lt_cv_sys_max_cmd_len=8192;
 
7921
    ;;
 
7922
 
 
7923
  amigaos*)
 
7924
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7925
    # So we just punt and use a minimum line length of 8192.
 
7926
    lt_cv_sys_max_cmd_len=8192;
 
7927
    ;;
 
7928
 
 
7929
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7930
    # This has been around since 386BSD, at least.  Likely further.
 
7931
    if test -x /sbin/sysctl; then
 
7932
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7933
    elif test -x /usr/sbin/sysctl; then
 
7934
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7935
    else
 
7936
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7937
    fi
 
7938
    # And add a safety zone
 
7939
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7940
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7941
    ;;
 
7942
 
 
7943
  interix*)
 
7944
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7945
    lt_cv_sys_max_cmd_len=196608
 
7946
    ;;
 
7947
 
 
7948
  osf*)
 
7949
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7950
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7951
    # nice to cause kernel panics so lets avoid the loop below.
 
7952
    # First set a reasonable default.
 
7953
    lt_cv_sys_max_cmd_len=16384
 
7954
    #
 
7955
    if test -x /sbin/sysconfig; then
 
7956
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7957
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7958
      esac
 
7959
    fi
 
7960
    ;;
 
7961
  sco3.2v5*)
 
7962
    lt_cv_sys_max_cmd_len=102400
 
7963
    ;;
 
7964
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7965
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7966
    if test -n "$kargmax"; then
 
7967
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7968
    else
 
7969
      lt_cv_sys_max_cmd_len=32768
 
7970
    fi
 
7971
    ;;
 
7972
  *)
 
7973
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7974
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7975
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7976
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7977
    else
 
7978
      # Make teststring a little bigger before we do anything with it.
 
7979
      # a 1K string should be a reasonable start.
 
7980
      for i in 1 2 3 4 5 6 7 8 ; do
 
7981
        teststring=$teststring$teststring
 
7982
      done
 
7983
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7984
      # If test is not a shell built-in, we'll probably end up computing a
 
7985
      # maximum length that is only half of the actual maximum length, but
 
7986
      # we can't tell.
 
7987
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
7988
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
7989
              test $i != 17 # 1/2 MB should be enough
 
7990
      do
 
7991
        i=`expr $i + 1`
 
7992
        teststring=$teststring$teststring
 
7993
      done
 
7994
      # Only check the string length outside the loop.
 
7995
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7996
      teststring=
 
7997
      # Add a significant safety factor because C++ compilers can tack on
 
7998
      # massive amounts of additional arguments before passing them to the
 
7999
      # linker.  It appears as though 1/2 is a usable value.
 
8000
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
8001
    fi
 
8002
    ;;
 
8003
  esac
 
8004
 
 
8005
fi
 
8006
 
 
8007
if test -n $lt_cv_sys_max_cmd_len ; then
 
8008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
8009
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
8010
else
 
8011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
8012
$as_echo "none" >&6; }
 
8013
fi
 
8014
max_cmd_len=$lt_cv_sys_max_cmd_len
 
8015
 
 
8016
 
 
8017
 
 
8018
 
 
8019
 
 
8020
 
 
8021
: ${CP="cp -f"}
 
8022
: ${MV="mv -f"}
 
8023
: ${RM="rm -f"}
 
8024
 
 
8025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
8026
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
8027
# Try some XSI features
 
8028
xsi_shell=no
 
8029
( _lt_dummy="a/b/c"
 
8030
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
8031
      = c,a/b,, \
 
8032
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
8033
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
8034
  && xsi_shell=yes
 
8035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
8036
$as_echo "$xsi_shell" >&6; }
 
8037
 
 
8038
 
 
8039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
8040
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
8041
lt_shell_append=no
 
8042
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
8043
    >/dev/null 2>&1 \
 
8044
  && lt_shell_append=yes
 
8045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
8046
$as_echo "$lt_shell_append" >&6; }
 
8047
 
 
8048
 
 
8049
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
8050
  lt_unset=unset
 
8051
else
 
8052
  lt_unset=false
 
8053
fi
 
8054
 
 
8055
 
 
8056
 
 
8057
 
 
8058
 
 
8059
# test EBCDIC or ASCII
 
8060
case `echo X|tr X '\101'` in
 
8061
 A) # ASCII based system
 
8062
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
8063
  lt_SP2NL='tr \040 \012'
 
8064
  lt_NL2SP='tr \015\012 \040\040'
 
8065
  ;;
 
8066
 *) # EBCDIC based system
 
8067
  lt_SP2NL='tr \100 \n'
 
8068
  lt_NL2SP='tr \r\n \100\100'
 
8069
  ;;
 
8070
esac
 
8071
 
 
8072
 
 
8073
 
 
8074
 
 
8075
 
 
8076
 
 
8077
 
 
8078
 
 
8079
 
 
8080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
8081
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
8082
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
8083
  $as_echo_n "(cached) " >&6
 
8084
else
 
8085
  lt_cv_ld_reload_flag='-r'
 
8086
fi
 
8087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
8088
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
8089
reload_flag=$lt_cv_ld_reload_flag
 
8090
case $reload_flag in
 
8091
"" | " "*) ;;
 
8092
*) reload_flag=" $reload_flag" ;;
 
8093
esac
 
8094
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
8095
case $host_os in
 
8096
  darwin*)
 
8097
    if test "$GCC" = yes; then
 
8098
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
8099
    else
 
8100
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
8101
    fi
 
8102
    ;;
 
8103
esac
 
8104
 
 
8105
 
 
8106
 
 
8107
 
 
8108
 
 
8109
 
 
8110
 
 
8111
 
 
8112
 
 
8113
if test -n "$ac_tool_prefix"; then
 
8114
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
8115
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
8116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8117
$as_echo_n "checking for $ac_word... " >&6; }
 
8118
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
8119
  $as_echo_n "(cached) " >&6
 
8120
else
 
8121
  if test -n "$OBJDUMP"; then
 
8122
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
8123
else
 
8124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8125
for as_dir in $PATH
 
8126
do
 
8127
  IFS=$as_save_IFS
 
8128
  test -z "$as_dir" && as_dir=.
 
8129
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8130
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8131
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
8132
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8133
    break 2
 
8134
  fi
 
8135
done
 
8136
  done
 
8137
IFS=$as_save_IFS
 
8138
 
 
8139
fi
 
8140
fi
 
8141
OBJDUMP=$ac_cv_prog_OBJDUMP
 
8142
if test -n "$OBJDUMP"; then
 
8143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
8144
$as_echo "$OBJDUMP" >&6; }
 
8145
else
 
8146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8147
$as_echo "no" >&6; }
 
8148
fi
 
8149
 
 
8150
 
 
8151
fi
 
8152
if test -z "$ac_cv_prog_OBJDUMP"; then
 
8153
  ac_ct_OBJDUMP=$OBJDUMP
 
8154
  # Extract the first word of "objdump", so it can be a program name with args.
 
8155
set dummy objdump; ac_word=$2
 
8156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8157
$as_echo_n "checking for $ac_word... " >&6; }
 
8158
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
8159
  $as_echo_n "(cached) " >&6
 
8160
else
 
8161
  if test -n "$ac_ct_OBJDUMP"; then
 
8162
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
8163
else
 
8164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8165
for as_dir in $PATH
 
8166
do
 
8167
  IFS=$as_save_IFS
 
8168
  test -z "$as_dir" && as_dir=.
 
8169
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8170
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8171
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
8172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8173
    break 2
 
8174
  fi
 
8175
done
 
8176
  done
 
8177
IFS=$as_save_IFS
 
8178
 
 
8179
fi
 
8180
fi
 
8181
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
8182
if test -n "$ac_ct_OBJDUMP"; then
 
8183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
8184
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
8185
else
 
8186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8187
$as_echo "no" >&6; }
 
8188
fi
 
8189
 
 
8190
  if test "x$ac_ct_OBJDUMP" = x; then
 
8191
    OBJDUMP="false"
 
8192
  else
 
8193
    case $cross_compiling:$ac_tool_warned in
 
8194
yes:)
 
8195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8196
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8197
ac_tool_warned=yes ;;
 
8198
esac
 
8199
    OBJDUMP=$ac_ct_OBJDUMP
 
8200
  fi
 
8201
else
 
8202
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
8203
fi
 
8204
 
 
8205
test -z "$OBJDUMP" && OBJDUMP=objdump
 
8206
 
 
8207
 
 
8208
 
 
8209
 
 
8210
 
 
8211
 
 
8212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
8213
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
8214
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
8215
  $as_echo_n "(cached) " >&6
 
8216
else
 
8217
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
8218
lt_cv_file_magic_test_file=
 
8219
lt_cv_deplibs_check_method='unknown'
 
8220
# Need to set the preceding variable on all platforms that support
 
8221
# interlibrary dependencies.
 
8222
# 'none' -- dependencies not supported.
 
8223
# `unknown' -- same as none, but documents that we really don't know.
 
8224
# 'pass_all' -- all dependencies passed with no checks.
 
8225
# 'test_compile' -- check by making test program.
 
8226
# 'file_magic [[regex]]' -- check by looking for files in library path
 
8227
# which responds to the $file_magic_cmd with a given extended regex.
 
8228
# If you have `file' or equivalent on your system and you're not sure
 
8229
# whether `pass_all' will *always* work, you probably want this one.
 
8230
 
 
8231
case $host_os in
 
8232
aix[4-9]*)
 
8233
  lt_cv_deplibs_check_method=pass_all
 
8234
  ;;
 
8235
 
 
8236
beos*)
 
8237
  lt_cv_deplibs_check_method=pass_all
 
8238
  ;;
 
8239
 
 
8240
bsdi[45]*)
 
8241
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
8242
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
8243
  lt_cv_file_magic_test_file=/shlib/libc.so
 
8244
  ;;
 
8245
 
 
8246
cygwin*)
 
8247
  # func_win32_libid is a shell function defined in ltmain.sh
 
8248
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
8249
  lt_cv_file_magic_cmd='func_win32_libid'
 
8250
  ;;
 
8251
 
 
8252
mingw* | pw32*)
 
8253
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
8254
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
8255
  # unless we find 'file', for example because we are cross-compiling.
 
8256
  if ( file / ) >/dev/null 2>&1; then
 
8257
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
8258
    lt_cv_file_magic_cmd='func_win32_libid'
 
8259
  else
 
8260
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
8261
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
8262
  fi
 
8263
  ;;
 
8264
 
 
8265
cegcc)
 
8266
  # use the weaker test based on 'objdump'. See mingw*.
 
8267
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
8268
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
8269
  ;;
 
8270
 
 
8271
darwin* | rhapsody*)
 
8272
  lt_cv_deplibs_check_method=pass_all
 
8273
  ;;
 
8274
 
 
8275
freebsd* | dragonfly*)
 
8276
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
8277
    case $host_cpu in
 
8278
    i*86 )
 
8279
      # Not sure whether the presence of OpenBSD here was a mistake.
 
8280
      # Let's accept both of them until this is cleared up.
 
8281
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
8282
      lt_cv_file_magic_cmd=/usr/bin/file
 
8283
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
8284
      ;;
 
8285
    esac
 
8286
  else
 
8287
    lt_cv_deplibs_check_method=pass_all
 
8288
  fi
 
8289
  ;;
 
8290
 
 
8291
gnu*)
 
8292
  lt_cv_deplibs_check_method=pass_all
 
8293
  ;;
 
8294
 
 
8295
hpux10.20* | hpux11*)
 
8296
  lt_cv_file_magic_cmd=/usr/bin/file
 
8297
  case $host_cpu in
 
8298
  ia64*)
 
8299
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
8300
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
8301
    ;;
 
8302
  hppa*64*)
 
8303
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
8304
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
8305
    ;;
 
8306
  *)
 
8307
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
8308
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
8309
    ;;
 
8310
  esac
 
8311
  ;;
 
8312
 
 
8313
interix[3-9]*)
 
8314
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
8315
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
8316
  ;;
 
8317
 
 
8318
irix5* | irix6* | nonstopux*)
 
8319
  case $LD in
 
8320
  *-32|*"-32 ") libmagic=32-bit;;
 
8321
  *-n32|*"-n32 ") libmagic=N32;;
 
8322
  *-64|*"-64 ") libmagic=64-bit;;
 
8323
  *) libmagic=never-match;;
 
8324
  esac
 
8325
  lt_cv_deplibs_check_method=pass_all
 
8326
  ;;
 
8327
 
 
8328
# This must be Linux ELF.
 
8329
linux* | k*bsd*-gnu)
 
8330
  lt_cv_deplibs_check_method=pass_all
 
8331
  ;;
 
8332
 
 
8333
netbsd*)
 
8334
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
8335
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
8336
  else
 
8337
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
8338
  fi
 
8339
  ;;
 
8340
 
 
8341
newos6*)
 
8342
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
8343
  lt_cv_file_magic_cmd=/usr/bin/file
 
8344
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
8345
  ;;
 
8346
 
 
8347
*nto* | *qnx*)
 
8348
  lt_cv_deplibs_check_method=pass_all
 
8349
  ;;
 
8350
 
 
8351
openbsd*)
 
8352
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8353
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
8354
  else
 
8355
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
8356
  fi
 
8357
  ;;
 
8358
 
 
8359
osf3* | osf4* | osf5*)
 
8360
  lt_cv_deplibs_check_method=pass_all
 
8361
  ;;
 
8362
 
 
8363
rdos*)
 
8364
  lt_cv_deplibs_check_method=pass_all
 
8365
  ;;
 
8366
 
 
8367
solaris*)
 
8368
  lt_cv_deplibs_check_method=pass_all
 
8369
  ;;
 
8370
 
 
8371
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8372
  lt_cv_deplibs_check_method=pass_all
 
8373
  ;;
 
8374
 
 
8375
sysv4 | sysv4.3*)
 
8376
  case $host_vendor in
 
8377
  motorola)
 
8378
    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]'
 
8379
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
8380
    ;;
 
8381
  ncr)
 
8382
    lt_cv_deplibs_check_method=pass_all
 
8383
    ;;
 
8384
  sequent)
 
8385
    lt_cv_file_magic_cmd='/bin/file'
 
8386
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
8387
    ;;
 
8388
  sni)
 
8389
    lt_cv_file_magic_cmd='/bin/file'
 
8390
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
8391
    lt_cv_file_magic_test_file=/lib/libc.so
 
8392
    ;;
 
8393
  siemens)
 
8394
    lt_cv_deplibs_check_method=pass_all
 
8395
    ;;
 
8396
  pc)
 
8397
    lt_cv_deplibs_check_method=pass_all
 
8398
    ;;
 
8399
  esac
 
8400
  ;;
 
8401
 
 
8402
tpf*)
 
8403
  lt_cv_deplibs_check_method=pass_all
 
8404
  ;;
 
8405
esac
 
8406
 
 
8407
fi
 
8408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
8409
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
8410
file_magic_cmd=$lt_cv_file_magic_cmd
 
8411
deplibs_check_method=$lt_cv_deplibs_check_method
 
8412
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
8413
 
 
8414
 
 
8415
 
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
if test -n "$ac_tool_prefix"; then
 
8426
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
8427
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
8428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8429
$as_echo_n "checking for $ac_word... " >&6; }
 
8430
if test "${ac_cv_prog_AR+set}" = set; then :
 
8431
  $as_echo_n "(cached) " >&6
 
8432
else
 
8433
  if test -n "$AR"; then
 
8434
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
8435
else
 
8436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8437
for as_dir in $PATH
 
8438
do
 
8439
  IFS=$as_save_IFS
 
8440
  test -z "$as_dir" && as_dir=.
 
8441
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8442
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8443
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
8444
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8445
    break 2
 
8446
  fi
 
8447
done
 
8448
  done
 
8449
IFS=$as_save_IFS
 
8450
 
 
8451
fi
 
8452
fi
 
8453
AR=$ac_cv_prog_AR
 
8454
if test -n "$AR"; then
 
8455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
8456
$as_echo "$AR" >&6; }
 
8457
else
 
8458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8459
$as_echo "no" >&6; }
 
8460
fi
 
8461
 
 
8462
 
 
8463
fi
 
8464
if test -z "$ac_cv_prog_AR"; then
 
8465
  ac_ct_AR=$AR
 
8466
  # Extract the first word of "ar", so it can be a program name with args.
 
8467
set dummy ar; ac_word=$2
 
8468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8469
$as_echo_n "checking for $ac_word... " >&6; }
 
8470
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
8471
  $as_echo_n "(cached) " >&6
 
8472
else
 
8473
  if test -n "$ac_ct_AR"; then
 
8474
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8475
else
 
8476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8477
for as_dir in $PATH
 
8478
do
 
8479
  IFS=$as_save_IFS
 
8480
  test -z "$as_dir" && as_dir=.
 
8481
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8483
    ac_cv_prog_ac_ct_AR="ar"
 
8484
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8485
    break 2
 
8486
  fi
 
8487
done
 
8488
  done
 
8489
IFS=$as_save_IFS
 
8490
 
 
8491
fi
 
8492
fi
 
8493
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8494
if test -n "$ac_ct_AR"; then
 
8495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
8496
$as_echo "$ac_ct_AR" >&6; }
 
8497
else
 
8498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8499
$as_echo "no" >&6; }
 
8500
fi
 
8501
 
 
8502
  if test "x$ac_ct_AR" = x; then
 
8503
    AR="false"
 
8504
  else
 
8505
    case $cross_compiling:$ac_tool_warned in
 
8506
yes:)
 
8507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8508
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8509
ac_tool_warned=yes ;;
 
8510
esac
 
8511
    AR=$ac_ct_AR
 
8512
  fi
 
8513
else
 
8514
  AR="$ac_cv_prog_AR"
 
8515
fi
 
8516
 
 
8517
test -z "$AR" && AR=ar
 
8518
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
8519
 
 
8520
 
 
8521
 
 
8522
 
 
8523
 
 
8524
 
 
8525
 
 
8526
 
 
8527
 
 
8528
 
 
8529
 
 
8530
if test -n "$ac_tool_prefix"; then
 
8531
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8532
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8534
$as_echo_n "checking for $ac_word... " >&6; }
 
8535
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
8536
  $as_echo_n "(cached) " >&6
 
8537
else
 
8538
  if test -n "$STRIP"; then
 
8539
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8540
else
 
8541
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8542
for as_dir in $PATH
 
8543
do
 
8544
  IFS=$as_save_IFS
 
8545
  test -z "$as_dir" && as_dir=.
 
8546
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8547
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8548
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8549
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8550
    break 2
 
8551
  fi
 
8552
done
 
8553
  done
 
8554
IFS=$as_save_IFS
 
8555
 
 
8556
fi
 
8557
fi
 
8558
STRIP=$ac_cv_prog_STRIP
 
8559
if test -n "$STRIP"; then
 
8560
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8561
$as_echo "$STRIP" >&6; }
 
8562
else
 
8563
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8564
$as_echo "no" >&6; }
 
8565
fi
 
8566
 
 
8567
 
 
8568
fi
 
8569
if test -z "$ac_cv_prog_STRIP"; then
 
8570
  ac_ct_STRIP=$STRIP
 
8571
  # Extract the first word of "strip", so it can be a program name with args.
 
8572
set dummy strip; ac_word=$2
 
8573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8574
$as_echo_n "checking for $ac_word... " >&6; }
 
8575
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
8576
  $as_echo_n "(cached) " >&6
 
8577
else
 
8578
  if test -n "$ac_ct_STRIP"; then
 
8579
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8580
else
 
8581
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8582
for as_dir in $PATH
 
8583
do
 
8584
  IFS=$as_save_IFS
 
8585
  test -z "$as_dir" && as_dir=.
 
8586
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8587
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8588
    ac_cv_prog_ac_ct_STRIP="strip"
 
8589
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8590
    break 2
 
8591
  fi
 
8592
done
 
8593
  done
 
8594
IFS=$as_save_IFS
 
8595
 
 
8596
fi
 
8597
fi
 
8598
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8599
if test -n "$ac_ct_STRIP"; then
 
8600
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
8601
$as_echo "$ac_ct_STRIP" >&6; }
 
8602
else
 
8603
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8604
$as_echo "no" >&6; }
 
8605
fi
 
8606
 
 
8607
  if test "x$ac_ct_STRIP" = x; then
 
8608
    STRIP=":"
 
8609
  else
 
8610
    case $cross_compiling:$ac_tool_warned in
 
8611
yes:)
 
8612
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8613
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8614
ac_tool_warned=yes ;;
 
8615
esac
 
8616
    STRIP=$ac_ct_STRIP
 
8617
  fi
 
8618
else
 
8619
  STRIP="$ac_cv_prog_STRIP"
 
8620
fi
 
8621
 
 
8622
test -z "$STRIP" && STRIP=:
 
8623
 
 
8624
 
 
8625
 
 
8626
 
 
8627
 
 
8628
 
 
8629
if test -n "$ac_tool_prefix"; then
 
8630
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8631
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8633
$as_echo_n "checking for $ac_word... " >&6; }
 
8634
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
8635
  $as_echo_n "(cached) " >&6
 
8636
else
 
8637
  if test -n "$RANLIB"; then
 
8638
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8639
else
 
8640
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8641
for as_dir in $PATH
 
8642
do
 
8643
  IFS=$as_save_IFS
 
8644
  test -z "$as_dir" && as_dir=.
 
8645
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8647
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8648
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8649
    break 2
 
8650
  fi
 
8651
done
 
8652
  done
 
8653
IFS=$as_save_IFS
 
8654
 
 
8655
fi
 
8656
fi
 
8657
RANLIB=$ac_cv_prog_RANLIB
 
8658
if test -n "$RANLIB"; then
 
8659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8660
$as_echo "$RANLIB" >&6; }
 
8661
else
 
8662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8663
$as_echo "no" >&6; }
 
8664
fi
 
8665
 
 
8666
 
 
8667
fi
 
8668
if test -z "$ac_cv_prog_RANLIB"; then
 
8669
  ac_ct_RANLIB=$RANLIB
 
8670
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8671
set dummy ranlib; ac_word=$2
 
8672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8673
$as_echo_n "checking for $ac_word... " >&6; }
 
8674
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
8675
  $as_echo_n "(cached) " >&6
 
8676
else
 
8677
  if test -n "$ac_ct_RANLIB"; then
 
8678
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8679
else
 
8680
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8681
for as_dir in $PATH
 
8682
do
 
8683
  IFS=$as_save_IFS
 
8684
  test -z "$as_dir" && as_dir=.
 
8685
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8686
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8687
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8688
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8689
    break 2
 
8690
  fi
 
8691
done
 
8692
  done
 
8693
IFS=$as_save_IFS
 
8694
 
 
8695
fi
 
8696
fi
 
8697
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8698
if test -n "$ac_ct_RANLIB"; then
 
8699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
8700
$as_echo "$ac_ct_RANLIB" >&6; }
 
8701
else
 
8702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8703
$as_echo "no" >&6; }
 
8704
fi
 
8705
 
 
8706
  if test "x$ac_ct_RANLIB" = x; then
 
8707
    RANLIB=":"
 
8708
  else
 
8709
    case $cross_compiling:$ac_tool_warned in
 
8710
yes:)
 
8711
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8712
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8713
ac_tool_warned=yes ;;
 
8714
esac
 
8715
    RANLIB=$ac_ct_RANLIB
 
8716
  fi
 
8717
else
 
8718
  RANLIB="$ac_cv_prog_RANLIB"
 
8719
fi
 
8720
 
 
8721
test -z "$RANLIB" && RANLIB=:
 
8722
 
 
8723
 
 
8724
 
 
8725
 
 
8726
 
 
8727
 
 
8728
# Determine commands to create old-style static archives.
 
8729
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8730
old_postinstall_cmds='chmod 644 $oldlib'
 
8731
old_postuninstall_cmds=
 
8732
 
 
8733
if test -n "$RANLIB"; then
 
8734
  case $host_os in
 
8735
  openbsd*)
 
8736
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8737
    ;;
 
8738
  *)
 
8739
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8740
    ;;
 
8741
  esac
 
8742
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8743
fi
 
8744
 
 
8745
 
 
8746
 
 
8747
 
 
8748
 
 
8749
 
 
8750
 
 
8751
 
 
8752
 
 
8753
 
 
8754
 
 
8755
 
 
8756
 
 
8757
 
 
8758
 
 
8759
 
 
8760
 
 
8761
 
 
8762
 
 
8763
 
 
8764
 
 
8765
 
 
8766
 
 
8767
 
 
8768
 
 
8769
 
 
8770
 
 
8771
 
 
8772
 
 
8773
 
 
8774
 
 
8775
 
 
8776
 
 
8777
 
 
8778
# If no C compiler was specified, use CC.
 
8779
LTCC=${LTCC-"$CC"}
 
8780
 
 
8781
# If no C compiler flags were specified, use CFLAGS.
 
8782
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8783
 
 
8784
# Allow CC to be a program name with arguments.
 
8785
compiler=$CC
 
8786
 
 
8787
 
 
8788
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
8789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
8790
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
8791
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
8792
  $as_echo_n "(cached) " >&6
 
8793
else
 
8794
 
 
8795
# These are sane defaults that work on at least a few old systems.
 
8796
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
8797
 
 
8798
# Character class describing NM global symbol codes.
 
8799
symcode='[BCDEGRST]'
 
8800
 
 
8801
# Regexp to match symbols that can be accessed directly from C.
 
8802
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
8803
 
 
8804
# Define system-specific variables.
 
8805
case $host_os in
 
8806
aix*)
 
8807
  symcode='[BCDT]'
 
8808
  ;;
 
8809
cygwin* | mingw* | pw32* | cegcc*)
 
8810
  symcode='[ABCDGISTW]'
 
8811
  ;;
 
8812
hpux*)
 
8813
  if test "$host_cpu" = ia64; then
 
8814
    symcode='[ABCDEGRST]'
 
8815
  fi
 
8816
  ;;
 
8817
irix* | nonstopux*)
 
8818
  symcode='[BCDEGRST]'
 
8819
  ;;
 
8820
osf*)
 
8821
  symcode='[BCDEGQRST]'
 
8822
  ;;
 
8823
solaris*)
 
8824
  symcode='[BDRT]'
 
8825
  ;;
 
8826
sco3.2v5*)
 
8827
  symcode='[DT]'
 
8828
  ;;
 
8829
sysv4.2uw2*)
 
8830
  symcode='[DT]'
 
8831
  ;;
 
8832
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8833
  symcode='[ABDT]'
 
8834
  ;;
 
8835
sysv4)
 
8836
  symcode='[DFNSTU]'
 
8837
  ;;
 
8838
esac
 
8839
 
 
8840
# If we're using GNU nm, then use its standard symbol codes.
 
8841
case `$NM -V 2>&1` in
 
8842
*GNU* | *'with BFD'*)
 
8843
  symcode='[ABCDGIRSTW]' ;;
 
8844
esac
 
8845
 
 
8846
# Transform an extracted symbol line into a proper C declaration.
 
8847
# Some systems (esp. on ia64) link data and code symbols differently,
 
8848
# so use this general approach.
 
8849
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8850
 
 
8851
# Transform an extracted symbol line into symbol name and symbol address
 
8852
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8853
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'"
 
8854
 
 
8855
# Handle CRLF in mingw tool chain
 
8856
opt_cr=
 
8857
case $build_os in
 
8858
mingw*)
 
8859
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8860
  ;;
 
8861
esac
 
8862
 
 
8863
# Try without a prefix underscore, then with it.
 
8864
for ac_symprfx in "" "_"; do
 
8865
 
 
8866
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
8867
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
8868
 
 
8869
  # Write the raw and C identifiers.
 
8870
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8871
    # Fake it for dumpbin and say T for any non-static function
 
8872
    # and D for any global variable.
 
8873
    # Also find C++ and __fastcall symbols from MSVC++,
 
8874
    # which start with @ or ?.
 
8875
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8876
"     {last_section=section; section=\$ 3};"\
 
8877
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8878
"     \$ 0!~/External *\|/{next};"\
 
8879
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8880
"     {if(hide[section]) next};"\
 
8881
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8882
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8883
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8884
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8885
"     ' prfx=^$ac_symprfx"
 
8886
  else
 
8887
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8888
  fi
 
8889
 
 
8890
  # Check to see that the pipe works correctly.
 
8891
  pipe_works=no
 
8892
 
 
8893
  rm -f conftest*
 
8894
  cat > conftest.$ac_ext <<_LT_EOF
 
8895
#ifdef __cplusplus
 
8896
extern "C" {
 
8897
#endif
 
8898
char nm_test_var;
 
8899
void nm_test_func(void);
 
8900
void nm_test_func(void){}
 
8901
#ifdef __cplusplus
 
8902
}
 
8903
#endif
 
8904
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8905
_LT_EOF
 
8906
 
 
8907
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8908
  (eval $ac_compile) 2>&5
 
8909
  ac_status=$?
 
8910
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8911
  test $ac_status = 0; }; then
 
8912
    # Now try to grab the symbols.
 
8913
    nlist=conftest.nm
 
8914
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
8915
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
8916
  ac_status=$?
 
8917
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8918
  test $ac_status = 0; } && test -s "$nlist"; then
 
8919
      # Try sorting and uniquifying the output.
 
8920
      if sort "$nlist" | uniq > "$nlist"T; then
 
8921
        mv -f "$nlist"T "$nlist"
 
8922
      else
 
8923
        rm -f "$nlist"T
 
8924
      fi
 
8925
 
 
8926
      # Make sure that we snagged all the symbols we need.
 
8927
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8928
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8929
          cat <<_LT_EOF > conftest.$ac_ext
 
8930
#ifdef __cplusplus
 
8931
extern "C" {
 
8932
#endif
 
8933
 
 
8934
_LT_EOF
 
8935
          # Now generate the symbol file.
 
8936
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8937
 
 
8938
          cat <<_LT_EOF >> conftest.$ac_ext
 
8939
 
 
8940
/* The mapping between symbol names and symbols.  */
 
8941
const struct {
 
8942
  const char *name;
 
8943
  void       *address;
 
8944
}
 
8945
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8946
{
 
8947
  { "@PROGRAM@", (void *) 0 },
 
8948
_LT_EOF
 
8949
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8950
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8951
  {0, (void *) 0}
 
8952
};
 
8953
 
 
8954
/* This works around a problem in FreeBSD linker */
 
8955
#ifdef FREEBSD_WORKAROUND
 
8956
static const void *lt_preloaded_setup() {
 
8957
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8958
}
 
8959
#endif
 
8960
 
 
8961
#ifdef __cplusplus
 
8962
}
 
8963
#endif
 
8964
_LT_EOF
 
8965
          # Now try linking the two files.
 
8966
          mv conftest.$ac_objext conftstm.$ac_objext
 
8967
          lt_save_LIBS="$LIBS"
 
8968
          lt_save_CFLAGS="$CFLAGS"
 
8969
          LIBS="conftstm.$ac_objext"
 
8970
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8971
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8972
  (eval $ac_link) 2>&5
 
8973
  ac_status=$?
 
8974
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8975
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8976
            pipe_works=yes
 
8977
          fi
 
8978
          LIBS="$lt_save_LIBS"
 
8979
          CFLAGS="$lt_save_CFLAGS"
 
8980
        else
 
8981
          echo "cannot find nm_test_func in $nlist" >&5
 
8982
        fi
 
8983
      else
 
8984
        echo "cannot find nm_test_var in $nlist" >&5
 
8985
      fi
 
8986
    else
 
8987
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8988
    fi
 
8989
  else
 
8990
    echo "$progname: failed program was:" >&5
 
8991
    cat conftest.$ac_ext >&5
 
8992
  fi
 
8993
  rm -rf conftest* conftst*
 
8994
 
 
8995
  # Do not use the global_symbol_pipe unless it works.
 
8996
  if test "$pipe_works" = yes; then
 
8997
    break
 
8998
  else
 
8999
    lt_cv_sys_global_symbol_pipe=
 
9000
  fi
 
9001
done
 
9002
 
 
9003
fi
 
9004
 
 
9005
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
9006
  lt_cv_sys_global_symbol_to_cdecl=
 
9007
fi
 
9008
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
9009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
9010
$as_echo "failed" >&6; }
 
9011
else
 
9012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
9013
$as_echo "ok" >&6; }
 
9014
fi
 
9015
 
 
9016
 
 
9017
 
 
9018
 
 
9019
 
 
9020
 
 
9021
 
 
9022
 
 
9023
 
 
9024
 
 
9025
 
 
9026
 
 
9027
 
 
9028
 
 
9029
 
 
9030
 
 
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
# Check whether --enable-libtool-lock was given.
 
9038
if test "${enable_libtool_lock+set}" = set; then :
 
9039
  enableval=$enable_libtool_lock;
 
9040
fi
 
9041
 
 
9042
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
9043
 
 
9044
# Some flags need to be propagated to the compiler or linker for good
 
9045
# libtool support.
 
9046
case $host in
 
9047
ia64-*-hpux*)
 
9048
  # Find out which ABI we are using.
 
9049
  echo 'int i;' > conftest.$ac_ext
 
9050
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9051
  (eval $ac_compile) 2>&5
 
9052
  ac_status=$?
 
9053
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9054
  test $ac_status = 0; }; then
 
9055
    case `/usr/bin/file conftest.$ac_objext` in
 
9056
      *ELF-32*)
 
9057
        HPUX_IA64_MODE="32"
 
9058
        ;;
 
9059
      *ELF-64*)
 
9060
        HPUX_IA64_MODE="64"
 
9061
        ;;
 
9062
    esac
 
9063
  fi
 
9064
  rm -rf conftest*
 
9065
  ;;
 
9066
*-*-irix6*)
 
9067
  # Find out which ABI we are using.
 
9068
  echo '#line 9068 "configure"' > conftest.$ac_ext
 
9069
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9070
  (eval $ac_compile) 2>&5
 
9071
  ac_status=$?
 
9072
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9073
  test $ac_status = 0; }; then
 
9074
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
9075
      case `/usr/bin/file conftest.$ac_objext` in
 
9076
        *32-bit*)
 
9077
          LD="${LD-ld} -melf32bsmip"
 
9078
          ;;
 
9079
        *N32*)
 
9080
          LD="${LD-ld} -melf32bmipn32"
 
9081
          ;;
 
9082
        *64-bit*)
 
9083
          LD="${LD-ld} -melf64bmip"
 
9084
        ;;
 
9085
      esac
 
9086
    else
 
9087
      case `/usr/bin/file conftest.$ac_objext` in
 
9088
        *32-bit*)
 
9089
          LD="${LD-ld} -32"
 
9090
          ;;
 
9091
        *N32*)
 
9092
          LD="${LD-ld} -n32"
 
9093
          ;;
 
9094
        *64-bit*)
 
9095
          LD="${LD-ld} -64"
 
9096
          ;;
 
9097
      esac
 
9098
    fi
 
9099
  fi
 
9100
  rm -rf conftest*
 
9101
  ;;
 
9102
 
 
9103
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
9104
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
9105
  # Find out which ABI we are using.
 
9106
  echo 'int i;' > conftest.$ac_ext
 
9107
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9108
  (eval $ac_compile) 2>&5
 
9109
  ac_status=$?
 
9110
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9111
  test $ac_status = 0; }; then
 
9112
    case `/usr/bin/file conftest.o` in
 
9113
      *32-bit*)
 
9114
        case $host in
 
9115
          x86_64-*kfreebsd*-gnu)
 
9116
            LD="${LD-ld} -m elf_i386_fbsd"
 
9117
            ;;
 
9118
          x86_64-*linux*)
 
9119
            LD="${LD-ld} -m elf_i386"
 
9120
            ;;
 
9121
          ppc64-*linux*|powerpc64-*linux*)
 
9122
            LD="${LD-ld} -m elf32ppclinux"
 
9123
            ;;
 
9124
          s390x-*linux*)
 
9125
            LD="${LD-ld} -m elf_s390"
 
9126
            ;;
 
9127
          sparc64-*linux*)
 
9128
            LD="${LD-ld} -m elf32_sparc"
 
9129
            ;;
 
9130
        esac
 
9131
        ;;
 
9132
      *64-bit*)
 
9133
        case $host in
 
9134
          x86_64-*kfreebsd*-gnu)
 
9135
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
9136
            ;;
 
9137
          x86_64-*linux*)
 
9138
            LD="${LD-ld} -m elf_x86_64"
 
9139
            ;;
 
9140
          ppc*-*linux*|powerpc*-*linux*)
 
9141
            LD="${LD-ld} -m elf64ppc"
 
9142
            ;;
 
9143
          s390*-*linux*|s390*-*tpf*)
 
9144
            LD="${LD-ld} -m elf64_s390"
 
9145
            ;;
 
9146
          sparc*-*linux*)
 
9147
            LD="${LD-ld} -m elf64_sparc"
 
9148
            ;;
 
9149
        esac
 
9150
        ;;
 
9151
    esac
 
9152
  fi
 
9153
  rm -rf conftest*
 
9154
  ;;
 
9155
 
 
9156
*-*-sco3.2v5*)
 
9157
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
9158
  SAVE_CFLAGS="$CFLAGS"
 
9159
  CFLAGS="$CFLAGS -belf"
 
9160
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
9161
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
9162
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
9163
  $as_echo_n "(cached) " >&6
 
9164
else
 
9165
  ac_ext=c
 
9166
ac_cpp='$CPP $CPPFLAGS'
 
9167
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9168
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9169
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9170
 
 
9171
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9172
/* end confdefs.h.  */
 
9173
 
 
9174
int
 
9175
main ()
 
9176
{
 
9177
 
 
9178
  ;
 
9179
  return 0;
 
9180
}
 
9181
_ACEOF
 
9182
if ac_fn_c_try_link "$LINENO"; then :
 
9183
  lt_cv_cc_needs_belf=yes
 
9184
else
 
9185
  lt_cv_cc_needs_belf=no
 
9186
fi
 
9187
rm -f core conftest.err conftest.$ac_objext \
 
9188
    conftest$ac_exeext conftest.$ac_ext
 
9189
     ac_ext=c
 
9190
ac_cpp='$CPP $CPPFLAGS'
 
9191
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9192
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9193
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9194
 
 
9195
fi
 
9196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
9197
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
9198
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
9199
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
9200
    CFLAGS="$SAVE_CFLAGS"
 
9201
  fi
 
9202
  ;;
 
9203
sparc*-*solaris*)
 
9204
  # Find out which ABI we are using.
 
9205
  echo 'int i;' > conftest.$ac_ext
 
9206
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9207
  (eval $ac_compile) 2>&5
 
9208
  ac_status=$?
 
9209
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9210
  test $ac_status = 0; }; then
 
9211
    case `/usr/bin/file conftest.o` in
 
9212
    *64-bit*)
 
9213
      case $lt_cv_prog_gnu_ld in
 
9214
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
9215
      *)
 
9216
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
9217
          LD="${LD-ld} -64"
 
9218
        fi
 
9219
        ;;
 
9220
      esac
 
9221
      ;;
 
9222
    esac
 
9223
  fi
 
9224
  rm -rf conftest*
 
9225
  ;;
 
9226
esac
 
9227
 
 
9228
need_locks="$enable_libtool_lock"
 
9229
 
 
9230
 
 
9231
  case $host_os in
 
9232
    rhapsody* | darwin*)
 
9233
    if test -n "$ac_tool_prefix"; then
 
9234
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
9235
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
9236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9237
$as_echo_n "checking for $ac_word... " >&6; }
 
9238
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
9239
  $as_echo_n "(cached) " >&6
 
9240
else
 
9241
  if test -n "$DSYMUTIL"; then
 
9242
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
9243
else
 
9244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9245
for as_dir in $PATH
 
9246
do
 
9247
  IFS=$as_save_IFS
 
9248
  test -z "$as_dir" && as_dir=.
 
9249
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9251
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
9252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9253
    break 2
 
9254
  fi
 
9255
done
 
9256
  done
 
9257
IFS=$as_save_IFS
 
9258
 
 
9259
fi
 
9260
fi
 
9261
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
9262
if test -n "$DSYMUTIL"; then
 
9263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
9264
$as_echo "$DSYMUTIL" >&6; }
 
9265
else
 
9266
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9267
$as_echo "no" >&6; }
 
9268
fi
 
9269
 
 
9270
 
 
9271
fi
 
9272
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
9273
  ac_ct_DSYMUTIL=$DSYMUTIL
 
9274
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
9275
set dummy dsymutil; ac_word=$2
 
9276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9277
$as_echo_n "checking for $ac_word... " >&6; }
 
9278
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
9279
  $as_echo_n "(cached) " >&6
 
9280
else
 
9281
  if test -n "$ac_ct_DSYMUTIL"; then
 
9282
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
9283
else
 
9284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9285
for as_dir in $PATH
 
9286
do
 
9287
  IFS=$as_save_IFS
 
9288
  test -z "$as_dir" && as_dir=.
 
9289
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9290
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9291
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
9292
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9293
    break 2
 
9294
  fi
 
9295
done
 
9296
  done
 
9297
IFS=$as_save_IFS
 
9298
 
 
9299
fi
 
9300
fi
 
9301
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
9302
if test -n "$ac_ct_DSYMUTIL"; then
 
9303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
9304
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
9305
else
 
9306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9307
$as_echo "no" >&6; }
 
9308
fi
 
9309
 
 
9310
  if test "x$ac_ct_DSYMUTIL" = x; then
 
9311
    DSYMUTIL=":"
 
9312
  else
 
9313
    case $cross_compiling:$ac_tool_warned in
 
9314
yes:)
 
9315
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9316
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9317
ac_tool_warned=yes ;;
 
9318
esac
 
9319
    DSYMUTIL=$ac_ct_DSYMUTIL
 
9320
  fi
 
9321
else
 
9322
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
9323
fi
 
9324
 
 
9325
    if test -n "$ac_tool_prefix"; then
 
9326
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
9327
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
9328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9329
$as_echo_n "checking for $ac_word... " >&6; }
 
9330
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
9331
  $as_echo_n "(cached) " >&6
 
9332
else
 
9333
  if test -n "$NMEDIT"; then
 
9334
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
9335
else
 
9336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9337
for as_dir in $PATH
 
9338
do
 
9339
  IFS=$as_save_IFS
 
9340
  test -z "$as_dir" && as_dir=.
 
9341
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9342
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9343
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
9344
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9345
    break 2
 
9346
  fi
 
9347
done
 
9348
  done
 
9349
IFS=$as_save_IFS
 
9350
 
 
9351
fi
 
9352
fi
 
9353
NMEDIT=$ac_cv_prog_NMEDIT
 
9354
if test -n "$NMEDIT"; then
 
9355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
9356
$as_echo "$NMEDIT" >&6; }
 
9357
else
 
9358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9359
$as_echo "no" >&6; }
 
9360
fi
 
9361
 
 
9362
 
 
9363
fi
 
9364
if test -z "$ac_cv_prog_NMEDIT"; then
 
9365
  ac_ct_NMEDIT=$NMEDIT
 
9366
  # Extract the first word of "nmedit", so it can be a program name with args.
 
9367
set dummy nmedit; ac_word=$2
 
9368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9369
$as_echo_n "checking for $ac_word... " >&6; }
 
9370
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
9371
  $as_echo_n "(cached) " >&6
 
9372
else
 
9373
  if test -n "$ac_ct_NMEDIT"; then
 
9374
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
9375
else
 
9376
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9377
for as_dir in $PATH
 
9378
do
 
9379
  IFS=$as_save_IFS
 
9380
  test -z "$as_dir" && as_dir=.
 
9381
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9382
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9383
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
9384
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9385
    break 2
 
9386
  fi
 
9387
done
 
9388
  done
 
9389
IFS=$as_save_IFS
 
9390
 
 
9391
fi
 
9392
fi
 
9393
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
9394
if test -n "$ac_ct_NMEDIT"; then
 
9395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
9396
$as_echo "$ac_ct_NMEDIT" >&6; }
 
9397
else
 
9398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9399
$as_echo "no" >&6; }
 
9400
fi
 
9401
 
 
9402
  if test "x$ac_ct_NMEDIT" = x; then
 
9403
    NMEDIT=":"
 
9404
  else
 
9405
    case $cross_compiling:$ac_tool_warned in
 
9406
yes:)
 
9407
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9408
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9409
ac_tool_warned=yes ;;
 
9410
esac
 
9411
    NMEDIT=$ac_ct_NMEDIT
 
9412
  fi
 
9413
else
 
9414
  NMEDIT="$ac_cv_prog_NMEDIT"
 
9415
fi
 
9416
 
 
9417
    if test -n "$ac_tool_prefix"; then
 
9418
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
9419
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
9420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9421
$as_echo_n "checking for $ac_word... " >&6; }
 
9422
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
9423
  $as_echo_n "(cached) " >&6
 
9424
else
 
9425
  if test -n "$LIPO"; then
 
9426
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
9427
else
 
9428
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9429
for as_dir in $PATH
 
9430
do
 
9431
  IFS=$as_save_IFS
 
9432
  test -z "$as_dir" && as_dir=.
 
9433
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9434
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9435
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
9436
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9437
    break 2
 
9438
  fi
 
9439
done
 
9440
  done
 
9441
IFS=$as_save_IFS
 
9442
 
 
9443
fi
 
9444
fi
 
9445
LIPO=$ac_cv_prog_LIPO
 
9446
if test -n "$LIPO"; then
 
9447
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
9448
$as_echo "$LIPO" >&6; }
 
9449
else
 
9450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9451
$as_echo "no" >&6; }
 
9452
fi
 
9453
 
 
9454
 
 
9455
fi
 
9456
if test -z "$ac_cv_prog_LIPO"; then
 
9457
  ac_ct_LIPO=$LIPO
 
9458
  # Extract the first word of "lipo", so it can be a program name with args.
 
9459
set dummy lipo; ac_word=$2
 
9460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9461
$as_echo_n "checking for $ac_word... " >&6; }
 
9462
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
9463
  $as_echo_n "(cached) " >&6
 
9464
else
 
9465
  if test -n "$ac_ct_LIPO"; then
 
9466
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
9467
else
 
9468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9469
for as_dir in $PATH
 
9470
do
 
9471
  IFS=$as_save_IFS
 
9472
  test -z "$as_dir" && as_dir=.
 
9473
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9474
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9475
    ac_cv_prog_ac_ct_LIPO="lipo"
 
9476
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9477
    break 2
 
9478
  fi
 
9479
done
 
9480
  done
 
9481
IFS=$as_save_IFS
 
9482
 
 
9483
fi
 
9484
fi
 
9485
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
9486
if test -n "$ac_ct_LIPO"; then
 
9487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
9488
$as_echo "$ac_ct_LIPO" >&6; }
 
9489
else
 
9490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9491
$as_echo "no" >&6; }
 
9492
fi
 
9493
 
 
9494
  if test "x$ac_ct_LIPO" = x; then
 
9495
    LIPO=":"
 
9496
  else
 
9497
    case $cross_compiling:$ac_tool_warned in
 
9498
yes:)
 
9499
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9500
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9501
ac_tool_warned=yes ;;
 
9502
esac
 
9503
    LIPO=$ac_ct_LIPO
 
9504
  fi
 
9505
else
 
9506
  LIPO="$ac_cv_prog_LIPO"
 
9507
fi
 
9508
 
 
9509
    if test -n "$ac_tool_prefix"; then
 
9510
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9511
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9513
$as_echo_n "checking for $ac_word... " >&6; }
 
9514
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
9515
  $as_echo_n "(cached) " >&6
 
9516
else
 
9517
  if test -n "$OTOOL"; then
 
9518
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9519
else
 
9520
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9521
for as_dir in $PATH
 
9522
do
 
9523
  IFS=$as_save_IFS
 
9524
  test -z "$as_dir" && as_dir=.
 
9525
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9526
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9527
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9528
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9529
    break 2
 
9530
  fi
 
9531
done
 
9532
  done
 
9533
IFS=$as_save_IFS
 
9534
 
 
9535
fi
 
9536
fi
 
9537
OTOOL=$ac_cv_prog_OTOOL
 
9538
if test -n "$OTOOL"; then
 
9539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
9540
$as_echo "$OTOOL" >&6; }
 
9541
else
 
9542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9543
$as_echo "no" >&6; }
 
9544
fi
 
9545
 
 
9546
 
 
9547
fi
 
9548
if test -z "$ac_cv_prog_OTOOL"; then
 
9549
  ac_ct_OTOOL=$OTOOL
 
9550
  # Extract the first word of "otool", so it can be a program name with args.
 
9551
set dummy otool; ac_word=$2
 
9552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9553
$as_echo_n "checking for $ac_word... " >&6; }
 
9554
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
9555
  $as_echo_n "(cached) " >&6
 
9556
else
 
9557
  if test -n "$ac_ct_OTOOL"; then
 
9558
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9559
else
 
9560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9561
for as_dir in $PATH
 
9562
do
 
9563
  IFS=$as_save_IFS
 
9564
  test -z "$as_dir" && as_dir=.
 
9565
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9567
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9568
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9569
    break 2
 
9570
  fi
 
9571
done
 
9572
  done
 
9573
IFS=$as_save_IFS
 
9574
 
 
9575
fi
 
9576
fi
 
9577
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9578
if test -n "$ac_ct_OTOOL"; then
 
9579
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
9580
$as_echo "$ac_ct_OTOOL" >&6; }
 
9581
else
 
9582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9583
$as_echo "no" >&6; }
 
9584
fi
 
9585
 
 
9586
  if test "x$ac_ct_OTOOL" = x; then
 
9587
    OTOOL=":"
 
9588
  else
 
9589
    case $cross_compiling:$ac_tool_warned in
 
9590
yes:)
 
9591
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9592
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9593
ac_tool_warned=yes ;;
 
9594
esac
 
9595
    OTOOL=$ac_ct_OTOOL
 
9596
  fi
 
9597
else
 
9598
  OTOOL="$ac_cv_prog_OTOOL"
 
9599
fi
 
9600
 
 
9601
    if test -n "$ac_tool_prefix"; then
 
9602
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9603
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9605
$as_echo_n "checking for $ac_word... " >&6; }
 
9606
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
9607
  $as_echo_n "(cached) " >&6
 
9608
else
 
9609
  if test -n "$OTOOL64"; then
 
9610
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9611
else
 
9612
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9613
for as_dir in $PATH
 
9614
do
 
9615
  IFS=$as_save_IFS
 
9616
  test -z "$as_dir" && as_dir=.
 
9617
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9618
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9619
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9620
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9621
    break 2
 
9622
  fi
 
9623
done
 
9624
  done
 
9625
IFS=$as_save_IFS
 
9626
 
 
9627
fi
 
9628
fi
 
9629
OTOOL64=$ac_cv_prog_OTOOL64
 
9630
if test -n "$OTOOL64"; then
 
9631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
9632
$as_echo "$OTOOL64" >&6; }
 
9633
else
 
9634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9635
$as_echo "no" >&6; }
 
9636
fi
 
9637
 
 
9638
 
 
9639
fi
 
9640
if test -z "$ac_cv_prog_OTOOL64"; then
 
9641
  ac_ct_OTOOL64=$OTOOL64
 
9642
  # Extract the first word of "otool64", so it can be a program name with args.
 
9643
set dummy otool64; ac_word=$2
 
9644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9645
$as_echo_n "checking for $ac_word... " >&6; }
 
9646
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
9647
  $as_echo_n "(cached) " >&6
 
9648
else
 
9649
  if test -n "$ac_ct_OTOOL64"; then
 
9650
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9651
else
 
9652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9653
for as_dir in $PATH
 
9654
do
 
9655
  IFS=$as_save_IFS
 
9656
  test -z "$as_dir" && as_dir=.
 
9657
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9659
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9660
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9661
    break 2
 
9662
  fi
 
9663
done
 
9664
  done
 
9665
IFS=$as_save_IFS
 
9666
 
 
9667
fi
 
9668
fi
 
9669
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9670
if test -n "$ac_ct_OTOOL64"; then
 
9671
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
9672
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9673
else
 
9674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9675
$as_echo "no" >&6; }
 
9676
fi
 
9677
 
 
9678
  if test "x$ac_ct_OTOOL64" = x; then
 
9679
    OTOOL64=":"
 
9680
  else
 
9681
    case $cross_compiling:$ac_tool_warned in
 
9682
yes:)
 
9683
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9684
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9685
ac_tool_warned=yes ;;
 
9686
esac
 
9687
    OTOOL64=$ac_ct_OTOOL64
 
9688
  fi
 
9689
else
 
9690
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9691
fi
 
9692
 
 
9693
 
 
9694
 
 
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
 
 
9700
 
 
9701
 
 
9702
 
 
9703
 
 
9704
 
 
9705
 
 
9706
 
 
9707
 
 
9708
 
 
9709
 
 
9710
 
 
9711
 
 
9712
 
 
9713
 
 
9714
 
 
9715
 
 
9716
 
 
9717
 
 
9718
 
 
9719
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9720
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9721
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
9722
  $as_echo_n "(cached) " >&6
 
9723
else
 
9724
  lt_cv_apple_cc_single_mod=no
 
9725
      if test -z "${LT_MULTI_MODULE}"; then
 
9726
        # By default we will add the -single_module flag. You can override
 
9727
        # by either setting the environment variable LT_MULTI_MODULE
 
9728
        # non-empty at configure time, or by adding -multi_module to the
 
9729
        # link flags.
 
9730
        rm -rf libconftest.dylib*
 
9731
        echo "int foo(void){return 1;}" > conftest.c
 
9732
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9733
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9734
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9735
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9736
        _lt_result=$?
 
9737
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9738
          lt_cv_apple_cc_single_mod=yes
 
9739
        else
 
9740
          cat conftest.err >&5
 
9741
        fi
 
9742
        rm -rf libconftest.dylib*
 
9743
        rm -f conftest.*
 
9744
      fi
 
9745
fi
 
9746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9747
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9748
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9749
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9750
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
9751
  $as_echo_n "(cached) " >&6
 
9752
else
 
9753
  lt_cv_ld_exported_symbols_list=no
 
9754
      save_LDFLAGS=$LDFLAGS
 
9755
      echo "_main" > conftest.sym
 
9756
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9757
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9758
/* end confdefs.h.  */
 
9759
 
 
9760
int
 
9761
main ()
 
9762
{
 
9763
 
 
9764
  ;
 
9765
  return 0;
 
9766
}
 
9767
_ACEOF
 
9768
if ac_fn_c_try_link "$LINENO"; then :
 
9769
  lt_cv_ld_exported_symbols_list=yes
 
9770
else
 
9771
  lt_cv_ld_exported_symbols_list=no
 
9772
fi
 
9773
rm -f core conftest.err conftest.$ac_objext \
 
9774
    conftest$ac_exeext conftest.$ac_ext
 
9775
        LDFLAGS="$save_LDFLAGS"
 
9776
 
 
9777
fi
 
9778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9779
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9780
    case $host_os in
 
9781
    rhapsody* | darwin1.[012])
 
9782
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9783
    darwin1.*)
 
9784
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9785
    darwin*) # darwin 5.x on
 
9786
      # if running on 10.5 or later, the deployment target defaults
 
9787
      # to the OS version, if on x86, and 10.4, the deployment
 
9788
      # target defaults to 10.4. Don't you love it?
 
9789
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9790
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9791
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9792
        10.[012]*)
 
9793
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9794
        10.*)
 
9795
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9796
      esac
 
9797
    ;;
 
9798
  esac
 
9799
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9800
      _lt_dar_single_mod='$single_module'
 
9801
    fi
 
9802
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9803
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9804
    else
 
9805
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9806
    fi
 
9807
    if test "$DSYMUTIL" != ":"; then
 
9808
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9809
    else
 
9810
      _lt_dsymutil=
 
9811
    fi
 
9812
    ;;
 
9813
  esac
 
9814
 
 
9815
for ac_header in dlfcn.h
 
9816
do :
 
9817
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
9818
"
 
9819
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
9820
  cat >>confdefs.h <<_ACEOF
 
9821
#define HAVE_DLFCN_H 1
 
9822
_ACEOF
 
9823
 
 
9824
fi
 
9825
 
 
9826
done
 
9827
 
 
9828
 
 
9829
 
 
9830
ac_ext=cpp
 
9831
ac_cpp='$CXXCPP $CPPFLAGS'
 
9832
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9833
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9834
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
9835
if test -z "$CXX"; then
 
9836
  if test -n "$CCC"; then
 
9837
    CXX=$CCC
 
9838
  else
 
9839
    if test -n "$ac_tool_prefix"; then
 
9840
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
9841
  do
 
9842
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
9843
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
9844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9845
$as_echo_n "checking for $ac_word... " >&6; }
 
9846
if test "${ac_cv_prog_CXX+set}" = set; then :
 
9847
  $as_echo_n "(cached) " >&6
 
9848
else
 
9849
  if test -n "$CXX"; then
 
9850
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
9851
else
 
9852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9853
for as_dir in $PATH
 
9854
do
 
9855
  IFS=$as_save_IFS
 
9856
  test -z "$as_dir" && as_dir=.
 
9857
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9858
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9859
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
9860
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9861
    break 2
 
9862
  fi
 
9863
done
 
9864
  done
 
9865
IFS=$as_save_IFS
 
9866
 
 
9867
fi
 
9868
fi
 
9869
CXX=$ac_cv_prog_CXX
 
9870
if test -n "$CXX"; then
 
9871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
9872
$as_echo "$CXX" >&6; }
 
9873
else
 
9874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9875
$as_echo "no" >&6; }
 
9876
fi
 
9877
 
 
9878
 
 
9879
    test -n "$CXX" && break
 
9880
  done
 
9881
fi
 
9882
if test -z "$CXX"; then
 
9883
  ac_ct_CXX=$CXX
 
9884
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
9885
do
 
9886
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
9887
set dummy $ac_prog; ac_word=$2
 
9888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9889
$as_echo_n "checking for $ac_word... " >&6; }
 
9890
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
9891
  $as_echo_n "(cached) " >&6
 
9892
else
 
9893
  if test -n "$ac_ct_CXX"; then
 
9894
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
9895
else
 
9896
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9897
for as_dir in $PATH
 
9898
do
 
9899
  IFS=$as_save_IFS
 
9900
  test -z "$as_dir" && as_dir=.
 
9901
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9902
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9903
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
9904
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9905
    break 2
 
9906
  fi
 
9907
done
 
9908
  done
 
9909
IFS=$as_save_IFS
 
9910
 
 
9911
fi
 
9912
fi
 
9913
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
9914
if test -n "$ac_ct_CXX"; then
 
9915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
9916
$as_echo "$ac_ct_CXX" >&6; }
 
9917
else
 
9918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9919
$as_echo "no" >&6; }
 
9920
fi
 
9921
 
 
9922
 
 
9923
  test -n "$ac_ct_CXX" && break
 
9924
done
 
9925
 
 
9926
  if test "x$ac_ct_CXX" = x; then
 
9927
    CXX="g++"
 
9928
  else
 
9929
    case $cross_compiling:$ac_tool_warned in
 
9930
yes:)
 
9931
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9932
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9933
ac_tool_warned=yes ;;
 
9934
esac
 
9935
    CXX=$ac_ct_CXX
 
9936
  fi
 
9937
fi
 
9938
 
 
9939
  fi
 
9940
fi
 
9941
# Provide some information about the compiler.
 
9942
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
9943
set X $ac_compile
 
9944
ac_compiler=$2
 
9945
for ac_option in --version -v -V -qversion; do
 
9946
  { { ac_try="$ac_compiler $ac_option >&5"
 
9947
case "(($ac_try" in
 
9948
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9949
  *) ac_try_echo=$ac_try;;
 
9950
esac
 
9951
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
9952
$as_echo "$ac_try_echo"; } >&5
 
9953
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
9954
  ac_status=$?
 
9955
  if test -s conftest.err; then
 
9956
    sed '10a\
 
9957
... rest of stderr output deleted ...
 
9958
         10q' conftest.err >conftest.er1
 
9959
    cat conftest.er1 >&5
 
9960
  fi
 
9961
  rm -f conftest.er1 conftest.err
 
9962
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9963
  test $ac_status = 0; }
 
9964
done
 
9965
 
 
9966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
9967
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
9968
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
9969
  $as_echo_n "(cached) " >&6
 
9970
else
 
9971
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9972
/* end confdefs.h.  */
 
9973
 
 
9974
int
 
9975
main ()
 
9976
{
 
9977
#ifndef __GNUC__
 
9978
       choke me
 
9979
#endif
 
9980
 
 
9981
  ;
 
9982
  return 0;
 
9983
}
 
9984
_ACEOF
 
9985
if ac_fn_cxx_try_compile "$LINENO"; then :
 
9986
  ac_compiler_gnu=yes
 
9987
else
 
9988
  ac_compiler_gnu=no
 
9989
fi
 
9990
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9991
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
9992
 
 
9993
fi
 
9994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
9995
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
9996
if test $ac_compiler_gnu = yes; then
 
9997
  GXX=yes
 
9998
else
 
9999
  GXX=
 
10000
fi
 
10001
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
10002
ac_save_CXXFLAGS=$CXXFLAGS
 
10003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
10004
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
10005
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
10006
  $as_echo_n "(cached) " >&6
 
10007
else
 
10008
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
10009
   ac_cxx_werror_flag=yes
 
10010
   ac_cv_prog_cxx_g=no
 
10011
   CXXFLAGS="-g"
 
10012
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10013
/* end confdefs.h.  */
 
10014
 
 
10015
int
 
10016
main ()
 
10017
{
 
10018
 
 
10019
  ;
 
10020
  return 0;
 
10021
}
 
10022
_ACEOF
 
10023
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10024
  ac_cv_prog_cxx_g=yes
 
10025
else
 
10026
  CXXFLAGS=""
 
10027
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10028
/* end confdefs.h.  */
 
10029
 
 
10030
int
 
10031
main ()
 
10032
{
 
10033
 
 
10034
  ;
 
10035
  return 0;
 
10036
}
 
10037
_ACEOF
 
10038
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10039
 
 
10040
else
 
10041
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10042
         CXXFLAGS="-g"
 
10043
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10044
/* end confdefs.h.  */
 
10045
 
 
10046
int
 
10047
main ()
 
10048
{
 
10049
 
 
10050
  ;
 
10051
  return 0;
 
10052
}
 
10053
_ACEOF
 
10054
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10055
  ac_cv_prog_cxx_g=yes
 
10056
fi
 
10057
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10058
fi
 
10059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10060
fi
 
10061
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10062
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10063
fi
 
10064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
10065
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
10066
if test "$ac_test_CXXFLAGS" = set; then
 
10067
  CXXFLAGS=$ac_save_CXXFLAGS
 
10068
elif test $ac_cv_prog_cxx_g = yes; then
 
10069
  if test "$GXX" = yes; then
 
10070
    CXXFLAGS="-g -O2"
 
10071
  else
 
10072
    CXXFLAGS="-g"
 
10073
  fi
 
10074
else
 
10075
  if test "$GXX" = yes; then
 
10076
    CXXFLAGS="-O2"
 
10077
  else
 
10078
    CXXFLAGS=
 
10079
  fi
 
10080
fi
 
10081
ac_ext=c
 
10082
ac_cpp='$CPP $CPPFLAGS'
 
10083
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10084
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10085
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10086
 
 
10087
depcc="$CXX"  am_compiler_list=
 
10088
 
 
10089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
10090
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
10091
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
10092
  $as_echo_n "(cached) " >&6
 
10093
else
 
10094
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
10095
  # We make a subdir and do the tests there.  Otherwise we can end up
 
10096
  # making bogus files that we don't know about and never remove.  For
 
10097
  # instance it was reported that on HP-UX the gcc test will end up
 
10098
  # making a dummy file named `D' -- because `-MD' means `put the output
 
10099
  # in D'.
 
10100
  mkdir conftest.dir
 
10101
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
10102
  # using a relative directory.
 
10103
  cp "$am_depcomp" conftest.dir
 
10104
  cd conftest.dir
 
10105
  # We will build objects and dependencies in a subdirectory because
 
10106
  # it helps to detect inapplicable dependency modes.  For instance
 
10107
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
10108
  # side effect of compilation, but ICC will put the dependencies in
 
10109
  # the current directory while Tru64 will put them in the object
 
10110
  # directory.
 
10111
  mkdir sub
 
10112
 
 
10113
  am_cv_CXX_dependencies_compiler_type=none
 
10114
  if test "$am_compiler_list" = ""; then
 
10115
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
10116
  fi
 
10117
  am__universal=false
 
10118
  case " $depcc " in #(
 
10119
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
10120
     esac
 
10121
 
 
10122
  for depmode in $am_compiler_list; do
 
10123
    # Setup a source with many dependencies, because some compilers
 
10124
    # like to wrap large dependency lists on column 80 (with \), and
 
10125
    # we should not choose a depcomp mode which is confused by this.
 
10126
    #
 
10127
    # We need to recreate these files for each test, as the compiler may
 
10128
    # overwrite some of them when testing with obscure command lines.
 
10129
    # This happens at least with the AIX C compiler.
 
10130
    : > sub/conftest.c
 
10131
    for i in 1 2 3 4 5 6; do
 
10132
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
10133
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
10134
      # Solaris 8's {/usr,}/bin/sh.
 
10135
      touch sub/conftst$i.h
 
10136
    done
 
10137
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
10138
 
 
10139
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
10140
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
10141
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
10142
    # versions had trouble with output in subdirs
 
10143
    am__obj=sub/conftest.${OBJEXT-o}
 
10144
    am__minus_obj="-o $am__obj"
 
10145
    case $depmode in
 
10146
    gcc)
 
10147
      # This depmode causes a compiler race in universal mode.
 
10148
      test "$am__universal" = false || continue
 
10149
      ;;
 
10150
    nosideeffect)
 
10151
      # after this tag, mechanisms are not by side-effect, so they'll
 
10152
      # only be used when explicitly requested
 
10153
      if test "x$enable_dependency_tracking" = xyes; then
 
10154
        continue
 
10155
      else
 
10156
        break
 
10157
      fi
 
10158
      ;;
 
10159
    msvisualcpp | msvcmsys)
 
10160
      # This compiler won't grok `-c -o', but also, the minuso test has
 
10161
      # not run yet.  These depmodes are late enough in the game, and
 
10162
      # so weak that their functioning should not be impacted.
 
10163
      am__obj=conftest.${OBJEXT-o}
 
10164
      am__minus_obj=
 
10165
      ;;
 
10166
    none) break ;;
 
10167
    esac
 
10168
    if depmode=$depmode \
 
10169
       source=sub/conftest.c object=$am__obj \
 
10170
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
10171
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
10172
         >/dev/null 2>conftest.err &&
 
10173
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
10174
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
10175
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
10176
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
10177
      # icc doesn't choke on unknown options, it will just issue warnings
 
10178
      # or remarks (even with -Werror).  So we grep stderr for any message
 
10179
      # that says an option was ignored or not supported.
 
10180
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
10181
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
10182
      # The diagnosis changed in icc 8.0:
 
10183
      #   icc: Command line remark: option '-MP' not supported
 
10184
      if (grep 'ignoring option' conftest.err ||
 
10185
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
10186
        am_cv_CXX_dependencies_compiler_type=$depmode
 
10187
        break
 
10188
      fi
 
10189
    fi
 
10190
  done
 
10191
 
 
10192
  cd ..
 
10193
  rm -rf conftest.dir
 
10194
else
 
10195
  am_cv_CXX_dependencies_compiler_type=none
 
10196
fi
 
10197
 
 
10198
fi
 
10199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
10200
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
10201
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
10202
 
 
10203
 if
 
10204
  test "x$enable_dependency_tracking" != xno \
 
10205
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
10206
  am__fastdepCXX_TRUE=
 
10207
  am__fastdepCXX_FALSE='#'
 
10208
else
 
10209
  am__fastdepCXX_TRUE='#'
 
10210
  am__fastdepCXX_FALSE=
 
10211
fi
 
10212
 
 
10213
 
 
10214
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
10215
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
10216
    (test "X$CXX" != "Xg++"))) ; then
 
10217
  ac_ext=cpp
 
10218
ac_cpp='$CXXCPP $CPPFLAGS'
 
10219
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10220
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10221
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
10222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
10223
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
10224
if test -z "$CXXCPP"; then
 
10225
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
10226
  $as_echo_n "(cached) " >&6
 
10227
else
 
10228
      # Double quotes because CXXCPP needs to be expanded
 
10229
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
10230
    do
 
10231
      ac_preproc_ok=false
 
10232
for ac_cxx_preproc_warn_flag in '' yes
 
10233
do
 
10234
  # Use a header file that comes with gcc, so configuring glibc
 
10235
  # with a fresh cross-compiler works.
 
10236
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10237
  # <limits.h> exists even on freestanding compilers.
 
10238
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
10239
  # not just through cpp. "Syntax error" is here to catch this case.
 
10240
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10241
/* end confdefs.h.  */
 
10242
#ifdef __STDC__
 
10243
# include <limits.h>
 
10244
#else
 
10245
# include <assert.h>
 
10246
#endif
 
10247
                     Syntax error
 
10248
_ACEOF
 
10249
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10250
 
 
10251
else
 
10252
  # Broken: fails on valid input.
 
10253
continue
 
10254
fi
 
10255
rm -f conftest.err conftest.$ac_ext
 
10256
 
 
10257
  # OK, works on sane cases.  Now check whether nonexistent headers
 
10258
  # can be detected and how.
 
10259
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10260
/* end confdefs.h.  */
 
10261
#include <ac_nonexistent.h>
 
10262
_ACEOF
 
10263
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10264
  # Broken: success on invalid input.
 
10265
continue
 
10266
else
 
10267
  # Passes both tests.
 
10268
ac_preproc_ok=:
 
10269
break
 
10270
fi
 
10271
rm -f conftest.err conftest.$ac_ext
 
10272
 
 
10273
done
 
10274
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
10275
rm -f conftest.err conftest.$ac_ext
 
10276
if $ac_preproc_ok; then :
 
10277
  break
 
10278
fi
 
10279
 
 
10280
    done
 
10281
    ac_cv_prog_CXXCPP=$CXXCPP
 
10282
 
 
10283
fi
 
10284
  CXXCPP=$ac_cv_prog_CXXCPP
 
10285
else
 
10286
  ac_cv_prog_CXXCPP=$CXXCPP
 
10287
fi
 
10288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
10289
$as_echo "$CXXCPP" >&6; }
 
10290
ac_preproc_ok=false
 
10291
for ac_cxx_preproc_warn_flag in '' yes
 
10292
do
 
10293
  # Use a header file that comes with gcc, so configuring glibc
 
10294
  # with a fresh cross-compiler works.
 
10295
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10296
  # <limits.h> exists even on freestanding compilers.
 
10297
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
10298
  # not just through cpp. "Syntax error" is here to catch this case.
 
10299
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10300
/* end confdefs.h.  */
 
10301
#ifdef __STDC__
 
10302
# include <limits.h>
 
10303
#else
 
10304
# include <assert.h>
 
10305
#endif
 
10306
                     Syntax error
 
10307
_ACEOF
 
10308
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10309
 
 
10310
else
 
10311
  # Broken: fails on valid input.
 
10312
continue
 
10313
fi
 
10314
rm -f conftest.err conftest.$ac_ext
 
10315
 
 
10316
  # OK, works on sane cases.  Now check whether nonexistent headers
 
10317
  # can be detected and how.
 
10318
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10319
/* end confdefs.h.  */
 
10320
#include <ac_nonexistent.h>
 
10321
_ACEOF
 
10322
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
10323
  # Broken: success on invalid input.
 
10324
continue
 
10325
else
 
10326
  # Passes both tests.
 
10327
ac_preproc_ok=:
 
10328
break
 
10329
fi
 
10330
rm -f conftest.err conftest.$ac_ext
 
10331
 
 
10332
done
 
10333
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
10334
rm -f conftest.err conftest.$ac_ext
 
10335
if $ac_preproc_ok; then :
 
10336
 
 
10337
else
 
10338
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
10339
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
10340
_lt_caught_CXX_error=yes; }
 
10341
fi
 
10342
 
 
10343
ac_ext=c
 
10344
ac_cpp='$CPP $CPPFLAGS'
 
10345
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10346
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10347
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10348
 
 
10349
else
 
10350
  _lt_caught_CXX_error=yes
 
10351
fi
 
10352
 
 
10353
 
 
10354
 
 
10355
 
 
10356
 
 
10357
# Set options
 
10358
# Check whether --enable-static was given.
 
10359
if test "${enable_static+set}" = set; then :
 
10360
  enableval=$enable_static; p=${PACKAGE-default}
 
10361
    case $enableval in
 
10362
    yes) enable_static=yes ;;
 
10363
    no) enable_static=no ;;
 
10364
    *)
 
10365
     enable_static=no
 
10366
      # Look at the argument we got.  We use all the common list separators.
 
10367
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10368
      for pkg in $enableval; do
 
10369
        IFS="$lt_save_ifs"
 
10370
        if test "X$pkg" = "X$p"; then
 
10371
          enable_static=yes
 
10372
        fi
 
10373
      done
 
10374
      IFS="$lt_save_ifs"
 
10375
      ;;
 
10376
    esac
 
10377
else
 
10378
  enable_static=no
 
10379
fi
 
10380
 
 
10381
 
 
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
enable_win32_dll=yes
 
10388
 
 
10389
case $host in
 
10390
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
10391
  if test -n "$ac_tool_prefix"; then
 
10392
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
10393
set dummy ${ac_tool_prefix}as; ac_word=$2
 
10394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10395
$as_echo_n "checking for $ac_word... " >&6; }
 
10396
if test "${ac_cv_prog_AS+set}" = set; then :
 
10397
  $as_echo_n "(cached) " >&6
 
10398
else
 
10399
  if test -n "$AS"; then
 
10400
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
10401
else
 
10402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10403
for as_dir in $PATH
 
10404
do
 
10405
  IFS=$as_save_IFS
 
10406
  test -z "$as_dir" && as_dir=.
 
10407
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10408
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10409
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
10410
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10411
    break 2
 
10412
  fi
 
10413
done
 
10414
  done
 
10415
IFS=$as_save_IFS
 
10416
 
 
10417
fi
 
10418
fi
 
10419
AS=$ac_cv_prog_AS
 
10420
if test -n "$AS"; then
 
10421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
10422
$as_echo "$AS" >&6; }
 
10423
else
 
10424
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10425
$as_echo "no" >&6; }
 
10426
fi
 
10427
 
 
10428
 
 
10429
fi
 
10430
if test -z "$ac_cv_prog_AS"; then
 
10431
  ac_ct_AS=$AS
 
10432
  # Extract the first word of "as", so it can be a program name with args.
 
10433
set dummy as; ac_word=$2
 
10434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10435
$as_echo_n "checking for $ac_word... " >&6; }
 
10436
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
10437
  $as_echo_n "(cached) " >&6
 
10438
else
 
10439
  if test -n "$ac_ct_AS"; then
 
10440
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
10441
else
 
10442
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10443
for as_dir in $PATH
 
10444
do
 
10445
  IFS=$as_save_IFS
 
10446
  test -z "$as_dir" && as_dir=.
 
10447
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10448
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10449
    ac_cv_prog_ac_ct_AS="as"
 
10450
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10451
    break 2
 
10452
  fi
 
10453
done
 
10454
  done
 
10455
IFS=$as_save_IFS
 
10456
 
 
10457
fi
 
10458
fi
 
10459
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
10460
if test -n "$ac_ct_AS"; then
 
10461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 
10462
$as_echo "$ac_ct_AS" >&6; }
 
10463
else
 
10464
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10465
$as_echo "no" >&6; }
 
10466
fi
 
10467
 
 
10468
  if test "x$ac_ct_AS" = x; then
 
10469
    AS="false"
 
10470
  else
 
10471
    case $cross_compiling:$ac_tool_warned in
 
10472
yes:)
 
10473
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10474
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10475
ac_tool_warned=yes ;;
 
10476
esac
 
10477
    AS=$ac_ct_AS
 
10478
  fi
 
10479
else
 
10480
  AS="$ac_cv_prog_AS"
 
10481
fi
 
10482
 
 
10483
  if test -n "$ac_tool_prefix"; then
 
10484
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
10485
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
10486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10487
$as_echo_n "checking for $ac_word... " >&6; }
 
10488
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
10489
  $as_echo_n "(cached) " >&6
 
10490
else
 
10491
  if test -n "$DLLTOOL"; then
 
10492
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
10493
else
 
10494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10495
for as_dir in $PATH
 
10496
do
 
10497
  IFS=$as_save_IFS
 
10498
  test -z "$as_dir" && as_dir=.
 
10499
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10500
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10501
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
10502
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10503
    break 2
 
10504
  fi
 
10505
done
 
10506
  done
 
10507
IFS=$as_save_IFS
 
10508
 
 
10509
fi
 
10510
fi
 
10511
DLLTOOL=$ac_cv_prog_DLLTOOL
 
10512
if test -n "$DLLTOOL"; then
 
10513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
10514
$as_echo "$DLLTOOL" >&6; }
 
10515
else
 
10516
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10517
$as_echo "no" >&6; }
 
10518
fi
 
10519
 
 
10520
 
 
10521
fi
 
10522
if test -z "$ac_cv_prog_DLLTOOL"; then
 
10523
  ac_ct_DLLTOOL=$DLLTOOL
 
10524
  # Extract the first word of "dlltool", so it can be a program name with args.
 
10525
set dummy dlltool; ac_word=$2
 
10526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10527
$as_echo_n "checking for $ac_word... " >&6; }
 
10528
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
10529
  $as_echo_n "(cached) " >&6
 
10530
else
 
10531
  if test -n "$ac_ct_DLLTOOL"; then
 
10532
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
10533
else
 
10534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10535
for as_dir in $PATH
 
10536
do
 
10537
  IFS=$as_save_IFS
 
10538
  test -z "$as_dir" && as_dir=.
 
10539
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10540
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10541
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
10542
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10543
    break 2
 
10544
  fi
 
10545
done
 
10546
  done
 
10547
IFS=$as_save_IFS
 
10548
 
 
10549
fi
 
10550
fi
 
10551
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
10552
if test -n "$ac_ct_DLLTOOL"; then
 
10553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
10554
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
10555
else
 
10556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10557
$as_echo "no" >&6; }
 
10558
fi
 
10559
 
 
10560
  if test "x$ac_ct_DLLTOOL" = x; then
 
10561
    DLLTOOL="false"
 
10562
  else
 
10563
    case $cross_compiling:$ac_tool_warned in
 
10564
yes:)
 
10565
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10566
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10567
ac_tool_warned=yes ;;
 
10568
esac
 
10569
    DLLTOOL=$ac_ct_DLLTOOL
 
10570
  fi
 
10571
else
 
10572
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
10573
fi
 
10574
 
 
10575
  if test -n "$ac_tool_prefix"; then
 
10576
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
10577
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
10578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10579
$as_echo_n "checking for $ac_word... " >&6; }
 
10580
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
10581
  $as_echo_n "(cached) " >&6
 
10582
else
 
10583
  if test -n "$OBJDUMP"; then
 
10584
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
10585
else
 
10586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10587
for as_dir in $PATH
 
10588
do
 
10589
  IFS=$as_save_IFS
 
10590
  test -z "$as_dir" && as_dir=.
 
10591
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10592
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10593
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
10594
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10595
    break 2
 
10596
  fi
 
10597
done
 
10598
  done
 
10599
IFS=$as_save_IFS
 
10600
 
 
10601
fi
 
10602
fi
 
10603
OBJDUMP=$ac_cv_prog_OBJDUMP
 
10604
if test -n "$OBJDUMP"; then
 
10605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
10606
$as_echo "$OBJDUMP" >&6; }
 
10607
else
 
10608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10609
$as_echo "no" >&6; }
 
10610
fi
 
10611
 
 
10612
 
 
10613
fi
 
10614
if test -z "$ac_cv_prog_OBJDUMP"; then
 
10615
  ac_ct_OBJDUMP=$OBJDUMP
 
10616
  # Extract the first word of "objdump", so it can be a program name with args.
 
10617
set dummy objdump; ac_word=$2
 
10618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10619
$as_echo_n "checking for $ac_word... " >&6; }
 
10620
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
10621
  $as_echo_n "(cached) " >&6
 
10622
else
 
10623
  if test -n "$ac_ct_OBJDUMP"; then
 
10624
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
10625
else
 
10626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10627
for as_dir in $PATH
 
10628
do
 
10629
  IFS=$as_save_IFS
 
10630
  test -z "$as_dir" && as_dir=.
 
10631
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10632
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10633
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
10634
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10635
    break 2
 
10636
  fi
 
10637
done
 
10638
  done
 
10639
IFS=$as_save_IFS
 
10640
 
 
10641
fi
 
10642
fi
 
10643
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
10644
if test -n "$ac_ct_OBJDUMP"; then
 
10645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
10646
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
10647
else
 
10648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10649
$as_echo "no" >&6; }
 
10650
fi
 
10651
 
 
10652
  if test "x$ac_ct_OBJDUMP" = x; then
 
10653
    OBJDUMP="false"
 
10654
  else
 
10655
    case $cross_compiling:$ac_tool_warned in
 
10656
yes:)
 
10657
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10658
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10659
ac_tool_warned=yes ;;
 
10660
esac
 
10661
    OBJDUMP=$ac_ct_OBJDUMP
 
10662
  fi
 
10663
else
 
10664
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
10665
fi
 
10666
 
 
10667
  ;;
 
10668
esac
 
10669
 
 
10670
test -z "$AS" && AS=as
 
10671
 
 
10672
 
 
10673
 
 
10674
 
 
10675
 
 
10676
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
10677
 
 
10678
 
 
10679
 
 
10680
 
 
10681
 
 
10682
test -z "$OBJDUMP" && OBJDUMP=objdump
 
10683
 
 
10684
 
 
10685
 
 
10686
 
 
10687
 
 
10688
 
 
10689
 
 
10690
        enable_dlopen=no
 
10691
 
 
10692
 
 
10693
 
 
10694
            # Check whether --enable-shared was given.
 
10695
if test "${enable_shared+set}" = set; then :
 
10696
  enableval=$enable_shared; p=${PACKAGE-default}
 
10697
    case $enableval in
 
10698
    yes) enable_shared=yes ;;
 
10699
    no) enable_shared=no ;;
 
10700
    *)
 
10701
      enable_shared=no
 
10702
      # Look at the argument we got.  We use all the common list separators.
 
10703
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10704
      for pkg in $enableval; do
 
10705
        IFS="$lt_save_ifs"
 
10706
        if test "X$pkg" = "X$p"; then
 
10707
          enable_shared=yes
 
10708
        fi
 
10709
      done
 
10710
      IFS="$lt_save_ifs"
 
10711
      ;;
 
10712
    esac
 
10713
else
 
10714
  enable_shared=yes
 
10715
fi
 
10716
 
 
10717
 
 
10718
 
 
10719
 
 
10720
 
 
10721
 
 
10722
 
 
10723
 
 
10724
 
 
10725
 
 
10726
 
 
10727
# Check whether --with-pic was given.
 
10728
if test "${with_pic+set}" = set; then :
 
10729
  withval=$with_pic; pic_mode="$withval"
 
10730
else
 
10731
  pic_mode=default
 
10732
fi
 
10733
 
 
10734
 
 
10735
test -z "$pic_mode" && pic_mode=default
 
10736
 
 
10737
 
 
10738
 
 
10739
 
 
10740
 
 
10741
 
 
10742
 
 
10743
  # Check whether --enable-fast-install was given.
 
10744
if test "${enable_fast_install+set}" = set; then :
 
10745
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
10746
    case $enableval in
 
10747
    yes) enable_fast_install=yes ;;
 
10748
    no) enable_fast_install=no ;;
 
10749
    *)
 
10750
      enable_fast_install=no
 
10751
      # Look at the argument we got.  We use all the common list separators.
 
10752
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10753
      for pkg in $enableval; do
 
10754
        IFS="$lt_save_ifs"
 
10755
        if test "X$pkg" = "X$p"; then
 
10756
          enable_fast_install=yes
 
10757
        fi
 
10758
      done
 
10759
      IFS="$lt_save_ifs"
 
10760
      ;;
 
10761
    esac
 
10762
else
 
10763
  enable_fast_install=yes
 
10764
fi
 
10765
 
 
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
# This can be used to rebuild libtool when needed
 
10777
LIBTOOL_DEPS="$ltmain"
 
10778
 
 
10779
# Always use our own libtool.
 
10780
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
10781
 
 
10782
 
 
10783
 
 
10784
 
 
10785
 
 
10786
 
 
10787
 
 
10788
 
 
10789
 
 
10790
 
 
10791
 
 
10792
 
 
10793
 
 
10794
 
 
10795
 
 
10796
 
 
10797
 
 
10798
 
 
10799
 
 
10800
 
 
10801
 
 
10802
 
 
10803
 
 
10804
 
 
10805
 
 
10806
test -z "$LN_S" && LN_S="ln -s"
 
10807
 
 
10808
 
 
10809
 
 
10810
 
 
10811
 
 
10812
 
 
10813
 
 
10814
 
 
10815
 
 
10816
 
 
10817
 
 
10818
 
 
10819
 
 
10820
 
 
10821
if test -n "${ZSH_VERSION+set}" ; then
 
10822
   setopt NO_GLOB_SUBST
 
10823
fi
 
10824
 
 
10825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
10826
$as_echo_n "checking for objdir... " >&6; }
 
10827
if test "${lt_cv_objdir+set}" = set; then :
 
10828
  $as_echo_n "(cached) " >&6
 
10829
else
 
10830
  rm -f .libs 2>/dev/null
 
10831
mkdir .libs 2>/dev/null
 
10832
if test -d .libs; then
 
10833
  lt_cv_objdir=.libs
 
10834
else
 
10835
  # MS-DOS does not allow filenames that begin with a dot.
 
10836
  lt_cv_objdir=_libs
 
10837
fi
 
10838
rmdir .libs 2>/dev/null
 
10839
fi
 
10840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
10841
$as_echo "$lt_cv_objdir" >&6; }
 
10842
objdir=$lt_cv_objdir
 
10843
 
 
10844
 
 
10845
 
 
10846
 
 
10847
 
 
10848
cat >>confdefs.h <<_ACEOF
 
10849
#define LT_OBJDIR "$lt_cv_objdir/"
 
10850
_ACEOF
 
10851
 
 
10852
 
 
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
 
 
10859
 
 
10860
 
 
10861
 
 
10862
 
 
10863
 
 
10864
 
 
10865
 
 
10866
 
 
10867
 
 
10868
case $host_os in
 
10869
aix3*)
 
10870
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
10871
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
10872
  # vanish in a puff of smoke.
 
10873
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
10874
    COLLECT_NAMES=
 
10875
    export COLLECT_NAMES
 
10876
  fi
 
10877
  ;;
 
10878
esac
 
10879
 
 
10880
# Sed substitution that helps us do robust quoting.  It backslashifies
 
10881
# metacharacters that are still active within double-quoted strings.
 
10882
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
10883
 
 
10884
# Same as above, but do not quote variable references.
 
10885
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
10886
 
 
10887
# Sed substitution to delay expansion of an escaped shell variable in a
 
10888
# double_quote_subst'ed string.
 
10889
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
10890
 
 
10891
# Sed substitution to delay expansion of an escaped single quote.
 
10892
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
10893
 
 
10894
# Sed substitution to avoid accidental globbing in evaled expressions
 
10895
no_glob_subst='s/\*/\\\*/g'
 
10896
 
 
10897
# Global variables:
 
10898
ofile=libtool
 
10899
can_build_shared=yes
 
10900
 
 
10901
# All known linkers require a `.a' archive for static linking (except MSVC,
 
10902
# which needs '.lib').
 
10903
libext=a
 
10904
 
 
10905
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
10906
 
 
10907
old_CC="$CC"
 
10908
old_CFLAGS="$CFLAGS"
 
10909
 
 
10910
# Set sane defaults for various variables
 
10911
test -z "$CC" && CC=cc
 
10912
test -z "$LTCC" && LTCC=$CC
 
10913
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
10914
test -z "$LD" && LD=ld
 
10915
test -z "$ac_objext" && ac_objext=o
 
10916
 
 
10917
for cc_temp in $compiler""; do
 
10918
  case $cc_temp in
 
10919
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
10920
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
10921
    \-*) ;;
 
10922
    *) break;;
 
10923
  esac
 
10924
done
 
10925
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
10926
 
 
10927
 
 
10928
# Only perform the check for file, if the check method requires it
 
10929
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
10930
case $deplibs_check_method in
 
10931
file_magic*)
 
10932
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
10933
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
10934
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
10935
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
10936
  $as_echo_n "(cached) " >&6
 
10937
else
 
10938
  case $MAGIC_CMD in
 
10939
[\\/*] |  ?:[\\/]*)
 
10940
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10941
  ;;
 
10942
*)
 
10943
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10944
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10945
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10946
  for ac_dir in $ac_dummy; do
 
10947
    IFS="$lt_save_ifs"
 
10948
    test -z "$ac_dir" && ac_dir=.
 
10949
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
10950
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
10951
      if test -n "$file_magic_test_file"; then
 
10952
        case $deplibs_check_method in
 
10953
        "file_magic "*)
 
10954
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10955
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10956
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10957
            $EGREP "$file_magic_regex" > /dev/null; then
 
10958
            :
 
10959
          else
 
10960
            cat <<_LT_EOF 1>&2
 
10961
 
 
10962
*** Warning: the command libtool uses to detect shared libraries,
 
10963
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10964
*** The result is that libtool may fail to recognize shared libraries
 
10965
*** as such.  This will affect the creation of libtool libraries that
 
10966
*** depend on shared libraries, but programs linked with such libtool
 
10967
*** libraries will work regardless of this problem.  Nevertheless, you
 
10968
*** may want to report the problem to your system manager and/or to
 
10969
*** bug-libtool@gnu.org
 
10970
 
 
10971
_LT_EOF
 
10972
          fi ;;
 
10973
        esac
 
10974
      fi
 
10975
      break
 
10976
    fi
 
10977
  done
 
10978
  IFS="$lt_save_ifs"
 
10979
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10980
  ;;
 
10981
esac
 
10982
fi
 
10983
 
 
10984
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10985
if test -n "$MAGIC_CMD"; then
 
10986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
10987
$as_echo "$MAGIC_CMD" >&6; }
 
10988
else
 
10989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10990
$as_echo "no" >&6; }
 
10991
fi
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
10998
  if test -n "$ac_tool_prefix"; then
 
10999
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
11000
$as_echo_n "checking for file... " >&6; }
 
11001
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
11002
  $as_echo_n "(cached) " >&6
 
11003
else
 
11004
  case $MAGIC_CMD in
 
11005
[\\/*] |  ?:[\\/]*)
 
11006
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
11007
  ;;
 
11008
*)
 
11009
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
11010
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11011
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
11012
  for ac_dir in $ac_dummy; do
 
11013
    IFS="$lt_save_ifs"
 
11014
    test -z "$ac_dir" && ac_dir=.
 
11015
    if test -f $ac_dir/file; then
 
11016
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
11017
      if test -n "$file_magic_test_file"; then
 
11018
        case $deplibs_check_method in
 
11019
        "file_magic "*)
 
11020
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
11021
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11022
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
11023
            $EGREP "$file_magic_regex" > /dev/null; then
 
11024
            :
 
11025
          else
 
11026
            cat <<_LT_EOF 1>&2
 
11027
 
 
11028
*** Warning: the command libtool uses to detect shared libraries,
 
11029
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
11030
*** The result is that libtool may fail to recognize shared libraries
 
11031
*** as such.  This will affect the creation of libtool libraries that
 
11032
*** depend on shared libraries, but programs linked with such libtool
 
11033
*** libraries will work regardless of this problem.  Nevertheless, you
 
11034
*** may want to report the problem to your system manager and/or to
 
11035
*** bug-libtool@gnu.org
 
11036
 
 
11037
_LT_EOF
 
11038
          fi ;;
 
11039
        esac
 
11040
      fi
 
11041
      break
 
11042
    fi
 
11043
  done
 
11044
  IFS="$lt_save_ifs"
 
11045
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
11046
  ;;
 
11047
esac
 
11048
fi
 
11049
 
 
11050
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11051
if test -n "$MAGIC_CMD"; then
 
11052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
11053
$as_echo "$MAGIC_CMD" >&6; }
 
11054
else
 
11055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11056
$as_echo "no" >&6; }
 
11057
fi
 
11058
 
 
11059
 
 
11060
  else
 
11061
    MAGIC_CMD=:
 
11062
  fi
 
11063
fi
 
11064
 
 
11065
  fi
 
11066
  ;;
 
11067
esac
 
11068
 
 
11069
# Use C for the default configuration in the libtool script
 
11070
 
 
11071
lt_save_CC="$CC"
 
11072
ac_ext=c
 
11073
ac_cpp='$CPP $CPPFLAGS'
 
11074
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11075
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11076
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11077
 
 
11078
 
 
11079
# Source file extension for C test sources.
 
11080
ac_ext=c
 
11081
 
 
11082
# Object file extension for compiled C test sources.
 
11083
objext=o
 
11084
objext=$objext
 
11085
 
 
11086
# Code to be used in simple compile tests
 
11087
lt_simple_compile_test_code="int some_variable = 0;"
 
11088
 
 
11089
# Code to be used in simple link tests
 
11090
lt_simple_link_test_code='int main(){return(0);}'
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
# If no C compiler was specified, use CC.
 
11099
LTCC=${LTCC-"$CC"}
 
11100
 
 
11101
# If no C compiler flags were specified, use CFLAGS.
 
11102
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11103
 
 
11104
# Allow CC to be a program name with arguments.
 
11105
compiler=$CC
 
11106
 
 
11107
# Save the default compiler, since it gets overwritten when the other
 
11108
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
11109
compiler_DEFAULT=$CC
 
11110
 
 
11111
# save warnings/boilerplate of simple test code
 
11112
ac_outfile=conftest.$ac_objext
 
11113
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11114
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11115
_lt_compiler_boilerplate=`cat conftest.err`
 
11116
$RM conftest*
 
11117
 
 
11118
ac_outfile=conftest.$ac_objext
 
11119
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
11120
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11121
_lt_linker_boilerplate=`cat conftest.err`
 
11122
$RM -r conftest*
 
11123
 
 
11124
 
 
11125
## CAVEAT EMPTOR:
 
11126
## There is no encapsulation within the following macros, do not change
 
11127
## the running order or otherwise move them around unless you know exactly
 
11128
## what you are doing...
 
11129
if test -n "$compiler"; then
 
11130
 
 
11131
lt_prog_compiler_no_builtin_flag=
 
11132
 
 
11133
if test "$GCC" = yes; then
 
11134
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
11135
 
 
11136
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
11137
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
11138
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
11139
  $as_echo_n "(cached) " >&6
 
11140
else
 
11141
  lt_cv_prog_compiler_rtti_exceptions=no
 
11142
   ac_outfile=conftest.$ac_objext
 
11143
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11144
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
11145
   # Insert the option either (1) after the last *FLAGS variable, or
 
11146
   # (2) before a word containing "conftest.", or (3) at the end.
 
11147
   # Note that $ac_compile itself does not contain backslashes and begins
 
11148
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11149
   # The option is referenced via a variable to avoid confusing sed.
 
11150
   lt_compile=`echo "$ac_compile" | $SED \
 
11151
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11152
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11153
   -e 's:$: $lt_compiler_flag:'`
 
11154
   (eval echo "\"\$as_me:11154: $lt_compile\"" >&5)
 
11155
   (eval "$lt_compile" 2>conftest.err)
 
11156
   ac_status=$?
 
11157
   cat conftest.err >&5
 
11158
   echo "$as_me:11158: \$? = $ac_status" >&5
 
11159
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
11160
     # The compiler can only warn and ignore the option if not recognized
 
11161
     # So say no if there are warnings other than the usual output.
 
11162
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11163
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11164
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
11165
       lt_cv_prog_compiler_rtti_exceptions=yes
 
11166
     fi
 
11167
   fi
 
11168
   $RM conftest*
 
11169
 
 
11170
fi
 
11171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
11172
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
11173
 
 
11174
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
11175
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
11176
else
 
11177
    :
 
11178
fi
 
11179
 
 
11180
fi
 
11181
 
 
11182
 
 
11183
 
 
11184
 
 
11185
 
 
11186
 
 
11187
  lt_prog_compiler_wl=
 
11188
lt_prog_compiler_pic=
 
11189
lt_prog_compiler_static=
 
11190
 
 
11191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
11192
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
11193
 
 
11194
  if test "$GCC" = yes; then
 
11195
    lt_prog_compiler_wl='-Wl,'
 
11196
    lt_prog_compiler_static='-static'
 
11197
 
 
11198
    case $host_os in
 
11199
      aix*)
 
11200
      # All AIX code is PIC.
 
11201
      if test "$host_cpu" = ia64; then
 
11202
        # AIX 5 now supports IA64 processor
 
11203
        lt_prog_compiler_static='-Bstatic'
 
11204
      fi
 
11205
      ;;
 
11206
 
 
11207
    amigaos*)
 
11208
      case $host_cpu in
 
11209
      powerpc)
 
11210
            # see comment about AmigaOS4 .so support
 
11211
            lt_prog_compiler_pic='-fPIC'
 
11212
        ;;
 
11213
      m68k)
 
11214
            # FIXME: we need at least 68020 code to build shared libraries, but
 
11215
            # adding the `-m68020' flag to GCC prevents building anything better,
 
11216
            # like `-m68040'.
 
11217
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
11218
        ;;
 
11219
      esac
 
11220
      ;;
 
11221
 
 
11222
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
11223
      # PIC is the default for these OSes.
 
11224
      ;;
 
11225
 
 
11226
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
11227
      # This hack is so that the source file can tell whether it is being
 
11228
      # built for inclusion in a dll (and should export symbols for example).
 
11229
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
11230
      # (--disable-auto-import) libraries
 
11231
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
11232
      ;;
 
11233
 
 
11234
    darwin* | rhapsody*)
 
11235
      # PIC is the default on this platform
 
11236
      # Common symbols not allowed in MH_DYLIB files
 
11237
      lt_prog_compiler_pic='-fno-common'
 
11238
      ;;
 
11239
 
 
11240
    hpux*)
 
11241
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
11242
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
11243
      # sets the default TLS model and affects inlining.
 
11244
      case $host_cpu in
 
11245
      hppa*64*)
 
11246
        # +Z the default
 
11247
        ;;
 
11248
      *)
 
11249
        lt_prog_compiler_pic='-fPIC'
 
11250
        ;;
 
11251
      esac
 
11252
      ;;
 
11253
 
 
11254
    interix[3-9]*)
 
11255
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
11256
      # Instead, we relocate shared libraries at runtime.
 
11257
      ;;
 
11258
 
 
11259
    msdosdjgpp*)
 
11260
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
11261
      # on systems that don't support them.
 
11262
      lt_prog_compiler_can_build_shared=no
 
11263
      enable_shared=no
 
11264
      ;;
 
11265
 
 
11266
    *nto* | *qnx*)
 
11267
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11268
      # it will coredump.
 
11269
      lt_prog_compiler_pic='-fPIC -shared'
 
11270
      ;;
 
11271
 
 
11272
    sysv4*MP*)
 
11273
      if test -d /usr/nec; then
 
11274
        lt_prog_compiler_pic=-Kconform_pic
 
11275
      fi
 
11276
      ;;
 
11277
 
 
11278
    *)
 
11279
      lt_prog_compiler_pic='-fPIC'
 
11280
      ;;
 
11281
    esac
 
11282
  else
 
11283
    # PORTME Check for flag to pass linker flags through the system compiler.
 
11284
    case $host_os in
 
11285
    aix*)
 
11286
      lt_prog_compiler_wl='-Wl,'
 
11287
      if test "$host_cpu" = ia64; then
 
11288
        # AIX 5 now supports IA64 processor
 
11289
        lt_prog_compiler_static='-Bstatic'
 
11290
      else
 
11291
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
11292
      fi
 
11293
      ;;
 
11294
 
 
11295
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
11296
      # This hack is so that the source file can tell whether it is being
 
11297
      # built for inclusion in a dll (and should export symbols for example).
 
11298
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
11299
      ;;
 
11300
 
 
11301
    hpux9* | hpux10* | hpux11*)
 
11302
      lt_prog_compiler_wl='-Wl,'
 
11303
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
11304
      # not for PA HP-UX.
 
11305
      case $host_cpu in
 
11306
      hppa*64*|ia64*)
 
11307
        # +Z the default
 
11308
        ;;
 
11309
      *)
 
11310
        lt_prog_compiler_pic='+Z'
 
11311
        ;;
 
11312
      esac
 
11313
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
11314
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
11315
      ;;
 
11316
 
 
11317
    irix5* | irix6* | nonstopux*)
 
11318
      lt_prog_compiler_wl='-Wl,'
 
11319
      # PIC (with -KPIC) is the default.
 
11320
      lt_prog_compiler_static='-non_shared'
 
11321
      ;;
 
11322
 
 
11323
    linux* | k*bsd*-gnu)
 
11324
      case $cc_basename in
 
11325
      # old Intel for x86_64 which still supported -KPIC.
 
11326
      ecc*)
 
11327
        lt_prog_compiler_wl='-Wl,'
 
11328
        lt_prog_compiler_pic='-KPIC'
 
11329
        lt_prog_compiler_static='-static'
 
11330
        ;;
 
11331
      # icc used to be incompatible with GCC.
 
11332
      # ICC 10 doesn't accept -KPIC any more.
 
11333
      icc* | ifort*)
 
11334
        lt_prog_compiler_wl='-Wl,'
 
11335
        lt_prog_compiler_pic='-fPIC'
 
11336
        lt_prog_compiler_static='-static'
 
11337
        ;;
 
11338
      # Lahey Fortran 8.1.
 
11339
      lf95*)
 
11340
        lt_prog_compiler_wl='-Wl,'
 
11341
        lt_prog_compiler_pic='--shared'
 
11342
        lt_prog_compiler_static='--static'
 
11343
        ;;
 
11344
      pgcc* | pgf77* | pgf90* | pgf95*)
 
11345
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
11346
        # which looks to be a dead project)
 
11347
        lt_prog_compiler_wl='-Wl,'
 
11348
        lt_prog_compiler_pic='-fpic'
 
11349
        lt_prog_compiler_static='-Bstatic'
 
11350
        ;;
 
11351
      ccc*)
 
11352
        lt_prog_compiler_wl='-Wl,'
 
11353
        # All Alpha code is PIC.
 
11354
        lt_prog_compiler_static='-non_shared'
 
11355
        ;;
 
11356
      xl*)
 
11357
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
11358
        lt_prog_compiler_wl='-Wl,'
 
11359
        lt_prog_compiler_pic='-qpic'
 
11360
        lt_prog_compiler_static='-qstaticlink'
 
11361
        ;;
 
11362
      *)
 
11363
        case `$CC -V 2>&1 | sed 5q` in
 
11364
        *Sun\ C*)
 
11365
          # Sun C 5.9
 
11366
          lt_prog_compiler_pic='-KPIC'
 
11367
          lt_prog_compiler_static='-Bstatic'
 
11368
          lt_prog_compiler_wl='-Wl,'
 
11369
          ;;
 
11370
        *Sun\ F*)
 
11371
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
11372
          lt_prog_compiler_pic='-KPIC'
 
11373
          lt_prog_compiler_static='-Bstatic'
 
11374
          lt_prog_compiler_wl=''
 
11375
          ;;
 
11376
        esac
 
11377
        ;;
 
11378
      esac
 
11379
      ;;
 
11380
 
 
11381
    newsos6)
 
11382
      lt_prog_compiler_pic='-KPIC'
 
11383
      lt_prog_compiler_static='-Bstatic'
 
11384
      ;;
 
11385
 
 
11386
    *nto* | *qnx*)
 
11387
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11388
      # it will coredump.
 
11389
      lt_prog_compiler_pic='-fPIC -shared'
 
11390
      ;;
 
11391
 
 
11392
    osf3* | osf4* | osf5*)
 
11393
      lt_prog_compiler_wl='-Wl,'
 
11394
      # All OSF/1 code is PIC.
 
11395
      lt_prog_compiler_static='-non_shared'
 
11396
      ;;
 
11397
 
 
11398
    rdos*)
 
11399
      lt_prog_compiler_static='-non_shared'
 
11400
      ;;
 
11401
 
 
11402
    solaris*)
 
11403
      lt_prog_compiler_pic='-KPIC'
 
11404
      lt_prog_compiler_static='-Bstatic'
 
11405
      case $cc_basename in
 
11406
      f77* | f90* | f95*)
 
11407
        lt_prog_compiler_wl='-Qoption ld ';;
 
11408
      *)
 
11409
        lt_prog_compiler_wl='-Wl,';;
 
11410
      esac
 
11411
      ;;
 
11412
 
 
11413
    sunos4*)
 
11414
      lt_prog_compiler_wl='-Qoption ld '
 
11415
      lt_prog_compiler_pic='-PIC'
 
11416
      lt_prog_compiler_static='-Bstatic'
 
11417
      ;;
 
11418
 
 
11419
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
11420
      lt_prog_compiler_wl='-Wl,'
 
11421
      lt_prog_compiler_pic='-KPIC'
 
11422
      lt_prog_compiler_static='-Bstatic'
 
11423
      ;;
 
11424
 
 
11425
    sysv4*MP*)
 
11426
      if test -d /usr/nec ;then
 
11427
        lt_prog_compiler_pic='-Kconform_pic'
 
11428
        lt_prog_compiler_static='-Bstatic'
 
11429
      fi
 
11430
      ;;
 
11431
 
 
11432
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
11433
      lt_prog_compiler_wl='-Wl,'
 
11434
      lt_prog_compiler_pic='-KPIC'
 
11435
      lt_prog_compiler_static='-Bstatic'
 
11436
      ;;
 
11437
 
 
11438
    unicos*)
 
11439
      lt_prog_compiler_wl='-Wl,'
 
11440
      lt_prog_compiler_can_build_shared=no
 
11441
      ;;
 
11442
 
 
11443
    uts4*)
 
11444
      lt_prog_compiler_pic='-pic'
 
11445
      lt_prog_compiler_static='-Bstatic'
 
11446
      ;;
 
11447
 
 
11448
    *)
 
11449
      lt_prog_compiler_can_build_shared=no
 
11450
      ;;
 
11451
    esac
 
11452
  fi
 
11453
 
 
11454
case $host_os in
 
11455
  # For platforms which do not support PIC, -DPIC is meaningless:
 
11456
  *djgpp*)
 
11457
    lt_prog_compiler_pic=
 
11458
    ;;
 
11459
  *)
 
11460
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
11461
    ;;
 
11462
esac
 
11463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
11464
$as_echo "$lt_prog_compiler_pic" >&6; }
 
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
 
 
11471
#
 
11472
# Check to make sure the PIC flag actually works.
 
11473
#
 
11474
if test -n "$lt_prog_compiler_pic"; then
 
11475
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
11476
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
11477
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
11478
  $as_echo_n "(cached) " >&6
 
11479
else
 
11480
  lt_cv_prog_compiler_pic_works=no
 
11481
   ac_outfile=conftest.$ac_objext
 
11482
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11483
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
11484
   # Insert the option either (1) after the last *FLAGS variable, or
 
11485
   # (2) before a word containing "conftest.", or (3) at the end.
 
11486
   # Note that $ac_compile itself does not contain backslashes and begins
 
11487
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11488
   # The option is referenced via a variable to avoid confusing sed.
 
11489
   lt_compile=`echo "$ac_compile" | $SED \
 
11490
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11491
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11492
   -e 's:$: $lt_compiler_flag:'`
 
11493
   (eval echo "\"\$as_me:11493: $lt_compile\"" >&5)
 
11494
   (eval "$lt_compile" 2>conftest.err)
 
11495
   ac_status=$?
 
11496
   cat conftest.err >&5
 
11497
   echo "$as_me:11497: \$? = $ac_status" >&5
 
11498
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
11499
     # The compiler can only warn and ignore the option if not recognized
 
11500
     # So say no if there are warnings other than the usual output.
 
11501
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11502
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11503
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
11504
       lt_cv_prog_compiler_pic_works=yes
 
11505
     fi
 
11506
   fi
 
11507
   $RM conftest*
 
11508
 
 
11509
fi
 
11510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
11511
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
11512
 
 
11513
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
11514
    case $lt_prog_compiler_pic in
 
11515
     "" | " "*) ;;
 
11516
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
11517
     esac
 
11518
else
 
11519
    lt_prog_compiler_pic=
 
11520
     lt_prog_compiler_can_build_shared=no
 
11521
fi
 
11522
 
 
11523
fi
 
11524
 
 
11525
 
 
11526
 
 
11527
 
 
11528
 
 
11529
 
 
11530
#
 
11531
# Check to make sure the static flag actually works.
 
11532
#
 
11533
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
11534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
11535
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
11536
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
11537
  $as_echo_n "(cached) " >&6
 
11538
else
 
11539
  lt_cv_prog_compiler_static_works=no
 
11540
   save_LDFLAGS="$LDFLAGS"
 
11541
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
11542
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11543
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11544
     # The linker can only warn and ignore the option if not recognized
 
11545
     # So say no if there are warnings
 
11546
     if test -s conftest.err; then
 
11547
       # Append any errors to the config.log.
 
11548
       cat conftest.err 1>&5
 
11549
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
11550
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11551
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11552
         lt_cv_prog_compiler_static_works=yes
 
11553
       fi
 
11554
     else
 
11555
       lt_cv_prog_compiler_static_works=yes
 
11556
     fi
 
11557
   fi
 
11558
   $RM -r conftest*
 
11559
   LDFLAGS="$save_LDFLAGS"
 
11560
 
 
11561
fi
 
11562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
11563
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
11564
 
 
11565
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
11566
    :
 
11567
else
 
11568
    lt_prog_compiler_static=
 
11569
fi
 
11570
 
 
11571
 
 
11572
 
 
11573
 
 
11574
 
 
11575
 
 
11576
 
 
11577
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11578
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11579
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
11580
  $as_echo_n "(cached) " >&6
 
11581
else
 
11582
  lt_cv_prog_compiler_c_o=no
 
11583
   $RM -r conftest 2>/dev/null
 
11584
   mkdir conftest
 
11585
   cd conftest
 
11586
   mkdir out
 
11587
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11588
 
 
11589
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11590
   # Insert the option either (1) after the last *FLAGS variable, or
 
11591
   # (2) before a word containing "conftest.", or (3) at the end.
 
11592
   # Note that $ac_compile itself does not contain backslashes and begins
 
11593
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11594
   lt_compile=`echo "$ac_compile" | $SED \
 
11595
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11596
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11597
   -e 's:$: $lt_compiler_flag:'`
 
11598
   (eval echo "\"\$as_me:11598: $lt_compile\"" >&5)
 
11599
   (eval "$lt_compile" 2>out/conftest.err)
 
11600
   ac_status=$?
 
11601
   cat out/conftest.err >&5
 
11602
   echo "$as_me:11602: \$? = $ac_status" >&5
 
11603
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11604
   then
 
11605
     # The compiler can only warn and ignore the option if not recognized
 
11606
     # So say no if there are warnings
 
11607
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11608
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11609
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11610
       lt_cv_prog_compiler_c_o=yes
 
11611
     fi
 
11612
   fi
 
11613
   chmod u+w . 2>&5
 
11614
   $RM conftest*
 
11615
   # SGI C++ compiler will create directory out/ii_files/ for
 
11616
   # template instantiation
 
11617
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11618
   $RM out/* && rmdir out
 
11619
   cd ..
 
11620
   $RM -r conftest
 
11621
   $RM conftest*
 
11622
 
 
11623
fi
 
11624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
11625
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11626
 
 
11627
 
 
11628
 
 
11629
 
 
11630
 
 
11631
 
 
11632
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11633
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11634
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
11635
  $as_echo_n "(cached) " >&6
 
11636
else
 
11637
  lt_cv_prog_compiler_c_o=no
 
11638
   $RM -r conftest 2>/dev/null
 
11639
   mkdir conftest
 
11640
   cd conftest
 
11641
   mkdir out
 
11642
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11643
 
 
11644
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11645
   # Insert the option either (1) after the last *FLAGS variable, or
 
11646
   # (2) before a word containing "conftest.", or (3) at the end.
 
11647
   # Note that $ac_compile itself does not contain backslashes and begins
 
11648
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11649
   lt_compile=`echo "$ac_compile" | $SED \
 
11650
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11651
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11652
   -e 's:$: $lt_compiler_flag:'`
 
11653
   (eval echo "\"\$as_me:11653: $lt_compile\"" >&5)
 
11654
   (eval "$lt_compile" 2>out/conftest.err)
 
11655
   ac_status=$?
 
11656
   cat out/conftest.err >&5
 
11657
   echo "$as_me:11657: \$? = $ac_status" >&5
 
11658
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11659
   then
 
11660
     # The compiler can only warn and ignore the option if not recognized
 
11661
     # So say no if there are warnings
 
11662
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11663
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11664
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11665
       lt_cv_prog_compiler_c_o=yes
 
11666
     fi
 
11667
   fi
 
11668
   chmod u+w . 2>&5
 
11669
   $RM conftest*
 
11670
   # SGI C++ compiler will create directory out/ii_files/ for
 
11671
   # template instantiation
 
11672
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11673
   $RM out/* && rmdir out
 
11674
   cd ..
 
11675
   $RM -r conftest
 
11676
   $RM conftest*
 
11677
 
 
11678
fi
 
11679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
11680
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11681
 
 
11682
 
 
11683
 
 
11684
 
 
11685
hard_links="nottested"
 
11686
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
11687
  # do not overwrite the value of need_locks provided by the user
 
11688
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
11689
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
11690
  hard_links=yes
 
11691
  $RM conftest*
 
11692
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
11693
  touch conftest.a
 
11694
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
11695
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
11696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
11697
$as_echo "$hard_links" >&6; }
 
11698
  if test "$hard_links" = no; then
 
11699
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
11700
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
11701
    need_locks=warn
 
11702
  fi
 
11703
else
 
11704
  need_locks=no
 
11705
fi
 
11706
 
 
11707
 
 
11708
 
 
11709
 
 
11710
 
 
11711
 
 
11712
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11713
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
11714
 
 
11715
  runpath_var=
 
11716
  allow_undefined_flag=
 
11717
  always_export_symbols=no
 
11718
  archive_cmds=
 
11719
  archive_expsym_cmds=
 
11720
  compiler_needs_object=no
 
11721
  enable_shared_with_static_runtimes=no
 
11722
  export_dynamic_flag_spec=
 
11723
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
11724
  hardcode_automatic=no
 
11725
  hardcode_direct=no
 
11726
  hardcode_direct_absolute=no
 
11727
  hardcode_libdir_flag_spec=
 
11728
  hardcode_libdir_flag_spec_ld=
 
11729
  hardcode_libdir_separator=
 
11730
  hardcode_minus_L=no
 
11731
  hardcode_shlibpath_var=unsupported
 
11732
  inherit_rpath=no
 
11733
  link_all_deplibs=unknown
 
11734
  module_cmds=
 
11735
  module_expsym_cmds=
 
11736
  old_archive_from_new_cmds=
 
11737
  old_archive_from_expsyms_cmds=
 
11738
  thread_safe_flag_spec=
 
11739
  whole_archive_flag_spec=
 
11740
  # include_expsyms should be a list of space-separated symbols to be *always*
 
11741
  # included in the symbol list
 
11742
  include_expsyms=
 
11743
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
11744
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
11745
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
11746
  # as well as any symbol that contains `d'.
 
11747
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
11748
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
11749
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
11750
  # the symbol is explicitly referenced.  Since portable code cannot
 
11751
  # rely on this symbol name, it's probably fine to never include it in
 
11752
  # preloaded symbol tables.
 
11753
  # Exclude shared library initialization/finalization symbols.
 
11754
  extract_expsyms_cmds=
 
11755
 
 
11756
  case $host_os in
 
11757
  cygwin* | mingw* | pw32* | cegcc*)
 
11758
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
11759
    # When not using gcc, we currently assume that we are using
 
11760
    # Microsoft Visual C++.
 
11761
    if test "$GCC" != yes; then
 
11762
      with_gnu_ld=no
 
11763
    fi
 
11764
    ;;
 
11765
  interix*)
 
11766
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
11767
    with_gnu_ld=yes
 
11768
    ;;
 
11769
  openbsd*)
 
11770
    with_gnu_ld=no
 
11771
    ;;
 
11772
  esac
 
11773
 
 
11774
  ld_shlibs=yes
 
11775
  if test "$with_gnu_ld" = yes; then
 
11776
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
11777
    wlarc='${wl}'
 
11778
 
 
11779
    # Set some defaults for GNU ld with shared library support. These
 
11780
    # are reset later if shared libraries are not supported. Putting them
 
11781
    # here allows them to be overridden if necessary.
 
11782
    runpath_var=LD_RUN_PATH
 
11783
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11784
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
11785
    # ancient GNU ld didn't support --whole-archive et. al.
 
11786
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
11787
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11788
    else
 
11789
      whole_archive_flag_spec=
 
11790
    fi
 
11791
    supports_anon_versioning=no
 
11792
    case `$LD -v 2>&1` in
 
11793
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
11794
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
11795
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
11796
      *\ 2.11.*) ;; # other 2.11 versions
 
11797
      *) supports_anon_versioning=yes ;;
 
11798
    esac
 
11799
 
 
11800
    # See if GNU ld supports shared libraries.
 
11801
    case $host_os in
 
11802
    aix[3-9]*)
 
11803
      # On AIX/PPC, the GNU linker is very broken
 
11804
      if test "$host_cpu" != ia64; then
 
11805
        ld_shlibs=no
 
11806
        cat <<_LT_EOF 1>&2
 
11807
 
 
11808
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
11809
*** to be unable to reliably create shared libraries on AIX.
 
11810
*** Therefore, libtool is disabling shared libraries support.  If you
 
11811
*** really care for shared libraries, you may want to modify your PATH
 
11812
*** so that a non-GNU linker is found, and then restart.
 
11813
 
 
11814
_LT_EOF
 
11815
      fi
 
11816
      ;;
 
11817
 
 
11818
    amigaos*)
 
11819
      case $host_cpu in
 
11820
      powerpc)
 
11821
            # see comment about AmigaOS4 .so support
 
11822
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11823
            archive_expsym_cmds=''
 
11824
        ;;
 
11825
      m68k)
 
11826
            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)'
 
11827
            hardcode_libdir_flag_spec='-L$libdir'
 
11828
            hardcode_minus_L=yes
 
11829
        ;;
 
11830
      esac
 
11831
      ;;
 
11832
 
 
11833
    beos*)
 
11834
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11835
        allow_undefined_flag=unsupported
 
11836
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11837
        # support --undefined.  This deserves some investigation.  FIXME
 
11838
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11839
      else
 
11840
        ld_shlibs=no
 
11841
      fi
 
11842
      ;;
 
11843
 
 
11844
    cygwin* | mingw* | pw32* | cegcc*)
 
11845
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
11846
      # as there is no search path for DLLs.
 
11847
      hardcode_libdir_flag_spec='-L$libdir'
 
11848
      allow_undefined_flag=unsupported
 
11849
      always_export_symbols=no
 
11850
      enable_shared_with_static_runtimes=yes
 
11851
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
11852
 
 
11853
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
11854
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11855
        # If the export-symbols file already is a .def file (1st line
 
11856
        # is EXPORTS), use it as is; otherwise, prepend...
 
11857
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11858
          cp $export_symbols $output_objdir/$soname.def;
 
11859
        else
 
11860
          echo EXPORTS > $output_objdir/$soname.def;
 
11861
          cat $export_symbols >> $output_objdir/$soname.def;
 
11862
        fi~
 
11863
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11864
      else
 
11865
        ld_shlibs=no
 
11866
      fi
 
11867
      ;;
 
11868
 
 
11869
    interix[3-9]*)
 
11870
      hardcode_direct=no
 
11871
      hardcode_shlibpath_var=no
 
11872
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11873
      export_dynamic_flag_spec='${wl}-E'
 
11874
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11875
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11876
      # default) and relocated if they conflict, which is a slow very memory
 
11877
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
11878
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11879
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11880
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11881
      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'
 
11882
      ;;
 
11883
 
 
11884
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
11885
      tmp_diet=no
 
11886
      if test "$host_os" = linux-dietlibc; then
 
11887
        case $cc_basename in
 
11888
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
11889
        esac
 
11890
      fi
 
11891
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
11892
         && test "$tmp_diet" = no
 
11893
      then
 
11894
        tmp_addflag=
 
11895
        tmp_sharedflag='-shared'
 
11896
        case $cc_basename,$host_cpu in
 
11897
        pgcc*)                          # Portland Group C compiler
 
11898
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
11899
          tmp_addflag=' $pic_flag'
 
11900
          ;;
 
11901
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
11902
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
11903
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
11904
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
11905
          tmp_addflag=' -i_dynamic' ;;
 
11906
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
11907
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
11908
        ifc* | ifort*)                  # Intel Fortran compiler
 
11909
          tmp_addflag=' -nofor_main' ;;
 
11910
        lf95*)                          # Lahey Fortran 8.1
 
11911
          whole_archive_flag_spec=
 
11912
          tmp_sharedflag='--shared' ;;
 
11913
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
11914
          tmp_sharedflag='-qmkshrobj'
 
11915
          tmp_addflag= ;;
 
11916
        esac
 
11917
        case `$CC -V 2>&1 | sed 5q` in
 
11918
        *Sun\ C*)                       # Sun C 5.9
 
11919
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
11920
          compiler_needs_object=yes
 
11921
          tmp_sharedflag='-G' ;;
 
11922
        *Sun\ F*)                       # Sun Fortran 8.3
 
11923
          tmp_sharedflag='-G' ;;
 
11924
        esac
 
11925
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11926
 
 
11927
        if test "x$supports_anon_versioning" = xyes; then
 
11928
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11929
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11930
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
11931
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
11932
        fi
 
11933
 
 
11934
        case $cc_basename in
 
11935
        xlf*)
 
11936
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
11937
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
11938
          hardcode_libdir_flag_spec=
 
11939
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
11940
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
11941
          if test "x$supports_anon_versioning" = xyes; then
 
11942
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11943
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11944
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11945
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11946
          fi
 
11947
          ;;
 
11948
        esac
 
11949
      else
 
11950
        ld_shlibs=no
 
11951
      fi
 
11952
      ;;
 
11953
 
 
11954
    netbsd*)
 
11955
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11956
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
11957
        wlarc=
 
11958
      else
 
11959
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11960
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11961
      fi
 
11962
      ;;
 
11963
 
 
11964
    solaris*)
 
11965
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
11966
        ld_shlibs=no
 
11967
        cat <<_LT_EOF 1>&2
 
11968
 
 
11969
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
11970
*** create shared libraries on Solaris systems.  Therefore, libtool
 
11971
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11972
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
11973
*** your PATH or compiler configuration so that the native linker is
 
11974
*** used, and then restart.
 
11975
 
 
11976
_LT_EOF
 
11977
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11978
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11979
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11980
      else
 
11981
        ld_shlibs=no
 
11982
      fi
 
11983
      ;;
 
11984
 
 
11985
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
11986
      case `$LD -v 2>&1` in
 
11987
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
11988
        ld_shlibs=no
 
11989
        cat <<_LT_EOF 1>&2
 
11990
 
 
11991
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
11992
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
11993
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11994
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
11995
*** your PATH or compiler configuration so that the native linker is
 
11996
*** used, and then restart.
 
11997
 
 
11998
_LT_EOF
 
11999
        ;;
 
12000
        *)
 
12001
          # For security reasons, it is highly recommended that you always
 
12002
          # use absolute paths for naming shared libraries, and exclude the
 
12003
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
12004
          # requires that you compile everything twice, which is a pain.
 
12005
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12006
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12007
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12008
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12009
          else
 
12010
            ld_shlibs=no
 
12011
          fi
 
12012
        ;;
 
12013
      esac
 
12014
      ;;
 
12015
 
 
12016
    sunos4*)
 
12017
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
12018
      wlarc=
 
12019
      hardcode_direct=yes
 
12020
      hardcode_shlibpath_var=no
 
12021
      ;;
 
12022
 
 
12023
    *)
 
12024
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12025
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12026
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12027
      else
 
12028
        ld_shlibs=no
 
12029
      fi
 
12030
      ;;
 
12031
    esac
 
12032
 
 
12033
    if test "$ld_shlibs" = no; then
 
12034
      runpath_var=
 
12035
      hardcode_libdir_flag_spec=
 
12036
      export_dynamic_flag_spec=
 
12037
      whole_archive_flag_spec=
 
12038
    fi
 
12039
  else
 
12040
    # PORTME fill in a description of your system's linker (not GNU ld)
 
12041
    case $host_os in
 
12042
    aix3*)
 
12043
      allow_undefined_flag=unsupported
 
12044
      always_export_symbols=yes
 
12045
      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'
 
12046
      # Note: this linker hardcodes the directories in LIBPATH if there
 
12047
      # are no directories specified by -L.
 
12048
      hardcode_minus_L=yes
 
12049
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
12050
        # Neither direct hardcoding nor static linking is supported with a
 
12051
        # broken collect2.
 
12052
        hardcode_direct=unsupported
 
12053
      fi
 
12054
      ;;
 
12055
 
 
12056
    aix[4-9]*)
 
12057
      if test "$host_cpu" = ia64; then
 
12058
        # On IA64, the linker does run time linking by default, so we don't
 
12059
        # have to do anything special.
 
12060
        aix_use_runtimelinking=no
 
12061
        exp_sym_flag='-Bexport'
 
12062
        no_entry_flag=""
 
12063
      else
 
12064
        # If we're using GNU nm, then we don't want the "-C" option.
 
12065
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
12066
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
12067
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
12068
        else
 
12069
          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'
 
12070
        fi
 
12071
        aix_use_runtimelinking=no
 
12072
 
 
12073
        # Test if we are trying to use run time linking or normal
 
12074
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
12075
        # need to do runtime linking.
 
12076
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
12077
          for ld_flag in $LDFLAGS; do
 
12078
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
12079
            aix_use_runtimelinking=yes
 
12080
            break
 
12081
          fi
 
12082
          done
 
12083
          ;;
 
12084
        esac
 
12085
 
 
12086
        exp_sym_flag='-bexport'
 
12087
        no_entry_flag='-bnoentry'
 
12088
      fi
 
12089
 
 
12090
      # When large executables or shared objects are built, AIX ld can
 
12091
      # have problems creating the table of contents.  If linking a library
 
12092
      # or program results in "error TOC overflow" add -mminimal-toc to
 
12093
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
12094
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
12095
 
 
12096
      archive_cmds=''
 
12097
      hardcode_direct=yes
 
12098
      hardcode_direct_absolute=yes
 
12099
      hardcode_libdir_separator=':'
 
12100
      link_all_deplibs=yes
 
12101
      file_list_spec='${wl}-f,'
 
12102
 
 
12103
      if test "$GCC" = yes; then
 
12104
        case $host_os in aix4.[012]|aix4.[012].*)
 
12105
        # We only want to do this on AIX 4.2 and lower, the check
 
12106
        # below for broken collect2 doesn't work under 4.3+
 
12107
          collect2name=`${CC} -print-prog-name=collect2`
 
12108
          if test -f "$collect2name" &&
 
12109
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
12110
          then
 
12111
          # We have reworked collect2
 
12112
          :
 
12113
          else
 
12114
          # We have old collect2
 
12115
          hardcode_direct=unsupported
 
12116
          # It fails to find uninstalled libraries when the uninstalled
 
12117
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
12118
          # to unsupported forces relinking
 
12119
          hardcode_minus_L=yes
 
12120
          hardcode_libdir_flag_spec='-L$libdir'
 
12121
          hardcode_libdir_separator=
 
12122
          fi
 
12123
          ;;
 
12124
        esac
 
12125
        shared_flag='-shared'
 
12126
        if test "$aix_use_runtimelinking" = yes; then
 
12127
          shared_flag="$shared_flag "'${wl}-G'
 
12128
        fi
 
12129
      else
 
12130
        # not using gcc
 
12131
        if test "$host_cpu" = ia64; then
 
12132
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12133
        # chokes on -Wl,-G. The following line is correct:
 
12134
          shared_flag='-G'
 
12135
        else
 
12136
          if test "$aix_use_runtimelinking" = yes; then
 
12137
            shared_flag='${wl}-G'
 
12138
          else
 
12139
            shared_flag='${wl}-bM:SRE'
 
12140
          fi
 
12141
        fi
 
12142
      fi
 
12143
 
 
12144
      export_dynamic_flag_spec='${wl}-bexpall'
 
12145
      # It seems that -bexpall does not export symbols beginning with
 
12146
      # underscore (_), so it is better to generate a list of symbols to export.
 
12147
      always_export_symbols=yes
 
12148
      if test "$aix_use_runtimelinking" = yes; then
 
12149
        # Warning - without using the other runtime loading flags (-brtl),
 
12150
        # -berok will link without error, but may produce a broken library.
 
12151
        allow_undefined_flag='-berok'
 
12152
        # Determine the default libpath from the value encoded in an
 
12153
        # empty executable.
 
12154
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12155
/* end confdefs.h.  */
 
12156
 
 
12157
int
 
12158
main ()
 
12159
{
 
12160
 
 
12161
  ;
 
12162
  return 0;
 
12163
}
 
12164
_ACEOF
 
12165
if ac_fn_c_try_link "$LINENO"; then :
 
12166
 
 
12167
lt_aix_libpath_sed='
 
12168
    /Import File Strings/,/^$/ {
 
12169
        /^0/ {
 
12170
            s/^0  *\(.*\)$/\1/
 
12171
            p
 
12172
        }
 
12173
    }'
 
12174
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12175
# Check for a 64-bit object if we didn't find anything.
 
12176
if test -z "$aix_libpath"; then
 
12177
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12178
fi
 
12179
fi
 
12180
rm -f core conftest.err conftest.$ac_objext \
 
12181
    conftest$ac_exeext conftest.$ac_ext
 
12182
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12183
 
 
12184
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12185
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
12186
      else
 
12187
        if test "$host_cpu" = ia64; then
 
12188
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
12189
          allow_undefined_flag="-z nodefs"
 
12190
          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"
 
12191
        else
 
12192
         # Determine the default libpath from the value encoded in an
 
12193
         # empty executable.
 
12194
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12195
/* end confdefs.h.  */
 
12196
 
 
12197
int
 
12198
main ()
 
12199
{
 
12200
 
 
12201
  ;
 
12202
  return 0;
 
12203
}
 
12204
_ACEOF
 
12205
if ac_fn_c_try_link "$LINENO"; then :
 
12206
 
 
12207
lt_aix_libpath_sed='
 
12208
    /Import File Strings/,/^$/ {
 
12209
        /^0/ {
 
12210
            s/^0  *\(.*\)$/\1/
 
12211
            p
 
12212
        }
 
12213
    }'
 
12214
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12215
# Check for a 64-bit object if we didn't find anything.
 
12216
if test -z "$aix_libpath"; then
 
12217
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12218
fi
 
12219
fi
 
12220
rm -f core conftest.err conftest.$ac_objext \
 
12221
    conftest$ac_exeext conftest.$ac_ext
 
12222
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12223
 
 
12224
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12225
          # Warning - without using the other run time loading flags,
 
12226
          # -berok will link without error, but may produce a broken library.
 
12227
          no_undefined_flag=' ${wl}-bernotok'
 
12228
          allow_undefined_flag=' ${wl}-berok'
 
12229
          # Exported symbols can be pulled into shared objects from archives
 
12230
          whole_archive_flag_spec='$convenience'
 
12231
          archive_cmds_need_lc=yes
 
12232
          # This is similar to how AIX traditionally builds its shared libraries.
 
12233
          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'
 
12234
        fi
 
12235
      fi
 
12236
      ;;
 
12237
 
 
12238
    amigaos*)
 
12239
      case $host_cpu in
 
12240
      powerpc)
 
12241
            # see comment about AmigaOS4 .so support
 
12242
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12243
            archive_expsym_cmds=''
 
12244
        ;;
 
12245
      m68k)
 
12246
            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)'
 
12247
            hardcode_libdir_flag_spec='-L$libdir'
 
12248
            hardcode_minus_L=yes
 
12249
        ;;
 
12250
      esac
 
12251
      ;;
 
12252
 
 
12253
    bsdi[45]*)
 
12254
      export_dynamic_flag_spec=-rdynamic
 
12255
      ;;
 
12256
 
 
12257
    cygwin* | mingw* | pw32* | cegcc*)
 
12258
      # When not using gcc, we currently assume that we are using
 
12259
      # Microsoft Visual C++.
 
12260
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
12261
      # no search path for DLLs.
 
12262
      hardcode_libdir_flag_spec=' '
 
12263
      allow_undefined_flag=unsupported
 
12264
      # Tell ltmain to make .lib files, not .a files.
 
12265
      libext=lib
 
12266
      # Tell ltmain to make .dll files, not .so files.
 
12267
      shrext_cmds=".dll"
 
12268
      # FIXME: Setting linknames here is a bad hack.
 
12269
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
12270
      # The linker will automatically build a .lib file if we build a DLL.
 
12271
      old_archive_from_new_cmds='true'
 
12272
      # FIXME: Should let the user specify the lib program.
 
12273
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
12274
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
12275
      enable_shared_with_static_runtimes=yes
 
12276
      ;;
 
12277
 
 
12278
    darwin* | rhapsody*)
 
12279
 
 
12280
 
 
12281
  archive_cmds_need_lc=no
 
12282
  hardcode_direct=no
 
12283
  hardcode_automatic=yes
 
12284
  hardcode_shlibpath_var=unsupported
 
12285
  whole_archive_flag_spec=''
 
12286
  link_all_deplibs=yes
 
12287
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
12288
  case $cc_basename in
 
12289
     ifort*) _lt_dar_can_shared=yes ;;
 
12290
     *) _lt_dar_can_shared=$GCC ;;
 
12291
  esac
 
12292
  if test "$_lt_dar_can_shared" = "yes"; then
 
12293
    output_verbose_link_cmd=echo
 
12294
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12295
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12296
    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}"
 
12297
    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}"
 
12298
 
 
12299
  else
 
12300
  ld_shlibs=no
 
12301
  fi
 
12302
 
 
12303
      ;;
 
12304
 
 
12305
    dgux*)
 
12306
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12307
      hardcode_libdir_flag_spec='-L$libdir'
 
12308
      hardcode_shlibpath_var=no
 
12309
      ;;
 
12310
 
 
12311
    freebsd1*)
 
12312
      ld_shlibs=no
 
12313
      ;;
 
12314
 
 
12315
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
12316
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
12317
    # does not break anything, and helps significantly (at the cost of a little
 
12318
    # extra space).
 
12319
    freebsd2.2*)
 
12320
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
12321
      hardcode_libdir_flag_spec='-R$libdir'
 
12322
      hardcode_direct=yes
 
12323
      hardcode_shlibpath_var=no
 
12324
      ;;
 
12325
 
 
12326
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
12327
    freebsd2*)
 
12328
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
12329
      hardcode_direct=yes
 
12330
      hardcode_minus_L=yes
 
12331
      hardcode_shlibpath_var=no
 
12332
      ;;
 
12333
 
 
12334
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
12335
    freebsd* | dragonfly*)
 
12336
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
12337
      hardcode_libdir_flag_spec='-R$libdir'
 
12338
      hardcode_direct=yes
 
12339
      hardcode_shlibpath_var=no
 
12340
      ;;
 
12341
 
 
12342
    hpux9*)
 
12343
      if test "$GCC" = yes; then
 
12344
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12345
      else
 
12346
        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'
 
12347
      fi
 
12348
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
12349
      hardcode_libdir_separator=:
 
12350
      hardcode_direct=yes
 
12351
 
 
12352
      # hardcode_minus_L: Not really in the search PATH,
 
12353
      # but as the default location of the library.
 
12354
      hardcode_minus_L=yes
 
12355
      export_dynamic_flag_spec='${wl}-E'
 
12356
      ;;
 
12357
 
 
12358
    hpux10*)
 
12359
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
12360
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
12361
      else
 
12362
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
12363
      fi
 
12364
      if test "$with_gnu_ld" = no; then
 
12365
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
12366
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
12367
        hardcode_libdir_separator=:
 
12368
        hardcode_direct=yes
 
12369
        hardcode_direct_absolute=yes
 
12370
        export_dynamic_flag_spec='${wl}-E'
 
12371
        # hardcode_minus_L: Not really in the search PATH,
 
12372
        # but as the default location of the library.
 
12373
        hardcode_minus_L=yes
 
12374
      fi
 
12375
      ;;
 
12376
 
 
12377
    hpux11*)
 
12378
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
12379
        case $host_cpu in
 
12380
        hppa*64*)
 
12381
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12382
          ;;
 
12383
        ia64*)
 
12384
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
12385
          ;;
 
12386
        *)
 
12387
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
12388
          ;;
 
12389
        esac
 
12390
      else
 
12391
        case $host_cpu in
 
12392
        hppa*64*)
 
12393
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12394
          ;;
 
12395
        ia64*)
 
12396
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
12397
          ;;
 
12398
        *)
 
12399
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
12400
          ;;
 
12401
        esac
 
12402
      fi
 
12403
      if test "$with_gnu_ld" = no; then
 
12404
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
12405
        hardcode_libdir_separator=:
 
12406
 
 
12407
        case $host_cpu in
 
12408
        hppa*64*|ia64*)
 
12409
          hardcode_direct=no
 
12410
          hardcode_shlibpath_var=no
 
12411
          ;;
 
12412
        *)
 
12413
          hardcode_direct=yes
 
12414
          hardcode_direct_absolute=yes
 
12415
          export_dynamic_flag_spec='${wl}-E'
 
12416
 
 
12417
          # hardcode_minus_L: Not really in the search PATH,
 
12418
          # but as the default location of the library.
 
12419
          hardcode_minus_L=yes
 
12420
          ;;
 
12421
        esac
 
12422
      fi
 
12423
      ;;
 
12424
 
 
12425
    irix5* | irix6* | nonstopux*)
 
12426
      if test "$GCC" = yes; then
 
12427
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12428
        # Try to use the -exported_symbol ld option, if it does not
 
12429
        # work, assume that -exports_file does not work either and
 
12430
        # implicitly export all symbols.
 
12431
        save_LDFLAGS="$LDFLAGS"
 
12432
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
12433
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12434
/* end confdefs.h.  */
 
12435
int foo(void) {}
 
12436
_ACEOF
 
12437
if ac_fn_c_try_link "$LINENO"; then :
 
12438
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
12439
 
 
12440
fi
 
12441
rm -f core conftest.err conftest.$ac_objext \
 
12442
    conftest$ac_exeext conftest.$ac_ext
 
12443
        LDFLAGS="$save_LDFLAGS"
 
12444
      else
 
12445
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12446
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
12447
      fi
 
12448
      archive_cmds_need_lc='no'
 
12449
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12450
      hardcode_libdir_separator=:
 
12451
      inherit_rpath=yes
 
12452
      link_all_deplibs=yes
 
12453
      ;;
 
12454
 
 
12455
    netbsd*)
 
12456
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12457
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
12458
      else
 
12459
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
12460
      fi
 
12461
      hardcode_libdir_flag_spec='-R$libdir'
 
12462
      hardcode_direct=yes
 
12463
      hardcode_shlibpath_var=no
 
12464
      ;;
 
12465
 
 
12466
    newsos6)
 
12467
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12468
      hardcode_direct=yes
 
12469
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12470
      hardcode_libdir_separator=:
 
12471
      hardcode_shlibpath_var=no
 
12472
      ;;
 
12473
 
 
12474
    *nto* | *qnx*)
 
12475
      ;;
 
12476
 
 
12477
    openbsd*)
 
12478
      if test -f /usr/libexec/ld.so; then
 
12479
        hardcode_direct=yes
 
12480
        hardcode_shlibpath_var=no
 
12481
        hardcode_direct_absolute=yes
 
12482
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12483
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
12484
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
12485
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
12486
          export_dynamic_flag_spec='${wl}-E'
 
12487
        else
 
12488
          case $host_os in
 
12489
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
12490
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
12491
             hardcode_libdir_flag_spec='-R$libdir'
 
12492
             ;;
 
12493
           *)
 
12494
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
12495
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
12496
             ;;
 
12497
          esac
 
12498
        fi
 
12499
      else
 
12500
        ld_shlibs=no
 
12501
      fi
 
12502
      ;;
 
12503
 
 
12504
    os2*)
 
12505
      hardcode_libdir_flag_spec='-L$libdir'
 
12506
      hardcode_minus_L=yes
 
12507
      allow_undefined_flag=unsupported
 
12508
      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'
 
12509
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12510
      ;;
 
12511
 
 
12512
    osf3*)
 
12513
      if test "$GCC" = yes; then
 
12514
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
12515
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12516
      else
 
12517
        allow_undefined_flag=' -expect_unresolved \*'
 
12518
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12519
      fi
 
12520
      archive_cmds_need_lc='no'
 
12521
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12522
      hardcode_libdir_separator=:
 
12523
      ;;
 
12524
 
 
12525
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
12526
      if test "$GCC" = yes; then
 
12527
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
12528
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12529
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12530
      else
 
12531
        allow_undefined_flag=' -expect_unresolved \*'
 
12532
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12533
        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~
 
12534
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
12535
 
 
12536
        # Both c and cxx compiler support -rpath directly
 
12537
        hardcode_libdir_flag_spec='-rpath $libdir'
 
12538
      fi
 
12539
      archive_cmds_need_lc='no'
 
12540
      hardcode_libdir_separator=:
 
12541
      ;;
 
12542
 
 
12543
    solaris*)
 
12544
      no_undefined_flag=' -z defs'
 
12545
      if test "$GCC" = yes; then
 
12546
        wlarc='${wl}'
 
12547
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12548
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12549
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
12550
      else
 
12551
        case `$CC -V 2>&1` in
 
12552
        *"Compilers 5.0"*)
 
12553
          wlarc=''
 
12554
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12555
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12556
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
12557
          ;;
 
12558
        *)
 
12559
          wlarc='${wl}'
 
12560
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
12561
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12562
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
12563
          ;;
 
12564
        esac
 
12565
      fi
 
12566
      hardcode_libdir_flag_spec='-R$libdir'
 
12567
      hardcode_shlibpath_var=no
 
12568
      case $host_os in
 
12569
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12570
      *)
 
12571
        # The compiler driver will combine and reorder linker options,
 
12572
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
12573
        # but is careful enough not to reorder.
 
12574
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12575
        if test "$GCC" = yes; then
 
12576
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12577
        else
 
12578
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
12579
        fi
 
12580
        ;;
 
12581
      esac
 
12582
      link_all_deplibs=yes
 
12583
      ;;
 
12584
 
 
12585
    sunos4*)
 
12586
      if test "x$host_vendor" = xsequent; then
 
12587
        # Use $CC to link under sequent, because it throws in some extra .o
 
12588
        # files that make .init and .fini sections work.
 
12589
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
12590
      else
 
12591
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
12592
      fi
 
12593
      hardcode_libdir_flag_spec='-L$libdir'
 
12594
      hardcode_direct=yes
 
12595
      hardcode_minus_L=yes
 
12596
      hardcode_shlibpath_var=no
 
12597
      ;;
 
12598
 
 
12599
    sysv4)
 
12600
      case $host_vendor in
 
12601
        sni)
 
12602
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12603
          hardcode_direct=yes # is this really true???
 
12604
        ;;
 
12605
        siemens)
 
12606
          ## LD is ld it makes a PLAMLIB
 
12607
          ## CC just makes a GrossModule.
 
12608
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
12609
          reload_cmds='$CC -r -o $output$reload_objs'
 
12610
          hardcode_direct=no
 
12611
        ;;
 
12612
        motorola)
 
12613
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12614
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
12615
        ;;
 
12616
      esac
 
12617
      runpath_var='LD_RUN_PATH'
 
12618
      hardcode_shlibpath_var=no
 
12619
      ;;
 
12620
 
 
12621
    sysv4.3*)
 
12622
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12623
      hardcode_shlibpath_var=no
 
12624
      export_dynamic_flag_spec='-Bexport'
 
12625
      ;;
 
12626
 
 
12627
    sysv4*MP*)
 
12628
      if test -d /usr/nec; then
 
12629
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12630
        hardcode_shlibpath_var=no
 
12631
        runpath_var=LD_RUN_PATH
 
12632
        hardcode_runpath_var=yes
 
12633
        ld_shlibs=yes
 
12634
      fi
 
12635
      ;;
 
12636
 
 
12637
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12638
      no_undefined_flag='${wl}-z,text'
 
12639
      archive_cmds_need_lc=no
 
12640
      hardcode_shlibpath_var=no
 
12641
      runpath_var='LD_RUN_PATH'
 
12642
 
 
12643
      if test "$GCC" = yes; then
 
12644
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12645
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12646
      else
 
12647
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12648
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12649
      fi
 
12650
      ;;
 
12651
 
 
12652
    sysv5* | sco3.2v5* | sco5v6*)
 
12653
      # Note: We can NOT use -z defs as we might desire, because we do not
 
12654
      # link with -lc, and that would cause any symbols used from libc to
 
12655
      # always be unresolved, which means just about no library would
 
12656
      # ever link correctly.  If we're not using GNU ld we use -z text
 
12657
      # though, which does catch some bad symbols but isn't as heavy-handed
 
12658
      # as -z defs.
 
12659
      no_undefined_flag='${wl}-z,text'
 
12660
      allow_undefined_flag='${wl}-z,nodefs'
 
12661
      archive_cmds_need_lc=no
 
12662
      hardcode_shlibpath_var=no
 
12663
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
12664
      hardcode_libdir_separator=':'
 
12665
      link_all_deplibs=yes
 
12666
      export_dynamic_flag_spec='${wl}-Bexport'
 
12667
      runpath_var='LD_RUN_PATH'
 
12668
 
 
12669
      if test "$GCC" = yes; then
 
12670
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12671
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12672
      else
 
12673
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12674
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12675
      fi
 
12676
      ;;
 
12677
 
 
12678
    uts4*)
 
12679
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12680
      hardcode_libdir_flag_spec='-L$libdir'
 
12681
      hardcode_shlibpath_var=no
 
12682
      ;;
 
12683
 
 
12684
    *)
 
12685
      ld_shlibs=no
 
12686
      ;;
 
12687
    esac
 
12688
 
 
12689
    if test x$host_vendor = xsni; then
 
12690
      case $host in
 
12691
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12692
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
12693
        ;;
 
12694
      esac
 
12695
    fi
 
12696
  fi
 
12697
 
 
12698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
12699
$as_echo "$ld_shlibs" >&6; }
 
12700
test "$ld_shlibs" = no && can_build_shared=no
 
12701
 
 
12702
with_gnu_ld=$with_gnu_ld
 
12703
 
 
12704
 
 
12705
 
 
12706
 
 
12707
 
 
12708
 
 
12709
 
 
12710
 
 
12711
 
 
12712
 
 
12713
 
 
12714
 
 
12715
 
 
12716
 
 
12717
 
 
12718
#
 
12719
# Do we need to explicitly link libc?
 
12720
#
 
12721
case "x$archive_cmds_need_lc" in
 
12722
x|xyes)
 
12723
  # Assume -lc should be added
 
12724
  archive_cmds_need_lc=yes
 
12725
 
 
12726
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
12727
    case $archive_cmds in
 
12728
    *'~'*)
 
12729
      # FIXME: we may have to deal with multi-command sequences.
 
12730
      ;;
 
12731
    '$CC '*)
 
12732
      # Test whether the compiler implicitly links with -lc since on some
 
12733
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
12734
      # to ld, don't add -lc before -lgcc.
 
12735
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
12736
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
12737
      $RM conftest*
 
12738
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12739
 
 
12740
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
12741
  (eval $ac_compile) 2>&5
 
12742
  ac_status=$?
 
12743
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12744
  test $ac_status = 0; } 2>conftest.err; then
 
12745
        soname=conftest
 
12746
        lib=conftest
 
12747
        libobjs=conftest.$ac_objext
 
12748
        deplibs=
 
12749
        wl=$lt_prog_compiler_wl
 
12750
        pic_flag=$lt_prog_compiler_pic
 
12751
        compiler_flags=-v
 
12752
        linker_flags=-v
 
12753
        verstring=
 
12754
        output_objdir=.
 
12755
        libname=conftest
 
12756
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
12757
        allow_undefined_flag=
 
12758
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
12759
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
12760
  ac_status=$?
 
12761
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12762
  test $ac_status = 0; }
 
12763
        then
 
12764
          archive_cmds_need_lc=no
 
12765
        else
 
12766
          archive_cmds_need_lc=yes
 
12767
        fi
 
12768
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
12769
      else
 
12770
        cat conftest.err 1>&5
 
12771
      fi
 
12772
      $RM conftest*
 
12773
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
12774
$as_echo "$archive_cmds_need_lc" >&6; }
 
12775
      ;;
 
12776
    esac
 
12777
  fi
 
12778
  ;;
 
12779
esac
 
12780
 
 
12781
 
 
12782
 
 
12783
 
 
12784
 
 
12785
 
 
12786
 
 
12787
 
 
12788
 
 
12789
 
 
12790
 
 
12791
 
 
12792
 
 
12793
 
 
12794
 
 
12795
 
 
12796
 
 
12797
 
 
12798
 
 
12799
 
 
12800
 
 
12801
 
 
12802
 
 
12803
 
 
12804
 
 
12805
 
 
12806
 
 
12807
 
 
12808
 
 
12809
 
 
12810
 
 
12811
 
 
12812
 
 
12813
 
 
12814
 
 
12815
 
 
12816
 
 
12817
 
 
12818
 
 
12819
 
 
12820
 
 
12821
 
 
12822
 
 
12823
 
 
12824
 
 
12825
 
 
12826
 
 
12827
 
 
12828
 
 
12829
 
 
12830
 
 
12831
 
 
12832
 
 
12833
 
 
12834
 
 
12835
 
 
12836
 
 
12837
 
 
12838
 
 
12839
 
 
12840
 
 
12841
 
 
12842
 
 
12843
 
 
12844
 
 
12845
 
 
12846
 
 
12847
 
 
12848
 
 
12849
 
 
12850
 
 
12851
 
 
12852
 
 
12853
 
 
12854
 
 
12855
 
 
12856
 
 
12857
 
 
12858
 
 
12859
 
 
12860
 
 
12861
 
 
12862
 
 
12863
 
 
12864
 
 
12865
 
 
12866
 
 
12867
 
 
12868
 
 
12869
 
 
12870
 
 
12871
 
 
12872
 
 
12873
 
 
12874
 
 
12875
 
 
12876
 
 
12877
 
 
12878
 
 
12879
 
 
12880
 
 
12881
 
 
12882
 
 
12883
 
 
12884
 
 
12885
 
 
12886
 
 
12887
 
 
12888
 
 
12889
 
 
12890
 
 
12891
 
 
12892
 
 
12893
 
 
12894
 
 
12895
 
 
12896
 
 
12897
 
 
12898
 
 
12899
 
 
12900
 
 
12901
 
 
12902
 
 
12903
 
 
12904
 
 
12905
 
 
12906
 
 
12907
 
 
12908
 
 
12909
 
 
12910
 
 
12911
 
 
12912
 
 
12913
 
 
12914
 
 
12915
 
 
12916
 
 
12917
 
 
12918
 
 
12919
 
 
12920
 
 
12921
 
 
12922
 
 
12923
 
 
12924
 
 
12925
 
 
12926
 
 
12927
 
 
12928
 
 
12929
 
 
12930
 
 
12931
 
 
12932
 
 
12933
 
 
12934
 
 
12935
 
 
12936
 
 
12937
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
12938
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
12939
 
 
12940
if test "$GCC" = yes; then
 
12941
  case $host_os in
 
12942
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
12943
    *) lt_awk_arg="/^libraries:/" ;;
 
12944
  esac
 
12945
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
12946
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
12947
    # if the path contains ";" then we assume it to be the separator
 
12948
    # otherwise default to the standard path separator (i.e. ":") - it is
 
12949
    # assumed that no part of a normal pathname contains ";" but that should
 
12950
    # okay in the real world where ";" in dirpaths is itself problematic.
 
12951
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
12952
  else
 
12953
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
12954
  fi
 
12955
  # Ok, now we have the path, separated by spaces, we can step through it
 
12956
  # and add multilib dir if necessary.
 
12957
  lt_tmp_lt_search_path_spec=
 
12958
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
12959
  for lt_sys_path in $lt_search_path_spec; do
 
12960
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
12961
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
12962
    else
 
12963
      test -d "$lt_sys_path" && \
 
12964
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
12965
    fi
 
12966
  done
 
12967
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
12968
BEGIN {RS=" "; FS="/|\n";} {
 
12969
  lt_foo="";
 
12970
  lt_count=0;
 
12971
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
12972
    if ($lt_i != "" && $lt_i != ".") {
 
12973
      if ($lt_i == "..") {
 
12974
        lt_count++;
 
12975
      } else {
 
12976
        if (lt_count == 0) {
 
12977
          lt_foo="/" $lt_i lt_foo;
 
12978
        } else {
 
12979
          lt_count--;
 
12980
        }
 
12981
      }
 
12982
    }
 
12983
  }
 
12984
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
12985
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
12986
}'`
 
12987
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
12988
else
 
12989
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
12990
fi
 
12991
library_names_spec=
 
12992
libname_spec='lib$name'
 
12993
soname_spec=
 
12994
shrext_cmds=".so"
 
12995
postinstall_cmds=
 
12996
postuninstall_cmds=
 
12997
finish_cmds=
 
12998
finish_eval=
 
12999
shlibpath_var=
 
13000
shlibpath_overrides_runpath=unknown
 
13001
version_type=none
 
13002
dynamic_linker="$host_os ld.so"
 
13003
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
13004
need_lib_prefix=unknown
 
13005
hardcode_into_libs=no
 
13006
 
 
13007
# when you set need_version to no, make sure it does not cause -set_version
 
13008
# flags to be left without arguments
 
13009
need_version=unknown
 
13010
 
 
13011
case $host_os in
 
13012
aix3*)
 
13013
  version_type=linux
 
13014
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
13015
  shlibpath_var=LIBPATH
 
13016
 
 
13017
  # AIX 3 has no versioning support, so we append a major version to the name.
 
13018
  soname_spec='${libname}${release}${shared_ext}$major'
 
13019
  ;;
 
13020
 
 
13021
aix[4-9]*)
 
13022
  version_type=linux
 
13023
  need_lib_prefix=no
 
13024
  need_version=no
 
13025
  hardcode_into_libs=yes
 
13026
  if test "$host_cpu" = ia64; then
 
13027
    # AIX 5 supports IA64
 
13028
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
13029
    shlibpath_var=LD_LIBRARY_PATH
 
13030
  else
 
13031
    # With GCC up to 2.95.x, collect2 would create an import file
 
13032
    # for dependence libraries.  The import file would start with
 
13033
    # the line `#! .'.  This would cause the generated library to
 
13034
    # depend on `.', always an invalid library.  This was fixed in
 
13035
    # development snapshots of GCC prior to 3.0.
 
13036
    case $host_os in
 
13037
      aix4 | aix4.[01] | aix4.[01].*)
 
13038
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
13039
           echo ' yes '
 
13040
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
13041
        :
 
13042
      else
 
13043
        can_build_shared=no
 
13044
      fi
 
13045
      ;;
 
13046
    esac
 
13047
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
13048
    # soname into executable. Probably we can add versioning support to
 
13049
    # collect2, so additional links can be useful in future.
 
13050
    if test "$aix_use_runtimelinking" = yes; then
 
13051
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
13052
      # instead of lib<name>.a to let people know that these are not
 
13053
      # typical AIX shared libraries.
 
13054
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13055
    else
 
13056
      # We preserve .a as extension for shared libraries through AIX4.2
 
13057
      # and later when we are not doing run time linking.
 
13058
      library_names_spec='${libname}${release}.a $libname.a'
 
13059
      soname_spec='${libname}${release}${shared_ext}$major'
 
13060
    fi
 
13061
    shlibpath_var=LIBPATH
 
13062
  fi
 
13063
  ;;
 
13064
 
 
13065
amigaos*)
 
13066
  case $host_cpu in
 
13067
  powerpc)
 
13068
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
13069
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
13070
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13071
    ;;
 
13072
  m68k)
 
13073
    library_names_spec='$libname.ixlibrary $libname.a'
 
13074
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
13075
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
13076
    ;;
 
13077
  esac
 
13078
  ;;
 
13079
 
 
13080
beos*)
 
13081
  library_names_spec='${libname}${shared_ext}'
 
13082
  dynamic_linker="$host_os ld.so"
 
13083
  shlibpath_var=LIBRARY_PATH
 
13084
  ;;
 
13085
 
 
13086
bsdi[45]*)
 
13087
  version_type=linux
 
13088
  need_version=no
 
13089
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13090
  soname_spec='${libname}${release}${shared_ext}$major'
 
13091
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
13092
  shlibpath_var=LD_LIBRARY_PATH
 
13093
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
13094
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
13095
  # the default ld.so.conf also contains /usr/contrib/lib and
 
13096
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
13097
  # libtool to hard-code these into programs
 
13098
  ;;
 
13099
 
 
13100
cygwin* | mingw* | pw32* | cegcc*)
 
13101
  version_type=windows
 
13102
  shrext_cmds=".dll"
 
13103
  need_version=no
 
13104
  need_lib_prefix=no
 
13105
 
 
13106
  case $GCC,$host_os in
 
13107
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
13108
    library_names_spec='$libname.dll.a'
 
13109
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
13110
    postinstall_cmds='base_file=`basename \${file}`~
 
13111
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
13112
      dldir=$destdir/`dirname \$dlpath`~
 
13113
      test -d \$dldir || mkdir -p \$dldir~
 
13114
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13115
      chmod a+x \$dldir/$dlname~
 
13116
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
13117
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
13118
      fi'
 
13119
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
13120
      dlpath=$dir/\$dldll~
 
13121
       $RM \$dlpath'
 
13122
    shlibpath_overrides_runpath=yes
 
13123
 
 
13124
    case $host_os in
 
13125
    cygwin*)
 
13126
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
13127
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13128
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
13129
      ;;
 
13130
    mingw* | cegcc*)
 
13131
      # MinGW DLLs use traditional 'lib' prefix
 
13132
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13133
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
13134
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
13135
        # It is most probably a Windows format PATH printed by
 
13136
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
13137
        # path with ; separators, and with drive letters. We can handle the
 
13138
        # drive letters (cygwin fileutils understands them), so leave them,
 
13139
        # especially as we might pass files found there to a mingw objdump,
 
13140
        # which wouldn't understand a cygwinified path. Ahh.
 
13141
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13142
      else
 
13143
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13144
      fi
 
13145
      ;;
 
13146
    pw32*)
 
13147
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
13148
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13149
      ;;
 
13150
    esac
 
13151
    ;;
 
13152
 
 
13153
  *)
 
13154
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
13155
    ;;
 
13156
  esac
 
13157
  dynamic_linker='Win32 ld.exe'
 
13158
  # FIXME: first we should search . and the directory the executable is in
 
13159
  shlibpath_var=PATH
 
13160
  ;;
 
13161
 
 
13162
darwin* | rhapsody*)
 
13163
  dynamic_linker="$host_os dyld"
 
13164
  version_type=darwin
 
13165
  need_lib_prefix=no
 
13166
  need_version=no
 
13167
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
13168
  soname_spec='${libname}${release}${major}$shared_ext'
 
13169
  shlibpath_overrides_runpath=yes
 
13170
  shlibpath_var=DYLD_LIBRARY_PATH
 
13171
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
13172
 
 
13173
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
13174
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
13175
  ;;
 
13176
 
 
13177
dgux*)
 
13178
  version_type=linux
 
13179
  need_lib_prefix=no
 
13180
  need_version=no
 
13181
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
13182
  soname_spec='${libname}${release}${shared_ext}$major'
 
13183
  shlibpath_var=LD_LIBRARY_PATH
 
13184
  ;;
 
13185
 
 
13186
freebsd1*)
 
13187
  dynamic_linker=no
 
13188
  ;;
 
13189
 
 
13190
freebsd* | dragonfly*)
 
13191
  # DragonFly does not have aout.  When/if they implement a new
 
13192
  # versioning mechanism, adjust this.
 
13193
  if test -x /usr/bin/objformat; then
 
13194
    objformat=`/usr/bin/objformat`
 
13195
  else
 
13196
    case $host_os in
 
13197
    freebsd[123]*) objformat=aout ;;
 
13198
    *) objformat=elf ;;
 
13199
    esac
 
13200
  fi
 
13201
  version_type=freebsd-$objformat
 
13202
  case $version_type in
 
13203
    freebsd-elf*)
 
13204
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13205
      need_version=no
 
13206
      need_lib_prefix=no
 
13207
      ;;
 
13208
    freebsd-*)
 
13209
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
13210
      need_version=yes
 
13211
      ;;
 
13212
  esac
 
13213
  shlibpath_var=LD_LIBRARY_PATH
 
13214
  case $host_os in
 
13215
  freebsd2*)
 
13216
    shlibpath_overrides_runpath=yes
 
13217
    ;;
 
13218
  freebsd3.[01]* | freebsdelf3.[01]*)
 
13219
    shlibpath_overrides_runpath=yes
 
13220
    hardcode_into_libs=yes
 
13221
    ;;
 
13222
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13223
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
13224
    shlibpath_overrides_runpath=no
 
13225
    hardcode_into_libs=yes
 
13226
    ;;
 
13227
  *) # from 4.6 on, and DragonFly
 
13228
    shlibpath_overrides_runpath=yes
 
13229
    hardcode_into_libs=yes
 
13230
    ;;
 
13231
  esac
 
13232
  ;;
 
13233
 
 
13234
gnu*)
 
13235
  version_type=linux
 
13236
  need_lib_prefix=no
 
13237
  need_version=no
 
13238
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
13239
  soname_spec='${libname}${release}${shared_ext}$major'
 
13240
  shlibpath_var=LD_LIBRARY_PATH
 
13241
  hardcode_into_libs=yes
 
13242
  ;;
 
13243
 
 
13244
hpux9* | hpux10* | hpux11*)
 
13245
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
13246
  # link against other versions.
 
13247
  version_type=sunos
 
13248
  need_lib_prefix=no
 
13249
  need_version=no
 
13250
  case $host_cpu in
 
13251
  ia64*)
 
13252
    shrext_cmds='.so'
 
13253
    hardcode_into_libs=yes
 
13254
    dynamic_linker="$host_os dld.so"
 
13255
    shlibpath_var=LD_LIBRARY_PATH
 
13256
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13257
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13258
    soname_spec='${libname}${release}${shared_ext}$major'
 
13259
    if test "X$HPUX_IA64_MODE" = X32; then
 
13260
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
13261
    else
 
13262
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
13263
    fi
 
13264
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13265
    ;;
 
13266
  hppa*64*)
 
13267
    shrext_cmds='.sl'
 
13268
    hardcode_into_libs=yes
 
13269
    dynamic_linker="$host_os dld.sl"
 
13270
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
13271
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13272
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13273
    soname_spec='${libname}${release}${shared_ext}$major'
 
13274
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
13275
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13276
    ;;
 
13277
  *)
 
13278
    shrext_cmds='.sl'
 
13279
    dynamic_linker="$host_os dld.sl"
 
13280
    shlibpath_var=SHLIB_PATH
 
13281
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
13282
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13283
    soname_spec='${libname}${release}${shared_ext}$major'
 
13284
    ;;
 
13285
  esac
 
13286
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
13287
  postinstall_cmds='chmod 555 $lib'
 
13288
  ;;
 
13289
 
 
13290
interix[3-9]*)
 
13291
  version_type=linux
 
13292
  need_lib_prefix=no
 
13293
  need_version=no
 
13294
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13295
  soname_spec='${libname}${release}${shared_ext}$major'
 
13296
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13297
  shlibpath_var=LD_LIBRARY_PATH
 
13298
  shlibpath_overrides_runpath=no
 
13299
  hardcode_into_libs=yes
 
13300
  ;;
 
13301
 
 
13302
irix5* | irix6* | nonstopux*)
 
13303
  case $host_os in
 
13304
    nonstopux*) version_type=nonstopux ;;
 
13305
    *)
 
13306
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
13307
                version_type=linux
 
13308
        else
 
13309
                version_type=irix
 
13310
        fi ;;
 
13311
  esac
 
13312
  need_lib_prefix=no
 
13313
  need_version=no
 
13314
  soname_spec='${libname}${release}${shared_ext}$major'
 
13315
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13316
  case $host_os in
 
13317
  irix5* | nonstopux*)
 
13318
    libsuff= shlibsuff=
 
13319
    ;;
 
13320
  *)
 
13321
    case $LD in # libtool.m4 will add one of these switches to LD
 
13322
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
13323
      libsuff= shlibsuff= libmagic=32-bit;;
 
13324
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
13325
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
13326
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
13327
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
13328
    *) libsuff= shlibsuff= libmagic=never-match;;
 
13329
    esac
 
13330
    ;;
 
13331
  esac
 
13332
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
13333
  shlibpath_overrides_runpath=no
 
13334
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
13335
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
13336
  hardcode_into_libs=yes
 
13337
  ;;
 
13338
 
 
13339
# No shared lib support for Linux oldld, aout, or coff.
 
13340
linux*oldld* | linux*aout* | linux*coff*)
 
13341
  dynamic_linker=no
 
13342
  ;;
 
13343
 
 
13344
# This must be Linux ELF.
 
13345
linux* | k*bsd*-gnu)
 
13346
  version_type=linux
 
13347
  need_lib_prefix=no
 
13348
  need_version=no
 
13349
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13350
  soname_spec='${libname}${release}${shared_ext}$major'
 
13351
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
13352
  shlibpath_var=LD_LIBRARY_PATH
 
13353
  shlibpath_overrides_runpath=no
 
13354
  # Some binutils ld are patched to set DT_RUNPATH
 
13355
  save_LDFLAGS=$LDFLAGS
 
13356
  save_libdir=$libdir
 
13357
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
13358
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
13359
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13360
/* end confdefs.h.  */
 
13361
 
 
13362
int
 
13363
main ()
 
13364
{
 
13365
 
 
13366
  ;
 
13367
  return 0;
 
13368
}
 
13369
_ACEOF
 
13370
if ac_fn_c_try_link "$LINENO"; then :
 
13371
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
13372
  shlibpath_overrides_runpath=yes
 
13373
fi
 
13374
fi
 
13375
rm -f core conftest.err conftest.$ac_objext \
 
13376
    conftest$ac_exeext conftest.$ac_ext
 
13377
  LDFLAGS=$save_LDFLAGS
 
13378
  libdir=$save_libdir
 
13379
 
 
13380
  # This implies no fast_install, which is unacceptable.
 
13381
  # Some rework will be needed to allow for fast_install
 
13382
  # before this can be enabled.
 
13383
  hardcode_into_libs=yes
 
13384
 
 
13385
  # Add ABI-specific directories to the system library path.
 
13386
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
13387
 
 
13388
  # Append ld.so.conf contents to the search path
 
13389
  if test -f /etc/ld.so.conf; then
 
13390
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13391
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
13392
  fi
 
13393
 
 
13394
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
13395
  # powerpc, because MkLinux only supported shared libraries with the
 
13396
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
13397
  # most powerpc-linux boxes support dynamic linking these days and
 
13398
  # people can always --disable-shared, the test was removed, and we
 
13399
  # assume the GNU/Linux dynamic linker is in use.
 
13400
  dynamic_linker='GNU/Linux ld.so'
 
13401
  ;;
 
13402
 
 
13403
netbsd*)
 
13404
  version_type=sunos
 
13405
  need_lib_prefix=no
 
13406
  need_version=no
 
13407
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13408
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13409
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
13410
    dynamic_linker='NetBSD (a.out) ld.so'
 
13411
  else
 
13412
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13413
    soname_spec='${libname}${release}${shared_ext}$major'
 
13414
    dynamic_linker='NetBSD ld.elf_so'
 
13415
  fi
 
13416
  shlibpath_var=LD_LIBRARY_PATH
 
13417
  shlibpath_overrides_runpath=yes
 
13418
  hardcode_into_libs=yes
 
13419
  ;;
 
13420
 
 
13421
newsos6)
 
13422
  version_type=linux
 
13423
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13424
  shlibpath_var=LD_LIBRARY_PATH
 
13425
  shlibpath_overrides_runpath=yes
 
13426
  ;;
 
13427
 
 
13428
*nto* | *qnx*)
 
13429
  version_type=qnx
 
13430
  need_lib_prefix=no
 
13431
  need_version=no
 
13432
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13433
  soname_spec='${libname}${release}${shared_ext}$major'
 
13434
  shlibpath_var=LD_LIBRARY_PATH
 
13435
  shlibpath_overrides_runpath=no
 
13436
  hardcode_into_libs=yes
 
13437
  dynamic_linker='ldqnx.so'
 
13438
  ;;
 
13439
 
 
13440
openbsd*)
 
13441
  version_type=sunos
 
13442
  sys_lib_dlsearch_path_spec="/usr/lib"
 
13443
  need_lib_prefix=no
 
13444
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13445
  case $host_os in
 
13446
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
13447
    *)                          need_version=no  ;;
 
13448
  esac
 
13449
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13450
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
13451
  shlibpath_var=LD_LIBRARY_PATH
 
13452
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13453
    case $host_os in
 
13454
      openbsd2.[89] | openbsd2.[89].*)
 
13455
        shlibpath_overrides_runpath=no
 
13456
        ;;
 
13457
      *)
 
13458
        shlibpath_overrides_runpath=yes
 
13459
        ;;
 
13460
      esac
 
13461
  else
 
13462
    shlibpath_overrides_runpath=yes
 
13463
  fi
 
13464
  ;;
 
13465
 
 
13466
os2*)
 
13467
  libname_spec='$name'
 
13468
  shrext_cmds=".dll"
 
13469
  need_lib_prefix=no
 
13470
  library_names_spec='$libname${shared_ext} $libname.a'
 
13471
  dynamic_linker='OS/2 ld.exe'
 
13472
  shlibpath_var=LIBPATH
 
13473
  ;;
 
13474
 
 
13475
osf3* | osf4* | osf5*)
 
13476
  version_type=osf
 
13477
  need_lib_prefix=no
 
13478
  need_version=no
 
13479
  soname_spec='${libname}${release}${shared_ext}$major'
 
13480
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13481
  shlibpath_var=LD_LIBRARY_PATH
 
13482
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
13483
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
13484
  ;;
 
13485
 
 
13486
rdos*)
 
13487
  dynamic_linker=no
 
13488
  ;;
 
13489
 
 
13490
solaris*)
 
13491
  version_type=linux
 
13492
  need_lib_prefix=no
 
13493
  need_version=no
 
13494
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13495
  soname_spec='${libname}${release}${shared_ext}$major'
 
13496
  shlibpath_var=LD_LIBRARY_PATH
 
13497
  shlibpath_overrides_runpath=yes
 
13498
  hardcode_into_libs=yes
 
13499
  # ldd complains unless libraries are executable
 
13500
  postinstall_cmds='chmod +x $lib'
 
13501
  ;;
 
13502
 
 
13503
sunos4*)
 
13504
  version_type=sunos
 
13505
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13506
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
13507
  shlibpath_var=LD_LIBRARY_PATH
 
13508
  shlibpath_overrides_runpath=yes
 
13509
  if test "$with_gnu_ld" = yes; then
 
13510
    need_lib_prefix=no
 
13511
  fi
 
13512
  need_version=yes
 
13513
  ;;
 
13514
 
 
13515
sysv4 | sysv4.3*)
 
13516
  version_type=linux
 
13517
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13518
  soname_spec='${libname}${release}${shared_ext}$major'
 
13519
  shlibpath_var=LD_LIBRARY_PATH
 
13520
  case $host_vendor in
 
13521
    sni)
 
13522
      shlibpath_overrides_runpath=no
 
13523
      need_lib_prefix=no
 
13524
      runpath_var=LD_RUN_PATH
 
13525
      ;;
 
13526
    siemens)
 
13527
      need_lib_prefix=no
 
13528
      ;;
 
13529
    motorola)
 
13530
      need_lib_prefix=no
 
13531
      need_version=no
 
13532
      shlibpath_overrides_runpath=no
 
13533
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
13534
      ;;
 
13535
  esac
 
13536
  ;;
 
13537
 
 
13538
sysv4*MP*)
 
13539
  if test -d /usr/nec ;then
 
13540
    version_type=linux
 
13541
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
13542
    soname_spec='$libname${shared_ext}.$major'
 
13543
    shlibpath_var=LD_LIBRARY_PATH
 
13544
  fi
 
13545
  ;;
 
13546
 
 
13547
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13548
  version_type=freebsd-elf
 
13549
  need_lib_prefix=no
 
13550
  need_version=no
 
13551
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13552
  soname_spec='${libname}${release}${shared_ext}$major'
 
13553
  shlibpath_var=LD_LIBRARY_PATH
 
13554
  shlibpath_overrides_runpath=yes
 
13555
  hardcode_into_libs=yes
 
13556
  if test "$with_gnu_ld" = yes; then
 
13557
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13558
  else
 
13559
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13560
    case $host_os in
 
13561
      sco3.2v5*)
 
13562
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13563
        ;;
 
13564
    esac
 
13565
  fi
 
13566
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13567
  ;;
 
13568
 
 
13569
tpf*)
 
13570
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
13571
  version_type=linux
 
13572
  need_lib_prefix=no
 
13573
  need_version=no
 
13574
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13575
  shlibpath_var=LD_LIBRARY_PATH
 
13576
  shlibpath_overrides_runpath=no
 
13577
  hardcode_into_libs=yes
 
13578
  ;;
 
13579
 
 
13580
uts4*)
 
13581
  version_type=linux
 
13582
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13583
  soname_spec='${libname}${release}${shared_ext}$major'
 
13584
  shlibpath_var=LD_LIBRARY_PATH
 
13585
  ;;
 
13586
 
 
13587
*)
 
13588
  dynamic_linker=no
 
13589
  ;;
 
13590
esac
 
13591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
13592
$as_echo "$dynamic_linker" >&6; }
 
13593
test "$dynamic_linker" = no && can_build_shared=no
 
13594
 
 
13595
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13596
if test "$GCC" = yes; then
 
13597
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13598
fi
 
13599
 
 
13600
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13601
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13602
fi
 
13603
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13604
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13605
fi
 
13606
 
 
13607
 
 
13608
 
 
13609
 
 
13610
 
 
13611
 
 
13612
 
 
13613
 
 
13614
 
 
13615
 
 
13616
 
 
13617
 
 
13618
 
 
13619
 
 
13620
 
 
13621
 
 
13622
 
 
13623
 
 
13624
 
 
13625
 
 
13626
 
 
13627
 
 
13628
 
 
13629
 
 
13630
 
 
13631
 
 
13632
 
 
13633
 
 
13634
 
 
13635
 
 
13636
 
 
13637
 
 
13638
 
 
13639
 
 
13640
 
 
13641
 
 
13642
 
 
13643
 
 
13644
 
 
13645
 
 
13646
 
 
13647
 
 
13648
 
 
13649
 
 
13650
 
 
13651
 
 
13652
 
 
13653
 
 
13654
 
 
13655
 
 
13656
 
 
13657
 
 
13658
 
 
13659
 
 
13660
 
 
13661
 
 
13662
 
 
13663
 
 
13664
 
 
13665
 
 
13666
 
 
13667
 
 
13668
 
 
13669
 
 
13670
 
 
13671
 
 
13672
 
 
13673
 
 
13674
 
 
13675
 
 
13676
 
 
13677
 
 
13678
 
 
13679
 
 
13680
 
 
13681
 
 
13682
 
 
13683
 
 
13684
 
 
13685
 
 
13686
 
 
13687
 
 
13688
 
 
13689
 
 
13690
 
 
13691
 
 
13692
 
 
13693
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
13694
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
13695
hardcode_action=
 
13696
if test -n "$hardcode_libdir_flag_spec" ||
 
13697
   test -n "$runpath_var" ||
 
13698
   test "X$hardcode_automatic" = "Xyes" ; then
 
13699
 
 
13700
  # We can hardcode non-existent directories.
 
13701
  if test "$hardcode_direct" != no &&
 
13702
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
13703
     # have to relink, otherwise we might link with an installed library
 
13704
     # when we should be linking with a yet-to-be-installed one
 
13705
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
13706
     test "$hardcode_minus_L" != no; then
 
13707
    # Linking always hardcodes the temporary library directory.
 
13708
    hardcode_action=relink
 
13709
  else
 
13710
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
13711
    hardcode_action=immediate
 
13712
  fi
 
13713
else
 
13714
  # We cannot hardcode anything, or else we can only hardcode existing
 
13715
  # directories.
 
13716
  hardcode_action=unsupported
 
13717
fi
 
13718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
13719
$as_echo "$hardcode_action" >&6; }
 
13720
 
 
13721
if test "$hardcode_action" = relink ||
 
13722
   test "$inherit_rpath" = yes; then
 
13723
  # Fast installation is not supported
 
13724
  enable_fast_install=no
 
13725
elif test "$shlibpath_overrides_runpath" = yes ||
 
13726
     test "$enable_shared" = no; then
 
13727
  # Fast installation is not necessary
 
13728
  enable_fast_install=needless
 
13729
fi
 
13730
 
 
13731
 
 
13732
 
 
13733
 
 
13734
 
 
13735
 
 
13736
  if test "x$enable_dlopen" != xyes; then
 
13737
  enable_dlopen=unknown
 
13738
  enable_dlopen_self=unknown
 
13739
  enable_dlopen_self_static=unknown
 
13740
else
 
13741
  lt_cv_dlopen=no
 
13742
  lt_cv_dlopen_libs=
 
13743
 
 
13744
  case $host_os in
 
13745
  beos*)
 
13746
    lt_cv_dlopen="load_add_on"
 
13747
    lt_cv_dlopen_libs=
 
13748
    lt_cv_dlopen_self=yes
 
13749
    ;;
 
13750
 
 
13751
  mingw* | pw32* | cegcc*)
 
13752
    lt_cv_dlopen="LoadLibrary"
 
13753
    lt_cv_dlopen_libs=
 
13754
    ;;
 
13755
 
 
13756
  cygwin*)
 
13757
    lt_cv_dlopen="dlopen"
 
13758
    lt_cv_dlopen_libs=
 
13759
    ;;
 
13760
 
 
13761
  darwin*)
 
13762
  # if libdl is installed we need to link against it
 
13763
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13764
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13765
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
13766
  $as_echo_n "(cached) " >&6
 
13767
else
 
13768
  ac_check_lib_save_LIBS=$LIBS
 
13769
LIBS="-ldl  $LIBS"
 
13770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13771
/* end confdefs.h.  */
 
13772
 
 
13773
/* Override any GCC internal prototype to avoid an error.
 
13774
   Use char because int might match the return type of a GCC
 
13775
   builtin and then its argument prototype would still apply.  */
 
13776
#ifdef __cplusplus
 
13777
extern "C"
 
13778
#endif
 
13779
char dlopen ();
 
13780
int
 
13781
main ()
 
13782
{
 
13783
return dlopen ();
 
13784
  ;
 
13785
  return 0;
 
13786
}
 
13787
_ACEOF
 
13788
if ac_fn_c_try_link "$LINENO"; then :
 
13789
  ac_cv_lib_dl_dlopen=yes
 
13790
else
 
13791
  ac_cv_lib_dl_dlopen=no
 
13792
fi
 
13793
rm -f core conftest.err conftest.$ac_objext \
 
13794
    conftest$ac_exeext conftest.$ac_ext
 
13795
LIBS=$ac_check_lib_save_LIBS
 
13796
fi
 
13797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13798
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13799
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
13800
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13801
else
 
13802
 
 
13803
    lt_cv_dlopen="dyld"
 
13804
    lt_cv_dlopen_libs=
 
13805
    lt_cv_dlopen_self=yes
 
13806
 
 
13807
fi
 
13808
 
 
13809
    ;;
 
13810
 
 
13811
  *)
 
13812
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
13813
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
13814
  lt_cv_dlopen="shl_load"
 
13815
else
 
13816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
13817
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
13818
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
13819
  $as_echo_n "(cached) " >&6
 
13820
else
 
13821
  ac_check_lib_save_LIBS=$LIBS
 
13822
LIBS="-ldld  $LIBS"
 
13823
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13824
/* end confdefs.h.  */
 
13825
 
 
13826
/* Override any GCC internal prototype to avoid an error.
 
13827
   Use char because int might match the return type of a GCC
 
13828
   builtin and then its argument prototype would still apply.  */
 
13829
#ifdef __cplusplus
 
13830
extern "C"
 
13831
#endif
 
13832
char shl_load ();
 
13833
int
 
13834
main ()
 
13835
{
 
13836
return shl_load ();
 
13837
  ;
 
13838
  return 0;
 
13839
}
 
13840
_ACEOF
 
13841
if ac_fn_c_try_link "$LINENO"; then :
 
13842
  ac_cv_lib_dld_shl_load=yes
 
13843
else
 
13844
  ac_cv_lib_dld_shl_load=no
 
13845
fi
 
13846
rm -f core conftest.err conftest.$ac_objext \
 
13847
    conftest$ac_exeext conftest.$ac_ext
 
13848
LIBS=$ac_check_lib_save_LIBS
 
13849
fi
 
13850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
13851
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
13852
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
13853
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
13854
else
 
13855
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
13856
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
13857
  lt_cv_dlopen="dlopen"
 
13858
else
 
13859
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13860
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13861
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
13862
  $as_echo_n "(cached) " >&6
 
13863
else
 
13864
  ac_check_lib_save_LIBS=$LIBS
 
13865
LIBS="-ldl  $LIBS"
 
13866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13867
/* end confdefs.h.  */
 
13868
 
 
13869
/* Override any GCC internal prototype to avoid an error.
 
13870
   Use char because int might match the return type of a GCC
 
13871
   builtin and then its argument prototype would still apply.  */
 
13872
#ifdef __cplusplus
 
13873
extern "C"
 
13874
#endif
 
13875
char dlopen ();
 
13876
int
 
13877
main ()
 
13878
{
 
13879
return dlopen ();
 
13880
  ;
 
13881
  return 0;
 
13882
}
 
13883
_ACEOF
 
13884
if ac_fn_c_try_link "$LINENO"; then :
 
13885
  ac_cv_lib_dl_dlopen=yes
 
13886
else
 
13887
  ac_cv_lib_dl_dlopen=no
 
13888
fi
 
13889
rm -f core conftest.err conftest.$ac_objext \
 
13890
    conftest$ac_exeext conftest.$ac_ext
 
13891
LIBS=$ac_check_lib_save_LIBS
 
13892
fi
 
13893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13894
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13895
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
13896
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13897
else
 
13898
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
13899
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
13900
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
13901
  $as_echo_n "(cached) " >&6
 
13902
else
 
13903
  ac_check_lib_save_LIBS=$LIBS
 
13904
LIBS="-lsvld  $LIBS"
 
13905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13906
/* end confdefs.h.  */
 
13907
 
 
13908
/* Override any GCC internal prototype to avoid an error.
 
13909
   Use char because int might match the return type of a GCC
 
13910
   builtin and then its argument prototype would still apply.  */
 
13911
#ifdef __cplusplus
 
13912
extern "C"
 
13913
#endif
 
13914
char dlopen ();
 
13915
int
 
13916
main ()
 
13917
{
 
13918
return dlopen ();
 
13919
  ;
 
13920
  return 0;
 
13921
}
 
13922
_ACEOF
 
13923
if ac_fn_c_try_link "$LINENO"; then :
 
13924
  ac_cv_lib_svld_dlopen=yes
 
13925
else
 
13926
  ac_cv_lib_svld_dlopen=no
 
13927
fi
 
13928
rm -f core conftest.err conftest.$ac_objext \
 
13929
    conftest$ac_exeext conftest.$ac_ext
 
13930
LIBS=$ac_check_lib_save_LIBS
 
13931
fi
 
13932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
13933
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
13934
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
13935
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
13936
else
 
13937
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
13938
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
13939
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
13940
  $as_echo_n "(cached) " >&6
 
13941
else
 
13942
  ac_check_lib_save_LIBS=$LIBS
 
13943
LIBS="-ldld  $LIBS"
 
13944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13945
/* end confdefs.h.  */
 
13946
 
 
13947
/* Override any GCC internal prototype to avoid an error.
 
13948
   Use char because int might match the return type of a GCC
 
13949
   builtin and then its argument prototype would still apply.  */
 
13950
#ifdef __cplusplus
 
13951
extern "C"
 
13952
#endif
 
13953
char dld_link ();
 
13954
int
 
13955
main ()
 
13956
{
 
13957
return dld_link ();
 
13958
  ;
 
13959
  return 0;
 
13960
}
 
13961
_ACEOF
 
13962
if ac_fn_c_try_link "$LINENO"; then :
 
13963
  ac_cv_lib_dld_dld_link=yes
 
13964
else
 
13965
  ac_cv_lib_dld_dld_link=no
 
13966
fi
 
13967
rm -f core conftest.err conftest.$ac_objext \
 
13968
    conftest$ac_exeext conftest.$ac_ext
 
13969
LIBS=$ac_check_lib_save_LIBS
 
13970
fi
 
13971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
13972
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
13973
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
13974
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
13975
fi
 
13976
 
 
13977
 
 
13978
fi
 
13979
 
 
13980
 
 
13981
fi
 
13982
 
 
13983
 
 
13984
fi
 
13985
 
 
13986
 
 
13987
fi
 
13988
 
 
13989
 
 
13990
fi
 
13991
 
 
13992
    ;;
 
13993
  esac
 
13994
 
 
13995
  if test "x$lt_cv_dlopen" != xno; then
 
13996
    enable_dlopen=yes
 
13997
  else
 
13998
    enable_dlopen=no
 
13999
  fi
 
14000
 
 
14001
  case $lt_cv_dlopen in
 
14002
  dlopen)
 
14003
    save_CPPFLAGS="$CPPFLAGS"
 
14004
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
14005
 
 
14006
    save_LDFLAGS="$LDFLAGS"
 
14007
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
14008
 
 
14009
    save_LIBS="$LIBS"
 
14010
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
14011
 
 
14012
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
14013
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
14014
if test "${lt_cv_dlopen_self+set}" = set; then :
 
14015
  $as_echo_n "(cached) " >&6
 
14016
else
 
14017
          if test "$cross_compiling" = yes; then :
 
14018
  lt_cv_dlopen_self=cross
 
14019
else
 
14020
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
14021
  lt_status=$lt_dlunknown
 
14022
  cat > conftest.$ac_ext <<_LT_EOF
 
14023
#line 14023 "configure"
 
14024
#include "confdefs.h"
 
14025
 
 
14026
#if HAVE_DLFCN_H
 
14027
#include <dlfcn.h>
 
14028
#endif
 
14029
 
 
14030
#include <stdio.h>
 
14031
 
 
14032
#ifdef RTLD_GLOBAL
 
14033
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
14034
#else
 
14035
#  ifdef DL_GLOBAL
 
14036
#    define LT_DLGLOBAL         DL_GLOBAL
 
14037
#  else
 
14038
#    define LT_DLGLOBAL         0
 
14039
#  endif
 
14040
#endif
 
14041
 
 
14042
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
14043
   find out it does not work in some platform. */
 
14044
#ifndef LT_DLLAZY_OR_NOW
 
14045
#  ifdef RTLD_LAZY
 
14046
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
14047
#  else
 
14048
#    ifdef DL_LAZY
 
14049
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
14050
#    else
 
14051
#      ifdef RTLD_NOW
 
14052
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
14053
#      else
 
14054
#        ifdef DL_NOW
 
14055
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
14056
#        else
 
14057
#          define LT_DLLAZY_OR_NOW      0
 
14058
#        endif
 
14059
#      endif
 
14060
#    endif
 
14061
#  endif
 
14062
#endif
 
14063
 
 
14064
void fnord() { int i=42;}
 
14065
int main ()
 
14066
{
 
14067
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
14068
  int status = $lt_dlunknown;
 
14069
 
 
14070
  if (self)
 
14071
    {
 
14072
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
14073
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
14074
      /* dlclose (self); */
 
14075
    }
 
14076
  else
 
14077
    puts (dlerror ());
 
14078
 
 
14079
  return status;
 
14080
}
 
14081
_LT_EOF
 
14082
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
14083
  (eval $ac_link) 2>&5
 
14084
  ac_status=$?
 
14085
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14086
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
14087
    (./conftest; exit; ) >&5 2>/dev/null
 
14088
    lt_status=$?
 
14089
    case x$lt_status in
 
14090
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
14091
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
14092
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
14093
    esac
 
14094
  else :
 
14095
    # compilation failed
 
14096
    lt_cv_dlopen_self=no
 
14097
  fi
 
14098
fi
 
14099
rm -fr conftest*
 
14100
 
 
14101
 
 
14102
fi
 
14103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
14104
$as_echo "$lt_cv_dlopen_self" >&6; }
 
14105
 
 
14106
    if test "x$lt_cv_dlopen_self" = xyes; then
 
14107
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
14108
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
14109
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
14110
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
14111
  $as_echo_n "(cached) " >&6
 
14112
else
 
14113
          if test "$cross_compiling" = yes; then :
 
14114
  lt_cv_dlopen_self_static=cross
 
14115
else
 
14116
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
14117
  lt_status=$lt_dlunknown
 
14118
  cat > conftest.$ac_ext <<_LT_EOF
 
14119
#line 14119 "configure"
 
14120
#include "confdefs.h"
 
14121
 
 
14122
#if HAVE_DLFCN_H
 
14123
#include <dlfcn.h>
 
14124
#endif
 
14125
 
 
14126
#include <stdio.h>
 
14127
 
 
14128
#ifdef RTLD_GLOBAL
 
14129
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
14130
#else
 
14131
#  ifdef DL_GLOBAL
 
14132
#    define LT_DLGLOBAL         DL_GLOBAL
 
14133
#  else
 
14134
#    define LT_DLGLOBAL         0
 
14135
#  endif
 
14136
#endif
 
14137
 
 
14138
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
14139
   find out it does not work in some platform. */
 
14140
#ifndef LT_DLLAZY_OR_NOW
 
14141
#  ifdef RTLD_LAZY
 
14142
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
14143
#  else
 
14144
#    ifdef DL_LAZY
 
14145
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
14146
#    else
 
14147
#      ifdef RTLD_NOW
 
14148
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
14149
#      else
 
14150
#        ifdef DL_NOW
 
14151
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
14152
#        else
 
14153
#          define LT_DLLAZY_OR_NOW      0
 
14154
#        endif
 
14155
#      endif
 
14156
#    endif
 
14157
#  endif
 
14158
#endif
 
14159
 
 
14160
void fnord() { int i=42;}
 
14161
int main ()
 
14162
{
 
14163
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
14164
  int status = $lt_dlunknown;
 
14165
 
 
14166
  if (self)
 
14167
    {
 
14168
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
14169
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
14170
      /* dlclose (self); */
 
14171
    }
 
14172
  else
 
14173
    puts (dlerror ());
 
14174
 
 
14175
  return status;
 
14176
}
 
14177
_LT_EOF
 
14178
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
14179
  (eval $ac_link) 2>&5
 
14180
  ac_status=$?
 
14181
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14182
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
14183
    (./conftest; exit; ) >&5 2>/dev/null
 
14184
    lt_status=$?
 
14185
    case x$lt_status in
 
14186
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
14187
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
14188
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
14189
    esac
 
14190
  else :
 
14191
    # compilation failed
 
14192
    lt_cv_dlopen_self_static=no
 
14193
  fi
 
14194
fi
 
14195
rm -fr conftest*
 
14196
 
 
14197
 
 
14198
fi
 
14199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
14200
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
14201
    fi
 
14202
 
 
14203
    CPPFLAGS="$save_CPPFLAGS"
 
14204
    LDFLAGS="$save_LDFLAGS"
 
14205
    LIBS="$save_LIBS"
 
14206
    ;;
 
14207
  esac
 
14208
 
 
14209
  case $lt_cv_dlopen_self in
 
14210
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
14211
  *) enable_dlopen_self=unknown ;;
 
14212
  esac
 
14213
 
 
14214
  case $lt_cv_dlopen_self_static in
 
14215
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
14216
  *) enable_dlopen_self_static=unknown ;;
 
14217
  esac
 
14218
fi
 
14219
 
 
14220
 
 
14221
 
 
14222
 
 
14223
 
 
14224
 
 
14225
 
 
14226
 
 
14227
 
 
14228
 
 
14229
 
 
14230
 
 
14231
 
 
14232
 
 
14233
 
 
14234
 
 
14235
 
 
14236
striplib=
 
14237
old_striplib=
 
14238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
14239
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
14240
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
14241
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
14242
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
14243
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14244
$as_echo "yes" >&6; }
 
14245
else
 
14246
# FIXME - insert some real tests, host_os isn't really good enough
 
14247
  case $host_os in
 
14248
  darwin*)
 
14249
    if test -n "$STRIP" ; then
 
14250
      striplib="$STRIP -x"
 
14251
      old_striplib="$STRIP -S"
 
14252
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14253
$as_echo "yes" >&6; }
 
14254
    else
 
14255
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14256
$as_echo "no" >&6; }
 
14257
    fi
 
14258
    ;;
 
14259
  *)
 
14260
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14261
$as_echo "no" >&6; }
 
14262
    ;;
 
14263
  esac
 
14264
fi
 
14265
 
 
14266
 
 
14267
 
 
14268
 
 
14269
 
 
14270
 
 
14271
 
 
14272
 
 
14273
 
 
14274
 
 
14275
 
 
14276
 
 
14277
  # Report which library types will actually be built
 
14278
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
14279
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
14280
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
14281
$as_echo "$can_build_shared" >&6; }
 
14282
 
 
14283
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
14284
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
14285
  test "$can_build_shared" = "no" && enable_shared=no
 
14286
 
 
14287
  # On AIX, shared libraries and static libraries use the same namespace, and
 
14288
  # are all built from PIC.
 
14289
  case $host_os in
 
14290
  aix3*)
 
14291
    test "$enable_shared" = yes && enable_static=no
 
14292
    if test -n "$RANLIB"; then
 
14293
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
14294
      postinstall_cmds='$RANLIB $lib'
 
14295
    fi
 
14296
    ;;
 
14297
 
 
14298
  aix[4-9]*)
 
14299
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14300
      test "$enable_shared" = yes && enable_static=no
 
14301
    fi
 
14302
    ;;
 
14303
  esac
 
14304
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
14305
$as_echo "$enable_shared" >&6; }
 
14306
 
 
14307
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
14308
$as_echo_n "checking whether to build static libraries... " >&6; }
 
14309
  # Make sure either enable_shared or enable_static is yes.
 
14310
  test "$enable_shared" = yes || enable_static=yes
 
14311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
14312
$as_echo "$enable_static" >&6; }
 
14313
 
 
14314
 
 
14315
 
 
14316
 
 
14317
fi
 
14318
ac_ext=c
 
14319
ac_cpp='$CPP $CPPFLAGS'
 
14320
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14321
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14322
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14323
 
 
14324
CC="$lt_save_CC"
 
14325
 
 
14326
 
 
14327
ac_ext=cpp
 
14328
ac_cpp='$CXXCPP $CPPFLAGS'
 
14329
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14330
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14331
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14332
 
 
14333
archive_cmds_need_lc_CXX=no
 
14334
allow_undefined_flag_CXX=
 
14335
always_export_symbols_CXX=no
 
14336
archive_expsym_cmds_CXX=
 
14337
compiler_needs_object_CXX=no
 
14338
export_dynamic_flag_spec_CXX=
 
14339
hardcode_direct_CXX=no
 
14340
hardcode_direct_absolute_CXX=no
 
14341
hardcode_libdir_flag_spec_CXX=
 
14342
hardcode_libdir_flag_spec_ld_CXX=
 
14343
hardcode_libdir_separator_CXX=
 
14344
hardcode_minus_L_CXX=no
 
14345
hardcode_shlibpath_var_CXX=unsupported
 
14346
hardcode_automatic_CXX=no
 
14347
inherit_rpath_CXX=no
 
14348
module_cmds_CXX=
 
14349
module_expsym_cmds_CXX=
 
14350
link_all_deplibs_CXX=unknown
 
14351
old_archive_cmds_CXX=$old_archive_cmds
 
14352
no_undefined_flag_CXX=
 
14353
whole_archive_flag_spec_CXX=
 
14354
enable_shared_with_static_runtimes_CXX=no
 
14355
 
 
14356
# Source file extension for C++ test sources.
 
14357
ac_ext=cpp
 
14358
 
 
14359
# Object file extension for compiled C++ test sources.
 
14360
objext=o
 
14361
objext_CXX=$objext
 
14362
 
 
14363
# No sense in running all these tests if we already determined that
 
14364
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
14365
# are currently assumed to apply to all compilers on this platform,
 
14366
# and will be corrupted by setting them based on a non-working compiler.
 
14367
if test "$_lt_caught_CXX_error" != yes; then
 
14368
  # Code to be used in simple compile tests
 
14369
  lt_simple_compile_test_code="int some_variable = 0;"
 
14370
 
 
14371
  # Code to be used in simple link tests
 
14372
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
14373
 
 
14374
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
14375
 
 
14376
 
 
14377
 
 
14378
 
 
14379
 
 
14380
 
 
14381
# If no C compiler was specified, use CC.
 
14382
LTCC=${LTCC-"$CC"}
 
14383
 
 
14384
# If no C compiler flags were specified, use CFLAGS.
 
14385
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14386
 
 
14387
# Allow CC to be a program name with arguments.
 
14388
compiler=$CC
 
14389
 
 
14390
 
 
14391
  # save warnings/boilerplate of simple test code
 
14392
  ac_outfile=conftest.$ac_objext
 
14393
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14394
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14395
_lt_compiler_boilerplate=`cat conftest.err`
 
14396
$RM conftest*
 
14397
 
 
14398
  ac_outfile=conftest.$ac_objext
 
14399
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
14400
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14401
_lt_linker_boilerplate=`cat conftest.err`
 
14402
$RM -r conftest*
 
14403
 
 
14404
 
 
14405
  # Allow CC to be a program name with arguments.
 
14406
  lt_save_CC=$CC
 
14407
  lt_save_LD=$LD
 
14408
  lt_save_GCC=$GCC
 
14409
  GCC=$GXX
 
14410
  lt_save_with_gnu_ld=$with_gnu_ld
 
14411
  lt_save_path_LD=$lt_cv_path_LD
 
14412
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
14413
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
14414
  else
 
14415
    $as_unset lt_cv_prog_gnu_ld
 
14416
  fi
 
14417
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
14418
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
14419
  else
 
14420
    $as_unset lt_cv_path_LD
 
14421
  fi
 
14422
  test -z "${LDCXX+set}" || LD=$LDCXX
 
14423
  CC=${CXX-"c++"}
 
14424
  compiler=$CC
 
14425
  compiler_CXX=$CC
 
14426
  for cc_temp in $compiler""; do
 
14427
  case $cc_temp in
 
14428
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14429
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14430
    \-*) ;;
 
14431
    *) break;;
 
14432
  esac
 
14433
done
 
14434
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14435
 
 
14436
 
 
14437
  if test -n "$compiler"; then
 
14438
    # We don't want -fno-exception when compiling C++ code, so set the
 
14439
    # no_builtin_flag separately
 
14440
    if test "$GXX" = yes; then
 
14441
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
14442
    else
 
14443
      lt_prog_compiler_no_builtin_flag_CXX=
 
14444
    fi
 
14445
 
 
14446
    if test "$GXX" = yes; then
 
14447
      # Set up default GNU C++ configuration
 
14448
 
 
14449
 
 
14450
 
 
14451
# Check whether --with-gnu-ld was given.
 
14452
if test "${with_gnu_ld+set}" = set; then :
 
14453
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
14454
else
 
14455
  with_gnu_ld=no
 
14456
fi
 
14457
 
 
14458
ac_prog=ld
 
14459
if test "$GCC" = yes; then
 
14460
  # Check if gcc -print-prog-name=ld gives a path.
 
14461
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
14462
$as_echo_n "checking for ld used by $CC... " >&6; }
 
14463
  case $host in
 
14464
  *-*-mingw*)
 
14465
    # gcc leaves a trailing carriage return which upsets mingw
 
14466
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
14467
  *)
 
14468
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
14469
  esac
 
14470
  case $ac_prog in
 
14471
    # Accept absolute paths.
 
14472
    [\\/]* | ?:[\\/]*)
 
14473
      re_direlt='/[^/][^/]*/\.\./'
 
14474
      # Canonicalize the pathname of ld
 
14475
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
14476
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
14477
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
14478
      done
 
14479
      test -z "$LD" && LD="$ac_prog"
 
14480
      ;;
 
14481
  "")
 
14482
    # If it fails, then pretend we aren't using GCC.
 
14483
    ac_prog=ld
 
14484
    ;;
 
14485
  *)
 
14486
    # If it is relative, then search for the first ld in PATH.
 
14487
    with_gnu_ld=unknown
 
14488
    ;;
 
14489
  esac
 
14490
elif test "$with_gnu_ld" = yes; then
 
14491
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
14492
$as_echo_n "checking for GNU ld... " >&6; }
 
14493
else
 
14494
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
14495
$as_echo_n "checking for non-GNU ld... " >&6; }
 
14496
fi
 
14497
if test "${lt_cv_path_LD+set}" = set; then :
 
14498
  $as_echo_n "(cached) " >&6
 
14499
else
 
14500
  if test -z "$LD"; then
 
14501
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
14502
  for ac_dir in $PATH; do
 
14503
    IFS="$lt_save_ifs"
 
14504
    test -z "$ac_dir" && ac_dir=.
 
14505
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
14506
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
14507
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
14508
      # but apparently some variants of GNU ld only accept -v.
 
14509
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
14510
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
14511
      *GNU* | *'with BFD'*)
 
14512
        test "$with_gnu_ld" != no && break
 
14513
        ;;
 
14514
      *)
 
14515
        test "$with_gnu_ld" != yes && break
 
14516
        ;;
 
14517
      esac
 
14518
    fi
 
14519
  done
 
14520
  IFS="$lt_save_ifs"
 
14521
else
 
14522
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
14523
fi
 
14524
fi
 
14525
 
 
14526
LD="$lt_cv_path_LD"
 
14527
if test -n "$LD"; then
 
14528
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
14529
$as_echo "$LD" >&6; }
 
14530
else
 
14531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14532
$as_echo "no" >&6; }
 
14533
fi
 
14534
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
14535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
14536
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
14537
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
14538
  $as_echo_n "(cached) " >&6
 
14539
else
 
14540
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
14541
case `$LD -v 2>&1 </dev/null` in
 
14542
*GNU* | *'with BFD'*)
 
14543
  lt_cv_prog_gnu_ld=yes
 
14544
  ;;
 
14545
*)
 
14546
  lt_cv_prog_gnu_ld=no
 
14547
  ;;
 
14548
esac
 
14549
fi
 
14550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
14551
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
14552
with_gnu_ld=$lt_cv_prog_gnu_ld
 
14553
 
 
14554
 
 
14555
 
 
14556
 
 
14557
 
 
14558
 
 
14559
 
 
14560
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
14561
      # archiving commands below assume that GNU ld is being used.
 
14562
      if test "$with_gnu_ld" = yes; then
 
14563
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14564
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
14565
 
 
14566
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
14567
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
14568
 
 
14569
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
14570
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
14571
        #     investigate it a little bit more. (MM)
 
14572
        wlarc='${wl}'
 
14573
 
 
14574
        # ancient GNU ld didn't support --whole-archive et. al.
 
14575
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
14576
          $GREP 'no-whole-archive' > /dev/null; then
 
14577
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14578
        else
 
14579
          whole_archive_flag_spec_CXX=
 
14580
        fi
 
14581
      else
 
14582
        with_gnu_ld=no
 
14583
        wlarc=
 
14584
 
 
14585
        # A generic and very simple default shared library creation
 
14586
        # command for GNU C++ for the case where it uses the native
 
14587
        # linker, instead of GNU ld.  If possible, this setting should
 
14588
        # overridden to take advantage of the native linker features on
 
14589
        # the platform it is being used on.
 
14590
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
14591
      fi
 
14592
 
 
14593
      # Commands to make compiler produce verbose output that lists
 
14594
      # what "hidden" libraries, object files and flags are used when
 
14595
      # linking a shared library.
 
14596
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14597
 
 
14598
    else
 
14599
      GXX=no
 
14600
      with_gnu_ld=no
 
14601
      wlarc=
 
14602
    fi
 
14603
 
 
14604
    # PORTME: fill in a description of your system's C++ link characteristics
 
14605
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14606
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
14607
    ld_shlibs_CXX=yes
 
14608
    case $host_os in
 
14609
      aix3*)
 
14610
        # FIXME: insert proper C++ library support
 
14611
        ld_shlibs_CXX=no
 
14612
        ;;
 
14613
      aix[4-9]*)
 
14614
        if test "$host_cpu" = ia64; then
 
14615
          # On IA64, the linker does run time linking by default, so we don't
 
14616
          # have to do anything special.
 
14617
          aix_use_runtimelinking=no
 
14618
          exp_sym_flag='-Bexport'
 
14619
          no_entry_flag=""
 
14620
        else
 
14621
          aix_use_runtimelinking=no
 
14622
 
 
14623
          # Test if we are trying to use run time linking or normal
 
14624
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
14625
          # need to do runtime linking.
 
14626
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
14627
            for ld_flag in $LDFLAGS; do
 
14628
              case $ld_flag in
 
14629
              *-brtl*)
 
14630
                aix_use_runtimelinking=yes
 
14631
                break
 
14632
                ;;
 
14633
              esac
 
14634
            done
 
14635
            ;;
 
14636
          esac
 
14637
 
 
14638
          exp_sym_flag='-bexport'
 
14639
          no_entry_flag='-bnoentry'
 
14640
        fi
 
14641
 
 
14642
        # When large executables or shared objects are built, AIX ld can
 
14643
        # have problems creating the table of contents.  If linking a library
 
14644
        # or program results in "error TOC overflow" add -mminimal-toc to
 
14645
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
14646
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
14647
 
 
14648
        archive_cmds_CXX=''
 
14649
        hardcode_direct_CXX=yes
 
14650
        hardcode_direct_absolute_CXX=yes
 
14651
        hardcode_libdir_separator_CXX=':'
 
14652
        link_all_deplibs_CXX=yes
 
14653
        file_list_spec_CXX='${wl}-f,'
 
14654
 
 
14655
        if test "$GXX" = yes; then
 
14656
          case $host_os in aix4.[012]|aix4.[012].*)
 
14657
          # We only want to do this on AIX 4.2 and lower, the check
 
14658
          # below for broken collect2 doesn't work under 4.3+
 
14659
          collect2name=`${CC} -print-prog-name=collect2`
 
14660
          if test -f "$collect2name" &&
 
14661
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
14662
          then
 
14663
            # We have reworked collect2
 
14664
            :
 
14665
          else
 
14666
            # We have old collect2
 
14667
            hardcode_direct_CXX=unsupported
 
14668
            # It fails to find uninstalled libraries when the uninstalled
 
14669
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
14670
            # to unsupported forces relinking
 
14671
            hardcode_minus_L_CXX=yes
 
14672
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
14673
            hardcode_libdir_separator_CXX=
 
14674
          fi
 
14675
          esac
 
14676
          shared_flag='-shared'
 
14677
          if test "$aix_use_runtimelinking" = yes; then
 
14678
            shared_flag="$shared_flag "'${wl}-G'
 
14679
          fi
 
14680
        else
 
14681
          # not using gcc
 
14682
          if test "$host_cpu" = ia64; then
 
14683
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
14684
          # chokes on -Wl,-G. The following line is correct:
 
14685
          shared_flag='-G'
 
14686
          else
 
14687
            if test "$aix_use_runtimelinking" = yes; then
 
14688
              shared_flag='${wl}-G'
 
14689
            else
 
14690
              shared_flag='${wl}-bM:SRE'
 
14691
            fi
 
14692
          fi
 
14693
        fi
 
14694
 
 
14695
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
14696
        # It seems that -bexpall does not export symbols beginning with
 
14697
        # underscore (_), so it is better to generate a list of symbols to
 
14698
        # export.
 
14699
        always_export_symbols_CXX=yes
 
14700
        if test "$aix_use_runtimelinking" = yes; then
 
14701
          # Warning - without using the other runtime loading flags (-brtl),
 
14702
          # -berok will link without error, but may produce a broken library.
 
14703
          allow_undefined_flag_CXX='-berok'
 
14704
          # Determine the default libpath from the value encoded in an empty
 
14705
          # executable.
 
14706
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14707
/* end confdefs.h.  */
 
14708
 
 
14709
int
 
14710
main ()
 
14711
{
 
14712
 
 
14713
  ;
 
14714
  return 0;
 
14715
}
 
14716
_ACEOF
 
14717
if ac_fn_cxx_try_link "$LINENO"; then :
 
14718
 
 
14719
lt_aix_libpath_sed='
 
14720
    /Import File Strings/,/^$/ {
 
14721
        /^0/ {
 
14722
            s/^0  *\(.*\)$/\1/
 
14723
            p
 
14724
        }
 
14725
    }'
 
14726
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14727
# Check for a 64-bit object if we didn't find anything.
 
14728
if test -z "$aix_libpath"; then
 
14729
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14730
fi
 
14731
fi
 
14732
rm -f core conftest.err conftest.$ac_objext \
 
14733
    conftest$ac_exeext conftest.$ac_ext
 
14734
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
14735
 
 
14736
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
14737
 
 
14738
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
14739
        else
 
14740
          if test "$host_cpu" = ia64; then
 
14741
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
14742
            allow_undefined_flag_CXX="-z nodefs"
 
14743
            archive_expsym_cmds_CXX="\$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"
 
14744
          else
 
14745
            # Determine the default libpath from the value encoded in an
 
14746
            # empty executable.
 
14747
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14748
/* end confdefs.h.  */
 
14749
 
 
14750
int
 
14751
main ()
 
14752
{
 
14753
 
 
14754
  ;
 
14755
  return 0;
 
14756
}
 
14757
_ACEOF
 
14758
if ac_fn_cxx_try_link "$LINENO"; then :
 
14759
 
 
14760
lt_aix_libpath_sed='
 
14761
    /Import File Strings/,/^$/ {
 
14762
        /^0/ {
 
14763
            s/^0  *\(.*\)$/\1/
 
14764
            p
 
14765
        }
 
14766
    }'
 
14767
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14768
# Check for a 64-bit object if we didn't find anything.
 
14769
if test -z "$aix_libpath"; then
 
14770
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14771
fi
 
14772
fi
 
14773
rm -f core conftest.err conftest.$ac_objext \
 
14774
    conftest$ac_exeext conftest.$ac_ext
 
14775
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
14776
 
 
14777
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
14778
            # Warning - without using the other run time loading flags,
 
14779
            # -berok will link without error, but may produce a broken library.
 
14780
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
14781
            allow_undefined_flag_CXX=' ${wl}-berok'
 
14782
            # Exported symbols can be pulled into shared objects from archives
 
14783
            whole_archive_flag_spec_CXX='$convenience'
 
14784
            archive_cmds_need_lc_CXX=yes
 
14785
            # This is similar to how AIX traditionally builds its shared
 
14786
            # libraries.
 
14787
            archive_expsym_cmds_CXX="\$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'
 
14788
          fi
 
14789
        fi
 
14790
        ;;
 
14791
 
 
14792
      beos*)
 
14793
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
14794
          allow_undefined_flag_CXX=unsupported
 
14795
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
14796
          # support --undefined.  This deserves some investigation.  FIXME
 
14797
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14798
        else
 
14799
          ld_shlibs_CXX=no
 
14800
        fi
 
14801
        ;;
 
14802
 
 
14803
      chorus*)
 
14804
        case $cc_basename in
 
14805
          *)
 
14806
          # FIXME: insert proper C++ library support
 
14807
          ld_shlibs_CXX=no
 
14808
          ;;
 
14809
        esac
 
14810
        ;;
 
14811
 
 
14812
      cygwin* | mingw* | pw32* | cegcc*)
 
14813
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
14814
        # as there is no search path for DLLs.
 
14815
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
14816
        allow_undefined_flag_CXX=unsupported
 
14817
        always_export_symbols_CXX=no
 
14818
        enable_shared_with_static_runtimes_CXX=yes
 
14819
 
 
14820
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
14821
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
14822
          # If the export-symbols file already is a .def file (1st line
 
14823
          # is EXPORTS), use it as is; otherwise, prepend...
 
14824
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
14825
            cp $export_symbols $output_objdir/$soname.def;
 
14826
          else
 
14827
            echo EXPORTS > $output_objdir/$soname.def;
 
14828
            cat $export_symbols >> $output_objdir/$soname.def;
 
14829
          fi~
 
14830
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
14831
        else
 
14832
          ld_shlibs_CXX=no
 
14833
        fi
 
14834
        ;;
 
14835
      darwin* | rhapsody*)
 
14836
 
 
14837
 
 
14838
  archive_cmds_need_lc_CXX=no
 
14839
  hardcode_direct_CXX=no
 
14840
  hardcode_automatic_CXX=yes
 
14841
  hardcode_shlibpath_var_CXX=unsupported
 
14842
  whole_archive_flag_spec_CXX=''
 
14843
  link_all_deplibs_CXX=yes
 
14844
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
14845
  case $cc_basename in
 
14846
     ifort*) _lt_dar_can_shared=yes ;;
 
14847
     *) _lt_dar_can_shared=$GCC ;;
 
14848
  esac
 
14849
  if test "$_lt_dar_can_shared" = "yes"; then
 
14850
    output_verbose_link_cmd=echo
 
14851
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
14852
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
14853
    archive_expsym_cmds_CXX="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}"
 
14854
    module_expsym_cmds_CXX="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}"
 
14855
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
14856
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
14857
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
14858
    fi
 
14859
 
 
14860
  else
 
14861
  ld_shlibs_CXX=no
 
14862
  fi
 
14863
 
 
14864
        ;;
 
14865
 
 
14866
      dgux*)
 
14867
        case $cc_basename in
 
14868
          ec++*)
 
14869
            # FIXME: insert proper C++ library support
 
14870
            ld_shlibs_CXX=no
 
14871
            ;;
 
14872
          ghcx*)
 
14873
            # Green Hills C++ Compiler
 
14874
            # FIXME: insert proper C++ library support
 
14875
            ld_shlibs_CXX=no
 
14876
            ;;
 
14877
          *)
 
14878
            # FIXME: insert proper C++ library support
 
14879
            ld_shlibs_CXX=no
 
14880
            ;;
 
14881
        esac
 
14882
        ;;
 
14883
 
 
14884
      freebsd[12]*)
 
14885
        # C++ shared libraries reported to be fairly broken before
 
14886
        # switch to ELF
 
14887
        ld_shlibs_CXX=no
 
14888
        ;;
 
14889
 
 
14890
      freebsd-elf*)
 
14891
        archive_cmds_need_lc_CXX=no
 
14892
        ;;
 
14893
 
 
14894
      freebsd* | dragonfly*)
 
14895
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
14896
        # conventions
 
14897
        ld_shlibs_CXX=yes
 
14898
        ;;
 
14899
 
 
14900
      gnu*)
 
14901
        ;;
 
14902
 
 
14903
      hpux9*)
 
14904
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
14905
        hardcode_libdir_separator_CXX=:
 
14906
        export_dynamic_flag_spec_CXX='${wl}-E'
 
14907
        hardcode_direct_CXX=yes
 
14908
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
14909
                                             # but as the default
 
14910
                                             # location of the library.
 
14911
 
 
14912
        case $cc_basename in
 
14913
          CC*)
 
14914
            # FIXME: insert proper C++ library support
 
14915
            ld_shlibs_CXX=no
 
14916
            ;;
 
14917
          aCC*)
 
14918
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
14919
            # Commands to make compiler produce verbose output that lists
 
14920
            # what "hidden" libraries, object files and flags are used when
 
14921
            # linking a shared library.
 
14922
            #
 
14923
            # There doesn't appear to be a way to prevent this compiler from
 
14924
            # explicitly linking system object files so we need to strip them
 
14925
            # from the output so that they don't get included in the library
 
14926
            # dependencies.
 
14927
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14928
            ;;
 
14929
          *)
 
14930
            if test "$GXX" = yes; then
 
14931
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
14932
            else
 
14933
              # FIXME: insert proper C++ library support
 
14934
              ld_shlibs_CXX=no
 
14935
            fi
 
14936
            ;;
 
14937
        esac
 
14938
        ;;
 
14939
 
 
14940
      hpux10*|hpux11*)
 
14941
        if test $with_gnu_ld = no; then
 
14942
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
14943
          hardcode_libdir_separator_CXX=:
 
14944
 
 
14945
          case $host_cpu in
 
14946
            hppa*64*|ia64*)
 
14947
              ;;
 
14948
            *)
 
14949
              export_dynamic_flag_spec_CXX='${wl}-E'
 
14950
              ;;
 
14951
          esac
 
14952
        fi
 
14953
        case $host_cpu in
 
14954
          hppa*64*|ia64*)
 
14955
            hardcode_direct_CXX=no
 
14956
            hardcode_shlibpath_var_CXX=no
 
14957
            ;;
 
14958
          *)
 
14959
            hardcode_direct_CXX=yes
 
14960
            hardcode_direct_absolute_CXX=yes
 
14961
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
14962
                                                 # but as the default
 
14963
                                                 # location of the library.
 
14964
            ;;
 
14965
        esac
 
14966
 
 
14967
        case $cc_basename in
 
14968
          CC*)
 
14969
            # FIXME: insert proper C++ library support
 
14970
            ld_shlibs_CXX=no
 
14971
            ;;
 
14972
          aCC*)
 
14973
            case $host_cpu in
 
14974
              hppa*64*)
 
14975
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14976
                ;;
 
14977
              ia64*)
 
14978
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14979
                ;;
 
14980
              *)
 
14981
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14982
                ;;
 
14983
            esac
 
14984
            # Commands to make compiler produce verbose output that lists
 
14985
            # what "hidden" libraries, object files and flags are used when
 
14986
            # linking a shared library.
 
14987
            #
 
14988
            # There doesn't appear to be a way to prevent this compiler from
 
14989
            # explicitly linking system object files so we need to strip them
 
14990
            # from the output so that they don't get included in the library
 
14991
            # dependencies.
 
14992
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14993
            ;;
 
14994
          *)
 
14995
            if test "$GXX" = yes; then
 
14996
              if test $with_gnu_ld = no; then
 
14997
                case $host_cpu in
 
14998
                  hppa*64*)
 
14999
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15000
                    ;;
 
15001
                  ia64*)
 
15002
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15003
                    ;;
 
15004
                  *)
 
15005
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15006
                    ;;
 
15007
                esac
 
15008
              fi
 
15009
            else
 
15010
              # FIXME: insert proper C++ library support
 
15011
              ld_shlibs_CXX=no
 
15012
            fi
 
15013
            ;;
 
15014
        esac
 
15015
        ;;
 
15016
 
 
15017
      interix[3-9]*)
 
15018
        hardcode_direct_CXX=no
 
15019
        hardcode_shlibpath_var_CXX=no
 
15020
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15021
        export_dynamic_flag_spec_CXX='${wl}-E'
 
15022
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
15023
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
15024
        # default) and relocated if they conflict, which is a slow very memory
 
15025
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
15026
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
15027
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
15028
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
15029
        archive_expsym_cmds_CXX='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'
 
15030
        ;;
 
15031
      irix5* | irix6*)
 
15032
        case $cc_basename in
 
15033
          CC*)
 
15034
            # SGI C++
 
15035
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
15036
 
 
15037
            # Archives containing C++ object files must be created using
 
15038
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
15039
            # necessary to make sure instantiated templates are included
 
15040
            # in the archive.
 
15041
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
15042
            ;;
 
15043
          *)
 
15044
            if test "$GXX" = yes; then
 
15045
              if test "$with_gnu_ld" = no; then
 
15046
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
15047
              else
 
15048
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
15049
              fi
 
15050
            fi
 
15051
            link_all_deplibs_CXX=yes
 
15052
            ;;
 
15053
        esac
 
15054
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15055
        hardcode_libdir_separator_CXX=:
 
15056
        inherit_rpath_CXX=yes
 
15057
        ;;
 
15058
 
 
15059
      linux* | k*bsd*-gnu)
 
15060
        case $cc_basename in
 
15061
          KCC*)
 
15062
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15063
 
 
15064
            # KCC will only create a shared library if the output file
 
15065
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15066
            # to its proper name (with version) after linking.
 
15067
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
15068
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
15069
            # Commands to make compiler produce verbose output that lists
 
15070
            # what "hidden" libraries, object files and flags are used when
 
15071
            # linking a shared library.
 
15072
            #
 
15073
            # There doesn't appear to be a way to prevent this compiler from
 
15074
            # explicitly linking system object files so we need to strip them
 
15075
            # from the output so that they don't get included in the library
 
15076
            # dependencies.
 
15077
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
15078
 
 
15079
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15080
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15081
 
 
15082
            # Archives containing C++ object files must be created using
 
15083
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
15084
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
15085
            ;;
 
15086
          icpc* | ecpc* )
 
15087
            # Intel C++
 
15088
            with_gnu_ld=yes
 
15089
            # version 8.0 and above of icpc choke on multiply defined symbols
 
15090
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
15091
            # earlier do not add the objects themselves.
 
15092
            case `$CC -V 2>&1` in
 
15093
              *"Version 7."*)
 
15094
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15095
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15096
                ;;
 
15097
              *)  # Version 8.0 or newer
 
15098
                tmp_idyn=
 
15099
                case $host_cpu in
 
15100
                  ia64*) tmp_idyn=' -i_dynamic';;
 
15101
                esac
 
15102
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15103
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15104
                ;;
 
15105
            esac
 
15106
            archive_cmds_need_lc_CXX=no
 
15107
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15108
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15109
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
15110
            ;;
 
15111
          pgCC* | pgcpp*)
 
15112
            # Portland Group C++ compiler
 
15113
            case `$CC -V` in
 
15114
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
15115
              prelink_cmds_CXX='tpldir=Template.dir~
 
15116
                rm -rf $tpldir~
 
15117
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
15118
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
15119
              old_archive_cmds_CXX='tpldir=Template.dir~
 
15120
                rm -rf $tpldir~
 
15121
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
15122
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
15123
                $RANLIB $oldlib'
 
15124
              archive_cmds_CXX='tpldir=Template.dir~
 
15125
                rm -rf $tpldir~
 
15126
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15127
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15128
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
15129
                rm -rf $tpldir~
 
15130
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15131
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
15132
              ;;
 
15133
            *) # Version 6 will use weak symbols
 
15134
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15135
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
15136
              ;;
 
15137
            esac
 
15138
 
 
15139
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
15140
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15141
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
15142
            ;;
 
15143
          cxx*)
 
15144
            # Compaq C++
 
15145
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15146
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
15147
 
 
15148
            runpath_var=LD_RUN_PATH
 
15149
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15150
            hardcode_libdir_separator_CXX=:
 
15151
 
 
15152
            # Commands to make compiler produce verbose output that lists
 
15153
            # what "hidden" libraries, object files and flags are used when
 
15154
            # linking a shared library.
 
15155
            #
 
15156
            # There doesn't appear to be a way to prevent this compiler from
 
15157
            # explicitly linking system object files so we need to strip them
 
15158
            # from the output so that they don't get included in the library
 
15159
            # dependencies.
 
15160
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
15161
            ;;
 
15162
          xl*)
 
15163
            # IBM XL 8.0 on PPC, with GNU ld
 
15164
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15165
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15166
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15167
            if test "x$supports_anon_versioning" = xyes; then
 
15168
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
15169
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15170
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
15171
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15172
            fi
 
15173
            ;;
 
15174
          *)
 
15175
            case `$CC -V 2>&1 | sed 5q` in
 
15176
            *Sun\ C*)
 
15177
              # Sun C++ 5.9
 
15178
              no_undefined_flag_CXX=' -zdefs'
 
15179
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15180
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
15181
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15182
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
15183
              compiler_needs_object_CXX=yes
 
15184
 
 
15185
              # Not sure whether something based on
 
15186
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
15187
              # would be better.
 
15188
              output_verbose_link_cmd='echo'
 
15189
 
 
15190
              # Archives containing C++ object files must be created using
 
15191
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15192
              # necessary to make sure instantiated templates are included
 
15193
              # in the archive.
 
15194
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15195
              ;;
 
15196
            esac
 
15197
            ;;
 
15198
        esac
 
15199
        ;;
 
15200
 
 
15201
      lynxos*)
 
15202
        # FIXME: insert proper C++ library support
 
15203
        ld_shlibs_CXX=no
 
15204
        ;;
 
15205
 
 
15206
      m88k*)
 
15207
        # FIXME: insert proper C++ library support
 
15208
        ld_shlibs_CXX=no
 
15209
        ;;
 
15210
 
 
15211
      mvs*)
 
15212
        case $cc_basename in
 
15213
          cxx*)
 
15214
            # FIXME: insert proper C++ library support
 
15215
            ld_shlibs_CXX=no
 
15216
            ;;
 
15217
          *)
 
15218
            # FIXME: insert proper C++ library support
 
15219
            ld_shlibs_CXX=no
 
15220
            ;;
 
15221
        esac
 
15222
        ;;
 
15223
 
 
15224
      netbsd*)
 
15225
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
15226
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
15227
          wlarc=
 
15228
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15229
          hardcode_direct_CXX=yes
 
15230
          hardcode_shlibpath_var_CXX=no
 
15231
        fi
 
15232
        # Workaround some broken pre-1.5 toolchains
 
15233
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
15234
        ;;
 
15235
 
 
15236
      *nto* | *qnx*)
 
15237
        ld_shlibs_CXX=yes
 
15238
        ;;
 
15239
 
 
15240
      openbsd2*)
 
15241
        # C++ shared libraries are fairly broken
 
15242
        ld_shlibs_CXX=no
 
15243
        ;;
 
15244
 
 
15245
      openbsd*)
 
15246
        if test -f /usr/libexec/ld.so; then
 
15247
          hardcode_direct_CXX=yes
 
15248
          hardcode_shlibpath_var_CXX=no
 
15249
          hardcode_direct_absolute_CXX=yes
 
15250
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
15251
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15252
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15253
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
15254
            export_dynamic_flag_spec_CXX='${wl}-E'
 
15255
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15256
          fi
 
15257
          output_verbose_link_cmd=echo
 
15258
        else
 
15259
          ld_shlibs_CXX=no
 
15260
        fi
 
15261
        ;;
 
15262
 
 
15263
      osf3* | osf4* | osf5*)
 
15264
        case $cc_basename in
 
15265
          KCC*)
 
15266
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15267
 
 
15268
            # KCC will only create a shared library if the output file
 
15269
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15270
            # to its proper name (with version) after linking.
 
15271
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
15272
 
 
15273
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15274
            hardcode_libdir_separator_CXX=:
 
15275
 
 
15276
            # Archives containing C++ object files must be created using
 
15277
            # the KAI C++ compiler.
 
15278
            case $host in
 
15279
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
15280
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
15281
            esac
 
15282
            ;;
 
15283
          RCC*)
 
15284
            # Rational C++ 2.4.1
 
15285
            # FIXME: insert proper C++ library support
 
15286
            ld_shlibs_CXX=no
 
15287
            ;;
 
15288
          cxx*)
 
15289
            case $host in
 
15290
              osf3*)
 
15291
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15292
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
15293
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15294
                ;;
 
15295
              *)
 
15296
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
15297
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
15298
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
15299
                  echo "-hidden">> $lib.exp~
 
15300
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
15301
                  $RM $lib.exp'
 
15302
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15303
                ;;
 
15304
            esac
 
15305
 
 
15306
            hardcode_libdir_separator_CXX=:
 
15307
 
 
15308
            # Commands to make compiler produce verbose output that lists
 
15309
            # what "hidden" libraries, object files and flags are used when
 
15310
            # linking a shared library.
 
15311
            #
 
15312
            # There doesn't appear to be a way to prevent this compiler from
 
15313
            # explicitly linking system object files so we need to strip them
 
15314
            # from the output so that they don't get included in the library
 
15315
            # dependencies.
 
15316
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
15317
            ;;
 
15318
          *)
 
15319
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15320
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15321
              case $host in
 
15322
                osf3*)
 
15323
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
15324
                  ;;
 
15325
                *)
 
15326
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
15327
                  ;;
 
15328
              esac
 
15329
 
 
15330
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15331
              hardcode_libdir_separator_CXX=:
 
15332
 
 
15333
              # Commands to make compiler produce verbose output that lists
 
15334
              # what "hidden" libraries, object files and flags are used when
 
15335
              # linking a shared library.
 
15336
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15337
 
 
15338
            else
 
15339
              # FIXME: insert proper C++ library support
 
15340
              ld_shlibs_CXX=no
 
15341
            fi
 
15342
            ;;
 
15343
        esac
 
15344
        ;;
 
15345
 
 
15346
      psos*)
 
15347
        # FIXME: insert proper C++ library support
 
15348
        ld_shlibs_CXX=no
 
15349
        ;;
 
15350
 
 
15351
      sunos4*)
 
15352
        case $cc_basename in
 
15353
          CC*)
 
15354
            # Sun C++ 4.x
 
15355
            # FIXME: insert proper C++ library support
 
15356
            ld_shlibs_CXX=no
 
15357
            ;;
 
15358
          lcc*)
 
15359
            # Lucid
 
15360
            # FIXME: insert proper C++ library support
 
15361
            ld_shlibs_CXX=no
 
15362
            ;;
 
15363
          *)
 
15364
            # FIXME: insert proper C++ library support
 
15365
            ld_shlibs_CXX=no
 
15366
            ;;
 
15367
        esac
 
15368
        ;;
 
15369
 
 
15370
      solaris*)
 
15371
        case $cc_basename in
 
15372
          CC*)
 
15373
            # Sun C++ 4.2, 5.x and Centerline C++
 
15374
            archive_cmds_need_lc_CXX=yes
 
15375
            no_undefined_flag_CXX=' -zdefs'
 
15376
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15377
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15378
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15379
 
 
15380
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15381
            hardcode_shlibpath_var_CXX=no
 
15382
            case $host_os in
 
15383
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15384
              *)
 
15385
                # The compiler driver will combine and reorder linker options,
 
15386
                # but understands `-z linker_flag'.
 
15387
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15388
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
15389
                ;;
 
15390
            esac
 
15391
            link_all_deplibs_CXX=yes
 
15392
 
 
15393
            output_verbose_link_cmd='echo'
 
15394
 
 
15395
            # Archives containing C++ object files must be created using
 
15396
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15397
            # necessary to make sure instantiated templates are included
 
15398
            # in the archive.
 
15399
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15400
            ;;
 
15401
          gcx*)
 
15402
            # Green Hills C++ Compiler
 
15403
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15404
 
 
15405
            # The C++ compiler must be used to create the archive.
 
15406
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
15407
            ;;
 
15408
          *)
 
15409
            # GNU C++ compiler with Solaris linker
 
15410
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15411
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
15412
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
15413
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15414
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15415
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15416
 
 
15417
                # Commands to make compiler produce verbose output that lists
 
15418
                # what "hidden" libraries, object files and flags are used when
 
15419
                # linking a shared library.
 
15420
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15421
              else
 
15422
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
15423
                # platform.
 
15424
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15425
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15426
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15427
 
 
15428
                # Commands to make compiler produce verbose output that lists
 
15429
                # what "hidden" libraries, object files and flags are used when
 
15430
                # linking a shared library.
 
15431
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15432
              fi
 
15433
 
 
15434
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
15435
              case $host_os in
 
15436
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15437
                *)
 
15438
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15439
                  ;;
 
15440
              esac
 
15441
            fi
 
15442
            ;;
 
15443
        esac
 
15444
        ;;
 
15445
 
 
15446
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
15447
      no_undefined_flag_CXX='${wl}-z,text'
 
15448
      archive_cmds_need_lc_CXX=no
 
15449
      hardcode_shlibpath_var_CXX=no
 
15450
      runpath_var='LD_RUN_PATH'
 
15451
 
 
15452
      case $cc_basename in
 
15453
        CC*)
 
15454
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15455
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15456
          ;;
 
15457
        *)
 
15458
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15459
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15460
          ;;
 
15461
      esac
 
15462
      ;;
 
15463
 
 
15464
      sysv5* | sco3.2v5* | sco5v6*)
 
15465
        # Note: We can NOT use -z defs as we might desire, because we do not
 
15466
        # link with -lc, and that would cause any symbols used from libc to
 
15467
        # always be unresolved, which means just about no library would
 
15468
        # ever link correctly.  If we're not using GNU ld we use -z text
 
15469
        # though, which does catch some bad symbols but isn't as heavy-handed
 
15470
        # as -z defs.
 
15471
        no_undefined_flag_CXX='${wl}-z,text'
 
15472
        allow_undefined_flag_CXX='${wl}-z,nodefs'
 
15473
        archive_cmds_need_lc_CXX=no
 
15474
        hardcode_shlibpath_var_CXX=no
 
15475
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
15476
        hardcode_libdir_separator_CXX=':'
 
15477
        link_all_deplibs_CXX=yes
 
15478
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
15479
        runpath_var='LD_RUN_PATH'
 
15480
 
 
15481
        case $cc_basename in
 
15482
          CC*)
 
15483
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15484
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15485
            ;;
 
15486
          *)
 
15487
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15488
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15489
            ;;
 
15490
        esac
 
15491
      ;;
 
15492
 
 
15493
      tandem*)
 
15494
        case $cc_basename in
 
15495
          NCC*)
 
15496
            # NonStop-UX NCC 3.20
 
15497
            # FIXME: insert proper C++ library support
 
15498
            ld_shlibs_CXX=no
 
15499
            ;;
 
15500
          *)
 
15501
            # FIXME: insert proper C++ library support
 
15502
            ld_shlibs_CXX=no
 
15503
            ;;
 
15504
        esac
 
15505
        ;;
 
15506
 
 
15507
      vxworks*)
 
15508
        # FIXME: insert proper C++ library support
 
15509
        ld_shlibs_CXX=no
 
15510
        ;;
 
15511
 
 
15512
      *)
 
15513
        # FIXME: insert proper C++ library support
 
15514
        ld_shlibs_CXX=no
 
15515
        ;;
 
15516
    esac
 
15517
 
 
15518
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
15519
$as_echo "$ld_shlibs_CXX" >&6; }
 
15520
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
15521
 
 
15522
    GCC_CXX="$GXX"
 
15523
    LD_CXX="$LD"
 
15524
 
 
15525
    ## CAVEAT EMPTOR:
 
15526
    ## There is no encapsulation within the following macros, do not change
 
15527
    ## the running order or otherwise move them around unless you know exactly
 
15528
    ## what you are doing...
 
15529
    # Dependencies to place before and after the object being linked:
 
15530
predep_objects_CXX=
 
15531
postdep_objects_CXX=
 
15532
predeps_CXX=
 
15533
postdeps_CXX=
 
15534
compiler_lib_search_path_CXX=
 
15535
 
 
15536
cat > conftest.$ac_ext <<_LT_EOF
 
15537
class Foo
 
15538
{
 
15539
public:
 
15540
  Foo (void) { a = 0; }
 
15541
private:
 
15542
  int a;
 
15543
};
 
15544
_LT_EOF
 
15545
 
 
15546
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
15547
  (eval $ac_compile) 2>&5
 
15548
  ac_status=$?
 
15549
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15550
  test $ac_status = 0; }; then
 
15551
  # Parse the compiler output and extract the necessary
 
15552
  # objects, libraries and library flags.
 
15553
 
 
15554
  # Sentinel used to keep track of whether or not we are before
 
15555
  # the conftest object file.
 
15556
  pre_test_object_deps_done=no
 
15557
 
 
15558
  for p in `eval "$output_verbose_link_cmd"`; do
 
15559
    case $p in
 
15560
 
 
15561
    -L* | -R* | -l*)
 
15562
       # Some compilers place space between "-{L,R}" and the path.
 
15563
       # Remove the space.
 
15564
       if test $p = "-L" ||
 
15565
          test $p = "-R"; then
 
15566
         prev=$p
 
15567
         continue
 
15568
       else
 
15569
         prev=
 
15570
       fi
 
15571
 
 
15572
       if test "$pre_test_object_deps_done" = no; then
 
15573
         case $p in
 
15574
         -L* | -R*)
 
15575
           # Internal compiler library paths should come after those
 
15576
           # provided the user.  The postdeps already come after the
 
15577
           # user supplied libs so there is no need to process them.
 
15578
           if test -z "$compiler_lib_search_path_CXX"; then
 
15579
             compiler_lib_search_path_CXX="${prev}${p}"
 
15580
           else
 
15581
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
15582
           fi
 
15583
           ;;
 
15584
         # The "-l" case would never come before the object being
 
15585
         # linked, so don't bother handling this case.
 
15586
         esac
 
15587
       else
 
15588
         if test -z "$postdeps_CXX"; then
 
15589
           postdeps_CXX="${prev}${p}"
 
15590
         else
 
15591
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
15592
         fi
 
15593
       fi
 
15594
       ;;
 
15595
 
 
15596
    *.$objext)
 
15597
       # This assumes that the test object file only shows up
 
15598
       # once in the compiler output.
 
15599
       if test "$p" = "conftest.$objext"; then
 
15600
         pre_test_object_deps_done=yes
 
15601
         continue
 
15602
       fi
 
15603
 
 
15604
       if test "$pre_test_object_deps_done" = no; then
 
15605
         if test -z "$predep_objects_CXX"; then
 
15606
           predep_objects_CXX="$p"
 
15607
         else
 
15608
           predep_objects_CXX="$predep_objects_CXX $p"
 
15609
         fi
 
15610
       else
 
15611
         if test -z "$postdep_objects_CXX"; then
 
15612
           postdep_objects_CXX="$p"
 
15613
         else
 
15614
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
15615
         fi
 
15616
       fi
 
15617
       ;;
 
15618
 
 
15619
    *) ;; # Ignore the rest.
 
15620
 
 
15621
    esac
 
15622
  done
 
15623
 
 
15624
  # Clean up.
 
15625
  rm -f a.out a.exe
 
15626
else
 
15627
  echo "libtool.m4: error: problem compiling CXX test program"
 
15628
fi
 
15629
 
 
15630
$RM -f confest.$objext
 
15631
 
 
15632
# PORTME: override above test on systems where it is broken
 
15633
case $host_os in
 
15634
interix[3-9]*)
 
15635
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
15636
  # hack all around it, let's just trust "g++" to DTRT.
 
15637
  predep_objects_CXX=
 
15638
  postdep_objects_CXX=
 
15639
  postdeps_CXX=
 
15640
  ;;
 
15641
 
 
15642
linux*)
 
15643
  case `$CC -V 2>&1 | sed 5q` in
 
15644
  *Sun\ C*)
 
15645
    # Sun C++ 5.9
 
15646
 
 
15647
    # The more standards-conforming stlport4 library is
 
15648
    # incompatible with the Cstd library. Avoid specifying
 
15649
    # it if it's in CXXFLAGS. Ignore libCrun as
 
15650
    # -library=stlport4 depends on it.
 
15651
    case " $CXX $CXXFLAGS " in
 
15652
    *" -library=stlport4 "*)
 
15653
      solaris_use_stlport4=yes
 
15654
      ;;
 
15655
    esac
 
15656
 
 
15657
    if test "$solaris_use_stlport4" != yes; then
 
15658
      postdeps_CXX='-library=Cstd -library=Crun'
 
15659
    fi
 
15660
    ;;
 
15661
  esac
 
15662
  ;;
 
15663
 
 
15664
solaris*)
 
15665
  case $cc_basename in
 
15666
  CC*)
 
15667
    # The more standards-conforming stlport4 library is
 
15668
    # incompatible with the Cstd library. Avoid specifying
 
15669
    # it if it's in CXXFLAGS. Ignore libCrun as
 
15670
    # -library=stlport4 depends on it.
 
15671
    case " $CXX $CXXFLAGS " in
 
15672
    *" -library=stlport4 "*)
 
15673
      solaris_use_stlport4=yes
 
15674
      ;;
 
15675
    esac
 
15676
 
 
15677
    # Adding this requires a known-good setup of shared libraries for
 
15678
    # Sun compiler versions before 5.6, else PIC objects from an old
 
15679
    # archive will be linked into the output, leading to subtle bugs.
 
15680
    if test "$solaris_use_stlport4" != yes; then
 
15681
      postdeps_CXX='-library=Cstd -library=Crun'
 
15682
    fi
 
15683
    ;;
 
15684
  esac
 
15685
  ;;
 
15686
esac
 
15687
 
 
15688
 
 
15689
case " $postdeps_CXX " in
 
15690
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
15691
esac
 
15692
 compiler_lib_search_dirs_CXX=
 
15693
if test -n "${compiler_lib_search_path_CXX}"; then
 
15694
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
15695
fi
 
15696
 
 
15697
 
 
15698
 
 
15699
 
 
15700
 
 
15701
 
 
15702
 
 
15703
 
 
15704
 
 
15705
 
 
15706
 
 
15707
 
 
15708
 
 
15709
 
 
15710
 
 
15711
 
 
15712
 
 
15713
 
 
15714
 
 
15715
 
 
15716
 
 
15717
 
 
15718
 
 
15719
 
 
15720
 
 
15721
 
 
15722
 
 
15723
 
 
15724
 
 
15725
 
 
15726
 
 
15727
    lt_prog_compiler_wl_CXX=
 
15728
lt_prog_compiler_pic_CXX=
 
15729
lt_prog_compiler_static_CXX=
 
15730
 
 
15731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
15732
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
15733
 
 
15734
  # C++ specific cases for pic, static, wl, etc.
 
15735
  if test "$GXX" = yes; then
 
15736
    lt_prog_compiler_wl_CXX='-Wl,'
 
15737
    lt_prog_compiler_static_CXX='-static'
 
15738
 
 
15739
    case $host_os in
 
15740
    aix*)
 
15741
      # All AIX code is PIC.
 
15742
      if test "$host_cpu" = ia64; then
 
15743
        # AIX 5 now supports IA64 processor
 
15744
        lt_prog_compiler_static_CXX='-Bstatic'
 
15745
      fi
 
15746
      ;;
 
15747
 
 
15748
    amigaos*)
 
15749
      case $host_cpu in
 
15750
      powerpc)
 
15751
            # see comment about AmigaOS4 .so support
 
15752
            lt_prog_compiler_pic_CXX='-fPIC'
 
15753
        ;;
 
15754
      m68k)
 
15755
            # FIXME: we need at least 68020 code to build shared libraries, but
 
15756
            # adding the `-m68020' flag to GCC prevents building anything better,
 
15757
            # like `-m68040'.
 
15758
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
15759
        ;;
 
15760
      esac
 
15761
      ;;
 
15762
 
 
15763
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15764
      # PIC is the default for these OSes.
 
15765
      ;;
 
15766
    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
15767
      # This hack is so that the source file can tell whether it is being
 
15768
      # built for inclusion in a dll (and should export symbols for example).
 
15769
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
15770
      # (--disable-auto-import) libraries
 
15771
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
15772
      ;;
 
15773
    darwin* | rhapsody*)
 
15774
      # PIC is the default on this platform
 
15775
      # Common symbols not allowed in MH_DYLIB files
 
15776
      lt_prog_compiler_pic_CXX='-fno-common'
 
15777
      ;;
 
15778
    *djgpp*)
 
15779
      # DJGPP does not support shared libraries at all
 
15780
      lt_prog_compiler_pic_CXX=
 
15781
      ;;
 
15782
    interix[3-9]*)
 
15783
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
15784
      # Instead, we relocate shared libraries at runtime.
 
15785
      ;;
 
15786
    sysv4*MP*)
 
15787
      if test -d /usr/nec; then
 
15788
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
15789
      fi
 
15790
      ;;
 
15791
    hpux*)
 
15792
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
15793
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
15794
      # sets the default TLS model and affects inlining.
 
15795
      case $host_cpu in
 
15796
      hppa*64*)
 
15797
        ;;
 
15798
      *)
 
15799
        lt_prog_compiler_pic_CXX='-fPIC'
 
15800
        ;;
 
15801
      esac
 
15802
      ;;
 
15803
    *qnx* | *nto*)
 
15804
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
15805
      # it will coredump.
 
15806
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
15807
      ;;
 
15808
    *)
 
15809
      lt_prog_compiler_pic_CXX='-fPIC'
 
15810
      ;;
 
15811
    esac
 
15812
  else
 
15813
    case $host_os in
 
15814
      aix[4-9]*)
 
15815
        # All AIX code is PIC.
 
15816
        if test "$host_cpu" = ia64; then
 
15817
          # AIX 5 now supports IA64 processor
 
15818
          lt_prog_compiler_static_CXX='-Bstatic'
 
15819
        else
 
15820
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
15821
        fi
 
15822
        ;;
 
15823
      chorus*)
 
15824
        case $cc_basename in
 
15825
        cxch68*)
 
15826
          # Green Hills C++ Compiler
 
15827
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
15828
          ;;
 
15829
        esac
 
15830
        ;;
 
15831
      dgux*)
 
15832
        case $cc_basename in
 
15833
          ec++*)
 
15834
            lt_prog_compiler_pic_CXX='-KPIC'
 
15835
            ;;
 
15836
          ghcx*)
 
15837
            # Green Hills C++ Compiler
 
15838
            lt_prog_compiler_pic_CXX='-pic'
 
15839
            ;;
 
15840
          *)
 
15841
            ;;
 
15842
        esac
 
15843
        ;;
 
15844
      freebsd* | dragonfly*)
 
15845
        # FreeBSD uses GNU C++
 
15846
        ;;
 
15847
      hpux9* | hpux10* | hpux11*)
 
15848
        case $cc_basename in
 
15849
          CC*)
 
15850
            lt_prog_compiler_wl_CXX='-Wl,'
 
15851
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
15852
            if test "$host_cpu" != ia64; then
 
15853
              lt_prog_compiler_pic_CXX='+Z'
 
15854
            fi
 
15855
            ;;
 
15856
          aCC*)
 
15857
            lt_prog_compiler_wl_CXX='-Wl,'
 
15858
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
15859
            case $host_cpu in
 
15860
            hppa*64*|ia64*)
 
15861
              # +Z the default
 
15862
              ;;
 
15863
            *)
 
15864
              lt_prog_compiler_pic_CXX='+Z'
 
15865
              ;;
 
15866
            esac
 
15867
            ;;
 
15868
          *)
 
15869
            ;;
 
15870
        esac
 
15871
        ;;
 
15872
      interix*)
 
15873
        # This is c89, which is MS Visual C++ (no shared libs)
 
15874
        # Anyone wants to do a port?
 
15875
        ;;
 
15876
      irix5* | irix6* | nonstopux*)
 
15877
        case $cc_basename in
 
15878
          CC*)
 
15879
            lt_prog_compiler_wl_CXX='-Wl,'
 
15880
            lt_prog_compiler_static_CXX='-non_shared'
 
15881
            # CC pic flag -KPIC is the default.
 
15882
            ;;
 
15883
          *)
 
15884
            ;;
 
15885
        esac
 
15886
        ;;
 
15887
      linux* | k*bsd*-gnu)
 
15888
        case $cc_basename in
 
15889
          KCC*)
 
15890
            # KAI C++ Compiler
 
15891
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
15892
            lt_prog_compiler_pic_CXX='-fPIC'
 
15893
            ;;
 
15894
          ecpc* )
 
15895
            # old Intel C++ for x86_64 which still supported -KPIC.
 
15896
            lt_prog_compiler_wl_CXX='-Wl,'
 
15897
            lt_prog_compiler_pic_CXX='-KPIC'
 
15898
            lt_prog_compiler_static_CXX='-static'
 
15899
            ;;
 
15900
          icpc* )
 
15901
            # Intel C++, used to be incompatible with GCC.
 
15902
            # ICC 10 doesn't accept -KPIC any more.
 
15903
            lt_prog_compiler_wl_CXX='-Wl,'
 
15904
            lt_prog_compiler_pic_CXX='-fPIC'
 
15905
            lt_prog_compiler_static_CXX='-static'
 
15906
            ;;
 
15907
          pgCC* | pgcpp*)
 
15908
            # Portland Group C++ compiler
 
15909
            lt_prog_compiler_wl_CXX='-Wl,'
 
15910
            lt_prog_compiler_pic_CXX='-fpic'
 
15911
            lt_prog_compiler_static_CXX='-Bstatic'
 
15912
            ;;
 
15913
          cxx*)
 
15914
            # Compaq C++
 
15915
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
15916
            # Linux and Compaq Tru64 Unix objects are PIC.
 
15917
            lt_prog_compiler_pic_CXX=
 
15918
            lt_prog_compiler_static_CXX='-non_shared'
 
15919
            ;;
 
15920
          xlc* | xlC*)
 
15921
            # IBM XL 8.0 on PPC
 
15922
            lt_prog_compiler_wl_CXX='-Wl,'
 
15923
            lt_prog_compiler_pic_CXX='-qpic'
 
15924
            lt_prog_compiler_static_CXX='-qstaticlink'
 
15925
            ;;
 
15926
          *)
 
15927
            case `$CC -V 2>&1 | sed 5q` in
 
15928
            *Sun\ C*)
 
15929
              # Sun C++ 5.9
 
15930
              lt_prog_compiler_pic_CXX='-KPIC'
 
15931
              lt_prog_compiler_static_CXX='-Bstatic'
 
15932
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
15933
              ;;
 
15934
            esac
 
15935
            ;;
 
15936
        esac
 
15937
        ;;
 
15938
      lynxos*)
 
15939
        ;;
 
15940
      m88k*)
 
15941
        ;;
 
15942
      mvs*)
 
15943
        case $cc_basename in
 
15944
          cxx*)
 
15945
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
15946
            ;;
 
15947
          *)
 
15948
            ;;
 
15949
        esac
 
15950
        ;;
 
15951
      netbsd*)
 
15952
        ;;
 
15953
      *qnx* | *nto*)
 
15954
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
15955
        # it will coredump.
 
15956
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
15957
        ;;
 
15958
      osf3* | osf4* | osf5*)
 
15959
        case $cc_basename in
 
15960
          KCC*)
 
15961
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
15962
            ;;
 
15963
          RCC*)
 
15964
            # Rational C++ 2.4.1
 
15965
            lt_prog_compiler_pic_CXX='-pic'
 
15966
            ;;
 
15967
          cxx*)
 
15968
            # Digital/Compaq C++
 
15969
            lt_prog_compiler_wl_CXX='-Wl,'
 
15970
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
15971
            # Linux and Compaq Tru64 Unix objects are PIC.
 
15972
            lt_prog_compiler_pic_CXX=
 
15973
            lt_prog_compiler_static_CXX='-non_shared'
 
15974
            ;;
 
15975
          *)
 
15976
            ;;
 
15977
        esac
 
15978
        ;;
 
15979
      psos*)
 
15980
        ;;
 
15981
      solaris*)
 
15982
        case $cc_basename in
 
15983
          CC*)
 
15984
            # Sun C++ 4.2, 5.x and Centerline C++
 
15985
            lt_prog_compiler_pic_CXX='-KPIC'
 
15986
            lt_prog_compiler_static_CXX='-Bstatic'
 
15987
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
15988
            ;;
 
15989
          gcx*)
 
15990
            # Green Hills C++ Compiler
 
15991
            lt_prog_compiler_pic_CXX='-PIC'
 
15992
            ;;
 
15993
          *)
 
15994
            ;;
 
15995
        esac
 
15996
        ;;
 
15997
      sunos4*)
 
15998
        case $cc_basename in
 
15999
          CC*)
 
16000
            # Sun C++ 4.x
 
16001
            lt_prog_compiler_pic_CXX='-pic'
 
16002
            lt_prog_compiler_static_CXX='-Bstatic'
 
16003
            ;;
 
16004
          lcc*)
 
16005
            # Lucid
 
16006
            lt_prog_compiler_pic_CXX='-pic'
 
16007
            ;;
 
16008
          *)
 
16009
            ;;
 
16010
        esac
 
16011
        ;;
 
16012
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16013
        case $cc_basename in
 
16014
          CC*)
 
16015
            lt_prog_compiler_wl_CXX='-Wl,'
 
16016
            lt_prog_compiler_pic_CXX='-KPIC'
 
16017
            lt_prog_compiler_static_CXX='-Bstatic'
 
16018
            ;;
 
16019
        esac
 
16020
        ;;
 
16021
      tandem*)
 
16022
        case $cc_basename in
 
16023
          NCC*)
 
16024
            # NonStop-UX NCC 3.20
 
16025
            lt_prog_compiler_pic_CXX='-KPIC'
 
16026
            ;;
 
16027
          *)
 
16028
            ;;
 
16029
        esac
 
16030
        ;;
 
16031
      vxworks*)
 
16032
        ;;
 
16033
      *)
 
16034
        lt_prog_compiler_can_build_shared_CXX=no
 
16035
        ;;
 
16036
    esac
 
16037
  fi
 
16038
 
 
16039
case $host_os in
 
16040
  # For platforms which do not support PIC, -DPIC is meaningless:
 
16041
  *djgpp*)
 
16042
    lt_prog_compiler_pic_CXX=
 
16043
    ;;
 
16044
  *)
 
16045
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
16046
    ;;
 
16047
esac
 
16048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
16049
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
16050
 
 
16051
 
 
16052
 
 
16053
#
 
16054
# Check to make sure the PIC flag actually works.
 
16055
#
 
16056
if test -n "$lt_prog_compiler_pic_CXX"; then
 
16057
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
16058
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
16059
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
16060
  $as_echo_n "(cached) " >&6
 
16061
else
 
16062
  lt_cv_prog_compiler_pic_works_CXX=no
 
16063
   ac_outfile=conftest.$ac_objext
 
16064
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16065
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
16066
   # Insert the option either (1) after the last *FLAGS variable, or
 
16067
   # (2) before a word containing "conftest.", or (3) at the end.
 
16068
   # Note that $ac_compile itself does not contain backslashes and begins
 
16069
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16070
   # The option is referenced via a variable to avoid confusing sed.
 
16071
   lt_compile=`echo "$ac_compile" | $SED \
 
16072
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16073
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16074
   -e 's:$: $lt_compiler_flag:'`
 
16075
   (eval echo "\"\$as_me:16075: $lt_compile\"" >&5)
 
16076
   (eval "$lt_compile" 2>conftest.err)
 
16077
   ac_status=$?
 
16078
   cat conftest.err >&5
 
16079
   echo "$as_me:16079: \$? = $ac_status" >&5
 
16080
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
16081
     # The compiler can only warn and ignore the option if not recognized
 
16082
     # So say no if there are warnings other than the usual output.
 
16083
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16084
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16085
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
16086
       lt_cv_prog_compiler_pic_works_CXX=yes
 
16087
     fi
 
16088
   fi
 
16089
   $RM conftest*
 
16090
 
 
16091
fi
 
16092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
16093
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
16094
 
 
16095
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
16096
    case $lt_prog_compiler_pic_CXX in
 
16097
     "" | " "*) ;;
 
16098
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
16099
     esac
 
16100
else
 
16101
    lt_prog_compiler_pic_CXX=
 
16102
     lt_prog_compiler_can_build_shared_CXX=no
 
16103
fi
 
16104
 
 
16105
fi
 
16106
 
 
16107
 
 
16108
 
 
16109
#
 
16110
# Check to make sure the static flag actually works.
 
16111
#
 
16112
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
16113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16114
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
16115
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
16116
  $as_echo_n "(cached) " >&6
 
16117
else
 
16118
  lt_cv_prog_compiler_static_works_CXX=no
 
16119
   save_LDFLAGS="$LDFLAGS"
 
16120
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
16121
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
16122
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
16123
     # The linker can only warn and ignore the option if not recognized
 
16124
     # So say no if there are warnings
 
16125
     if test -s conftest.err; then
 
16126
       # Append any errors to the config.log.
 
16127
       cat conftest.err 1>&5
 
16128
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16129
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16130
       if diff conftest.exp conftest.er2 >/dev/null; then
 
16131
         lt_cv_prog_compiler_static_works_CXX=yes
 
16132
       fi
 
16133
     else
 
16134
       lt_cv_prog_compiler_static_works_CXX=yes
 
16135
     fi
 
16136
   fi
 
16137
   $RM -r conftest*
 
16138
   LDFLAGS="$save_LDFLAGS"
 
16139
 
 
16140
fi
 
16141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
16142
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
16143
 
 
16144
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
16145
    :
 
16146
else
 
16147
    lt_prog_compiler_static_CXX=
 
16148
fi
 
16149
 
 
16150
 
 
16151
 
 
16152
 
 
16153
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16154
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16155
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
16156
  $as_echo_n "(cached) " >&6
 
16157
else
 
16158
  lt_cv_prog_compiler_c_o_CXX=no
 
16159
   $RM -r conftest 2>/dev/null
 
16160
   mkdir conftest
 
16161
   cd conftest
 
16162
   mkdir out
 
16163
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16164
 
 
16165
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16166
   # Insert the option either (1) after the last *FLAGS variable, or
 
16167
   # (2) before a word containing "conftest.", or (3) at the end.
 
16168
   # Note that $ac_compile itself does not contain backslashes and begins
 
16169
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16170
   lt_compile=`echo "$ac_compile" | $SED \
 
16171
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16172
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16173
   -e 's:$: $lt_compiler_flag:'`
 
16174
   (eval echo "\"\$as_me:16174: $lt_compile\"" >&5)
 
16175
   (eval "$lt_compile" 2>out/conftest.err)
 
16176
   ac_status=$?
 
16177
   cat out/conftest.err >&5
 
16178
   echo "$as_me:16178: \$? = $ac_status" >&5
 
16179
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16180
   then
 
16181
     # The compiler can only warn and ignore the option if not recognized
 
16182
     # So say no if there are warnings
 
16183
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16184
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16185
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16186
       lt_cv_prog_compiler_c_o_CXX=yes
 
16187
     fi
 
16188
   fi
 
16189
   chmod u+w . 2>&5
 
16190
   $RM conftest*
 
16191
   # SGI C++ compiler will create directory out/ii_files/ for
 
16192
   # template instantiation
 
16193
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16194
   $RM out/* && rmdir out
 
16195
   cd ..
 
16196
   $RM -r conftest
 
16197
   $RM conftest*
 
16198
 
 
16199
fi
 
16200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16201
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16202
 
 
16203
 
 
16204
 
 
16205
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16206
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16207
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
16208
  $as_echo_n "(cached) " >&6
 
16209
else
 
16210
  lt_cv_prog_compiler_c_o_CXX=no
 
16211
   $RM -r conftest 2>/dev/null
 
16212
   mkdir conftest
 
16213
   cd conftest
 
16214
   mkdir out
 
16215
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16216
 
 
16217
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16218
   # Insert the option either (1) after the last *FLAGS variable, or
 
16219
   # (2) before a word containing "conftest.", or (3) at the end.
 
16220
   # Note that $ac_compile itself does not contain backslashes and begins
 
16221
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16222
   lt_compile=`echo "$ac_compile" | $SED \
 
16223
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16224
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16225
   -e 's:$: $lt_compiler_flag:'`
 
16226
   (eval echo "\"\$as_me:16226: $lt_compile\"" >&5)
 
16227
   (eval "$lt_compile" 2>out/conftest.err)
 
16228
   ac_status=$?
 
16229
   cat out/conftest.err >&5
 
16230
   echo "$as_me:16230: \$? = $ac_status" >&5
 
16231
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16232
   then
 
16233
     # The compiler can only warn and ignore the option if not recognized
 
16234
     # So say no if there are warnings
 
16235
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16236
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16237
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16238
       lt_cv_prog_compiler_c_o_CXX=yes
 
16239
     fi
 
16240
   fi
 
16241
   chmod u+w . 2>&5
 
16242
   $RM conftest*
 
16243
   # SGI C++ compiler will create directory out/ii_files/ for
 
16244
   # template instantiation
 
16245
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16246
   $RM out/* && rmdir out
 
16247
   cd ..
 
16248
   $RM -r conftest
 
16249
   $RM conftest*
 
16250
 
 
16251
fi
 
16252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16253
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16254
 
 
16255
 
 
16256
 
 
16257
 
 
16258
hard_links="nottested"
 
16259
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
16260
  # do not overwrite the value of need_locks provided by the user
 
16261
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
16262
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
16263
  hard_links=yes
 
16264
  $RM conftest*
 
16265
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
16266
  touch conftest.a
 
16267
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
16268
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
16269
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
16270
$as_echo "$hard_links" >&6; }
 
16271
  if test "$hard_links" = no; then
 
16272
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
16273
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
16274
    need_locks=warn
 
16275
  fi
 
16276
else
 
16277
  need_locks=no
 
16278
fi
 
16279
 
 
16280
 
 
16281
 
 
16282
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16283
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
16284
 
 
16285
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
16286
  case $host_os in
 
16287
  aix[4-9]*)
 
16288
    # If we're using GNU nm, then we don't want the "-C" option.
 
16289
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
16290
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
16291
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
16292
    else
 
16293
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
16294
    fi
 
16295
    ;;
 
16296
  pw32*)
 
16297
    export_symbols_cmds_CXX="$ltdll_cmds"
 
16298
  ;;
 
16299
  cygwin* | mingw* | cegcc*)
 
16300
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
16301
  ;;
 
16302
  *)
 
16303
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
16304
  ;;
 
16305
  esac
 
16306
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
16307
 
 
16308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
16309
$as_echo "$ld_shlibs_CXX" >&6; }
 
16310
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
16311
 
 
16312
with_gnu_ld_CXX=$with_gnu_ld
 
16313
 
 
16314
 
 
16315
 
 
16316
 
 
16317
 
 
16318
 
 
16319
#
 
16320
# Do we need to explicitly link libc?
 
16321
#
 
16322
case "x$archive_cmds_need_lc_CXX" in
 
16323
x|xyes)
 
16324
  # Assume -lc should be added
 
16325
  archive_cmds_need_lc_CXX=yes
 
16326
 
 
16327
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
16328
    case $archive_cmds_CXX in
 
16329
    *'~'*)
 
16330
      # FIXME: we may have to deal with multi-command sequences.
 
16331
      ;;
 
16332
    '$CC '*)
 
16333
      # Test whether the compiler implicitly links with -lc since on some
 
16334
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
16335
      # to ld, don't add -lc before -lgcc.
 
16336
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
16337
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
16338
      $RM conftest*
 
16339
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16340
 
 
16341
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
16342
  (eval $ac_compile) 2>&5
 
16343
  ac_status=$?
 
16344
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16345
  test $ac_status = 0; } 2>conftest.err; then
 
16346
        soname=conftest
 
16347
        lib=conftest
 
16348
        libobjs=conftest.$ac_objext
 
16349
        deplibs=
 
16350
        wl=$lt_prog_compiler_wl_CXX
 
16351
        pic_flag=$lt_prog_compiler_pic_CXX
 
16352
        compiler_flags=-v
 
16353
        linker_flags=-v
 
16354
        verstring=
 
16355
        output_objdir=.
 
16356
        libname=conftest
 
16357
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
16358
        allow_undefined_flag_CXX=
 
16359
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
16360
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
16361
  ac_status=$?
 
16362
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16363
  test $ac_status = 0; }
 
16364
        then
 
16365
          archive_cmds_need_lc_CXX=no
 
16366
        else
 
16367
          archive_cmds_need_lc_CXX=yes
 
16368
        fi
 
16369
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
16370
      else
 
16371
        cat conftest.err 1>&5
 
16372
      fi
 
16373
      $RM conftest*
 
16374
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
16375
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
16376
      ;;
 
16377
    esac
 
16378
  fi
 
16379
  ;;
 
16380
esac
 
16381
 
 
16382
 
 
16383
 
 
16384
 
 
16385
 
 
16386
 
 
16387
 
 
16388
 
 
16389
 
 
16390
 
 
16391
 
 
16392
 
 
16393
 
 
16394
 
 
16395
 
 
16396
 
 
16397
 
 
16398
 
 
16399
 
 
16400
 
 
16401
 
 
16402
 
 
16403
 
 
16404
 
 
16405
 
 
16406
 
 
16407
 
 
16408
 
 
16409
 
 
16410
 
 
16411
 
 
16412
 
 
16413
 
 
16414
 
 
16415
 
 
16416
 
 
16417
 
 
16418
 
 
16419
 
 
16420
 
 
16421
 
 
16422
 
 
16423
 
 
16424
 
 
16425
 
 
16426
 
 
16427
 
 
16428
 
 
16429
 
 
16430
 
 
16431
 
 
16432
 
 
16433
 
 
16434
 
 
16435
 
 
16436
 
 
16437
 
 
16438
 
 
16439
 
 
16440
 
 
16441
 
 
16442
 
 
16443
 
 
16444
 
 
16445
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
16446
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
16447
 
 
16448
library_names_spec=
 
16449
libname_spec='lib$name'
 
16450
soname_spec=
 
16451
shrext_cmds=".so"
 
16452
postinstall_cmds=
 
16453
postuninstall_cmds=
 
16454
finish_cmds=
 
16455
finish_eval=
 
16456
shlibpath_var=
 
16457
shlibpath_overrides_runpath=unknown
 
16458
version_type=none
 
16459
dynamic_linker="$host_os ld.so"
 
16460
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
16461
need_lib_prefix=unknown
 
16462
hardcode_into_libs=no
 
16463
 
 
16464
# when you set need_version to no, make sure it does not cause -set_version
 
16465
# flags to be left without arguments
 
16466
need_version=unknown
 
16467
 
 
16468
case $host_os in
 
16469
aix3*)
 
16470
  version_type=linux
 
16471
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
16472
  shlibpath_var=LIBPATH
 
16473
 
 
16474
  # AIX 3 has no versioning support, so we append a major version to the name.
 
16475
  soname_spec='${libname}${release}${shared_ext}$major'
 
16476
  ;;
 
16477
 
 
16478
aix[4-9]*)
 
16479
  version_type=linux
 
16480
  need_lib_prefix=no
 
16481
  need_version=no
 
16482
  hardcode_into_libs=yes
 
16483
  if test "$host_cpu" = ia64; then
 
16484
    # AIX 5 supports IA64
 
16485
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
16486
    shlibpath_var=LD_LIBRARY_PATH
 
16487
  else
 
16488
    # With GCC up to 2.95.x, collect2 would create an import file
 
16489
    # for dependence libraries.  The import file would start with
 
16490
    # the line `#! .'.  This would cause the generated library to
 
16491
    # depend on `.', always an invalid library.  This was fixed in
 
16492
    # development snapshots of GCC prior to 3.0.
 
16493
    case $host_os in
 
16494
      aix4 | aix4.[01] | aix4.[01].*)
 
16495
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
16496
           echo ' yes '
 
16497
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
16498
        :
 
16499
      else
 
16500
        can_build_shared=no
 
16501
      fi
 
16502
      ;;
 
16503
    esac
 
16504
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
16505
    # soname into executable. Probably we can add versioning support to
 
16506
    # collect2, so additional links can be useful in future.
 
16507
    if test "$aix_use_runtimelinking" = yes; then
 
16508
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
16509
      # instead of lib<name>.a to let people know that these are not
 
16510
      # typical AIX shared libraries.
 
16511
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16512
    else
 
16513
      # We preserve .a as extension for shared libraries through AIX4.2
 
16514
      # and later when we are not doing run time linking.
 
16515
      library_names_spec='${libname}${release}.a $libname.a'
 
16516
      soname_spec='${libname}${release}${shared_ext}$major'
 
16517
    fi
 
16518
    shlibpath_var=LIBPATH
 
16519
  fi
 
16520
  ;;
 
16521
 
 
16522
amigaos*)
 
16523
  case $host_cpu in
 
16524
  powerpc)
 
16525
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
16526
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
16527
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16528
    ;;
 
16529
  m68k)
 
16530
    library_names_spec='$libname.ixlibrary $libname.a'
 
16531
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
16532
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
16533
    ;;
 
16534
  esac
 
16535
  ;;
 
16536
 
 
16537
beos*)
 
16538
  library_names_spec='${libname}${shared_ext}'
 
16539
  dynamic_linker="$host_os ld.so"
 
16540
  shlibpath_var=LIBRARY_PATH
 
16541
  ;;
 
16542
 
 
16543
bsdi[45]*)
 
16544
  version_type=linux
 
16545
  need_version=no
 
16546
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16547
  soname_spec='${libname}${release}${shared_ext}$major'
 
16548
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
16549
  shlibpath_var=LD_LIBRARY_PATH
 
16550
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
16551
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
16552
  # the default ld.so.conf also contains /usr/contrib/lib and
 
16553
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
16554
  # libtool to hard-code these into programs
 
16555
  ;;
 
16556
 
 
16557
cygwin* | mingw* | pw32* | cegcc*)
 
16558
  version_type=windows
 
16559
  shrext_cmds=".dll"
 
16560
  need_version=no
 
16561
  need_lib_prefix=no
 
16562
 
 
16563
  case $GCC,$host_os in
 
16564
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
16565
    library_names_spec='$libname.dll.a'
 
16566
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
16567
    postinstall_cmds='base_file=`basename \${file}`~
 
16568
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
16569
      dldir=$destdir/`dirname \$dlpath`~
 
16570
      test -d \$dldir || mkdir -p \$dldir~
 
16571
      $install_prog $dir/$dlname \$dldir/$dlname~
 
16572
      chmod a+x \$dldir/$dlname~
 
16573
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
16574
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
16575
      fi'
 
16576
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
16577
      dlpath=$dir/\$dldll~
 
16578
       $RM \$dlpath'
 
16579
    shlibpath_overrides_runpath=yes
 
16580
 
 
16581
    case $host_os in
 
16582
    cygwin*)
 
16583
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
16584
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16585
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
16586
      ;;
 
16587
    mingw* | cegcc*)
 
16588
      # MinGW DLLs use traditional 'lib' prefix
 
16589
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16590
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
16591
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
16592
        # It is most probably a Windows format PATH printed by
 
16593
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
16594
        # path with ; separators, and with drive letters. We can handle the
 
16595
        # drive letters (cygwin fileutils understands them), so leave them,
 
16596
        # especially as we might pass files found there to a mingw objdump,
 
16597
        # which wouldn't understand a cygwinified path. Ahh.
 
16598
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16599
      else
 
16600
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
16601
      fi
 
16602
      ;;
 
16603
    pw32*)
 
16604
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
16605
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16606
      ;;
 
16607
    esac
 
16608
    ;;
 
16609
 
 
16610
  *)
 
16611
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
16612
    ;;
 
16613
  esac
 
16614
  dynamic_linker='Win32 ld.exe'
 
16615
  # FIXME: first we should search . and the directory the executable is in
 
16616
  shlibpath_var=PATH
 
16617
  ;;
 
16618
 
 
16619
darwin* | rhapsody*)
 
16620
  dynamic_linker="$host_os dyld"
 
16621
  version_type=darwin
 
16622
  need_lib_prefix=no
 
16623
  need_version=no
 
16624
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
16625
  soname_spec='${libname}${release}${major}$shared_ext'
 
16626
  shlibpath_overrides_runpath=yes
 
16627
  shlibpath_var=DYLD_LIBRARY_PATH
 
16628
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
16629
 
 
16630
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
16631
  ;;
 
16632
 
 
16633
dgux*)
 
16634
  version_type=linux
 
16635
  need_lib_prefix=no
 
16636
  need_version=no
 
16637
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
16638
  soname_spec='${libname}${release}${shared_ext}$major'
 
16639
  shlibpath_var=LD_LIBRARY_PATH
 
16640
  ;;
 
16641
 
 
16642
freebsd1*)
 
16643
  dynamic_linker=no
 
16644
  ;;
 
16645
 
 
16646
freebsd* | dragonfly*)
 
16647
  # DragonFly does not have aout.  When/if they implement a new
 
16648
  # versioning mechanism, adjust this.
 
16649
  if test -x /usr/bin/objformat; then
 
16650
    objformat=`/usr/bin/objformat`
 
16651
  else
 
16652
    case $host_os in
 
16653
    freebsd[123]*) objformat=aout ;;
 
16654
    *) objformat=elf ;;
 
16655
    esac
 
16656
  fi
 
16657
  version_type=freebsd-$objformat
 
16658
  case $version_type in
 
16659
    freebsd-elf*)
 
16660
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16661
      need_version=no
 
16662
      need_lib_prefix=no
 
16663
      ;;
 
16664
    freebsd-*)
 
16665
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
16666
      need_version=yes
 
16667
      ;;
 
16668
  esac
 
16669
  shlibpath_var=LD_LIBRARY_PATH
 
16670
  case $host_os in
 
16671
  freebsd2*)
 
16672
    shlibpath_overrides_runpath=yes
 
16673
    ;;
 
16674
  freebsd3.[01]* | freebsdelf3.[01]*)
 
16675
    shlibpath_overrides_runpath=yes
 
16676
    hardcode_into_libs=yes
 
16677
    ;;
 
16678
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
16679
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
16680
    shlibpath_overrides_runpath=no
 
16681
    hardcode_into_libs=yes
 
16682
    ;;
 
16683
  *) # from 4.6 on, and DragonFly
 
16684
    shlibpath_overrides_runpath=yes
 
16685
    hardcode_into_libs=yes
 
16686
    ;;
 
16687
  esac
 
16688
  ;;
 
16689
 
 
16690
gnu*)
 
16691
  version_type=linux
 
16692
  need_lib_prefix=no
 
16693
  need_version=no
 
16694
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
16695
  soname_spec='${libname}${release}${shared_ext}$major'
 
16696
  shlibpath_var=LD_LIBRARY_PATH
 
16697
  hardcode_into_libs=yes
 
16698
  ;;
 
16699
 
 
16700
hpux9* | hpux10* | hpux11*)
 
16701
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
16702
  # link against other versions.
 
16703
  version_type=sunos
 
16704
  need_lib_prefix=no
 
16705
  need_version=no
 
16706
  case $host_cpu in
 
16707
  ia64*)
 
16708
    shrext_cmds='.so'
 
16709
    hardcode_into_libs=yes
 
16710
    dynamic_linker="$host_os dld.so"
 
16711
    shlibpath_var=LD_LIBRARY_PATH
 
16712
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
16713
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16714
    soname_spec='${libname}${release}${shared_ext}$major'
 
16715
    if test "X$HPUX_IA64_MODE" = X32; then
 
16716
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
16717
    else
 
16718
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
16719
    fi
 
16720
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
16721
    ;;
 
16722
  hppa*64*)
 
16723
    shrext_cmds='.sl'
 
16724
    hardcode_into_libs=yes
 
16725
    dynamic_linker="$host_os dld.sl"
 
16726
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
16727
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
16728
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16729
    soname_spec='${libname}${release}${shared_ext}$major'
 
16730
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
16731
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
16732
    ;;
 
16733
  *)
 
16734
    shrext_cmds='.sl'
 
16735
    dynamic_linker="$host_os dld.sl"
 
16736
    shlibpath_var=SHLIB_PATH
 
16737
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
16738
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16739
    soname_spec='${libname}${release}${shared_ext}$major'
 
16740
    ;;
 
16741
  esac
 
16742
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
16743
  postinstall_cmds='chmod 555 $lib'
 
16744
  ;;
 
16745
 
 
16746
interix[3-9]*)
 
16747
  version_type=linux
 
16748
  need_lib_prefix=no
 
16749
  need_version=no
 
16750
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16751
  soname_spec='${libname}${release}${shared_ext}$major'
 
16752
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
16753
  shlibpath_var=LD_LIBRARY_PATH
 
16754
  shlibpath_overrides_runpath=no
 
16755
  hardcode_into_libs=yes
 
16756
  ;;
 
16757
 
 
16758
irix5* | irix6* | nonstopux*)
 
16759
  case $host_os in
 
16760
    nonstopux*) version_type=nonstopux ;;
 
16761
    *)
 
16762
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
16763
                version_type=linux
 
16764
        else
 
16765
                version_type=irix
 
16766
        fi ;;
 
16767
  esac
 
16768
  need_lib_prefix=no
 
16769
  need_version=no
 
16770
  soname_spec='${libname}${release}${shared_ext}$major'
 
16771
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16772
  case $host_os in
 
16773
  irix5* | nonstopux*)
 
16774
    libsuff= shlibsuff=
 
16775
    ;;
 
16776
  *)
 
16777
    case $LD in # libtool.m4 will add one of these switches to LD
 
16778
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
16779
      libsuff= shlibsuff= libmagic=32-bit;;
 
16780
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
16781
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
16782
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
16783
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
16784
    *) libsuff= shlibsuff= libmagic=never-match;;
 
16785
    esac
 
16786
    ;;
 
16787
  esac
 
16788
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
16789
  shlibpath_overrides_runpath=no
 
16790
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
16791
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
16792
  hardcode_into_libs=yes
 
16793
  ;;
 
16794
 
 
16795
# No shared lib support for Linux oldld, aout, or coff.
 
16796
linux*oldld* | linux*aout* | linux*coff*)
 
16797
  dynamic_linker=no
 
16798
  ;;
 
16799
 
 
16800
# This must be Linux ELF.
 
16801
linux* | k*bsd*-gnu)
 
16802
  version_type=linux
 
16803
  need_lib_prefix=no
 
16804
  need_version=no
 
16805
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16806
  soname_spec='${libname}${release}${shared_ext}$major'
 
16807
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
16808
  shlibpath_var=LD_LIBRARY_PATH
 
16809
  shlibpath_overrides_runpath=no
 
16810
  # Some binutils ld are patched to set DT_RUNPATH
 
16811
  save_LDFLAGS=$LDFLAGS
 
16812
  save_libdir=$libdir
 
16813
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
16814
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
16815
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16816
/* end confdefs.h.  */
 
16817
 
 
16818
int
 
16819
main ()
 
16820
{
 
16821
 
 
16822
  ;
 
16823
  return 0;
 
16824
}
 
16825
_ACEOF
 
16826
if ac_fn_cxx_try_link "$LINENO"; then :
 
16827
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
16828
  shlibpath_overrides_runpath=yes
 
16829
fi
 
16830
fi
 
16831
rm -f core conftest.err conftest.$ac_objext \
 
16832
    conftest$ac_exeext conftest.$ac_ext
 
16833
  LDFLAGS=$save_LDFLAGS
 
16834
  libdir=$save_libdir
 
16835
 
 
16836
  # This implies no fast_install, which is unacceptable.
 
16837
  # Some rework will be needed to allow for fast_install
 
16838
  # before this can be enabled.
 
16839
  hardcode_into_libs=yes
 
16840
 
 
16841
  # Add ABI-specific directories to the system library path.
 
16842
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
16843
 
 
16844
  # Append ld.so.conf contents to the search path
 
16845
  if test -f /etc/ld.so.conf; then
 
16846
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16847
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
16848
  fi
 
16849
 
 
16850
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
16851
  # powerpc, because MkLinux only supported shared libraries with the
 
16852
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
16853
  # most powerpc-linux boxes support dynamic linking these days and
 
16854
  # people can always --disable-shared, the test was removed, and we
 
16855
  # assume the GNU/Linux dynamic linker is in use.
 
16856
  dynamic_linker='GNU/Linux ld.so'
 
16857
  ;;
 
16858
 
 
16859
netbsd*)
 
16860
  version_type=sunos
 
16861
  need_lib_prefix=no
 
16862
  need_version=no
 
16863
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
16864
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16865
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
16866
    dynamic_linker='NetBSD (a.out) ld.so'
 
16867
  else
 
16868
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16869
    soname_spec='${libname}${release}${shared_ext}$major'
 
16870
    dynamic_linker='NetBSD ld.elf_so'
 
16871
  fi
 
16872
  shlibpath_var=LD_LIBRARY_PATH
 
16873
  shlibpath_overrides_runpath=yes
 
16874
  hardcode_into_libs=yes
 
16875
  ;;
 
16876
 
 
16877
newsos6)
 
16878
  version_type=linux
 
16879
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16880
  shlibpath_var=LD_LIBRARY_PATH
 
16881
  shlibpath_overrides_runpath=yes
 
16882
  ;;
 
16883
 
 
16884
*nto* | *qnx*)
 
16885
  version_type=qnx
 
16886
  need_lib_prefix=no
 
16887
  need_version=no
 
16888
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16889
  soname_spec='${libname}${release}${shared_ext}$major'
 
16890
  shlibpath_var=LD_LIBRARY_PATH
 
16891
  shlibpath_overrides_runpath=no
 
16892
  hardcode_into_libs=yes
 
16893
  dynamic_linker='ldqnx.so'
 
16894
  ;;
 
16895
 
 
16896
openbsd*)
 
16897
  version_type=sunos
 
16898
  sys_lib_dlsearch_path_spec="/usr/lib"
 
16899
  need_lib_prefix=no
 
16900
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16901
  case $host_os in
 
16902
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
16903
    *)                          need_version=no  ;;
 
16904
  esac
 
16905
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16906
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
16907
  shlibpath_var=LD_LIBRARY_PATH
 
16908
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16909
    case $host_os in
 
16910
      openbsd2.[89] | openbsd2.[89].*)
 
16911
        shlibpath_overrides_runpath=no
 
16912
        ;;
 
16913
      *)
 
16914
        shlibpath_overrides_runpath=yes
 
16915
        ;;
 
16916
      esac
 
16917
  else
 
16918
    shlibpath_overrides_runpath=yes
 
16919
  fi
 
16920
  ;;
 
16921
 
 
16922
os2*)
 
16923
  libname_spec='$name'
 
16924
  shrext_cmds=".dll"
 
16925
  need_lib_prefix=no
 
16926
  library_names_spec='$libname${shared_ext} $libname.a'
 
16927
  dynamic_linker='OS/2 ld.exe'
 
16928
  shlibpath_var=LIBPATH
 
16929
  ;;
 
16930
 
 
16931
osf3* | osf4* | osf5*)
 
16932
  version_type=osf
 
16933
  need_lib_prefix=no
 
16934
  need_version=no
 
16935
  soname_spec='${libname}${release}${shared_ext}$major'
 
16936
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16937
  shlibpath_var=LD_LIBRARY_PATH
 
16938
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
16939
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
16940
  ;;
 
16941
 
 
16942
rdos*)
 
16943
  dynamic_linker=no
 
16944
  ;;
 
16945
 
 
16946
solaris*)
 
16947
  version_type=linux
 
16948
  need_lib_prefix=no
 
16949
  need_version=no
 
16950
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16951
  soname_spec='${libname}${release}${shared_ext}$major'
 
16952
  shlibpath_var=LD_LIBRARY_PATH
 
16953
  shlibpath_overrides_runpath=yes
 
16954
  hardcode_into_libs=yes
 
16955
  # ldd complains unless libraries are executable
 
16956
  postinstall_cmds='chmod +x $lib'
 
16957
  ;;
 
16958
 
 
16959
sunos4*)
 
16960
  version_type=sunos
 
16961
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
16962
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
16963
  shlibpath_var=LD_LIBRARY_PATH
 
16964
  shlibpath_overrides_runpath=yes
 
16965
  if test "$with_gnu_ld" = yes; then
 
16966
    need_lib_prefix=no
 
16967
  fi
 
16968
  need_version=yes
 
16969
  ;;
 
16970
 
 
16971
sysv4 | sysv4.3*)
 
16972
  version_type=linux
 
16973
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16974
  soname_spec='${libname}${release}${shared_ext}$major'
 
16975
  shlibpath_var=LD_LIBRARY_PATH
 
16976
  case $host_vendor in
 
16977
    sni)
 
16978
      shlibpath_overrides_runpath=no
 
16979
      need_lib_prefix=no
 
16980
      runpath_var=LD_RUN_PATH
 
16981
      ;;
 
16982
    siemens)
 
16983
      need_lib_prefix=no
 
16984
      ;;
 
16985
    motorola)
 
16986
      need_lib_prefix=no
 
16987
      need_version=no
 
16988
      shlibpath_overrides_runpath=no
 
16989
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
16990
      ;;
 
16991
  esac
 
16992
  ;;
 
16993
 
 
16994
sysv4*MP*)
 
16995
  if test -d /usr/nec ;then
 
16996
    version_type=linux
 
16997
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
16998
    soname_spec='$libname${shared_ext}.$major'
 
16999
    shlibpath_var=LD_LIBRARY_PATH
 
17000
  fi
 
17001
  ;;
 
17002
 
 
17003
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
17004
  version_type=freebsd-elf
 
17005
  need_lib_prefix=no
 
17006
  need_version=no
 
17007
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
17008
  soname_spec='${libname}${release}${shared_ext}$major'
 
17009
  shlibpath_var=LD_LIBRARY_PATH
 
17010
  shlibpath_overrides_runpath=yes
 
17011
  hardcode_into_libs=yes
 
17012
  if test "$with_gnu_ld" = yes; then
 
17013
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
17014
  else
 
17015
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
17016
    case $host_os in
 
17017
      sco3.2v5*)
 
17018
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
17019
        ;;
 
17020
    esac
 
17021
  fi
 
17022
  sys_lib_dlsearch_path_spec='/usr/lib'
 
17023
  ;;
 
17024
 
 
17025
tpf*)
 
17026
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
17027
  version_type=linux
 
17028
  need_lib_prefix=no
 
17029
  need_version=no
 
17030
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17031
  shlibpath_var=LD_LIBRARY_PATH
 
17032
  shlibpath_overrides_runpath=no
 
17033
  hardcode_into_libs=yes
 
17034
  ;;
 
17035
 
 
17036
uts4*)
 
17037
  version_type=linux
 
17038
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17039
  soname_spec='${libname}${release}${shared_ext}$major'
 
17040
  shlibpath_var=LD_LIBRARY_PATH
 
17041
  ;;
 
17042
 
 
17043
*)
 
17044
  dynamic_linker=no
 
17045
  ;;
 
17046
esac
 
17047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
17048
$as_echo "$dynamic_linker" >&6; }
 
17049
test "$dynamic_linker" = no && can_build_shared=no
 
17050
 
 
17051
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
17052
if test "$GCC" = yes; then
 
17053
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
17054
fi
 
17055
 
 
17056
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17057
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17058
fi
 
17059
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17060
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17061
fi
 
17062
 
 
17063
 
 
17064
 
 
17065
 
 
17066
 
 
17067
 
 
17068
 
 
17069
 
 
17070
 
 
17071
 
 
17072
 
 
17073
 
 
17074
 
 
17075
 
 
17076
 
 
17077
 
 
17078
 
 
17079
 
 
17080
 
 
17081
 
 
17082
 
 
17083
 
 
17084
 
 
17085
 
 
17086
 
 
17087
 
 
17088
 
 
17089
 
 
17090
 
 
17091
 
 
17092
 
 
17093
 
 
17094
 
 
17095
 
 
17096
 
 
17097
 
 
17098
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
17099
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
17100
hardcode_action_CXX=
 
17101
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
17102
   test -n "$runpath_var_CXX" ||
 
17103
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
17104
 
 
17105
  # We can hardcode non-existent directories.
 
17106
  if test "$hardcode_direct_CXX" != no &&
 
17107
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
17108
     # have to relink, otherwise we might link with an installed library
 
17109
     # when we should be linking with a yet-to-be-installed one
 
17110
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
17111
     test "$hardcode_minus_L_CXX" != no; then
 
17112
    # Linking always hardcodes the temporary library directory.
 
17113
    hardcode_action_CXX=relink
 
17114
  else
 
17115
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
17116
    hardcode_action_CXX=immediate
 
17117
  fi
 
17118
else
 
17119
  # We cannot hardcode anything, or else we can only hardcode existing
 
17120
  # directories.
 
17121
  hardcode_action_CXX=unsupported
 
17122
fi
 
17123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
17124
$as_echo "$hardcode_action_CXX" >&6; }
 
17125
 
 
17126
if test "$hardcode_action_CXX" = relink ||
 
17127
   test "$inherit_rpath_CXX" = yes; then
 
17128
  # Fast installation is not supported
 
17129
  enable_fast_install=no
 
17130
elif test "$shlibpath_overrides_runpath" = yes ||
 
17131
     test "$enable_shared" = no; then
 
17132
  # Fast installation is not necessary
 
17133
  enable_fast_install=needless
 
17134
fi
 
17135
 
 
17136
 
 
17137
 
 
17138
 
 
17139
 
 
17140
 
 
17141
 
 
17142
  fi # test -n "$compiler"
 
17143
 
 
17144
  CC=$lt_save_CC
 
17145
  LDCXX=$LD
 
17146
  LD=$lt_save_LD
 
17147
  GCC=$lt_save_GCC
 
17148
  with_gnu_ld=$lt_save_with_gnu_ld
 
17149
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
17150
  lt_cv_path_LD=$lt_save_path_LD
 
17151
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
17152
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
17153
fi # test "$_lt_caught_CXX_error" != yes
 
17154
 
 
17155
ac_ext=c
 
17156
ac_cpp='$CPP $CPPFLAGS'
 
17157
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17158
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17159
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
17160
 
 
17161
 
 
17162
 
 
17163
 
 
17164
 
 
17165
 
 
17166
 
 
17167
 
 
17168
 
 
17169
 
 
17170
 
 
17171
 
 
17172
 
 
17173
        ac_config_commands="$ac_config_commands libtool"
 
17174
 
 
17175
 
 
17176
 
 
17177
 
 
17178
# Only expand once:
 
17179
 
 
17180
 
 
17181
 
 
17182
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
 
17183
set dummy glib-genmarshal; ac_word=$2
 
17184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17185
$as_echo_n "checking for $ac_word... " >&6; }
 
17186
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
 
17187
  $as_echo_n "(cached) " >&6
 
17188
else
 
17189
  case $GLIB_GENMARSHAL in
 
17190
  [\\/]* | ?:[\\/]*)
 
17191
  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
 
17192
  ;;
 
17193
  *)
 
17194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17195
for as_dir in $PATH
 
17196
do
 
17197
  IFS=$as_save_IFS
 
17198
  test -z "$as_dir" && as_dir=.
 
17199
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17200
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17201
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
 
17202
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17203
    break 2
 
17204
  fi
 
17205
done
 
17206
  done
 
17207
IFS=$as_save_IFS
 
17208
 
 
17209
  ;;
 
17210
esac
 
17211
fi
 
17212
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
 
17213
if test -n "$GLIB_GENMARSHAL"; then
 
17214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
 
17215
$as_echo "$GLIB_GENMARSHAL" >&6; }
 
17216
else
 
17217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17218
$as_echo "no" >&6; }
 
17219
fi
 
17220
 
 
17221
 
 
17222
 
 
17223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
 
17224
$as_echo_n "checking for Win32... " >&6; }
 
17225
case "$host" in
 
17226
*-mingw*)
 
17227
    os_win32=yes
 
17228
    SOEXT='.dll'
 
17229
    ;;
 
17230
*)  os_win32=no
 
17231
    SOEXT='.so'
 
17232
    ;;
 
17233
esac
 
17234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
 
17235
$as_echo "$os_win32" >&6; }
 
17236
 if test $os_win32 = yes; then
 
17237
  OS_WIN32_TRUE=
 
17238
  OS_WIN32_FALSE='#'
 
17239
else
 
17240
  OS_WIN32_TRUE='#'
 
17241
  OS_WIN32_FALSE=
 
17242
fi
 
17243
 
 
17244
 
 
17245
 
 
17246
 
 
17247
 
 
17248
 
 
17249
 
 
17250
GAIL_MODULES="gail >= 1.1.0"
 
17251
 
 
17252
 
 
17253
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
17254
        if test -n "$ac_tool_prefix"; then
 
17255
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
17256
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
17257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17258
$as_echo_n "checking for $ac_word... " >&6; }
 
17259
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
17260
  $as_echo_n "(cached) " >&6
 
17261
else
 
17262
  case $PKG_CONFIG in
 
17263
  [\\/]* | ?:[\\/]*)
 
17264
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
17265
  ;;
 
17266
  *)
 
17267
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17268
for as_dir in $PATH
 
17269
do
 
17270
  IFS=$as_save_IFS
 
17271
  test -z "$as_dir" && as_dir=.
 
17272
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17273
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17274
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
17275
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17276
    break 2
 
17277
  fi
 
17278
done
 
17279
  done
 
17280
IFS=$as_save_IFS
 
17281
 
 
17282
  ;;
 
17283
esac
 
17284
fi
 
17285
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
17286
if test -n "$PKG_CONFIG"; then
 
17287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
17288
$as_echo "$PKG_CONFIG" >&6; }
 
17289
else
 
17290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17291
$as_echo "no" >&6; }
 
17292
fi
 
17293
 
 
17294
 
 
17295
fi
 
17296
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
17297
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
17298
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
17299
set dummy pkg-config; ac_word=$2
 
17300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17301
$as_echo_n "checking for $ac_word... " >&6; }
 
17302
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
17303
  $as_echo_n "(cached) " >&6
 
17304
else
 
17305
  case $ac_pt_PKG_CONFIG in
 
17306
  [\\/]* | ?:[\\/]*)
 
17307
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
17308
  ;;
 
17309
  *)
 
17310
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17311
for as_dir in $PATH
 
17312
do
 
17313
  IFS=$as_save_IFS
 
17314
  test -z "$as_dir" && as_dir=.
 
17315
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17316
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17317
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
17318
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17319
    break 2
 
17320
  fi
 
17321
done
 
17322
  done
 
17323
IFS=$as_save_IFS
 
17324
 
 
17325
  ;;
 
17326
esac
 
17327
fi
 
17328
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
17329
if test -n "$ac_pt_PKG_CONFIG"; then
 
17330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
17331
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
17332
else
 
17333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17334
$as_echo "no" >&6; }
 
17335
fi
 
17336
 
 
17337
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
17338
    PKG_CONFIG=""
 
17339
  else
 
17340
    case $cross_compiling:$ac_tool_warned in
 
17341
yes:)
 
17342
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
17343
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
17344
ac_tool_warned=yes ;;
 
17345
esac
 
17346
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
17347
  fi
 
17348
else
 
17349
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
17350
fi
 
17351
 
 
17352
fi
 
17353
if test -n "$PKG_CONFIG"; then
 
17354
        _pkg_min_version=0.9.0
 
17355
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
17356
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
17357
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
17358
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17359
$as_echo "yes" >&6; }
 
17360
        else
 
17361
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17362
$as_echo "no" >&6; }
 
17363
                PKG_CONFIG=""
 
17364
        fi
 
17365
 
 
17366
fi
 
17367
 
 
17368
pkg_failed=no
 
17369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAIL" >&5
 
17370
$as_echo_n "checking for GAIL... " >&6; }
 
17371
 
 
17372
if test -n "$GAIL_CFLAGS"; then
 
17373
    pkg_cv_GAIL_CFLAGS="$GAIL_CFLAGS"
 
17374
 elif test -n "$PKG_CONFIG"; then
 
17375
    if test -n "$PKG_CONFIG" && \
 
17376
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_MODULES\""; } >&5
 
17377
  ($PKG_CONFIG --exists --print-errors "$GAIL_MODULES") 2>&5
 
17378
  ac_status=$?
 
17379
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17380
  test $ac_status = 0; }; then
 
17381
  pkg_cv_GAIL_CFLAGS=`$PKG_CONFIG --cflags "$GAIL_MODULES" 2>/dev/null`
 
17382
else
 
17383
  pkg_failed=yes
 
17384
fi
 
17385
 else
 
17386
    pkg_failed=untried
 
17387
fi
 
17388
if test -n "$GAIL_LIBS"; then
 
17389
    pkg_cv_GAIL_LIBS="$GAIL_LIBS"
 
17390
 elif test -n "$PKG_CONFIG"; then
 
17391
    if test -n "$PKG_CONFIG" && \
 
17392
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_MODULES\""; } >&5
 
17393
  ($PKG_CONFIG --exists --print-errors "$GAIL_MODULES") 2>&5
 
17394
  ac_status=$?
 
17395
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17396
  test $ac_status = 0; }; then
 
17397
  pkg_cv_GAIL_LIBS=`$PKG_CONFIG --libs "$GAIL_MODULES" 2>/dev/null`
 
17398
else
 
17399
  pkg_failed=yes
 
17400
fi
 
17401
 else
 
17402
    pkg_failed=untried
 
17403
fi
 
17404
 
 
17405
 
 
17406
 
 
17407
if test $pkg_failed = yes; then
 
17408
 
 
17409
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17410
        _pkg_short_errors_supported=yes
 
17411
else
 
17412
        _pkg_short_errors_supported=no
 
17413
fi
 
17414
        if test $_pkg_short_errors_supported = yes; then
 
17415
                GAIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GAIL_MODULES" 2>&1`
 
17416
        else
 
17417
                GAIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GAIL_MODULES" 2>&1`
 
17418
        fi
 
17419
        # Put the nasty error message in config.log where it belongs
 
17420
        echo "$GAIL_PKG_ERRORS" >&5
 
17421
 
 
17422
        as_fn_error "Package requirements ($GAIL_MODULES) were not met:
 
17423
 
 
17424
$GAIL_PKG_ERRORS
 
17425
 
 
17426
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17427
installed software in a non-standard prefix.
 
17428
 
 
17429
Alternatively, you may set the environment variables GAIL_CFLAGS
 
17430
and GAIL_LIBS to avoid the need to call pkg-config.
 
17431
See the pkg-config man page for more details.
 
17432
" "$LINENO" 5
 
17433
elif test $pkg_failed = untried; then
 
17434
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17436
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
17437
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17438
path to pkg-config.
 
17439
 
 
17440
Alternatively, you may set the environment variables GAIL_CFLAGS
 
17441
and GAIL_LIBS to avoid the need to call pkg-config.
 
17442
See the pkg-config man page for more details.
 
17443
 
 
17444
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17445
See \`config.log' for more details." "$LINENO" 5; }
 
17446
else
 
17447
        GAIL_CFLAGS=$pkg_cv_GAIL_CFLAGS
 
17448
        GAIL_LIBS=$pkg_cv_GAIL_LIBS
 
17449
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17450
$as_echo "yes" >&6; }
 
17451
        :
 
17452
fi
 
17453
 
 
17454
 
 
17455
 
 
17456
 
 
17457
GTHREAD_MODULES="gthread-2.0"
 
17458
 
 
17459
pkg_failed=no
 
17460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
 
17461
$as_echo_n "checking for GTHREAD... " >&6; }
 
17462
 
 
17463
if test -n "$GTHREAD_CFLAGS"; then
 
17464
    pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
 
17465
 elif test -n "$PKG_CONFIG"; then
 
17466
    if test -n "$PKG_CONFIG" && \
 
17467
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTHREAD_MODULES\""; } >&5
 
17468
  ($PKG_CONFIG --exists --print-errors "$GTHREAD_MODULES") 2>&5
 
17469
  ac_status=$?
 
17470
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17471
  test $ac_status = 0; }; then
 
17472
  pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "$GTHREAD_MODULES" 2>/dev/null`
 
17473
else
 
17474
  pkg_failed=yes
 
17475
fi
 
17476
 else
 
17477
    pkg_failed=untried
 
17478
fi
 
17479
if test -n "$GTHREAD_LIBS"; then
 
17480
    pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
 
17481
 elif test -n "$PKG_CONFIG"; then
 
17482
    if test -n "$PKG_CONFIG" && \
 
17483
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTHREAD_MODULES\""; } >&5
 
17484
  ($PKG_CONFIG --exists --print-errors "$GTHREAD_MODULES") 2>&5
 
17485
  ac_status=$?
 
17486
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17487
  test $ac_status = 0; }; then
 
17488
  pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "$GTHREAD_MODULES" 2>/dev/null`
 
17489
else
 
17490
  pkg_failed=yes
 
17491
fi
 
17492
 else
 
17493
    pkg_failed=untried
 
17494
fi
 
17495
 
 
17496
 
 
17497
 
 
17498
if test $pkg_failed = yes; then
 
17499
 
 
17500
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17501
        _pkg_short_errors_supported=yes
 
17502
else
 
17503
        _pkg_short_errors_supported=no
 
17504
fi
 
17505
        if test $_pkg_short_errors_supported = yes; then
 
17506
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GTHREAD_MODULES" 2>&1`
 
17507
        else
 
17508
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GTHREAD_MODULES" 2>&1`
 
17509
        fi
 
17510
        # Put the nasty error message in config.log where it belongs
 
17511
        echo "$GTHREAD_PKG_ERRORS" >&5
 
17512
 
 
17513
        as_fn_error "Package requirements ($GTHREAD_MODULES) were not met:
 
17514
 
 
17515
$GTHREAD_PKG_ERRORS
 
17516
 
 
17517
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17518
installed software in a non-standard prefix.
 
17519
 
 
17520
Alternatively, you may set the environment variables GTHREAD_CFLAGS
 
17521
and GTHREAD_LIBS to avoid the need to call pkg-config.
 
17522
See the pkg-config man page for more details.
 
17523
" "$LINENO" 5
 
17524
elif test $pkg_failed = untried; then
 
17525
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17526
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17527
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
17528
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17529
path to pkg-config.
 
17530
 
 
17531
Alternatively, you may set the environment variables GTHREAD_CFLAGS
 
17532
and GTHREAD_LIBS to avoid the need to call pkg-config.
 
17533
See the pkg-config man page for more details.
 
17534
 
 
17535
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17536
See \`config.log' for more details." "$LINENO" 5; }
 
17537
else
 
17538
        GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
 
17539
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
 
17540
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17541
$as_echo "yes" >&6; }
 
17542
        :
 
17543
fi
 
17544
 
 
17545
 
 
17546
 
 
17547
GTKHTML_MODULES="gtk+-2.0 >= 2.18.0 enchant >= 1.1.7 gconf-2.0 iso-codes"
 
17548
 
 
17549
pkg_failed=no
 
17550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKHTML" >&5
 
17551
$as_echo_n "checking for GTKHTML... " >&6; }
 
17552
 
 
17553
if test -n "$GTKHTML_CFLAGS"; then
 
17554
    pkg_cv_GTKHTML_CFLAGS="$GTKHTML_CFLAGS"
 
17555
 elif test -n "$PKG_CONFIG"; then
 
17556
    if test -n "$PKG_CONFIG" && \
 
17557
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTKHTML_MODULES\""; } >&5
 
17558
  ($PKG_CONFIG --exists --print-errors "$GTKHTML_MODULES") 2>&5
 
17559
  ac_status=$?
 
17560
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17561
  test $ac_status = 0; }; then
 
17562
  pkg_cv_GTKHTML_CFLAGS=`$PKG_CONFIG --cflags "$GTKHTML_MODULES" 2>/dev/null`
 
17563
else
 
17564
  pkg_failed=yes
 
17565
fi
 
17566
 else
 
17567
    pkg_failed=untried
 
17568
fi
 
17569
if test -n "$GTKHTML_LIBS"; then
 
17570
    pkg_cv_GTKHTML_LIBS="$GTKHTML_LIBS"
 
17571
 elif test -n "$PKG_CONFIG"; then
 
17572
    if test -n "$PKG_CONFIG" && \
 
17573
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTKHTML_MODULES\""; } >&5
 
17574
  ($PKG_CONFIG --exists --print-errors "$GTKHTML_MODULES") 2>&5
 
17575
  ac_status=$?
 
17576
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17577
  test $ac_status = 0; }; then
 
17578
  pkg_cv_GTKHTML_LIBS=`$PKG_CONFIG --libs "$GTKHTML_MODULES" 2>/dev/null`
 
17579
else
 
17580
  pkg_failed=yes
 
17581
fi
 
17582
 else
 
17583
    pkg_failed=untried
 
17584
fi
 
17585
 
 
17586
 
 
17587
 
 
17588
if test $pkg_failed = yes; then
 
17589
 
 
17590
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17591
        _pkg_short_errors_supported=yes
 
17592
else
 
17593
        _pkg_short_errors_supported=no
 
17594
fi
 
17595
        if test $_pkg_short_errors_supported = yes; then
 
17596
                GTKHTML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GTKHTML_MODULES" 2>&1`
 
17597
        else
 
17598
                GTKHTML_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GTKHTML_MODULES" 2>&1`
 
17599
        fi
 
17600
        # Put the nasty error message in config.log where it belongs
 
17601
        echo "$GTKHTML_PKG_ERRORS" >&5
 
17602
 
 
17603
        as_fn_error "Package requirements ($GTKHTML_MODULES) were not met:
 
17604
 
 
17605
$GTKHTML_PKG_ERRORS
 
17606
 
 
17607
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17608
installed software in a non-standard prefix.
 
17609
 
 
17610
Alternatively, you may set the environment variables GTKHTML_CFLAGS
 
17611
and GTKHTML_LIBS to avoid the need to call pkg-config.
 
17612
See the pkg-config man page for more details.
 
17613
" "$LINENO" 5
 
17614
elif test $pkg_failed = untried; then
 
17615
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17616
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17617
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
17618
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17619
path to pkg-config.
 
17620
 
 
17621
Alternatively, you may set the environment variables GTKHTML_CFLAGS
 
17622
and GTKHTML_LIBS to avoid the need to call pkg-config.
 
17623
See the pkg-config man page for more details.
 
17624
 
 
17625
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17626
See \`config.log' for more details." "$LINENO" 5; }
 
17627
else
 
17628
        GTKHTML_CFLAGS=$pkg_cv_GTKHTML_CFLAGS
 
17629
        GTKHTML_LIBS=$pkg_cv_GTKHTML_LIBS
 
17630
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17631
$as_echo "yes" >&6; }
 
17632
        :
 
17633
fi
 
17634
 
 
17635
 
 
17636
 
 
17637
 
 
17638
 
 
17639
# Check whether --with-glade-catalog was given.
 
17640
if test "${with_glade_catalog+set}" = set; then :
 
17641
  withval=$with_glade_catalog; glade_catalog="$withval"
 
17642
else
 
17643
  glade_catalog="no"
 
17644
fi
 
17645
 
 
17646
if test "x$glade_catalog" = "xyes"; then
 
17647
 
 
17648
pkg_failed=no
 
17649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADEUI" >&5
 
17650
$as_echo_n "checking for GLADEUI... " >&6; }
 
17651
 
 
17652
if test -n "$GLADEUI_CFLAGS"; then
 
17653
    pkg_cv_GLADEUI_CFLAGS="$GLADEUI_CFLAGS"
 
17654
 elif test -n "$PKG_CONFIG"; then
 
17655
    if test -n "$PKG_CONFIG" && \
 
17656
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gladeui-1.0\""; } >&5
 
17657
  ($PKG_CONFIG --exists --print-errors "gladeui-1.0") 2>&5
 
17658
  ac_status=$?
 
17659
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17660
  test $ac_status = 0; }; then
 
17661
  pkg_cv_GLADEUI_CFLAGS=`$PKG_CONFIG --cflags "gladeui-1.0" 2>/dev/null`
 
17662
else
 
17663
  pkg_failed=yes
 
17664
fi
 
17665
 else
 
17666
    pkg_failed=untried
 
17667
fi
 
17668
if test -n "$GLADEUI_LIBS"; then
 
17669
    pkg_cv_GLADEUI_LIBS="$GLADEUI_LIBS"
 
17670
 elif test -n "$PKG_CONFIG"; then
 
17671
    if test -n "$PKG_CONFIG" && \
 
17672
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gladeui-1.0\""; } >&5
 
17673
  ($PKG_CONFIG --exists --print-errors "gladeui-1.0") 2>&5
 
17674
  ac_status=$?
 
17675
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17676
  test $ac_status = 0; }; then
 
17677
  pkg_cv_GLADEUI_LIBS=`$PKG_CONFIG --libs "gladeui-1.0" 2>/dev/null`
 
17678
else
 
17679
  pkg_failed=yes
 
17680
fi
 
17681
 else
 
17682
    pkg_failed=untried
 
17683
fi
 
17684
 
 
17685
 
 
17686
 
 
17687
if test $pkg_failed = yes; then
 
17688
 
 
17689
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17690
        _pkg_short_errors_supported=yes
 
17691
else
 
17692
        _pkg_short_errors_supported=no
 
17693
fi
 
17694
        if test $_pkg_short_errors_supported = yes; then
 
17695
                GLADEUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gladeui-1.0" 2>&1`
 
17696
        else
 
17697
                GLADEUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "gladeui-1.0" 2>&1`
 
17698
        fi
 
17699
        # Put the nasty error message in config.log where it belongs
 
17700
        echo "$GLADEUI_PKG_ERRORS" >&5
 
17701
 
 
17702
        as_fn_error "Package requirements (gladeui-1.0) were not met:
 
17703
 
 
17704
$GLADEUI_PKG_ERRORS
 
17705
 
 
17706
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17707
installed software in a non-standard prefix.
 
17708
 
 
17709
Alternatively, you may set the environment variables GLADEUI_CFLAGS
 
17710
and GLADEUI_LIBS to avoid the need to call pkg-config.
 
17711
See the pkg-config man page for more details.
 
17712
" "$LINENO" 5
 
17713
elif test $pkg_failed = untried; then
 
17714
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17715
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17716
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
17717
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17718
path to pkg-config.
 
17719
 
 
17720
Alternatively, you may set the environment variables GLADEUI_CFLAGS
 
17721
and GLADEUI_LIBS to avoid the need to call pkg-config.
 
17722
See the pkg-config man page for more details.
 
17723
 
 
17724
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17725
See \`config.log' for more details." "$LINENO" 5; }
 
17726
else
 
17727
        GLADEUI_CFLAGS=$pkg_cv_GLADEUI_CFLAGS
 
17728
        GLADEUI_LIBS=$pkg_cv_GLADEUI_LIBS
 
17729
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17730
$as_echo "yes" >&6; }
 
17731
        :
 
17732
fi
 
17733
fi
 
17734
 if test x$glade_catalog = xyes; then
 
17735
  GLADE_CATALOG_TRUE=
 
17736
  GLADE_CATALOG_FALSE='#'
 
17737
else
 
17738
  GLADE_CATALOG_TRUE='#'
 
17739
  GLADE_CATALOG_FALSE=
 
17740
fi
 
17741
 
 
17742
 
 
17743
ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
 
17744
 
 
17745
 
 
17746
HAVE_NEWSOUP="no"
 
17747
have_newsoup="no"
 
17748
 
 
17749
pkg_failed=no
 
17750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
 
17751
$as_echo_n "checking for SOUP... " >&6; }
 
17752
 
 
17753
if test -n "$SOUP_CFLAGS"; then
 
17754
    pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
 
17755
 elif test -n "$PKG_CONFIG"; then
 
17756
    if test -n "$PKG_CONFIG" && \
 
17757
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4  >= 2.26.0\""; } >&5
 
17758
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4  >= 2.26.0") 2>&5
 
17759
  ac_status=$?
 
17760
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17761
  test $ac_status = 0; }; then
 
17762
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4  >= 2.26.0" 2>/dev/null`
 
17763
else
 
17764
  pkg_failed=yes
 
17765
fi
 
17766
 else
 
17767
    pkg_failed=untried
 
17768
fi
 
17769
if test -n "$SOUP_LIBS"; then
 
17770
    pkg_cv_SOUP_LIBS="$SOUP_LIBS"
 
17771
 elif test -n "$PKG_CONFIG"; then
 
17772
    if test -n "$PKG_CONFIG" && \
 
17773
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4  >= 2.26.0\""; } >&5
 
17774
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4  >= 2.26.0") 2>&5
 
17775
  ac_status=$?
 
17776
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17777
  test $ac_status = 0; }; then
 
17778
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4  >= 2.26.0" 2>/dev/null`
 
17779
else
 
17780
  pkg_failed=yes
 
17781
fi
 
17782
 else
 
17783
    pkg_failed=untried
 
17784
fi
 
17785
 
 
17786
 
 
17787
 
 
17788
if test $pkg_failed = yes; then
 
17789
 
 
17790
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17791
        _pkg_short_errors_supported=yes
 
17792
else
 
17793
        _pkg_short_errors_supported=no
 
17794
fi
 
17795
        if test $_pkg_short_errors_supported = yes; then
 
17796
                SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4  >= 2.26.0" 2>&1`
 
17797
        else
 
17798
                SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4  >= 2.26.0" 2>&1`
 
17799
        fi
 
17800
        # Put the nasty error message in config.log where it belongs
 
17801
        echo "$SOUP_PKG_ERRORS" >&5
 
17802
 
 
17803
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17804
$as_echo "no" >&6; }
 
17805
 
 
17806
pkg_failed=no
 
17807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
 
17808
$as_echo_n "checking for SOUP... " >&6; }
 
17809
 
 
17810
if test -n "$SOUP_CFLAGS"; then
 
17811
    pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
 
17812
 elif test -n "$PKG_CONFIG"; then
 
17813
    if test -n "$PKG_CONFIG" && \
 
17814
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
 
17815
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
17816
  ac_status=$?
 
17817
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17818
  test $ac_status = 0; }; then
 
17819
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
 
17820
else
 
17821
  pkg_failed=yes
 
17822
fi
 
17823
 else
 
17824
    pkg_failed=untried
 
17825
fi
 
17826
if test -n "$SOUP_LIBS"; then
 
17827
    pkg_cv_SOUP_LIBS="$SOUP_LIBS"
 
17828
 elif test -n "$PKG_CONFIG"; then
 
17829
    if test -n "$PKG_CONFIG" && \
 
17830
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
 
17831
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
17832
  ac_status=$?
 
17833
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17834
  test $ac_status = 0; }; then
 
17835
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
 
17836
else
 
17837
  pkg_failed=yes
 
17838
fi
 
17839
 else
 
17840
    pkg_failed=untried
 
17841
fi
 
17842
 
 
17843
 
 
17844
 
 
17845
if test $pkg_failed = yes; then
 
17846
 
 
17847
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17848
        _pkg_short_errors_supported=yes
 
17849
else
 
17850
        _pkg_short_errors_supported=no
 
17851
fi
 
17852
        if test $_pkg_short_errors_supported = yes; then
 
17853
                SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
 
17854
        else
 
17855
                SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
 
17856
        fi
 
17857
        # Put the nasty error message in config.log where it belongs
 
17858
        echo "$SOUP_PKG_ERRORS" >&5
 
17859
 
 
17860
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17861
$as_echo "no" >&6; }
 
17862
                have_soup="no"
 
17863
elif test $pkg_failed = untried; then
 
17864
        have_soup="no"
 
17865
else
 
17866
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
 
17867
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
 
17868
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17869
$as_echo "yes" >&6; }
 
17870
        have_soup="yes"
 
17871
fi
 
17872
 
 
17873
elif test $pkg_failed = untried; then
 
17874
 
 
17875
pkg_failed=no
 
17876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
 
17877
$as_echo_n "checking for SOUP... " >&6; }
 
17878
 
 
17879
if test -n "$SOUP_CFLAGS"; then
 
17880
    pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
 
17881
 elif test -n "$PKG_CONFIG"; then
 
17882
    if test -n "$PKG_CONFIG" && \
 
17883
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
 
17884
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
17885
  ac_status=$?
 
17886
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17887
  test $ac_status = 0; }; then
 
17888
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
 
17889
else
 
17890
  pkg_failed=yes
 
17891
fi
 
17892
 else
 
17893
    pkg_failed=untried
 
17894
fi
 
17895
if test -n "$SOUP_LIBS"; then
 
17896
    pkg_cv_SOUP_LIBS="$SOUP_LIBS"
 
17897
 elif test -n "$PKG_CONFIG"; then
 
17898
    if test -n "$PKG_CONFIG" && \
 
17899
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
 
17900
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
17901
  ac_status=$?
 
17902
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17903
  test $ac_status = 0; }; then
 
17904
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
 
17905
else
 
17906
  pkg_failed=yes
 
17907
fi
 
17908
 else
 
17909
    pkg_failed=untried
 
17910
fi
 
17911
 
 
17912
 
 
17913
 
 
17914
if test $pkg_failed = yes; then
 
17915
 
 
17916
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17917
        _pkg_short_errors_supported=yes
 
17918
else
 
17919
        _pkg_short_errors_supported=no
 
17920
fi
 
17921
        if test $_pkg_short_errors_supported = yes; then
 
17922
                SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
 
17923
        else
 
17924
                SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
 
17925
        fi
 
17926
        # Put the nasty error message in config.log where it belongs
 
17927
        echo "$SOUP_PKG_ERRORS" >&5
 
17928
 
 
17929
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17930
$as_echo "no" >&6; }
 
17931
                have_soup="no"
 
17932
elif test $pkg_failed = untried; then
 
17933
        have_soup="no"
 
17934
else
 
17935
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
 
17936
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
 
17937
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17938
$as_echo "yes" >&6; }
 
17939
        have_soup="yes"
 
17940
fi
 
17941
 
 
17942
else
 
17943
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
 
17944
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
 
17945
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17946
$as_echo "yes" >&6; }
 
17947
                HAVE_NEWSOUP="yes"
 
17948
                have_soup="yes"
 
17949
 
 
17950
fi
 
17951
 
 
17952
 if test x$have_soup != xno; then
 
17953
  HAVE_SOUP_TRUE=
 
17954
  HAVE_SOUP_FALSE='#'
 
17955
else
 
17956
  HAVE_SOUP_TRUE='#'
 
17957
  HAVE_SOUP_FALSE=
 
17958
fi
 
17959
 
 
17960
 if test x$HAVE_NEWSOUP != xno; then
 
17961
  HAVE_NEWSOUP_TRUE=
 
17962
  HAVE_NEWSOUP_FALSE='#'
 
17963
else
 
17964
  HAVE_NEWSOUP_TRUE='#'
 
17965
  HAVE_NEWSOUP_FALSE=
 
17966
fi
 
17967
 
 
17968
 
 
17969
 
 
17970
pkg_failed=no
 
17971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIT" >&5
 
17972
$as_echo_n "checking for GIT... " >&6; }
 
17973
 
 
17974
if test -n "$GIT_CFLAGS"; then
 
17975
    pkg_cv_GIT_CFLAGS="$GIT_CFLAGS"
 
17976
 elif test -n "$PKG_CONFIG"; then
 
17977
    if test -n "$PKG_CONFIG" && \
 
17978
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-icon-theme >= 2.22.0\""; } >&5
 
17979
  ($PKG_CONFIG --exists --print-errors "gnome-icon-theme >= 2.22.0") 2>&5
 
17980
  ac_status=$?
 
17981
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17982
  test $ac_status = 0; }; then
 
17983
  pkg_cv_GIT_CFLAGS=`$PKG_CONFIG --cflags "gnome-icon-theme >= 2.22.0" 2>/dev/null`
 
17984
else
 
17985
  pkg_failed=yes
 
17986
fi
 
17987
 else
 
17988
    pkg_failed=untried
 
17989
fi
 
17990
if test -n "$GIT_LIBS"; then
 
17991
    pkg_cv_GIT_LIBS="$GIT_LIBS"
 
17992
 elif test -n "$PKG_CONFIG"; then
 
17993
    if test -n "$PKG_CONFIG" && \
 
17994
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-icon-theme >= 2.22.0\""; } >&5
 
17995
  ($PKG_CONFIG --exists --print-errors "gnome-icon-theme >= 2.22.0") 2>&5
 
17996
  ac_status=$?
 
17997
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17998
  test $ac_status = 0; }; then
 
17999
  pkg_cv_GIT_LIBS=`$PKG_CONFIG --libs "gnome-icon-theme >= 2.22.0" 2>/dev/null`
 
18000
else
 
18001
  pkg_failed=yes
 
18002
fi
 
18003
 else
 
18004
    pkg_failed=untried
 
18005
fi
 
18006
 
 
18007
 
 
18008
 
 
18009
if test $pkg_failed = yes; then
 
18010
 
 
18011
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
18012
        _pkg_short_errors_supported=yes
 
18013
else
 
18014
        _pkg_short_errors_supported=no
 
18015
fi
 
18016
        if test $_pkg_short_errors_supported = yes; then
 
18017
                GIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-icon-theme >= 2.22.0" 2>&1`
 
18018
        else
 
18019
                GIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-icon-theme >= 2.22.0" 2>&1`
 
18020
        fi
 
18021
        # Put the nasty error message in config.log where it belongs
 
18022
        echo "$GIT_PKG_ERRORS" >&5
 
18023
 
 
18024
        as_fn_error "Package requirements (gnome-icon-theme >= 2.22.0) were not met:
 
18025
 
 
18026
$GIT_PKG_ERRORS
 
18027
 
 
18028
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
18029
installed software in a non-standard prefix.
 
18030
 
 
18031
Alternatively, you may set the environment variables GIT_CFLAGS
 
18032
and GIT_LIBS to avoid the need to call pkg-config.
 
18033
See the pkg-config man page for more details.
 
18034
" "$LINENO" 5
 
18035
elif test $pkg_failed = untried; then
 
18036
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
18037
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
18038
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
18039
is in your PATH or set the PKG_CONFIG environment variable to the full
 
18040
path to pkg-config.
 
18041
 
 
18042
Alternatively, you may set the environment variables GIT_CFLAGS
 
18043
and GIT_LIBS to avoid the need to call pkg-config.
 
18044
See the pkg-config man page for more details.
 
18045
 
 
18046
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
18047
See \`config.log' for more details." "$LINENO" 5; }
 
18048
else
 
18049
        GIT_CFLAGS=$pkg_cv_GIT_CFLAGS
 
18050
        GIT_LIBS=$pkg_cv_GIT_LIBS
 
18051
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18052
$as_echo "yes" >&6; }
 
18053
        :
 
18054
fi
 
18055
 
 
18056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iso-codes package" >&5
 
18057
$as_echo_n "checking for iso-codes package... " >&6; }
 
18058
have_iso_codes=no
 
18059
if $PKG_CONFIG --exists iso-codes; then
 
18060
        if $PKG_CONFIG iso-codes --atleast-version=0.49; then
 
18061
                have_iso_codes=yes
 
18062
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_iso_codes" >&5
 
18063
$as_echo "$have_iso_codes" >&6; }
 
18064
        else
 
18065
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iso-codes detected, but version 0.49 or later is required due to licensing" >&5
 
18066
$as_echo "$as_me: WARNING: iso-codes detected, but version 0.49 or later is required due to licensing" >&2;}
 
18067
        fi
 
18068
else
 
18069
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_iso_codes" >&5
 
18070
$as_echo "$have_iso_codes" >&6; }
 
18071
fi
 
18072
 
 
18073
if test "x$have_iso_codes" = "xyes"; then
 
18074
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso-639 and iso-3166 domains" >&5
 
18075
$as_echo_n "checking whether iso-codes has iso-639 and iso-3166 domains... " >&6; }
 
18076
        if $PKG_CONFIG --variable=domains iso-codes | grep 639 >/dev/null 2>&1 && \
 
18077
                $PKG_CONFIG --variable=domains iso-codes | grep 3166 >/dev/null 2>&1 ; then
 
18078
                        result=yes
 
18079
        else
 
18080
                result=no
 
18081
                have_iso_codes=no
 
18082
        fi
 
18083
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
 
18084
$as_echo "$result" >&6; }
 
18085
fi
 
18086
 
 
18087
if test "x$have_iso_codes" = "xyes"; then
 
18088
 
 
18089
cat >>confdefs.h <<_ACEOF
 
18090
#define ISO_CODES_PREFIX "`$PKG_CONFIG --variable=prefix iso-codes`"
 
18091
_ACEOF
 
18092
 
 
18093
 
 
18094
$as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
 
18095
 
 
18096
fi
 
18097
 
 
18098
for ac_func in regexec
 
18099
do :
 
18100
  ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec"
 
18101
if test "x$ac_cv_func_regexec" = x""yes; then :
 
18102
  cat >>confdefs.h <<_ACEOF
 
18103
#define HAVE_REGEXEC 1
 
18104
_ACEOF
 
18105
 
 
18106
else
 
18107
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -lregex" >&5
 
18108
$as_echo_n "checking for regexec in -lregex... " >&6; }
 
18109
if test "${ac_cv_lib_regex_regexec+set}" = set; then :
 
18110
  $as_echo_n "(cached) " >&6
 
18111
else
 
18112
  ac_check_lib_save_LIBS=$LIBS
 
18113
LIBS="-lregex  $LIBS"
 
18114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18115
/* end confdefs.h.  */
 
18116
 
 
18117
/* Override any GCC internal prototype to avoid an error.
 
18118
   Use char because int might match the return type of a GCC
 
18119
   builtin and then its argument prototype would still apply.  */
 
18120
#ifdef __cplusplus
 
18121
extern "C"
 
18122
#endif
 
18123
char regexec ();
 
18124
int
 
18125
main ()
 
18126
{
 
18127
return regexec ();
 
18128
  ;
 
18129
  return 0;
 
18130
}
 
18131
_ACEOF
 
18132
if ac_fn_c_try_link "$LINENO"; then :
 
18133
  ac_cv_lib_regex_regexec=yes
 
18134
else
 
18135
  ac_cv_lib_regex_regexec=no
 
18136
fi
 
18137
rm -f core conftest.err conftest.$ac_objext \
 
18138
    conftest$ac_exeext conftest.$ac_ext
 
18139
LIBS=$ac_check_lib_save_LIBS
 
18140
fi
 
18141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regexec" >&5
 
18142
$as_echo "$ac_cv_lib_regex_regexec" >&6; }
 
18143
if test "x$ac_cv_lib_regex_regexec" = x""yes; then :
 
18144
  REGEX_LIBS=-lregex
 
18145
else
 
18146
  as_fn_error "No regex library found" "$LINENO" 5
 
18147
fi
 
18148
 
 
18149
fi
 
18150
done
 
18151
 
 
18152
 
 
18153
 
 
18154
# Check whether --enable-shlib-factory was given.
 
18155
if test "${enable_shlib_factory+set}" = set; then :
 
18156
  enableval=$enable_shlib_factory; enable_shlib_factory="$enableval"
 
18157
else
 
18158
  enable_shlib_factory="yes"
 
18159
fi
 
18160
 
 
18161
 
 
18162
if test "x$enable_shlib_factory" = "xyes"; then
 
18163
        GNOME_GTKHTML_EDITOR_SHLIB=1
 
18164
        GNOME_GTKHTML_EDITOR_TYPE="shlib"
 
18165
 
 
18166
$as_echo "#define GNOME_GTKHTML_EDITOR_SHLIB /**/" >>confdefs.h
 
18167
 
 
18168
else
 
18169
        GNOME_GTKHTML_EDITOR_TYPE="exe"
 
18170
fi
 
18171
 
 
18172
 
 
18173
 if test x$enable_shlib_factory = xyes; then
 
18174
  EDITOR_SHLIB_TRUE=
 
18175
  EDITOR_SHLIB_FALSE='#'
 
18176
else
 
18177
  EDITOR_SHLIB_TRUE='#'
 
18178
  EDITOR_SHLIB_FALSE=
 
18179
fi
 
18180
 
 
18181
 
 
18182
 
 
18183
GTKHTML_CURRENT=20
 
18184
 
 
18185
GTKHTML_REVISION=1
 
18186
 
 
18187
GTKHTML_AGE=1
 
18188
 
 
18189
 
 
18190
 
 
18191
 
 
18192
 
 
18193
 
 
18194
ac_config_files="$ac_config_files Makefile gtkhtml-zip a11y/Makefile art/Makefile components/Makefile components/editor/Makefile components/editor/gtkhtml-editor.pc gtkhtml/Makefile gtkhtml/libgtkhtml.pc po/Makefile.in"
 
18195
 
 
18196
cat >confcache <<\_ACEOF
 
18197
# This file is a shell script that caches the results of configure
 
18198
# tests run on this system so they can be shared between configure
 
18199
# scripts and configure runs, see configure's option --config-cache.
 
18200
# It is not useful on other systems.  If it contains results you don't
 
18201
# want to keep, you may remove or edit it.
 
18202
#
 
18203
# config.status only pays attention to the cache file if you give it
 
18204
# the --recheck option to rerun configure.
 
18205
#
 
18206
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
18207
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
18208
# following values.
 
18209
 
 
18210
_ACEOF
 
18211
 
 
18212
# The following way of writing the cache mishandles newlines in values,
 
18213
# but we know of no workaround that is simple, portable, and efficient.
 
18214
# So, we kill variables containing newlines.
 
18215
# Ultrix sh set writes to stderr and can't be redirected directly,
 
18216
# and sets the high bit in the cache file unless we assign to the vars.
 
18217
(
 
18218
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
18219
    eval ac_val=\$$ac_var
 
18220
    case $ac_val in #(
 
18221
    *${as_nl}*)
 
18222
      case $ac_var in #(
 
18223
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
18224
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
18225
      esac
 
18226
      case $ac_var in #(
 
18227
      _ | IFS | as_nl) ;; #(
 
18228
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
18229
      *) { eval $ac_var=; unset $ac_var;} ;;
 
18230
      esac ;;
 
18231
    esac
 
18232
  done
 
18233
 
 
18234
  (set) 2>&1 |
 
18235
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
18236
    *${as_nl}ac_space=\ *)
 
18237
      # `set' does not quote correctly, so add quotes: double-quote
 
18238
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
18239
      sed -n \
 
18240
        "s/'/'\\\\''/g;
 
18241
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
18242
      ;; #(
 
18243
    *)
 
18244
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
18245
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
18246
      ;;
 
18247
    esac |
 
18248
    sort
 
18249
) |
 
18250
  sed '
 
18251
     /^ac_cv_env_/b end
 
18252
     t clear
 
18253
     :clear
 
18254
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
18255
     t end
 
18256
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
18257
     :end' >>confcache
 
18258
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
18259
  if test -w "$cache_file"; then
 
18260
    test "x$cache_file" != "x/dev/null" &&
 
18261
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
18262
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
18263
    cat confcache >$cache_file
 
18264
  else
 
18265
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
18266
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
18267
  fi
 
18268
fi
 
18269
rm -f confcache
 
18270
 
 
18271
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
18272
# Let make expand exec_prefix.
 
18273
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
18274
 
 
18275
DEFS=-DHAVE_CONFIG_H
 
18276
 
 
18277
ac_libobjs=
 
18278
ac_ltlibobjs=
 
18279
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
18280
  # 1. Remove the extension, and $U if already installed.
 
18281
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
18282
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
18283
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
18284
  #    will be set to the directory where LIBOBJS objects are built.
 
18285
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
18286
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
18287
done
 
18288
LIBOBJS=$ac_libobjs
 
18289
 
 
18290
LTLIBOBJS=$ac_ltlibobjs
 
18291
 
 
18292
 
 
18293
 if test -n "$EXEEXT"; then
 
18294
  am__EXEEXT_TRUE=
 
18295
  am__EXEEXT_FALSE='#'
 
18296
else
 
18297
  am__EXEEXT_TRUE='#'
 
18298
  am__EXEEXT_FALSE=
 
18299
fi
 
18300
 
 
18301
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
18302
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
18303
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18304
fi
 
18305
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
18306
  as_fn_error "conditional \"AMDEP\" was never defined.
 
18307
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18308
fi
 
18309
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
18310
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
18311
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18312
fi
 
18313
 
 
18314
  ac_config_commands="$ac_config_commands po/stamp-it"
 
18315
 
 
18316
 
 
18317
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
18318
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
18319
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18320
fi
 
18321
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
18322
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
18323
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18324
fi
 
18325
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
18326
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
18327
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18328
fi
 
18329
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
 
18330
  as_fn_error "conditional \"OS_WIN32\" was never defined.
 
18331
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18332
fi
 
18333
if test -z "${GLADE_CATALOG_TRUE}" && test -z "${GLADE_CATALOG_FALSE}"; then
 
18334
  as_fn_error "conditional \"GLADE_CATALOG\" was never defined.
 
18335
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18336
fi
 
18337
if test -z "${HAVE_SOUP_TRUE}" && test -z "${HAVE_SOUP_FALSE}"; then
 
18338
  as_fn_error "conditional \"HAVE_SOUP\" was never defined.
 
18339
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18340
fi
 
18341
if test -z "${HAVE_NEWSOUP_TRUE}" && test -z "${HAVE_NEWSOUP_FALSE}"; then
 
18342
  as_fn_error "conditional \"HAVE_NEWSOUP\" was never defined.
 
18343
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18344
fi
 
18345
if test -z "${EDITOR_SHLIB_TRUE}" && test -z "${EDITOR_SHLIB_FALSE}"; then
 
18346
  as_fn_error "conditional \"EDITOR_SHLIB\" was never defined.
 
18347
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18348
fi
 
18349
 
 
18350
: ${CONFIG_STATUS=./config.status}
 
18351
ac_write_fail=0
 
18352
ac_clean_files_save=$ac_clean_files
 
18353
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
18354
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
18355
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
18356
as_write_fail=0
 
18357
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
18358
#! $SHELL
 
18359
# Generated by $as_me.
 
18360
# Run this file to recreate the current configuration.
 
18361
# Compiler output produced by configure, useful for debugging
 
18362
# configure, is in config.log if it exists.
 
18363
 
 
18364
debug=false
 
18365
ac_cs_recheck=false
 
18366
ac_cs_silent=false
 
18367
 
 
18368
SHELL=\${CONFIG_SHELL-$SHELL}
 
18369
export SHELL
 
18370
_ASEOF
 
18371
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
18372
## -------------------- ##
 
18373
## M4sh Initialization. ##
 
18374
## -------------------- ##
 
18375
 
 
18376
# Be more Bourne compatible
 
18377
DUALCASE=1; export DUALCASE # for MKS sh
 
18378
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
18379
  emulate sh
 
18380
  NULLCMD=:
 
18381
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
18382
  # is contrary to our usage.  Disable this feature.
 
18383
  alias -g '${1+"$@"}'='"$@"'
 
18384
  setopt NO_GLOB_SUBST
 
18385
else
 
18386
  case `(set -o) 2>/dev/null` in #(
 
18387
  *posix*) :
 
18388
    set -o posix ;; #(
 
18389
  *) :
 
18390
     ;;
 
18391
esac
 
18392
fi
 
18393
 
 
18394
 
 
18395
as_nl='
 
18396
'
 
18397
export as_nl
 
18398
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
18399
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
18400
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
18401
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
18402
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
18403
# but without wasting forks for bash or zsh.
 
18404
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
18405
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18406
  as_echo='print -r --'
 
18407
  as_echo_n='print -rn --'
 
18408
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18409
  as_echo='printf %s\n'
 
18410
  as_echo_n='printf %s'
 
18411
else
 
18412
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
18413
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
18414
    as_echo_n='/usr/ucb/echo -n'
 
18415
  else
 
18416
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
18417
    as_echo_n_body='eval
 
18418
      arg=$1;
 
18419
      case $arg in #(
 
18420
      *"$as_nl"*)
 
18421
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
18422
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
18423
      esac;
 
18424
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
18425
    '
 
18426
    export as_echo_n_body
 
18427
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
18428
  fi
 
18429
  export as_echo_body
 
18430
  as_echo='sh -c $as_echo_body as_echo'
 
18431
fi
 
18432
 
 
18433
# The user is always right.
 
18434
if test "${PATH_SEPARATOR+set}" != set; then
 
18435
  PATH_SEPARATOR=:
 
18436
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
18437
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
18438
      PATH_SEPARATOR=';'
 
18439
  }
 
18440
fi
 
18441
 
 
18442
 
 
18443
# IFS
 
18444
# We need space, tab and new line, in precisely that order.  Quoting is
 
18445
# there to prevent editors from complaining about space-tab.
 
18446
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
18447
# splitting by setting IFS to empty value.)
 
18448
IFS=" ""        $as_nl"
 
18449
 
 
18450
# Find who we are.  Look in the path if we contain no directory separator.
 
18451
case $0 in #((
 
18452
  *[\\/]* ) as_myself=$0 ;;
 
18453
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18454
for as_dir in $PATH
 
18455
do
 
18456
  IFS=$as_save_IFS
 
18457
  test -z "$as_dir" && as_dir=.
 
18458
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
18459
  done
 
18460
IFS=$as_save_IFS
 
18461
 
 
18462
     ;;
 
18463
esac
 
18464
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
18465
# in which case we are not to be found in the path.
 
18466
if test "x$as_myself" = x; then
 
18467
  as_myself=$0
 
18468
fi
 
18469
if test ! -f "$as_myself"; then
 
18470
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
18471
  exit 1
 
18472
fi
 
18473
 
 
18474
# Unset variables that we do not need and which cause bugs (e.g. in
 
18475
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
18476
# suppresses any "Segmentation fault" message there.  '((' could
 
18477
# trigger a bug in pdksh 5.2.14.
 
18478
for as_var in BASH_ENV ENV MAIL MAILPATH
 
18479
do eval test x\${$as_var+set} = xset \
 
18480
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
18481
done
 
18482
PS1='$ '
 
18483
PS2='> '
 
18484
PS4='+ '
 
18485
 
 
18486
# NLS nuisances.
 
18487
LC_ALL=C
 
18488
export LC_ALL
 
18489
LANGUAGE=C
 
18490
export LANGUAGE
 
18491
 
 
18492
# CDPATH.
 
18493
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18494
 
 
18495
 
 
18496
# as_fn_error ERROR [LINENO LOG_FD]
 
18497
# ---------------------------------
 
18498
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
18499
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
18500
# script with status $?, using 1 if that was 0.
 
18501
as_fn_error ()
 
18502
{
 
18503
  as_status=$?; test $as_status -eq 0 && as_status=1
 
18504
  if test "$3"; then
 
18505
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
18506
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
18507
  fi
 
18508
  $as_echo "$as_me: error: $1" >&2
 
18509
  as_fn_exit $as_status
 
18510
} # as_fn_error
 
18511
 
 
18512
 
 
18513
# as_fn_set_status STATUS
 
18514
# -----------------------
 
18515
# Set $? to STATUS, without forking.
 
18516
as_fn_set_status ()
 
18517
{
 
18518
  return $1
 
18519
} # as_fn_set_status
 
18520
 
 
18521
# as_fn_exit STATUS
 
18522
# -----------------
 
18523
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
18524
as_fn_exit ()
 
18525
{
 
18526
  set +e
 
18527
  as_fn_set_status $1
 
18528
  exit $1
 
18529
} # as_fn_exit
 
18530
 
 
18531
# as_fn_unset VAR
 
18532
# ---------------
 
18533
# Portably unset VAR.
 
18534
as_fn_unset ()
 
18535
{
 
18536
  { eval $1=; unset $1;}
 
18537
}
 
18538
as_unset=as_fn_unset
 
18539
# as_fn_append VAR VALUE
 
18540
# ----------------------
 
18541
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
18542
# advantage of any shell optimizations that allow amortized linear growth over
 
18543
# repeated appends, instead of the typical quadratic growth present in naive
 
18544
# implementations.
 
18545
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
18546
  eval 'as_fn_append ()
 
18547
  {
 
18548
    eval $1+=\$2
 
18549
  }'
 
18550
else
 
18551
  as_fn_append ()
 
18552
  {
 
18553
    eval $1=\$$1\$2
 
18554
  }
 
18555
fi # as_fn_append
 
18556
 
 
18557
# as_fn_arith ARG...
 
18558
# ------------------
 
18559
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
18560
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
18561
# must be portable across $(()) and expr.
 
18562
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
18563
  eval 'as_fn_arith ()
 
18564
  {
 
18565
    as_val=$(( $* ))
 
18566
  }'
 
18567
else
 
18568
  as_fn_arith ()
 
18569
  {
 
18570
    as_val=`expr "$@" || test $? -eq 1`
 
18571
  }
 
18572
fi # as_fn_arith
 
18573
 
 
18574
 
 
18575
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
18576
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
18577
  as_expr=expr
 
18578
else
 
18579
  as_expr=false
 
18580
fi
 
18581
 
 
18582
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
18583
  as_basename=basename
 
18584
else
 
18585
  as_basename=false
 
18586
fi
 
18587
 
 
18588
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
18589
  as_dirname=dirname
 
18590
else
 
18591
  as_dirname=false
 
18592
fi
 
18593
 
 
18594
as_me=`$as_basename -- "$0" ||
 
18595
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
18596
         X"$0" : 'X\(//\)$' \| \
 
18597
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
18598
$as_echo X/"$0" |
 
18599
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
18600
            s//\1/
 
18601
            q
 
18602
          }
 
18603
          /^X\/\(\/\/\)$/{
 
18604
            s//\1/
 
18605
            q
 
18606
          }
 
18607
          /^X\/\(\/\).*/{
 
18608
            s//\1/
 
18609
            q
 
18610
          }
 
18611
          s/.*/./; q'`
 
18612
 
 
18613
# Avoid depending upon Character Ranges.
 
18614
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
18615
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
18616
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
18617
as_cr_digits='0123456789'
 
18618
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
18619
 
 
18620
ECHO_C= ECHO_N= ECHO_T=
 
18621
case `echo -n x` in #(((((
 
18622
-n*)
 
18623
  case `echo 'xy\c'` in
 
18624
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
18625
  xy)  ECHO_C='\c';;
 
18626
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
18627
       ECHO_T=' ';;
 
18628
  esac;;
 
18629
*)
 
18630
  ECHO_N='-n';;
 
18631
esac
 
18632
 
 
18633
rm -f conf$$ conf$$.exe conf$$.file
 
18634
if test -d conf$$.dir; then
 
18635
  rm -f conf$$.dir/conf$$.file
 
18636
else
 
18637
  rm -f conf$$.dir
 
18638
  mkdir conf$$.dir 2>/dev/null
 
18639
fi
 
18640
if (echo >conf$$.file) 2>/dev/null; then
 
18641
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
18642
    as_ln_s='ln -s'
 
18643
    # ... but there are two gotchas:
 
18644
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
18645
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
18646
    # In both cases, we have to default to `cp -p'.
 
18647
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
18648
      as_ln_s='cp -p'
 
18649
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
18650
    as_ln_s=ln
 
18651
  else
 
18652
    as_ln_s='cp -p'
 
18653
  fi
 
18654
else
 
18655
  as_ln_s='cp -p'
 
18656
fi
 
18657
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
18658
rmdir conf$$.dir 2>/dev/null
 
18659
 
 
18660
 
 
18661
# as_fn_mkdir_p
 
18662
# -------------
 
18663
# Create "$as_dir" as a directory, including parents if necessary.
 
18664
as_fn_mkdir_p ()
 
18665
{
 
18666
 
 
18667
  case $as_dir in #(
 
18668
  -*) as_dir=./$as_dir;;
 
18669
  esac
 
18670
  test -d "$as_dir" || eval $as_mkdir_p || {
 
18671
    as_dirs=
 
18672
    while :; do
 
18673
      case $as_dir in #(
 
18674
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
18675
      *) as_qdir=$as_dir;;
 
18676
      esac
 
18677
      as_dirs="'$as_qdir' $as_dirs"
 
18678
      as_dir=`$as_dirname -- "$as_dir" ||
 
18679
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18680
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18681
         X"$as_dir" : 'X\(//\)$' \| \
 
18682
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
18683
$as_echo X"$as_dir" |
 
18684
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18685
            s//\1/
 
18686
            q
 
18687
          }
 
18688
          /^X\(\/\/\)[^/].*/{
 
18689
            s//\1/
 
18690
            q
 
18691
          }
 
18692
          /^X\(\/\/\)$/{
 
18693
            s//\1/
 
18694
            q
 
18695
          }
 
18696
          /^X\(\/\).*/{
 
18697
            s//\1/
 
18698
            q
 
18699
          }
 
18700
          s/.*/./; q'`
 
18701
      test -d "$as_dir" && break
 
18702
    done
 
18703
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
18704
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
18705
 
 
18706
 
 
18707
} # as_fn_mkdir_p
 
18708
if mkdir -p . 2>/dev/null; then
 
18709
  as_mkdir_p='mkdir -p "$as_dir"'
 
18710
else
 
18711
  test -d ./-p && rmdir ./-p
 
18712
  as_mkdir_p=false
 
18713
fi
 
18714
 
 
18715
if test -x / >/dev/null 2>&1; then
 
18716
  as_test_x='test -x'
 
18717
else
 
18718
  if ls -dL / >/dev/null 2>&1; then
 
18719
    as_ls_L_option=L
 
18720
  else
 
18721
    as_ls_L_option=
 
18722
  fi
 
18723
  as_test_x='
 
18724
    eval sh -c '\''
 
18725
      if test -d "$1"; then
 
18726
        test -d "$1/.";
 
18727
      else
 
18728
        case $1 in #(
 
18729
        -*)set "./$1";;
 
18730
        esac;
 
18731
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
18732
        ???[sx]*):;;*)false;;esac;fi
 
18733
    '\'' sh
 
18734
  '
 
18735
fi
 
18736
as_executable_p=$as_test_x
 
18737
 
 
18738
# Sed expression to map a string onto a valid CPP name.
 
18739
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
18740
 
 
18741
# Sed expression to map a string onto a valid variable name.
 
18742
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
18743
 
 
18744
 
 
18745
exec 6>&1
 
18746
## ----------------------------------- ##
 
18747
## Main body of $CONFIG_STATUS script. ##
 
18748
## ----------------------------------- ##
 
18749
_ASEOF
 
18750
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
18751
 
 
18752
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18753
# Save the log message, to keep $0 and so on meaningful, and to
 
18754
# report actual input values of CONFIG_FILES etc. instead of their
 
18755
# values after options handling.
 
18756
ac_log="
 
18757
This file was extended by gtkhtml $as_me 3.30.3, which was
 
18758
generated by GNU Autoconf 2.65.  Invocation command line was
 
18759
 
 
18760
  CONFIG_FILES    = $CONFIG_FILES
 
18761
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
18762
  CONFIG_LINKS    = $CONFIG_LINKS
 
18763
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
18764
  $ $0 $@
 
18765
 
 
18766
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
18767
"
 
18768
 
 
18769
_ACEOF
 
18770
 
 
18771
case $ac_config_files in *"
 
18772
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
18773
esac
 
18774
 
 
18775
case $ac_config_headers in *"
 
18776
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
18777
esac
 
18778
 
 
18779
 
 
18780
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18781
# Files that config.status was made for.
 
18782
config_files="$ac_config_files"
 
18783
config_headers="$ac_config_headers"
 
18784
config_commands="$ac_config_commands"
 
18785
 
 
18786
_ACEOF
 
18787
 
 
18788
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18789
ac_cs_usage="\
 
18790
\`$as_me' instantiates files and other configuration actions
 
18791
from templates according to the current configuration.  Unless the files
 
18792
and actions are specified as TAGs, all are instantiated by default.
 
18793
 
 
18794
Usage: $0 [OPTION]... [TAG]...
 
18795
 
 
18796
  -h, --help       print this help, then exit
 
18797
  -V, --version    print version number and configuration settings, then exit
 
18798
      --config     print configuration, then exit
 
18799
  -q, --quiet, --silent
 
18800
                   do not print progress messages
 
18801
  -d, --debug      don't remove temporary files
 
18802
      --recheck    update $as_me by reconfiguring in the same conditions
 
18803
      --file=FILE[:TEMPLATE]
 
18804
                   instantiate the configuration file FILE
 
18805
      --header=FILE[:TEMPLATE]
 
18806
                   instantiate the configuration header FILE
 
18807
 
 
18808
Configuration files:
 
18809
$config_files
 
18810
 
 
18811
Configuration headers:
 
18812
$config_headers
 
18813
 
 
18814
Configuration commands:
 
18815
$config_commands
 
18816
 
 
18817
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml>."
 
18818
 
 
18819
_ACEOF
 
18820
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18821
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
18822
ac_cs_version="\\
 
18823
gtkhtml config.status 3.30.3
 
18824
configured by $0, generated by GNU Autoconf 2.65,
 
18825
  with options \\"\$ac_cs_config\\"
 
18826
 
 
18827
Copyright (C) 2009 Free Software Foundation, Inc.
 
18828
This config.status script is free software; the Free Software Foundation
 
18829
gives unlimited permission to copy, distribute and modify it."
 
18830
 
 
18831
ac_pwd='$ac_pwd'
 
18832
srcdir='$srcdir'
 
18833
INSTALL='$INSTALL'
 
18834
MKDIR_P='$MKDIR_P'
 
18835
AWK='$AWK'
 
18836
test -n "\$AWK" || AWK=awk
 
18837
_ACEOF
 
18838
 
 
18839
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18840
# The default lists apply if the user does not specify any file.
 
18841
ac_need_defaults=:
 
18842
while test $# != 0
 
18843
do
 
18844
  case $1 in
 
18845
  --*=*)
 
18846
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
18847
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
18848
    ac_shift=:
 
18849
    ;;
 
18850
  *)
 
18851
    ac_option=$1
 
18852
    ac_optarg=$2
 
18853
    ac_shift=shift
 
18854
    ;;
 
18855
  esac
 
18856
 
 
18857
  case $ac_option in
 
18858
  # Handling of the options.
 
18859
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
18860
    ac_cs_recheck=: ;;
 
18861
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
18862
    $as_echo "$ac_cs_version"; exit ;;
 
18863
  --config | --confi | --conf | --con | --co | --c )
 
18864
    $as_echo "$ac_cs_config"; exit ;;
 
18865
  --debug | --debu | --deb | --de | --d | -d )
 
18866
    debug=: ;;
 
18867
  --file | --fil | --fi | --f )
 
18868
    $ac_shift
 
18869
    case $ac_optarg in
 
18870
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18871
    esac
 
18872
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
18873
    ac_need_defaults=false;;
 
18874
  --header | --heade | --head | --hea )
 
18875
    $ac_shift
 
18876
    case $ac_optarg in
 
18877
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18878
    esac
 
18879
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
18880
    ac_need_defaults=false;;
 
18881
  --he | --h)
 
18882
    # Conflict between --help and --header
 
18883
    as_fn_error "ambiguous option: \`$1'
 
18884
Try \`$0 --help' for more information.";;
 
18885
  --help | --hel | -h )
 
18886
    $as_echo "$ac_cs_usage"; exit ;;
 
18887
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
18888
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
18889
    ac_cs_silent=: ;;
 
18890
 
 
18891
  # This is an error.
 
18892
  -*) as_fn_error "unrecognized option: \`$1'
 
18893
Try \`$0 --help' for more information." ;;
 
18894
 
 
18895
  *) as_fn_append ac_config_targets " $1"
 
18896
     ac_need_defaults=false ;;
 
18897
 
 
18898
  esac
 
18899
  shift
 
18900
done
 
18901
 
 
18902
ac_configure_extra_args=
 
18903
 
 
18904
if $ac_cs_silent; then
 
18905
  exec 6>/dev/null
 
18906
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
18907
fi
 
18908
 
 
18909
_ACEOF
 
18910
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18911
if \$ac_cs_recheck; then
 
18912
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18913
  shift
 
18914
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
18915
  CONFIG_SHELL='$SHELL'
 
18916
  export CONFIG_SHELL
 
18917
  exec "\$@"
 
18918
fi
 
18919
 
 
18920
_ACEOF
 
18921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18922
exec 5>>config.log
 
18923
{
 
18924
  echo
 
18925
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
18926
## Running $as_me. ##
 
18927
_ASBOX
 
18928
  $as_echo "$ac_log"
 
18929
} >&5
 
18930
 
 
18931
_ACEOF
 
18932
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18933
#
 
18934
# INIT-COMMANDS
 
18935
#
 
18936
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
18937
 
 
18938
 
 
18939
 
 
18940
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
18941
# if CDPATH is set.
 
18942
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18943
 
 
18944
sed_quote_subst='$sed_quote_subst'
 
18945
double_quote_subst='$double_quote_subst'
 
18946
delay_variable_subst='$delay_variable_subst'
 
18947
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18948
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
18949
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18950
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
18951
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18952
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
18953
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
18954
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
18955
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
18956
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18957
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
18958
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18959
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18960
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
18961
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18962
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
18963
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
18964
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18965
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18966
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18967
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
18968
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
18969
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
18970
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
18971
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
18972
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
18973
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
18974
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
18975
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
18976
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18977
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18978
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
18979
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
18980
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
18981
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18982
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
18983
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
18984
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18985
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18986
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18987
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
18988
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18989
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
18990
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
18991
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
18992
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
18993
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
18994
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18995
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
18996
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
18997
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
18998
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
18999
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
19000
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
19001
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
19002
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
19003
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
19004
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
19005
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
19006
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
19007
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
19008
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
19009
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
19010
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
19011
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19012
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19013
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
19014
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
19015
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19016
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19017
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
19018
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19019
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19020
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19021
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19022
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19023
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19024
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
19025
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
19026
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
19027
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19028
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
19029
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
19030
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
19031
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
19032
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
19033
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
19034
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
19035
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
19036
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
19037
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
19038
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
19039
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19040
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
19041
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
19042
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19043
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19044
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
19045
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
19046
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
19047
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
19048
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
19049
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
19050
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
19051
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19052
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19053
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19054
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19055
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19056
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
19057
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
19058
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
19059
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19060
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19061
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
19062
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
19063
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
19064
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
19065
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
19066
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
19067
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
19068
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
19069
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
19070
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
19071
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
19072
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
19073
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19074
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19075
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19076
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19077
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19078
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19079
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19080
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19081
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19082
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19083
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19084
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19085
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19086
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19087
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19088
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19089
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19090
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19091
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19092
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19093
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19094
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19095
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19096
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19097
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19098
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19099
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19100
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19101
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19102
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19103
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19104
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19105
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19106
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19107
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19108
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19109
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19110
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19111
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19112
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19113
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19114
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19115
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19116
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19117
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19118
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19119
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
19120
 
 
19121
LTCC='$LTCC'
 
19122
LTCFLAGS='$LTCFLAGS'
 
19123
compiler='$compiler_DEFAULT'
 
19124
 
 
19125
# Quote evaled strings.
 
19126
for var in SED \
 
19127
GREP \
 
19128
EGREP \
 
19129
FGREP \
 
19130
LD \
 
19131
NM \
 
19132
LN_S \
 
19133
lt_SP2NL \
 
19134
lt_NL2SP \
 
19135
reload_flag \
 
19136
deplibs_check_method \
 
19137
file_magic_cmd \
 
19138
AR \
 
19139
AR_FLAGS \
 
19140
STRIP \
 
19141
RANLIB \
 
19142
CC \
 
19143
CFLAGS \
 
19144
compiler \
 
19145
lt_cv_sys_global_symbol_pipe \
 
19146
lt_cv_sys_global_symbol_to_cdecl \
 
19147
lt_cv_sys_global_symbol_to_c_name_address \
 
19148
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
19149
SHELL \
 
19150
ECHO \
 
19151
lt_prog_compiler_no_builtin_flag \
 
19152
lt_prog_compiler_wl \
 
19153
lt_prog_compiler_pic \
 
19154
lt_prog_compiler_static \
 
19155
lt_cv_prog_compiler_c_o \
 
19156
need_locks \
 
19157
DSYMUTIL \
 
19158
NMEDIT \
 
19159
LIPO \
 
19160
OTOOL \
 
19161
OTOOL64 \
 
19162
shrext_cmds \
 
19163
export_dynamic_flag_spec \
 
19164
whole_archive_flag_spec \
 
19165
compiler_needs_object \
 
19166
with_gnu_ld \
 
19167
allow_undefined_flag \
 
19168
no_undefined_flag \
 
19169
hardcode_libdir_flag_spec \
 
19170
hardcode_libdir_flag_spec_ld \
 
19171
hardcode_libdir_separator \
 
19172
fix_srcfile_path \
 
19173
exclude_expsyms \
 
19174
include_expsyms \
 
19175
file_list_spec \
 
19176
variables_saved_for_relink \
 
19177
libname_spec \
 
19178
library_names_spec \
 
19179
soname_spec \
 
19180
finish_eval \
 
19181
old_striplib \
 
19182
striplib \
 
19183
compiler_lib_search_dirs \
 
19184
predep_objects \
 
19185
postdep_objects \
 
19186
predeps \
 
19187
postdeps \
 
19188
compiler_lib_search_path \
 
19189
LD_CXX \
 
19190
compiler_CXX \
 
19191
lt_prog_compiler_no_builtin_flag_CXX \
 
19192
lt_prog_compiler_wl_CXX \
 
19193
lt_prog_compiler_pic_CXX \
 
19194
lt_prog_compiler_static_CXX \
 
19195
lt_cv_prog_compiler_c_o_CXX \
 
19196
export_dynamic_flag_spec_CXX \
 
19197
whole_archive_flag_spec_CXX \
 
19198
compiler_needs_object_CXX \
 
19199
with_gnu_ld_CXX \
 
19200
allow_undefined_flag_CXX \
 
19201
no_undefined_flag_CXX \
 
19202
hardcode_libdir_flag_spec_CXX \
 
19203
hardcode_libdir_flag_spec_ld_CXX \
 
19204
hardcode_libdir_separator_CXX \
 
19205
fix_srcfile_path_CXX \
 
19206
exclude_expsyms_CXX \
 
19207
include_expsyms_CXX \
 
19208
file_list_spec_CXX \
 
19209
compiler_lib_search_dirs_CXX \
 
19210
predep_objects_CXX \
 
19211
postdep_objects_CXX \
 
19212
predeps_CXX \
 
19213
postdeps_CXX \
 
19214
compiler_lib_search_path_CXX; do
 
19215
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19216
    *[\\\\\\\`\\"\\\$]*)
 
19217
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
19218
      ;;
 
19219
    *)
 
19220
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
19221
      ;;
 
19222
    esac
 
19223
done
 
19224
 
 
19225
# Double-quote double-evaled strings.
 
19226
for var in reload_cmds \
 
19227
old_postinstall_cmds \
 
19228
old_postuninstall_cmds \
 
19229
old_archive_cmds \
 
19230
extract_expsyms_cmds \
 
19231
old_archive_from_new_cmds \
 
19232
old_archive_from_expsyms_cmds \
 
19233
archive_cmds \
 
19234
archive_expsym_cmds \
 
19235
module_cmds \
 
19236
module_expsym_cmds \
 
19237
export_symbols_cmds \
 
19238
prelink_cmds \
 
19239
postinstall_cmds \
 
19240
postuninstall_cmds \
 
19241
finish_cmds \
 
19242
sys_lib_search_path_spec \
 
19243
sys_lib_dlsearch_path_spec \
 
19244
old_archive_cmds_CXX \
 
19245
old_archive_from_new_cmds_CXX \
 
19246
old_archive_from_expsyms_cmds_CXX \
 
19247
archive_cmds_CXX \
 
19248
archive_expsym_cmds_CXX \
 
19249
module_cmds_CXX \
 
19250
module_expsym_cmds_CXX \
 
19251
export_symbols_cmds_CXX \
 
19252
prelink_cmds_CXX; do
 
19253
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19254
    *[\\\\\\\`\\"\\\$]*)
 
19255
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
19256
      ;;
 
19257
    *)
 
19258
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
19259
      ;;
 
19260
    esac
 
19261
done
 
19262
 
 
19263
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
19264
case \$lt_ECHO in
 
19265
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
19266
  ;;
 
19267
esac
 
19268
 
 
19269
ac_aux_dir='$ac_aux_dir'
 
19270
xsi_shell='$xsi_shell'
 
19271
lt_shell_append='$lt_shell_append'
 
19272
 
 
19273
# See if we are running on zsh, and set the options which allow our
 
19274
# commands through without removal of \ escapes INIT.
 
19275
if test -n "\${ZSH_VERSION+set}" ; then
 
19276
   setopt NO_GLOB_SUBST
 
19277
fi
 
19278
 
 
19279
 
 
19280
    PACKAGE='$PACKAGE'
 
19281
    VERSION='$VERSION'
 
19282
    TIMESTAMP='$TIMESTAMP'
 
19283
    RM='$RM'
 
19284
    ofile='$ofile'
 
19285
 
 
19286
 
 
19287
 
 
19288
 
 
19289
 
 
19290
 
 
19291
_ACEOF
 
19292
 
 
19293
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19294
 
 
19295
# Handling of arguments.
 
19296
for ac_config_target in $ac_config_targets
 
19297
do
 
19298
  case $ac_config_target in
 
19299
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
19300
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
19301
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
19302
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
19303
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
19304
    "gtkhtml-zip") CONFIG_FILES="$CONFIG_FILES gtkhtml-zip" ;;
 
19305
    "a11y/Makefile") CONFIG_FILES="$CONFIG_FILES a11y/Makefile" ;;
 
19306
    "art/Makefile") CONFIG_FILES="$CONFIG_FILES art/Makefile" ;;
 
19307
    "components/Makefile") CONFIG_FILES="$CONFIG_FILES components/Makefile" ;;
 
19308
    "components/editor/Makefile") CONFIG_FILES="$CONFIG_FILES components/editor/Makefile" ;;
 
19309
    "components/editor/gtkhtml-editor.pc") CONFIG_FILES="$CONFIG_FILES components/editor/gtkhtml-editor.pc" ;;
 
19310
    "gtkhtml/Makefile") CONFIG_FILES="$CONFIG_FILES gtkhtml/Makefile" ;;
 
19311
    "gtkhtml/libgtkhtml.pc") CONFIG_FILES="$CONFIG_FILES gtkhtml/libgtkhtml.pc" ;;
 
19312
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
19313
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
19314
 
 
19315
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
19316
  esac
 
19317
done
 
19318
 
 
19319
 
 
19320
# If the user did not use the arguments to specify the items to instantiate,
 
19321
# then the envvar interface is used.  Set only those that are not.
 
19322
# We use the long form for the default assignment because of an extremely
 
19323
# bizarre bug on SunOS 4.1.3.
 
19324
if $ac_need_defaults; then
 
19325
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
19326
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
19327
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
19328
fi
 
19329
 
 
19330
# Have a temporary directory for convenience.  Make it in the build tree
 
19331
# simply because there is no reason against having it here, and in addition,
 
19332
# creating and moving files from /tmp can sometimes cause problems.
 
19333
# Hook for its removal unless debugging.
 
19334
# Note that there is a small window in which the directory will not be cleaned:
 
19335
# after its creation but before its name has been assigned to `$tmp'.
 
19336
$debug ||
 
19337
{
 
19338
  tmp=
 
19339
  trap 'exit_status=$?
 
19340
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
19341
' 0
 
19342
  trap 'as_fn_exit 1' 1 2 13 15
 
19343
}
 
19344
# Create a (secure) tmp directory for tmp files.
 
19345
 
 
19346
{
 
19347
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
19348
  test -n "$tmp" && test -d "$tmp"
 
19349
}  ||
 
19350
{
 
19351
  tmp=./conf$$-$RANDOM
 
19352
  (umask 077 && mkdir "$tmp")
 
19353
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
19354
 
 
19355
# Set up the scripts for CONFIG_FILES section.
 
19356
# No need to generate them if there are no CONFIG_FILES.
 
19357
# This happens for instance with `./config.status config.h'.
 
19358
if test -n "$CONFIG_FILES"; then
 
19359
 
 
19360
 
 
19361
ac_cr=`echo X | tr X '\015'`
 
19362
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
19363
# But we know of no other shell where ac_cr would be empty at this
 
19364
# point, so we can use a bashism as a fallback.
 
19365
if test "x$ac_cr" = x; then
 
19366
  eval ac_cr=\$\'\\r\'
 
19367
fi
 
19368
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
19369
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
19370
  ac_cs_awk_cr='\r'
 
19371
else
 
19372
  ac_cs_awk_cr=$ac_cr
 
19373
fi
 
19374
 
 
19375
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
19376
_ACEOF
 
19377
 
 
19378
 
 
19379
{
 
19380
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
19381
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
19382
  echo "_ACEOF"
 
19383
} >conf$$subs.sh ||
 
19384
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19385
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
19386
ac_delim='%!_!# '
 
19387
for ac_last_try in false false false false false :; do
 
19388
  . ./conf$$subs.sh ||
 
19389
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19390
 
 
19391
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
19392
  if test $ac_delim_n = $ac_delim_num; then
 
19393
    break
 
19394
  elif $ac_last_try; then
 
19395
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19396
  else
 
19397
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19398
  fi
 
19399
done
 
19400
rm -f conf$$subs.sh
 
19401
 
 
19402
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19403
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
19404
_ACEOF
 
19405
sed -n '
 
19406
h
 
19407
s/^/S["/; s/!.*/"]=/
 
19408
p
 
19409
g
 
19410
s/^[^!]*!//
 
19411
:repl
 
19412
t repl
 
19413
s/'"$ac_delim"'$//
 
19414
t delim
 
19415
:nl
 
19416
h
 
19417
s/\(.\{148\}\)..*/\1/
 
19418
t more1
 
19419
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
19420
p
 
19421
n
 
19422
b repl
 
19423
:more1
 
19424
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
19425
p
 
19426
g
 
19427
s/.\{148\}//
 
19428
t nl
 
19429
:delim
 
19430
h
 
19431
s/\(.\{148\}\)..*/\1/
 
19432
t more2
 
19433
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
19434
p
 
19435
b
 
19436
:more2
 
19437
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
19438
p
 
19439
g
 
19440
s/.\{148\}//
 
19441
t delim
 
19442
' <conf$$subs.awk | sed '
 
19443
/^[^""]/{
 
19444
  N
 
19445
  s/\n//
 
19446
}
 
19447
' >>$CONFIG_STATUS || ac_write_fail=1
 
19448
rm -f conf$$subs.awk
 
19449
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19450
_ACAWK
 
19451
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
19452
  for (key in S) S_is_set[key] = 1
 
19453
  FS = ""
 
19454
 
 
19455
}
 
19456
{
 
19457
  line = $ 0
 
19458
  nfields = split(line, field, "@")
 
19459
  substed = 0
 
19460
  len = length(field[1])
 
19461
  for (i = 2; i < nfields; i++) {
 
19462
    key = field[i]
 
19463
    keylen = length(key)
 
19464
    if (S_is_set[key]) {
 
19465
      value = S[key]
 
19466
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
19467
      len += length(value) + length(field[++i])
 
19468
      substed = 1
 
19469
    } else
 
19470
      len += 1 + keylen
 
19471
  }
 
19472
 
 
19473
  print line
 
19474
}
 
19475
 
 
19476
_ACAWK
 
19477
_ACEOF
 
19478
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19479
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
19480
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
19481
else
 
19482
  cat
 
19483
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
19484
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
19485
_ACEOF
 
19486
 
 
19487
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
19488
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
19489
# trailing colons and then remove the whole line if VPATH becomes empty
 
19490
# (actually we leave an empty line to preserve line numbers).
 
19491
if test "x$srcdir" = x.; then
 
19492
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
19493
s/:*\$(srcdir):*/:/
 
19494
s/:*\${srcdir}:*/:/
 
19495
s/:*@srcdir@:*/:/
 
19496
s/^\([^=]*=[     ]*\):*/\1/
 
19497
s/:*$//
 
19498
s/^[^=]*=[       ]*$//
 
19499
}'
 
19500
fi
 
19501
 
 
19502
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19503
fi # test -n "$CONFIG_FILES"
 
19504
 
 
19505
# Set up the scripts for CONFIG_HEADERS section.
 
19506
# No need to generate them if there are no CONFIG_HEADERS.
 
19507
# This happens for instance with `./config.status Makefile'.
 
19508
if test -n "$CONFIG_HEADERS"; then
 
19509
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
19510
BEGIN {
 
19511
_ACEOF
 
19512
 
 
19513
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
19514
# here-document in config.status, that substitutes the proper values into
 
19515
# config.h.in to produce config.h.
 
19516
 
 
19517
# Create a delimiter string that does not exist in confdefs.h, to ease
 
19518
# handling of long lines.
 
19519
ac_delim='%!_!# '
 
19520
for ac_last_try in false false :; do
 
19521
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
19522
  if test -z "$ac_t"; then
 
19523
    break
 
19524
  elif $ac_last_try; then
 
19525
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
19526
  else
 
19527
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19528
  fi
 
19529
done
 
19530
 
 
19531
# For the awk script, D is an array of macro values keyed by name,
 
19532
# likewise P contains macro parameters if any.  Preserve backslash
 
19533
# newline sequences.
 
19534
 
 
19535
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
19536
sed -n '
 
19537
s/.\{148\}/&'"$ac_delim"'/g
 
19538
t rset
 
19539
:rset
 
19540
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
19541
t def
 
19542
d
 
19543
:def
 
19544
s/\\$//
 
19545
t bsnl
 
19546
s/["\\]/\\&/g
 
19547
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
19548
D["\1"]=" \3"/p
 
19549
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
19550
d
 
19551
:bsnl
 
19552
s/["\\]/\\&/g
 
19553
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
19554
D["\1"]=" \3\\\\\\n"\\/p
 
19555
t cont
 
19556
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
19557
t cont
 
19558
d
 
19559
:cont
 
19560
n
 
19561
s/.\{148\}/&'"$ac_delim"'/g
 
19562
t clear
 
19563
:clear
 
19564
s/\\$//
 
19565
t bsnlc
 
19566
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
19567
d
 
19568
:bsnlc
 
19569
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
19570
b cont
 
19571
' <confdefs.h | sed '
 
19572
s/'"$ac_delim"'/"\\\
 
19573
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
19574
 
 
19575
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19576
  for (key in D) D_is_set[key] = 1
 
19577
  FS = ""
 
19578
}
 
19579
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
19580
  line = \$ 0
 
19581
  split(line, arg, " ")
 
19582
  if (arg[1] == "#") {
 
19583
    defundef = arg[2]
 
19584
    mac1 = arg[3]
 
19585
  } else {
 
19586
    defundef = substr(arg[1], 2)
 
19587
    mac1 = arg[2]
 
19588
  }
 
19589
  split(mac1, mac2, "(") #)
 
19590
  macro = mac2[1]
 
19591
  prefix = substr(line, 1, index(line, defundef) - 1)
 
19592
  if (D_is_set[macro]) {
 
19593
    # Preserve the white space surrounding the "#".
 
19594
    print prefix "define", macro P[macro] D[macro]
 
19595
    next
 
19596
  } else {
 
19597
    # Replace #undef with comments.  This is necessary, for example,
 
19598
    # in the case of _POSIX_SOURCE, which is predefined and required
 
19599
    # on some systems where configure will not decide to define it.
 
19600
    if (defundef == "undef") {
 
19601
      print "/*", prefix defundef, macro, "*/"
 
19602
      next
 
19603
    }
 
19604
  }
 
19605
}
 
19606
{ print }
 
19607
_ACAWK
 
19608
_ACEOF
 
19609
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19610
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
19611
fi # test -n "$CONFIG_HEADERS"
 
19612
 
 
19613
 
 
19614
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
19615
shift
 
19616
for ac_tag
 
19617
do
 
19618
  case $ac_tag in
 
19619
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
19620
  esac
 
19621
  case $ac_mode$ac_tag in
 
19622
  :[FHL]*:*);;
 
19623
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
19624
  :[FH]-) ac_tag=-:-;;
 
19625
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
19626
  esac
 
19627
  ac_save_IFS=$IFS
 
19628
  IFS=:
 
19629
  set x $ac_tag
 
19630
  IFS=$ac_save_IFS
 
19631
  shift
 
19632
  ac_file=$1
 
19633
  shift
 
19634
 
 
19635
  case $ac_mode in
 
19636
  :L) ac_source=$1;;
 
19637
  :[FH])
 
19638
    ac_file_inputs=
 
19639
    for ac_f
 
19640
    do
 
19641
      case $ac_f in
 
19642
      -) ac_f="$tmp/stdin";;
 
19643
      *) # Look for the file first in the build tree, then in the source tree
 
19644
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
19645
         # because $ac_f cannot contain `:'.
 
19646
         test -f "$ac_f" ||
 
19647
           case $ac_f in
 
19648
           [\\/$]*) false;;
 
19649
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
19650
           esac ||
 
19651
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
19652
      esac
 
19653
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
19654
      as_fn_append ac_file_inputs " '$ac_f'"
 
19655
    done
 
19656
 
 
19657
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
19658
    # use $as_me), people would be surprised to read:
 
19659
    #    /* config.h.  Generated by config.status.  */
 
19660
    configure_input='Generated from '`
 
19661
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
19662
        `' by configure.'
 
19663
    if test x"$ac_file" != x-; then
 
19664
      configure_input="$ac_file.  $configure_input"
 
19665
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
19666
$as_echo "$as_me: creating $ac_file" >&6;}
 
19667
    fi
 
19668
    # Neutralize special characters interpreted by sed in replacement strings.
 
19669
    case $configure_input in #(
 
19670
    *\&* | *\|* | *\\* )
 
19671
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
19672
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
19673
    *) ac_sed_conf_input=$configure_input;;
 
19674
    esac
 
19675
 
 
19676
    case $ac_tag in
 
19677
    *:-:* | *:-) cat >"$tmp/stdin" \
 
19678
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
19679
    esac
 
19680
    ;;
 
19681
  esac
 
19682
 
 
19683
  ac_dir=`$as_dirname -- "$ac_file" ||
 
19684
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19685
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
19686
         X"$ac_file" : 'X\(//\)$' \| \
 
19687
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
19688
$as_echo X"$ac_file" |
 
19689
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19690
            s//\1/
 
19691
            q
 
19692
          }
 
19693
          /^X\(\/\/\)[^/].*/{
 
19694
            s//\1/
 
19695
            q
 
19696
          }
 
19697
          /^X\(\/\/\)$/{
 
19698
            s//\1/
 
19699
            q
 
19700
          }
 
19701
          /^X\(\/\).*/{
 
19702
            s//\1/
 
19703
            q
 
19704
          }
 
19705
          s/.*/./; q'`
 
19706
  as_dir="$ac_dir"; as_fn_mkdir_p
 
19707
  ac_builddir=.
 
19708
 
 
19709
case "$ac_dir" in
 
19710
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
19711
*)
 
19712
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
19713
  # A ".." for each directory in $ac_dir_suffix.
 
19714
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
19715
  case $ac_top_builddir_sub in
 
19716
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
19717
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
19718
  esac ;;
 
19719
esac
 
19720
ac_abs_top_builddir=$ac_pwd
 
19721
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
19722
# for backward compatibility:
 
19723
ac_top_builddir=$ac_top_build_prefix
 
19724
 
 
19725
case $srcdir in
 
19726
  .)  # We are building in place.
 
19727
    ac_srcdir=.
 
19728
    ac_top_srcdir=$ac_top_builddir_sub
 
19729
    ac_abs_top_srcdir=$ac_pwd ;;
 
19730
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
19731
    ac_srcdir=$srcdir$ac_dir_suffix;
 
19732
    ac_top_srcdir=$srcdir
 
19733
    ac_abs_top_srcdir=$srcdir ;;
 
19734
  *) # Relative name.
 
19735
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
19736
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
19737
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
19738
esac
 
19739
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
19740
 
 
19741
 
 
19742
  case $ac_mode in
 
19743
  :F)
 
19744
  #
 
19745
  # CONFIG_FILE
 
19746
  #
 
19747
 
 
19748
  case $INSTALL in
 
19749
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
19750
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
19751
  esac
 
19752
  ac_MKDIR_P=$MKDIR_P
 
19753
  case $MKDIR_P in
 
19754
  [\\/$]* | ?:[\\/]* ) ;;
 
19755
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
19756
  esac
 
19757
_ACEOF
 
19758
 
 
19759
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19760
# If the template does not know about datarootdir, expand it.
 
19761
# FIXME: This hack should be removed a few years after 2.60.
 
19762
ac_datarootdir_hack=; ac_datarootdir_seen=
 
19763
ac_sed_dataroot='
 
19764
/datarootdir/ {
 
19765
  p
 
19766
  q
 
19767
}
 
19768
/@datadir@/p
 
19769
/@docdir@/p
 
19770
/@infodir@/p
 
19771
/@localedir@/p
 
19772
/@mandir@/p'
 
19773
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
19774
*datarootdir*) ac_datarootdir_seen=yes;;
 
19775
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
19776
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
19777
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
19778
_ACEOF
 
19779
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19780
  ac_datarootdir_hack='
 
19781
  s&@datadir@&$datadir&g
 
19782
  s&@docdir@&$docdir&g
 
19783
  s&@infodir@&$infodir&g
 
19784
  s&@localedir@&$localedir&g
 
19785
  s&@mandir@&$mandir&g
 
19786
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
19787
esac
 
19788
_ACEOF
 
19789
 
 
19790
# Neutralize VPATH when `$srcdir' = `.'.
 
19791
# Shell code in configure.ac might set extrasub.
 
19792
# FIXME: do we really want to maintain this feature?
 
19793
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19794
ac_sed_extra="$ac_vpsub
 
19795
$extrasub
 
19796
_ACEOF
 
19797
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19798
:t
 
19799
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
19800
s|@configure_input@|$ac_sed_conf_input|;t t
 
19801
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
19802
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
19803
s&@srcdir@&$ac_srcdir&;t t
 
19804
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
19805
s&@top_srcdir@&$ac_top_srcdir&;t t
 
19806
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
19807
s&@builddir@&$ac_builddir&;t t
 
19808
s&@abs_builddir@&$ac_abs_builddir&;t t
 
19809
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
19810
s&@INSTALL@&$ac_INSTALL&;t t
 
19811
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
19812
$ac_datarootdir_hack
 
19813
"
 
19814
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
19815
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19816
 
 
19817
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
19818
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
19819
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
19820
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19821
which seems to be undefined.  Please make sure it is defined." >&5
 
19822
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19823
which seems to be undefined.  Please make sure it is defined." >&2;}
 
19824
 
 
19825
  rm -f "$tmp/stdin"
 
19826
  case $ac_file in
 
19827
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
19828
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
19829
  esac \
 
19830
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19831
 ;;
 
19832
  :H)
 
19833
  #
 
19834
  # CONFIG_HEADER
 
19835
  #
 
19836
  if test x"$ac_file" != x-; then
 
19837
    {
 
19838
      $as_echo "/* $configure_input  */" \
 
19839
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
19840
    } >"$tmp/config.h" \
 
19841
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19842
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
19843
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
19844
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
19845
    else
 
19846
      rm -f "$ac_file"
 
19847
      mv "$tmp/config.h" "$ac_file" \
 
19848
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19849
    fi
 
19850
  else
 
19851
    $as_echo "/* $configure_input  */" \
 
19852
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
19853
      || as_fn_error "could not create -" "$LINENO" 5
 
19854
  fi
 
19855
# Compute "$ac_file"'s index in $config_headers.
 
19856
_am_arg="$ac_file"
 
19857
_am_stamp_count=1
 
19858
for _am_header in $config_headers :; do
 
19859
  case $_am_header in
 
19860
    $_am_arg | $_am_arg:* )
 
19861
      break ;;
 
19862
    * )
 
19863
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
19864
  esac
 
19865
done
 
19866
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
19867
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19868
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
19869
         X"$_am_arg" : 'X\(//\)$' \| \
 
19870
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
19871
$as_echo X"$_am_arg" |
 
19872
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19873
            s//\1/
 
19874
            q
 
19875
          }
 
19876
          /^X\(\/\/\)[^/].*/{
 
19877
            s//\1/
 
19878
            q
 
19879
          }
 
19880
          /^X\(\/\/\)$/{
 
19881
            s//\1/
 
19882
            q
 
19883
          }
 
19884
          /^X\(\/\).*/{
 
19885
            s//\1/
 
19886
            q
 
19887
          }
 
19888
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
19889
 ;;
 
19890
 
 
19891
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
19892
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
19893
 ;;
 
19894
  esac
 
19895
 
 
19896
 
 
19897
  case $ac_file$ac_mode in
 
19898
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
19899
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
19900
  # are listed without --file.  Let's play safe and only enable the eval
 
19901
  # if we detect the quoting.
 
19902
  case $CONFIG_FILES in
 
19903
  *\'*) eval set x "$CONFIG_FILES" ;;
 
19904
  *)   set x $CONFIG_FILES ;;
 
19905
  esac
 
19906
  shift
 
19907
  for mf
 
19908
  do
 
19909
    # Strip MF so we end up with the name of the file.
 
19910
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
19911
    # Check whether this is an Automake generated Makefile or not.
 
19912
    # We used to match only the files named `Makefile.in', but
 
19913
    # some people rename them; so instead we look at the file content.
 
19914
    # Grep'ing the first line is not enough: some people post-process
 
19915
    # each Makefile.in and add a new line on top of each file to say so.
 
19916
    # Grep'ing the whole file is not good either: AIX grep has a line
 
19917
    # limit of 2048, but all sed's we know have understand at least 4000.
 
19918
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
19919
      dirpart=`$as_dirname -- "$mf" ||
 
19920
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19921
         X"$mf" : 'X\(//\)[^/]' \| \
 
19922
         X"$mf" : 'X\(//\)$' \| \
 
19923
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
19924
$as_echo X"$mf" |
 
19925
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19926
            s//\1/
 
19927
            q
 
19928
          }
 
19929
          /^X\(\/\/\)[^/].*/{
 
19930
            s//\1/
 
19931
            q
 
19932
          }
 
19933
          /^X\(\/\/\)$/{
 
19934
            s//\1/
 
19935
            q
 
19936
          }
 
19937
          /^X\(\/\).*/{
 
19938
            s//\1/
 
19939
            q
 
19940
          }
 
19941
          s/.*/./; q'`
 
19942
    else
 
19943
      continue
 
19944
    fi
 
19945
    # Extract the definition of DEPDIR, am__include, and am__quote
 
19946
    # from the Makefile without running `make'.
 
19947
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
19948
    test -z "$DEPDIR" && continue
 
19949
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
19950
    test -z "am__include" && continue
 
19951
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
19952
    # When using ansi2knr, U may be empty or an underscore; expand it
 
19953
    U=`sed -n 's/^U = //p' < "$mf"`
 
19954
    # Find all dependency output files, they are included files with
 
19955
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
19956
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
19957
    # expansion.
 
19958
    for file in `sed -n "
 
19959
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
19960
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
19961
      # Make sure the directory exists.
 
19962
      test -f "$dirpart/$file" && continue
 
19963
      fdir=`$as_dirname -- "$file" ||
 
19964
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19965
         X"$file" : 'X\(//\)[^/]' \| \
 
19966
         X"$file" : 'X\(//\)$' \| \
 
19967
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
19968
$as_echo X"$file" |
 
19969
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19970
            s//\1/
 
19971
            q
 
19972
          }
 
19973
          /^X\(\/\/\)[^/].*/{
 
19974
            s//\1/
 
19975
            q
 
19976
          }
 
19977
          /^X\(\/\/\)$/{
 
19978
            s//\1/
 
19979
            q
 
19980
          }
 
19981
          /^X\(\/\).*/{
 
19982
            s//\1/
 
19983
            q
 
19984
          }
 
19985
          s/.*/./; q'`
 
19986
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
19987
      # echo "creating $dirpart/$file"
 
19988
      echo '# dummy' > "$dirpart/$file"
 
19989
    done
 
19990
  done
 
19991
}
 
19992
 ;;
 
19993
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
19994
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
19995
      esac ;;
 
19996
    "libtool":C)
 
19997
 
 
19998
    # See if we are running on zsh, and set the options which allow our
 
19999
    # commands through without removal of \ escapes.
 
20000
    if test -n "${ZSH_VERSION+set}" ; then
 
20001
      setopt NO_GLOB_SUBST
 
20002
    fi
 
20003
 
 
20004
    cfgfile="${ofile}T"
 
20005
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
20006
    $RM "$cfgfile"
 
20007
 
 
20008
    cat <<_LT_EOF >> "$cfgfile"
 
20009
#! $SHELL
 
20010
 
 
20011
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
20012
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
20013
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
20014
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
20015
#
 
20016
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
20017
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
20018
#   Written by Gordon Matzigkeit, 1996
 
20019
#
 
20020
#   This file is part of GNU Libtool.
 
20021
#
 
20022
# GNU Libtool is free software; you can redistribute it and/or
 
20023
# modify it under the terms of the GNU General Public License as
 
20024
# published by the Free Software Foundation; either version 2 of
 
20025
# the License, or (at your option) any later version.
 
20026
#
 
20027
# As a special exception to the GNU General Public License,
 
20028
# if you distribute this file as part of a program or library that
 
20029
# is built using GNU Libtool, you may include this file under the
 
20030
# same distribution terms that you use for the rest of that program.
 
20031
#
 
20032
# GNU Libtool is distributed in the hope that it will be useful,
 
20033
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20034
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20035
# GNU General Public License for more details.
 
20036
#
 
20037
# You should have received a copy of the GNU General Public License
 
20038
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
20039
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
20040
# obtained by writing to the Free Software Foundation, Inc.,
 
20041
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
20042
 
 
20043
 
 
20044
# The names of the tagged configurations supported by this script.
 
20045
available_tags="CXX "
 
20046
 
 
20047
# ### BEGIN LIBTOOL CONFIG
 
20048
 
 
20049
# Which release of libtool.m4 was used?
 
20050
macro_version=$macro_version
 
20051
macro_revision=$macro_revision
 
20052
 
 
20053
# Whether or not to build static libraries.
 
20054
build_old_libs=$enable_static
 
20055
 
 
20056
# Assembler program.
 
20057
AS=$AS
 
20058
 
 
20059
# DLL creation program.
 
20060
DLLTOOL=$DLLTOOL
 
20061
 
 
20062
# Object dumper program.
 
20063
OBJDUMP=$OBJDUMP
 
20064
 
 
20065
# Whether or not to build shared libraries.
 
20066
build_libtool_libs=$enable_shared
 
20067
 
 
20068
# What type of objects to build.
 
20069
pic_mode=$pic_mode
 
20070
 
 
20071
# Whether or not to optimize for fast installation.
 
20072
fast_install=$enable_fast_install
 
20073
 
 
20074
# The host system.
 
20075
host_alias=$host_alias
 
20076
host=$host
 
20077
host_os=$host_os
 
20078
 
 
20079
# The build system.
 
20080
build_alias=$build_alias
 
20081
build=$build
 
20082
build_os=$build_os
 
20083
 
 
20084
# A sed program that does not truncate output.
 
20085
SED=$lt_SED
 
20086
 
 
20087
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
20088
Xsed="\$SED -e 1s/^X//"
 
20089
 
 
20090
# A grep program that handles long lines.
 
20091
GREP=$lt_GREP
 
20092
 
 
20093
# An ERE matcher.
 
20094
EGREP=$lt_EGREP
 
20095
 
 
20096
# A literal string matcher.
 
20097
FGREP=$lt_FGREP
 
20098
 
 
20099
# A BSD- or MS-compatible name lister.
 
20100
NM=$lt_NM
 
20101
 
 
20102
# Whether we need soft or hard links.
 
20103
LN_S=$lt_LN_S
 
20104
 
 
20105
# What is the maximum length of a command?
 
20106
max_cmd_len=$max_cmd_len
 
20107
 
 
20108
# Object file suffix (normally "o").
 
20109
objext=$ac_objext
 
20110
 
 
20111
# Executable file suffix (normally "").
 
20112
exeext=$exeext
 
20113
 
 
20114
# whether the shell understands "unset".
 
20115
lt_unset=$lt_unset
 
20116
 
 
20117
# turn spaces into newlines.
 
20118
SP2NL=$lt_lt_SP2NL
 
20119
 
 
20120
# turn newlines into spaces.
 
20121
NL2SP=$lt_lt_NL2SP
 
20122
 
 
20123
# How to create reloadable object files.
 
20124
reload_flag=$lt_reload_flag
 
20125
reload_cmds=$lt_reload_cmds
 
20126
 
 
20127
# Method to check whether dependent libraries are shared objects.
 
20128
deplibs_check_method=$lt_deplibs_check_method
 
20129
 
 
20130
# Command to use when deplibs_check_method == "file_magic".
 
20131
file_magic_cmd=$lt_file_magic_cmd
 
20132
 
 
20133
# The archiver.
 
20134
AR=$lt_AR
 
20135
AR_FLAGS=$lt_AR_FLAGS
 
20136
 
 
20137
# A symbol stripping program.
 
20138
STRIP=$lt_STRIP
 
20139
 
 
20140
# Commands used to install an old-style archive.
 
20141
RANLIB=$lt_RANLIB
 
20142
old_postinstall_cmds=$lt_old_postinstall_cmds
 
20143
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
20144
 
 
20145
# A C compiler.
 
20146
LTCC=$lt_CC
 
20147
 
 
20148
# LTCC compiler flags.
 
20149
LTCFLAGS=$lt_CFLAGS
 
20150
 
 
20151
# Take the output of nm and produce a listing of raw symbols and C names.
 
20152
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
20153
 
 
20154
# Transform the output of nm in a proper C declaration.
 
20155
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
20156
 
 
20157
# Transform the output of nm in a C name address pair.
 
20158
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
20159
 
 
20160
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
20161
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
20162
 
 
20163
# The name of the directory that contains temporary libtool files.
 
20164
objdir=$objdir
 
20165
 
 
20166
# Shell to use when invoking shell scripts.
 
20167
SHELL=$lt_SHELL
 
20168
 
 
20169
# An echo program that does not interpret backslashes.
 
20170
ECHO=$lt_ECHO
 
20171
 
 
20172
# Used to examine libraries when file_magic_cmd begins with "file".
 
20173
MAGIC_CMD=$MAGIC_CMD
 
20174
 
 
20175
# Must we lock files when doing compilation?
 
20176
need_locks=$lt_need_locks
 
20177
 
 
20178
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
20179
DSYMUTIL=$lt_DSYMUTIL
 
20180
 
 
20181
# Tool to change global to local symbols on Mac OS X.
 
20182
NMEDIT=$lt_NMEDIT
 
20183
 
 
20184
# Tool to manipulate fat objects and archives on Mac OS X.
 
20185
LIPO=$lt_LIPO
 
20186
 
 
20187
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
20188
OTOOL=$lt_OTOOL
 
20189
 
 
20190
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
20191
OTOOL64=$lt_OTOOL64
 
20192
 
 
20193
# Old archive suffix (normally "a").
 
20194
libext=$libext
 
20195
 
 
20196
# Shared library suffix (normally ".so").
 
20197
shrext_cmds=$lt_shrext_cmds
 
20198
 
 
20199
# The commands to extract the exported symbol list from a shared archive.
 
20200
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
20201
 
 
20202
# Variables whose values should be saved in libtool wrapper scripts and
 
20203
# restored at link time.
 
20204
variables_saved_for_relink=$lt_variables_saved_for_relink
 
20205
 
 
20206
# Do we need the "lib" prefix for modules?
 
20207
need_lib_prefix=$need_lib_prefix
 
20208
 
 
20209
# Do we need a version for libraries?
 
20210
need_version=$need_version
 
20211
 
 
20212
# Library versioning type.
 
20213
version_type=$version_type
 
20214
 
 
20215
# Shared library runtime path variable.
 
20216
runpath_var=$runpath_var
 
20217
 
 
20218
# Shared library path variable.
 
20219
shlibpath_var=$shlibpath_var
 
20220
 
 
20221
# Is shlibpath searched before the hard-coded library search path?
 
20222
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
20223
 
 
20224
# Format of library name prefix.
 
20225
libname_spec=$lt_libname_spec
 
20226
 
 
20227
# List of archive names.  First name is the real one, the rest are links.
 
20228
# The last name is the one that the linker finds with -lNAME
 
20229
library_names_spec=$lt_library_names_spec
 
20230
 
 
20231
# The coded name of the library, if different from the real name.
 
20232
soname_spec=$lt_soname_spec
 
20233
 
 
20234
# Command to use after installation of a shared archive.
 
20235
postinstall_cmds=$lt_postinstall_cmds
 
20236
 
 
20237
# Command to use after uninstallation of a shared archive.
 
20238
postuninstall_cmds=$lt_postuninstall_cmds
 
20239
 
 
20240
# Commands used to finish a libtool library installation in a directory.
 
20241
finish_cmds=$lt_finish_cmds
 
20242
 
 
20243
# As "finish_cmds", except a single script fragment to be evaled but
 
20244
# not shown.
 
20245
finish_eval=$lt_finish_eval
 
20246
 
 
20247
# Whether we should hardcode library paths into libraries.
 
20248
hardcode_into_libs=$hardcode_into_libs
 
20249
 
 
20250
# Compile-time system search path for libraries.
 
20251
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
20252
 
 
20253
# Run-time system search path for libraries.
 
20254
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
20255
 
 
20256
# Whether dlopen is supported.
 
20257
dlopen_support=$enable_dlopen
 
20258
 
 
20259
# Whether dlopen of programs is supported.
 
20260
dlopen_self=$enable_dlopen_self
 
20261
 
 
20262
# Whether dlopen of statically linked programs is supported.
 
20263
dlopen_self_static=$enable_dlopen_self_static
 
20264
 
 
20265
# Commands to strip libraries.
 
20266
old_striplib=$lt_old_striplib
 
20267
striplib=$lt_striplib
 
20268
 
 
20269
 
 
20270
# The linker used to build libraries.
 
20271
LD=$lt_LD
 
20272
 
 
20273
# Commands used to build an old-style archive.
 
20274
old_archive_cmds=$lt_old_archive_cmds
 
20275
 
 
20276
# A language specific compiler.
 
20277
CC=$lt_compiler
 
20278
 
 
20279
# Is the compiler the GNU compiler?
 
20280
with_gcc=$GCC
 
20281
 
 
20282
# Compiler flag to turn off builtin functions.
 
20283
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
20284
 
 
20285
# How to pass a linker flag through the compiler.
 
20286
wl=$lt_lt_prog_compiler_wl
 
20287
 
 
20288
# Additional compiler flags for building library objects.
 
20289
pic_flag=$lt_lt_prog_compiler_pic
 
20290
 
 
20291
# Compiler flag to prevent dynamic linking.
 
20292
link_static_flag=$lt_lt_prog_compiler_static
 
20293
 
 
20294
# Does compiler simultaneously support -c and -o options?
 
20295
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
20296
 
 
20297
# Whether or not to add -lc for building shared libraries.
 
20298
build_libtool_need_lc=$archive_cmds_need_lc
 
20299
 
 
20300
# Whether or not to disallow shared libs when runtime libs are static.
 
20301
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
20302
 
 
20303
# Compiler flag to allow reflexive dlopens.
 
20304
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
20305
 
 
20306
# Compiler flag to generate shared objects directly from archives.
 
20307
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
20308
 
 
20309
# Whether the compiler copes with passing no objects directly.
 
20310
compiler_needs_object=$lt_compiler_needs_object
 
20311
 
 
20312
# Create an old-style archive from a shared archive.
 
20313
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
20314
 
 
20315
# Create a temporary old-style archive to link instead of a shared archive.
 
20316
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
20317
 
 
20318
# Commands used to build a shared archive.
 
20319
archive_cmds=$lt_archive_cmds
 
20320
archive_expsym_cmds=$lt_archive_expsym_cmds
 
20321
 
 
20322
# Commands used to build a loadable module if different from building
 
20323
# a shared archive.
 
20324
module_cmds=$lt_module_cmds
 
20325
module_expsym_cmds=$lt_module_expsym_cmds
 
20326
 
 
20327
# Whether we are building with GNU ld or not.
 
20328
with_gnu_ld=$lt_with_gnu_ld
 
20329
 
 
20330
# Flag that allows shared libraries with undefined symbols to be built.
 
20331
allow_undefined_flag=$lt_allow_undefined_flag
 
20332
 
 
20333
# Flag that enforces no undefined symbols.
 
20334
no_undefined_flag=$lt_no_undefined_flag
 
20335
 
 
20336
# Flag to hardcode \$libdir into a binary during linking.
 
20337
# This must work even if \$libdir does not exist
 
20338
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
20339
 
 
20340
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
20341
# during linking.  This must work even if \$libdir does not exist.
 
20342
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
20343
 
 
20344
# Whether we need a single "-rpath" flag with a separated argument.
 
20345
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
20346
 
 
20347
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20348
# DIR into the resulting binary.
 
20349
hardcode_direct=$hardcode_direct
 
20350
 
 
20351
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20352
# DIR into the resulting binary and the resulting library dependency is
 
20353
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
20354
# library is relocated.
 
20355
hardcode_direct_absolute=$hardcode_direct_absolute
 
20356
 
 
20357
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
20358
# into the resulting binary.
 
20359
hardcode_minus_L=$hardcode_minus_L
 
20360
 
 
20361
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
20362
# into the resulting binary.
 
20363
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
20364
 
 
20365
# Set to "yes" if building a shared library automatically hardcodes DIR
 
20366
# into the library and all subsequent libraries and executables linked
 
20367
# against it.
 
20368
hardcode_automatic=$hardcode_automatic
 
20369
 
 
20370
# Set to yes if linker adds runtime paths of dependent libraries
 
20371
# to runtime path list.
 
20372
inherit_rpath=$inherit_rpath
 
20373
 
 
20374
# Whether libtool must link a program against all its dependency libraries.
 
20375
link_all_deplibs=$link_all_deplibs
 
20376
 
 
20377
# Fix the shell variable \$srcfile for the compiler.
 
20378
fix_srcfile_path=$lt_fix_srcfile_path
 
20379
 
 
20380
# Set to "yes" if exported symbols are required.
 
20381
always_export_symbols=$always_export_symbols
 
20382
 
 
20383
# The commands to list exported symbols.
 
20384
export_symbols_cmds=$lt_export_symbols_cmds
 
20385
 
 
20386
# Symbols that should not be listed in the preloaded symbols.
 
20387
exclude_expsyms=$lt_exclude_expsyms
 
20388
 
 
20389
# Symbols that must always be exported.
 
20390
include_expsyms=$lt_include_expsyms
 
20391
 
 
20392
# Commands necessary for linking programs (against libraries) with templates.
 
20393
prelink_cmds=$lt_prelink_cmds
 
20394
 
 
20395
# Specify filename containing input files.
 
20396
file_list_spec=$lt_file_list_spec
 
20397
 
 
20398
# How to hardcode a shared library path into an executable.
 
20399
hardcode_action=$hardcode_action
 
20400
 
 
20401
# The directories searched by this compiler when creating a shared library.
 
20402
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
20403
 
 
20404
# Dependencies to place before and after the objects being linked to
 
20405
# create a shared library.
 
20406
predep_objects=$lt_predep_objects
 
20407
postdep_objects=$lt_postdep_objects
 
20408
predeps=$lt_predeps
 
20409
postdeps=$lt_postdeps
 
20410
 
 
20411
# The library search path used internally by the compiler when linking
 
20412
# a shared library.
 
20413
compiler_lib_search_path=$lt_compiler_lib_search_path
 
20414
 
 
20415
# ### END LIBTOOL CONFIG
 
20416
 
 
20417
_LT_EOF
 
20418
 
 
20419
  case $host_os in
 
20420
  aix3*)
 
20421
    cat <<\_LT_EOF >> "$cfgfile"
 
20422
# AIX sometimes has problems with the GCC collect2 program.  For some
 
20423
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
20424
# vanish in a puff of smoke.
 
20425
if test "X${COLLECT_NAMES+set}" != Xset; then
 
20426
  COLLECT_NAMES=
 
20427
  export COLLECT_NAMES
 
20428
fi
 
20429
_LT_EOF
 
20430
    ;;
 
20431
  esac
 
20432
 
 
20433
 
 
20434
ltmain="$ac_aux_dir/ltmain.sh"
 
20435
 
 
20436
 
 
20437
  # We use sed instead of cat because bash on DJGPP gets confused if
 
20438
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
20439
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
20440
  # is reportedly fixed, but why not run on old versions too?
 
20441
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
20442
    || (rm -f "$cfgfile"; exit 1)
 
20443
 
 
20444
  case $xsi_shell in
 
20445
  yes)
 
20446
    cat << \_LT_EOF >> "$cfgfile"
 
20447
 
 
20448
# func_dirname file append nondir_replacement
 
20449
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20450
# otherwise set result to NONDIR_REPLACEMENT.
 
20451
func_dirname ()
 
20452
{
 
20453
  case ${1} in
 
20454
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20455
    *  ) func_dirname_result="${3}" ;;
 
20456
  esac
 
20457
}
 
20458
 
 
20459
# func_basename file
 
20460
func_basename ()
 
20461
{
 
20462
  func_basename_result="${1##*/}"
 
20463
}
 
20464
 
 
20465
# func_dirname_and_basename file append nondir_replacement
 
20466
# perform func_basename and func_dirname in a single function
 
20467
# call:
 
20468
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
20469
#             add APPEND to the result, otherwise set result
 
20470
#             to NONDIR_REPLACEMENT.
 
20471
#             value returned in "$func_dirname_result"
 
20472
#   basename: Compute filename of FILE.
 
20473
#             value retuned in "$func_basename_result"
 
20474
# Implementation must be kept synchronized with func_dirname
 
20475
# and func_basename. For efficiency, we do not delegate to
 
20476
# those functions but instead duplicate the functionality here.
 
20477
func_dirname_and_basename ()
 
20478
{
 
20479
  case ${1} in
 
20480
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20481
    *  ) func_dirname_result="${3}" ;;
 
20482
  esac
 
20483
  func_basename_result="${1##*/}"
 
20484
}
 
20485
 
 
20486
# func_stripname prefix suffix name
 
20487
# strip PREFIX and SUFFIX off of NAME.
 
20488
# PREFIX and SUFFIX must not contain globbing or regex special
 
20489
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20490
# dot (in which case that matches only a dot).
 
20491
func_stripname ()
 
20492
{
 
20493
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
20494
  # positional parameters, so assign one to ordinary parameter first.
 
20495
  func_stripname_result=${3}
 
20496
  func_stripname_result=${func_stripname_result#"${1}"}
 
20497
  func_stripname_result=${func_stripname_result%"${2}"}
 
20498
}
 
20499
 
 
20500
# func_opt_split
 
20501
func_opt_split ()
 
20502
{
 
20503
  func_opt_split_opt=${1%%=*}
 
20504
  func_opt_split_arg=${1#*=}
 
20505
}
 
20506
 
 
20507
# func_lo2o object
 
20508
func_lo2o ()
 
20509
{
 
20510
  case ${1} in
 
20511
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
20512
    *)    func_lo2o_result=${1} ;;
 
20513
  esac
 
20514
}
 
20515
 
 
20516
# func_xform libobj-or-source
 
20517
func_xform ()
 
20518
{
 
20519
  func_xform_result=${1%.*}.lo
 
20520
}
 
20521
 
 
20522
# func_arith arithmetic-term...
 
20523
func_arith ()
 
20524
{
 
20525
  func_arith_result=$(( $* ))
 
20526
}
 
20527
 
 
20528
# func_len string
 
20529
# STRING may not start with a hyphen.
 
20530
func_len ()
 
20531
{
 
20532
  func_len_result=${#1}
 
20533
}
 
20534
 
 
20535
_LT_EOF
 
20536
    ;;
 
20537
  *) # Bourne compatible functions.
 
20538
    cat << \_LT_EOF >> "$cfgfile"
 
20539
 
 
20540
# func_dirname file append nondir_replacement
 
20541
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20542
# otherwise set result to NONDIR_REPLACEMENT.
 
20543
func_dirname ()
 
20544
{
 
20545
  # Extract subdirectory from the argument.
 
20546
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
20547
  if test "X$func_dirname_result" = "X${1}"; then
 
20548
    func_dirname_result="${3}"
 
20549
  else
 
20550
    func_dirname_result="$func_dirname_result${2}"
 
20551
  fi
 
20552
}
 
20553
 
 
20554
# func_basename file
 
20555
func_basename ()
 
20556
{
 
20557
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
20558
}
 
20559
 
 
20560
 
 
20561
# func_stripname prefix suffix name
 
20562
# strip PREFIX and SUFFIX off of NAME.
 
20563
# PREFIX and SUFFIX must not contain globbing or regex special
 
20564
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20565
# dot (in which case that matches only a dot).
 
20566
# func_strip_suffix prefix name
 
20567
func_stripname ()
 
20568
{
 
20569
  case ${2} in
 
20570
    .*) func_stripname_result=`$ECHO "X${3}" \
 
20571
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
20572
    *)  func_stripname_result=`$ECHO "X${3}" \
 
20573
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
20574
  esac
 
20575
}
 
20576
 
 
20577
# sed scripts:
 
20578
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
20579
my_sed_long_arg='1s/^-[^=]*=//'
 
20580
 
 
20581
# func_opt_split
 
20582
func_opt_split ()
 
20583
{
 
20584
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
20585
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
20586
}
 
20587
 
 
20588
# func_lo2o object
 
20589
func_lo2o ()
 
20590
{
 
20591
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
20592
}
 
20593
 
 
20594
# func_xform libobj-or-source
 
20595
func_xform ()
 
20596
{
 
20597
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
20598
}
 
20599
 
 
20600
# func_arith arithmetic-term...
 
20601
func_arith ()
 
20602
{
 
20603
  func_arith_result=`expr "$@"`
 
20604
}
 
20605
 
 
20606
# func_len string
 
20607
# STRING may not start with a hyphen.
 
20608
func_len ()
 
20609
{
 
20610
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
20611
}
 
20612
 
 
20613
_LT_EOF
 
20614
esac
 
20615
 
 
20616
case $lt_shell_append in
 
20617
  yes)
 
20618
    cat << \_LT_EOF >> "$cfgfile"
 
20619
 
 
20620
# func_append var value
 
20621
# Append VALUE to the end of shell variable VAR.
 
20622
func_append ()
 
20623
{
 
20624
  eval "$1+=\$2"
 
20625
}
 
20626
_LT_EOF
 
20627
    ;;
 
20628
  *)
 
20629
    cat << \_LT_EOF >> "$cfgfile"
 
20630
 
 
20631
# func_append var value
 
20632
# Append VALUE to the end of shell variable VAR.
 
20633
func_append ()
 
20634
{
 
20635
  eval "$1=\$$1\$2"
 
20636
}
 
20637
 
 
20638
_LT_EOF
 
20639
    ;;
 
20640
  esac
 
20641
 
 
20642
 
 
20643
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
20644
    || (rm -f "$cfgfile"; exit 1)
 
20645
 
 
20646
  mv -f "$cfgfile" "$ofile" ||
 
20647
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
20648
  chmod +x "$ofile"
 
20649
 
 
20650
 
 
20651
    cat <<_LT_EOF >> "$ofile"
 
20652
 
 
20653
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
20654
 
 
20655
# The linker used to build libraries.
 
20656
LD=$lt_LD_CXX
 
20657
 
 
20658
# Commands used to build an old-style archive.
 
20659
old_archive_cmds=$lt_old_archive_cmds_CXX
 
20660
 
 
20661
# A language specific compiler.
 
20662
CC=$lt_compiler_CXX
 
20663
 
 
20664
# Is the compiler the GNU compiler?
 
20665
with_gcc=$GCC_CXX
 
20666
 
 
20667
# Compiler flag to turn off builtin functions.
 
20668
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
20669
 
 
20670
# How to pass a linker flag through the compiler.
 
20671
wl=$lt_lt_prog_compiler_wl_CXX
 
20672
 
 
20673
# Additional compiler flags for building library objects.
 
20674
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
20675
 
 
20676
# Compiler flag to prevent dynamic linking.
 
20677
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
20678
 
 
20679
# Does compiler simultaneously support -c and -o options?
 
20680
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
20681
 
 
20682
# Whether or not to add -lc for building shared libraries.
 
20683
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
20684
 
 
20685
# Whether or not to disallow shared libs when runtime libs are static.
 
20686
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
20687
 
 
20688
# Compiler flag to allow reflexive dlopens.
 
20689
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
20690
 
 
20691
# Compiler flag to generate shared objects directly from archives.
 
20692
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
20693
 
 
20694
# Whether the compiler copes with passing no objects directly.
 
20695
compiler_needs_object=$lt_compiler_needs_object_CXX
 
20696
 
 
20697
# Create an old-style archive from a shared archive.
 
20698
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
20699
 
 
20700
# Create a temporary old-style archive to link instead of a shared archive.
 
20701
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
20702
 
 
20703
# Commands used to build a shared archive.
 
20704
archive_cmds=$lt_archive_cmds_CXX
 
20705
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
20706
 
 
20707
# Commands used to build a loadable module if different from building
 
20708
# a shared archive.
 
20709
module_cmds=$lt_module_cmds_CXX
 
20710
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
20711
 
 
20712
# Whether we are building with GNU ld or not.
 
20713
with_gnu_ld=$lt_with_gnu_ld_CXX
 
20714
 
 
20715
# Flag that allows shared libraries with undefined symbols to be built.
 
20716
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
20717
 
 
20718
# Flag that enforces no undefined symbols.
 
20719
no_undefined_flag=$lt_no_undefined_flag_CXX
 
20720
 
 
20721
# Flag to hardcode \$libdir into a binary during linking.
 
20722
# This must work even if \$libdir does not exist
 
20723
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
20724
 
 
20725
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
20726
# during linking.  This must work even if \$libdir does not exist.
 
20727
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
20728
 
 
20729
# Whether we need a single "-rpath" flag with a separated argument.
 
20730
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
20731
 
 
20732
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20733
# DIR into the resulting binary.
 
20734
hardcode_direct=$hardcode_direct_CXX
 
20735
 
 
20736
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20737
# DIR into the resulting binary and the resulting library dependency is
 
20738
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
20739
# library is relocated.
 
20740
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
20741
 
 
20742
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
20743
# into the resulting binary.
 
20744
hardcode_minus_L=$hardcode_minus_L_CXX
 
20745
 
 
20746
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
20747
# into the resulting binary.
 
20748
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
20749
 
 
20750
# Set to "yes" if building a shared library automatically hardcodes DIR
 
20751
# into the library and all subsequent libraries and executables linked
 
20752
# against it.
 
20753
hardcode_automatic=$hardcode_automatic_CXX
 
20754
 
 
20755
# Set to yes if linker adds runtime paths of dependent libraries
 
20756
# to runtime path list.
 
20757
inherit_rpath=$inherit_rpath_CXX
 
20758
 
 
20759
# Whether libtool must link a program against all its dependency libraries.
 
20760
link_all_deplibs=$link_all_deplibs_CXX
 
20761
 
 
20762
# Fix the shell variable \$srcfile for the compiler.
 
20763
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
20764
 
 
20765
# Set to "yes" if exported symbols are required.
 
20766
always_export_symbols=$always_export_symbols_CXX
 
20767
 
 
20768
# The commands to list exported symbols.
 
20769
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
20770
 
 
20771
# Symbols that should not be listed in the preloaded symbols.
 
20772
exclude_expsyms=$lt_exclude_expsyms_CXX
 
20773
 
 
20774
# Symbols that must always be exported.
 
20775
include_expsyms=$lt_include_expsyms_CXX
 
20776
 
 
20777
# Commands necessary for linking programs (against libraries) with templates.
 
20778
prelink_cmds=$lt_prelink_cmds_CXX
 
20779
 
 
20780
# Specify filename containing input files.
 
20781
file_list_spec=$lt_file_list_spec_CXX
 
20782
 
 
20783
# How to hardcode a shared library path into an executable.
 
20784
hardcode_action=$hardcode_action_CXX
 
20785
 
 
20786
# The directories searched by this compiler when creating a shared library.
 
20787
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
20788
 
 
20789
# Dependencies to place before and after the objects being linked to
 
20790
# create a shared library.
 
20791
predep_objects=$lt_predep_objects_CXX
 
20792
postdep_objects=$lt_postdep_objects_CXX
 
20793
predeps=$lt_predeps_CXX
 
20794
postdeps=$lt_postdeps_CXX
 
20795
 
 
20796
# The library search path used internally by the compiler when linking
 
20797
# a shared library.
 
20798
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
20799
 
 
20800
# ### END LIBTOOL TAG CONFIG: CXX
 
20801
_LT_EOF
 
20802
 
 
20803
 ;;
 
20804
    "po/stamp-it":C)
 
20805
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
20806
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
20807
    fi
 
20808
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
20809
    >"po/stamp-it.tmp"
 
20810
    sed '/^#/d
 
20811
         s/^[[].*] *//
 
20812
         /^[    ]*$/d
 
20813
        '"s|^|  $ac_top_srcdir/|" \
 
20814
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
20815
 
 
20816
    sed '/^POTFILES =/,/[^\\]$/ {
 
20817
                /^POTFILES =/!d
 
20818
                r po/POTFILES
 
20819
          }
 
20820
         ' "po/Makefile.in" >"po/Makefile"
 
20821
    rm -f "po/Makefile.tmp"
 
20822
    mv "po/stamp-it.tmp" "po/stamp-it"
 
20823
   ;;
 
20824
 
 
20825
  esac
 
20826
done # for ac_tag
 
20827
 
 
20828
 
 
20829
as_fn_exit 0
 
20830
_ACEOF
 
20831
ac_clean_files=$ac_clean_files_save
 
20832
 
 
20833
test $ac_write_fail = 0 ||
 
20834
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
20835
 
 
20836
 
 
20837
# configure is writing to config.log, and then calls config.status.
 
20838
# config.status does its own redirection, appending to config.log.
 
20839
# Unfortunately, on DOS this fails, as config.log is still kept open
 
20840
# by configure, so config.status won't be able to write to it; its
 
20841
# output is simply discarded.  So we exec the FD to /dev/null,
 
20842
# effectively closing config.log, so it can be properly (re)opened and
 
20843
# appended to by config.status.  When coming back to configure, we
 
20844
# need to make the FD available again.
 
20845
if test "$no_create" != yes; then
 
20846
  ac_cs_success=:
 
20847
  ac_config_status_args=
 
20848
  test "$silent" = yes &&
 
20849
    ac_config_status_args="$ac_config_status_args --quiet"
 
20850
  exec 5>/dev/null
 
20851
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
20852
  exec 5>>config.log
 
20853
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
20854
  # would make configure fail if this is the last instruction.
 
20855
  $ac_cs_success || as_fn_exit $?
 
20856
fi
 
20857
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
20858
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
20859
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
20860
fi
 
20861
 
 
20862
 
 
20863
echo "
 
20864
Configuration:
 
20865
 
 
20866
        Cookies support in soup :               ${HAVE_NEWSOUP}
 
20867
        Editor component type   :               ${GNOME_GTKHTML_EDITOR_TYPE}
 
20868
"