~ubuntu-branches/ubuntu/oneiric/gnome-system-monitor/oneiric-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-06-21 16:49:23 UTC
  • mto: (2.1.7 sid) (1.1.59 upstream)
  • mto: This revision was merged to the branch mainline in revision 78.
  • Revision ID: james.westby@ubuntu.com-20110621164923-o6titd2srek1uh84
Tags: upstream-3.0.1
ImportĀ upstreamĀ versionĀ 3.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.63 for gnome-system-monitor 2.28.1.
 
3
# Generated by GNU Autoconf 2.68 for gnome-system-monitor 3.0.1.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
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
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
185
test \$(( 1 + 1 )) = 2 || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
177
187
  as_have_required=yes
178
188
else
179
189
  as_have_required=no
180
190
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
243
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
197
do
245
198
  IFS=$as_save_IFS
246
199
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
200
  as_found=:
 
201
  case $as_dir in #(
248
202
         /*)
249
203
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
251
213
           done;;
252
214
       esac
 
215
  as_found=false
253
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
254
221
IFS=$as_save_IFS
255
222
 
256
223
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
232
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor
 
251
$0: about your system, including any error possibly output
 
252
$0: before this message. Then install a modern shell, or
 
253
$0: manually run the script under such a shell if you do
 
254
$0: have one."
 
255
  fi
 
256
  exit 1
 
257
fi
 
258
fi
 
259
fi
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
export SHELL
 
262
# Unset more variables known to interfere with behavior of common tools.
 
263
CLICOLOR_FORCE= GREP_OPTIONS=
 
264
unset CLICOLOR_FORCE GREP_OPTIONS
 
265
 
 
266
## --------------------- ##
 
267
## M4sh Shell Functions. ##
 
268
## --------------------- ##
 
269
# as_fn_unset VAR
 
270
# ---------------
 
271
# Portably unset VAR.
 
272
as_fn_unset ()
 
273
{
 
274
  { eval $1=; unset $1;}
 
275
}
 
276
as_unset=as_fn_unset
 
277
 
 
278
# as_fn_set_status STATUS
 
279
# -----------------------
 
280
# Set $? to STATUS, without forking.
 
281
as_fn_set_status ()
 
282
{
 
283
  return $1
 
284
} # as_fn_set_status
 
285
 
 
286
# as_fn_exit STATUS
 
287
# -----------------
 
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
289
as_fn_exit ()
 
290
{
 
291
  set +e
 
292
  as_fn_set_status $1
 
293
  exit $1
 
294
} # as_fn_exit
 
295
 
 
296
# as_fn_mkdir_p
 
297
# -------------
 
298
# Create "$as_dir" as a directory, including parents if necessary.
 
299
as_fn_mkdir_p ()
 
300
{
 
301
 
 
302
  case $as_dir in #(
 
303
  -*) as_dir=./$as_dir;;
 
304
  esac
 
305
  test -d "$as_dir" || eval $as_mkdir_p || {
 
306
    as_dirs=
 
307
    while :; do
 
308
      case $as_dir in #(
 
309
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
310
      *) as_qdir=$as_dir;;
 
311
      esac
 
312
      as_dirs="'$as_qdir' $as_dirs"
 
313
      as_dir=`$as_dirname -- "$as_dir" ||
 
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
315
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
316
         X"$as_dir" : 'X\(//\)$' \| \
 
317
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
318
$as_echo X"$as_dir" |
 
319
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\/\)[^/].*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          /^X\(\/\/\)$/{
 
328
            s//\1/
 
329
            q
 
330
          }
 
331
          /^X\(\/\).*/{
 
332
            s//\1/
 
333
            q
 
334
          }
 
335
          s/.*/./; q'`
 
336
      test -d "$as_dir" && break
 
337
    done
 
338
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
339
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
340
 
 
341
 
 
342
} # as_fn_mkdir_p
 
343
# as_fn_append VAR VALUE
 
344
# ----------------------
 
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
346
# advantage of any shell optimizations that allow amortized linear growth over
 
347
# repeated appends, instead of the typical quadratic growth present in naive
 
348
# implementations.
 
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
350
  eval 'as_fn_append ()
 
351
  {
 
352
    eval $1+=\$2
 
353
  }'
 
354
else
 
355
  as_fn_append ()
 
356
  {
 
357
    eval $1=\$$1\$2
 
358
  }
 
359
fi # as_fn_append
 
360
 
 
361
# as_fn_arith ARG...
 
362
# ------------------
 
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
365
# must be portable across $(()) and expr.
 
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
367
  eval 'as_fn_arith ()
 
368
  {
 
369
    as_val=$(( $* ))
 
370
  }'
 
371
else
 
372
  as_fn_arith ()
 
373
  {
 
374
    as_val=`expr "$@" || test $? -eq 1`
 
375
  }
 
376
fi # as_fn_arith
 
377
 
 
378
 
 
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
380
# ----------------------------------------
 
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
383
# script with STATUS, using 1 if that was 0.
 
384
as_fn_error ()
 
385
{
 
386
  as_status=$1; test $as_status -eq 0 && as_status=1
 
387
  if test "$4"; then
 
388
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
389
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
390
  fi
 
391
  $as_echo "$as_me: error: $2" >&2
 
392
  as_fn_exit $as_status
 
393
} # as_fn_error
 
394
 
 
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
396
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
397
  as_expr=expr
 
398
else
 
399
  as_expr=false
 
400
fi
 
401
 
 
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
403
  as_basename=basename
 
404
else
 
405
  as_basename=false
 
406
fi
 
407
 
 
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
409
  as_dirname=dirname
 
410
else
 
411
  as_dirname=false
 
412
fi
 
413
 
 
414
as_me=`$as_basename -- "$0" ||
 
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
416
         X"$0" : 'X\(//\)$' \| \
 
417
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
418
$as_echo X/"$0" |
 
419
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          /^X\/\(\/\/\)$/{
 
424
            s//\1/
 
425
            q
 
426
          }
 
427
          /^X\/\(\/\).*/{
 
428
            s//\1/
 
429
            q
 
430
          }
 
431
          s/.*/./; q'`
 
432
 
 
433
# Avoid depending upon Character Ranges.
 
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
437
as_cr_digits='0123456789'
 
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
439
 
 
440
 
 
441
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
442
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
443
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
444
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
445
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
446
  sed -n '
461
447
    p
462
448
    /[$]LINENO/=
473
459
      s/-\n.*//
474
460
    ' >$as_me.lineno &&
475
461
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
462
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
463
 
479
464
  # Don't try to exec as it changes $[0], causing all sort of problems
480
465
  # (the dirname of $[0] is not the place where we might find the
484
469
  exit
485
470
}
486
471
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
472
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
473
case `echo -n x` in #(((((
496
474
-n*)
497
 
  case `echo 'x\c'` in
 
475
  case `echo 'xy\c'` in
498
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
477
  xy)  ECHO_C='\c';;
 
478
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
479
       ECHO_T=' ';;
500
480
  esac;;
501
481
*)
502
482
  ECHO_N='-n';;
503
483
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
484
 
511
485
rm -f conf$$ conf$$.exe conf$$.file
512
486
if test -d conf$$.dir; then
536
510
rmdir conf$$.dir 2>/dev/null
537
511
 
538
512
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
513
  as_mkdir_p='mkdir -p "$as_dir"'
540
514
else
541
515
  test -d ./-p && rmdir ./-p
542
516
  as_mkdir_p=false
555
529
      if test -d "$1"; then
556
530
        test -d "$1/.";
557
531
      else
558
 
        case $1 in
 
532
        case $1 in #(
559
533
        -*)set "./$1";;
560
534
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
535
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
536
        ???[sx]*):;;*)false;;esac;fi
563
537
    '\'' sh
564
538
  '
571
545
# Sed expression to map a string onto a valid variable name.
572
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
547
 
574
 
 
575
 
 
576
 
 
577
 
# Check that we are running under the correct shell.
578
548
SHELL=${CONFIG_SHELL-/bin/sh}
579
549
 
580
 
case X$lt_ECHO in
581
 
X*--fallback-echo)
582
 
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
 
  ;;
585
 
esac
586
 
 
587
 
ECHO=${lt_ECHO-echo}
588
 
if test "X$1" = X--no-reexec; then
589
 
  # Discard the --no-reexec flag, and continue.
590
 
  shift
591
 
elif test "X$1" = X--fallback-echo; then
592
 
  # Avoid inline document here, it may be left over
593
 
  :
594
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $ECHO works!
596
 
  :
597
 
else
598
 
  # Restart under the correct shell.
599
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
600
 
fi
601
 
 
602
 
if test "X$1" = X--fallback-echo; then
603
 
  # used as fallback echo
604
 
  shift
605
 
  cat <<_LT_EOF
606
 
$*
607
 
_LT_EOF
608
 
  exit 0
609
 
fi
610
 
 
611
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
612
 
# if CDPATH is set.
613
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
 
 
615
 
if test -z "$lt_ECHO"; then
616
 
  if test "X${echo_test_string+set}" != Xset; then
617
 
    # find a string as large as possible, as long as the shell can cope with it
618
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622
 
      then
623
 
        break
624
 
      fi
625
 
    done
626
 
  fi
627
 
 
628
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
631
 
    :
632
 
  else
633
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
634
 
    # backslashes.  This makes it impossible to quote backslashes using
635
 
    #   echo "$something" | sed 's/\\/\\\\/g'
636
 
    #
637
 
    # So, first we look for a working echo in the user's PATH.
638
 
 
639
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
 
    for dir in $PATH /usr/ucb; do
641
 
      IFS="$lt_save_ifs"
642
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
646
 
        ECHO="$dir/echo"
647
 
        break
648
 
      fi
649
 
    done
650
 
    IFS="$lt_save_ifs"
651
 
 
652
 
    if test "X$ECHO" = Xecho; then
653
 
      # We didn't find a better echo, so look for alternatives.
654
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
657
 
        # This shell has a builtin print -r that does the trick.
658
 
        ECHO='print -r'
659
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
661
 
        # If we have ksh, try running configure again with it.
662
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
 
        export ORIGINAL_CONFIG_SHELL
664
 
        CONFIG_SHELL=/bin/ksh
665
 
        export CONFIG_SHELL
666
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667
 
      else
668
 
        # Try using printf.
669
 
        ECHO='printf %s\n'
670
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
673
 
          # Cool, printf works
674
 
          :
675
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
 
             test "X$echo_testing_string" = 'X\t' &&
677
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
679
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680
 
          export CONFIG_SHELL
681
 
          SHELL="$CONFIG_SHELL"
682
 
          export SHELL
683
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
 
             test "X$echo_testing_string" = 'X\t' &&
686
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
688
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
689
 
        else
690
 
          # maybe with a smaller string...
691
 
          prev=:
692
 
 
693
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695
 
            then
696
 
              break
697
 
            fi
698
 
            prev="$cmd"
699
 
          done
700
 
 
701
 
          if test "$prev" != 'sed 50q "$0"'; then
702
 
            echo_test_string=`eval $prev`
703
 
            export echo_test_string
704
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705
 
          else
706
 
            # Oops.  We lost completely, so just stick with echo.
707
 
            ECHO=echo
708
 
          fi
709
 
        fi
710
 
      fi
711
 
    fi
712
 
  fi
713
 
fi
714
 
 
715
 
# Copy echo and quote the copy suitably for passing to libtool from
716
 
# the Makefile, instead of quoting the original, which is used later.
717
 
lt_ECHO=$ECHO
718
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720
 
fi
721
 
 
722
 
 
723
 
 
724
 
 
725
 
exec 7<&0 </dev/null 6>&1
 
550
 
 
551
test -n "$DJDIR" || exec 7<&0 </dev/null
 
552
exec 6>&1
726
553
 
727
554
# Name of the host.
728
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
555
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
729
556
# so uname gets run too.
730
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
558
 
740
567
subdirs=
741
568
MFLAGS=
742
569
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
570
 
745
571
# Identity of this package.
746
572
PACKAGE_NAME='gnome-system-monitor'
747
573
PACKAGE_TARNAME='gnome-system-monitor'
748
 
PACKAGE_VERSION='2.28.1'
749
 
PACKAGE_STRING='gnome-system-monitor 2.28.1'
 
574
PACKAGE_VERSION='3.0.1'
 
575
PACKAGE_STRING='gnome-system-monitor 3.0.1'
750
576
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor'
 
577
PACKAGE_URL=''
751
578
 
752
 
ac_unique_file="configure.in"
 
579
ac_unique_file="configure.ac"
753
580
# Factoring default headers for most tests.
754
581
ac_includes_default="\
755
582
#include <stdio.h>
786
613
# include <unistd.h>
787
614
#endif"
788
615
 
 
616
gt_needs=
789
617
ac_subst_vars='am__EXEEXT_FALSE
790
618
am__EXEEXT_TRUE
791
619
LTLIBOBJS
798
626
DOC_USER_FORMATS
799
627
OMF_DIR
800
628
HELP_DIR
801
 
MKINSTALLDIRS
 
629
GETTEXT_PACKAGE
802
630
POSUB
803
 
POFILES
804
 
PO_IN_DATADIR_FALSE
805
 
PO_IN_DATADIR_TRUE
 
631
LTLIBINTL
 
632
LIBINTL
806
633
INTLLIBS
807
 
INSTOBJEXT
808
 
GMOFILES
809
 
CATOBJEXT
810
 
CATALOGS
811
 
MSGFMT_OPTS
812
 
GETTEXT_PACKAGE
813
 
GCONF_SCHEMAS_INSTALL_FALSE
814
 
GCONF_SCHEMAS_INSTALL_TRUE
815
 
GCONF_SCHEMA_FILE_DIR
816
 
GCONF_SCHEMA_CONFIG_SOURCE
817
 
PROCMAN_LIBS
818
 
PROCMAN_CFLAGS
819
 
WARN_CFLAGS
820
 
CXXCPP
821
 
am__fastdepCXX_FALSE
822
 
am__fastdepCXX_TRUE
823
 
CXXDEPMODE
824
 
ac_ct_CXX
825
 
CXXFLAGS
826
 
CXX
827
 
PKG_CONFIG
 
634
LTLIBICONV
 
635
LIBICONV
 
636
INTL_MACOSX_LIBS
 
637
XGETTEXT_EXTRA_OPTIONS
 
638
XGETTEXT_015
 
639
GMSGFMT_015
 
640
MSGFMT_015
 
641
GETTEXT_MACRO_VERSION
828
642
DATADIRNAME
829
643
ALL_LINGUAS
830
644
INTLTOOL_PERL
855
669
INTLTOOL_MERGE
856
670
INTLTOOL_UPDATE
857
671
USE_NLS
 
672
GSETTINGS_RULES
 
673
GLIB_COMPILE_SCHEMAS
 
674
gsettingsschemadir
 
675
GSETTINGS_DISABLE_SCHEMAS_COMPILE
 
676
WARN_CFLAGS
 
677
PROCMAN_LIBS
 
678
PROCMAN_CFLAGS
 
679
PKG_CONFIG_LIBDIR
 
680
PKG_CONFIG_PATH
 
681
PKG_CONFIG
 
682
CXXCPP
858
683
CPP
859
684
OTOOL64
860
685
OTOOL
861
686
LIPO
862
687
NMEDIT
863
688
DSYMUTIL
864
 
lt_ECHO
 
689
MANIFEST_TOOL
865
690
RANLIB
 
691
ac_ct_AR
866
692
AR
 
693
DLLTOOL
867
694
OBJDUMP
868
695
LN_S
869
696
NM
874
701
EGREP
875
702
GREP
876
703
SED
 
704
host_os
 
705
host_vendor
 
706
host_cpu
 
707
host
 
708
build_os
 
709
build_vendor
 
710
build_cpu
 
711
build
 
712
LIBTOOL
 
713
am__fastdepCXX_FALSE
 
714
am__fastdepCXX_TRUE
 
715
CXXDEPMODE
 
716
ac_ct_CXX
 
717
CXXFLAGS
 
718
CXX
877
719
am__fastdepCC_FALSE
878
720
am__fastdepCC_TRUE
879
721
CCDEPMODE
890
732
LDFLAGS
891
733
CFLAGS
892
734
CC
893
 
host_os
894
 
host_vendor
895
 
host_cpu
896
 
host
897
 
build_os
898
 
build_vendor
899
 
build_cpu
900
 
build
901
 
LIBTOOL
902
 
ACLOCAL_AMFLAGS
 
735
AM_BACKSLASH
 
736
AM_DEFAULT_VERBOSITY
903
737
am__untar
904
738
am__tar
905
739
AMTAR
953
787
program_transform_name
954
788
prefix
955
789
exec_prefix
 
790
PACKAGE_URL
956
791
PACKAGE_BUGREPORT
957
792
PACKAGE_STRING
958
793
PACKAGE_VERSION
963
798
ac_subst_files=''
964
799
ac_user_opts='
965
800
enable_option_checking
 
801
enable_silent_rules
 
802
enable_dependency_tracking
966
803
enable_shared
967
804
enable_static
968
805
with_pic
969
806
enable_fast_install
970
 
enable_dependency_tracking
971
807
with_gnu_ld
 
808
with_sysroot
972
809
enable_libtool_lock
973
 
enable_nls
974
810
enable_compile_warnings
975
811
enable_iso_c
976
812
enable_more_warnings
977
 
with_gconf_source
978
 
with_gconf_schema_file_dir
979
 
enable_schemas_install
 
813
enable_schemas_compile
 
814
enable_nls
 
815
enable_rpath
 
816
with_libiconv_prefix
 
817
with_libintl_prefix
980
818
with_help_dir
981
819
with_omf_dir
982
820
with_help_formats
990
828
LDFLAGS
991
829
LIBS
992
830
CPPFLAGS
993
 
CPP
994
 
PKG_CONFIG
995
831
CXX
996
832
CXXFLAGS
997
833
CCC
 
834
CPP
998
835
CXXCPP
 
836
PKG_CONFIG
 
837
PKG_CONFIG_PATH
 
838
PKG_CONFIG_LIBDIR
999
839
PROCMAN_CFLAGS
1000
840
PROCMAN_LIBS'
1001
841
 
1060
900
  fi
1061
901
 
1062
902
  case $ac_option in
1063
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1064
 
  *)    ac_optarg=yes ;;
 
903
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
904
  *=)   ac_optarg= ;;
 
905
  *)    ac_optarg=yes ;;
1065
906
  esac
1066
907
 
1067
908
  # Accept the important Cygnus configure options, so we can diagnose typos.
1106
947
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1107
948
    # Reject names that are not valid shell variable names.
1108
949
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1110
 
   { (exit 1); exit 1; }; }
 
950
      as_fn_error $? "invalid feature name: $ac_useropt"
1111
951
    ac_useropt_orig=$ac_useropt
1112
952
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113
953
    case $ac_user_opts in
1133
973
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1134
974
    # Reject names that are not valid shell variable names.
1135
975
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1137
 
   { (exit 1); exit 1; }; }
 
976
      as_fn_error $? "invalid feature name: $ac_useropt"
1138
977
    ac_useropt_orig=$ac_useropt
1139
978
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140
979
    case $ac_user_opts in
1338
1177
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1339
1178
    # Reject names that are not valid shell variable names.
1340
1179
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1341
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1342
 
   { (exit 1); exit 1; }; }
 
1180
      as_fn_error $? "invalid package name: $ac_useropt"
1343
1181
    ac_useropt_orig=$ac_useropt
1344
1182
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345
1183
    case $ac_user_opts in
1355
1193
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1356
1194
    # Reject names that are not valid shell variable names.
1357
1195
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1358
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1359
 
   { (exit 1); exit 1; }; }
 
1196
      as_fn_error $? "invalid package name: $ac_useropt"
1360
1197
    ac_useropt_orig=$ac_useropt
1361
1198
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1362
1199
    case $ac_user_opts in
1386
1223
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1387
1224
    x_libraries=$ac_optarg ;;
1388
1225
 
1389
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1390
 
Try \`$0 --help' for more information." >&2
1391
 
   { (exit 1); exit 1; }; }
 
1226
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1227
Try \`$0 --help' for more information"
1392
1228
    ;;
1393
1229
 
1394
1230
  *=*)
1395
1231
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1396
1232
    # Reject names that are not valid shell variable names.
1397
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1398
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1399
 
   { (exit 1); exit 1; }; }
 
1233
    case $ac_envvar in #(
 
1234
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1235
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1236
    esac
1400
1237
    eval $ac_envvar=\$ac_optarg
1401
1238
    export $ac_envvar ;;
1402
1239
 
1405
1242
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1406
1243
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1407
1244
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1408
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1245
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1409
1246
    ;;
1410
1247
 
1411
1248
  esac
1413
1250
 
1414
1251
if test -n "$ac_prev"; then
1415
1252
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1416
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1417
 
   { (exit 1); exit 1; }; }
 
1253
  as_fn_error $? "missing argument to $ac_option"
1418
1254
fi
1419
1255
 
1420
1256
if test -n "$ac_unrecognized_opts"; then
1421
1257
  case $enable_option_checking in
1422
1258
    no) ;;
1423
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1424
 
   { (exit 1); exit 1; }; } ;;
 
1259
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1425
1260
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1426
1261
  esac
1427
1262
fi
1444
1279
    [\\/$]* | ?:[\\/]* )  continue;;
1445
1280
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1446
1281
  esac
1447
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448
 
   { (exit 1); exit 1; }; }
 
1282
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1449
1283
done
1450
1284
 
1451
1285
# There might be people who depend on the old broken behavior: `$host'
1459
1293
if test "x$host_alias" != x; then
1460
1294
  if test "x$build_alias" = x; then
1461
1295
    cross_compiling=maybe
1462
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1296
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1297
    If a cross compiler is detected then cross compile mode will be used" >&2
1464
1298
  elif test "x$build_alias" != "x$host_alias"; then
1465
1299
    cross_compiling=yes
1466
1300
  fi
1475
1309
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1476
1310
ac_ls_di=`ls -di .` &&
1477
1311
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1478
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1479
 
   { (exit 1); exit 1; }; }
 
1312
  as_fn_error $? "working directory cannot be determined"
1480
1313
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1482
 
   { (exit 1); exit 1; }; }
 
1314
  as_fn_error $? "pwd does not report name of working directory"
1483
1315
 
1484
1316
 
1485
1317
# Find the source files, if location was not specified.
1518
1350
fi
1519
1351
if test ! -r "$srcdir/$ac_unique_file"; then
1520
1352
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522
 
   { (exit 1); exit 1; }; }
 
1353
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1523
1354
fi
1524
1355
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1525
1356
ac_abs_confdir=`(
1526
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1527
 
   { (exit 1); exit 1; }; }
 
1357
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1528
1358
        pwd)`
1529
1359
# When building in place, set srcdir=.
1530
1360
if test "$ac_abs_confdir" = "$ac_pwd"; then
1550
1380
  # Omit some internal or obsolete options to make the list less imposing.
1551
1381
  # This message is too long to be a string in the A/UX 3.1 sh.
1552
1382
  cat <<_ACEOF
1553
 
\`configure' configures gnome-system-monitor 2.28.1 to adapt to many kinds of systems.
 
1383
\`configure' configures gnome-system-monitor 3.0.1 to adapt to many kinds of systems.
1554
1384
 
1555
1385
Usage: $0 [OPTION]... [VAR=VALUE]...
1556
1386
 
1564
1394
      --help=short        display options specific to this package
1565
1395
      --help=recursive    display the short help of all the included packages
1566
1396
  -V, --version           display version information and exit
1567
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1397
  -q, --quiet, --silent   do not print \`checking ...' messages
1568
1398
      --cache-file=FILE   cache test results in FILE [disabled]
1569
1399
  -C, --config-cache      alias for \`--cache-file=config.cache'
1570
1400
  -n, --no-create         do not create output files
1621
1451
 
1622
1452
if test -n "$ac_init_help"; then
1623
1453
  case $ac_init_help in
1624
 
     short | recursive ) echo "Configuration of gnome-system-monitor 2.28.1:";;
 
1454
     short | recursive ) echo "Configuration of gnome-system-monitor 3.0.1:";;
1625
1455
   esac
1626
1456
  cat <<\_ACEOF
1627
1457
 
1629
1459
  --disable-option-checking  ignore unrecognized --enable/--with options
1630
1460
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1631
1461
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1462
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1463
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1464
  --disable-dependency-tracking  speeds up one-time build
 
1465
  --enable-dependency-tracking   do not reject slow dependency extractors
1632
1466
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1633
1467
  --enable-static[=PKGS]  build static libraries [default=yes]
1634
1468
  --enable-fast-install[=PKGS]
1635
1469
                          optimize for fast installation [default=yes]
1636
 
  --disable-dependency-tracking  speeds up one-time build
1637
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1638
1470
  --disable-libtool-lock  avoid locking (might break parallel builds)
1639
 
  --disable-nls           do not use Native Language Support
1640
1471
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1641
1472
                          Turn on compiler warnings
1642
1473
  --enable-iso-c          Try to warn if code is not ISO C
1643
1474
  --enable-more-warnings  Maximum compiler warnings
1644
 
  --disable-schemas-install
1645
 
                          Disable the schemas installation
 
1475
  --disable-schemas-compile
 
1476
                          Disable regeneration of gschemas.compiled on install
 
1477
  --disable-nls           do not use Native Language Support
 
1478
  --disable-rpath         do not hardcode runtime library paths
1646
1479
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1647
1480
 
1648
1481
Optional Packages:
1651
1484
  --with-pic              try to use only PIC/non-PIC objects [default=use
1652
1485
                          both]
1653
1486
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1654
 
  --with-gconf-source=sourceaddress
1655
 
                          Config database for installing schema files.
1656
 
  --with-gconf-schema-file-dir=dir
1657
 
                          Directory for installing schema files.
 
1487
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1488
                        (or the compiler's sysroot if not specified).
 
1489
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1490
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1491
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1492
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1493
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1658
1494
  --with-help-dir=DIR     path to help docs
1659
1495
  --with-omf-dir=DIR      path to OMF files
1660
1496
  --with-help-formats=FORMATS
1666
1502
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1667
1503
              nonstandard directory <lib dir>
1668
1504
  LIBS        libraries to pass to the linker, e.g. -l<library>
1669
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1505
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1670
1506
              you have headers in a nonstandard directory <include dir>
1671
 
  CPP         C preprocessor
1672
 
  PKG_CONFIG  path to pkg-config utility
1673
1507
  CXX         C++ compiler command
1674
1508
  CXXFLAGS    C++ compiler flags
 
1509
  CPP         C preprocessor
1675
1510
  CXXCPP      C++ preprocessor
 
1511
  PKG_CONFIG  path to pkg-config utility
 
1512
  PKG_CONFIG_PATH
 
1513
              directories to add to pkg-config's search path
 
1514
  PKG_CONFIG_LIBDIR
 
1515
              path overriding pkg-config's built-in search path
1676
1516
  PROCMAN_CFLAGS
1677
1517
              C compiler flags for PROCMAN, overriding pkg-config
1678
1518
  PROCMAN_LIBS
1744
1584
test -n "$ac_init_help" && exit $ac_status
1745
1585
if $ac_init_version; then
1746
1586
  cat <<\_ACEOF
1747
 
gnome-system-monitor configure 2.28.1
1748
 
generated by GNU Autoconf 2.63
 
1587
gnome-system-monitor configure 3.0.1
 
1588
generated by GNU Autoconf 2.68
1749
1589
 
1750
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1751
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1590
Copyright (C) 2010 Free Software Foundation, Inc.
1752
1591
This configure script is free software; the Free Software Foundation
1753
1592
gives unlimited permission to copy, distribute and modify it.
1754
1593
_ACEOF
1755
1594
  exit
1756
1595
fi
 
1596
 
 
1597
## ------------------------ ##
 
1598
## Autoconf initialization. ##
 
1599
## ------------------------ ##
 
1600
 
 
1601
# ac_fn_c_try_compile LINENO
 
1602
# --------------------------
 
1603
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1604
ac_fn_c_try_compile ()
 
1605
{
 
1606
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1607
  rm -f conftest.$ac_objext
 
1608
  if { { ac_try="$ac_compile"
 
1609
case "(($ac_try" in
 
1610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1611
  *) ac_try_echo=$ac_try;;
 
1612
esac
 
1613
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1614
$as_echo "$ac_try_echo"; } >&5
 
1615
  (eval "$ac_compile") 2>conftest.err
 
1616
  ac_status=$?
 
1617
  if test -s conftest.err; then
 
1618
    grep -v '^ *+' conftest.err >conftest.er1
 
1619
    cat conftest.er1 >&5
 
1620
    mv -f conftest.er1 conftest.err
 
1621
  fi
 
1622
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1623
  test $ac_status = 0; } && {
 
1624
         test -z "$ac_c_werror_flag" ||
 
1625
         test ! -s conftest.err
 
1626
       } && test -s conftest.$ac_objext; then :
 
1627
  ac_retval=0
 
1628
else
 
1629
  $as_echo "$as_me: failed program was:" >&5
 
1630
sed 's/^/| /' conftest.$ac_ext >&5
 
1631
 
 
1632
        ac_retval=1
 
1633
fi
 
1634
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1635
  as_fn_set_status $ac_retval
 
1636
 
 
1637
} # ac_fn_c_try_compile
 
1638
 
 
1639
# ac_fn_cxx_try_compile LINENO
 
1640
# ----------------------------
 
1641
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1642
ac_fn_cxx_try_compile ()
 
1643
{
 
1644
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1645
  rm -f conftest.$ac_objext
 
1646
  if { { ac_try="$ac_compile"
 
1647
case "(($ac_try" in
 
1648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1649
  *) ac_try_echo=$ac_try;;
 
1650
esac
 
1651
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1652
$as_echo "$ac_try_echo"; } >&5
 
1653
  (eval "$ac_compile") 2>conftest.err
 
1654
  ac_status=$?
 
1655
  if test -s conftest.err; then
 
1656
    grep -v '^ *+' conftest.err >conftest.er1
 
1657
    cat conftest.er1 >&5
 
1658
    mv -f conftest.er1 conftest.err
 
1659
  fi
 
1660
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1661
  test $ac_status = 0; } && {
 
1662
         test -z "$ac_cxx_werror_flag" ||
 
1663
         test ! -s conftest.err
 
1664
       } && test -s conftest.$ac_objext; then :
 
1665
  ac_retval=0
 
1666
else
 
1667
  $as_echo "$as_me: failed program was:" >&5
 
1668
sed 's/^/| /' conftest.$ac_ext >&5
 
1669
 
 
1670
        ac_retval=1
 
1671
fi
 
1672
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1673
  as_fn_set_status $ac_retval
 
1674
 
 
1675
} # ac_fn_cxx_try_compile
 
1676
 
 
1677
# ac_fn_c_try_link LINENO
 
1678
# -----------------------
 
1679
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1680
ac_fn_c_try_link ()
 
1681
{
 
1682
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1683
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1684
  if { { ac_try="$ac_link"
 
1685
case "(($ac_try" in
 
1686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1687
  *) ac_try_echo=$ac_try;;
 
1688
esac
 
1689
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1690
$as_echo "$ac_try_echo"; } >&5
 
1691
  (eval "$ac_link") 2>conftest.err
 
1692
  ac_status=$?
 
1693
  if test -s conftest.err; then
 
1694
    grep -v '^ *+' conftest.err >conftest.er1
 
1695
    cat conftest.er1 >&5
 
1696
    mv -f conftest.er1 conftest.err
 
1697
  fi
 
1698
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1699
  test $ac_status = 0; } && {
 
1700
         test -z "$ac_c_werror_flag" ||
 
1701
         test ! -s conftest.err
 
1702
       } && test -s conftest$ac_exeext && {
 
1703
         test "$cross_compiling" = yes ||
 
1704
         $as_test_x conftest$ac_exeext
 
1705
       }; then :
 
1706
  ac_retval=0
 
1707
else
 
1708
  $as_echo "$as_me: failed program was:" >&5
 
1709
sed 's/^/| /' conftest.$ac_ext >&5
 
1710
 
 
1711
        ac_retval=1
 
1712
fi
 
1713
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1714
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1715
  # interfere with the next link command; also delete a directory that is
 
1716
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1717
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1718
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1719
  as_fn_set_status $ac_retval
 
1720
 
 
1721
} # ac_fn_c_try_link
 
1722
 
 
1723
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1724
# -------------------------------------------------------
 
1725
# Tests whether HEADER exists and can be compiled using the include files in
 
1726
# INCLUDES, setting the cache variable VAR accordingly.
 
1727
ac_fn_c_check_header_compile ()
 
1728
{
 
1729
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1730
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1731
$as_echo_n "checking for $2... " >&6; }
 
1732
if eval \${$3+:} false; then :
 
1733
  $as_echo_n "(cached) " >&6
 
1734
else
 
1735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1736
/* end confdefs.h.  */
 
1737
$4
 
1738
#include <$2>
 
1739
_ACEOF
 
1740
if ac_fn_c_try_compile "$LINENO"; then :
 
1741
  eval "$3=yes"
 
1742
else
 
1743
  eval "$3=no"
 
1744
fi
 
1745
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1746
fi
 
1747
eval ac_res=\$$3
 
1748
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1749
$as_echo "$ac_res" >&6; }
 
1750
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1751
 
 
1752
} # ac_fn_c_check_header_compile
 
1753
 
 
1754
# ac_fn_c_try_cpp LINENO
 
1755
# ----------------------
 
1756
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1757
ac_fn_c_try_cpp ()
 
1758
{
 
1759
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1760
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1761
case "(($ac_try" in
 
1762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1763
  *) ac_try_echo=$ac_try;;
 
1764
esac
 
1765
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1766
$as_echo "$ac_try_echo"; } >&5
 
1767
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1768
  ac_status=$?
 
1769
  if test -s conftest.err; then
 
1770
    grep -v '^ *+' conftest.err >conftest.er1
 
1771
    cat conftest.er1 >&5
 
1772
    mv -f conftest.er1 conftest.err
 
1773
  fi
 
1774
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1775
  test $ac_status = 0; } > conftest.i && {
 
1776
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1777
         test ! -s conftest.err
 
1778
       }; then :
 
1779
  ac_retval=0
 
1780
else
 
1781
  $as_echo "$as_me: failed program was:" >&5
 
1782
sed 's/^/| /' conftest.$ac_ext >&5
 
1783
 
 
1784
    ac_retval=1
 
1785
fi
 
1786
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1787
  as_fn_set_status $ac_retval
 
1788
 
 
1789
} # ac_fn_c_try_cpp
 
1790
 
 
1791
# ac_fn_c_try_run LINENO
 
1792
# ----------------------
 
1793
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1794
# that executables *can* be run.
 
1795
ac_fn_c_try_run ()
 
1796
{
 
1797
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1798
  if { { ac_try="$ac_link"
 
1799
case "(($ac_try" in
 
1800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1801
  *) ac_try_echo=$ac_try;;
 
1802
esac
 
1803
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1804
$as_echo "$ac_try_echo"; } >&5
 
1805
  (eval "$ac_link") 2>&5
 
1806
  ac_status=$?
 
1807
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1808
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1809
  { { case "(($ac_try" in
 
1810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1811
  *) ac_try_echo=$ac_try;;
 
1812
esac
 
1813
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1814
$as_echo "$ac_try_echo"; } >&5
 
1815
  (eval "$ac_try") 2>&5
 
1816
  ac_status=$?
 
1817
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1818
  test $ac_status = 0; }; }; then :
 
1819
  ac_retval=0
 
1820
else
 
1821
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1822
       $as_echo "$as_me: failed program was:" >&5
 
1823
sed 's/^/| /' conftest.$ac_ext >&5
 
1824
 
 
1825
       ac_retval=$ac_status
 
1826
fi
 
1827
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1828
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1829
  as_fn_set_status $ac_retval
 
1830
 
 
1831
} # ac_fn_c_try_run
 
1832
 
 
1833
# ac_fn_c_check_func LINENO FUNC VAR
 
1834
# ----------------------------------
 
1835
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1836
ac_fn_c_check_func ()
 
1837
{
 
1838
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1839
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1840
$as_echo_n "checking for $2... " >&6; }
 
1841
if eval \${$3+:} false; then :
 
1842
  $as_echo_n "(cached) " >&6
 
1843
else
 
1844
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1845
/* end confdefs.h.  */
 
1846
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1847
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1848
#define $2 innocuous_$2
 
1849
 
 
1850
/* System header to define __stub macros and hopefully few prototypes,
 
1851
    which can conflict with char $2 (); below.
 
1852
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1853
    <limits.h> exists even on freestanding compilers.  */
 
1854
 
 
1855
#ifdef __STDC__
 
1856
# include <limits.h>
 
1857
#else
 
1858
# include <assert.h>
 
1859
#endif
 
1860
 
 
1861
#undef $2
 
1862
 
 
1863
/* Override any GCC internal prototype to avoid an error.
 
1864
   Use char because int might match the return type of a GCC
 
1865
   builtin and then its argument prototype would still apply.  */
 
1866
#ifdef __cplusplus
 
1867
extern "C"
 
1868
#endif
 
1869
char $2 ();
 
1870
/* The GNU C library defines this for functions which it implements
 
1871
    to always fail with ENOSYS.  Some functions are actually named
 
1872
    something starting with __ and the normal name is an alias.  */
 
1873
#if defined __stub_$2 || defined __stub___$2
 
1874
choke me
 
1875
#endif
 
1876
 
 
1877
int
 
1878
main ()
 
1879
{
 
1880
return $2 ();
 
1881
  ;
 
1882
  return 0;
 
1883
}
 
1884
_ACEOF
 
1885
if ac_fn_c_try_link "$LINENO"; then :
 
1886
  eval "$3=yes"
 
1887
else
 
1888
  eval "$3=no"
 
1889
fi
 
1890
rm -f core conftest.err conftest.$ac_objext \
 
1891
    conftest$ac_exeext conftest.$ac_ext
 
1892
fi
 
1893
eval ac_res=\$$3
 
1894
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1895
$as_echo "$ac_res" >&6; }
 
1896
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1897
 
 
1898
} # ac_fn_c_check_func
 
1899
 
 
1900
# ac_fn_cxx_try_cpp LINENO
 
1901
# ------------------------
 
1902
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1903
ac_fn_cxx_try_cpp ()
 
1904
{
 
1905
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1906
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1907
case "(($ac_try" in
 
1908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1909
  *) ac_try_echo=$ac_try;;
 
1910
esac
 
1911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1912
$as_echo "$ac_try_echo"; } >&5
 
1913
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1914
  ac_status=$?
 
1915
  if test -s conftest.err; then
 
1916
    grep -v '^ *+' conftest.err >conftest.er1
 
1917
    cat conftest.er1 >&5
 
1918
    mv -f conftest.er1 conftest.err
 
1919
  fi
 
1920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1921
  test $ac_status = 0; } > conftest.i && {
 
1922
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1923
         test ! -s conftest.err
 
1924
       }; then :
 
1925
  ac_retval=0
 
1926
else
 
1927
  $as_echo "$as_me: failed program was:" >&5
 
1928
sed 's/^/| /' conftest.$ac_ext >&5
 
1929
 
 
1930
    ac_retval=1
 
1931
fi
 
1932
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1933
  as_fn_set_status $ac_retval
 
1934
 
 
1935
} # ac_fn_cxx_try_cpp
 
1936
 
 
1937
# ac_fn_cxx_try_link LINENO
 
1938
# -------------------------
 
1939
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1940
ac_fn_cxx_try_link ()
 
1941
{
 
1942
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1943
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1944
  if { { ac_try="$ac_link"
 
1945
case "(($ac_try" in
 
1946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1947
  *) ac_try_echo=$ac_try;;
 
1948
esac
 
1949
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1950
$as_echo "$ac_try_echo"; } >&5
 
1951
  (eval "$ac_link") 2>conftest.err
 
1952
  ac_status=$?
 
1953
  if test -s conftest.err; then
 
1954
    grep -v '^ *+' conftest.err >conftest.er1
 
1955
    cat conftest.er1 >&5
 
1956
    mv -f conftest.er1 conftest.err
 
1957
  fi
 
1958
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1959
  test $ac_status = 0; } && {
 
1960
         test -z "$ac_cxx_werror_flag" ||
 
1961
         test ! -s conftest.err
 
1962
       } && test -s conftest$ac_exeext && {
 
1963
         test "$cross_compiling" = yes ||
 
1964
         $as_test_x conftest$ac_exeext
 
1965
       }; then :
 
1966
  ac_retval=0
 
1967
else
 
1968
  $as_echo "$as_me: failed program was:" >&5
 
1969
sed 's/^/| /' conftest.$ac_ext >&5
 
1970
 
 
1971
        ac_retval=1
 
1972
fi
 
1973
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1974
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1975
  # interfere with the next link command; also delete a directory that is
 
1976
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1977
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1978
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1979
  as_fn_set_status $ac_retval
 
1980
 
 
1981
} # ac_fn_cxx_try_link
 
1982
 
 
1983
# ac_fn_cxx_check_func LINENO FUNC VAR
 
1984
# ------------------------------------
 
1985
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1986
ac_fn_cxx_check_func ()
 
1987
{
 
1988
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1989
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1990
$as_echo_n "checking for $2... " >&6; }
 
1991
if eval \${$3+:} false; then :
 
1992
  $as_echo_n "(cached) " >&6
 
1993
else
 
1994
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1995
/* end confdefs.h.  */
 
1996
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1997
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1998
#define $2 innocuous_$2
 
1999
 
 
2000
/* System header to define __stub macros and hopefully few prototypes,
 
2001
    which can conflict with char $2 (); below.
 
2002
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2003
    <limits.h> exists even on freestanding compilers.  */
 
2004
 
 
2005
#ifdef __STDC__
 
2006
# include <limits.h>
 
2007
#else
 
2008
# include <assert.h>
 
2009
#endif
 
2010
 
 
2011
#undef $2
 
2012
 
 
2013
/* Override any GCC internal prototype to avoid an error.
 
2014
   Use char because int might match the return type of a GCC
 
2015
   builtin and then its argument prototype would still apply.  */
 
2016
#ifdef __cplusplus
 
2017
extern "C"
 
2018
#endif
 
2019
char $2 ();
 
2020
/* The GNU C library defines this for functions which it implements
 
2021
    to always fail with ENOSYS.  Some functions are actually named
 
2022
    something starting with __ and the normal name is an alias.  */
 
2023
#if defined __stub_$2 || defined __stub___$2
 
2024
choke me
 
2025
#endif
 
2026
 
 
2027
int
 
2028
main ()
 
2029
{
 
2030
return $2 ();
 
2031
  ;
 
2032
  return 0;
 
2033
}
 
2034
_ACEOF
 
2035
if ac_fn_cxx_try_link "$LINENO"; then :
 
2036
  eval "$3=yes"
 
2037
else
 
2038
  eval "$3=no"
 
2039
fi
 
2040
rm -f core conftest.err conftest.$ac_objext \
 
2041
    conftest$ac_exeext conftest.$ac_ext
 
2042
fi
 
2043
eval ac_res=\$$3
 
2044
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2045
$as_echo "$ac_res" >&6; }
 
2046
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2047
 
 
2048
} # ac_fn_cxx_check_func
 
2049
 
 
2050
# ac_fn_cxx_try_run LINENO
 
2051
# ------------------------
 
2052
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2053
# that executables *can* be run.
 
2054
ac_fn_cxx_try_run ()
 
2055
{
 
2056
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2057
  if { { ac_try="$ac_link"
 
2058
case "(($ac_try" in
 
2059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2060
  *) ac_try_echo=$ac_try;;
 
2061
esac
 
2062
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2063
$as_echo "$ac_try_echo"; } >&5
 
2064
  (eval "$ac_link") 2>&5
 
2065
  ac_status=$?
 
2066
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2067
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2068
  { { case "(($ac_try" in
 
2069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2070
  *) ac_try_echo=$ac_try;;
 
2071
esac
 
2072
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2073
$as_echo "$ac_try_echo"; } >&5
 
2074
  (eval "$ac_try") 2>&5
 
2075
  ac_status=$?
 
2076
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2077
  test $ac_status = 0; }; }; then :
 
2078
  ac_retval=0
 
2079
else
 
2080
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2081
       $as_echo "$as_me: failed program was:" >&5
 
2082
sed 's/^/| /' conftest.$ac_ext >&5
 
2083
 
 
2084
       ac_retval=$ac_status
 
2085
fi
 
2086
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2087
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2088
  as_fn_set_status $ac_retval
 
2089
 
 
2090
} # ac_fn_cxx_try_run
1757
2091
cat >config.log <<_ACEOF
1758
2092
This file contains any messages produced by compilers while
1759
2093
running configure, to aid debugging if configure makes a mistake.
1760
2094
 
1761
 
It was created by gnome-system-monitor $as_me 2.28.1, which was
1762
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2095
It was created by gnome-system-monitor $as_me 3.0.1, which was
 
2096
generated by GNU Autoconf 2.68.  Invocation command line was
1763
2097
 
1764
2098
  $ $0 $@
1765
2099
 
1795
2129
do
1796
2130
  IFS=$as_save_IFS
1797
2131
  test -z "$as_dir" && as_dir=.
1798
 
  $as_echo "PATH: $as_dir"
1799
 
done
 
2132
    $as_echo "PATH: $as_dir"
 
2133
  done
1800
2134
IFS=$as_save_IFS
1801
2135
 
1802
2136
} >&5
1833
2167
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1834
2168
    esac
1835
2169
    case $ac_pass in
1836
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2170
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1837
2171
    2)
1838
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2172
      as_fn_append ac_configure_args1 " '$ac_arg'"
1839
2173
      if test $ac_must_keep_next = true; then
1840
2174
        ac_must_keep_next=false # Got value, back to normal.
1841
2175
      else
1851
2185
          -* ) ac_must_keep_next=true ;;
1852
2186
        esac
1853
2187
      fi
1854
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2188
      as_fn_append ac_configure_args " '$ac_arg'"
1855
2189
      ;;
1856
2190
    esac
1857
2191
  done
1858
2192
done
1859
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1860
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2193
{ ac_configure_args0=; unset ac_configure_args0;}
 
2194
{ ac_configure_args1=; unset ac_configure_args1;}
1861
2195
 
1862
2196
# When interrupted or exit'd, cleanup temporary files, and complete
1863
2197
# config.log.  We remove comments because anyway the quotes in there
1869
2203
  {
1870
2204
    echo
1871
2205
 
1872
 
    cat <<\_ASBOX
1873
 
## ---------------- ##
 
2206
    $as_echo "## ---------------- ##
1874
2207
## Cache variables. ##
1875
 
## ---------------- ##
1876
 
_ASBOX
 
2208
## ---------------- ##"
1877
2209
    echo
1878
2210
    # The following way of writing the cache mishandles newlines in values,
1879
2211
(
1882
2214
    case $ac_val in #(
1883
2215
    *${as_nl}*)
1884
2216
      case $ac_var in #(
1885
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2217
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1886
2218
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1887
2219
      esac
1888
2220
      case $ac_var in #(
1889
2221
      _ | IFS | as_nl) ;; #(
1890
2222
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1891
 
      *) $as_unset $ac_var ;;
 
2223
      *) { eval $ac_var=; unset $ac_var;} ;;
1892
2224
      esac ;;
1893
2225
    esac
1894
2226
  done
1907
2239
)
1908
2240
    echo
1909
2241
 
1910
 
    cat <<\_ASBOX
1911
 
## ----------------- ##
 
2242
    $as_echo "## ----------------- ##
1912
2243
## Output variables. ##
1913
 
## ----------------- ##
1914
 
_ASBOX
 
2244
## ----------------- ##"
1915
2245
    echo
1916
2246
    for ac_var in $ac_subst_vars
1917
2247
    do
1924
2254
    echo
1925
2255
 
1926
2256
    if test -n "$ac_subst_files"; then
1927
 
      cat <<\_ASBOX
1928
 
## ------------------- ##
 
2257
      $as_echo "## ------------------- ##
1929
2258
## File substitutions. ##
1930
 
## ------------------- ##
1931
 
_ASBOX
 
2259
## ------------------- ##"
1932
2260
      echo
1933
2261
      for ac_var in $ac_subst_files
1934
2262
      do
1942
2270
    fi
1943
2271
 
1944
2272
    if test -s confdefs.h; then
1945
 
      cat <<\_ASBOX
1946
 
## ----------- ##
 
2273
      $as_echo "## ----------- ##
1947
2274
## confdefs.h. ##
1948
 
## ----------- ##
1949
 
_ASBOX
 
2275
## ----------- ##"
1950
2276
      echo
1951
2277
      cat confdefs.h
1952
2278
      echo
1960
2286
    exit $exit_status
1961
2287
' 0
1962
2288
for ac_signal in 1 2 13 15; do
1963
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2289
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1964
2290
done
1965
2291
ac_signal=0
1966
2292
 
1967
2293
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1968
2294
rm -f -r conftest* confdefs.h
1969
2295
 
 
2296
$as_echo "/* confdefs.h */" > confdefs.h
 
2297
 
1970
2298
# Predefined preprocessor variables.
1971
2299
 
1972
2300
cat >>confdefs.h <<_ACEOF
1973
2301
#define PACKAGE_NAME "$PACKAGE_NAME"
1974
2302
_ACEOF
1975
2303
 
1976
 
 
1977
2304
cat >>confdefs.h <<_ACEOF
1978
2305
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1979
2306
_ACEOF
1980
2307
 
1981
 
 
1982
2308
cat >>confdefs.h <<_ACEOF
1983
2309
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1984
2310
_ACEOF
1985
2311
 
1986
 
 
1987
2312
cat >>confdefs.h <<_ACEOF
1988
2313
#define PACKAGE_STRING "$PACKAGE_STRING"
1989
2314
_ACEOF
1990
2315
 
1991
 
 
1992
2316
cat >>confdefs.h <<_ACEOF
1993
2317
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1994
2318
_ACEOF
1995
2319
 
 
2320
cat >>confdefs.h <<_ACEOF
 
2321
#define PACKAGE_URL "$PACKAGE_URL"
 
2322
_ACEOF
 
2323
 
1996
2324
 
1997
2325
# Let the site file select an alternate cache file if it wants to.
1998
2326
# Prefer an explicitly selected file to automatically selected ones.
1999
2327
ac_site_file1=NONE
2000
2328
ac_site_file2=NONE
2001
2329
if test -n "$CONFIG_SITE"; then
2002
 
  ac_site_file1=$CONFIG_SITE
 
2330
  # We do not want a PATH search for config.site.
 
2331
  case $CONFIG_SITE in #((
 
2332
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2333
    */*) ac_site_file1=$CONFIG_SITE;;
 
2334
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2335
  esac
2003
2336
elif test "x$prefix" != xNONE; then
2004
2337
  ac_site_file1=$prefix/share/config.site
2005
2338
  ac_site_file2=$prefix/etc/config.site
2010
2343
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2011
2344
do
2012
2345
  test "x$ac_site_file" = xNONE && continue
2013
 
  if test -r "$ac_site_file"; then
2014
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2346
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2347
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2015
2348
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2016
2349
    sed 's/^/| /' "$ac_site_file" >&5
2017
 
    . "$ac_site_file"
 
2350
    . "$ac_site_file" \
 
2351
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2353
as_fn_error $? "failed to load site script $ac_site_file
 
2354
See \`config.log' for more details" "$LINENO" 5; }
2018
2355
  fi
2019
2356
done
2020
2357
 
2021
2358
if test -r "$cache_file"; then
2022
 
  # Some versions of bash will fail to source /dev/null (special
2023
 
  # files actually), so we avoid doing that.
2024
 
  if test -f "$cache_file"; then
2025
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2359
  # Some versions of bash will fail to source /dev/null (special files
 
2360
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2361
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2362
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2026
2363
$as_echo "$as_me: loading cache $cache_file" >&6;}
2027
2364
    case $cache_file in
2028
2365
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2030
2367
    esac
2031
2368
  fi
2032
2369
else
2033
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2370
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2034
2371
$as_echo "$as_me: creating cache $cache_file" >&6;}
2035
2372
  >$cache_file
2036
2373
fi
2037
2374
 
 
2375
gt_needs="$gt_needs "
2038
2376
# Check that the precious variables saved in the cache have kept the same
2039
2377
# value.
2040
2378
ac_cache_corrupted=false
2045
2383
  eval ac_new_val=\$ac_env_${ac_var}_value
2046
2384
  case $ac_old_set,$ac_new_set in
2047
2385
    set,)
2048
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2386
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2049
2387
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2050
2388
      ac_cache_corrupted=: ;;
2051
2389
    ,set)
2052
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2390
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2053
2391
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2054
2392
      ac_cache_corrupted=: ;;
2055
2393
    ,);;
2059
2397
        ac_old_val_w=`echo x $ac_old_val`
2060
2398
        ac_new_val_w=`echo x $ac_new_val`
2061
2399
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2062
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2400
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2063
2401
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2064
2402
          ac_cache_corrupted=:
2065
2403
        else
2066
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2404
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2067
2405
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2068
2406
          eval $ac_var=\$ac_old_val
2069
2407
        fi
2070
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2408
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2071
2409
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2072
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2410
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2073
2411
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2074
2412
      fi;;
2075
2413
  esac
2081
2419
    esac
2082
2420
    case " $ac_configure_args " in
2083
2421
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2084
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2422
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2085
2423
    esac
2086
2424
  fi
2087
2425
done
2088
2426
if $ac_cache_corrupted; then
2089
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2427
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2090
2428
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2091
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2429
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2092
2430
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2093
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2094
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2095
 
   { (exit 1); exit 1; }; }
 
2431
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2096
2432
fi
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
 
2107
 
 
2108
 
 
2109
 
 
2110
 
 
2111
 
 
2112
 
 
2113
 
 
2114
 
 
2115
 
 
2116
 
 
2117
 
 
2118
 
 
2119
 
 
2120
 
 
 
2433
## -------------------- ##
 
2434
## Main body of script. ##
 
2435
## -------------------- ##
2121
2436
 
2122
2437
ac_ext=c
2123
2438
ac_cpp='$CPP $CPPFLAGS'
2130
2445
ac_config_headers="$ac_config_headers config.h"
2131
2446
 
2132
2447
 
 
2448
 
 
2449
 
2133
2450
am__api_version='1.11'
2134
2451
 
2135
2452
ac_aux_dir=
2149
2466
  fi
2150
2467
done
2151
2468
if test -z "$ac_aux_dir"; then
2152
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2153
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2154
 
   { (exit 1); exit 1; }; }
 
2469
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2155
2470
fi
2156
2471
 
2157
2472
# These three variables are undocumented and unsupported,
2177
2492
# OS/2's system install, which has a completely different semantic
2178
2493
# ./install, which can be erroneously created by make from ./install.sh.
2179
2494
# Reject install programs that cannot install multiple files.
2180
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2181
2496
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2182
2497
if test -z "$INSTALL"; then
2183
 
if test "${ac_cv_path_install+set}" = set; then
 
2498
if ${ac_cv_path_install+:} false; then :
2184
2499
  $as_echo_n "(cached) " >&6
2185
2500
else
2186
2501
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188
2503
do
2189
2504
  IFS=$as_save_IFS
2190
2505
  test -z "$as_dir" && as_dir=.
2191
 
  # Account for people who put trailing slashes in PATH elements.
2192
 
case $as_dir/ in
2193
 
  ./ | .// | /cC/* | \
 
2506
    # Account for people who put trailing slashes in PATH elements.
 
2507
case $as_dir/ in #((
 
2508
  ./ | .// | /[cC]/* | \
2194
2509
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2195
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2510
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2196
2511
  /usr/ucb/* ) ;;
2197
2512
  *)
2198
2513
    # OSF1 and SCO ODT 3.0 have their own names for install.
2229
2544
    ;;
2230
2545
esac
2231
2546
 
2232
 
done
 
2547
  done
2233
2548
IFS=$as_save_IFS
2234
2549
 
2235
2550
rm -rf conftest.one conftest.two conftest.dir
2245
2560
    INSTALL=$ac_install_sh
2246
2561
  fi
2247
2562
fi
2248
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2249
2564
$as_echo "$INSTALL" >&6; }
2250
2565
 
2251
2566
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2256
2571
 
2257
2572
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2258
2573
 
2259
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2260
2575
$as_echo_n "checking whether build environment is sane... " >&6; }
2261
2576
# Just in case
2262
2577
sleep 1
2267
2582
'
2268
2583
case `pwd` in
2269
2584
  *[\\\"\#\$\&\'\`$am_lf]*)
2270
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2271
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2272
 
   { (exit 1); exit 1; }; };;
 
2585
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2273
2586
esac
2274
2587
case $srcdir in
2275
2588
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2276
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2277
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2278
 
   { (exit 1); exit 1; }; };;
 
2589
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2279
2590
esac
2280
2591
 
2281
2592
# Do `set' in a subshell so we don't clobber the current shell's
2297
2608
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2298
2609
      # broken ls alias from the environment.  This has actually
2299
2610
      # happened.  Such a system could not be considered "sane".
2300
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2301
 
alias in your environment" >&5
2302
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2303
 
alias in your environment" >&2;}
2304
 
   { (exit 1); exit 1; }; }
 
2611
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2612
alias in your environment" "$LINENO" 5
2305
2613
   fi
2306
2614
 
2307
2615
   test "$2" = conftest.file
2310
2618
   # Ok.
2311
2619
   :
2312
2620
else
2313
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2314
 
Check your system clock" >&5
2315
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2316
 
Check your system clock" >&2;}
2317
 
   { (exit 1); exit 1; }; }
 
2621
   as_fn_error $? "newly created file is older than distributed files!
 
2622
Check your system clock" "$LINENO" 5
2318
2623
fi
2319
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2320
2625
$as_echo "yes" >&6; }
2321
2626
test "$program_prefix" != NONE &&
2322
2627
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2344
2649
  am_missing_run="$MISSING --run "
2345
2650
else
2346
2651
  am_missing_run=
2347
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2652
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2348
2653
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2349
2654
fi
2350
2655
 
2365
2670
  if test -n "$ac_tool_prefix"; then
2366
2671
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2367
2672
set dummy ${ac_tool_prefix}strip; ac_word=$2
2368
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2369
2674
$as_echo_n "checking for $ac_word... " >&6; }
2370
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2675
if ${ac_cv_prog_STRIP+:} false; then :
2371
2676
  $as_echo_n "(cached) " >&6
2372
2677
else
2373
2678
  if test -n "$STRIP"; then
2378
2683
do
2379
2684
  IFS=$as_save_IFS
2380
2685
  test -z "$as_dir" && as_dir=.
2381
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2686
    for ac_exec_ext in '' $ac_executable_extensions; do
2382
2687
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383
2688
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2384
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2689
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2385
2690
    break 2
2386
2691
  fi
2387
2692
done
2388
 
done
 
2693
  done
2389
2694
IFS=$as_save_IFS
2390
2695
 
2391
2696
fi
2392
2697
fi
2393
2698
STRIP=$ac_cv_prog_STRIP
2394
2699
if test -n "$STRIP"; then
2395
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2700
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2396
2701
$as_echo "$STRIP" >&6; }
2397
2702
else
2398
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2703
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2399
2704
$as_echo "no" >&6; }
2400
2705
fi
2401
2706
 
2405
2710
  ac_ct_STRIP=$STRIP
2406
2711
  # Extract the first word of "strip", so it can be a program name with args.
2407
2712
set dummy strip; ac_word=$2
2408
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2409
2714
$as_echo_n "checking for $ac_word... " >&6; }
2410
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2715
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2411
2716
  $as_echo_n "(cached) " >&6
2412
2717
else
2413
2718
  if test -n "$ac_ct_STRIP"; then
2418
2723
do
2419
2724
  IFS=$as_save_IFS
2420
2725
  test -z "$as_dir" && as_dir=.
2421
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2726
    for ac_exec_ext in '' $ac_executable_extensions; do
2422
2727
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2423
2728
    ac_cv_prog_ac_ct_STRIP="strip"
2424
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2729
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2425
2730
    break 2
2426
2731
  fi
2427
2732
done
2428
 
done
 
2733
  done
2429
2734
IFS=$as_save_IFS
2430
2735
 
2431
2736
fi
2432
2737
fi
2433
2738
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2434
2739
if test -n "$ac_ct_STRIP"; then
2435
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2740
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2436
2741
$as_echo "$ac_ct_STRIP" >&6; }
2437
2742
else
2438
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2743
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439
2744
$as_echo "no" >&6; }
2440
2745
fi
2441
2746
 
2444
2749
  else
2445
2750
    case $cross_compiling:$ac_tool_warned in
2446
2751
yes:)
2447
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2752
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2448
2753
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2449
2754
ac_tool_warned=yes ;;
2450
2755
esac
2457
2762
fi
2458
2763
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2459
2764
 
2460
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2461
2766
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2462
2767
if test -z "$MKDIR_P"; then
2463
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2768
  if ${ac_cv_path_mkdir+:} false; then :
2464
2769
  $as_echo_n "(cached) " >&6
2465
2770
else
2466
2771
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468
2773
do
2469
2774
  IFS=$as_save_IFS
2470
2775
  test -z "$as_dir" && as_dir=.
2471
 
  for ac_prog in mkdir gmkdir; do
 
2776
    for ac_prog in mkdir gmkdir; do
2472
2777
         for ac_exec_ext in '' $ac_executable_extensions; do
2473
2778
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2474
2779
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2480
2785
           esac
2481
2786
         done
2482
2787
       done
2483
 
done
 
2788
  done
2484
2789
IFS=$as_save_IFS
2485
2790
 
2486
2791
fi
2487
2792
 
 
2793
  test -d ./--version && rmdir ./--version
2488
2794
  if test "${ac_cv_path_mkdir+set}" = set; then
2489
2795
    MKDIR_P="$ac_cv_path_mkdir -p"
2490
2796
  else
2492
2798
    # value for MKDIR_P within a source directory, because that will
2493
2799
    # break other packages using the cache if that directory is
2494
2800
    # removed, or if the value is a relative name.
2495
 
    test -d ./--version && rmdir ./--version
2496
2801
    MKDIR_P="$ac_install_sh -d"
2497
2802
  fi
2498
2803
fi
2499
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2500
2805
$as_echo "$MKDIR_P" >&6; }
2501
2806
 
2502
2807
mkdir_p="$MKDIR_P"
2509
2814
do
2510
2815
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2511
2816
set dummy $ac_prog; ac_word=$2
2512
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513
2818
$as_echo_n "checking for $ac_word... " >&6; }
2514
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2819
if ${ac_cv_prog_AWK+:} false; then :
2515
2820
  $as_echo_n "(cached) " >&6
2516
2821
else
2517
2822
  if test -n "$AWK"; then
2522
2827
do
2523
2828
  IFS=$as_save_IFS
2524
2829
  test -z "$as_dir" && as_dir=.
2525
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2830
    for ac_exec_ext in '' $ac_executable_extensions; do
2526
2831
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2527
2832
    ac_cv_prog_AWK="$ac_prog"
2528
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2833
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529
2834
    break 2
2530
2835
  fi
2531
2836
done
2532
 
done
 
2837
  done
2533
2838
IFS=$as_save_IFS
2534
2839
 
2535
2840
fi
2536
2841
fi
2537
2842
AWK=$ac_cv_prog_AWK
2538
2843
if test -n "$AWK"; then
2539
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2540
2845
$as_echo "$AWK" >&6; }
2541
2846
else
2542
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543
2848
$as_echo "no" >&6; }
2544
2849
fi
2545
2850
 
2547
2852
  test -n "$AWK" && break
2548
2853
done
2549
2854
 
2550
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2551
2856
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2552
2857
set x ${MAKE-make}
2553
2858
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2554
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2859
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2555
2860
  $as_echo_n "(cached) " >&6
2556
2861
else
2557
2862
  cat >conftest.make <<\_ACEOF
2559
2864
all:
2560
2865
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2561
2866
_ACEOF
2562
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2867
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2563
2868
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2564
2869
  *@@@%%%=?*=@@@%%%*)
2565
2870
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2569
2874
rm -f conftest.make
2570
2875
fi
2571
2876
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2572
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2573
2878
$as_echo "yes" >&6; }
2574
2879
  SET_MAKE=
2575
2880
else
2576
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577
2882
$as_echo "no" >&6; }
2578
2883
  SET_MAKE="MAKE=${MAKE-make}"
2579
2884
fi
2593
2898
  am__isrc=' -I$(srcdir)'
2594
2899
  # test to see if srcdir already configured
2595
2900
  if test -f $srcdir/config.status; then
2596
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2597
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2598
 
   { (exit 1); exit 1; }; }
 
2901
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2599
2902
  fi
2600
2903
fi
2601
2904
 
2611
2914
 
2612
2915
# Define the identity of the package.
2613
2916
 PACKAGE='gnome-system-monitor'
2614
 
 VERSION='2.28.1'
 
2917
 VERSION='3.0.1'
2615
2918
 
2616
2919
 
2617
2920
cat >>confdefs.h <<_ACEOF
2651
2954
 
2652
2955
 
2653
2956
 
2654
 
ACLOCAL_AMFLAGS=\${ACLOCAL_FLAGS}
2655
 
 
2656
 
 
2657
 
case `pwd` in
2658
 
  *\ * | *\     *)
2659
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2660
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2661
 
esac
2662
 
 
2663
 
 
2664
 
 
2665
 
macro_version='2.2.6'
2666
 
macro_revision='1.3012'
2667
 
 
2668
 
 
2669
 
 
2670
 
 
2671
 
 
2672
 
 
2673
 
 
2674
 
 
2675
 
 
2676
 
 
2677
 
 
2678
 
 
2679
 
 
2680
 
ltmain="$ac_aux_dir/ltmain.sh"
2681
 
 
2682
 
# Make sure we can run config.sub.
2683
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2684
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2685
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2686
 
   { (exit 1); exit 1; }; }
2687
 
 
2688
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2689
 
$as_echo_n "checking build system type... " >&6; }
2690
 
if test "${ac_cv_build+set}" = set; then
2691
 
  $as_echo_n "(cached) " >&6
2692
 
else
2693
 
  ac_build_alias=$build_alias
2694
 
test "x$ac_build_alias" = x &&
2695
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2696
 
test "x$ac_build_alias" = x &&
2697
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2698
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2699
 
   { (exit 1); exit 1; }; }
2700
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2701
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2702
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2703
 
   { (exit 1); exit 1; }; }
2704
 
 
2705
 
fi
2706
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2707
 
$as_echo "$ac_cv_build" >&6; }
2708
 
case $ac_cv_build in
2709
 
*-*-*) ;;
2710
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2711
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2712
 
   { (exit 1); exit 1; }; };;
2713
 
esac
2714
 
build=$ac_cv_build
2715
 
ac_save_IFS=$IFS; IFS='-'
2716
 
set x $ac_cv_build
2717
 
shift
2718
 
build_cpu=$1
2719
 
build_vendor=$2
2720
 
shift; shift
2721
 
# Remember, the first character of IFS is used to create $*,
2722
 
# except with old shells:
2723
 
build_os=$*
2724
 
IFS=$ac_save_IFS
2725
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2726
 
 
2727
 
 
2728
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2729
 
$as_echo_n "checking host system type... " >&6; }
2730
 
if test "${ac_cv_host+set}" = set; then
2731
 
  $as_echo_n "(cached) " >&6
2732
 
else
2733
 
  if test "x$host_alias" = x; then
2734
 
  ac_cv_host=$ac_cv_build
2735
 
else
2736
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2737
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2738
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2739
 
   { (exit 1); exit 1; }; }
2740
 
fi
2741
 
 
2742
 
fi
2743
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2744
 
$as_echo "$ac_cv_host" >&6; }
2745
 
case $ac_cv_host in
2746
 
*-*-*) ;;
2747
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2748
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2749
 
   { (exit 1); exit 1; }; };;
2750
 
esac
2751
 
host=$ac_cv_host
2752
 
ac_save_IFS=$IFS; IFS='-'
2753
 
set x $ac_cv_host
2754
 
shift
2755
 
host_cpu=$1
2756
 
host_vendor=$2
2757
 
shift; shift
2758
 
# Remember, the first character of IFS is used to create $*,
2759
 
# except with old shells:
2760
 
host_os=$*
2761
 
IFS=$ac_save_IFS
2762
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2763
 
 
2764
 
 
2765
 
DEPDIR="${am__leading_dot}deps"
2766
 
 
2767
 
ac_config_commands="$ac_config_commands depfiles"
2768
 
 
2769
 
 
2770
 
am_make=${MAKE-make}
2771
 
cat > confinc << 'END'
2772
 
am__doit:
2773
 
        @echo this is the am__doit target
2774
 
.PHONY: am__doit
2775
 
END
2776
 
# If we don't find an include directive, just comment out the code.
2777
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2778
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2779
 
am__include="#"
2780
 
am__quote=
2781
 
_am_result=none
2782
 
# First try GNU make style include.
2783
 
echo "include confinc" > confmf
2784
 
# Ignore all kinds of additional output from `make'.
2785
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2786
 
*the\ am__doit\ target*)
2787
 
  am__include=include
2788
 
  am__quote=
2789
 
  _am_result=GNU
2790
 
  ;;
2791
 
esac
2792
 
# Now try BSD make style include.
2793
 
if test "$am__include" = "#"; then
2794
 
   echo '.include "confinc"' > confmf
2795
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2796
 
   *the\ am__doit\ target*)
2797
 
     am__include=.include
2798
 
     am__quote="\""
2799
 
     _am_result=BSD
2800
 
     ;;
2801
 
   esac
2802
 
fi
2803
 
 
2804
 
 
2805
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2806
 
$as_echo "$_am_result" >&6; }
2807
 
rm -f confinc confmf
2808
 
 
2809
 
# Check whether --enable-dependency-tracking was given.
2810
 
if test "${enable_dependency_tracking+set}" = set; then
2811
 
  enableval=$enable_dependency_tracking;
2812
 
fi
2813
 
 
2814
 
if test "x$enable_dependency_tracking" != xno; then
2815
 
  am_depcomp="$ac_aux_dir/depcomp"
2816
 
  AMDEPBACKSLASH='\'
2817
 
fi
2818
 
 if test "x$enable_dependency_tracking" != xno; then
2819
 
  AMDEP_TRUE=
2820
 
  AMDEP_FALSE='#'
2821
 
else
2822
 
  AMDEP_TRUE='#'
2823
 
  AMDEP_FALSE=
2824
 
fi
2825
 
 
2826
 
 
 
2957
# Check whether --enable-silent-rules was given.
 
2958
if test "${enable_silent_rules+set}" = set; then :
 
2959
  enableval=$enable_silent_rules;
 
2960
fi
 
2961
 
 
2962
case $enable_silent_rules in
 
2963
yes) AM_DEFAULT_VERBOSITY=0;;
 
2964
no)  AM_DEFAULT_VERBOSITY=1;;
 
2965
*)   AM_DEFAULT_VERBOSITY=0;;
 
2966
esac
 
2967
AM_BACKSLASH='\'
 
2968
 
 
2969
 
 
2970
# Check For programs
2827
2971
ac_ext=c
2828
2972
ac_cpp='$CPP $CPPFLAGS'
2829
2973
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832
2976
if test -n "$ac_tool_prefix"; then
2833
2977
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2834
2978
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2835
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836
2980
$as_echo_n "checking for $ac_word... " >&6; }
2837
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2981
if ${ac_cv_prog_CC+:} false; then :
2838
2982
  $as_echo_n "(cached) " >&6
2839
2983
else
2840
2984
  if test -n "$CC"; then
2845
2989
do
2846
2990
  IFS=$as_save_IFS
2847
2991
  test -z "$as_dir" && as_dir=.
2848
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2992
    for ac_exec_ext in '' $ac_executable_extensions; do
2849
2993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850
2994
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2851
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852
2996
    break 2
2853
2997
  fi
2854
2998
done
2855
 
done
 
2999
  done
2856
3000
IFS=$as_save_IFS
2857
3001
 
2858
3002
fi
2859
3003
fi
2860
3004
CC=$ac_cv_prog_CC
2861
3005
if test -n "$CC"; then
2862
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2863
3007
$as_echo "$CC" >&6; }
2864
3008
else
2865
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866
3010
$as_echo "no" >&6; }
2867
3011
fi
2868
3012
 
2872
3016
  ac_ct_CC=$CC
2873
3017
  # Extract the first word of "gcc", so it can be a program name with args.
2874
3018
set dummy gcc; ac_word=$2
2875
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876
3020
$as_echo_n "checking for $ac_word... " >&6; }
2877
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3021
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2878
3022
  $as_echo_n "(cached) " >&6
2879
3023
else
2880
3024
  if test -n "$ac_ct_CC"; then
2885
3029
do
2886
3030
  IFS=$as_save_IFS
2887
3031
  test -z "$as_dir" && as_dir=.
2888
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3032
    for ac_exec_ext in '' $ac_executable_extensions; do
2889
3033
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890
3034
    ac_cv_prog_ac_ct_CC="gcc"
2891
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3035
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892
3036
    break 2
2893
3037
  fi
2894
3038
done
2895
 
done
 
3039
  done
2896
3040
IFS=$as_save_IFS
2897
3041
 
2898
3042
fi
2899
3043
fi
2900
3044
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2901
3045
if test -n "$ac_ct_CC"; then
2902
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3046
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2903
3047
$as_echo "$ac_ct_CC" >&6; }
2904
3048
else
2905
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906
3050
$as_echo "no" >&6; }
2907
3051
fi
2908
3052
 
2911
3055
  else
2912
3056
    case $cross_compiling:$ac_tool_warned in
2913
3057
yes:)
2914
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2915
3059
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2916
3060
ac_tool_warned=yes ;;
2917
3061
esac
2925
3069
          if test -n "$ac_tool_prefix"; then
2926
3070
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2927
3071
set dummy ${ac_tool_prefix}cc; ac_word=$2
2928
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929
3073
$as_echo_n "checking for $ac_word... " >&6; }
2930
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3074
if ${ac_cv_prog_CC+:} false; then :
2931
3075
  $as_echo_n "(cached) " >&6
2932
3076
else
2933
3077
  if test -n "$CC"; then
2938
3082
do
2939
3083
  IFS=$as_save_IFS
2940
3084
  test -z "$as_dir" && as_dir=.
2941
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3085
    for ac_exec_ext in '' $ac_executable_extensions; do
2942
3086
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943
3087
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2944
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3088
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945
3089
    break 2
2946
3090
  fi
2947
3091
done
2948
 
done
 
3092
  done
2949
3093
IFS=$as_save_IFS
2950
3094
 
2951
3095
fi
2952
3096
fi
2953
3097
CC=$ac_cv_prog_CC
2954
3098
if test -n "$CC"; then
2955
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956
3100
$as_echo "$CC" >&6; }
2957
3101
else
2958
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3102
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959
3103
$as_echo "no" >&6; }
2960
3104
fi
2961
3105
 
2965
3109
if test -z "$CC"; then
2966
3110
  # Extract the first word of "cc", so it can be a program name with args.
2967
3111
set dummy cc; ac_word=$2
2968
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969
3113
$as_echo_n "checking for $ac_word... " >&6; }
2970
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3114
if ${ac_cv_prog_CC+:} false; then :
2971
3115
  $as_echo_n "(cached) " >&6
2972
3116
else
2973
3117
  if test -n "$CC"; then
2979
3123
do
2980
3124
  IFS=$as_save_IFS
2981
3125
  test -z "$as_dir" && as_dir=.
2982
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3126
    for ac_exec_ext in '' $ac_executable_extensions; do
2983
3127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984
3128
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2985
3129
       ac_prog_rejected=yes
2986
3130
       continue
2987
3131
     fi
2988
3132
    ac_cv_prog_CC="cc"
2989
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3133
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990
3134
    break 2
2991
3135
  fi
2992
3136
done
2993
 
done
 
3137
  done
2994
3138
IFS=$as_save_IFS
2995
3139
 
2996
3140
if test $ac_prog_rejected = yes; then
3009
3153
fi
3010
3154
CC=$ac_cv_prog_CC
3011
3155
if test -n "$CC"; then
3012
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3013
3157
$as_echo "$CC" >&6; }
3014
3158
else
3015
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016
3160
$as_echo "no" >&6; }
3017
3161
fi
3018
3162
 
3024
3168
  do
3025
3169
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026
3170
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028
3172
$as_echo_n "checking for $ac_word... " >&6; }
3029
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3173
if ${ac_cv_prog_CC+:} false; then :
3030
3174
  $as_echo_n "(cached) " >&6
3031
3175
else
3032
3176
  if test -n "$CC"; then
3037
3181
do
3038
3182
  IFS=$as_save_IFS
3039
3183
  test -z "$as_dir" && as_dir=.
3040
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3184
    for ac_exec_ext in '' $ac_executable_extensions; do
3041
3185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042
3186
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3043
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3187
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044
3188
    break 2
3045
3189
  fi
3046
3190
done
3047
 
done
 
3191
  done
3048
3192
IFS=$as_save_IFS
3049
3193
 
3050
3194
fi
3051
3195
fi
3052
3196
CC=$ac_cv_prog_CC
3053
3197
if test -n "$CC"; then
3054
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055
3199
$as_echo "$CC" >&6; }
3056
3200
else
3057
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058
3202
$as_echo "no" >&6; }
3059
3203
fi
3060
3204
 
3068
3212
do
3069
3213
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3070
3214
set dummy $ac_prog; ac_word=$2
3071
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072
3216
$as_echo_n "checking for $ac_word... " >&6; }
3073
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3217
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3074
3218
  $as_echo_n "(cached) " >&6
3075
3219
else
3076
3220
  if test -n "$ac_ct_CC"; then
3081
3225
do
3082
3226
  IFS=$as_save_IFS
3083
3227
  test -z "$as_dir" && as_dir=.
3084
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3228
    for ac_exec_ext in '' $ac_executable_extensions; do
3085
3229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086
3230
    ac_cv_prog_ac_ct_CC="$ac_prog"
3087
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3231
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088
3232
    break 2
3089
3233
  fi
3090
3234
done
3091
 
done
 
3235
  done
3092
3236
IFS=$as_save_IFS
3093
3237
 
3094
3238
fi
3095
3239
fi
3096
3240
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3097
3241
if test -n "$ac_ct_CC"; then
3098
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3099
3243
$as_echo "$ac_ct_CC" >&6; }
3100
3244
else
3101
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102
3246
$as_echo "no" >&6; }
3103
3247
fi
3104
3248
 
3111
3255
  else
3112
3256
    case $cross_compiling:$ac_tool_warned in
3113
3257
yes:)
3114
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3258
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115
3259
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3116
3260
ac_tool_warned=yes ;;
3117
3261
esac
3122
3266
fi
3123
3267
 
3124
3268
 
3125
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3269
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126
3270
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3127
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3128
 
See \`config.log' for more details." >&5
3129
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3130
 
See \`config.log' for more details." >&2;}
3131
 
   { (exit 1); exit 1; }; }; }
 
3271
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3272
See \`config.log' for more details" "$LINENO" 5; }
3132
3273
 
3133
3274
# Provide some information about the compiler.
3134
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3275
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3135
3276
set X $ac_compile
3136
3277
ac_compiler=$2
3137
 
{ (ac_try="$ac_compiler --version >&5"
3138
 
case "(($ac_try" in
3139
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140
 
  *) ac_try_echo=$ac_try;;
3141
 
esac
3142
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3143
 
$as_echo "$ac_try_echo") >&5
3144
 
  (eval "$ac_compiler --version >&5") 2>&5
3145
 
  ac_status=$?
3146
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
 
  (exit $ac_status); }
3148
 
{ (ac_try="$ac_compiler -v >&5"
3149
 
case "(($ac_try" in
3150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151
 
  *) ac_try_echo=$ac_try;;
3152
 
esac
3153
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3154
 
$as_echo "$ac_try_echo") >&5
3155
 
  (eval "$ac_compiler -v >&5") 2>&5
3156
 
  ac_status=$?
3157
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158
 
  (exit $ac_status); }
3159
 
{ (ac_try="$ac_compiler -V >&5"
3160
 
case "(($ac_try" in
3161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162
 
  *) ac_try_echo=$ac_try;;
3163
 
esac
3164
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3165
 
$as_echo "$ac_try_echo") >&5
3166
 
  (eval "$ac_compiler -V >&5") 2>&5
3167
 
  ac_status=$?
3168
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169
 
  (exit $ac_status); }
 
3278
for ac_option in --version -v -V -qversion; do
 
3279
  { { ac_try="$ac_compiler $ac_option >&5"
 
3280
case "(($ac_try" in
 
3281
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3282
  *) ac_try_echo=$ac_try;;
 
3283
esac
 
3284
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3285
$as_echo "$ac_try_echo"; } >&5
 
3286
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3287
  ac_status=$?
 
3288
  if test -s conftest.err; then
 
3289
    sed '10a\
 
3290
... rest of stderr output deleted ...
 
3291
         10q' conftest.err >conftest.er1
 
3292
    cat conftest.er1 >&5
 
3293
  fi
 
3294
  rm -f conftest.er1 conftest.err
 
3295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3296
  test $ac_status = 0; }
 
3297
done
3170
3298
 
3171
 
cat >conftest.$ac_ext <<_ACEOF
3172
 
/* confdefs.h.  */
3173
 
_ACEOF
3174
 
cat confdefs.h >>conftest.$ac_ext
3175
 
cat >>conftest.$ac_ext <<_ACEOF
 
3299
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176
3300
/* end confdefs.h.  */
3177
3301
 
3178
3302
int
3188
3312
# Try to create an executable without -o first, disregard a.out.
3189
3313
# It will help us diagnose broken compilers, and finding out an intuition
3190
3314
# of exeext.
3191
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3192
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3316
$as_echo_n "checking whether the C compiler works... " >&6; }
3193
3317
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3194
3318
 
3195
3319
# The possible output files:
3205
3329
done
3206
3330
rm -f $ac_rmfiles
3207
3331
 
3208
 
if { (ac_try="$ac_link_default"
 
3332
if { { ac_try="$ac_link_default"
3209
3333
case "(($ac_try" in
3210
3334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211
3335
  *) ac_try_echo=$ac_try;;
3212
3336
esac
3213
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3214
 
$as_echo "$ac_try_echo") >&5
 
3337
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3338
$as_echo "$ac_try_echo"; } >&5
3215
3339
  (eval "$ac_link_default") 2>&5
3216
3340
  ac_status=$?
3217
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218
 
  (exit $ac_status); }; then
 
3341
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3342
  test $ac_status = 0; }; then :
3219
3343
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3220
3344
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3221
3345
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3232
3356
        # certainly right.
3233
3357
        break;;
3234
3358
    *.* )
3235
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3359
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3236
3360
        then :; else
3237
3361
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3238
3362
        fi
3251
3375
else
3252
3376
  ac_file=''
3253
3377
fi
 
3378
if test -z "$ac_file"; then :
 
3379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3380
$as_echo "no" >&6; }
 
3381
$as_echo "$as_me: failed program was:" >&5
 
3382
sed 's/^/| /' conftest.$ac_ext >&5
3254
3383
 
3255
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3384
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3385
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3386
as_fn_error 77 "C compiler cannot create executables
 
3387
See \`config.log' for more details" "$LINENO" 5; }
 
3388
else
 
3389
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3390
$as_echo "yes" >&6; }
 
3391
fi
 
3392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3393
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3256
3395
$as_echo "$ac_file" >&6; }
3257
 
if test -z "$ac_file"; then
3258
 
  $as_echo "$as_me: failed program was:" >&5
3259
 
sed 's/^/| /' conftest.$ac_ext >&5
3260
 
 
3261
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3262
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3264
 
See \`config.log' for more details." >&5
3265
 
$as_echo "$as_me: error: C compiler cannot create executables
3266
 
See \`config.log' for more details." >&2;}
3267
 
   { (exit 77); exit 77; }; }; }
3268
 
fi
3269
 
 
3270
3396
ac_exeext=$ac_cv_exeext
3271
3397
 
3272
 
# Check that the compiler produces executables we can run.  If not, either
3273
 
# the compiler is broken, or we cross compile.
3274
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3275
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3276
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3277
 
# If not cross compiling, check that we can run a simple program.
3278
 
if test "$cross_compiling" != yes; then
3279
 
  if { ac_try='./$ac_file'
3280
 
  { (case "(($ac_try" in
3281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282
 
  *) ac_try_echo=$ac_try;;
3283
 
esac
3284
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3285
 
$as_echo "$ac_try_echo") >&5
3286
 
  (eval "$ac_try") 2>&5
3287
 
  ac_status=$?
3288
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289
 
  (exit $ac_status); }; }; then
3290
 
    cross_compiling=no
3291
 
  else
3292
 
    if test "$cross_compiling" = maybe; then
3293
 
        cross_compiling=yes
3294
 
    else
3295
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3296
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3298
 
If you meant to cross compile, use \`--host'.
3299
 
See \`config.log' for more details." >&5
3300
 
$as_echo "$as_me: error: cannot run C compiled programs.
3301
 
If you meant to cross compile, use \`--host'.
3302
 
See \`config.log' for more details." >&2;}
3303
 
   { (exit 1); exit 1; }; }; }
3304
 
    fi
3305
 
  fi
3306
 
fi
3307
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3308
 
$as_echo "yes" >&6; }
3309
 
 
3310
3398
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3311
3399
ac_clean_files=$ac_clean_files_save
3312
 
# Check that the compiler produces executables we can run.  If not, either
3313
 
# the compiler is broken, or we cross compile.
3314
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3315
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3316
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3317
 
$as_echo "$cross_compiling" >&6; }
3318
 
 
3319
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3320
3401
$as_echo_n "checking for suffix of executables... " >&6; }
3321
 
if { (ac_try="$ac_link"
 
3402
if { { ac_try="$ac_link"
3322
3403
case "(($ac_try" in
3323
3404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324
3405
  *) ac_try_echo=$ac_try;;
3325
3406
esac
3326
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3327
 
$as_echo "$ac_try_echo") >&5
 
3407
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3408
$as_echo "$ac_try_echo"; } >&5
3328
3409
  (eval "$ac_link") 2>&5
3329
3410
  ac_status=$?
3330
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331
 
  (exit $ac_status); }; then
 
3411
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3412
  test $ac_status = 0; }; then :
3332
3413
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3333
3414
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3334
3415
# work properly (i.e., refer to `conftest.exe'), while it won't with
3343
3424
  esac
3344
3425
done
3345
3426
else
3346
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3427
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347
3428
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3349
 
See \`config.log' for more details." >&5
3350
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3351
 
See \`config.log' for more details." >&2;}
3352
 
   { (exit 1); exit 1; }; }; }
 
3429
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3430
See \`config.log' for more details" "$LINENO" 5; }
3353
3431
fi
3354
 
 
3355
 
rm -f conftest$ac_cv_exeext
3356
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3432
rm -f conftest conftest$ac_cv_exeext
 
3433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3357
3434
$as_echo "$ac_cv_exeext" >&6; }
3358
3435
 
3359
3436
rm -f conftest.$ac_ext
3360
3437
EXEEXT=$ac_cv_exeext
3361
3438
ac_exeext=$EXEEXT
3362
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3439
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3440
/* end confdefs.h.  */
 
3441
#include <stdio.h>
 
3442
int
 
3443
main ()
 
3444
{
 
3445
FILE *f = fopen ("conftest.out", "w");
 
3446
 return ferror (f) || fclose (f) != 0;
 
3447
 
 
3448
  ;
 
3449
  return 0;
 
3450
}
 
3451
_ACEOF
 
3452
ac_clean_files="$ac_clean_files conftest.out"
 
3453
# Check that the compiler produces executables we can run.  If not, either
 
3454
# the compiler is broken, or we cross compile.
 
3455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3456
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3457
if test "$cross_compiling" != yes; then
 
3458
  { { ac_try="$ac_link"
 
3459
case "(($ac_try" in
 
3460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3461
  *) ac_try_echo=$ac_try;;
 
3462
esac
 
3463
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3464
$as_echo "$ac_try_echo"; } >&5
 
3465
  (eval "$ac_link") 2>&5
 
3466
  ac_status=$?
 
3467
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3468
  test $ac_status = 0; }
 
3469
  if { ac_try='./conftest$ac_cv_exeext'
 
3470
  { { case "(($ac_try" in
 
3471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3472
  *) ac_try_echo=$ac_try;;
 
3473
esac
 
3474
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3475
$as_echo "$ac_try_echo"; } >&5
 
3476
  (eval "$ac_try") 2>&5
 
3477
  ac_status=$?
 
3478
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3479
  test $ac_status = 0; }; }; then
 
3480
    cross_compiling=no
 
3481
  else
 
3482
    if test "$cross_compiling" = maybe; then
 
3483
        cross_compiling=yes
 
3484
    else
 
3485
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3487
as_fn_error $? "cannot run C compiled programs.
 
3488
If you meant to cross compile, use \`--host'.
 
3489
See \`config.log' for more details" "$LINENO" 5; }
 
3490
    fi
 
3491
  fi
 
3492
fi
 
3493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3494
$as_echo "$cross_compiling" >&6; }
 
3495
 
 
3496
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3497
ac_clean_files=$ac_clean_files_save
 
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3363
3499
$as_echo_n "checking for suffix of object files... " >&6; }
3364
 
if test "${ac_cv_objext+set}" = set; then
 
3500
if ${ac_cv_objext+:} false; then :
3365
3501
  $as_echo_n "(cached) " >&6
3366
3502
else
3367
 
  cat >conftest.$ac_ext <<_ACEOF
3368
 
/* confdefs.h.  */
3369
 
_ACEOF
3370
 
cat confdefs.h >>conftest.$ac_ext
3371
 
cat >>conftest.$ac_ext <<_ACEOF
 
3503
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372
3504
/* end confdefs.h.  */
3373
3505
 
3374
3506
int
3380
3512
}
3381
3513
_ACEOF
3382
3514
rm -f conftest.o conftest.obj
3383
 
if { (ac_try="$ac_compile"
 
3515
if { { ac_try="$ac_compile"
3384
3516
case "(($ac_try" in
3385
3517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386
3518
  *) ac_try_echo=$ac_try;;
3387
3519
esac
3388
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3389
 
$as_echo "$ac_try_echo") >&5
 
3520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3521
$as_echo "$ac_try_echo"; } >&5
3390
3522
  (eval "$ac_compile") 2>&5
3391
3523
  ac_status=$?
3392
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393
 
  (exit $ac_status); }; then
 
3524
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3525
  test $ac_status = 0; }; then :
3394
3526
  for ac_file in conftest.o conftest.obj conftest.*; do
3395
3527
  test -f "$ac_file" || continue;
3396
3528
  case $ac_file in
3403
3535
  $as_echo "$as_me: failed program was:" >&5
3404
3536
sed 's/^/| /' conftest.$ac_ext >&5
3405
3537
 
3406
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3538
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407
3539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3409
 
See \`config.log' for more details." >&5
3410
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3411
 
See \`config.log' for more details." >&2;}
3412
 
   { (exit 1); exit 1; }; }; }
 
3540
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3541
See \`config.log' for more details" "$LINENO" 5; }
3413
3542
fi
3414
 
 
3415
3543
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3416
3544
fi
3417
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3418
3546
$as_echo "$ac_cv_objext" >&6; }
3419
3547
OBJEXT=$ac_cv_objext
3420
3548
ac_objext=$OBJEXT
3421
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3422
3550
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3423
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3551
if ${ac_cv_c_compiler_gnu+:} false; then :
3424
3552
  $as_echo_n "(cached) " >&6
3425
3553
else
3426
 
  cat >conftest.$ac_ext <<_ACEOF
3427
 
/* confdefs.h.  */
3428
 
_ACEOF
3429
 
cat confdefs.h >>conftest.$ac_ext
3430
 
cat >>conftest.$ac_ext <<_ACEOF
 
3554
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431
3555
/* end confdefs.h.  */
3432
3556
 
3433
3557
int
3441
3565
  return 0;
3442
3566
}
3443
3567
_ACEOF
3444
 
rm -f conftest.$ac_objext
3445
 
if { (ac_try="$ac_compile"
3446
 
case "(($ac_try" in
3447
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448
 
  *) ac_try_echo=$ac_try;;
3449
 
esac
3450
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3451
 
$as_echo "$ac_try_echo") >&5
3452
 
  (eval "$ac_compile") 2>conftest.er1
3453
 
  ac_status=$?
3454
 
  grep -v '^ *+' conftest.er1 >conftest.err
3455
 
  rm -f conftest.er1
3456
 
  cat conftest.err >&5
3457
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458
 
  (exit $ac_status); } && {
3459
 
         test -z "$ac_c_werror_flag" ||
3460
 
         test ! -s conftest.err
3461
 
       } && test -s conftest.$ac_objext; then
 
3568
if ac_fn_c_try_compile "$LINENO"; then :
3462
3569
  ac_compiler_gnu=yes
3463
3570
else
3464
 
  $as_echo "$as_me: failed program was:" >&5
3465
 
sed 's/^/| /' conftest.$ac_ext >&5
3466
 
 
3467
 
        ac_compiler_gnu=no
 
3571
  ac_compiler_gnu=no
3468
3572
fi
3469
 
 
3470
3573
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471
3574
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3472
3575
 
3473
3576
fi
3474
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3475
3578
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3476
3579
if test $ac_compiler_gnu = yes; then
3477
3580
  GCC=yes
3480
3583
fi
3481
3584
ac_test_CFLAGS=${CFLAGS+set}
3482
3585
ac_save_CFLAGS=$CFLAGS
3483
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3484
3587
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3485
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3588
if ${ac_cv_prog_cc_g+:} false; then :
3486
3589
  $as_echo_n "(cached) " >&6
3487
3590
else
3488
3591
  ac_save_c_werror_flag=$ac_c_werror_flag
3489
3592
   ac_c_werror_flag=yes
3490
3593
   ac_cv_prog_cc_g=no
3491
3594
   CFLAGS="-g"
3492
 
   cat >conftest.$ac_ext <<_ACEOF
3493
 
/* confdefs.h.  */
3494
 
_ACEOF
3495
 
cat confdefs.h >>conftest.$ac_ext
3496
 
cat >>conftest.$ac_ext <<_ACEOF
 
3595
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497
3596
/* end confdefs.h.  */
3498
3597
 
3499
3598
int
3504
3603
  return 0;
3505
3604
}
3506
3605
_ACEOF
3507
 
rm -f conftest.$ac_objext
3508
 
if { (ac_try="$ac_compile"
3509
 
case "(($ac_try" in
3510
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511
 
  *) ac_try_echo=$ac_try;;
3512
 
esac
3513
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3514
 
$as_echo "$ac_try_echo") >&5
3515
 
  (eval "$ac_compile") 2>conftest.er1
3516
 
  ac_status=$?
3517
 
  grep -v '^ *+' conftest.er1 >conftest.err
3518
 
  rm -f conftest.er1
3519
 
  cat conftest.err >&5
3520
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521
 
  (exit $ac_status); } && {
3522
 
         test -z "$ac_c_werror_flag" ||
3523
 
         test ! -s conftest.err
3524
 
       } && test -s conftest.$ac_objext; then
 
3606
if ac_fn_c_try_compile "$LINENO"; then :
3525
3607
  ac_cv_prog_cc_g=yes
3526
3608
else
3527
 
  $as_echo "$as_me: failed program was:" >&5
3528
 
sed 's/^/| /' conftest.$ac_ext >&5
3529
 
 
3530
 
        CFLAGS=""
3531
 
      cat >conftest.$ac_ext <<_ACEOF
3532
 
/* confdefs.h.  */
3533
 
_ACEOF
3534
 
cat confdefs.h >>conftest.$ac_ext
3535
 
cat >>conftest.$ac_ext <<_ACEOF
 
3609
  CFLAGS=""
 
3610
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536
3611
/* end confdefs.h.  */
3537
3612
 
3538
3613
int
3543
3618
  return 0;
3544
3619
}
3545
3620
_ACEOF
3546
 
rm -f conftest.$ac_objext
3547
 
if { (ac_try="$ac_compile"
3548
 
case "(($ac_try" in
3549
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550
 
  *) ac_try_echo=$ac_try;;
3551
 
esac
3552
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3553
 
$as_echo "$ac_try_echo") >&5
3554
 
  (eval "$ac_compile") 2>conftest.er1
3555
 
  ac_status=$?
3556
 
  grep -v '^ *+' conftest.er1 >conftest.err
3557
 
  rm -f conftest.er1
3558
 
  cat conftest.err >&5
3559
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560
 
  (exit $ac_status); } && {
3561
 
         test -z "$ac_c_werror_flag" ||
3562
 
         test ! -s conftest.err
3563
 
       } && test -s conftest.$ac_objext; then
3564
 
  :
 
3621
if ac_fn_c_try_compile "$LINENO"; then :
 
3622
 
3565
3623
else
3566
 
  $as_echo "$as_me: failed program was:" >&5
3567
 
sed 's/^/| /' conftest.$ac_ext >&5
3568
 
 
3569
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3624
  ac_c_werror_flag=$ac_save_c_werror_flag
3570
3625
         CFLAGS="-g"
3571
 
         cat >conftest.$ac_ext <<_ACEOF
3572
 
/* confdefs.h.  */
3573
 
_ACEOF
3574
 
cat confdefs.h >>conftest.$ac_ext
3575
 
cat >>conftest.$ac_ext <<_ACEOF
 
3626
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576
3627
/* end confdefs.h.  */
3577
3628
 
3578
3629
int
3583
3634
  return 0;
3584
3635
}
3585
3636
_ACEOF
3586
 
rm -f conftest.$ac_objext
3587
 
if { (ac_try="$ac_compile"
3588
 
case "(($ac_try" in
3589
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590
 
  *) ac_try_echo=$ac_try;;
3591
 
esac
3592
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3593
 
$as_echo "$ac_try_echo") >&5
3594
 
  (eval "$ac_compile") 2>conftest.er1
3595
 
  ac_status=$?
3596
 
  grep -v '^ *+' conftest.er1 >conftest.err
3597
 
  rm -f conftest.er1
3598
 
  cat conftest.err >&5
3599
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
 
  (exit $ac_status); } && {
3601
 
         test -z "$ac_c_werror_flag" ||
3602
 
         test ! -s conftest.err
3603
 
       } && test -s conftest.$ac_objext; then
 
3637
if ac_fn_c_try_compile "$LINENO"; then :
3604
3638
  ac_cv_prog_cc_g=yes
3605
 
else
3606
 
  $as_echo "$as_me: failed program was:" >&5
3607
 
sed 's/^/| /' conftest.$ac_ext >&5
3608
 
 
3609
 
 
3610
 
fi
3611
 
 
3612
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613
 
fi
3614
 
 
3615
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616
 
fi
3617
 
 
 
3639
fi
 
3640
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3641
fi
 
3642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3643
fi
3618
3644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619
3645
   ac_c_werror_flag=$ac_save_c_werror_flag
3620
3646
fi
3621
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3622
3648
$as_echo "$ac_cv_prog_cc_g" >&6; }
3623
3649
if test "$ac_test_CFLAGS" = set; then
3624
3650
  CFLAGS=$ac_save_CFLAGS
3635
3661
    CFLAGS=
3636
3662
  fi
3637
3663
fi
3638
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3639
3665
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3640
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3666
if ${ac_cv_prog_cc_c89+:} false; then :
3641
3667
  $as_echo_n "(cached) " >&6
3642
3668
else
3643
3669
  ac_cv_prog_cc_c89=no
3644
3670
ac_save_CC=$CC
3645
 
cat >conftest.$ac_ext <<_ACEOF
3646
 
/* confdefs.h.  */
3647
 
_ACEOF
3648
 
cat confdefs.h >>conftest.$ac_ext
3649
 
cat >>conftest.$ac_ext <<_ACEOF
 
3671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650
3672
/* end confdefs.h.  */
3651
3673
#include <stdarg.h>
3652
3674
#include <stdio.h>
3703
3725
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3704
3726
do
3705
3727
  CC="$ac_save_CC $ac_arg"
3706
 
  rm -f conftest.$ac_objext
3707
 
if { (ac_try="$ac_compile"
3708
 
case "(($ac_try" in
3709
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710
 
  *) ac_try_echo=$ac_try;;
3711
 
esac
3712
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3713
 
$as_echo "$ac_try_echo") >&5
3714
 
  (eval "$ac_compile") 2>conftest.er1
3715
 
  ac_status=$?
3716
 
  grep -v '^ *+' conftest.er1 >conftest.err
3717
 
  rm -f conftest.er1
3718
 
  cat conftest.err >&5
3719
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720
 
  (exit $ac_status); } && {
3721
 
         test -z "$ac_c_werror_flag" ||
3722
 
         test ! -s conftest.err
3723
 
       } && test -s conftest.$ac_objext; then
 
3728
  if ac_fn_c_try_compile "$LINENO"; then :
3724
3729
  ac_cv_prog_cc_c89=$ac_arg
3725
 
else
3726
 
  $as_echo "$as_me: failed program was:" >&5
3727
 
sed 's/^/| /' conftest.$ac_ext >&5
3728
 
 
3729
 
 
3730
3730
fi
3731
 
 
3732
3731
rm -f core conftest.err conftest.$ac_objext
3733
3732
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3734
3733
done
3739
3738
# AC_CACHE_VAL
3740
3739
case "x$ac_cv_prog_cc_c89" in
3741
3740
  x)
3742
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3741
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743
3742
$as_echo "none needed" >&6; } ;;
3744
3743
  xno)
3745
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3744
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746
3745
$as_echo "unsupported" >&6; } ;;
3747
3746
  *)
3748
3747
    CC="$CC $ac_cv_prog_cc_c89"
3749
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3748
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750
3749
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3751
3750
esac
 
3751
if test "x$ac_cv_prog_cc_c89" != xno; then :
3752
3752
 
 
3753
fi
3753
3754
 
3754
3755
ac_ext=c
3755
3756
ac_cpp='$CPP $CPPFLAGS'
3756
3757
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757
3758
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758
3759
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3760
DEPDIR="${am__leading_dot}deps"
 
3761
 
 
3762
ac_config_commands="$ac_config_commands depfiles"
 
3763
 
 
3764
 
 
3765
am_make=${MAKE-make}
 
3766
cat > confinc << 'END'
 
3767
am__doit:
 
3768
        @echo this is the am__doit target
 
3769
.PHONY: am__doit
 
3770
END
 
3771
# If we don't find an include directive, just comment out the code.
 
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3773
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3774
am__include="#"
 
3775
am__quote=
 
3776
_am_result=none
 
3777
# First try GNU make style include.
 
3778
echo "include confinc" > confmf
 
3779
# Ignore all kinds of additional output from `make'.
 
3780
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3781
*the\ am__doit\ target*)
 
3782
  am__include=include
 
3783
  am__quote=
 
3784
  _am_result=GNU
 
3785
  ;;
 
3786
esac
 
3787
# Now try BSD make style include.
 
3788
if test "$am__include" = "#"; then
 
3789
   echo '.include "confinc"' > confmf
 
3790
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3791
   *the\ am__doit\ target*)
 
3792
     am__include=.include
 
3793
     am__quote="\""
 
3794
     _am_result=BSD
 
3795
     ;;
 
3796
   esac
 
3797
fi
 
3798
 
 
3799
 
 
3800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3801
$as_echo "$_am_result" >&6; }
 
3802
rm -f confinc confmf
 
3803
 
 
3804
# Check whether --enable-dependency-tracking was given.
 
3805
if test "${enable_dependency_tracking+set}" = set; then :
 
3806
  enableval=$enable_dependency_tracking;
 
3807
fi
 
3808
 
 
3809
if test "x$enable_dependency_tracking" != xno; then
 
3810
  am_depcomp="$ac_aux_dir/depcomp"
 
3811
  AMDEPBACKSLASH='\'
 
3812
fi
 
3813
 if test "x$enable_dependency_tracking" != xno; then
 
3814
  AMDEP_TRUE=
 
3815
  AMDEP_FALSE='#'
 
3816
else
 
3817
  AMDEP_TRUE='#'
 
3818
  AMDEP_FALSE=
 
3819
fi
 
3820
 
 
3821
 
3759
3822
 
3760
3823
depcc="$CC"   am_compiler_list=
3761
3824
 
3762
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3763
3826
$as_echo_n "checking dependency style of $depcc... " >&6; }
3764
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3827
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3765
3828
  $as_echo_n "(cached) " >&6
3766
3829
else
3767
3830
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3869
3932
fi
3870
3933
 
3871
3934
fi
3872
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3873
3936
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3874
3937
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3875
3938
 
3884
3947
fi
3885
3948
 
3886
3949
 
3887
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3950
ac_ext=cpp
 
3951
ac_cpp='$CXXCPP $CPPFLAGS'
 
3952
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3953
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3954
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
3955
if test -z "$CXX"; then
 
3956
  if test -n "$CCC"; then
 
3957
    CXX=$CCC
 
3958
  else
 
3959
    if test -n "$ac_tool_prefix"; then
 
3960
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
3961
  do
 
3962
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3963
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3965
$as_echo_n "checking for $ac_word... " >&6; }
 
3966
if ${ac_cv_prog_CXX+:} false; then :
 
3967
  $as_echo_n "(cached) " >&6
 
3968
else
 
3969
  if test -n "$CXX"; then
 
3970
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
3971
else
 
3972
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3973
for as_dir in $PATH
 
3974
do
 
3975
  IFS=$as_save_IFS
 
3976
  test -z "$as_dir" && as_dir=.
 
3977
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3978
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3979
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
3980
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3981
    break 2
 
3982
  fi
 
3983
done
 
3984
  done
 
3985
IFS=$as_save_IFS
 
3986
 
 
3987
fi
 
3988
fi
 
3989
CXX=$ac_cv_prog_CXX
 
3990
if test -n "$CXX"; then
 
3991
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
3992
$as_echo "$CXX" >&6; }
 
3993
else
 
3994
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3995
$as_echo "no" >&6; }
 
3996
fi
 
3997
 
 
3998
 
 
3999
    test -n "$CXX" && break
 
4000
  done
 
4001
fi
 
4002
if test -z "$CXX"; then
 
4003
  ac_ct_CXX=$CXX
 
4004
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
4005
do
 
4006
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4007
set dummy $ac_prog; ac_word=$2
 
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4009
$as_echo_n "checking for $ac_word... " >&6; }
 
4010
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 
4011
  $as_echo_n "(cached) " >&6
 
4012
else
 
4013
  if test -n "$ac_ct_CXX"; then
 
4014
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
4015
else
 
4016
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4017
for as_dir in $PATH
 
4018
do
 
4019
  IFS=$as_save_IFS
 
4020
  test -z "$as_dir" && as_dir=.
 
4021
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4023
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
4024
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4025
    break 2
 
4026
  fi
 
4027
done
 
4028
  done
 
4029
IFS=$as_save_IFS
 
4030
 
 
4031
fi
 
4032
fi
 
4033
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
4034
if test -n "$ac_ct_CXX"; then
 
4035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
4036
$as_echo "$ac_ct_CXX" >&6; }
 
4037
else
 
4038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4039
$as_echo "no" >&6; }
 
4040
fi
 
4041
 
 
4042
 
 
4043
  test -n "$ac_ct_CXX" && break
 
4044
done
 
4045
 
 
4046
  if test "x$ac_ct_CXX" = x; then
 
4047
    CXX="g++"
 
4048
  else
 
4049
    case $cross_compiling:$ac_tool_warned in
 
4050
yes:)
 
4051
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4052
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4053
ac_tool_warned=yes ;;
 
4054
esac
 
4055
    CXX=$ac_ct_CXX
 
4056
  fi
 
4057
fi
 
4058
 
 
4059
  fi
 
4060
fi
 
4061
# Provide some information about the compiler.
 
4062
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
4063
set X $ac_compile
 
4064
ac_compiler=$2
 
4065
for ac_option in --version -v -V -qversion; do
 
4066
  { { ac_try="$ac_compiler $ac_option >&5"
 
4067
case "(($ac_try" in
 
4068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4069
  *) ac_try_echo=$ac_try;;
 
4070
esac
 
4071
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4072
$as_echo "$ac_try_echo"; } >&5
 
4073
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4074
  ac_status=$?
 
4075
  if test -s conftest.err; then
 
4076
    sed '10a\
 
4077
... rest of stderr output deleted ...
 
4078
         10q' conftest.err >conftest.er1
 
4079
    cat conftest.er1 >&5
 
4080
  fi
 
4081
  rm -f conftest.er1 conftest.err
 
4082
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4083
  test $ac_status = 0; }
 
4084
done
 
4085
 
 
4086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
4087
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
4088
if ${ac_cv_cxx_compiler_gnu+:} false; then :
 
4089
  $as_echo_n "(cached) " >&6
 
4090
else
 
4091
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4092
/* end confdefs.h.  */
 
4093
 
 
4094
int
 
4095
main ()
 
4096
{
 
4097
#ifndef __GNUC__
 
4098
       choke me
 
4099
#endif
 
4100
 
 
4101
  ;
 
4102
  return 0;
 
4103
}
 
4104
_ACEOF
 
4105
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4106
  ac_compiler_gnu=yes
 
4107
else
 
4108
  ac_compiler_gnu=no
 
4109
fi
 
4110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4111
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
4112
 
 
4113
fi
 
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
4115
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
4116
if test $ac_compiler_gnu = yes; then
 
4117
  GXX=yes
 
4118
else
 
4119
  GXX=
 
4120
fi
 
4121
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
4122
ac_save_CXXFLAGS=$CXXFLAGS
 
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
4124
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
4125
if ${ac_cv_prog_cxx_g+:} false; then :
 
4126
  $as_echo_n "(cached) " >&6
 
4127
else
 
4128
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
4129
   ac_cxx_werror_flag=yes
 
4130
   ac_cv_prog_cxx_g=no
 
4131
   CXXFLAGS="-g"
 
4132
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4133
/* end confdefs.h.  */
 
4134
 
 
4135
int
 
4136
main ()
 
4137
{
 
4138
 
 
4139
  ;
 
4140
  return 0;
 
4141
}
 
4142
_ACEOF
 
4143
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4144
  ac_cv_prog_cxx_g=yes
 
4145
else
 
4146
  CXXFLAGS=""
 
4147
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4148
/* end confdefs.h.  */
 
4149
 
 
4150
int
 
4151
main ()
 
4152
{
 
4153
 
 
4154
  ;
 
4155
  return 0;
 
4156
}
 
4157
_ACEOF
 
4158
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4159
 
 
4160
else
 
4161
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4162
         CXXFLAGS="-g"
 
4163
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4164
/* end confdefs.h.  */
 
4165
 
 
4166
int
 
4167
main ()
 
4168
{
 
4169
 
 
4170
  ;
 
4171
  return 0;
 
4172
}
 
4173
_ACEOF
 
4174
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4175
  ac_cv_prog_cxx_g=yes
 
4176
fi
 
4177
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4178
fi
 
4179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4180
fi
 
4181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4182
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4183
fi
 
4184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
4185
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
4186
if test "$ac_test_CXXFLAGS" = set; then
 
4187
  CXXFLAGS=$ac_save_CXXFLAGS
 
4188
elif test $ac_cv_prog_cxx_g = yes; then
 
4189
  if test "$GXX" = yes; then
 
4190
    CXXFLAGS="-g -O2"
 
4191
  else
 
4192
    CXXFLAGS="-g"
 
4193
  fi
 
4194
else
 
4195
  if test "$GXX" = yes; then
 
4196
    CXXFLAGS="-O2"
 
4197
  else
 
4198
    CXXFLAGS=
 
4199
  fi
 
4200
fi
 
4201
ac_ext=c
 
4202
ac_cpp='$CPP $CPPFLAGS'
 
4203
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4204
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4205
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4206
 
 
4207
depcc="$CXX"  am_compiler_list=
 
4208
 
 
4209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4210
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4211
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 
4212
  $as_echo_n "(cached) " >&6
 
4213
else
 
4214
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4215
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4216
  # making bogus files that we don't know about and never remove.  For
 
4217
  # instance it was reported that on HP-UX the gcc test will end up
 
4218
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4219
  # in D'.
 
4220
  mkdir conftest.dir
 
4221
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4222
  # using a relative directory.
 
4223
  cp "$am_depcomp" conftest.dir
 
4224
  cd conftest.dir
 
4225
  # We will build objects and dependencies in a subdirectory because
 
4226
  # it helps to detect inapplicable dependency modes.  For instance
 
4227
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4228
  # side effect of compilation, but ICC will put the dependencies in
 
4229
  # the current directory while Tru64 will put them in the object
 
4230
  # directory.
 
4231
  mkdir sub
 
4232
 
 
4233
  am_cv_CXX_dependencies_compiler_type=none
 
4234
  if test "$am_compiler_list" = ""; then
 
4235
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4236
  fi
 
4237
  am__universal=false
 
4238
  case " $depcc " in #(
 
4239
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4240
     esac
 
4241
 
 
4242
  for depmode in $am_compiler_list; do
 
4243
    # Setup a source with many dependencies, because some compilers
 
4244
    # like to wrap large dependency lists on column 80 (with \), and
 
4245
    # we should not choose a depcomp mode which is confused by this.
 
4246
    #
 
4247
    # We need to recreate these files for each test, as the compiler may
 
4248
    # overwrite some of them when testing with obscure command lines.
 
4249
    # This happens at least with the AIX C compiler.
 
4250
    : > sub/conftest.c
 
4251
    for i in 1 2 3 4 5 6; do
 
4252
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4253
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4254
      # Solaris 8's {/usr,}/bin/sh.
 
4255
      touch sub/conftst$i.h
 
4256
    done
 
4257
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4258
 
 
4259
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4260
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4261
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4262
    # versions had trouble with output in subdirs
 
4263
    am__obj=sub/conftest.${OBJEXT-o}
 
4264
    am__minus_obj="-o $am__obj"
 
4265
    case $depmode in
 
4266
    gcc)
 
4267
      # This depmode causes a compiler race in universal mode.
 
4268
      test "$am__universal" = false || continue
 
4269
      ;;
 
4270
    nosideeffect)
 
4271
      # after this tag, mechanisms are not by side-effect, so they'll
 
4272
      # only be used when explicitly requested
 
4273
      if test "x$enable_dependency_tracking" = xyes; then
 
4274
        continue
 
4275
      else
 
4276
        break
 
4277
      fi
 
4278
      ;;
 
4279
    msvisualcpp | msvcmsys)
 
4280
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4281
      # not run yet.  These depmodes are late enough in the game, and
 
4282
      # so weak that their functioning should not be impacted.
 
4283
      am__obj=conftest.${OBJEXT-o}
 
4284
      am__minus_obj=
 
4285
      ;;
 
4286
    none) break ;;
 
4287
    esac
 
4288
    if depmode=$depmode \
 
4289
       source=sub/conftest.c object=$am__obj \
 
4290
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4291
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4292
         >/dev/null 2>conftest.err &&
 
4293
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4294
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4295
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4296
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4297
      # icc doesn't choke on unknown options, it will just issue warnings
 
4298
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4299
      # that says an option was ignored or not supported.
 
4300
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4301
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4302
      # The diagnosis changed in icc 8.0:
 
4303
      #   icc: Command line remark: option '-MP' not supported
 
4304
      if (grep 'ignoring option' conftest.err ||
 
4305
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4306
        am_cv_CXX_dependencies_compiler_type=$depmode
 
4307
        break
 
4308
      fi
 
4309
    fi
 
4310
  done
 
4311
 
 
4312
  cd ..
 
4313
  rm -rf conftest.dir
 
4314
else
 
4315
  am_cv_CXX_dependencies_compiler_type=none
 
4316
fi
 
4317
 
 
4318
fi
 
4319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4320
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
4321
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
4322
 
 
4323
 if
 
4324
  test "x$enable_dependency_tracking" != xno \
 
4325
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
4326
  am__fastdepCXX_TRUE=
 
4327
  am__fastdepCXX_FALSE='#'
 
4328
else
 
4329
  am__fastdepCXX_TRUE='#'
 
4330
  am__fastdepCXX_FALSE=
 
4331
fi
 
4332
 
 
4333
 
 
4334
ac_ext=cpp
 
4335
ac_cpp='$CXXCPP $CPPFLAGS'
 
4336
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4337
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4338
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
4339
 
 
4340
 
 
4341
 
 
4342
 
 
4343
# Initialize libtool
 
4344
 
 
4345
case `pwd` in
 
4346
  *\ * | *\     *)
 
4347
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4348
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4349
esac
 
4350
 
 
4351
 
 
4352
 
 
4353
macro_version='2.4'
 
4354
macro_revision='1.3293'
 
4355
 
 
4356
 
 
4357
 
 
4358
 
 
4359
 
 
4360
 
 
4361
 
 
4362
 
 
4363
 
 
4364
 
 
4365
 
 
4366
 
 
4367
 
 
4368
ltmain="$ac_aux_dir/ltmain.sh"
 
4369
 
 
4370
# Make sure we can run config.sub.
 
4371
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4372
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4373
 
 
4374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4375
$as_echo_n "checking build system type... " >&6; }
 
4376
if ${ac_cv_build+:} false; then :
 
4377
  $as_echo_n "(cached) " >&6
 
4378
else
 
4379
  ac_build_alias=$build_alias
 
4380
test "x$ac_build_alias" = x &&
 
4381
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4382
test "x$ac_build_alias" = x &&
 
4383
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
4384
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4385
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4386
 
 
4387
fi
 
4388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4389
$as_echo "$ac_cv_build" >&6; }
 
4390
case $ac_cv_build in
 
4391
*-*-*) ;;
 
4392
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
4393
esac
 
4394
build=$ac_cv_build
 
4395
ac_save_IFS=$IFS; IFS='-'
 
4396
set x $ac_cv_build
 
4397
shift
 
4398
build_cpu=$1
 
4399
build_vendor=$2
 
4400
shift; shift
 
4401
# Remember, the first character of IFS is used to create $*,
 
4402
# except with old shells:
 
4403
build_os=$*
 
4404
IFS=$ac_save_IFS
 
4405
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4406
 
 
4407
 
 
4408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4409
$as_echo_n "checking host system type... " >&6; }
 
4410
if ${ac_cv_host+:} false; then :
 
4411
  $as_echo_n "(cached) " >&6
 
4412
else
 
4413
  if test "x$host_alias" = x; then
 
4414
  ac_cv_host=$ac_cv_build
 
4415
else
 
4416
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4417
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4418
fi
 
4419
 
 
4420
fi
 
4421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4422
$as_echo "$ac_cv_host" >&6; }
 
4423
case $ac_cv_host in
 
4424
*-*-*) ;;
 
4425
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
4426
esac
 
4427
host=$ac_cv_host
 
4428
ac_save_IFS=$IFS; IFS='-'
 
4429
set x $ac_cv_host
 
4430
shift
 
4431
host_cpu=$1
 
4432
host_vendor=$2
 
4433
shift; shift
 
4434
# Remember, the first character of IFS is used to create $*,
 
4435
# except with old shells:
 
4436
host_os=$*
 
4437
IFS=$ac_save_IFS
 
4438
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4439
 
 
4440
 
 
4441
# Backslashify metacharacters that are still active within
 
4442
# double-quoted strings.
 
4443
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4444
 
 
4445
# Same as above, but do not quote variable references.
 
4446
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4447
 
 
4448
# Sed substitution to delay expansion of an escaped shell variable in a
 
4449
# double_quote_subst'ed string.
 
4450
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4451
 
 
4452
# Sed substitution to delay expansion of an escaped single quote.
 
4453
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4454
 
 
4455
# Sed substitution to avoid accidental globbing in evaled expressions
 
4456
no_glob_subst='s/\*/\\\*/g'
 
4457
 
 
4458
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4459
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4460
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4461
 
 
4462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4463
$as_echo_n "checking how to print strings... " >&6; }
 
4464
# Test print first, because it will be a builtin if present.
 
4465
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4466
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4467
  ECHO='print -r --'
 
4468
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4469
  ECHO='printf %s\n'
 
4470
else
 
4471
  # Use this function as a fallback that always works.
 
4472
  func_fallback_echo ()
 
4473
  {
 
4474
    eval 'cat <<_LTECHO_EOF
 
4475
$1
 
4476
_LTECHO_EOF'
 
4477
  }
 
4478
  ECHO='func_fallback_echo'
 
4479
fi
 
4480
 
 
4481
# func_echo_all arg...
 
4482
# Invoke $ECHO with all args, space-separated.
 
4483
func_echo_all ()
 
4484
{
 
4485
    $ECHO ""
 
4486
}
 
4487
 
 
4488
case "$ECHO" in
 
4489
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4490
$as_echo "printf" >&6; } ;;
 
4491
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4492
$as_echo "print -r" >&6; } ;;
 
4493
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4494
$as_echo "cat" >&6; } ;;
 
4495
esac
 
4496
 
 
4497
 
 
4498
 
 
4499
 
 
4500
 
 
4501
 
 
4502
 
 
4503
 
 
4504
 
 
4505
 
 
4506
 
 
4507
 
 
4508
 
 
4509
 
 
4510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3888
4511
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3889
 
if test "${ac_cv_path_SED+set}" = set; then
 
4512
if ${ac_cv_path_SED+:} false; then :
3890
4513
  $as_echo_n "(cached) " >&6
3891
4514
else
3892
4515
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3894
4517
       ac_script="$ac_script$as_nl$ac_script"
3895
4518
     done
3896
4519
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3897
 
     $as_unset ac_script || ac_script=
 
4520
     { ac_script=; unset ac_script;}
3898
4521
     if test -z "$SED"; then
3899
4522
  ac_path_SED_found=false
3900
4523
  # Loop through the user's path and test for each of PROGNAME-LIST
3903
4526
do
3904
4527
  IFS=$as_save_IFS
3905
4528
  test -z "$as_dir" && as_dir=.
3906
 
  for ac_prog in sed gsed; do
 
4529
    for ac_prog in sed gsed; do
3907
4530
    for ac_exec_ext in '' $ac_executable_extensions; do
3908
4531
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3909
4532
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3923
4546
    $as_echo '' >> "conftest.nl"
3924
4547
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3925
4548
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3926
 
    ac_count=`expr $ac_count + 1`
 
4549
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3927
4550
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3928
4551
      # Best one so far, save it but keep looking for a better one
3929
4552
      ac_cv_path_SED="$ac_path_SED"
3938
4561
      $ac_path_SED_found && break 3
3939
4562
    done
3940
4563
  done
3941
 
done
 
4564
  done
3942
4565
IFS=$as_save_IFS
3943
4566
  if test -z "$ac_cv_path_SED"; then
3944
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3945
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3946
 
   { (exit 1); exit 1; }; }
 
4567
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3947
4568
  fi
3948
4569
else
3949
4570
  ac_cv_path_SED=$SED
3950
4571
fi
3951
4572
 
3952
4573
fi
3953
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3954
4575
$as_echo "$ac_cv_path_SED" >&6; }
3955
4576
 SED="$ac_cv_path_SED"
3956
4577
  rm -f conftest.sed
3968
4589
 
3969
4590
 
3970
4591
 
3971
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3972
4593
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3973
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4594
if ${ac_cv_path_GREP+:} false; then :
3974
4595
  $as_echo_n "(cached) " >&6
3975
4596
else
3976
4597
  if test -z "$GREP"; then
3981
4602
do
3982
4603
  IFS=$as_save_IFS
3983
4604
  test -z "$as_dir" && as_dir=.
3984
 
  for ac_prog in grep ggrep; do
 
4605
    for ac_prog in grep ggrep; do
3985
4606
    for ac_exec_ext in '' $ac_executable_extensions; do
3986
4607
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3987
4608
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4001
4622
    $as_echo 'GREP' >> "conftest.nl"
4002
4623
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4003
4624
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4004
 
    ac_count=`expr $ac_count + 1`
 
4625
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4005
4626
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4006
4627
      # Best one so far, save it but keep looking for a better one
4007
4628
      ac_cv_path_GREP="$ac_path_GREP"
4016
4637
      $ac_path_GREP_found && break 3
4017
4638
    done
4018
4639
  done
4019
 
done
 
4640
  done
4020
4641
IFS=$as_save_IFS
4021
4642
  if test -z "$ac_cv_path_GREP"; then
4022
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4023
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4024
 
   { (exit 1); exit 1; }; }
 
4643
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4025
4644
  fi
4026
4645
else
4027
4646
  ac_cv_path_GREP=$GREP
4028
4647
fi
4029
4648
 
4030
4649
fi
4031
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4032
4651
$as_echo "$ac_cv_path_GREP" >&6; }
4033
4652
 GREP="$ac_cv_path_GREP"
4034
4653
 
4035
4654
 
4036
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4037
4656
$as_echo_n "checking for egrep... " >&6; }
4038
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4657
if ${ac_cv_path_EGREP+:} false; then :
4039
4658
  $as_echo_n "(cached) " >&6
4040
4659
else
4041
4660
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4049
4668
do
4050
4669
  IFS=$as_save_IFS
4051
4670
  test -z "$as_dir" && as_dir=.
4052
 
  for ac_prog in egrep; do
 
4671
    for ac_prog in egrep; do
4053
4672
    for ac_exec_ext in '' $ac_executable_extensions; do
4054
4673
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4055
4674
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4069
4688
    $as_echo 'EGREP' >> "conftest.nl"
4070
4689
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4071
4690
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4072
 
    ac_count=`expr $ac_count + 1`
 
4691
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4073
4692
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4074
4693
      # Best one so far, save it but keep looking for a better one
4075
4694
      ac_cv_path_EGREP="$ac_path_EGREP"
4084
4703
      $ac_path_EGREP_found && break 3
4085
4704
    done
4086
4705
  done
4087
 
done
 
4706
  done
4088
4707
IFS=$as_save_IFS
4089
4708
  if test -z "$ac_cv_path_EGREP"; then
4090
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4091
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4092
 
   { (exit 1); exit 1; }; }
 
4709
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4093
4710
  fi
4094
4711
else
4095
4712
  ac_cv_path_EGREP=$EGREP
4097
4714
 
4098
4715
   fi
4099
4716
fi
4100
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4101
4718
$as_echo "$ac_cv_path_EGREP" >&6; }
4102
4719
 EGREP="$ac_cv_path_EGREP"
4103
4720
 
4104
4721
 
4105
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4106
4723
$as_echo_n "checking for fgrep... " >&6; }
4107
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4724
if ${ac_cv_path_FGREP+:} false; then :
4108
4725
  $as_echo_n "(cached) " >&6
4109
4726
else
4110
4727
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4118
4735
do
4119
4736
  IFS=$as_save_IFS
4120
4737
  test -z "$as_dir" && as_dir=.
4121
 
  for ac_prog in fgrep; do
 
4738
    for ac_prog in fgrep; do
4122
4739
    for ac_exec_ext in '' $ac_executable_extensions; do
4123
4740
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4124
4741
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4138
4755
    $as_echo 'FGREP' >> "conftest.nl"
4139
4756
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4140
4757
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4141
 
    ac_count=`expr $ac_count + 1`
 
4758
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4142
4759
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4143
4760
      # Best one so far, save it but keep looking for a better one
4144
4761
      ac_cv_path_FGREP="$ac_path_FGREP"
4153
4770
      $ac_path_FGREP_found && break 3
4154
4771
    done
4155
4772
  done
4156
 
done
 
4773
  done
4157
4774
IFS=$as_save_IFS
4158
4775
  if test -z "$ac_cv_path_FGREP"; then
4159
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4160
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4161
 
   { (exit 1); exit 1; }; }
 
4776
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4162
4777
  fi
4163
4778
else
4164
4779
  ac_cv_path_FGREP=$FGREP
4166
4781
 
4167
4782
   fi
4168
4783
fi
4169
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4170
4785
$as_echo "$ac_cv_path_FGREP" >&6; }
4171
4786
 FGREP="$ac_cv_path_FGREP"
4172
4787
 
4192
4807
 
4193
4808
 
4194
4809
# Check whether --with-gnu-ld was given.
4195
 
if test "${with_gnu_ld+set}" = set; then
 
4810
if test "${with_gnu_ld+set}" = set; then :
4196
4811
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4197
4812
else
4198
4813
  with_gnu_ld=no
4201
4816
ac_prog=ld
4202
4817
if test "$GCC" = yes; then
4203
4818
  # Check if gcc -print-prog-name=ld gives a path.
4204
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4819
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4205
4820
$as_echo_n "checking for ld used by $CC... " >&6; }
4206
4821
  case $host in
4207
4822
  *-*-mingw*)
4231
4846
    ;;
4232
4847
  esac
4233
4848
elif test "$with_gnu_ld" = yes; then
4234
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4849
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4235
4850
$as_echo_n "checking for GNU ld... " >&6; }
4236
4851
else
4237
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4852
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4238
4853
$as_echo_n "checking for non-GNU ld... " >&6; }
4239
4854
fi
4240
 
if test "${lt_cv_path_LD+set}" = set; then
 
4855
if ${lt_cv_path_LD+:} false; then :
4241
4856
  $as_echo_n "(cached) " >&6
4242
4857
else
4243
4858
  if test -z "$LD"; then
4268
4883
 
4269
4884
LD="$lt_cv_path_LD"
4270
4885
if test -n "$LD"; then
4271
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4272
4887
$as_echo "$LD" >&6; }
4273
4888
else
4274
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275
4890
$as_echo "no" >&6; }
4276
4891
fi
4277
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4278
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4279
 
   { (exit 1); exit 1; }; }
4280
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4892
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4281
4894
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4282
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4895
if ${lt_cv_prog_gnu_ld+:} false; then :
4283
4896
  $as_echo_n "(cached) " >&6
4284
4897
else
4285
4898
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4292
4905
  ;;
4293
4906
esac
4294
4907
fi
4295
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4296
4909
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4297
4910
with_gnu_ld=$lt_cv_prog_gnu_ld
4298
4911
 
4304
4917
 
4305
4918
 
4306
4919
 
4307
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4308
4921
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4309
 
if test "${lt_cv_path_NM+set}" = set; then
 
4922
if ${lt_cv_path_NM+:} false; then :
4310
4923
  $as_echo_n "(cached) " >&6
4311
4924
else
4312
4925
  if test -n "$NM"; then
4353
4966
  : ${lt_cv_path_NM=no}
4354
4967
fi
4355
4968
fi
4356
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4357
4970
$as_echo "$lt_cv_path_NM" >&6; }
4358
4971
if test "$lt_cv_path_NM" != "no"; then
4359
4972
  NM="$lt_cv_path_NM"
4360
4973
else
4361
4974
  # Didn't find any BSD compatible name lister, look for dumpbin.
4362
 
  if test -n "$ac_tool_prefix"; then
4363
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4975
  if test -n "$DUMPBIN"; then :
 
4976
    # Let the user override the test.
 
4977
  else
 
4978
    if test -n "$ac_tool_prefix"; then
 
4979
  for ac_prog in dumpbin "link -dump"
4364
4980
  do
4365
4981
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4366
4982
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4367
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368
4984
$as_echo_n "checking for $ac_word... " >&6; }
4369
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4985
if ${ac_cv_prog_DUMPBIN+:} false; then :
4370
4986
  $as_echo_n "(cached) " >&6
4371
4987
else
4372
4988
  if test -n "$DUMPBIN"; then
4377
4993
do
4378
4994
  IFS=$as_save_IFS
4379
4995
  test -z "$as_dir" && as_dir=.
4380
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4996
    for ac_exec_ext in '' $ac_executable_extensions; do
4381
4997
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382
4998
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4383
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4999
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384
5000
    break 2
4385
5001
  fi
4386
5002
done
4387
 
done
 
5003
  done
4388
5004
IFS=$as_save_IFS
4389
5005
 
4390
5006
fi
4391
5007
fi
4392
5008
DUMPBIN=$ac_cv_prog_DUMPBIN
4393
5009
if test -n "$DUMPBIN"; then
4394
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5010
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4395
5011
$as_echo "$DUMPBIN" >&6; }
4396
5012
else
4397
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5013
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398
5014
$as_echo "no" >&6; }
4399
5015
fi
4400
5016
 
4404
5020
fi
4405
5021
if test -z "$DUMPBIN"; then
4406
5022
  ac_ct_DUMPBIN=$DUMPBIN
4407
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5023
  for ac_prog in dumpbin "link -dump"
4408
5024
do
4409
5025
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4410
5026
set dummy $ac_prog; ac_word=$2
4411
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4412
5028
$as_echo_n "checking for $ac_word... " >&6; }
4413
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5029
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4414
5030
  $as_echo_n "(cached) " >&6
4415
5031
else
4416
5032
  if test -n "$ac_ct_DUMPBIN"; then
4421
5037
do
4422
5038
  IFS=$as_save_IFS
4423
5039
  test -z "$as_dir" && as_dir=.
4424
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5040
    for ac_exec_ext in '' $ac_executable_extensions; do
4425
5041
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4426
5042
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4427
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5043
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428
5044
    break 2
4429
5045
  fi
4430
5046
done
4431
 
done
 
5047
  done
4432
5048
IFS=$as_save_IFS
4433
5049
 
4434
5050
fi
4435
5051
fi
4436
5052
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4437
5053
if test -n "$ac_ct_DUMPBIN"; then
4438
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4439
5055
$as_echo "$ac_ct_DUMPBIN" >&6; }
4440
5056
else
4441
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442
5058
$as_echo "no" >&6; }
4443
5059
fi
4444
5060
 
4451
5067
  else
4452
5068
    case $cross_compiling:$ac_tool_warned in
4453
5069
yes:)
4454
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5070
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4455
5071
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4456
5072
ac_tool_warned=yes ;;
4457
5073
esac
4459
5075
  fi
4460
5076
fi
4461
5077
 
 
5078
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5079
    *COFF*)
 
5080
      DUMPBIN="$DUMPBIN -symbols"
 
5081
      ;;
 
5082
    *)
 
5083
      DUMPBIN=:
 
5084
      ;;
 
5085
    esac
 
5086
  fi
4462
5087
 
4463
5088
  if test "$DUMPBIN" != ":"; then
4464
5089
    NM="$DUMPBIN"
4471
5096
 
4472
5097
 
4473
5098
 
4474
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4475
5100
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4476
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5101
if ${lt_cv_nm_interface+:} false; then :
4477
5102
  $as_echo_n "(cached) " >&6
4478
5103
else
4479
5104
  lt_cv_nm_interface="BSD nm"
4480
5105
  echo "int some_variable = 0;" > conftest.$ac_ext
4481
 
  (eval echo "\"\$as_me:4481: $ac_compile\"" >&5)
 
5106
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4482
5107
  (eval "$ac_compile" 2>conftest.err)
4483
5108
  cat conftest.err >&5
4484
 
  (eval echo "\"\$as_me:4484: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5109
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4485
5110
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4486
5111
  cat conftest.err >&5
4487
 
  (eval echo "\"\$as_me:4487: output\"" >&5)
 
5112
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4488
5113
  cat conftest.out >&5
4489
5114
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4490
5115
    lt_cv_nm_interface="MS dumpbin"
4491
5116
  fi
4492
5117
  rm -f conftest*
4493
5118
fi
4494
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4495
5120
$as_echo "$lt_cv_nm_interface" >&6; }
4496
5121
 
4497
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4498
5123
$as_echo_n "checking whether ln -s works... " >&6; }
4499
5124
LN_S=$as_ln_s
4500
5125
if test "$LN_S" = "ln -s"; then
4501
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4502
5127
$as_echo "yes" >&6; }
4503
5128
else
4504
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4505
5130
$as_echo "no, using $LN_S" >&6; }
4506
5131
fi
4507
5132
 
4508
5133
# find the maximum length of command line arguments
4509
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4510
5135
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4511
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5136
if ${lt_cv_sys_max_cmd_len+:} false; then :
4512
5137
  $as_echo_n "(cached) " >&6
4513
5138
else
4514
5139
    i=0
4541
5166
    lt_cv_sys_max_cmd_len=8192;
4542
5167
    ;;
4543
5168
 
 
5169
  mint*)
 
5170
    # On MiNT this can take a long time and run out of memory.
 
5171
    lt_cv_sys_max_cmd_len=8192;
 
5172
    ;;
 
5173
 
4544
5174
  amigaos*)
4545
5175
    # On AmigaOS with pdksh, this test takes hours, literally.
4546
5176
    # So we just punt and use a minimum line length of 8192.
4605
5235
      # If test is not a shell built-in, we'll probably end up computing a
4606
5236
      # maximum length that is only half of the actual maximum length, but
4607
5237
      # we can't tell.
4608
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4609
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5238
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5239
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4610
5240
              test $i != 17 # 1/2 MB should be enough
4611
5241
      do
4612
5242
        i=`expr $i + 1`
4626
5256
fi
4627
5257
 
4628
5258
if test -n $lt_cv_sys_max_cmd_len ; then
4629
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4630
5260
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4631
5261
else
4632
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4633
5263
$as_echo "none" >&6; }
4634
5264
fi
4635
5265
max_cmd_len=$lt_cv_sys_max_cmd_len
4643
5273
: ${MV="mv -f"}
4644
5274
: ${RM="rm -f"}
4645
5275
 
4646
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4647
5277
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4648
5278
# Try some XSI features
4649
5279
xsi_shell=no
4650
5280
( _lt_dummy="a/b/c"
4651
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4652
 
      = c,a/b,, \
 
5281
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5282
      = c,a/b,b/c, \
4653
5283
    && eval 'test $(( 1 + 1 )) -eq 2 \
4654
5284
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4655
5285
  && xsi_shell=yes
4656
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4657
5287
$as_echo "$xsi_shell" >&6; }
4658
5288
 
4659
5289
 
4660
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4661
5291
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4662
5292
lt_shell_append=no
4663
5293
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4664
5294
    >/dev/null 2>&1 \
4665
5295
  && lt_shell_append=yes
4666
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4667
5297
$as_echo "$lt_shell_append" >&6; }
4668
5298
 
4669
5299
 
4698
5328
 
4699
5329
 
4700
5330
 
4701
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5332
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5333
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5334
  $as_echo_n "(cached) " >&6
 
5335
else
 
5336
  case $host in
 
5337
  *-*-mingw* )
 
5338
    case $build in
 
5339
      *-*-mingw* ) # actually msys
 
5340
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5341
        ;;
 
5342
      *-*-cygwin* )
 
5343
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5344
        ;;
 
5345
      * ) # otherwise, assume *nix
 
5346
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5347
        ;;
 
5348
    esac
 
5349
    ;;
 
5350
  *-*-cygwin* )
 
5351
    case $build in
 
5352
      *-*-mingw* ) # actually msys
 
5353
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5354
        ;;
 
5355
      *-*-cygwin* )
 
5356
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5357
        ;;
 
5358
      * ) # otherwise, assume *nix
 
5359
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5360
        ;;
 
5361
    esac
 
5362
    ;;
 
5363
  * ) # unhandled hosts (and "normal" native builds)
 
5364
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5365
    ;;
 
5366
esac
 
5367
 
 
5368
fi
 
5369
 
 
5370
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5372
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5373
 
 
5374
 
 
5375
 
 
5376
 
 
5377
 
 
5378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5379
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5380
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5381
  $as_echo_n "(cached) " >&6
 
5382
else
 
5383
  #assume ordinary cross tools, or native build.
 
5384
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5385
case $host in
 
5386
  *-*-mingw* )
 
5387
    case $build in
 
5388
      *-*-mingw* ) # actually msys
 
5389
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5390
        ;;
 
5391
    esac
 
5392
    ;;
 
5393
esac
 
5394
 
 
5395
fi
 
5396
 
 
5397
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5399
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5400
 
 
5401
 
 
5402
 
 
5403
 
 
5404
 
 
5405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4702
5406
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4703
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5407
if ${lt_cv_ld_reload_flag+:} false; then :
4704
5408
  $as_echo_n "(cached) " >&6
4705
5409
else
4706
5410
  lt_cv_ld_reload_flag='-r'
4707
5411
fi
4708
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4709
5413
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4710
5414
reload_flag=$lt_cv_ld_reload_flag
4711
5415
case $reload_flag in
4714
5418
esac
4715
5419
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4716
5420
case $host_os in
 
5421
  cygwin* | mingw* | pw32* | cegcc*)
 
5422
    if test "$GCC" != yes; then
 
5423
      reload_cmds=false
 
5424
    fi
 
5425
    ;;
4717
5426
  darwin*)
4718
5427
    if test "$GCC" = yes; then
4719
5428
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4734
5443
if test -n "$ac_tool_prefix"; then
4735
5444
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4736
5445
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4737
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738
5447
$as_echo_n "checking for $ac_word... " >&6; }
4739
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5448
if ${ac_cv_prog_OBJDUMP+:} false; then :
4740
5449
  $as_echo_n "(cached) " >&6
4741
5450
else
4742
5451
  if test -n "$OBJDUMP"; then
4747
5456
do
4748
5457
  IFS=$as_save_IFS
4749
5458
  test -z "$as_dir" && as_dir=.
4750
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5459
    for ac_exec_ext in '' $ac_executable_extensions; do
4751
5460
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4752
5461
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4753
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5462
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754
5463
    break 2
4755
5464
  fi
4756
5465
done
4757
 
done
 
5466
  done
4758
5467
IFS=$as_save_IFS
4759
5468
 
4760
5469
fi
4761
5470
fi
4762
5471
OBJDUMP=$ac_cv_prog_OBJDUMP
4763
5472
if test -n "$OBJDUMP"; then
4764
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4765
5474
$as_echo "$OBJDUMP" >&6; }
4766
5475
else
4767
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768
5477
$as_echo "no" >&6; }
4769
5478
fi
4770
5479
 
4774
5483
  ac_ct_OBJDUMP=$OBJDUMP
4775
5484
  # Extract the first word of "objdump", so it can be a program name with args.
4776
5485
set dummy objdump; ac_word=$2
4777
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778
5487
$as_echo_n "checking for $ac_word... " >&6; }
4779
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5488
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4780
5489
  $as_echo_n "(cached) " >&6
4781
5490
else
4782
5491
  if test -n "$ac_ct_OBJDUMP"; then
4787
5496
do
4788
5497
  IFS=$as_save_IFS
4789
5498
  test -z "$as_dir" && as_dir=.
4790
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5499
    for ac_exec_ext in '' $ac_executable_extensions; do
4791
5500
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4792
5501
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4793
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5502
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794
5503
    break 2
4795
5504
  fi
4796
5505
done
4797
 
done
 
5506
  done
4798
5507
IFS=$as_save_IFS
4799
5508
 
4800
5509
fi
4801
5510
fi
4802
5511
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4803
5512
if test -n "$ac_ct_OBJDUMP"; then
4804
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4805
5514
$as_echo "$ac_ct_OBJDUMP" >&6; }
4806
5515
else
4807
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5516
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808
5517
$as_echo "no" >&6; }
4809
5518
fi
4810
5519
 
4813
5522
  else
4814
5523
    case $cross_compiling:$ac_tool_warned in
4815
5524
yes:)
4816
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5525
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4817
5526
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4818
5527
ac_tool_warned=yes ;;
4819
5528
esac
4833
5542
 
4834
5543
 
4835
5544
 
4836
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4837
5546
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4838
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5547
if ${lt_cv_deplibs_check_method+:} false; then :
4839
5548
  $as_echo_n "(cached) " >&6
4840
5549
else
4841
5550
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4877
5586
  # Base MSYS/MinGW do not provide the 'file' command needed by
4878
5587
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4879
5588
  # unless we find 'file', for example because we are cross-compiling.
4880
 
  if ( file / ) >/dev/null 2>&1; then
 
5589
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5590
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4881
5591
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4882
5592
    lt_cv_file_magic_cmd='func_win32_libid'
4883
5593
  else
4884
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5594
    # Keep this pattern in sync with the one in func_win32_libid.
 
5595
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4885
5596
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4886
5597
  fi
4887
5598
  ;;
4888
5599
 
4889
 
cegcc)
 
5600
cegcc*)
4890
5601
  # use the weaker test based on 'objdump'. See mingw*.
4891
5602
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4892
5603
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4916
5627
  lt_cv_deplibs_check_method=pass_all
4917
5628
  ;;
4918
5629
 
 
5630
haiku*)
 
5631
  lt_cv_deplibs_check_method=pass_all
 
5632
  ;;
 
5633
 
4919
5634
hpux10.20* | hpux11*)
4920
5635
  lt_cv_file_magic_cmd=/usr/bin/file
4921
5636
  case $host_cpu in
4924
5639
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4925
5640
    ;;
4926
5641
  hppa*64*)
4927
 
    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]'
 
5642
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
4928
5643
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4929
5644
    ;;
4930
5645
  *)
4931
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5646
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4932
5647
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4933
5648
    ;;
4934
5649
  esac
4950
5665
  ;;
4951
5666
 
4952
5667
# This must be Linux ELF.
4953
 
linux* | k*bsd*-gnu)
 
5668
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4954
5669
  lt_cv_deplibs_check_method=pass_all
4955
5670
  ;;
4956
5671
 
5029
5744
esac
5030
5745
 
5031
5746
fi
5032
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5033
5748
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5749
 
 
5750
file_magic_glob=
 
5751
want_nocaseglob=no
 
5752
if test "$build" = "$host"; then
 
5753
  case $host_os in
 
5754
  mingw* | pw32*)
 
5755
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5756
      want_nocaseglob=yes
 
5757
    else
 
5758
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5759
    fi
 
5760
    ;;
 
5761
  esac
 
5762
fi
 
5763
 
5034
5764
file_magic_cmd=$lt_cv_file_magic_cmd
5035
5765
deplibs_check_method=$lt_cv_deplibs_check_method
5036
5766
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5046
5776
 
5047
5777
 
5048
5778
 
5049
 
if test -n "$ac_tool_prefix"; then
5050
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5051
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5052
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5053
 
$as_echo_n "checking for $ac_word... " >&6; }
5054
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
if test -n "$ac_tool_prefix"; then
 
5790
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5791
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5793
$as_echo_n "checking for $ac_word... " >&6; }
 
5794
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5795
  $as_echo_n "(cached) " >&6
 
5796
else
 
5797
  if test -n "$DLLTOOL"; then
 
5798
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5799
else
 
5800
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5801
for as_dir in $PATH
 
5802
do
 
5803
  IFS=$as_save_IFS
 
5804
  test -z "$as_dir" && as_dir=.
 
5805
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5806
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5807
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5808
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5809
    break 2
 
5810
  fi
 
5811
done
 
5812
  done
 
5813
IFS=$as_save_IFS
 
5814
 
 
5815
fi
 
5816
fi
 
5817
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5818
if test -n "$DLLTOOL"; then
 
5819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5820
$as_echo "$DLLTOOL" >&6; }
 
5821
else
 
5822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5823
$as_echo "no" >&6; }
 
5824
fi
 
5825
 
 
5826
 
 
5827
fi
 
5828
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5829
  ac_ct_DLLTOOL=$DLLTOOL
 
5830
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5831
set dummy dlltool; ac_word=$2
 
5832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5833
$as_echo_n "checking for $ac_word... " >&6; }
 
5834
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5835
  $as_echo_n "(cached) " >&6
 
5836
else
 
5837
  if test -n "$ac_ct_DLLTOOL"; then
 
5838
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5839
else
 
5840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5841
for as_dir in $PATH
 
5842
do
 
5843
  IFS=$as_save_IFS
 
5844
  test -z "$as_dir" && as_dir=.
 
5845
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5846
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5847
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5848
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5849
    break 2
 
5850
  fi
 
5851
done
 
5852
  done
 
5853
IFS=$as_save_IFS
 
5854
 
 
5855
fi
 
5856
fi
 
5857
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5858
if test -n "$ac_ct_DLLTOOL"; then
 
5859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5860
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5861
else
 
5862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5863
$as_echo "no" >&6; }
 
5864
fi
 
5865
 
 
5866
  if test "x$ac_ct_DLLTOOL" = x; then
 
5867
    DLLTOOL="false"
 
5868
  else
 
5869
    case $cross_compiling:$ac_tool_warned in
 
5870
yes:)
 
5871
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5872
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5873
ac_tool_warned=yes ;;
 
5874
esac
 
5875
    DLLTOOL=$ac_ct_DLLTOOL
 
5876
  fi
 
5877
else
 
5878
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5879
fi
 
5880
 
 
5881
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5882
 
 
5883
 
 
5884
 
 
5885
 
 
5886
 
 
5887
 
 
5888
 
 
5889
 
 
5890
 
 
5891
 
 
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5893
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5894
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5895
  $as_echo_n "(cached) " >&6
 
5896
else
 
5897
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5898
 
 
5899
case $host_os in
 
5900
cygwin* | mingw* | pw32* | cegcc*)
 
5901
  # two different shell functions defined in ltmain.sh
 
5902
  # decide which to use based on capabilities of $DLLTOOL
 
5903
  case `$DLLTOOL --help 2>&1` in
 
5904
  *--identify-strict*)
 
5905
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5906
    ;;
 
5907
  *)
 
5908
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5909
    ;;
 
5910
  esac
 
5911
  ;;
 
5912
*)
 
5913
  # fallback: assume linklib IS sharedlib
 
5914
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5915
  ;;
 
5916
esac
 
5917
 
 
5918
fi
 
5919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5920
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5921
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5922
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5923
 
 
5924
 
 
5925
 
 
5926
 
 
5927
 
 
5928
 
 
5929
 
 
5930
if test -n "$ac_tool_prefix"; then
 
5931
  for ac_prog in ar
 
5932
  do
 
5933
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5934
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5936
$as_echo_n "checking for $ac_word... " >&6; }
 
5937
if ${ac_cv_prog_AR+:} false; then :
5055
5938
  $as_echo_n "(cached) " >&6
5056
5939
else
5057
5940
  if test -n "$AR"; then
5062
5945
do
5063
5946
  IFS=$as_save_IFS
5064
5947
  test -z "$as_dir" && as_dir=.
5065
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5948
    for ac_exec_ext in '' $ac_executable_extensions; do
5066
5949
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5068
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5950
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5951
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069
5952
    break 2
5070
5953
  fi
5071
5954
done
5072
 
done
 
5955
  done
5073
5956
IFS=$as_save_IFS
5074
5957
 
5075
5958
fi
5076
5959
fi
5077
5960
AR=$ac_cv_prog_AR
5078
5961
if test -n "$AR"; then
5079
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5080
5963
$as_echo "$AR" >&6; }
5081
5964
else
5082
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083
5966
$as_echo "no" >&6; }
5084
5967
fi
5085
5968
 
5086
5969
 
 
5970
    test -n "$AR" && break
 
5971
  done
5087
5972
fi
5088
 
if test -z "$ac_cv_prog_AR"; then
 
5973
if test -z "$AR"; then
5089
5974
  ac_ct_AR=$AR
5090
 
  # Extract the first word of "ar", so it can be a program name with args.
5091
 
set dummy ar; ac_word=$2
5092
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5975
  for ac_prog in ar
 
5976
do
 
5977
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5978
set dummy $ac_prog; ac_word=$2
 
5979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093
5980
$as_echo_n "checking for $ac_word... " >&6; }
5094
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5981
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5095
5982
  $as_echo_n "(cached) " >&6
5096
5983
else
5097
5984
  if test -n "$ac_ct_AR"; then
5102
5989
do
5103
5990
  IFS=$as_save_IFS
5104
5991
  test -z "$as_dir" && as_dir=.
5105
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5992
    for ac_exec_ext in '' $ac_executable_extensions; do
5106
5993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5107
 
    ac_cv_prog_ac_ct_AR="ar"
5108
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5994
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
5995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109
5996
    break 2
5110
5997
  fi
5111
5998
done
5112
 
done
 
5999
  done
5113
6000
IFS=$as_save_IFS
5114
6001
 
5115
6002
fi
5116
6003
fi
5117
6004
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5118
6005
if test -n "$ac_ct_AR"; then
5119
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5120
6007
$as_echo "$ac_ct_AR" >&6; }
5121
6008
else
5122
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123
6010
$as_echo "no" >&6; }
5124
6011
fi
5125
6012
 
 
6013
 
 
6014
  test -n "$ac_ct_AR" && break
 
6015
done
 
6016
 
5126
6017
  if test "x$ac_ct_AR" = x; then
5127
6018
    AR="false"
5128
6019
  else
5129
6020
    case $cross_compiling:$ac_tool_warned in
5130
6021
yes:)
5131
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6022
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5132
6023
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5133
6024
ac_tool_warned=yes ;;
5134
6025
esac
5135
6026
    AR=$ac_ct_AR
5136
6027
  fi
5137
 
else
5138
 
  AR="$ac_cv_prog_AR"
5139
 
fi
5140
 
 
5141
 
test -z "$AR" && AR=ar
5142
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5143
 
 
5144
 
 
5145
 
 
5146
 
 
 
6028
fi
 
6029
 
 
6030
: ${AR=ar}
 
6031
: ${AR_FLAGS=cru}
 
6032
 
 
6033
 
 
6034
 
 
6035
 
 
6036
 
 
6037
 
 
6038
 
 
6039
 
 
6040
 
 
6041
 
 
6042
 
 
6043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6044
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6045
if ${lt_cv_ar_at_file+:} false; then :
 
6046
  $as_echo_n "(cached) " >&6
 
6047
else
 
6048
  lt_cv_ar_at_file=no
 
6049
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6050
/* end confdefs.h.  */
 
6051
 
 
6052
int
 
6053
main ()
 
6054
{
 
6055
 
 
6056
  ;
 
6057
  return 0;
 
6058
}
 
6059
_ACEOF
 
6060
if ac_fn_cxx_try_compile "$LINENO"; then :
 
6061
  echo conftest.$ac_objext > conftest.lst
 
6062
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6063
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6064
  (eval $lt_ar_try) 2>&5
 
6065
  ac_status=$?
 
6066
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6067
  test $ac_status = 0; }
 
6068
      if test "$ac_status" -eq 0; then
 
6069
        # Ensure the archiver fails upon bogus file names.
 
6070
        rm -f conftest.$ac_objext libconftest.a
 
6071
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6072
  (eval $lt_ar_try) 2>&5
 
6073
  ac_status=$?
 
6074
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6075
  test $ac_status = 0; }
 
6076
        if test "$ac_status" -ne 0; then
 
6077
          lt_cv_ar_at_file=@
 
6078
        fi
 
6079
      fi
 
6080
      rm -f conftest.* libconftest.a
 
6081
 
 
6082
fi
 
6083
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6084
 
 
6085
fi
 
6086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6087
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6088
 
 
6089
if test "x$lt_cv_ar_at_file" = xno; then
 
6090
  archiver_list_spec=
 
6091
else
 
6092
  archiver_list_spec=$lt_cv_ar_at_file
 
6093
fi
5147
6094
 
5148
6095
 
5149
6096
 
5154
6101
if test -n "$ac_tool_prefix"; then
5155
6102
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5156
6103
set dummy ${ac_tool_prefix}strip; ac_word=$2
5157
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158
6105
$as_echo_n "checking for $ac_word... " >&6; }
5159
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6106
if ${ac_cv_prog_STRIP+:} false; then :
5160
6107
  $as_echo_n "(cached) " >&6
5161
6108
else
5162
6109
  if test -n "$STRIP"; then
5167
6114
do
5168
6115
  IFS=$as_save_IFS
5169
6116
  test -z "$as_dir" && as_dir=.
5170
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6117
    for ac_exec_ext in '' $ac_executable_extensions; do
5171
6118
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172
6119
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5173
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6120
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174
6121
    break 2
5175
6122
  fi
5176
6123
done
5177
 
done
 
6124
  done
5178
6125
IFS=$as_save_IFS
5179
6126
 
5180
6127
fi
5181
6128
fi
5182
6129
STRIP=$ac_cv_prog_STRIP
5183
6130
if test -n "$STRIP"; then
5184
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5185
6132
$as_echo "$STRIP" >&6; }
5186
6133
else
5187
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6134
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188
6135
$as_echo "no" >&6; }
5189
6136
fi
5190
6137
 
5194
6141
  ac_ct_STRIP=$STRIP
5195
6142
  # Extract the first word of "strip", so it can be a program name with args.
5196
6143
set dummy strip; ac_word=$2
5197
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198
6145
$as_echo_n "checking for $ac_word... " >&6; }
5199
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6146
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5200
6147
  $as_echo_n "(cached) " >&6
5201
6148
else
5202
6149
  if test -n "$ac_ct_STRIP"; then
5207
6154
do
5208
6155
  IFS=$as_save_IFS
5209
6156
  test -z "$as_dir" && as_dir=.
5210
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6157
    for ac_exec_ext in '' $ac_executable_extensions; do
5211
6158
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212
6159
    ac_cv_prog_ac_ct_STRIP="strip"
5213
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6160
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214
6161
    break 2
5215
6162
  fi
5216
6163
done
5217
 
done
 
6164
  done
5218
6165
IFS=$as_save_IFS
5219
6166
 
5220
6167
fi
5221
6168
fi
5222
6169
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5223
6170
if test -n "$ac_ct_STRIP"; then
5224
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6171
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5225
6172
$as_echo "$ac_ct_STRIP" >&6; }
5226
6173
else
5227
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228
6175
$as_echo "no" >&6; }
5229
6176
fi
5230
6177
 
5233
6180
  else
5234
6181
    case $cross_compiling:$ac_tool_warned in
5235
6182
yes:)
5236
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5237
6184
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5238
6185
ac_tool_warned=yes ;;
5239
6186
esac
5253
6200
if test -n "$ac_tool_prefix"; then
5254
6201
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5255
6202
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5256
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257
6204
$as_echo_n "checking for $ac_word... " >&6; }
5258
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6205
if ${ac_cv_prog_RANLIB+:} false; then :
5259
6206
  $as_echo_n "(cached) " >&6
5260
6207
else
5261
6208
  if test -n "$RANLIB"; then
5266
6213
do
5267
6214
  IFS=$as_save_IFS
5268
6215
  test -z "$as_dir" && as_dir=.
5269
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6216
    for ac_exec_ext in '' $ac_executable_extensions; do
5270
6217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271
6218
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5272
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273
6220
    break 2
5274
6221
  fi
5275
6222
done
5276
 
done
 
6223
  done
5277
6224
IFS=$as_save_IFS
5278
6225
 
5279
6226
fi
5280
6227
fi
5281
6228
RANLIB=$ac_cv_prog_RANLIB
5282
6229
if test -n "$RANLIB"; then
5283
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5284
6231
$as_echo "$RANLIB" >&6; }
5285
6232
else
5286
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287
6234
$as_echo "no" >&6; }
5288
6235
fi
5289
6236
 
5293
6240
  ac_ct_RANLIB=$RANLIB
5294
6241
  # Extract the first word of "ranlib", so it can be a program name with args.
5295
6242
set dummy ranlib; ac_word=$2
5296
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297
6244
$as_echo_n "checking for $ac_word... " >&6; }
5298
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6245
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5299
6246
  $as_echo_n "(cached) " >&6
5300
6247
else
5301
6248
  if test -n "$ac_ct_RANLIB"; then
5306
6253
do
5307
6254
  IFS=$as_save_IFS
5308
6255
  test -z "$as_dir" && as_dir=.
5309
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6256
    for ac_exec_ext in '' $ac_executable_extensions; do
5310
6257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311
6258
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5312
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6259
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313
6260
    break 2
5314
6261
  fi
5315
6262
done
5316
 
done
 
6263
  done
5317
6264
IFS=$as_save_IFS
5318
6265
 
5319
6266
fi
5320
6267
fi
5321
6268
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5322
6269
if test -n "$ac_ct_RANLIB"; then
5323
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5324
6271
$as_echo "$ac_ct_RANLIB" >&6; }
5325
6272
else
5326
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327
6274
$as_echo "no" >&6; }
5328
6275
fi
5329
6276
 
5332
6279
  else
5333
6280
    case $cross_compiling:$ac_tool_warned in
5334
6281
yes:)
5335
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5336
6283
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5337
6284
ac_tool_warned=yes ;;
5338
6285
esac
5366
6313
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5367
6314
fi
5368
6315
 
 
6316
case $host_os in
 
6317
  darwin*)
 
6318
    lock_old_archive_extraction=yes ;;
 
6319
  *)
 
6320
    lock_old_archive_extraction=no ;;
 
6321
esac
 
6322
 
 
6323
 
 
6324
 
 
6325
 
 
6326
 
 
6327
 
5369
6328
 
5370
6329
 
5371
6330
 
5410
6369
 
5411
6370
 
5412
6371
# Check for command to grab the raw symbol name followed by C symbol from nm.
5413
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5414
6373
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5415
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6374
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5416
6375
  $as_echo_n "(cached) " >&6
5417
6376
else
5418
6377
 
5473
6432
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5474
6433
 
5475
6434
# Transform an extracted symbol line into symbol name and symbol address
5476
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5477
 
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'"
 
6435
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6436
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'"
5478
6437
 
5479
6438
# Handle CRLF in mingw tool chain
5480
6439
opt_cr=
5510
6469
  else
5511
6470
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5512
6471
  fi
 
6472
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5513
6473
 
5514
6474
  # Check to see that the pipe works correctly.
5515
6475
  pipe_works=no
5528
6488
int main(){nm_test_var='a';nm_test_func();return(0);}
5529
6489
_LT_EOF
5530
6490
 
5531
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6491
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5532
6492
  (eval $ac_compile) 2>&5
5533
6493
  ac_status=$?
5534
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535
 
  (exit $ac_status); }; then
 
6494
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6495
  test $ac_status = 0; }; then
5536
6496
    # Now try to grab the symbols.
5537
6497
    nlist=conftest.nm
5538
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5539
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6498
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6499
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5540
6500
  ac_status=$?
5541
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6501
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6502
  test $ac_status = 0; } && test -s "$nlist"; then
5543
6503
      # Try sorting and uniquifying the output.
5544
6504
      if sort "$nlist" | uniq > "$nlist"T; then
5545
6505
        mv -f "$nlist"T "$nlist"
5551
6511
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5552
6512
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5553
6513
          cat <<_LT_EOF > conftest.$ac_ext
 
6514
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6515
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6516
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6517
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6518
# define LT_DLSYM_CONST
 
6519
#elif defined(__osf__)
 
6520
/* This system does not cope well with relocations in const data.  */
 
6521
# define LT_DLSYM_CONST
 
6522
#else
 
6523
# define LT_DLSYM_CONST const
 
6524
#endif
 
6525
 
5554
6526
#ifdef __cplusplus
5555
6527
extern "C" {
5556
6528
#endif
5562
6534
          cat <<_LT_EOF >> conftest.$ac_ext
5563
6535
 
5564
6536
/* The mapping between symbol names and symbols.  */
5565
 
const struct {
 
6537
LT_DLSYM_CONST struct {
5566
6538
  const char *name;
5567
6539
  void       *address;
5568
6540
}
5588
6560
_LT_EOF
5589
6561
          # Now try linking the two files.
5590
6562
          mv conftest.$ac_objext conftstm.$ac_objext
5591
 
          lt_save_LIBS="$LIBS"
5592
 
          lt_save_CFLAGS="$CFLAGS"
 
6563
          lt_globsym_save_LIBS=$LIBS
 
6564
          lt_globsym_save_CFLAGS=$CFLAGS
5593
6565
          LIBS="conftstm.$ac_objext"
5594
6566
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5595
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6567
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5596
6568
  (eval $ac_link) 2>&5
5597
6569
  ac_status=$?
5598
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6570
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6571
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5600
6572
            pipe_works=yes
5601
6573
          fi
5602
 
          LIBS="$lt_save_LIBS"
5603
 
          CFLAGS="$lt_save_CFLAGS"
 
6574
          LIBS=$lt_globsym_save_LIBS
 
6575
          CFLAGS=$lt_globsym_save_CFLAGS
5604
6576
        else
5605
6577
          echo "cannot find nm_test_func in $nlist" >&5
5606
6578
        fi
5630
6602
  lt_cv_sys_global_symbol_to_cdecl=
5631
6603
fi
5632
6604
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5633
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5634
6606
$as_echo "failed" >&6; }
5635
6607
else
5636
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5637
6609
$as_echo "ok" >&6; }
5638
6610
fi
5639
6611
 
5640
 
 
5641
 
 
5642
 
 
5643
 
 
5644
 
 
5645
 
 
5646
 
 
5647
 
 
5648
 
 
5649
 
 
5650
 
 
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
 
 
6612
# Response file support.
 
6613
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6614
  nm_file_list_spec='@'
 
6615
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6616
  nm_file_list_spec='@'
 
6617
fi
 
6618
 
 
6619
 
 
6620
 
 
6621
 
 
6622
 
 
6623
 
 
6624
 
 
6625
 
 
6626
 
 
6627
 
 
6628
 
 
6629
 
 
6630
 
 
6631
 
 
6632
 
 
6633
 
 
6634
 
 
6635
 
 
6636
 
 
6637
 
 
6638
 
 
6639
 
 
6640
 
 
6641
 
 
6642
 
 
6643
 
 
6644
 
 
6645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6646
$as_echo_n "checking for sysroot... " >&6; }
 
6647
 
 
6648
# Check whether --with-sysroot was given.
 
6649
if test "${with_sysroot+set}" = set; then :
 
6650
  withval=$with_sysroot;
 
6651
else
 
6652
  with_sysroot=no
 
6653
fi
 
6654
 
 
6655
 
 
6656
lt_sysroot=
 
6657
case ${with_sysroot} in #(
 
6658
 yes)
 
6659
   if test "$GCC" = yes; then
 
6660
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6661
   fi
 
6662
   ;; #(
 
6663
 /*)
 
6664
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6665
   ;; #(
 
6666
 no|'')
 
6667
   ;; #(
 
6668
 *)
 
6669
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6670
$as_echo "${with_sysroot}" >&6; }
 
6671
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6672
   ;;
 
6673
esac
 
6674
 
 
6675
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6676
$as_echo "${lt_sysroot:-no}" >&6; }
5656
6677
 
5657
6678
 
5658
6679
 
5660
6681
 
5661
6682
 
5662
6683
# Check whether --enable-libtool-lock was given.
5663
 
if test "${enable_libtool_lock+set}" = set; then
 
6684
if test "${enable_libtool_lock+set}" = set; then :
5664
6685
  enableval=$enable_libtool_lock;
5665
6686
fi
5666
6687
 
5672
6693
ia64-*-hpux*)
5673
6694
  # Find out which ABI we are using.
5674
6695
  echo 'int i;' > conftest.$ac_ext
5675
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6696
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5676
6697
  (eval $ac_compile) 2>&5
5677
6698
  ac_status=$?
5678
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679
 
  (exit $ac_status); }; then
 
6699
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6700
  test $ac_status = 0; }; then
5680
6701
    case `/usr/bin/file conftest.$ac_objext` in
5681
6702
      *ELF-32*)
5682
6703
        HPUX_IA64_MODE="32"
5690
6711
  ;;
5691
6712
*-*-irix6*)
5692
6713
  # Find out which ABI we are using.
5693
 
  echo '#line 5693 "configure"' > conftest.$ac_ext
5694
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6714
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6715
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5695
6716
  (eval $ac_compile) 2>&5
5696
6717
  ac_status=$?
5697
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698
 
  (exit $ac_status); }; then
 
6718
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6719
  test $ac_status = 0; }; then
5699
6720
    if test "$lt_cv_prog_gnu_ld" = yes; then
5700
6721
      case `/usr/bin/file conftest.$ac_objext` in
5701
6722
        *32-bit*)
5729
6750
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5730
6751
  # Find out which ABI we are using.
5731
6752
  echo 'int i;' > conftest.$ac_ext
5732
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6753
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5733
6754
  (eval $ac_compile) 2>&5
5734
6755
  ac_status=$?
5735
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736
 
  (exit $ac_status); }; then
 
6756
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6757
  test $ac_status = 0; }; then
5737
6758
    case `/usr/bin/file conftest.o` in
5738
6759
      *32-bit*)
5739
6760
        case $host in
5782
6803
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5783
6804
  SAVE_CFLAGS="$CFLAGS"
5784
6805
  CFLAGS="$CFLAGS -belf"
5785
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6806
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5786
6807
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5787
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6808
if ${lt_cv_cc_needs_belf+:} false; then :
5788
6809
  $as_echo_n "(cached) " >&6
5789
6810
else
5790
6811
  ac_ext=c
5793
6814
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5794
6815
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5795
6816
 
5796
 
     cat >conftest.$ac_ext <<_ACEOF
5797
 
/* confdefs.h.  */
5798
 
_ACEOF
5799
 
cat confdefs.h >>conftest.$ac_ext
5800
 
cat >>conftest.$ac_ext <<_ACEOF
 
6817
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801
6818
/* end confdefs.h.  */
5802
6819
 
5803
6820
int
5808
6825
  return 0;
5809
6826
}
5810
6827
_ACEOF
5811
 
rm -f conftest.$ac_objext conftest$ac_exeext
5812
 
if { (ac_try="$ac_link"
5813
 
case "(($ac_try" in
5814
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5815
 
  *) ac_try_echo=$ac_try;;
5816
 
esac
5817
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5818
 
$as_echo "$ac_try_echo") >&5
5819
 
  (eval "$ac_link") 2>conftest.er1
5820
 
  ac_status=$?
5821
 
  grep -v '^ *+' conftest.er1 >conftest.err
5822
 
  rm -f conftest.er1
5823
 
  cat conftest.err >&5
5824
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825
 
  (exit $ac_status); } && {
5826
 
         test -z "$ac_c_werror_flag" ||
5827
 
         test ! -s conftest.err
5828
 
       } && test -s conftest$ac_exeext && {
5829
 
         test "$cross_compiling" = yes ||
5830
 
         $as_test_x conftest$ac_exeext
5831
 
       }; then
 
6828
if ac_fn_c_try_link "$LINENO"; then :
5832
6829
  lt_cv_cc_needs_belf=yes
5833
6830
else
5834
 
  $as_echo "$as_me: failed program was:" >&5
5835
 
sed 's/^/| /' conftest.$ac_ext >&5
5836
 
 
5837
 
        lt_cv_cc_needs_belf=no
 
6831
  lt_cv_cc_needs_belf=no
5838
6832
fi
5839
 
 
5840
 
rm -rf conftest.dSYM
5841
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5842
 
      conftest$ac_exeext conftest.$ac_ext
 
6833
rm -f core conftest.err conftest.$ac_objext \
 
6834
    conftest$ac_exeext conftest.$ac_ext
5843
6835
     ac_ext=c
5844
6836
ac_cpp='$CPP $CPPFLAGS'
5845
6837
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847
6839
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5848
6840
 
5849
6841
fi
5850
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5851
6843
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5852
6844
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5853
6845
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5857
6849
sparc*-*solaris*)
5858
6850
  # Find out which ABI we are using.
5859
6851
  echo 'int i;' > conftest.$ac_ext
5860
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6852
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5861
6853
  (eval $ac_compile) 2>&5
5862
6854
  ac_status=$?
5863
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864
 
  (exit $ac_status); }; then
 
6855
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6856
  test $ac_status = 0; }; then
5865
6857
    case `/usr/bin/file conftest.o` in
5866
6858
    *64-bit*)
5867
6859
      case $lt_cv_prog_gnu_ld in
5881
6873
 
5882
6874
need_locks="$enable_libtool_lock"
5883
6875
 
 
6876
if test -n "$ac_tool_prefix"; then
 
6877
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6878
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6880
$as_echo_n "checking for $ac_word... " >&6; }
 
6881
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6882
  $as_echo_n "(cached) " >&6
 
6883
else
 
6884
  if test -n "$MANIFEST_TOOL"; then
 
6885
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6886
else
 
6887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6888
for as_dir in $PATH
 
6889
do
 
6890
  IFS=$as_save_IFS
 
6891
  test -z "$as_dir" && as_dir=.
 
6892
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6893
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6894
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6895
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6896
    break 2
 
6897
  fi
 
6898
done
 
6899
  done
 
6900
IFS=$as_save_IFS
 
6901
 
 
6902
fi
 
6903
fi
 
6904
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6905
if test -n "$MANIFEST_TOOL"; then
 
6906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6907
$as_echo "$MANIFEST_TOOL" >&6; }
 
6908
else
 
6909
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6910
$as_echo "no" >&6; }
 
6911
fi
 
6912
 
 
6913
 
 
6914
fi
 
6915
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6916
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6917
  # Extract the first word of "mt", so it can be a program name with args.
 
6918
set dummy mt; ac_word=$2
 
6919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6920
$as_echo_n "checking for $ac_word... " >&6; }
 
6921
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6922
  $as_echo_n "(cached) " >&6
 
6923
else
 
6924
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6925
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6926
else
 
6927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6928
for as_dir in $PATH
 
6929
do
 
6930
  IFS=$as_save_IFS
 
6931
  test -z "$as_dir" && as_dir=.
 
6932
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6933
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6934
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6935
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6936
    break 2
 
6937
  fi
 
6938
done
 
6939
  done
 
6940
IFS=$as_save_IFS
 
6941
 
 
6942
fi
 
6943
fi
 
6944
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6945
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6947
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6948
else
 
6949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6950
$as_echo "no" >&6; }
 
6951
fi
 
6952
 
 
6953
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6954
    MANIFEST_TOOL=":"
 
6955
  else
 
6956
    case $cross_compiling:$ac_tool_warned in
 
6957
yes:)
 
6958
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6959
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6960
ac_tool_warned=yes ;;
 
6961
esac
 
6962
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6963
  fi
 
6964
else
 
6965
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6966
fi
 
6967
 
 
6968
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6970
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6971
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6972
  $as_echo_n "(cached) " >&6
 
6973
else
 
6974
  lt_cv_path_mainfest_tool=no
 
6975
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6976
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6977
  cat conftest.err >&5
 
6978
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6979
    lt_cv_path_mainfest_tool=yes
 
6980
  fi
 
6981
  rm -f conftest*
 
6982
fi
 
6983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6984
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6985
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6986
  MANIFEST_TOOL=:
 
6987
fi
 
6988
 
 
6989
 
 
6990
 
 
6991
 
 
6992
 
5884
6993
 
5885
6994
  case $host_os in
5886
6995
    rhapsody* | darwin*)
5887
6996
    if test -n "$ac_tool_prefix"; then
5888
6997
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5889
6998
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5890
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891
7000
$as_echo_n "checking for $ac_word... " >&6; }
5892
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7001
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5893
7002
  $as_echo_n "(cached) " >&6
5894
7003
else
5895
7004
  if test -n "$DSYMUTIL"; then
5900
7009
do
5901
7010
  IFS=$as_save_IFS
5902
7011
  test -z "$as_dir" && as_dir=.
5903
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7012
    for ac_exec_ext in '' $ac_executable_extensions; do
5904
7013
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905
7014
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5906
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7015
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907
7016
    break 2
5908
7017
  fi
5909
7018
done
5910
 
done
 
7019
  done
5911
7020
IFS=$as_save_IFS
5912
7021
 
5913
7022
fi
5914
7023
fi
5915
7024
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5916
7025
if test -n "$DSYMUTIL"; then
5917
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5918
7027
$as_echo "$DSYMUTIL" >&6; }
5919
7028
else
5920
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921
7030
$as_echo "no" >&6; }
5922
7031
fi
5923
7032
 
5927
7036
  ac_ct_DSYMUTIL=$DSYMUTIL
5928
7037
  # Extract the first word of "dsymutil", so it can be a program name with args.
5929
7038
set dummy dsymutil; ac_word=$2
5930
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931
7040
$as_echo_n "checking for $ac_word... " >&6; }
5932
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7041
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5933
7042
  $as_echo_n "(cached) " >&6
5934
7043
else
5935
7044
  if test -n "$ac_ct_DSYMUTIL"; then
5940
7049
do
5941
7050
  IFS=$as_save_IFS
5942
7051
  test -z "$as_dir" && as_dir=.
5943
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7052
    for ac_exec_ext in '' $ac_executable_extensions; do
5944
7053
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945
7054
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5946
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7055
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947
7056
    break 2
5948
7057
  fi
5949
7058
done
5950
 
done
 
7059
  done
5951
7060
IFS=$as_save_IFS
5952
7061
 
5953
7062
fi
5954
7063
fi
5955
7064
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5956
7065
if test -n "$ac_ct_DSYMUTIL"; then
5957
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5958
7067
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5959
7068
else
5960
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961
7070
$as_echo "no" >&6; }
5962
7071
fi
5963
7072
 
5966
7075
  else
5967
7076
    case $cross_compiling:$ac_tool_warned in
5968
7077
yes:)
5969
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5970
7079
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5971
7080
ac_tool_warned=yes ;;
5972
7081
esac
5979
7088
    if test -n "$ac_tool_prefix"; then
5980
7089
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5981
7090
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5982
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983
7092
$as_echo_n "checking for $ac_word... " >&6; }
5984
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7093
if ${ac_cv_prog_NMEDIT+:} false; then :
5985
7094
  $as_echo_n "(cached) " >&6
5986
7095
else
5987
7096
  if test -n "$NMEDIT"; then
5992
7101
do
5993
7102
  IFS=$as_save_IFS
5994
7103
  test -z "$as_dir" && as_dir=.
5995
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7104
    for ac_exec_ext in '' $ac_executable_extensions; do
5996
7105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997
7106
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5998
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999
7108
    break 2
6000
7109
  fi
6001
7110
done
6002
 
done
 
7111
  done
6003
7112
IFS=$as_save_IFS
6004
7113
 
6005
7114
fi
6006
7115
fi
6007
7116
NMEDIT=$ac_cv_prog_NMEDIT
6008
7117
if test -n "$NMEDIT"; then
6009
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6010
7119
$as_echo "$NMEDIT" >&6; }
6011
7120
else
6012
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013
7122
$as_echo "no" >&6; }
6014
7123
fi
6015
7124
 
6019
7128
  ac_ct_NMEDIT=$NMEDIT
6020
7129
  # Extract the first word of "nmedit", so it can be a program name with args.
6021
7130
set dummy nmedit; ac_word=$2
6022
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023
7132
$as_echo_n "checking for $ac_word... " >&6; }
6024
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7133
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6025
7134
  $as_echo_n "(cached) " >&6
6026
7135
else
6027
7136
  if test -n "$ac_ct_NMEDIT"; then
6032
7141
do
6033
7142
  IFS=$as_save_IFS
6034
7143
  test -z "$as_dir" && as_dir=.
6035
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7144
    for ac_exec_ext in '' $ac_executable_extensions; do
6036
7145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037
7146
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6038
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7147
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039
7148
    break 2
6040
7149
  fi
6041
7150
done
6042
 
done
 
7151
  done
6043
7152
IFS=$as_save_IFS
6044
7153
 
6045
7154
fi
6046
7155
fi
6047
7156
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6048
7157
if test -n "$ac_ct_NMEDIT"; then
6049
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6050
7159
$as_echo "$ac_ct_NMEDIT" >&6; }
6051
7160
else
6052
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053
7162
$as_echo "no" >&6; }
6054
7163
fi
6055
7164
 
6058
7167
  else
6059
7168
    case $cross_compiling:$ac_tool_warned in
6060
7169
yes:)
6061
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7170
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6062
7171
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063
7172
ac_tool_warned=yes ;;
6064
7173
esac
6071
7180
    if test -n "$ac_tool_prefix"; then
6072
7181
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6073
7182
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6074
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075
7184
$as_echo_n "checking for $ac_word... " >&6; }
6076
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7185
if ${ac_cv_prog_LIPO+:} false; then :
6077
7186
  $as_echo_n "(cached) " >&6
6078
7187
else
6079
7188
  if test -n "$LIPO"; then
6084
7193
do
6085
7194
  IFS=$as_save_IFS
6086
7195
  test -z "$as_dir" && as_dir=.
6087
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7196
    for ac_exec_ext in '' $ac_executable_extensions; do
6088
7197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6089
7198
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6090
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7199
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091
7200
    break 2
6092
7201
  fi
6093
7202
done
6094
 
done
 
7203
  done
6095
7204
IFS=$as_save_IFS
6096
7205
 
6097
7206
fi
6098
7207
fi
6099
7208
LIPO=$ac_cv_prog_LIPO
6100
7209
if test -n "$LIPO"; then
6101
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6102
7211
$as_echo "$LIPO" >&6; }
6103
7212
else
6104
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105
7214
$as_echo "no" >&6; }
6106
7215
fi
6107
7216
 
6111
7220
  ac_ct_LIPO=$LIPO
6112
7221
  # Extract the first word of "lipo", so it can be a program name with args.
6113
7222
set dummy lipo; ac_word=$2
6114
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115
7224
$as_echo_n "checking for $ac_word... " >&6; }
6116
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7225
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6117
7226
  $as_echo_n "(cached) " >&6
6118
7227
else
6119
7228
  if test -n "$ac_ct_LIPO"; then
6124
7233
do
6125
7234
  IFS=$as_save_IFS
6126
7235
  test -z "$as_dir" && as_dir=.
6127
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7236
    for ac_exec_ext in '' $ac_executable_extensions; do
6128
7237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129
7238
    ac_cv_prog_ac_ct_LIPO="lipo"
6130
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131
7240
    break 2
6132
7241
  fi
6133
7242
done
6134
 
done
 
7243
  done
6135
7244
IFS=$as_save_IFS
6136
7245
 
6137
7246
fi
6138
7247
fi
6139
7248
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6140
7249
if test -n "$ac_ct_LIPO"; then
6141
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6142
7251
$as_echo "$ac_ct_LIPO" >&6; }
6143
7252
else
6144
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145
7254
$as_echo "no" >&6; }
6146
7255
fi
6147
7256
 
6150
7259
  else
6151
7260
    case $cross_compiling:$ac_tool_warned in
6152
7261
yes:)
6153
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7262
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154
7263
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155
7264
ac_tool_warned=yes ;;
6156
7265
esac
6163
7272
    if test -n "$ac_tool_prefix"; then
6164
7273
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6165
7274
set dummy ${ac_tool_prefix}otool; ac_word=$2
6166
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167
7276
$as_echo_n "checking for $ac_word... " >&6; }
6168
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7277
if ${ac_cv_prog_OTOOL+:} false; then :
6169
7278
  $as_echo_n "(cached) " >&6
6170
7279
else
6171
7280
  if test -n "$OTOOL"; then
6176
7285
do
6177
7286
  IFS=$as_save_IFS
6178
7287
  test -z "$as_dir" && as_dir=.
6179
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7288
    for ac_exec_ext in '' $ac_executable_extensions; do
6180
7289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181
7290
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6182
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183
7292
    break 2
6184
7293
  fi
6185
7294
done
6186
 
done
 
7295
  done
6187
7296
IFS=$as_save_IFS
6188
7297
 
6189
7298
fi
6190
7299
fi
6191
7300
OTOOL=$ac_cv_prog_OTOOL
6192
7301
if test -n "$OTOOL"; then
6193
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6194
7303
$as_echo "$OTOOL" >&6; }
6195
7304
else
6196
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197
7306
$as_echo "no" >&6; }
6198
7307
fi
6199
7308
 
6203
7312
  ac_ct_OTOOL=$OTOOL
6204
7313
  # Extract the first word of "otool", so it can be a program name with args.
6205
7314
set dummy otool; ac_word=$2
6206
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207
7316
$as_echo_n "checking for $ac_word... " >&6; }
6208
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7317
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6209
7318
  $as_echo_n "(cached) " >&6
6210
7319
else
6211
7320
  if test -n "$ac_ct_OTOOL"; then
6216
7325
do
6217
7326
  IFS=$as_save_IFS
6218
7327
  test -z "$as_dir" && as_dir=.
6219
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7328
    for ac_exec_ext in '' $ac_executable_extensions; do
6220
7329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221
7330
    ac_cv_prog_ac_ct_OTOOL="otool"
6222
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7331
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223
7332
    break 2
6224
7333
  fi
6225
7334
done
6226
 
done
 
7335
  done
6227
7336
IFS=$as_save_IFS
6228
7337
 
6229
7338
fi
6230
7339
fi
6231
7340
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6232
7341
if test -n "$ac_ct_OTOOL"; then
6233
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6234
7343
$as_echo "$ac_ct_OTOOL" >&6; }
6235
7344
else
6236
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237
7346
$as_echo "no" >&6; }
6238
7347
fi
6239
7348
 
6242
7351
  else
6243
7352
    case $cross_compiling:$ac_tool_warned in
6244
7353
yes:)
6245
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7354
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246
7355
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247
7356
ac_tool_warned=yes ;;
6248
7357
esac
6255
7364
    if test -n "$ac_tool_prefix"; then
6256
7365
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6257
7366
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6258
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259
7368
$as_echo_n "checking for $ac_word... " >&6; }
6260
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7369
if ${ac_cv_prog_OTOOL64+:} false; then :
6261
7370
  $as_echo_n "(cached) " >&6
6262
7371
else
6263
7372
  if test -n "$OTOOL64"; then
6268
7377
do
6269
7378
  IFS=$as_save_IFS
6270
7379
  test -z "$as_dir" && as_dir=.
6271
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7380
    for ac_exec_ext in '' $ac_executable_extensions; do
6272
7381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273
7382
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6274
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7383
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275
7384
    break 2
6276
7385
  fi
6277
7386
done
6278
 
done
 
7387
  done
6279
7388
IFS=$as_save_IFS
6280
7389
 
6281
7390
fi
6282
7391
fi
6283
7392
OTOOL64=$ac_cv_prog_OTOOL64
6284
7393
if test -n "$OTOOL64"; then
6285
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7394
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6286
7395
$as_echo "$OTOOL64" >&6; }
6287
7396
else
6288
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289
7398
$as_echo "no" >&6; }
6290
7399
fi
6291
7400
 
6295
7404
  ac_ct_OTOOL64=$OTOOL64
6296
7405
  # Extract the first word of "otool64", so it can be a program name with args.
6297
7406
set dummy otool64; ac_word=$2
6298
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299
7408
$as_echo_n "checking for $ac_word... " >&6; }
6300
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7409
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6301
7410
  $as_echo_n "(cached) " >&6
6302
7411
else
6303
7412
  if test -n "$ac_ct_OTOOL64"; then
6308
7417
do
6309
7418
  IFS=$as_save_IFS
6310
7419
  test -z "$as_dir" && as_dir=.
6311
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7420
    for ac_exec_ext in '' $ac_executable_extensions; do
6312
7421
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6313
7422
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6314
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7423
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315
7424
    break 2
6316
7425
  fi
6317
7426
done
6318
 
done
 
7427
  done
6319
7428
IFS=$as_save_IFS
6320
7429
 
6321
7430
fi
6322
7431
fi
6323
7432
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6324
7433
if test -n "$ac_ct_OTOOL64"; then
6325
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6326
7435
$as_echo "$ac_ct_OTOOL64" >&6; }
6327
7436
else
6328
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6329
7438
$as_echo "no" >&6; }
6330
7439
fi
6331
7440
 
6334
7443
  else
6335
7444
    case $cross_compiling:$ac_tool_warned in
6336
7445
yes:)
6337
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7446
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6338
7447
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6339
7448
ac_tool_warned=yes ;;
6340
7449
esac
6370
7479
 
6371
7480
 
6372
7481
 
6373
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7482
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6374
7483
$as_echo_n "checking for -single_module linker flag... " >&6; }
6375
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7484
if ${lt_cv_apple_cc_single_mod+:} false; then :
6376
7485
  $as_echo_n "(cached) " >&6
6377
7486
else
6378
7487
  lt_cv_apple_cc_single_mod=no
6397
7506
        rm -f conftest.*
6398
7507
      fi
6399
7508
fi
6400
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6401
7510
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6402
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7511
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6403
7512
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6404
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7513
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6405
7514
  $as_echo_n "(cached) " >&6
6406
7515
else
6407
7516
  lt_cv_ld_exported_symbols_list=no
6408
7517
      save_LDFLAGS=$LDFLAGS
6409
7518
      echo "_main" > conftest.sym
6410
7519
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6411
 
      cat >conftest.$ac_ext <<_ACEOF
6412
 
/* confdefs.h.  */
6413
 
_ACEOF
6414
 
cat confdefs.h >>conftest.$ac_ext
6415
 
cat >>conftest.$ac_ext <<_ACEOF
 
7520
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416
7521
/* end confdefs.h.  */
6417
7522
 
6418
7523
int
6423
7528
  return 0;
6424
7529
}
6425
7530
_ACEOF
6426
 
rm -f conftest.$ac_objext conftest$ac_exeext
6427
 
if { (ac_try="$ac_link"
6428
 
case "(($ac_try" in
6429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430
 
  *) ac_try_echo=$ac_try;;
6431
 
esac
6432
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6433
 
$as_echo "$ac_try_echo") >&5
6434
 
  (eval "$ac_link") 2>conftest.er1
6435
 
  ac_status=$?
6436
 
  grep -v '^ *+' conftest.er1 >conftest.err
6437
 
  rm -f conftest.er1
6438
 
  cat conftest.err >&5
6439
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440
 
  (exit $ac_status); } && {
6441
 
         test -z "$ac_c_werror_flag" ||
6442
 
         test ! -s conftest.err
6443
 
       } && test -s conftest$ac_exeext && {
6444
 
         test "$cross_compiling" = yes ||
6445
 
         $as_test_x conftest$ac_exeext
6446
 
       }; then
 
7531
if ac_fn_c_try_link "$LINENO"; then :
6447
7532
  lt_cv_ld_exported_symbols_list=yes
6448
7533
else
6449
 
  $as_echo "$as_me: failed program was:" >&5
6450
 
sed 's/^/| /' conftest.$ac_ext >&5
6451
 
 
6452
 
        lt_cv_ld_exported_symbols_list=no
 
7534
  lt_cv_ld_exported_symbols_list=no
6453
7535
fi
6454
 
 
6455
 
rm -rf conftest.dSYM
6456
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6457
 
      conftest$ac_exeext conftest.$ac_ext
 
7536
rm -f core conftest.err conftest.$ac_objext \
 
7537
    conftest$ac_exeext conftest.$ac_ext
6458
7538
        LDFLAGS="$save_LDFLAGS"
6459
7539
 
6460
7540
fi
6461
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6462
7542
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7543
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7544
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7545
if ${lt_cv_ld_force_load+:} false; then :
 
7546
  $as_echo_n "(cached) " >&6
 
7547
else
 
7548
  lt_cv_ld_force_load=no
 
7549
      cat > conftest.c << _LT_EOF
 
7550
int forced_loaded() { return 2;}
 
7551
_LT_EOF
 
7552
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7553
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7554
      echo "$AR cru libconftest.a conftest.o" >&5
 
7555
      $AR cru libconftest.a conftest.o 2>&5
 
7556
      echo "$RANLIB libconftest.a" >&5
 
7557
      $RANLIB libconftest.a 2>&5
 
7558
      cat > conftest.c << _LT_EOF
 
7559
int main() { return 0;}
 
7560
_LT_EOF
 
7561
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7562
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7563
      _lt_result=$?
 
7564
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7565
        lt_cv_ld_force_load=yes
 
7566
      else
 
7567
        cat conftest.err >&5
 
7568
      fi
 
7569
        rm -f conftest.err libconftest.a conftest conftest.c
 
7570
        rm -rf conftest.dSYM
 
7571
 
 
7572
fi
 
7573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7574
$as_echo "$lt_cv_ld_force_load" >&6; }
6463
7575
    case $host_os in
6464
7576
    rhapsody* | darwin1.[012])
6465
7577
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6487
7599
    else
6488
7600
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6489
7601
    fi
6490
 
    if test "$DSYMUTIL" != ":"; then
 
7602
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6491
7603
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6492
7604
    else
6493
7605
      _lt_dsymutil=
6500
7612
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6501
7613
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6502
7614
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6503
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6504
7616
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6505
7617
# On Suns, sometimes $CPP names a directory.
6506
7618
if test -n "$CPP" && test -d "$CPP"; then
6507
7619
  CPP=
6508
7620
fi
6509
7621
if test -z "$CPP"; then
6510
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7622
  if ${ac_cv_prog_CPP+:} false; then :
6511
7623
  $as_echo_n "(cached) " >&6
6512
7624
else
6513
7625
      # Double quotes because CPP needs to be expanded
6522
7634
  # <limits.h> exists even on freestanding compilers.
6523
7635
  # On the NeXT, cc -E runs the code through the compiler's parser,
6524
7636
  # not just through cpp. "Syntax error" is here to catch this case.
6525
 
  cat >conftest.$ac_ext <<_ACEOF
6526
 
/* confdefs.h.  */
6527
 
_ACEOF
6528
 
cat confdefs.h >>conftest.$ac_ext
6529
 
cat >>conftest.$ac_ext <<_ACEOF
 
7637
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530
7638
/* end confdefs.h.  */
6531
7639
#ifdef __STDC__
6532
7640
# include <limits.h>
6535
7643
#endif
6536
7644
                     Syntax error
6537
7645
_ACEOF
6538
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6539
 
case "(($ac_try" in
6540
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6541
 
  *) ac_try_echo=$ac_try;;
6542
 
esac
6543
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6544
 
$as_echo "$ac_try_echo") >&5
6545
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6546
 
  ac_status=$?
6547
 
  grep -v '^ *+' conftest.er1 >conftest.err
6548
 
  rm -f conftest.er1
6549
 
  cat conftest.err >&5
6550
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551
 
  (exit $ac_status); } >/dev/null && {
6552
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6553
 
         test ! -s conftest.err
6554
 
       }; then
6555
 
  :
 
7646
if ac_fn_c_try_cpp "$LINENO"; then :
 
7647
 
6556
7648
else
6557
 
  $as_echo "$as_me: failed program was:" >&5
6558
 
sed 's/^/| /' conftest.$ac_ext >&5
6559
 
 
6560
7649
  # Broken: fails on valid input.
6561
7650
continue
6562
7651
fi
6563
 
 
6564
 
rm -f conftest.err conftest.$ac_ext
 
7652
rm -f conftest.err conftest.i conftest.$ac_ext
6565
7653
 
6566
7654
  # OK, works on sane cases.  Now check whether nonexistent headers
6567
7655
  # can be detected and how.
6568
 
  cat >conftest.$ac_ext <<_ACEOF
6569
 
/* confdefs.h.  */
6570
 
_ACEOF
6571
 
cat confdefs.h >>conftest.$ac_ext
6572
 
cat >>conftest.$ac_ext <<_ACEOF
 
7656
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573
7657
/* end confdefs.h.  */
6574
7658
#include <ac_nonexistent.h>
6575
7659
_ACEOF
6576
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6577
 
case "(($ac_try" in
6578
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6579
 
  *) ac_try_echo=$ac_try;;
6580
 
esac
6581
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6582
 
$as_echo "$ac_try_echo") >&5
6583
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6584
 
  ac_status=$?
6585
 
  grep -v '^ *+' conftest.er1 >conftest.err
6586
 
  rm -f conftest.er1
6587
 
  cat conftest.err >&5
6588
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589
 
  (exit $ac_status); } >/dev/null && {
6590
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6591
 
         test ! -s conftest.err
6592
 
       }; then
 
7660
if ac_fn_c_try_cpp "$LINENO"; then :
6593
7661
  # Broken: success on invalid input.
6594
7662
continue
6595
7663
else
6596
 
  $as_echo "$as_me: failed program was:" >&5
6597
 
sed 's/^/| /' conftest.$ac_ext >&5
6598
 
 
6599
7664
  # Passes both tests.
6600
7665
ac_preproc_ok=:
6601
7666
break
6602
7667
fi
6603
 
 
6604
 
rm -f conftest.err conftest.$ac_ext
 
7668
rm -f conftest.err conftest.i conftest.$ac_ext
6605
7669
 
6606
7670
done
6607
7671
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6608
 
rm -f conftest.err conftest.$ac_ext
6609
 
if $ac_preproc_ok; then
 
7672
rm -f conftest.i conftest.err conftest.$ac_ext
 
7673
if $ac_preproc_ok; then :
6610
7674
  break
6611
7675
fi
6612
7676
 
6618
7682
else
6619
7683
  ac_cv_prog_CPP=$CPP
6620
7684
fi
6621
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6622
7686
$as_echo "$CPP" >&6; }
6623
7687
ac_preproc_ok=false
6624
7688
for ac_c_preproc_warn_flag in '' yes
6629
7693
  # <limits.h> exists even on freestanding compilers.
6630
7694
  # On the NeXT, cc -E runs the code through the compiler's parser,
6631
7695
  # not just through cpp. "Syntax error" is here to catch this case.
6632
 
  cat >conftest.$ac_ext <<_ACEOF
6633
 
/* confdefs.h.  */
6634
 
_ACEOF
6635
 
cat confdefs.h >>conftest.$ac_ext
6636
 
cat >>conftest.$ac_ext <<_ACEOF
 
7696
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637
7697
/* end confdefs.h.  */
6638
7698
#ifdef __STDC__
6639
7699
# include <limits.h>
6642
7702
#endif
6643
7703
                     Syntax error
6644
7704
_ACEOF
6645
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6646
 
case "(($ac_try" in
6647
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6648
 
  *) ac_try_echo=$ac_try;;
6649
 
esac
6650
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6651
 
$as_echo "$ac_try_echo") >&5
6652
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6653
 
  ac_status=$?
6654
 
  grep -v '^ *+' conftest.er1 >conftest.err
6655
 
  rm -f conftest.er1
6656
 
  cat conftest.err >&5
6657
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658
 
  (exit $ac_status); } >/dev/null && {
6659
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6660
 
         test ! -s conftest.err
6661
 
       }; then
6662
 
  :
 
7705
if ac_fn_c_try_cpp "$LINENO"; then :
 
7706
 
6663
7707
else
6664
 
  $as_echo "$as_me: failed program was:" >&5
6665
 
sed 's/^/| /' conftest.$ac_ext >&5
6666
 
 
6667
7708
  # Broken: fails on valid input.
6668
7709
continue
6669
7710
fi
6670
 
 
6671
 
rm -f conftest.err conftest.$ac_ext
 
7711
rm -f conftest.err conftest.i conftest.$ac_ext
6672
7712
 
6673
7713
  # OK, works on sane cases.  Now check whether nonexistent headers
6674
7714
  # can be detected and how.
6675
 
  cat >conftest.$ac_ext <<_ACEOF
6676
 
/* confdefs.h.  */
6677
 
_ACEOF
6678
 
cat confdefs.h >>conftest.$ac_ext
6679
 
cat >>conftest.$ac_ext <<_ACEOF
 
7715
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680
7716
/* end confdefs.h.  */
6681
7717
#include <ac_nonexistent.h>
6682
7718
_ACEOF
6683
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6684
 
case "(($ac_try" in
6685
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6686
 
  *) ac_try_echo=$ac_try;;
6687
 
esac
6688
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6689
 
$as_echo "$ac_try_echo") >&5
6690
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6691
 
  ac_status=$?
6692
 
  grep -v '^ *+' conftest.er1 >conftest.err
6693
 
  rm -f conftest.er1
6694
 
  cat conftest.err >&5
6695
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696
 
  (exit $ac_status); } >/dev/null && {
6697
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6698
 
         test ! -s conftest.err
6699
 
       }; then
 
7719
if ac_fn_c_try_cpp "$LINENO"; then :
6700
7720
  # Broken: success on invalid input.
6701
7721
continue
6702
7722
else
6703
 
  $as_echo "$as_me: failed program was:" >&5
6704
 
sed 's/^/| /' conftest.$ac_ext >&5
6705
 
 
6706
7723
  # Passes both tests.
6707
7724
ac_preproc_ok=:
6708
7725
break
6709
7726
fi
6710
 
 
6711
 
rm -f conftest.err conftest.$ac_ext
 
7727
rm -f conftest.err conftest.i conftest.$ac_ext
6712
7728
 
6713
7729
done
6714
7730
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6715
 
rm -f conftest.err conftest.$ac_ext
6716
 
if $ac_preproc_ok; then
6717
 
  :
 
7731
rm -f conftest.i conftest.err conftest.$ac_ext
 
7732
if $ac_preproc_ok; then :
 
7733
 
6718
7734
else
6719
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7735
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6720
7736
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6721
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6722
 
See \`config.log' for more details." >&5
6723
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6724
 
See \`config.log' for more details." >&2;}
6725
 
   { (exit 1); exit 1; }; }; }
 
7737
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7738
See \`config.log' for more details" "$LINENO" 5; }
6726
7739
fi
6727
7740
 
6728
7741
ac_ext=c
6732
7745
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6733
7746
 
6734
7747
 
6735
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6736
7749
$as_echo_n "checking for ANSI C header files... " >&6; }
6737
 
if test "${ac_cv_header_stdc+set}" = set; then
 
7750
if ${ac_cv_header_stdc+:} false; then :
6738
7751
  $as_echo_n "(cached) " >&6
6739
7752
else
6740
 
  cat >conftest.$ac_ext <<_ACEOF
6741
 
/* confdefs.h.  */
6742
 
_ACEOF
6743
 
cat confdefs.h >>conftest.$ac_ext
6744
 
cat >>conftest.$ac_ext <<_ACEOF
 
7753
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745
7754
/* end confdefs.h.  */
6746
7755
#include <stdlib.h>
6747
7756
#include <stdarg.h>
6756
7765
  return 0;
6757
7766
}
6758
7767
_ACEOF
6759
 
rm -f conftest.$ac_objext
6760
 
if { (ac_try="$ac_compile"
6761
 
case "(($ac_try" in
6762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763
 
  *) ac_try_echo=$ac_try;;
6764
 
esac
6765
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6766
 
$as_echo "$ac_try_echo") >&5
6767
 
  (eval "$ac_compile") 2>conftest.er1
6768
 
  ac_status=$?
6769
 
  grep -v '^ *+' conftest.er1 >conftest.err
6770
 
  rm -f conftest.er1
6771
 
  cat conftest.err >&5
6772
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773
 
  (exit $ac_status); } && {
6774
 
         test -z "$ac_c_werror_flag" ||
6775
 
         test ! -s conftest.err
6776
 
       } && test -s conftest.$ac_objext; then
 
7768
if ac_fn_c_try_compile "$LINENO"; then :
6777
7769
  ac_cv_header_stdc=yes
6778
7770
else
6779
 
  $as_echo "$as_me: failed program was:" >&5
6780
 
sed 's/^/| /' conftest.$ac_ext >&5
6781
 
 
6782
 
        ac_cv_header_stdc=no
 
7771
  ac_cv_header_stdc=no
6783
7772
fi
6784
 
 
6785
7773
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786
7774
 
6787
7775
if test $ac_cv_header_stdc = yes; then
6788
7776
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6789
 
  cat >conftest.$ac_ext <<_ACEOF
6790
 
/* confdefs.h.  */
6791
 
_ACEOF
6792
 
cat confdefs.h >>conftest.$ac_ext
6793
 
cat >>conftest.$ac_ext <<_ACEOF
 
7777
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6794
7778
/* end confdefs.h.  */
6795
7779
#include <string.h>
6796
7780
 
6797
7781
_ACEOF
6798
7782
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6799
 
  $EGREP "memchr" >/dev/null 2>&1; then
6800
 
  :
 
7783
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7784
 
6801
7785
else
6802
7786
  ac_cv_header_stdc=no
6803
7787
fi
6807
7791
 
6808
7792
if test $ac_cv_header_stdc = yes; then
6809
7793
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6810
 
  cat >conftest.$ac_ext <<_ACEOF
6811
 
/* confdefs.h.  */
6812
 
_ACEOF
6813
 
cat confdefs.h >>conftest.$ac_ext
6814
 
cat >>conftest.$ac_ext <<_ACEOF
 
7794
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815
7795
/* end confdefs.h.  */
6816
7796
#include <stdlib.h>
6817
7797
 
6818
7798
_ACEOF
6819
7799
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6820
 
  $EGREP "free" >/dev/null 2>&1; then
6821
 
  :
 
7800
  $EGREP "free" >/dev/null 2>&1; then :
 
7801
 
6822
7802
else
6823
7803
  ac_cv_header_stdc=no
6824
7804
fi
6828
7808
 
6829
7809
if test $ac_cv_header_stdc = yes; then
6830
7810
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6831
 
  if test "$cross_compiling" = yes; then
 
7811
  if test "$cross_compiling" = yes; then :
6832
7812
  :
6833
7813
else
6834
 
  cat >conftest.$ac_ext <<_ACEOF
6835
 
/* confdefs.h.  */
6836
 
_ACEOF
6837
 
cat confdefs.h >>conftest.$ac_ext
6838
 
cat >>conftest.$ac_ext <<_ACEOF
 
7814
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839
7815
/* end confdefs.h.  */
6840
7816
#include <ctype.h>
6841
7817
#include <stdlib.h>
6862
7838
  return 0;
6863
7839
}
6864
7840
_ACEOF
6865
 
rm -f conftest$ac_exeext
6866
 
if { (ac_try="$ac_link"
6867
 
case "(($ac_try" in
6868
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6869
 
  *) ac_try_echo=$ac_try;;
6870
 
esac
6871
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6872
 
$as_echo "$ac_try_echo") >&5
6873
 
  (eval "$ac_link") 2>&5
6874
 
  ac_status=$?
6875
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6877
 
  { (case "(($ac_try" in
6878
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6879
 
  *) ac_try_echo=$ac_try;;
6880
 
esac
6881
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6882
 
$as_echo "$ac_try_echo") >&5
6883
 
  (eval "$ac_try") 2>&5
6884
 
  ac_status=$?
6885
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886
 
  (exit $ac_status); }; }; then
6887
 
  :
 
7841
if ac_fn_c_try_run "$LINENO"; then :
 
7842
 
6888
7843
else
6889
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6890
 
$as_echo "$as_me: failed program was:" >&5
6891
 
sed 's/^/| /' conftest.$ac_ext >&5
6892
 
 
6893
 
( exit $ac_status )
6894
 
ac_cv_header_stdc=no
6895
 
fi
6896
 
rm -rf conftest.dSYM
6897
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6898
 
fi
6899
 
 
6900
 
 
6901
 
fi
6902
 
fi
6903
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7844
  ac_cv_header_stdc=no
 
7845
fi
 
7846
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7847
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7848
fi
 
7849
 
 
7850
fi
 
7851
fi
 
7852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6904
7853
$as_echo "$ac_cv_header_stdc" >&6; }
6905
7854
if test $ac_cv_header_stdc = yes; then
6906
7855
 
6907
 
cat >>confdefs.h <<\_ACEOF
6908
 
#define STDC_HEADERS 1
6909
 
_ACEOF
 
7856
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6910
7857
 
6911
7858
fi
6912
7859
 
6913
7860
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6914
 
 
6915
 
 
6916
 
 
6917
 
 
6918
 
 
6919
 
 
6920
 
 
6921
 
 
6922
 
 
6923
7861
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6924
7862
                  inttypes.h stdint.h unistd.h
6925
 
do
6926
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6927
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6928
 
$as_echo_n "checking for $ac_header... " >&6; }
6929
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6930
 
  $as_echo_n "(cached) " >&6
6931
 
else
6932
 
  cat >conftest.$ac_ext <<_ACEOF
6933
 
/* confdefs.h.  */
6934
 
_ACEOF
6935
 
cat confdefs.h >>conftest.$ac_ext
6936
 
cat >>conftest.$ac_ext <<_ACEOF
6937
 
/* end confdefs.h.  */
6938
 
$ac_includes_default
6939
 
 
6940
 
#include <$ac_header>
6941
 
_ACEOF
6942
 
rm -f conftest.$ac_objext
6943
 
if { (ac_try="$ac_compile"
6944
 
case "(($ac_try" in
6945
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6946
 
  *) ac_try_echo=$ac_try;;
6947
 
esac
6948
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6949
 
$as_echo "$ac_try_echo") >&5
6950
 
  (eval "$ac_compile") 2>conftest.er1
6951
 
  ac_status=$?
6952
 
  grep -v '^ *+' conftest.er1 >conftest.err
6953
 
  rm -f conftest.er1
6954
 
  cat conftest.err >&5
6955
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956
 
  (exit $ac_status); } && {
6957
 
         test -z "$ac_c_werror_flag" ||
6958
 
         test ! -s conftest.err
6959
 
       } && test -s conftest.$ac_objext; then
6960
 
  eval "$as_ac_Header=yes"
6961
 
else
6962
 
  $as_echo "$as_me: failed program was:" >&5
6963
 
sed 's/^/| /' conftest.$ac_ext >&5
6964
 
 
6965
 
        eval "$as_ac_Header=no"
6966
 
fi
6967
 
 
6968
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6969
 
fi
6970
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6971
 
                 $as_echo "$as_val"'`
6972
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6973
 
$as_echo "$ac_res" >&6; }
6974
 
as_val=`eval 'as_val=${'$as_ac_Header'}
6975
 
                 $as_echo "$as_val"'`
6976
 
   if test "x$as_val" = x""yes; then
 
7863
do :
 
7864
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7865
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7866
"
 
7867
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6977
7868
  cat >>confdefs.h <<_ACEOF
6978
7869
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6979
7870
_ACEOF
6983
7874
done
6984
7875
 
6985
7876
 
6986
 
 
6987
7877
for ac_header in dlfcn.h
6988
 
do
6989
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6990
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6991
 
$as_echo_n "checking for $ac_header... " >&6; }
6992
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6993
 
  $as_echo_n "(cached) " >&6
6994
 
else
6995
 
  cat >conftest.$ac_ext <<_ACEOF
6996
 
/* confdefs.h.  */
6997
 
_ACEOF
6998
 
cat confdefs.h >>conftest.$ac_ext
6999
 
cat >>conftest.$ac_ext <<_ACEOF
7000
 
/* end confdefs.h.  */
7001
 
$ac_includes_default
7002
 
 
7003
 
#include <$ac_header>
7004
 
_ACEOF
7005
 
rm -f conftest.$ac_objext
7006
 
if { (ac_try="$ac_compile"
7007
 
case "(($ac_try" in
7008
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7009
 
  *) ac_try_echo=$ac_try;;
7010
 
esac
7011
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7012
 
$as_echo "$ac_try_echo") >&5
7013
 
  (eval "$ac_compile") 2>conftest.er1
7014
 
  ac_status=$?
7015
 
  grep -v '^ *+' conftest.er1 >conftest.err
7016
 
  rm -f conftest.er1
7017
 
  cat conftest.err >&5
7018
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019
 
  (exit $ac_status); } && {
7020
 
         test -z "$ac_c_werror_flag" ||
7021
 
         test ! -s conftest.err
7022
 
       } && test -s conftest.$ac_objext; then
7023
 
  eval "$as_ac_Header=yes"
7024
 
else
7025
 
  $as_echo "$as_me: failed program was:" >&5
7026
 
sed 's/^/| /' conftest.$ac_ext >&5
7027
 
 
7028
 
        eval "$as_ac_Header=no"
7029
 
fi
7030
 
 
7031
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032
 
fi
7033
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7034
 
                 $as_echo "$as_val"'`
7035
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7036
 
$as_echo "$ac_res" >&6; }
7037
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7038
 
                 $as_echo "$as_val"'`
7039
 
   if test "x$as_val" = x""yes; then
 
7878
do :
 
7879
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7880
"
 
7881
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7040
7882
  cat >>confdefs.h <<_ACEOF
7041
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7883
#define HAVE_DLFCN_H 1
7042
7884
_ACEOF
7043
7885
 
7044
7886
fi
7047
7889
 
7048
7890
 
7049
7891
 
 
7892
func_stripname_cnf ()
 
7893
{
 
7894
  case ${2} in
 
7895
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
7896
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
7897
  esac
 
7898
} # func_stripname_cnf
 
7899
 
 
7900
 
 
7901
 
 
7902
 
 
7903
 
7050
7904
# Set options
7051
7905
 
7052
7906
 
7058
7912
 
7059
7913
 
7060
7914
            # Check whether --enable-shared was given.
7061
 
if test "${enable_shared+set}" = set; then
 
7915
if test "${enable_shared+set}" = set; then :
7062
7916
  enableval=$enable_shared; p=${PACKAGE-default}
7063
7917
    case $enableval in
7064
7918
    yes) enable_shared=yes ;;
7089
7943
 
7090
7944
 
7091
7945
  # Check whether --enable-static was given.
7092
 
if test "${enable_static+set}" = set; then
 
7946
if test "${enable_static+set}" = set; then :
7093
7947
  enableval=$enable_static; p=${PACKAGE-default}
7094
7948
    case $enableval in
7095
7949
    yes) enable_static=yes ;;
7121
7975
 
7122
7976
 
7123
7977
# Check whether --with-pic was given.
7124
 
if test "${with_pic+set}" = set; then
 
7978
if test "${with_pic+set}" = set; then :
7125
7979
  withval=$with_pic; pic_mode="$withval"
7126
7980
else
7127
7981
  pic_mode=default
7137
7991
 
7138
7992
 
7139
7993
  # Check whether --enable-fast-install was given.
7140
 
if test "${enable_fast_install+set}" = set; then
 
7994
if test "${enable_fast_install+set}" = set; then :
7141
7995
  enableval=$enable_fast_install; p=${PACKAGE-default}
7142
7996
    case $enableval in
7143
7997
    yes) enable_fast_install=yes ;;
7199
8053
 
7200
8054
 
7201
8055
 
 
8056
 
7202
8057
test -z "$LN_S" && LN_S="ln -s"
7203
8058
 
7204
8059
 
7218
8073
   setopt NO_GLOB_SUBST
7219
8074
fi
7220
8075
 
7221
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7222
8077
$as_echo_n "checking for objdir... " >&6; }
7223
 
if test "${lt_cv_objdir+set}" = set; then
 
8078
if ${lt_cv_objdir+:} false; then :
7224
8079
  $as_echo_n "(cached) " >&6
7225
8080
else
7226
8081
  rm -f .libs 2>/dev/null
7233
8088
fi
7234
8089
rmdir .libs 2>/dev/null
7235
8090
fi
7236
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7237
8092
$as_echo "$lt_cv_objdir" >&6; }
7238
8093
objdir=$lt_cv_objdir
7239
8094
 
7248
8103
 
7249
8104
 
7250
8105
 
7251
 
 
7252
 
 
7253
 
 
7254
 
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
 
 
7263
 
 
7264
8106
case $host_os in
7265
8107
aix3*)
7266
8108
  # AIX sometimes has problems with the GCC collect2 program.  For some
7273
8115
  ;;
7274
8116
esac
7275
8117
 
7276
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7277
 
# metacharacters that are still active within double-quoted strings.
7278
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7279
 
 
7280
 
# Same as above, but do not quote variable references.
7281
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7282
 
 
7283
 
# Sed substitution to delay expansion of an escaped shell variable in a
7284
 
# double_quote_subst'ed string.
7285
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7286
 
 
7287
 
# Sed substitution to delay expansion of an escaped single quote.
7288
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7289
 
 
7290
 
# Sed substitution to avoid accidental globbing in evaled expressions
7291
 
no_glob_subst='s/\*/\\\*/g'
7292
 
 
7293
8118
# Global variables:
7294
8119
ofile=libtool
7295
8120
can_build_shared=yes
7318
8143
    *) break;;
7319
8144
  esac
7320
8145
done
7321
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8146
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7322
8147
 
7323
8148
 
7324
8149
# Only perform the check for file, if the check method requires it
7326
8151
case $deplibs_check_method in
7327
8152
file_magic*)
7328
8153
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7329
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8154
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7330
8155
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7331
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8156
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7332
8157
  $as_echo_n "(cached) " >&6
7333
8158
else
7334
8159
  case $MAGIC_CMD in
7379
8204
 
7380
8205
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7381
8206
if test -n "$MAGIC_CMD"; then
7382
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7383
8208
$as_echo "$MAGIC_CMD" >&6; }
7384
8209
else
7385
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386
8211
$as_echo "no" >&6; }
7387
8212
fi
7388
8213
 
7392
8217
 
7393
8218
if test -z "$lt_cv_path_MAGIC_CMD"; then
7394
8219
  if test -n "$ac_tool_prefix"; then
7395
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8220
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7396
8221
$as_echo_n "checking for file... " >&6; }
7397
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8222
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7398
8223
  $as_echo_n "(cached) " >&6
7399
8224
else
7400
8225
  case $MAGIC_CMD in
7445
8270
 
7446
8271
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7447
8272
if test -n "$MAGIC_CMD"; then
7448
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7449
8274
$as_echo "$MAGIC_CMD" >&6; }
7450
8275
else
7451
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452
8277
$as_echo "no" >&6; }
7453
8278
fi
7454
8279
 
7518
8343
$RM -r conftest*
7519
8344
 
7520
8345
 
 
8346
## CAVEAT EMPTOR:
 
8347
## There is no encapsulation within the following macros, do not change
 
8348
## the running order or otherwise move them around unless you know exactly
 
8349
## what you are doing...
7521
8350
if test -n "$compiler"; then
7522
8351
 
7523
8352
lt_prog_compiler_no_builtin_flag=
7524
8353
 
7525
8354
if test "$GCC" = yes; then
7526
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8355
  case $cc_basename in
 
8356
  nvcc*)
 
8357
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8358
  *)
 
8359
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8360
  esac
7527
8361
 
7528
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8362
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7529
8363
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7530
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8364
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7531
8365
  $as_echo_n "(cached) " >&6
7532
8366
else
7533
8367
  lt_cv_prog_compiler_rtti_exceptions=no
7543
8377
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7544
8378
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7545
8379
   -e 's:$: $lt_compiler_flag:'`
7546
 
   (eval echo "\"\$as_me:7546: $lt_compile\"" >&5)
 
8380
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7547
8381
   (eval "$lt_compile" 2>conftest.err)
7548
8382
   ac_status=$?
7549
8383
   cat conftest.err >&5
7550
 
   echo "$as_me:7550: \$? = $ac_status" >&5
 
8384
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551
8385
   if (exit $ac_status) && test -s "$ac_outfile"; then
7552
8386
     # The compiler can only warn and ignore the option if not recognized
7553
8387
     # So say no if there are warnings other than the usual output.
7554
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8388
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7555
8389
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7556
8390
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7557
8391
       lt_cv_prog_compiler_rtti_exceptions=yes
7560
8394
   $RM conftest*
7561
8395
 
7562
8396
fi
7563
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7564
8398
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7565
8399
 
7566
8400
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7580
8414
lt_prog_compiler_pic=
7581
8415
lt_prog_compiler_static=
7582
8416
 
7583
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7584
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7585
8417
 
7586
8418
  if test "$GCC" = yes; then
7587
8419
    lt_prog_compiler_wl='-Wl,'
7629
8461
      lt_prog_compiler_pic='-fno-common'
7630
8462
      ;;
7631
8463
 
 
8464
    haiku*)
 
8465
      # PIC is the default for Haiku.
 
8466
      # The "-static" flag exists, but is broken.
 
8467
      lt_prog_compiler_static=
 
8468
      ;;
 
8469
 
7632
8470
    hpux*)
7633
8471
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7634
8472
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7671
8509
      lt_prog_compiler_pic='-fPIC'
7672
8510
      ;;
7673
8511
    esac
 
8512
 
 
8513
    case $cc_basename in
 
8514
    nvcc*) # Cuda Compiler Driver 2.2
 
8515
      lt_prog_compiler_wl='-Xlinker '
 
8516
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8517
      ;;
 
8518
    esac
7674
8519
  else
7675
8520
    # PORTME Check for flag to pass linker flags through the system compiler.
7676
8521
    case $host_os in
7712
8557
      lt_prog_compiler_static='-non_shared'
7713
8558
      ;;
7714
8559
 
7715
 
    linux* | k*bsd*-gnu)
 
8560
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7716
8561
      case $cc_basename in
7717
8562
      # old Intel for x86_64 which still supported -KPIC.
7718
8563
      ecc*)
7733
8578
        lt_prog_compiler_pic='--shared'
7734
8579
        lt_prog_compiler_static='--static'
7735
8580
        ;;
7736
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8581
      nagfor*)
 
8582
        # NAG Fortran compiler
 
8583
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8584
        lt_prog_compiler_pic='-PIC'
 
8585
        lt_prog_compiler_static='-Bstatic'
 
8586
        ;;
 
8587
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7737
8588
        # Portland Group compilers (*not* the Pentium gcc compiler,
7738
8589
        # which looks to be a dead project)
7739
8590
        lt_prog_compiler_wl='-Wl,'
7745
8596
        # All Alpha code is PIC.
7746
8597
        lt_prog_compiler_static='-non_shared'
7747
8598
        ;;
7748
 
      xl*)
7749
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8599
      xl* | bgxl* | bgf* | mpixl*)
 
8600
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7750
8601
        lt_prog_compiler_wl='-Wl,'
7751
8602
        lt_prog_compiler_pic='-qpic'
7752
8603
        lt_prog_compiler_static='-qstaticlink'
7753
8604
        ;;
7754
8605
      *)
7755
8606
        case `$CC -V 2>&1 | sed 5q` in
 
8607
        *Sun\ F* | *Sun*Fortran*)
 
8608
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8609
          lt_prog_compiler_pic='-KPIC'
 
8610
          lt_prog_compiler_static='-Bstatic'
 
8611
          lt_prog_compiler_wl=''
 
8612
          ;;
7756
8613
        *Sun\ C*)
7757
8614
          # Sun C 5.9
7758
8615
          lt_prog_compiler_pic='-KPIC'
7759
8616
          lt_prog_compiler_static='-Bstatic'
7760
8617
          lt_prog_compiler_wl='-Wl,'
7761
8618
          ;;
7762
 
        *Sun\ F*)
7763
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7764
 
          lt_prog_compiler_pic='-KPIC'
7765
 
          lt_prog_compiler_static='-Bstatic'
7766
 
          lt_prog_compiler_wl=''
7767
 
          ;;
7768
8619
        esac
7769
8620
        ;;
7770
8621
      esac
7795
8646
      lt_prog_compiler_pic='-KPIC'
7796
8647
      lt_prog_compiler_static='-Bstatic'
7797
8648
      case $cc_basename in
7798
 
      f77* | f90* | f95*)
 
8649
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7799
8650
        lt_prog_compiler_wl='-Qoption ld ';;
7800
8651
      *)
7801
8652
        lt_prog_compiler_wl='-Wl,';;
7852
8703
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7853
8704
    ;;
7854
8705
esac
7855
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7856
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
 
8706
 
 
8707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8708
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8709
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8710
  $as_echo_n "(cached) " >&6
 
8711
else
 
8712
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8713
fi
 
8714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8715
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8716
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7862
8717
 
7863
8718
#
7864
8719
# Check to make sure the PIC flag actually works.
7865
8720
#
7866
8721
if test -n "$lt_prog_compiler_pic"; then
7867
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8722
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7868
8723
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7869
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8724
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7870
8725
  $as_echo_n "(cached) " >&6
7871
8726
else
7872
8727
  lt_cv_prog_compiler_pic_works=no
7882
8737
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7883
8738
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7884
8739
   -e 's:$: $lt_compiler_flag:'`
7885
 
   (eval echo "\"\$as_me:7885: $lt_compile\"" >&5)
 
8740
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7886
8741
   (eval "$lt_compile" 2>conftest.err)
7887
8742
   ac_status=$?
7888
8743
   cat conftest.err >&5
7889
 
   echo "$as_me:7889: \$? = $ac_status" >&5
 
8744
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890
8745
   if (exit $ac_status) && test -s "$ac_outfile"; then
7891
8746
     # The compiler can only warn and ignore the option if not recognized
7892
8747
     # So say no if there are warnings other than the usual output.
7893
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8748
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7894
8749
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7895
8750
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7896
8751
       lt_cv_prog_compiler_pic_works=yes
7899
8754
   $RM conftest*
7900
8755
 
7901
8756
fi
7902
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7903
8758
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7904
8759
 
7905
8760
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7919
8774
 
7920
8775
 
7921
8776
 
 
8777
 
 
8778
 
 
8779
 
 
8780
 
 
8781
 
7922
8782
#
7923
8783
# Check to make sure the static flag actually works.
7924
8784
#
7925
8785
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7926
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7927
8787
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7928
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8788
if ${lt_cv_prog_compiler_static_works+:} false; then :
7929
8789
  $as_echo_n "(cached) " >&6
7930
8790
else
7931
8791
  lt_cv_prog_compiler_static_works=no
7938
8798
     if test -s conftest.err; then
7939
8799
       # Append any errors to the config.log.
7940
8800
       cat conftest.err 1>&5
7941
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8801
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7942
8802
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7943
8803
       if diff conftest.exp conftest.er2 >/dev/null; then
7944
8804
         lt_cv_prog_compiler_static_works=yes
7951
8811
   LDFLAGS="$save_LDFLAGS"
7952
8812
 
7953
8813
fi
7954
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7955
8815
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7956
8816
 
7957
8817
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7966
8826
 
7967
8827
 
7968
8828
 
7969
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7970
8830
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7971
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8831
if ${lt_cv_prog_compiler_c_o+:} false; then :
7972
8832
  $as_echo_n "(cached) " >&6
7973
8833
else
7974
8834
  lt_cv_prog_compiler_c_o=no
7987
8847
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7988
8848
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7989
8849
   -e 's:$: $lt_compiler_flag:'`
7990
 
   (eval echo "\"\$as_me:7990: $lt_compile\"" >&5)
 
8850
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7991
8851
   (eval "$lt_compile" 2>out/conftest.err)
7992
8852
   ac_status=$?
7993
8853
   cat out/conftest.err >&5
7994
 
   echo "$as_me:7994: \$? = $ac_status" >&5
 
8854
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995
8855
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7996
8856
   then
7997
8857
     # The compiler can only warn and ignore the option if not recognized
7998
8858
     # So say no if there are warnings
7999
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8859
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8000
8860
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8001
8861
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8002
8862
       lt_cv_prog_compiler_c_o=yes
8013
8873
   $RM conftest*
8014
8874
 
8015
8875
fi
8016
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8017
8877
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8018
8878
 
8019
8879
 
8021
8881
 
8022
8882
 
8023
8883
 
8024
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8884
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8025
8885
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8026
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8886
if ${lt_cv_prog_compiler_c_o+:} false; then :
8027
8887
  $as_echo_n "(cached) " >&6
8028
8888
else
8029
8889
  lt_cv_prog_compiler_c_o=no
8042
8902
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8043
8903
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8044
8904
   -e 's:$: $lt_compiler_flag:'`
8045
 
   (eval echo "\"\$as_me:8045: $lt_compile\"" >&5)
 
8905
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8046
8906
   (eval "$lt_compile" 2>out/conftest.err)
8047
8907
   ac_status=$?
8048
8908
   cat out/conftest.err >&5
8049
 
   echo "$as_me:8049: \$? = $ac_status" >&5
 
8909
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050
8910
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8051
8911
   then
8052
8912
     # The compiler can only warn and ignore the option if not recognized
8053
8913
     # So say no if there are warnings
8054
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8914
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8055
8915
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8056
8916
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8057
8917
       lt_cv_prog_compiler_c_o=yes
8068
8928
   $RM conftest*
8069
8929
 
8070
8930
fi
8071
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8072
8932
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8073
8933
 
8074
8934
 
8077
8937
hard_links="nottested"
8078
8938
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8079
8939
  # do not overwrite the value of need_locks provided by the user
8080
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8940
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8081
8941
$as_echo_n "checking if we can lock with hard links... " >&6; }
8082
8942
  hard_links=yes
8083
8943
  $RM conftest*
8085
8945
  touch conftest.a
8086
8946
  ln conftest.a conftest.b 2>&5 || hard_links=no
8087
8947
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8088
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8089
8949
$as_echo "$hard_links" >&6; }
8090
8950
  if test "$hard_links" = no; then
8091
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8951
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8092
8952
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8093
8953
    need_locks=warn
8094
8954
  fi
8101
8961
 
8102
8962
 
8103
8963
 
8104
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8964
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8105
8965
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8106
8966
 
8107
8967
  runpath_var=
8164
9024
  esac
8165
9025
 
8166
9026
  ld_shlibs=yes
 
9027
 
 
9028
  # On some targets, GNU ld is compatible enough with the native linker
 
9029
  # that we're better off using the native interface for both.
 
9030
  lt_use_gnu_ld_interface=no
8167
9031
  if test "$with_gnu_ld" = yes; then
 
9032
    case $host_os in
 
9033
      aix*)
 
9034
        # The AIX port of GNU ld has always aspired to compatibility
 
9035
        # with the native linker.  However, as the warning in the GNU ld
 
9036
        # block says, versions before 2.19.5* couldn't really create working
 
9037
        # shared libraries, regardless of the interface used.
 
9038
        case `$LD -v 2>&1` in
 
9039
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9040
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9041
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9042
          *)
 
9043
            lt_use_gnu_ld_interface=yes
 
9044
            ;;
 
9045
        esac
 
9046
        ;;
 
9047
      *)
 
9048
        lt_use_gnu_ld_interface=yes
 
9049
        ;;
 
9050
    esac
 
9051
  fi
 
9052
 
 
9053
  if test "$lt_use_gnu_ld_interface" = yes; then
8168
9054
    # If archive_cmds runs LD, not CC, wlarc should be empty
8169
9055
    wlarc='${wl}'
8170
9056
 
8182
9068
    fi
8183
9069
    supports_anon_versioning=no
8184
9070
    case `$LD -v 2>&1` in
 
9071
      *GNU\ gold*) supports_anon_versioning=yes ;;
8185
9072
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8186
9073
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8187
9074
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8197
9084
        ld_shlibs=no
8198
9085
        cat <<_LT_EOF 1>&2
8199
9086
 
8200
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9087
*** Warning: the GNU linker, at least up to release 2.19, is reported
8201
9088
*** to be unable to reliably create shared libraries on AIX.
8202
9089
*** Therefore, libtool is disabling shared libraries support.  If you
8203
 
*** really care for shared libraries, you may want to modify your PATH
8204
 
*** so that a non-GNU linker is found, and then restart.
 
9090
*** really care for shared libraries, you may want to install binutils
 
9091
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9092
*** You will then need to restart the configuration process.
8205
9093
 
8206
9094
_LT_EOF
8207
9095
      fi
8237
9125
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8238
9126
      # as there is no search path for DLLs.
8239
9127
      hardcode_libdir_flag_spec='-L$libdir'
 
9128
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8240
9129
      allow_undefined_flag=unsupported
8241
9130
      always_export_symbols=no
8242
9131
      enable_shared_with_static_runtimes=yes
8243
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9132
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9133
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8244
9134
 
8245
9135
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8246
9136
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8258
9148
      fi
8259
9149
      ;;
8260
9150
 
 
9151
    haiku*)
 
9152
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9153
      link_all_deplibs=yes
 
9154
      ;;
 
9155
 
8261
9156
    interix[3-9]*)
8262
9157
      hardcode_direct=no
8263
9158
      hardcode_shlibpath_var=no
8273
9168
      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'
8274
9169
      ;;
8275
9170
 
8276
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9171
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8277
9172
      tmp_diet=no
8278
9173
      if test "$host_os" = linux-dietlibc; then
8279
9174
        case $cc_basename in
8283
9178
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8284
9179
         && test "$tmp_diet" = no
8285
9180
      then
8286
 
        tmp_addflag=
 
9181
        tmp_addflag=' $pic_flag'
8287
9182
        tmp_sharedflag='-shared'
8288
9183
        case $cc_basename,$host_cpu in
8289
9184
        pgcc*)                          # Portland Group C compiler
8290
 
          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'
 
9185
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8291
9186
          tmp_addflag=' $pic_flag'
8292
9187
          ;;
8293
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8294
 
          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'
 
9188
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9189
                                        # Portland Group f77 and f90 compilers
 
9190
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8295
9191
          tmp_addflag=' $pic_flag -Mnomain' ;;
8296
9192
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8297
9193
          tmp_addflag=' -i_dynamic' ;;
8302
9198
        lf95*)                          # Lahey Fortran 8.1
8303
9199
          whole_archive_flag_spec=
8304
9200
          tmp_sharedflag='--shared' ;;
8305
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9201
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8306
9202
          tmp_sharedflag='-qmkshrobj'
8307
9203
          tmp_addflag= ;;
 
9204
        nvcc*)  # Cuda Compiler Driver 2.2
 
9205
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9206
          compiler_needs_object=yes
 
9207
          ;;
8308
9208
        esac
8309
9209
        case `$CC -V 2>&1 | sed 5q` in
8310
9210
        *Sun\ C*)                       # Sun C 5.9
8311
 
          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'
 
9211
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8312
9212
          compiler_needs_object=yes
8313
9213
          tmp_sharedflag='-G' ;;
8314
9214
        *Sun\ F*)                       # Sun Fortran 8.3
8324
9224
        fi
8325
9225
 
8326
9226
        case $cc_basename in
8327
 
        xlf*)
 
9227
        xlf* | bgf* | bgxlf* | mpixlf*)
8328
9228
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8329
9229
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8330
9230
          hardcode_libdir_flag_spec=
8331
9231
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8332
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9232
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8333
9233
          if test "x$supports_anon_versioning" = xyes; then
8334
9234
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8335
9235
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8336
9236
              echo "local: *; };" >> $output_objdir/$libname.ver~
8337
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9237
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8338
9238
          fi
8339
9239
          ;;
8340
9240
        esac
8348
9248
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8349
9249
        wlarc=
8350
9250
      else
8351
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8352
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9251
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9252
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8353
9253
      fi
8354
9254
      ;;
8355
9255
 
8367
9267
 
8368
9268
_LT_EOF
8369
9269
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8370
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8371
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9270
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9271
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8372
9272
      else
8373
9273
        ld_shlibs=no
8374
9274
      fi
8414
9314
 
8415
9315
    *)
8416
9316
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8417
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8418
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9317
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9318
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8419
9319
      else
8420
9320
        ld_shlibs=no
8421
9321
      fi
8455
9355
      else
8456
9356
        # If we're using GNU nm, then we don't want the "-C" option.
8457
9357
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9358
        # Also, AIX nm treats weak defined symbols like other global
 
9359
        # defined symbols, whereas GNU nm marks them as "W".
8458
9360
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8459
 
          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'
 
9361
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8460
9362
        else
8461
9363
          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'
8462
9364
        fi
8543
9445
        allow_undefined_flag='-berok'
8544
9446
        # Determine the default libpath from the value encoded in an
8545
9447
        # empty executable.
8546
 
        cat >conftest.$ac_ext <<_ACEOF
8547
 
/* confdefs.h.  */
8548
 
_ACEOF
8549
 
cat confdefs.h >>conftest.$ac_ext
8550
 
cat >>conftest.$ac_ext <<_ACEOF
 
9448
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9449
  aix_libpath=$lt_cv_aix_libpath
 
9450
else
 
9451
  if ${lt_cv_aix_libpath_+:} false; then :
 
9452
  $as_echo_n "(cached) " >&6
 
9453
else
 
9454
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551
9455
/* end confdefs.h.  */
8552
9456
 
8553
9457
int
8558
9462
  return 0;
8559
9463
}
8560
9464
_ACEOF
8561
 
rm -f conftest.$ac_objext conftest$ac_exeext
8562
 
if { (ac_try="$ac_link"
8563
 
case "(($ac_try" in
8564
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8565
 
  *) ac_try_echo=$ac_try;;
8566
 
esac
8567
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8568
 
$as_echo "$ac_try_echo") >&5
8569
 
  (eval "$ac_link") 2>conftest.er1
8570
 
  ac_status=$?
8571
 
  grep -v '^ *+' conftest.er1 >conftest.err
8572
 
  rm -f conftest.er1
8573
 
  cat conftest.err >&5
8574
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575
 
  (exit $ac_status); } && {
8576
 
         test -z "$ac_c_werror_flag" ||
8577
 
         test ! -s conftest.err
8578
 
       } && test -s conftest$ac_exeext && {
8579
 
         test "$cross_compiling" = yes ||
8580
 
         $as_test_x conftest$ac_exeext
8581
 
       }; then
8582
 
 
8583
 
lt_aix_libpath_sed='
8584
 
    /Import File Strings/,/^$/ {
8585
 
        /^0/ {
8586
 
            s/^0  *\(.*\)$/\1/
8587
 
            p
8588
 
        }
8589
 
    }'
8590
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8591
 
# Check for a 64-bit object if we didn't find anything.
8592
 
if test -z "$aix_libpath"; then
8593
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8594
 
fi
8595
 
else
8596
 
  $as_echo "$as_me: failed program was:" >&5
8597
 
sed 's/^/| /' conftest.$ac_ext >&5
8598
 
 
8599
 
 
8600
 
fi
8601
 
 
8602
 
rm -rf conftest.dSYM
8603
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8604
 
      conftest$ac_exeext conftest.$ac_ext
8605
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9465
if ac_fn_c_try_link "$LINENO"; then :
 
9466
 
 
9467
  lt_aix_libpath_sed='
 
9468
      /Import File Strings/,/^$/ {
 
9469
          /^0/ {
 
9470
              s/^0  *\([^ ]*\) *$/\1/
 
9471
              p
 
9472
          }
 
9473
      }'
 
9474
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9475
  # Check for a 64-bit object if we didn't find anything.
 
9476
  if test -z "$lt_cv_aix_libpath_"; then
 
9477
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9478
  fi
 
9479
fi
 
9480
rm -f core conftest.err conftest.$ac_objext \
 
9481
    conftest$ac_exeext conftest.$ac_ext
 
9482
  if test -z "$lt_cv_aix_libpath_"; then
 
9483
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9484
  fi
 
9485
 
 
9486
fi
 
9487
 
 
9488
  aix_libpath=$lt_cv_aix_libpath_
 
9489
fi
8606
9490
 
8607
9491
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8608
 
        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"
 
9492
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8609
9493
      else
8610
9494
        if test "$host_cpu" = ia64; then
8611
9495
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8614
9498
        else
8615
9499
         # Determine the default libpath from the value encoded in an
8616
9500
         # empty executable.
8617
 
         cat >conftest.$ac_ext <<_ACEOF
8618
 
/* confdefs.h.  */
8619
 
_ACEOF
8620
 
cat confdefs.h >>conftest.$ac_ext
8621
 
cat >>conftest.$ac_ext <<_ACEOF
 
9501
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9502
  aix_libpath=$lt_cv_aix_libpath
 
9503
else
 
9504
  if ${lt_cv_aix_libpath_+:} false; then :
 
9505
  $as_echo_n "(cached) " >&6
 
9506
else
 
9507
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622
9508
/* end confdefs.h.  */
8623
9509
 
8624
9510
int
8629
9515
  return 0;
8630
9516
}
8631
9517
_ACEOF
8632
 
rm -f conftest.$ac_objext conftest$ac_exeext
8633
 
if { (ac_try="$ac_link"
8634
 
case "(($ac_try" in
8635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8636
 
  *) ac_try_echo=$ac_try;;
8637
 
esac
8638
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8639
 
$as_echo "$ac_try_echo") >&5
8640
 
  (eval "$ac_link") 2>conftest.er1
8641
 
  ac_status=$?
8642
 
  grep -v '^ *+' conftest.er1 >conftest.err
8643
 
  rm -f conftest.er1
8644
 
  cat conftest.err >&5
8645
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646
 
  (exit $ac_status); } && {
8647
 
         test -z "$ac_c_werror_flag" ||
8648
 
         test ! -s conftest.err
8649
 
       } && test -s conftest$ac_exeext && {
8650
 
         test "$cross_compiling" = yes ||
8651
 
         $as_test_x conftest$ac_exeext
8652
 
       }; then
8653
 
 
8654
 
lt_aix_libpath_sed='
8655
 
    /Import File Strings/,/^$/ {
8656
 
        /^0/ {
8657
 
            s/^0  *\(.*\)$/\1/
8658
 
            p
8659
 
        }
8660
 
    }'
8661
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8662
 
# Check for a 64-bit object if we didn't find anything.
8663
 
if test -z "$aix_libpath"; then
8664
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8665
 
fi
8666
 
else
8667
 
  $as_echo "$as_me: failed program was:" >&5
8668
 
sed 's/^/| /' conftest.$ac_ext >&5
8669
 
 
8670
 
 
8671
 
fi
8672
 
 
8673
 
rm -rf conftest.dSYM
8674
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8675
 
      conftest$ac_exeext conftest.$ac_ext
8676
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9518
if ac_fn_c_try_link "$LINENO"; then :
 
9519
 
 
9520
  lt_aix_libpath_sed='
 
9521
      /Import File Strings/,/^$/ {
 
9522
          /^0/ {
 
9523
              s/^0  *\([^ ]*\) *$/\1/
 
9524
              p
 
9525
          }
 
9526
      }'
 
9527
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9528
  # Check for a 64-bit object if we didn't find anything.
 
9529
  if test -z "$lt_cv_aix_libpath_"; then
 
9530
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9531
  fi
 
9532
fi
 
9533
rm -f core conftest.err conftest.$ac_objext \
 
9534
    conftest$ac_exeext conftest.$ac_ext
 
9535
  if test -z "$lt_cv_aix_libpath_"; then
 
9536
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9537
  fi
 
9538
 
 
9539
fi
 
9540
 
 
9541
  aix_libpath=$lt_cv_aix_libpath_
 
9542
fi
8677
9543
 
8678
9544
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8679
9545
          # Warning - without using the other run time loading flags,
8680
9546
          # -berok will link without error, but may produce a broken library.
8681
9547
          no_undefined_flag=' ${wl}-bernotok'
8682
9548
          allow_undefined_flag=' ${wl}-berok'
8683
 
          # Exported symbols can be pulled into shared objects from archives
8684
 
          whole_archive_flag_spec='$convenience'
 
9549
          if test "$with_gnu_ld" = yes; then
 
9550
            # We only use this code for GNU lds that support --whole-archive.
 
9551
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9552
          else
 
9553
            # Exported symbols can be pulled into shared objects from archives
 
9554
            whole_archive_flag_spec='$convenience'
 
9555
          fi
8685
9556
          archive_cmds_need_lc=yes
8686
9557
          # This is similar to how AIX traditionally builds its shared libraries.
8687
9558
          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'
8713
9584
      # Microsoft Visual C++.
8714
9585
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8715
9586
      # no search path for DLLs.
8716
 
      hardcode_libdir_flag_spec=' '
8717
 
      allow_undefined_flag=unsupported
8718
 
      # Tell ltmain to make .lib files, not .a files.
8719
 
      libext=lib
8720
 
      # Tell ltmain to make .dll files, not .so files.
8721
 
      shrext_cmds=".dll"
8722
 
      # FIXME: Setting linknames here is a bad hack.
8723
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8724
 
      # The linker will automatically build a .lib file if we build a DLL.
8725
 
      old_archive_from_new_cmds='true'
8726
 
      # FIXME: Should let the user specify the lib program.
8727
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8728
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8729
 
      enable_shared_with_static_runtimes=yes
 
9587
      case $cc_basename in
 
9588
      cl*)
 
9589
        # Native MSVC
 
9590
        hardcode_libdir_flag_spec=' '
 
9591
        allow_undefined_flag=unsupported
 
9592
        always_export_symbols=yes
 
9593
        file_list_spec='@'
 
9594
        # Tell ltmain to make .lib files, not .a files.
 
9595
        libext=lib
 
9596
        # Tell ltmain to make .dll files, not .so files.
 
9597
        shrext_cmds=".dll"
 
9598
        # FIXME: Setting linknames here is a bad hack.
 
9599
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9600
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9601
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9602
          else
 
9603
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9604
          fi~
 
9605
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9606
          linknames='
 
9607
        # The linker will not automatically build a static lib if we build a DLL.
 
9608
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9609
        enable_shared_with_static_runtimes=yes
 
9610
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9611
        # Don't use ranlib
 
9612
        old_postinstall_cmds='chmod 644 $oldlib'
 
9613
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9614
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9615
          case $lt_outputfile in
 
9616
            *.exe|*.EXE) ;;
 
9617
            *)
 
9618
              lt_outputfile="$lt_outputfile.exe"
 
9619
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9620
              ;;
 
9621
          esac~
 
9622
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9623
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9624
            $RM "$lt_outputfile.manifest";
 
9625
          fi'
 
9626
        ;;
 
9627
      *)
 
9628
        # Assume MSVC wrapper
 
9629
        hardcode_libdir_flag_spec=' '
 
9630
        allow_undefined_flag=unsupported
 
9631
        # Tell ltmain to make .lib files, not .a files.
 
9632
        libext=lib
 
9633
        # Tell ltmain to make .dll files, not .so files.
 
9634
        shrext_cmds=".dll"
 
9635
        # FIXME: Setting linknames here is a bad hack.
 
9636
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9637
        # The linker will automatically build a .lib file if we build a DLL.
 
9638
        old_archive_from_new_cmds='true'
 
9639
        # FIXME: Should let the user specify the lib program.
 
9640
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9641
        enable_shared_with_static_runtimes=yes
 
9642
        ;;
 
9643
      esac
8730
9644
      ;;
8731
9645
 
8732
9646
    darwin* | rhapsody*)
8736
9650
  hardcode_direct=no
8737
9651
  hardcode_automatic=yes
8738
9652
  hardcode_shlibpath_var=unsupported
8739
 
  whole_archive_flag_spec=''
 
9653
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9654
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9655
  else
 
9656
    whole_archive_flag_spec=''
 
9657
  fi
8740
9658
  link_all_deplibs=yes
8741
9659
  allow_undefined_flag="$_lt_dar_allow_undefined"
8742
9660
  case $cc_basename in
8744
9662
     *) _lt_dar_can_shared=$GCC ;;
8745
9663
  esac
8746
9664
  if test "$_lt_dar_can_shared" = "yes"; then
8747
 
    output_verbose_link_cmd=echo
 
9665
    output_verbose_link_cmd=func_echo_all
8748
9666
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8749
9667
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8750
9668
    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}"
8787
9705
 
8788
9706
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8789
9707
    freebsd* | dragonfly*)
8790
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9708
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8791
9709
      hardcode_libdir_flag_spec='-R$libdir'
8792
9710
      hardcode_direct=yes
8793
9711
      hardcode_shlibpath_var=no
8795
9713
 
8796
9714
    hpux9*)
8797
9715
      if test "$GCC" = yes; then
8798
 
        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'
 
9716
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8799
9717
      else
8800
9718
        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'
8801
9719
      fi
8810
9728
      ;;
8811
9729
 
8812
9730
    hpux10*)
8813
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8814
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9731
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9732
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8815
9733
      else
8816
9734
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8817
9735
      fi
8829
9747
      ;;
8830
9748
 
8831
9749
    hpux11*)
8832
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9750
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8833
9751
        case $host_cpu in
8834
9752
        hppa*64*)
8835
9753
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8836
9754
          ;;
8837
9755
        ia64*)
8838
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9756
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8839
9757
          ;;
8840
9758
        *)
8841
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9759
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8842
9760
          ;;
8843
9761
        esac
8844
9762
      else
8850
9768
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8851
9769
          ;;
8852
9770
        *)
8853
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9771
 
 
9772
          # Older versions of the 11.00 compiler do not understand -b yet
 
9773
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9774
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9775
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9776
if ${lt_cv_prog_compiler__b+:} false; then :
 
9777
  $as_echo_n "(cached) " >&6
 
9778
else
 
9779
  lt_cv_prog_compiler__b=no
 
9780
   save_LDFLAGS="$LDFLAGS"
 
9781
   LDFLAGS="$LDFLAGS -b"
 
9782
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9783
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9784
     # The linker can only warn and ignore the option if not recognized
 
9785
     # So say no if there are warnings
 
9786
     if test -s conftest.err; then
 
9787
       # Append any errors to the config.log.
 
9788
       cat conftest.err 1>&5
 
9789
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9790
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9791
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9792
         lt_cv_prog_compiler__b=yes
 
9793
       fi
 
9794
     else
 
9795
       lt_cv_prog_compiler__b=yes
 
9796
     fi
 
9797
   fi
 
9798
   $RM -r conftest*
 
9799
   LDFLAGS="$save_LDFLAGS"
 
9800
 
 
9801
fi
 
9802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9803
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9804
 
 
9805
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9806
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9807
else
 
9808
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9809
fi
 
9810
 
8854
9811
          ;;
8855
9812
        esac
8856
9813
      fi
8878
9835
 
8879
9836
    irix5* | irix6* | nonstopux*)
8880
9837
      if test "$GCC" = yes; then
8881
 
        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'
 
9838
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8882
9839
        # Try to use the -exported_symbol ld option, if it does not
8883
9840
        # work, assume that -exports_file does not work either and
8884
9841
        # implicitly export all symbols.
8885
 
        save_LDFLAGS="$LDFLAGS"
8886
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8887
 
        cat >conftest.$ac_ext <<_ACEOF
8888
 
int foo(void) {}
 
9842
        # This should be the same for all languages, so no per-tag cache variable.
 
9843
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9844
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9845
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9846
  $as_echo_n "(cached) " >&6
 
9847
else
 
9848
  save_LDFLAGS="$LDFLAGS"
 
9849
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9850
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9851
/* end confdefs.h.  */
 
9852
int foo (void) { return 0; }
8889
9853
_ACEOF
8890
 
rm -f conftest.$ac_objext conftest$ac_exeext
8891
 
if { (ac_try="$ac_link"
8892
 
case "(($ac_try" in
8893
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8894
 
  *) ac_try_echo=$ac_try;;
8895
 
esac
8896
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8897
 
$as_echo "$ac_try_echo") >&5
8898
 
  (eval "$ac_link") 2>conftest.er1
8899
 
  ac_status=$?
8900
 
  grep -v '^ *+' conftest.er1 >conftest.err
8901
 
  rm -f conftest.er1
8902
 
  cat conftest.err >&5
8903
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904
 
  (exit $ac_status); } && {
8905
 
         test -z "$ac_c_werror_flag" ||
8906
 
         test ! -s conftest.err
8907
 
       } && test -s conftest$ac_exeext && {
8908
 
         test "$cross_compiling" = yes ||
8909
 
         $as_test_x conftest$ac_exeext
8910
 
       }; then
8911
 
  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'
8912
 
 
 
9854
if ac_fn_c_try_link "$LINENO"; then :
 
9855
  lt_cv_irix_exported_symbol=yes
8913
9856
else
8914
 
  $as_echo "$as_me: failed program was:" >&5
8915
 
sed 's/^/| /' conftest.$ac_ext >&5
8916
 
 
8917
 
 
8918
 
fi
8919
 
 
8920
 
rm -rf conftest.dSYM
8921
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8922
 
      conftest$ac_exeext conftest.$ac_ext
8923
 
        LDFLAGS="$save_LDFLAGS"
 
9857
  lt_cv_irix_exported_symbol=no
 
9858
fi
 
9859
rm -f core conftest.err conftest.$ac_objext \
 
9860
    conftest$ac_exeext conftest.$ac_ext
 
9861
           LDFLAGS="$save_LDFLAGS"
 
9862
fi
 
9863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9864
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9865
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9866
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9867
        fi
8924
9868
      else
8925
 
        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'
8926
 
        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'
 
9869
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9870
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8927
9871
      fi
8928
9872
      archive_cmds_need_lc='no'
8929
9873
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8985
9929
      hardcode_libdir_flag_spec='-L$libdir'
8986
9930
      hardcode_minus_L=yes
8987
9931
      allow_undefined_flag=unsupported
8988
 
      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'
 
9932
      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'
8989
9933
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8990
9934
      ;;
8991
9935
 
8992
9936
    osf3*)
8993
9937
      if test "$GCC" = yes; then
8994
9938
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8995
 
        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'
 
9939
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8996
9940
      else
8997
9941
        allow_undefined_flag=' -expect_unresolved \*'
8998
 
        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'
 
9942
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8999
9943
      fi
9000
9944
      archive_cmds_need_lc='no'
9001
9945
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9005
9949
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9006
9950
      if test "$GCC" = yes; then
9007
9951
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9008
 
        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'
 
9952
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9009
9953
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9010
9954
      else
9011
9955
        allow_undefined_flag=' -expect_unresolved \*'
9012
 
        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'
 
9956
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9013
9957
        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~
9014
 
        $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'
 
9958
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9015
9959
 
9016
9960
        # Both c and cxx compiler support -rpath directly
9017
9961
        hardcode_libdir_flag_spec='-rpath $libdir'
9024
9968
      no_undefined_flag=' -z defs'
9025
9969
      if test "$GCC" = yes; then
9026
9970
        wlarc='${wl}'
9027
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9971
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9028
9972
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9029
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9973
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9030
9974
      else
9031
9975
        case `$CC -V 2>&1` in
9032
9976
        *"Compilers 5.0"*)
9175
10119
    fi
9176
10120
  fi
9177
10121
 
9178
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9179
10123
$as_echo "$ld_shlibs" >&6; }
9180
10124
test "$ld_shlibs" = no && can_build_shared=no
9181
10125
 
9212
10156
      # Test whether the compiler implicitly links with -lc since on some
9213
10157
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9214
10158
      # to ld, don't add -lc before -lgcc.
9215
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10159
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9216
10160
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9217
 
      $RM conftest*
9218
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10161
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10162
  $as_echo_n "(cached) " >&6
 
10163
else
 
10164
  $RM conftest*
 
10165
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9219
10166
 
9220
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10167
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9221
10168
  (eval $ac_compile) 2>&5
9222
10169
  ac_status=$?
9223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224
 
  (exit $ac_status); } 2>conftest.err; then
9225
 
        soname=conftest
9226
 
        lib=conftest
9227
 
        libobjs=conftest.$ac_objext
9228
 
        deplibs=
9229
 
        wl=$lt_prog_compiler_wl
9230
 
        pic_flag=$lt_prog_compiler_pic
9231
 
        compiler_flags=-v
9232
 
        linker_flags=-v
9233
 
        verstring=
9234
 
        output_objdir=.
9235
 
        libname=conftest
9236
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9237
 
        allow_undefined_flag=
9238
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10170
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10171
  test $ac_status = 0; } 2>conftest.err; then
 
10172
          soname=conftest
 
10173
          lib=conftest
 
10174
          libobjs=conftest.$ac_objext
 
10175
          deplibs=
 
10176
          wl=$lt_prog_compiler_wl
 
10177
          pic_flag=$lt_prog_compiler_pic
 
10178
          compiler_flags=-v
 
10179
          linker_flags=-v
 
10180
          verstring=
 
10181
          output_objdir=.
 
10182
          libname=conftest
 
10183
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10184
          allow_undefined_flag=
 
10185
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9239
10186
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9240
10187
  ac_status=$?
9241
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242
 
  (exit $ac_status); }
9243
 
        then
9244
 
          archive_cmds_need_lc=no
9245
 
        else
9246
 
          archive_cmds_need_lc=yes
9247
 
        fi
9248
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9249
 
      else
9250
 
        cat conftest.err 1>&5
9251
 
      fi
9252
 
      $RM conftest*
9253
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9254
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10188
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10189
  test $ac_status = 0; }
 
10190
          then
 
10191
            lt_cv_archive_cmds_need_lc=no
 
10192
          else
 
10193
            lt_cv_archive_cmds_need_lc=yes
 
10194
          fi
 
10195
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10196
        else
 
10197
          cat conftest.err 1>&5
 
10198
        fi
 
10199
        $RM conftest*
 
10200
 
 
10201
fi
 
10202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10203
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10204
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9255
10205
      ;;
9256
10206
    esac
9257
10207
  fi
9414
10364
 
9415
10365
 
9416
10366
 
9417
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10367
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9418
10368
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9419
10369
 
9420
10370
if test "$GCC" = yes; then
9422
10372
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9423
10373
    *) lt_awk_arg="/^libraries:/" ;;
9424
10374
  esac
9425
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9426
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10375
  case $host_os in
 
10376
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10377
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10378
  esac
 
10379
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10380
  case $lt_search_path_spec in
 
10381
  *\;*)
9427
10382
    # if the path contains ";" then we assume it to be the separator
9428
10383
    # otherwise default to the standard path separator (i.e. ":") - it is
9429
10384
    # assumed that no part of a normal pathname contains ";" but that should
9430
10385
    # okay in the real world where ";" in dirpaths is itself problematic.
9431
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9432
 
  else
9433
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9434
 
  fi
 
10386
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10387
    ;;
 
10388
  *)
 
10389
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10390
    ;;
 
10391
  esac
9435
10392
  # Ok, now we have the path, separated by spaces, we can step through it
9436
10393
  # and add multilib dir if necessary.
9437
10394
  lt_tmp_lt_search_path_spec=
9444
10401
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9445
10402
    fi
9446
10403
  done
9447
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10404
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9448
10405
BEGIN {RS=" "; FS="/|\n";} {
9449
10406
  lt_foo="";
9450
10407
  lt_count=0;
9464
10421
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9465
10422
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9466
10423
}'`
9467
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10424
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10425
  # for these hosts.
 
10426
  case $host_os in
 
10427
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10428
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10429
  esac
 
10430
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9468
10431
else
9469
10432
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9470
10433
fi
9552
10515
  m68k)
9553
10516
    library_names_spec='$libname.ixlibrary $libname.a'
9554
10517
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9555
 
    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'
 
10518
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9556
10519
    ;;
9557
10520
  esac
9558
10521
  ;;
9583
10546
  need_version=no
9584
10547
  need_lib_prefix=no
9585
10548
 
9586
 
  case $GCC,$host_os in
9587
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10549
  case $GCC,$cc_basename in
 
10550
  yes,*)
 
10551
    # gcc
9588
10552
    library_names_spec='$libname.dll.a'
9589
10553
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9590
10554
    postinstall_cmds='base_file=`basename \${file}`~
9605
10569
    cygwin*)
9606
10570
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9607
10571
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9608
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10572
 
 
10573
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9609
10574
      ;;
9610
10575
    mingw* | cegcc*)
9611
10576
      # MinGW DLLs use traditional 'lib' prefix
9612
10577
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9613
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9614
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9615
 
        # It is most probably a Windows format PATH printed by
9616
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9617
 
        # path with ; separators, and with drive letters. We can handle the
9618
 
        # drive letters (cygwin fileutils understands them), so leave them,
9619
 
        # especially as we might pass files found there to a mingw objdump,
9620
 
        # which wouldn't understand a cygwinified path. Ahh.
9621
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9622
 
      else
9623
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9624
 
      fi
9625
10578
      ;;
9626
10579
    pw32*)
9627
10580
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9628
10581
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9629
10582
      ;;
9630
10583
    esac
 
10584
    dynamic_linker='Win32 ld.exe'
 
10585
    ;;
 
10586
 
 
10587
  *,cl*)
 
10588
    # Native MSVC
 
10589
    libname_spec='$name'
 
10590
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10591
    library_names_spec='${libname}.dll.lib'
 
10592
 
 
10593
    case $build_os in
 
10594
    mingw*)
 
10595
      sys_lib_search_path_spec=
 
10596
      lt_save_ifs=$IFS
 
10597
      IFS=';'
 
10598
      for lt_path in $LIB
 
10599
      do
 
10600
        IFS=$lt_save_ifs
 
10601
        # Let DOS variable expansion print the short 8.3 style file name.
 
10602
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10603
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10604
      done
 
10605
      IFS=$lt_save_ifs
 
10606
      # Convert to MSYS style.
 
10607
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10608
      ;;
 
10609
    cygwin*)
 
10610
      # Convert to unix form, then to dos form, then back to unix form
 
10611
      # but this time dos style (no spaces!) so that the unix form looks
 
10612
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10613
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10614
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10615
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10616
      ;;
 
10617
    *)
 
10618
      sys_lib_search_path_spec="$LIB"
 
10619
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10620
        # It is most probably a Windows format PATH.
 
10621
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10622
      else
 
10623
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10624
      fi
 
10625
      # FIXME: find the short name or the path components, as spaces are
 
10626
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10627
      ;;
 
10628
    esac
 
10629
 
 
10630
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10631
    postinstall_cmds='base_file=`basename \${file}`~
 
10632
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10633
      dldir=$destdir/`dirname \$dlpath`~
 
10634
      test -d \$dldir || mkdir -p \$dldir~
 
10635
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10636
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10637
      dlpath=$dir/\$dldll~
 
10638
       $RM \$dlpath'
 
10639
    shlibpath_overrides_runpath=yes
 
10640
    dynamic_linker='Win32 link.exe'
9631
10641
    ;;
9632
10642
 
9633
10643
  *)
 
10644
    # Assume MSVC wrapper
9634
10645
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10646
    dynamic_linker='Win32 ld.exe'
9635
10647
    ;;
9636
10648
  esac
9637
 
  dynamic_linker='Win32 ld.exe'
9638
10649
  # FIXME: first we should search . and the directory the executable is in
9639
10650
  shlibpath_var=PATH
9640
10651
  ;;
9721
10732
  hardcode_into_libs=yes
9722
10733
  ;;
9723
10734
 
 
10735
haiku*)
 
10736
  version_type=linux
 
10737
  need_lib_prefix=no
 
10738
  need_version=no
 
10739
  dynamic_linker="$host_os runtime_loader"
 
10740
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10741
  soname_spec='${libname}${release}${shared_ext}$major'
 
10742
  shlibpath_var=LIBRARY_PATH
 
10743
  shlibpath_overrides_runpath=yes
 
10744
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10745
  hardcode_into_libs=yes
 
10746
  ;;
 
10747
 
9724
10748
hpux9* | hpux10* | hpux11*)
9725
10749
  # Give a soname corresponding to the major version so that dld.sl refuses to
9726
10750
  # link against other versions.
9763
10787
    soname_spec='${libname}${release}${shared_ext}$major'
9764
10788
    ;;
9765
10789
  esac
9766
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10790
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9767
10791
  postinstall_cmds='chmod 555 $lib'
 
10792
  # or fails outright, so override atomically:
 
10793
  install_override_mode=555
9768
10794
  ;;
9769
10795
 
9770
10796
interix[3-9]*)
9822
10848
  ;;
9823
10849
 
9824
10850
# This must be Linux ELF.
9825
 
linux* | k*bsd*-gnu)
 
10851
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9826
10852
  version_type=linux
9827
10853
  need_lib_prefix=no
9828
10854
  need_version=no
9831
10857
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9832
10858
  shlibpath_var=LD_LIBRARY_PATH
9833
10859
  shlibpath_overrides_runpath=no
 
10860
 
9834
10861
  # Some binutils ld are patched to set DT_RUNPATH
9835
 
  save_LDFLAGS=$LDFLAGS
9836
 
  save_libdir=$libdir
9837
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9838
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9839
 
  cat >conftest.$ac_ext <<_ACEOF
9840
 
/* confdefs.h.  */
9841
 
_ACEOF
9842
 
cat confdefs.h >>conftest.$ac_ext
9843
 
cat >>conftest.$ac_ext <<_ACEOF
 
10862
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10863
  $as_echo_n "(cached) " >&6
 
10864
else
 
10865
  lt_cv_shlibpath_overrides_runpath=no
 
10866
    save_LDFLAGS=$LDFLAGS
 
10867
    save_libdir=$libdir
 
10868
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10869
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10870
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844
10871
/* end confdefs.h.  */
9845
10872
 
9846
10873
int
9851
10878
  return 0;
9852
10879
}
9853
10880
_ACEOF
9854
 
rm -f conftest.$ac_objext conftest$ac_exeext
9855
 
if { (ac_try="$ac_link"
9856
 
case "(($ac_try" in
9857
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9858
 
  *) ac_try_echo=$ac_try;;
9859
 
esac
9860
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9861
 
$as_echo "$ac_try_echo") >&5
9862
 
  (eval "$ac_link") 2>conftest.er1
9863
 
  ac_status=$?
9864
 
  grep -v '^ *+' conftest.er1 >conftest.err
9865
 
  rm -f conftest.er1
9866
 
  cat conftest.err >&5
9867
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868
 
  (exit $ac_status); } && {
9869
 
         test -z "$ac_c_werror_flag" ||
9870
 
         test ! -s conftest.err
9871
 
       } && test -s conftest$ac_exeext && {
9872
 
         test "$cross_compiling" = yes ||
9873
 
         $as_test_x conftest$ac_exeext
9874
 
       }; then
9875
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9876
 
  shlibpath_overrides_runpath=yes
9877
 
fi
9878
 
 
9879
 
else
9880
 
  $as_echo "$as_me: failed program was:" >&5
9881
 
sed 's/^/| /' conftest.$ac_ext >&5
9882
 
 
9883
 
 
9884
 
fi
9885
 
 
9886
 
rm -rf conftest.dSYM
9887
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9888
 
      conftest$ac_exeext conftest.$ac_ext
9889
 
  LDFLAGS=$save_LDFLAGS
9890
 
  libdir=$save_libdir
 
10881
if ac_fn_c_try_link "$LINENO"; then :
 
10882
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10883
  lt_cv_shlibpath_overrides_runpath=yes
 
10884
fi
 
10885
fi
 
10886
rm -f core conftest.err conftest.$ac_objext \
 
10887
    conftest$ac_exeext conftest.$ac_ext
 
10888
    LDFLAGS=$save_LDFLAGS
 
10889
    libdir=$save_libdir
 
10890
 
 
10891
fi
 
10892
 
 
10893
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9891
10894
 
9892
10895
  # This implies no fast_install, which is unacceptable.
9893
10896
  # Some rework will be needed to allow for fast_install
9894
10897
  # before this can be enabled.
9895
10898
  hardcode_into_libs=yes
9896
10899
 
 
10900
  # Add ABI-specific directories to the system library path.
 
10901
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
10902
 
9897
10903
  # Append ld.so.conf contents to the search path
9898
10904
  if test -f /etc/ld.so.conf; then
9899
 
    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' ' '`
9900
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10905
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
10906
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10907
 
9901
10908
  fi
9902
10909
 
9903
10910
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10097
11104
  dynamic_linker=no
10098
11105
  ;;
10099
11106
esac
10100
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10101
11108
$as_echo "$dynamic_linker" >&6; }
10102
11109
test "$dynamic_linker" = no && can_build_shared=no
10103
11110
 
10199
11206
 
10200
11207
 
10201
11208
 
10202
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11209
 
 
11210
 
 
11211
 
 
11212
 
 
11213
 
 
11214
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10203
11215
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10204
11216
hardcode_action=
10205
11217
if test -n "$hardcode_libdir_flag_spec" ||
10224
11236
  # directories.
10225
11237
  hardcode_action=unsupported
10226
11238
fi
10227
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10228
11240
$as_echo "$hardcode_action" >&6; }
10229
11241
 
10230
11242
if test "$hardcode_action" = relink ||
10269
11281
 
10270
11282
  darwin*)
10271
11283
  # if libdl is installed we need to link against it
10272
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11284
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10273
11285
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10274
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11286
if ${ac_cv_lib_dl_dlopen+:} false; then :
10275
11287
  $as_echo_n "(cached) " >&6
10276
11288
else
10277
11289
  ac_check_lib_save_LIBS=$LIBS
10278
11290
LIBS="-ldl  $LIBS"
10279
 
cat >conftest.$ac_ext <<_ACEOF
10280
 
/* confdefs.h.  */
10281
 
_ACEOF
10282
 
cat confdefs.h >>conftest.$ac_ext
10283
 
cat >>conftest.$ac_ext <<_ACEOF
 
11291
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284
11292
/* end confdefs.h.  */
10285
11293
 
10286
11294
/* Override any GCC internal prototype to avoid an error.
10298
11306
  return 0;
10299
11307
}
10300
11308
_ACEOF
10301
 
rm -f conftest.$ac_objext conftest$ac_exeext
10302
 
if { (ac_try="$ac_link"
10303
 
case "(($ac_try" in
10304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10305
 
  *) ac_try_echo=$ac_try;;
10306
 
esac
10307
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10308
 
$as_echo "$ac_try_echo") >&5
10309
 
  (eval "$ac_link") 2>conftest.er1
10310
 
  ac_status=$?
10311
 
  grep -v '^ *+' conftest.er1 >conftest.err
10312
 
  rm -f conftest.er1
10313
 
  cat conftest.err >&5
10314
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315
 
  (exit $ac_status); } && {
10316
 
         test -z "$ac_c_werror_flag" ||
10317
 
         test ! -s conftest.err
10318
 
       } && test -s conftest$ac_exeext && {
10319
 
         test "$cross_compiling" = yes ||
10320
 
         $as_test_x conftest$ac_exeext
10321
 
       }; then
 
11309
if ac_fn_c_try_link "$LINENO"; then :
10322
11310
  ac_cv_lib_dl_dlopen=yes
10323
11311
else
10324
 
  $as_echo "$as_me: failed program was:" >&5
10325
 
sed 's/^/| /' conftest.$ac_ext >&5
10326
 
 
10327
 
        ac_cv_lib_dl_dlopen=no
 
11312
  ac_cv_lib_dl_dlopen=no
10328
11313
fi
10329
 
 
10330
 
rm -rf conftest.dSYM
10331
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10332
 
      conftest$ac_exeext conftest.$ac_ext
 
11314
rm -f core conftest.err conftest.$ac_objext \
 
11315
    conftest$ac_exeext conftest.$ac_ext
10333
11316
LIBS=$ac_check_lib_save_LIBS
10334
11317
fi
10335
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10336
11319
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10337
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11320
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10338
11321
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10339
11322
else
10340
11323
 
10347
11330
    ;;
10348
11331
 
10349
11332
  *)
10350
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10351
 
$as_echo_n "checking for shl_load... " >&6; }
10352
 
if test "${ac_cv_func_shl_load+set}" = set; then
10353
 
  $as_echo_n "(cached) " >&6
10354
 
else
10355
 
  cat >conftest.$ac_ext <<_ACEOF
10356
 
/* confdefs.h.  */
10357
 
_ACEOF
10358
 
cat confdefs.h >>conftest.$ac_ext
10359
 
cat >>conftest.$ac_ext <<_ACEOF
10360
 
/* end confdefs.h.  */
10361
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10362
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10363
 
#define shl_load innocuous_shl_load
10364
 
 
10365
 
/* System header to define __stub macros and hopefully few prototypes,
10366
 
    which can conflict with char shl_load (); below.
10367
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10368
 
    <limits.h> exists even on freestanding compilers.  */
10369
 
 
10370
 
#ifdef __STDC__
10371
 
# include <limits.h>
10372
 
#else
10373
 
# include <assert.h>
10374
 
#endif
10375
 
 
10376
 
#undef shl_load
10377
 
 
10378
 
/* Override any GCC internal prototype to avoid an error.
10379
 
   Use char because int might match the return type of a GCC
10380
 
   builtin and then its argument prototype would still apply.  */
10381
 
#ifdef __cplusplus
10382
 
extern "C"
10383
 
#endif
10384
 
char shl_load ();
10385
 
/* The GNU C library defines this for functions which it implements
10386
 
    to always fail with ENOSYS.  Some functions are actually named
10387
 
    something starting with __ and the normal name is an alias.  */
10388
 
#if defined __stub_shl_load || defined __stub___shl_load
10389
 
choke me
10390
 
#endif
10391
 
 
10392
 
int
10393
 
main ()
10394
 
{
10395
 
return shl_load ();
10396
 
  ;
10397
 
  return 0;
10398
 
}
10399
 
_ACEOF
10400
 
rm -f conftest.$ac_objext conftest$ac_exeext
10401
 
if { (ac_try="$ac_link"
10402
 
case "(($ac_try" in
10403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10404
 
  *) ac_try_echo=$ac_try;;
10405
 
esac
10406
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10407
 
$as_echo "$ac_try_echo") >&5
10408
 
  (eval "$ac_link") 2>conftest.er1
10409
 
  ac_status=$?
10410
 
  grep -v '^ *+' conftest.er1 >conftest.err
10411
 
  rm -f conftest.er1
10412
 
  cat conftest.err >&5
10413
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414
 
  (exit $ac_status); } && {
10415
 
         test -z "$ac_c_werror_flag" ||
10416
 
         test ! -s conftest.err
10417
 
       } && test -s conftest$ac_exeext && {
10418
 
         test "$cross_compiling" = yes ||
10419
 
         $as_test_x conftest$ac_exeext
10420
 
       }; then
10421
 
  ac_cv_func_shl_load=yes
10422
 
else
10423
 
  $as_echo "$as_me: failed program was:" >&5
10424
 
sed 's/^/| /' conftest.$ac_ext >&5
10425
 
 
10426
 
        ac_cv_func_shl_load=no
10427
 
fi
10428
 
 
10429
 
rm -rf conftest.dSYM
10430
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10431
 
      conftest$ac_exeext conftest.$ac_ext
10432
 
fi
10433
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10434
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10435
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11333
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11334
if test "x$ac_cv_func_shl_load" = xyes; then :
10436
11335
  lt_cv_dlopen="shl_load"
10437
11336
else
10438
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11337
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10439
11338
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10440
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11339
if ${ac_cv_lib_dld_shl_load+:} false; then :
10441
11340
  $as_echo_n "(cached) " >&6
10442
11341
else
10443
11342
  ac_check_lib_save_LIBS=$LIBS
10444
11343
LIBS="-ldld  $LIBS"
10445
 
cat >conftest.$ac_ext <<_ACEOF
10446
 
/* confdefs.h.  */
10447
 
_ACEOF
10448
 
cat confdefs.h >>conftest.$ac_ext
10449
 
cat >>conftest.$ac_ext <<_ACEOF
 
11344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450
11345
/* end confdefs.h.  */
10451
11346
 
10452
11347
/* Override any GCC internal prototype to avoid an error.
10464
11359
  return 0;
10465
11360
}
10466
11361
_ACEOF
10467
 
rm -f conftest.$ac_objext conftest$ac_exeext
10468
 
if { (ac_try="$ac_link"
10469
 
case "(($ac_try" in
10470
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10471
 
  *) ac_try_echo=$ac_try;;
10472
 
esac
10473
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10474
 
$as_echo "$ac_try_echo") >&5
10475
 
  (eval "$ac_link") 2>conftest.er1
10476
 
  ac_status=$?
10477
 
  grep -v '^ *+' conftest.er1 >conftest.err
10478
 
  rm -f conftest.er1
10479
 
  cat conftest.err >&5
10480
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481
 
  (exit $ac_status); } && {
10482
 
         test -z "$ac_c_werror_flag" ||
10483
 
         test ! -s conftest.err
10484
 
       } && test -s conftest$ac_exeext && {
10485
 
         test "$cross_compiling" = yes ||
10486
 
         $as_test_x conftest$ac_exeext
10487
 
       }; then
 
11362
if ac_fn_c_try_link "$LINENO"; then :
10488
11363
  ac_cv_lib_dld_shl_load=yes
10489
11364
else
10490
 
  $as_echo "$as_me: failed program was:" >&5
10491
 
sed 's/^/| /' conftest.$ac_ext >&5
10492
 
 
10493
 
        ac_cv_lib_dld_shl_load=no
 
11365
  ac_cv_lib_dld_shl_load=no
10494
11366
fi
10495
 
 
10496
 
rm -rf conftest.dSYM
10497
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10498
 
      conftest$ac_exeext conftest.$ac_ext
 
11367
rm -f core conftest.err conftest.$ac_objext \
 
11368
    conftest$ac_exeext conftest.$ac_ext
10499
11369
LIBS=$ac_check_lib_save_LIBS
10500
11370
fi
10501
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10502
11372
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10503
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11373
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10504
11374
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10505
11375
else
10506
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10507
 
$as_echo_n "checking for dlopen... " >&6; }
10508
 
if test "${ac_cv_func_dlopen+set}" = set; then
10509
 
  $as_echo_n "(cached) " >&6
10510
 
else
10511
 
  cat >conftest.$ac_ext <<_ACEOF
10512
 
/* confdefs.h.  */
10513
 
_ACEOF
10514
 
cat confdefs.h >>conftest.$ac_ext
10515
 
cat >>conftest.$ac_ext <<_ACEOF
10516
 
/* end confdefs.h.  */
10517
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10518
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10519
 
#define dlopen innocuous_dlopen
10520
 
 
10521
 
/* System header to define __stub macros and hopefully few prototypes,
10522
 
    which can conflict with char dlopen (); below.
10523
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10524
 
    <limits.h> exists even on freestanding compilers.  */
10525
 
 
10526
 
#ifdef __STDC__
10527
 
# include <limits.h>
10528
 
#else
10529
 
# include <assert.h>
10530
 
#endif
10531
 
 
10532
 
#undef dlopen
10533
 
 
10534
 
/* Override any GCC internal prototype to avoid an error.
10535
 
   Use char because int might match the return type of a GCC
10536
 
   builtin and then its argument prototype would still apply.  */
10537
 
#ifdef __cplusplus
10538
 
extern "C"
10539
 
#endif
10540
 
char dlopen ();
10541
 
/* The GNU C library defines this for functions which it implements
10542
 
    to always fail with ENOSYS.  Some functions are actually named
10543
 
    something starting with __ and the normal name is an alias.  */
10544
 
#if defined __stub_dlopen || defined __stub___dlopen
10545
 
choke me
10546
 
#endif
10547
 
 
10548
 
int
10549
 
main ()
10550
 
{
10551
 
return dlopen ();
10552
 
  ;
10553
 
  return 0;
10554
 
}
10555
 
_ACEOF
10556
 
rm -f conftest.$ac_objext conftest$ac_exeext
10557
 
if { (ac_try="$ac_link"
10558
 
case "(($ac_try" in
10559
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10560
 
  *) ac_try_echo=$ac_try;;
10561
 
esac
10562
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10563
 
$as_echo "$ac_try_echo") >&5
10564
 
  (eval "$ac_link") 2>conftest.er1
10565
 
  ac_status=$?
10566
 
  grep -v '^ *+' conftest.er1 >conftest.err
10567
 
  rm -f conftest.er1
10568
 
  cat conftest.err >&5
10569
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570
 
  (exit $ac_status); } && {
10571
 
         test -z "$ac_c_werror_flag" ||
10572
 
         test ! -s conftest.err
10573
 
       } && test -s conftest$ac_exeext && {
10574
 
         test "$cross_compiling" = yes ||
10575
 
         $as_test_x conftest$ac_exeext
10576
 
       }; then
10577
 
  ac_cv_func_dlopen=yes
10578
 
else
10579
 
  $as_echo "$as_me: failed program was:" >&5
10580
 
sed 's/^/| /' conftest.$ac_ext >&5
10581
 
 
10582
 
        ac_cv_func_dlopen=no
10583
 
fi
10584
 
 
10585
 
rm -rf conftest.dSYM
10586
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10587
 
      conftest$ac_exeext conftest.$ac_ext
10588
 
fi
10589
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10590
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10591
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11376
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11377
if test "x$ac_cv_func_dlopen" = xyes; then :
10592
11378
  lt_cv_dlopen="dlopen"
10593
11379
else
10594
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11380
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10595
11381
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10596
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11382
if ${ac_cv_lib_dl_dlopen+:} false; then :
10597
11383
  $as_echo_n "(cached) " >&6
10598
11384
else
10599
11385
  ac_check_lib_save_LIBS=$LIBS
10600
11386
LIBS="-ldl  $LIBS"
10601
 
cat >conftest.$ac_ext <<_ACEOF
10602
 
/* confdefs.h.  */
10603
 
_ACEOF
10604
 
cat confdefs.h >>conftest.$ac_ext
10605
 
cat >>conftest.$ac_ext <<_ACEOF
 
11387
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606
11388
/* end confdefs.h.  */
10607
11389
 
10608
11390
/* Override any GCC internal prototype to avoid an error.
10620
11402
  return 0;
10621
11403
}
10622
11404
_ACEOF
10623
 
rm -f conftest.$ac_objext conftest$ac_exeext
10624
 
if { (ac_try="$ac_link"
10625
 
case "(($ac_try" in
10626
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10627
 
  *) ac_try_echo=$ac_try;;
10628
 
esac
10629
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10630
 
$as_echo "$ac_try_echo") >&5
10631
 
  (eval "$ac_link") 2>conftest.er1
10632
 
  ac_status=$?
10633
 
  grep -v '^ *+' conftest.er1 >conftest.err
10634
 
  rm -f conftest.er1
10635
 
  cat conftest.err >&5
10636
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637
 
  (exit $ac_status); } && {
10638
 
         test -z "$ac_c_werror_flag" ||
10639
 
         test ! -s conftest.err
10640
 
       } && test -s conftest$ac_exeext && {
10641
 
         test "$cross_compiling" = yes ||
10642
 
         $as_test_x conftest$ac_exeext
10643
 
       }; then
 
11405
if ac_fn_c_try_link "$LINENO"; then :
10644
11406
  ac_cv_lib_dl_dlopen=yes
10645
11407
else
10646
 
  $as_echo "$as_me: failed program was:" >&5
10647
 
sed 's/^/| /' conftest.$ac_ext >&5
10648
 
 
10649
 
        ac_cv_lib_dl_dlopen=no
 
11408
  ac_cv_lib_dl_dlopen=no
10650
11409
fi
10651
 
 
10652
 
rm -rf conftest.dSYM
10653
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10654
 
      conftest$ac_exeext conftest.$ac_ext
 
11410
rm -f core conftest.err conftest.$ac_objext \
 
11411
    conftest$ac_exeext conftest.$ac_ext
10655
11412
LIBS=$ac_check_lib_save_LIBS
10656
11413
fi
10657
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10658
11415
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10659
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11416
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10660
11417
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10661
11418
else
10662
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11419
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10663
11420
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10664
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11421
if ${ac_cv_lib_svld_dlopen+:} false; then :
10665
11422
  $as_echo_n "(cached) " >&6
10666
11423
else
10667
11424
  ac_check_lib_save_LIBS=$LIBS
10668
11425
LIBS="-lsvld  $LIBS"
10669
 
cat >conftest.$ac_ext <<_ACEOF
10670
 
/* confdefs.h.  */
10671
 
_ACEOF
10672
 
cat confdefs.h >>conftest.$ac_ext
10673
 
cat >>conftest.$ac_ext <<_ACEOF
 
11426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674
11427
/* end confdefs.h.  */
10675
11428
 
10676
11429
/* Override any GCC internal prototype to avoid an error.
10688
11441
  return 0;
10689
11442
}
10690
11443
_ACEOF
10691
 
rm -f conftest.$ac_objext conftest$ac_exeext
10692
 
if { (ac_try="$ac_link"
10693
 
case "(($ac_try" in
10694
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10695
 
  *) ac_try_echo=$ac_try;;
10696
 
esac
10697
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10698
 
$as_echo "$ac_try_echo") >&5
10699
 
  (eval "$ac_link") 2>conftest.er1
10700
 
  ac_status=$?
10701
 
  grep -v '^ *+' conftest.er1 >conftest.err
10702
 
  rm -f conftest.er1
10703
 
  cat conftest.err >&5
10704
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705
 
  (exit $ac_status); } && {
10706
 
         test -z "$ac_c_werror_flag" ||
10707
 
         test ! -s conftest.err
10708
 
       } && test -s conftest$ac_exeext && {
10709
 
         test "$cross_compiling" = yes ||
10710
 
         $as_test_x conftest$ac_exeext
10711
 
       }; then
 
11444
if ac_fn_c_try_link "$LINENO"; then :
10712
11445
  ac_cv_lib_svld_dlopen=yes
10713
11446
else
10714
 
  $as_echo "$as_me: failed program was:" >&5
10715
 
sed 's/^/| /' conftest.$ac_ext >&5
10716
 
 
10717
 
        ac_cv_lib_svld_dlopen=no
 
11447
  ac_cv_lib_svld_dlopen=no
10718
11448
fi
10719
 
 
10720
 
rm -rf conftest.dSYM
10721
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10722
 
      conftest$ac_exeext conftest.$ac_ext
 
11449
rm -f core conftest.err conftest.$ac_objext \
 
11450
    conftest$ac_exeext conftest.$ac_ext
10723
11451
LIBS=$ac_check_lib_save_LIBS
10724
11452
fi
10725
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10726
11454
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10727
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11455
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10728
11456
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10729
11457
else
10730
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11458
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10731
11459
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10732
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11460
if ${ac_cv_lib_dld_dld_link+:} false; then :
10733
11461
  $as_echo_n "(cached) " >&6
10734
11462
else
10735
11463
  ac_check_lib_save_LIBS=$LIBS
10736
11464
LIBS="-ldld  $LIBS"
10737
 
cat >conftest.$ac_ext <<_ACEOF
10738
 
/* confdefs.h.  */
10739
 
_ACEOF
10740
 
cat confdefs.h >>conftest.$ac_ext
10741
 
cat >>conftest.$ac_ext <<_ACEOF
 
11465
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742
11466
/* end confdefs.h.  */
10743
11467
 
10744
11468
/* Override any GCC internal prototype to avoid an error.
10756
11480
  return 0;
10757
11481
}
10758
11482
_ACEOF
10759
 
rm -f conftest.$ac_objext conftest$ac_exeext
10760
 
if { (ac_try="$ac_link"
10761
 
case "(($ac_try" in
10762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10763
 
  *) ac_try_echo=$ac_try;;
10764
 
esac
10765
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10766
 
$as_echo "$ac_try_echo") >&5
10767
 
  (eval "$ac_link") 2>conftest.er1
10768
 
  ac_status=$?
10769
 
  grep -v '^ *+' conftest.er1 >conftest.err
10770
 
  rm -f conftest.er1
10771
 
  cat conftest.err >&5
10772
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773
 
  (exit $ac_status); } && {
10774
 
         test -z "$ac_c_werror_flag" ||
10775
 
         test ! -s conftest.err
10776
 
       } && test -s conftest$ac_exeext && {
10777
 
         test "$cross_compiling" = yes ||
10778
 
         $as_test_x conftest$ac_exeext
10779
 
       }; then
 
11483
if ac_fn_c_try_link "$LINENO"; then :
10780
11484
  ac_cv_lib_dld_dld_link=yes
10781
11485
else
10782
 
  $as_echo "$as_me: failed program was:" >&5
10783
 
sed 's/^/| /' conftest.$ac_ext >&5
10784
 
 
10785
 
        ac_cv_lib_dld_dld_link=no
 
11486
  ac_cv_lib_dld_dld_link=no
10786
11487
fi
10787
 
 
10788
 
rm -rf conftest.dSYM
10789
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10790
 
      conftest$ac_exeext conftest.$ac_ext
 
11488
rm -f core conftest.err conftest.$ac_objext \
 
11489
    conftest$ac_exeext conftest.$ac_ext
10791
11490
LIBS=$ac_check_lib_save_LIBS
10792
11491
fi
10793
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10794
11493
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10795
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11494
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10796
11495
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10797
11496
fi
10798
11497
 
10831
11530
    save_LIBS="$LIBS"
10832
11531
    LIBS="$lt_cv_dlopen_libs $LIBS"
10833
11532
 
10834
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11533
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10835
11534
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10836
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11535
if ${lt_cv_dlopen_self+:} false; then :
10837
11536
  $as_echo_n "(cached) " >&6
10838
11537
else
10839
11538
          if test "$cross_compiling" = yes; then :
10842
11541
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10843
11542
  lt_status=$lt_dlunknown
10844
11543
  cat > conftest.$ac_ext <<_LT_EOF
10845
 
#line 10845 "configure"
 
11544
#line $LINENO "configure"
10846
11545
#include "confdefs.h"
10847
11546
 
10848
11547
#if HAVE_DLFCN_H
10883
11582
#  endif
10884
11583
#endif
10885
11584
 
10886
 
void fnord() { int i=42;}
 
11585
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11586
   correspondingly for the symbols needed.  */
 
11587
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11588
int fnord () __attribute__((visibility("default")));
 
11589
#endif
 
11590
 
 
11591
int fnord () { return 42; }
10887
11592
int main ()
10888
11593
{
10889
11594
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10892
11597
  if (self)
10893
11598
    {
10894
11599
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10895
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11600
      else
 
11601
        {
 
11602
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11603
          else puts (dlerror ());
 
11604
        }
10896
11605
      /* dlclose (self); */
10897
11606
    }
10898
11607
  else
10901
11610
  return status;
10902
11611
}
10903
11612
_LT_EOF
10904
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11613
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10905
11614
  (eval $ac_link) 2>&5
10906
11615
  ac_status=$?
10907
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11616
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11617
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10909
11618
    (./conftest; exit; ) >&5 2>/dev/null
10910
11619
    lt_status=$?
10911
11620
    case x$lt_status in
10922
11631
 
10923
11632
 
10924
11633
fi
10925
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10926
11635
$as_echo "$lt_cv_dlopen_self" >&6; }
10927
11636
 
10928
11637
    if test "x$lt_cv_dlopen_self" = xyes; then
10929
11638
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10930
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11639
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10931
11640
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10932
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11641
if ${lt_cv_dlopen_self_static+:} false; then :
10933
11642
  $as_echo_n "(cached) " >&6
10934
11643
else
10935
11644
          if test "$cross_compiling" = yes; then :
10938
11647
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10939
11648
  lt_status=$lt_dlunknown
10940
11649
  cat > conftest.$ac_ext <<_LT_EOF
10941
 
#line 10941 "configure"
 
11650
#line $LINENO "configure"
10942
11651
#include "confdefs.h"
10943
11652
 
10944
11653
#if HAVE_DLFCN_H
10979
11688
#  endif
10980
11689
#endif
10981
11690
 
10982
 
void fnord() { int i=42;}
 
11691
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11692
   correspondingly for the symbols needed.  */
 
11693
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11694
int fnord () __attribute__((visibility("default")));
 
11695
#endif
 
11696
 
 
11697
int fnord () { return 42; }
10983
11698
int main ()
10984
11699
{
10985
11700
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10988
11703
  if (self)
10989
11704
    {
10990
11705
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10991
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11706
      else
 
11707
        {
 
11708
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11709
          else puts (dlerror ());
 
11710
        }
10992
11711
      /* dlclose (self); */
10993
11712
    }
10994
11713
  else
10997
11716
  return status;
10998
11717
}
10999
11718
_LT_EOF
11000
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11719
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11001
11720
  (eval $ac_link) 2>&5
11002
11721
  ac_status=$?
11003
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11722
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11723
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11005
11724
    (./conftest; exit; ) >&5 2>/dev/null
11006
11725
    lt_status=$?
11007
11726
    case x$lt_status in
11018
11737
 
11019
11738
 
11020
11739
fi
11021
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11022
11741
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11023
11742
    fi
11024
11743
 
11057
11776
 
11058
11777
striplib=
11059
11778
old_striplib=
11060
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11061
11780
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11062
11781
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11063
11782
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11064
11783
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11065
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11066
11785
$as_echo "yes" >&6; }
11067
11786
else
11068
11787
# FIXME - insert some real tests, host_os isn't really good enough
11071
11790
    if test -n "$STRIP" ; then
11072
11791
      striplib="$STRIP -x"
11073
11792
      old_striplib="$STRIP -S"
11074
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11793
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11075
11794
$as_echo "yes" >&6; }
11076
11795
    else
11077
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11796
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11078
11797
$as_echo "no" >&6; }
11079
11798
    fi
11080
11799
    ;;
11081
11800
  *)
11082
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11801
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11083
11802
$as_echo "no" >&6; }
11084
11803
    ;;
11085
11804
  esac
11097
11816
 
11098
11817
 
11099
11818
  # Report which library types will actually be built
11100
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11819
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11101
11820
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11102
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11821
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11103
11822
$as_echo "$can_build_shared" >&6; }
11104
11823
 
11105
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11824
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11106
11825
$as_echo_n "checking whether to build shared libraries... " >&6; }
11107
11826
  test "$can_build_shared" = "no" && enable_shared=no
11108
11827
 
11123
11842
    fi
11124
11843
    ;;
11125
11844
  esac
11126
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11127
11846
$as_echo "$enable_shared" >&6; }
11128
11847
 
11129
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11130
11849
$as_echo_n "checking whether to build static libraries... " >&6; }
11131
11850
  # Make sure either enable_shared or enable_static is yes.
11132
11851
  test "$enable_shared" = yes || enable_static=yes
11133
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11134
11853
$as_echo "$enable_static" >&6; }
11135
11854
 
11136
11855
 
11137
11856
 
11138
11857
 
11139
11858
fi
11140
 
ac_ext=c
11141
 
ac_cpp='$CPP $CPPFLAGS'
11142
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11859
ac_ext=cpp
 
11860
ac_cpp='$CXXCPP $CPPFLAGS'
 
11861
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11862
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11863
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11145
11864
 
11146
11865
CC="$lt_save_CC"
11147
11866
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
11157
 
 
11158
 
 
11159
 
 
11160
 
        ac_config_commands="$ac_config_commands libtool"
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
# Only expand once:
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11171
 
$as_echo_n "checking whether NLS is requested... " >&6; }
11172
 
    # Check whether --enable-nls was given.
11173
 
if test "${enable_nls+set}" = set; then
11174
 
  enableval=$enable_nls; USE_NLS=$enableval
11175
 
else
11176
 
  USE_NLS=yes
11177
 
fi
11178
 
 
11179
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
11180
 
$as_echo "$USE_NLS" >&6; }
11181
 
 
11182
 
 
11183
 
 
11184
 
 
11185
 
case "$am__api_version" in
11186
 
    1.01234)
11187
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
11188
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
11189
 
   { (exit 1); exit 1; }; }
11190
 
    ;;
11191
 
    *)
11192
 
    ;;
11193
 
esac
11194
 
 
11195
 
if test -n "0.35.0"; then
11196
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
11197
 
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
11198
 
 
11199
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11200
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11201
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11202
 
 
11203
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
11204
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11205
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11206
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
11207
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
11208
 
   { (exit 1); exit 1; }; }
11209
 
fi
11210
 
 
11211
 
# Extract the first word of "intltool-update", so it can be a program name with args.
11212
 
set dummy intltool-update; ac_word=$2
11213
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11214
 
$as_echo_n "checking for $ac_word... " >&6; }
11215
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
11216
 
  $as_echo_n "(cached) " >&6
11217
 
else
11218
 
  case $INTLTOOL_UPDATE in
11219
 
  [\\/]* | ?:[\\/]*)
11220
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
11221
 
  ;;
11222
 
  *)
11223
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11224
 
for as_dir in $PATH
11225
 
do
11226
 
  IFS=$as_save_IFS
11227
 
  test -z "$as_dir" && as_dir=.
11228
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11229
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11230
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11231
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11232
 
    break 2
11233
 
  fi
11234
 
done
11235
 
done
11236
 
IFS=$as_save_IFS
11237
 
 
11238
 
  ;;
11239
 
esac
11240
 
fi
11241
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11242
 
if test -n "$INTLTOOL_UPDATE"; then
11243
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
11244
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
11245
 
else
11246
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11247
 
$as_echo "no" >&6; }
11248
 
fi
11249
 
 
11250
 
 
11251
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
11252
 
set dummy intltool-merge; ac_word=$2
11253
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11254
 
$as_echo_n "checking for $ac_word... " >&6; }
11255
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
11256
 
  $as_echo_n "(cached) " >&6
11257
 
else
11258
 
  case $INTLTOOL_MERGE in
11259
 
  [\\/]* | ?:[\\/]*)
11260
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
11261
 
  ;;
11262
 
  *)
11263
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11264
 
for as_dir in $PATH
11265
 
do
11266
 
  IFS=$as_save_IFS
11267
 
  test -z "$as_dir" && as_dir=.
11268
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11269
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11270
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11271
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11272
 
    break 2
11273
 
  fi
11274
 
done
11275
 
done
11276
 
IFS=$as_save_IFS
11277
 
 
11278
 
  ;;
11279
 
esac
11280
 
fi
11281
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11282
 
if test -n "$INTLTOOL_MERGE"; then
11283
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
11284
 
$as_echo "$INTLTOOL_MERGE" >&6; }
11285
 
else
11286
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11287
 
$as_echo "no" >&6; }
11288
 
fi
11289
 
 
11290
 
 
11291
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
11292
 
set dummy intltool-extract; ac_word=$2
11293
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11294
 
$as_echo_n "checking for $ac_word... " >&6; }
11295
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
11296
 
  $as_echo_n "(cached) " >&6
11297
 
else
11298
 
  case $INTLTOOL_EXTRACT in
11299
 
  [\\/]* | ?:[\\/]*)
11300
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
11301
 
  ;;
11302
 
  *)
11303
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11304
 
for as_dir in $PATH
11305
 
do
11306
 
  IFS=$as_save_IFS
11307
 
  test -z "$as_dir" && as_dir=.
11308
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11309
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11310
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11311
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11312
 
    break 2
11313
 
  fi
11314
 
done
11315
 
done
11316
 
IFS=$as_save_IFS
11317
 
 
11318
 
  ;;
11319
 
esac
11320
 
fi
11321
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11322
 
if test -n "$INTLTOOL_EXTRACT"; then
11323
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
11324
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
11325
 
else
11326
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11327
 
$as_echo "no" >&6; }
11328
 
fi
11329
 
 
11330
 
 
11331
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11332
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
11333
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
11334
 
   { (exit 1); exit 1; }; }
11335
 
fi
11336
 
 
11337
 
  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 $< $@'
11338
 
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 $< $@'
11339
 
     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 $< $@'
11340
 
     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 $< $@'
11341
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
11342
 
     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 $< $@'
11343
 
   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 $< $@'
11344
 
    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 $< $@'
11345
 
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 $< $@'
11346
 
       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 $< $@'
11347
 
      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 $< $@'
11348
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
11349
 
      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 $< $@'
11350
 
      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 $< $@'
11351
 
    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 $< $@'
11352
 
  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 $< $@'
11353
 
    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 $< $@'
11354
 
    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 $< $@'
11355
 
   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 $< $@'
11356
 
 
11357
 
 
11358
 
 
11359
 
 
11360
 
 
11361
 
 
11362
 
 
11363
 
 
11364
 
 
11365
 
 
11366
 
 
11367
 
 
11368
 
 
11369
 
 
11370
 
 
11371
 
 
11372
 
 
11373
 
 
11374
 
 
11375
 
 
11376
 
 
11377
 
 
11378
 
 
11379
 
 
11380
 
 
11381
 
 
11382
 
 
11383
 
 
11384
 
 
11385
 
 
11386
 
 
11387
 
 
11388
 
 
11389
 
 
11390
 
 
11391
 
 
11392
 
 
11393
 
 
11394
 
 
11395
 
 
11396
 
 
11397
 
 
11398
 
 
11399
 
 
11400
 
 
11401
 
 
11402
 
 
11403
 
 
11404
 
 
11405
 
 
11406
 
 
11407
 
 
11408
 
 
11409
 
 
11410
 
 
11411
 
 
11412
 
 
11413
 
 
11414
 
 
11415
 
 
11416
 
 
11417
 
 
11418
 
 
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
 
 
11429
 
 
11430
 
 
11431
 
 
11432
 
 
11433
 
 
11434
 
 
11435
 
 
11436
 
 
11437
 
 
11438
 
 
11439
 
 
11440
 
 
11441
 
 
11442
 
 
11443
 
 
11444
 
 
11445
 
 
11446
 
 
11447
 
 
11448
 
 
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
# Check the gettext tools to make sure they are GNU
11454
 
# Extract the first word of "xgettext", so it can be a program name with args.
11455
 
set dummy xgettext; ac_word=$2
11456
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11457
 
$as_echo_n "checking for $ac_word... " >&6; }
11458
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
11459
 
  $as_echo_n "(cached) " >&6
11460
 
else
11461
 
  case $XGETTEXT in
11462
 
  [\\/]* | ?:[\\/]*)
11463
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11464
 
  ;;
11465
 
  *)
11466
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11467
 
for as_dir in $PATH
11468
 
do
11469
 
  IFS=$as_save_IFS
11470
 
  test -z "$as_dir" && as_dir=.
11471
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11472
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11473
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11474
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11475
 
    break 2
11476
 
  fi
11477
 
done
11478
 
done
11479
 
IFS=$as_save_IFS
11480
 
 
11481
 
  ;;
11482
 
esac
11483
 
fi
11484
 
XGETTEXT=$ac_cv_path_XGETTEXT
11485
 
if test -n "$XGETTEXT"; then
11486
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11487
 
$as_echo "$XGETTEXT" >&6; }
11488
 
else
11489
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11490
 
$as_echo "no" >&6; }
11491
 
fi
11492
 
 
11493
 
 
11494
 
# Extract the first word of "msgmerge", so it can be a program name with args.
11495
 
set dummy msgmerge; ac_word=$2
11496
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11497
 
$as_echo_n "checking for $ac_word... " >&6; }
11498
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
11499
 
  $as_echo_n "(cached) " >&6
11500
 
else
11501
 
  case $MSGMERGE in
11502
 
  [\\/]* | ?:[\\/]*)
11503
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11504
 
  ;;
11505
 
  *)
11506
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11507
 
for as_dir in $PATH
11508
 
do
11509
 
  IFS=$as_save_IFS
11510
 
  test -z "$as_dir" && as_dir=.
11511
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11512
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11513
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11514
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11515
 
    break 2
11516
 
  fi
11517
 
done
11518
 
done
11519
 
IFS=$as_save_IFS
11520
 
 
11521
 
  ;;
11522
 
esac
11523
 
fi
11524
 
MSGMERGE=$ac_cv_path_MSGMERGE
11525
 
if test -n "$MSGMERGE"; then
11526
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11527
 
$as_echo "$MSGMERGE" >&6; }
11528
 
else
11529
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11530
 
$as_echo "no" >&6; }
11531
 
fi
11532
 
 
11533
 
 
11534
 
# Extract the first word of "msgfmt", so it can be a program name with args.
11535
 
set dummy msgfmt; ac_word=$2
11536
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11537
 
$as_echo_n "checking for $ac_word... " >&6; }
11538
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
11539
 
  $as_echo_n "(cached) " >&6
11540
 
else
11541
 
  case $MSGFMT in
11542
 
  [\\/]* | ?:[\\/]*)
11543
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11544
 
  ;;
11545
 
  *)
11546
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11547
 
for as_dir in $PATH
11548
 
do
11549
 
  IFS=$as_save_IFS
11550
 
  test -z "$as_dir" && as_dir=.
11551
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11552
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11553
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
11554
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11555
 
    break 2
11556
 
  fi
11557
 
done
11558
 
done
11559
 
IFS=$as_save_IFS
11560
 
 
11561
 
  ;;
11562
 
esac
11563
 
fi
11564
 
MSGFMT=$ac_cv_path_MSGFMT
11565
 
if test -n "$MSGFMT"; then
11566
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
11567
 
$as_echo "$MSGFMT" >&6; }
11568
 
else
11569
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11570
 
$as_echo "no" >&6; }
11571
 
fi
11572
 
 
11573
 
 
11574
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
11575
 
set dummy gmsgfmt; ac_word=$2
11576
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11577
 
$as_echo_n "checking for $ac_word... " >&6; }
11578
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
11579
 
  $as_echo_n "(cached) " >&6
11580
 
else
11581
 
  case $GMSGFMT in
11582
 
  [\\/]* | ?:[\\/]*)
11583
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11584
 
  ;;
11585
 
  *)
11586
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11587
 
for as_dir in $PATH
11588
 
do
11589
 
  IFS=$as_save_IFS
11590
 
  test -z "$as_dir" && as_dir=.
11591
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11592
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11593
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11594
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11595
 
    break 2
11596
 
  fi
11597
 
done
11598
 
done
11599
 
IFS=$as_save_IFS
11600
 
 
11601
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11602
 
  ;;
11603
 
esac
11604
 
fi
11605
 
GMSGFMT=$ac_cv_path_GMSGFMT
11606
 
if test -n "$GMSGFMT"; then
11607
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11608
 
$as_echo "$GMSGFMT" >&6; }
11609
 
else
11610
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11611
 
$as_echo "no" >&6; }
11612
 
fi
11613
 
 
11614
 
 
11615
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
11616
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
11617
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
11618
 
   { (exit 1); exit 1; }; }
11619
 
fi
11620
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
11621
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
11622
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
11623
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
11624
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
11625
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
11626
 
   { (exit 1); exit 1; }; }
11627
 
fi
11628
 
 
11629
 
# Extract the first word of "perl", so it can be a program name with args.
11630
 
set dummy perl; ac_word=$2
11631
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11632
 
$as_echo_n "checking for $ac_word... " >&6; }
11633
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
11634
 
  $as_echo_n "(cached) " >&6
11635
 
else
11636
 
  case $INTLTOOL_PERL in
11637
 
  [\\/]* | ?:[\\/]*)
11638
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
11639
 
  ;;
11640
 
  *)
11641
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11642
 
for as_dir in $PATH
11643
 
do
11644
 
  IFS=$as_save_IFS
11645
 
  test -z "$as_dir" && as_dir=.
11646
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11647
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11648
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
11649
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11650
 
    break 2
11651
 
  fi
11652
 
done
11653
 
done
11654
 
IFS=$as_save_IFS
11655
 
 
11656
 
  ;;
11657
 
esac
11658
 
fi
11659
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
11660
 
if test -n "$INTLTOOL_PERL"; then
11661
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
11662
 
$as_echo "$INTLTOOL_PERL" >&6; }
11663
 
else
11664
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11665
 
$as_echo "no" >&6; }
11666
 
fi
11667
 
 
11668
 
 
11669
 
if test -z "$INTLTOOL_PERL"; then
11670
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
11671
 
$as_echo "$as_me: error: perl not found" >&2;}
11672
 
   { (exit 1); exit 1; }; }
11673
 
fi
11674
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
11675
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
11676
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
11677
 
if test $? -ne 0; then
11678
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
11679
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
11680
 
   { (exit 1); exit 1; }; }
11681
 
else
11682
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
11683
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
11684
 
$as_echo "$IT_PERL_VERSION" >&6; }
11685
 
fi
11686
 
if test "x" != "xno-xml"; then
11687
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
11688
 
$as_echo_n "checking for XML::Parser... " >&6; }
11689
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
11690
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
11691
 
$as_echo "ok" >&6; }
11692
 
   else
11693
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
11694
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
11695
 
   { (exit 1); exit 1; }; }
11696
 
   fi
11697
 
fi
11698
 
 
11699
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
11700
 
 
11701
 
 
11702
 
# Set DATADIRNAME correctly if it is not set yet
11703
 
# (copied from glib-gettext.m4)
11704
 
if test -z "$DATADIRNAME"; then
11705
 
  cat >conftest.$ac_ext <<_ACEOF
11706
 
/* confdefs.h.  */
11707
 
_ACEOF
11708
 
cat confdefs.h >>conftest.$ac_ext
11709
 
cat >>conftest.$ac_ext <<_ACEOF
11710
 
/* end confdefs.h.  */
11711
 
 
11712
 
int
11713
 
main ()
11714
 
{
11715
 
extern int _nl_msg_cat_cntr;
11716
 
                       return _nl_msg_cat_cntr
11717
 
  ;
11718
 
  return 0;
11719
 
}
11720
 
_ACEOF
11721
 
rm -f conftest.$ac_objext conftest$ac_exeext
11722
 
if { (ac_try="$ac_link"
11723
 
case "(($ac_try" in
11724
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11725
 
  *) ac_try_echo=$ac_try;;
11726
 
esac
11727
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11728
 
$as_echo "$ac_try_echo") >&5
11729
 
  (eval "$ac_link") 2>conftest.er1
11730
 
  ac_status=$?
11731
 
  grep -v '^ *+' conftest.er1 >conftest.err
11732
 
  rm -f conftest.er1
11733
 
  cat conftest.err >&5
11734
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735
 
  (exit $ac_status); } && {
11736
 
         test -z "$ac_c_werror_flag" ||
11737
 
         test ! -s conftest.err
11738
 
       } && test -s conftest$ac_exeext && {
11739
 
         test "$cross_compiling" = yes ||
11740
 
         $as_test_x conftest$ac_exeext
11741
 
       }; then
11742
 
  DATADIRNAME=share
11743
 
else
11744
 
  $as_echo "$as_me: failed program was:" >&5
11745
 
sed 's/^/| /' conftest.$ac_ext >&5
11746
 
 
11747
 
        case $host in
11748
 
    *-*-solaris*)
11749
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
11750
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
11751
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
11752
 
  $as_echo_n "(cached) " >&6
11753
 
else
11754
 
  cat >conftest.$ac_ext <<_ACEOF
11755
 
/* confdefs.h.  */
11756
 
_ACEOF
11757
 
cat confdefs.h >>conftest.$ac_ext
11758
 
cat >>conftest.$ac_ext <<_ACEOF
11759
 
/* end confdefs.h.  */
11760
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
11761
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11762
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
11763
 
 
11764
 
/* System header to define __stub macros and hopefully few prototypes,
11765
 
    which can conflict with char bind_textdomain_codeset (); below.
11766
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11767
 
    <limits.h> exists even on freestanding compilers.  */
11768
 
 
11769
 
#ifdef __STDC__
11770
 
# include <limits.h>
11771
 
#else
11772
 
# include <assert.h>
11773
 
#endif
11774
 
 
11775
 
#undef bind_textdomain_codeset
11776
 
 
11777
 
/* Override any GCC internal prototype to avoid an error.
11778
 
   Use char because int might match the return type of a GCC
11779
 
   builtin and then its argument prototype would still apply.  */
11780
 
#ifdef __cplusplus
11781
 
extern "C"
11782
 
#endif
11783
 
char bind_textdomain_codeset ();
11784
 
/* The GNU C library defines this for functions which it implements
11785
 
    to always fail with ENOSYS.  Some functions are actually named
11786
 
    something starting with __ and the normal name is an alias.  */
11787
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
11788
 
choke me
11789
 
#endif
11790
 
 
11791
 
int
11792
 
main ()
11793
 
{
11794
 
return bind_textdomain_codeset ();
11795
 
  ;
11796
 
  return 0;
11797
 
}
11798
 
_ACEOF
11799
 
rm -f conftest.$ac_objext conftest$ac_exeext
11800
 
if { (ac_try="$ac_link"
11801
 
case "(($ac_try" in
11802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11803
 
  *) ac_try_echo=$ac_try;;
11804
 
esac
11805
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11806
 
$as_echo "$ac_try_echo") >&5
11807
 
  (eval "$ac_link") 2>conftest.er1
11808
 
  ac_status=$?
11809
 
  grep -v '^ *+' conftest.er1 >conftest.err
11810
 
  rm -f conftest.er1
11811
 
  cat conftest.err >&5
11812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813
 
  (exit $ac_status); } && {
11814
 
         test -z "$ac_c_werror_flag" ||
11815
 
         test ! -s conftest.err
11816
 
       } && test -s conftest$ac_exeext && {
11817
 
         test "$cross_compiling" = yes ||
11818
 
         $as_test_x conftest$ac_exeext
11819
 
       }; then
11820
 
  ac_cv_func_bind_textdomain_codeset=yes
11821
 
else
11822
 
  $as_echo "$as_me: failed program was:" >&5
11823
 
sed 's/^/| /' conftest.$ac_ext >&5
11824
 
 
11825
 
        ac_cv_func_bind_textdomain_codeset=no
11826
 
fi
11827
 
 
11828
 
rm -rf conftest.dSYM
11829
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11830
 
      conftest$ac_exeext conftest.$ac_ext
11831
 
fi
11832
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
11833
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
11834
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
11835
 
  DATADIRNAME=share
11836
 
else
11837
 
  DATADIRNAME=lib
11838
 
fi
11839
 
 
11840
 
    ;;
11841
 
    *)
11842
 
    DATADIRNAME=lib
11843
 
    ;;
11844
 
    esac
11845
 
fi
11846
 
 
11847
 
rm -rf conftest.dSYM
11848
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11849
 
      conftest$ac_exeext conftest.$ac_ext
11850
 
fi
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11859
 
        if test -n "$ac_tool_prefix"; then
11860
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11861
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11862
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11863
 
$as_echo_n "checking for $ac_word... " >&6; }
11864
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11865
 
  $as_echo_n "(cached) " >&6
11866
 
else
11867
 
  case $PKG_CONFIG in
11868
 
  [\\/]* | ?:[\\/]*)
11869
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11870
 
  ;;
11871
 
  *)
11872
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11873
 
for as_dir in $PATH
11874
 
do
11875
 
  IFS=$as_save_IFS
11876
 
  test -z "$as_dir" && as_dir=.
11877
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11878
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11879
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11880
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11881
 
    break 2
11882
 
  fi
11883
 
done
11884
 
done
11885
 
IFS=$as_save_IFS
11886
 
 
11887
 
  ;;
11888
 
esac
11889
 
fi
11890
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11891
 
if test -n "$PKG_CONFIG"; then
11892
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11893
 
$as_echo "$PKG_CONFIG" >&6; }
11894
 
else
11895
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11896
 
$as_echo "no" >&6; }
11897
 
fi
11898
 
 
11899
 
 
11900
 
fi
11901
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
11902
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
11903
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
11904
 
set dummy pkg-config; ac_word=$2
11905
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11906
 
$as_echo_n "checking for $ac_word... " >&6; }
11907
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11908
 
  $as_echo_n "(cached) " >&6
11909
 
else
11910
 
  case $ac_pt_PKG_CONFIG in
11911
 
  [\\/]* | ?:[\\/]*)
11912
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11913
 
  ;;
11914
 
  *)
11915
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11916
 
for as_dir in $PATH
11917
 
do
11918
 
  IFS=$as_save_IFS
11919
 
  test -z "$as_dir" && as_dir=.
11920
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11921
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11922
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11923
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11924
 
    break 2
11925
 
  fi
11926
 
done
11927
 
done
11928
 
IFS=$as_save_IFS
11929
 
 
11930
 
  ;;
11931
 
esac
11932
 
fi
11933
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11934
 
if test -n "$ac_pt_PKG_CONFIG"; then
11935
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11936
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11937
 
else
11938
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11939
 
$as_echo "no" >&6; }
11940
 
fi
11941
 
 
11942
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
11943
 
    PKG_CONFIG=""
11944
 
  else
11945
 
    case $cross_compiling:$ac_tool_warned in
11946
 
yes:)
11947
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11948
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11949
 
ac_tool_warned=yes ;;
11950
 
esac
11951
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
11952
 
  fi
11953
 
else
11954
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11955
 
fi
11956
 
 
11957
 
fi
11958
 
if test -n "$PKG_CONFIG"; then
11959
 
        _pkg_min_version=0.19
11960
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11961
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11962
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11963
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
11964
 
$as_echo "yes" >&6; }
11965
 
        else
11966
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
11967
 
$as_echo "no" >&6; }
11968
 
                PKG_CONFIG=""
11969
 
        fi
11970
 
 
11971
 
fi
11972
 
 
11973
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
11974
 
$as_echo_n "checking for library containing strerror... " >&6; }
11975
 
if test "${ac_cv_search_strerror+set}" = set; then
11976
 
  $as_echo_n "(cached) " >&6
11977
 
else
11978
 
  ac_func_search_save_LIBS=$LIBS
11979
 
cat >conftest.$ac_ext <<_ACEOF
11980
 
/* confdefs.h.  */
11981
 
_ACEOF
11982
 
cat confdefs.h >>conftest.$ac_ext
11983
 
cat >>conftest.$ac_ext <<_ACEOF
11984
 
/* end confdefs.h.  */
11985
 
 
11986
 
/* Override any GCC internal prototype to avoid an error.
11987
 
   Use char because int might match the return type of a GCC
11988
 
   builtin and then its argument prototype would still apply.  */
11989
 
#ifdef __cplusplus
11990
 
extern "C"
11991
 
#endif
11992
 
char strerror ();
11993
 
int
11994
 
main ()
11995
 
{
11996
 
return strerror ();
11997
 
  ;
11998
 
  return 0;
11999
 
}
12000
 
_ACEOF
12001
 
for ac_lib in '' cposix; do
12002
 
  if test -z "$ac_lib"; then
12003
 
    ac_res="none required"
12004
 
  else
12005
 
    ac_res=-l$ac_lib
12006
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12007
 
  fi
12008
 
  rm -f conftest.$ac_objext conftest$ac_exeext
12009
 
if { (ac_try="$ac_link"
12010
 
case "(($ac_try" in
12011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12012
 
  *) ac_try_echo=$ac_try;;
12013
 
esac
12014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12015
 
$as_echo "$ac_try_echo") >&5
12016
 
  (eval "$ac_link") 2>conftest.er1
12017
 
  ac_status=$?
12018
 
  grep -v '^ *+' conftest.er1 >conftest.err
12019
 
  rm -f conftest.er1
12020
 
  cat conftest.err >&5
12021
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022
 
  (exit $ac_status); } && {
12023
 
         test -z "$ac_c_werror_flag" ||
12024
 
         test ! -s conftest.err
12025
 
       } && test -s conftest$ac_exeext && {
12026
 
         test "$cross_compiling" = yes ||
12027
 
         $as_test_x conftest$ac_exeext
12028
 
       }; then
12029
 
  ac_cv_search_strerror=$ac_res
12030
 
else
12031
 
  $as_echo "$as_me: failed program was:" >&5
12032
 
sed 's/^/| /' conftest.$ac_ext >&5
12033
 
 
12034
 
 
12035
 
fi
12036
 
 
12037
 
rm -rf conftest.dSYM
12038
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12039
 
      conftest$ac_exeext
12040
 
  if test "${ac_cv_search_strerror+set}" = set; then
12041
 
  break
12042
 
fi
12043
 
done
12044
 
if test "${ac_cv_search_strerror+set}" = set; then
12045
 
  :
12046
 
else
12047
 
  ac_cv_search_strerror=no
12048
 
fi
12049
 
rm conftest.$ac_ext
12050
 
LIBS=$ac_func_search_save_LIBS
12051
 
fi
12052
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
12053
 
$as_echo "$ac_cv_search_strerror" >&6; }
12054
 
ac_res=$ac_cv_search_strerror
12055
 
if test "$ac_res" != no; then
12056
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12057
 
 
12058
 
fi
12059
 
 
12060
 
ac_ext=c
12061
 
ac_cpp='$CPP $CPPFLAGS'
12062
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12065
 
if test -n "$ac_tool_prefix"; then
12066
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12067
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
12068
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12069
 
$as_echo_n "checking for $ac_word... " >&6; }
12070
 
if test "${ac_cv_prog_CC+set}" = set; then
12071
 
  $as_echo_n "(cached) " >&6
12072
 
else
12073
 
  if test -n "$CC"; then
12074
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
12075
 
else
12076
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12077
 
for as_dir in $PATH
12078
 
do
12079
 
  IFS=$as_save_IFS
12080
 
  test -z "$as_dir" && as_dir=.
12081
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12082
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12083
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12084
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12085
 
    break 2
12086
 
  fi
12087
 
done
12088
 
done
12089
 
IFS=$as_save_IFS
12090
 
 
12091
 
fi
12092
 
fi
12093
 
CC=$ac_cv_prog_CC
12094
 
if test -n "$CC"; then
12095
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
12096
 
$as_echo "$CC" >&6; }
12097
 
else
12098
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12099
 
$as_echo "no" >&6; }
12100
 
fi
12101
 
 
12102
 
 
12103
 
fi
12104
 
if test -z "$ac_cv_prog_CC"; then
12105
 
  ac_ct_CC=$CC
12106
 
  # Extract the first word of "gcc", so it can be a program name with args.
12107
 
set dummy gcc; ac_word=$2
12108
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12109
 
$as_echo_n "checking for $ac_word... " >&6; }
12110
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12111
 
  $as_echo_n "(cached) " >&6
12112
 
else
12113
 
  if test -n "$ac_ct_CC"; then
12114
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12115
 
else
12116
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117
 
for as_dir in $PATH
12118
 
do
12119
 
  IFS=$as_save_IFS
12120
 
  test -z "$as_dir" && as_dir=.
12121
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12122
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123
 
    ac_cv_prog_ac_ct_CC="gcc"
12124
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12125
 
    break 2
12126
 
  fi
12127
 
done
12128
 
done
12129
 
IFS=$as_save_IFS
12130
 
 
12131
 
fi
12132
 
fi
12133
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12134
 
if test -n "$ac_ct_CC"; then
12135
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12136
 
$as_echo "$ac_ct_CC" >&6; }
12137
 
else
12138
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12139
 
$as_echo "no" >&6; }
12140
 
fi
12141
 
 
12142
 
  if test "x$ac_ct_CC" = x; then
12143
 
    CC=""
12144
 
  else
12145
 
    case $cross_compiling:$ac_tool_warned in
12146
 
yes:)
12147
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12148
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12149
 
ac_tool_warned=yes ;;
12150
 
esac
12151
 
    CC=$ac_ct_CC
12152
 
  fi
12153
 
else
12154
 
  CC="$ac_cv_prog_CC"
12155
 
fi
12156
 
 
12157
 
if test -z "$CC"; then
12158
 
          if test -n "$ac_tool_prefix"; then
12159
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12160
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
12161
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12162
 
$as_echo_n "checking for $ac_word... " >&6; }
12163
 
if test "${ac_cv_prog_CC+set}" = set; then
12164
 
  $as_echo_n "(cached) " >&6
12165
 
else
12166
 
  if test -n "$CC"; then
12167
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
12168
 
else
12169
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12170
 
for as_dir in $PATH
12171
 
do
12172
 
  IFS=$as_save_IFS
12173
 
  test -z "$as_dir" && as_dir=.
12174
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12175
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12176
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
12177
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12178
 
    break 2
12179
 
  fi
12180
 
done
12181
 
done
12182
 
IFS=$as_save_IFS
12183
 
 
12184
 
fi
12185
 
fi
12186
 
CC=$ac_cv_prog_CC
12187
 
if test -n "$CC"; then
12188
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
12189
 
$as_echo "$CC" >&6; }
12190
 
else
12191
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12192
 
$as_echo "no" >&6; }
12193
 
fi
12194
 
 
12195
 
 
12196
 
  fi
12197
 
fi
12198
 
if test -z "$CC"; then
12199
 
  # Extract the first word of "cc", so it can be a program name with args.
12200
 
set dummy cc; ac_word=$2
12201
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12202
 
$as_echo_n "checking for $ac_word... " >&6; }
12203
 
if test "${ac_cv_prog_CC+set}" = set; then
12204
 
  $as_echo_n "(cached) " >&6
12205
 
else
12206
 
  if test -n "$CC"; then
12207
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
12208
 
else
12209
 
  ac_prog_rejected=no
12210
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12211
 
for as_dir in $PATH
12212
 
do
12213
 
  IFS=$as_save_IFS
12214
 
  test -z "$as_dir" && as_dir=.
12215
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12216
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12217
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12218
 
       ac_prog_rejected=yes
12219
 
       continue
12220
 
     fi
12221
 
    ac_cv_prog_CC="cc"
12222
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12223
 
    break 2
12224
 
  fi
12225
 
done
12226
 
done
12227
 
IFS=$as_save_IFS
12228
 
 
12229
 
if test $ac_prog_rejected = yes; then
12230
 
  # We found a bogon in the path, so make sure we never use it.
12231
 
  set dummy $ac_cv_prog_CC
12232
 
  shift
12233
 
  if test $# != 0; then
12234
 
    # We chose a different compiler from the bogus one.
12235
 
    # However, it has the same basename, so the bogon will be chosen
12236
 
    # first if we set CC to just the basename; use the full file name.
12237
 
    shift
12238
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12239
 
  fi
12240
 
fi
12241
 
fi
12242
 
fi
12243
 
CC=$ac_cv_prog_CC
12244
 
if test -n "$CC"; then
12245
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
12246
 
$as_echo "$CC" >&6; }
12247
 
else
12248
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12249
 
$as_echo "no" >&6; }
12250
 
fi
12251
 
 
12252
 
 
12253
 
fi
12254
 
if test -z "$CC"; then
12255
 
  if test -n "$ac_tool_prefix"; then
12256
 
  for ac_prog in cl.exe
12257
 
  do
12258
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12259
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12260
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12261
 
$as_echo_n "checking for $ac_word... " >&6; }
12262
 
if test "${ac_cv_prog_CC+set}" = set; then
12263
 
  $as_echo_n "(cached) " >&6
12264
 
else
12265
 
  if test -n "$CC"; then
12266
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
12267
 
else
12268
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12269
 
for as_dir in $PATH
12270
 
do
12271
 
  IFS=$as_save_IFS
12272
 
  test -z "$as_dir" && as_dir=.
12273
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12274
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12275
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12276
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12277
 
    break 2
12278
 
  fi
12279
 
done
12280
 
done
12281
 
IFS=$as_save_IFS
12282
 
 
12283
 
fi
12284
 
fi
12285
 
CC=$ac_cv_prog_CC
12286
 
if test -n "$CC"; then
12287
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
12288
 
$as_echo "$CC" >&6; }
12289
 
else
12290
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12291
 
$as_echo "no" >&6; }
12292
 
fi
12293
 
 
12294
 
 
12295
 
    test -n "$CC" && break
12296
 
  done
12297
 
fi
12298
 
if test -z "$CC"; then
12299
 
  ac_ct_CC=$CC
12300
 
  for ac_prog in cl.exe
12301
 
do
12302
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12303
 
set dummy $ac_prog; ac_word=$2
12304
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12305
 
$as_echo_n "checking for $ac_word... " >&6; }
12306
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12307
 
  $as_echo_n "(cached) " >&6
12308
 
else
12309
 
  if test -n "$ac_ct_CC"; then
12310
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12311
 
else
12312
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12313
 
for as_dir in $PATH
12314
 
do
12315
 
  IFS=$as_save_IFS
12316
 
  test -z "$as_dir" && as_dir=.
12317
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12318
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12319
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
12320
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12321
 
    break 2
12322
 
  fi
12323
 
done
12324
 
done
12325
 
IFS=$as_save_IFS
12326
 
 
12327
 
fi
12328
 
fi
12329
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12330
 
if test -n "$ac_ct_CC"; then
12331
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12332
 
$as_echo "$ac_ct_CC" >&6; }
12333
 
else
12334
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12335
 
$as_echo "no" >&6; }
12336
 
fi
12337
 
 
12338
 
 
12339
 
  test -n "$ac_ct_CC" && break
12340
 
done
12341
 
 
12342
 
  if test "x$ac_ct_CC" = x; then
12343
 
    CC=""
12344
 
  else
12345
 
    case $cross_compiling:$ac_tool_warned in
12346
 
yes:)
12347
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12348
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12349
 
ac_tool_warned=yes ;;
12350
 
esac
12351
 
    CC=$ac_ct_CC
12352
 
  fi
12353
 
fi
12354
 
 
12355
 
fi
12356
 
 
12357
 
 
12358
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12359
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12360
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12361
 
See \`config.log' for more details." >&5
12362
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12363
 
See \`config.log' for more details." >&2;}
12364
 
   { (exit 1); exit 1; }; }; }
12365
 
 
12366
 
# Provide some information about the compiler.
12367
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
12368
 
set X $ac_compile
12369
 
ac_compiler=$2
12370
 
{ (ac_try="$ac_compiler --version >&5"
12371
 
case "(($ac_try" in
12372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12373
 
  *) ac_try_echo=$ac_try;;
12374
 
esac
12375
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12376
 
$as_echo "$ac_try_echo") >&5
12377
 
  (eval "$ac_compiler --version >&5") 2>&5
12378
 
  ac_status=$?
12379
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380
 
  (exit $ac_status); }
12381
 
{ (ac_try="$ac_compiler -v >&5"
12382
 
case "(($ac_try" in
12383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12384
 
  *) ac_try_echo=$ac_try;;
12385
 
esac
12386
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12387
 
$as_echo "$ac_try_echo") >&5
12388
 
  (eval "$ac_compiler -v >&5") 2>&5
12389
 
  ac_status=$?
12390
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391
 
  (exit $ac_status); }
12392
 
{ (ac_try="$ac_compiler -V >&5"
12393
 
case "(($ac_try" in
12394
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12395
 
  *) ac_try_echo=$ac_try;;
12396
 
esac
12397
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12398
 
$as_echo "$ac_try_echo") >&5
12399
 
  (eval "$ac_compiler -V >&5") 2>&5
12400
 
  ac_status=$?
12401
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402
 
  (exit $ac_status); }
12403
 
 
12404
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12405
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12406
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
12407
 
  $as_echo_n "(cached) " >&6
12408
 
else
12409
 
  cat >conftest.$ac_ext <<_ACEOF
12410
 
/* confdefs.h.  */
12411
 
_ACEOF
12412
 
cat confdefs.h >>conftest.$ac_ext
12413
 
cat >>conftest.$ac_ext <<_ACEOF
12414
 
/* end confdefs.h.  */
12415
 
 
12416
 
int
12417
 
main ()
12418
 
{
12419
 
#ifndef __GNUC__
12420
 
       choke me
12421
 
#endif
12422
 
 
12423
 
  ;
12424
 
  return 0;
12425
 
}
12426
 
_ACEOF
12427
 
rm -f conftest.$ac_objext
12428
 
if { (ac_try="$ac_compile"
12429
 
case "(($ac_try" in
12430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12431
 
  *) ac_try_echo=$ac_try;;
12432
 
esac
12433
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12434
 
$as_echo "$ac_try_echo") >&5
12435
 
  (eval "$ac_compile") 2>conftest.er1
12436
 
  ac_status=$?
12437
 
  grep -v '^ *+' conftest.er1 >conftest.err
12438
 
  rm -f conftest.er1
12439
 
  cat conftest.err >&5
12440
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441
 
  (exit $ac_status); } && {
12442
 
         test -z "$ac_c_werror_flag" ||
12443
 
         test ! -s conftest.err
12444
 
       } && test -s conftest.$ac_objext; then
12445
 
  ac_compiler_gnu=yes
12446
 
else
12447
 
  $as_echo "$as_me: failed program was:" >&5
12448
 
sed 's/^/| /' conftest.$ac_ext >&5
12449
 
 
12450
 
        ac_compiler_gnu=no
12451
 
fi
12452
 
 
12453
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12454
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
12455
 
 
12456
 
fi
12457
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12458
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12459
 
if test $ac_compiler_gnu = yes; then
12460
 
  GCC=yes
12461
 
else
12462
 
  GCC=
12463
 
fi
12464
 
ac_test_CFLAGS=${CFLAGS+set}
12465
 
ac_save_CFLAGS=$CFLAGS
12466
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12467
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
12468
 
if test "${ac_cv_prog_cc_g+set}" = set; then
12469
 
  $as_echo_n "(cached) " >&6
12470
 
else
12471
 
  ac_save_c_werror_flag=$ac_c_werror_flag
12472
 
   ac_c_werror_flag=yes
12473
 
   ac_cv_prog_cc_g=no
12474
 
   CFLAGS="-g"
12475
 
   cat >conftest.$ac_ext <<_ACEOF
12476
 
/* confdefs.h.  */
12477
 
_ACEOF
12478
 
cat confdefs.h >>conftest.$ac_ext
12479
 
cat >>conftest.$ac_ext <<_ACEOF
12480
 
/* end confdefs.h.  */
12481
 
 
12482
 
int
12483
 
main ()
12484
 
{
12485
 
 
12486
 
  ;
12487
 
  return 0;
12488
 
}
12489
 
_ACEOF
12490
 
rm -f conftest.$ac_objext
12491
 
if { (ac_try="$ac_compile"
12492
 
case "(($ac_try" in
12493
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12494
 
  *) ac_try_echo=$ac_try;;
12495
 
esac
12496
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12497
 
$as_echo "$ac_try_echo") >&5
12498
 
  (eval "$ac_compile") 2>conftest.er1
12499
 
  ac_status=$?
12500
 
  grep -v '^ *+' conftest.er1 >conftest.err
12501
 
  rm -f conftest.er1
12502
 
  cat conftest.err >&5
12503
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504
 
  (exit $ac_status); } && {
12505
 
         test -z "$ac_c_werror_flag" ||
12506
 
         test ! -s conftest.err
12507
 
       } && test -s conftest.$ac_objext; then
12508
 
  ac_cv_prog_cc_g=yes
12509
 
else
12510
 
  $as_echo "$as_me: failed program was:" >&5
12511
 
sed 's/^/| /' conftest.$ac_ext >&5
12512
 
 
12513
 
        CFLAGS=""
12514
 
      cat >conftest.$ac_ext <<_ACEOF
12515
 
/* confdefs.h.  */
12516
 
_ACEOF
12517
 
cat confdefs.h >>conftest.$ac_ext
12518
 
cat >>conftest.$ac_ext <<_ACEOF
12519
 
/* end confdefs.h.  */
12520
 
 
12521
 
int
12522
 
main ()
12523
 
{
12524
 
 
12525
 
  ;
12526
 
  return 0;
12527
 
}
12528
 
_ACEOF
12529
 
rm -f conftest.$ac_objext
12530
 
if { (ac_try="$ac_compile"
12531
 
case "(($ac_try" in
12532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12533
 
  *) ac_try_echo=$ac_try;;
12534
 
esac
12535
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12536
 
$as_echo "$ac_try_echo") >&5
12537
 
  (eval "$ac_compile") 2>conftest.er1
12538
 
  ac_status=$?
12539
 
  grep -v '^ *+' conftest.er1 >conftest.err
12540
 
  rm -f conftest.er1
12541
 
  cat conftest.err >&5
12542
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543
 
  (exit $ac_status); } && {
12544
 
         test -z "$ac_c_werror_flag" ||
12545
 
         test ! -s conftest.err
12546
 
       } && test -s conftest.$ac_objext; then
12547
 
  :
12548
 
else
12549
 
  $as_echo "$as_me: failed program was:" >&5
12550
 
sed 's/^/| /' conftest.$ac_ext >&5
12551
 
 
12552
 
        ac_c_werror_flag=$ac_save_c_werror_flag
12553
 
         CFLAGS="-g"
12554
 
         cat >conftest.$ac_ext <<_ACEOF
12555
 
/* confdefs.h.  */
12556
 
_ACEOF
12557
 
cat confdefs.h >>conftest.$ac_ext
12558
 
cat >>conftest.$ac_ext <<_ACEOF
12559
 
/* end confdefs.h.  */
12560
 
 
12561
 
int
12562
 
main ()
12563
 
{
12564
 
 
12565
 
  ;
12566
 
  return 0;
12567
 
}
12568
 
_ACEOF
12569
 
rm -f conftest.$ac_objext
12570
 
if { (ac_try="$ac_compile"
12571
 
case "(($ac_try" in
12572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12573
 
  *) ac_try_echo=$ac_try;;
12574
 
esac
12575
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12576
 
$as_echo "$ac_try_echo") >&5
12577
 
  (eval "$ac_compile") 2>conftest.er1
12578
 
  ac_status=$?
12579
 
  grep -v '^ *+' conftest.er1 >conftest.err
12580
 
  rm -f conftest.er1
12581
 
  cat conftest.err >&5
12582
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583
 
  (exit $ac_status); } && {
12584
 
         test -z "$ac_c_werror_flag" ||
12585
 
         test ! -s conftest.err
12586
 
       } && test -s conftest.$ac_objext; then
12587
 
  ac_cv_prog_cc_g=yes
12588
 
else
12589
 
  $as_echo "$as_me: failed program was:" >&5
12590
 
sed 's/^/| /' conftest.$ac_ext >&5
12591
 
 
12592
 
 
12593
 
fi
12594
 
 
12595
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12596
 
fi
12597
 
 
12598
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12599
 
fi
12600
 
 
12601
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12602
 
   ac_c_werror_flag=$ac_save_c_werror_flag
12603
 
fi
12604
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12605
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
12606
 
if test "$ac_test_CFLAGS" = set; then
12607
 
  CFLAGS=$ac_save_CFLAGS
12608
 
elif test $ac_cv_prog_cc_g = yes; then
12609
 
  if test "$GCC" = yes; then
12610
 
    CFLAGS="-g -O2"
12611
 
  else
12612
 
    CFLAGS="-g"
12613
 
  fi
12614
 
else
12615
 
  if test "$GCC" = yes; then
12616
 
    CFLAGS="-O2"
12617
 
  else
12618
 
    CFLAGS=
12619
 
  fi
12620
 
fi
12621
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12622
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12623
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
12624
 
  $as_echo_n "(cached) " >&6
12625
 
else
12626
 
  ac_cv_prog_cc_c89=no
12627
 
ac_save_CC=$CC
12628
 
cat >conftest.$ac_ext <<_ACEOF
12629
 
/* confdefs.h.  */
12630
 
_ACEOF
12631
 
cat confdefs.h >>conftest.$ac_ext
12632
 
cat >>conftest.$ac_ext <<_ACEOF
12633
 
/* end confdefs.h.  */
12634
 
#include <stdarg.h>
12635
 
#include <stdio.h>
12636
 
#include <sys/types.h>
12637
 
#include <sys/stat.h>
12638
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12639
 
struct buf { int x; };
12640
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
12641
 
static char *e (p, i)
12642
 
     char **p;
12643
 
     int i;
12644
 
{
12645
 
  return p[i];
12646
 
}
12647
 
static char *f (char * (*g) (char **, int), char **p, ...)
12648
 
{
12649
 
  char *s;
12650
 
  va_list v;
12651
 
  va_start (v,p);
12652
 
  s = g (p, va_arg (v,int));
12653
 
  va_end (v);
12654
 
  return s;
12655
 
}
12656
 
 
12657
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12658
 
   function prototypes and stuff, but not '\xHH' hex character constants.
12659
 
   These don't provoke an error unfortunately, instead are silently treated
12660
 
   as 'x'.  The following induces an error, until -std is added to get
12661
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12662
 
   array size at least.  It's necessary to write '\x00'==0 to get something
12663
 
   that's true only with -std.  */
12664
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12665
 
 
12666
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12667
 
   inside strings and character constants.  */
12668
 
#define FOO(x) 'x'
12669
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12670
 
 
12671
 
int test (int i, double x);
12672
 
struct s1 {int (*f) (int a);};
12673
 
struct s2 {int (*f) (double a);};
12674
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12675
 
int argc;
12676
 
char **argv;
12677
 
int
12678
 
main ()
12679
 
{
12680
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12681
 
  ;
12682
 
  return 0;
12683
 
}
12684
 
_ACEOF
12685
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12686
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12687
 
do
12688
 
  CC="$ac_save_CC $ac_arg"
12689
 
  rm -f conftest.$ac_objext
12690
 
if { (ac_try="$ac_compile"
12691
 
case "(($ac_try" in
12692
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12693
 
  *) ac_try_echo=$ac_try;;
12694
 
esac
12695
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12696
 
$as_echo "$ac_try_echo") >&5
12697
 
  (eval "$ac_compile") 2>conftest.er1
12698
 
  ac_status=$?
12699
 
  grep -v '^ *+' conftest.er1 >conftest.err
12700
 
  rm -f conftest.er1
12701
 
  cat conftest.err >&5
12702
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703
 
  (exit $ac_status); } && {
12704
 
         test -z "$ac_c_werror_flag" ||
12705
 
         test ! -s conftest.err
12706
 
       } && test -s conftest.$ac_objext; then
12707
 
  ac_cv_prog_cc_c89=$ac_arg
12708
 
else
12709
 
  $as_echo "$as_me: failed program was:" >&5
12710
 
sed 's/^/| /' conftest.$ac_ext >&5
12711
 
 
12712
 
 
12713
 
fi
12714
 
 
12715
 
rm -f core conftest.err conftest.$ac_objext
12716
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
12717
 
done
12718
 
rm -f conftest.$ac_ext
12719
 
CC=$ac_save_CC
12720
 
 
12721
 
fi
12722
 
# AC_CACHE_VAL
12723
 
case "x$ac_cv_prog_cc_c89" in
12724
 
  x)
12725
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
12726
 
$as_echo "none needed" >&6; } ;;
12727
 
  xno)
12728
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
12729
 
$as_echo "unsupported" >&6; } ;;
12730
 
  *)
12731
 
    CC="$CC $ac_cv_prog_cc_c89"
12732
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
12733
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12734
 
esac
12735
 
 
12736
 
 
12737
 
ac_ext=c
12738
 
ac_cpp='$CPP $CPPFLAGS'
12739
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12740
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12741
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12742
 
 
12743
 
depcc="$CC"   am_compiler_list=
12744
 
 
12745
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12746
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
12747
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
12748
 
  $as_echo_n "(cached) " >&6
12749
 
else
12750
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12751
 
  # We make a subdir and do the tests there.  Otherwise we can end up
12752
 
  # making bogus files that we don't know about and never remove.  For
12753
 
  # instance it was reported that on HP-UX the gcc test will end up
12754
 
  # making a dummy file named `D' -- because `-MD' means `put the output
12755
 
  # in D'.
12756
 
  mkdir conftest.dir
12757
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
12758
 
  # using a relative directory.
12759
 
  cp "$am_depcomp" conftest.dir
12760
 
  cd conftest.dir
12761
 
  # We will build objects and dependencies in a subdirectory because
12762
 
  # it helps to detect inapplicable dependency modes.  For instance
12763
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
12764
 
  # side effect of compilation, but ICC will put the dependencies in
12765
 
  # the current directory while Tru64 will put them in the object
12766
 
  # directory.
12767
 
  mkdir sub
12768
 
 
12769
 
  am_cv_CC_dependencies_compiler_type=none
12770
 
  if test "$am_compiler_list" = ""; then
12771
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12772
 
  fi
12773
 
  am__universal=false
12774
 
  case " $depcc " in #(
12775
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12776
 
     esac
12777
 
 
12778
 
  for depmode in $am_compiler_list; do
12779
 
    # Setup a source with many dependencies, because some compilers
12780
 
    # like to wrap large dependency lists on column 80 (with \), and
12781
 
    # we should not choose a depcomp mode which is confused by this.
12782
 
    #
12783
 
    # We need to recreate these files for each test, as the compiler may
12784
 
    # overwrite some of them when testing with obscure command lines.
12785
 
    # This happens at least with the AIX C compiler.
12786
 
    : > sub/conftest.c
12787
 
    for i in 1 2 3 4 5 6; do
12788
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12789
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12790
 
      # Solaris 8's {/usr,}/bin/sh.
12791
 
      touch sub/conftst$i.h
12792
 
    done
12793
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12794
 
 
12795
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
12796
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
12797
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
12798
 
    # versions had trouble with output in subdirs
12799
 
    am__obj=sub/conftest.${OBJEXT-o}
12800
 
    am__minus_obj="-o $am__obj"
12801
 
    case $depmode in
12802
 
    gcc)
12803
 
      # This depmode causes a compiler race in universal mode.
12804
 
      test "$am__universal" = false || continue
12805
 
      ;;
12806
 
    nosideeffect)
12807
 
      # after this tag, mechanisms are not by side-effect, so they'll
12808
 
      # only be used when explicitly requested
12809
 
      if test "x$enable_dependency_tracking" = xyes; then
12810
 
        continue
12811
 
      else
12812
 
        break
12813
 
      fi
12814
 
      ;;
12815
 
    msvisualcpp | msvcmsys)
12816
 
      # This compiler won't grok `-c -o', but also, the minuso test has
12817
 
      # not run yet.  These depmodes are late enough in the game, and
12818
 
      # so weak that their functioning should not be impacted.
12819
 
      am__obj=conftest.${OBJEXT-o}
12820
 
      am__minus_obj=
12821
 
      ;;
12822
 
    none) break ;;
12823
 
    esac
12824
 
    if depmode=$depmode \
12825
 
       source=sub/conftest.c object=$am__obj \
12826
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12827
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12828
 
         >/dev/null 2>conftest.err &&
12829
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12830
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12831
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12832
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12833
 
      # icc doesn't choke on unknown options, it will just issue warnings
12834
 
      # or remarks (even with -Werror).  So we grep stderr for any message
12835
 
      # that says an option was ignored or not supported.
12836
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
12837
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
12838
 
      # The diagnosis changed in icc 8.0:
12839
 
      #   icc: Command line remark: option '-MP' not supported
12840
 
      if (grep 'ignoring option' conftest.err ||
12841
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12842
 
        am_cv_CC_dependencies_compiler_type=$depmode
12843
 
        break
12844
 
      fi
12845
 
    fi
12846
 
  done
12847
 
 
12848
 
  cd ..
12849
 
  rm -rf conftest.dir
12850
 
else
12851
 
  am_cv_CC_dependencies_compiler_type=none
12852
 
fi
12853
 
 
12854
 
fi
12855
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
12856
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12857
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12858
 
 
12859
 
 if
12860
 
  test "x$enable_dependency_tracking" != xno \
12861
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12862
 
  am__fastdepCC_TRUE=
12863
 
  am__fastdepCC_FALSE='#'
12864
 
else
12865
 
  am__fastdepCC_TRUE='#'
12866
 
  am__fastdepCC_FALSE=
12867
 
fi
12868
 
 
12869
 
 
12870
 
ac_ext=cpp
12871
 
ac_cpp='$CXXCPP $CPPFLAGS'
12872
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12873
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12874
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12875
 
if test -z "$CXX"; then
12876
 
  if test -n "$CCC"; then
12877
 
    CXX=$CCC
12878
 
  else
12879
 
    if test -n "$ac_tool_prefix"; then
12880
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12881
 
  do
12882
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12883
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12884
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12885
 
$as_echo_n "checking for $ac_word... " >&6; }
12886
 
if test "${ac_cv_prog_CXX+set}" = set; then
12887
 
  $as_echo_n "(cached) " >&6
12888
 
else
12889
 
  if test -n "$CXX"; then
12890
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
12891
 
else
12892
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12893
 
for as_dir in $PATH
12894
 
do
12895
 
  IFS=$as_save_IFS
12896
 
  test -z "$as_dir" && as_dir=.
12897
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12898
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12899
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12900
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12901
 
    break 2
12902
 
  fi
12903
 
done
12904
 
done
12905
 
IFS=$as_save_IFS
12906
 
 
12907
 
fi
12908
 
fi
12909
 
CXX=$ac_cv_prog_CXX
12910
 
if test -n "$CXX"; then
12911
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
12912
 
$as_echo "$CXX" >&6; }
12913
 
else
12914
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12915
 
$as_echo "no" >&6; }
12916
 
fi
12917
 
 
12918
 
 
12919
 
    test -n "$CXX" && break
12920
 
  done
12921
 
fi
12922
 
if test -z "$CXX"; then
12923
 
  ac_ct_CXX=$CXX
12924
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12925
 
do
12926
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12927
 
set dummy $ac_prog; ac_word=$2
12928
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12929
 
$as_echo_n "checking for $ac_word... " >&6; }
12930
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12931
 
  $as_echo_n "(cached) " >&6
12932
 
else
12933
 
  if test -n "$ac_ct_CXX"; then
12934
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12935
 
else
12936
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12937
 
for as_dir in $PATH
12938
 
do
12939
 
  IFS=$as_save_IFS
12940
 
  test -z "$as_dir" && as_dir=.
12941
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12942
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12943
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
12944
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12945
 
    break 2
12946
 
  fi
12947
 
done
12948
 
done
12949
 
IFS=$as_save_IFS
12950
 
 
12951
 
fi
12952
 
fi
12953
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12954
 
if test -n "$ac_ct_CXX"; then
12955
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12956
 
$as_echo "$ac_ct_CXX" >&6; }
12957
 
else
12958
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12959
 
$as_echo "no" >&6; }
12960
 
fi
12961
 
 
12962
 
 
12963
 
  test -n "$ac_ct_CXX" && break
12964
 
done
12965
 
 
12966
 
  if test "x$ac_ct_CXX" = x; then
12967
 
    CXX="g++"
12968
 
  else
12969
 
    case $cross_compiling:$ac_tool_warned in
12970
 
yes:)
12971
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12972
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12973
 
ac_tool_warned=yes ;;
12974
 
esac
12975
 
    CXX=$ac_ct_CXX
12976
 
  fi
12977
 
fi
12978
 
 
12979
 
  fi
12980
 
fi
12981
 
# Provide some information about the compiler.
12982
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
12983
 
set X $ac_compile
12984
 
ac_compiler=$2
12985
 
{ (ac_try="$ac_compiler --version >&5"
12986
 
case "(($ac_try" in
12987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12988
 
  *) ac_try_echo=$ac_try;;
12989
 
esac
12990
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12991
 
$as_echo "$ac_try_echo") >&5
12992
 
  (eval "$ac_compiler --version >&5") 2>&5
12993
 
  ac_status=$?
12994
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995
 
  (exit $ac_status); }
12996
 
{ (ac_try="$ac_compiler -v >&5"
12997
 
case "(($ac_try" in
12998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12999
 
  *) ac_try_echo=$ac_try;;
13000
 
esac
13001
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13002
 
$as_echo "$ac_try_echo") >&5
13003
 
  (eval "$ac_compiler -v >&5") 2>&5
13004
 
  ac_status=$?
13005
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006
 
  (exit $ac_status); }
13007
 
{ (ac_try="$ac_compiler -V >&5"
13008
 
case "(($ac_try" in
13009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13010
 
  *) ac_try_echo=$ac_try;;
13011
 
esac
13012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13013
 
$as_echo "$ac_try_echo") >&5
13014
 
  (eval "$ac_compiler -V >&5") 2>&5
13015
 
  ac_status=$?
13016
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017
 
  (exit $ac_status); }
13018
 
 
13019
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13020
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13021
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13022
 
  $as_echo_n "(cached) " >&6
13023
 
else
13024
 
  cat >conftest.$ac_ext <<_ACEOF
13025
 
/* confdefs.h.  */
13026
 
_ACEOF
13027
 
cat confdefs.h >>conftest.$ac_ext
13028
 
cat >>conftest.$ac_ext <<_ACEOF
13029
 
/* end confdefs.h.  */
13030
 
 
13031
 
int
13032
 
main ()
13033
 
{
13034
 
#ifndef __GNUC__
13035
 
       choke me
13036
 
#endif
13037
 
 
13038
 
  ;
13039
 
  return 0;
13040
 
}
13041
 
_ACEOF
13042
 
rm -f conftest.$ac_objext
13043
 
if { (ac_try="$ac_compile"
13044
 
case "(($ac_try" in
13045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13046
 
  *) ac_try_echo=$ac_try;;
13047
 
esac
13048
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13049
 
$as_echo "$ac_try_echo") >&5
13050
 
  (eval "$ac_compile") 2>conftest.er1
13051
 
  ac_status=$?
13052
 
  grep -v '^ *+' conftest.er1 >conftest.err
13053
 
  rm -f conftest.er1
13054
 
  cat conftest.err >&5
13055
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056
 
  (exit $ac_status); } && {
13057
 
         test -z "$ac_cxx_werror_flag" ||
13058
 
         test ! -s conftest.err
13059
 
       } && test -s conftest.$ac_objext; then
13060
 
  ac_compiler_gnu=yes
13061
 
else
13062
 
  $as_echo "$as_me: failed program was:" >&5
13063
 
sed 's/^/| /' conftest.$ac_ext >&5
13064
 
 
13065
 
        ac_compiler_gnu=no
13066
 
fi
13067
 
 
13068
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13069
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13070
 
 
13071
 
fi
13072
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13073
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13074
 
if test $ac_compiler_gnu = yes; then
13075
 
  GXX=yes
13076
 
else
13077
 
  GXX=
13078
 
fi
13079
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
13080
 
ac_save_CXXFLAGS=$CXXFLAGS
13081
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13082
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13083
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
13084
 
  $as_echo_n "(cached) " >&6
13085
 
else
13086
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13087
 
   ac_cxx_werror_flag=yes
13088
 
   ac_cv_prog_cxx_g=no
13089
 
   CXXFLAGS="-g"
13090
 
   cat >conftest.$ac_ext <<_ACEOF
13091
 
/* confdefs.h.  */
13092
 
_ACEOF
13093
 
cat confdefs.h >>conftest.$ac_ext
13094
 
cat >>conftest.$ac_ext <<_ACEOF
13095
 
/* end confdefs.h.  */
13096
 
 
13097
 
int
13098
 
main ()
13099
 
{
13100
 
 
13101
 
  ;
13102
 
  return 0;
13103
 
}
13104
 
_ACEOF
13105
 
rm -f conftest.$ac_objext
13106
 
if { (ac_try="$ac_compile"
13107
 
case "(($ac_try" in
13108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13109
 
  *) ac_try_echo=$ac_try;;
13110
 
esac
13111
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13112
 
$as_echo "$ac_try_echo") >&5
13113
 
  (eval "$ac_compile") 2>conftest.er1
13114
 
  ac_status=$?
13115
 
  grep -v '^ *+' conftest.er1 >conftest.err
13116
 
  rm -f conftest.er1
13117
 
  cat conftest.err >&5
13118
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119
 
  (exit $ac_status); } && {
13120
 
         test -z "$ac_cxx_werror_flag" ||
13121
 
         test ! -s conftest.err
13122
 
       } && test -s conftest.$ac_objext; then
13123
 
  ac_cv_prog_cxx_g=yes
13124
 
else
13125
 
  $as_echo "$as_me: failed program was:" >&5
13126
 
sed 's/^/| /' conftest.$ac_ext >&5
13127
 
 
13128
 
        CXXFLAGS=""
13129
 
      cat >conftest.$ac_ext <<_ACEOF
13130
 
/* confdefs.h.  */
13131
 
_ACEOF
13132
 
cat confdefs.h >>conftest.$ac_ext
13133
 
cat >>conftest.$ac_ext <<_ACEOF
13134
 
/* end confdefs.h.  */
13135
 
 
13136
 
int
13137
 
main ()
13138
 
{
13139
 
 
13140
 
  ;
13141
 
  return 0;
13142
 
}
13143
 
_ACEOF
13144
 
rm -f conftest.$ac_objext
13145
 
if { (ac_try="$ac_compile"
13146
 
case "(($ac_try" in
13147
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13148
 
  *) ac_try_echo=$ac_try;;
13149
 
esac
13150
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13151
 
$as_echo "$ac_try_echo") >&5
13152
 
  (eval "$ac_compile") 2>conftest.er1
13153
 
  ac_status=$?
13154
 
  grep -v '^ *+' conftest.er1 >conftest.err
13155
 
  rm -f conftest.er1
13156
 
  cat conftest.err >&5
13157
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158
 
  (exit $ac_status); } && {
13159
 
         test -z "$ac_cxx_werror_flag" ||
13160
 
         test ! -s conftest.err
13161
 
       } && test -s conftest.$ac_objext; then
13162
 
  :
13163
 
else
13164
 
  $as_echo "$as_me: failed program was:" >&5
13165
 
sed 's/^/| /' conftest.$ac_ext >&5
13166
 
 
13167
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13168
 
         CXXFLAGS="-g"
13169
 
         cat >conftest.$ac_ext <<_ACEOF
13170
 
/* confdefs.h.  */
13171
 
_ACEOF
13172
 
cat confdefs.h >>conftest.$ac_ext
13173
 
cat >>conftest.$ac_ext <<_ACEOF
13174
 
/* end confdefs.h.  */
13175
 
 
13176
 
int
13177
 
main ()
13178
 
{
13179
 
 
13180
 
  ;
13181
 
  return 0;
13182
 
}
13183
 
_ACEOF
13184
 
rm -f conftest.$ac_objext
13185
 
if { (ac_try="$ac_compile"
13186
 
case "(($ac_try" in
13187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13188
 
  *) ac_try_echo=$ac_try;;
13189
 
esac
13190
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13191
 
$as_echo "$ac_try_echo") >&5
13192
 
  (eval "$ac_compile") 2>conftest.er1
13193
 
  ac_status=$?
13194
 
  grep -v '^ *+' conftest.er1 >conftest.err
13195
 
  rm -f conftest.er1
13196
 
  cat conftest.err >&5
13197
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198
 
  (exit $ac_status); } && {
13199
 
         test -z "$ac_cxx_werror_flag" ||
13200
 
         test ! -s conftest.err
13201
 
       } && test -s conftest.$ac_objext; then
13202
 
  ac_cv_prog_cxx_g=yes
13203
 
else
13204
 
  $as_echo "$as_me: failed program was:" >&5
13205
 
sed 's/^/| /' conftest.$ac_ext >&5
13206
 
 
13207
 
 
13208
 
fi
13209
 
 
13210
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13211
 
fi
13212
 
 
13213
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13214
 
fi
13215
 
 
13216
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13217
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13218
 
fi
13219
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13220
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13221
 
if test "$ac_test_CXXFLAGS" = set; then
13222
 
  CXXFLAGS=$ac_save_CXXFLAGS
13223
 
elif test $ac_cv_prog_cxx_g = yes; then
13224
 
  if test "$GXX" = yes; then
13225
 
    CXXFLAGS="-g -O2"
13226
 
  else
13227
 
    CXXFLAGS="-g"
13228
 
  fi
13229
 
else
13230
 
  if test "$GXX" = yes; then
13231
 
    CXXFLAGS="-O2"
13232
 
  else
13233
 
    CXXFLAGS=
13234
 
  fi
13235
 
fi
13236
 
ac_ext=c
13237
 
ac_cpp='$CPP $CPPFLAGS'
13238
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13239
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13240
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13241
 
 
13242
 
depcc="$CXX"  am_compiler_list=
13243
 
 
13244
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13245
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
13246
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13247
 
  $as_echo_n "(cached) " >&6
13248
 
else
13249
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13250
 
  # We make a subdir and do the tests there.  Otherwise we can end up
13251
 
  # making bogus files that we don't know about and never remove.  For
13252
 
  # instance it was reported that on HP-UX the gcc test will end up
13253
 
  # making a dummy file named `D' -- because `-MD' means `put the output
13254
 
  # in D'.
13255
 
  mkdir conftest.dir
13256
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
13257
 
  # using a relative directory.
13258
 
  cp "$am_depcomp" conftest.dir
13259
 
  cd conftest.dir
13260
 
  # We will build objects and dependencies in a subdirectory because
13261
 
  # it helps to detect inapplicable dependency modes.  For instance
13262
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
13263
 
  # side effect of compilation, but ICC will put the dependencies in
13264
 
  # the current directory while Tru64 will put them in the object
13265
 
  # directory.
13266
 
  mkdir sub
13267
 
 
13268
 
  am_cv_CXX_dependencies_compiler_type=none
13269
 
  if test "$am_compiler_list" = ""; then
13270
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13271
 
  fi
13272
 
  am__universal=false
13273
 
  case " $depcc " in #(
13274
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
13275
 
     esac
13276
 
 
13277
 
  for depmode in $am_compiler_list; do
13278
 
    # Setup a source with many dependencies, because some compilers
13279
 
    # like to wrap large dependency lists on column 80 (with \), and
13280
 
    # we should not choose a depcomp mode which is confused by this.
13281
 
    #
13282
 
    # We need to recreate these files for each test, as the compiler may
13283
 
    # overwrite some of them when testing with obscure command lines.
13284
 
    # This happens at least with the AIX C compiler.
13285
 
    : > sub/conftest.c
13286
 
    for i in 1 2 3 4 5 6; do
13287
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13288
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13289
 
      # Solaris 8's {/usr,}/bin/sh.
13290
 
      touch sub/conftst$i.h
13291
 
    done
13292
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13293
 
 
13294
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
13295
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
13296
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
13297
 
    # versions had trouble with output in subdirs
13298
 
    am__obj=sub/conftest.${OBJEXT-o}
13299
 
    am__minus_obj="-o $am__obj"
13300
 
    case $depmode in
13301
 
    gcc)
13302
 
      # This depmode causes a compiler race in universal mode.
13303
 
      test "$am__universal" = false || continue
13304
 
      ;;
13305
 
    nosideeffect)
13306
 
      # after this tag, mechanisms are not by side-effect, so they'll
13307
 
      # only be used when explicitly requested
13308
 
      if test "x$enable_dependency_tracking" = xyes; then
13309
 
        continue
13310
 
      else
13311
 
        break
13312
 
      fi
13313
 
      ;;
13314
 
    msvisualcpp | msvcmsys)
13315
 
      # This compiler won't grok `-c -o', but also, the minuso test has
13316
 
      # not run yet.  These depmodes are late enough in the game, and
13317
 
      # so weak that their functioning should not be impacted.
13318
 
      am__obj=conftest.${OBJEXT-o}
13319
 
      am__minus_obj=
13320
 
      ;;
13321
 
    none) break ;;
13322
 
    esac
13323
 
    if depmode=$depmode \
13324
 
       source=sub/conftest.c object=$am__obj \
13325
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13326
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13327
 
         >/dev/null 2>conftest.err &&
13328
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13329
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13330
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13331
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13332
 
      # icc doesn't choke on unknown options, it will just issue warnings
13333
 
      # or remarks (even with -Werror).  So we grep stderr for any message
13334
 
      # that says an option was ignored or not supported.
13335
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
13336
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
13337
 
      # The diagnosis changed in icc 8.0:
13338
 
      #   icc: Command line remark: option '-MP' not supported
13339
 
      if (grep 'ignoring option' conftest.err ||
13340
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13341
 
        am_cv_CXX_dependencies_compiler_type=$depmode
13342
 
        break
13343
 
      fi
13344
 
    fi
13345
 
  done
13346
 
 
13347
 
  cd ..
13348
 
  rm -rf conftest.dir
13349
 
else
13350
 
  am_cv_CXX_dependencies_compiler_type=none
13351
 
fi
13352
 
 
13353
 
fi
13354
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13355
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13356
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13357
 
 
13358
 
 if
13359
 
  test "x$enable_dependency_tracking" != xno \
13360
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13361
 
  am__fastdepCXX_TRUE=
13362
 
  am__fastdepCXX_FALSE='#'
13363
 
else
13364
 
  am__fastdepCXX_TRUE='#'
13365
 
  am__fastdepCXX_FALSE=
13366
 
fi
13367
 
 
13368
 
 
13369
 
 
13370
 
ac_ext=cpp
13371
 
ac_cpp='$CXXCPP $CPPFLAGS'
13372
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13373
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13374
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13375
 
if test -z "$CXX"; then
13376
 
  if test -n "$CCC"; then
13377
 
    CXX=$CCC
13378
 
  else
13379
 
    if test -n "$ac_tool_prefix"; then
13380
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13381
 
  do
13382
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13383
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13384
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13385
 
$as_echo_n "checking for $ac_word... " >&6; }
13386
 
if test "${ac_cv_prog_CXX+set}" = set; then
13387
 
  $as_echo_n "(cached) " >&6
13388
 
else
13389
 
  if test -n "$CXX"; then
13390
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
13391
 
else
13392
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13393
 
for as_dir in $PATH
13394
 
do
13395
 
  IFS=$as_save_IFS
13396
 
  test -z "$as_dir" && as_dir=.
13397
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13398
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13399
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13400
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13401
 
    break 2
13402
 
  fi
13403
 
done
13404
 
done
13405
 
IFS=$as_save_IFS
13406
 
 
13407
 
fi
13408
 
fi
13409
 
CXX=$ac_cv_prog_CXX
13410
 
if test -n "$CXX"; then
13411
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
13412
 
$as_echo "$CXX" >&6; }
13413
 
else
13414
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13415
 
$as_echo "no" >&6; }
13416
 
fi
13417
 
 
13418
 
 
13419
 
    test -n "$CXX" && break
13420
 
  done
13421
 
fi
13422
 
if test -z "$CXX"; then
13423
 
  ac_ct_CXX=$CXX
13424
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13425
 
do
13426
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
13427
 
set dummy $ac_prog; ac_word=$2
13428
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13429
 
$as_echo_n "checking for $ac_word... " >&6; }
13430
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13431
 
  $as_echo_n "(cached) " >&6
13432
 
else
13433
 
  if test -n "$ac_ct_CXX"; then
13434
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13435
 
else
13436
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13437
 
for as_dir in $PATH
13438
 
do
13439
 
  IFS=$as_save_IFS
13440
 
  test -z "$as_dir" && as_dir=.
13441
 
  for ac_exec_ext in '' $ac_executable_extensions; do
13442
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13443
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
13444
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13445
 
    break 2
13446
 
  fi
13447
 
done
13448
 
done
13449
 
IFS=$as_save_IFS
13450
 
 
13451
 
fi
13452
 
fi
13453
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13454
 
if test -n "$ac_ct_CXX"; then
13455
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13456
 
$as_echo "$ac_ct_CXX" >&6; }
13457
 
else
13458
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13459
 
$as_echo "no" >&6; }
13460
 
fi
13461
 
 
13462
 
 
13463
 
  test -n "$ac_ct_CXX" && break
13464
 
done
13465
 
 
13466
 
  if test "x$ac_ct_CXX" = x; then
13467
 
    CXX="g++"
13468
 
  else
13469
 
    case $cross_compiling:$ac_tool_warned in
13470
 
yes:)
13471
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13472
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13473
 
ac_tool_warned=yes ;;
13474
 
esac
13475
 
    CXX=$ac_ct_CXX
13476
 
  fi
13477
 
fi
13478
 
 
13479
 
  fi
13480
 
fi
13481
 
# Provide some information about the compiler.
13482
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
13483
 
set X $ac_compile
13484
 
ac_compiler=$2
13485
 
{ (ac_try="$ac_compiler --version >&5"
13486
 
case "(($ac_try" in
13487
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13488
 
  *) ac_try_echo=$ac_try;;
13489
 
esac
13490
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13491
 
$as_echo "$ac_try_echo") >&5
13492
 
  (eval "$ac_compiler --version >&5") 2>&5
13493
 
  ac_status=$?
13494
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495
 
  (exit $ac_status); }
13496
 
{ (ac_try="$ac_compiler -v >&5"
13497
 
case "(($ac_try" in
13498
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13499
 
  *) ac_try_echo=$ac_try;;
13500
 
esac
13501
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13502
 
$as_echo "$ac_try_echo") >&5
13503
 
  (eval "$ac_compiler -v >&5") 2>&5
13504
 
  ac_status=$?
13505
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506
 
  (exit $ac_status); }
13507
 
{ (ac_try="$ac_compiler -V >&5"
13508
 
case "(($ac_try" in
13509
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13510
 
  *) ac_try_echo=$ac_try;;
13511
 
esac
13512
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13513
 
$as_echo "$ac_try_echo") >&5
13514
 
  (eval "$ac_compiler -V >&5") 2>&5
13515
 
  ac_status=$?
13516
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517
 
  (exit $ac_status); }
13518
 
 
13519
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13520
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13521
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13522
 
  $as_echo_n "(cached) " >&6
13523
 
else
13524
 
  cat >conftest.$ac_ext <<_ACEOF
13525
 
/* confdefs.h.  */
13526
 
_ACEOF
13527
 
cat confdefs.h >>conftest.$ac_ext
13528
 
cat >>conftest.$ac_ext <<_ACEOF
13529
 
/* end confdefs.h.  */
13530
 
 
13531
 
int
13532
 
main ()
13533
 
{
13534
 
#ifndef __GNUC__
13535
 
       choke me
13536
 
#endif
13537
 
 
13538
 
  ;
13539
 
  return 0;
13540
 
}
13541
 
_ACEOF
13542
 
rm -f conftest.$ac_objext
13543
 
if { (ac_try="$ac_compile"
13544
 
case "(($ac_try" in
13545
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13546
 
  *) ac_try_echo=$ac_try;;
13547
 
esac
13548
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13549
 
$as_echo "$ac_try_echo") >&5
13550
 
  (eval "$ac_compile") 2>conftest.er1
13551
 
  ac_status=$?
13552
 
  grep -v '^ *+' conftest.er1 >conftest.err
13553
 
  rm -f conftest.er1
13554
 
  cat conftest.err >&5
13555
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556
 
  (exit $ac_status); } && {
13557
 
         test -z "$ac_cxx_werror_flag" ||
13558
 
         test ! -s conftest.err
13559
 
       } && test -s conftest.$ac_objext; then
13560
 
  ac_compiler_gnu=yes
13561
 
else
13562
 
  $as_echo "$as_me: failed program was:" >&5
13563
 
sed 's/^/| /' conftest.$ac_ext >&5
13564
 
 
13565
 
        ac_compiler_gnu=no
13566
 
fi
13567
 
 
13568
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13569
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13570
 
 
13571
 
fi
13572
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13573
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13574
 
if test $ac_compiler_gnu = yes; then
13575
 
  GXX=yes
13576
 
else
13577
 
  GXX=
13578
 
fi
13579
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
13580
 
ac_save_CXXFLAGS=$CXXFLAGS
13581
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13582
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13583
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
13584
 
  $as_echo_n "(cached) " >&6
13585
 
else
13586
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13587
 
   ac_cxx_werror_flag=yes
13588
 
   ac_cv_prog_cxx_g=no
13589
 
   CXXFLAGS="-g"
13590
 
   cat >conftest.$ac_ext <<_ACEOF
13591
 
/* confdefs.h.  */
13592
 
_ACEOF
13593
 
cat confdefs.h >>conftest.$ac_ext
13594
 
cat >>conftest.$ac_ext <<_ACEOF
13595
 
/* end confdefs.h.  */
13596
 
 
13597
 
int
13598
 
main ()
13599
 
{
13600
 
 
13601
 
  ;
13602
 
  return 0;
13603
 
}
13604
 
_ACEOF
13605
 
rm -f conftest.$ac_objext
13606
 
if { (ac_try="$ac_compile"
13607
 
case "(($ac_try" in
13608
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13609
 
  *) ac_try_echo=$ac_try;;
13610
 
esac
13611
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13612
 
$as_echo "$ac_try_echo") >&5
13613
 
  (eval "$ac_compile") 2>conftest.er1
13614
 
  ac_status=$?
13615
 
  grep -v '^ *+' conftest.er1 >conftest.err
13616
 
  rm -f conftest.er1
13617
 
  cat conftest.err >&5
13618
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619
 
  (exit $ac_status); } && {
13620
 
         test -z "$ac_cxx_werror_flag" ||
13621
 
         test ! -s conftest.err
13622
 
       } && test -s conftest.$ac_objext; then
13623
 
  ac_cv_prog_cxx_g=yes
13624
 
else
13625
 
  $as_echo "$as_me: failed program was:" >&5
13626
 
sed 's/^/| /' conftest.$ac_ext >&5
13627
 
 
13628
 
        CXXFLAGS=""
13629
 
      cat >conftest.$ac_ext <<_ACEOF
13630
 
/* confdefs.h.  */
13631
 
_ACEOF
13632
 
cat confdefs.h >>conftest.$ac_ext
13633
 
cat >>conftest.$ac_ext <<_ACEOF
13634
 
/* end confdefs.h.  */
13635
 
 
13636
 
int
13637
 
main ()
13638
 
{
13639
 
 
13640
 
  ;
13641
 
  return 0;
13642
 
}
13643
 
_ACEOF
13644
 
rm -f conftest.$ac_objext
13645
 
if { (ac_try="$ac_compile"
13646
 
case "(($ac_try" in
13647
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13648
 
  *) ac_try_echo=$ac_try;;
13649
 
esac
13650
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13651
 
$as_echo "$ac_try_echo") >&5
13652
 
  (eval "$ac_compile") 2>conftest.er1
13653
 
  ac_status=$?
13654
 
  grep -v '^ *+' conftest.er1 >conftest.err
13655
 
  rm -f conftest.er1
13656
 
  cat conftest.err >&5
13657
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658
 
  (exit $ac_status); } && {
13659
 
         test -z "$ac_cxx_werror_flag" ||
13660
 
         test ! -s conftest.err
13661
 
       } && test -s conftest.$ac_objext; then
13662
 
  :
13663
 
else
13664
 
  $as_echo "$as_me: failed program was:" >&5
13665
 
sed 's/^/| /' conftest.$ac_ext >&5
13666
 
 
13667
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13668
 
         CXXFLAGS="-g"
13669
 
         cat >conftest.$ac_ext <<_ACEOF
13670
 
/* confdefs.h.  */
13671
 
_ACEOF
13672
 
cat confdefs.h >>conftest.$ac_ext
13673
 
cat >>conftest.$ac_ext <<_ACEOF
13674
 
/* end confdefs.h.  */
13675
 
 
13676
 
int
13677
 
main ()
13678
 
{
13679
 
 
13680
 
  ;
13681
 
  return 0;
13682
 
}
13683
 
_ACEOF
13684
 
rm -f conftest.$ac_objext
13685
 
if { (ac_try="$ac_compile"
13686
 
case "(($ac_try" in
13687
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13688
 
  *) ac_try_echo=$ac_try;;
13689
 
esac
13690
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13691
 
$as_echo "$ac_try_echo") >&5
13692
 
  (eval "$ac_compile") 2>conftest.er1
13693
 
  ac_status=$?
13694
 
  grep -v '^ *+' conftest.er1 >conftest.err
13695
 
  rm -f conftest.er1
13696
 
  cat conftest.err >&5
13697
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698
 
  (exit $ac_status); } && {
13699
 
         test -z "$ac_cxx_werror_flag" ||
13700
 
         test ! -s conftest.err
13701
 
       } && test -s conftest.$ac_objext; then
13702
 
  ac_cv_prog_cxx_g=yes
13703
 
else
13704
 
  $as_echo "$as_me: failed program was:" >&5
13705
 
sed 's/^/| /' conftest.$ac_ext >&5
13706
 
 
13707
 
 
13708
 
fi
13709
 
 
13710
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13711
 
fi
13712
 
 
13713
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13714
 
fi
13715
 
 
13716
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13717
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13718
 
fi
13719
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13720
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
13721
 
if test "$ac_test_CXXFLAGS" = set; then
13722
 
  CXXFLAGS=$ac_save_CXXFLAGS
13723
 
elif test $ac_cv_prog_cxx_g = yes; then
13724
 
  if test "$GXX" = yes; then
13725
 
    CXXFLAGS="-g -O2"
13726
 
  else
13727
 
    CXXFLAGS="-g"
13728
 
  fi
13729
 
else
13730
 
  if test "$GXX" = yes; then
13731
 
    CXXFLAGS="-O2"
13732
 
  else
13733
 
    CXXFLAGS=
13734
 
  fi
13735
 
fi
13736
 
ac_ext=c
13737
 
ac_cpp='$CPP $CPPFLAGS'
13738
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13741
 
 
13742
 
depcc="$CXX"  am_compiler_list=
13743
 
 
13744
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
13745
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
13746
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13747
 
  $as_echo_n "(cached) " >&6
13748
 
else
13749
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13750
 
  # We make a subdir and do the tests there.  Otherwise we can end up
13751
 
  # making bogus files that we don't know about and never remove.  For
13752
 
  # instance it was reported that on HP-UX the gcc test will end up
13753
 
  # making a dummy file named `D' -- because `-MD' means `put the output
13754
 
  # in D'.
13755
 
  mkdir conftest.dir
13756
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
13757
 
  # using a relative directory.
13758
 
  cp "$am_depcomp" conftest.dir
13759
 
  cd conftest.dir
13760
 
  # We will build objects and dependencies in a subdirectory because
13761
 
  # it helps to detect inapplicable dependency modes.  For instance
13762
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
13763
 
  # side effect of compilation, but ICC will put the dependencies in
13764
 
  # the current directory while Tru64 will put them in the object
13765
 
  # directory.
13766
 
  mkdir sub
13767
 
 
13768
 
  am_cv_CXX_dependencies_compiler_type=none
13769
 
  if test "$am_compiler_list" = ""; then
13770
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13771
 
  fi
13772
 
  am__universal=false
13773
 
  case " $depcc " in #(
13774
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
13775
 
     esac
13776
 
 
13777
 
  for depmode in $am_compiler_list; do
13778
 
    # Setup a source with many dependencies, because some compilers
13779
 
    # like to wrap large dependency lists on column 80 (with \), and
13780
 
    # we should not choose a depcomp mode which is confused by this.
13781
 
    #
13782
 
    # We need to recreate these files for each test, as the compiler may
13783
 
    # overwrite some of them when testing with obscure command lines.
13784
 
    # This happens at least with the AIX C compiler.
13785
 
    : > sub/conftest.c
13786
 
    for i in 1 2 3 4 5 6; do
13787
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13788
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13789
 
      # Solaris 8's {/usr,}/bin/sh.
13790
 
      touch sub/conftst$i.h
13791
 
    done
13792
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13793
 
 
13794
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
13795
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
13796
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
13797
 
    # versions had trouble with output in subdirs
13798
 
    am__obj=sub/conftest.${OBJEXT-o}
13799
 
    am__minus_obj="-o $am__obj"
13800
 
    case $depmode in
13801
 
    gcc)
13802
 
      # This depmode causes a compiler race in universal mode.
13803
 
      test "$am__universal" = false || continue
13804
 
      ;;
13805
 
    nosideeffect)
13806
 
      # after this tag, mechanisms are not by side-effect, so they'll
13807
 
      # only be used when explicitly requested
13808
 
      if test "x$enable_dependency_tracking" = xyes; then
13809
 
        continue
13810
 
      else
13811
 
        break
13812
 
      fi
13813
 
      ;;
13814
 
    msvisualcpp | msvcmsys)
13815
 
      # This compiler won't grok `-c -o', but also, the minuso test has
13816
 
      # not run yet.  These depmodes are late enough in the game, and
13817
 
      # so weak that their functioning should not be impacted.
13818
 
      am__obj=conftest.${OBJEXT-o}
13819
 
      am__minus_obj=
13820
 
      ;;
13821
 
    none) break ;;
13822
 
    esac
13823
 
    if depmode=$depmode \
13824
 
       source=sub/conftest.c object=$am__obj \
13825
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13826
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13827
 
         >/dev/null 2>conftest.err &&
13828
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13829
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13830
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13831
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13832
 
      # icc doesn't choke on unknown options, it will just issue warnings
13833
 
      # or remarks (even with -Werror).  So we grep stderr for any message
13834
 
      # that says an option was ignored or not supported.
13835
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
13836
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
13837
 
      # The diagnosis changed in icc 8.0:
13838
 
      #   icc: Command line remark: option '-MP' not supported
13839
 
      if (grep 'ignoring option' conftest.err ||
13840
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13841
 
        am_cv_CXX_dependencies_compiler_type=$depmode
13842
 
        break
13843
 
      fi
13844
 
    fi
13845
 
  done
13846
 
 
13847
 
  cd ..
13848
 
  rm -rf conftest.dir
13849
 
else
13850
 
  am_cv_CXX_dependencies_compiler_type=none
13851
 
fi
13852
 
 
13853
 
fi
13854
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
13855
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13856
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13857
 
 
13858
 
 if
13859
 
  test "x$enable_dependency_tracking" != xno \
13860
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13861
 
  am__fastdepCXX_TRUE=
13862
 
  am__fastdepCXX_FALSE='#'
13863
 
else
13864
 
  am__fastdepCXX_TRUE='#'
13865
 
  am__fastdepCXX_FALSE=
13866
 
fi
13867
 
 
13868
 
 
13869
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11867
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13870
11868
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13871
11869
    (test "X$CXX" != "Xg++"))) ; then
13872
11870
  ac_ext=cpp
13874
11872
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13875
11873
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13876
11874
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13877
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
11875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13878
11876
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13879
11877
if test -z "$CXXCPP"; then
13880
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
11878
  if ${ac_cv_prog_CXXCPP+:} false; then :
13881
11879
  $as_echo_n "(cached) " >&6
13882
11880
else
13883
11881
      # Double quotes because CXXCPP needs to be expanded
13892
11890
  # <limits.h> exists even on freestanding compilers.
13893
11891
  # On the NeXT, cc -E runs the code through the compiler's parser,
13894
11892
  # not just through cpp. "Syntax error" is here to catch this case.
13895
 
  cat >conftest.$ac_ext <<_ACEOF
13896
 
/* confdefs.h.  */
13897
 
_ACEOF
13898
 
cat confdefs.h >>conftest.$ac_ext
13899
 
cat >>conftest.$ac_ext <<_ACEOF
 
11893
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900
11894
/* end confdefs.h.  */
13901
11895
#ifdef __STDC__
13902
11896
# include <limits.h>
13905
11899
#endif
13906
11900
                     Syntax error
13907
11901
_ACEOF
13908
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13909
 
case "(($ac_try" in
13910
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13911
 
  *) ac_try_echo=$ac_try;;
13912
 
esac
13913
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13914
 
$as_echo "$ac_try_echo") >&5
13915
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13916
 
  ac_status=$?
13917
 
  grep -v '^ *+' conftest.er1 >conftest.err
13918
 
  rm -f conftest.er1
13919
 
  cat conftest.err >&5
13920
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921
 
  (exit $ac_status); } >/dev/null && {
13922
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13923
 
         test ! -s conftest.err
13924
 
       }; then
13925
 
  :
 
11902
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11903
 
13926
11904
else
13927
 
  $as_echo "$as_me: failed program was:" >&5
13928
 
sed 's/^/| /' conftest.$ac_ext >&5
13929
 
 
13930
11905
  # Broken: fails on valid input.
13931
11906
continue
13932
11907
fi
13933
 
 
13934
 
rm -f conftest.err conftest.$ac_ext
 
11908
rm -f conftest.err conftest.i conftest.$ac_ext
13935
11909
 
13936
11910
  # OK, works on sane cases.  Now check whether nonexistent headers
13937
11911
  # can be detected and how.
13938
 
  cat >conftest.$ac_ext <<_ACEOF
13939
 
/* confdefs.h.  */
13940
 
_ACEOF
13941
 
cat confdefs.h >>conftest.$ac_ext
13942
 
cat >>conftest.$ac_ext <<_ACEOF
 
11912
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943
11913
/* end confdefs.h.  */
13944
11914
#include <ac_nonexistent.h>
13945
11915
_ACEOF
13946
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13947
 
case "(($ac_try" in
13948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13949
 
  *) ac_try_echo=$ac_try;;
13950
 
esac
13951
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13952
 
$as_echo "$ac_try_echo") >&5
13953
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13954
 
  ac_status=$?
13955
 
  grep -v '^ *+' conftest.er1 >conftest.err
13956
 
  rm -f conftest.er1
13957
 
  cat conftest.err >&5
13958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959
 
  (exit $ac_status); } >/dev/null && {
13960
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13961
 
         test ! -s conftest.err
13962
 
       }; then
 
11916
if ac_fn_cxx_try_cpp "$LINENO"; then :
13963
11917
  # Broken: success on invalid input.
13964
11918
continue
13965
11919
else
13966
 
  $as_echo "$as_me: failed program was:" >&5
13967
 
sed 's/^/| /' conftest.$ac_ext >&5
13968
 
 
13969
11920
  # Passes both tests.
13970
11921
ac_preproc_ok=:
13971
11922
break
13972
11923
fi
13973
 
 
13974
 
rm -f conftest.err conftest.$ac_ext
 
11924
rm -f conftest.err conftest.i conftest.$ac_ext
13975
11925
 
13976
11926
done
13977
11927
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13978
 
rm -f conftest.err conftest.$ac_ext
13979
 
if $ac_preproc_ok; then
 
11928
rm -f conftest.i conftest.err conftest.$ac_ext
 
11929
if $ac_preproc_ok; then :
13980
11930
  break
13981
11931
fi
13982
11932
 
13988
11938
else
13989
11939
  ac_cv_prog_CXXCPP=$CXXCPP
13990
11940
fi
13991
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
11941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13992
11942
$as_echo "$CXXCPP" >&6; }
13993
11943
ac_preproc_ok=false
13994
11944
for ac_cxx_preproc_warn_flag in '' yes
13999
11949
  # <limits.h> exists even on freestanding compilers.
14000
11950
  # On the NeXT, cc -E runs the code through the compiler's parser,
14001
11951
  # not just through cpp. "Syntax error" is here to catch this case.
14002
 
  cat >conftest.$ac_ext <<_ACEOF
14003
 
/* confdefs.h.  */
14004
 
_ACEOF
14005
 
cat confdefs.h >>conftest.$ac_ext
14006
 
cat >>conftest.$ac_ext <<_ACEOF
 
11952
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007
11953
/* end confdefs.h.  */
14008
11954
#ifdef __STDC__
14009
11955
# include <limits.h>
14012
11958
#endif
14013
11959
                     Syntax error
14014
11960
_ACEOF
14015
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14016
 
case "(($ac_try" in
14017
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14018
 
  *) ac_try_echo=$ac_try;;
14019
 
esac
14020
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14021
 
$as_echo "$ac_try_echo") >&5
14022
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14023
 
  ac_status=$?
14024
 
  grep -v '^ *+' conftest.er1 >conftest.err
14025
 
  rm -f conftest.er1
14026
 
  cat conftest.err >&5
14027
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028
 
  (exit $ac_status); } >/dev/null && {
14029
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
14030
 
         test ! -s conftest.err
14031
 
       }; then
14032
 
  :
 
11961
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11962
 
14033
11963
else
14034
 
  $as_echo "$as_me: failed program was:" >&5
14035
 
sed 's/^/| /' conftest.$ac_ext >&5
14036
 
 
14037
11964
  # Broken: fails on valid input.
14038
11965
continue
14039
11966
fi
14040
 
 
14041
 
rm -f conftest.err conftest.$ac_ext
 
11967
rm -f conftest.err conftest.i conftest.$ac_ext
14042
11968
 
14043
11969
  # OK, works on sane cases.  Now check whether nonexistent headers
14044
11970
  # can be detected and how.
14045
 
  cat >conftest.$ac_ext <<_ACEOF
14046
 
/* confdefs.h.  */
14047
 
_ACEOF
14048
 
cat confdefs.h >>conftest.$ac_ext
14049
 
cat >>conftest.$ac_ext <<_ACEOF
 
11971
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050
11972
/* end confdefs.h.  */
14051
11973
#include <ac_nonexistent.h>
14052
11974
_ACEOF
14053
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14054
 
case "(($ac_try" in
14055
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14056
 
  *) ac_try_echo=$ac_try;;
14057
 
esac
14058
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14059
 
$as_echo "$ac_try_echo") >&5
14060
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14061
 
  ac_status=$?
14062
 
  grep -v '^ *+' conftest.er1 >conftest.err
14063
 
  rm -f conftest.er1
14064
 
  cat conftest.err >&5
14065
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066
 
  (exit $ac_status); } >/dev/null && {
14067
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
14068
 
         test ! -s conftest.err
14069
 
       }; then
 
11975
if ac_fn_cxx_try_cpp "$LINENO"; then :
14070
11976
  # Broken: success on invalid input.
14071
11977
continue
14072
11978
else
14073
 
  $as_echo "$as_me: failed program was:" >&5
14074
 
sed 's/^/| /' conftest.$ac_ext >&5
14075
 
 
14076
11979
  # Passes both tests.
14077
11980
ac_preproc_ok=:
14078
11981
break
14079
11982
fi
14080
 
 
14081
 
rm -f conftest.err conftest.$ac_ext
 
11983
rm -f conftest.err conftest.i conftest.$ac_ext
14082
11984
 
14083
11985
done
14084
11986
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14085
 
rm -f conftest.err conftest.$ac_ext
14086
 
if $ac_preproc_ok; then
14087
 
  :
 
11987
rm -f conftest.i conftest.err conftest.$ac_ext
 
11988
if $ac_preproc_ok; then :
 
11989
 
14088
11990
else
14089
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
11991
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14090
11992
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14091
 
_lt_caught_CXX_error=yes; }
 
11993
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
11994
See \`config.log' for more details" "$LINENO" 5; }
14092
11995
fi
14093
11996
 
14094
 
ac_ext=c
14095
 
ac_cpp='$CPP $CPPFLAGS'
14096
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14097
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14098
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11997
ac_ext=cpp
 
11998
ac_cpp='$CXXCPP $CPPFLAGS'
 
11999
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12000
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12001
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14099
12002
 
14100
12003
else
14101
12004
  _lt_caught_CXX_error=yes
14102
12005
fi
14103
12006
 
14104
 
 
14105
 
 
14106
 
 
14107
12007
ac_ext=cpp
14108
12008
ac_cpp='$CXXCPP $CPPFLAGS'
14109
12009
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14129
12029
module_expsym_cmds_CXX=
14130
12030
link_all_deplibs_CXX=unknown
14131
12031
old_archive_cmds_CXX=$old_archive_cmds
 
12032
reload_flag_CXX=$reload_flag
 
12033
reload_cmds_CXX=$reload_cmds
14132
12034
no_undefined_flag_CXX=
14133
12035
whole_archive_flag_spec_CXX=
14134
12036
enable_shared_with_static_runtimes_CXX=no
14184
12086
 
14185
12087
  # Allow CC to be a program name with arguments.
14186
12088
  lt_save_CC=$CC
 
12089
  lt_save_CFLAGS=$CFLAGS
14187
12090
  lt_save_LD=$LD
14188
12091
  lt_save_GCC=$GCC
14189
12092
  GCC=$GXX
14201
12104
  fi
14202
12105
  test -z "${LDCXX+set}" || LD=$LDCXX
14203
12106
  CC=${CXX-"c++"}
 
12107
  CFLAGS=$CXXFLAGS
14204
12108
  compiler=$CC
14205
12109
  compiler_CXX=$CC
14206
12110
  for cc_temp in $compiler""; do
14211
12115
    *) break;;
14212
12116
  esac
14213
12117
done
14214
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12118
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14215
12119
 
14216
12120
 
14217
12121
  if test -n "$compiler"; then
14229
12133
 
14230
12134
 
14231
12135
# Check whether --with-gnu-ld was given.
14232
 
if test "${with_gnu_ld+set}" = set; then
 
12136
if test "${with_gnu_ld+set}" = set; then :
14233
12137
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14234
12138
else
14235
12139
  with_gnu_ld=no
14238
12142
ac_prog=ld
14239
12143
if test "$GCC" = yes; then
14240
12144
  # Check if gcc -print-prog-name=ld gives a path.
14241
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
12145
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14242
12146
$as_echo_n "checking for ld used by $CC... " >&6; }
14243
12147
  case $host in
14244
12148
  *-*-mingw*)
14268
12172
    ;;
14269
12173
  esac
14270
12174
elif test "$with_gnu_ld" = yes; then
14271
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
12175
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14272
12176
$as_echo_n "checking for GNU ld... " >&6; }
14273
12177
else
14274
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
12178
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14275
12179
$as_echo_n "checking for non-GNU ld... " >&6; }
14276
12180
fi
14277
 
if test "${lt_cv_path_LD+set}" = set; then
 
12181
if ${lt_cv_path_LD+:} false; then :
14278
12182
  $as_echo_n "(cached) " >&6
14279
12183
else
14280
12184
  if test -z "$LD"; then
14305
12209
 
14306
12210
LD="$lt_cv_path_LD"
14307
12211
if test -n "$LD"; then
14308
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
12212
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14309
12213
$as_echo "$LD" >&6; }
14310
12214
else
14311
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12215
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14312
12216
$as_echo "no" >&6; }
14313
12217
fi
14314
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14315
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14316
 
   { (exit 1); exit 1; }; }
14317
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
12218
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
12219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14318
12220
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14319
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
12221
if ${lt_cv_prog_gnu_ld+:} false; then :
14320
12222
  $as_echo_n "(cached) " >&6
14321
12223
else
14322
12224
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14329
12231
  ;;
14330
12232
esac
14331
12233
fi
14332
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
12234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14333
12235
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14334
12236
with_gnu_ld=$lt_cv_prog_gnu_ld
14335
12237
 
14342
12244
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14343
12245
      # archiving commands below assume that GNU ld is being used.
14344
12246
      if test "$with_gnu_ld" = yes; then
14345
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14346
 
        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'
 
12247
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12248
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14347
12249
 
14348
12250
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14349
12251
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14375
12277
      # Commands to make compiler produce verbose output that lists
14376
12278
      # what "hidden" libraries, object files and flags are used when
14377
12279
      # linking a shared library.
14378
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12280
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14379
12281
 
14380
12282
    else
14381
12283
      GXX=no
14384
12286
    fi
14385
12287
 
14386
12288
    # PORTME: fill in a description of your system's C++ link characteristics
14387
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12289
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14388
12290
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14389
12291
    ld_shlibs_CXX=yes
14390
12292
    case $host_os in
14485
12387
          allow_undefined_flag_CXX='-berok'
14486
12388
          # Determine the default libpath from the value encoded in an empty
14487
12389
          # executable.
14488
 
          cat >conftest.$ac_ext <<_ACEOF
14489
 
/* confdefs.h.  */
14490
 
_ACEOF
14491
 
cat confdefs.h >>conftest.$ac_ext
14492
 
cat >>conftest.$ac_ext <<_ACEOF
 
12390
          if test "${lt_cv_aix_libpath+set}" = set; then
 
12391
  aix_libpath=$lt_cv_aix_libpath
 
12392
else
 
12393
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12394
  $as_echo_n "(cached) " >&6
 
12395
else
 
12396
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493
12397
/* end confdefs.h.  */
14494
12398
 
14495
12399
int
14500
12404
  return 0;
14501
12405
}
14502
12406
_ACEOF
14503
 
rm -f conftest.$ac_objext conftest$ac_exeext
14504
 
if { (ac_try="$ac_link"
14505
 
case "(($ac_try" in
14506
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14507
 
  *) ac_try_echo=$ac_try;;
14508
 
esac
14509
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14510
 
$as_echo "$ac_try_echo") >&5
14511
 
  (eval "$ac_link") 2>conftest.er1
14512
 
  ac_status=$?
14513
 
  grep -v '^ *+' conftest.er1 >conftest.err
14514
 
  rm -f conftest.er1
14515
 
  cat conftest.err >&5
14516
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517
 
  (exit $ac_status); } && {
14518
 
         test -z "$ac_cxx_werror_flag" ||
14519
 
         test ! -s conftest.err
14520
 
       } && test -s conftest$ac_exeext && {
14521
 
         test "$cross_compiling" = yes ||
14522
 
         $as_test_x conftest$ac_exeext
14523
 
       }; then
14524
 
 
14525
 
lt_aix_libpath_sed='
14526
 
    /Import File Strings/,/^$/ {
14527
 
        /^0/ {
14528
 
            s/^0  *\(.*\)$/\1/
14529
 
            p
14530
 
        }
14531
 
    }'
14532
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14533
 
# Check for a 64-bit object if we didn't find anything.
14534
 
if test -z "$aix_libpath"; then
14535
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14536
 
fi
14537
 
else
14538
 
  $as_echo "$as_me: failed program was:" >&5
14539
 
sed 's/^/| /' conftest.$ac_ext >&5
14540
 
 
14541
 
 
14542
 
fi
14543
 
 
14544
 
rm -rf conftest.dSYM
14545
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14546
 
      conftest$ac_exeext conftest.$ac_ext
14547
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12407
if ac_fn_cxx_try_link "$LINENO"; then :
 
12408
 
 
12409
  lt_aix_libpath_sed='
 
12410
      /Import File Strings/,/^$/ {
 
12411
          /^0/ {
 
12412
              s/^0  *\([^ ]*\) *$/\1/
 
12413
              p
 
12414
          }
 
12415
      }'
 
12416
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12417
  # Check for a 64-bit object if we didn't find anything.
 
12418
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12419
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12420
  fi
 
12421
fi
 
12422
rm -f core conftest.err conftest.$ac_objext \
 
12423
    conftest$ac_exeext conftest.$ac_ext
 
12424
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12425
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12426
  fi
 
12427
 
 
12428
fi
 
12429
 
 
12430
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12431
fi
14548
12432
 
14549
12433
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14550
12434
 
14551
 
          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"
 
12435
          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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14552
12436
        else
14553
12437
          if test "$host_cpu" = ia64; then
14554
12438
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14557
12441
          else
14558
12442
            # Determine the default libpath from the value encoded in an
14559
12443
            # empty executable.
14560
 
            cat >conftest.$ac_ext <<_ACEOF
14561
 
/* confdefs.h.  */
14562
 
_ACEOF
14563
 
cat confdefs.h >>conftest.$ac_ext
14564
 
cat >>conftest.$ac_ext <<_ACEOF
 
12444
            if test "${lt_cv_aix_libpath+set}" = set; then
 
12445
  aix_libpath=$lt_cv_aix_libpath
 
12446
else
 
12447
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12448
  $as_echo_n "(cached) " >&6
 
12449
else
 
12450
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565
12451
/* end confdefs.h.  */
14566
12452
 
14567
12453
int
14572
12458
  return 0;
14573
12459
}
14574
12460
_ACEOF
14575
 
rm -f conftest.$ac_objext conftest$ac_exeext
14576
 
if { (ac_try="$ac_link"
14577
 
case "(($ac_try" in
14578
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579
 
  *) ac_try_echo=$ac_try;;
14580
 
esac
14581
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14582
 
$as_echo "$ac_try_echo") >&5
14583
 
  (eval "$ac_link") 2>conftest.er1
14584
 
  ac_status=$?
14585
 
  grep -v '^ *+' conftest.er1 >conftest.err
14586
 
  rm -f conftest.er1
14587
 
  cat conftest.err >&5
14588
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589
 
  (exit $ac_status); } && {
14590
 
         test -z "$ac_cxx_werror_flag" ||
14591
 
         test ! -s conftest.err
14592
 
       } && test -s conftest$ac_exeext && {
14593
 
         test "$cross_compiling" = yes ||
14594
 
         $as_test_x conftest$ac_exeext
14595
 
       }; then
14596
 
 
14597
 
lt_aix_libpath_sed='
14598
 
    /Import File Strings/,/^$/ {
14599
 
        /^0/ {
14600
 
            s/^0  *\(.*\)$/\1/
14601
 
            p
14602
 
        }
14603
 
    }'
14604
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14605
 
# Check for a 64-bit object if we didn't find anything.
14606
 
if test -z "$aix_libpath"; then
14607
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14608
 
fi
14609
 
else
14610
 
  $as_echo "$as_me: failed program was:" >&5
14611
 
sed 's/^/| /' conftest.$ac_ext >&5
14612
 
 
14613
 
 
14614
 
fi
14615
 
 
14616
 
rm -rf conftest.dSYM
14617
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14618
 
      conftest$ac_exeext conftest.$ac_ext
14619
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12461
if ac_fn_cxx_try_link "$LINENO"; then :
 
12462
 
 
12463
  lt_aix_libpath_sed='
 
12464
      /Import File Strings/,/^$/ {
 
12465
          /^0/ {
 
12466
              s/^0  *\([^ ]*\) *$/\1/
 
12467
              p
 
12468
          }
 
12469
      }'
 
12470
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12471
  # Check for a 64-bit object if we didn't find anything.
 
12472
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12473
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12474
  fi
 
12475
fi
 
12476
rm -f core conftest.err conftest.$ac_objext \
 
12477
    conftest$ac_exeext conftest.$ac_ext
 
12478
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12479
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12480
  fi
 
12481
 
 
12482
fi
 
12483
 
 
12484
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12485
fi
14620
12486
 
14621
12487
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14622
12488
            # Warning - without using the other run time loading flags,
14623
12489
            # -berok will link without error, but may produce a broken library.
14624
12490
            no_undefined_flag_CXX=' ${wl}-bernotok'
14625
12491
            allow_undefined_flag_CXX=' ${wl}-berok'
14626
 
            # Exported symbols can be pulled into shared objects from archives
14627
 
            whole_archive_flag_spec_CXX='$convenience'
 
12492
            if test "$with_gnu_ld" = yes; then
 
12493
              # We only use this code for GNU lds that support --whole-archive.
 
12494
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12495
            else
 
12496
              # Exported symbols can be pulled into shared objects from archives
 
12497
              whole_archive_flag_spec_CXX='$convenience'
 
12498
            fi
14628
12499
            archive_cmds_need_lc_CXX=yes
14629
12500
            # This is similar to how AIX traditionally builds its shared
14630
12501
            # libraries.
14654
12525
        ;;
14655
12526
 
14656
12527
      cygwin* | mingw* | pw32* | cegcc*)
14657
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14658
 
        # as there is no search path for DLLs.
14659
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
14660
 
        allow_undefined_flag_CXX=unsupported
14661
 
        always_export_symbols_CXX=no
14662
 
        enable_shared_with_static_runtimes_CXX=yes
 
12528
        case $GXX,$cc_basename in
 
12529
        ,cl* | no,cl*)
 
12530
          # Native MSVC
 
12531
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
12532
          # no search path for DLLs.
 
12533
          hardcode_libdir_flag_spec_CXX=' '
 
12534
          allow_undefined_flag_CXX=unsupported
 
12535
          always_export_symbols_CXX=yes
 
12536
          file_list_spec_CXX='@'
 
12537
          # Tell ltmain to make .lib files, not .a files.
 
12538
          libext=lib
 
12539
          # Tell ltmain to make .dll files, not .so files.
 
12540
          shrext_cmds=".dll"
 
12541
          # FIXME: Setting linknames here is a bad hack.
 
12542
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
12543
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12544
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
12545
            else
 
12546
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
12547
            fi~
 
12548
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
12549
            linknames='
 
12550
          # The linker will not automatically build a static lib if we build a DLL.
 
12551
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
12552
          enable_shared_with_static_runtimes_CXX=yes
 
12553
          # Don't use ranlib
 
12554
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
12555
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
12556
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
12557
            case $lt_outputfile in
 
12558
              *.exe|*.EXE) ;;
 
12559
              *)
 
12560
                lt_outputfile="$lt_outputfile.exe"
 
12561
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
12562
                ;;
 
12563
            esac~
 
12564
            func_to_tool_file "$lt_outputfile"~
 
12565
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
12566
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
12567
              $RM "$lt_outputfile.manifest";
 
12568
            fi'
 
12569
          ;;
 
12570
        *)
 
12571
          # g++
 
12572
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12573
          # as there is no search path for DLLs.
 
12574
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12575
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
12576
          allow_undefined_flag_CXX=unsupported
 
12577
          always_export_symbols_CXX=no
 
12578
          enable_shared_with_static_runtimes_CXX=yes
14663
12579
 
14664
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14665
 
          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'
14666
 
          # If the export-symbols file already is a .def file (1st line
14667
 
          # is EXPORTS), use it as is; otherwise, prepend...
14668
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14669
 
            cp $export_symbols $output_objdir/$soname.def;
14670
 
          else
14671
 
            echo EXPORTS > $output_objdir/$soname.def;
14672
 
            cat $export_symbols >> $output_objdir/$soname.def;
14673
 
          fi~
14674
 
          $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'
14675
 
        else
14676
 
          ld_shlibs_CXX=no
14677
 
        fi
14678
 
        ;;
 
12580
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12581
            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'
 
12582
            # If the export-symbols file already is a .def file (1st line
 
12583
            # is EXPORTS), use it as is; otherwise, prepend...
 
12584
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12585
              cp $export_symbols $output_objdir/$soname.def;
 
12586
            else
 
12587
              echo EXPORTS > $output_objdir/$soname.def;
 
12588
              cat $export_symbols >> $output_objdir/$soname.def;
 
12589
            fi~
 
12590
            $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'
 
12591
          else
 
12592
            ld_shlibs_CXX=no
 
12593
          fi
 
12594
          ;;
 
12595
        esac
 
12596
        ;;
14679
12597
      darwin* | rhapsody*)
14680
12598
 
14681
12599
 
14683
12601
  hardcode_direct_CXX=no
14684
12602
  hardcode_automatic_CXX=yes
14685
12603
  hardcode_shlibpath_var_CXX=unsupported
14686
 
  whole_archive_flag_spec_CXX=''
 
12604
  if test "$lt_cv_ld_force_load" = "yes"; then
 
12605
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
12606
  else
 
12607
    whole_archive_flag_spec_CXX=''
 
12608
  fi
14687
12609
  link_all_deplibs_CXX=yes
14688
12610
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14689
12611
  case $cc_basename in
14691
12613
     *) _lt_dar_can_shared=$GCC ;;
14692
12614
  esac
14693
12615
  if test "$_lt_dar_can_shared" = "yes"; then
14694
 
    output_verbose_link_cmd=echo
 
12616
    output_verbose_link_cmd=func_echo_all
14695
12617
    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}"
14696
12618
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14697
12619
    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}"
14744
12666
      gnu*)
14745
12667
        ;;
14746
12668
 
 
12669
      haiku*)
 
12670
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12671
        link_all_deplibs_CXX=yes
 
12672
        ;;
 
12673
 
14747
12674
      hpux9*)
14748
12675
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14749
12676
        hardcode_libdir_separator_CXX=:
14768
12695
            # explicitly linking system object files so we need to strip them
14769
12696
            # from the output so that they don't get included in the library
14770
12697
            # dependencies.
14771
 
            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'
 
12698
            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; func_echo_all "$list"'
14772
12699
            ;;
14773
12700
          *)
14774
12701
            if test "$GXX" = yes; then
14775
 
              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'
 
12702
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
14776
12703
            else
14777
12704
              # FIXME: insert proper C++ library support
14778
12705
              ld_shlibs_CXX=no
14833
12760
            # explicitly linking system object files so we need to strip them
14834
12761
            # from the output so that they don't get included in the library
14835
12762
            # dependencies.
14836
 
            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'
 
12763
            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; func_echo_all "$list"'
14837
12764
            ;;
14838
12765
          *)
14839
12766
            if test "$GXX" = yes; then
14843
12770
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14844
12771
                    ;;
14845
12772
                  ia64*)
14846
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12773
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14847
12774
                    ;;
14848
12775
                  *)
14849
 
                    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'
 
12776
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14850
12777
                    ;;
14851
12778
                esac
14852
12779
              fi
14876
12803
        case $cc_basename in
14877
12804
          CC*)
14878
12805
            # SGI C++
14879
 
            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'
 
12806
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14880
12807
 
14881
12808
            # Archives containing C++ object files must be created using
14882
12809
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14887
12814
          *)
14888
12815
            if test "$GXX" = yes; then
14889
12816
              if test "$with_gnu_ld" = no; then
14890
 
                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'
 
12817
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14891
12818
              else
14892
 
                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'
 
12819
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14893
12820
              fi
14894
12821
            fi
14895
12822
            link_all_deplibs_CXX=yes
14900
12827
        inherit_rpath_CXX=yes
14901
12828
        ;;
14902
12829
 
14903
 
      linux* | k*bsd*-gnu)
 
12830
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14904
12831
        case $cc_basename in
14905
12832
          KCC*)
14906
12833
            # Kuck and Associates, Inc. (KAI) C++ Compiler
14918
12845
            # explicitly linking system object files so we need to strip them
14919
12846
            # from the output so that they don't get included in the library
14920
12847
            # dependencies.
14921
 
            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'
 
12848
            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; func_echo_all "$list"'
14922
12849
 
14923
12850
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14924
12851
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14955
12882
          pgCC* | pgcpp*)
14956
12883
            # Portland Group C++ compiler
14957
12884
            case `$CC -V` in
14958
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12885
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14959
12886
              prelink_cmds_CXX='tpldir=Template.dir~
14960
12887
                rm -rf $tpldir~
14961
12888
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14962
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12889
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14963
12890
              old_archive_cmds_CXX='tpldir=Template.dir~
14964
12891
                rm -rf $tpldir~
14965
12892
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14966
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12893
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14967
12894
                $RANLIB $oldlib'
14968
12895
              archive_cmds_CXX='tpldir=Template.dir~
14969
12896
                rm -rf $tpldir~
14970
12897
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14971
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12898
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14972
12899
              archive_expsym_cmds_CXX='tpldir=Template.dir~
14973
12900
                rm -rf $tpldir~
14974
12901
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14975
 
                $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'
 
12902
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14976
12903
              ;;
14977
 
            *) # Version 6 will use weak symbols
 
12904
            *) # Version 6 and above use weak symbols
14978
12905
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14979
12906
              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'
14980
12907
              ;;
14982
12909
 
14983
12910
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14984
12911
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14985
 
            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'
 
12912
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14986
12913
            ;;
14987
12914
          cxx*)
14988
12915
            # Compaq C++
15001
12928
            # explicitly linking system object files so we need to strip them
15002
12929
            # from the output so that they don't get included in the library
15003
12930
            # dependencies.
15004
 
            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'
 
12931
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15005
12932
            ;;
15006
 
          xl*)
 
12933
          xl* | mpixl* | bgxl*)
15007
12934
            # IBM XL 8.0 on PPC, with GNU ld
15008
12935
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15009
12936
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15023
12950
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15024
12951
              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'
15025
12952
              hardcode_libdir_flag_spec_CXX='-R$libdir'
15026
 
              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'
 
12953
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15027
12954
              compiler_needs_object_CXX=yes
15028
12955
 
15029
12956
              # Not sure whether something based on
15030
12957
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15031
12958
              # would be better.
15032
 
              output_verbose_link_cmd='echo'
 
12959
              output_verbose_link_cmd='func_echo_all'
15033
12960
 
15034
12961
              # Archives containing C++ object files must be created using
15035
12962
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15098
13025
            export_dynamic_flag_spec_CXX='${wl}-E'
15099
13026
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15100
13027
          fi
15101
 
          output_verbose_link_cmd=echo
 
13028
          output_verbose_link_cmd=func_echo_all
15102
13029
        else
15103
13030
          ld_shlibs_CXX=no
15104
13031
        fi
15133
13060
            case $host in
15134
13061
              osf3*)
15135
13062
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15136
 
                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'
 
13063
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15137
13064
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15138
13065
                ;;
15139
13066
              *)
15140
13067
                allow_undefined_flag_CXX=' -expect_unresolved \*'
15141
 
                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'
 
13068
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15142
13069
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15143
13070
                  echo "-hidden">> $lib.exp~
15144
 
                  $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~
 
13071
                  $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15145
13072
                  $RM $lib.exp'
15146
13073
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15147
13074
                ;;
15157
13084
            # explicitly linking system object files so we need to strip them
15158
13085
            # from the output so that they don't get included in the library
15159
13086
            # dependencies.
15160
 
            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'
 
13087
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15161
13088
            ;;
15162
13089
          *)
15163
13090
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15164
13091
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15165
13092
              case $host in
15166
13093
                osf3*)
15167
 
                  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'
 
13094
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15168
13095
                  ;;
15169
13096
                *)
15170
 
                  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'
 
13097
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15171
13098
                  ;;
15172
13099
              esac
15173
13100
 
15177
13104
              # Commands to make compiler produce verbose output that lists
15178
13105
              # what "hidden" libraries, object files and flags are used when
15179
13106
              # linking a shared library.
15180
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13107
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15181
13108
 
15182
13109
            else
15183
13110
              # FIXME: insert proper C++ library support
15213
13140
 
15214
13141
      solaris*)
15215
13142
        case $cc_basename in
15216
 
          CC*)
 
13143
          CC* | sunCC*)
15217
13144
            # Sun C++ 4.2, 5.x and Centerline C++
15218
13145
            archive_cmds_need_lc_CXX=yes
15219
13146
            no_undefined_flag_CXX=' -zdefs'
15234
13161
            esac
15235
13162
            link_all_deplibs_CXX=yes
15236
13163
 
15237
 
            output_verbose_link_cmd='echo'
 
13164
            output_verbose_link_cmd='func_echo_all'
15238
13165
 
15239
13166
            # Archives containing C++ object files must be created using
15240
13167
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15254
13181
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15255
13182
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15256
13183
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15257
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13184
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15258
13185
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15259
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13186
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15260
13187
 
15261
13188
                # Commands to make compiler produce verbose output that lists
15262
13189
                # what "hidden" libraries, object files and flags are used when
15263
13190
                # linking a shared library.
15264
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13191
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15265
13192
              else
15266
13193
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
15267
13194
                # platform.
15272
13199
                # Commands to make compiler produce verbose output that lists
15273
13200
                # what "hidden" libraries, object files and flags are used when
15274
13201
                # linking a shared library.
15275
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13202
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15276
13203
              fi
15277
13204
 
15278
13205
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15326
13253
          CC*)
15327
13254
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15328
13255
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13256
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
13257
              '"$old_archive_cmds_CXX"
 
13258
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
13259
              '"$reload_cmds_CXX"
15329
13260
            ;;
15330
13261
          *)
15331
13262
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15359
13290
        ;;
15360
13291
    esac
15361
13292
 
15362
 
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13293
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15363
13294
$as_echo "$ld_shlibs_CXX" >&6; }
15364
13295
    test "$ld_shlibs_CXX" = no && can_build_shared=no
15365
13296
 
15387
13318
};
15388
13319
_LT_EOF
15389
13320
 
15390
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13321
 
 
13322
_lt_libdeps_save_CFLAGS=$CFLAGS
 
13323
case "$CC $CFLAGS " in #(
 
13324
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
13325
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
13326
esac
 
13327
 
 
13328
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15391
13329
  (eval $ac_compile) 2>&5
15392
13330
  ac_status=$?
15393
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394
 
  (exit $ac_status); }; then
 
13331
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13332
  test $ac_status = 0; }; then
15395
13333
  # Parse the compiler output and extract the necessary
15396
13334
  # objects, libraries and library flags.
15397
13335
 
15400
13338
  pre_test_object_deps_done=no
15401
13339
 
15402
13340
  for p in `eval "$output_verbose_link_cmd"`; do
15403
 
    case $p in
 
13341
    case ${prev}${p} in
15404
13342
 
15405
13343
    -L* | -R* | -l*)
15406
13344
       # Some compilers place space between "-{L,R}" and the path.
15409
13347
          test $p = "-R"; then
15410
13348
         prev=$p
15411
13349
         continue
15412
 
       else
15413
 
         prev=
15414
13350
       fi
15415
13351
 
 
13352
       # Expand the sysroot to ease extracting the directories later.
 
13353
       if test -z "$prev"; then
 
13354
         case $p in
 
13355
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
13356
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
13357
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
13358
         esac
 
13359
       fi
 
13360
       case $p in
 
13361
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
13362
       esac
15416
13363
       if test "$pre_test_object_deps_done" = no; then
15417
 
         case $p in
15418
 
         -L* | -R*)
 
13364
         case ${prev} in
 
13365
         -L | -R)
15419
13366
           # Internal compiler library paths should come after those
15420
13367
           # provided the user.  The postdeps already come after the
15421
13368
           # user supplied libs so there is no need to process them.
15435
13382
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15436
13383
         fi
15437
13384
       fi
 
13385
       prev=
15438
13386
       ;;
15439
13387
 
 
13388
    *.lto.$objext) ;; # Ignore GCC LTO objects
15440
13389
    *.$objext)
15441
13390
       # This assumes that the test object file only shows up
15442
13391
       # once in the compiler output.
15472
13421
fi
15473
13422
 
15474
13423
$RM -f confest.$objext
 
13424
CFLAGS=$_lt_libdeps_save_CFLAGS
15475
13425
 
15476
13426
# PORTME: override above test on systems where it is broken
15477
13427
case $host_os in
15507
13457
 
15508
13458
solaris*)
15509
13459
  case $cc_basename in
15510
 
  CC*)
 
13460
  CC* | sunCC*)
15511
13461
    # The more standards-conforming stlport4 library is
15512
13462
    # incompatible with the Cstd library. Avoid specifying
15513
13463
    # it if it's in CXXFLAGS. Ignore libCrun as
15572
13522
lt_prog_compiler_pic_CXX=
15573
13523
lt_prog_compiler_static_CXX=
15574
13524
 
15575
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15576
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15577
13525
 
15578
13526
  # C++ specific cases for pic, static, wl, etc.
15579
13527
  if test "$GXX" = yes; then
15623
13571
      # DJGPP does not support shared libraries at all
15624
13572
      lt_prog_compiler_pic_CXX=
15625
13573
      ;;
 
13574
    haiku*)
 
13575
      # PIC is the default for Haiku.
 
13576
      # The "-static" flag exists, but is broken.
 
13577
      lt_prog_compiler_static_CXX=
 
13578
      ;;
15626
13579
    interix[3-9]*)
15627
13580
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15628
13581
      # Instead, we relocate shared libraries at runtime.
15672
13625
          ;;
15673
13626
        esac
15674
13627
        ;;
 
13628
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
13629
        # This hack is so that the source file can tell whether it is being
 
13630
        # built for inclusion in a dll (and should export symbols for example).
 
13631
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
13632
        ;;
15675
13633
      dgux*)
15676
13634
        case $cc_basename in
15677
13635
          ec++*)
15728
13686
            ;;
15729
13687
        esac
15730
13688
        ;;
15731
 
      linux* | k*bsd*-gnu)
 
13689
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
15732
13690
        case $cc_basename in
15733
13691
          KCC*)
15734
13692
            # KAI C++ Compiler
15761
13719
            lt_prog_compiler_pic_CXX=
15762
13720
            lt_prog_compiler_static_CXX='-non_shared'
15763
13721
            ;;
15764
 
          xlc* | xlC*)
15765
 
            # IBM XL 8.0 on PPC
 
13722
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
13723
            # IBM XL 8.0, 9.0 on PPC and BlueGene
15766
13724
            lt_prog_compiler_wl_CXX='-Wl,'
15767
13725
            lt_prog_compiler_pic_CXX='-qpic'
15768
13726
            lt_prog_compiler_static_CXX='-qstaticlink'
15824
13782
        ;;
15825
13783
      solaris*)
15826
13784
        case $cc_basename in
15827
 
          CC*)
 
13785
          CC* | sunCC*)
15828
13786
            # Sun C++ 4.2, 5.x and Centerline C++
15829
13787
            lt_prog_compiler_pic_CXX='-KPIC'
15830
13788
            lt_prog_compiler_static_CXX='-Bstatic'
15889
13847
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15890
13848
    ;;
15891
13849
esac
15892
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15893
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15894
 
 
15895
 
 
 
13850
 
 
13851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13852
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13853
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
13854
  $as_echo_n "(cached) " >&6
 
13855
else
 
13856
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
13857
fi
 
13858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
13859
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
13860
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15896
13861
 
15897
13862
#
15898
13863
# Check to make sure the PIC flag actually works.
15899
13864
#
15900
13865
if test -n "$lt_prog_compiler_pic_CXX"; then
15901
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13866
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15902
13867
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15903
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
13868
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15904
13869
  $as_echo_n "(cached) " >&6
15905
13870
else
15906
13871
  lt_cv_prog_compiler_pic_works_CXX=no
15916
13881
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15917
13882
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15918
13883
   -e 's:$: $lt_compiler_flag:'`
15919
 
   (eval echo "\"\$as_me:15919: $lt_compile\"" >&5)
 
13884
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15920
13885
   (eval "$lt_compile" 2>conftest.err)
15921
13886
   ac_status=$?
15922
13887
   cat conftest.err >&5
15923
 
   echo "$as_me:15923: \$? = $ac_status" >&5
 
13888
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924
13889
   if (exit $ac_status) && test -s "$ac_outfile"; then
15925
13890
     # The compiler can only warn and ignore the option if not recognized
15926
13891
     # So say no if there are warnings other than the usual output.
15927
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13892
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15928
13893
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15929
13894
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15930
13895
       lt_cv_prog_compiler_pic_works_CXX=yes
15933
13898
   $RM conftest*
15934
13899
 
15935
13900
fi
15936
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15937
13902
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15938
13903
 
15939
13904
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15950
13915
 
15951
13916
 
15952
13917
 
 
13918
 
 
13919
 
15953
13920
#
15954
13921
# Check to make sure the static flag actually works.
15955
13922
#
15956
13923
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15957
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15958
13925
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15959
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
13926
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15960
13927
  $as_echo_n "(cached) " >&6
15961
13928
else
15962
13929
  lt_cv_prog_compiler_static_works_CXX=no
15969
13936
     if test -s conftest.err; then
15970
13937
       # Append any errors to the config.log.
15971
13938
       cat conftest.err 1>&5
15972
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13939
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15973
13940
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15974
13941
       if diff conftest.exp conftest.er2 >/dev/null; then
15975
13942
         lt_cv_prog_compiler_static_works_CXX=yes
15982
13949
   LDFLAGS="$save_LDFLAGS"
15983
13950
 
15984
13951
fi
15985
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15986
13953
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15987
13954
 
15988
13955
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15994
13961
 
15995
13962
 
15996
13963
 
15997
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13964
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15998
13965
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15999
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
13966
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16000
13967
  $as_echo_n "(cached) " >&6
16001
13968
else
16002
13969
  lt_cv_prog_compiler_c_o_CXX=no
16015
13982
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16016
13983
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16017
13984
   -e 's:$: $lt_compiler_flag:'`
16018
 
   (eval echo "\"\$as_me:16018: $lt_compile\"" >&5)
 
13985
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16019
13986
   (eval "$lt_compile" 2>out/conftest.err)
16020
13987
   ac_status=$?
16021
13988
   cat out/conftest.err >&5
16022
 
   echo "$as_me:16022: \$? = $ac_status" >&5
 
13989
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023
13990
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16024
13991
   then
16025
13992
     # The compiler can only warn and ignore the option if not recognized
16026
13993
     # So say no if there are warnings
16027
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13994
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16028
13995
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16029
13996
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16030
13997
       lt_cv_prog_compiler_c_o_CXX=yes
16041
14008
   $RM conftest*
16042
14009
 
16043
14010
fi
16044
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16045
14012
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16046
14013
 
16047
14014
 
16048
14015
 
16049
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14016
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16050
14017
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16051
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
14018
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16052
14019
  $as_echo_n "(cached) " >&6
16053
14020
else
16054
14021
  lt_cv_prog_compiler_c_o_CXX=no
16067
14034
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16068
14035
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16069
14036
   -e 's:$: $lt_compiler_flag:'`
16070
 
   (eval echo "\"\$as_me:16070: $lt_compile\"" >&5)
 
14037
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16071
14038
   (eval "$lt_compile" 2>out/conftest.err)
16072
14039
   ac_status=$?
16073
14040
   cat out/conftest.err >&5
16074
 
   echo "$as_me:16074: \$? = $ac_status" >&5
 
14041
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075
14042
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16076
14043
   then
16077
14044
     # The compiler can only warn and ignore the option if not recognized
16078
14045
     # So say no if there are warnings
16079
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14046
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16080
14047
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16081
14048
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16082
14049
       lt_cv_prog_compiler_c_o_CXX=yes
16093
14060
   $RM conftest*
16094
14061
 
16095
14062
fi
16096
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16097
14064
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16098
14065
 
16099
14066
 
16102
14069
hard_links="nottested"
16103
14070
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16104
14071
  # do not overwrite the value of need_locks provided by the user
16105
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14072
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16106
14073
$as_echo_n "checking if we can lock with hard links... " >&6; }
16107
14074
  hard_links=yes
16108
14075
  $RM conftest*
16110
14077
  touch conftest.a
16111
14078
  ln conftest.a conftest.b 2>&5 || hard_links=no
16112
14079
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16113
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14080
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16114
14081
$as_echo "$hard_links" >&6; }
16115
14082
  if test "$hard_links" = no; then
16116
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14083
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16117
14084
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16118
14085
    need_locks=warn
16119
14086
  fi
16123
14090
 
16124
14091
 
16125
14092
 
16126
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14093
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16127
14094
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16128
14095
 
16129
14096
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14097
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16130
14098
  case $host_os in
16131
14099
  aix[4-9]*)
16132
14100
    # If we're using GNU nm, then we don't want the "-C" option.
16133
14101
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
14102
    # Also, AIX nm treats weak defined symbols like other global defined
 
14103
    # symbols, whereas GNU nm marks them as "W".
16134
14104
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16135
 
      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'
 
14105
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16136
14106
    else
16137
14107
      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'
16138
14108
    fi
16139
14109
    ;;
16140
14110
  pw32*)
16141
14111
    export_symbols_cmds_CXX="$ltdll_cmds"
16142
 
  ;;
 
14112
    ;;
16143
14113
  cygwin* | mingw* | cegcc*)
16144
 
    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'
16145
 
  ;;
 
14114
    case $cc_basename in
 
14115
    cl*) ;;
 
14116
    *)
 
14117
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
14118
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
14119
      ;;
 
14120
    esac
 
14121
    ;;
16146
14122
  *)
16147
14123
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16148
 
  ;;
 
14124
    ;;
16149
14125
  esac
16150
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16151
14126
 
16152
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16153
14128
$as_echo "$ld_shlibs_CXX" >&6; }
16154
14129
test "$ld_shlibs_CXX" = no && can_build_shared=no
16155
14130
 
16177
14152
      # Test whether the compiler implicitly links with -lc since on some
16178
14153
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16179
14154
      # to ld, don't add -lc before -lgcc.
16180
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14155
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16181
14156
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16182
 
      $RM conftest*
16183
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14157
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
14158
  $as_echo_n "(cached) " >&6
 
14159
else
 
14160
  $RM conftest*
 
14161
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16184
14162
 
16185
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14163
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16186
14164
  (eval $ac_compile) 2>&5
16187
14165
  ac_status=$?
16188
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189
 
  (exit $ac_status); } 2>conftest.err; then
16190
 
        soname=conftest
16191
 
        lib=conftest
16192
 
        libobjs=conftest.$ac_objext
16193
 
        deplibs=
16194
 
        wl=$lt_prog_compiler_wl_CXX
16195
 
        pic_flag=$lt_prog_compiler_pic_CXX
16196
 
        compiler_flags=-v
16197
 
        linker_flags=-v
16198
 
        verstring=
16199
 
        output_objdir=.
16200
 
        libname=conftest
16201
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16202
 
        allow_undefined_flag_CXX=
16203
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
14166
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14167
  test $ac_status = 0; } 2>conftest.err; then
 
14168
          soname=conftest
 
14169
          lib=conftest
 
14170
          libobjs=conftest.$ac_objext
 
14171
          deplibs=
 
14172
          wl=$lt_prog_compiler_wl_CXX
 
14173
          pic_flag=$lt_prog_compiler_pic_CXX
 
14174
          compiler_flags=-v
 
14175
          linker_flags=-v
 
14176
          verstring=
 
14177
          output_objdir=.
 
14178
          libname=conftest
 
14179
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
14180
          allow_undefined_flag_CXX=
 
14181
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16204
14182
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16205
14183
  ac_status=$?
16206
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207
 
  (exit $ac_status); }
16208
 
        then
16209
 
          archive_cmds_need_lc_CXX=no
16210
 
        else
16211
 
          archive_cmds_need_lc_CXX=yes
16212
 
        fi
16213
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16214
 
      else
16215
 
        cat conftest.err 1>&5
16216
 
      fi
16217
 
      $RM conftest*
16218
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
16219
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
14184
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14185
  test $ac_status = 0; }
 
14186
          then
 
14187
            lt_cv_archive_cmds_need_lc_CXX=no
 
14188
          else
 
14189
            lt_cv_archive_cmds_need_lc_CXX=yes
 
14190
          fi
 
14191
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
14192
        else
 
14193
          cat conftest.err 1>&5
 
14194
        fi
 
14195
        $RM conftest*
 
14196
 
 
14197
fi
 
14198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
14199
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
14200
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16220
14201
      ;;
16221
14202
    esac
16222
14203
  fi
16286
14267
 
16287
14268
 
16288
14269
 
16289
 
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14270
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16290
14271
$as_echo_n "checking dynamic linker characteristics... " >&6; }
16291
14272
 
16292
14273
library_names_spec=
16373
14354
  m68k)
16374
14355
    library_names_spec='$libname.ixlibrary $libname.a'
16375
14356
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16376
 
    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'
 
14357
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16377
14358
    ;;
16378
14359
  esac
16379
14360
  ;;
16404
14385
  need_version=no
16405
14386
  need_lib_prefix=no
16406
14387
 
16407
 
  case $GCC,$host_os in
16408
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14388
  case $GCC,$cc_basename in
 
14389
  yes,*)
 
14390
    # gcc
16409
14391
    library_names_spec='$libname.dll.a'
16410
14392
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16411
14393
    postinstall_cmds='base_file=`basename \${file}`~
16426
14408
    cygwin*)
16427
14409
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16428
14410
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16429
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
14411
 
16430
14412
      ;;
16431
14413
    mingw* | cegcc*)
16432
14414
      # MinGW DLLs use traditional 'lib' prefix
16433
14415
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16434
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16435
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16436
 
        # It is most probably a Windows format PATH printed by
16437
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16438
 
        # path with ; separators, and with drive letters. We can handle the
16439
 
        # drive letters (cygwin fileutils understands them), so leave them,
16440
 
        # especially as we might pass files found there to a mingw objdump,
16441
 
        # which wouldn't understand a cygwinified path. Ahh.
16442
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16443
 
      else
16444
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16445
 
      fi
16446
14416
      ;;
16447
14417
    pw32*)
16448
14418
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16449
14419
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16450
14420
      ;;
16451
14421
    esac
 
14422
    dynamic_linker='Win32 ld.exe'
 
14423
    ;;
 
14424
 
 
14425
  *,cl*)
 
14426
    # Native MSVC
 
14427
    libname_spec='$name'
 
14428
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14429
    library_names_spec='${libname}.dll.lib'
 
14430
 
 
14431
    case $build_os in
 
14432
    mingw*)
 
14433
      sys_lib_search_path_spec=
 
14434
      lt_save_ifs=$IFS
 
14435
      IFS=';'
 
14436
      for lt_path in $LIB
 
14437
      do
 
14438
        IFS=$lt_save_ifs
 
14439
        # Let DOS variable expansion print the short 8.3 style file name.
 
14440
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
14441
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
14442
      done
 
14443
      IFS=$lt_save_ifs
 
14444
      # Convert to MSYS style.
 
14445
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
14446
      ;;
 
14447
    cygwin*)
 
14448
      # Convert to unix form, then to dos form, then back to unix form
 
14449
      # but this time dos style (no spaces!) so that the unix form looks
 
14450
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
14451
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
14452
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
14453
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14454
      ;;
 
14455
    *)
 
14456
      sys_lib_search_path_spec="$LIB"
 
14457
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
14458
        # It is most probably a Windows format PATH.
 
14459
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14460
      else
 
14461
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14462
      fi
 
14463
      # FIXME: find the short name or the path components, as spaces are
 
14464
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
14465
      ;;
 
14466
    esac
 
14467
 
 
14468
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14469
    postinstall_cmds='base_file=`basename \${file}`~
 
14470
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14471
      dldir=$destdir/`dirname \$dlpath`~
 
14472
      test -d \$dldir || mkdir -p \$dldir~
 
14473
      $install_prog $dir/$dlname \$dldir/$dlname'
 
14474
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14475
      dlpath=$dir/\$dldll~
 
14476
       $RM \$dlpath'
 
14477
    shlibpath_overrides_runpath=yes
 
14478
    dynamic_linker='Win32 link.exe'
16452
14479
    ;;
16453
14480
 
16454
14481
  *)
 
14482
    # Assume MSVC wrapper
16455
14483
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14484
    dynamic_linker='Win32 ld.exe'
16456
14485
    ;;
16457
14486
  esac
16458
 
  dynamic_linker='Win32 ld.exe'
16459
14487
  # FIXME: first we should search . and the directory the executable is in
16460
14488
  shlibpath_var=PATH
16461
14489
  ;;
16541
14569
  hardcode_into_libs=yes
16542
14570
  ;;
16543
14571
 
 
14572
haiku*)
 
14573
  version_type=linux
 
14574
  need_lib_prefix=no
 
14575
  need_version=no
 
14576
  dynamic_linker="$host_os runtime_loader"
 
14577
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14578
  soname_spec='${libname}${release}${shared_ext}$major'
 
14579
  shlibpath_var=LIBRARY_PATH
 
14580
  shlibpath_overrides_runpath=yes
 
14581
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
14582
  hardcode_into_libs=yes
 
14583
  ;;
 
14584
 
16544
14585
hpux9* | hpux10* | hpux11*)
16545
14586
  # Give a soname corresponding to the major version so that dld.sl refuses to
16546
14587
  # link against other versions.
16583
14624
    soname_spec='${libname}${release}${shared_ext}$major'
16584
14625
    ;;
16585
14626
  esac
16586
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
14627
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16587
14628
  postinstall_cmds='chmod 555 $lib'
 
14629
  # or fails outright, so override atomically:
 
14630
  install_override_mode=555
16588
14631
  ;;
16589
14632
 
16590
14633
interix[3-9]*)
16642
14685
  ;;
16643
14686
 
16644
14687
# This must be Linux ELF.
16645
 
linux* | k*bsd*-gnu)
 
14688
linux* | k*bsd*-gnu | kopensolaris*-gnu)
16646
14689
  version_type=linux
16647
14690
  need_lib_prefix=no
16648
14691
  need_version=no
16651
14694
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16652
14695
  shlibpath_var=LD_LIBRARY_PATH
16653
14696
  shlibpath_overrides_runpath=no
 
14697
 
16654
14698
  # Some binutils ld are patched to set DT_RUNPATH
16655
 
  save_LDFLAGS=$LDFLAGS
16656
 
  save_libdir=$libdir
16657
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16658
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16659
 
  cat >conftest.$ac_ext <<_ACEOF
16660
 
/* confdefs.h.  */
16661
 
_ACEOF
16662
 
cat confdefs.h >>conftest.$ac_ext
16663
 
cat >>conftest.$ac_ext <<_ACEOF
 
14699
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
14700
  $as_echo_n "(cached) " >&6
 
14701
else
 
14702
  lt_cv_shlibpath_overrides_runpath=no
 
14703
    save_LDFLAGS=$LDFLAGS
 
14704
    save_libdir=$libdir
 
14705
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14706
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14707
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664
14708
/* end confdefs.h.  */
16665
14709
 
16666
14710
int
16671
14715
  return 0;
16672
14716
}
16673
14717
_ACEOF
16674
 
rm -f conftest.$ac_objext conftest$ac_exeext
16675
 
if { (ac_try="$ac_link"
16676
 
case "(($ac_try" in
16677
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16678
 
  *) ac_try_echo=$ac_try;;
16679
 
esac
16680
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16681
 
$as_echo "$ac_try_echo") >&5
16682
 
  (eval "$ac_link") 2>conftest.er1
16683
 
  ac_status=$?
16684
 
  grep -v '^ *+' conftest.er1 >conftest.err
16685
 
  rm -f conftest.er1
16686
 
  cat conftest.err >&5
16687
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688
 
  (exit $ac_status); } && {
16689
 
         test -z "$ac_cxx_werror_flag" ||
16690
 
         test ! -s conftest.err
16691
 
       } && test -s conftest$ac_exeext && {
16692
 
         test "$cross_compiling" = yes ||
16693
 
         $as_test_x conftest$ac_exeext
16694
 
       }; then
16695
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
16696
 
  shlibpath_overrides_runpath=yes
16697
 
fi
16698
 
 
16699
 
else
16700
 
  $as_echo "$as_me: failed program was:" >&5
16701
 
sed 's/^/| /' conftest.$ac_ext >&5
16702
 
 
16703
 
 
16704
 
fi
16705
 
 
16706
 
rm -rf conftest.dSYM
16707
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16708
 
      conftest$ac_exeext conftest.$ac_ext
16709
 
  LDFLAGS=$save_LDFLAGS
16710
 
  libdir=$save_libdir
 
14718
if ac_fn_cxx_try_link "$LINENO"; then :
 
14719
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
14720
  lt_cv_shlibpath_overrides_runpath=yes
 
14721
fi
 
14722
fi
 
14723
rm -f core conftest.err conftest.$ac_objext \
 
14724
    conftest$ac_exeext conftest.$ac_ext
 
14725
    LDFLAGS=$save_LDFLAGS
 
14726
    libdir=$save_libdir
 
14727
 
 
14728
fi
 
14729
 
 
14730
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16711
14731
 
16712
14732
  # This implies no fast_install, which is unacceptable.
16713
14733
  # Some rework will be needed to allow for fast_install
16714
14734
  # before this can be enabled.
16715
14735
  hardcode_into_libs=yes
16716
14736
 
 
14737
  # Add ABI-specific directories to the system library path.
 
14738
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
14739
 
16717
14740
  # Append ld.so.conf contents to the search path
16718
14741
  if test -f /etc/ld.so.conf; then
16719
 
    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' ' '`
16720
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
14742
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
14743
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
14744
 
16721
14745
  fi
16722
14746
 
16723
14747
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16917
14941
  dynamic_linker=no
16918
14942
  ;;
16919
14943
esac
16920
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16921
14945
$as_echo "$dynamic_linker" >&6; }
16922
14946
test "$dynamic_linker" = no && can_build_shared=no
16923
14947
 
16968
14992
 
16969
14993
 
16970
14994
 
16971
 
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14995
 
 
14996
 
 
14997
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16972
14998
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16973
14999
hardcode_action_CXX=
16974
15000
if test -n "$hardcode_libdir_flag_spec_CXX" ||
16993
15019
  # directories.
16994
15020
  hardcode_action_CXX=unsupported
16995
15021
fi
16996
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16997
15023
$as_echo "$hardcode_action_CXX" >&6; }
16998
15024
 
16999
15025
if test "$hardcode_action_CXX" = relink ||
17015
15041
  fi # test -n "$compiler"
17016
15042
 
17017
15043
  CC=$lt_save_CC
 
15044
  CFLAGS=$lt_save_CFLAGS
17018
15045
  LDCXX=$LD
17019
15046
  LD=$lt_save_LD
17020
15047
  GCC=$lt_save_GCC
17025
15052
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17026
15053
fi # test "$_lt_caught_CXX_error" != yes
17027
15054
 
17028
 
ac_ext=c
17029
 
ac_cpp='$CPP $CPPFLAGS'
17030
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17031
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17032
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17033
 
 
17034
 
 
17035
15055
ac_ext=cpp
17036
15056
ac_cpp='$CXXCPP $CPPFLAGS'
17037
15057
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039
15059
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17040
15060
 
17041
15061
 
17042
 
ac_ext=c
17043
 
ac_cpp='$CPP $CPPFLAGS'
17044
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17047
 
if test -n "$ac_tool_prefix"; then
17048
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17049
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
17050
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17051
 
$as_echo_n "checking for $ac_word... " >&6; }
17052
 
if test "${ac_cv_prog_CC+set}" = set; then
17053
 
  $as_echo_n "(cached) " >&6
17054
 
else
17055
 
  if test -n "$CC"; then
17056
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
17057
 
else
17058
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17059
 
for as_dir in $PATH
17060
 
do
17061
 
  IFS=$as_save_IFS
17062
 
  test -z "$as_dir" && as_dir=.
17063
 
  for ac_exec_ext in '' $ac_executable_extensions; do
17064
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17065
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
17066
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17067
 
    break 2
17068
 
  fi
17069
 
done
17070
 
done
17071
 
IFS=$as_save_IFS
17072
 
 
17073
 
fi
17074
 
fi
17075
 
CC=$ac_cv_prog_CC
17076
 
if test -n "$CC"; then
17077
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
17078
 
$as_echo "$CC" >&6; }
17079
 
else
17080
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
17081
 
$as_echo "no" >&6; }
17082
 
fi
17083
 
 
17084
 
 
17085
 
fi
17086
 
if test -z "$ac_cv_prog_CC"; then
17087
 
  ac_ct_CC=$CC
17088
 
  # Extract the first word of "gcc", so it can be a program name with args.
17089
 
set dummy gcc; ac_word=$2
17090
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17091
 
$as_echo_n "checking for $ac_word... " >&6; }
17092
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
17093
 
  $as_echo_n "(cached) " >&6
17094
 
else
17095
 
  if test -n "$ac_ct_CC"; then
17096
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17097
 
else
17098
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17099
 
for as_dir in $PATH
17100
 
do
17101
 
  IFS=$as_save_IFS
17102
 
  test -z "$as_dir" && as_dir=.
17103
 
  for ac_exec_ext in '' $ac_executable_extensions; do
17104
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17105
 
    ac_cv_prog_ac_ct_CC="gcc"
17106
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17107
 
    break 2
17108
 
  fi
17109
 
done
17110
 
done
17111
 
IFS=$as_save_IFS
17112
 
 
17113
 
fi
17114
 
fi
17115
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
17116
 
if test -n "$ac_ct_CC"; then
17117
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
17118
 
$as_echo "$ac_ct_CC" >&6; }
17119
 
else
17120
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
17121
 
$as_echo "no" >&6; }
17122
 
fi
17123
 
 
17124
 
  if test "x$ac_ct_CC" = x; then
17125
 
    CC=""
17126
 
  else
17127
 
    case $cross_compiling:$ac_tool_warned in
17128
 
yes:)
17129
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
17130
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17131
 
ac_tool_warned=yes ;;
17132
 
esac
17133
 
    CC=$ac_ct_CC
17134
 
  fi
17135
 
else
17136
 
  CC="$ac_cv_prog_CC"
17137
 
fi
17138
 
 
17139
 
if test -z "$CC"; then
17140
 
          if test -n "$ac_tool_prefix"; then
17141
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17142
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
17143
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17144
 
$as_echo_n "checking for $ac_word... " >&6; }
17145
 
if test "${ac_cv_prog_CC+set}" = set; then
17146
 
  $as_echo_n "(cached) " >&6
17147
 
else
17148
 
  if test -n "$CC"; then
17149
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
17150
 
else
17151
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17152
 
for as_dir in $PATH
17153
 
do
17154
 
  IFS=$as_save_IFS
17155
 
  test -z "$as_dir" && as_dir=.
17156
 
  for ac_exec_ext in '' $ac_executable_extensions; do
17157
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17158
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
17159
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17160
 
    break 2
17161
 
  fi
17162
 
done
17163
 
done
17164
 
IFS=$as_save_IFS
17165
 
 
17166
 
fi
17167
 
fi
17168
 
CC=$ac_cv_prog_CC
17169
 
if test -n "$CC"; then
17170
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
17171
 
$as_echo "$CC" >&6; }
17172
 
else
17173
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
17174
 
$as_echo "no" >&6; }
17175
 
fi
17176
 
 
17177
 
 
17178
 
  fi
17179
 
fi
17180
 
if test -z "$CC"; then
17181
 
  # Extract the first word of "cc", so it can be a program name with args.
17182
 
set dummy cc; ac_word=$2
17183
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17184
 
$as_echo_n "checking for $ac_word... " >&6; }
17185
 
if test "${ac_cv_prog_CC+set}" = set; then
17186
 
  $as_echo_n "(cached) " >&6
17187
 
else
17188
 
  if test -n "$CC"; then
17189
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
17190
 
else
17191
 
  ac_prog_rejected=no
17192
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17193
 
for as_dir in $PATH
17194
 
do
17195
 
  IFS=$as_save_IFS
17196
 
  test -z "$as_dir" && as_dir=.
17197
 
  for ac_exec_ext in '' $ac_executable_extensions; do
17198
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17199
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17200
 
       ac_prog_rejected=yes
17201
 
       continue
17202
 
     fi
17203
 
    ac_cv_prog_CC="cc"
17204
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17205
 
    break 2
17206
 
  fi
17207
 
done
17208
 
done
17209
 
IFS=$as_save_IFS
17210
 
 
17211
 
if test $ac_prog_rejected = yes; then
17212
 
  # We found a bogon in the path, so make sure we never use it.
17213
 
  set dummy $ac_cv_prog_CC
17214
 
  shift
17215
 
  if test $# != 0; then
17216
 
    # We chose a different compiler from the bogus one.
17217
 
    # However, it has the same basename, so the bogon will be chosen
17218
 
    # first if we set CC to just the basename; use the full file name.
17219
 
    shift
17220
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17221
 
  fi
17222
 
fi
17223
 
fi
17224
 
fi
17225
 
CC=$ac_cv_prog_CC
17226
 
if test -n "$CC"; then
17227
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
17228
 
$as_echo "$CC" >&6; }
17229
 
else
17230
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
17231
 
$as_echo "no" >&6; }
17232
 
fi
17233
 
 
17234
 
 
17235
 
fi
17236
 
if test -z "$CC"; then
17237
 
  if test -n "$ac_tool_prefix"; then
17238
 
  for ac_prog in cl.exe
17239
 
  do
17240
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17241
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17242
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17243
 
$as_echo_n "checking for $ac_word... " >&6; }
17244
 
if test "${ac_cv_prog_CC+set}" = set; then
17245
 
  $as_echo_n "(cached) " >&6
17246
 
else
17247
 
  if test -n "$CC"; then
17248
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
17249
 
else
17250
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17251
 
for as_dir in $PATH
17252
 
do
17253
 
  IFS=$as_save_IFS
17254
 
  test -z "$as_dir" && as_dir=.
17255
 
  for ac_exec_ext in '' $ac_executable_extensions; do
17256
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17257
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17258
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17259
 
    break 2
17260
 
  fi
17261
 
done
17262
 
done
17263
 
IFS=$as_save_IFS
17264
 
 
17265
 
fi
17266
 
fi
17267
 
CC=$ac_cv_prog_CC
17268
 
if test -n "$CC"; then
17269
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
17270
 
$as_echo "$CC" >&6; }
17271
 
else
17272
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
17273
 
$as_echo "no" >&6; }
17274
 
fi
17275
 
 
17276
 
 
17277
 
    test -n "$CC" && break
17278
 
  done
17279
 
fi
17280
 
if test -z "$CC"; then
17281
 
  ac_ct_CC=$CC
17282
 
  for ac_prog in cl.exe
17283
 
do
17284
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
17285
 
set dummy $ac_prog; ac_word=$2
17286
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17287
 
$as_echo_n "checking for $ac_word... " >&6; }
17288
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
17289
 
  $as_echo_n "(cached) " >&6
17290
 
else
17291
 
  if test -n "$ac_ct_CC"; then
17292
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17293
 
else
17294
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17295
 
for as_dir in $PATH
17296
 
do
17297
 
  IFS=$as_save_IFS
17298
 
  test -z "$as_dir" && as_dir=.
17299
 
  for ac_exec_ext in '' $ac_executable_extensions; do
17300
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17301
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
17302
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17303
 
    break 2
17304
 
  fi
17305
 
done
17306
 
done
17307
 
IFS=$as_save_IFS
17308
 
 
17309
 
fi
17310
 
fi
17311
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
17312
 
if test -n "$ac_ct_CC"; then
17313
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
17314
 
$as_echo "$ac_ct_CC" >&6; }
17315
 
else
17316
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
17317
 
$as_echo "no" >&6; }
17318
 
fi
17319
 
 
17320
 
 
17321
 
  test -n "$ac_ct_CC" && break
17322
 
done
17323
 
 
17324
 
  if test "x$ac_ct_CC" = x; then
17325
 
    CC=""
17326
 
  else
17327
 
    case $cross_compiling:$ac_tool_warned in
17328
 
yes:)
17329
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
17330
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17331
 
ac_tool_warned=yes ;;
17332
 
esac
17333
 
    CC=$ac_ct_CC
17334
 
  fi
17335
 
fi
17336
 
 
17337
 
fi
17338
 
 
17339
 
 
17340
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
15062
 
 
15063
 
 
15064
 
 
15065
 
 
15066
 
 
15067
 
 
15068
 
 
15069
 
 
15070
 
 
15071
 
 
15072
 
 
15073
        ac_config_commands="$ac_config_commands libtool"
 
15074
 
 
15075
 
 
15076
 
 
15077
 
 
15078
# Only expand once:
 
15079
 
 
15080
 
 
15081
 
 
15082
# Package dependencies
 
15083
GLIB_REQUIRED=2.28.0
 
15084
LIBWNCK_REQUIRED=2.91.0
 
15085
LIBGTOP_REQUIRED=2.28.2
 
15086
GTK_REQUIRED=3.0
 
15087
GNOME_ICON_THEME_REQUIRED=2.31
 
15088
GTKMM_REQUIRED=2.99
 
15089
GIOMM_REQUIRED=2.27
 
15090
GLIBMM_REQUIRED=2.27
 
15091
LIBXML_REQUIRED=2.0
 
15092
RSVG_REQUIRED=2.12
 
15093
 
 
15094
 
 
15095
 
 
15096
 
 
15097
 
 
15098
 
 
15099
 
 
15100
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15101
        if test -n "$ac_tool_prefix"; then
 
15102
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15103
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15105
$as_echo_n "checking for $ac_word... " >&6; }
 
15106
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
15107
  $as_echo_n "(cached) " >&6
 
15108
else
 
15109
  case $PKG_CONFIG in
 
15110
  [\\/]* | ?:[\\/]*)
 
15111
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15112
  ;;
 
15113
  *)
 
15114
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15115
for as_dir in $PATH
 
15116
do
 
15117
  IFS=$as_save_IFS
 
15118
  test -z "$as_dir" && as_dir=.
 
15119
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15120
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15121
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15122
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15123
    break 2
 
15124
  fi
 
15125
done
 
15126
  done
 
15127
IFS=$as_save_IFS
 
15128
 
 
15129
  ;;
 
15130
esac
 
15131
fi
 
15132
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
15133
if test -n "$PKG_CONFIG"; then
 
15134
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
15135
$as_echo "$PKG_CONFIG" >&6; }
 
15136
else
 
15137
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15138
$as_echo "no" >&6; }
 
15139
fi
 
15140
 
 
15141
 
 
15142
fi
 
15143
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
15144
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
15145
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
15146
set dummy pkg-config; ac_word=$2
 
15147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15148
$as_echo_n "checking for $ac_word... " >&6; }
 
15149
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
15150
  $as_echo_n "(cached) " >&6
 
15151
else
 
15152
  case $ac_pt_PKG_CONFIG in
 
15153
  [\\/]* | ?:[\\/]*)
 
15154
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
15155
  ;;
 
15156
  *)
 
15157
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15158
for as_dir in $PATH
 
15159
do
 
15160
  IFS=$as_save_IFS
 
15161
  test -z "$as_dir" && as_dir=.
 
15162
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15163
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15164
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15165
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15166
    break 2
 
15167
  fi
 
15168
done
 
15169
  done
 
15170
IFS=$as_save_IFS
 
15171
 
 
15172
  ;;
 
15173
esac
 
15174
fi
 
15175
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
15176
if test -n "$ac_pt_PKG_CONFIG"; then
 
15177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
15178
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
15179
else
 
15180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15181
$as_echo "no" >&6; }
 
15182
fi
 
15183
 
 
15184
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
15185
    PKG_CONFIG=""
 
15186
  else
 
15187
    case $cross_compiling:$ac_tool_warned in
 
15188
yes:)
 
15189
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15190
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15191
ac_tool_warned=yes ;;
 
15192
esac
 
15193
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
15194
  fi
 
15195
else
 
15196
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
15197
fi
 
15198
 
 
15199
fi
 
15200
if test -n "$PKG_CONFIG"; then
 
15201
        _pkg_min_version=0.9.0
 
15202
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
15203
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
15204
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
15205
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15206
$as_echo "yes" >&6; }
 
15207
        else
 
15208
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15209
$as_echo "no" >&6; }
 
15210
                PKG_CONFIG=""
 
15211
        fi
 
15212
fi
 
15213
 
 
15214
pkg_failed=no
 
15215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PROCMAN" >&5
 
15216
$as_echo_n "checking for PROCMAN... " >&6; }
 
15217
 
 
15218
if test -n "$PROCMAN_CFLAGS"; then
 
15219
    pkg_cv_PROCMAN_CFLAGS="$PROCMAN_CFLAGS"
 
15220
 elif test -n "$PKG_CONFIG"; then
 
15221
    if test -n "$PKG_CONFIG" && \
 
15222
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED libgtop-2.0 >= \$LIBGTOP_REQUIRED libwnck-3.0 >= \$LIBWNCK_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED gnome-icon-theme >= \$GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= \$GTKMM_REQUIRED libxml-2.0 >= \$LIBXML_REQUIRED librsvg-2.0 >= \$RSVG_REQUIRED glibmm-2.4 >= \$GLIBMM_REQUIRED giomm-2.4 >= \$GIOMM_REQUIRED\""; } >&5
 
15223
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED") 2>&5
 
15224
  ac_status=$?
 
15225
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15226
  test $ac_status = 0; }; then
 
15227
  pkg_cv_PROCMAN_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED" 2>/dev/null`
 
15228
else
 
15229
  pkg_failed=yes
 
15230
fi
 
15231
 else
 
15232
    pkg_failed=untried
 
15233
fi
 
15234
if test -n "$PROCMAN_LIBS"; then
 
15235
    pkg_cv_PROCMAN_LIBS="$PROCMAN_LIBS"
 
15236
 elif test -n "$PKG_CONFIG"; then
 
15237
    if test -n "$PKG_CONFIG" && \
 
15238
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED libgtop-2.0 >= \$LIBGTOP_REQUIRED libwnck-3.0 >= \$LIBWNCK_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED gnome-icon-theme >= \$GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= \$GTKMM_REQUIRED libxml-2.0 >= \$LIBXML_REQUIRED librsvg-2.0 >= \$RSVG_REQUIRED glibmm-2.4 >= \$GLIBMM_REQUIRED giomm-2.4 >= \$GIOMM_REQUIRED\""; } >&5
 
15239
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED") 2>&5
 
15240
  ac_status=$?
 
15241
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15242
  test $ac_status = 0; }; then
 
15243
  pkg_cv_PROCMAN_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED" 2>/dev/null`
 
15244
else
 
15245
  pkg_failed=yes
 
15246
fi
 
15247
 else
 
15248
    pkg_failed=untried
 
15249
fi
 
15250
 
 
15251
 
 
15252
 
 
15253
if test $pkg_failed = yes; then
 
15254
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15255
$as_echo "no" >&6; }
 
15256
 
 
15257
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15258
        _pkg_short_errors_supported=yes
 
15259
else
 
15260
        _pkg_short_errors_supported=no
 
15261
fi
 
15262
        if test $_pkg_short_errors_supported = yes; then
 
15263
                PROCMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED" 2>&1`
 
15264
        else
 
15265
                PROCMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED" 2>&1`
 
15266
        fi
 
15267
        # Put the nasty error message in config.log where it belongs
 
15268
        echo "$PROCMAN_PKG_ERRORS" >&5
 
15269
 
 
15270
        as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-3.0 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED) were not met:
 
15271
 
 
15272
$PROCMAN_PKG_ERRORS
 
15273
 
 
15274
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15275
installed software in a non-standard prefix.
 
15276
 
 
15277
Alternatively, you may set the environment variables PROCMAN_CFLAGS
 
15278
and PROCMAN_LIBS to avoid the need to call pkg-config.
 
15279
See the pkg-config man page for more details." "$LINENO" 5
 
15280
 
 
15281
elif test $pkg_failed = untried; then
 
15282
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15283
$as_echo "no" >&6; }
 
15284
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17341
15285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17342
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
17343
 
See \`config.log' for more details." >&5
17344
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
17345
 
See \`config.log' for more details." >&2;}
17346
 
   { (exit 1); exit 1; }; }; }
17347
 
 
17348
 
# Provide some information about the compiler.
17349
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
17350
 
set X $ac_compile
17351
 
ac_compiler=$2
17352
 
{ (ac_try="$ac_compiler --version >&5"
17353
 
case "(($ac_try" in
17354
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17355
 
  *) ac_try_echo=$ac_try;;
17356
 
esac
17357
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17358
 
$as_echo "$ac_try_echo") >&5
17359
 
  (eval "$ac_compiler --version >&5") 2>&5
17360
 
  ac_status=$?
17361
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362
 
  (exit $ac_status); }
17363
 
{ (ac_try="$ac_compiler -v >&5"
17364
 
case "(($ac_try" in
17365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17366
 
  *) ac_try_echo=$ac_try;;
17367
 
esac
17368
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17369
 
$as_echo "$ac_try_echo") >&5
17370
 
  (eval "$ac_compiler -v >&5") 2>&5
17371
 
  ac_status=$?
17372
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373
 
  (exit $ac_status); }
17374
 
{ (ac_try="$ac_compiler -V >&5"
17375
 
case "(($ac_try" in
17376
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17377
 
  *) ac_try_echo=$ac_try;;
17378
 
esac
17379
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17380
 
$as_echo "$ac_try_echo") >&5
17381
 
  (eval "$ac_compiler -V >&5") 2>&5
17382
 
  ac_status=$?
17383
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384
 
  (exit $ac_status); }
17385
 
 
17386
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17387
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17388
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
17389
 
  $as_echo_n "(cached) " >&6
17390
 
else
17391
 
  cat >conftest.$ac_ext <<_ACEOF
17392
 
/* confdefs.h.  */
17393
 
_ACEOF
17394
 
cat confdefs.h >>conftest.$ac_ext
17395
 
cat >>conftest.$ac_ext <<_ACEOF
17396
 
/* end confdefs.h.  */
17397
 
 
17398
 
int
17399
 
main ()
17400
 
{
17401
 
#ifndef __GNUC__
17402
 
       choke me
17403
 
#endif
17404
 
 
17405
 
  ;
17406
 
  return 0;
17407
 
}
17408
 
_ACEOF
17409
 
rm -f conftest.$ac_objext
17410
 
if { (ac_try="$ac_compile"
17411
 
case "(($ac_try" in
17412
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17413
 
  *) ac_try_echo=$ac_try;;
17414
 
esac
17415
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17416
 
$as_echo "$ac_try_echo") >&5
17417
 
  (eval "$ac_compile") 2>conftest.er1
17418
 
  ac_status=$?
17419
 
  grep -v '^ *+' conftest.er1 >conftest.err
17420
 
  rm -f conftest.er1
17421
 
  cat conftest.err >&5
17422
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423
 
  (exit $ac_status); } && {
17424
 
         test -z "$ac_c_werror_flag" ||
17425
 
         test ! -s conftest.err
17426
 
       } && test -s conftest.$ac_objext; then
17427
 
  ac_compiler_gnu=yes
17428
 
else
17429
 
  $as_echo "$as_me: failed program was:" >&5
17430
 
sed 's/^/| /' conftest.$ac_ext >&5
17431
 
 
17432
 
        ac_compiler_gnu=no
17433
 
fi
17434
 
 
17435
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
17437
 
 
17438
 
fi
17439
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17440
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
17441
 
if test $ac_compiler_gnu = yes; then
17442
 
  GCC=yes
17443
 
else
17444
 
  GCC=
17445
 
fi
17446
 
ac_test_CFLAGS=${CFLAGS+set}
17447
 
ac_save_CFLAGS=$CFLAGS
17448
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17449
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
17450
 
if test "${ac_cv_prog_cc_g+set}" = set; then
17451
 
  $as_echo_n "(cached) " >&6
17452
 
else
17453
 
  ac_save_c_werror_flag=$ac_c_werror_flag
17454
 
   ac_c_werror_flag=yes
17455
 
   ac_cv_prog_cc_g=no
17456
 
   CFLAGS="-g"
17457
 
   cat >conftest.$ac_ext <<_ACEOF
17458
 
/* confdefs.h.  */
17459
 
_ACEOF
17460
 
cat confdefs.h >>conftest.$ac_ext
17461
 
cat >>conftest.$ac_ext <<_ACEOF
17462
 
/* end confdefs.h.  */
17463
 
 
17464
 
int
17465
 
main ()
17466
 
{
17467
 
 
17468
 
  ;
17469
 
  return 0;
17470
 
}
17471
 
_ACEOF
17472
 
rm -f conftest.$ac_objext
17473
 
if { (ac_try="$ac_compile"
17474
 
case "(($ac_try" in
17475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476
 
  *) ac_try_echo=$ac_try;;
17477
 
esac
17478
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17479
 
$as_echo "$ac_try_echo") >&5
17480
 
  (eval "$ac_compile") 2>conftest.er1
17481
 
  ac_status=$?
17482
 
  grep -v '^ *+' conftest.er1 >conftest.err
17483
 
  rm -f conftest.er1
17484
 
  cat conftest.err >&5
17485
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486
 
  (exit $ac_status); } && {
17487
 
         test -z "$ac_c_werror_flag" ||
17488
 
         test ! -s conftest.err
17489
 
       } && test -s conftest.$ac_objext; then
17490
 
  ac_cv_prog_cc_g=yes
17491
 
else
17492
 
  $as_echo "$as_me: failed program was:" >&5
17493
 
sed 's/^/| /' conftest.$ac_ext >&5
17494
 
 
17495
 
        CFLAGS=""
17496
 
      cat >conftest.$ac_ext <<_ACEOF
17497
 
/* confdefs.h.  */
17498
 
_ACEOF
17499
 
cat confdefs.h >>conftest.$ac_ext
17500
 
cat >>conftest.$ac_ext <<_ACEOF
17501
 
/* end confdefs.h.  */
17502
 
 
17503
 
int
17504
 
main ()
17505
 
{
17506
 
 
17507
 
  ;
17508
 
  return 0;
17509
 
}
17510
 
_ACEOF
17511
 
rm -f conftest.$ac_objext
17512
 
if { (ac_try="$ac_compile"
17513
 
case "(($ac_try" in
17514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515
 
  *) ac_try_echo=$ac_try;;
17516
 
esac
17517
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17518
 
$as_echo "$ac_try_echo") >&5
17519
 
  (eval "$ac_compile") 2>conftest.er1
17520
 
  ac_status=$?
17521
 
  grep -v '^ *+' conftest.er1 >conftest.err
17522
 
  rm -f conftest.er1
17523
 
  cat conftest.err >&5
17524
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525
 
  (exit $ac_status); } && {
17526
 
         test -z "$ac_c_werror_flag" ||
17527
 
         test ! -s conftest.err
17528
 
       } && test -s conftest.$ac_objext; then
17529
 
  :
17530
 
else
17531
 
  $as_echo "$as_me: failed program was:" >&5
17532
 
sed 's/^/| /' conftest.$ac_ext >&5
17533
 
 
17534
 
        ac_c_werror_flag=$ac_save_c_werror_flag
17535
 
         CFLAGS="-g"
17536
 
         cat >conftest.$ac_ext <<_ACEOF
17537
 
/* confdefs.h.  */
17538
 
_ACEOF
17539
 
cat confdefs.h >>conftest.$ac_ext
17540
 
cat >>conftest.$ac_ext <<_ACEOF
17541
 
/* end confdefs.h.  */
17542
 
 
17543
 
int
17544
 
main ()
17545
 
{
17546
 
 
17547
 
  ;
17548
 
  return 0;
17549
 
}
17550
 
_ACEOF
17551
 
rm -f conftest.$ac_objext
17552
 
if { (ac_try="$ac_compile"
17553
 
case "(($ac_try" in
17554
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555
 
  *) ac_try_echo=$ac_try;;
17556
 
esac
17557
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17558
 
$as_echo "$ac_try_echo") >&5
17559
 
  (eval "$ac_compile") 2>conftest.er1
17560
 
  ac_status=$?
17561
 
  grep -v '^ *+' conftest.er1 >conftest.err
17562
 
  rm -f conftest.er1
17563
 
  cat conftest.err >&5
17564
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565
 
  (exit $ac_status); } && {
17566
 
         test -z "$ac_c_werror_flag" ||
17567
 
         test ! -s conftest.err
17568
 
       } && test -s conftest.$ac_objext; then
17569
 
  ac_cv_prog_cc_g=yes
17570
 
else
17571
 
  $as_echo "$as_me: failed program was:" >&5
17572
 
sed 's/^/| /' conftest.$ac_ext >&5
17573
 
 
17574
 
 
17575
 
fi
17576
 
 
17577
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17578
 
fi
17579
 
 
17580
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581
 
fi
17582
 
 
17583
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584
 
   ac_c_werror_flag=$ac_save_c_werror_flag
17585
 
fi
17586
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17587
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
17588
 
if test "$ac_test_CFLAGS" = set; then
17589
 
  CFLAGS=$ac_save_CFLAGS
17590
 
elif test $ac_cv_prog_cc_g = yes; then
17591
 
  if test "$GCC" = yes; then
17592
 
    CFLAGS="-g -O2"
17593
 
  else
17594
 
    CFLAGS="-g"
17595
 
  fi
17596
 
else
17597
 
  if test "$GCC" = yes; then
17598
 
    CFLAGS="-O2"
17599
 
  else
17600
 
    CFLAGS=
17601
 
  fi
17602
 
fi
17603
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17604
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17605
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
17606
 
  $as_echo_n "(cached) " >&6
17607
 
else
17608
 
  ac_cv_prog_cc_c89=no
17609
 
ac_save_CC=$CC
17610
 
cat >conftest.$ac_ext <<_ACEOF
17611
 
/* confdefs.h.  */
17612
 
_ACEOF
17613
 
cat confdefs.h >>conftest.$ac_ext
17614
 
cat >>conftest.$ac_ext <<_ACEOF
17615
 
/* end confdefs.h.  */
17616
 
#include <stdarg.h>
17617
 
#include <stdio.h>
17618
 
#include <sys/types.h>
17619
 
#include <sys/stat.h>
17620
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17621
 
struct buf { int x; };
17622
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
17623
 
static char *e (p, i)
17624
 
     char **p;
17625
 
     int i;
17626
 
{
17627
 
  return p[i];
17628
 
}
17629
 
static char *f (char * (*g) (char **, int), char **p, ...)
17630
 
{
17631
 
  char *s;
17632
 
  va_list v;
17633
 
  va_start (v,p);
17634
 
  s = g (p, va_arg (v,int));
17635
 
  va_end (v);
17636
 
  return s;
17637
 
}
17638
 
 
17639
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17640
 
   function prototypes and stuff, but not '\xHH' hex character constants.
17641
 
   These don't provoke an error unfortunately, instead are silently treated
17642
 
   as 'x'.  The following induces an error, until -std is added to get
17643
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17644
 
   array size at least.  It's necessary to write '\x00'==0 to get something
17645
 
   that's true only with -std.  */
17646
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17647
 
 
17648
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17649
 
   inside strings and character constants.  */
17650
 
#define FOO(x) 'x'
17651
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17652
 
 
17653
 
int test (int i, double x);
17654
 
struct s1 {int (*f) (int a);};
17655
 
struct s2 {int (*f) (double a);};
17656
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17657
 
int argc;
17658
 
char **argv;
17659
 
int
17660
 
main ()
17661
 
{
17662
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17663
 
  ;
17664
 
  return 0;
17665
 
}
17666
 
_ACEOF
17667
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17668
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17669
 
do
17670
 
  CC="$ac_save_CC $ac_arg"
17671
 
  rm -f conftest.$ac_objext
17672
 
if { (ac_try="$ac_compile"
17673
 
case "(($ac_try" in
17674
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17675
 
  *) ac_try_echo=$ac_try;;
17676
 
esac
17677
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17678
 
$as_echo "$ac_try_echo") >&5
17679
 
  (eval "$ac_compile") 2>conftest.er1
17680
 
  ac_status=$?
17681
 
  grep -v '^ *+' conftest.er1 >conftest.err
17682
 
  rm -f conftest.er1
17683
 
  cat conftest.err >&5
17684
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685
 
  (exit $ac_status); } && {
17686
 
         test -z "$ac_c_werror_flag" ||
17687
 
         test ! -s conftest.err
17688
 
       } && test -s conftest.$ac_objext; then
17689
 
  ac_cv_prog_cc_c89=$ac_arg
17690
 
else
17691
 
  $as_echo "$as_me: failed program was:" >&5
17692
 
sed 's/^/| /' conftest.$ac_ext >&5
17693
 
 
17694
 
 
17695
 
fi
17696
 
 
17697
 
rm -f core conftest.err conftest.$ac_objext
17698
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
17699
 
done
17700
 
rm -f conftest.$ac_ext
17701
 
CC=$ac_save_CC
17702
 
 
17703
 
fi
17704
 
# AC_CACHE_VAL
17705
 
case "x$ac_cv_prog_cc_c89" in
17706
 
  x)
17707
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
17708
 
$as_echo "none needed" >&6; } ;;
17709
 
  xno)
17710
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
17711
 
$as_echo "unsupported" >&6; } ;;
17712
 
  *)
17713
 
    CC="$CC $ac_cv_prog_cc_c89"
17714
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17715
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17716
 
esac
17717
 
 
17718
 
 
17719
 
ac_ext=cpp
17720
 
ac_cpp='$CXXCPP $CPPFLAGS'
17721
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17724
 
 
17725
 
depcc="$CC"   am_compiler_list=
17726
 
 
17727
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
17728
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
17729
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
17730
 
  $as_echo_n "(cached) " >&6
17731
 
else
17732
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17733
 
  # We make a subdir and do the tests there.  Otherwise we can end up
17734
 
  # making bogus files that we don't know about and never remove.  For
17735
 
  # instance it was reported that on HP-UX the gcc test will end up
17736
 
  # making a dummy file named `D' -- because `-MD' means `put the output
17737
 
  # in D'.
17738
 
  mkdir conftest.dir
17739
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
17740
 
  # using a relative directory.
17741
 
  cp "$am_depcomp" conftest.dir
17742
 
  cd conftest.dir
17743
 
  # We will build objects and dependencies in a subdirectory because
17744
 
  # it helps to detect inapplicable dependency modes.  For instance
17745
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
17746
 
  # side effect of compilation, but ICC will put the dependencies in
17747
 
  # the current directory while Tru64 will put them in the object
17748
 
  # directory.
17749
 
  mkdir sub
17750
 
 
17751
 
  am_cv_CC_dependencies_compiler_type=none
17752
 
  if test "$am_compiler_list" = ""; then
17753
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17754
 
  fi
17755
 
  am__universal=false
17756
 
  case " $depcc " in #(
17757
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
17758
 
     esac
17759
 
 
17760
 
  for depmode in $am_compiler_list; do
17761
 
    # Setup a source with many dependencies, because some compilers
17762
 
    # like to wrap large dependency lists on column 80 (with \), and
17763
 
    # we should not choose a depcomp mode which is confused by this.
17764
 
    #
17765
 
    # We need to recreate these files for each test, as the compiler may
17766
 
    # overwrite some of them when testing with obscure command lines.
17767
 
    # This happens at least with the AIX C compiler.
17768
 
    : > sub/conftest.c
17769
 
    for i in 1 2 3 4 5 6; do
17770
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
17771
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17772
 
      # Solaris 8's {/usr,}/bin/sh.
17773
 
      touch sub/conftst$i.h
17774
 
    done
17775
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17776
 
 
17777
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
17778
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
17779
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
17780
 
    # versions had trouble with output in subdirs
17781
 
    am__obj=sub/conftest.${OBJEXT-o}
17782
 
    am__minus_obj="-o $am__obj"
17783
 
    case $depmode in
17784
 
    gcc)
17785
 
      # This depmode causes a compiler race in universal mode.
17786
 
      test "$am__universal" = false || continue
17787
 
      ;;
17788
 
    nosideeffect)
17789
 
      # after this tag, mechanisms are not by side-effect, so they'll
17790
 
      # only be used when explicitly requested
17791
 
      if test "x$enable_dependency_tracking" = xyes; then
17792
 
        continue
17793
 
      else
17794
 
        break
17795
 
      fi
17796
 
      ;;
17797
 
    msvisualcpp | msvcmsys)
17798
 
      # This compiler won't grok `-c -o', but also, the minuso test has
17799
 
      # not run yet.  These depmodes are late enough in the game, and
17800
 
      # so weak that their functioning should not be impacted.
17801
 
      am__obj=conftest.${OBJEXT-o}
17802
 
      am__minus_obj=
17803
 
      ;;
17804
 
    none) break ;;
17805
 
    esac
17806
 
    if depmode=$depmode \
17807
 
       source=sub/conftest.c object=$am__obj \
17808
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17809
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17810
 
         >/dev/null 2>conftest.err &&
17811
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17812
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17813
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17814
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17815
 
      # icc doesn't choke on unknown options, it will just issue warnings
17816
 
      # or remarks (even with -Werror).  So we grep stderr for any message
17817
 
      # that says an option was ignored or not supported.
17818
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
17819
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
17820
 
      # The diagnosis changed in icc 8.0:
17821
 
      #   icc: Command line remark: option '-MP' not supported
17822
 
      if (grep 'ignoring option' conftest.err ||
17823
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17824
 
        am_cv_CC_dependencies_compiler_type=$depmode
17825
 
        break
17826
 
      fi
17827
 
    fi
17828
 
  done
17829
 
 
17830
 
  cd ..
17831
 
  rm -rf conftest.dir
17832
 
else
17833
 
  am_cv_CC_dependencies_compiler_type=none
17834
 
fi
17835
 
 
17836
 
fi
17837
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
17838
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17839
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17840
 
 
17841
 
 if
17842
 
  test "x$enable_dependency_tracking" != xno \
17843
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17844
 
  am__fastdepCC_TRUE=
17845
 
  am__fastdepCC_FALSE='#'
17846
 
else
17847
 
  am__fastdepCC_TRUE='#'
17848
 
  am__fastdepCC_FALSE=
17849
 
fi
17850
 
 
17851
 
 
17852
 
 
17853
 
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
17854
 
 
17855
 
 
17856
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17857
 
$as_echo_n "checking for ANSI C header files... " >&6; }
17858
 
if test "${ac_cv_header_stdc+set}" = set; then
17859
 
  $as_echo_n "(cached) " >&6
17860
 
else
17861
 
  cat >conftest.$ac_ext <<_ACEOF
17862
 
/* confdefs.h.  */
17863
 
_ACEOF
17864
 
cat confdefs.h >>conftest.$ac_ext
17865
 
cat >>conftest.$ac_ext <<_ACEOF
17866
 
/* end confdefs.h.  */
17867
 
#include <stdlib.h>
17868
 
#include <stdarg.h>
17869
 
#include <string.h>
17870
 
#include <float.h>
17871
 
 
17872
 
int
17873
 
main ()
17874
 
{
17875
 
 
17876
 
  ;
17877
 
  return 0;
17878
 
}
17879
 
_ACEOF
17880
 
rm -f conftest.$ac_objext
17881
 
if { (ac_try="$ac_compile"
17882
 
case "(($ac_try" in
17883
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17884
 
  *) ac_try_echo=$ac_try;;
17885
 
esac
17886
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17887
 
$as_echo "$ac_try_echo") >&5
17888
 
  (eval "$ac_compile") 2>conftest.er1
17889
 
  ac_status=$?
17890
 
  grep -v '^ *+' conftest.er1 >conftest.err
17891
 
  rm -f conftest.er1
17892
 
  cat conftest.err >&5
17893
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894
 
  (exit $ac_status); } && {
17895
 
         test -z "$ac_cxx_werror_flag" ||
17896
 
         test ! -s conftest.err
17897
 
       } && test -s conftest.$ac_objext; then
17898
 
  ac_cv_header_stdc=yes
17899
 
else
17900
 
  $as_echo "$as_me: failed program was:" >&5
17901
 
sed 's/^/| /' conftest.$ac_ext >&5
17902
 
 
17903
 
        ac_cv_header_stdc=no
17904
 
fi
17905
 
 
17906
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17907
 
 
17908
 
if test $ac_cv_header_stdc = yes; then
17909
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17910
 
  cat >conftest.$ac_ext <<_ACEOF
17911
 
/* confdefs.h.  */
17912
 
_ACEOF
17913
 
cat confdefs.h >>conftest.$ac_ext
17914
 
cat >>conftest.$ac_ext <<_ACEOF
17915
 
/* end confdefs.h.  */
17916
 
#include <string.h>
17917
 
 
17918
 
_ACEOF
17919
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17920
 
  $EGREP "memchr" >/dev/null 2>&1; then
17921
 
  :
17922
 
else
17923
 
  ac_cv_header_stdc=no
17924
 
fi
17925
 
rm -f conftest*
17926
 
 
17927
 
fi
17928
 
 
17929
 
if test $ac_cv_header_stdc = yes; then
17930
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17931
 
  cat >conftest.$ac_ext <<_ACEOF
17932
 
/* confdefs.h.  */
17933
 
_ACEOF
17934
 
cat confdefs.h >>conftest.$ac_ext
17935
 
cat >>conftest.$ac_ext <<_ACEOF
17936
 
/* end confdefs.h.  */
17937
 
#include <stdlib.h>
17938
 
 
17939
 
_ACEOF
17940
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17941
 
  $EGREP "free" >/dev/null 2>&1; then
17942
 
  :
17943
 
else
17944
 
  ac_cv_header_stdc=no
17945
 
fi
17946
 
rm -f conftest*
17947
 
 
17948
 
fi
17949
 
 
17950
 
if test $ac_cv_header_stdc = yes; then
17951
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17952
 
  if test "$cross_compiling" = yes; then
17953
 
  :
17954
 
else
17955
 
  cat >conftest.$ac_ext <<_ACEOF
17956
 
/* confdefs.h.  */
17957
 
_ACEOF
17958
 
cat confdefs.h >>conftest.$ac_ext
17959
 
cat >>conftest.$ac_ext <<_ACEOF
17960
 
/* end confdefs.h.  */
17961
 
#include <ctype.h>
17962
 
#include <stdlib.h>
17963
 
#if ((' ' & 0x0FF) == 0x020)
17964
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17965
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17966
 
#else
17967
 
# define ISLOWER(c) \
17968
 
                   (('a' <= (c) && (c) <= 'i') \
17969
 
                     || ('j' <= (c) && (c) <= 'r') \
17970
 
                     || ('s' <= (c) && (c) <= 'z'))
17971
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17972
 
#endif
17973
 
 
17974
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17975
 
int
17976
 
main ()
17977
 
{
17978
 
  int i;
17979
 
  for (i = 0; i < 256; i++)
17980
 
    if (XOR (islower (i), ISLOWER (i))
17981
 
        || toupper (i) != TOUPPER (i))
17982
 
      return 2;
17983
 
  return 0;
17984
 
}
17985
 
_ACEOF
17986
 
rm -f conftest$ac_exeext
17987
 
if { (ac_try="$ac_link"
17988
 
case "(($ac_try" in
17989
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17990
 
  *) ac_try_echo=$ac_try;;
17991
 
esac
17992
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17993
 
$as_echo "$ac_try_echo") >&5
17994
 
  (eval "$ac_link") 2>&5
17995
 
  ac_status=$?
17996
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17998
 
  { (case "(($ac_try" in
17999
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18000
 
  *) ac_try_echo=$ac_try;;
18001
 
esac
18002
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18003
 
$as_echo "$ac_try_echo") >&5
18004
 
  (eval "$ac_try") 2>&5
18005
 
  ac_status=$?
18006
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007
 
  (exit $ac_status); }; }; then
18008
 
  :
18009
 
else
18010
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
18011
 
$as_echo "$as_me: failed program was:" >&5
18012
 
sed 's/^/| /' conftest.$ac_ext >&5
18013
 
 
18014
 
( exit $ac_status )
18015
 
ac_cv_header_stdc=no
18016
 
fi
18017
 
rm -rf conftest.dSYM
18018
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18019
 
fi
18020
 
 
18021
 
 
18022
 
fi
18023
 
fi
18024
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18025
 
$as_echo "$ac_cv_header_stdc" >&6; }
18026
 
if test $ac_cv_header_stdc = yes; then
18027
 
 
18028
 
cat >>confdefs.h <<\_ACEOF
18029
 
#define STDC_HEADERS 1
18030
 
_ACEOF
18031
 
 
18032
 
fi
18033
 
 
 
15286
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15287
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15288
path to pkg-config.
 
15289
 
 
15290
Alternatively, you may set the environment variables PROCMAN_CFLAGS
 
15291
and PROCMAN_LIBS to avoid the need to call pkg-config.
 
15292
See the pkg-config man page for more details.
 
15293
 
 
15294
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15295
See \`config.log' for more details" "$LINENO" 5; }
 
15296
 
 
15297
else
 
15298
        PROCMAN_CFLAGS=$pkg_cv_PROCMAN_CFLAGS
 
15299
        PROCMAN_LIBS=$pkg_cv_PROCMAN_LIBS
 
15300
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15301
$as_echo "yes" >&6; }
 
15302
 
 
15303
fi
 
15304
 
 
15305
# Compiler warnings
18034
15306
 
18035
15307
 
18036
15308
    # Check whether --enable-compile-warnings was given.
18037
 
if test "${enable_compile_warnings+set}" = set; then
 
15309
if test "${enable_compile_warnings+set}" = set; then :
18038
15310
  enableval=$enable_compile_warnings;
18039
15311
else
18040
 
  enable_compile_warnings="yes"
 
15312
  enable_compile_warnings="maximum"
18041
15313
fi
18042
15314
 
18043
15315
 
18065
15337
        for option in -Wno-sign-compare; do
18066
15338
                SAVE_CFLAGS="$CFLAGS"
18067
15339
                CFLAGS="$CFLAGS $option"
18068
 
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
15340
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
18069
15341
$as_echo_n "checking whether gcc understands $option... " >&6; }
18070
 
                cat >conftest.$ac_ext <<_ACEOF
18071
 
/* confdefs.h.  */
18072
 
_ACEOF
18073
 
cat confdefs.h >>conftest.$ac_ext
18074
 
cat >>conftest.$ac_ext <<_ACEOF
 
15342
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075
15343
/* end confdefs.h.  */
18076
15344
 
18077
15345
int
18082
15350
  return 0;
18083
15351
}
18084
15352
_ACEOF
18085
 
rm -f conftest.$ac_objext
18086
 
if { (ac_try="$ac_compile"
18087
 
case "(($ac_try" in
18088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18089
 
  *) ac_try_echo=$ac_try;;
18090
 
esac
18091
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18092
 
$as_echo "$ac_try_echo") >&5
18093
 
  (eval "$ac_compile") 2>conftest.er1
18094
 
  ac_status=$?
18095
 
  grep -v '^ *+' conftest.er1 >conftest.err
18096
 
  rm -f conftest.er1
18097
 
  cat conftest.err >&5
18098
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099
 
  (exit $ac_status); } && {
18100
 
         test -z "$ac_cxx_werror_flag" ||
18101
 
         test ! -s conftest.err
18102
 
       } && test -s conftest.$ac_objext; then
 
15353
if ac_fn_cxx_try_compile "$LINENO"; then :
18103
15354
  has_option=yes
18104
15355
else
18105
 
  $as_echo "$as_me: failed program was:" >&5
18106
 
sed 's/^/| /' conftest.$ac_ext >&5
18107
 
 
18108
 
        has_option=no
 
15356
  has_option=no
18109
15357
fi
18110
 
 
18111
15358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112
15359
                CFLAGS="$SAVE_CFLAGS"
18113
 
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
15360
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
18114
15361
$as_echo "$has_option" >&6; }
18115
15362
                if test $has_option = yes; then
18116
15363
                  warning_flags="$warning_flags $option"
18124
15371
        fi
18125
15372
        ;;
18126
15373
    *)
18127
 
        { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
18128
 
$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
18129
 
   { (exit 1); exit 1; }; }
 
15374
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
18130
15375
        ;;
18131
15376
    esac
18132
15377
    CFLAGS="$realsave_CFLAGS"
18133
 
    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
15378
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
18134
15379
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
18135
 
    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
 
15380
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
18136
15381
$as_echo "$warning_flags" >&6; }
18137
15382
 
18138
15383
    # Check whether --enable-iso-c was given.
18139
 
if test "${enable_iso_c+set}" = set; then
 
15384
if test "${enable_iso_c+set}" = set; then :
18140
15385
  enableval=$enable_iso_c;
18141
15386
else
18142
15387
  enable_iso_c=no
18143
15388
fi
18144
15389
 
18145
15390
 
18146
 
    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
15391
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
18147
15392
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
18148
15393
    complCFLAGS=
18149
15394
    if test "x$enable_iso_c" != "xno"; then
18158
15403
        esac
18159
15404
        fi
18160
15405
    fi
18161
 
    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
15406
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
18162
15407
$as_echo "$complCFLAGS" >&6; }
18163
15408
 
18164
15409
    WARN_CFLAGS="$warning_flags $complCFLAGS"
18165
15410
 
18166
15411
 
18167
15412
 
18168
 
GLIB_REQUIRED=2.16.0
18169
 
GCONF_REQUIRED=1.1.5
18170
 
LIBWNCK_REQUIRED=2.5.0
18171
 
LIBGTOP_REQUIRED=2.23.1
18172
 
GTK_REQUIRED=2.16.0
18173
 
GNOME_ICON_THEME_REQUIRED=2.15.3
18174
 
GTKMM_REQUIRED=2.8
18175
 
GIOMM_REQUIRED=2.16.0
18176
 
GLIBMM_REQUIRED=2.14
18177
 
LIBXML_REQUIRED=2.0
18178
 
RSVG_REQUIRED=2.12
18179
 
DBUS_REQUIRED=0.7
18180
 
 
18181
 
 
18182
 
pkg_failed=no
18183
 
{ $as_echo "$as_me:$LINENO: checking for PROCMAN" >&5
18184
 
$as_echo_n "checking for PROCMAN... " >&6; }
18185
 
 
18186
 
if test -n "$PROCMAN_CFLAGS"; then
18187
 
    pkg_cv_PROCMAN_CFLAGS="$PROCMAN_CFLAGS"
18188
 
 elif test -n "$PKG_CONFIG"; then
18189
 
    if test -n "$PKG_CONFIG" && \
18190
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED libgtop-2.0 >= \$LIBGTOP_REQUIRED libwnck-1.0 >= \$LIBWNCK_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED gnome-icon-theme >= \$GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= \$GTKMM_REQUIRED libxml-2.0 >= \$LIBXML_REQUIRED librsvg-2.0 >= \$RSVG_REQUIRED glibmm-2.4 >= \$GLIBMM_REQUIRED giomm-2.4 >= \$GIOMM_REQUIRED dbus-glib-1 >= \$DBUS_REQUIRED\"") >&5
18191
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED") 2>&5
18192
 
  ac_status=$?
18193
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194
 
  (exit $ac_status); }; then
18195
 
  pkg_cv_PROCMAN_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED" 2>/dev/null`
18196
 
else
18197
 
  pkg_failed=yes
18198
 
fi
18199
 
 else
18200
 
    pkg_failed=untried
18201
 
fi
18202
 
if test -n "$PROCMAN_LIBS"; then
18203
 
    pkg_cv_PROCMAN_LIBS="$PROCMAN_LIBS"
18204
 
 elif test -n "$PKG_CONFIG"; then
18205
 
    if test -n "$PKG_CONFIG" && \
18206
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED libgtop-2.0 >= \$LIBGTOP_REQUIRED libwnck-1.0 >= \$LIBWNCK_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED gnome-icon-theme >= \$GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= \$GTKMM_REQUIRED libxml-2.0 >= \$LIBXML_REQUIRED librsvg-2.0 >= \$RSVG_REQUIRED glibmm-2.4 >= \$GLIBMM_REQUIRED giomm-2.4 >= \$GIOMM_REQUIRED dbus-glib-1 >= \$DBUS_REQUIRED\"") >&5
18207
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED") 2>&5
18208
 
  ac_status=$?
18209
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210
 
  (exit $ac_status); }; then
18211
 
  pkg_cv_PROCMAN_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED" 2>/dev/null`
18212
 
else
18213
 
  pkg_failed=yes
18214
 
fi
18215
 
 else
18216
 
    pkg_failed=untried
18217
 
fi
18218
 
 
18219
 
 
18220
 
 
18221
 
if test $pkg_failed = yes; then
18222
 
 
18223
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18224
 
        _pkg_short_errors_supported=yes
18225
 
else
18226
 
        _pkg_short_errors_supported=no
18227
 
fi
18228
 
        if test $_pkg_short_errors_supported = yes; then
18229
 
                PROCMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED" 2>&1`
18230
 
        else
18231
 
                PROCMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED" 2>&1`
18232
 
        fi
18233
 
        # Put the nasty error message in config.log where it belongs
18234
 
        echo "$PROCMAN_PKG_ERRORS" >&5
18235
 
 
18236
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED) were not met:
18237
 
 
18238
 
$PROCMAN_PKG_ERRORS
18239
 
 
18240
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18241
 
installed software in a non-standard prefix.
18242
 
 
18243
 
Alternatively, you may set the environment variables PROCMAN_CFLAGS
18244
 
and PROCMAN_LIBS to avoid the need to call pkg-config.
18245
 
See the pkg-config man page for more details.
18246
 
" >&5
18247
 
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED) were not met:
18248
 
 
18249
 
$PROCMAN_PKG_ERRORS
18250
 
 
18251
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18252
 
installed software in a non-standard prefix.
18253
 
 
18254
 
Alternatively, you may set the environment variables PROCMAN_CFLAGS
18255
 
and PROCMAN_LIBS to avoid the need to call pkg-config.
18256
 
See the pkg-config man page for more details.
18257
 
" >&2;}
18258
 
   { (exit 1); exit 1; }; }
18259
 
elif test $pkg_failed = untried; then
18260
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18261
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18262
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
18263
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18264
 
path to pkg-config.
18265
 
 
18266
 
Alternatively, you may set the environment variables PROCMAN_CFLAGS
18267
 
and PROCMAN_LIBS to avoid the need to call pkg-config.
18268
 
See the pkg-config man page for more details.
18269
 
 
18270
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18271
 
See \`config.log' for more details." >&5
18272
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
18273
 
is in your PATH or set the PKG_CONFIG environment variable to the full
18274
 
path to pkg-config.
18275
 
 
18276
 
Alternatively, you may set the environment variables PROCMAN_CFLAGS
18277
 
and PROCMAN_LIBS to avoid the need to call pkg-config.
18278
 
See the pkg-config man page for more details.
18279
 
 
18280
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18281
 
See \`config.log' for more details." >&2;}
18282
 
   { (exit 1); exit 1; }; }; }
18283
 
else
18284
 
        PROCMAN_CFLAGS=$pkg_cv_PROCMAN_CFLAGS
18285
 
        PROCMAN_LIBS=$pkg_cv_PROCMAN_LIBS
18286
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
18287
 
$as_echo "yes" >&6; }
18288
 
        :
18289
 
fi
18290
 
 
18291
 
 
18292
15413
# Check whether --enable-more-warnings was given.
18293
 
if test "${enable_more_warnings+set}" = set; then
 
15414
if test "${enable_more_warnings+set}" = set; then :
18294
15415
  enableval=$enable_more_warnings; set_more_warnings="$enableval"
18295
15416
else
18296
15417
 
18298
15419
 
18299
15420
fi
18300
15421
 
18301
 
{ $as_echo "$as_me:$LINENO: checking for more warnings" >&5
 
15422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for more warnings" >&5
18302
15423
$as_echo_n "checking for more warnings... " >&6; }
18303
15424
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
18304
 
    { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15425
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18305
15426
$as_echo "yes" >&6; }
18306
15427
    CFLAGS="\
18307
15428
    -Wall \
18313
15434
    $CFLAGS"
18314
15435
    CXXFLAGS="-Wall -std=c++98 $CXXFLAGS"
18315
15436
else
18316
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
18317
 
$as_echo "no" >&6; }
18318
 
fi
18319
 
 
18320
 
 
18321
 
 
18322
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
18323
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
18324
 
  else
18325
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
18326
 
  fi
18327
 
 
18328
 
 
18329
 
# Check whether --with-gconf-source was given.
18330
 
if test "${with_gconf_source+set}" = set; then
18331
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
18332
 
fi
18333
 
 
18334
 
 
18335
 
 
18336
 
  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
18337
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
18338
 
 
18339
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
18340
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
18341
 
  fi
18342
 
 
18343
 
 
18344
 
# Check whether --with-gconf-schema-file-dir was given.
18345
 
if test "${with_gconf_schema_file_dir+set}" = set; then
18346
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
18347
 
fi
18348
 
 
18349
 
 
18350
 
 
18351
 
  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
18352
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
18353
 
 
18354
 
  # Check whether --enable-schemas-install was given.
18355
 
if test "${enable_schemas_install+set}" = set; then
18356
 
  enableval=$enable_schemas_install; case ${enableval} in
18357
 
       yes|no) ;;
18358
 
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
18359
 
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
18360
 
   { (exit 1); exit 1; }; } ;;
18361
 
      esac
18362
 
fi
18363
 
 
18364
 
   if test "$enable_schemas_install" != no; then
18365
 
  GCONF_SCHEMAS_INSTALL_TRUE=
18366
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
18367
 
else
18368
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
18369
 
  GCONF_SCHEMAS_INSTALL_FALSE=
18370
 
fi
18371
 
 
18372
 
 
18373
 
 
18374
 
 
18375
 
GETTEXT_PACKAGE=gnome-system-monitor
18376
 
 
18377
 
 
18378
 
cat >>confdefs.h <<_ACEOF
18379
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
18380
 
_ACEOF
18381
 
 
18382
 
 
18383
 
 
18384
 
for ac_header in locale.h
18385
 
do
18386
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18387
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18388
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18389
 
$as_echo_n "checking for $ac_header... " >&6; }
18390
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18391
 
  $as_echo_n "(cached) " >&6
18392
 
fi
18393
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
18394
 
                 $as_echo "$as_val"'`
18395
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18396
 
$as_echo "$ac_res" >&6; }
18397
 
else
18398
 
  # Is the header compilable?
18399
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18400
 
$as_echo_n "checking $ac_header usability... " >&6; }
18401
 
cat >conftest.$ac_ext <<_ACEOF
18402
 
/* confdefs.h.  */
18403
 
_ACEOF
18404
 
cat confdefs.h >>conftest.$ac_ext
18405
 
cat >>conftest.$ac_ext <<_ACEOF
18406
 
/* end confdefs.h.  */
18407
 
$ac_includes_default
18408
 
#include <$ac_header>
18409
 
_ACEOF
18410
 
rm -f conftest.$ac_objext
18411
 
if { (ac_try="$ac_compile"
18412
 
case "(($ac_try" in
18413
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18414
 
  *) ac_try_echo=$ac_try;;
18415
 
esac
18416
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18417
 
$as_echo "$ac_try_echo") >&5
18418
 
  (eval "$ac_compile") 2>conftest.er1
18419
 
  ac_status=$?
18420
 
  grep -v '^ *+' conftest.er1 >conftest.err
18421
 
  rm -f conftest.er1
18422
 
  cat conftest.err >&5
18423
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424
 
  (exit $ac_status); } && {
18425
 
         test -z "$ac_cxx_werror_flag" ||
18426
 
         test ! -s conftest.err
18427
 
       } && test -s conftest.$ac_objext; then
18428
 
  ac_header_compiler=yes
18429
 
else
18430
 
  $as_echo "$as_me: failed program was:" >&5
18431
 
sed 's/^/| /' conftest.$ac_ext >&5
18432
 
 
18433
 
        ac_header_compiler=no
18434
 
fi
18435
 
 
18436
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18438
 
$as_echo "$ac_header_compiler" >&6; }
18439
 
 
18440
 
# Is the header present?
18441
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18442
 
$as_echo_n "checking $ac_header presence... " >&6; }
18443
 
cat >conftest.$ac_ext <<_ACEOF
18444
 
/* confdefs.h.  */
18445
 
_ACEOF
18446
 
cat confdefs.h >>conftest.$ac_ext
18447
 
cat >>conftest.$ac_ext <<_ACEOF
18448
 
/* end confdefs.h.  */
18449
 
#include <$ac_header>
18450
 
_ACEOF
18451
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
18452
 
case "(($ac_try" in
18453
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18454
 
  *) ac_try_echo=$ac_try;;
18455
 
esac
18456
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18457
 
$as_echo "$ac_try_echo") >&5
18458
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18459
 
  ac_status=$?
18460
 
  grep -v '^ *+' conftest.er1 >conftest.err
18461
 
  rm -f conftest.er1
18462
 
  cat conftest.err >&5
18463
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464
 
  (exit $ac_status); } >/dev/null && {
18465
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
18466
 
         test ! -s conftest.err
18467
 
       }; then
18468
 
  ac_header_preproc=yes
18469
 
else
18470
 
  $as_echo "$as_me: failed program was:" >&5
18471
 
sed 's/^/| /' conftest.$ac_ext >&5
18472
 
 
18473
 
  ac_header_preproc=no
18474
 
fi
18475
 
 
18476
 
rm -f conftest.err conftest.$ac_ext
18477
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18478
 
$as_echo "$ac_header_preproc" >&6; }
18479
 
 
18480
 
# So?  What about this header?
18481
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18482
 
  yes:no: )
18483
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18484
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18485
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18486
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18487
 
    ac_header_preproc=yes
18488
 
    ;;
18489
 
  no:yes:* )
18490
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18491
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18492
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18493
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18494
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18495
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18496
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18497
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18498
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18499
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18500
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18501
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18502
 
    ( cat <<\_ASBOX
18503
 
## ----------------------------------------------------------------------------- ##
18504
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor ##
18505
 
## ----------------------------------------------------------------------------- ##
18506
 
_ASBOX
18507
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18508
 
    ;;
18509
 
esac
18510
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18511
 
$as_echo_n "checking for $ac_header... " >&6; }
18512
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18513
 
  $as_echo_n "(cached) " >&6
18514
 
else
18515
 
  eval "$as_ac_Header=\$ac_header_preproc"
18516
 
fi
18517
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
18518
 
                 $as_echo "$as_val"'`
18519
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18520
 
$as_echo "$ac_res" >&6; }
18521
 
 
18522
 
fi
18523
 
as_val=`eval 'as_val=${'$as_ac_Header'}
18524
 
                 $as_echo "$as_val"'`
18525
 
   if test "x$as_val" = x""yes; then
18526
 
  cat >>confdefs.h <<_ACEOF
18527
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18528
 
_ACEOF
18529
 
 
18530
 
fi
18531
 
 
18532
 
done
18533
 
 
18534
 
    if test $ac_cv_header_locale_h = yes; then
18535
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
18536
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
18537
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
18538
 
  $as_echo_n "(cached) " >&6
18539
 
else
18540
 
  cat >conftest.$ac_ext <<_ACEOF
18541
 
/* confdefs.h.  */
18542
 
_ACEOF
18543
 
cat confdefs.h >>conftest.$ac_ext
18544
 
cat >>conftest.$ac_ext <<_ACEOF
18545
 
/* end confdefs.h.  */
18546
 
#include <locale.h>
18547
 
int
18548
 
main ()
18549
 
{
18550
 
return LC_MESSAGES
18551
 
  ;
18552
 
  return 0;
18553
 
}
18554
 
_ACEOF
18555
 
rm -f conftest.$ac_objext conftest$ac_exeext
18556
 
if { (ac_try="$ac_link"
18557
 
case "(($ac_try" in
18558
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18559
 
  *) ac_try_echo=$ac_try;;
18560
 
esac
18561
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18562
 
$as_echo "$ac_try_echo") >&5
18563
 
  (eval "$ac_link") 2>conftest.er1
18564
 
  ac_status=$?
18565
 
  grep -v '^ *+' conftest.er1 >conftest.err
18566
 
  rm -f conftest.er1
18567
 
  cat conftest.err >&5
18568
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569
 
  (exit $ac_status); } && {
18570
 
         test -z "$ac_cxx_werror_flag" ||
18571
 
         test ! -s conftest.err
18572
 
       } && test -s conftest$ac_exeext && {
18573
 
         test "$cross_compiling" = yes ||
18574
 
         $as_test_x conftest$ac_exeext
18575
 
       }; then
18576
 
  am_cv_val_LC_MESSAGES=yes
18577
 
else
18578
 
  $as_echo "$as_me: failed program was:" >&5
18579
 
sed 's/^/| /' conftest.$ac_ext >&5
18580
 
 
18581
 
        am_cv_val_LC_MESSAGES=no
18582
 
fi
18583
 
 
18584
 
rm -rf conftest.dSYM
18585
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18586
 
      conftest$ac_exeext conftest.$ac_ext
18587
 
fi
18588
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
18589
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
18590
 
    if test $am_cv_val_LC_MESSAGES = yes; then
18591
 
 
18592
 
cat >>confdefs.h <<\_ACEOF
18593
 
#define HAVE_LC_MESSAGES 1
18594
 
_ACEOF
18595
 
 
18596
 
    fi
18597
 
  fi
18598
 
     USE_NLS=yes
18599
 
 
18600
 
 
18601
 
    gt_cv_have_gettext=no
18602
 
 
18603
 
    CATOBJEXT=NONE
18604
 
    XGETTEXT=:
18605
 
    INTLLIBS=
18606
 
 
18607
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
18608
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
18609
 
$as_echo_n "checking for libintl.h... " >&6; }
18610
 
if test "${ac_cv_header_libintl_h+set}" = set; then
18611
 
  $as_echo_n "(cached) " >&6
18612
 
fi
18613
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
18614
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
18615
 
else
18616
 
  # Is the header compilable?
18617
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
18618
 
$as_echo_n "checking libintl.h usability... " >&6; }
18619
 
cat >conftest.$ac_ext <<_ACEOF
18620
 
/* confdefs.h.  */
18621
 
_ACEOF
18622
 
cat confdefs.h >>conftest.$ac_ext
18623
 
cat >>conftest.$ac_ext <<_ACEOF
18624
 
/* end confdefs.h.  */
18625
 
$ac_includes_default
18626
 
#include <libintl.h>
18627
 
_ACEOF
18628
 
rm -f conftest.$ac_objext
18629
 
if { (ac_try="$ac_compile"
18630
 
case "(($ac_try" in
18631
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18632
 
  *) ac_try_echo=$ac_try;;
18633
 
esac
18634
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18635
 
$as_echo "$ac_try_echo") >&5
18636
 
  (eval "$ac_compile") 2>conftest.er1
18637
 
  ac_status=$?
18638
 
  grep -v '^ *+' conftest.er1 >conftest.err
18639
 
  rm -f conftest.er1
18640
 
  cat conftest.err >&5
18641
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642
 
  (exit $ac_status); } && {
18643
 
         test -z "$ac_cxx_werror_flag" ||
18644
 
         test ! -s conftest.err
18645
 
       } && test -s conftest.$ac_objext; then
18646
 
  ac_header_compiler=yes
18647
 
else
18648
 
  $as_echo "$as_me: failed program was:" >&5
18649
 
sed 's/^/| /' conftest.$ac_ext >&5
18650
 
 
18651
 
        ac_header_compiler=no
18652
 
fi
18653
 
 
18654
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18655
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18656
 
$as_echo "$ac_header_compiler" >&6; }
18657
 
 
18658
 
# Is the header present?
18659
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
18660
 
$as_echo_n "checking libintl.h presence... " >&6; }
18661
 
cat >conftest.$ac_ext <<_ACEOF
18662
 
/* confdefs.h.  */
18663
 
_ACEOF
18664
 
cat confdefs.h >>conftest.$ac_ext
18665
 
cat >>conftest.$ac_ext <<_ACEOF
18666
 
/* end confdefs.h.  */
18667
 
#include <libintl.h>
18668
 
_ACEOF
18669
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
18670
 
case "(($ac_try" in
18671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18672
 
  *) ac_try_echo=$ac_try;;
18673
 
esac
18674
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18675
 
$as_echo "$ac_try_echo") >&5
18676
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18677
 
  ac_status=$?
18678
 
  grep -v '^ *+' conftest.er1 >conftest.err
18679
 
  rm -f conftest.er1
18680
 
  cat conftest.err >&5
18681
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682
 
  (exit $ac_status); } >/dev/null && {
18683
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
18684
 
         test ! -s conftest.err
18685
 
       }; then
18686
 
  ac_header_preproc=yes
18687
 
else
18688
 
  $as_echo "$as_me: failed program was:" >&5
18689
 
sed 's/^/| /' conftest.$ac_ext >&5
18690
 
 
18691
 
  ac_header_preproc=no
18692
 
fi
18693
 
 
18694
 
rm -f conftest.err conftest.$ac_ext
18695
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18696
 
$as_echo "$ac_header_preproc" >&6; }
18697
 
 
18698
 
# So?  What about this header?
18699
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18700
 
  yes:no: )
18701
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
18702
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18703
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
18704
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
18705
 
    ac_header_preproc=yes
18706
 
    ;;
18707
 
  no:yes:* )
18708
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
18709
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
18710
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
18711
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
18712
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
18713
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
18714
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
18715
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
18716
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
18717
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
18718
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
18719
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
18720
 
    ( cat <<\_ASBOX
18721
 
## ----------------------------------------------------------------------------- ##
18722
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor ##
18723
 
## ----------------------------------------------------------------------------- ##
18724
 
_ASBOX
18725
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18726
 
    ;;
18727
 
esac
18728
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
18729
 
$as_echo_n "checking for libintl.h... " >&6; }
18730
 
if test "${ac_cv_header_libintl_h+set}" = set; then
18731
 
  $as_echo_n "(cached) " >&6
18732
 
else
18733
 
  ac_cv_header_libintl_h=$ac_header_preproc
18734
 
fi
18735
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
18736
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
18737
 
 
18738
 
fi
18739
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
18740
 
  gt_cv_func_dgettext_libintl="no"
18741
 
      libintl_extra_libs=""
18742
 
 
18743
 
      #
18744
 
      # First check in libc
18745
 
      #
18746
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
18747
 
$as_echo_n "checking for ngettext in libc... " >&6; }
18748
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
18749
 
  $as_echo_n "(cached) " >&6
18750
 
else
18751
 
  cat >conftest.$ac_ext <<_ACEOF
18752
 
/* confdefs.h.  */
18753
 
_ACEOF
18754
 
cat confdefs.h >>conftest.$ac_ext
18755
 
cat >>conftest.$ac_ext <<_ACEOF
18756
 
/* end confdefs.h.  */
18757
 
 
18758
 
#include <libintl.h>
18759
 
 
18760
 
int
18761
 
main ()
18762
 
{
18763
 
return !ngettext ("","", 1)
18764
 
  ;
18765
 
  return 0;
18766
 
}
18767
 
_ACEOF
18768
 
rm -f conftest.$ac_objext conftest$ac_exeext
18769
 
if { (ac_try="$ac_link"
18770
 
case "(($ac_try" in
18771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772
 
  *) ac_try_echo=$ac_try;;
18773
 
esac
18774
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18775
 
$as_echo "$ac_try_echo") >&5
18776
 
  (eval "$ac_link") 2>conftest.er1
18777
 
  ac_status=$?
18778
 
  grep -v '^ *+' conftest.er1 >conftest.err
18779
 
  rm -f conftest.er1
18780
 
  cat conftest.err >&5
18781
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782
 
  (exit $ac_status); } && {
18783
 
         test -z "$ac_cxx_werror_flag" ||
18784
 
         test ! -s conftest.err
18785
 
       } && test -s conftest$ac_exeext && {
18786
 
         test "$cross_compiling" = yes ||
18787
 
         $as_test_x conftest$ac_exeext
18788
 
       }; then
18789
 
  gt_cv_func_ngettext_libc=yes
18790
 
else
18791
 
  $as_echo "$as_me: failed program was:" >&5
18792
 
sed 's/^/| /' conftest.$ac_ext >&5
18793
 
 
18794
 
        gt_cv_func_ngettext_libc=no
18795
 
fi
18796
 
 
18797
 
rm -rf conftest.dSYM
18798
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18799
 
      conftest$ac_exeext conftest.$ac_ext
18800
 
 
18801
 
fi
18802
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
18803
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
18804
 
 
18805
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18806
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
18807
 
$as_echo_n "checking for dgettext in libc... " >&6; }
18808
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
18809
 
  $as_echo_n "(cached) " >&6
18810
 
else
18811
 
  cat >conftest.$ac_ext <<_ACEOF
18812
 
/* confdefs.h.  */
18813
 
_ACEOF
18814
 
cat confdefs.h >>conftest.$ac_ext
18815
 
cat >>conftest.$ac_ext <<_ACEOF
18816
 
/* end confdefs.h.  */
18817
 
 
18818
 
#include <libintl.h>
18819
 
 
18820
 
int
18821
 
main ()
18822
 
{
18823
 
return !dgettext ("","")
18824
 
  ;
18825
 
  return 0;
18826
 
}
18827
 
_ACEOF
18828
 
rm -f conftest.$ac_objext conftest$ac_exeext
18829
 
if { (ac_try="$ac_link"
18830
 
case "(($ac_try" in
18831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18832
 
  *) ac_try_echo=$ac_try;;
18833
 
esac
18834
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18835
 
$as_echo "$ac_try_echo") >&5
18836
 
  (eval "$ac_link") 2>conftest.er1
18837
 
  ac_status=$?
18838
 
  grep -v '^ *+' conftest.er1 >conftest.err
18839
 
  rm -f conftest.er1
18840
 
  cat conftest.err >&5
18841
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842
 
  (exit $ac_status); } && {
18843
 
         test -z "$ac_cxx_werror_flag" ||
18844
 
         test ! -s conftest.err
18845
 
       } && test -s conftest$ac_exeext && {
18846
 
         test "$cross_compiling" = yes ||
18847
 
         $as_test_x conftest$ac_exeext
18848
 
       }; then
18849
 
  gt_cv_func_dgettext_libc=yes
18850
 
else
18851
 
  $as_echo "$as_me: failed program was:" >&5
18852
 
sed 's/^/| /' conftest.$ac_ext >&5
18853
 
 
18854
 
        gt_cv_func_dgettext_libc=no
18855
 
fi
18856
 
 
18857
 
rm -rf conftest.dSYM
18858
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18859
 
      conftest$ac_exeext conftest.$ac_ext
18860
 
 
18861
 
fi
18862
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
18863
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
18864
 
      fi
18865
 
 
18866
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18867
 
 
18868
 
for ac_func in bind_textdomain_codeset
18869
 
do
18870
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18871
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18872
 
$as_echo_n "checking for $ac_func... " >&6; }
18873
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18874
 
  $as_echo_n "(cached) " >&6
18875
 
else
18876
 
  cat >conftest.$ac_ext <<_ACEOF
18877
 
/* confdefs.h.  */
18878
 
_ACEOF
18879
 
cat confdefs.h >>conftest.$ac_ext
18880
 
cat >>conftest.$ac_ext <<_ACEOF
18881
 
/* end confdefs.h.  */
18882
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18883
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18884
 
#define $ac_func innocuous_$ac_func
18885
 
 
18886
 
/* System header to define __stub macros and hopefully few prototypes,
18887
 
    which can conflict with char $ac_func (); below.
18888
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18889
 
    <limits.h> exists even on freestanding compilers.  */
18890
 
 
18891
 
#ifdef __STDC__
18892
 
# include <limits.h>
18893
 
#else
18894
 
# include <assert.h>
18895
 
#endif
18896
 
 
18897
 
#undef $ac_func
18898
 
 
18899
 
/* Override any GCC internal prototype to avoid an error.
18900
 
   Use char because int might match the return type of a GCC
18901
 
   builtin and then its argument prototype would still apply.  */
18902
 
#ifdef __cplusplus
18903
 
extern "C"
18904
 
#endif
18905
 
char $ac_func ();
18906
 
/* The GNU C library defines this for functions which it implements
18907
 
    to always fail with ENOSYS.  Some functions are actually named
18908
 
    something starting with __ and the normal name is an alias.  */
18909
 
#if defined __stub_$ac_func || defined __stub___$ac_func
18910
 
choke me
18911
 
#endif
18912
 
 
18913
 
int
18914
 
main ()
18915
 
{
18916
 
return $ac_func ();
18917
 
  ;
18918
 
  return 0;
18919
 
}
18920
 
_ACEOF
18921
 
rm -f conftest.$ac_objext conftest$ac_exeext
18922
 
if { (ac_try="$ac_link"
18923
 
case "(($ac_try" in
18924
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925
 
  *) ac_try_echo=$ac_try;;
18926
 
esac
18927
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18928
 
$as_echo "$ac_try_echo") >&5
18929
 
  (eval "$ac_link") 2>conftest.er1
18930
 
  ac_status=$?
18931
 
  grep -v '^ *+' conftest.er1 >conftest.err
18932
 
  rm -f conftest.er1
18933
 
  cat conftest.err >&5
18934
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935
 
  (exit $ac_status); } && {
18936
 
         test -z "$ac_cxx_werror_flag" ||
18937
 
         test ! -s conftest.err
18938
 
       } && test -s conftest$ac_exeext && {
18939
 
         test "$cross_compiling" = yes ||
18940
 
         $as_test_x conftest$ac_exeext
18941
 
       }; then
18942
 
  eval "$as_ac_var=yes"
18943
 
else
18944
 
  $as_echo "$as_me: failed program was:" >&5
18945
 
sed 's/^/| /' conftest.$ac_ext >&5
18946
 
 
18947
 
        eval "$as_ac_var=no"
18948
 
fi
18949
 
 
18950
 
rm -rf conftest.dSYM
18951
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18952
 
      conftest$ac_exeext conftest.$ac_ext
18953
 
fi
18954
 
ac_res=`eval 'as_val=${'$as_ac_var'}
18955
 
                 $as_echo "$as_val"'`
18956
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18957
 
$as_echo "$ac_res" >&6; }
18958
 
as_val=`eval 'as_val=${'$as_ac_var'}
18959
 
                 $as_echo "$as_val"'`
18960
 
   if test "x$as_val" = x""yes; then
18961
 
  cat >>confdefs.h <<_ACEOF
18962
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18963
 
_ACEOF
18964
 
 
18965
 
fi
18966
 
done
18967
 
 
18968
 
      fi
18969
 
 
18970
 
      #
18971
 
      # If we don't have everything we want, check in libintl
18972
 
      #
18973
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
18974
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
18975
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
18976
 
 
18977
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
18978
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
18979
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
18980
 
  $as_echo_n "(cached) " >&6
18981
 
else
18982
 
  ac_check_lib_save_LIBS=$LIBS
18983
 
LIBS="-lintl  $LIBS"
18984
 
cat >conftest.$ac_ext <<_ACEOF
18985
 
/* confdefs.h.  */
18986
 
_ACEOF
18987
 
cat confdefs.h >>conftest.$ac_ext
18988
 
cat >>conftest.$ac_ext <<_ACEOF
18989
 
/* end confdefs.h.  */
18990
 
 
18991
 
/* Override any GCC internal prototype to avoid an error.
18992
 
   Use char because int might match the return type of a GCC
18993
 
   builtin and then its argument prototype would still apply.  */
18994
 
#ifdef __cplusplus
18995
 
extern "C"
18996
 
#endif
18997
 
char bindtextdomain ();
18998
 
int
18999
 
main ()
19000
 
{
19001
 
return bindtextdomain ();
19002
 
  ;
19003
 
  return 0;
19004
 
}
19005
 
_ACEOF
19006
 
rm -f conftest.$ac_objext conftest$ac_exeext
19007
 
if { (ac_try="$ac_link"
19008
 
case "(($ac_try" in
19009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19010
 
  *) ac_try_echo=$ac_try;;
19011
 
esac
19012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19013
 
$as_echo "$ac_try_echo") >&5
19014
 
  (eval "$ac_link") 2>conftest.er1
19015
 
  ac_status=$?
19016
 
  grep -v '^ *+' conftest.er1 >conftest.err
19017
 
  rm -f conftest.er1
19018
 
  cat conftest.err >&5
19019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020
 
  (exit $ac_status); } && {
19021
 
         test -z "$ac_cxx_werror_flag" ||
19022
 
         test ! -s conftest.err
19023
 
       } && test -s conftest$ac_exeext && {
19024
 
         test "$cross_compiling" = yes ||
19025
 
         $as_test_x conftest$ac_exeext
19026
 
       }; then
19027
 
  ac_cv_lib_intl_bindtextdomain=yes
19028
 
else
19029
 
  $as_echo "$as_me: failed program was:" >&5
19030
 
sed 's/^/| /' conftest.$ac_ext >&5
19031
 
 
19032
 
        ac_cv_lib_intl_bindtextdomain=no
19033
 
fi
19034
 
 
19035
 
rm -rf conftest.dSYM
19036
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19037
 
      conftest$ac_exeext conftest.$ac_ext
19038
 
LIBS=$ac_check_lib_save_LIBS
19039
 
fi
19040
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
19041
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
19042
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
19043
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
19044
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
19045
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
19046
 
  $as_echo_n "(cached) " >&6
19047
 
else
19048
 
  ac_check_lib_save_LIBS=$LIBS
19049
 
LIBS="-lintl  $LIBS"
19050
 
cat >conftest.$ac_ext <<_ACEOF
19051
 
/* confdefs.h.  */
19052
 
_ACEOF
19053
 
cat confdefs.h >>conftest.$ac_ext
19054
 
cat >>conftest.$ac_ext <<_ACEOF
19055
 
/* end confdefs.h.  */
19056
 
 
19057
 
/* Override any GCC internal prototype to avoid an error.
19058
 
   Use char because int might match the return type of a GCC
19059
 
   builtin and then its argument prototype would still apply.  */
19060
 
#ifdef __cplusplus
19061
 
extern "C"
19062
 
#endif
19063
 
char ngettext ();
19064
 
int
19065
 
main ()
19066
 
{
19067
 
return ngettext ();
19068
 
  ;
19069
 
  return 0;
19070
 
}
19071
 
_ACEOF
19072
 
rm -f conftest.$ac_objext conftest$ac_exeext
19073
 
if { (ac_try="$ac_link"
19074
 
case "(($ac_try" in
19075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19076
 
  *) ac_try_echo=$ac_try;;
19077
 
esac
19078
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19079
 
$as_echo "$ac_try_echo") >&5
19080
 
  (eval "$ac_link") 2>conftest.er1
19081
 
  ac_status=$?
19082
 
  grep -v '^ *+' conftest.er1 >conftest.err
19083
 
  rm -f conftest.er1
19084
 
  cat conftest.err >&5
19085
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086
 
  (exit $ac_status); } && {
19087
 
         test -z "$ac_cxx_werror_flag" ||
19088
 
         test ! -s conftest.err
19089
 
       } && test -s conftest$ac_exeext && {
19090
 
         test "$cross_compiling" = yes ||
19091
 
         $as_test_x conftest$ac_exeext
19092
 
       }; then
19093
 
  ac_cv_lib_intl_ngettext=yes
19094
 
else
19095
 
  $as_echo "$as_me: failed program was:" >&5
19096
 
sed 's/^/| /' conftest.$ac_ext >&5
19097
 
 
19098
 
        ac_cv_lib_intl_ngettext=no
19099
 
fi
19100
 
 
19101
 
rm -rf conftest.dSYM
19102
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19103
 
      conftest$ac_exeext conftest.$ac_ext
19104
 
LIBS=$ac_check_lib_save_LIBS
19105
 
fi
19106
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
19107
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19108
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
19109
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19110
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
19111
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19112
 
  $as_echo_n "(cached) " >&6
19113
 
else
19114
 
  ac_check_lib_save_LIBS=$LIBS
19115
 
LIBS="-lintl  $LIBS"
19116
 
cat >conftest.$ac_ext <<_ACEOF
19117
 
/* confdefs.h.  */
19118
 
_ACEOF
19119
 
cat confdefs.h >>conftest.$ac_ext
19120
 
cat >>conftest.$ac_ext <<_ACEOF
19121
 
/* end confdefs.h.  */
19122
 
 
19123
 
/* Override any GCC internal prototype to avoid an error.
19124
 
   Use char because int might match the return type of a GCC
19125
 
   builtin and then its argument prototype would still apply.  */
19126
 
#ifdef __cplusplus
19127
 
extern "C"
19128
 
#endif
19129
 
char dgettext ();
19130
 
int
19131
 
main ()
19132
 
{
19133
 
return dgettext ();
19134
 
  ;
19135
 
  return 0;
19136
 
}
19137
 
_ACEOF
19138
 
rm -f conftest.$ac_objext conftest$ac_exeext
19139
 
if { (ac_try="$ac_link"
19140
 
case "(($ac_try" in
19141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19142
 
  *) ac_try_echo=$ac_try;;
19143
 
esac
19144
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19145
 
$as_echo "$ac_try_echo") >&5
19146
 
  (eval "$ac_link") 2>conftest.er1
19147
 
  ac_status=$?
19148
 
  grep -v '^ *+' conftest.er1 >conftest.err
19149
 
  rm -f conftest.er1
19150
 
  cat conftest.err >&5
19151
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152
 
  (exit $ac_status); } && {
19153
 
         test -z "$ac_cxx_werror_flag" ||
19154
 
         test ! -s conftest.err
19155
 
       } && test -s conftest$ac_exeext && {
19156
 
         test "$cross_compiling" = yes ||
19157
 
         $as_test_x conftest$ac_exeext
19158
 
       }; then
19159
 
  ac_cv_lib_intl_dgettext=yes
19160
 
else
19161
 
  $as_echo "$as_me: failed program was:" >&5
19162
 
sed 's/^/| /' conftest.$ac_ext >&5
19163
 
 
19164
 
        ac_cv_lib_intl_dgettext=no
19165
 
fi
19166
 
 
19167
 
rm -rf conftest.dSYM
19168
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19169
 
      conftest$ac_exeext conftest.$ac_ext
19170
 
LIBS=$ac_check_lib_save_LIBS
19171
 
fi
19172
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19173
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
19174
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
19175
 
  gt_cv_func_dgettext_libintl=yes
19176
 
fi
19177
 
 
19178
 
fi
19179
 
 
19180
 
fi
19181
 
 
19182
 
 
19183
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
19184
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
19185
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
19186
 
          { $as_echo "$as_me:$LINENO: result: " >&5
19187
 
$as_echo "" >&6; }
19188
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
19189
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
19190
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
19191
 
  $as_echo_n "(cached) " >&6
19192
 
else
19193
 
  ac_check_lib_save_LIBS=$LIBS
19194
 
LIBS="-lintl -liconv $LIBS"
19195
 
cat >conftest.$ac_ext <<_ACEOF
19196
 
/* confdefs.h.  */
19197
 
_ACEOF
19198
 
cat confdefs.h >>conftest.$ac_ext
19199
 
cat >>conftest.$ac_ext <<_ACEOF
19200
 
/* end confdefs.h.  */
19201
 
 
19202
 
/* Override any GCC internal prototype to avoid an error.
19203
 
   Use char because int might match the return type of a GCC
19204
 
   builtin and then its argument prototype would still apply.  */
19205
 
#ifdef __cplusplus
19206
 
extern "C"
19207
 
#endif
19208
 
char ngettext ();
19209
 
int
19210
 
main ()
19211
 
{
19212
 
return ngettext ();
19213
 
  ;
19214
 
  return 0;
19215
 
}
19216
 
_ACEOF
19217
 
rm -f conftest.$ac_objext conftest$ac_exeext
19218
 
if { (ac_try="$ac_link"
19219
 
case "(($ac_try" in
19220
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19221
 
  *) ac_try_echo=$ac_try;;
19222
 
esac
19223
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19224
 
$as_echo "$ac_try_echo") >&5
19225
 
  (eval "$ac_link") 2>conftest.er1
19226
 
  ac_status=$?
19227
 
  grep -v '^ *+' conftest.er1 >conftest.err
19228
 
  rm -f conftest.er1
19229
 
  cat conftest.err >&5
19230
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231
 
  (exit $ac_status); } && {
19232
 
         test -z "$ac_cxx_werror_flag" ||
19233
 
         test ! -s conftest.err
19234
 
       } && test -s conftest$ac_exeext && {
19235
 
         test "$cross_compiling" = yes ||
19236
 
         $as_test_x conftest$ac_exeext
19237
 
       }; then
19238
 
  ac_cv_lib_intl_ngettext=yes
19239
 
else
19240
 
  $as_echo "$as_me: failed program was:" >&5
19241
 
sed 's/^/| /' conftest.$ac_ext >&5
19242
 
 
19243
 
        ac_cv_lib_intl_ngettext=no
19244
 
fi
19245
 
 
19246
 
rm -rf conftest.dSYM
19247
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19248
 
      conftest$ac_exeext conftest.$ac_ext
19249
 
LIBS=$ac_check_lib_save_LIBS
19250
 
fi
19251
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
19252
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19253
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
19254
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
19255
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
19256
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
19257
 
  $as_echo_n "(cached) " >&6
19258
 
else
19259
 
  ac_check_lib_save_LIBS=$LIBS
19260
 
LIBS="-lintl -liconv $LIBS"
19261
 
cat >conftest.$ac_ext <<_ACEOF
19262
 
/* confdefs.h.  */
19263
 
_ACEOF
19264
 
cat confdefs.h >>conftest.$ac_ext
19265
 
cat >>conftest.$ac_ext <<_ACEOF
19266
 
/* end confdefs.h.  */
19267
 
 
19268
 
/* Override any GCC internal prototype to avoid an error.
19269
 
   Use char because int might match the return type of a GCC
19270
 
   builtin and then its argument prototype would still apply.  */
19271
 
#ifdef __cplusplus
19272
 
extern "C"
19273
 
#endif
19274
 
char dcgettext ();
19275
 
int
19276
 
main ()
19277
 
{
19278
 
return dcgettext ();
19279
 
  ;
19280
 
  return 0;
19281
 
}
19282
 
_ACEOF
19283
 
rm -f conftest.$ac_objext conftest$ac_exeext
19284
 
if { (ac_try="$ac_link"
19285
 
case "(($ac_try" in
19286
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19287
 
  *) ac_try_echo=$ac_try;;
19288
 
esac
19289
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19290
 
$as_echo "$ac_try_echo") >&5
19291
 
  (eval "$ac_link") 2>conftest.er1
19292
 
  ac_status=$?
19293
 
  grep -v '^ *+' conftest.er1 >conftest.err
19294
 
  rm -f conftest.er1
19295
 
  cat conftest.err >&5
19296
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297
 
  (exit $ac_status); } && {
19298
 
         test -z "$ac_cxx_werror_flag" ||
19299
 
         test ! -s conftest.err
19300
 
       } && test -s conftest$ac_exeext && {
19301
 
         test "$cross_compiling" = yes ||
19302
 
         $as_test_x conftest$ac_exeext
19303
 
       }; then
19304
 
  ac_cv_lib_intl_dcgettext=yes
19305
 
else
19306
 
  $as_echo "$as_me: failed program was:" >&5
19307
 
sed 's/^/| /' conftest.$ac_ext >&5
19308
 
 
19309
 
        ac_cv_lib_intl_dcgettext=no
19310
 
fi
19311
 
 
19312
 
rm -rf conftest.dSYM
19313
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19314
 
      conftest$ac_exeext conftest.$ac_ext
19315
 
LIBS=$ac_check_lib_save_LIBS
19316
 
fi
19317
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
19318
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
19319
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
19320
 
  gt_cv_func_dgettext_libintl=yes
19321
 
                        libintl_extra_libs=-liconv
19322
 
else
19323
 
  :
19324
 
fi
19325
 
 
19326
 
else
19327
 
  :
19328
 
fi
19329
 
 
19330
 
        fi
19331
 
 
19332
 
        #
19333
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
19334
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
19335
 
        # and both have dgettext and ngettext
19336
 
        #
19337
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
19338
 
          glib_save_LIBS="$LIBS"
19339
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
19340
 
          unset ac_cv_func_bind_textdomain_codeset
19341
 
 
19342
 
for ac_func in bind_textdomain_codeset
19343
 
do
19344
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19345
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19346
 
$as_echo_n "checking for $ac_func... " >&6; }
19347
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19348
 
  $as_echo_n "(cached) " >&6
19349
 
else
19350
 
  cat >conftest.$ac_ext <<_ACEOF
19351
 
/* confdefs.h.  */
19352
 
_ACEOF
19353
 
cat confdefs.h >>conftest.$ac_ext
19354
 
cat >>conftest.$ac_ext <<_ACEOF
19355
 
/* end confdefs.h.  */
19356
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19357
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19358
 
#define $ac_func innocuous_$ac_func
19359
 
 
19360
 
/* System header to define __stub macros and hopefully few prototypes,
19361
 
    which can conflict with char $ac_func (); below.
19362
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19363
 
    <limits.h> exists even on freestanding compilers.  */
19364
 
 
19365
 
#ifdef __STDC__
19366
 
# include <limits.h>
19367
 
#else
19368
 
# include <assert.h>
19369
 
#endif
19370
 
 
19371
 
#undef $ac_func
19372
 
 
19373
 
/* Override any GCC internal prototype to avoid an error.
19374
 
   Use char because int might match the return type of a GCC
19375
 
   builtin and then its argument prototype would still apply.  */
19376
 
#ifdef __cplusplus
19377
 
extern "C"
19378
 
#endif
19379
 
char $ac_func ();
19380
 
/* The GNU C library defines this for functions which it implements
19381
 
    to always fail with ENOSYS.  Some functions are actually named
19382
 
    something starting with __ and the normal name is an alias.  */
19383
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19384
 
choke me
19385
 
#endif
19386
 
 
19387
 
int
19388
 
main ()
19389
 
{
19390
 
return $ac_func ();
19391
 
  ;
19392
 
  return 0;
19393
 
}
19394
 
_ACEOF
19395
 
rm -f conftest.$ac_objext conftest$ac_exeext
19396
 
if { (ac_try="$ac_link"
19397
 
case "(($ac_try" in
19398
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399
 
  *) ac_try_echo=$ac_try;;
19400
 
esac
19401
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19402
 
$as_echo "$ac_try_echo") >&5
19403
 
  (eval "$ac_link") 2>conftest.er1
19404
 
  ac_status=$?
19405
 
  grep -v '^ *+' conftest.er1 >conftest.err
19406
 
  rm -f conftest.er1
19407
 
  cat conftest.err >&5
19408
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409
 
  (exit $ac_status); } && {
19410
 
         test -z "$ac_cxx_werror_flag" ||
19411
 
         test ! -s conftest.err
19412
 
       } && test -s conftest$ac_exeext && {
19413
 
         test "$cross_compiling" = yes ||
19414
 
         $as_test_x conftest$ac_exeext
19415
 
       }; then
19416
 
  eval "$as_ac_var=yes"
19417
 
else
19418
 
  $as_echo "$as_me: failed program was:" >&5
19419
 
sed 's/^/| /' conftest.$ac_ext >&5
19420
 
 
19421
 
        eval "$as_ac_var=no"
19422
 
fi
19423
 
 
19424
 
rm -rf conftest.dSYM
19425
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19426
 
      conftest$ac_exeext conftest.$ac_ext
19427
 
fi
19428
 
ac_res=`eval 'as_val=${'$as_ac_var'}
19429
 
                 $as_echo "$as_val"'`
19430
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19431
 
$as_echo "$ac_res" >&6; }
19432
 
as_val=`eval 'as_val=${'$as_ac_var'}
19433
 
                 $as_echo "$as_val"'`
19434
 
   if test "x$as_val" = x""yes; then
19435
 
  cat >>confdefs.h <<_ACEOF
19436
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19437
 
_ACEOF
19438
 
 
19439
 
fi
19440
 
done
19441
 
 
19442
 
          LIBS="$glib_save_LIBS"
19443
 
 
19444
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
19445
 
            gt_cv_func_dgettext_libc=no
19446
 
          else
19447
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
19448
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
19449
 
              gt_cv_func_dgettext_libintl=no
19450
 
            fi
19451
 
          fi
19452
 
        fi
19453
 
      fi
19454
 
 
19455
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
19456
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
19457
 
        gt_cv_have_gettext=yes
19458
 
      fi
19459
 
 
19460
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
19461
 
        INTLLIBS="-lintl $libintl_extra_libs"
19462
 
      fi
19463
 
 
19464
 
      if test "$gt_cv_have_gettext" = "yes"; then
19465
 
 
19466
 
cat >>confdefs.h <<\_ACEOF
19467
 
#define HAVE_GETTEXT 1
19468
 
_ACEOF
19469
 
 
19470
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
19471
 
set dummy msgfmt; ac_word=$2
19472
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19473
 
$as_echo_n "checking for $ac_word... " >&6; }
19474
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
15437
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15438
$as_echo "no" >&6; }
 
15439
fi
 
15440
 
 
15441
 
 
15442
 
 
15443
 
 
15444
  # Check whether --enable-schemas-compile was given.
 
15445
if test "${enable_schemas_compile+set}" = set; then :
 
15446
  enableval=$enable_schemas_compile; case ${enableval} in
 
15447
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
15448
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
15449
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
 
15450
                 esac
 
15451
fi
 
15452
 
 
15453
 
 
15454
 
 
15455
 
 
15456
 
 
15457
 
 
15458
 
 
15459
 
 
15460
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15461
        if test -n "$ac_tool_prefix"; then
 
15462
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15463
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15465
$as_echo_n "checking for $ac_word... " >&6; }
 
15466
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
15467
  $as_echo_n "(cached) " >&6
 
15468
else
 
15469
  case $PKG_CONFIG in
 
15470
  [\\/]* | ?:[\\/]*)
 
15471
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15472
  ;;
 
15473
  *)
 
15474
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15475
for as_dir in $PATH
 
15476
do
 
15477
  IFS=$as_save_IFS
 
15478
  test -z "$as_dir" && as_dir=.
 
15479
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15481
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15482
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15483
    break 2
 
15484
  fi
 
15485
done
 
15486
  done
 
15487
IFS=$as_save_IFS
 
15488
 
 
15489
  ;;
 
15490
esac
 
15491
fi
 
15492
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
15493
if test -n "$PKG_CONFIG"; then
 
15494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
15495
$as_echo "$PKG_CONFIG" >&6; }
 
15496
else
 
15497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15498
$as_echo "no" >&6; }
 
15499
fi
 
15500
 
 
15501
 
 
15502
fi
 
15503
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
15504
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
15505
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
15506
set dummy pkg-config; ac_word=$2
 
15507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15508
$as_echo_n "checking for $ac_word... " >&6; }
 
15509
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
15510
  $as_echo_n "(cached) " >&6
 
15511
else
 
15512
  case $ac_pt_PKG_CONFIG in
 
15513
  [\\/]* | ?:[\\/]*)
 
15514
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
15515
  ;;
 
15516
  *)
 
15517
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15518
for as_dir in $PATH
 
15519
do
 
15520
  IFS=$as_save_IFS
 
15521
  test -z "$as_dir" && as_dir=.
 
15522
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15523
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15524
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15525
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15526
    break 2
 
15527
  fi
 
15528
done
 
15529
  done
 
15530
IFS=$as_save_IFS
 
15531
 
 
15532
  ;;
 
15533
esac
 
15534
fi
 
15535
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
15536
if test -n "$ac_pt_PKG_CONFIG"; then
 
15537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
15538
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
15539
else
 
15540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15541
$as_echo "no" >&6; }
 
15542
fi
 
15543
 
 
15544
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
15545
    PKG_CONFIG=""
 
15546
  else
 
15547
    case $cross_compiling:$ac_tool_warned in
 
15548
yes:)
 
15549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15551
ac_tool_warned=yes ;;
 
15552
esac
 
15553
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
15554
  fi
 
15555
else
 
15556
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
15557
fi
 
15558
 
 
15559
fi
 
15560
if test -n "$PKG_CONFIG"; then
 
15561
        _pkg_min_version=0.16
 
15562
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
15563
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
15564
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
15565
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15566
$as_echo "yes" >&6; }
 
15567
        else
 
15568
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15569
$as_echo "no" >&6; }
 
15570
                PKG_CONFIG=""
 
15571
        fi
 
15572
fi
 
15573
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
15574
 
 
15575
  if test x$cross_compiling != xyes; then
 
15576
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
15577
  else
 
15578
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
15579
set dummy glib-compile-schemas; ac_word=$2
 
15580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15581
$as_echo_n "checking for $ac_word... " >&6; }
 
15582
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
 
15583
  $as_echo_n "(cached) " >&6
 
15584
else
 
15585
  case $GLIB_COMPILE_SCHEMAS in
 
15586
  [\\/]* | ?:[\\/]*)
 
15587
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
15588
  ;;
 
15589
  *)
 
15590
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15591
for as_dir in $PATH
 
15592
do
 
15593
  IFS=$as_save_IFS
 
15594
  test -z "$as_dir" && as_dir=.
 
15595
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15596
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15597
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
15598
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15599
    break 2
 
15600
  fi
 
15601
done
 
15602
  done
 
15603
IFS=$as_save_IFS
 
15604
 
 
15605
  ;;
 
15606
esac
 
15607
fi
 
15608
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
15609
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
15610
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
15611
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
15612
else
 
15613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15614
$as_echo "no" >&6; }
 
15615
fi
 
15616
 
 
15617
 
 
15618
  fi
 
15619
 
 
15620
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
15621
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
 
15622
  else
 
15623
    :
 
15624
  fi
 
15625
 
 
15626
  GSETTINGS_RULES='
 
15627
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
15628
 
 
15629
mostlyclean-am: clean-gsettings-schemas
 
15630
 
 
15631
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
15632
 
 
15633
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
15634
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
 
15635
 
 
15636
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
15637
uninstall-am: uninstall-gsettings-schemas
 
15638
install-data-am: install-gsettings-schemas
 
15639
 
 
15640
.SECONDARY: $(gsettings_SCHEMAS)
 
15641
 
 
15642
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
15643
        @$(NORMAL_INSTALL)
 
15644
        if test -n "$^"; then \
 
15645
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
15646
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
15647
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
15648
        fi
 
15649
 
 
15650
uninstall-gsettings-schemas:
 
15651
        @$(NORMAL_UNINSTALL)
 
15652
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
15653
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
15654
        test -n "$$files" || exit 0; \
 
15655
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
15656
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
15657
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
15658
 
 
15659
clean-gsettings-schemas:
 
15660
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
15661
 
 
15662
ifdef gsettings_ENUM_NAMESPACE
 
15663
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
15664
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
 
15665
endif
 
15666
'
 
15667
 
 
15668
 
 
15669
 
 
15670
 
 
15671
 
 
15672
 
 
15673
 
 
15674
# i18n stuff
 
15675
 
 
15676
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
15677
$as_echo_n "checking whether NLS is requested... " >&6; }
 
15678
    # Check whether --enable-nls was given.
 
15679
if test "${enable_nls+set}" = set; then :
 
15680
  enableval=$enable_nls; USE_NLS=$enableval
 
15681
else
 
15682
  USE_NLS=yes
 
15683
fi
 
15684
 
 
15685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
15686
$as_echo "$USE_NLS" >&6; }
 
15687
 
 
15688
 
 
15689
 
 
15690
 
 
15691
case "$am__api_version" in
 
15692
    1.01234)
 
15693
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
15694
    ;;
 
15695
    *)
 
15696
    ;;
 
15697
esac
 
15698
 
 
15699
if test -n "0.41.0"; then
 
15700
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.41.0" >&5
 
15701
$as_echo_n "checking for intltool >= 0.41.0... " >&6; }
 
15702
 
 
15703
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.41.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
15704
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
15705
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
15706
 
 
15707
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
15708
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
15709
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
15710
        as_fn_error $? "Your intltool is too old.  You need intltool 0.41.0 or later." "$LINENO" 5
 
15711
fi
 
15712
 
 
15713
# Extract the first word of "intltool-update", so it can be a program name with args.
 
15714
set dummy intltool-update; ac_word=$2
 
15715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15716
$as_echo_n "checking for $ac_word... " >&6; }
 
15717
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
15718
  $as_echo_n "(cached) " >&6
 
15719
else
 
15720
  case $INTLTOOL_UPDATE in
 
15721
  [\\/]* | ?:[\\/]*)
 
15722
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
15723
  ;;
 
15724
  *)
 
15725
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15726
for as_dir in $PATH
 
15727
do
 
15728
  IFS=$as_save_IFS
 
15729
  test -z "$as_dir" && as_dir=.
 
15730
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15731
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15732
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
15733
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15734
    break 2
 
15735
  fi
 
15736
done
 
15737
  done
 
15738
IFS=$as_save_IFS
 
15739
 
 
15740
  ;;
 
15741
esac
 
15742
fi
 
15743
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
15744
if test -n "$INTLTOOL_UPDATE"; then
 
15745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
15746
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
15747
else
 
15748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15749
$as_echo "no" >&6; }
 
15750
fi
 
15751
 
 
15752
 
 
15753
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
15754
set dummy intltool-merge; ac_word=$2
 
15755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15756
$as_echo_n "checking for $ac_word... " >&6; }
 
15757
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
15758
  $as_echo_n "(cached) " >&6
 
15759
else
 
15760
  case $INTLTOOL_MERGE in
 
15761
  [\\/]* | ?:[\\/]*)
 
15762
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
15763
  ;;
 
15764
  *)
 
15765
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15766
for as_dir in $PATH
 
15767
do
 
15768
  IFS=$as_save_IFS
 
15769
  test -z "$as_dir" && as_dir=.
 
15770
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15771
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15772
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
15773
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15774
    break 2
 
15775
  fi
 
15776
done
 
15777
  done
 
15778
IFS=$as_save_IFS
 
15779
 
 
15780
  ;;
 
15781
esac
 
15782
fi
 
15783
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
15784
if test -n "$INTLTOOL_MERGE"; then
 
15785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
15786
$as_echo "$INTLTOOL_MERGE" >&6; }
 
15787
else
 
15788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15789
$as_echo "no" >&6; }
 
15790
fi
 
15791
 
 
15792
 
 
15793
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
15794
set dummy intltool-extract; ac_word=$2
 
15795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15796
$as_echo_n "checking for $ac_word... " >&6; }
 
15797
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
15798
  $as_echo_n "(cached) " >&6
 
15799
else
 
15800
  case $INTLTOOL_EXTRACT in
 
15801
  [\\/]* | ?:[\\/]*)
 
15802
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
15803
  ;;
 
15804
  *)
 
15805
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15806
for as_dir in $PATH
 
15807
do
 
15808
  IFS=$as_save_IFS
 
15809
  test -z "$as_dir" && as_dir=.
 
15810
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15811
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15812
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
15813
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15814
    break 2
 
15815
  fi
 
15816
done
 
15817
  done
 
15818
IFS=$as_save_IFS
 
15819
 
 
15820
  ;;
 
15821
esac
 
15822
fi
 
15823
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
15824
if test -n "$INTLTOOL_EXTRACT"; then
 
15825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
15826
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
15827
else
 
15828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15829
$as_echo "no" >&6; }
 
15830
fi
 
15831
 
 
15832
 
 
15833
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
15834
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
15835
fi
 
15836
 
 
15837
  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 $< $@'
 
15838
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 $< $@'
 
15839
     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 $< $@'
 
15840
     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 $< $@'
 
15841
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
15842
     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 $< $@'
 
15843
   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 $< $@'
 
15844
    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 $< $@'
 
15845
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 $< $@'
 
15846
       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 $< $@'
 
15847
      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 $< $@'
 
15848
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
15849
      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 $< $@'
 
15850
      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 $< $@'
 
15851
    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 $< $@'
 
15852
  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 $< $@'
 
15853
    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 $< $@'
 
15854
    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 $< $@'
 
15855
   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 $< $@'
 
15856
 
 
15857
 
 
15858
 
 
15859
 
 
15860
 
 
15861
 
 
15862
 
 
15863
 
 
15864
 
 
15865
 
 
15866
 
 
15867
 
 
15868
 
 
15869
 
 
15870
 
 
15871
 
 
15872
 
 
15873
 
 
15874
 
 
15875
 
 
15876
 
 
15877
 
 
15878
 
 
15879
 
 
15880
 
 
15881
 
 
15882
 
 
15883
 
 
15884
 
 
15885
 
 
15886
 
 
15887
 
 
15888
 
 
15889
 
 
15890
 
 
15891
 
 
15892
 
 
15893
 
 
15894
 
 
15895
 
 
15896
 
 
15897
 
 
15898
 
 
15899
 
 
15900
 
 
15901
 
 
15902
 
 
15903
 
 
15904
 
 
15905
 
 
15906
 
 
15907
 
 
15908
 
 
15909
 
 
15910
 
 
15911
 
 
15912
 
 
15913
 
 
15914
 
 
15915
 
 
15916
 
 
15917
 
 
15918
 
 
15919
 
 
15920
 
 
15921
 
 
15922
 
 
15923
 
 
15924
 
 
15925
 
 
15926
 
 
15927
 
 
15928
 
 
15929
 
 
15930
 
 
15931
 
 
15932
 
 
15933
 
 
15934
 
 
15935
 
 
15936
 
 
15937
 
 
15938
 
 
15939
 
 
15940
 
 
15941
 
 
15942
 
 
15943
 
 
15944
 
 
15945
 
 
15946
 
 
15947
 
 
15948
 
 
15949
 
 
15950
 
 
15951
 
 
15952
 
 
15953
# Check the gettext tools to make sure they are GNU
 
15954
# Extract the first word of "xgettext", so it can be a program name with args.
 
15955
set dummy xgettext; ac_word=$2
 
15956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15957
$as_echo_n "checking for $ac_word... " >&6; }
 
15958
if ${ac_cv_path_XGETTEXT+:} false; then :
 
15959
  $as_echo_n "(cached) " >&6
 
15960
else
 
15961
  case $XGETTEXT in
 
15962
  [\\/]* | ?:[\\/]*)
 
15963
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
15964
  ;;
 
15965
  *)
 
15966
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15967
for as_dir in $PATH
 
15968
do
 
15969
  IFS=$as_save_IFS
 
15970
  test -z "$as_dir" && as_dir=.
 
15971
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15972
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15973
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
15974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15975
    break 2
 
15976
  fi
 
15977
done
 
15978
  done
 
15979
IFS=$as_save_IFS
 
15980
 
 
15981
  ;;
 
15982
esac
 
15983
fi
 
15984
XGETTEXT=$ac_cv_path_XGETTEXT
 
15985
if test -n "$XGETTEXT"; then
 
15986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
15987
$as_echo "$XGETTEXT" >&6; }
 
15988
else
 
15989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15990
$as_echo "no" >&6; }
 
15991
fi
 
15992
 
 
15993
 
 
15994
# Extract the first word of "msgmerge", so it can be a program name with args.
 
15995
set dummy msgmerge; ac_word=$2
 
15996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15997
$as_echo_n "checking for $ac_word... " >&6; }
 
15998
if ${ac_cv_path_MSGMERGE+:} false; then :
 
15999
  $as_echo_n "(cached) " >&6
 
16000
else
 
16001
  case $MSGMERGE in
 
16002
  [\\/]* | ?:[\\/]*)
 
16003
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
16004
  ;;
 
16005
  *)
 
16006
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16007
for as_dir in $PATH
 
16008
do
 
16009
  IFS=$as_save_IFS
 
16010
  test -z "$as_dir" && as_dir=.
 
16011
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16012
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16013
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
16014
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16015
    break 2
 
16016
  fi
 
16017
done
 
16018
  done
 
16019
IFS=$as_save_IFS
 
16020
 
 
16021
  ;;
 
16022
esac
 
16023
fi
 
16024
MSGMERGE=$ac_cv_path_MSGMERGE
 
16025
if test -n "$MSGMERGE"; then
 
16026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
16027
$as_echo "$MSGMERGE" >&6; }
 
16028
else
 
16029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16030
$as_echo "no" >&6; }
 
16031
fi
 
16032
 
 
16033
 
 
16034
# Extract the first word of "msgfmt", so it can be a program name with args.
 
16035
set dummy msgfmt; ac_word=$2
 
16036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16037
$as_echo_n "checking for $ac_word... " >&6; }
 
16038
if ${ac_cv_path_MSGFMT+:} false; then :
 
16039
  $as_echo_n "(cached) " >&6
 
16040
else
 
16041
  case $MSGFMT in
 
16042
  [\\/]* | ?:[\\/]*)
 
16043
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
16044
  ;;
 
16045
  *)
 
16046
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16047
for as_dir in $PATH
 
16048
do
 
16049
  IFS=$as_save_IFS
 
16050
  test -z "$as_dir" && as_dir=.
 
16051
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16052
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16053
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
16054
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16055
    break 2
 
16056
  fi
 
16057
done
 
16058
  done
 
16059
IFS=$as_save_IFS
 
16060
 
 
16061
  ;;
 
16062
esac
 
16063
fi
 
16064
MSGFMT=$ac_cv_path_MSGFMT
 
16065
if test -n "$MSGFMT"; then
 
16066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
16067
$as_echo "$MSGFMT" >&6; }
 
16068
else
 
16069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16070
$as_echo "no" >&6; }
 
16071
fi
 
16072
 
 
16073
 
 
16074
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
16075
set dummy gmsgfmt; ac_word=$2
 
16076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16077
$as_echo_n "checking for $ac_word... " >&6; }
 
16078
if ${ac_cv_path_GMSGFMT+:} false; then :
 
16079
  $as_echo_n "(cached) " >&6
 
16080
else
 
16081
  case $GMSGFMT in
 
16082
  [\\/]* | ?:[\\/]*)
 
16083
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
16084
  ;;
 
16085
  *)
 
16086
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16087
for as_dir in $PATH
 
16088
do
 
16089
  IFS=$as_save_IFS
 
16090
  test -z "$as_dir" && as_dir=.
 
16091
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16093
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
16094
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16095
    break 2
 
16096
  fi
 
16097
done
 
16098
  done
 
16099
IFS=$as_save_IFS
 
16100
 
 
16101
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
16102
  ;;
 
16103
esac
 
16104
fi
 
16105
GMSGFMT=$ac_cv_path_GMSGFMT
 
16106
if test -n "$GMSGFMT"; then
 
16107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
16108
$as_echo "$GMSGFMT" >&6; }
 
16109
else
 
16110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16111
$as_echo "no" >&6; }
 
16112
fi
 
16113
 
 
16114
 
 
16115
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
16116
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
16117
fi
 
16118
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
16119
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
16120
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
16121
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
16122
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
16123
fi
 
16124
 
 
16125
# Extract the first word of "perl", so it can be a program name with args.
 
16126
set dummy perl; ac_word=$2
 
16127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16128
$as_echo_n "checking for $ac_word... " >&6; }
 
16129
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
16130
  $as_echo_n "(cached) " >&6
 
16131
else
 
16132
  case $INTLTOOL_PERL in
 
16133
  [\\/]* | ?:[\\/]*)
 
16134
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
16135
  ;;
 
16136
  *)
 
16137
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16138
for as_dir in $PATH
 
16139
do
 
16140
  IFS=$as_save_IFS
 
16141
  test -z "$as_dir" && as_dir=.
 
16142
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16143
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16144
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
16145
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16146
    break 2
 
16147
  fi
 
16148
done
 
16149
  done
 
16150
IFS=$as_save_IFS
 
16151
 
 
16152
  ;;
 
16153
esac
 
16154
fi
 
16155
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
16156
if test -n "$INTLTOOL_PERL"; then
 
16157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
16158
$as_echo "$INTLTOOL_PERL" >&6; }
 
16159
else
 
16160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16161
$as_echo "no" >&6; }
 
16162
fi
 
16163
 
 
16164
 
 
16165
if test -z "$INTLTOOL_PERL"; then
 
16166
   as_fn_error $? "perl not found" "$LINENO" 5
 
16167
fi
 
16168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
16169
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
16170
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
16171
if test $? -ne 0; then
 
16172
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
16173
else
 
16174
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
16175
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
16176
$as_echo "$IT_PERL_VERSION" >&6; }
 
16177
fi
 
16178
if test "x" != "xno-xml"; then
 
16179
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
16180
$as_echo_n "checking for XML::Parser... " >&6; }
 
16181
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
16182
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
16183
$as_echo "ok" >&6; }
 
16184
   else
 
16185
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
16186
   fi
 
16187
fi
 
16188
 
 
16189
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
16190
 
 
16191
 
 
16192
# Set DATADIRNAME correctly if it is not set yet
 
16193
# (copied from glib-gettext.m4)
 
16194
if test -z "$DATADIRNAME"; then
 
16195
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16196
/* end confdefs.h.  */
 
16197
 
 
16198
int
 
16199
main ()
 
16200
{
 
16201
extern int _nl_msg_cat_cntr;
 
16202
                       return _nl_msg_cat_cntr
 
16203
  ;
 
16204
  return 0;
 
16205
}
 
16206
_ACEOF
 
16207
if ac_fn_cxx_try_link "$LINENO"; then :
 
16208
  DATADIRNAME=share
 
16209
else
 
16210
  case $host in
 
16211
    *-*-solaris*)
 
16212
                        ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
16213
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
16214
  DATADIRNAME=share
 
16215
else
 
16216
  DATADIRNAME=lib
 
16217
fi
 
16218
 
 
16219
    ;;
 
16220
    *)
 
16221
    DATADIRNAME=lib
 
16222
    ;;
 
16223
    esac
 
16224
fi
 
16225
rm -f core conftest.err conftest.$ac_objext \
 
16226
    conftest$ac_exeext conftest.$ac_ext
 
16227
fi
 
16228
 
 
16229
 
 
16230
 
 
16231
 
 
16232
 
 
16233
 
 
16234
 
 
16235
 
 
16236
      GETTEXT_MACRO_VERSION=0.17
 
16237
 
 
16238
 
 
16239
 
 
16240
 
 
16241
# Prepare PATH_SEPARATOR.
 
16242
# The user is always right.
 
16243
if test "${PATH_SEPARATOR+set}" != set; then
 
16244
  echo "#! /bin/sh" >conf$$.sh
 
16245
  echo  "exit 0"   >>conf$$.sh
 
16246
  chmod +x conf$$.sh
 
16247
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
16248
    PATH_SEPARATOR=';'
 
16249
  else
 
16250
    PATH_SEPARATOR=:
 
16251
  fi
 
16252
  rm -f conf$$.sh
 
16253
fi
 
16254
 
 
16255
# Find out how to test for executable files. Don't use a zero-byte file,
 
16256
# as systems may use methods other than mode bits to determine executability.
 
16257
cat >conf$$.file <<_ASEOF
 
16258
#! /bin/sh
 
16259
exit 0
 
16260
_ASEOF
 
16261
chmod +x conf$$.file
 
16262
if test -x conf$$.file >/dev/null 2>&1; then
 
16263
  ac_executable_p="test -x"
 
16264
else
 
16265
  ac_executable_p="test -f"
 
16266
fi
 
16267
rm -f conf$$.file
 
16268
 
 
16269
# Extract the first word of "msgfmt", so it can be a program name with args.
 
16270
set dummy msgfmt; ac_word=$2
 
16271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16272
$as_echo_n "checking for $ac_word... " >&6; }
 
16273
if ${ac_cv_path_MSGFMT+:} false; then :
19475
16274
  $as_echo_n "(cached) " >&6
19476
16275
else
19477
16276
  case "$MSGFMT" in
19478
 
  /*)
19479
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19480
 
  ;;
 
16277
  [\\/]* | ?:[\\/]*)
 
16278
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
16279
    ;;
19481
16280
  *)
19482
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
19483
 
  for ac_dir in $PATH; do
19484
 
    test -z "$ac_dir" && ac_dir=.
19485
 
    if test -f $ac_dir/$ac_word; then
19486
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
19487
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
19488
 
        break
19489
 
      fi
19490
 
    fi
19491
 
  done
19492
 
  IFS="$ac_save_ifs"
19493
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
19494
 
  ;;
 
16281
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
16282
    for ac_dir in $PATH; do
 
16283
      IFS="$ac_save_IFS"
 
16284
      test -z "$ac_dir" && ac_dir=.
 
16285
      for ac_exec_ext in '' $ac_executable_extensions; do
 
16286
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
16287
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
16288
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
 
16289
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
16290
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
 
16291
            break 2
 
16292
          fi
 
16293
        fi
 
16294
      done
 
16295
    done
 
16296
    IFS="$ac_save_IFS"
 
16297
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
16298
    ;;
19495
16299
esac
19496
16300
fi
19497
16301
MSGFMT="$ac_cv_path_MSGFMT"
19498
 
if test "$MSGFMT" != "no"; then
19499
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
16302
if test "$MSGFMT" != ":"; then
 
16303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19500
16304
$as_echo "$MSGFMT" >&6; }
19501
16305
else
19502
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
19503
 
$as_echo "no" >&6; }
19504
 
fi
19505
 
        if test "$MSGFMT" != "no"; then
19506
 
          glib_save_LIBS="$LIBS"
19507
 
          LIBS="$LIBS $INTLLIBS"
19508
 
 
19509
 
for ac_func in dcgettext
19510
 
do
19511
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19512
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19513
 
$as_echo_n "checking for $ac_func... " >&6; }
19514
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19515
 
  $as_echo_n "(cached) " >&6
19516
 
else
19517
 
  cat >conftest.$ac_ext <<_ACEOF
19518
 
/* confdefs.h.  */
19519
 
_ACEOF
19520
 
cat confdefs.h >>conftest.$ac_ext
19521
 
cat >>conftest.$ac_ext <<_ACEOF
19522
 
/* end confdefs.h.  */
19523
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19524
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19525
 
#define $ac_func innocuous_$ac_func
19526
 
 
19527
 
/* System header to define __stub macros and hopefully few prototypes,
19528
 
    which can conflict with char $ac_func (); below.
19529
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19530
 
    <limits.h> exists even on freestanding compilers.  */
19531
 
 
19532
 
#ifdef __STDC__
19533
 
# include <limits.h>
19534
 
#else
19535
 
# include <assert.h>
19536
 
#endif
19537
 
 
19538
 
#undef $ac_func
19539
 
 
19540
 
/* Override any GCC internal prototype to avoid an error.
19541
 
   Use char because int might match the return type of a GCC
19542
 
   builtin and then its argument prototype would still apply.  */
19543
 
#ifdef __cplusplus
19544
 
extern "C"
19545
 
#endif
19546
 
char $ac_func ();
19547
 
/* The GNU C library defines this for functions which it implements
19548
 
    to always fail with ENOSYS.  Some functions are actually named
19549
 
    something starting with __ and the normal name is an alias.  */
19550
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19551
 
choke me
19552
 
#endif
19553
 
 
19554
 
int
19555
 
main ()
19556
 
{
19557
 
return $ac_func ();
19558
 
  ;
19559
 
  return 0;
19560
 
}
19561
 
_ACEOF
19562
 
rm -f conftest.$ac_objext conftest$ac_exeext
19563
 
if { (ac_try="$ac_link"
19564
 
case "(($ac_try" in
19565
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19566
 
  *) ac_try_echo=$ac_try;;
19567
 
esac
19568
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19569
 
$as_echo "$ac_try_echo") >&5
19570
 
  (eval "$ac_link") 2>conftest.er1
19571
 
  ac_status=$?
19572
 
  grep -v '^ *+' conftest.er1 >conftest.err
19573
 
  rm -f conftest.er1
19574
 
  cat conftest.err >&5
19575
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576
 
  (exit $ac_status); } && {
19577
 
         test -z "$ac_cxx_werror_flag" ||
19578
 
         test ! -s conftest.err
19579
 
       } && test -s conftest$ac_exeext && {
19580
 
         test "$cross_compiling" = yes ||
19581
 
         $as_test_x conftest$ac_exeext
19582
 
       }; then
19583
 
  eval "$as_ac_var=yes"
19584
 
else
19585
 
  $as_echo "$as_me: failed program was:" >&5
19586
 
sed 's/^/| /' conftest.$ac_ext >&5
19587
 
 
19588
 
        eval "$as_ac_var=no"
19589
 
fi
19590
 
 
19591
 
rm -rf conftest.dSYM
19592
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19593
 
      conftest$ac_exeext conftest.$ac_ext
19594
 
fi
19595
 
ac_res=`eval 'as_val=${'$as_ac_var'}
19596
 
                 $as_echo "$as_val"'`
19597
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19598
 
$as_echo "$ac_res" >&6; }
19599
 
as_val=`eval 'as_val=${'$as_ac_var'}
19600
 
                 $as_echo "$as_val"'`
19601
 
   if test "x$as_val" = x""yes; then
19602
 
  cat >>confdefs.h <<_ACEOF
19603
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19604
 
_ACEOF
19605
 
 
19606
 
fi
19607
 
done
19608
 
 
19609
 
          MSGFMT_OPTS=
19610
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
19611
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
19612
 
          cat >conftest.foo <<_ACEOF
19613
 
 
19614
 
msgid ""
19615
 
msgstr ""
19616
 
"Content-Type: text/plain; charset=UTF-8\n"
19617
 
"Project-Id-Version: test 1.0\n"
19618
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
19619
 
"Last-Translator: test <foo@bar.xx>\n"
19620
 
"Language-Team: C <LL@li.org>\n"
19621
 
"MIME-Version: 1.0\n"
19622
 
"Content-Transfer-Encoding: 8bit\n"
19623
 
 
19624
 
_ACEOF
19625
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
19626
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
19627
 
  ac_status=$?
19628
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629
 
  (exit $ac_status); }; then
19630
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
19631
 
$as_echo "yes" >&6; }
19632
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
19633
 
$as_echo "no" >&6; }
19634
 
echo "$as_me: failed input was:" >&5
19635
 
sed 's/^/| /' conftest.foo >&5
19636
 
fi
19637
 
 
19638
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
16306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16307
$as_echo "no" >&6; }
 
16308
fi
 
16309
 
 
16310
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
19639
16311
set dummy gmsgfmt; ac_word=$2
19640
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19641
16313
$as_echo_n "checking for $ac_word... " >&6; }
19642
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
16314
if ${ac_cv_path_GMSGFMT+:} false; then :
19643
16315
  $as_echo_n "(cached) " >&6
19644
16316
else
19645
16317
  case $GMSGFMT in
19652
16324
do
19653
16325
  IFS=$as_save_IFS
19654
16326
  test -z "$as_dir" && as_dir=.
19655
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16327
    for ac_exec_ext in '' $ac_executable_extensions; do
19656
16328
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19657
16329
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
19658
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16330
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19659
16331
    break 2
19660
16332
  fi
19661
16333
done
19662
 
done
 
16334
  done
19663
16335
IFS=$as_save_IFS
19664
16336
 
19665
16337
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
19668
16340
fi
19669
16341
GMSGFMT=$ac_cv_path_GMSGFMT
19670
16342
if test -n "$GMSGFMT"; then
19671
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
16343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19672
16344
$as_echo "$GMSGFMT" >&6; }
19673
16345
else
19674
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19675
16347
$as_echo "no" >&6; }
19676
16348
fi
19677
16349
 
19678
16350
 
19679
 
          # Extract the first word of "xgettext", so it can be a program name with args.
 
16351
 
 
16352
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
16353
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
16354
    *) MSGFMT_015=$MSGFMT ;;
 
16355
  esac
 
16356
 
 
16357
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
16358
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
16359
    *) GMSGFMT_015=$GMSGFMT ;;
 
16360
  esac
 
16361
 
 
16362
 
 
16363
 
 
16364
# Prepare PATH_SEPARATOR.
 
16365
# The user is always right.
 
16366
if test "${PATH_SEPARATOR+set}" != set; then
 
16367
  echo "#! /bin/sh" >conf$$.sh
 
16368
  echo  "exit 0"   >>conf$$.sh
 
16369
  chmod +x conf$$.sh
 
16370
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
16371
    PATH_SEPARATOR=';'
 
16372
  else
 
16373
    PATH_SEPARATOR=:
 
16374
  fi
 
16375
  rm -f conf$$.sh
 
16376
fi
 
16377
 
 
16378
# Find out how to test for executable files. Don't use a zero-byte file,
 
16379
# as systems may use methods other than mode bits to determine executability.
 
16380
cat >conf$$.file <<_ASEOF
 
16381
#! /bin/sh
 
16382
exit 0
 
16383
_ASEOF
 
16384
chmod +x conf$$.file
 
16385
if test -x conf$$.file >/dev/null 2>&1; then
 
16386
  ac_executable_p="test -x"
 
16387
else
 
16388
  ac_executable_p="test -f"
 
16389
fi
 
16390
rm -f conf$$.file
 
16391
 
 
16392
# Extract the first word of "xgettext", so it can be a program name with args.
19680
16393
set dummy xgettext; ac_word=$2
19681
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19682
16395
$as_echo_n "checking for $ac_word... " >&6; }
19683
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
16396
if ${ac_cv_path_XGETTEXT+:} false; then :
19684
16397
  $as_echo_n "(cached) " >&6
19685
16398
else
19686
16399
  case "$XGETTEXT" in
19687
 
  /*)
19688
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19689
 
  ;;
 
16400
  [\\/]* | ?:[\\/]*)
 
16401
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
16402
    ;;
19690
16403
  *)
19691
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
19692
 
  for ac_dir in $PATH; do
19693
 
    test -z "$ac_dir" && ac_dir=.
19694
 
    if test -f $ac_dir/$ac_word; then
19695
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
19696
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
19697
 
        break
19698
 
      fi
19699
 
    fi
19700
 
  done
19701
 
  IFS="$ac_save_ifs"
 
16404
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
16405
    for ac_dir in $PATH; do
 
16406
      IFS="$ac_save_IFS"
 
16407
      test -z "$ac_dir" && ac_dir=.
 
16408
      for ac_exec_ext in '' $ac_executable_extensions; do
 
16409
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
16410
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
16411
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
 
16412
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
16413
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
 
16414
            break 2
 
16415
          fi
 
16416
        fi
 
16417
      done
 
16418
    done
 
16419
    IFS="$ac_save_IFS"
19702
16420
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
19703
 
  ;;
 
16421
    ;;
19704
16422
esac
19705
16423
fi
19706
16424
XGETTEXT="$ac_cv_path_XGETTEXT"
19707
16425
if test "$XGETTEXT" != ":"; then
19708
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
16426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19709
16427
$as_echo "$XGETTEXT" >&6; }
19710
16428
else
19711
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
19712
 
$as_echo "no" >&6; }
19713
 
fi
19714
 
 
19715
 
          cat >conftest.$ac_ext <<_ACEOF
19716
 
/* confdefs.h.  */
19717
 
_ACEOF
19718
 
cat confdefs.h >>conftest.$ac_ext
19719
 
cat >>conftest.$ac_ext <<_ACEOF
19720
 
/* end confdefs.h.  */
19721
 
 
19722
 
int
19723
 
main ()
19724
 
{
19725
 
extern int _nl_msg_cat_cntr;
19726
 
                         return _nl_msg_cat_cntr
19727
 
  ;
19728
 
  return 0;
19729
 
}
19730
 
_ACEOF
19731
 
rm -f conftest.$ac_objext conftest$ac_exeext
19732
 
if { (ac_try="$ac_link"
19733
 
case "(($ac_try" in
19734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735
 
  *) ac_try_echo=$ac_try;;
19736
 
esac
19737
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19738
 
$as_echo "$ac_try_echo") >&5
19739
 
  (eval "$ac_link") 2>conftest.er1
19740
 
  ac_status=$?
19741
 
  grep -v '^ *+' conftest.er1 >conftest.err
19742
 
  rm -f conftest.er1
19743
 
  cat conftest.err >&5
19744
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745
 
  (exit $ac_status); } && {
19746
 
         test -z "$ac_cxx_werror_flag" ||
19747
 
         test ! -s conftest.err
19748
 
       } && test -s conftest$ac_exeext && {
19749
 
         test "$cross_compiling" = yes ||
19750
 
         $as_test_x conftest$ac_exeext
19751
 
       }; then
19752
 
  CATOBJEXT=.gmo
19753
 
             DATADIRNAME=share
19754
 
else
19755
 
  $as_echo "$as_me: failed program was:" >&5
19756
 
sed 's/^/| /' conftest.$ac_ext >&5
19757
 
 
19758
 
        case $host in
19759
 
            *-*-solaris*)
19760
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
19761
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
19762
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
19763
 
  $as_echo_n "(cached) " >&6
19764
 
else
19765
 
  cat >conftest.$ac_ext <<_ACEOF
19766
 
/* confdefs.h.  */
19767
 
_ACEOF
19768
 
cat confdefs.h >>conftest.$ac_ext
19769
 
cat >>conftest.$ac_ext <<_ACEOF
19770
 
/* end confdefs.h.  */
19771
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
19772
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19773
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
19774
 
 
19775
 
/* System header to define __stub macros and hopefully few prototypes,
19776
 
    which can conflict with char bind_textdomain_codeset (); below.
19777
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19778
 
    <limits.h> exists even on freestanding compilers.  */
19779
 
 
19780
 
#ifdef __STDC__
19781
 
# include <limits.h>
19782
 
#else
19783
 
# include <assert.h>
19784
 
#endif
19785
 
 
19786
 
#undef bind_textdomain_codeset
19787
 
 
19788
 
/* Override any GCC internal prototype to avoid an error.
19789
 
   Use char because int might match the return type of a GCC
19790
 
   builtin and then its argument prototype would still apply.  */
19791
 
#ifdef __cplusplus
19792
 
extern "C"
19793
 
#endif
19794
 
char bind_textdomain_codeset ();
19795
 
/* The GNU C library defines this for functions which it implements
19796
 
    to always fail with ENOSYS.  Some functions are actually named
19797
 
    something starting with __ and the normal name is an alias.  */
19798
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
19799
 
choke me
19800
 
#endif
19801
 
 
19802
 
int
19803
 
main ()
19804
 
{
19805
 
return bind_textdomain_codeset ();
19806
 
  ;
19807
 
  return 0;
19808
 
}
19809
 
_ACEOF
19810
 
rm -f conftest.$ac_objext conftest$ac_exeext
19811
 
if { (ac_try="$ac_link"
19812
 
case "(($ac_try" in
19813
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19814
 
  *) ac_try_echo=$ac_try;;
19815
 
esac
19816
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19817
 
$as_echo "$ac_try_echo") >&5
19818
 
  (eval "$ac_link") 2>conftest.er1
19819
 
  ac_status=$?
19820
 
  grep -v '^ *+' conftest.er1 >conftest.err
19821
 
  rm -f conftest.er1
19822
 
  cat conftest.err >&5
19823
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824
 
  (exit $ac_status); } && {
19825
 
         test -z "$ac_cxx_werror_flag" ||
19826
 
         test ! -s conftest.err
19827
 
       } && test -s conftest$ac_exeext && {
19828
 
         test "$cross_compiling" = yes ||
19829
 
         $as_test_x conftest$ac_exeext
19830
 
       }; then
19831
 
  ac_cv_func_bind_textdomain_codeset=yes
19832
 
else
19833
 
  $as_echo "$as_me: failed program was:" >&5
19834
 
sed 's/^/| /' conftest.$ac_ext >&5
19835
 
 
19836
 
        ac_cv_func_bind_textdomain_codeset=no
19837
 
fi
19838
 
 
19839
 
rm -rf conftest.dSYM
19840
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19841
 
      conftest$ac_exeext conftest.$ac_ext
19842
 
fi
19843
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
19844
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
19845
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
19846
 
  CATOBJEXT=.gmo
19847
 
               DATADIRNAME=share
19848
 
else
19849
 
  CATOBJEXT=.mo
19850
 
               DATADIRNAME=lib
19851
 
fi
19852
 
 
19853
 
            ;;
19854
 
            *)
19855
 
            CATOBJEXT=.mo
19856
 
            DATADIRNAME=lib
19857
 
            ;;
19858
 
            esac
19859
 
fi
19860
 
 
19861
 
rm -rf conftest.dSYM
19862
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19863
 
      conftest$ac_exeext conftest.$ac_ext
19864
 
          LIBS="$glib_save_LIBS"
19865
 
          INSTOBJEXT=.mo
19866
 
        else
19867
 
          gt_cv_have_gettext=no
19868
 
        fi
19869
 
      fi
19870
 
 
19871
 
fi
19872
 
 
19873
 
 
19874
 
 
19875
 
    if test "$gt_cv_have_gettext" = "yes" ; then
19876
 
 
19877
 
cat >>confdefs.h <<\_ACEOF
19878
 
#define ENABLE_NLS 1
19879
 
_ACEOF
19880
 
 
19881
 
    fi
19882
 
 
19883
 
        if test "$XGETTEXT" != ":"; then
19884
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
19885
 
        : ;
19886
 
      else
19887
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
19888
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
19889
 
        XGETTEXT=":"
19890
 
      fi
19891
 
    fi
19892
 
 
19893
 
    # We need to process the po/ directory.
19894
 
    POSUB=po
19895
 
 
19896
 
    ac_config_commands="$ac_config_commands default-1"
19897
 
 
19898
 
 
19899
 
                for lang in $ALL_LINGUAS; do
19900
 
      GMOFILES="$GMOFILES $lang.gmo"
19901
 
      POFILES="$POFILES $lang.po"
19902
 
    done
19903
 
 
19904
 
 
19905
 
 
19906
 
 
19907
 
 
19908
 
 
19909
 
 
19910
 
 
19911
 
 
19912
 
 
19913
 
 
19914
 
 
19915
 
 
19916
 
   if test "$gt_cv_have_gettext" = "yes"; then
19917
 
     if test "x$ALL_LINGUAS" = "x"; then
19918
 
       LINGUAS=
19919
 
     else
19920
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
19921
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
19922
 
       NEW_LINGUAS=
19923
 
       for presentlang in $ALL_LINGUAS; do
19924
 
         useit=no
19925
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
19926
 
           desiredlanguages="$LINGUAS"
19927
 
         else
19928
 
           desiredlanguages="$ALL_LINGUAS"
19929
 
         fi
19930
 
         for desiredlang in $desiredlanguages; do
19931
 
           # Use the presentlang catalog if desiredlang is
19932
 
           #   a. equal to presentlang, or
19933
 
           #   b. a variant of presentlang (because in this case,
19934
 
           #      presentlang can be used as a fallback for messages
19935
 
           #      which are not translated in the desiredlang catalog).
19936
 
           case "$desiredlang" in
19937
 
             "$presentlang"*) useit=yes;;
19938
 
           esac
19939
 
         done
19940
 
         if test $useit = yes; then
19941
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
19942
 
         fi
19943
 
       done
19944
 
       LINGUAS=$NEW_LINGUAS
19945
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
19946
 
$as_echo "$LINGUAS" >&6; }
19947
 
     fi
19948
 
 
19949
 
          if test -n "$LINGUAS"; then
19950
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
19951
 
     fi
19952
 
   fi
19953
 
 
19954
 
            MKINSTALLDIRS=
19955
 
   if test -n "$ac_aux_dir"; then
19956
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
19957
 
   fi
19958
 
   if test -z "$MKINSTALLDIRS"; then
19959
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
19960
 
   fi
19961
 
 
19962
 
 
19963
 
         test -d po || mkdir po
19964
 
   if test "x$srcdir" != "x."; then
19965
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
19966
 
       posrcprefix="$srcdir/"
19967
 
     else
19968
 
       posrcprefix="../$srcdir/"
19969
 
     fi
19970
 
   else
19971
 
     posrcprefix="../"
19972
 
   fi
19973
 
   rm -f po/POTFILES
19974
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
19975
 
        < $srcdir/po/POTFILES.in > po/POTFILES
19976
 
 
19977
 
 
19978
 
gdu_cv_version_required=0.3.2
19979
 
 
19980
 
{ $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
 
16429
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16430
$as_echo "no" >&6; }
 
16431
fi
 
16432
 
 
16433
    rm -f messages.po
 
16434
 
 
16435
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
16436
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
16437
    *) XGETTEXT_015=$XGETTEXT ;;
 
16438
  esac
 
16439
 
 
16440
 
 
16441
 
 
16442
# Prepare PATH_SEPARATOR.
 
16443
# The user is always right.
 
16444
if test "${PATH_SEPARATOR+set}" != set; then
 
16445
  echo "#! /bin/sh" >conf$$.sh
 
16446
  echo  "exit 0"   >>conf$$.sh
 
16447
  chmod +x conf$$.sh
 
16448
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
16449
    PATH_SEPARATOR=';'
 
16450
  else
 
16451
    PATH_SEPARATOR=:
 
16452
  fi
 
16453
  rm -f conf$$.sh
 
16454
fi
 
16455
 
 
16456
# Find out how to test for executable files. Don't use a zero-byte file,
 
16457
# as systems may use methods other than mode bits to determine executability.
 
16458
cat >conf$$.file <<_ASEOF
 
16459
#! /bin/sh
 
16460
exit 0
 
16461
_ASEOF
 
16462
chmod +x conf$$.file
 
16463
if test -x conf$$.file >/dev/null 2>&1; then
 
16464
  ac_executable_p="test -x"
 
16465
else
 
16466
  ac_executable_p="test -f"
 
16467
fi
 
16468
rm -f conf$$.file
 
16469
 
 
16470
# Extract the first word of "msgmerge", so it can be a program name with args.
 
16471
set dummy msgmerge; ac_word=$2
 
16472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16473
$as_echo_n "checking for $ac_word... " >&6; }
 
16474
if ${ac_cv_path_MSGMERGE+:} false; then :
 
16475
  $as_echo_n "(cached) " >&6
 
16476
else
 
16477
  case "$MSGMERGE" in
 
16478
  [\\/]* | ?:[\\/]*)
 
16479
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
16480
    ;;
 
16481
  *)
 
16482
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
16483
    for ac_dir in $PATH; do
 
16484
      IFS="$ac_save_IFS"
 
16485
      test -z "$ac_dir" && ac_dir=.
 
16486
      for ac_exec_ext in '' $ac_executable_extensions; do
 
16487
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
16488
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
16489
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
 
16490
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
 
16491
            break 2
 
16492
          fi
 
16493
        fi
 
16494
      done
 
16495
    done
 
16496
    IFS="$ac_save_IFS"
 
16497
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
16498
    ;;
 
16499
esac
 
16500
fi
 
16501
MSGMERGE="$ac_cv_path_MSGMERGE"
 
16502
if test "$MSGMERGE" != ":"; then
 
16503
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
16504
$as_echo "$MSGMERGE" >&6; }
 
16505
else
 
16506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16507
$as_echo "no" >&6; }
 
16508
fi
 
16509
 
 
16510
 
 
16511
        test -n "$localedir" || localedir='${datadir}/locale'
 
16512
 
 
16513
 
 
16514
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
 
16515
 
 
16516
 
 
16517
  ac_config_commands="$ac_config_commands po-directories"
 
16518
 
 
16519
 
 
16520
 
 
16521
      if test "X$prefix" = "XNONE"; then
 
16522
    acl_final_prefix="$ac_default_prefix"
 
16523
  else
 
16524
    acl_final_prefix="$prefix"
 
16525
  fi
 
16526
  if test "X$exec_prefix" = "XNONE"; then
 
16527
    acl_final_exec_prefix='${prefix}'
 
16528
  else
 
16529
    acl_final_exec_prefix="$exec_prefix"
 
16530
  fi
 
16531
  acl_save_prefix="$prefix"
 
16532
  prefix="$acl_final_prefix"
 
16533
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
16534
  prefix="$acl_save_prefix"
 
16535
 
 
16536
 
 
16537
# Check whether --with-gnu-ld was given.
 
16538
if test "${with_gnu_ld+set}" = set; then :
 
16539
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
16540
else
 
16541
  with_gnu_ld=no
 
16542
fi
 
16543
 
 
16544
# Prepare PATH_SEPARATOR.
 
16545
# The user is always right.
 
16546
if test "${PATH_SEPARATOR+set}" != set; then
 
16547
  echo "#! /bin/sh" >conf$$.sh
 
16548
  echo  "exit 0"   >>conf$$.sh
 
16549
  chmod +x conf$$.sh
 
16550
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
16551
    PATH_SEPARATOR=';'
 
16552
  else
 
16553
    PATH_SEPARATOR=:
 
16554
  fi
 
16555
  rm -f conf$$.sh
 
16556
fi
 
16557
ac_prog=ld
 
16558
if test "$GCC" = yes; then
 
16559
  # Check if gcc -print-prog-name=ld gives a path.
 
16560
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
16561
$as_echo_n "checking for ld used by GCC... " >&6; }
 
16562
  case $host in
 
16563
  *-*-mingw*)
 
16564
    # gcc leaves a trailing carriage return which upsets mingw
 
16565
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
16566
  *)
 
16567
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
16568
  esac
 
16569
  case $ac_prog in
 
16570
    # Accept absolute paths.
 
16571
    [\\/]* | [A-Za-z]:[\\/]*)
 
16572
      re_direlt='/[^/][^/]*/\.\./'
 
16573
      # Canonicalize the path of ld
 
16574
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
16575
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
16576
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
16577
      done
 
16578
      test -z "$LD" && LD="$ac_prog"
 
16579
      ;;
 
16580
  "")
 
16581
    # If it fails, then pretend we aren't using GCC.
 
16582
    ac_prog=ld
 
16583
    ;;
 
16584
  *)
 
16585
    # If it is relative, then search for the first ld in PATH.
 
16586
    with_gnu_ld=unknown
 
16587
    ;;
 
16588
  esac
 
16589
elif test "$with_gnu_ld" = yes; then
 
16590
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
16591
$as_echo_n "checking for GNU ld... " >&6; }
 
16592
else
 
16593
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
16594
$as_echo_n "checking for non-GNU ld... " >&6; }
 
16595
fi
 
16596
if ${acl_cv_path_LD+:} false; then :
 
16597
  $as_echo_n "(cached) " >&6
 
16598
else
 
16599
  if test -z "$LD"; then
 
16600
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
16601
  for ac_dir in $PATH; do
 
16602
    test -z "$ac_dir" && ac_dir=.
 
16603
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
16604
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
16605
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
16606
      # but apparently some GNU ld's only accept -v.
 
16607
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
16608
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
16609
      *GNU* | *'with BFD'*)
 
16610
        test "$with_gnu_ld" != no && break ;;
 
16611
      *)
 
16612
        test "$with_gnu_ld" != yes && break ;;
 
16613
      esac
 
16614
    fi
 
16615
  done
 
16616
  IFS="$ac_save_ifs"
 
16617
else
 
16618
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
16619
fi
 
16620
fi
 
16621
 
 
16622
LD="$acl_cv_path_LD"
 
16623
if test -n "$LD"; then
 
16624
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
16625
$as_echo "$LD" >&6; }
 
16626
else
 
16627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16628
$as_echo "no" >&6; }
 
16629
fi
 
16630
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
16631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
16632
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
16633
if ${acl_cv_prog_gnu_ld+:} false; then :
 
16634
  $as_echo_n "(cached) " >&6
 
16635
else
 
16636
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
16637
case `$LD -v 2>&1 </dev/null` in
 
16638
*GNU* | *'with BFD'*)
 
16639
  acl_cv_prog_gnu_ld=yes ;;
 
16640
*)
 
16641
  acl_cv_prog_gnu_ld=no ;;
 
16642
esac
 
16643
fi
 
16644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
16645
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
16646
with_gnu_ld=$acl_cv_prog_gnu_ld
 
16647
 
 
16648
 
 
16649
 
 
16650
 
 
16651
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
16652
$as_echo_n "checking for shared library run path origin... " >&6; }
 
16653
if ${acl_cv_rpath+:} false; then :
 
16654
  $as_echo_n "(cached) " >&6
 
16655
else
 
16656
 
 
16657
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
16658
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
16659
    . ./conftest.sh
 
16660
    rm -f ./conftest.sh
 
16661
    acl_cv_rpath=done
 
16662
 
 
16663
fi
 
16664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
16665
$as_echo "$acl_cv_rpath" >&6; }
 
16666
  wl="$acl_cv_wl"
 
16667
  acl_libext="$acl_cv_libext"
 
16668
  acl_shlibext="$acl_cv_shlibext"
 
16669
  acl_libname_spec="$acl_cv_libname_spec"
 
16670
  acl_library_names_spec="$acl_cv_library_names_spec"
 
16671
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
16672
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
16673
  acl_hardcode_direct="$acl_cv_hardcode_direct"
 
16674
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
16675
    # Check whether --enable-rpath was given.
 
16676
if test "${enable_rpath+set}" = set; then :
 
16677
  enableval=$enable_rpath; :
 
16678
else
 
16679
  enable_rpath=yes
 
16680
fi
 
16681
 
 
16682
 
 
16683
 
 
16684
                  acl_libdirstem=lib
 
16685
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
16686
  if test -n "$searchpath"; then
 
16687
    acl_save_IFS="${IFS=        }"; IFS=":"
 
16688
    for searchdir in $searchpath; do
 
16689
      if test -d "$searchdir"; then
 
16690
        case "$searchdir" in
 
16691
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
16692
          *) searchdir=`cd "$searchdir" && pwd`
 
16693
             case "$searchdir" in
 
16694
               */lib64 ) acl_libdirstem=lib64 ;;
 
16695
             esac ;;
 
16696
        esac
 
16697
      fi
 
16698
    done
 
16699
    IFS="$acl_save_IFS"
 
16700
  fi
 
16701
 
 
16702
 
 
16703
 
 
16704
 
 
16705
 
 
16706
 
 
16707
 
 
16708
 
 
16709
 
 
16710
    use_additional=yes
 
16711
 
 
16712
  acl_save_prefix="$prefix"
 
16713
  prefix="$acl_final_prefix"
 
16714
  acl_save_exec_prefix="$exec_prefix"
 
16715
  exec_prefix="$acl_final_exec_prefix"
 
16716
 
 
16717
    eval additional_includedir=\"$includedir\"
 
16718
    eval additional_libdir=\"$libdir\"
 
16719
 
 
16720
  exec_prefix="$acl_save_exec_prefix"
 
16721
  prefix="$acl_save_prefix"
 
16722
 
 
16723
 
 
16724
# Check whether --with-libiconv-prefix was given.
 
16725
if test "${with_libiconv_prefix+set}" = set; then :
 
16726
  withval=$with_libiconv_prefix;
 
16727
    if test "X$withval" = "Xno"; then
 
16728
      use_additional=no
 
16729
    else
 
16730
      if test "X$withval" = "X"; then
 
16731
 
 
16732
  acl_save_prefix="$prefix"
 
16733
  prefix="$acl_final_prefix"
 
16734
  acl_save_exec_prefix="$exec_prefix"
 
16735
  exec_prefix="$acl_final_exec_prefix"
 
16736
 
 
16737
          eval additional_includedir=\"$includedir\"
 
16738
          eval additional_libdir=\"$libdir\"
 
16739
 
 
16740
  exec_prefix="$acl_save_exec_prefix"
 
16741
  prefix="$acl_save_prefix"
 
16742
 
 
16743
      else
 
16744
        additional_includedir="$withval/include"
 
16745
        additional_libdir="$withval/$acl_libdirstem"
 
16746
      fi
 
16747
    fi
 
16748
 
 
16749
fi
 
16750
 
 
16751
      LIBICONV=
 
16752
  LTLIBICONV=
 
16753
  INCICONV=
 
16754
  LIBICONV_PREFIX=
 
16755
  rpathdirs=
 
16756
  ltrpathdirs=
 
16757
  names_already_handled=
 
16758
  names_next_round='iconv '
 
16759
  while test -n "$names_next_round"; do
 
16760
    names_this_round="$names_next_round"
 
16761
    names_next_round=
 
16762
    for name in $names_this_round; do
 
16763
      already_handled=
 
16764
      for n in $names_already_handled; do
 
16765
        if test "$n" = "$name"; then
 
16766
          already_handled=yes
 
16767
          break
 
16768
        fi
 
16769
      done
 
16770
      if test -z "$already_handled"; then
 
16771
        names_already_handled="$names_already_handled $name"
 
16772
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
16773
        eval value=\"\$HAVE_LIB$uppername\"
 
16774
        if test -n "$value"; then
 
16775
          if test "$value" = yes; then
 
16776
            eval value=\"\$LIB$uppername\"
 
16777
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
16778
            eval value=\"\$LTLIB$uppername\"
 
16779
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
16780
          else
 
16781
                                    :
 
16782
          fi
 
16783
        else
 
16784
                              found_dir=
 
16785
          found_la=
 
16786
          found_so=
 
16787
          found_a=
 
16788
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
16789
          if test -n "$acl_shlibext"; then
 
16790
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
16791
          else
 
16792
            shrext=
 
16793
          fi
 
16794
          if test $use_additional = yes; then
 
16795
            dir="$additional_libdir"
 
16796
                                    if test -n "$acl_shlibext"; then
 
16797
              if test -f "$dir/$libname$shrext"; then
 
16798
                found_dir="$dir"
 
16799
                found_so="$dir/$libname$shrext"
 
16800
              else
 
16801
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
16802
                  ver=`(cd "$dir" && \
 
16803
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
16804
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
16805
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
16806
                        | sed 1q ) 2>/dev/null`
 
16807
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
16808
                    found_dir="$dir"
 
16809
                    found_so="$dir/$libname$shrext.$ver"
 
16810
                  fi
 
16811
                else
 
16812
                  eval library_names=\"$acl_library_names_spec\"
 
16813
                  for f in $library_names; do
 
16814
                    if test -f "$dir/$f"; then
 
16815
                      found_dir="$dir"
 
16816
                      found_so="$dir/$f"
 
16817
                      break
 
16818
                    fi
 
16819
                  done
 
16820
                fi
 
16821
              fi
 
16822
            fi
 
16823
                        if test "X$found_dir" = "X"; then
 
16824
              if test -f "$dir/$libname.$acl_libext"; then
 
16825
                found_dir="$dir"
 
16826
                found_a="$dir/$libname.$acl_libext"
 
16827
              fi
 
16828
            fi
 
16829
            if test "X$found_dir" != "X"; then
 
16830
              if test -f "$dir/$libname.la"; then
 
16831
                found_la="$dir/$libname.la"
 
16832
              fi
 
16833
            fi
 
16834
          fi
 
16835
          if test "X$found_dir" = "X"; then
 
16836
            for x in $LDFLAGS $LTLIBICONV; do
 
16837
 
 
16838
  acl_save_prefix="$prefix"
 
16839
  prefix="$acl_final_prefix"
 
16840
  acl_save_exec_prefix="$exec_prefix"
 
16841
  exec_prefix="$acl_final_exec_prefix"
 
16842
  eval x=\"$x\"
 
16843
  exec_prefix="$acl_save_exec_prefix"
 
16844
  prefix="$acl_save_prefix"
 
16845
 
 
16846
              case "$x" in
 
16847
                -L*)
 
16848
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
16849
                                    if test -n "$acl_shlibext"; then
 
16850
                    if test -f "$dir/$libname$shrext"; then
 
16851
                      found_dir="$dir"
 
16852
                      found_so="$dir/$libname$shrext"
 
16853
                    else
 
16854
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
16855
                        ver=`(cd "$dir" && \
 
16856
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
16857
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
16858
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
16859
                              | sed 1q ) 2>/dev/null`
 
16860
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
16861
                          found_dir="$dir"
 
16862
                          found_so="$dir/$libname$shrext.$ver"
 
16863
                        fi
 
16864
                      else
 
16865
                        eval library_names=\"$acl_library_names_spec\"
 
16866
                        for f in $library_names; do
 
16867
                          if test -f "$dir/$f"; then
 
16868
                            found_dir="$dir"
 
16869
                            found_so="$dir/$f"
 
16870
                            break
 
16871
                          fi
 
16872
                        done
 
16873
                      fi
 
16874
                    fi
 
16875
                  fi
 
16876
                                    if test "X$found_dir" = "X"; then
 
16877
                    if test -f "$dir/$libname.$acl_libext"; then
 
16878
                      found_dir="$dir"
 
16879
                      found_a="$dir/$libname.$acl_libext"
 
16880
                    fi
 
16881
                  fi
 
16882
                  if test "X$found_dir" != "X"; then
 
16883
                    if test -f "$dir/$libname.la"; then
 
16884
                      found_la="$dir/$libname.la"
 
16885
                    fi
 
16886
                  fi
 
16887
                  ;;
 
16888
              esac
 
16889
              if test "X$found_dir" != "X"; then
 
16890
                break
 
16891
              fi
 
16892
            done
 
16893
          fi
 
16894
          if test "X$found_dir" != "X"; then
 
16895
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
16896
            if test "X$found_so" != "X"; then
 
16897
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
16898
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
16899
              else
 
16900
                                                                                haveit=
 
16901
                for x in $ltrpathdirs; do
 
16902
                  if test "X$x" = "X$found_dir"; then
 
16903
                    haveit=yes
 
16904
                    break
 
16905
                  fi
 
16906
                done
 
16907
                if test -z "$haveit"; then
 
16908
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
16909
                fi
 
16910
                                if test "$acl_hardcode_direct" = yes; then
 
16911
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
16912
                else
 
16913
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
16914
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
16915
                                                            haveit=
 
16916
                    for x in $rpathdirs; do
 
16917
                      if test "X$x" = "X$found_dir"; then
 
16918
                        haveit=yes
 
16919
                        break
 
16920
                      fi
 
16921
                    done
 
16922
                    if test -z "$haveit"; then
 
16923
                      rpathdirs="$rpathdirs $found_dir"
 
16924
                    fi
 
16925
                  else
 
16926
                                                                                haveit=
 
16927
                    for x in $LDFLAGS $LIBICONV; do
 
16928
 
 
16929
  acl_save_prefix="$prefix"
 
16930
  prefix="$acl_final_prefix"
 
16931
  acl_save_exec_prefix="$exec_prefix"
 
16932
  exec_prefix="$acl_final_exec_prefix"
 
16933
  eval x=\"$x\"
 
16934
  exec_prefix="$acl_save_exec_prefix"
 
16935
  prefix="$acl_save_prefix"
 
16936
 
 
16937
                      if test "X$x" = "X-L$found_dir"; then
 
16938
                        haveit=yes
 
16939
                        break
 
16940
                      fi
 
16941
                    done
 
16942
                    if test -z "$haveit"; then
 
16943
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
16944
                    fi
 
16945
                    if test "$acl_hardcode_minus_L" != no; then
 
16946
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
16947
                    else
 
16948
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
16949
                    fi
 
16950
                  fi
 
16951
                fi
 
16952
              fi
 
16953
            else
 
16954
              if test "X$found_a" != "X"; then
 
16955
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
16956
              else
 
16957
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
16958
              fi
 
16959
            fi
 
16960
                        additional_includedir=
 
16961
            case "$found_dir" in
 
16962
              */$acl_libdirstem | */$acl_libdirstem/)
 
16963
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
16964
                LIBICONV_PREFIX="$basedir"
 
16965
                additional_includedir="$basedir/include"
 
16966
                ;;
 
16967
            esac
 
16968
            if test "X$additional_includedir" != "X"; then
 
16969
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
16970
                haveit=
 
16971
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
16972
                  if test -n "$GCC"; then
 
16973
                    case $host_os in
 
16974
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
16975
                    esac
 
16976
                  fi
 
16977
                fi
 
16978
                if test -z "$haveit"; then
 
16979
                  for x in $CPPFLAGS $INCICONV; do
 
16980
 
 
16981
  acl_save_prefix="$prefix"
 
16982
  prefix="$acl_final_prefix"
 
16983
  acl_save_exec_prefix="$exec_prefix"
 
16984
  exec_prefix="$acl_final_exec_prefix"
 
16985
  eval x=\"$x\"
 
16986
  exec_prefix="$acl_save_exec_prefix"
 
16987
  prefix="$acl_save_prefix"
 
16988
 
 
16989
                    if test "X$x" = "X-I$additional_includedir"; then
 
16990
                      haveit=yes
 
16991
                      break
 
16992
                    fi
 
16993
                  done
 
16994
                  if test -z "$haveit"; then
 
16995
                    if test -d "$additional_includedir"; then
 
16996
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
16997
                    fi
 
16998
                  fi
 
16999
                fi
 
17000
              fi
 
17001
            fi
 
17002
                        if test -n "$found_la"; then
 
17003
                                                        save_libdir="$libdir"
 
17004
              case "$found_la" in
 
17005
                */* | *\\*) . "$found_la" ;;
 
17006
                *) . "./$found_la" ;;
 
17007
              esac
 
17008
              libdir="$save_libdir"
 
17009
                            for dep in $dependency_libs; do
 
17010
                case "$dep" in
 
17011
                  -L*)
 
17012
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
17013
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
17014
                      haveit=
 
17015
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
17016
                        if test -n "$GCC"; then
 
17017
                          case $host_os in
 
17018
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
17019
                          esac
 
17020
                        fi
 
17021
                      fi
 
17022
                      if test -z "$haveit"; then
 
17023
                        haveit=
 
17024
                        for x in $LDFLAGS $LIBICONV; do
 
17025
 
 
17026
  acl_save_prefix="$prefix"
 
17027
  prefix="$acl_final_prefix"
 
17028
  acl_save_exec_prefix="$exec_prefix"
 
17029
  exec_prefix="$acl_final_exec_prefix"
 
17030
  eval x=\"$x\"
 
17031
  exec_prefix="$acl_save_exec_prefix"
 
17032
  prefix="$acl_save_prefix"
 
17033
 
 
17034
                          if test "X$x" = "X-L$additional_libdir"; then
 
17035
                            haveit=yes
 
17036
                            break
 
17037
                          fi
 
17038
                        done
 
17039
                        if test -z "$haveit"; then
 
17040
                          if test -d "$additional_libdir"; then
 
17041
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
17042
                          fi
 
17043
                        fi
 
17044
                        haveit=
 
17045
                        for x in $LDFLAGS $LTLIBICONV; do
 
17046
 
 
17047
  acl_save_prefix="$prefix"
 
17048
  prefix="$acl_final_prefix"
 
17049
  acl_save_exec_prefix="$exec_prefix"
 
17050
  exec_prefix="$acl_final_exec_prefix"
 
17051
  eval x=\"$x\"
 
17052
  exec_prefix="$acl_save_exec_prefix"
 
17053
  prefix="$acl_save_prefix"
 
17054
 
 
17055
                          if test "X$x" = "X-L$additional_libdir"; then
 
17056
                            haveit=yes
 
17057
                            break
 
17058
                          fi
 
17059
                        done
 
17060
                        if test -z "$haveit"; then
 
17061
                          if test -d "$additional_libdir"; then
 
17062
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
17063
                          fi
 
17064
                        fi
 
17065
                      fi
 
17066
                    fi
 
17067
                    ;;
 
17068
                  -R*)
 
17069
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
17070
                    if test "$enable_rpath" != no; then
 
17071
                                                                  haveit=
 
17072
                      for x in $rpathdirs; do
 
17073
                        if test "X$x" = "X$dir"; then
 
17074
                          haveit=yes
 
17075
                          break
 
17076
                        fi
 
17077
                      done
 
17078
                      if test -z "$haveit"; then
 
17079
                        rpathdirs="$rpathdirs $dir"
 
17080
                      fi
 
17081
                                                                  haveit=
 
17082
                      for x in $ltrpathdirs; do
 
17083
                        if test "X$x" = "X$dir"; then
 
17084
                          haveit=yes
 
17085
                          break
 
17086
                        fi
 
17087
                      done
 
17088
                      if test -z "$haveit"; then
 
17089
                        ltrpathdirs="$ltrpathdirs $dir"
 
17090
                      fi
 
17091
                    fi
 
17092
                    ;;
 
17093
                  -l*)
 
17094
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
17095
                    ;;
 
17096
                  *.la)
 
17097
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
17098
                    ;;
 
17099
                  *)
 
17100
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
17101
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
17102
                    ;;
 
17103
                esac
 
17104
              done
 
17105
            fi
 
17106
          else
 
17107
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
17108
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
17109
          fi
 
17110
        fi
 
17111
      fi
 
17112
    done
 
17113
  done
 
17114
  if test "X$rpathdirs" != "X"; then
 
17115
    if test -n "$acl_hardcode_libdir_separator"; then
 
17116
                        alldirs=
 
17117
      for found_dir in $rpathdirs; do
 
17118
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
17119
      done
 
17120
            acl_save_libdir="$libdir"
 
17121
      libdir="$alldirs"
 
17122
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
17123
      libdir="$acl_save_libdir"
 
17124
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
17125
    else
 
17126
            for found_dir in $rpathdirs; do
 
17127
        acl_save_libdir="$libdir"
 
17128
        libdir="$found_dir"
 
17129
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
17130
        libdir="$acl_save_libdir"
 
17131
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
17132
      done
 
17133
    fi
 
17134
  fi
 
17135
  if test "X$ltrpathdirs" != "X"; then
 
17136
            for found_dir in $ltrpathdirs; do
 
17137
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
17138
    done
 
17139
  fi
 
17140
 
 
17141
 
 
17142
 
 
17143
 
 
17144
 
 
17145
 
 
17146
 
 
17147
 
 
17148
 
 
17149
 
 
17150
 
 
17151
 
 
17152
 
 
17153
 
 
17154
 
 
17155
 
 
17156
 
 
17157
 
 
17158
 
 
17159
 
 
17160
 
 
17161
 
 
17162
 
 
17163
 
 
17164
 
 
17165
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
17166
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
17167
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
 
17168
  $as_echo_n "(cached) " >&6
 
17169
else
 
17170
  gt_save_LIBS="$LIBS"
 
17171
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
17172
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17173
/* end confdefs.h.  */
 
17174
#include <CoreFoundation/CFPreferences.h>
 
17175
int
 
17176
main ()
 
17177
{
 
17178
CFPreferencesCopyAppValue(NULL, NULL)
 
17179
  ;
 
17180
  return 0;
 
17181
}
 
17182
_ACEOF
 
17183
if ac_fn_cxx_try_link "$LINENO"; then :
 
17184
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
17185
else
 
17186
  gt_cv_func_CFPreferencesCopyAppValue=no
 
17187
fi
 
17188
rm -f core conftest.err conftest.$ac_objext \
 
17189
    conftest$ac_exeext conftest.$ac_ext
 
17190
     LIBS="$gt_save_LIBS"
 
17191
fi
 
17192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
17193
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
17194
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
17195
 
 
17196
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
17197
 
 
17198
  fi
 
17199
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
17200
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
17201
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
 
17202
  $as_echo_n "(cached) " >&6
 
17203
else
 
17204
  gt_save_LIBS="$LIBS"
 
17205
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
17206
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17207
/* end confdefs.h.  */
 
17208
#include <CoreFoundation/CFLocale.h>
 
17209
int
 
17210
main ()
 
17211
{
 
17212
CFLocaleCopyCurrent();
 
17213
  ;
 
17214
  return 0;
 
17215
}
 
17216
_ACEOF
 
17217
if ac_fn_cxx_try_link "$LINENO"; then :
 
17218
  gt_cv_func_CFLocaleCopyCurrent=yes
 
17219
else
 
17220
  gt_cv_func_CFLocaleCopyCurrent=no
 
17221
fi
 
17222
rm -f core conftest.err conftest.$ac_objext \
 
17223
    conftest$ac_exeext conftest.$ac_ext
 
17224
     LIBS="$gt_save_LIBS"
 
17225
fi
 
17226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
17227
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
17228
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
17229
 
 
17230
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
17231
 
 
17232
  fi
 
17233
  INTL_MACOSX_LIBS=
 
17234
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
17235
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
17236
  fi
 
17237
 
 
17238
 
 
17239
 
 
17240
 
 
17241
 
 
17242
 
 
17243
  LIBINTL=
 
17244
  LTLIBINTL=
 
17245
  POSUB=
 
17246
 
 
17247
    case " $gt_needs " in
 
17248
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
17249
    *" need-ngettext "*) gt_api_version=2 ;;
 
17250
    *) gt_api_version=1 ;;
 
17251
  esac
 
17252
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
17253
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
17254
 
 
17255
    if test "$USE_NLS" = "yes"; then
 
17256
    gt_use_preinstalled_gnugettext=no
 
17257
 
 
17258
 
 
17259
        if test $gt_api_version -ge 3; then
 
17260
          gt_revision_test_code='
 
17261
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
17262
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
17263
#endif
 
17264
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
17265
'
 
17266
        else
 
17267
          gt_revision_test_code=
 
17268
        fi
 
17269
        if test $gt_api_version -ge 2; then
 
17270
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
17271
        else
 
17272
          gt_expression_test_code=
 
17273
        fi
 
17274
 
 
17275
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
17276
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
17277
if eval \${$gt_func_gnugettext_libc+:} false; then :
 
17278
  $as_echo_n "(cached) " >&6
 
17279
else
 
17280
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17281
/* end confdefs.h.  */
 
17282
#include <libintl.h>
 
17283
$gt_revision_test_code
 
17284
extern int _nl_msg_cat_cntr;
 
17285
extern int *_nl_domain_bindings;
 
17286
int
 
17287
main ()
 
17288
{
 
17289
bindtextdomain ("", "");
 
17290
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
17291
  ;
 
17292
  return 0;
 
17293
}
 
17294
_ACEOF
 
17295
if ac_fn_cxx_try_link "$LINENO"; then :
 
17296
  eval "$gt_func_gnugettext_libc=yes"
 
17297
else
 
17298
  eval "$gt_func_gnugettext_libc=no"
 
17299
fi
 
17300
rm -f core conftest.err conftest.$ac_objext \
 
17301
    conftest$ac_exeext conftest.$ac_ext
 
17302
fi
 
17303
eval ac_res=\$$gt_func_gnugettext_libc
 
17304
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
17305
$as_echo "$ac_res" >&6; }
 
17306
 
 
17307
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
17308
 
 
17309
 
 
17310
 
 
17311
 
 
17312
 
 
17313
          am_save_CPPFLAGS="$CPPFLAGS"
 
17314
 
 
17315
  for element in $INCICONV; do
 
17316
    haveit=
 
17317
    for x in $CPPFLAGS; do
 
17318
 
 
17319
  acl_save_prefix="$prefix"
 
17320
  prefix="$acl_final_prefix"
 
17321
  acl_save_exec_prefix="$exec_prefix"
 
17322
  exec_prefix="$acl_final_exec_prefix"
 
17323
  eval x=\"$x\"
 
17324
  exec_prefix="$acl_save_exec_prefix"
 
17325
  prefix="$acl_save_prefix"
 
17326
 
 
17327
      if test "X$x" = "X$element"; then
 
17328
        haveit=yes
 
17329
        break
 
17330
      fi
 
17331
    done
 
17332
    if test -z "$haveit"; then
 
17333
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
17334
    fi
 
17335
  done
 
17336
 
 
17337
 
 
17338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
17339
$as_echo_n "checking for iconv... " >&6; }
 
17340
if ${am_cv_func_iconv+:} false; then :
 
17341
  $as_echo_n "(cached) " >&6
 
17342
else
 
17343
 
 
17344
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
17345
    am_cv_lib_iconv=no
 
17346
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17347
/* end confdefs.h.  */
 
17348
#include <stdlib.h>
 
17349
#include <iconv.h>
 
17350
int
 
17351
main ()
 
17352
{
 
17353
iconv_t cd = iconv_open("","");
 
17354
       iconv(cd,NULL,NULL,NULL,NULL);
 
17355
       iconv_close(cd);
 
17356
  ;
 
17357
  return 0;
 
17358
}
 
17359
_ACEOF
 
17360
if ac_fn_cxx_try_link "$LINENO"; then :
 
17361
  am_cv_func_iconv=yes
 
17362
fi
 
17363
rm -f core conftest.err conftest.$ac_objext \
 
17364
    conftest$ac_exeext conftest.$ac_ext
 
17365
    if test "$am_cv_func_iconv" != yes; then
 
17366
      am_save_LIBS="$LIBS"
 
17367
      LIBS="$LIBS $LIBICONV"
 
17368
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17369
/* end confdefs.h.  */
 
17370
#include <stdlib.h>
 
17371
#include <iconv.h>
 
17372
int
 
17373
main ()
 
17374
{
 
17375
iconv_t cd = iconv_open("","");
 
17376
         iconv(cd,NULL,NULL,NULL,NULL);
 
17377
         iconv_close(cd);
 
17378
  ;
 
17379
  return 0;
 
17380
}
 
17381
_ACEOF
 
17382
if ac_fn_cxx_try_link "$LINENO"; then :
 
17383
  am_cv_lib_iconv=yes
 
17384
        am_cv_func_iconv=yes
 
17385
fi
 
17386
rm -f core conftest.err conftest.$ac_objext \
 
17387
    conftest$ac_exeext conftest.$ac_ext
 
17388
      LIBS="$am_save_LIBS"
 
17389
    fi
 
17390
 
 
17391
fi
 
17392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
17393
$as_echo "$am_cv_func_iconv" >&6; }
 
17394
  if test "$am_cv_func_iconv" = yes; then
 
17395
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 
17396
$as_echo_n "checking for working iconv... " >&6; }
 
17397
if ${am_cv_func_iconv_works+:} false; then :
 
17398
  $as_echo_n "(cached) " >&6
 
17399
else
 
17400
 
 
17401
            am_save_LIBS="$LIBS"
 
17402
      if test $am_cv_lib_iconv = yes; then
 
17403
        LIBS="$LIBS $LIBICONV"
 
17404
      fi
 
17405
      if test "$cross_compiling" = yes; then :
 
17406
  case "$host_os" in
 
17407
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
 
17408
           *)            am_cv_func_iconv_works="guessing yes" ;;
 
17409
         esac
 
17410
else
 
17411
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17412
/* end confdefs.h.  */
 
17413
 
 
17414
#include <iconv.h>
 
17415
#include <string.h>
 
17416
int main ()
 
17417
{
 
17418
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
 
17419
     returns.  */
 
17420
  {
 
17421
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
 
17422
    if (cd_utf8_to_88591 != (iconv_t)(-1))
 
17423
      {
 
17424
        static const char input[] = "\342\202\254"; /* EURO SIGN */
 
17425
        char buf[10];
 
17426
        const char *inptr = input;
 
17427
        size_t inbytesleft = strlen (input);
 
17428
        char *outptr = buf;
 
17429
        size_t outbytesleft = sizeof (buf);
 
17430
        size_t res = iconv (cd_utf8_to_88591,
 
17431
                            (char **) &inptr, &inbytesleft,
 
17432
                            &outptr, &outbytesleft);
 
17433
        if (res == 0)
 
17434
          return 1;
 
17435
      }
 
17436
  }
 
17437
#if 0 /* This bug could be worked around by the caller.  */
 
17438
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
 
17439
  {
 
17440
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
 
17441
    if (cd_88591_to_utf8 != (iconv_t)(-1))
 
17442
      {
 
17443
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
 
17444
        char buf[50];
 
17445
        const char *inptr = input;
 
17446
        size_t inbytesleft = strlen (input);
 
17447
        char *outptr = buf;
 
17448
        size_t outbytesleft = sizeof (buf);
 
17449
        size_t res = iconv (cd_88591_to_utf8,
 
17450
                            (char **) &inptr, &inbytesleft,
 
17451
                            &outptr, &outbytesleft);
 
17452
        if ((int)res > 0)
 
17453
          return 1;
 
17454
      }
 
17455
  }
 
17456
#endif
 
17457
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
 
17458
     provided.  */
 
17459
  if (/* Try standardized names.  */
 
17460
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
 
17461
      /* Try IRIX, OSF/1 names.  */
 
17462
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
 
17463
      /* Try AIX names.  */
 
17464
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
 
17465
      /* Try HP-UX names.  */
 
17466
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
 
17467
    return 1;
 
17468
  return 0;
 
17469
}
 
17470
_ACEOF
 
17471
if ac_fn_cxx_try_run "$LINENO"; then :
 
17472
  am_cv_func_iconv_works=yes
 
17473
else
 
17474
  am_cv_func_iconv_works=no
 
17475
fi
 
17476
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17477
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17478
fi
 
17479
 
 
17480
      LIBS="$am_save_LIBS"
 
17481
 
 
17482
fi
 
17483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 
17484
$as_echo "$am_cv_func_iconv_works" >&6; }
 
17485
    case "$am_cv_func_iconv_works" in
 
17486
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
 
17487
      *)   am_func_iconv=yes ;;
 
17488
    esac
 
17489
  else
 
17490
    am_func_iconv=no am_cv_lib_iconv=no
 
17491
  fi
 
17492
  if test "$am_func_iconv" = yes; then
 
17493
 
 
17494
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
17495
 
 
17496
  fi
 
17497
  if test "$am_cv_lib_iconv" = yes; then
 
17498
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
17499
$as_echo_n "checking how to link with libiconv... " >&6; }
 
17500
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
17501
$as_echo "$LIBICONV" >&6; }
 
17502
  else
 
17503
            CPPFLAGS="$am_save_CPPFLAGS"
 
17504
    LIBICONV=
 
17505
    LTLIBICONV=
 
17506
  fi
 
17507
 
 
17508
 
 
17509
 
 
17510
 
 
17511
 
 
17512
 
 
17513
 
 
17514
 
 
17515
    use_additional=yes
 
17516
 
 
17517
  acl_save_prefix="$prefix"
 
17518
  prefix="$acl_final_prefix"
 
17519
  acl_save_exec_prefix="$exec_prefix"
 
17520
  exec_prefix="$acl_final_exec_prefix"
 
17521
 
 
17522
    eval additional_includedir=\"$includedir\"
 
17523
    eval additional_libdir=\"$libdir\"
 
17524
 
 
17525
  exec_prefix="$acl_save_exec_prefix"
 
17526
  prefix="$acl_save_prefix"
 
17527
 
 
17528
 
 
17529
# Check whether --with-libintl-prefix was given.
 
17530
if test "${with_libintl_prefix+set}" = set; then :
 
17531
  withval=$with_libintl_prefix;
 
17532
    if test "X$withval" = "Xno"; then
 
17533
      use_additional=no
 
17534
    else
 
17535
      if test "X$withval" = "X"; then
 
17536
 
 
17537
  acl_save_prefix="$prefix"
 
17538
  prefix="$acl_final_prefix"
 
17539
  acl_save_exec_prefix="$exec_prefix"
 
17540
  exec_prefix="$acl_final_exec_prefix"
 
17541
 
 
17542
          eval additional_includedir=\"$includedir\"
 
17543
          eval additional_libdir=\"$libdir\"
 
17544
 
 
17545
  exec_prefix="$acl_save_exec_prefix"
 
17546
  prefix="$acl_save_prefix"
 
17547
 
 
17548
      else
 
17549
        additional_includedir="$withval/include"
 
17550
        additional_libdir="$withval/$acl_libdirstem"
 
17551
      fi
 
17552
    fi
 
17553
 
 
17554
fi
 
17555
 
 
17556
      LIBINTL=
 
17557
  LTLIBINTL=
 
17558
  INCINTL=
 
17559
  LIBINTL_PREFIX=
 
17560
  rpathdirs=
 
17561
  ltrpathdirs=
 
17562
  names_already_handled=
 
17563
  names_next_round='intl '
 
17564
  while test -n "$names_next_round"; do
 
17565
    names_this_round="$names_next_round"
 
17566
    names_next_round=
 
17567
    for name in $names_this_round; do
 
17568
      already_handled=
 
17569
      for n in $names_already_handled; do
 
17570
        if test "$n" = "$name"; then
 
17571
          already_handled=yes
 
17572
          break
 
17573
        fi
 
17574
      done
 
17575
      if test -z "$already_handled"; then
 
17576
        names_already_handled="$names_already_handled $name"
 
17577
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
17578
        eval value=\"\$HAVE_LIB$uppername\"
 
17579
        if test -n "$value"; then
 
17580
          if test "$value" = yes; then
 
17581
            eval value=\"\$LIB$uppername\"
 
17582
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
17583
            eval value=\"\$LTLIB$uppername\"
 
17584
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
17585
          else
 
17586
                                    :
 
17587
          fi
 
17588
        else
 
17589
                              found_dir=
 
17590
          found_la=
 
17591
          found_so=
 
17592
          found_a=
 
17593
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
17594
          if test -n "$acl_shlibext"; then
 
17595
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
17596
          else
 
17597
            shrext=
 
17598
          fi
 
17599
          if test $use_additional = yes; then
 
17600
            dir="$additional_libdir"
 
17601
                                    if test -n "$acl_shlibext"; then
 
17602
              if test -f "$dir/$libname$shrext"; then
 
17603
                found_dir="$dir"
 
17604
                found_so="$dir/$libname$shrext"
 
17605
              else
 
17606
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
17607
                  ver=`(cd "$dir" && \
 
17608
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
17609
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
17610
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
17611
                        | sed 1q ) 2>/dev/null`
 
17612
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
17613
                    found_dir="$dir"
 
17614
                    found_so="$dir/$libname$shrext.$ver"
 
17615
                  fi
 
17616
                else
 
17617
                  eval library_names=\"$acl_library_names_spec\"
 
17618
                  for f in $library_names; do
 
17619
                    if test -f "$dir/$f"; then
 
17620
                      found_dir="$dir"
 
17621
                      found_so="$dir/$f"
 
17622
                      break
 
17623
                    fi
 
17624
                  done
 
17625
                fi
 
17626
              fi
 
17627
            fi
 
17628
                        if test "X$found_dir" = "X"; then
 
17629
              if test -f "$dir/$libname.$acl_libext"; then
 
17630
                found_dir="$dir"
 
17631
                found_a="$dir/$libname.$acl_libext"
 
17632
              fi
 
17633
            fi
 
17634
            if test "X$found_dir" != "X"; then
 
17635
              if test -f "$dir/$libname.la"; then
 
17636
                found_la="$dir/$libname.la"
 
17637
              fi
 
17638
            fi
 
17639
          fi
 
17640
          if test "X$found_dir" = "X"; then
 
17641
            for x in $LDFLAGS $LTLIBINTL; do
 
17642
 
 
17643
  acl_save_prefix="$prefix"
 
17644
  prefix="$acl_final_prefix"
 
17645
  acl_save_exec_prefix="$exec_prefix"
 
17646
  exec_prefix="$acl_final_exec_prefix"
 
17647
  eval x=\"$x\"
 
17648
  exec_prefix="$acl_save_exec_prefix"
 
17649
  prefix="$acl_save_prefix"
 
17650
 
 
17651
              case "$x" in
 
17652
                -L*)
 
17653
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
17654
                                    if test -n "$acl_shlibext"; then
 
17655
                    if test -f "$dir/$libname$shrext"; then
 
17656
                      found_dir="$dir"
 
17657
                      found_so="$dir/$libname$shrext"
 
17658
                    else
 
17659
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
17660
                        ver=`(cd "$dir" && \
 
17661
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
17662
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
17663
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
17664
                              | sed 1q ) 2>/dev/null`
 
17665
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
17666
                          found_dir="$dir"
 
17667
                          found_so="$dir/$libname$shrext.$ver"
 
17668
                        fi
 
17669
                      else
 
17670
                        eval library_names=\"$acl_library_names_spec\"
 
17671
                        for f in $library_names; do
 
17672
                          if test -f "$dir/$f"; then
 
17673
                            found_dir="$dir"
 
17674
                            found_so="$dir/$f"
 
17675
                            break
 
17676
                          fi
 
17677
                        done
 
17678
                      fi
 
17679
                    fi
 
17680
                  fi
 
17681
                                    if test "X$found_dir" = "X"; then
 
17682
                    if test -f "$dir/$libname.$acl_libext"; then
 
17683
                      found_dir="$dir"
 
17684
                      found_a="$dir/$libname.$acl_libext"
 
17685
                    fi
 
17686
                  fi
 
17687
                  if test "X$found_dir" != "X"; then
 
17688
                    if test -f "$dir/$libname.la"; then
 
17689
                      found_la="$dir/$libname.la"
 
17690
                    fi
 
17691
                  fi
 
17692
                  ;;
 
17693
              esac
 
17694
              if test "X$found_dir" != "X"; then
 
17695
                break
 
17696
              fi
 
17697
            done
 
17698
          fi
 
17699
          if test "X$found_dir" != "X"; then
 
17700
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
17701
            if test "X$found_so" != "X"; then
 
17702
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
17703
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
17704
              else
 
17705
                                                                                haveit=
 
17706
                for x in $ltrpathdirs; do
 
17707
                  if test "X$x" = "X$found_dir"; then
 
17708
                    haveit=yes
 
17709
                    break
 
17710
                  fi
 
17711
                done
 
17712
                if test -z "$haveit"; then
 
17713
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
17714
                fi
 
17715
                                if test "$acl_hardcode_direct" = yes; then
 
17716
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
17717
                else
 
17718
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
17719
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
17720
                                                            haveit=
 
17721
                    for x in $rpathdirs; do
 
17722
                      if test "X$x" = "X$found_dir"; then
 
17723
                        haveit=yes
 
17724
                        break
 
17725
                      fi
 
17726
                    done
 
17727
                    if test -z "$haveit"; then
 
17728
                      rpathdirs="$rpathdirs $found_dir"
 
17729
                    fi
 
17730
                  else
 
17731
                                                                                haveit=
 
17732
                    for x in $LDFLAGS $LIBINTL; do
 
17733
 
 
17734
  acl_save_prefix="$prefix"
 
17735
  prefix="$acl_final_prefix"
 
17736
  acl_save_exec_prefix="$exec_prefix"
 
17737
  exec_prefix="$acl_final_exec_prefix"
 
17738
  eval x=\"$x\"
 
17739
  exec_prefix="$acl_save_exec_prefix"
 
17740
  prefix="$acl_save_prefix"
 
17741
 
 
17742
                      if test "X$x" = "X-L$found_dir"; then
 
17743
                        haveit=yes
 
17744
                        break
 
17745
                      fi
 
17746
                    done
 
17747
                    if test -z "$haveit"; then
 
17748
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
17749
                    fi
 
17750
                    if test "$acl_hardcode_minus_L" != no; then
 
17751
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
17752
                    else
 
17753
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
17754
                    fi
 
17755
                  fi
 
17756
                fi
 
17757
              fi
 
17758
            else
 
17759
              if test "X$found_a" != "X"; then
 
17760
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
17761
              else
 
17762
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
17763
              fi
 
17764
            fi
 
17765
                        additional_includedir=
 
17766
            case "$found_dir" in
 
17767
              */$acl_libdirstem | */$acl_libdirstem/)
 
17768
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
17769
                LIBINTL_PREFIX="$basedir"
 
17770
                additional_includedir="$basedir/include"
 
17771
                ;;
 
17772
            esac
 
17773
            if test "X$additional_includedir" != "X"; then
 
17774
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
17775
                haveit=
 
17776
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
17777
                  if test -n "$GCC"; then
 
17778
                    case $host_os in
 
17779
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
17780
                    esac
 
17781
                  fi
 
17782
                fi
 
17783
                if test -z "$haveit"; then
 
17784
                  for x in $CPPFLAGS $INCINTL; do
 
17785
 
 
17786
  acl_save_prefix="$prefix"
 
17787
  prefix="$acl_final_prefix"
 
17788
  acl_save_exec_prefix="$exec_prefix"
 
17789
  exec_prefix="$acl_final_exec_prefix"
 
17790
  eval x=\"$x\"
 
17791
  exec_prefix="$acl_save_exec_prefix"
 
17792
  prefix="$acl_save_prefix"
 
17793
 
 
17794
                    if test "X$x" = "X-I$additional_includedir"; then
 
17795
                      haveit=yes
 
17796
                      break
 
17797
                    fi
 
17798
                  done
 
17799
                  if test -z "$haveit"; then
 
17800
                    if test -d "$additional_includedir"; then
 
17801
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
17802
                    fi
 
17803
                  fi
 
17804
                fi
 
17805
              fi
 
17806
            fi
 
17807
                        if test -n "$found_la"; then
 
17808
                                                        save_libdir="$libdir"
 
17809
              case "$found_la" in
 
17810
                */* | *\\*) . "$found_la" ;;
 
17811
                *) . "./$found_la" ;;
 
17812
              esac
 
17813
              libdir="$save_libdir"
 
17814
                            for dep in $dependency_libs; do
 
17815
                case "$dep" in
 
17816
                  -L*)
 
17817
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
17818
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
17819
                      haveit=
 
17820
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
17821
                        if test -n "$GCC"; then
 
17822
                          case $host_os in
 
17823
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
17824
                          esac
 
17825
                        fi
 
17826
                      fi
 
17827
                      if test -z "$haveit"; then
 
17828
                        haveit=
 
17829
                        for x in $LDFLAGS $LIBINTL; do
 
17830
 
 
17831
  acl_save_prefix="$prefix"
 
17832
  prefix="$acl_final_prefix"
 
17833
  acl_save_exec_prefix="$exec_prefix"
 
17834
  exec_prefix="$acl_final_exec_prefix"
 
17835
  eval x=\"$x\"
 
17836
  exec_prefix="$acl_save_exec_prefix"
 
17837
  prefix="$acl_save_prefix"
 
17838
 
 
17839
                          if test "X$x" = "X-L$additional_libdir"; then
 
17840
                            haveit=yes
 
17841
                            break
 
17842
                          fi
 
17843
                        done
 
17844
                        if test -z "$haveit"; then
 
17845
                          if test -d "$additional_libdir"; then
 
17846
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
17847
                          fi
 
17848
                        fi
 
17849
                        haveit=
 
17850
                        for x in $LDFLAGS $LTLIBINTL; do
 
17851
 
 
17852
  acl_save_prefix="$prefix"
 
17853
  prefix="$acl_final_prefix"
 
17854
  acl_save_exec_prefix="$exec_prefix"
 
17855
  exec_prefix="$acl_final_exec_prefix"
 
17856
  eval x=\"$x\"
 
17857
  exec_prefix="$acl_save_exec_prefix"
 
17858
  prefix="$acl_save_prefix"
 
17859
 
 
17860
                          if test "X$x" = "X-L$additional_libdir"; then
 
17861
                            haveit=yes
 
17862
                            break
 
17863
                          fi
 
17864
                        done
 
17865
                        if test -z "$haveit"; then
 
17866
                          if test -d "$additional_libdir"; then
 
17867
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
17868
                          fi
 
17869
                        fi
 
17870
                      fi
 
17871
                    fi
 
17872
                    ;;
 
17873
                  -R*)
 
17874
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
17875
                    if test "$enable_rpath" != no; then
 
17876
                                                                  haveit=
 
17877
                      for x in $rpathdirs; do
 
17878
                        if test "X$x" = "X$dir"; then
 
17879
                          haveit=yes
 
17880
                          break
 
17881
                        fi
 
17882
                      done
 
17883
                      if test -z "$haveit"; then
 
17884
                        rpathdirs="$rpathdirs $dir"
 
17885
                      fi
 
17886
                                                                  haveit=
 
17887
                      for x in $ltrpathdirs; do
 
17888
                        if test "X$x" = "X$dir"; then
 
17889
                          haveit=yes
 
17890
                          break
 
17891
                        fi
 
17892
                      done
 
17893
                      if test -z "$haveit"; then
 
17894
                        ltrpathdirs="$ltrpathdirs $dir"
 
17895
                      fi
 
17896
                    fi
 
17897
                    ;;
 
17898
                  -l*)
 
17899
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
17900
                    ;;
 
17901
                  *.la)
 
17902
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
17903
                    ;;
 
17904
                  *)
 
17905
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
17906
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
17907
                    ;;
 
17908
                esac
 
17909
              done
 
17910
            fi
 
17911
          else
 
17912
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
17913
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
17914
          fi
 
17915
        fi
 
17916
      fi
 
17917
    done
 
17918
  done
 
17919
  if test "X$rpathdirs" != "X"; then
 
17920
    if test -n "$acl_hardcode_libdir_separator"; then
 
17921
                        alldirs=
 
17922
      for found_dir in $rpathdirs; do
 
17923
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
17924
      done
 
17925
            acl_save_libdir="$libdir"
 
17926
      libdir="$alldirs"
 
17927
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
17928
      libdir="$acl_save_libdir"
 
17929
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
17930
    else
 
17931
            for found_dir in $rpathdirs; do
 
17932
        acl_save_libdir="$libdir"
 
17933
        libdir="$found_dir"
 
17934
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
17935
        libdir="$acl_save_libdir"
 
17936
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
17937
      done
 
17938
    fi
 
17939
  fi
 
17940
  if test "X$ltrpathdirs" != "X"; then
 
17941
            for found_dir in $ltrpathdirs; do
 
17942
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
17943
    done
 
17944
  fi
 
17945
 
 
17946
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
17947
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
17948
if eval \${$gt_func_gnugettext_libintl+:} false; then :
 
17949
  $as_echo_n "(cached) " >&6
 
17950
else
 
17951
  gt_save_CPPFLAGS="$CPPFLAGS"
 
17952
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
17953
            gt_save_LIBS="$LIBS"
 
17954
            LIBS="$LIBS $LIBINTL"
 
17955
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17956
/* end confdefs.h.  */
 
17957
#include <libintl.h>
 
17958
$gt_revision_test_code
 
17959
extern int _nl_msg_cat_cntr;
 
17960
extern
 
17961
#ifdef __cplusplus
 
17962
"C"
 
17963
#endif
 
17964
const char *_nl_expand_alias (const char *);
 
17965
int
 
17966
main ()
 
17967
{
 
17968
bindtextdomain ("", "");
 
17969
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
17970
  ;
 
17971
  return 0;
 
17972
}
 
17973
_ACEOF
 
17974
if ac_fn_cxx_try_link "$LINENO"; then :
 
17975
  eval "$gt_func_gnugettext_libintl=yes"
 
17976
else
 
17977
  eval "$gt_func_gnugettext_libintl=no"
 
17978
fi
 
17979
rm -f core conftest.err conftest.$ac_objext \
 
17980
    conftest$ac_exeext conftest.$ac_ext
 
17981
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
17982
              LIBS="$LIBS $LIBICONV"
 
17983
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17984
/* end confdefs.h.  */
 
17985
#include <libintl.h>
 
17986
$gt_revision_test_code
 
17987
extern int _nl_msg_cat_cntr;
 
17988
extern
 
17989
#ifdef __cplusplus
 
17990
"C"
 
17991
#endif
 
17992
const char *_nl_expand_alias (const char *);
 
17993
int
 
17994
main ()
 
17995
{
 
17996
bindtextdomain ("", "");
 
17997
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
17998
  ;
 
17999
  return 0;
 
18000
}
 
18001
_ACEOF
 
18002
if ac_fn_cxx_try_link "$LINENO"; then :
 
18003
  LIBINTL="$LIBINTL $LIBICONV"
 
18004
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
18005
                eval "$gt_func_gnugettext_libintl=yes"
 
18006
 
 
18007
fi
 
18008
rm -f core conftest.err conftest.$ac_objext \
 
18009
    conftest$ac_exeext conftest.$ac_ext
 
18010
            fi
 
18011
            CPPFLAGS="$gt_save_CPPFLAGS"
 
18012
            LIBS="$gt_save_LIBS"
 
18013
fi
 
18014
eval ac_res=\$$gt_func_gnugettext_libintl
 
18015
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
18016
$as_echo "$ac_res" >&6; }
 
18017
        fi
 
18018
 
 
18019
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
18020
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
18021
                && test "$PACKAGE" != gettext-runtime \
 
18022
                && test "$PACKAGE" != gettext-tools; }; then
 
18023
          gt_use_preinstalled_gnugettext=yes
 
18024
        else
 
18025
                    LIBINTL=
 
18026
          LTLIBINTL=
 
18027
          INCINTL=
 
18028
        fi
 
18029
 
 
18030
 
 
18031
 
 
18032
    if test -n "$INTL_MACOSX_LIBS"; then
 
18033
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
18034
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
18035
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
18036
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
18037
      fi
 
18038
    fi
 
18039
 
 
18040
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
18041
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
18042
 
 
18043
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
18044
 
 
18045
    else
 
18046
      USE_NLS=no
 
18047
    fi
 
18048
  fi
 
18049
 
 
18050
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
18051
$as_echo_n "checking whether to use NLS... " >&6; }
 
18052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
18053
$as_echo "$USE_NLS" >&6; }
 
18054
  if test "$USE_NLS" = "yes"; then
 
18055
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
18056
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
18057
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
18058
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
18059
        gt_source="external libintl"
 
18060
      else
 
18061
        gt_source="libc"
 
18062
      fi
 
18063
    else
 
18064
      gt_source="included intl directory"
 
18065
    fi
 
18066
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
18067
$as_echo "$gt_source" >&6; }
 
18068
  fi
 
18069
 
 
18070
  if test "$USE_NLS" = "yes"; then
 
18071
 
 
18072
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
18073
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
18074
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
18075
$as_echo_n "checking how to link with libintl... " >&6; }
 
18076
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
18077
$as_echo "$LIBINTL" >&6; }
 
18078
 
 
18079
  for element in $INCINTL; do
 
18080
    haveit=
 
18081
    for x in $CPPFLAGS; do
 
18082
 
 
18083
  acl_save_prefix="$prefix"
 
18084
  prefix="$acl_final_prefix"
 
18085
  acl_save_exec_prefix="$exec_prefix"
 
18086
  exec_prefix="$acl_final_exec_prefix"
 
18087
  eval x=\"$x\"
 
18088
  exec_prefix="$acl_save_exec_prefix"
 
18089
  prefix="$acl_save_prefix"
 
18090
 
 
18091
      if test "X$x" = "X$element"; then
 
18092
        haveit=yes
 
18093
        break
 
18094
      fi
 
18095
    done
 
18096
    if test -z "$haveit"; then
 
18097
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
18098
    fi
 
18099
  done
 
18100
 
 
18101
      fi
 
18102
 
 
18103
 
 
18104
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
18105
 
 
18106
 
 
18107
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
18108
 
 
18109
    fi
 
18110
 
 
18111
        POSUB=po
 
18112
  fi
 
18113
 
 
18114
 
 
18115
 
 
18116
    INTLLIBS="$LIBINTL"
 
18117
 
 
18118
 
 
18119
 
 
18120
 
 
18121
 
 
18122
 
 
18123
 
 
18124
 
 
18125
GETTEXT_PACKAGE=gnome-system-monitor
 
18126
 
 
18127
 
 
18128
cat >>confdefs.h <<_ACEOF
 
18129
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
18130
_ACEOF
 
18131
 
 
18132
 
 
18133
# Documentation
 
18134
 
 
18135
gdu_cv_version_required=0.20
 
18136
 
 
18137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
19981
18138
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
19982
18139
if test -n "$PKG_CONFIG" && \
19983
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
 
18140
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
19984
18141
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
19985
18142
  ac_status=$?
19986
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987
 
  (exit $ac_status); }; then
 
18143
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18144
  test $ac_status = 0; }; then
19988
18145
  gdu_cv_have_gdu=yes
19989
18146
else
19990
18147
  gdu_cv_have_gdu=no
19991
18148
fi
19992
18149
 
19993
18150
if test "$gdu_cv_have_gdu" = "yes"; then
19994
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
18151
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19995
18152
$as_echo "yes" >&6; }
19996
18153
        :
19997
18154
else
19998
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
18155
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19999
18156
$as_echo "no" >&6; }
20000
 
        { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
20001
 
$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
20002
 
   { (exit 1); exit 1; }; }
 
18157
        as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
20003
18158
fi
20004
18159
 
20005
18160
 
20006
18161
 
20007
18162
# Check whether --with-help-dir was given.
20008
 
if test "${with_help_dir+set}" = set; then
 
18163
if test "${with_help_dir+set}" = set; then :
20009
18164
  withval=$with_help_dir;
20010
18165
else
20011
18166
  with_help_dir='${datadir}/gnome/help'
20016
18171
 
20017
18172
 
20018
18173
# Check whether --with-omf-dir was given.
20019
 
if test "${with_omf_dir+set}" = set; then
 
18174
if test "${with_omf_dir+set}" = set; then :
20020
18175
  withval=$with_omf_dir;
20021
18176
else
20022
18177
  with_omf_dir='${datadir}/omf'
20027
18182
 
20028
18183
 
20029
18184
# Check whether --with-help-formats was given.
20030
 
if test "${with_help_formats+set}" = set; then
 
18185
if test "${with_help_formats+set}" = set; then :
20031
18186
  withval=$with_help_formats;
20032
18187
else
20033
18188
  with_help_formats=''
20037
18192
 
20038
18193
 
20039
18194
# Check whether --enable-scrollkeeper was given.
20040
 
if test "${enable_scrollkeeper+set}" = set; then
 
18195
if test "${enable_scrollkeeper+set}" = set; then :
20041
18196
  enableval=$enable_scrollkeeper;
20042
18197
else
20043
18198
  enable_scrollkeeper=yes
20066
18221
 
20067
18222
 
20068
18223
 
20069
 
glib_save_prefix="$prefix"
20070
 
glib_save_exec_prefix="$exec_prefix"
20071
 
glib_save_datarootdir="$datarootdir"
20072
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
20073
 
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
20074
 
datarootdir=`eval echo "${datarootdir}"`
20075
 
if test "x$CATOBJEXT" = "x.mo" ; then
20076
 
  localedir=`eval echo "${libdir}/locale"`
20077
 
else
20078
 
  localedir=`eval echo "${datadir}/locale"`
20079
 
fi
20080
 
prefix="$glib_save_prefix"
20081
 
exec_prefix="$glib_save_exec_prefix"
20082
 
datarootdir="$glib_save_datarootdir"
20083
 
 
20084
 
cat >>confdefs.h <<_ACEOF
20085
 
#define PACKAGE_LOCALE_DIR "$localedir"
20086
 
_ACEOF
20087
 
 
20088
 
 
20089
 
 
20090
 
 
20091
18224
ac_config_files="$ac_config_files Makefile src/Makefile pixmaps/Makefile po/Makefile.in help/Makefile gnome-system-monitor.desktop.in"
20092
18225
 
20093
18226
 
20118
18251
    case $ac_val in #(
20119
18252
    *${as_nl}*)
20120
18253
      case $ac_var in #(
20121
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
18254
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20122
18255
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20123
18256
      esac
20124
18257
      case $ac_var in #(
20125
18258
      _ | IFS | as_nl) ;; #(
20126
18259
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20127
 
      *) $as_unset $ac_var ;;
 
18260
      *) { eval $ac_var=; unset $ac_var;} ;;
20128
18261
      esac ;;
20129
18262
    esac
20130
18263
  done
20132
18265
  (set) 2>&1 |
20133
18266
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
20134
18267
    *${as_nl}ac_space=\ *)
20135
 
      # `set' does not quote correctly, so add quotes (double-quote
20136
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
18268
      # `set' does not quote correctly, so add quotes: double-quote
 
18269
      # substitution turns \\\\ into \\, and sed turns \\ into \.
20137
18270
      sed -n \
20138
18271
        "s/'/'\\\\''/g;
20139
18272
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20155
18288
     :end' >>confcache
20156
18289
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20157
18290
  if test -w "$cache_file"; then
20158
 
    test "x$cache_file" != "x/dev/null" &&
20159
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
18291
    if test "x$cache_file" != "x/dev/null"; then
 
18292
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20160
18293
$as_echo "$as_me: updating cache $cache_file" >&6;}
20161
 
    cat confcache >$cache_file
 
18294
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
18295
        cat confcache >"$cache_file"
 
18296
      else
 
18297
        case $cache_file in #(
 
18298
        */* | ?:*)
 
18299
          mv -f confcache "$cache_file"$$ &&
 
18300
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
18301
        *)
 
18302
          mv -f confcache "$cache_file" ;;
 
18303
        esac
 
18304
      fi
 
18305
    fi
20162
18306
  else
20163
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
18307
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20164
18308
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20165
18309
  fi
20166
18310
fi
20174
18318
 
20175
18319
ac_libobjs=
20176
18320
ac_ltlibobjs=
 
18321
U=
20177
18322
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20178
18323
  # 1. Remove the extension, and $U if already installed.
20179
18324
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20180
18325
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20181
18326
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20182
18327
  #    will be set to the directory where LIBOBJS objects are built.
20183
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20184
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
18328
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
18329
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20185
18330
done
20186
18331
LIBOBJS=$ac_libobjs
20187
18332
 
20197
18342
fi
20198
18343
 
20199
18344
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20200
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20201
 
Usually this means the macro was only invoked conditionally." >&5
20202
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20203
 
Usually this means the macro was only invoked conditionally." >&2;}
20204
 
   { (exit 1); exit 1; }; }
 
18345
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
18346
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20205
18347
fi
20206
18348
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20207
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20208
 
Usually this means the macro was only invoked conditionally." >&5
20209
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20210
 
Usually this means the macro was only invoked conditionally." >&2;}
20211
 
   { (exit 1); exit 1; }; }
 
18349
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
18350
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18351
fi
 
18352
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
18353
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
18354
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20212
18355
fi
20213
18356
 
20214
18357
  ac_config_commands="$ac_config_commands po/stamp-it"
20215
18358
 
20216
18359
 
20217
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20218
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20219
 
Usually this means the macro was only invoked conditionally." >&5
20220
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20221
 
Usually this means the macro was only invoked conditionally." >&2;}
20222
 
   { (exit 1); exit 1; }; }
20223
 
fi
20224
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20225
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20226
 
Usually this means the macro was only invoked conditionally." >&5
20227
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20228
 
Usually this means the macro was only invoked conditionally." >&2;}
20229
 
   { (exit 1); exit 1; }; }
20230
 
fi
20231
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20232
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20233
 
Usually this means the macro was only invoked conditionally." >&5
20234
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20235
 
Usually this means the macro was only invoked conditionally." >&2;}
20236
 
   { (exit 1); exit 1; }; }
20237
 
fi
20238
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20239
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20240
 
Usually this means the macro was only invoked conditionally." >&5
20241
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20242
 
Usually this means the macro was only invoked conditionally." >&2;}
20243
 
   { (exit 1); exit 1; }; }
20244
 
fi
20245
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
20246
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
20247
 
Usually this means the macro was only invoked conditionally." >&5
20248
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
20249
 
Usually this means the macro was only invoked conditionally." >&2;}
20250
 
   { (exit 1); exit 1; }; }
20251
 
fi
20252
18360
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
20253
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
20254
 
Usually this means the macro was only invoked conditionally." >&5
20255
 
$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
20256
 
Usually this means the macro was only invoked conditionally." >&2;}
20257
 
   { (exit 1); exit 1; }; }
 
18361
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
 
18362
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20258
18363
fi
20259
18364
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
20260
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
20261
 
Usually this means the macro was only invoked conditionally." >&5
20262
 
$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
20263
 
Usually this means the macro was only invoked conditionally." >&2;}
20264
 
   { (exit 1); exit 1; }; }
 
18365
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
18366
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20265
18367
fi
20266
18368
 
20267
 
: ${CONFIG_STATUS=./config.status}
 
18369
: "${CONFIG_STATUS=./config.status}"
20268
18370
ac_write_fail=0
20269
18371
ac_clean_files_save=$ac_clean_files
20270
18372
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20271
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
18373
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20272
18374
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20273
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18375
as_write_fail=0
 
18376
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20274
18377
#! $SHELL
20275
18378
# Generated by $as_me.
20276
18379
# Run this file to recreate the current configuration.
20280
18383
debug=false
20281
18384
ac_cs_recheck=false
20282
18385
ac_cs_silent=false
 
18386
 
20283
18387
SHELL=\${CONFIG_SHELL-$SHELL}
20284
 
_ACEOF
20285
 
 
20286
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20287
 
## --------------------- ##
20288
 
## M4sh Initialization.  ##
20289
 
## --------------------- ##
 
18388
export SHELL
 
18389
_ASEOF
 
18390
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
18391
## -------------------- ##
 
18392
## M4sh Initialization. ##
 
18393
## -------------------- ##
20290
18394
 
20291
18395
# Be more Bourne compatible
20292
18396
DUALCASE=1; export DUALCASE # for MKS sh
20293
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18397
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20294
18398
  emulate sh
20295
18399
  NULLCMD=:
20296
18400
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20298
18402
  alias -g '${1+"$@"}'='"$@"'
20299
18403
  setopt NO_GLOB_SUBST
20300
18404
else
20301
 
  case `(set -o) 2>/dev/null` in
20302
 
  *posix*) set -o posix ;;
 
18405
  case `(set -o) 2>/dev/null` in #(
 
18406
  *posix*) :
 
18407
    set -o posix ;; #(
 
18408
  *) :
 
18409
     ;;
20303
18410
esac
20304
 
 
20305
18411
fi
20306
18412
 
20307
18413
 
20308
 
 
20309
 
 
20310
 
# PATH needs CR
20311
 
# Avoid depending upon Character Ranges.
20312
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20313
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20314
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20315
 
as_cr_digits='0123456789'
20316
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
20317
 
 
20318
18414
as_nl='
20319
18415
'
20320
18416
export as_nl
20322
18418
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20323
18419
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20324
18420
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20325
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18421
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
18422
# but without wasting forks for bash or zsh.
 
18423
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
18424
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18425
  as_echo='print -r --'
 
18426
  as_echo_n='print -rn --'
 
18427
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20326
18428
  as_echo='printf %s\n'
20327
18429
  as_echo_n='printf %s'
20328
18430
else
20333
18435
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20334
18436
    as_echo_n_body='eval
20335
18437
      arg=$1;
20336
 
      case $arg in
 
18438
      case $arg in #(
20337
18439
      *"$as_nl"*)
20338
18440
        expr "X$arg" : "X\\(.*\\)$as_nl";
20339
18441
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20356
18458
  }
20357
18459
fi
20358
18460
 
20359
 
# Support unset when possible.
20360
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20361
 
  as_unset=unset
20362
 
else
20363
 
  as_unset=false
20364
 
fi
20365
 
 
20366
18461
 
20367
18462
# IFS
20368
18463
# We need space, tab and new line, in precisely that order.  Quoting is
20372
18467
IFS=" ""        $as_nl"
20373
18468
 
20374
18469
# Find who we are.  Look in the path if we contain no directory separator.
20375
 
case $0 in
 
18470
as_myself=
 
18471
case $0 in #((
20376
18472
  *[\\/]* ) as_myself=$0 ;;
20377
18473
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20378
18474
for as_dir in $PATH
20379
18475
do
20380
18476
  IFS=$as_save_IFS
20381
18477
  test -z "$as_dir" && as_dir=.
20382
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20383
 
done
 
18478
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
18479
  done
20384
18480
IFS=$as_save_IFS
20385
18481
 
20386
18482
     ;;
20392
18488
fi
20393
18489
if test ! -f "$as_myself"; then
20394
18490
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20395
 
  { (exit 1); exit 1; }
 
18491
  exit 1
20396
18492
fi
20397
18493
 
20398
 
# Work around bugs in pre-3.0 UWIN ksh.
20399
 
for as_var in ENV MAIL MAILPATH
20400
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
18494
# Unset variables that we do not need and which cause bugs (e.g. in
 
18495
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
18496
# suppresses any "Segmentation fault" message there.  '((' could
 
18497
# trigger a bug in pdksh 5.2.14.
 
18498
for as_var in BASH_ENV ENV MAIL MAILPATH
 
18499
do eval test x\${$as_var+set} = xset \
 
18500
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20401
18501
done
20402
18502
PS1='$ '
20403
18503
PS2='> '
20409
18509
LANGUAGE=C
20410
18510
export LANGUAGE
20411
18511
 
20412
 
# Required to use basename.
 
18512
# CDPATH.
 
18513
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18514
 
 
18515
 
 
18516
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
18517
# ----------------------------------------
 
18518
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
18519
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
18520
# script with STATUS, using 1 if that was 0.
 
18521
as_fn_error ()
 
18522
{
 
18523
  as_status=$1; test $as_status -eq 0 && as_status=1
 
18524
  if test "$4"; then
 
18525
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
18526
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
18527
  fi
 
18528
  $as_echo "$as_me: error: $2" >&2
 
18529
  as_fn_exit $as_status
 
18530
} # as_fn_error
 
18531
 
 
18532
 
 
18533
# as_fn_set_status STATUS
 
18534
# -----------------------
 
18535
# Set $? to STATUS, without forking.
 
18536
as_fn_set_status ()
 
18537
{
 
18538
  return $1
 
18539
} # as_fn_set_status
 
18540
 
 
18541
# as_fn_exit STATUS
 
18542
# -----------------
 
18543
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
18544
as_fn_exit ()
 
18545
{
 
18546
  set +e
 
18547
  as_fn_set_status $1
 
18548
  exit $1
 
18549
} # as_fn_exit
 
18550
 
 
18551
# as_fn_unset VAR
 
18552
# ---------------
 
18553
# Portably unset VAR.
 
18554
as_fn_unset ()
 
18555
{
 
18556
  { eval $1=; unset $1;}
 
18557
}
 
18558
as_unset=as_fn_unset
 
18559
# as_fn_append VAR VALUE
 
18560
# ----------------------
 
18561
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
18562
# advantage of any shell optimizations that allow amortized linear growth over
 
18563
# repeated appends, instead of the typical quadratic growth present in naive
 
18564
# implementations.
 
18565
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
18566
  eval 'as_fn_append ()
 
18567
  {
 
18568
    eval $1+=\$2
 
18569
  }'
 
18570
else
 
18571
  as_fn_append ()
 
18572
  {
 
18573
    eval $1=\$$1\$2
 
18574
  }
 
18575
fi # as_fn_append
 
18576
 
 
18577
# as_fn_arith ARG...
 
18578
# ------------------
 
18579
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
18580
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
18581
# must be portable across $(()) and expr.
 
18582
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
18583
  eval 'as_fn_arith ()
 
18584
  {
 
18585
    as_val=$(( $* ))
 
18586
  }'
 
18587
else
 
18588
  as_fn_arith ()
 
18589
  {
 
18590
    as_val=`expr "$@" || test $? -eq 1`
 
18591
  }
 
18592
fi # as_fn_arith
 
18593
 
 
18594
 
20413
18595
if expr a : '\(a\)' >/dev/null 2>&1 &&
20414
18596
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20415
18597
  as_expr=expr
20423
18605
  as_basename=false
20424
18606
fi
20425
18607
 
 
18608
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
18609
  as_dirname=dirname
 
18610
else
 
18611
  as_dirname=false
 
18612
fi
20426
18613
 
20427
 
# Name of the executable.
20428
18614
as_me=`$as_basename -- "$0" ||
20429
18615
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20430
18616
         X"$0" : 'X\(//\)$' \| \
20444
18630
          }
20445
18631
          s/.*/./; q'`
20446
18632
 
20447
 
# CDPATH.
20448
 
$as_unset CDPATH
20449
 
 
20450
 
 
20451
 
 
20452
 
  as_lineno_1=$LINENO
20453
 
  as_lineno_2=$LINENO
20454
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20455
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20456
 
 
20457
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20458
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
20459
 
  # line-number line after each line using $LINENO; the second 'sed'
20460
 
  # does the real work.  The second script uses 'N' to pair each
20461
 
  # line-number line with the line containing $LINENO, and appends
20462
 
  # trailing '-' during substitution so that $LINENO is not a special
20463
 
  # case at line end.
20464
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20465
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
20466
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
20467
 
  sed -n '
20468
 
    p
20469
 
    /[$]LINENO/=
20470
 
  ' <$as_myself |
20471
 
    sed '
20472
 
      s/[$]LINENO.*/&-/
20473
 
      t lineno
20474
 
      b
20475
 
      :lineno
20476
 
      N
20477
 
      :loop
20478
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20479
 
      t loop
20480
 
      s/-\n.*//
20481
 
    ' >$as_me.lineno &&
20482
 
  chmod +x "$as_me.lineno" ||
20483
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20484
 
   { (exit 1); exit 1; }; }
20485
 
 
20486
 
  # Don't try to exec as it changes $[0], causing all sort of problems
20487
 
  # (the dirname of $[0] is not the place where we might find the
20488
 
  # original and so on.  Autoconf is especially sensitive to this).
20489
 
  . "./$as_me.lineno"
20490
 
  # Exit status is that of the last command.
20491
 
  exit
20492
 
}
20493
 
 
20494
 
 
20495
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20496
 
  as_dirname=dirname
20497
 
else
20498
 
  as_dirname=false
20499
 
fi
 
18633
# Avoid depending upon Character Ranges.
 
18634
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
18635
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
18636
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
18637
as_cr_digits='0123456789'
 
18638
as_cr_alnum=$as_cr_Letters$as_cr_digits
20500
18639
 
20501
18640
ECHO_C= ECHO_N= ECHO_T=
20502
 
case `echo -n x` in
 
18641
case `echo -n x` in #(((((
20503
18642
-n*)
20504
 
  case `echo 'x\c'` in
 
18643
  case `echo 'xy\c'` in
20505
18644
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20506
 
  *)   ECHO_C='\c';;
 
18645
  xy)  ECHO_C='\c';;
 
18646
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
18647
       ECHO_T=' ';;
20507
18648
  esac;;
20508
18649
*)
20509
18650
  ECHO_N='-n';;
20510
18651
esac
20511
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
20512
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20513
 
  as_expr=expr
20514
 
else
20515
 
  as_expr=false
20516
 
fi
20517
18652
 
20518
18653
rm -f conf$$ conf$$.exe conf$$.file
20519
18654
if test -d conf$$.dir; then
20542
18677
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20543
18678
rmdir conf$$.dir 2>/dev/null
20544
18679
 
 
18680
 
 
18681
# as_fn_mkdir_p
 
18682
# -------------
 
18683
# Create "$as_dir" as a directory, including parents if necessary.
 
18684
as_fn_mkdir_p ()
 
18685
{
 
18686
 
 
18687
  case $as_dir in #(
 
18688
  -*) as_dir=./$as_dir;;
 
18689
  esac
 
18690
  test -d "$as_dir" || eval $as_mkdir_p || {
 
18691
    as_dirs=
 
18692
    while :; do
 
18693
      case $as_dir in #(
 
18694
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
18695
      *) as_qdir=$as_dir;;
 
18696
      esac
 
18697
      as_dirs="'$as_qdir' $as_dirs"
 
18698
      as_dir=`$as_dirname -- "$as_dir" ||
 
18699
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18700
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18701
         X"$as_dir" : 'X\(//\)$' \| \
 
18702
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
18703
$as_echo X"$as_dir" |
 
18704
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18705
            s//\1/
 
18706
            q
 
18707
          }
 
18708
          /^X\(\/\/\)[^/].*/{
 
18709
            s//\1/
 
18710
            q
 
18711
          }
 
18712
          /^X\(\/\/\)$/{
 
18713
            s//\1/
 
18714
            q
 
18715
          }
 
18716
          /^X\(\/\).*/{
 
18717
            s//\1/
 
18718
            q
 
18719
          }
 
18720
          s/.*/./; q'`
 
18721
      test -d "$as_dir" && break
 
18722
    done
 
18723
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
18724
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
18725
 
 
18726
 
 
18727
} # as_fn_mkdir_p
20545
18728
if mkdir -p . 2>/dev/null; then
20546
 
  as_mkdir_p=:
 
18729
  as_mkdir_p='mkdir -p "$as_dir"'
20547
18730
else
20548
18731
  test -d ./-p && rmdir ./-p
20549
18732
  as_mkdir_p=false
20562
18745
      if test -d "$1"; then
20563
18746
        test -d "$1/.";
20564
18747
      else
20565
 
        case $1 in
 
18748
        case $1 in #(
20566
18749
        -*)set "./$1";;
20567
18750
        esac;
20568
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
18751
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20569
18752
        ???[sx]*):;;*)false;;esac;fi
20570
18753
    '\'' sh
20571
18754
  '
20580
18763
 
20581
18764
 
20582
18765
exec 6>&1
 
18766
## ----------------------------------- ##
 
18767
## Main body of $CONFIG_STATUS script. ##
 
18768
## ----------------------------------- ##
 
18769
_ASEOF
 
18770
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20583
18771
 
20584
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
18772
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18773
# Save the log message, to keep $0 and so on meaningful, and to
20585
18774
# report actual input values of CONFIG_FILES etc. instead of their
20586
18775
# values after options handling.
20587
18776
ac_log="
20588
 
This file was extended by gnome-system-monitor $as_me 2.28.1, which was
20589
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
18777
This file was extended by gnome-system-monitor $as_me 3.0.1, which was
 
18778
generated by GNU Autoconf 2.68.  Invocation command line was
20590
18779
 
20591
18780
  CONFIG_FILES    = $CONFIG_FILES
20592
18781
  CONFIG_HEADERS  = $CONFIG_HEADERS
20618
18807
 
20619
18808
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20620
18809
ac_cs_usage="\
20621
 
\`$as_me' instantiates files from templates according to the
20622
 
current configuration.
 
18810
\`$as_me' instantiates files and other configuration actions
 
18811
from templates according to the current configuration.  Unless the files
 
18812
and actions are specified as TAGs, all are instantiated by default.
20623
18813
 
20624
 
Usage: $0 [OPTION]... [FILE]...
 
18814
Usage: $0 [OPTION]... [TAG]...
20625
18815
 
20626
18816
  -h, --help       print this help, then exit
20627
18817
  -V, --version    print version number and configuration settings, then exit
 
18818
      --config     print configuration, then exit
20628
18819
  -q, --quiet, --silent
20629
18820
                   do not print progress messages
20630
18821
  -d, --debug      don't remove temporary files
20643
18834
Configuration commands:
20644
18835
$config_commands
20645
18836
 
20646
 
Report bugs to <bug-autoconf@gnu.org>."
 
18837
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor>."
20647
18838
 
20648
18839
_ACEOF
20649
18840
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18841
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20650
18842
ac_cs_version="\\
20651
 
gnome-system-monitor config.status 2.28.1
20652
 
configured by $0, generated by GNU Autoconf 2.63,
20653
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
18843
gnome-system-monitor config.status 3.0.1
 
18844
configured by $0, generated by GNU Autoconf 2.68,
 
18845
  with options \\"\$ac_cs_config\\"
20654
18846
 
20655
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
18847
Copyright (C) 2010 Free Software Foundation, Inc.
20656
18848
This config.status script is free software; the Free Software Foundation
20657
18849
gives unlimited permission to copy, distribute and modify it."
20658
18850
 
20670
18862
while test $# != 0
20671
18863
do
20672
18864
  case $1 in
20673
 
  --*=*)
 
18865
  --*=?*)
20674
18866
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20675
18867
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20676
18868
    ac_shift=:
20677
18869
    ;;
 
18870
  --*=)
 
18871
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
18872
    ac_optarg=
 
18873
    ac_shift=:
 
18874
    ;;
20678
18875
  *)
20679
18876
    ac_option=$1
20680
18877
    ac_optarg=$2
20688
18885
    ac_cs_recheck=: ;;
20689
18886
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20690
18887
    $as_echo "$ac_cs_version"; exit ;;
 
18888
  --config | --confi | --conf | --con | --co | --c )
 
18889
    $as_echo "$ac_cs_config"; exit ;;
20691
18890
  --debug | --debu | --deb | --de | --d | -d )
20692
18891
    debug=: ;;
20693
18892
  --file | --fil | --fi | --f )
20694
18893
    $ac_shift
20695
18894
    case $ac_optarg in
20696
18895
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18896
    '') as_fn_error $? "missing file argument" ;;
20697
18897
    esac
20698
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
18898
    as_fn_append CONFIG_FILES " '$ac_optarg'"
20699
18899
    ac_need_defaults=false;;
20700
18900
  --header | --heade | --head | --hea )
20701
18901
    $ac_shift
20702
18902
    case $ac_optarg in
20703
18903
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20704
18904
    esac
20705
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
18905
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20706
18906
    ac_need_defaults=false;;
20707
18907
  --he | --h)
20708
18908
    # Conflict between --help and --header
20709
 
    { $as_echo "$as_me: error: ambiguous option: $1
20710
 
Try \`$0 --help' for more information." >&2
20711
 
   { (exit 1); exit 1; }; };;
 
18909
    as_fn_error $? "ambiguous option: \`$1'
 
18910
Try \`$0 --help' for more information.";;
20712
18911
  --help | --hel | -h )
20713
18912
    $as_echo "$ac_cs_usage"; exit ;;
20714
18913
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20716
18915
    ac_cs_silent=: ;;
20717
18916
 
20718
18917
  # This is an error.
20719
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
20720
 
Try \`$0 --help' for more information." >&2
20721
 
   { (exit 1); exit 1; }; } ;;
 
18918
  -*) as_fn_error $? "unrecognized option: \`$1'
 
18919
Try \`$0 --help' for more information." ;;
20722
18920
 
20723
 
  *) ac_config_targets="$ac_config_targets $1"
 
18921
  *) as_fn_append ac_config_targets " $1"
20724
18922
     ac_need_defaults=false ;;
20725
18923
 
20726
18924
  esac
20771
18969
sed_quote_subst='$sed_quote_subst'
20772
18970
double_quote_subst='$double_quote_subst'
20773
18971
delay_variable_subst='$delay_variable_subst'
20774
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20775
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20776
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20777
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20778
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20779
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20780
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20781
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20782
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20783
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20784
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20785
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20786
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20787
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20788
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20789
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20790
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20791
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20792
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20793
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20794
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20795
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20796
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20797
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20798
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20799
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20800
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20801
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20802
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20803
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20804
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20805
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20806
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20807
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20808
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20809
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20810
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20811
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20812
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20813
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20814
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20815
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20816
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20817
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20818
 
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"`'
20819
 
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"`'
20820
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20821
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20822
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20823
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20824
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20825
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20826
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20827
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20828
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20829
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20830
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20831
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20832
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20833
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20834
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20835
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20836
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20837
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20838
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20839
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20840
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20841
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20842
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20843
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20844
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20845
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20846
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20847
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20848
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20849
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20850
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20851
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20852
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20853
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20854
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20855
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20856
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20857
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20858
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20859
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20860
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20861
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20862
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20863
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20864
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20865
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20866
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20867
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20868
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20869
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20870
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20871
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20872
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20873
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20874
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20875
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20876
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20877
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20878
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20879
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20880
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20881
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20882
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20883
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20884
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20885
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20886
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20887
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20888
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20889
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20890
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20891
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20892
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20893
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20894
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20895
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20896
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20897
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20898
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20899
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20900
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20901
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20902
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20903
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20904
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20905
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20906
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20907
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20908
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20909
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20910
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20911
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20912
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20913
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20914
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20915
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20916
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20917
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20918
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20919
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20920
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20921
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20922
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20923
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20924
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20925
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20926
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20927
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20928
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20929
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20930
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20931
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20932
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20933
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20934
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20935
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20936
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20937
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20938
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20939
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20940
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20941
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20942
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20943
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20944
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18972
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
18973
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
18974
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
18975
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
18976
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
18977
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
18978
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
18979
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
18980
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
18981
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
18982
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
18983
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
18984
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
18985
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
18986
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
18987
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
18988
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
18989
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
18990
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
18991
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
18992
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
18993
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
18994
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
18995
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
18996
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
18997
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
18998
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
18999
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
19000
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
19001
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
19002
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
19003
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
19004
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
19005
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
19006
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
19007
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
19008
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
19009
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
19010
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
19011
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
19012
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
19013
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
19014
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
19015
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
19016
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
19017
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
19018
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
19019
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
19020
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
19021
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
19022
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
19023
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
19024
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
19025
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
19026
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
19027
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
19028
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
19029
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
19030
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
19031
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
19032
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
19033
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
19034
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
19035
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
19036
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
19037
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
19038
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
19039
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
19040
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
19041
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
19042
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
19043
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
19044
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
19045
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
19046
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
19047
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
19048
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
19049
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
19050
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
19051
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
19052
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
19053
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
19054
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
19055
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
19056
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
19057
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
19058
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
19059
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
19060
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
19061
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
19062
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
19063
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
19064
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
19065
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
19066
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
19067
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
19068
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
19069
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
19070
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
19071
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
19072
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
19073
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
19074
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
19075
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
19076
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
19077
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
19078
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
19079
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
19080
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
19081
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
19082
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
19083
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
19084
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
19085
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
19086
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
19087
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
19088
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
19089
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
19090
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
19091
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
19092
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
19093
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
19094
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
19095
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
19096
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
19097
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
19098
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
19099
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
19100
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
19101
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
19102
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
19103
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
19104
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
19105
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
19106
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
19107
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
19108
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
19109
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
19110
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19111
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19112
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
19113
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
19114
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
19115
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
19116
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
19117
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
19118
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
19119
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
19120
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
19121
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
19122
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
19123
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
19124
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19125
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19126
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19127
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19128
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19129
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19130
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
19131
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
19132
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
19133
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
19134
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
19135
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
19136
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
19137
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
19138
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
19139
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
19140
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
19141
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
19142
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
19143
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
19144
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19145
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
19146
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
19147
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19148
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19149
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
19150
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
19151
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
19152
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
19153
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
19154
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
19155
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
19156
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20945
19157
 
20946
19158
LTCC='$LTCC'
20947
19159
LTCFLAGS='$LTCFLAGS'
20948
19160
compiler='$compiler_DEFAULT'
20949
19161
 
 
19162
# A function that is used when there is no print builtin or printf.
 
19163
func_fallback_echo ()
 
19164
{
 
19165
  eval 'cat <<_LTECHO_EOF
 
19166
\$1
 
19167
_LTECHO_EOF'
 
19168
}
 
19169
 
20950
19170
# Quote evaled strings.
20951
 
for var in SED \
 
19171
for var in SHELL \
 
19172
ECHO \
 
19173
SED \
20952
19174
GREP \
20953
19175
EGREP \
20954
19176
FGREP \
20961
19183
OBJDUMP \
20962
19184
deplibs_check_method \
20963
19185
file_magic_cmd \
 
19186
file_magic_glob \
 
19187
want_nocaseglob \
 
19188
DLLTOOL \
 
19189
sharedlib_from_linklib_cmd \
20964
19190
AR \
20965
19191
AR_FLAGS \
 
19192
archiver_list_spec \
20966
19193
STRIP \
20967
19194
RANLIB \
20968
19195
CC \
20972
19199
lt_cv_sys_global_symbol_to_cdecl \
20973
19200
lt_cv_sys_global_symbol_to_c_name_address \
20974
19201
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20975
 
SHELL \
20976
 
ECHO \
 
19202
nm_file_list_spec \
20977
19203
lt_prog_compiler_no_builtin_flag \
 
19204
lt_prog_compiler_pic \
20978
19205
lt_prog_compiler_wl \
20979
 
lt_prog_compiler_pic \
20980
19206
lt_prog_compiler_static \
20981
19207
lt_cv_prog_compiler_c_o \
20982
19208
need_locks \
 
19209
MANIFEST_TOOL \
20983
19210
DSYMUTIL \
20984
19211
NMEDIT \
20985
19212
LIPO \
20995
19222
hardcode_libdir_flag_spec \
20996
19223
hardcode_libdir_flag_spec_ld \
20997
19224
hardcode_libdir_separator \
20998
 
fix_srcfile_path \
20999
19225
exclude_expsyms \
21000
19226
include_expsyms \
21001
19227
file_list_spec \
21003
19229
libname_spec \
21004
19230
library_names_spec \
21005
19231
soname_spec \
 
19232
install_override_mode \
21006
19233
finish_eval \
21007
19234
old_striplib \
21008
19235
striplib \
21013
19240
postdeps \
21014
19241
compiler_lib_search_path \
21015
19242
LD_CXX \
 
19243
reload_flag_CXX \
21016
19244
compiler_CXX \
21017
19245
lt_prog_compiler_no_builtin_flag_CXX \
 
19246
lt_prog_compiler_pic_CXX \
21018
19247
lt_prog_compiler_wl_CXX \
21019
 
lt_prog_compiler_pic_CXX \
21020
19248
lt_prog_compiler_static_CXX \
21021
19249
lt_cv_prog_compiler_c_o_CXX \
21022
19250
export_dynamic_flag_spec_CXX \
21028
19256
hardcode_libdir_flag_spec_CXX \
21029
19257
hardcode_libdir_flag_spec_ld_CXX \
21030
19258
hardcode_libdir_separator_CXX \
21031
 
fix_srcfile_path_CXX \
21032
19259
exclude_expsyms_CXX \
21033
19260
include_expsyms_CXX \
21034
19261
file_list_spec_CXX \
21038
19265
predeps_CXX \
21039
19266
postdeps_CXX \
21040
19267
compiler_lib_search_path_CXX; do
21041
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19268
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21042
19269
    *[\\\\\\\`\\"\\\$]*)
21043
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
19270
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21044
19271
      ;;
21045
19272
    *)
21046
19273
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21062
19289
module_expsym_cmds \
21063
19290
export_symbols_cmds \
21064
19291
prelink_cmds \
 
19292
postlink_cmds \
21065
19293
postinstall_cmds \
21066
19294
postuninstall_cmds \
21067
19295
finish_cmds \
21068
19296
sys_lib_search_path_spec \
21069
19297
sys_lib_dlsearch_path_spec \
 
19298
reload_cmds_CXX \
21070
19299
old_archive_cmds_CXX \
21071
19300
old_archive_from_new_cmds_CXX \
21072
19301
old_archive_from_expsyms_cmds_CXX \
21075
19304
module_cmds_CXX \
21076
19305
module_expsym_cmds_CXX \
21077
19306
export_symbols_cmds_CXX \
21078
 
prelink_cmds_CXX; do
21079
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19307
prelink_cmds_CXX \
 
19308
postlink_cmds_CXX; do
 
19309
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21080
19310
    *[\\\\\\\`\\"\\\$]*)
21081
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
19311
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21082
19312
      ;;
21083
19313
    *)
21084
19314
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21086
19316
    esac
21087
19317
done
21088
19318
 
21089
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
21090
 
case \$lt_ECHO in
21091
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21092
 
  ;;
21093
 
esac
21094
 
 
21095
19319
ac_aux_dir='$ac_aux_dir'
21096
19320
xsi_shell='$xsi_shell'
21097
19321
lt_shell_append='$lt_shell_append'
21113
19337
 
21114
19338
 
21115
19339
 
 
19340
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
19341
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
19342
    # from automake < 1.5.
 
19343
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
19344
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
19345
    LINGUAS="${LINGUAS-%UNSET%}"
21116
19346
 
21117
19347
 
21118
19348
_ACEOF
21126
19356
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21127
19357
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21128
19358
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21129
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
19359
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
21130
19360
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21131
19361
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21132
19362
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
21135
19365
    "gnome-system-monitor.desktop.in") CONFIG_FILES="$CONFIG_FILES gnome-system-monitor.desktop.in" ;;
21136
19366
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
21137
19367
 
21138
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21139
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21140
 
   { (exit 1); exit 1; }; };;
 
19368
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21141
19369
  esac
21142
19370
done
21143
19371
 
21160
19388
# after its creation but before its name has been assigned to `$tmp'.
21161
19389
$debug ||
21162
19390
{
21163
 
  tmp=
 
19391
  tmp= ac_tmp=
21164
19392
  trap 'exit_status=$?
21165
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
19393
  : "${ac_tmp:=$tmp}"
 
19394
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21166
19395
' 0
21167
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
19396
  trap 'as_fn_exit 1' 1 2 13 15
21168
19397
}
21169
19398
# Create a (secure) tmp directory for tmp files.
21170
19399
 
21171
19400
{
21172
19401
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21173
 
  test -n "$tmp" && test -d "$tmp"
 
19402
  test -d "$tmp"
21174
19403
}  ||
21175
19404
{
21176
19405
  tmp=./conf$$-$RANDOM
21177
19406
  (umask 077 && mkdir "$tmp")
21178
 
} ||
21179
 
{
21180
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
21181
 
   { (exit 1); exit 1; }
21182
 
}
 
19407
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
19408
ac_tmp=$tmp
21183
19409
 
21184
19410
# Set up the scripts for CONFIG_FILES section.
21185
19411
# No need to generate them if there are no CONFIG_FILES.
21187
19413
if test -n "$CONFIG_FILES"; then
21188
19414
 
21189
19415
 
21190
 
ac_cr='
 
 
b"'"
 
19416
ac_cr=`echo X | tr X '\015'`
 
19417
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
19418
# But we know of no other shell where ac_cr would be empty at this
 
19419
# point, so we can use a bashism as a fallback.
 
19420
if test "x$ac_cr" = x; then
 
19421
  eval ac_cr=\$\'\\r\'
 
19422
fi
21191
19423
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21192
19424
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21193
19425
  ac_cs_awk_cr='\\r'
21195
19427
  ac_cs_awk_cr=$ac_cr
21196
19428
fi
21197
19429
 
21198
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
19430
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21199
19431
_ACEOF
21200
19432
 
21201
19433
 
21204
19436
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21205
19437
  echo "_ACEOF"
21206
19438
} >conf$$subs.sh ||
21207
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21208
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21209
 
   { (exit 1); exit 1; }; }
21210
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
19439
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
19440
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21211
19441
ac_delim='%!_!# '
21212
19442
for ac_last_try in false false false false false :; do
21213
19443
  . ./conf$$subs.sh ||
21214
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21215
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21216
 
   { (exit 1); exit 1; }; }
 
19444
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21217
19445
 
21218
19446
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21219
19447
  if test $ac_delim_n = $ac_delim_num; then
21220
19448
    break
21221
19449
  elif $ac_last_try; then
21222
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21223
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21224
 
   { (exit 1); exit 1; }; }
 
19450
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21225
19451
  else
21226
19452
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21227
19453
  fi
21229
19455
rm -f conf$$subs.sh
21230
19456
 
21231
19457
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21232
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
19458
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21233
19459
_ACEOF
21234
19460
sed -n '
21235
19461
h
21243
19469
t delim
21244
19470
:nl
21245
19471
h
21246
 
s/\(.\{148\}\).*/\1/
 
19472
s/\(.\{148\}\)..*/\1/
21247
19473
t more1
21248
19474
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21249
19475
p
21257
19483
t nl
21258
19484
:delim
21259
19485
h
21260
 
s/\(.\{148\}\).*/\1/
 
19486
s/\(.\{148\}\)..*/\1/
21261
19487
t more2
21262
19488
s/["\\]/\\&/g; s/^/"/; s/$/"/
21263
19489
p
21277
19503
rm -f conf$$subs.awk
21278
19504
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21279
19505
_ACAWK
21280
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
19506
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21281
19507
  for (key in S) S_is_set[key] = 1
21282
19508
  FS = ""
21283
19509
 
21309
19535
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21310
19536
else
21311
19537
  cat
21312
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
21313
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
21314
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
21315
 
   { (exit 1); exit 1; }; }
 
19538
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
19539
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21316
19540
_ACEOF
21317
19541
 
21318
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21319
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
19542
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
19543
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21320
19544
# trailing colons and then remove the whole line if VPATH becomes empty
21321
19545
# (actually we leave an empty line to preserve line numbers).
21322
19546
if test "x$srcdir" = x.; then
21323
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
21324
 
s/:*\$(srcdir):*/:/
21325
 
s/:*\${srcdir}:*/:/
21326
 
s/:*@srcdir@:*/:/
21327
 
s/^\([^=]*=[     ]*\):*/\1/
 
19547
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
19548
h
 
19549
s///
 
19550
s/^/:/
 
19551
s/[      ]*$/:/
 
19552
s/:\$(srcdir):/:/g
 
19553
s/:\${srcdir}:/:/g
 
19554
s/:@srcdir@:/:/g
 
19555
s/^:*//
21328
19556
s/:*$//
 
19557
x
 
19558
s/\(=[   ]*\).*/\1/
 
19559
G
 
19560
s/\n//
21329
19561
s/^[^=]*=[       ]*$//
21330
19562
}'
21331
19563
fi
21337
19569
# No need to generate them if there are no CONFIG_HEADERS.
21338
19570
# This happens for instance with `./config.status Makefile'.
21339
19571
if test -n "$CONFIG_HEADERS"; then
21340
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
19572
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21341
19573
BEGIN {
21342
19574
_ACEOF
21343
19575
 
21349
19581
# handling of long lines.
21350
19582
ac_delim='%!_!# '
21351
19583
for ac_last_try in false false :; do
21352
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
21353
 
  if test -z "$ac_t"; then
 
19584
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
19585
  if test -z "$ac_tt"; then
21354
19586
    break
21355
19587
  elif $ac_last_try; then
21356
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
21357
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
21358
 
   { (exit 1); exit 1; }; }
 
19588
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21359
19589
  else
21360
19590
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21361
19591
  fi
21440
19670
_ACAWK
21441
19671
_ACEOF
21442
19672
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21443
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
21444
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
21445
 
   { (exit 1); exit 1; }; }
 
19673
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21446
19674
fi # test -n "$CONFIG_HEADERS"
21447
19675
 
21448
19676
 
21455
19683
  esac
21456
19684
  case $ac_mode$ac_tag in
21457
19685
  :[FHL]*:*);;
21458
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
21459
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21460
 
   { (exit 1); exit 1; }; };;
 
19686
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21461
19687
  :[FH]-) ac_tag=-:-;;
21462
19688
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21463
19689
  esac
21476
19702
    for ac_f
21477
19703
    do
21478
19704
      case $ac_f in
21479
 
      -) ac_f="$tmp/stdin";;
 
19705
      -) ac_f="$ac_tmp/stdin";;
21480
19706
      *) # Look for the file first in the build tree, then in the source tree
21481
19707
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
21482
19708
         # because $ac_f cannot contain `:'.
21485
19711
           [\\/$]*) false;;
21486
19712
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21487
19713
           esac ||
21488
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21489
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21490
 
   { (exit 1); exit 1; }; };;
 
19714
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21491
19715
      esac
21492
19716
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21493
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
19717
      as_fn_append ac_file_inputs " '$ac_f'"
21494
19718
    done
21495
19719
 
21496
19720
    # Let's still pretend it is `configure' which instantiates (i.e., don't
21501
19725
        `' by configure.'
21502
19726
    if test x"$ac_file" != x-; then
21503
19727
      configure_input="$ac_file.  $configure_input"
21504
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
19728
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21505
19729
$as_echo "$as_me: creating $ac_file" >&6;}
21506
19730
    fi
21507
19731
    # Neutralize special characters interpreted by sed in replacement strings.
21513
19737
    esac
21514
19738
 
21515
19739
    case $ac_tag in
21516
 
    *:-:* | *:-) cat >"$tmp/stdin" \
21517
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21518
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21519
 
   { (exit 1); exit 1; }; } ;;
 
19740
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
19741
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21520
19742
    esac
21521
19743
    ;;
21522
19744
  esac
21544
19766
            q
21545
19767
          }
21546
19768
          s/.*/./; q'`
21547
 
  { as_dir="$ac_dir"
21548
 
  case $as_dir in #(
21549
 
  -*) as_dir=./$as_dir;;
21550
 
  esac
21551
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21552
 
    as_dirs=
21553
 
    while :; do
21554
 
      case $as_dir in #(
21555
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21556
 
      *) as_qdir=$as_dir;;
21557
 
      esac
21558
 
      as_dirs="'$as_qdir' $as_dirs"
21559
 
      as_dir=`$as_dirname -- "$as_dir" ||
21560
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21561
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21562
 
         X"$as_dir" : 'X\(//\)$' \| \
21563
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21564
 
$as_echo X"$as_dir" |
21565
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21566
 
            s//\1/
21567
 
            q
21568
 
          }
21569
 
          /^X\(\/\/\)[^/].*/{
21570
 
            s//\1/
21571
 
            q
21572
 
          }
21573
 
          /^X\(\/\/\)$/{
21574
 
            s//\1/
21575
 
            q
21576
 
          }
21577
 
          /^X\(\/\).*/{
21578
 
            s//\1/
21579
 
            q
21580
 
          }
21581
 
          s/.*/./; q'`
21582
 
      test -d "$as_dir" && break
21583
 
    done
21584
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21585
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21586
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21587
 
   { (exit 1); exit 1; }; }; }
 
19769
  as_dir="$ac_dir"; as_fn_mkdir_p
21588
19770
  ac_builddir=.
21589
19771
 
21590
19772
case "$ac_dir" in
21641
19823
# If the template does not know about datarootdir, expand it.
21642
19824
# FIXME: This hack should be removed a few years after 2.60.
21643
19825
ac_datarootdir_hack=; ac_datarootdir_seen=
21644
 
 
21645
19826
ac_sed_dataroot='
21646
19827
/datarootdir/ {
21647
19828
  p
21651
19832
/@docdir@/p
21652
19833
/@infodir@/p
21653
19834
/@localedir@/p
21654
 
/@mandir@/p
21655
 
'
 
19835
/@mandir@/p'
21656
19836
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21657
19837
*datarootdir*) ac_datarootdir_seen=yes;;
21658
19838
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21659
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
19839
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21660
19840
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21661
19841
_ACEOF
21662
19842
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21666
19846
  s&@infodir@&$infodir&g
21667
19847
  s&@localedir@&$localedir&g
21668
19848
  s&@mandir@&$mandir&g
21669
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
19849
  s&\\\${datarootdir}&$datarootdir&g' ;;
21670
19850
esac
21671
19851
_ACEOF
21672
19852
 
21694
19874
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21695
19875
$ac_datarootdir_hack
21696
19876
"
21697
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
21698
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21699
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21700
 
   { (exit 1); exit 1; }; }
 
19877
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
19878
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21701
19879
 
21702
19880
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21703
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21704
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21705
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21706
 
which seems to be undefined.  Please make sure it is defined." >&5
 
19881
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
19882
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
19883
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
19884
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19885
which seems to be undefined.  Please make sure it is defined" >&5
21707
19886
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21708
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
19887
which seems to be undefined.  Please make sure it is defined" >&2;}
21709
19888
 
21710
 
  rm -f "$tmp/stdin"
 
19889
  rm -f "$ac_tmp/stdin"
21711
19890
  case $ac_file in
21712
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
21713
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
19891
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
19892
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21714
19893
  esac \
21715
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21716
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21717
 
   { (exit 1); exit 1; }; }
 
19894
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21718
19895
 ;;
21719
19896
  :H)
21720
19897
  #
21723
19900
  if test x"$ac_file" != x-; then
21724
19901
    {
21725
19902
      $as_echo "/* $configure_input  */" \
21726
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21727
 
    } >"$tmp/config.h" \
21728
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21729
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21730
 
   { (exit 1); exit 1; }; }
21731
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21732
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
19903
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
19904
    } >"$ac_tmp/config.h" \
 
19905
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
19906
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
19907
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21733
19908
$as_echo "$as_me: $ac_file is unchanged" >&6;}
21734
19909
    else
21735
19910
      rm -f "$ac_file"
21736
 
      mv "$tmp/config.h" "$ac_file" \
21737
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21738
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21739
 
   { (exit 1); exit 1; }; }
 
19911
      mv "$ac_tmp/config.h" "$ac_file" \
 
19912
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21740
19913
    fi
21741
19914
  else
21742
19915
    $as_echo "/* $configure_input  */" \
21743
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
21744
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
21745
 
$as_echo "$as_me: error: could not create -" >&2;}
21746
 
   { (exit 1); exit 1; }; }
 
19916
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
19917
      || as_fn_error $? "could not create -" "$LINENO" 5
21747
19918
  fi
21748
19919
# Compute "$ac_file"'s index in $config_headers.
21749
19920
_am_arg="$ac_file"
21781
19952
          s/.*/./; q'`/stamp-h$_am_stamp_count
21782
19953
 ;;
21783
19954
 
21784
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
19955
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21785
19956
$as_echo "$as_me: executing $ac_file commands" >&6;}
21786
19957
 ;;
21787
19958
  esac
21876
20047
            q
21877
20048
          }
21878
20049
          s/.*/./; q'`
21879
 
      { as_dir=$dirpart/$fdir
21880
 
  case $as_dir in #(
21881
 
  -*) as_dir=./$as_dir;;
21882
 
  esac
21883
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21884
 
    as_dirs=
21885
 
    while :; do
21886
 
      case $as_dir in #(
21887
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21888
 
      *) as_qdir=$as_dir;;
21889
 
      esac
21890
 
      as_dirs="'$as_qdir' $as_dirs"
21891
 
      as_dir=`$as_dirname -- "$as_dir" ||
21892
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21893
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21894
 
         X"$as_dir" : 'X\(//\)$' \| \
21895
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21896
 
$as_echo X"$as_dir" |
21897
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21898
 
            s//\1/
21899
 
            q
21900
 
          }
21901
 
          /^X\(\/\/\)[^/].*/{
21902
 
            s//\1/
21903
 
            q
21904
 
          }
21905
 
          /^X\(\/\/\)$/{
21906
 
            s//\1/
21907
 
            q
21908
 
          }
21909
 
          /^X\(\/\).*/{
21910
 
            s//\1/
21911
 
            q
21912
 
          }
21913
 
          s/.*/./; q'`
21914
 
      test -d "$as_dir" && break
21915
 
    done
21916
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21917
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21918
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21919
 
   { (exit 1); exit 1; }; }; }
 
20050
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
21920
20051
      # echo "creating $dirpart/$file"
21921
20052
      echo '# dummy' > "$dirpart/$file"
21922
20053
    done
21944
20075
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
21945
20076
#
21946
20077
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21947
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
20078
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
20079
#                 Inc.
21948
20080
#   Written by Gordon Matzigkeit, 1996
21949
20081
#
21950
20082
#   This file is part of GNU Libtool.
21992
20124
# Whether or not to optimize for fast installation.
21993
20125
fast_install=$enable_fast_install
21994
20126
 
 
20127
# Shell to use when invoking shell scripts.
 
20128
SHELL=$lt_SHELL
 
20129
 
 
20130
# An echo program that protects backslashes.
 
20131
ECHO=$lt_ECHO
 
20132
 
21995
20133
# The host system.
21996
20134
host_alias=$host_alias
21997
20135
host=$host
22041
20179
# turn newlines into spaces.
22042
20180
NL2SP=$lt_lt_NL2SP
22043
20181
 
22044
 
# How to create reloadable object files.
22045
 
reload_flag=$lt_reload_flag
22046
 
reload_cmds=$lt_reload_cmds
 
20182
# convert \$build file names to \$host format.
 
20183
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
20184
 
 
20185
# convert \$build files to toolchain format.
 
20186
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22047
20187
 
22048
20188
# An object symbol dumper.
22049
20189
OBJDUMP=$lt_OBJDUMP
22051
20191
# Method to check whether dependent libraries are shared objects.
22052
20192
deplibs_check_method=$lt_deplibs_check_method
22053
20193
 
22054
 
# Command to use when deplibs_check_method == "file_magic".
 
20194
# Command to use when deplibs_check_method = "file_magic".
22055
20195
file_magic_cmd=$lt_file_magic_cmd
22056
20196
 
 
20197
# How to find potential files when deplibs_check_method = "file_magic".
 
20198
file_magic_glob=$lt_file_magic_glob
 
20199
 
 
20200
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
20201
want_nocaseglob=$lt_want_nocaseglob
 
20202
 
 
20203
# DLL creation program.
 
20204
DLLTOOL=$lt_DLLTOOL
 
20205
 
 
20206
# Command to associate shared and link libraries.
 
20207
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
20208
 
22057
20209
# The archiver.
22058
20210
AR=$lt_AR
 
20211
 
 
20212
# Flags to create an archive.
22059
20213
AR_FLAGS=$lt_AR_FLAGS
22060
20214
 
 
20215
# How to feed a file listing to the archiver.
 
20216
archiver_list_spec=$lt_archiver_list_spec
 
20217
 
22061
20218
# A symbol stripping program.
22062
20219
STRIP=$lt_STRIP
22063
20220
 
22066
20223
old_postinstall_cmds=$lt_old_postinstall_cmds
22067
20224
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22068
20225
 
 
20226
# Whether to use a lock for old archive extraction.
 
20227
lock_old_archive_extraction=$lock_old_archive_extraction
 
20228
 
22069
20229
# A C compiler.
22070
20230
LTCC=$lt_CC
22071
20231
 
22084
20244
# Transform the output of nm in a C name address pair when lib prefix is needed.
22085
20245
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22086
20246
 
 
20247
# Specify filename containing input files for \$NM.
 
20248
nm_file_list_spec=$lt_nm_file_list_spec
 
20249
 
 
20250
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
20251
lt_sysroot=$lt_sysroot
 
20252
 
22087
20253
# The name of the directory that contains temporary libtool files.
22088
20254
objdir=$objdir
22089
20255
 
22090
 
# Shell to use when invoking shell scripts.
22091
 
SHELL=$lt_SHELL
22092
 
 
22093
 
# An echo program that does not interpret backslashes.
22094
 
ECHO=$lt_ECHO
22095
 
 
22096
20256
# Used to examine libraries when file_magic_cmd begins with "file".
22097
20257
MAGIC_CMD=$MAGIC_CMD
22098
20258
 
22099
20259
# Must we lock files when doing compilation?
22100
20260
need_locks=$lt_need_locks
22101
20261
 
 
20262
# Manifest tool.
 
20263
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
20264
 
22102
20265
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22103
20266
DSYMUTIL=$lt_DSYMUTIL
22104
20267
 
22155
20318
# The coded name of the library, if different from the real name.
22156
20319
soname_spec=$lt_soname_spec
22157
20320
 
 
20321
# Permission mode override for installation of shared libraries.
 
20322
install_override_mode=$lt_install_override_mode
 
20323
 
22158
20324
# Command to use after installation of a shared archive.
22159
20325
postinstall_cmds=$lt_postinstall_cmds
22160
20326
 
22194
20360
# The linker used to build libraries.
22195
20361
LD=$lt_LD
22196
20362
 
 
20363
# How to create reloadable object files.
 
20364
reload_flag=$lt_reload_flag
 
20365
reload_cmds=$lt_reload_cmds
 
20366
 
22197
20367
# Commands used to build an old-style archive.
22198
20368
old_archive_cmds=$lt_old_archive_cmds
22199
20369
 
22206
20376
# Compiler flag to turn off builtin functions.
22207
20377
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22208
20378
 
 
20379
# Additional compiler flags for building library objects.
 
20380
pic_flag=$lt_lt_prog_compiler_pic
 
20381
 
22209
20382
# How to pass a linker flag through the compiler.
22210
20383
wl=$lt_lt_prog_compiler_wl
22211
20384
 
22212
 
# Additional compiler flags for building library objects.
22213
 
pic_flag=$lt_lt_prog_compiler_pic
22214
 
 
22215
20385
# Compiler flag to prevent dynamic linking.
22216
20386
link_static_flag=$lt_lt_prog_compiler_static
22217
20387
 
22298
20468
# Whether libtool must link a program against all its dependency libraries.
22299
20469
link_all_deplibs=$link_all_deplibs
22300
20470
 
22301
 
# Fix the shell variable \$srcfile for the compiler.
22302
 
fix_srcfile_path=$lt_fix_srcfile_path
22303
 
 
22304
20471
# Set to "yes" if exported symbols are required.
22305
20472
always_export_symbols=$always_export_symbols
22306
20473
 
22316
20483
# Commands necessary for linking programs (against libraries) with templates.
22317
20484
prelink_cmds=$lt_prelink_cmds
22318
20485
 
 
20486
# Commands necessary for finishing linking programs.
 
20487
postlink_cmds=$lt_postlink_cmds
 
20488
 
22319
20489
# Specify filename containing input files.
22320
20490
file_list_spec=$lt_file_list_spec
22321
20491
 
22362
20532
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
22363
20533
  # text mode, it properly converts lines to CR/LF.  This bash problem
22364
20534
  # is reportedly fixed, but why not run on old versions too?
22365
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22366
 
    || (rm -f "$cfgfile"; exit 1)
22367
 
 
22368
 
  case $xsi_shell in
22369
 
  yes)
22370
 
    cat << \_LT_EOF >> "$cfgfile"
22371
 
 
22372
 
# func_dirname file append nondir_replacement
22373
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
22374
 
# otherwise set result to NONDIR_REPLACEMENT.
22375
 
func_dirname ()
22376
 
{
22377
 
  case ${1} in
22378
 
    */*) func_dirname_result="${1%/*}${2}" ;;
22379
 
    *  ) func_dirname_result="${3}" ;;
22380
 
  esac
22381
 
}
22382
 
 
22383
 
# func_basename file
22384
 
func_basename ()
22385
 
{
22386
 
  func_basename_result="${1##*/}"
22387
 
}
22388
 
 
22389
 
# func_dirname_and_basename file append nondir_replacement
22390
 
# perform func_basename and func_dirname in a single function
22391
 
# call:
22392
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
22393
 
#             add APPEND to the result, otherwise set result
22394
 
#             to NONDIR_REPLACEMENT.
22395
 
#             value returned in "$func_dirname_result"
22396
 
#   basename: Compute filename of FILE.
22397
 
#             value retuned in "$func_basename_result"
22398
 
# Implementation must be kept synchronized with func_dirname
22399
 
# and func_basename. For efficiency, we do not delegate to
22400
 
# those functions but instead duplicate the functionality here.
22401
 
func_dirname_and_basename ()
22402
 
{
22403
 
  case ${1} in
22404
 
    */*) func_dirname_result="${1%/*}${2}" ;;
22405
 
    *  ) func_dirname_result="${3}" ;;
22406
 
  esac
22407
 
  func_basename_result="${1##*/}"
22408
 
}
22409
 
 
22410
 
# func_stripname prefix suffix name
22411
 
# strip PREFIX and SUFFIX off of NAME.
22412
 
# PREFIX and SUFFIX must not contain globbing or regex special
22413
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
22414
 
# dot (in which case that matches only a dot).
22415
 
func_stripname ()
22416
 
{
22417
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22418
 
  # positional parameters, so assign one to ordinary parameter first.
22419
 
  func_stripname_result=${3}
22420
 
  func_stripname_result=${func_stripname_result#"${1}"}
22421
 
  func_stripname_result=${func_stripname_result%"${2}"}
22422
 
}
22423
 
 
22424
 
# func_opt_split
22425
 
func_opt_split ()
22426
 
{
22427
 
  func_opt_split_opt=${1%%=*}
22428
 
  func_opt_split_arg=${1#*=}
22429
 
}
22430
 
 
22431
 
# func_lo2o object
22432
 
func_lo2o ()
22433
 
{
22434
 
  case ${1} in
22435
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
22436
 
    *)    func_lo2o_result=${1} ;;
22437
 
  esac
22438
 
}
22439
 
 
22440
 
# func_xform libobj-or-source
22441
 
func_xform ()
22442
 
{
22443
 
  func_xform_result=${1%.*}.lo
22444
 
}
22445
 
 
22446
 
# func_arith arithmetic-term...
22447
 
func_arith ()
22448
 
{
22449
 
  func_arith_result=$(( $* ))
22450
 
}
22451
 
 
22452
 
# func_len string
22453
 
# STRING may not start with a hyphen.
22454
 
func_len ()
22455
 
{
22456
 
  func_len_result=${#1}
22457
 
}
22458
 
 
22459
 
_LT_EOF
22460
 
    ;;
22461
 
  *) # Bourne compatible functions.
22462
 
    cat << \_LT_EOF >> "$cfgfile"
22463
 
 
22464
 
# func_dirname file append nondir_replacement
22465
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
22466
 
# otherwise set result to NONDIR_REPLACEMENT.
22467
 
func_dirname ()
22468
 
{
22469
 
  # Extract subdirectory from the argument.
22470
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22471
 
  if test "X$func_dirname_result" = "X${1}"; then
22472
 
    func_dirname_result="${3}"
22473
 
  else
22474
 
    func_dirname_result="$func_dirname_result${2}"
22475
 
  fi
22476
 
}
22477
 
 
22478
 
# func_basename file
22479
 
func_basename ()
22480
 
{
22481
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
22482
 
}
22483
 
 
22484
 
 
22485
 
# func_stripname prefix suffix name
22486
 
# strip PREFIX and SUFFIX off of NAME.
22487
 
# PREFIX and SUFFIX must not contain globbing or regex special
22488
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
22489
 
# dot (in which case that matches only a dot).
22490
 
# func_strip_suffix prefix name
22491
 
func_stripname ()
22492
 
{
22493
 
  case ${2} in
22494
 
    .*) func_stripname_result=`$ECHO "X${3}" \
22495
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22496
 
    *)  func_stripname_result=`$ECHO "X${3}" \
22497
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22498
 
  esac
22499
 
}
22500
 
 
22501
 
# sed scripts:
22502
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
22503
 
my_sed_long_arg='1s/^-[^=]*=//'
22504
 
 
22505
 
# func_opt_split
22506
 
func_opt_split ()
22507
 
{
22508
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22509
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22510
 
}
22511
 
 
22512
 
# func_lo2o object
22513
 
func_lo2o ()
22514
 
{
22515
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22516
 
}
22517
 
 
22518
 
# func_xform libobj-or-source
22519
 
func_xform ()
22520
 
{
22521
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22522
 
}
22523
 
 
22524
 
# func_arith arithmetic-term...
22525
 
func_arith ()
22526
 
{
22527
 
  func_arith_result=`expr "$@"`
22528
 
}
22529
 
 
22530
 
# func_len string
22531
 
# STRING may not start with a hyphen.
22532
 
func_len ()
22533
 
{
22534
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22535
 
}
22536
 
 
22537
 
_LT_EOF
22538
 
esac
22539
 
 
22540
 
case $lt_shell_append in
22541
 
  yes)
22542
 
    cat << \_LT_EOF >> "$cfgfile"
22543
 
 
22544
 
# func_append var value
22545
 
# Append VALUE to the end of shell variable VAR.
22546
 
func_append ()
22547
 
{
22548
 
  eval "$1+=\$2"
22549
 
}
22550
 
_LT_EOF
22551
 
    ;;
22552
 
  *)
22553
 
    cat << \_LT_EOF >> "$cfgfile"
22554
 
 
22555
 
# func_append var value
22556
 
# Append VALUE to the end of shell variable VAR.
22557
 
func_append ()
22558
 
{
22559
 
  eval "$1=\$$1\$2"
22560
 
}
22561
 
 
22562
 
_LT_EOF
22563
 
    ;;
22564
 
  esac
22565
 
 
22566
 
 
22567
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22568
 
    || (rm -f "$cfgfile"; exit 1)
22569
 
 
22570
 
  mv -f "$cfgfile" "$ofile" ||
 
20535
  sed '$q' "$ltmain" >> "$cfgfile" \
 
20536
     || (rm -f "$cfgfile"; exit 1)
 
20537
 
 
20538
  if test x"$xsi_shell" = xyes; then
 
20539
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
20540
func_dirname ()\
 
20541
{\
 
20542
\    case ${1} in\
 
20543
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20544
\      *  ) func_dirname_result="${3}" ;;\
 
20545
\    esac\
 
20546
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
20547
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20548
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20549
test 0 -eq $? || _lt_function_replace_fail=:
 
20550
 
 
20551
 
 
20552
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
20553
func_basename ()\
 
20554
{\
 
20555
\    func_basename_result="${1##*/}"\
 
20556
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20557
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20558
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20559
test 0 -eq $? || _lt_function_replace_fail=:
 
20560
 
 
20561
 
 
20562
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
20563
func_dirname_and_basename ()\
 
20564
{\
 
20565
\    case ${1} in\
 
20566
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20567
\      *  ) func_dirname_result="${3}" ;;\
 
20568
\    esac\
 
20569
\    func_basename_result="${1##*/}"\
 
20570
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20571
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20572
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20573
test 0 -eq $? || _lt_function_replace_fail=:
 
20574
 
 
20575
 
 
20576
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
20577
func_stripname ()\
 
20578
{\
 
20579
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
20580
\    # positional parameters, so assign one to ordinary parameter first.\
 
20581
\    func_stripname_result=${3}\
 
20582
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
20583
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
20584
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
20585
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20586
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20587
test 0 -eq $? || _lt_function_replace_fail=:
 
20588
 
 
20589
 
 
20590
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
20591
func_split_long_opt ()\
 
20592
{\
 
20593
\    func_split_long_opt_name=${1%%=*}\
 
20594
\    func_split_long_opt_arg=${1#*=}\
 
20595
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
20596
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20597
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20598
test 0 -eq $? || _lt_function_replace_fail=:
 
20599
 
 
20600
 
 
20601
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
20602
func_split_short_opt ()\
 
20603
{\
 
20604
\    func_split_short_opt_arg=${1#??}\
 
20605
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
20606
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
20607
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20608
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20609
test 0 -eq $? || _lt_function_replace_fail=:
 
20610
 
 
20611
 
 
20612
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
20613
func_lo2o ()\
 
20614
{\
 
20615
\    case ${1} in\
 
20616
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
20617
\      *)    func_lo2o_result=${1} ;;\
 
20618
\    esac\
 
20619
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
20620
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20621
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20622
test 0 -eq $? || _lt_function_replace_fail=:
 
20623
 
 
20624
 
 
20625
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
20626
func_xform ()\
 
20627
{\
 
20628
    func_xform_result=${1%.*}.lo\
 
20629
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
20630
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20631
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20632
test 0 -eq $? || _lt_function_replace_fail=:
 
20633
 
 
20634
 
 
20635
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
20636
func_arith ()\
 
20637
{\
 
20638
    func_arith_result=$(( $* ))\
 
20639
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
20640
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20641
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20642
test 0 -eq $? || _lt_function_replace_fail=:
 
20643
 
 
20644
 
 
20645
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
20646
func_len ()\
 
20647
{\
 
20648
    func_len_result=${#1}\
 
20649
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
20650
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20651
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20652
test 0 -eq $? || _lt_function_replace_fail=:
 
20653
 
 
20654
fi
 
20655
 
 
20656
if test x"$lt_shell_append" = xyes; then
 
20657
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
20658
func_append ()\
 
20659
{\
 
20660
    eval "${1}+=\\${2}"\
 
20661
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
20662
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20663
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20664
test 0 -eq $? || _lt_function_replace_fail=:
 
20665
 
 
20666
 
 
20667
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
20668
func_append_quoted ()\
 
20669
{\
 
20670
\    func_quote_for_eval "${2}"\
 
20671
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
20672
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
20673
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20674
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20675
test 0 -eq $? || _lt_function_replace_fail=:
 
20676
 
 
20677
 
 
20678
  # Save a `func_append' function call where possible by direct use of '+='
 
20679
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
20680
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20681
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20682
  test 0 -eq $? || _lt_function_replace_fail=:
 
20683
else
 
20684
  # Save a `func_append' function call even when '+=' is not available
 
20685
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
20686
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20687
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20688
  test 0 -eq $? || _lt_function_replace_fail=:
 
20689
fi
 
20690
 
 
20691
if test x"$_lt_function_replace_fail" = x":"; then
 
20692
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
20693
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
20694
fi
 
20695
 
 
20696
 
 
20697
   mv -f "$cfgfile" "$ofile" ||
22571
20698
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22572
20699
  chmod +x "$ofile"
22573
20700
 
22579
20706
# The linker used to build libraries.
22580
20707
LD=$lt_LD_CXX
22581
20708
 
 
20709
# How to create reloadable object files.
 
20710
reload_flag=$lt_reload_flag_CXX
 
20711
reload_cmds=$lt_reload_cmds_CXX
 
20712
 
22582
20713
# Commands used to build an old-style archive.
22583
20714
old_archive_cmds=$lt_old_archive_cmds_CXX
22584
20715
 
22591
20722
# Compiler flag to turn off builtin functions.
22592
20723
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22593
20724
 
 
20725
# Additional compiler flags for building library objects.
 
20726
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
20727
 
22594
20728
# How to pass a linker flag through the compiler.
22595
20729
wl=$lt_lt_prog_compiler_wl_CXX
22596
20730
 
22597
 
# Additional compiler flags for building library objects.
22598
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
22599
 
 
22600
20731
# Compiler flag to prevent dynamic linking.
22601
20732
link_static_flag=$lt_lt_prog_compiler_static_CXX
22602
20733
 
22683
20814
# Whether libtool must link a program against all its dependency libraries.
22684
20815
link_all_deplibs=$link_all_deplibs_CXX
22685
20816
 
22686
 
# Fix the shell variable \$srcfile for the compiler.
22687
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
22688
 
 
22689
20817
# Set to "yes" if exported symbols are required.
22690
20818
always_export_symbols=$always_export_symbols_CXX
22691
20819
 
22701
20829
# Commands necessary for linking programs (against libraries) with templates.
22702
20830
prelink_cmds=$lt_prelink_cmds_CXX
22703
20831
 
 
20832
# Commands necessary for finishing linking programs.
 
20833
postlink_cmds=$lt_postlink_cmds_CXX
 
20834
 
22704
20835
# Specify filename containing input files.
22705
20836
file_list_spec=$lt_file_list_spec_CXX
22706
20837
 
22725
20856
_LT_EOF
22726
20857
 
22727
20858
 ;;
22728
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
22729
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
22730
 
      esac ;;
 
20859
    "po-directories":C)
 
20860
    for ac_file in $CONFIG_FILES; do
 
20861
      # Support "outfile[:infile[:infile...]]"
 
20862
      case "$ac_file" in
 
20863
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
20864
      esac
 
20865
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
20866
      case "$ac_file" in */Makefile.in)
 
20867
        # Adjust a relative srcdir.
 
20868
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
20869
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
20870
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
20871
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
20872
        # In autoconf-2.50 it is called $srcdir.
 
20873
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
20874
        case "$ac_given_srcdir" in
 
20875
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
20876
          /*) top_srcdir="$ac_given_srcdir" ;;
 
20877
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
20878
        esac
 
20879
        # Treat a directory as a PO directory if and only if it has a
 
20880
        # POTFILES.in file. This allows packages to have multiple PO
 
20881
        # directories under different names or in different locations.
 
20882
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
20883
          rm -f "$ac_dir/POTFILES"
 
20884
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
20885
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
20886
          POMAKEFILEDEPS="POTFILES.in"
 
20887
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
20888
          # on $ac_dir but don't depend on user-specified configuration
 
20889
          # parameters.
 
20890
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
20891
            # The LINGUAS file contains the set of available languages.
 
20892
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
20893
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
20894
            fi
 
20895
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
20896
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
20897
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
20898
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
20899
          else
 
20900
            # The set of available languages was given in configure.in.
 
20901
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
20902
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
20903
          fi
 
20904
          # Compute POFILES
 
20905
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
20906
          # Compute UPDATEPOFILES
 
20907
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
20908
          # Compute DUMMYPOFILES
 
20909
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
20910
          # Compute GMOFILES
 
20911
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
20912
          case "$ac_given_srcdir" in
 
20913
            .) srcdirpre= ;;
 
20914
            *) srcdirpre='$(srcdir)/' ;;
 
20915
          esac
 
20916
          POFILES=
 
20917
          UPDATEPOFILES=
 
20918
          DUMMYPOFILES=
 
20919
          GMOFILES=
 
20920
          for lang in $ALL_LINGUAS; do
 
20921
            POFILES="$POFILES $srcdirpre$lang.po"
 
20922
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
20923
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
20924
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
20925
          done
 
20926
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
20927
          # environment variable.
 
20928
          INST_LINGUAS=
 
20929
          if test -n "$ALL_LINGUAS"; then
 
20930
            for presentlang in $ALL_LINGUAS; do
 
20931
              useit=no
 
20932
              if test "%UNSET%" != "$LINGUAS"; then
 
20933
                desiredlanguages="$LINGUAS"
 
20934
              else
 
20935
                desiredlanguages="$ALL_LINGUAS"
 
20936
              fi
 
20937
              for desiredlang in $desiredlanguages; do
 
20938
                # Use the presentlang catalog if desiredlang is
 
20939
                #   a. equal to presentlang, or
 
20940
                #   b. a variant of presentlang (because in this case,
 
20941
                #      presentlang can be used as a fallback for messages
 
20942
                #      which are not translated in the desiredlang catalog).
 
20943
                case "$desiredlang" in
 
20944
                  "$presentlang"*) useit=yes;;
 
20945
                esac
 
20946
              done
 
20947
              if test $useit = yes; then
 
20948
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
20949
              fi
 
20950
            done
 
20951
          fi
 
20952
          CATALOGS=
 
20953
          if test -n "$INST_LINGUAS"; then
 
20954
            for lang in $INST_LINGUAS; do
 
20955
              CATALOGS="$CATALOGS $lang.gmo"
 
20956
            done
 
20957
          fi
 
20958
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
20959
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
20960
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
20961
            if test -f "$f"; then
 
20962
              case "$f" in
 
20963
                *.orig | *.bak | *~) ;;
 
20964
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
20965
              esac
 
20966
            fi
 
20967
          done
 
20968
        fi
 
20969
        ;;
 
20970
      esac
 
20971
    done ;;
22731
20972
    "po/stamp-it":C)
22732
20973
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
22733
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
22734
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
22735
 
   { (exit 1); exit 1; }; }
 
20974
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
22736
20975
    fi
22737
20976
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
22738
20977
    >"po/stamp-it.tmp"
22755
20994
done # for ac_tag
22756
20995
 
22757
20996
 
22758
 
{ (exit 0); exit 0; }
 
20997
as_fn_exit 0
22759
20998
_ACEOF
22760
 
chmod +x $CONFIG_STATUS
22761
20999
ac_clean_files=$ac_clean_files_save
22762
21000
 
22763
21001
test $ac_write_fail = 0 ||
22764
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22765
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22766
 
   { (exit 1); exit 1; }; }
 
21002
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22767
21003
 
22768
21004
 
22769
21005
# configure is writing to config.log, and then calls config.status.
22784
21020
  exec 5>>config.log
22785
21021
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22786
21022
  # would make configure fail if this is the last instruction.
22787
 
  $ac_cs_success || { (exit 1); exit 1; }
 
21023
  $ac_cs_success || as_fn_exit 1
22788
21024
fi
22789
21025
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22790
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
21026
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22791
21027
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22792
21028
fi
22793
21029